/* ============================================================
   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: 11px; flex: 0 0 auto; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand-mark {
  width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; color: var(--navy);
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-text { font-family: var(--font-body); font-weight: 800; font-size: 1.06rem; line-height: 1.1; letter-spacing: -.02em; }
.brand-text small { display: block; font-family: var(--font-body); font-size: var(--fs-micro); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-top: 3px; }

.nav-actions { display: flex; align-items: center; gap: var(--s2); margin-left: auto; }
.nav-main { display: flex; align-items: center; gap: 2px; }
.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: 7px; }
.nav-drop-toggle .caret { width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform var(--dur-1); }
.nav-drop.open .nav-drop-toggle .caret { transform: translateY(1px) rotate(225deg); }
.nav-menu {
  position: absolute; top: calc(100% + 12px); left: 0; min-width: 268px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-2); padding: var(--s2); display: none;
}
.nav-drop.open .nav-menu { display: block; animation: menuIn var(--dur-2) var(--ease); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.nav-menu a { display: block; padding: 8px 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 a.active { color: var(--accent-ink); background: var(--surface-2); font-weight: 650; }
.nav-menu .nav-menu-label { padding: 6px 12px 5px; font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: .12em; color: var(--accent-ink); font-weight: 800; }
.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: 7px;
  min-height: 40px; padding: 6px 12px;
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--r-md);
  font-size: .8rem; font-weight: 700; color: var(--navy); letter-spacing: .02em;
}
.lang-button:hover { border-color: var(--navy); }
.lang-button .globe { width: 17px; height: 17px; flex: 0 0 auto; }
.lang-panel {
  position: absolute; top: calc(100% + 12px); right: 0; z-index: 60;
  width: 380px; max-height: 72vh; overflow: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-2); padding: var(--s3); display: none;
}
.lang-panel.open { display: block; animation: menuIn var(--dur-2) var(--ease); }
.lang-panel-head { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--navy); margin-bottom: var(--s2); }
.lang-group { margin-top: var(--s3); }
.lang-group:first-child { margin-top: 0; }
.lang-group-title { font-size: var(--fs-micro); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); padding: 0 0 var(--s1); border-bottom: 1px solid var(--line); margin-bottom: var(--s1); }
.lang-note-line { padding: var(--s3) var(--s1) 0; line-height: 1.5; border-top: 1px solid var(--line); margin-top: var(--s2); }
.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; width: 42px; padding: 0;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--r-md);
  color: var(--navy);
}
.menu-bars { display: grid; gap: 4px; width: 18px; }
.menu-bars i { display: block; height: 1.8px; background: var(--navy); border-radius: 2px; transition: transform var(--dur-2) var(--ease), opacity var(--dur-1); }
.menu-toggle[aria-expanded="true"] .menu-bars i:nth-child(1) { transform: translateY(5.8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-bars i:nth-child(3) { transform: translateY(-5.8px) rotate(-45deg); }

/* ============================================================
   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; }
.boundary-block.positive li::before { content: "✓"; color: var(--ok); }

/* 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 { color: var(--text-invert); }
.footer-brand p { font-size: var(--fs-small); color: rgba(247,245,240,.72); max-width: 38ch; margin-top: var(--s3); }
.footer-mail { display: inline-block; margin-top: var(--s3); font-weight: 650; color: var(--accent); border-bottom: 1px solid rgba(232,106,51,.5); }
.footer-mail:hover { color: #ff9166; }
.footer-bottom { border-top: 1px solid rgba(247,245,240,.16); padding-block: var(--s4); }
.footer-bottom p { margin: 0 0 var(--s1); font-size: var(--fs-small); color: rgba(247,245,240,.85); }
.footer-bottom .muted { color: rgba(247,245,240,.5); }

/* ============================================================
   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; }

/* ============================================================
   New homepage components
   ============================================================ */

/* Hero copy — tighter, editorial */
.hero-copy .sub { max-width: 60ch; }
.hero-copy .sub + .sub { color: var(--text-3); font-size: 1rem; }

