/* ============================================================
   Global Trade Introduction Network — Design Tokens
   Direction: editorial / corporate-stable, light theme
   ============================================================ */
:root {
  /* Brand palette */
  --navy:        #0B1F33;
  --graphite:    #2B2F36;
  --paper:       #F7F5F0;
  --signal:      #E86A33;
  --slate:       #5B6B7C;
  --border:      #E3DED4;

  /* Semantic layer */
  --bg:          var(--paper);
  --surface:     #FFFFFF;
  --surface-2:   #F1EEE7;
  --text-1:      var(--navy);
  --text-2:      var(--graphite);
  --text-3:      var(--slate);
  --text-invert: #F7F5F0;
  --accent:      var(--signal);
  --accent-ink:  #0B1F33;
  --line:        var(--border);
  --line-strong: #CFC8BA;
  --ok:          #1F7A6B;
  --warn:        #B4611F;

  /* Status chips */
  --chip-verified-bg: #E6F1EE; --chip-verified-ink: #14594E;
  --chip-optin-bg:    #FCE9DD; --chip-optin-ink:    #9C4518;
  --chip-history-bg:  #E7ECF2; --chip-history-ink:  #33495F;
  --chip-pending-bg:  #EFEDE7; --chip-pending-ink:  #6B655A;

  /* Type */
  --font-display: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, "Songti SC", "Noto Serif CJK SC", serif;
  --font-body: Inter, "IBM Plex Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --fs-hero: clamp(2.6rem, 5.4vw, 5rem);
  --fs-h2:   clamp(1.9rem, 3.2vw, 2.9rem);
  --fs-h3:   clamp(1.2rem, 1.7vw, 1.5rem);
  --fs-body: clamp(1rem, 1.05vw, 1.125rem);
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;
  --lh-tight: 1.08;
  --lh-snug: 1.28;
  --lh-body: 1.68;

  /* Spacing (8pt) */
  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 32px;
  --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;

  /* Shape & elevation */
  --r-sm: 6px; --r-md: 8px; --r-lg: 12px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(11,31,51,.05);
  --shadow-2: 0 8px 28px rgba(11,31,51,.07);

  /* Motion */
  --dur-1: 140ms; --dur-2: 260ms; --dur-3: 420ms;
  --ease: cubic-bezier(.2,.7,.2,1);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 4vw, 56px);
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, select, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--r-sm); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text-1); font-weight: 600; margin: 0; }
h1 { font-size: var(--fs-hero); line-height: var(--lh-tight); letter-spacing: -.02em; }
h2 { font-size: var(--fs-h2);   line-height: var(--lh-snug);  letter-spacing: -.015em; }
h3 { font-size: var(--fs-h3);   line-height: var(--lh-snug); }
p  { margin: 0 0 var(--s3); }
p:last-child { margin-bottom: 0; }
strong { color: var(--text-1); font-weight: 650; }
em { font-style: normal; color: var(--accent-ink); background: linear-gradient(transparent 62%, rgba(232,106,51,.32) 62%); }
ul, ol { margin: 0 0 var(--s3); padding-left: 1.25em; }
li { margin-bottom: var(--s1); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: 72ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s1);
  font-size: var(--fs-micro); font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent-ink);
  margin-bottom: var(--s3);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); display: inline-block; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.3rem); color: var(--text-2); max-width: 66ch; }
.muted { color: var(--text-3); }
.small { font-size: var(--fs-small); }
.micro { font-size: var(--fs-micro); }
.text-invert { color: var(--text-invert); }
.text-invert h1, .text-invert h2, .text-invert h3 { color: var(--text-invert); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ============================================================
   Buttons & chips
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
  min-height: 44px; padding: 10px 20px;
  border-radius: var(--r-md); border: 1px solid transparent;
  font-size: .95rem; font-weight: 650; line-height: 1.2;
  transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease),
              border-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--navy); color: var(--text-invert); }
