:root {
  --paper: #f7f6f3;
  --paper-deep: #eceae4;
  --foam: #fffcf8;
  --ink: #15243f;
  --mute: #5a6578;
  --gold: #9a7b42;
  --gold-bright: #c4a56a;
  --oxblood: var(--gold);
  --moss: var(--gold);
  --line: rgba(21, 36, 63, 0.1);
  --line-strong: rgba(21, 36, 63, 0.18);
  --header-h: 82px;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#top,
#structure,
#products,
#specs,
#process,
#contact {
  scroll-margin-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  overflow-x: hidden;
}

::selection {
  background: var(--ink);
  color: var(--foam);
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--foam);
  padding: 0.55rem 0.9rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(247, 246, 243, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.site-header.on-dark {
  background: rgba(21, 36, 63, 0.94);
  color: var(--foam);
  border-bottom-color: rgba(244, 239, 230, 0.12);
}

.header-inner {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
}

.brand img {
  width: auto;
  height: 62px;
}

.brand-lock {
  display: grid;
  gap: 0.05rem;
}

.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
}

.brand-sub {
  font-size: 0.58rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--oxblood);
}

.nav {
  display: none;
  gap: 1.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}

.on-dark .nav {
  color: rgba(244, 239, 230, 0.62);
}

.nav a:hover {
  color: var(--gold-bright);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switch {
  display: inline-flex;
  gap: 0.15rem;
}

.lang-switch button {
  border: 0;
  background: transparent;
  padding: 0.35rem 0.4rem;
  cursor: pointer;
  color: var(--mute);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.on-dark .lang-switch button {
  color: rgba(244, 239, 230, 0.55);
}

.lang-switch button.is-active {
  color: var(--ink);
  box-shadow: inset 0 -1px 0 currentColor;
}

.on-dark .lang-switch button.is-active {
  color: var(--foam);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--foam);
  padding: 0.95rem 1.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.btn:hover {
  background: transparent;
  color: var(--ink);
}

.btn-sm {
  display: none;
  padding: 0.55rem 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  color: inherit;
  border: 1px solid var(--line-strong);
}

.on-dark .btn-sm {
  border-color: rgba(244, 239, 230, 0.28);
  color: var(--foam);
}

.btn-line {
  background: transparent;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid var(--gold);
  padding: 0.35rem 0;
  letter-spacing: 0.2em;
}

.btn-line:hover {
  background: transparent;
  color: var(--oxblood);
  border-color: var(--oxblood);
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.on-dark .menu-toggle {
  border-color: rgba(244, 239, 230, 0.28);
}

.menu-toggle span {
  width: 16px;
  height: 1px;
  background: currentColor;
  display: block;
}

.mobile-nav {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  display: grid;
  padding: 0.4rem var(--pad) 1rem;
  background: var(--foam);
  border-bottom: 1px solid var(--line);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  padding: 2.5rem var(--pad) 1.5rem;
}

.hero-layout {
  width: min(1440px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  align-items: end;
}

.eyebrow {
  margin: 0 0 1.15rem;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.65rem;
  height: 1px;
  margin-right: 0.75rem;
  background: currentColor;
  vertical-align: middle;
  transform: translateY(-0.14em);
}

.hero h1,
.section-head h2,
.structure-copy h2,
.contact-copy h2,
.sheet h2,
.stage-label,
.range h3,
.process-steps h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.hero h1 {
  font-size: clamp(3.3rem, 5.8vw, 5.6rem);
  max-width: 11ch;
  font-weight: 500;
}

.hero h1 span,
.hero h1 em,
.section-head h2 span {
  display: block;
}

.hero h1 em {
  font-style: normal;
  color: var(--oxblood);
}

.hero-lead,
.section-lead,
.stage-text {
  margin: 1.4rem 0 0;
  max-width: 34rem;
  color: var(--mute);
  font-size: 1.05rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2rem;
}

.hero-figure {
  margin: 0;
  justify-self: center;
}

.hero-figure img {
  width: min(640px, 100%);
  height: auto;
}

.hero-figure figcaption {
  margin-top: 0.9rem;
  text-align: center;
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-figure figcaption::before,
.hero-figure figcaption::after {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  margin: 0 0.7rem;
  background: currentColor;
  vertical-align: middle;
  transform: translateY(-0.12em);
}

.hero-foot {
  width: min(1440px, 100%);
  margin: 2.5rem auto 0;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(154, 123, 66, 0.45);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
}

.scroll-hint {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin: 0;
  justify-content: end;
}

.hero-metrics div {
  display: grid;
  gap: 0.15rem;
}

.hero-metrics dt {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-metrics dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0;
}

.structure-track {
  height: 420vh;
  background: var(--ink);
}

.structure-sticky {
  overflow: hidden;
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  align-items: center;
  gap: 1.5rem;
  padding: calc(var(--header-h) + 1rem) var(--pad) 1.5rem;
  color: var(--foam);
  background:
    radial-gradient(560px 340px at 74% 46%, rgba(196, 165, 106, 0.12), transparent 70%),
    var(--ink);
}

.structure-copy h2 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  color: var(--foam);
}

.structure-copy .eyebrow {
  color: #d4bc84;
}

.stage-label {
  margin: 0.7rem 0 0;
  font-size: clamp(1.8rem, 2.6vw, 2.45rem);
}

.stage-text {
  color: rgba(244, 239, 230, 0.68);
  min-height: 7.2rem;
}

.stage-label,
.stage-text {
  transition: opacity 0.25s ease, transform 0.35s var(--ease);
}

.is-shifting {
  opacity: 0;
  transform: translateY(8px);
}

.structure-steps {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}

.structure-steps button {
  width: 100%;
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
  border: 0;
  background: transparent;
  color: rgba(244, 239, 230, 0.38);
  padding: 0.28rem 0;
  cursor: pointer;
  text-align: left;
}

.structure-steps button span:first-child {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  width: 1.8rem;
}

.structure-steps .step-name {
  font-size: 0.92rem;
}

.structure-steps li.is-active button {
  color: var(--foam);
}

.structure-steps li.is-active button span:first-child {
  color: #d4bc84;
}

.structure-stage {
  min-width: 0;
  width: 100%;
  display: grid;
  justify-items: stretch;
  align-items: center;
}

.filter-viewport {
  position: relative;
  width: 100%;
}

.filter-svg {
  width: 100%;
  height: auto;
  max-height: 78vh;
}

.part,
.dims {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.structure-progress {
  display: none;
}

.structure-progress-bar {
  width: 1px;
  height: 0%;
  background: #d4bc84;
}

.products,
.process,
.contact {
  padding: 7.5rem var(--pad);
}

.products,
.process,
.contact,
.specs {
  width: min(1440px, 100%);
  margin: 0 auto;
}

.section-head {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}

.section-head h2,
.contact-copy h2,
.sheet h2 {
  max-width: 16ch;
}

.section-head h2,
.contact-copy h2,
.sheet h2 {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
}

.contact-copy {
  max-width: 36rem;
}

.range {
  border-top: 1px solid rgba(154, 123, 66, 0.45);
}

.range article {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 1.5rem 2rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.range article > div {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  column-gap: 1.25rem;
  row-gap: 0.35rem;
  align-items: baseline;
}

.range-index {
  grid-row: 1 / span 2;
}

.swatch {
  width: 210px;
  height: auto;
}

.swatch img {
  width: 100%;
  height: 100%;
}

.range-index {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--gold);
}

.range h3 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
}

.range p {
  margin: 0;
  max-width: 38rem;
  color: var(--mute);
}

.specs {
  padding: 0 var(--pad) 5rem;
}

.sheet {
  display: grid;
  gap: 2rem;
  padding: clamp(1.6rem, 3vw, 2.4rem) 0 clamp(1.2rem, 3vw, 2rem);
  background: transparent;
  border: 0;
  border-top: 1px solid var(--gold-bright);
  box-shadow: none;
}

.sheet .eyebrow {
  color: var(--oxblood);
}

.spec-list {
  margin: 0;
}

.spec-list > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}

.spec-list dt {
  color: var(--mute);
}

.spec-list dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0;
  text-align: right;
}

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(154, 123, 66, 0.45);
}

.process-steps li {
  padding: 1.6rem 0 1.8rem;
  border-bottom: 1px solid var(--line);
}

.step-num {
  display: block;
  margin-bottom: 0.85rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--gold);
}