/* Three-layer resource advantage */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.pillar { background: var(--surface); padding: var(--s5) var(--s4); position: relative; }
.pillar-idx { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: var(--s3); }
.pillar h3 { margin-bottom: var(--s3); font-size: 1.2rem; }
.pillar p { font-size: .95rem; color: var(--text-2); margin: 0; }

/* Six services for factories */
.feature-sec .section-head { max-width: 80ch; }
.feat-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.feat-item { background: var(--surface); display: flex; gap: var(--s4); padding: var(--s4); }
.feat-n { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--accent); line-height: 1.1; flex: 0 0 44px; }
.feat-ct h3 { font-size: 1.12rem; margin-bottom: var(--s2); }
.feat-ct p { font-size: .92rem; color: var(--text-2); margin: 0; }
.boundary-callout { display: flex; gap: var(--s3); align-items: flex-start; background: var(--navy); color: var(--text-invert); border-radius: var(--r-lg); padding: var(--s4) var(--s5); margin-top: var(--s5); }
.boundary-callout .bc-mark { color: var(--accent); font-size: 1.2rem; line-height: 1.5; }
.boundary-callout p { margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--text-invert); }

/* Five entry points */
.entry-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s3); }
.entry-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s4); display: flex; flex-direction: column; min-height: 210px; transition: border-color var(--dur-2), box-shadow var(--dur-2), transform var(--dur-2); }
.entry-card:hover { border-color: var(--accent); box-shadow: var(--shadow-2); transform: translateY(-3px); color: var(--navy); }
.entry-primary { grid-column: 1 / -1; background: var(--navy); color: var(--text-invert); border-color: var(--navy); }
.entry-primary:hover { color: var(--text-invert); }
.entry-primary h3 { color: var(--text-invert); font-size: 1.5rem; }
.entry-primary .entry-num, .entry-primary .entry-hook, .entry-primary .entry-fee { color: var(--text-invert); }
.entry-primary .entry-hook { opacity: .85; }
.entry-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s3); }
.entry-num { font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--accent); letter-spacing: .05em; }
.entry-badge { font-size: var(--fs-micro); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); background: var(--accent); padding: 4px 10px; border-radius: var(--r-pill); }
.entry-card h3 { font-size: 1.2rem; margin-bottom: var(--s2); }
.entry-hook { font-size: .95rem; color: var(--text-2); margin: 0 0 var(--s4); }
.entry-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding-top: var(--s3); border-top: 1px solid var(--line); }
.entry-primary .entry-foot { border-top-color: rgba(247,245,240,.2); }
.entry-fee { font-size: var(--fs-small); font-weight: 600; color: var(--accent-ink); }
.entry-arrow { font-size: 1.2rem; color: var(--accent); transition: transform var(--dur-1); }
.entry-card:hover .entry-arrow { transform: translateX(4px); }

/* ============================================================
   Responsive
   ============================================================ */

/* ============================================================
   REBUILT HOMEPAGE — editorial hero, framing, showcase mocks,
   minimal footer, enquiry backend feedback
   ============================================================ */

/* --- Editorial hero ---------------------------------------- */
.hero-editorial { padding: 0; overflow: hidden; background: var(--navy); }
.hero-editorial .hero-media { position: absolute; inset: 0; }
.hero-editorial .hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 38%;
}
.hero-editorial .hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(9,25,42,.94) 0%, rgba(9,25,42,.82) 42%, rgba(9,25,42,.35) 78%, rgba(9,25,42,.28) 100%),
    linear-gradient(0deg, rgba(9,25,42,.55) 0%, rgba(9,25,42,0) 45%);
}
.hero-editorial .hero-inner { position: relative; z-index: 2; padding-block: clamp(var(--s7), 9vw, var(--s8)); }
.eyebrow-light { color: rgba(247,245,240,.82); }
.eyebrow-light::before { background: var(--accent); }
.hero-editorial h1 {
  color: #fff; font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.6rem); line-height: 1.08;
  max-width: 18ch; margin: var(--s3) 0 var(--s4); letter-spacing: -.015em;
}
.hero-sub {
  color: rgba(247,245,240,.9); font-size: clamp(1.02rem, 1.5vw, 1.3rem);
  line-height: 1.55; max-width: 56ch; margin: 0 0 var(--s5);
}
.hero-branches {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2);
  max-width: 1000px;
}
.hero-branch {
  position: relative; display: block; color: var(--text-invert);
  text-decoration: none; padding: var(--s4) var(--s4) var(--s4) var(--s4);
  background: rgba(247,245,240,.07); border: 1px solid rgba(247,245,240,.2);
  border-radius: var(--r-md); backdrop-filter: blur(6px);
  transition: transform var(--dur-2) var(--ease), background var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}
