/* ============================================================
   ZHAGARAM — shared design system
   Apple-grade product-page aesthetic · Qoyn editorial restraint
   Fonts: Plus Jakarta Sans (headings/body) · Barlow Condensed (data)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:    #FFFFFF;
  --paper:    #F5F5F7;
  --ink:      #1D1D1F;
  --ink-soft: #424245;
  --gray:     #86868B;
  --line:     #D2D2D7;

  --black:    #060606;
  --black-2:  #0E0E10;
  --black-3:  #141417;
  --d-text:   #F5F5F7;
  --d-gray:   #98989D;
  --d-line:   rgba(255,255,255,0.12);

  --font-p: 'Plus Jakarta Sans', sans-serif;
  --font-d: 'Barlow Condensed', sans-serif;

  --r:   24px;
  --r-l: 32px;
  --r-s: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 64px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { background: var(--white); color: var(--ink); font-family: var(--font-p); overflow-x: hidden; }
::-webkit-scrollbar { display: none; }
* { scrollbar-width: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); }
.wrap-narrow { max-width: 900px; }
.pad   { padding: clamp(88px, 13vh, 170px) 0; }
.pad-s { padding: clamp(60px, 9vh, 110px) 0; }

.dark  { background: var(--black); color: var(--d-text); }
.paper { background: var(--paper); }

/* seam softeners so dark/light don't feel like hard cuts */
.seam-top    { box-shadow: 0 -1px 0 rgba(0,0,0,0.04); }
.fade-to-dark { background: linear-gradient(var(--white), var(--black)); height: clamp(60px,8vh,120px); }
.fade-to-light{ background: linear-gradient(var(--black), var(--white)); height: clamp(60px,8vh,120px); }

/* ---------- Typography ---------- */
.overline {
  font-family: var(--font-d); font-weight: 600;
  font-size: clamp(13px, 1.2vw, 16px); letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gray); display: inline-flex; align-items: center; gap: 12px;
}
.overline::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.5; }
.dark .overline { color: var(--d-gray); }

.display { font-family: var(--font-p); font-weight: 700; letter-spacing: -0.025em; line-height: 1.04; }
.h1 { font-size: clamp(40px, 6vw, 88px); }
.h2 { font-size: clamp(34px, 4.8vw, 68px); }
.h3 { font-size: clamp(26px, 3vw, 44px); }

.lede { font-family: var(--font-p); font-weight: 400; color: var(--gray); line-height: 1.55; }
.dark .lede { color: var(--d-gray); }

.connector {
  text-align: center; font-family: var(--font-p); font-weight: 400; font-style: italic;
  font-size: clamp(19px, 2.4vw, 34px); line-height: 1.4; color: var(--ink);
  max-width: 20ch; margin: 0 auto; letter-spacing: -0.01em;
}
.dark .connector { color: var(--d-text); }
.connector span { color: var(--gray); }
.dark .connector span { color: var(--d-gray); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-p); font-weight: 600; font-size: clamp(14px, 1.1vw, 16px);
  padding: 14px 26px; border-radius: 980px; border: 1px solid transparent;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, border-color 0.3s; cursor: pointer; white-space: nowrap;
}
.btn-dark  { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); background: #ececec; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.dark .btn-ghost, .btn-ghost.on-dark { border-color: var(--d-line); color: var(--d-text); }
.btn-ghost:hover { transform: translateY(-2px); }
.btn .a, .link-arrow .a { transition: transform 0.3s var(--ease); }
.btn:hover .a, .link-arrow:hover .a { transform: translateX(3px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-p); font-weight: 600; font-size: clamp(14px, 1.1vw, 16px); color: var(--ink); transition: gap 0.3s var(--ease);
}
.dark .link-arrow, .link-arrow.on-dark { color: var(--d-text); }
.link-arrow:hover { gap: 12px; }

