/* Loriya International: home page design system.
   Final brand (Nov 2026): ivory and parchment surfaces with midnight ink, harvest gold
   for small precious details, midnight green grounds for the intro, CTA and footer.
   Montserrat only; the logo is inlined master artwork. Display type is Montserrat
   Light with tight tracking; emphasis is set in gold, never slanted. */

@font-face { font-family: 'Montserrat'; src: url('../fonts/montserrat-var.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat Fallback'; src: local('Arial'); size-adjust: 112.8%; ascent-override: 85.8%; descent-override: 22.2%; line-gap-override: 0%; }

:root {
  /* Brand colours */
  --midnight: #0D1B17;
  --forest: #1C3329;
  --gold: #B8975A;
  --ivory: #F7F3EA;
  --parchment: #E6DCC6;
  /* Surfaces */
  --white: #FDFBF7;
  --paper: var(--ivory);
  --beige: #EFE8D9;
  --sand: var(--parchment);
  --sand-deep: #D3C4A5;
  /* Ink (text only) */
  --ink: var(--midnight);
  --ink-soft: #4E5954;
  --line: rgb(13 27 23 / .14);
  --line-dark: rgb(247 243 234 / .16);
  /* Gold: --accent for rules, dots and fills; --accent-ink for gold text on light grounds */
  --accent: var(--gold);
  --accent-ink: #8A6C3A;
  /* Brand pattern: ringed L in a half-drop grid */
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg opacity='.14'%3E%3Cg fill='none' stroke='%23B8975A' stroke-width='1'%3E%3Ccircle cx='30' cy='30' r='14'/%3E%3Ccircle cx='90' cy='90' r='14'/%3E%3C/g%3E%3Cg fill='%23B8975A'%3E%3Cpath d='M25.5 22h2v14h7.5v2.3h-9.5z'/%3E%3Cpath d='M85.5 82h2v14h7.5v2.3h-9.5z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");

  --serif: 'Montserrat', 'Montserrat Fallback', system-ui, sans-serif; /* display face (name kept for the rules below) */
  --sans: 'Montserrat', 'Montserrat Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(20px, 4.5vw, 72px);
  --rail: 0px;
  --hd-h: 84px;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --t: .45s;
}
@media (min-width: 1100px) { :root { --rail: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--hd-h); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
ul, ol { list-style: none; }
em { font-style: normal; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
main, .ft { margin-right: var(--rail); }

/* ---------- Type ---------- */
.label {
  font: 500 12px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft);
}
.label em { font: inherit; color: var(--accent-ink); }
.h2 { font: 300 clamp(40px, 5.4vw, 76px)/1 var(--serif); letter-spacing: -.045em; }
.h2 em, .hero__title em, .cta__title em, .quality__word em { font-weight: 300; }

/* Text link: underline draws in from the left. */
.u { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--t) var(--ease), color var(--t); padding-bottom: 2px; }
.u:hover { background-size: 100% 1px; }
.u, .u--strong { position: relative; }
.u::after { content: ''; position: absolute; inset: -11px -4px; }
.u--strong { font-weight: 600; font-size: 14px; letter-spacing: .04em; background-size: 100% 1px; }
.u--strong:hover { color: var(--accent-ink); background-size: 0 1px; background-position: 100% 100%; }

/* Pill button: outlined ink; fills beige-sand on hover, arrow nudges. */
.pill {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 26px;
  border: 1px solid var(--ink); border-radius: 999px; font: 600 14px/1 var(--sans); letter-spacing: .03em;
  position: relative; overflow: hidden; isolation: isolate; transition: color var(--t), border-color var(--t);
}
.pill::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--sand); border-radius: inherit; transform: translateY(101%); transition: transform var(--t) var(--ease); }
.pill:hover::before { transform: none; }
.pill .i { width: 18px; height: 18px; transition: transform var(--t) var(--ease); }
.pill:hover .i { transform: translate(2px, -2px); }
.pill--sm { min-height: 42px; padding: 0 20px; font-size: 13px; }
.pill--ghost { border-color: var(--line); }