.hero-branch:hover { transform: translateY(-4px); background: rgba(247,245,240,.13); border-color: var(--accent); }
.hb-title { display: block; font-weight: 700; font-size: 1.02rem; padding-right: 22px; }
.hb-desc { display: block; font-size: var(--fs-small); color: rgba(247,245,240,.75); line-height: 1.5; margin-top: var(--s1); }
.hb-arrow { position: absolute; top: var(--s4); right: var(--s4); color: var(--accent); font-size: 1.15rem; transition: transform var(--dur-2) var(--ease); }
.hero-branch:hover .hb-arrow { transform: translateX(4px); }
.hero-statbar {
  display: flex; gap: clamp(var(--s4), 6vw, var(--s7)); flex-wrap: wrap;
  margin-top: var(--s5); padding-top: var(--s4);
  border-top: 1px solid rgba(247,245,240,.2); max-width: 1000px;
}
.hero-stat { display: flex; flex-direction: column; }
.hs-num { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 3rem); color: var(--accent); line-height: 1; font-weight: 700; }
.hs-label { font-size: var(--fs-small); color: rgba(247,245,240,.8); margin-top: 6px; letter-spacing: .04em; text-transform: uppercase; }
.hero-fine { font-size: var(--fs-small); color: rgba(247,245,240,.6); margin: var(--s4) 0 0; }

/* --- Framing ------------------------------------------------ */
.frame-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s4); align-items: stretch; margin-top: var(--s2); }
.frame-side { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s5); box-shadow: var(--shadow-1); }
.frame-supply { border-top: 3px solid var(--accent); }
.frame-demand { border-top: 3px solid var(--navy); }
.frame-tag { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: .14em; color: var(--text-3); font-weight: 700; }
.frame-side h3 { font-size: var(--fs-h3); margin: var(--s2) 0 var(--s3); }
.frame-side p { margin: 0; color: var(--text-2); line-height: var(--lh-body); }
.frame-join { align-self: center; font-size: 1.8rem; color: var(--accent); padding: var(--s2); }
.frame-line { margin-top: var(--s5); padding: var(--s4) var(--s5); background: var(--navy); border-radius: var(--r-md); }
.frame-line p { margin: 0; color: var(--text-invert); font-family: var(--font-display); font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.45; max-width: 70ch; }

/* --- Showcase ---------------------------------------------- */
.showcase-sec { border-top: 1px solid var(--line); }
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--s5), 6vw, var(--s7)); align-items: center; }
.showcase-grid.reverse .showcase-copy { order: 2; }
.showcase-grid.reverse .showcase-visual { order: 1; }
.showcase-lede { font-family: var(--font-display); font-size: 1.25rem; color: var(--navy); line-height: 1.4; margin: 0 0 var(--s4); }
.showcase-copy .section-head { margin-bottom: var(--s3); }
.showcase-copy .section-head h2 { margin-top: var(--s2); }
.showcase-points { list-style: none; padding: 0; margin: var(--s4) 0; display: grid; gap: var(--s3); }
.showcase-point { display: flex; gap: var(--s3); align-items: flex-start; }
.sp-num { flex: 0 0 auto; font-size: .8rem; font-weight: 700; color: var(--accent); font-family: var(--font-display); padding-top: 3px; letter-spacing: .06em; }
.showcase-point h4 { font-size: 1.02rem; margin: 0 0 4px; color: var(--text-1); }
.showcase-point p { margin: 0; font-size: .95rem; color: var(--text-2); line-height: 1.6; }
.showcase-visual { min-width: 0; }
.showcase-photo { margin: 0; }
.showcase-photo img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-2); display: block; }

