/* ==========================================================================
   Safaa Cosmetics — "The Trade Dossier"
   Wholesale cosmetics distribution, Lahr, Germany
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts
   -------------------------------------------------------------------------- */
/* Latin subsets. The unicode-range split matches Google's own so the
   latin-ext file is only fetched when a page actually uses those glyphs.
   Both files are variable across weight 400-700 — real bold, never faux. */
@font-face {
  font-family: 'Bodoni Moda';
  src: url('../fonts/bodoni-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bodoni Moda';
  src: url('../fonts/bodoni-latin-ext.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Paper (light) surfaces */
  --paper: #f7f4ef;
  --paper-2: #efe8de;
  --paper-3: #e4dbce;
  --ink: #10192a;
  --ink-body: #29323f;
  --ink-muted: #5a6472;
  --rule: rgba(16, 25, 42, 0.12);

  /* Navy (dark) surfaces */
  --navy: #0e1b2c;
  --navy-deep: #081120;
  --navy-raised: #17263a;
  --on-navy: #f2ede4;
  --on-navy-muted: #a9b3c1;
  --rule-navy: rgba(242, 237, 228, 0.14);

  /* Gold */
  --gold: #b8934a;
  --gold-bright: #d4b571;
  --gold-deep: #8c6c31;
  --gold-hairline: rgba(184, 147, 74, 0.34);
  --gold-wash: rgba(184, 147, 74, 0.08);

  /* Type */
  --display: 'Bodoni Moda', 'Didot', 'Bodoni MT', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --text: 'Inter', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;

  /* Sized so the longest hero line ("moved with") fits inside the 6-column
     type block without the reveal mask clipping it. */
  --d1: clamp(2.75rem, 6.4vw, 6.25rem);
  --d2: clamp(2.5rem, 5.4vw, 4.75rem);
  --d3: clamp(1.75rem, 3.2vw, 2.75rem);
  --d4: clamp(1.375rem, 2vw, 1.75rem);
  --num: clamp(3rem, 6vw, 5.5rem);
  --lead: clamp(1.125rem, 1.5vw, 1.3125rem);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.30, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-image: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 240ms;
  --t-base: 620ms;
  --t-slow: 900ms;
  --t-cine: 1600ms;

  /* Layout */
  --gutter: clamp(24px, 5vw, 88px);
  --maxw: 1440px;
  --section-y: clamp(88px, 11vw, 176px);
}

/* --------------------------------------------------------------------------
   3. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (min-width: 1024px) { html { font-size: 106.25%; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-body);
  font-family: var(--text);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
  font-feature-settings: 'ss01', 'cv05';
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
  hyphens: none;
}
p { margin: 0 0 1.1em; text-wrap: pretty; max-width: 62ch; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}
.on-navy :focus-visible,
.sec--navy :focus-visible { outline-color: var(--gold-bright); }

::selection { background: var(--gold); color: var(--navy-deep); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  background: var(--navy);
  color: var(--paper);
  padding: 12px 20px;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: top var(--t-fast) var(--ease-out);
}
.skip-link:focus { top: 16px; }

/* --------------------------------------------------------------------------
   4. Type utilities
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  /* Override the 62ch cap inherited from the base `p` rule — with 0.22em
     tracking that measure wraps the label far too early. */
  max-width: none;
  margin: 0 0 22px;
  font-family: var(--text);
  font-weight: 700;
  font-size: 0.6875rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold-deep);
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
  flex: none;
}
.sec--navy .eyebrow { color: var(--gold); }

.lead {
  font-size: var(--lead);
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink-body);
  max-width: 34ch;
}
.sec--navy .lead { color: var(--on-navy); }

.meta {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-muted);
  max-width: 48ch;
}
.sec--navy .meta { color: var(--on-navy-muted); }

.h2 { font-size: var(--d2); line-height: 1.02; letter-spacing: -0.02em; }
.h3 { font-size: var(--d3); line-height: 1.18; letter-spacing: -0.012em; }
.h4 { font-size: var(--d4); line-height: 1.2; letter-spacing: -0.01em; }
.sec--navy .h2, .sec--navy .h3, .sec--navy .h4 { color: var(--on-navy); }
.it { font-style: italic; font-weight: 700; }