/* ---------- Nav ---------- */
nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 48px);
  transition: background 0.45s var(--ease), backdrop-filter 0.45s, border-color 0.45s, height 0.45s;
  border-bottom: 1px solid transparent;
}
nav.scrolled { background: rgba(255,255,255,0.72); backdrop-filter: saturate(180%) blur(20px); border-bottom-color: var(--line); height: 56px; }
.nav-logo { font-family: var(--font-d); font-weight: 600; font-size: 17px; letter-spacing: 0.28em; text-transform: uppercase; color: #fff; transition: color 0.45s; }
nav.scrolled .nav-logo { color: var(--ink); }
.nav-logo.on-light { color: var(--ink); }     /* for work.html (light nav from start) */
.nav-right { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.nav-links { display: flex; gap: clamp(14px, 2vw, 30px); list-style: none; }
.nav-links a { font-size: 13px; font-weight: 500; color: #fff; transition: color 0.3s; }
nav.scrolled .nav-links a, .nav-links.on-light a { color: var(--ink-soft); }
.nav-links a:hover { color: var(--white); }
nav.scrolled .nav-links a:hover, .nav-links.on-light a:hover { color: var(--ink); }
/* current page → bold */
.nav-links a[aria-current="page"] { font-weight: 700; }
nav.scrolled .nav-links a[aria-current="page"], nav.nav-solid .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-pill { font-size: 13px; font-weight: 600; padding: 8px 18px; border-radius: 980px; background: var(--white); color: var(--ink); transition: transform 0.3s var(--ease), background 0.45s, color 0.45s; }
nav.scrolled .nav-pill, .nav-pill.on-light { background: var(--ink); color: var(--white); }
.nav-pill:hover { transform: scale(1.04); }

/* solid nav (light pages e.g. work.html) */
nav.nav-solid { background: rgba(255,255,255,0.8); backdrop-filter: saturate(180%) blur(20px); border-bottom-color: var(--line); }
nav.nav-solid .nav-logo { color: var(--ink); }
nav.nav-solid .nav-links a { color: var(--ink-soft); }
nav.nav-solid .nav-links a:hover { color: var(--ink); }
nav.nav-solid .nav-pill { background: var(--ink); color: var(--white); }

/* ---------- Hero ---------- */
#hero { height: 100vh; min-height: 640px; background: var(--black); color: var(--d-text); display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-glow { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 60% 50% at 50% 42%, rgba(255,255,255,0.10), transparent 70%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; padding: 0 24px; will-change: transform; }
@keyframes heroUp   { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
.hero-eye { font-family: var(--font-d); font-weight: 500; font-size: clamp(12px, 1vw, 15px); letter-spacing: 0.34em; text-transform: uppercase; color: var(--d-gray); margin-bottom: clamp(20px, 3vh, 34px); opacity: 1; animation: heroFade 0.9s var(--ease) 0.25s both; }
.hero-title { font-family: var(--font-p); font-weight: 700; font-size: clamp(58px, 11vw, 132px); letter-spacing: 0.04em; line-height: 0.94; color: var(--white); opacity: 1; animation: heroUp 1.2s var(--ease) 0.45s both; }
.hero-sub { font-family: var(--font-p); font-weight: 400; font-size: clamp(17px, 2vw, 26px); color: var(--d-gray); margin-top: clamp(16px, 2.4vh, 26px); opacity: 1; animation: heroUp 1.0s var(--ease) 0.85s both; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: clamp(28px, 4vh, 46px); opacity: 1; animation: heroUp 1.0s var(--ease) 1.05s both; }
.scroll-hint { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 1; animation: heroFade 0.9s var(--ease) 1.4s both; }
.scroll-hint span { font-family: var(--font-d); font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--d-gray); }
.scroll-hint .ln { width: 1px; height: 44px; background: linear-gradient(var(--d-gray), transparent); animation: sp 2.2s ease-in-out infinite; }
@keyframes sp { 0%,100%{opacity:.25;transform:scaleY(1)} 50%{opacity:.9;transform:scaleY(.6)} }

/* ---------- Thesis ---------- */
.thesis { text-align: center; }
.thesis .overline { margin-bottom: clamp(22px, 3vh, 36px); }
.thesis h2 { max-width: 17ch; margin: 0 auto; }
.thesis h2 em { font-style: normal; color: var(--d-gray); }
.thesis .lede { font-size: clamp(17px, 1.6vw, 22px); max-width: 620px; margin: clamp(24px,3.5vh,38px) auto 0; }

/* ---------- Contrast bento ---------- */
.contrast { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.6vw, 20px); margin-top: clamp(44px, 6vh, 80px); }
.ct { border: 1px solid var(--d-line); border-radius: var(--r); padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 12px; transition: transform 0.45s var(--ease), background 0.4s; }
.ct:hover { transform: translateY(-4px); }
.ct-a { grid-column: span 4; }
.ct-b { grid-column: span 4; }
.ct-us { grid-column: span 4; background: var(--white); border-color: var(--white); }
.ct .tag { font-family: var(--font-d); font-weight: 600; font-size: clamp(11px,0.9vw,13px); letter-spacing: 0.2em; text-transform: uppercase; color: var(--d-gray); }
.ct-us .tag { color: var(--gray); }
.ct h3 { font-family: var(--font-p); font-weight: 700; font-size: clamp(20px, 2.1vw, 30px); color: var(--d-text); line-height: 1.08; }
.ct-us h3 { color: var(--ink); }
.ct p { font-family: var(--font-p); font-size: clamp(14px,1.1vw,16px); color: var(--d-gray); line-height: 1.6; }
.ct-us p { color: var(--ink-soft); }

/* ---------- Section head ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: clamp(40px, 6vh, 72px); flex-wrap: wrap; }
.sec-head .overline { margin-bottom: 18px; }
.sec-head h2 { max-width: 16ch; }
.sec-head .lede { font-size: clamp(15px, 1.3vw, 19px); max-width: 40ch; }

/* ---------- Counters (animated) ---------- */
.stats { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.6vw, 20px); }
.stat { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(26px, 3vw, 44px); background: var(--white); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: clamp(160px, 22vh, 240px); transition: transform 0.45s var(--ease), box-shadow 0.45s; }
.stat:hover { transform: translateY(-5px); box-shadow: 0 24px 60px -34px rgba(0,0,0,0.2); }
.stat.big { grid-column: span 6; }
.stat.s4 { grid-column: span 4; }
.stat.s3 { grid-column: span 3; }
.stat-num { font-family: var(--font-d); font-weight: 600; line-height: 0.82; color: var(--ink); letter-spacing: 0.005em; }
.stat.big .stat-num { font-size: clamp(72px, 11vw, 168px); }
.stat:not(.big) .stat-num { font-size: clamp(56px, 7vw, 116px); }
.stat-num .suf { color: var(--gray); }
.stat-lbl { font-family: var(--font-p); font-size: clamp(13px, 1vw, 16px); color: var(--ink-soft); line-height: 1.4; max-width: 24ch; }
.stat-lbl .sub { display: block; color: var(--gray); font-size: 0.86em; margin-top: 4px; }

/* ---------- Partner marquee ---------- */
.marquee-head { text-align: center; margin-bottom: clamp(30px, 4vh, 56px); }
.marquee-head .overline { justify-content: center; }
.marquee { position: relative; width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: clamp(16px, 2.4vw, 30px); }
.mq-track { display: flex; align-items: center; gap: clamp(40px, 5vw, 90px); width: max-content; animation: mq var(--marquee-dur, 38s) linear infinite; }
.mq-track.rev { animation-direction: reverse; animation-duration: calc(var(--marquee-dur, 38s) * 1.2); }
.marquee:hover .mq-track { animation-play-state: paused; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mq-logo { height: clamp(22px, 2.5vw, 34px); width: auto; max-width: clamp(90px, 11vw, 150px); object-fit: contain; opacity: 0.55; filter: grayscale(1); transition: opacity 0.3s, filter 0.3s; flex-shrink: 0; }
.mq-logo:hover { opacity: 1; filter: grayscale(0); }
.mq-text { font-family: var(--font-p); font-weight: 700; font-size: clamp(17px, 2vw, 30px); letter-spacing: -0.01em; color: var(--ink); opacity: 0.32; white-space: nowrap; flex-shrink: 0; transition: opacity 0.3s; }
.mq-text:hover { opacity: 0.85; }
.mq-text .role { font-family: var(--font-d); font-weight: 500; font-size: 0.5em; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gray); display: block; margin-top: 2px; }

/* ---------- Work bento ---------- */
.work-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.work-card { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--d-line); background: radial-gradient(120% 120% at 30% 20%, var(--black-3), var(--black)); display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(220px, 30vh, 340px); transition: transform 0.5s var(--ease), box-shadow 0.5s; isolation: isolate; }
.work-card:hover { transform: translateY(-6px); box-shadow: 0 30px 70px -34px rgba(0,0,0,0.32); }
.work-card.feature { grid-column: span 8; grid-row: span 2; min-height: clamp(360px, 52vh, 560px); }
.work-card.half { grid-column: span 4; }
.work-card.third { grid-column: span 4; }
/* default: client logo (or name) centered on the dark card */
.work-logo { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: clamp(30px, 4vw, 60px); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.work-logo img { max-width: 60%; max-height: 42%; width: auto; height: auto; object-fit: contain; opacity: 0.96; }
.work-card.feature .work-logo img { max-width: 48%; max-height: 36%; }
.work-name { font-family: var(--font-p); font-weight: 700; font-size: clamp(22px, 2.4vw, 40px); letter-spacing: -0.02em; color: var(--white); text-align: center; }
.work-card.feature .work-name { font-size: clamp(30px, 3.6vw, 58px); }
.work-card:hover .work-logo { opacity: 0; transform: scale(0.96); }
/* on hover: the text reveals */
.work-meta { position: relative; z-index: 1; padding: clamp(22px, 2.6vw, 40px); color: var(--white); opacity: 0; transform: translateY(10px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.work-card:hover .work-meta { opacity: 1; transform: translateY(0); }
.work-meta .row { display: flex; gap: 10px; align-items: center; font-family: var(--font-d); font-weight: 500; font-size: clamp(10px,0.85vw,12px); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 10px; }
.work-meta .row .dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.5); }
.work-meta h3 { font-family: var(--font-p); font-weight: 700; font-size: clamp(20px, 2vw, 34px); line-height: 1.05; }
.work-card.feature .work-meta h3 { font-size: clamp(28px, 3.4vw, 52px); }
.work-meta p { font-family: var(--font-p); font-size: clamp(13px, 1vw, 16px); color: rgba(255,255,255,0.78); line-height: 1.55; margin-top: 10px; max-width: 46ch; }
.work-arrow { position: absolute; top: clamp(18px,2vw,28px); right: clamp(18px,2vw,28px); width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; transition: background 0.4s, color 0.4s, transform 0.4s var(--ease); z-index: 2; }
.work-card:hover .work-arrow { background: #fff; color: var(--ink); transform: rotate(-45deg); }
/* touch devices can't hover: logo up top, text always visible below */
@media (hover: none) {
  .work-logo { align-items: flex-start; padding-top: clamp(28px,7vw,44px); opacity: 0.92; }
  .work-logo img { max-height: 28%; }
  .work-card.feature .work-logo img { max-height: 24%; }
  .work-card:hover .work-logo { opacity: 0.92; transform: none; }
  .work-meta { opacity: 1; transform: none; }
}

/* ---------- Capabilities bento (dark) ---------- */
.cap-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.6vw, 20px); }
.cap { border: 1px solid var(--d-line); border-radius: var(--r); padding: clamp(26px, 3vw, 44px); display: flex; flex-direction: column; gap: 12px; transition: transform 0.45s var(--ease), background 0.4s; background: var(--black); }
.cap:hover { transform: translateY(-5px); background: var(--black-2); }
.cap-1 { grid-column: span 7; grid-row: span 2; justify-content: space-between; }
.cap-2 { grid-column: span 5; }
.cap-3 { grid-column: span 5; }
.cap-4 { grid-column: span 4; }
.cap-5 { grid-column: span 4; }
.cap-6 { grid-column: span 4; }
.cap .n { font-family: var(--font-d); font-weight: 600; font-size: clamp(13px,1vw,15px); letter-spacing: 0.18em; text-transform: uppercase; color: var(--d-gray); }
.cap h3 { font-family: var(--font-p); font-weight: 700; font-size: clamp(22px, 2.2vw, 32px); color: var(--d-text); line-height: 1.06; }
.cap-1 h3 { font-size: clamp(30px, 3.4vw, 50px); }
.cap p { font-family: var(--font-p); font-size: clamp(14px, 1.1vw, 16px); color: var(--d-gray); line-height: 1.62; max-width: 52ch; }
.cap-1 .big-n { font-family: var(--font-d); font-weight: 600; font-size: clamp(90px, 13vw, 190px); line-height: 0.8; color: #fff; opacity: 0.08; }
.cap .deliv { font-family: var(--font-d); font-weight: 500; font-size: clamp(11px, 0.85vw, 13px); letter-spacing: 0.12em; text-transform: uppercase; color: var(--d-gray); line-height: 1.7; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--d-line); }