.i { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; width: 20px; height: 20px; }
.round {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line); transition: background var(--t), border-color var(--t), color var(--t);
}
.round:hover { background: var(--sand); border-color: var(--sand); }
.round:disabled { opacity: .35; pointer-events: none; }

/* Leaf frame: rounded top-left and bottom-right, square elsewhere, like a seed or leaf.
   Set --leaf on an element to scale the curve to its size. */
.arch { --leaf: clamp(56px, 7vw, 120px); border-radius: var(--leaf) 0; overflow: hidden; background: var(--sand); }
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Intro curtain (pure CSS, so it always finishes) ---------- */
.intro {
  position: fixed; inset: 0; z-index: 90; background: var(--midnight); display: grid; place-items: center;
  clip-path: ellipse(150% 150% at 50% 50%); pointer-events: none;
  animation: intro-out 1s var(--ease) 1.25s forwards;
}
.intro__inner { display: grid; justify-items: center; gap: 22px; }
.intro__mark { width: 72px; height: auto; color: var(--gold); animation: intro-in .8s var(--ease) both; }
.intro__line { font: 400 clamp(12px, 1.2vw, 15px)/1 var(--sans); letter-spacing: .42em; text-transform: uppercase; color: var(--gold); padding-left: .42em; animation: intro-in .8s var(--ease) .15s both; }
@keyframes intro-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes intro-out { to { clip-path: ellipse(0% 0% at 50% 50%); visibility: hidden; } }
.no-intro .intro { display: none; }

/* ---------- Header ---------- */
.hd {
  position: fixed; top: 0; left: 0; right: var(--rail); z-index: 40; height: var(--hd-h);
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); padding-inline: var(--gutter);
  transition: background var(--t), box-shadow var(--t), height var(--t);
}
.hd.is-scrolled { background: rgb(247 243 234 / .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); --hd-h: 68px; }
.hd__brand { display: block; margin-right: auto; }
.hd__logo { width: clamp(124px, 11vw, 156px); height: auto; color: var(--midnight); }
.hd__nav ul { display: flex; gap: 32px; font: 500 14px/1 var(--sans); }
.hd__nav a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 4px; transition: background-size var(--t) var(--ease); }
.hd__nav a:hover { background-size: 100% 1px; }
.hd__menu { display: inline-flex; align-items: center; gap: 12px; font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; height: 44px; }
.hd__bars { width: 26px; height: 9px; position: relative; }
.hd__bars::before, .hd__bars::after { content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform var(--t) var(--ease), top var(--t) var(--ease); }
.hd__bars::before { top: 0; }
.hd__bars::after { top: 7.5px; }
.hd__menu.is-open .hd__bars::before { top: 3.75px; transform: rotate(45deg); }
.hd__menu.is-open .hd__bars::after { top: 3.75px; transform: rotate(-45deg); }
@media (max-width: 899px) { .hd__nav, .hd__cta { display: none; } .hd__menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .hd__menu { width: 44px; justify-content: center; } }
@media (min-width: 1100px) { .hd > .hd__menu { display: none; } }

/* Right rail (desktop): menu, tagline, scroll progress. */
.rail { display: none; }
@media (min-width: 1100px) {
  .rail {
    position: fixed; top: 0; right: 0; bottom: 0; width: var(--rail); z-index: 41; display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: 28px; border-left: 1px solid var(--line); background: var(--beige);
  }
  .rail__text { writing-mode: vertical-rl; transform: rotate(180deg); font: 500 11px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--ink-soft); }
  .rail__bar { width: 1px; height: 120px; background: var(--line); position: relative; overflow: hidden; }
  .rail__fill { position: absolute; inset: 0; background: var(--accent); transform-origin: top; transform: scaleY(var(--p, 0)); }
  .rail__menu { position: absolute; top: 0; left: 0; right: 0; height: 84px; justify-content: center; }
}