.btn-primary:hover { background: #15395B; color: #fff; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #F07C48; color: var(--accent-ink); }
.btn-ghost { border-color: var(--line-strong); background: transparent; color: var(--text-1); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: transparent; color: var(--text-invert); border-color: rgba(247,245,240,.45); }
.btn-light:hover { border-color: var(--text-invert); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--r-pill);
  font-size: var(--fs-micro); font-weight: 650; letter-spacing: .01em;
  white-space: nowrap;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip-verified { background: var(--chip-verified-bg); color: var(--chip-verified-ink); }
.chip-optin    { background: var(--chip-optin-bg);    color: var(--chip-optin-ink); }
.chip-history  { background: var(--chip-history-bg);  color: var(--chip-history-ink); }
.chip-pending  { background: var(--chip-pending-bg);  color: var(--chip-pending-ink); }

/* ============================================================
   Header / navigation
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,245,240,.94);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-top { border-top: 3px solid var(--accent); }
.navbar {
  display: flex; align-items: center; gap: var(--s4);
  min-height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand-mark {
  width: 34px; height: 34px; border: 1.5px solid var(--navy); border-radius: 3px;
  display: grid; place-items: center; position: relative; flex: 0 0 auto;
}
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; background: var(--navy); }
.brand-mark::before { width: 14px; height: 1.5px; transform: rotate(-45deg); }
.brand-mark::after  { width: 14px; height: 1.5px; transform: rotate(45deg); }
.brand-mark span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.brand-text { font-family: var(--font-display); font-weight: 650; font-size: 1.02rem; line-height: 1.15; letter-spacing: -.01em; }
.brand-text small { display: block; font-family: var(--font-body); font-size: var(--fs-micro); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-top: 2px; }

.nav-main { display: flex; align-items: center; gap: 2px; margin-left: auto; flex-wrap: wrap; }
.nav-link {
  padding: 8px 11px; border-radius: var(--r-sm);
  font-size: .875rem; font-weight: 600; color: var(--text-2);
  transition: background var(--dur-1), color var(--dur-1);
}
.nav-link:hover { background: var(--surface-2); color: var(--navy); }
.nav-link.active { color: var(--navy); background: var(--surface-2); box-shadow: inset 0 -2px 0 var(--accent); }
.nav-drop { position: relative; }
.nav-drop-toggle { display: inline-flex; align-items: center; gap: 5px; }
.nav-drop-toggle::after { content: "▾"; font-size: .65em; color: var(--text-3); }
.nav-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 250px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-2); padding: var(--s1); display: none;
}
.nav-drop.open .nav-menu { display: block; }
.nav-menu a { display: block; padding: 9px 12px; border-radius: var(--r-sm); font-size: .875rem; color: var(--text-2); }
.nav-menu a:hover { background: var(--surface-2); color: var(--navy); }
.nav-menu .nav-menu-label { padding: 9px 12px 4px; font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); font-weight: 700; }
.nav-menu hr { border: 0; border-top: 1px solid var(--line); margin: var(--s1) 0; }

.lang-picker { position: relative; flex: 0 0 auto; }
.lang-button {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 6px 12px;
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--r-md);
  font-size: .8rem; font-weight: 650; color: var(--navy);
}
.lang-button:hover { border-color: var(--navy); }
.lang-button .globe { font-family: var(--font-display); font-size: 1rem; line-height: 1; }
.lang-panel {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 60;
  width: 330px; max-height: 62vh; overflow: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-2); padding: var(--s2); display: none;
}
.lang-panel.open { display: block; }
.lang-search {
  width: 100%; min-height: 40px; padding: 8px 12px; margin-bottom: var(--s2);
  border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--paper); color: var(--text-1);
}
.lang-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.lang-option {
  display: flex; align-items: center; gap: 8px; text-align: left;
  padding: 8px 10px; border: 0; border-radius: var(--r-sm); background: transparent;
  font-size: .82rem; color: var(--text-2); width: 100%;
}
.lang-option:hover { background: var(--surface-2); color: var(--navy); }
.lang-option.active { background: var(--navy); color: var(--text-invert); }
.lang-option .code { font-family: ui-monospace, SFMono-Regular, monospace; font-size: var(--fs-micro); opacity: .7; margin-left: auto; }

.menu-toggle {
  display: none; min-height: 40px; padding: 6px 12px;
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--r-md);
  color: var(--navy); font-weight: 650; font-size: .8rem;
}

/* ============================================================
   Main / sections
   ============================================================ */
main { min-height: 60vh; }
.section { padding-block: clamp(var(--s6), 8vw, var(--s8)); border-bottom: 1px solid var(--line); }
.section:last-child { border-bottom: 0; }
.section.tint { background: var(--surface-2); }
.section.navy { background: var(--navy); color: var(--text-invert); }
.section.navy p { color: rgba(247,245,240,.82); }
.section-head { max-width: 74ch; margin-bottom: var(--s5); }
.section-head h2 { margin-bottom: var(--s3); }

/* Hero */
.hero { padding-block: clamp(var(--s6), 8vw, var(--s8)); position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -8%; top: -20%; width: 46%; height: 140%;
  background: radial-gradient(ellipse at center, rgba(232,106,51,.10), transparent 68%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(var(--s5), 6vw, var(--s7)); align-items: center; position: relative; z-index: 1; }
.hero h1 { margin-bottom: var(--s4); }
.hero .sub { font-size: clamp(1.06rem, 1.45vw, 1.32rem); line-height: 1.55; color: var(--text-2); max-width: 62ch; margin-bottom: var(--s4); }
.hero .close { font-family: var(--font-display); font-size: 1.1rem; color: var(--navy); margin-bottom: var(--s4); }
.hero .fine { font-size: var(--fs-small); color: var(--text-3); max-width: 60ch; margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--line); }
.hero-art { position: relative; }
.hero-art .frame {
  aspect-ratio: 4/5; border-radius: var(--r-lg); overflow: hidden; position: relative;
  background: linear-gradient(155deg, #162F48 0%, #0B1F33 55%, #2B2F36 100%);
  border: 1px solid var(--navy); box-shadow: var(--shadow-2);
}
.hero-art .frame::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(247,245,240,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247,245,240,.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}
.hero-art .frame .ring {
  position: absolute; left: 50%; top: 48%; transform: translate(-50%,-50%);
  width: 62%; aspect-ratio: 1; border: 1px solid rgba(247,245,240,.30); border-radius: 50%;
}
.hero-art .frame .ring.r2 { width: 92%; border-color: rgba(247,245,240,.16); }
.hero-art .frame .ring.r3 { width: 34%; border-color: var(--accent); }
.hero-art .frame .dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(232,106,51,.18); }
.hero-art .frame .d1 { left: 22%; top: 30%; } .hero-art .frame .d2 { right: 18%; top: 62%; }
.hero-art .frame .d3 { left: 40%; bottom: 18%; background: var(--text-invert); box-shadow: 0 0 0 5px rgba(247,245,240,.14); }
.hero-art .frame .caption {
  position: absolute; left: var(--s3); right: var(--s3); bottom: var(--s3);
  font-size: var(--fs-micro); letter-spacing: .12em; text-transform: uppercase;
  color: rgba(247,245,240,.7); display: flex; justify-content: space-between; gap: var(--s2);
}
.hero-art .credit { font-size: var(--fs-micro); color: var(--text-3); margin-top: var(--s2); }

/* Split text + visual */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(var(--s5), 6vw, var(--s7)); align-items: center; }
.split.reverse > .split-visual { order: -1; }
.concept {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
  padding: var(--s5); min-height: 340px; position: relative; overflow: hidden; box-shadow: var(--shadow-1);
}
.concept .grid-bg { position: absolute; inset: 0; background-image: radial-gradient(var(--line-strong) .8px, transparent .8px); background-size: 18px 18px; opacity: .7; }
.concept .hub { position: relative; display: grid; place-items: center; min-height: 240px; }
.concept .hub-core {
  width: 118px; height: 118px; border-radius: 50%; background: var(--navy); color: var(--text-invert);
  display: grid; place-items: center; text-align: center; font-size: var(--fs-micro); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; z-index: 2; box-shadow: 0 0 0 8px rgba(11,31,51,.06);
}
.concept .node { position: absolute; z-index: 1; padding: 7px 12px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-pill); font-size: var(--fs-micro); font-weight: 650; color: var(--text-1); box-shadow: var(--shadow-1); }
.concept .node.n1 { left: 2%;  top: 12%; }
.concept .node.n2 { right: 2%; top: 4%; }
.concept .node.n3 { left: 0%;  bottom: 14%; }
.concept .node.n4 { right: 0%; bottom: 8%; }
.concept .node.n5 { right: 12%; bottom: 38%; }
.concept .node.accent { border-color: var(--accent); color: var(--accent-ink); background: #FCE9DD; }

/* Cards */
.cards { display: grid; gap: var(--s3); }
.cards.cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.cards.cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.cards.cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s4); box-shadow: var(--shadow-1); position: relative;
  transition: border-color var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card .card-tag { font-size: var(--fs-micro); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-ink); margin-bottom: var(--s3); display: flex; align-items: center; gap: var(--s1); }