/* ---------- Meaning ---------- */
.meaning-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.glyph-card { background: transparent; border: none; border-radius: 0; aspect-ratio: 4/5; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; overflow: visible; box-shadow: none; }
.glyph-card::before { display: none; }
.glyph { font-family: var(--font-d); font-weight: 700; font-size: clamp(170px, 25vw, 350px); line-height: 0.8; color: var(--ink); position: relative; transform: translateY(-0.28em); }
.glyph-sub { font-family: var(--font-d); font-weight: 500; font-size: clamp(12px,1vw,15px); letter-spacing: 0.24em; text-transform: uppercase; color: var(--gray); margin-top: 8px; position: relative; }
.meaning h2 { margin-bottom: clamp(24px, 3.5vh, 40px); }
.pillars { display: flex; flex-direction: column; gap: clamp(20px, 2.6vh, 32px); }
.pillar { padding-left: clamp(16px, 2vw, 26px); border-left: 2px solid var(--ink); }
.pillar .n { font-family: var(--font-d); font-weight: 600; font-size: clamp(12px,1vw,14px); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray); }
.pillar h4 { font-family: var(--font-p); font-weight: 700; font-size: clamp(18px, 1.8vw, 24px); margin: 6px 0 8px; }
.pillar p { font-family: var(--font-p); font-size: clamp(14px, 1.1vw, 16px); color: var(--gray); line-height: 1.6; max-width: 48ch; }

/* ---------- Arc ---------- */
.arc { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(16px, 2vw, 30px); position: relative; }
.arc::before { content:''; position:absolute; top: clamp(16px,2vw,24px); left: 6%; right: 6%; height: 1px; background: linear-gradient(to right, transparent, var(--line) 18%, var(--line) 82%, transparent); }
.arc-step { position: relative; }
.arc-dot { width: clamp(34px,4vw,48px); height: clamp(34px,4vw,48px); border-radius: 50%; border: 1px solid var(--line); background: var(--paper); display: flex; align-items: center; justify-content: center; font-family: var(--font-d); font-weight: 600; font-size: clamp(14px,1.2vw,18px); color: var(--ink); margin-bottom: clamp(20px,3vh,34px); }
.arc-step h4 { font-family: var(--font-p); font-weight: 700; font-size: clamp(17px, 1.5vw, 22px); margin-bottom: 4px; }
.arc-step .s { font-family: var(--font-d); font-weight: 500; font-size: clamp(10px,0.8vw,12px); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray); margin-bottom: 14px; }
.arc-step p { font-family: var(--font-p); font-size: clamp(13px, 1vw, 15px); color: var(--gray); line-height: 1.6; }

/* ---------- Engagement (dark) ---------- */
.eng-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 26px); }
.eng { border: 1px solid var(--d-line); border-radius: 28px; padding: clamp(32px, 3.6vw, 56px); display: flex; flex-direction: column; gap: 18px; transition: transform 0.45s var(--ease), background 0.4s; }
.eng:hover { transform: translateY(-5px); background: var(--black-2); }
.eng .tag { font-family: var(--font-d); font-weight: 600; font-size: clamp(11px,0.9vw,13px); letter-spacing: 0.2em; text-transform: uppercase; color: var(--d-gray); }
.eng h3 { font-family: var(--font-p); font-weight: 700; font-size: clamp(30px, 3.6vw, 54px); color: var(--d-text); line-height: 0.98; }
.eng p { font-family: var(--font-p); font-size: clamp(14px, 1.15vw, 17px); color: var(--d-gray); line-height: 1.66; max-width: 42ch; }
.eng-meta { margin-top: auto; padding-top: clamp(20px, 3vh, 32px); border-top: 1px solid var(--d-line); }
.eng-meta .l { font-family: var(--font-d); font-weight: 500; font-size: clamp(10px,0.82vw,12px); letter-spacing: 0.18em; text-transform: uppercase; color: var(--d-gray); margin-bottom: 6px; }
.eng-meta .v { font-family: var(--font-d); font-weight: 600; font-size: clamp(26px, 2.8vw, 40px); color: var(--d-text); letter-spacing: 0.03em; }

/* ---------- Council ---------- */
.fnd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 26px); }
.fnd { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 3.2vw, 48px); display: flex; gap: clamp(20px, 2.6vw, 36px); align-items: center; transition: transform 0.45s var(--ease), box-shadow 0.45s; }
.fnd:hover { transform: translateY(-5px); box-shadow: 0 24px 60px -32px rgba(0,0,0,0.18); }
.fnd-photo { width: clamp(96px, 12vw, 150px); height: clamp(96px, 12vw, 150px); border-radius: 20px; object-fit: cover; flex-shrink: 0; background: var(--paper); filter: grayscale(1) contrast(1.02); }
.fnd h3 { font-family: var(--font-p); font-weight: 700; font-size: clamp(26px, 3vw, 44px); line-height: 1; margin-bottom: 8px; }
.fnd .role { font-family: var(--font-d); font-weight: 500; font-size: clamp(11px, 0.95vw, 14px); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray); margin-bottom: clamp(14px, 2vh, 22px); }
.fnd .q { font-family: var(--font-p); font-style: italic; font-size: clamp(15px, 1.5vw, 21px); color: var(--ink-soft); line-height: 1.35; }