/* Full-screen menu. */
.menu {
  position: fixed; inset: 0; z-index: 60; background: var(--beige); overflow-y: auto; padding: 0 var(--gutter) 40px;
  display: flex; flex-direction: column;
}
.menu[hidden] { display: none; }
.menu.is-open { animation: menu-in .6s var(--ease); }
@keyframes menu-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
.menu__top { height: var(--hd-h); display: flex; align-items: center; }
.menu__grid { flex: 1; display: grid; gap: 48px; align-content: center; padding-block: 24px; }
@media (min-width: 900px) { .menu__grid { grid-template-columns: 1.6fr 1fr; align-items: end; } }
.menu__main a { display: flex; align-items: baseline; gap: 20px; font: 300 clamp(52px, 8.4vw, 120px)/1.02 var(--serif); transition: color var(--t), transform var(--t) var(--ease); }
.menu__main a:hover { color: var(--accent-ink); transform: translateX(12px); }
.menu__n { font: 500 12px/1 var(--sans); letter-spacing: .1em; color: var(--ink-soft); }
.menu__side { display: grid; gap: 36px; }
.menu__side ul { display: grid; gap: 0; margin-top: 8px; font-size: 17px; }
.menu__side ul a { display: inline-block; padding-block: 11px; }
.menu__side ul a::after { display: none; }
.menu.is-open .menu__main li { animation: intro-in .7s var(--ease) both; }
.menu.is-open .menu__main li:nth-child(2) { animation-delay: .06s; }
.menu.is-open .menu__main li:nth-child(3) { animation-delay: .12s; }
.menu.is-open .menu__main li:nth-child(4) { animation-delay: .18s; }
.is-locked { overflow: hidden; }

/* ---------- Hero: cinematic full-bleed photo under a midnight fade ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; overflow: hidden; isolation: isolate;
  color: var(--ivory); background: var(--midnight); }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgb(13 27 23 / .55) 0%, rgb(13 27 23 / .15) 30%, rgb(13 27 23 / .35) 60%, rgb(13 27 23 / .92) 100%),
    radial-gradient(ellipse 70% 60% at 50% 55%, rgb(13 27 23 / .45), transparent 70%); }
.hero__inner { align-self: center; display: grid; justify-items: center; text-align: center; gap: 22px;
  padding: calc(var(--hd-h) + 40px) var(--gutter) 32px; max-width: 1100px; margin-inline: auto; }
.hero__eyebrow { font: 500 11px/1.6 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: rgb(247 243 234 / .8); }
.hero__dot { color: var(--gold); padding-inline: .6em; }
@media (max-width: 699px) { .hero__eyebrow span { display: block; } .hero__dot { display: none !important; } }
.hero__title { font: 300 clamp(44px, 7vw, 116px)/1 var(--serif); letter-spacing: -.05em; text-wrap: balance; text-shadow: 0 2px 30px rgb(13 27 23 / .35); }
.hero__l { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__l > span { display: inline-block; }
.hero__title em { color: var(--gold); font-weight: 400; white-space: nowrap; }
.hero__tagline { display: flex; align-items: center; gap: 18px; font: 500 12px/1 var(--sans); letter-spacing: .42em; text-transform: uppercase; color: var(--gold); padding-left: .42em; }
.hero__tagline::before, .hero__tagline::after { content: ''; width: clamp(28px, 4vw, 56px); height: 1px; background: currentColor; opacity: .7; }
.hero__lead { max-width: 46ch; font-size: 17px; color: rgb(247 243 234 / .82); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 30px; margin-top: 8px; }
.hero .u--strong:hover { color: var(--gold); }
.pill--gold { background: var(--gold); border-color: var(--gold); color: var(--midnight); }
.pill--gold::before { background: var(--ivory); }
.hero__bar { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 0 var(--gutter) 28px; }
.hero__cats { display: flex; flex-wrap: wrap; gap: 8px 28px; font: 500 12px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgb(247 243 234 / .8); }
.hero__cats a:hover { color: var(--gold); }
.scroll-cue { font: 500 10px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: rgb(247 243 234 / .7); display: grid; justify-items: center; gap: 10px; }
.scroll-cue::after { content: ''; width: 1px; height: 40px; background: linear-gradient(rgb(247 243 234 / .8) 50%, transparent 50%) 0 0 / 1px 200%; animation: cue 2s var(--ease) infinite; }
@keyframes cue { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 699px) {
  .hero__cats { display: none; }
  .hero__bar { justify-content: center; }
  .hero__tagline { letter-spacing: .3em; font-size: 11px; }
}

/* Header over the hero: ivory text, gold logo, until the page scrolls. */
.home .hd:not(.is-scrolled) { color: var(--ivory); }
.home .hd:not(.is-scrolled) .hd__logo { color: var(--gold); }
.home .hd:not(.is-scrolled) .pill { border-color: rgb(247 243 234 / .6); }
.home .hd:not(.is-scrolled) .pill::before { background: var(--gold); }
.home .hd:not(.is-scrolled) .pill:hover { color: var(--midnight); border-color: var(--gold); }