.card .card-tag::before { content: ""; width: 16px; height: 2px; background: var(--accent); }
.card h3 { margin-bottom: var(--s2); }
.card p { font-size: .95rem; }
.card .boundary { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--text-3); }
.card .boundary b { color: var(--accent-ink); }
.card .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s3); }
.card.linked { display: block; width: 100%; text-align: left; color: inherit; }
.card.linked:hover h3 { color: var(--navy); }

/* Phase matrix */
.matrix { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.matrix-row { display: grid; grid-template-columns: 180px 1fr 1fr; }
.matrix-row + .matrix-row { border-top: 1px solid var(--line); }
.matrix-cell { padding: var(--s4); border-right: 1px solid var(--line); }
.matrix-cell:last-child { border-right: 0; }
.matrix-row.head .matrix-cell { background: var(--surface-2); font-size: var(--fs-micro); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); }
.matrix-row .phase { background: var(--navy); color: var(--text-invert); display: flex; flex-direction: column; justify-content: center; }
.matrix-row .phase .num { font-family: var(--font-display); font-size: 2rem; color: var(--accent); line-height: 1; margin-bottom: var(--s1); }
.matrix-row .phase h3 { color: var(--text-invert); }
.matrix-cell p { font-size: .92rem; }
.matrix-foot { padding: var(--s4); background: var(--surface-2); border-top: 1px solid var(--line); }
.matrix-foot p { font-size: var(--fs-small); margin-bottom: var(--s2); }