/* --------------------------------------------------------------------------
   5. Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  border: 0;
  border-radius: 0;
  padding: 18px 34px;
  background: var(--navy);
  color: var(--paper);
  font-family: var(--text);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition: background var(--t-fast) var(--ease-out),
              letter-spacing 320ms var(--ease-out);
}
.btn::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid var(--gold-hairline);
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease-out);
  pointer-events: none;
}
.btn:hover { background: var(--navy-deep); letter-spacing: 0.19em; }
.btn:hover::after { opacity: 1; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule);
}
.btn--ghost:hover { background: var(--navy); color: var(--paper); }

.sec--navy .btn { background: var(--gold); color: var(--navy-deep); }
.sec--navy .btn:hover { background: var(--gold-bright); }

/* Animated gold underline */
.ulink {
  text-decoration: none;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  padding-bottom: 3px;
  transition: background-size 320ms var(--ease-out);
}
.ulink:hover, .ulink:focus-visible { background-size: 100% 1px; }
.ulink--on { background-size: 100% 1px; }

/* --------------------------------------------------------------------------
   6. Preloader curtain
   -------------------------------------------------------------------------- */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
}
.curtain__half {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50.5%;
  background: var(--navy);
  transition: transform var(--t-slow) var(--ease-inout);
}
.curtain__half--t { top: 0; }
.curtain__half--b { bottom: 0; }
.curtain__mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 20px;
  transition: opacity var(--t-fast) var(--ease-out);
}
.curtain__mark img { width: 120px; opacity: 0; transition: opacity 420ms var(--ease-out); }
.curtain__rule {
  width: 320px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--t-base) var(--ease-out);
}
.is-loaded .curtain__mark img { opacity: 1; }
.is-ruled .curtain__rule { transform: scaleX(1); }
.is-lifting .curtain__mark { opacity: 0; }
.is-lifting .curtain__half--t { transform: translateY(-100%); }
.is-lifting .curtain__half--b { transform: translateY(100%); }
.is-done .curtain { display: none; }

/* --------------------------------------------------------------------------
   7. Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 96px;
  display: flex;
  align-items: center;
  /* The hero is split light/paper | dark/image, so a fully transparent header
     would render the right-hand nav items illegible over the photograph.
     The bar keeps a paper glass fill at all times; scrolling only condenses it. */
  background: rgba(247, 244, 239, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: height 420ms var(--ease-inout),
              background 420ms var(--ease-inout),
              border-color 420ms var(--ease-inout);
}
.header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}
.header__logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.header__logo img { height: 44px; width: auto; transition: height 420ms var(--ease-inout); }
/* Two real files rather than a CSS filter: the filter flattened the gold and
   wiped the globe's detail. .logo-on-dark is revealed over navy sections. */
.logo-on-dark { display: none; }
.header.is-dark .logo-on-light { display: none; }
.header.is-dark .logo-on-dark { display: block; }
.header__logo span {
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  text-decoration: none;
  opacity: 0.82;
  transition: opacity var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}
.nav a:hover { opacity: 1; color: var(--gold-deep); }

.header__side { display: flex; align-items: center; gap: 22px; }
.header__tel {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  text-decoration: none;
  white-space: nowrap;
}
.header__tel:hover { color: var(--gold-deep); }
.header__cta { padding: 13px 24px; font-size: 0.75rem; }

/* Condensed state */
.header.is-stuck {
  height: 64px;
  background: rgba(247, 244, 239, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--rule);
}
.header.is-stuck .header__logo img { height: 34px; }

