/* ==========================================================================
   SAIMAL Communications — website styles
   Palette is taken from the logo: SAIMAL orange + logo grey + charcoal,
   laid out as "sheets" on a light concrete canvas.
   ========================================================================== */

:root {
  /* colour */
  --canvas: #e6e6e3;
  --paper: #fbfbf9;
  --paper-2: #f1f1ee;
  --paper-3: #e9e9e5;
  --ink: #1f1f1f;
  --charcoal: #262626;
  --charcoal-2: #313131;
  --orange: #d06c18;
  --orange-hi: #e47c22;
  --orange-deep: #a4500c;
  --grey: #848484;
  --grey-ui: #626262;
  --grey-soft: #b9b9b6;
  --line: #d8d8d3;
  --line-dark: #3d3d3d;

  /* type */
  --f-sans: "Host Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-mono: "Fragment Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --f-num: "Host Grotesk", "Helvetica Neue", Arial, sans-serif;

  /* layout */
  --gutter: clamp(8px, 1.1vw, 16px);
  --pad: clamp(20px, 3.4vw, 52px);
  --radius: clamp(16px, 1.8vw, 26px);
  --radius-sm: clamp(10px, 1vw, 16px);
  --maxw: 1680px;
  --nav-h: 64px;

  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--charcoal); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type primitives ---------- */