/* Flow steps */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: var(--s3); counter-reset: step; }
.step { position: relative; padding-top: var(--s5); border-top: 2px solid var(--navy); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: -15px; left: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); display: grid; place-items: center;
  font-size: var(--fs-micro); font-weight: 800;
}
.step h3 { font-size: 1.1rem; margin-bottom: var(--s2); }
.step p { font-size: .9rem; color: var(--text-2); }
.steps.cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.steps.cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

/* Record card */
.record {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden;
  box-shadow: var(--shadow-2);
}
.record-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding: var(--s3) var(--s4); background: var(--navy); color: var(--text-invert); }
.record-head .id { font-family: ui-monospace, SFMono-Regular, monospace; font-size: var(--fs-small); letter-spacing: .06em; }
.record-head .stamp { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: .12em; border: 1px solid rgba(247,245,240,.4); padding: 4px 10px; border-radius: var(--r-pill); }
.record-body { padding: var(--s2) var(--s4) var(--s4); }
.record-row { display: grid; grid-template-columns: 190px 1fr; gap: var(--s3); padding: var(--s2) 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.record-row:last-child { border-bottom: 0; }
.record-row dt { color: var(--text-3); font-size: var(--fs-small); }
.record-row dd { margin: 0; color: var(--text-1); font-weight: 600; }

/* Compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.compare > div { padding: var(--s4); }
.compare > div + div { border-left: 1px solid var(--line); background: var(--surface-2); }
.compare h3 { margin-bottom: var(--s3); }
.compare ul { list-style: none; padding: 0; margin: 0; }
.compare li { padding: var(--s2) 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.compare li:last-child { border-bottom: 0; }
.compare li::before { content: "—"; color: var(--accent); margin-right: var(--s2); font-weight: 700; }

/* Boundary blocks */
.boundary-block { display: grid; grid-template-columns: 300px 1fr; gap: var(--s4); padding: var(--s4) 0; border-top: 1px solid var(--line); }
.boundary-block:first-of-type { border-top: 0; }
.boundary-block h3 { font-size: 1.15rem; }
.boundary-block ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2); }
.boundary-block li { position: relative; padding-left: 22px; font-size: .95rem; margin: 0; }
.boundary-block li::before { content: "×"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; }

/* FAQ */
.faq-list { max-width: 860px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: var(--s3) var(--s4) var(--s3) 0;
  font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; color: var(--text-1);
  display: flex; justify-content: space-between; gap: var(--s3); align-items: flex-start;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-family: var(--font-body); font-size: 1.4rem; line-height: 1; flex: 0 0 auto; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-a { padding: 0 var(--s5) var(--s3) 0; color: var(--text-2); }

/* Legal table */
.legal-table { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.legal-row { display: grid; grid-template-columns: 260px 1fr; }
.legal-row + .legal-row { border-top: 1px solid var(--line); }
.legal-row dt, .legal-row dd { margin: 0; padding: var(--s3) var(--s4); font-size: .95rem; }
.legal-row dt { background: var(--surface-2); color: var(--text-3); font-weight: 650; }
.legal-row dd { color: var(--text-1); }

/* Callout */
.callout { border-left: 3px solid var(--accent); background: var(--surface); padding: var(--s3) var(--s4); border-radius: 0 var(--r-md) var(--r-md) 0; margin-block: var(--s4); }
.callout p { font-size: .95rem; margin: 0; }
.callout.navy { background: rgba(247,245,240,.06); border-left-color: var(--accent); color: var(--text-invert); }
.closing-band { background: var(--navy); color: var(--text-invert); padding-block: var(--s5); text-align: center; }
.closing-band p { font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.6rem); margin: 0; color: var(--text-invert); }

/* Page hero */
.page-hero { padding-block: clamp(var(--s5), 6vw, var(--s7)); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); }
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.6rem); max-width: 20ch; margin-bottom: var(--s3); }
.page-hero .sub { max-width: 70ch; font-size: clamp(1.05rem, 1.35vw, 1.25rem); }