/* Inverted over dark sections */
.header.is-dark .header__logo span,
.header.is-dark .nav a { color: var(--on-navy); }
.header.is-dark .header__tel { color: var(--on-navy-muted); }
.header.is-dark .nav a:hover { color: var(--gold-bright); }
.header.is-dark .btn--ghost { color: var(--on-navy); border-color: var(--rule-navy); }
.header.is-dark .btn--ghost:hover { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.header.is-stuck.is-dark { background: rgba(14, 27, 44, 0.92); border-bottom-color: var(--rule-navy); }

/* Below the desktop breakpoint the bar is logo + burger only — the phone
   number and CTA cannot fit beside them and were overlapping the wordmark. */
@media (max-width: 1024px) {
  .header__tel { display: none; }
  .nav {
    display: none;
    position: fixed;
    inset: 96px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 24px var(--gutter) 34px;
    background: var(--navy);
    border-bottom: 1px solid var(--rule-navy);
    z-index: 99;
  }
  .nav.is-open { display: flex; }
  .nav a {
    color: var(--on-navy);
    opacity: 1;
    padding: 14px 0;
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--rule-navy);
  }
  .nav a:last-child { border-bottom: 0; }
  .header.is-stuck .nav { inset-block-start: 64px; }
}
@media (max-width: 680px) {
  .header__cta { display: none; }
  .header__logo img { height: 34px; }
  .header__logo span { font-size: 0.9375rem; }
}
@media (max-width: 380px) {
  .header__logo span { display: none; }
}

/* Mobile menu. The burger is visible by default and hidden on desktop —
   declared in this order so the desktop rule wins without specificity tricks. */
@media (min-width: 1025px) {
  .burger { display: none !important; }
}
.burger {
  display: block;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rule);
  background: transparent;
  cursor: pointer;
  position: relative;
  padding: 0;
}
.burger span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1px;
  background: var(--ink);
  transition: transform var(--t-fast) var(--ease-out), opacity var(--t-fast) var(--ease-out);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 27px; }
.header.is-dark .burger span { background: var(--on-navy); }
.header.is-dark .burger { border-color: var(--rule-navy); }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   8. Route line (signature)
   -------------------------------------------------------------------------- */
.route {
  position: fixed;
  left: 44px;
  top: 0;
  bottom: 0;
  width: 1px;
  z-index: 90;
  pointer-events: none;
}
.route__track { position: absolute; inset: 0; background: var(--gold); opacity: 0.14; }
.route__fill {
  position: absolute;
  inset: 0 0 auto;
  height: 0;
  background: var(--gold);
  transition: height 120ms linear;
}
.route__glyph {
  position: absolute;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  color: var(--gold);
  transform: translateY(-50%);
  transition: top 520ms var(--ease-out);
}
.route__glyph svg { width: 14px; height: 14px; fill: currentColor; transition: opacity var(--t-fast) var(--ease-out); }
.route__label {
  position: absolute;
  left: 18px;
  writing-mode: vertical-rl;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity var(--t-slow) var(--ease-out), top 520ms var(--ease-out);
}
.route.on-dark .route__label { color: var(--gold); }
.route__label.is-on { opacity: 1; }
@media (max-width: 1100px) { .route { display: none; } }

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 680px;
  height: 100svh;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  overflow: hidden;
}
.hero__type {
  grid-column: 1 / span 6;
  padding-inline: var(--gutter);
  padding-block: 120px 40px;
  position: relative;
  z-index: 3;
  max-width: 760px;
  justify-self: end;
  width: 100%;
}
/* No grid-column here: an absolutely-positioned grid child takes its grid
   area as the containing block, which would make `left:50%` resolve against
   the right half rather than the viewport. */
.hero__fig {
  position: absolute;
  inset: 0 0 0 50%;
  overflow: hidden;
  z-index: 1;
  margin: 0;
}
.hero__fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 40%;
  filter: saturate(1.04) contrast(1.03);
  transform: scale(1.1);
  opacity: 0.6;
  will-change: transform;
}
.hero__fig::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 17, 32, 0.62) 0%, rgba(8, 17, 32, 0.12) 42%, rgba(8, 17, 32, 0.78) 100%);
  pointer-events: none;
}
.is-done .hero__fig img {
  transform: scale(1);
  opacity: 1;
  transition: transform var(--t-cine) var(--ease-image), opacity var(--t-cine) var(--ease-image);
}