/* ---------- Contact / footer ---------- */
.contact-eye { font-family: var(--font-d); font-weight: 500; font-size: clamp(13px,1.2vw,18px); letter-spacing: 0.2em; text-transform: uppercase; color: var(--d-gray); margin-bottom: clamp(14px, 2vh, 24px); }
.contact-h { font-size: clamp(52px, 9vw, 150px); margin-bottom: clamp(28px, 4vh, 52px); color: var(--d-text); }
.contact-row { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 72px); align-items: flex-start; }
.cblk .l { font-family: var(--font-d); font-weight: 500; font-size: clamp(10px,0.85vw,12px); letter-spacing: 0.2em; text-transform: uppercase; color: var(--d-gray); margin-bottom: 8px; }
.cblk a, .cblk span { font-family: var(--font-p); font-weight: 700; font-size: clamp(19px, 2vw, 30px); color: var(--d-text); transition: color 0.3s; }
.cblk a:hover { color: var(--d-gray); }
.contact-actions { margin-top: clamp(36px, 5vh, 60px); }

.footer { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 28px; border-top: 1px solid var(--d-line); padding-top: clamp(28px, 3.5vh, 48px); margin-top: clamp(56px, 8vh, 110px); }
.footer-logo { height: clamp(54px, 7vw, 90px); width: auto; }
.f-tag { font-family: var(--font-p); font-size: clamp(11px,0.9vw,13px); color: var(--d-gray); margin-top: 14px; max-width: 30ch; }
.f-right { text-align: right; }
.f-est { font-family: var(--font-d); font-weight: 600; font-size: clamp(26px, 3vw, 40px); letter-spacing: 0.1em; color: var(--d-text); }
.f-loc { font-family: var(--font-d); font-weight: 500; font-size: clamp(10px,0.85vw,12px); letter-spacing: 0.2em; text-transform: uppercase; color: var(--d-gray); margin-top: 4px; }
.f-nav { display: flex; gap: 18px; margin-top: 14px; justify-content: flex-end; flex-wrap: wrap; }
.f-nav a { font-family: var(--font-p); font-size: 13px; color: var(--d-gray); transition: color 0.3s; }
.f-nav a:hover { color: var(--d-text); }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity var(--reveal-dur, 0.9s) var(--ease), transform var(--reveal-dur, 0.9s) var(--ease); }
.rv.in { opacity: 1; transform: none; }
html:not(.js) .rv { opacity: 1; transform: none; }

/* ============================================================
   WORK PAGE
   ============================================================ */
.work-hero { padding: calc(var(--nav-h) + clamp(60px,12vh,140px)) 0 clamp(50px,8vh,100px); }
.work-hero .overline { margin-bottom: clamp(20px,3vh,32px); }
.work-hero h1 { max-width: 16ch; margin-bottom: clamp(22px,3vh,34px); }
.work-hero .lede { font-size: clamp(17px,1.6vw,22px); max-width: 620px; }
.work-hero .back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-p); font-weight: 500; font-size: 14px; color: var(--gray); margin-bottom: clamp(28px,4vh,44px); transition: gap 0.3s var(--ease), color 0.3s; }
.work-hero .back:hover { gap: 12px; color: var(--ink); }