.process-steps h3 {
  margin: 0 0 0.45rem;
  font-size: 2.05rem;
}

.process-steps p {
  margin: 0;
  color: var(--mute);
  max-width: 28rem;
}

.contact {
  display: grid;
  gap: 2.5rem;
  padding-top: 4rem;
}

.contact-form {
  display: grid;
  gap: 1.1rem;
  align-content: start;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  padding: 0.7rem 0;
  outline: none;
  border-radius: 0;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--oxblood);
}

.contact .btn {
  justify-self: start;
  background: var(--ink);
  margin-top: 0.4rem;
}

.contact .btn:hover {
  background: #243656;
}

.form-note {
  margin: 0;
  color: var(--oxblood);
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid rgba(154, 123, 66, 0.45);
  padding: 1.6rem var(--pad) 2rem;
}

.footer-inner {
  width: min(1440px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  justify-content: space-between;
  align-items: end;
}

.site-footer p {
  margin: 0.3rem 0 0;
  color: var(--mute);
  font-size: 0.92rem;
}

.footer-meta {
  margin: 0;
}

@media (min-width: 860px) {
  .nav,
  .btn-sm {
    display: flex;
  }

  .menu-toggle,
  .mobile-nav {
    display: none !important;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1.18fr);
    gap: 2rem 3rem;
  }

  .structure-sticky {
    grid-template-columns: minmax(260px, 0.62fr) minmax(520px, 1.5fr);
    gap: 1.5rem 2rem;
  }

  .hero {
    align-items: center;
  }

  .hero-layout {
    align-items: center;
  }

  .range article {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .sheet,
  .process-steps,
  .contact {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-top: 0;
  }

  .process-steps li {
    border-bottom: 0;
    border-top: 1px solid rgba(154, 123, 66, 0.45);
    padding-right: 1.5rem;
  }

  .contact-form {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form .full,
  .contact-form .btn,
  .contact-form .form-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .hero-metrics {
    justify-content: start;
  }

  .hero-foot {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 14vw, 4.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .structure-track {
    height: auto;
  }

  .structure-sticky {
    position: relative;
    height: auto;
  }
}

/* ---- RTL (Arabic) ---- */

[dir="rtl"] {
  --sans: "Geist", "Noto Sans Arabic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Playfair Display", "Amiri", "Noto Naskh Arabic", Georgia, serif;
}

[dir="rtl"] .skip-link {
  left: auto;
  right: 1rem;
}

[dir="rtl"] .eyebrow::before {
  margin-right: 0;
  margin-left: 0.75rem;
}

[dir="rtl"] .structure-steps button {
  text-align: right;
}

[dir="rtl"] .spec-list dd {
  text-align: left;
}

[dir="rtl"] .brand-name,
[dir="rtl"] .brand-sub,
[dir="rtl"] .nav,
[dir="rtl"] .mobile-nav a,
[dir="rtl"] .eyebrow,
[dir="rtl"] .btn,
[dir="rtl"] .btn-sm,
[dir="rtl"] .btn-line,
[dir="rtl"] .hero-figure figcaption,
[dir="rtl"] .scroll-hint,
[dir="rtl"] .hero-metrics dt,
[dir="rtl"] .contact-form label {
  letter-spacing: 0.04em;
}

[dir="rtl"] .brand-name {
  letter-spacing: 0.1em;
}

@media (min-width: 860px) {
  [dir="rtl"] .process-steps li {
    padding-right: 0;
    padding-left: 1.5rem;
  }
}

[dir="rtl"] .hero h1,
[dir="rtl"] .section-head h2,
[dir="rtl"] .structure-copy h2,
[dir="rtl"] .contact h2,
[dir="rtl"] .range article h3,
[dir="rtl"] .process-steps h3,
[dir="rtl"] .stage-text strong {
  letter-spacing: 0;
  line-height: 1.32;
}

[dir="rtl"] .hero h1 {
  font-size: clamp(2.9rem, 4.9vw, 4.6rem);
  max-width: 14ch;
}

[dir="rtl"] .spec-list dd,
[dir="rtl"] .hero-metrics dd {
  letter-spacing: 0;
}

[dir="rtl"] .hero-metrics dd {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: right;
}

@media (max-width: 720px) {
  .lang-switch {
    gap: 0;
  }

  .lang-switch button {
    padding: 0.35rem 0.2rem;
    font-size: 0.66rem;
    letter-spacing: 0.06em;
  }
}
@media (max-width: 720px) {
  .range article {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    align-items: start;
  }

  .swatch {
    width: 170px;
  }
}

/* ---- Footer credit ---- */

.footer-right {
  display: grid;
  gap: 0.2rem;
  justify-items: end;
  text-align: right;
}

.site-footer .footer-credit {
  margin: 0.2rem 0 0;
  direction: ltr;
  font-size: 0.8em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a8494;
  unicode-bidi: isolate;
  font-weight: 400;
  line-height: 1.4;
}

.footer-credit a {
  display: inline-block;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: var(--mute);
  border-bottom-color: rgba(154, 123, 66, 0.4);
}

.footer-credit sup {
  font-size: 0.72em;
  letter-spacing: 0;
  vertical-align: top;
  line-height: 1;
}

/* ---- Mobile: glass header, premium rhythm ---- */

@media (max-width: 859px) {
  .site-header {
    background: rgba(255, 252, 248, 0.6);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border-bottom-color: rgba(21, 36, 63, 0.07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65),
      0 14px 34px -26px rgba(21, 36, 63, 0.55);
  }

  .site-header.on-dark {
    background: rgba(21, 36, 63, 0.52);
    border-bottom-color: rgba(244, 239, 230, 0.1);
    box-shadow: inset 0 1px 0 rgba(244, 239, 230, 0.09),
      0 16px 34px -24px rgba(0, 0, 0, 0.7);
  }

  .menu-toggle {
    border-color: rgba(21, 36, 63, 0.14);
    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.25s ease, border-color 0.25s ease;
  }

  .on-dark .menu-toggle {
    border-color: rgba(244, 239, 230, 0.2);
    background: rgba(255, 255, 255, 0.08);
  }

  .on-dark .brand-sub {
    color: #dcc48a;
  }

  .menu-toggle[aria-expanded="true"] {
    background: rgba(154, 123, 66, 0.12);
    border-color: rgba(154, 123, 66, 0.4);
  }

  .mobile-nav {
    background: rgba(255, 252, 248, 0.94);
    backdrop-filter: blur(26px) saturate(180%);
    -webkit-backdrop-filter: blur(26px) saturate(180%);
    border-bottom-color: rgba(21, 36, 63, 0.08);
    box-shadow: 0 26px 48px -32px rgba(21, 36, 63, 0.5);
    padding-top: 0.2rem;
  }

  .on-dark .mobile-nav {
    background: rgba(21, 36, 63, 0.9);
    border-bottom-color: rgba(244, 239, 230, 0.12);
    box-shadow: 0 28px 50px -30px rgba(0, 0, 0, 0.75);
  }

  .on-dark .mobile-nav a {
    border-bottom-color: rgba(244, 239, 230, 0.12);
  }

  .mobile-nav a {
    border-bottom-color: rgba(21, 36, 63, 0.07);
    letter-spacing: 0.2em;
    transition: color 0.25s ease;
  }

  .mobile-nav a:last-child {
    border-bottom: 0;
  }

  .mobile-nav a:active {
    color: var(--gold);
  }

  .lang-switch button {
    transition: color 0.2s ease;
  }

  .footer-right {
    justify-items: start;
    text-align: left;
  }
}

/* ---- Mobile header lockup + language row in the menu ---- */

.mobile-langs {
  display: none;
}

@media (max-width: 859px) {
  :root {
    --header-h: 72px;
  }

  .header-inner {
    gap: 0.75rem;
  }

  .brand {
    gap: 0.55rem;
    min-width: 0;
  }

  .brand img {
    height: 50px;
  }

  .brand-name {
    font-size: 0.88rem;
    letter-spacing: 0.12em;
  }

  .brand-sub {
    font-size: 0.52rem;
    letter-spacing: 0.2em;
  }

  .header-actions .lang-switch {
    display: none;
  }

  .mobile-langs {
    display: block;
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(154, 123, 66, 0.4);
  }

  .mobile-langs .lang-switch {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
  }

  .mobile-langs .lang-switch button {
    padding: 0.5rem 0;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-align: center;
  }

  .mobile-langs .lang-switch button.is-active {
    color: var(--gold);
    box-shadow: inset 0 -1px 0 var(--gold);
  }
}

/* ---- Contact details ---- */

.contact-main {
  display: grid;
  align-content: start;
}

.contact-details {
  margin: 2.6rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.15rem 3rem;
}

.contact-details > div {
  display: grid;
  gap: 0.2rem;
}

.contact-details dt {
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mute);
}

.contact-details dd {
  margin: 0;
  font-size: 1rem;
}

.contact-details a {
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  color: var(--gold);
  border-bottom-color: rgba(154, 123, 66, 0.5);
}

.footer-contact {
  font-size: 0.82rem;
}

.footer-contact a {
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--gold);
  border-bottom-color: rgba(154, 123, 66, 0.5);
}

.form-note.is-error {
  color: #9b3b2f;
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (min-width: 620px) {
  .contact-details {
    grid-template-columns: repeat(3, minmax(0, auto));
    justify-content: start;
  }
}

[dir="rtl"] .site-footer .footer-credit {
  text-align: left;
}

[dir="rtl"] .footer-contact {
  direction: rtl;
}

[dir="rtl"] .footer-contact a,
[dir="rtl"] .contact-details dd a {
  unicode-bidi: isolate;
}


/* ---- Mobile: keep the section view inside the screen ---- */

@media (max-width: 859px) {
  .structure-track {
    height: 300vh;
  }

  .structure-sticky {
    align-items: stretch;
    grid-template-rows: auto minmax(110px, 1fr);
    gap: 0.9rem;
    padding: calc(var(--header-h) + 0.9rem) var(--pad) 1.1rem;
  }

  .structure-copy h2 {
    font-size: clamp(1.9rem, 8.4vw, 2.6rem);
  }

  .stage-label {
    margin-top: 1.5rem;
    font-size: 1.3rem;
  }

  .stage-text {
    margin-top: 0.35rem;
    min-height: 6.9rem;
    font-size: 0.88rem;
  }

  .structure-steps {
    margin-top: 1rem;
    grid-auto-flow: column;
    grid-template-rows: repeat(3, auto);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.1rem 1rem;
  }

  .structure-stage {
    width: auto;
    min-height: 0;
    margin: 0 calc(var(--pad) * -1);
    align-items: stretch;
  }

  .filter-viewport {
    height: 100%;
    min-height: 0;
  }

  .filter-svg {
    height: 100%;
    max-height: none;
  }
}

/* Phone held sideways: put the copy and the figure next to each other. */
@media (max-width: 859px) and (min-width: 560px) and (max-height: 520px) {
  .structure-sticky {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .structure-stage {
    margin: 0 calc(var(--pad) * -1) 0 0;
  }
}

@media (max-width: 859px) and (max-height: 640px) {
  .structure-copy h2 {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }

  .stage-label {
    margin-top: 0.7rem;
    font-size: 1.15rem;
  }

  .stage-text {
    min-height: 5.6rem;
    font-size: 0.82rem;
  }

  .structure-steps {
    margin-top: 0.7rem;
  }
}

/* Long words in the display type must not push the layout sideways. */
.hero h1,
.section-head h2,
.contact-copy h2,
.sheet h2,
.range h3,
.process-steps h3,
.stage-label {
  overflow-wrap: break-word;
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: clamp(2.5rem, 13vw, 3.4rem);
  }

  .section-head h2,
  .contact-copy h2,
  .sheet h2 {
    font-size: clamp(2rem, 10.5vw, 2.6rem);
  }
}

@media (max-width: 720px) {
  .range article > div {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.5rem;
  }

  .range-index {
    grid-row: auto;
  }

  .swatch {
    width: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .structure-track {
    height: auto;
  }
}

/* ---- Mobile: tighten contact footing + quieter credit ---- */

@media (max-width: 859px) {
  .products,
  .process {
    padding: 5rem var(--pad);
  }

  .contact {
    padding: 4rem var(--pad) 3.25rem;
  }

  .contact-details {
    margin-top: 2rem;
  }
}