.hero__h1 {
  font-size: var(--d1);
  line-height: 0.94;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 28px;
  text-wrap: nowrap;
}
.hero__h1 .line { display: block; overflow: hidden; }
.hero__h1 .line > span { display: block; transform: translateY(110%); opacity: 0; }
.is-done .hero__h1 .line > span {
  transform: translateY(0);
  opacity: 1;
  transition: transform 1100ms var(--ease-out), opacity 1100ms var(--ease-out);
}
.is-done .hero__h1 .line:nth-child(1) > span { transition-delay: 200ms; }
.is-done .hero__h1 .line:nth-child(2) > span { transition-delay: 310ms; }
.is-done .hero__h1 .line:nth-child(3) > span { transition-delay: 420ms; }

.hero__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.hero__tel { font-weight: 500; text-decoration: none; color: var(--ink); }

.hero__rule-v {
  position: absolute;
  left: 50%;
  top: 32px;
  bottom: 32px;
  width: 1px;
  background: var(--gold-hairline);
  z-index: 4;
  transform: scaleY(0);
  transform-origin: top;
}
.is-done .hero__rule-v { transform: scaleY(1); transition: transform var(--t-slow) var(--ease-out) 700ms; }

.hero__caption {
  position: absolute;
  right: var(--gutter);
  bottom: 40px;
  z-index: 4;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-navy-muted);
  opacity: 0;
}
.is-done .hero__caption { opacity: 1; transition: opacity var(--t-base) var(--ease-out) 1400ms; }

.hero__cue {
  position: absolute;
  left: var(--gutter);
  bottom: 40px;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  opacity: 0;
}
.is-done .hero__cue { opacity: 1; transition: opacity var(--t-base) var(--ease-out) 1500ms; }
.hero__cue-txt {
  writing-mode: vertical-rl;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.hero__cue-rule { position: relative; width: 1px; height: 64px; background: var(--rule); overflow: hidden; }
.hero__cue-rule::after {
  content: '';
  position: absolute;
  left: 0;
  width: 1px;
  height: 12px;
  background: var(--gold);
  animation: cue 2700ms var(--ease-inout) infinite;
}
@keyframes cue {
  0%, 100% { top: -12px; }
  40%, 60% { top: 64px; }
}

/* Fade-and-rise items in hero */
.hero .rise { opacity: 0; transform: translateY(20px); }
.is-done .hero .rise {
  opacity: 1;
  transform: none;
  transition: opacity 720ms var(--ease-out), transform 720ms var(--ease-out);
}
.is-done .hero .rise--1 { transition-delay: 120ms; }
.is-done .hero .rise--2 { transition-delay: 800ms; }
.is-done .hero .rise--3 { transition-delay: 920ms; }

@media (max-width: 860px) {
  .hero { display: block; height: auto; min-height: 100svh; }
  .hero__fig { inset: 0; }
  .hero__fig::after { background: rgba(8, 17, 32, 0.62); }
  .hero__type {
    position: relative;
    z-index: 3;
    padding-block: 140px 120px;
    max-width: none;
    justify-self: stretch;
  }
  .hero__h1 { color: var(--on-navy); text-wrap: wrap; }
  .hero__h1 .line { display: inline; }
  .hero .lead { color: var(--on-navy); }
  .hero .eyebrow { color: var(--gold-bright); }
  .hero__tel { color: var(--on-navy); }
  .hero__actions .btn { background: var(--gold); color: var(--navy-deep); }
  .hero__rule-v, .hero__cue, .hero__caption { display: none; }
}

/* --------------------------------------------------------------------------
   10. Sections
   -------------------------------------------------------------------------- */
.sec { padding-block: var(--section-y); position: relative; }
/* Keep anchor targets clear of the fixed header. */
.sec[id], .hero[id] { scroll-margin-top: 96px; }
.sec--paper2 { background: var(--paper-2); }
.sec--navy { background: var(--navy); color: var(--on-navy); }
.sec--navy p { color: var(--on-navy); }
.sec--deep { background: var(--navy-deep); color: var(--on-navy); }
.sec--deep p { color: var(--on-navy); }

/* Marquee */
.marquee {
  height: 88px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--paper-2);
  border-block: 1px solid var(--gold-hairline);
}
.marquee__track { display: flex; flex: none; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-duration: 90s; }
.marquee__track > span {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  padding-inline: 0;
  display: flex;
  align-items: center;
}
.marquee__d {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  margin-inline: 34px;
  flex: none;
}
@keyframes marquee { to { transform: translateX(-100%); } }