.case { padding: clamp(50px, 8vh, 100px) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 24px); }
.case:target h2 { animation: caseFlash 1.6s var(--ease); }
@keyframes caseFlash { 0% { color: var(--gray); } 35% { color: var(--ink); } 100% { color: var(--ink); } }
.case-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.case-link:nth-child(even) .case-grid { direction: rtl; }
.case-link:nth-child(even) .case-grid > * { direction: ltr; }
.case-visual { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4/3; position: relative; border: 1px solid var(--line); background: radial-gradient(120% 120% at 30% 20%, var(--black-3), var(--black)); display: flex; align-items: center; justify-content: center; }
.case-visual img { width: 100%; height: 100%; object-fit: cover; }
.case-visual .ph-label { font-family: var(--font-d); font-weight: 600; font-size: clamp(14px,1.4vw,20px); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.22); text-align: center; padding: 24px; }
.case-visual .ph-tag { position: absolute; font-family: var(--font-d); font-weight: 600; font-size: clamp(60px, 10vw, 160px); color: rgba(255,255,255,0.05); letter-spacing: 0.04em; }
.case-index { font-family: var(--font-d); font-weight: 600; font-size: clamp(14px,1.2vw,17px); letter-spacing: 0.2em; color: var(--gray); margin-bottom: 16px; }
.case h2 { font-size: clamp(30px, 4vw, 56px); margin-bottom: 14px; }
.case .meta-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 20px 0 24px; }
.case .meta-row .m .k { font-family: var(--font-d); font-weight: 500; font-size: clamp(10px,0.82vw,12px); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray); }
.case .meta-row .m .v { font-family: var(--font-p); font-weight: 600; font-size: clamp(13px,1.05vw,15px); color: var(--ink); margin-top: 3px; }
.case p { font-family: var(--font-p); font-size: clamp(15px, 1.25vw, 18px); color: var(--ink-soft); line-height: 1.65; max-width: 50ch; }
.case .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.case .chip { font-family: var(--font-d); font-weight: 500; font-size: clamp(11px,0.9vw,13px); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 980px; padding: 7px 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .work-card.feature { grid-column: span 12; grid-row: span 1; min-height: clamp(320px,46vh,460px); }
  .work-card.half, .work-card.third { grid-column: span 6; }
  .cap-1 { grid-column: span 12; grid-row: span 1; }
  .cap-2, .cap-3 { grid-column: span 6; }
  .cap-4, .cap-5, .cap-6 { grid-column: span 4; }
}
@media (max-width: 900px) {
  .contrast { grid-template-columns: 1fr; }
  .ct-a, .ct-b, .ct-us { grid-column: span 1; }
  .stat.big, .stat.s4, .stat.s3 { grid-column: span 6; }
  .meaning-grid { grid-template-columns: 1fr; gap: 44px; }
  .glyph-card { aspect-ratio: 16/10; max-width: 460px; }
  .arc { grid-template-columns: 1fr 1fr; gap: 32px; }
  .arc::before { display: none; }
  .eng-grid, .fnd-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; gap: 28px; }
  .case:nth-child(even) .case-grid { direction: ltr; }
  .nav-links { display: none; }
  .footer { flex-direction: column; align-items: flex-start; }
  .f-right { text-align: left; }
  .f-nav { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .work-card.half, .work-card.third, .work-card.wide, .cap-2, .cap-3, .cap-4, .cap-5, .cap-6 { grid-column: span 12; }
  .stat.big, .stat.s4, .stat.s3 { grid-column: span 12; }
  .arc { grid-template-columns: 1fr; }
  .fnd { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* ============================================================
   MENU OVERLAY + HAMBURGER (all pages)
   ============================================================ */
.nav-menu { width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px; background: transparent; border: none; cursor: pointer; color: #fff; transition: color 0.45s; padding: 0; }
nav.scrolled .nav-menu, nav.nav-solid .nav-menu { color: var(--ink); }
.nav-menu span { display: block; height: 1.5px; background: currentColor; transition: width 0.35s var(--ease); }
.nav-menu span:nth-child(1) { width: 24px; }
.nav-menu span:nth-child(2) { width: 16px; }
.nav-menu:hover span:nth-child(2) { width: 24px; }

.menu-overlay { position: fixed; inset: 0; z-index: 300; background: var(--black); color: var(--d-text); display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.55s var(--ease), visibility 0.55s; }
body.menu-open { overflow: hidden; }
body.menu-open .menu-overlay { opacity: 1; visibility: visible; }
.menu-close { position: absolute; top: clamp(14px,2.4vh,24px); right: clamp(20px,5vw,48px); width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--d-line); background: transparent; color: var(--d-text); font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.3s, color 0.3s, transform 0.45s var(--ease); }
.menu-close:hover { background: #fff; color: var(--ink); transform: rotate(90deg); }
.menu-inner { width: 100%; display: flex; flex-direction: column; gap: clamp(40px,7vh,90px); }
.menu-list { list-style: none; display: flex; flex-direction: column; gap: clamp(2px,0.8vh,10px); }
.menu-list li { opacity: 0; transform: translateY(34px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
body.menu-open .menu-list li { opacity: 1; transform: none; }
body.menu-open .menu-list li:nth-child(1) { transition-delay: 0.10s; }
body.menu-open .menu-list li:nth-child(2) { transition-delay: 0.16s; }
body.menu-open .menu-list li:nth-child(3) { transition-delay: 0.22s; }
body.menu-open .menu-list li:nth-child(4) { transition-delay: 0.28s; }
body.menu-open .menu-list li:nth-child(5) { transition-delay: 0.34s; }
.menu-list a { display: inline-flex; align-items: baseline; gap: clamp(14px,1.6vw,26px); font-family: var(--font-p); font-weight: 700; font-size: clamp(40px,8vw,104px); letter-spacing: -0.025em; line-height: 1.04; color: var(--d-gray); transition: color 0.35s, padding-left 0.45s var(--ease); }
.menu-list a:hover { color: #fff; padding-left: clamp(8px,1vw,18px); }
.menu-list a[aria-current="page"] { color: var(--d-text); }
.menu-list .idx { font-family: var(--font-d); font-weight: 500; font-size: clamp(13px,1.1vw,17px); letter-spacing: 0.2em; color: var(--d-gray); }
.menu-foot { display: flex; flex-wrap: wrap; gap: clamp(24px,4vw,64px); border-top: 1px solid var(--d-line); padding-top: clamp(20px,3vh,32px); opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease) 0.42s, transform 0.6s var(--ease) 0.42s; }
body.menu-open .menu-foot { opacity: 1; transform: none; }
.menu-foot-blk .l { font-family: var(--font-d); font-weight: 500; font-size: clamp(10px,0.85vw,12px); letter-spacing: 0.2em; text-transform: uppercase; color: var(--d-gray); display: block; margin-bottom: 8px; }
.menu-foot-blk a, .menu-foot-blk span { font-family: var(--font-p); font-weight: 600; font-size: clamp(14px,1.2vw,18px); color: var(--d-text); }
.menu-foot-blk a { transition: color 0.3s; }
.menu-foot-blk a:hover { color: var(--d-gray); }
.menu-social { display: flex; gap: 16px; }

/* ============================================================
   STUDIO — values bento
   ============================================================ */
.values { display: grid; grid-template-columns: repeat(12,1fr); gap: clamp(14px,1.6vw,20px); }
.value { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(26px,3vw,44px); background: var(--white); display: flex; flex-direction: column; gap: 12px; transition: transform 0.45s var(--ease), box-shadow 0.45s; }
.value:hover { transform: translateY(-5px); box-shadow: 0 24px 60px -32px rgba(0,0,0,0.16); }
.value.w8 { grid-column: span 8; } .value.w6 { grid-column: span 6; } .value.w4 { grid-column: span 4; }
.value .vn { font-family: var(--font-d); font-weight: 600; font-size: clamp(12px,1vw,14px); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray); }
.value h3 { font-family: var(--font-p); font-weight: 700; font-size: clamp(22px,2.4vw,34px); line-height: 1.05; }
.value p { font-family: var(--font-p); font-size: clamp(14px,1.1vw,16px); color: var(--gray); line-height: 1.62; }
.value .big-q { font-family: var(--font-p); font-style: italic; font-weight: 700; font-size: clamp(26px,3.4vw,50px); line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }

/* ============================================================
   INSIGHTS
   ============================================================ */
.posts { display: grid; grid-template-columns: repeat(12,1fr); gap: clamp(16px,2vw,24px); }
.post { grid-column: span 4; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white); transition: transform 0.45s var(--ease), box-shadow 0.45s; }
.post:hover { transform: translateY(-6px); box-shadow: 0 30px 70px -36px rgba(0,0,0,0.26); }
.post.feature { grid-column: span 8; grid-row: span 2; }
.post-thumb { aspect-ratio: 16/10; background: radial-gradient(120% 120% at 30% 20%, var(--black-3), var(--black)); position: relative; overflow: hidden; }
.post.feature .post-thumb { aspect-ratio: 16/9; }
.post-thumb .cat { position: absolute; top: 16px; left: 16px; font-family: var(--font-d); font-weight: 600; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--d-text); background: rgba(0,0,0,0.45); border: 1px solid var(--d-line); padding: 6px 12px; border-radius: 980px; }
.post-thumb .ph-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-d); font-weight: 600; font-size: clamp(40px,6vw,120px); color: rgba(255,255,255,0.06); }
.post-body { padding: clamp(22px,2.4vw,34px); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-meta { font-family: var(--font-d); font-weight: 500; font-size: clamp(11px,0.9vw,13px); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray); }
.post h3 { font-family: var(--font-p); font-weight: 700; font-size: clamp(19px,1.7vw,26px); line-height: 1.15; }
.post.feature h3 { font-size: clamp(26px,2.8vw,42px); }
.post p { font-family: var(--font-p); font-size: clamp(14px,1.05vw,16px); color: var(--gray); line-height: 1.6; }
.post .more { margin-top: auto; padding-top: 8px; }

.subscribe { border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(32px,4vw,64px); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; background: var(--paper); }
.subscribe h3 { font-family: var(--font-p); font-weight: 700; font-size: clamp(24px,3vw,42px); letter-spacing: -0.02em; max-width: 18ch; line-height: 1.08; }
.subscribe form { display: flex; gap: 10px; flex-wrap: wrap; }
.subscribe input { font-family: var(--font-p); font-size: 15px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 980px; background: var(--white); min-width: 240px; }
.subscribe input:focus { outline: none; border-color: var(--ink); }

/* ============================================================
   ARTICLE
   ============================================================ */