.display {
  font-size: clamp(2.7rem, 6.1vw, 8.4rem);
  line-height: .92;
  letter-spacing: -.055em;
  font-weight: 500;
}
.display span { display: block; }
.h2 {
  font-size: clamp(2.2rem, 4.6vw, 5.6rem);
  line-height: .95;
  letter-spacing: -.05em;
  font-weight: 500;
}
.h3 {
  font-size: clamp(1.45rem, 2.1vw, 2.2rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 500;
}
.h4 {
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 600;
}
.t-ink { color: var(--ink); }
.t-orange { color: var(--orange); }
.t-grey { color: var(--grey); }
.sheet--dark .t-ink { color: #fff; }
.sheet--dark .t-orange { color: var(--orange-hi); }
.sheet--dark .t-grey { color: #8f8f8c; }

.lead {
  font-size: clamp(1.08rem, 1.25vw, 1.3rem);
  line-height: 1.45;
  letter-spacing: -.012em;
  color: #333;
  max-width: 38em;
}
.small { font-size: .9rem; line-height: 1.5; color: var(--grey-ui); }
.caps {
  text-transform: uppercase;
  font-size: .72rem;
  line-height: 1.25;
  letter-spacing: .01em;
  font-weight: 500;
}
.mono { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .01em; }
.idx { font-family: var(--f-mono); color: var(--orange); font-size: .8rem; white-space: nowrap; }
.sheet--dark .idx { color: var(--orange-hi); }

/* ---------- navigation ---------- */
.nav {
  position: fixed; inset: var(--gutter) var(--gutter) auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: var(--nav-h);
  padding: 0 10px 0 22px;
  background: rgba(251, 251, 249, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 999px;
  transition: transform .5s var(--ease), background .3s;
  max-width: calc(var(--maxw) - 2 * var(--gutter));
  margin: 0 auto;
}

.nav__logo { display: block; width: 150px; flex: none; }
.nav__logo img { width: 100%; }
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  padding: 9px 14px; border-radius: 999px; font-size: .95rem; font-weight: 500; letter-spacing: -.01em;
  color: #3a3a3a; transition: background .2s, color .2s;
}
.nav__links a:hover { background: var(--paper-3); color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--orange-deep); }
.nav__right { display: flex; align-items: center; gap: 8px; }
.nav__menu { display: none; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px 13px 22px;
  border-radius: 999px; border: 0;
  font-weight: 500; font-size: .98rem; letter-spacing: -.01em;
  background: var(--charcoal); color: #fff;
  transition: background .25s, transform .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--orange); }
.arr { width: 16px; height: 16px; flex: none; }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn--orange { background: var(--orange); }
.btn--orange:hover { background: var(--charcoal); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px #c9c9c4; }
.btn--ghost:hover { background: var(--ink); color: #fff; box-shadow: none; }
.sheet--dark .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1px #555; }
.sheet--dark .btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--sm { padding: 10px 16px 10px 18px; font-size: .92rem; }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; color: var(--ink);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
  transition: color .2s;
}
.link:hover { color: var(--orange); }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--charcoal); color: #fff;
  padding: calc(var(--gutter) + 18px) calc(var(--gutter) + 22px) 28px;
  display: flex; flex-direction: column;
  transform: translateY(-102%);
  transition: transform .6s var(--ease);
  visibility: hidden;
}
.menu.is-open { transform: none; visibility: visible; }
.menu__top { display: flex; justify-content: space-between; align-items: center; }
.menu__top img { width: 150px; }
.menu__close { background: none; border: 1px solid #555; border-radius: 999px; padding: 10px 16px; color: #fff; }
.menu nav { margin-top: 8vh; display: grid; gap: 4px; }
.menu nav a { font-size: clamp(2.4rem, 11vw, 4rem); letter-spacing: -.05em; line-height: 1.05; font-weight: 500; }
.menu nav a:nth-child(2n) { color: var(--orange-hi); }
.menu__foot { margin-top: auto; display: grid; gap: 6px; color: #bdbdbd; }
.menu__foot a { color: #fff; }

/* ---------- sheets (the core layout device) ---------- */
main { display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; }
.sheet {
  position: relative;
  margin: var(--gutter);
  padding: var(--pad);
  background: var(--paper);
  border-radius: var(--radius);
  overflow: clip;
}
.wrap > .sheet { margin-left: var(--gutter); margin-right: var(--gutter); }
.sheet--alt { background: var(--paper-2); }
.sheet--dark { background: var(--charcoal); color: #e9e9e6; }
.sheet--dark .lead { color: #d2d2cf; }
.sheet--dark .small { color: #a3a3a0; }
.sheet--orange { background: var(--orange); color: #fff; }
.sheet--flush { padding: 0; }
.sheet--tight { padding-top: calc(var(--pad) * .7); padding-bottom: calc(var(--pad) * .7); }

.meta {
  display: grid;
  grid-template-columns: minmax(80px, 1fr) minmax(140px, 2fr) minmax(200px, 3fr) auto;
  gap: 16px; align-items: start;
  padding-bottom: clamp(28px, 4.2vw, 64px);
}
.meta__label { font-weight: 600; font-size: .82rem; letter-spacing: -.005em; text-transform: uppercase; }
.meta__note { font-size: .64rem; line-height: 1.25; text-transform: uppercase; color: var(--grey-ui); max-width: 34ch; letter-spacing: .01em; }
.sheet--dark .meta__note { color: #9a9a97; }
.meta__end { text-align: right; }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); }

/* ---------- media ---------- */
.ph {
  position: relative; overflow: hidden; border-radius: var(--radius-sm);
  background: var(--paper-3);
}
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ph:hover img { transform: scale(1.025); }
.ph__tag {
  position: absolute; left: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .9); color: var(--ink);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .01em;
}
.ph__tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); display: block; }
.figcap { margin-top: 10px; font-family: var(--f-mono); font-size: .68rem; color: var(--grey-ui); display: flex; justify-content: space-between; gap: 12px; }

/* ---------- hero ---------- */
.hero { padding-top: calc(var(--nav-h) + var(--gutter) + clamp(18px, 2vw, 34px)); }
.hero .meta { padding-bottom: clamp(26px, 3.6vw, 56px); }
.hero__title { font-size: clamp(2.6rem, 5.75vw, 8.4rem); }
.hero__title .reveal-line { white-space: nowrap; }
.hero__intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); margin-top: clamp(26px, 3.2vw, 50px); align-items: start; }
.hero__note { grid-column: 1 / span 5; display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: start; }
.hero__note p { margin: 0; text-transform: uppercase; font-size: .7rem; line-height: 1.3; color: var(--grey-ui); max-width: 40ch; padding-top: 4px; }
.hero__lede { grid-column: 7 / span 6; }
.hero__lede p { font-size: clamp(1.05rem, 1.25vw, 1.25rem); line-height: 1.45; letter-spacing: -.012em; color: #2f2f2f; margin: 0; max-width: 40ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__band { margin-top: clamp(26px, 3.2vw, 50px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.hero__wide { grid-column: 1 / span 8; aspect-ratio: 16 / 10; }
.hero__wide img { object-position: 50% 55%; }
.hero__tall { grid-column: 9 / span 4; }
.hero__tall img { object-position: 40% 40%; }
.hero__chips { position: absolute; right: 14px; top: 14px; display: grid; gap: 8px; justify-items: end; }
.chip {
  display: inline-flex; align-items: baseline; gap: 10px;
  background: rgba(31, 31, 31, .78); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 10px 14px; border-radius: 12px;
}
.chip b { font-family: var(--f-num); font-weight: 600; font-size: 2rem; line-height: .9; color: var(--orange-hi); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.chip span { font-size: .74rem; line-height: 1.25; max-width: 20ch; color: #ecece9; }
.plus { color: var(--orange); font-size: 2.2rem; line-height: .6; font-weight: 300; }

/* hero entrance */
.reveal-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.reveal-line > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-loaded .reveal-line > span { transform: none; }
.is-loaded .reveal-line:nth-child(2) > span { transition-delay: .09s; }
.is-loaded .reveal-line:nth-child(3) > span { transition-delay: .18s; }
.is-loaded .reveal-line:nth-child(4) > span { transition-delay: .27s; }

/* scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }

/* ---------- impact numbers (dark sheet) ---------- */
.impact__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; margin-bottom: clamp(36px, 5vw, 80px); }
.impact__head .h2 { grid-column: 1 / span 8; }
.impact__head p { grid-column: 9 / span 4; margin: 0; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.stat { padding: clamp(22px, 2.4vw, 36px) clamp(18px, 2.4vw, 40px) clamp(22px, 2.4vw, 36px) 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.stat:nth-child(2n) { padding-left: clamp(18px, 2.4vw, 40px); border-left: 1px solid var(--line-dark); }
.stat:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
.stat__num {
  font-family: var(--f-num); font-weight: 600;
  font-size: clamp(2.6rem, 6.3vw, 8rem); line-height: .9; letter-spacing: -.05em;
  color: var(--orange-hi);
  font-variant-numeric: tabular-nums;
}
.stat__label { margin-top: 18px; font-size: 1.02rem; color: #e9e9e6; letter-spacing: -.01em; max-width: 34ch; line-height: 1.35; }
.stat__src { margin-top: 10px; font-family: var(--f-mono); font-size: .64rem; color: #8b8b88; }
.impact__foot { margin-top: clamp(28px, 3vw, 44px); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.impact__foot .small { max-width: 70ch; margin: 0; }

/* ---------- about / intro split ---------- */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); }
.split__a { grid-column: 1 / span 6; }
.split__b { grid-column: 8 / span 5; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(30px, 4vw, 60px); border-top: 1px solid var(--line); }
.fact { padding: 18px 18px 0 0; }
.fact + .fact { padding-left: 18px; border-left: 1px solid var(--line); }
.fact h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -.015em; margin-bottom: 6px; }
.fact p { font-size: .92rem; color: var(--grey-ui); margin: 0; line-height: 1.45; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); margin-top: clamp(30px, 4vw, 56px); }
.trio .ph { aspect-ratio: 4 / 4.6; }

/* ---------- pillar index ---------- */
.pillars { border-top: 1px solid var(--line); }
.pillar {
  position: relative;
  display: grid; grid-template-columns: 90px minmax(0, 5fr) minmax(0, 4fr) 48px;
  gap: 20px; align-items: center;
  padding: clamp(16px, 1.7vw, 26px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding .4s var(--ease);
}
.pillar__n { font-family: var(--f-mono); color: var(--orange); font-size: .9rem; }
.pillar__t { font-size: clamp(1.35rem, 2.3vw, 2.5rem); letter-spacing: -.04em; line-height: 1; font-weight: 500; transition: color .3s; }
.pillar__d { font-size: .95rem; color: var(--grey-ui); line-height: 1.45; margin: 0; }
.pillar__go {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px #cfcfca; transition: background .3s, box-shadow .3s, transform .4s var(--ease);
}
.pillar__go svg { width: 16px; height: 16px; }
.pillar:hover .pillar__t { color: var(--orange); }
.pillar:hover .pillar__go { background: var(--orange); box-shadow: none; color: #fff; transform: rotate(-45deg); }
.pillar__thumb { display: none; }
.peek {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  width: 260px; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden;
  opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .3s, transform .4s var(--ease);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
}
.peek.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.peek img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- map ---------- */
.mapblock { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); align-items: start; }
.mapblock__text { grid-column: 1 / span 5; position: sticky; top: 110px; }
.mapblock__map { grid-column: 6 / span 7; }
.tzmap { position: relative; }
.tzmap__svg { width: 100%; height: auto; overflow: visible; }
.tzmap__svg circle { transition: fill .5s var(--ease), opacity .4s; }
.tzmap__svg .n circle { fill: #d3d3ce; }
.tzmap__svg .w circle { fill: var(--orange); }
.tzmap.is-armed .w circle { fill: #d3d3ce; }
.tzmap.is-armed.is-lit .w circle { fill: var(--orange); transition-delay: var(--d, 0s); }
.tzmap.has-focus g circle { opacity: .28; }
.tzmap.has-focus g.is-focus circle { opacity: 1; fill: var(--orange); }
.tzmap__svg .lake { font-family: var(--f-mono); font-size: 13px; fill: #9e9e99; letter-spacing: .08em; }
.tzmap__svg .hq__dot { fill: var(--charcoal); stroke: var(--paper); stroke-width: 3; }
.tzmap__svg .hq__pulse { fill: none; stroke: var(--charcoal); stroke-width: 1.5; transform-origin: center; transform-box: fill-box; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(3.4); opacity: 0; } }
.tzmap__hq {
  position: absolute; transform: translate(calc(-100% - 16px), -50%);
  font-family: var(--f-mono); font-size: .66rem; line-height: 1.3; color: var(--ink);
  background: var(--paper); padding: 6px 9px; border-radius: 8px; box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
  white-space: nowrap; pointer-events: none;
}
.tzmap__hq b { display: block; font-family: var(--f-sans); font-weight: 600; font-size: .8rem; letter-spacing: -.01em; }
.tzmap__tip {
  position: absolute; z-index: 3; pointer-events: none;
  padding: 7px 10px; border-radius: 9px; background: var(--charcoal); color: #fff;
  font-size: .8rem; font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
  transform: translate(-50%, calc(-100% - 12px)); opacity: 0; transition: opacity .2s;
}
.tzmap__tip.is-on { opacity: 1; }
.tzmap__legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; font-family: var(--f-mono); font-size: .68rem; color: var(--grey-ui); }
.tzmap__legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; vertical-align: -1px; }

.camps { margin-top: 28px; border-top: 1px solid var(--line); }
.camp {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline;
  width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line);
  padding: 14px 4px; transition: background .2s, padding .3s var(--ease);
}
.camp:hover, .camp.is-active, .camp:focus-visible { background: var(--paper-2); padding-left: 12px; padding-right: 12px; }
.camp__name { font-weight: 600; letter-spacing: -.015em; font-size: 1rem; }
.camp__num { font-family: var(--f-num); font-weight: 600; color: var(--orange); font-size: 1.6rem; line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.camp__meta { grid-column: 1 / -1; font-family: var(--f-mono); font-size: .66rem; color: var(--grey-ui); }

/* ---------- process (true sequence) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.step { background: var(--paper); border-radius: var(--radius-sm); padding: clamp(20px, 2.2vw, 32px); display: flex; flex-direction: column; }
.sheet--alt .step { background: var(--paper); }
.sheet--dark .step { background: var(--charcoal-2); }
.step__n { font-family: var(--f-num); font-weight: 600; font-size: 3.4rem; line-height: .85; color: var(--orange); letter-spacing: -.05em; }
.step h3 { margin-top: clamp(36px, 4vw, 64px); }
.step p { margin: 12px 0 0; color: var(--grey-ui); font-size: .95rem; }
.sheet--dark .step p { color: #b5b5b2; }
.step ul { margin-top: 14px; display: grid; gap: 6px; }
.step li { font-size: .9rem; padding-left: 16px; position: relative; color: #3d3d3d; }
.sheet--dark .step li { color: #cfcfcc; }
.step li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--orange); transform: rotate(45deg); }

/* ---------- cases ---------- */
.cases { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.case { grid-column: span 4; display: flex; flex-direction: column; background: var(--paper-2); border-radius: var(--radius-sm); overflow: hidden; transition: background .3s; }
.case--wide { grid-column: span 8; }
.case:hover { background: var(--paper-3); }
.case .ph { border-radius: 0; aspect-ratio: 16 / 10; }
.case--wide .ph { aspect-ratio: 16 / 7.6; }
.case__body { padding: 20px 22px 22px; display: grid; gap: 10px; flex: 1; align-content: start; }
.case__client { font-family: var(--f-mono); font-size: .68rem; color: var(--orange-deep); }
.case__title { font-size: clamp(1.2rem, 1.5vw, 1.55rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 500; }
.case__text { font-size: .92rem; color: var(--grey-ui); margin: 0; }
.case__num { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.case__num b { font-family: var(--f-num); font-weight: 600; font-size: 2.4rem; line-height: .9; color: var(--orange); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.case__num span { font-size: .8rem; color: var(--grey-ui); line-height: 1.25; }

/* ---------- logos ---------- */
.logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-cell { height: clamp(96px, 8.6vw, 140px); display: grid; place-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0 14%; background: var(--paper); min-width: 0; }
.logo-cell img { max-height: 48%; width: auto; max-width: 100%; object-fit: contain; }

.logo-cell--text { font-weight: 600; letter-spacing: -.02em; color: var(--ink); text-align: center; line-height: 1.15; font-size: .98rem; }
.also { margin-top: 18px; font-size: .92rem; color: var(--grey-ui); }
.also b { color: var(--ink); font-weight: 600; }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.person .ph { aspect-ratio: 6 / 7; background: #e3ddd6; }
.person .ph img { filter: saturate(1.05); }
.person h3 { margin-top: 12px; font-size: 1.02rem; font-weight: 600; letter-spacing: -.015em; }
.person p { margin: 2px 0 0; font-size: .86rem; color: var(--grey-ui); line-height: 1.35; }
.mono-ph { display: grid; place-items: center; aspect-ratio: 6 / 7; border-radius: var(--radius-sm); background: var(--paper-3); }
.mono-ph span { font-size: 3rem; letter-spacing: -.05em; color: var(--grey); font-weight: 500; }

/* ---------- insights ---------- */
.insights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.insight { display: flex; flex-direction: column; gap: 12px; }
.insight .ph { aspect-ratio: 4 / 3.3; }
.insight__tag { font-family: var(--f-mono); font-size: .68rem; color: var(--orange-deep); }
.insight h3 { font-size: 1.22rem; line-height: 1.12; letter-spacing: -.025em; font-weight: 500; }
.insight p { font-size: .9rem; color: var(--grey-ui); margin: 0; }

/* ---------- CTA ---------- */
.cta { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; padding-top: clamp(20px, 6vw, 110px); }
.cta__title { grid-column: 1 / span 9; }
.cta__title .display { font-size: clamp(2.6rem, 6.6vw, 9rem); }
.cta__aside { grid-column: 10 / span 3; display: grid; gap: 18px; }
.sheet--orange .t-grey { color: rgba(255, 255, 255, .62); }
.sheet--orange .t-ink { color: #fff; }
.sheet--orange .t-orange { color: var(--charcoal); }
.sheet--orange .meta__note { color: rgba(255, 255, 255, .82); }
.sheet--orange .idx { color: var(--charcoal); }
.mail {
  display: inline-block; font-size: clamp(1.4rem, 2.6vw, 3rem); letter-spacing: -.045em; line-height: 1;
  border-bottom: 2px solid currentColor; padding-bottom: 6px; font-weight: 500;
  transition: opacity .2s;
}
.mail:hover { opacity: .75; }
.cta__aside p { margin: 0; font-size: .95rem; }

/* ---------- footer ---------- */
.foot { background: var(--charcoal); color: #cfcfcc; }
.foot__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.foot__brand { grid-column: 1 / span 4; }
.foot__brand img { width: 220px; }
.foot__brand p { margin: 0; max-width: 30ch; font-size: clamp(1.15rem, 1.5vw, 1.45rem); line-height: 1.3; letter-spacing: -.02em; color: #e3e3e0; }
.foot__col { grid-column: span 2; }
.foot__col h4 { font-family: var(--f-mono); font-weight: 400; font-size: .7rem; color: var(--orange-hi); margin-bottom: 14px; }
.foot__col li { margin-bottom: 8px; font-size: .95rem; }
.foot__col a:hover { color: #fff; }
.foot__col address { font-style: normal; font-size: .95rem; line-height: 1.55; }
.foot__base { margin-top: clamp(40px, 6vw, 90px); padding-top: 18px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--f-mono); font-size: .68rem; color: #8a8a87; }
.foot__big { margin-top: clamp(40px, 6vw, 90px); }
.foot__big img { width: 100%; opacity: .95; }

/* ---------- page header (inner pages) ---------- */
.phead { padding-top: calc(var(--nav-h) + var(--gutter) + clamp(18px, 2vw, 34px)); }
.phead__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); align-items: end; }
.phead__row .display { grid-column: 1 / span 8; }
.phead__row .phead__intro { grid-column: 9 / span 4; }
.phead__intro p { margin: 0 0 18px; color: #3b3b3b; }
.phead__media { margin-top: clamp(26px, 3.4vw, 50px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.phead__media .ph:nth-child(1) { grid-column: span 7; aspect-ratio: 16 / 9.4; }
.phead__media .ph:nth-child(2) { grid-column: span 5; aspect-ratio: auto; }

/* ---------- services detail ---------- */
.svc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); }
.svc__head { grid-column: 1 / span 7; }
.svc__head .h2 { margin-top: 0; }
.svc__head .lead { margin-top: 22px; }
.svc__media { grid-column: 9 / span 4; }
.svc__media .ph { aspect-ratio: 4 / 3.9; }
.svc__body { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); margin-top: clamp(30px, 4vw, 56px); }
.card { background: var(--paper-2); border-radius: var(--radius-sm); padding: clamp(18px, 1.8vw, 26px); }
.sheet--alt .card { background: var(--paper); }
.card h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.card p { margin: 10px 0 0; font-size: .92rem; color: var(--grey-ui); }
.card ul { margin-top: 12px; display: grid; gap: 7px; }
.card li { font-size: .9rem; padding-left: 16px; position: relative; color: #3b3b3b; line-height: 1.45; }
.card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--orange); transform: rotate(45deg); }
.card--span2 { grid-column: span 2; }
.card--dark, .sheet--alt .card--dark { background: var(--charcoal); color: #e9e9e6; }
.card--dark p, .card--dark li { color: #c9c9c6; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tools span { font-family: var(--f-mono); font-size: .72rem; padding: 7px 11px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.card--dark .tools span { background: transparent; box-shadow: inset 0 0 0 1px #4a4a4a; color: #e2e2df; }

.subnav { position: sticky; top: calc(var(--nav-h) + var(--gutter) * 2); z-index: 20; margin: var(--gutter); }
.subnav__in { display: flex; gap: 6px; overflow-x: auto; padding: 6px; background: rgba(251, 251, 249, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 999px; scrollbar-width: none; border: 1px solid rgba(0,0,0,.05); }
.subnav__in::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 9px 14px; border-radius: 999px; font-size: .88rem; font-weight: 500; color: #4a4a4a; white-space: nowrap; }
.subnav a span { font-family: var(--f-mono); color: var(--orange); margin-right: 6px; font-size: .75rem; }
.subnav a:hover, .subnav a.is-active { background: var(--charcoal); color: #fff; }

/* tables (standards / value) */
.vtable { width: 100%; border-collapse: collapse; font-size: .95rem; }
.vtable th { text-align: left; font-family: var(--f-mono); font-weight: 400; font-size: .7rem; color: var(--orange-deep); padding: 0 0 12px; border-bottom: 1px solid var(--ink); }
.vtable td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.vtable td:first-child { color: var(--grey-ui); width: 44%; }
.vtable td:last-child { font-weight: 600; letter-spacing: -.01em; }
.vtable .arrow { width: 40px; color: var(--orange); }
.sheet--dark .vtable th { color: var(--orange-hi); border-color: #777; }
.sheet--dark .vtable td { border-color: var(--line-dark); }
.sheet--dark .vtable td:first-child { color: #9d9d9a; }

/* values */
.values { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.value { padding: 22px; border-radius: var(--radius-sm); background: var(--paper-2); display: flex; flex-direction: column; }
.value__k { font-family: var(--f-mono); font-size: .7rem; color: var(--orange-deep); }
.value h3 { margin-top: clamp(40px, 5vw, 80px); font-size: 1.5rem; letter-spacing: -.04em; font-weight: 500; }
.value p { margin: 8px 0 0; font-size: .9rem; color: var(--grey-ui); }

/* brand meaning */
.gem { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
.gem__mark { grid-column: 1 / span 5; padding: 6%; }
.gem__mark img { width: 100%; }
.gem__text { grid-column: 7 / span 6; }
.gem__list { margin-top: 26px; display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.gem__list li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.gem__list svg { width: 26px; height: 26px; }
.gem__list b { display: block; font-size: 1.15rem; letter-spacing: -.02em; font-weight: 600; color: #fff; }
.gem__list span { color: #b4b4b1; font-size: .93rem; }

/* contrast list (traditional vs saimal) */
.vs { display: grid; grid-template-columns: 1fr 50px 1fr; }
.vs > div { padding: 15px 0; border-bottom: 1px solid var(--line-dark); }
.vs .from { color: #9d9d9a; }
.vs .to { color: #fff; font-weight: 500; letter-spacing: -.01em; }
.vs .ar { color: var(--orange-hi); text-align: center; }
.vs .hd { font-family: var(--f-mono); font-size: .7rem; color: var(--orange-hi); border-bottom-color: #777; }

/* article (insights) */
.article { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); }
.article__side { grid-column: 1 / span 4; }
.article__side .ph { aspect-ratio: 4 / 4.6; }
.article__side .h3 { margin-top: 18px; }
.article__body { grid-column: 6 / span 6; font-size: 1.06rem; line-height: 1.65; color: #2f2f2f; }
.article__body p:first-child::first-letter { font-size: 3.2em; float: left; line-height: .82; margin: .06em .08em 0 0; color: var(--orange); font-weight: 500; letter-spacing: -.04em; }
.article__body h4 { font-size: 1.1rem; margin: 1.6em 0 .5em; font-weight: 600; letter-spacing: -.015em; }
.pull { font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.15; letter-spacing: -.035em; color: var(--orange); margin: 1.2em 0; font-weight: 500; }

/* contact */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); }
.contact__form { grid-column: 1 / span 7; }
.contact__info { grid-column: 9 / span 4; display: grid; gap: 26px; align-content: start; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: .85rem; font-weight: 600; letter-spacing: -.01em; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: 14px 16px; border-radius: 12px; border: 1px solid #cfcfca; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(208, 108, 24, .18); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 9px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px #cfcfca; font-size: .88rem; transition: background .2s, color .2s; cursor: pointer; }
.chips input:checked + span { background: var(--charcoal); color: #fff; box-shadow: none; }
.chips input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.form-note { font-size: .85rem; color: var(--grey-ui); margin-top: 12px; }
.info-block h3 { font-family: var(--f-mono); font-weight: 400; font-size: .7rem; color: var(--orange-deep); margin-bottom: 8px; }
.info-block p, .info-block address { margin: 0; font-style: normal; font-size: 1.02rem; line-height: 1.5; }
.info-block a:hover { color: var(--orange); }

/* utility */
.mt-0 { margin-top: 0; } .mt-s { margin-top: 14px; } .mt-m { margin-top: clamp(24px, 3vw, 44px); } .mt-l { margin-top: clamp(40px, 5vw, 80px); }
.head-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; margin-bottom: clamp(28px, 4vw, 60px); }
.head-row > :first-child { grid-column: 1 / span 7; }
.head-row > :last-child:not(:first-child) { grid-column: 9 / span 4; margin: 0; }
.rule { height: 1px; background: var(--line); border: 0; margin: clamp(28px, 4vw, 56px) 0; }
.sheet--dark .rule { background: var(--line-dark); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav__links a { padding: 9px 10px; font-size: .9rem; }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .insights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --nav-h: 58px; }
  body { font-size: 16px; }
  .nav { padding-left: 18px; }
  .nav__links, .nav__right .btn { display: none; }
  .nav__menu { display: inline-flex; align-items: center; gap: 10px; background: var(--charcoal); color: #fff; border: 0; border-radius: 999px; padding: 10px 16px; font-weight: 500; }
  .nav__menu i { display: grid; gap: 4px; }
  .nav__menu i::before, .nav__menu i::after { content: ""; width: 16px; height: 1.5px; background: #fff; display: block; }
  .nav__logo { width: 132px; }

  .meta { grid-template-columns: auto 1fr auto; }
  .meta__note { display: none; }

  .hero__title .reveal-line { white-space: normal; }
  .hero__note, .hero__lede { grid-column: 1 / -1; }
  .hero__note { order: 2; }
  .hero__wide { grid-column: 1 / -1; aspect-ratio: 16 / 11; }
  .hero__tall { grid-column: 1 / -1; aspect-ratio: 16 / 11; }
  .hero__chips { right: 10px; top: 10px; }
  .chip b { font-size: 1.6rem; }

  .impact__head .h2, .impact__head p { grid-column: 1 / -1; }

  .split__a, .split__b { grid-column: 1 / -1; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { margin-top: 18px; border-top: 1px solid var(--line); }

  .pillar { grid-template-columns: 56px minmax(0, 1fr) 40px; }
  .pillar__d { grid-column: 2 / 3; }
  .pillar__go { grid-row: 1; grid-column: 3; width: 38px; height: 38px; }

  .mapblock__text, .mapblock__map { grid-column: 1 / -1; position: static; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .case, .case--wide { grid-column: 1 / -1; }
  .case--wide .ph { aspect-ratio: 16 / 10; }

  .cta { min-height: 0; }
  .cta__title, .cta__aside { grid-column: 1 / -1; }
  .foot__brand { grid-column: 1 / -1; }
  .foot__col { grid-column: span 6; }

  .phead__row .display, .phead__row .phead__intro { grid-column: 1 / -1; }
  .phead__media .ph:nth-child(1), .phead__media .ph:nth-child(2) { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .svc__head, .svc__media { grid-column: 1 / -1; }
  .svc__media .ph { aspect-ratio: 16 / 10; }
  .svc__body { grid-template-columns: 1fr; }
  .card--span2 { grid-column: auto; }
  .head-row > :first-child, .head-row > :last-child:not(:first-child) { grid-column: 1 / -1; }
  .gem__mark { grid-column: 3 / span 8; }
  .gem__text { grid-column: 1 / -1; }
  .article__side, .article__body { grid-column: 1 / -1; }
  .contact__form, .contact__info { grid-column: 1 / -1; }
  .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .display { font-size: clamp(2.5rem, 12.4vw, 4rem); }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(2n) { padding-left: 0; padding-right: 0; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line-dark); }
  .stat__num { font-size: clamp(2.6rem, 14vw, 4rem); }
  .hero__chips { display: none; }
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 14px; }
  .trio { grid-template-columns: 1fr 1fr; }
  .trio .ph:nth-child(3) { display: none; }
  .pillar { grid-template-columns: 40px minmax(0, 1fr) 36px; gap: 12px; }
  .pillar__thumb { display: block; grid-column: 2 / 3; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; }
  .pillar__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: 1fr; }
  .value { min-height: 0; }
  .value h3 { margin-top: 30px; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .insights { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .foot__col { grid-column: 1 / -1; }
  .vs { grid-template-columns: 1fr 30px 1fr; font-size: .9rem; }
  .vtable td:first-child { width: 40%; }
  .tzmap__hq { font-size: .58rem; }
}

@media (hover: none) { .peek { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .reveal-line > span { transform: none; }
  .tzmap.is-armed .w circle { fill: var(--orange); }
}

/* ---------- case study rows (work page) ---------- */
.caserow { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); padding: clamp(26px, 3vw, 44px) 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.caserow:first-of-type { border-top: 0; padding-top: 0; }
.caserow__media { grid-column: 1 / span 5; }
.caserow__media .ph { aspect-ratio: 4 / 3.4; }
.caserow__body { grid-column: 7 / span 6; display: grid; gap: 16px; align-content: start; }
.caserow:nth-of-type(2n) .caserow__media { grid-column: 8 / span 5; order: 2; }
.caserow:nth-of-type(2n) .caserow__body { grid-column: 1 / span 6; order: 1; }
.caserow__n { font-family: var(--f-mono); font-size: .75rem; color: var(--orange); }
.caserow__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--f-mono); font-size: .7rem; color: var(--grey-ui); }
.caserow__meta b { font-weight: 400; color: var(--ink); }
.caserow h3 { font-size: clamp(1.6rem, 2.6vw, 2.6rem); line-height: 1; letter-spacing: -.045em; font-weight: 500; }
.caserow p { margin: 0; color: #3a3a3a; }
.caserow ul { display: grid; gap: 7px; }
.caserow li { padding-left: 16px; position: relative; font-size: .95rem; color: #3b3b3b; }
.caserow li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--orange); transform: rotate(45deg); }
.kpis { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kpi { padding: 14px 22px 14px 0; margin-right: 22px; border-right: 1px solid var(--line); }
.kpi:last-child { border-right: 0; margin-right: 0; }
.kpi b { display: block; font-family: var(--f-num); font-weight: 600; font-size: clamp(1.9rem, 2.6vw, 2.8rem); line-height: .9; color: var(--orange); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.kpi span { display: block; margin-top: 6px; font-size: .8rem; color: var(--grey-ui); max-width: 18ch; line-height: 1.3; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: .78rem; padding: 6px 11px; border-radius: 999px; background: var(--paper-2); color: #444; }
.quote { font-size: 1.05rem; line-height: 1.45; color: var(--ink); padding-left: 16px; border-left: 2px solid var(--orange); font-style: italic; }
.quote cite { display: block; margin-top: 6px; font-style: normal; font-family: var(--f-mono); font-size: .68rem; color: var(--grey-ui); }

.media-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.media-grid .ph:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.media-grid .ph:nth-child(2), .media-grid .ph:nth-child(3) { grid-column: span 5; aspect-ratio: 16 / 10; }
.media-grid .ph:nth-child(1) img { height: 100%; }

@media (max-width: 960px) {
  .caserow__media, .caserow__body, .caserow:nth-of-type(2n) .caserow__media, .caserow:nth-of-type(2n) .caserow__body { grid-column: 1 / -1; order: 0; }
  .media-grid .ph:nth-child(n) { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
}
@media (max-width: 620px) { .insights { row-gap: 34px; } .cases { row-gap: 14px; } }

/* ==========================================================================
   Minimal direction (client review, Dec 2026)
   Lighter homepage, simpler inner pages, less small print.
   ========================================================================== */

/* section labels: one small orange label instead of four meta fields */
.eyebrow {
  display: flex; align-items: center; gap: 9px; margin: 0 0 14px;
  font-family: var(--f-mono); font-size: .78rem; letter-spacing: .01em; color: var(--orange-deep);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; background: currentColor; transform: rotate(45deg); flex: none; }
.sheet--dark .eyebrow { color: var(--orange-hi); }
.meta { display: flex; align-items: baseline; gap: 12px; padding-bottom: clamp(20px, 2.6vw, 36px); }
.meta__note, .meta__end { display: none; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px 32px; margin-bottom: clamp(28px, 3.6vw, 56px); }
.sec-head > p { max-width: 36ch; margin: 0; }

/* ---------- hero: three slow-zoom slides ---------- */
.hero2 {
  position: relative; isolation: isolate; overflow: hidden;
  margin: var(--gutter);
  height: calc(100svh - var(--gutter) * 2); min-height: 580px; max-height: 1060px;
  border-radius: var(--radius);
  background: var(--charcoal); color: #fff;
}
.hero2__slides, .slide { position: absolute; inset: 0; margin: 0; }
.slide { opacity: 0; z-index: 0; transition: opacity 1.6s cubic-bezier(.4, 0, .2, 1); }
.slide.is-prev { opacity: 1; z-index: 1; transition: none; }
.slide.is-active { opacity: 1; z-index: 2; }
.slide img { width: 100%; height: 100%; object-fit: cover; will-change: transform; backface-visibility: hidden; }
.slide--in.is-active img, .slide--in.is-prev img { animation: kb-in 9.2s cubic-bezier(.33, 0, .45, 1) both; }
.slide--out.is-active img, .slide--out.is-prev img { animation: kb-out 9.2s cubic-bezier(.33, 0, .45, 1) both; }
@keyframes kb-in { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.16) translate3d(-1.6%, -1%, 0); } }
@keyframes kb-out { from { transform: scale(1.18) translate3d(1.6%, .6%, 0); } to { transform: scale(1.03) translate3d(0, 0, 0); } }
.hero2.is-paused .slide img { animation-play-state: paused; }
.hero2__shade {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(to top, rgba(18, 18, 18, .78) 0%, rgba(18, 18, 18, .38) 38%, rgba(18, 18, 18, 0) 66%),
    linear-gradient(to right, rgba(18, 18, 18, .42) 0%, rgba(18, 18, 18, 0) 55%);
}
.hero2__content {
  position: absolute; z-index: 4; left: var(--pad); bottom: var(--pad); right: var(--pad);
  max-width: 900px;
}
.hero2__title { font-size: clamp(2.7rem, 6.6vw, 7.6rem); line-height: .92; letter-spacing: -.055em; font-weight: 500; color: #fff; }
.hero2__title .t-orange { color: var(--orange-hi); }
.hero2__lede { margin: clamp(16px, 1.8vw, 26px) 0 clamp(22px, 2.4vw, 34px); max-width: 34ch; font-size: clamp(1.06rem, 1.35vw, 1.36rem); line-height: 1.42; letter-spacing: -.012em; color: rgba(255, 255, 255, .9); }
.hero2__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero2__lede, .hero2__ctas { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.is-loaded .hero2__lede { opacity: 1; transform: none; transition-delay: .25s; }
.is-loaded .hero2__ctas { opacity: 1; transform: none; transition-delay: .38s; }
.btn--glass {
  background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--glass:hover { background: #fff; color: var(--ink); box-shadow: none; }

.hero2__nav { position: absolute; z-index: 4; right: var(--pad); bottom: var(--pad); display: flex; align-items: flex-end; gap: 14px; }
.hero2__dot {
  display: grid; gap: 8px; width: clamp(96px, 8vw, 132px); padding: 0; background: none; border: 0;
  text-align: left; color: rgba(255, 255, 255, .62); font-family: var(--f-mono); font-size: .7rem; transition: color .3s;
}
.hero2__dot:hover, .hero2__dot.is-active { color: #fff; }
.hero2__n { opacity: .7; margin-right: 6px; }
.hero2__dot > span { display: inline; }
.hero2__dot i {
  display: block; height: 2px; border-radius: 2px;
  background: linear-gradient(#fff, #fff) 0 0 / 0% 100% no-repeat, rgba(255, 255, 255, .28);
}
.hero2__dot.is-active i { animation: hero-fill var(--dur, 7s) linear forwards; }
.hero2.is-paused .hero2__dot.is-active i { animation-play-state: paused; }
@keyframes hero-fill { to { background-size: 100% 100%, auto; } }
.hero2__pause {
  width: 38px; height: 38px; flex: none; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .25s, color .25s;
}
.hero2__pause:hover { background: #fff; color: var(--ink); }
.hero2__pause svg { width: 13px; height: 13px; fill: currentColor; }
.hero2__pause .i-play, .hero2.is-paused .hero2__pause .i-pause { display: none; }
.hero2.is-paused .hero2__pause .i-play { display: inline; }

/* ---------- services list (home) ---------- */
.pillar { grid-template-columns: 70px minmax(0, 5fr) minmax(0, 4fr) 48px; }

/* ---------- partner logos: slow strip ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__track { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; row-gap: 14px; }
.marquee__track.is-running { flex-wrap: nowrap; justify-content: flex-start; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
/* every partner sits in an identical tile; the gap is a margin so the tiles never touch */
.marquee__track li {
  flex: none; display: grid; place-items: center;
  width: clamp(168px, 14vw, 212px); height: clamp(92px, 7.4vw, 112px); margin-right: clamp(12px, 1.1vw, 16px);
  padding: 0 18px; background: #fff; border-radius: var(--radius-sm);
}
.marquee__track li > img { width: auto; height: auto; max-width: 100%; max-height: clamp(44px, 3.6vw, 56px); object-fit: contain; }
.marquee__track .wm { text-align: center; font-weight: 600; font-size: clamp(.98rem, 1.15vw, 1.12rem); letter-spacing: -.02em; line-height: 1.15; color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- contact (home) ---------- */
.hcontact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); align-items: start; }
.hcontact__text { grid-column: 1 / span 5; }
.hcontact__form { grid-column: 7 / span 6; background: var(--paper-2); border-radius: var(--radius-sm); padding: clamp(20px, 2.4vw, 34px); }
.hcontact__form textarea { min-height: 130px; }
.hcontact__list { margin-top: clamp(22px, 2.6vw, 36px); border-top: 1px solid var(--line); }
.hcontact__list li { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
.hcontact__list span { font-family: var(--f-mono); font-size: .72rem; color: var(--grey-ui); padding-top: 4px; }
.hcontact__list a { font-weight: 500; }
.hcontact__list a:hover { color: var(--orange); }

/* ---------- closing band (inner pages) ---------- */
.band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px 32px; padding-top: clamp(34px, 4.4vw, 64px); padding-bottom: clamp(34px, 4.4vw, 64px); }
.band__title { font-size: clamp(2rem, 4.4vw, 4.6rem); line-height: .95; letter-spacing: -.05em; font-weight: 500; color: #fff; }
.band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.band__mail { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .6); padding-bottom: 2px; font-weight: 500; }
.band__mail:hover { border-color: #fff; }
.sheet--orange .btn:hover { background: #fff; color: var(--ink); }

/* ---------- footer (compact) ---------- */
.foot__row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.foot__brand img { width: 180px; }
.foot__brand p { margin: 18px 0 0; max-width: 32ch; color: #bdbdba; font-size: .98rem; line-height: 1.45; }
.foot__nav, .foot__contact { display: grid; gap: 9px; justify-items: start; font-size: .98rem; }
.foot__nav a, .foot__contact a { color: #e3e3e0; transition: color .2s; }
.foot__nav a:hover, .foot__contact a:hover { color: var(--orange-hi); }
.foot__contact span { color: #a9a9a6; }
.foot__base { margin-top: clamp(32px, 4vw, 56px); }
.foot__base a:hover { color: #fff; }

/* ---------- inner page headers ---------- */
.phead .eyebrow { margin-bottom: clamp(18px, 2.6vw, 36px); }
.phead__wide { margin: clamp(26px, 3.4vw, 50px) 0 0; aspect-ratio: 21 / 8; }
.phead__wide img { object-position: 50% 40%; }

/* key figures (work page) */
.figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(30px, 4vw, 60px); border-top: 1px solid var(--line); }
.fig { padding: 22px 20px 0 0; }
.fig + .fig { padding-left: 20px; border-left: 1px solid var(--line); }
.fig b { display: block; font-family: var(--f-num); font-weight: 600; font-size: clamp(2.2rem, 3.8vw, 3.8rem); line-height: .9; letter-spacing: -.045em; color: var(--orange); font-variant-numeric: tabular-nums; }
.fig span { display: block; margin-top: 10px; font-size: .92rem; line-height: 1.35; color: var(--grey-ui); max-width: 22ch; }

/* case studies */
.caserow .caserow__meta { display: block; margin: 0; font-family: var(--f-mono); font-size: .72rem; color: var(--orange-deep); }
.more summary {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer; list-style: none;
  padding: 9px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px #c9c9c4;
  font-weight: 500; font-size: .92rem; transition: background .2s, color .2s;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; color: var(--orange); font-size: 1.15rem; line-height: 1; }
.more[open] summary::after { content: "\2212"; }
.more summary:hover { background: var(--ink); color: #fff; box-shadow: none; }
.more ul { margin-top: 16px; }

/* services detail: heading + simple list */
.svc2 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 44px); align-items: start; }
.svc2__head { grid-column: 1 / span 5; }
.svc2 > :last-child { grid-column: 7 / span 6; }
.svc2__n { display: block; font-family: var(--f-mono); font-size: .8rem; color: var(--orange); margin-bottom: 12px; }
.svc2__head .lead { margin-top: 18px; }
.svc2__img { margin: clamp(18px, 2vw, 28px) 0 0; aspect-ratio: 4 / 3; }
.offer { border-top: 1px solid var(--line); }
.offer li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.offer h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.offer p { margin: 0; font-size: .96rem; color: var(--grey-ui); }
.note { margin: 22px 0 0; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--paper-2); font-size: .92rem; color: var(--grey-ui); }
.note b { color: var(--ink); font-weight: 600; }

/* about */
.trio-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.trio-cards .card { background: var(--paper); }
.trio-cards .h3 { margin-top: clamp(28px, 3.4vw, 56px); }

@media (max-width: 960px) {
  .hero2__nav { left: var(--pad); right: var(--pad); bottom: var(--pad); }
  .hero2__dot { flex: 1; width: auto; }
  .hero2__content { bottom: calc(var(--pad) + 58px); }
  .hcontact__text, .hcontact__form { grid-column: 1 / -1; }
  .foot__row { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fig:nth-child(3) { padding-left: 0; border-left: 0; }
  .fig:nth-child(n+3) { margin-top: 20px; border-top: 1px solid var(--line); }
  .svc2__head, .svc2 > :last-child { grid-column: 1 / -1; }
  .svc2__img { aspect-ratio: 16 / 9; }
  .phead__wide { aspect-ratio: 16 / 10; }
  .trio-cards { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .hero2 { min-height: 540px; }
  .hero2__title { font-size: clamp(2.5rem, 12vw, 3.6rem); }
  .hero2__shade { background: linear-gradient(to top, rgba(18, 18, 18, .86) 0%, rgba(18, 18, 18, .5) 45%, rgba(18, 18, 18, .08) 75%); }
  .hero2__nav { gap: 10px; }
  .hero2__n { display: none; }
  .pillar { grid-template-columns: 34px minmax(0, 1fr) 36px; }
  .offer li { grid-template-columns: 1fr; gap: 4px; }
  .foot__row { grid-template-columns: 1fr; }
  .marquee__track li { width: 148px; height: 84px; padding: 0 14px; }
  .marquee__track li > img { max-height: 40px; }
  .marquee__track .wm { font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) {
  .slide img { animation: none !important; }
  .hero2__dot.is-active i { animation: none; background-size: 100% 100%, auto; }
  .hero2__lede, .hero2__ctas { opacity: 1; transform: none; }
}

/* review fixes */
.foot__row .foot__brand { grid-column: auto; }
.page-home .nav { inset: calc(var(--gutter) + 12px) calc(var(--gutter) + 12px) auto; }
.svc2__head .h2 { font-size: clamp(2rem, 3.6vw, 4rem); }
@media (max-width: 960px) {
  .foot__row .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .page-home .nav { inset: var(--gutter) var(--gutter) auto; }
  .hero2__content { bottom: calc(var(--pad) + 74px); }
  .pillar .pillar__d { display: none; }
  .marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
}
.slide img { object-position: var(--pos, 50% 50%); }
@media (max-width: 620px) { .slide img { object-position: var(--pos-m, var(--pos, 50% 50%)); } }

/* work page map */
.subnav ~ .wrap[id] { scroll-margin-top: calc(var(--nav-h) + 96px); }
@media (max-width: 960px) {
  #map .mapblock { display: flex; flex-direction: column; gap: 0; }
  #map .mapblock__text { display: contents; }
  #map .mapblock__text > .eyebrow { order: 1; }
  #map .mapblock__text > .h2 { order: 2; }
  #map .mapblock__text > .small { order: 3; }
  #map .mapblock__map {
    order: 4; position: sticky; top: calc(var(--nav-h) + var(--gutter) * 2 + 54px); z-index: 2;
    margin: 18px calc(var(--pad) * -1) 0; padding: 10px var(--pad) 12px;
    background: var(--paper-2); border-bottom: 1px solid var(--line);
  }
  #map .tzmap { max-width: 300px; margin: 0 auto; }
  #map .tzmap__legend { font-size: .6rem; gap: 12px; }
  #map .tzmap__legend { justify-content: center; margin-top: 8px; }
  #map .camps { order: 5; margin-top: 0; }
}