/* Statement */
.statement { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; }
.statement__l { grid-column: 1 / span 5; }
.statement__r { grid-column: 7 / span 6; margin-top: 96px; }
.statement__pillars { list-style: none; margin: 40px 0 0; padding: 0; }
.statement__pillars li {
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 20px;
  align-items: baseline;
  max-width: 46ch;
}
.statement__pillars li:last-child { border-bottom: 1px solid var(--rule); }
.statement__pillars b {
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gold-deep);
  flex: none;
  min-width: 28px;
}

.figure { position: relative; overflow: hidden; }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--framed { padding: 12px; border: 1px solid var(--gold-hairline); }
.figure--45 { aspect-ratio: 4 / 5; }
.figure--169 { aspect-ratio: 16 / 9; }
.figure--34 { aspect-ratio: 3 / 4; }
.figure--219 { aspect-ratio: 21 / 9; }
figcaption { margin-top: 14px; font-size: 0.8125rem; color: var(--ink-muted); }
.sec--navy figcaption, .sec--deep figcaption { color: var(--on-navy-muted); }

@media (max-width: 900px) {
  .statement { display: block; }
  .statement__r { margin-top: 48px; }
}

/* Capabilities */
.cap { border-top: 1px solid var(--rule); }
.cap__row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px;
  align-items: center;
  padding-block: 56px;
  border-bottom: 1px solid var(--rule);
}
.cap__fig { grid-column: 1 / span 5; }
.cap__body { grid-column: 7 / span 5; }
.cap__row--alt .cap__fig { grid-column: 8 / span 5; order: 2; }
.cap__row--alt .cap__body { grid-column: 1 / span 5; order: 1; }
.cap__num {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink-muted);
  display: block;
  margin-bottom: 16px;
  transition: color var(--t-fast) var(--ease-out);
}
.cap__row:hover .cap__num { color: var(--gold); }
.cap__row:hover .cap__fig img { transform: scale(1.04); }
.cap__fig img { transition: transform var(--t-slow) var(--ease-image); }
.cap__list { list-style: none; margin: 20px 0 22px; padding: 0; }
.cap__list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.6;
}
.cap__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}
@media (max-width: 900px) {
  .cap__row, .cap__row--alt { display: block; }
  .cap__body { margin-top: 28px; }
}