.article { max-width: 760px; margin: 0 auto; padding: calc(var(--nav-h) + clamp(40px,8vh,90px)) clamp(20px,5vw,40px) 0; }
.article .back { display: inline-flex; gap: 8px; font-size: 14px; color: var(--gray); margin-bottom: clamp(24px,4vh,40px); transition: gap 0.3s var(--ease), color 0.3s; }
.article .back:hover { gap: 12px; color: var(--ink); }
.article .a-meta { font-family: var(--font-d); font-weight: 500; font-size: clamp(12px,1vw,14px); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray); margin-bottom: 18px; }
.article h1 { font-family: var(--font-p); font-weight: 700; font-size: clamp(34px,5vw,64px); letter-spacing: -0.025em; line-height: 1.05; margin-bottom: clamp(20px,3vh,32px); }
.article .lede { font-size: clamp(18px,1.6vw,23px); color: var(--ink-soft); line-height: 1.5; margin-bottom: clamp(28px,4vh,44px); }
.article .a-hero { aspect-ratio: 16/9; border-radius: var(--r); background: radial-gradient(120% 120% at 30% 20%, var(--black-3), var(--black)); margin-bottom: clamp(36px,5vh,56px); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.12); font-family: var(--font-d); letter-spacing: 0.2em; text-transform: uppercase; font-size: clamp(13px,1.2vw,16px); }
.article-body p { font-family: var(--font-p); font-size: clamp(16px,1.3vw,19px); color: var(--ink-soft); line-height: 1.75; margin-bottom: 1.4em; }
.article-body h2 { font-family: var(--font-p); font-weight: 700; font-size: clamp(24px,2.6vw,36px); letter-spacing: -0.02em; margin: 1.6em 0 0.6em; }
.article-body blockquote { border-left: 2px solid var(--ink); padding-left: clamp(18px,2vw,28px); margin: 1.6em 0; font-style: italic; font-size: clamp(20px,2vw,28px); line-height: 1.4; color: var(--ink); }
.article-body ul { margin: 0 0 1.4em 1.2em; }
.article-body li { font-family: var(--font-p); font-size: clamp(16px,1.3vw,19px); color: var(--ink-soft); line-height: 1.7; margin-bottom: 0.5em; }
.article-foot { border-top: 1px solid var(--line); margin-top: clamp(40px,6vh,72px); padding: clamp(28px,4vh,44px) 0 clamp(60px,9vh,110px); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px,6vw,90px); align-items: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px,2vw,22px); }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: clamp(16px,2.4vh,24px); }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-d); font-weight: 500; font-size: clamp(11px,0.9vw,13px); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray); }
.field input, .field select, .field textarea { font-family: var(--font-p); font-size: clamp(15px,1.1vw,16px); color: var(--ink); padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--white); transition: border-color 0.3s; width: 100%; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.form-status { font-family: var(--font-p); font-size: 14px; color: var(--gray); margin-top: 6px; min-height: 18px; }
.contact-side-blk { margin-bottom: clamp(24px,3vh,38px); }
.contact-side-blk .l { font-family: var(--font-d); font-weight: 500; font-size: clamp(10px,0.85vw,12px); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray); margin-bottom: 8px; }
.contact-side-blk a, .contact-side-blk p { font-family: var(--font-p); font-weight: 700; font-size: clamp(18px,1.8vw,26px); color: var(--ink); line-height: 1.3; }
.contact-side-blk a { transition: color 0.3s; }
.contact-side-blk a:hover { color: var(--gray); }
.contact-side-blk p.small { font-weight: 400; font-size: clamp(14px,1.1vw,16px); color: var(--gray); }

/* FAQ accordion */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: transparent; border: none; cursor: pointer; padding: clamp(20px,2.6vh,30px) 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--font-p); font-weight: 700; font-size: clamp(17px,1.7vw,24px); color: var(--ink); }
.faq-q .ic { flex-shrink: 0; width: 24px; height: 24px; position: relative; }
.faq-q .ic::before, .faq-q .ic::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--ink); }
.faq-q .ic::before { width: 14px; height: 1.5px; }
.faq-q .ic::after { width: 1.5px; height: 14px; transition: transform 0.35s var(--ease); }
.faq-item.open .faq-q .ic::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq-a-inner { padding-bottom: clamp(20px,2.6vh,30px); font-family: var(--font-p); font-size: clamp(15px,1.2vw,17px); color: var(--gray); line-height: 1.7; max-width: 64ch; }

/* ============================================================
   New responsive
   ============================================================ */
@media (max-width: 1024px) {
  .post.feature { grid-column: span 12; grid-row: span 1; }
  .post { grid-column: span 6; }
  .value.w8 { grid-column: span 12; } .value.w6 { grid-column: span 6; } .value.w4 { grid-column: span 6; }
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .value.w8, .value.w6, .value.w4 { grid-column: span 12; }
  .post, .post.feature { grid-column: span 12; }
  .form-row { grid-template-columns: 1fr; }
  .subscribe { flex-direction: column; align-items: flex-start; }
  .menu-list a { font-size: clamp(34px,9vw,64px); }
}

/* ============================================================
   PAGE TRANSITION CURTAIN
   ============================================================ */
.page-fx { position: fixed; inset: 0; z-index: 500; background: var(--black); transform: translateY(-100%); pointer-events: none; will-change: transform; animation: pfxReveal var(--transition-speed, 0.3s) var(--ease) both; }
@keyframes pfxReveal { from { transform: translateY(0); } to { transform: translateY(-100%); } }

/* ============================================================
   WORK INDEX — clickable case rows (square = client, heading = service)
   ============================================================ */
.case-link { display: block; color: inherit; }
.case-visual { transition: transform 0.5s var(--ease), box-shadow 0.5s; }
.case-link:hover .case-visual { transform: translateY(-5px); box-shadow: 0 30px 70px -36px rgba(0,0,0,0.32); }
.case-link:hover .case-service { color: var(--ink-soft); }
.client-logo { max-width: 54%; max-height: 42%; opacity: 0.95; }
/* Logos use the dedicated white files (no invert). This override beats the
   `.case-visual img { object-fit: cover }` rule so logos scale to fit (contain),
   at natural aspect ratio, never cropped or skewed. */
.case-visual .client-logo, .proj-visual .client-logo { width: auto; height: auto; object-fit: contain; }
.client-name { font-family: var(--font-p); font-weight: 700; font-size: clamp(28px,3.6vw,54px); letter-spacing: -0.02em; color: var(--d-text); text-align: center; padding: 0 24px; line-height: 1.04; }
.case-eyebrow { font-family: var(--font-d); font-weight: 500; font-size: clamp(11px,0.95vw,13px); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray); margin-bottom: 14px; }
.case-service { transition: color 0.3s; }
.case-view { margin-top: 22px; }

/* ============================================================
   PROJECT DETAIL (twokind-style)
   ============================================================ */
.proj-hero { padding: calc(var(--nav-h) + clamp(48px,9vh,110px)) 0 clamp(28px,4vh,48px); }
.proj-hero .client { display: inline-flex; align-items: center; gap: 14px; margin-bottom: clamp(18px,2.6vh,30px); }
.proj-hero .client .logo { height: clamp(22px,2.4vw,34px); width: auto; }
.proj-hero .client .nm { font-family: var(--font-d); font-weight: 600; font-size: clamp(13px,1.2vw,16px); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray); }
.proj-hero h1 { font-size: clamp(40px,6.5vw,104px); max-width: 15ch; margin-bottom: clamp(20px,3vh,30px); }
.proj-hero .lede { font-size: clamp(17px,1.6vw,23px); max-width: 640px; }

.proj-visual { aspect-ratio: 16/9; border-radius: var(--r-l); overflow: hidden; position: relative; border: 1px solid var(--line); background: radial-gradient(120% 120% at 30% 20%, var(--black-3), var(--black)); display: flex; align-items: center; justify-content: center; margin-top: clamp(24px,4vh,44px); }
.proj-visual .client-logo { max-width: 34%; max-height: 42%; }
.proj-visual .client-name { font-size: clamp(40px,6.5vw,104px); }
.proj-visual .ph-note { position: absolute; bottom: 18px; right: 22px; font-family: var(--font-d); font-size: clamp(10px,0.9vw,12px); letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.28); }

.proj-meta { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(16px,2vw,28px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(24px,3.5vh,40px) 0; }
.proj-meta .m .k { font-family: var(--font-d); font-weight: 500; font-size: clamp(10px,0.85vw,12px); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray); margin-bottom: 8px; }
.proj-meta .m .v { font-family: var(--font-p); font-weight: 600; font-size: clamp(14px,1.15vw,17px); color: var(--ink); line-height: 1.35; }

.proj-block { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px,5vw,80px); padding: clamp(48px,8vh,96px) 0; border-bottom: 1px solid var(--line); }
.proj-block .bk { font-family: var(--font-d); font-weight: 600; font-size: clamp(13px,1.2vw,16px); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray); }
.proj-block h2 { font-size: clamp(26px,3vw,46px); margin-top: 10px; }
.proj-block p { font-family: var(--font-p); font-size: clamp(15px,1.25vw,18px); color: var(--ink-soft); line-height: 1.7; margin-bottom: 1em; }
.proj-block .deliv-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.proj-block .deliv-list li { font-family: var(--font-d); font-weight: 500; font-size: clamp(11px,0.9vw,13px); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 980px; padding: 7px 14px; }