/* Breadcrumb */
.crumbs { font-size: var(--fs-small); color: var(--text-3); margin-bottom: var(--s3); }
.crumbs a:hover { color: var(--accent); }
.crumbs span { margin-inline: 6px; opacity: .5; }

/* Localization note */
.lang-note {
  display: flex; align-items: flex-start; gap: var(--s2);
  background: #FCE9DD; border: 1px solid #F1CDB6; border-radius: var(--r-md);
  padding: var(--s2) var(--s3); font-size: var(--fs-small); color: #7A3A16; margin-bottom: var(--s4);
}
.lang-note::before { content: "i"; font-family: var(--font-display); font-weight: 800; flex: 0 0 auto; }

/* Placeholder marker */
.ph { border-bottom: 1px dashed var(--accent); color: var(--accent-ink); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--navy); color: var(--text-invert); padding-top: var(--s6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s5); padding-bottom: var(--s5); }
.footer-grid h3 { color: var(--text-invert); font-family: var(--font-body); font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: .14em; margin-bottom: var(--s3); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s1); }
.footer-grid li, .footer-grid a { font-size: var(--fs-small); color: rgba(247,245,240,.78); }
.footer-grid a:hover { color: #fff; }
.footer-brand .brand-text { color: var(--text-invert); }
.footer-brand .brand-mark { border-color: var(--text-invert); }
.footer-brand .brand-mark::before, .footer-brand .brand-mark::after { background: var(--text-invert); }
.footer-brand p { font-size: var(--fs-small); color: rgba(247,245,240,.72); max-width: 34ch; margin-top: var(--s3); }
.footer-legal { border-top: 1px solid rgba(247,245,240,.16); padding-block: var(--s4); font-size: var(--fs-micro); color: rgba(247,245,240,.62); }
.footer-legal strong { color: var(--text-invert); }
.footer-legal-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s2) var(--s4); margin-bottom: var(--s3); }
.footer-close { border-top: 1px solid rgba(247,245,240,.16); padding-block: var(--s4); text-align: center; }
.footer-close p { font-family: var(--font-display); font-size: clamp(1.05rem, 1.8vw, 1.4rem); color: var(--text-invert); margin: 0; }

/* ============================================================
   Photography treatments
   ============================================================ */
.hero-photo {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: saturate(.78) contrast(1.03);
}
.hero-art .frame img.hero-photo { position: absolute; inset: 0; }
.hero-art .frame:has(img)::before { display: none; }

.photo-hero { position: relative; overflow: hidden; padding-block: clamp(var(--s7), 10vw, var(--s8)); }
.photo-hero-bg { position: absolute; inset: 0; z-index: 0; }
.photo-hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.72) brightness(.62);
}
.photo-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,31,51,.94) 0%, rgba(11,31,51,.82) 42%, rgba(11,31,51,.42) 100%);
}
.photo-hero-inner { position: relative; z-index: 1; color: var(--text-invert); }
.photo-hero-inner h1 { color: var(--text-invert); max-width: 18ch; font-size: clamp(2rem, 3.7vw, 3.4rem); }
.photo-hero-inner .sub { color: rgba(247,245,240,.86); max-width: 62ch; }
.photo-hero .eyebrow { color: var(--accent); }
.photo-hero .eyebrow::before { background: var(--accent); }

.photoband { padding: 0; border-bottom: 0; position: relative; }
.photoband-media { overflow: hidden; }
.photoband-media img {
  width: 100%; height: clamp(280px, 42vw, 520px); object-fit: cover;
  filter: saturate(.72) contrast(1.02);
}
.photoband-cap {
  font-family: var(--font-display); font-size: clamp(1rem, 1.6vw, 1.35rem);
  color: var(--text-1); padding-block: var(--s3); margin: 0;
  border-bottom: 1px solid var(--line); text-align: center; text-wrap: pretty;
}