/* mock shells */
.mock { background: #fff; border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: var(--shadow-2); overflow: hidden; font-family: var(--font-body); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F3F1EC; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #CFC8BA; }
.mock-bar i:first-child { background: #E86A33; }
.mock-bar span { margin-left: auto; font-size: 10px; color: var(--text-3); background: #fff; padding: 3px 10px; border-radius: var(--r-pill); border: 1px solid var(--line); }
.mock-body { display: grid; grid-template-columns: 68px 1fr; min-height: 200px; }
.mock-side { background: #F7F5F0; border-right: 1px solid var(--line); padding: 14px 8px; display: flex; flex-direction: column; gap: 8px; }
.mock-lang { font-size: 10px; color: var(--text-3); padding: 4px; border-radius: 4px; text-align: center; }
.mock-lang.on { background: var(--navy); color: #fff; }
.mock-main { padding: 20px; }
.mock-hero-line { height: 12px; width: 70%; border-radius: 3px; background: var(--navy); margin-bottom: 8px; }
.mock-hero-line.short { width: 45%; background: #C9CDD3; }
.mock-products { display: flex; gap: 8px; margin-top: 18px; }
.mock-products i { flex: 1; height: 52px; border-radius: 5px; background: linear-gradient(135deg, #EDEAE3, #DDD8CE); border: 1px solid var(--line); }
.mock-enquire { display: inline-block; margin-top: 16px; font-size: 11px; font-weight: 700; color: #fff; background: var(--accent); padding: 7px 14px; border-radius: var(--r-sm); }
.mock-badges { display: flex; gap: 8px; padding: 12px 20px; border-top: 1px solid var(--line); background: #FBF9F5; }
.mock-badges span { font-size: 10px; color: var(--text-2); border: 1px solid var(--line-strong); padding: 3px 9px; border-radius: var(--r-pill); }
.mock-mail-head { display: flex; justify-content: space-between; padding: 14px 18px; font-weight: 700; font-size: 14px; color: var(--navy); border-bottom: 1px solid var(--line); }
.mock-mail-head span { font-size: 11px; color: var(--text-3); font-weight: 500; }
.mail-segments { display: flex; gap: 6px; flex-wrap: wrap; padding: 14px 18px; background: #F7F5F0; }
.seg { font-size: 10px; padding: 5px 10px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); color: var(--text-2); background: #fff; }
.seg.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.mail-compose { padding: 16px 18px; }
.mc-row { font-size: 11px; color: var(--text-2); margin-bottom: 8px; }
.mc-row b { color: var(--text-3); font-weight: 600; }
.mc-paper { background: #FBF9F5; border: 1px solid var(--line); border-radius: 5px; padding: 14px; display: grid; gap: 7px; margin-top: 10px; }
.mc-paper i { height: 6px; width: 90%; border-radius: 3px; background: #D8D3C9; }
.mc-paper i.short { width: 55%; }
.mc-foot { font-size: 10px; color: var(--accent); margin-top: 10px; font-style: italic; }
.mail-sent { padding: 10px 18px; border-top: 1px solid var(--line); font-size: 11px; color: var(--ok); }
.dot-ok { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 4px; }
.mock-plan { padding: 26px; position: relative; background: linear-gradient(160deg, #fff, #F7F5F0); }
.plan-tag { display: inline-block; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); font-weight: 700; border: 1px solid var(--accent); padding: 3px 9px; border-radius: var(--r-pill); }
.plan-title { font-family: var(--font-display); font-size: 1.4rem; margin: var(--s3) 0 var(--s2); color: var(--navy); }
.plan-lines { display: grid; gap: 6px; margin-bottom: var(--s3); }
.plan-lines i { height: 6px; width: 88%; background: #DFDBD2; border-radius: 3px; }
.plan-lines i.short { width: 50%; }
.plan-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2); }
.plan-list li { font-size: .9rem; color: var(--text-2); padding-left: 20px; position: relative; }
.plan-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.plan-out { margin-top: var(--s4); padding-top: var(--s3); border-top: 2px solid var(--navy); font-size: .9rem; font-weight: 700; color: var(--navy); }

/* --- Enquiry form backend feedback ------------------------- */
.backend-note { display: flex; align-items: flex-start; gap: 9px; font-size: var(--fs-small); color: var(--text-2); background: var(--surface-2); padding: var(--s3); border-radius: var(--r-sm); margin: var(--s2) 0 var(--s3); }
.bn-dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-top: 5px; box-shadow: 0 0 0 4px rgba(31,122,107,.12); }
.commission-note { font-size: var(--fs-small); color: var(--text-3); }
.form-sent { display: flex; gap: var(--s3); align-items: flex-start; margin-top: var(--s4); padding: var(--s4); background: #E6F1EE; border: 1px solid #B8D8CF; border-radius: var(--r-md); }
.form-sent[hidden] { display: none; }
.fs-check { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-weight: 700; }
.form-sent p { margin: 0; font-size: var(--fs-small); color: #14594E; line-height: 1.6; }

/* --- Minimal footer ---------------------------------------- */
.footer-min { padding-block: var(--s6) var(--s4); }
.footer-min-top { display: flex; flex-wrap: wrap; gap: var(--s4) var(--s6); align-items: center; justify-content: space-between; padding-bottom: var(--s5); border-bottom: 1px solid rgba(247,245,240,.16); }
.footer-min-brand { display: inline-flex; gap: var(--s2); align-items: center; color: var(--text-invert); text-decoration: none; }
.footer-min-brand .brand-mark { color: var(--text-invert); width: 40px; height: 40px; }
.footer-min-brand .brand-mark svg { width: 100%; height: 100%; }
.footer-min-brand .brand-text { color: #fff; }
.footer-slogan { font-family: var(--font-display); font-size: 1.15rem; color: rgba(247,245,240,.9); margin: 0; max-width: 34ch; }
.footer-min-bottom { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); align-items: center; justify-content: space-between; padding-top: var(--s4); }
.footer-min-bottom .footer-mail { margin: 0; }
.footer-min-links { display: flex; gap: var(--s4); }
.footer-min-links a { color: rgba(247,245,240,.72); font-size: var(--fs-small); text-decoration: none; }
.footer-min-links a:hover { color: #fff; }
.footer-legal-line { margin: var(--s4) 0 0; font-size: var(--fs-micro); color: rgba(247,245,240,.5); }



/* ============================================================
   Round 4 — compact wordmark, refined hero, global image gallery
   ============================================================ */
/* Compact "T Global" wordmark: shorter mark + tighter text so the right-hand
   language picker and menu always have room. */
.brand { gap: 9px; }
.brand-mark { width: 36px; height: 36px; }
.brand-text { font-size: 1.02rem; letter-spacing: -.025em; }
.brand-text small { font-size: .62rem; letter-spacing: .09em; }

/* Hero: brand-positioning line + two-tier subtitle. */
.hero-positioning {
  color: rgba(247,245,240,.72); font-size: clamp(.92rem, 1.25vw, 1.06rem);
  letter-spacing: .06em; margin: var(--s2) 0 0; font-weight: 500;
}
.hero-editorial h1 { margin-top: var(--s2); }
.hero-sub-2 { margin-top: calc(var(--s3) * -1); margin-bottom: var(--s5); color: #fff; font-weight: 500; }

/* Gallery: editorial six-tile grid with hover zoom. */
.gallery-sec .section-head { max-width: 60ch; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s3); margin-top: var(--s5);
}
.gallery-tile { margin: 0; }
.gallery-img {
  overflow: hidden; border-radius: var(--r-md); background: var(--surface-2);
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-1);
}
.gallery-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform var(--dur-3) var(--ease);
}
.gallery-tile:hover .gallery-img img { transform: scale(1.05); }
.gallery-tile figcaption {
  font-size: var(--fs-small); font-weight: 700; color: var(--accent-ink);
  letter-spacing: .05em; text-transform: uppercase; margin-top: var(--s2);
}

@media (max-width: 820px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s2); }
}
@media (max-width: 600px) {
  .brand { gap: 7px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-text { font-size: .92rem; }
  .brand-text small { font-size: .58rem; letter-spacing: .04em; }
  .hero-positioning { font-size: .84rem; }
  .hero-sub-2 { margin-top: calc(var(--s2) * -1); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-img { aspect-ratio: 1 / 1; border-radius: var(--r-sm); }
  .gallery-tile figcaption { font-size: .66rem; letter-spacing: .03em; }
}

@media (max-width: 1120px) {
  .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(--s4); flex-direction: column; align-items: stretch; gap: 2px; box-shadow: var(--shadow-2); max-height: calc(100vh - 76px); overflow-y: auto; }
  .nav-main.open { display: flex; }
  .nav-main > .nav-link { padding: 11px 12px; font-size: 1rem; border-radius: var(--r-sm); }
  .menu-toggle { display: inline-flex; }
  .nav-drop-toggle { width: 100%; justify-content: space-between; font-size: 1rem; padding: 11px 12px; }
  .nav-menu { position: static; min-width: 0; width: 100%; box-shadow: none; border: 1px solid var(--line); margin: 4px 0 var(--s2); background: var(--surface); }
  .pillars { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .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; }
  .pillars { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .lang-panel { width: min(380px, calc(100vw - 32px)); }
}
@media (max-width: 600px) {
  .navbar { gap: var(--s2); min-height: 64px; }
  .brand { gap: 8px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-text { font-size: .92rem; }
  .brand-text small { display: block; font-size: .6rem; letter-spacing: .04em; margin-top: 2px; }
  .nav-actions { gap: 6px; margin-left: auto; }
  .lang-button { padding: 6px 9px; min-height: 38px; }
  .lang-button .globe { width: 15px; height: 15px; }
  .menu-toggle { width: 38px; min-height: 38px; }
  .lang-panel { top: calc(100% + 8px); right: -46px; width: calc(100vw - 24px); max-height: 70vh; padding: var(--s2); }
  .lang-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-block: var(--s5); }
  .hero h1 { font-size: clamp(2.3rem, 11vw, 3rem); }
  .hero .sub { font-size: 1rem; }
  .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; }
  .legal-row { grid-template-columns: 1fr; }
  .legal-row dt { border-bottom: 1px solid var(--line); }
  .faq-item summary { font-size: 1rem; }
  .entry-grid { grid-template-columns: 1fr; }
  .entry-primary { grid-column: auto; }
  .entry-card { min-height: 0; }
  .feat-item { padding: var(--s3); gap: var(--s3); }
  .feat-n { flex-basis: 32px; font-size: 1.2rem; }
  .pillar { padding: var(--s4) var(--s3); }
  .boundary-callout { padding: var(--s4) var(--s3); }
}


/* --- Intelligent upgrade (service desk mock + capability grid) ----- */
.intel-sec { background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%); }
.intel-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(var(--s5), 5vw, var(--s7)); align-items: start; margin-top: var(--s5); }
.intel-copy .intel-lede { font-family: var(--font-display); font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.45; color: var(--navy); padding-left: var(--s3); border-left: 3px solid var(--accent); margin-bottom: var(--s5); }
.intel-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.intel-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s4) var(--s4) var(--s4) calc(var(--s4) + 14px); position: relative; box-shadow: var(--shadow-1); }
.ic-num { position: absolute; left: 14px; top: var(--s4); font-family: var(--font-display); font-size: .9rem; color: var(--accent); font-weight: 700; }
.intel-card h4 { margin: 0 0 var(--s2); font-size: 1.05rem; color: var(--navy); }
.intel-card p { margin: 0; font-size: var(--fs-small); color: var(--text-2); line-height: 1.62; }

/* chat / service-desk mock */
.mock-chat { background: var(--navy); border-radius: var(--r-lg); padding: var(--s4); box-shadow: var(--shadow-2); color: var(--text-invert); }
.chat-head { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: .98rem; padding-bottom: var(--s3); border-bottom: 1px solid rgba(247,245,240,.14); }
.chat-dot { width: 9px; height: 9px; border-radius: 50%; background: #4ADE9B; box-shadow: 0 0 0 4px rgba(74,222,155,.18); }
.chat-live { margin-left: auto; font-size: var(--fs-micro); font-weight: 600; letter-spacing: .06em; color: var(--accent); text-transform: uppercase; }
.chat-langs { display: flex; gap: 6px; flex-wrap: wrap; margin: var(--s3) 0; }
.chat-langs span { font-size: .72rem; padding: 4px 8px; border-radius: var(--r-pill); background: rgba(247,245,240,.08); color: rgba(247,245,240,.6); }
.chat-langs span.on { background: var(--accent); color: #fff; }
.chat-thread { display: flex; flex-direction: column; gap: var(--s2); }
.chat-bubble { max-width: 88%; padding: 11px 14px; border-radius: var(--r-md); font-size: .9rem; line-height: 1.5; }
.chat-bubble.in { align-self: flex-start; background: rgba(247,245,240,.12); border-bottom-left-radius: 2px; }
.chat-bubble.out { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 2px; }
.chat-tag { display: block; font-size: var(--fs-micro); opacity: .72; margin-bottom: 4px; letter-spacing: .03em; }
.chat-foot { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid rgba(247,245,240,.14); font-size: var(--fs-small); color: rgba(247,245,240,.8); }
.chat-bolt { color: var(--accent); margin-right: 4px; }

/* rebuilt homepage responsive */
@media (max-width: 900px) {
  .hero-branches { grid-template-columns: 1fr; }
  .hero-editorial h1 { max-width: none; }
  .frame-grid { grid-template-columns: 1fr; }
  .frame-join { justify-self: center; transform: rotate(90deg); }
  .showcase-grid, .showcase-grid.reverse { grid-template-columns: 1fr; }
  .showcase-grid.reverse .showcase-copy,
  .showcase-grid.reverse .showcase-visual { order: initial; }
  .showcase-visual { margin-top: var(--s2); }
}
@media (max-width: 600px) {
  /* tighter, more compact mobile layout */
  :root { --s5: 36px; --s6: 44px; --s7: 60px; }
  .section { padding-block: var(--s5); }
  .hero-editorial .hero-inner { padding-block: var(--s5); }
  .hero-editorial h1 { font-size: clamp(2rem, 9.5vw, 2.7rem); line-height: 1.12; margin: var(--s2) 0 var(--s3); }
  .hero-sub { font-size: .96rem; line-height: 1.5; margin-bottom: var(--s4); }
  .hero-media img { object-position: center 24% !important; }
  .hero-branches { gap: var(--s2); }
  .hero-branch { padding: var(--s3); }
  .hb-title { font-size: .98rem; }
  .hb-desc { margin-top: 4px; }
  .hb-arrow { top: var(--s3); right: var(--s3); }
  .hero-fine { margin-top: var(--s3); }
  .frame-side { padding: var(--s4); }
  .frame-line { padding: var(--s4); }
  .section-head { margin-bottom: var(--s4); }
  .intel-grid { grid-template-columns: 1fr; gap: var(--s4); margin-top: var(--s4); }
  .intel-copy .intel-lede { font-size: 1.05rem; margin-bottom: var(--s4); }
  .intel-cards { grid-template-columns: 1fr; gap: var(--s2); }
  .intel-card { padding: var(--s3) var(--s3) var(--s3) calc(var(--s3) + 14px); }
  .ic-num { top: var(--s3); }
  .footer-min-top { flex-direction: column; align-items: flex-start; }
}

@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; }
}

/* CN site: constrain the longer China-factory subtitle on small screens */
@media (max-width: 600px) {
  .brand { flex: 0 1 auto !important; min-width: 0 !important; max-width: calc(100vw - 130px) !important; }
  .brand-text { min-width: 0; overflow: hidden; white-space: nowrap; }
  .brand-text small {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .nav-actions { flex-shrink: 0; }
}