.proj-gallery { columns: 3 300px; column-gap: clamp(12px,1.5vw,18px); padding: clamp(48px,8vh,96px) 0; }
.gal { break-inside: avoid; margin: 0 0 clamp(12px,1.5vw,18px); border-radius: var(--r-s); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.gal img { width: 100%; height: auto; display: block; transition: transform 0.6s var(--ease); }
.gal:hover img { transform: scale(1.03); }
.gal.placeholder { display: flex; align-items: center; justify-content: center; min-height: 220px; background: radial-gradient(120% 120% at 30% 20%, var(--black-3), var(--black)); color: rgba(255,255,255,0.12); font-family: var(--font-d); letter-spacing: 0.18em; text-transform: uppercase; font-size: clamp(11px,1vw,14px); }

.proj-next { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px,1.6vw,22px); padding-top: clamp(40px,6vh,72px); }
.next-card { border: 1px solid var(--d-line); border-radius: var(--r); padding: clamp(28px,3.4vw,48px); display: flex; flex-direction: column; gap: 10px; transition: background 0.4s, transform 0.45s var(--ease); background: var(--black); }
.next-card:hover { background: var(--black-2); transform: translateY(-4px); }
.next-card .k { font-family: var(--font-d); font-weight: 500; font-size: clamp(10px,0.85vw,12px); letter-spacing: 0.2em; text-transform: uppercase; color: var(--d-gray); }
.next-card .cl { font-family: var(--font-d); font-weight: 500; font-size: clamp(12px,1vw,14px); letter-spacing: 0.14em; text-transform: uppercase; color: var(--d-gray); }
.next-card h3 { font-family: var(--font-p); font-weight: 700; font-size: clamp(22px,2.4vw,36px); color: var(--d-text); line-height: 1.05; }

@media (max-width: 900px) {
  .proj-meta { grid-template-columns: 1fr 1fr; }
  .proj-block { grid-template-columns: 1fr; gap: 18px; }
  .proj-next { grid-template-columns: 1fr; }
}

/* ============================================================
   TESTIMONIALS — scrolling 3-column wall
   ============================================================ */
.tw-cols { display: grid; grid-template-columns: 1fr; gap: clamp(16px,2vw,24px); max-height: clamp(560px,80vh,760px); overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent); }
.tw-col { min-width: 0; }
.tw-col:nth-child(2), .tw-col:nth-child(3) { display: none; }
.tw-col-inner { display: flex; flex-direction: column; gap: clamp(16px,2vw,24px); animation: twScroll var(--tw-dur, 34s) linear infinite; will-change: transform; }
.tw-cols:hover .tw-col-inner { animation-play-state: paused; }
@keyframes twScroll { to { transform: translateY(-50%); } }
.tw-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(26px,3vw,38px); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.tw-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -32px rgba(0,0,0,0.18); }
.tw-card blockquote { margin: 0; }
.tw-card p { font-family: var(--font-p); font-size: clamp(15px,1.15vw,17px); color: var(--ink-soft); line-height: 1.62; margin: 0; }
.tw-foot { display: flex; align-items: center; gap: 14px; margin-top: clamp(20px,2.5vh,28px); }
.tw-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--paper); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--font-d); font-weight: 600; font-size: 18px; color: var(--ink); }
.tw-name { font-family: var(--font-p); font-weight: 700; font-size: clamp(14px,1.1vw,16px); color: var(--ink); }
.tw-role { font-family: var(--font-d); font-weight: 500; font-size: clamp(11px,0.9vw,13px); letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray); margin-top: 3px; }
@media (min-width: 768px) { .tw-cols { grid-template-columns: 1fr 1fr; } .tw-col:nth-child(2) { display: block; } }
@media (min-width: 1100px) { .tw-cols { grid-template-columns: 1fr 1fr 1fr; } .tw-col:nth-child(3) { display: block; } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .rv { opacity: 1 !important; transform: none !important; }
  .mq-track { animation: none !important; }
  body.menu-open .menu-list li, body.menu-open .menu-foot { transition: none; }
  .page-fx { display: none; }
  .tw-col-inner { animation: none !important; }
  .tw-cols { max-height: none; overflow: visible; -webkit-mask-image: none; mask-image: none; }
}

/* ============================================================
   LEGAL PAGES · FORM CONSENT · FOOTER LEGAL
   ============================================================ */
.article-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); transition: text-decoration-color 0.3s; }
.article-body a:hover { text-decoration-color: var(--ink); }
.article-body strong { font-weight: 700; color: var(--ink); }
.article-body h3 { font-family: var(--font-p); font-weight: 700; font-size: clamp(18px,1.6vw,22px); letter-spacing: -0.01em; margin: 1.4em 0 0.4em; }
.legal .fill { background: #fff2b8; color: #5a4a00; padding: 1px 6px; border-radius: 4px; font-weight: 600; }

/* contact form privacy notice */
.form-consent { font-family: var(--font-p); font-size: clamp(12px,1vw,13px); line-height: 1.5; color: var(--gray); margin: 4px 0 18px; max-width: 54ch; }
.form-consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

/* newsletter consent checkbox */
.consent-check { flex-basis: 100%; display: flex; align-items: flex-start; gap: 10px; margin-top: 4px; cursor: pointer; }
.consent-check input { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--ink); }
.consent-check span { font-family: var(--font-p); font-size: clamp(12px,1vw,13px); line-height: 1.5; color: var(--gray); max-width: 46ch; }
.consent-check a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

/* footer legal row */
.f-legal { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: clamp(36px,5vh,56px); padding-top: clamp(20px,3vh,28px); border-top: 1px solid rgba(255,255,255,0.1); }
.f-legal > span { font-family: var(--font-p); font-size: clamp(12px,1vw,13px); color: rgba(255,255,255,0.5); }
.f-legal-links { display: flex; gap: 22px; }
.f-legal-links a { color: rgba(255,255,255,0.6); transition: color 0.3s; }
.f-legal-links a:hover { color: #fff; }

/* ============================================================
   ACCESSIBILITY · skip link + keyboard focus
   ============================================================ */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--ink); color: var(--white); padding: 12px 20px; border-radius: 0 0 10px 0; font-family: var(--font-d); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 13px; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 3px; }
:focus:not(:focus-visible) { outline: none; }

/* ============================================================
   REPOSITIONING · hero support line · engagement cards · 5-up work grid
   ============================================================ */
.hero-support { font-family: var(--font-p); font-weight: 400; font-size: clamp(14px,1.15vw,17px); line-height: 1.55; color: var(--d-gray); opacity: 0.8; max-width: 62ch; margin: clamp(10px,1.4vh,16px) auto 0; animation: heroUp 1.0s var(--ease) 0.95s both; }
.tw-cap { font-family: var(--font-p); font-weight: 700; font-size: clamp(16px,1.25vw,19px); color: var(--ink); line-height: 1.28; margin-bottom: 10px; }
.work-card.wide { grid-column: span 6; }
@media (max-width: 860px) { .work-card.wide { grid-column: span 12; } }

