/* ---------- Tokens ---------- */
:root {
  --paper: #f6f3ee;
  --paper-2: #efeae2;
  --ink: #16181d;
  --ink-2: #474c58;
  --line: #e0d9cd;
  --navy: #1f2d52;
  --navy-2: #2d3f6e;
  --clay: #b5653f;
  --peach: #e9b99c;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 18px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.02em; }
h1, h2 { font-family: var(--serif); font-variation-settings: "opsz" 144; text-wrap: balance; }
h1 { font-size: clamp(46px, 6.4vw, 88px); line-height: 1.02; }
h2 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.08; }
h3 { font-size: 21px; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; }
em { font-style: italic; color: var(--navy); }
::selection { background: var(--navy); color: var(--paper); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(88px, 11vw, 140px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.lead { font-size: clamp(19px, 1.6vw, 21px); color: var(--ink-2); max-width: 62ch; }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 72px); max-width: 780px; }
.skip { position: absolute; left: -999px; top: 12px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 26px;
  border-radius: 999px; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font: 600 16px/1 var(--sans); cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--light { border-color: rgba(246,243,238,.4); color: var(--paper); }
.btn--light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 17px; color: var(--ink); position: relative; }
.text-link::after { content: ""; position: absolute; left: 0; right: 26px; bottom: -3px; height: 1.5px; background: currentColor; opacity: .45; transition: opacity .3s var(--ease); }
.text-link:hover::after { opacity: 1; }
.text-link svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.text-link:hover svg { transform: translate(3px, -3px); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s var(--ease), box-shadow .4s var(--ease), transform .45s var(--ease); }
.header.is-scrolled { background: rgba(246,243,238,.88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.brand__mark { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-family: var(--serif); font-size: 19px; font-style: italic; transition: transform .6s var(--ease), background .3s; }
.brand:hover .brand__mark { transform: rotate(-12deg); background: var(--navy); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { position: relative; padding: 10px 14px; font-size: 16px; font-weight: 500; color: var(--ink-2); transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 960px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(-12px); pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
  .menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .menu-open .header { background: var(--paper); }
  .nav a { padding: 16px 0; font-size: 20px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
}

/* ---------- Hero / profile ---------- */
.hero { position: relative; padding: clamp(128px, 16vh, 170px) 0 clamp(64px, 8vw, 100px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.tagline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 30px; font-size: 17px; font-weight: 600; color: var(--ink); }
.tagline span { white-space: nowrap; }
.tagline span + span::before { content: ""; display: inline-block; width: 1.5px; height: 17px; background: var(--clay); margin-right: 12px; vertical-align: -3px; }
@media (max-width: 1320px) and (min-width: 961px), (max-width: 560px) {
  .tagline { flex-direction: column; align-items: flex-start; gap: 6px; }
  .tagline span + span::before { display: none; }
  .tagline span { display: flex; align-items: center; gap: 10px; }
  .tagline span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--clay); display: inline-block !important; margin: 0 !important; }
}
.hero h1 { margin-bottom: 30px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.hero .lead { margin-bottom: 36px; }

.portrait { position: relative; justify-self: end; width: 100%; max-width: 460px; }
.portrait__frame { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); box-shadow: 0 40px 80px -40px rgba(22,24,29,.45); }
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.is-loaded .portrait__frame img { transform: scale(1); }
.portrait__art { position: absolute; inset: -12% -14% auto auto; width: 120%; z-index: -1; pointer-events: none; }
.portrait__art path { fill: none; stroke: var(--line); stroke-width: 1.4; }
.portrait__art .accent { stroke: var(--clay); opacity: .5; }

.badge {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 16px; box-shadow: 0 18px 40px -18px rgba(22,24,29,.35);
  font-size: 16px; line-height: 1.3; color: var(--ink); animation: float 6s ease-in-out infinite;
}
.badge b { display: block; font-weight: 600; font-size: 17px; }
.badge span { color: var(--ink-2); }
.badge--us { left: -44px; bottom: 40px; }
.badge--lead { right: -28px; top: 50%; animation-delay: -3s; }
.badge__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--paper); }
.badge__icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.flag { flex: none; width: 40px; height: 27px; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(64px, 8vw, 100px); border-top: 1px solid var(--line); }
.stat { padding: 30px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat__num { font-family: var(--serif); font-size: clamp(40px, 4.6vw, 60px); line-height: 1; letter-spacing: -0.03em; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.stat__num .flag { width: 34px; height: 23px; }
.stat__label { font-size: 17px; color: var(--ink-2); line-height: 1.45; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .portrait { justify-self: center; max-width: 420px; margin-top: 12px; }
  .badge--us { left: -12px; }
  .badge--lead { right: -12px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat { padding-bottom: 28px; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .badge { padding: 10px 14px; gap: 10px; }
  .badge--lead { top: 48%; }
  .badge--us { bottom: 20px; }
  .badge--us { bottom: 24px; }
}

/* ---------- Clients marquee ---------- */
.clients { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--paper-2); }
.clients__title { text-align: center; font-size: 17px; font-weight: 600; color: var(--ink-2); margin-bottom: 24px; }
.marquee { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.clients:hover .marquee { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; gap: clamp(44px, 6vw, 76px); padding: 0 clamp(22px, 3vw, 38px); margin: 0; list-style: none; }
.marquee li { display: flex; align-items: center; gap: 14px; white-space: nowrap; font-family: var(--serif); font-size: clamp(22px, 2.3vw, 30px); color: var(--ink); }
.marquee img { height: 30px; width: auto; }
.marquee img.wordmark { height: 38px; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 100px); align-items: start; }
.about__story { display: grid; gap: 20px; font-size: 19px; color: var(--ink-2); }
.about__story p { margin: 0; }
.about__story strong { color: var(--ink); font-weight: 600; }
.quote { margin: 12px 0 0; padding: 28px 0 0; border-top: 1px solid var(--line); font-family: var(--serif); font-size: clamp(24px, 2.4vw, 31px); line-height: 1.3; color: var(--ink); letter-spacing: -0.015em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 4px 0 0; list-style: none; }
.chips li { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 16px; font-weight: 500; background: var(--paper); transition: background .3s, color .3s, border-color .3s; }
.chips li:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Leader + designer duo */
.duo { display: grid; grid-template-columns: 1fr 1fr; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.duo__col { padding: 30px 28px; }
.duo__col + .duo__col { border-left: 1px solid var(--line); background: var(--paper); }
.duo__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.duo__head .badge__icon { width: 44px; height: 44px; }
.duo__col:nth-child(2) .badge__icon { background: var(--clay); }
.duo h3 { font-size: 20px; white-space: nowrap; }
.duo ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.duo li { display: flex; gap: 10px; font-size: 17px; color: var(--ink-2); line-height: 1.45; }
.duo li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; margin-top: 9px; background: var(--navy); }
.duo__col:nth-child(2) li::before { background: var(--clay); }
.duo__bridge { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 17px; text-align: center; }

/* Strategy to execution */
.s2e { margin-top: clamp(56px, 7vw, 88px); }
.s2e__title { font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); letter-spacing: -0.02em; margin-bottom: 28px; }
.s2e__track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.s2e__track::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 31px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px); }
.s2e__track::after { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 31px; height: 2px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease) .3s; }
.s2e.is-in .s2e__track::after { transform: scaleX(1); }
.s2e__step { position: relative; z-index: 1; display: grid; gap: 10px; justify-items: center; align-content: start; text-align: center; }
.s2e__dot { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1.5px solid var(--line); color: var(--ink); transition: background .5s var(--ease), color .5s, border-color .5s; transition-delay: var(--d, 0s); }
.s2e__dot svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.s2e.is-in .s2e__dot { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.s2e__step h3 { font-size: 20px; margin-top: 6px; }
.s2e__step p { font-size: 17px; color: var(--ink-2); }

@media (max-width: 960px) {
  .about__grid { grid-template-columns: 1fr; }
  .s2e__track { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .s2e__track::before, .s2e__track::after { display: none; }
}
@media (max-width: 560px) {
  .duo { grid-template-columns: 1fr; }
  .duo__col + .duo__col { border-left: 0; border-top: 1px solid var(--line); }
  .s2e__track { grid-template-columns: 1fr; }
}

/* ---------- Journey ---------- */
.journey { background: var(--ink); color: var(--paper); }
.journey .lead { color: rgba(246,243,238,.72); }
.journey em { color: var(--peach); }
.section.journey + .section, .section + .section.journey { border-top: 0; }
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 200px; top: 10px; bottom: 10px; width: 1px; background: rgba(246,243,238,.16); }
.timeline__progress { position: absolute; left: 200px; top: 10px; width: 1px; height: 0; background: var(--peach); transition: height .2s linear; }
.tl-list { display: grid; margin: 0; padding: 0; list-style: none; }
.tl { position: relative; display: grid; grid-template-columns: 200px 1fr; gap: 0 56px; padding: 0 0 56px; }
.tl:last-child { padding-bottom: 0; }
.tl__year { font-family: var(--serif); font-size: 24px; line-height: 1.3; color: rgba(246,243,238,.88); padding-right: 32px; }
.tl__dot { position: absolute; left: 194px; top: 9px; width: 13px; height: 13px; border-radius: 50%; background: var(--ink); border: 1.5px solid rgba(246,243,238,.4); transition: background .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease); }
.tl.is-lit .tl__dot { background: var(--peach); border-color: var(--peach); transform: scale(1.15); }
.tl__body h3 { font-size: 24px; font-weight: 600; color: var(--paper); }
.tl__role { font-size: 18px; font-weight: 500; color: var(--peach); margin: 4px 0 14px; }
.tl__body > p { color: rgba(246,243,238,.74); max-width: 64ch; }
.tl__points { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; max-width: 66ch; }
.tl__points li { display: flex; gap: 12px; color: rgba(246,243,238,.78); font-size: 17px; line-height: 1.5; }
.tl__points li::before { content: ""; flex: none; width: 14px; height: 1.5px; margin-top: 12px; background: var(--peach); }
@media (max-width: 760px) {
  .timeline::before, .timeline__progress { left: 6px; }
  .tl { grid-template-columns: 1fr; padding-left: 40px; }
  .tl__dot { left: 0; }
  .tl__year { font-size: 20px; margin-bottom: 6px; }
}