.split-photo { margin: 0; }
.split-photo img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-lg);
  border: 1px solid var(--line); filter: saturate(.78);
  box-shadow: var(--shadow-2);
}
.split-photo figcaption {
  font-size: var(--fs-micro); color: var(--text-3); margin-top: var(--s2);
  letter-spacing: .02em;
}

/* Cards with imagery */
.card.has-image { padding: 0; overflow: hidden; }
.card-image { width: 100%; aspect-ratio: 16/9; object-fit: cover; filter: saturate(.78); }
.card.has-image .card-body { padding: var(--s4); }

/* Directed Search product card */
.directed-steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--s4); margin-bottom: var(--s4); }
.directed-step { position: relative; padding: var(--s4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.directed-step::after { content: "→"; position: absolute; right: calc(var(--s4) * -1 - 8px); top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 1.4rem; font-weight: 700; }
.directed-step:last-child::after { display: none; }
.directed-step .directed-n {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--navy); color: var(--text-invert); font-family: var(--font-display);
  font-weight: 700; margin-bottom: var(--s3);
}
.directed-step h3 { font-size: 1.08rem; margin-bottom: var(--s2); }
.directed-step p { font-size: .92rem; margin: 0; color: var(--text-2); }

/* Status label definitions */
.statusdefs { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--s3); }
.statusdef { padding: var(--s3); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.statusdef .chip { margin-bottom: var(--s2); }
.statusdef p { font-size: .9rem; margin: 0; color: var(--text-2); }

/* Enquiry form */
.enq-form { max-width: 720px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.field { display: block; margin-bottom: var(--s3); }
.field > span { display: block; font-size: var(--fs-small); font-weight: 650; color: var(--text-1); margin-bottom: var(--s1); }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line-strong);
  border-radius: var(--r-md); background: var(--surface); color: var(--text-1);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.enq-form .btn-row { margin-top: var(--s2); }

/* Record illustrative footnote */
.record-foot { padding: var(--s2) var(--s4); font-size: var(--fs-micro); color: var(--text-3); background: var(--surface-2); border-top: 1px solid var(--line); }
.legal-row dd a { color: var(--accent-ink); border-bottom: 1px solid var(--accent); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--dur-3) var(--ease), transform var(--dur-3) var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .nav-main { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: var(--s2) var(--gutter) var(--s3); flex-direction: column; align-items: stretch; gap: 2px; box-shadow: var(--shadow-2); }
  .nav-main.open { display: flex; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 6px; }
  .lang-picker { margin-left: auto; }
  .nav-drop-menu { position: static; box-shadow: none; border: 0; background: var(--surface-2); min-width: 0; }
  .nav-drop.open .nav-menu { display: block; }
  .cards.cols-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .directed-steps, .statusdefs { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .split.reverse > .split-visual { order: 0; }
  .hero-art { max-width: 460px; }
  .photo-hero-inner h1 { max-width: 100%; }
  .photoband-media img { height: 260px; }
  .cards.cols-3, .cards.cols-2 { grid-template-columns: 1fr; }
  .directed-steps, .statusdefs, .field-grid { grid-template-columns: 1fr; }
  .directed-step::after { display: none; }
  .matrix-row { grid-template-columns: 1fr; }
  .matrix-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .matrix-cell:last-child { border-bottom: 0; }
  .matrix-row .phase { flex-direction: row; align-items: center; gap: var(--s3); }
  .matrix-row .phase .num { margin-bottom: 0; }
  .matrix-row.head { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .boundary-block { grid-template-columns: 1fr; gap: var(--s2); }
  .record-row { grid-template-columns: 1fr; gap: 2px; }
  .lang-panel { width: min(330px, calc(100vw - 40px)); }
}
@media (max-width: 560px) {
  .brand-text { font-size: .9rem; }
  .brand-text small { display: none; }
  .navbar { gap: var(--s2); }
  .cards.cols-4 { grid-template-columns: 1fr; }
  .steps, .steps.cols-3, .steps.cols-4 { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .compare > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .footer-legal-grid { grid-template-columns: 1fr; }
  .lang-grid { grid-template-columns: 1fr; }
  .legal-row { grid-template-columns: 1fr; }
  .legal-row dt { border-bottom: 1px solid var(--line); }
  .faq-item summary { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .lang-panel, .menu-toggle, .closing-band { display: none !important; }
  body { background: #fff; }
  .section { break-inside: avoid; }
}