/* founder bio + portfolio link (About council) */
.fnd-bio { font-family: var(--font-p); font-size: clamp(13px,1.05vw,15px); color: var(--gray); line-height: 1.6; margin-top: 14px; max-width: 46ch; }
.fnd-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-family: var(--font-d); font-weight: 600; font-size: clamp(12px,1vw,14px); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); transition: gap 0.3s var(--ease); }
.fnd-link:hover { gap: 12px; }

/* ============================================================
   MENTOR RESTRUCTURE · minimal hero · icon offerings · flow
   ============================================================ */

/* Hero — wordmark + single tagline */
.hero-tagline { font-family: var(--font-p); font-weight: 400; font-size: clamp(19px, 3vw, 34px); letter-spacing: -0.01em; line-height: 1.2; color: rgba(245,245,247,0.82); margin-top: clamp(20px, 3vh, 34px); opacity: 1; animation: heroUp 1.0s var(--ease) 0.85s both; }

/* Home work preview (grid removed → preview + CTA) */
.work-preview { max-width: 58ch; }
.work-preview-cta { margin-top: clamp(28px, 4vh, 44px); }

/* Home "What we offer" — icon tile + rotating arrow, line revealed on hover */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 20px); }
.offer { position: relative; border: 1px solid var(--d-line); border-radius: var(--r); padding: clamp(24px, 2.8vw, 38px); display: flex; flex-direction: column; gap: clamp(18px, 2.4vw, 30px); background: var(--black-2); min-height: clamp(196px, 24vh, 250px); transition: transform 0.5s var(--ease), background 0.4s, border-color 0.4s; overflow: hidden; }
.offer:hover { transform: translateY(-6px); background: var(--black-3); border-color: rgba(255,255,255,0.22); }
.offer-head { display: flex; align-items: center; justify-content: space-between; }
.offer-ic { width: clamp(50px, 5.2vw, 62px); height: clamp(50px, 5.2vw, 62px); border-radius: 15px; border: 1px solid var(--d-line); display: inline-flex; align-items: center; justify-content: center; color: var(--d-text); transition: border-color 0.4s, background 0.4s; }
.offer-ic svg { width: 50%; height: auto; }
.offer:hover .offer-ic { border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.04); }
.offer-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); display: inline-flex; align-items: center; justify-content: center; color: var(--d-text); flex-shrink: 0; transition: background 0.4s, color 0.4s, transform 0.45s var(--ease); }
.offer:hover .offer-arrow { background: #fff; color: var(--ink); transform: rotate(-45deg); }
.offer-body { margin-top: auto; }
.offer-body h3 { font-family: var(--font-p); font-weight: 700; font-size: clamp(21px, 2.2vw, 30px); color: var(--d-text); line-height: 1.05; }
.offer-body p { font-family: var(--font-p); font-size: clamp(13px, 1.05vw, 15px); color: var(--d-gray); line-height: 1.55; max-height: 0; opacity: 0; overflow: hidden; transform: translateY(6px); transition: max-height 0.5s var(--ease), opacity 0.4s, transform 0.45s var(--ease); }
.offer:hover .offer-body p { max-height: 120px; opacity: 1; transform: translateY(0); margin-top: 10px; }
@media (hover: none) { .offer-body p { max-height: 200px; opacity: 1; transform: none; margin-top: 10px; } .offer-arrow { transform: rotate(-45deg); background: #fff; color: var(--ink); } }
@media (max-width: 900px) { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .offer-grid { grid-template-columns: 1fr; } .offer { min-height: 0; } }

/* Home "How we work" — animated connected journey (draws in on scroll) */
.journey { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 1.8vw, 26px); padding-top: clamp(8px, 1.4vh, 16px); }
.journey-step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.journey-line { position: absolute; top: calc(clamp(8px, 1.4vh, 16px) + clamp(60px, 6.6vw, 80px) / 2); left: 10%; right: 10%; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.journey-line-fill { position: absolute; inset: 0; background: var(--ink); transform-origin: left center; }
.journey-line-fill.rv { opacity: 1; transform: scaleX(0); transition: transform 1s var(--ease); }
.journey-line-fill.rv.in { transform: scaleX(1); }
.journey-node { position: relative; width: clamp(60px, 6.6vw, 80px); height: clamp(60px, 6.6vw, 80px); border-radius: 50%; background: var(--paper); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); margin-bottom: clamp(18px, 2.4vh, 28px); transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s; z-index: 1; }
.journey-step:hover .journey-node { transform: translateY(-4px); border-color: var(--ink); box-shadow: 0 18px 40px -22px rgba(0,0,0,0.22); }
.journey-ic { display: inline-flex; }
.journey-ic svg { width: clamp(26px, 3vw, 34px); height: auto; }
.journey-num { position: absolute; top: -5px; right: -5px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-d); font-weight: 600; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.journey-step h4 { font-family: var(--font-p); font-weight: 700; font-size: clamp(17px, 1.6vw, 22px); margin-bottom: 8px; }
.journey-step p { font-family: var(--font-p); font-size: clamp(13px, 1vw, 15px); color: var(--gray); line-height: 1.55; max-width: 22ch; }
@media (max-width: 760px) {
  .journey { grid-template-columns: 1fr; gap: clamp(22px, 5vw, 32px); padding-top: 0; }
  .journey-step { flex-direction: row; align-items: flex-start; text-align: left; gap: clamp(16px, 4vw, 22px); }
  .journey-node { margin-bottom: 0; flex-shrink: 0; width: clamp(56px, 15vw, 68px); height: clamp(56px, 15vw, 68px); }
  .journey-line { top: clamp(28px, 7.5vw, 34px); bottom: clamp(28px, 7.5vw, 34px); left: clamp(27px, 7.5vw, 34px); right: auto; width: 2px; height: auto; }
  .journey-line-fill.rv { transform: scaleY(0); transform-origin: center top; }
  .journey-line-fill.rv.in { transform: scaleY(1); }
  .journey-step p { max-width: none; }
  .journey-step h4 { margin-top: clamp(4px, 2vw, 10px); }
}

/* What-we-offer page — detailed offering rows */
.offer-detail { display: flex; flex-direction: column; gap: clamp(16px, 2.4vw, 30px); }
.offer-row { display: grid; grid-template-columns: clamp(60px, 9vw, 96px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; padding: clamp(28px, 3.6vw, 52px); border: 1px solid var(--line); border-radius: var(--r-l); background: var(--white); scroll-margin-top: 100px; transition: transform 0.45s var(--ease), box-shadow 0.45s; }
.offer-row:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -32px rgba(0,0,0,0.16); }
.offer-row-ic { width: clamp(60px, 8vw, 96px); height: clamp(60px, 8vw, 96px); border-radius: 20px; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; }
.offer-row-ic svg { width: 46%; height: auto; }
.offer-row-n { font-family: var(--font-d); font-weight: 600; font-size: clamp(12px, 1vw, 14px); letter-spacing: 0.2em; color: var(--gray); }
.offer-row-body h2 { font-family: var(--font-p); font-weight: 700; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.02; margin: 8px 0 4px; }
.offer-row-sub { color: var(--gray); font-weight: 600; }
.offer-row-line { font-family: var(--font-p); font-weight: 600; font-size: clamp(16px, 1.5vw, 21px); color: var(--ink); margin-bottom: 12px; }
.offer-row-body > p { font-family: var(--font-p); font-size: clamp(15px, 1.2vw, 17px); color: var(--ink-soft); line-height: 1.65; max-width: 60ch; }
.offer-deliv { font-family: var(--font-d); font-weight: 500; font-size: clamp(11px, 0.9vw, 13px); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); line-height: 1.8; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 640px) { .offer-row { grid-template-columns: 1fr; gap: 18px; } }