/* ---------- Expertise ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s, background .4s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(22,24,29,.35); border-color: transparent; background: #fff; }
.card--key { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.card--key:hover { background: var(--navy-2); }
.card--key p { color: rgba(246,243,238,.78) !important; }
.card--key .card__icon { background: rgba(246,243,238,.12); color: var(--paper); }
.card__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--paper-2); margin-bottom: 24px; transition: background .4s, color .4s, transform .6s var(--ease); }
.card__icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .card__icon { background: var(--navy); color: var(--paper); transform: rotate(-6deg); }
.card--key:hover .card__icon { background: var(--clay); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 17px; }
@media (max-width: 1080px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Collaboration hub ---------- */
.collab { background: var(--paper-2); }
.collab h2 { margin-bottom: 22px; }
.collab__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.collab__list { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 18px; }
.collab__list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.collab__list .badge__icon { width: 44px; height: 44px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.collab__list b { display: block; font-size: 18px; font-weight: 600; }
.collab__list span { color: var(--ink-2); font-size: 17px; }

.hub { position: relative; width: 100%; max-width: 580px; aspect-ratio: 1; margin: 0 auto; }
.hub svg.hub__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub__ring { fill: none; stroke: var(--line); stroke-width: .3; stroke-dasharray: 1 1.4; }
.hub__link { stroke: var(--navy); stroke-width: .35; stroke-dasharray: 1.2 1.6; opacity: .55; animation: flow 1.8s linear infinite; }
.hub__center {
  position: absolute; left: 50%; top: 50%; width: 31%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; text-align: center;
  box-shadow: 0 0 0 12px rgba(31,45,82,.08), 0 0 0 26px rgba(31,45,82,.05);
}
.hub__center img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; border-radius: 50%; }
.hub__center div { position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); padding: 8px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); white-space: nowrap; z-index: 1; box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); }
.hub__center b { font-size: 16px; font-weight: 600; }
.hub__center::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1.5px solid var(--clay); opacity: .0; animation: ripple 3s var(--ease) infinite; }
.hub__node {
  position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; background: #fff; border-radius: 999px; box-shadow: 0 14px 30px -18px rgba(22,24,29,.4);
  font-size: 16px; font-weight: 600; white-space: nowrap; color: var(--ink);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.hub .hub__node.is-in:hover { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 18px 34px -16px rgba(22,24,29,.45); }
.hub__node i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); }
.hub__node svg { width: 17px; height: 17px; stroke: var(--navy); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hub .reveal { transform: translate(-50%, -50%) scale(.85); }
.hub .reveal.is-in { transform: translate(-50%, -50%); }

@media (max-width: 960px) { .collab__grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .hub { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hub svg.hub__lines { display: none; }
  .hub__center { position: relative; left: auto; top: auto; transform: none; grid-column: 1 / -1; width: 150px; margin: 10px auto 26px; }
  .hub__node, .hub .reveal, .hub .reveal.is-in { position: relative; left: auto !important; top: auto !important; transform: none; justify-content: flex-start; white-space: normal; border-radius: 16px; line-height: 1.3; }
  .hub .hub__node.is-in:hover { transform: none; }
}

/* ---------- Approach ---------- */
.phases { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.phase { padding: 34px 28px 10px 0; }
.phase + .phase { padding-left: 28px; border-left: 1px solid var(--line); }
.phase__title { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.phase__title span { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--clay); }
.phase__title h3 { font-family: var(--serif); font-size: 32px; font-weight: 500; letter-spacing: -0.02em; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.step { border-radius: 14px; transition: background .35s; }
.step button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; margin: 0; border: 0; background: none; cursor: pointer; text-align: left; font: 600 17px/1.4 var(--sans); color: var(--ink); }
.step .plus { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: transform .4s var(--ease), background .3s, border-color .3s; }
.step .plus::before, .step .plus::after { content: ""; position: absolute; left: 7px; right: 7px; top: 12px; height: 1.5px; background: var(--ink); transition: background .3s, transform .4s var(--ease); }
.step .plus::after { transform: rotate(90deg); }
.step:hover { background: var(--paper-2); }
.step.is-open { background: #fff; }
.step.is-open .plus { background: var(--ink); border-color: var(--ink); transform: rotate(180deg); }
.step.is-open .plus::before, .step.is-open .plus::after { background: var(--paper); }
.step.is-open .plus::after { transform: rotate(0); }
.step__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.step.is-open .step__panel { grid-template-rows: 1fr; }
.step__panel > div { overflow: hidden; }
.step__panel p { padding: 0 14px 16px; color: var(--ink-2); font-size: 17px; }
.approach__note { margin-top: 56px; display: flex; gap: 20px; align-items: center; padding: 26px 30px; background: var(--paper-2); border-radius: var(--radius); font-size: 18px; color: var(--ink-2); }
.approach__note svg { flex: none; width: 34px; height: 34px; stroke: var(--clay); fill: none; stroke-width: 1.6; stroke-linecap: round; animation: spin 14s linear infinite; }
.approach__note strong { color: var(--ink); }
@media (max-width: 1000px) {
  .phases { grid-template-columns: 1fr 1fr; }
  .phase:nth-child(3) { padding-left: 0; border-left: 0; }
  .phase:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 10px; }
}
@media (max-width: 640px) {
  .phases { grid-template-columns: 1fr; }
  .phase, .phase + .phase { padding-left: 0; border-left: 0; }
  .phase + .phase { border-top: 1px solid var(--line); }
}

/* ---------- Work ---------- */
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(44px, 5vw, 64px) clamp(20px, 3vw, 36px); }
.project { display: grid; grid-template-rows: auto 1fr; gap: 24px; color: inherit; }
.project--wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: auto; gap: clamp(28px, 4vw, 56px); align-items: center; }
.project__cover { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--c, var(--navy)); box-shadow: 0 30px 60px -40px rgba(22,24,29,.45); }
.project__cover img, .project__cover svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center top); transition: transform 1.1s var(--ease); }
.project--contain .project__cover img { object-fit: contain; padding: 22px 0; filter: drop-shadow(0 18px 30px rgba(0,0,0,.25)); }
.project--contain .project__cover { background: linear-gradient(135deg, #f7d64a, #f0b90b); }
.project:hover .project__cover img, .project:hover .project__cover svg { transform: scale(1.04); }
.project__tag { position: absolute; right: 16px; top: 16px; z-index: 1; padding: 8px 14px; border-radius: 999px; background: rgba(22,24,29,.86); color: var(--paper); font-size: 16px; font-weight: 600; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.project__body { display: grid; align-content: start; gap: 8px; }
.project__client { font-size: 16px; font-weight: 600; color: var(--clay); }
.project h3 { font-size: 24px; line-height: 1.3; }
.project--wide h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 3.4vw, 44px); letter-spacing: -0.02em; line-height: 1.1; }
.project p { color: var(--ink-2); font-size: 17px; }
.project .text-link { margin-top: 8px; justify-self: start; }
@media (max-width: 860px) {
  .projects { grid-template-columns: 1fr; }
  .project--wide { grid-template-columns: 1fr; }
}

/* IA spotlight */
.ia { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 70px); align-items: center; padding: clamp(28px, 4vw, 52px); border-radius: 28px; background: var(--ink); color: var(--paper); overflow: hidden; }
.ia .project__client { color: var(--peach); }
.ia h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.2vw, 42px); letter-spacing: -0.02em; line-height: 1.12; margin: 8px 0 18px; }
.ia p { color: rgba(246,243,238,.76); }
.ia ul { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 10px; }
.ia li { display: flex; gap: 12px; color: rgba(246,243,238,.85); font-size: 17px; line-height: 1.5; }
.ia li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; margin-top: 8px; background: var(--peach); }
.ia .text-link { color: var(--paper); }
.ia__map { background: #1d2027; border-radius: 20px; padding: 22px 18px 18px; }
.ia__map > svg { width: 100%; height: auto; }
.ia__legend { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 14px; font-size: 16px; color: rgba(246,243,238,.75); }
.ia__legend span { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.ia__legend i { flex: none; display: block; }
.ia__dash { width: 34px; height: 0; border-top: 2.5px dashed var(--paper); }
.ia__dot { width: 16px; height: 16px; border-radius: 50%; background: #d64545; }
.ia__scale { width: 120px; height: 10px; border-radius: 99px; background: linear-gradient(90deg, #3a3f4b, #c9845f, #ff6a3d); }
.ia-heat { transition: opacity 1.2s var(--ease); opacity: 0; }
.ia.is-in .ia-heat { opacity: 1; }
.ia-path { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2.4s var(--ease) .4s; }
.ia.is-in .ia-path { stroke-dashoffset: 0; }
@media (max-width: 960px) { .ia { grid-template-columns: 1fr; } }

.more { margin-top: clamp(48px, 6vw, 72px); }
.more__title { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.02em; margin-bottom: 18px; }
.more__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.more__list li { border-bottom: 1px solid var(--line); }
.more__list a { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-size: 20px; font-weight: 600; transition: padding .4s var(--ease), background .3s; }
.more__list a:hover { padding-left: 16px; background: var(--paper-2); }
.more__cta { display: inline-flex; align-items: center; gap: 8px; flex: none; font-size: 16px; font-weight: 600; color: var(--clay); }
.more__cta svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.more__list a:hover .more__cta svg { transform: translate(3px, -3px); }
@media (max-width: 560px) { .more__list a { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 18px; } }
.work-links { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 44px; }

/* ---------- Contact ---------- */
.contact { background: var(--navy); color: var(--paper); overflow: hidden; position: relative; }
.contact h2 { font-size: clamp(42px, 6vw, 80px); line-height: 1.04; max-width: 15ch; }
.contact em { color: var(--peach); }
.contact .lead { color: rgba(246,243,238,.75); margin: 26px 0 0; }
.contact__list { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(52px, 7vw, 80px); border-top: 1px solid rgba(246,243,238,.18); }
.contact__item { display: grid; gap: 6px; padding: 28px 22px 4px 0; }
.contact__item + .contact__item { padding-left: 22px; border-left: 1px solid rgba(246,243,238,.18); }
.contact__item b { font-size: 17px; font-weight: 600; color: var(--peach); }
.contact__item span { font-size: 18px; color: var(--paper); word-break: break-word; position: relative; justify-self: start; }
.contact__item span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.contact__item:hover span::after { transform: scaleX(1); }
.contact__art { position: absolute; right: -120px; bottom: -160px; width: 560px; opacity: .14; pointer-events: none; }
.contact__art circle { fill: none; stroke: var(--paper); stroke-width: 1; }
@media (max-width: 900px) {
  .contact__list { grid-template-columns: 1fr 1fr; }
  .contact__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .contact__item:nth-child(n+3) { border-top: 1px solid rgba(246,243,238,.18); margin-top: 22px; }
}
@media (max-width: 520px) {
  .contact__list { grid-template-columns: 1fr; }
  .contact__item, .contact__item + .contact__item { padding-left: 0; border-left: 0; }
  .contact__item + .contact__item { border-top: 1px solid rgba(246,243,238,.18); margin-top: 0; padding-top: 22px; }
  .contact__item { padding-bottom: 22px; }
}

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; padding: 14px 22px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 16px; font-weight: 500; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; transition: transform .45s var(--ease), opacity .45s var(--ease); }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(246,243,238,.7); padding: 30px 0; font-size: 16px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 24px; }
.footer a:hover { color: var(--paper); }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.hero h1 .line > span { transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.is-loaded .hero h1 .line > span { transform: none; }
.draw path { stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000); transition: stroke-dashoffset 3.2s var(--ease); transition-delay: var(--d, .2s); }
.is-loaded .draw path { stroke-dashoffset: 0; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes flow { to { stroke-dashoffset: -5.6; } }
@keyframes ripple { 0% { transform: scale(.9); opacity: .6; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal, .hero h1 .line > span { opacity: 1; transform: none; }
  .draw path, .ia-path { stroke-dashoffset: 0; }
  .ia-heat { opacity: 1; }
}