/* Hero entrance: plays after the intro curtain (or at once when it is skipped). */
.hero__l > span { animation: rise 1.1s var(--ease) both; animation-delay: calc(var(--d, 0s) + var(--intro, 1.45s)); }
.hero__l--2 > span { --d: .1s; }
.hero__bg { animation: bg-in 2.2s var(--ease) both; animation-delay: calc(var(--intro, 1.45s) - .4s); }
.hero__eyebrow, .hero__tagline, .hero__lead, .hero__actions, .hero__bar { animation: fade 1s var(--ease) both; }
.hero__eyebrow { animation-delay: calc(.05s + var(--intro, 1.45s)); }
.hero__tagline { animation-delay: calc(.35s + var(--intro, 1.45s)); }
.hero__lead { animation-delay: calc(.45s + var(--intro, 1.45s)); }
.hero__actions { animation-delay: calc(.55s + var(--intro, 1.45s)); }
.hero__bar { animation-delay: calc(.8s + var(--intro, 1.45s)); }
.no-intro { --intro: .1s; }
@keyframes rise { from { transform: translateY(105%); } }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } }
@keyframes bg-in { from { opacity: 0; scale: 1.12; } } /* `scale`, not transform, so GSAP's scroll parallax can still drive transform */

/* ---------- Sections ---------- */
section { position: relative; }
.promise, .range, .steps, .faq { padding-block: clamp(84px, 11vw, 160px); }

/* Promise slider */
.promise { background: var(--white); }
.promise__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .promise__grid { grid-template-columns: 1fr 1fr; gap: 7vw; } }
.promise__media { position: relative; aspect-ratio: 1; width: min(100%, 560px); justify-self: center; }
.promise__img { position: absolute; inset: 7%; border-radius: 50%; overflow: hidden; opacity: 0; transform: scale(1.06); transition: opacity .9s var(--ease), transform 1.2s var(--ease); }
.promise__img.is-on { opacity: 1; transform: none; }
.promise__img img { width: 100%; height: 100%; object-fit: cover; }
.promise__ring { position: absolute; inset: 0; border: 1px solid var(--line); border-radius: 50%; transform: rotate(var(--a, 0deg)); transition: transform 1.2s var(--ease); }
.promise__ring::after { content: ''; position: absolute; top: -5px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--accent); }
.promise__body { display: grid; gap: 36px; }
.promise__slides { display: grid; }
.promise__slide { grid-area: 1 / 1; display: grid; gap: 18px; }
.promise__slides > .promise__slide[hidden] { display: grid !important; visibility: hidden; }
.promise__slide.is-on { animation: fade .8s var(--ease) both; }
.promise__n { font: 500 13px/1 var(--sans); letter-spacing: .2em; color: var(--accent-ink); }
.promise__title { font: 300 clamp(38px, 4.4vw, 62px)/1.02 var(--serif); letter-spacing: -.045em; }
.promise__text { font-size: 17px; color: var(--ink-soft); max-width: 44ch; }
.promise__ctrl { display: flex; align-items: center; gap: 18px; }
.promise__count { font: 500 13px/1 var(--sans); letter-spacing: .1em; min-width: 64px; text-align: center; }