/* Distribution (dark) */
.dist__band {
  position: relative;
  height: 78vh;
  min-height: 480px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.dist__band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 118%;
  top: -9%;
  object-fit: cover;
  will-change: transform;
}
.dist__band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(14, 27, 44, 0.55);
}
.dist__band-in {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-inline: var(--gutter);
  max-width: 900px;
}
.dist__band-in p { margin-inline: auto; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-block: clamp(56px, 7vw, 96px);
}
.stat { border-top: 1px solid var(--rule-navy); padding-top: 24px; }
.stat__n {
  font-family: var(--display);
  font-size: var(--num);
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  display: block;
}
.stat__u {
  display: block;
  margin-top: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-navy-muted);
}
.stat__rule { height: 1px; background: var(--gold); margin-top: 20px; transform: scaleX(0); transform-origin: left; }
.stat.is-in .stat__rule { transform: scaleX(1); transition: transform 700ms var(--ease-out) 400ms; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Standards */
.std { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px; align-items: center; }
.std__fig { grid-column: 1 / span 5; }
.std__fig img { filter: saturate(0.88); }
.std__body { grid-column: 7 / span 6; }
.std__list { list-style: none; margin: 32px 0 0; padding: 0; }
.std__list li { padding: 20px 0; border-top: 1px solid var(--rule); }
.std__list li:last-child { border-bottom: 1px solid var(--rule); }
.std__list b { display: block; font-family: var(--display); font-size: 1.25rem;
  font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.std__list span { font-size: 0.9375rem; color: var(--ink-muted); }
@media (max-width: 900px) { .std { display: block; } .std__body { margin-top: 40px; } }

/* Brands */
.brands { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--rule); }
.brand {
  display: grid;
  place-items: center;
  padding: 44px 20px;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  position: relative;
}
.brand:nth-child(6n) { border-right: 0; }
.brand img {
  max-height: 40px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.55;
  transition: opacity var(--t-fast) var(--ease-out), filter var(--t-fast) var(--ease-out);
}
.brand::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease-out);
}
.brand:hover img { opacity: 1; filter: grayscale(0); }
.brand:hover::after { transform: scaleX(1); }
@media (max-width: 900px) {
  .brands { grid-template-columns: repeat(3, 1fr); }
  .brand:nth-child(6n) { border-right: 1px solid var(--rule); }
  .brand:nth-child(3n) { border-right: 0; }
}
@media (max-width: 520px) {
  .brands { grid-template-columns: repeat(2, 1fr); }
  .brand:nth-child(3n) { border-right: 1px solid var(--rule); }
  .brand:nth-child(2n) { border-right: 0; }
}

/* House / about */
.house { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px; align-items: center; }
.house__body { grid-column: 1 / span 6; }
.house__fig { grid-column: 8 / span 5; }
.house__quote {
  font-family: var(--display);
  font-size: var(--d3);
  font-style: italic;
  font-weight: 600;
  line-height: 1.28;
  color: var(--ink);
  margin: 0 0 28px;
  max-width: 24ch;
}
.house__sig { font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.house__facts { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 12px; }
.house__facts li { font-size: 0.875rem; color: var(--ink-muted); padding-left: 18px; position: relative; }
.house__facts li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
@media (max-width: 900px) { .house { display: block; } .house__fig { margin-top: 40px; } }

/* Process */
.proc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; margin-top: 56px; }
.proc::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 34px;
  height: 1px;
  background: var(--gold-hairline);
  transform: scaleX(0);
  transform-origin: left;
}
.proc.is-in::before { transform: scaleX(1); transition: transform 1200ms var(--ease-out); }
.proc__step { position: relative; background: var(--paper); padding-right: 24px; }
.proc__n { font-family: var(--display); font-size: 3.5rem;
  font-weight: 700; line-height: 1; color: var(--gold); display: block; margin-bottom: 18px; }
.proc__step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.proc__step p { font-size: 0.9375rem; color: var(--ink-muted); }
@media (max-width: 860px) { .proc { grid-template-columns: 1fr; gap: 32px; } .proc::before { display: none; } }

/* --------------------------------------------------------------------------
   11. Enquiry form
   -------------------------------------------------------------------------- */
.enq { display: grid; grid-template-columns: repeat(12, 1fr); gap: 64px; }
.enq__l { grid-column: 1 / span 5; }
.enq__r { grid-column: 7 / span 6; }
.enq__big {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.4vw, 2.125rem);
  font-weight: 700;
  color: var(--on-navy);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  word-break: break-word;
}
.enq__addr { margin-top: 32px; font-size: 0.9375rem; color: var(--on-navy-muted); line-height: 1.8; }

.form { display: grid; gap: 30px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.field { position: relative; }
.field label {
  position: absolute;
  left: 0;
  top: 14px;
  font-size: 0.9375rem;
  color: var(--on-navy-muted);
  pointer-events: none;
  transform-origin: left top;
  transition: transform var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--rule-navy);
  background: transparent;
  color: var(--on-navy);
  font-family: var(--text);
  font-size: 1rem;
  padding: 14px 0 12px;
  border-radius: 0;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 92px; }