/* Quality: giant word over a sand panel */
.quality { background: var(--sand); padding-block: clamp(70px, 9vw, 130px) clamp(84px, 11vw, 150px); overflow: hidden; }
.quality__word { font: 300 clamp(60px, 15vw, 280px)/.9 var(--serif); letter-spacing: -.045em; padding-inline: var(--gutter); color: var(--ink); }
.quality__word { max-width: 1360px; margin-inline: auto; text-wrap: balance; }
.quality__word em { color: var(--accent-ink); }
.quality__list { display: grid; gap: 1px; margin-top: clamp(48px, 7vw, 96px); background: var(--sand-deep); border-block: 1px solid var(--sand-deep); }
@media (min-width: 700px) { .quality__list { grid-template-columns: repeat(3, 1fr); } }
.quality__item { background: var(--sand); padding: 32px 0 36px; display: grid; gap: 12px; align-content: start; }
@media (min-width: 700px) { .quality__item { padding-inline: clamp(16px, 2.4vw, 36px); } .quality__item:first-child { padding-left: 0; } }
.quality__n { font: 300 clamp(64px, 7vw, 100px)/1 var(--serif); color: var(--ink-soft); margin-top: 8px; }
.quality__title { font: 300 clamp(40px, 4.6vw, 68px)/1 var(--serif); }
.quality__text { color: var(--ink-soft); max-width: 34ch; }

/* Range: giant word list with a photo that follows the cursor */
.range { background: var(--paper); }
.range__head, .markets__head, .steps__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; margin-bottom: clamp(32px, 4vw, 56px); }
.range__list { border-top: 1px solid var(--line); }
.range__row { border-bottom: 1px solid var(--line); }
.range__row a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 20px; padding-block: clamp(18px, 2.4vw, 30px); position: relative; }
.range__n { font: 500 12px/1 var(--sans); letter-spacing: .1em; color: var(--ink-soft); align-self: start; padding-top: .9em; }
.range__name { font: 300 clamp(42px, 7vw, 112px)/1 var(--serif); letter-spacing: -.045em; }
.range__meta { display: none; }
.range__thumb { width: 72px; aspect-ratio: 1; border-radius: 22px 0; overflow: hidden; }
.range__thumb img { width: 100%; height: 100%; object-fit: cover; }
.range__go { display: none; }
@media (min-width: 900px) {
  .range__row a { grid-template-columns: 56px 1fr minmax(220px, 300px) auto; gap: 32px; }
  .range__meta { display: grid; gap: 8px; font-size: 14px; color: var(--ink-soft); }
  .range__count { font-weight: 600; color: var(--ink); letter-spacing: .04em; }
  .range__thumb { display: none; }
  .range__go { display: inline-grid; }
}

/* Markets: giant region names, alternating sides */
.markets { background: var(--white); padding-block: clamp(84px, 11vw, 160px); overflow: hidden; }
.markets__lead, .steps__lead { max-width: 40ch; color: var(--ink-soft); }
.markets__list { display: grid; gap: clamp(18px, 3vw, 40px); }
.markets__row { display: flex; flex-direction: column; gap: 6px; }
.markets__name { font: 300 clamp(40px, 8.4vw, 140px)/.95 var(--serif); letter-spacing: -.045em; white-space: nowrap; }

.markets__ports { text-wrap: balance; max-width: 30ch; font: 500 12px/1.5 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.markets__ports::before { content: ''; display: inline-block; width: 28px; height: 1px; background: var(--accent); vertical-align: middle; margin-right: 12px; }

/* Steps: tabs with a split giant number */
.steps { background: var(--beige); }
.steps__tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.steps__tabs::-webkit-scrollbar { display: none; }
.steps__tab { flex: 1 0 auto; padding: 14px 18px 16px 0; display: grid; gap: 6px; text-align: left; font: 500 14px/1 var(--sans); color: var(--ink-soft); position: relative; transition: color var(--t); }
.steps__tab span { font: 500 12px/1 var(--sans); letter-spacing: .14em; color: var(--accent-ink); }
.steps__tab::after { content: ''; position: absolute; left: 0; right: 18px; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.steps__tab[aria-selected="true"] { color: var(--ink); }
.steps__tab[aria-selected="true"]::after { transform: none; }
.steps__tab:hover { color: var(--ink); }
.steps__panel { display: grid; gap: 28px; padding-top: clamp(36px, 5vw, 72px); align-items: center; }
.steps__panel:not([hidden]) { animation: fade .7s var(--ease) both; }
@media (min-width: 900px) { .steps__panel { grid-template-columns: auto 1fr minmax(240px, 26vw); gap: 5vw; } }
.steps__big { display: flex; font: 300 clamp(110px, 16vw, 250px)/.85 var(--serif); letter-spacing: -.045em; }
.steps__big span + span { color: var(--accent-ink); margin-top: .18em; }
.steps__copy { display: grid; gap: 16px; max-width: 40ch; }
.steps__title { font: 300 clamp(36px, 4vw, 56px)/1.02 var(--serif); }
.steps__copy p { color: var(--ink-soft); font-size: 17px; }
.steps__img { aspect-ratio: 3 / 4; width: min(100%, 300px); }

/* FAQ */
.faq { background: var(--paper); }
.faq__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: 1fr 1.4fr; gap: 7vw; } .faq__side { position: sticky; top: calc(var(--hd-h) + 32px); align-self: start; } }
.faq__side { display: grid; gap: 20px; }
.faq__side p { color: var(--ink-soft); max-width: 36ch; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; font: 400 clamp(22px, 2.2vw, 28px)/1.2 var(--serif); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .i { flex: none; transition: transform var(--t) var(--ease); }
.qa[open] summary .i { transform: rotate(45deg); color: var(--accent-ink); }
@media (hover: hover) { .qa summary:hover span { color: var(--accent-ink); } }
.qa p { padding: 0 48px 26px 0; color: var(--ink-soft); max-width: 62ch; }

/* CTA: midnight band, gold emphasis, pattern texture */
.cta { isolation: isolate; background: var(--midnight); color: var(--ivory); padding-block: clamp(90px, 12vw, 170px); overflow: hidden; }
.cta__title { font: 300 clamp(52px, 9.6vw, 156px)/.95 var(--serif); letter-spacing: -.05em; }
.cta__title span { display: block; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--pattern) right top / 120px;
  -webkit-mask-image: linear-gradient(105deg, transparent 45%, #000 95%); mask-image: linear-gradient(105deg, transparent 45%, #000 95%); }
@media (max-width: 699px) { .cta::before { -webkit-mask-image: linear-gradient(180deg, #000, transparent 30%); mask-image: linear-gradient(180deg, #000, transparent 30%); } }
.cta__title em { display: block; padding-left: clamp(.4em, 6vw, 1.2em); color: var(--gold); font-weight: 400; }
.cta__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; margin-top: clamp(36px, 5vw, 64px); }
.cta__text { max-width: 42ch; font-size: 17px; color: rgb(247 243 234 / .75); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta .pill { border-color: var(--ivory); }
.cta .pill--gold { border-color: var(--gold); }
.cta .pill--gold::before { background: var(--ivory); }
.cta .pill--ghost { border-color: var(--line-dark); }
.cta .pill::before { background: var(--gold); }
.cta .pill:hover { color: var(--midnight); border-color: var(--gold); }

/* ---------- Footer: midnight, gold logo ---------- */
.ft { background: var(--midnight); color: var(--ivory); padding-top: clamp(64px, 8vw, 110px); overflow: hidden; border-top: 1px solid var(--line-dark); }
.ft .label { color: rgb(247 243 234 / .55); }
.ft__grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .ft__grid { grid-template-columns: 1fr 1.6fr; } }
.ft__tag { font: 300 clamp(32px, 3.6vw, 50px)/1.05 var(--serif); letter-spacing: -.04em; }
.ft__tag em { display: block; color: var(--gold); }
.ft__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 36px; }
.ft__cols ul { display: grid; gap: 10px; margin-top: 16px; font-size: 15px; }
.ft__word { position: relative; display: grid; place-items: center; margin-top: clamp(56px, 8vw, 100px); padding: clamp(56px, 8vw, 110px) var(--gutter); color: var(--gold); border-top: 1px solid var(--line-dark); isolation: isolate; }
.ft__word::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--pattern) center / 120px;
  -webkit-mask-image: radial-gradient(ellipse 50% 55% at center, transparent 55%, #000 100%); mask-image: radial-gradient(ellipse 50% 55% at center, transparent 55%, #000 100%); }
.ft__logo { width: clamp(220px, 12rem + 20vw, 520px); height: auto; }
.ft__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px 28px; font-size: 13px; color: rgb(247 243 234 / .6); border-top: 1px solid var(--line-dark); }
.ft :focus-visible, .cta :focus-visible { outline-color: var(--gold); }

/* Lenis smooth scroll (from lenis/dist/lenis.css). */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.split-line { padding-bottom: .08em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Small screens: legibility and rhythm ---------- */
@media (max-width: 699px) {
  .label, .hero__cats, .markets__ports { font-size: 12px; }
  .hero__eyebrow { font-size: 11.5px; letter-spacing: .18em; text-wrap: balance; }
  .hero__eyebrow span { text-wrap: balance; }
  .hero__tagline { font-size: 12px; }
  .scroll-cue { font-size: 11px; }
  .range__head, .markets__head, .steps__head { gap: 12px 24px; }
}

/* Menu: the top bar never shrinks when the menu content is taller than the screen;
   smaller main links on short screens so contacts stay in view. */
.menu__top { flex: none; }
@media (max-height: 720px) { .menu__main a { font-size: clamp(40px, 7vh, 64px); } .menu__grid { gap: 28px; } }
@media (max-width: 399px) {
  .hero__tagline { white-space: nowrap; gap: 12px; letter-spacing: .3em; font-size: 11px; }
  .hero__tagline::before, .hero__tagline::after { width: 20px; }
}

/* Phones: action pairs stack. Primary button full width, secondary action below it. */
@media (max-width: 699px) {
  .hero__actions, .cta__actions { flex-direction: column; align-items: stretch; width: 100%; gap: 12px; }
  .hero__actions { max-width: 360px; margin-inline: auto; }
  .hero__actions .pill, .cta__actions .pill { justify-content: center; min-height: 56px; }
  .hero__actions .u--strong { align-self: center; margin-top: 6px; padding-block: 8px; }
  .cta__row { flex-direction: column; align-items: stretch; }
}

/* Single column (phones, small tablets): the round slider photo is centred, so its text is too. */
@media (max-width: 959px) {
  .promise__body { justify-items: center; text-align: center; }
  .promise__text { margin-inline: auto; }
  .promise__ctrl { justify-content: center; }
  .steps__img { width: 100%; max-width: none; justify-self: stretch; aspect-ratio: 4 / 3; }
}

/* Order steps on phones: number and title share a row, text and photo span the width;
   the tab strip fades at the right edge so it reads as scrollable. */
@media (max-width: 899px) {
  .steps__panel { grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 22px; align-items: end; }
  .steps__copy { display: contents; }
  .steps__big { font-size: clamp(84px, 24vw, 128px); line-height: .8; }
  .steps__title { grid-column: 2; align-self: end; padding-bottom: 4px; font-size: clamp(28px, 7.4vw, 40px); }
  .steps__copy p { grid-column: 1 / -1; max-width: none; }
  .steps__img { grid-column: 1 / -1; }
  .steps__tabs { -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent); mask-image: linear-gradient(90deg, #000 78%, transparent); }
  .steps__tabs::after { content: ''; flex: 0 0 48px; }
}

/* CTA label above the title. */
.cta__label { color: var(--gold); margin-bottom: 22px; }
/* Phones: the staggered indent on two-line titles reads as misalignment, so lines
   share one left edge; the CTA pattern is dropped so nothing sits behind the title. */
@media (max-width: 699px) {
  .cta__title em, .phead__title em { padding-left: 0; }
  .cta::before { display: none; }
  .cta { padding-block: 72px 80px; }
  .cta__title { font-size: clamp(44px, 12.5vw, 60px); line-height: 1; }
  .cta__row { margin-top: 28px; }
}

/* Phones: all six order steps visible as a 3x2 grid instead of a hidden sideways strip. */
@media (max-width: 699px) {
  .steps__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; overflow: visible; margin-inline: 0; padding-inline: 0; border-bottom: 0; -webkit-mask-image: none; mask-image: none; }
  .steps__tabs::after { content: none; }
  .steps__tab { padding: 14px 8px 14px 0; min-height: 56px; border-bottom: 1px solid var(--line); }
  .steps__tab::after { right: 8px; }
}

/* ---------- Round 3 design review ---------- */
/* Regions: one left edge, name and ports on one ruled row on wider screens. */
.markets__row { padding-bottom: clamp(14px, 2vw, 24px); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .markets__row { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 32px; } .markets__ports { text-align: right; } }
/* Product-line rows: readable descriptions on desktop; one-line names on phones. */
.range__meta { font-size: 15px; max-width: 34ch; }
@media (max-width: 699px) {
  .range__n { display: none; }
  .range__row a { grid-template-columns: 1fr auto; }
  .range__name { font-size: clamp(30px, 9vw, 44px); }
}
/* CTA on wider screens: copy and actions sit right under the heading. */
.cta__title { font-size: clamp(52px, 8vw, 120px); }
@media (min-width: 700px) { .cta__row { justify-content: flex-start; align-items: center; gap: 28px 56px; margin-top: 40px; } .cta__text { font-size: 18px; } }
/* Desktop: header already shows the nav, so the rail keeps only tagline and progress. */
@media (min-width: 1100px) { .rail__menu { display: none; } }
/* Steps tabs on wider screens: grouped, not spread across the full width. */
@media (min-width: 700px) { .steps__tab { flex: 0 0 auto; padding-right: 40px; } .steps__tab::after { right: 40px; } }
/* Menu: numerals centred on the words; links fit short phones. */
.menu__main a { align-items: center; }
@media (max-width: 699px) { .menu__main a { font-size: clamp(40px, 12vw, 52px); } }
/* Phones: tighter section rhythm, smaller numerals, footer aligned left like the page. */
@media (max-width: 699px) {
  .promise, .range, .steps, .faq, .markets { padding-block: 64px; }
  .quality { padding-block: 56px 64px; }
  .quality__n { font-size: 48px; margin-top: 0; }
  .ft__cols { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .ft__cols > div:last-child { grid-column: 1 / -1; }
  .ft__word { place-items: start; padding-block: 56px; }
  .ft__word::before { -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 50%, transparent 45%, #000 100%); mask-image: radial-gradient(ellipse 70% 80% at 30% 50%, transparent 45%, #000 100%); }
  .ft__logo { width: 72%; }
}

/* Round 4 polish */
.cta__title em { padding-left: 0; }
@media (max-width: 399px) { .hero__eyebrow .hero__dot, .hero__eyebrow span:last-child { display: none !important; } }
@media (min-width: 960px) { .promise, .range, .steps, .faq, .markets { padding-block: clamp(84px, 8vw, 128px); } .quality { padding-bottom: clamp(72px, 7vw, 110px); } }