.field select option { background: var(--navy-deep); color: var(--on-navy); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--gold-bright); }
.field input:focus + label,
.field select:focus + label,
.field textarea:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:not(:placeholder-shown) + label,
.field select:valid + label {
  transform: translateY(-24px) scale(0.72);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.field--select label { top: 14px; }

.checks { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.check { display: flex; align-items: center; gap: 9px; font-size: 0.875rem; color: var(--on-navy-muted); cursor: pointer; }
.check input { width: 15px; height: 15px; accent-color: var(--gold); flex: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.8125rem; color: var(--on-navy-muted); line-height: 1.6; }
.consent input { margin-top: 4px; width: 15px; height: 15px; accent-color: var(--gold); flex: none; }
.form__note { font-size: 0.8125rem; color: var(--on-navy-muted); }
.form__status { font-size: 0.875rem; min-height: 1.4em; }
.form__status.is-err { color: #ff8b8b; }
.form__status.is-ok { color: #7fd1a8; }

@media (max-width: 900px) {
  .enq { display: block; }
  .enq__r { margin-top: 56px; }
  .form__row { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--navy-deep); color: var(--on-navy); padding-block: 88px 0; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 64px; }
.footer__brand img { width: 200px; height: auto; margin-bottom: 22px; }
.footer__brand p { font-size: 0.875rem; color: var(--on-navy-muted); max-width: 34ch; }
.footer h4 {
  font-family: var(--text);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer ul a { font-size: 0.9375rem; color: var(--on-navy-muted); text-decoration: none; transition: color var(--t-fast) var(--ease-out); }
.footer ul a:hover { color: var(--gold-bright); }
.footer__legal {
  border-top: 1px solid var(--rule-navy);
  padding-block: 28px;
  font-size: 0.8125rem;
  color: var(--on-navy-muted);
  line-height: 1.8;
}
.footer__bottom {
  border-top: 1px solid var(--rule-navy);
  padding-block: 22px 32px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--on-navy-muted);
}
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: var(--gold-bright); }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   13. Scroll reveal
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
}
.js .reveal-group > * { opacity: 0; transform: translateY(28px); }
.js .reveal-group.is-in > * {
  opacity: 1;
  transform: none;
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
/* The clip-path goes on the INNER image, never on the observed element.
   Clipping the observed element to zero height empties its intersection
   rectangle, so IntersectionObserver would never fire and `is-in` would
   never be added — leaving the image hidden permanently. */
.js .reveal-img img { clip-path: inset(0 0 100% 0); transform: scale(1.08); }
.js .reveal-img.is-in img {
  clip-path: inset(0 0 0 0);
  transform: scale(1);
  transition: clip-path 1100ms var(--ease-out), transform var(--t-cine) var(--ease-image);
}
.js .reveal-rule { transform: scaleX(0); transform-origin: left; }
.js .reveal-rule.is-in { transform: scaleX(1); transition: transform 700ms var(--ease-out); }

/* --------------------------------------------------------------------------
   14. Legal sub-pages
   -------------------------------------------------------------------------- */
.doc { padding-block: calc(var(--section-y) + 60px) var(--section-y); }
.doc__in { max-width: 62ch; }
.doc h1 { font-size: var(--d2); margin-bottom: 32px; }
.doc h2 { font-size: 1.375rem; margin: 44px 0 14px; }
.doc dl { margin: 0 0 28px; }
.doc dt { font-weight: 600; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); margin-top: 18px; }
.doc dd { margin: 4px 0 0; }
.doc a { color: var(--gold-deep); }

/* --------------------------------------------------------------------------
   15. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .curtain { display: none; }
  .js .reveal,
  .js .reveal-group > *,
  .js .reveal-img,
  .js .reveal-img img,
  .js .reveal-rule,
  .hero .rise,
  .hero__h1 .line > span {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
  .hero__fig img { transform: none !important; opacity: 1 !important; }
  .hero__rule-v { transform: scaleY(1) !important; }
  .marquee__track { animation: none; }
  .hero__cue-rule::after { animation: none; top: 0; }
  .proc::before { transform: scaleX(1) !important; }
  .stat__rule { transform: scaleX(1) !important; }
}
