/* ============================================================
   Illusion Studio — main stylesheet
   Dark, cinematic, tan-accented. Ported from the DC prototype.
   ============================================================ */

:root {
  --bg: #151210;
  --bg2: #1d1915;
  --cream: #efe7d6;
  --muted: #8f8578;
  --faint: #6a6357;
  --line: rgba(239, 231, 214, 0.13);
  --line2: rgba(239, 231, 214, 0.07);
  --tan: #d6b083;
  --disp: 'Bricolage Grotesque', sans-serif;
  --body: 'Archivo', sans-serif;
  --maxw: min(1280px, 94vw);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  font-family: var(--body);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
button { font-family: inherit; }
input, textarea, select { font-family: inherit; }
::selection { background: var(--tan); color: #171310; }

/* ---------------- keyframes ---------------- */

@keyframes bgdrift1 { 0%,100% { transform: translate(0,0) scale(1);} 50% { transform: translate(7vw,5vh) scale(1.18);} }
@keyframes bgdrift2 { 0%,100% { transform: translate(0,0) scale(1.12);} 50% { transform: translate(-6vw,-4vh) scale(1);} }
@keyframes bgdrift3 { 0%,100% { transform: translate(0,0) scale(1);} 50% { transform: translate(5vw,-6vh) scale(1.1);} }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-6%,4%)} 40%{transform:translate(5%,-5%)} 60%{transform:translate(-3%,6%)} 80%{transform:translate(6%,-2%)} 100%{transform:translate(0,0)} }
@keyframes floaty { 0%,100% { transform: translate(0,0) rotate(var(--r,0deg)); } 50% { transform: translate(0,-7px) rotate(calc(var(--r,0deg) + 1.4deg)); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px);} to { opacity: 1; transform: none;} }
@keyframes pulseDot { 0%,100% { opacity:.35; transform:scale(.85);} 50% { opacity:1; transform:scale(1.15);} }

/* ---------------- atmosphere ---------------- */

.atmosphere { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.atmosphere .blob1 {
  position: absolute; top: -20%; left: -10%; width: 70vw; height: 70vw; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(214,120,60,.16), transparent 62%);
  filter: blur(30px); animation: bgdrift1 26s ease-in-out infinite;
}
.atmosphere .blob2 {
  position: absolute; bottom: -25%; left: -5%; width: 60vw; height: 60vw; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(180,50,40,.14), transparent 60%);
  filter: blur(36px); animation: bgdrift2 32s ease-in-out infinite;
}
.atmosphere .blob3 {
  position: absolute; top: 20%; right: -15%; width: 55vw; height: 55vw; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(60,90,150,.12), transparent 62%);
  filter: blur(38px); animation: bgdrift3 38s ease-in-out infinite;
}
.atmosphere .grain {
  position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: .05; mix-blend-mode: overlay; animation: grain 1.2s steps(4) infinite;
}

.page-shell { position: relative; min-height: 100vh; overflow: hidden; }
main { position: relative; z-index: 2; animation: rise .5s ease both; }

/* ---------------- header ---------------- */

.site-header {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(14px);
  background: rgba(21,18,16,.62);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  width: min(1320px, 96vw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px clamp(16px, 3vw, 34px);
}
.logo {
  cursor: pointer; font-family: var(--disp); font-weight: 800;
  font-size: 19px; line-height: .92; letter-spacing: -.02em;
}
.main-nav { display: flex; gap: clamp(18px, 2.4vw, 42px); align-items: center; font-size: 13px; letter-spacing: .01em; }
.main-nav a { opacity: .85; }
.main-nav a.active { color: var(--tan); opacity: 1; }

.menu-btn {
  display: none; cursor: pointer; border: 1px solid var(--line);
  background: var(--cream); color: #171310; border-radius: 999px;
  padding: 9px 18px; font-weight: 600; font-size: 13px;
}

/* mobile menu overlay — blooms open from the menu button */
.mobile-menu {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(15,13,11,.97); backdrop-filter: blur(10px);
  display: flex; flex-direction: column;
  padding: 22px clamp(20px, 6vw, 40px);
  clip-path: circle(0px at calc(100% - 58px) 44px);
  visibility: hidden; pointer-events: none;
  transition: clip-path .65s cubic-bezier(.7, 0, .3, 1), visibility 0s .65s;
}
.mobile-menu.open {
  clip-path: circle(150% at calc(100% - 58px) 44px);
  visibility: visible; pointer-events: auto;
  transition: clip-path .65s cubic-bezier(.7, 0, .3, 1);
}
.mobile-menu .top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu .close-btn {
  cursor: pointer; border: 1px solid var(--line); background: transparent;
  color: var(--cream); border-radius: 999px; padding: 9px 18px; font-weight: 600; font-size: 13px;
}
.mobile-menu nav {
  margin: auto 0; display: flex; flex-direction: column; gap: 6px;
  font-family: var(--disp); font-weight: 800; font-size: 12vw; line-height: 1.04; letter-spacing: -.03em;
  counter-reset: mi;
}
.mobile-menu nav a {
  counter-increment: mi;
  display: flex; align-items: baseline; gap: 16px;
  opacity: 0; transform: translateY(36px) skewY(2.5deg);
  transition: opacity .4s ease, transform .55s cubic-bezier(.22, .9, .32, 1.12), color .2s;
}
.mobile-menu nav a::before {
  content: counter(mi, decimal-leading-zero);
  font-family: var(--body); font-weight: 600; font-size: 13px;
  color: var(--tan); letter-spacing: .04em;
}
.mobile-menu nav a:active { color: var(--tan); }
.mobile-menu.open nav a { opacity: 1; transform: none; }
.mobile-menu.open nav a:nth-child(1) { transition-delay: .16s; }
.mobile-menu.open nav a:nth-child(2) { transition-delay: .22s; }
.mobile-menu.open nav a:nth-child(3) { transition-delay: .28s; }
.mobile-menu.open nav a:nth-child(4) { transition-delay: .34s; }
.mobile-menu.open nav a:nth-child(5) { transition-delay: .40s; }
.mobile-menu.open nav a:nth-child(6) { transition-delay: .46s; }
.mobile-menu .meta {
  display: flex; gap: 20px; font-size: 14px; color: var(--muted);
  opacity: 0; transform: translateY(14px);
  transition: opacity .45s ease, transform .45s ease;
}
.mobile-menu.open .meta { opacity: 1; transform: none; transition-delay: .55s; }
.mobile-menu .top { opacity: 0; transition: opacity .35s ease; }
.mobile-menu.open .top { opacity: 1; transition-delay: .1s; }

@media (max-width: 819px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-block; }
}

/* ---------------- shared layout ---------------- */

.wrap { width: var(--maxw); margin-left: auto; margin-right: auto; }
.section { margin-top: clamp(60px, 9vw, 120px); }
.section-lg { margin-top: clamp(80px, 11vw, 150px); }
.section-sm { margin-top: clamp(30px, 5vw, 70px); }

.eyebrow { font-size: 13px; color: var(--tan); letter-spacing: .08em; text-transform: uppercase; }
.page-title {
  margin: 14px 0 0; font-family: var(--disp); font-weight: 800;
  font-size: clamp(44px, 8vw, 120px); line-height: .86; letter-spacing: -.035em;
}
.page-intro { margin: 20px 0 0; max-width: 560px; font-size: 16px; line-height: 1.7; color: var(--muted); }
.accent { color: var(--tan); }

/* ---------------- hero ---------------- */

.hero {
  position: relative; overflow: hidden; width: 100%;
  min-height: clamp(520px, 80vh, 780px);
}
.hero-fan {
  position: absolute; inset: 0; z-index: 1; cursor: grab; touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
}
.hero-fan:active { cursor: grabbing; }
.hero-card {
  position: absolute; top: 0; left: 0; width: 150px; aspect-ratio: 4/5;
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 22px 48px rgba(0,0,0,.55); will-change: transform;
}
.hero-card.polaroid { border: 6px solid var(--cream); border-bottom-width: 20px; }
.hero-badge {
  position: absolute; top: 0; left: 0; transform: translate(-50%,-50%);
  width: clamp(74px, 6.4vw, 98px); aspect-ratio: 1; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 40% 34%, #f2e5c8, #d3b98d 58%, #8a6b45);
  color: #2a1c10; font-size: clamp(11px, 1vw, 13px); font-weight: 600;
  text-align: center; line-height: 1.15;
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
  will-change: left, top; z-index: 1900; pointer-events: none;
  opacity: .78;
  transition: opacity .35s ease, transform .35s ease;
}
.hero-badge.following {
  opacity: .9;
  transform: translate(-50%,-50%) scale(1.07);
}
.hero-shade {
  position: absolute; inset: 0; z-index: 1500; pointer-events: none;
  background: radial-gradient(66% 92% at 78% 42%, rgba(21,18,16,.92), rgba(21,18,16,.55) 44%, transparent 72%);
}
.hero-copy {
  position: relative; z-index: 2000; width: min(1320px, 96vw); margin: 0 auto;
  padding: clamp(20px, 4vw, 44px) clamp(16px, 3vw, 34px) 0;
  pointer-events: none; display: flex; flex-direction: column;
  align-items: flex-end; text-align: right;
}
.hero-copy h1 {
  margin: 0; font-family: var(--disp); font-weight: 800;
  font-size: clamp(52px, 10.5vw, 152px); line-height: .86; letter-spacing: -.035em;
}
.hero-reel {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted); pointer-events: auto;
  text-shadow: 0 1px 10px rgba(21,18,16,.95);
}
.hero-reel .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tan); animation: pulseDot 2.2s ease-in-out infinite; }
.hero-copy p {
  margin: 16px 0 0; max-width: 440px; font-size: 14px; line-height: 1.6; color: #cfc6b6;
  text-shadow: 0 1px 10px rgba(21,18,16,.95), 0 0 4px rgba(21,18,16,.85);
}

/* two cream blocks side by side: [→] [let's talk] — like the reference */
.btn-primary {
  pointer-events: auto; cursor: pointer; border: none;
  background: transparent; padding: 0;
  display: inline-flex; align-items: stretch; gap: 8px;
}
.btn-primary .arrow {
  display: flex; align-items: center; justify-content: center;
  width: 54px; border-radius: 10px;
  background: #f4e4ca; color: #171310;
  transition: background .25s, transform .25s;
}
.btn-primary .arrow svg { display: block; }
.btn-primary .txt {
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px; padding: 15px 26px;
  background: #f4e4ca; color: #171310;
  font-family: var(--body); font-weight: 700; font-size: 17px; letter-spacing: -.01em;
  line-height: 1;
  transition: background .25s;
}
.btn-primary:hover .arrow { background: #fff3db; transform: translateX(3px); }
.btn-primary:hover .txt { background: #fff3db; }
.hero-copy .btn-primary { margin-top: clamp(20px, 3vw, 30px); }

/* mobile hero strip */
.hero-strip-outer { display: none; }

@media (max-width: 819px) {
  .hero { min-height: 0; padding-bottom: clamp(24px, 6vw, 40px); }
  .hero-fan-desktop, .hero-shade { display: none; }
  .hero-copy { align-items: flex-start; text-align: left; }
  .hero-copy p { text-shadow: none; }
  .hero-copy .btn-primary { margin-top: 26px; }

  /* strip sits in normal flow: heading → text → strip → button */
  .hero-strip-outer {
    display: block; position: relative; width: 100%;
    margin-top: 28px; overflow: hidden; pointer-events: auto;
    border-radius: 14px;
  }
  .hero-strip-pad {
    cursor: grab; touch-action: pan-y;
    user-select: none; -webkit-user-select: none;
  }
  .hero-strip { display: flex; gap: 12px; will-change: transform; }
  .hero-strip > div {
    flex: none; width: 44vw; aspect-ratio: 3/4; border-radius: 12px;
    box-shadow: 0 14px 30px rgba(0,0,0,.45);
    background-size: cover; background-position: center;
  }
  .hero-badge-mobile {
    position: absolute; left: 64%; top: 50%;
    transform: translate(-50%,-50%); width: 74px; aspect-ratio: 1; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 40% 34%, #f2e5c8, #d3b98d 58%, #8a6b45);
    color: #2a1c10; font-size: 12px; font-weight: 600; text-align: center; line-height: 1.15;
    box-shadow: 0 12px 30px rgba(0,0,0,.45); z-index: 5; pointer-events: none;
    will-change: left, top;
    opacity: .78;
    transition: opacity .35s ease, transform .35s ease;
  }
  .hero-badge-mobile.following {
    opacity: .9;
    transform: translate(-50%,-50%) scale(1.07);
  }
}
@media (min-width: 820px) { .hero-badge-mobile { display: none; } }

/* ---------------- home sections ---------------- */

/* "what you see is just the beginning" — single narrow column, like the reference */
.beginning { max-width: 620px; }
.beginning h2 {
  margin: 0 0 22px; font-family: var(--disp); font-weight: 800;
  font-size: clamp(26px, 3.2vw, 44px); line-height: 1.04; letter-spacing: -.02em;
}
.beginning p { margin: 0 0 16px; font-size: 15px; line-height: 1.7; color: var(--muted); }
@media (min-width: 820px) { .beginning { margin-left: 24%; } }
.link-tan { cursor: pointer; border-bottom: 1px solid var(--tan); padding-bottom: 2px; font-weight: 600; }
.link-muted { cursor: pointer; font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--line); }

/* partners strip on home */
.partners-home { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(24px, 3vw, 44px); align-items: start; }
.partners-home .lead { max-width: 300px; }
.partners-home .lead p {
  margin: 0 0 22px; font-weight: 600;
  font-size: 15px; line-height: 1.55; letter-spacing: 0;
}
.partners-home .grid-cell { grid-column: span 2; min-width: 0; }
.partner-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 819px) {
  .partner-tiles { grid-template-columns: 1fr; }
  .partner-tile { aspect-ratio: 16/6.5; }
}
.partner-tile {
  cursor: pointer; aspect-ratio: 16/9; border: 1px solid var(--line); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(239,231,214,.02); transition: background .25s, border-color .25s;
}
.partner-tile:hover { background: rgba(239,231,214,.06); border-color: rgba(239,231,214,.3); }
.partner-tile .wordmark { color: #cfc6b6; }

/* imagination band */
.imagine { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(28px, 4vw, 56px); align-items: center; }
.imagine .statement {
  margin: 0; font-family: var(--disp); font-weight: 700;
  font-size: clamp(24px, 3.2vw, 40px); line-height: 1.15; letter-spacing: -.02em;
  color: var(--muted);
}
.imagine .statement .hl { color: var(--cream); transition: color .45s ease; }
/* once the deck picks a card, only its phrase stays lit */
.imagine .statement.has-active .hl { color: #756c5e; }
.imagine .statement.has-active .hl.active { color: var(--tan); }

/* ---- interactive deck ---- */
.imagine-deck {
  position: relative; height: clamp(320px, 36vw, 440px);
  cursor: grab; touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
}
.imagine-deck:active { cursor: grabbing; }
.deck-card {
  position: absolute; left: 20%; top: 4%; width: 54%; aspect-ratio: 3/4;
  border-radius: 12px;
  transition: transform .5s cubic-bezier(.22, .9, .32, 1.15), filter .5s ease, opacity .4s ease;
  will-change: transform;
}
.deck-img {
  position: absolute; inset: 0; border-radius: inherit;
  background-size: cover; background-position: center;
  box-shadow: 0 20px 44px rgba(0,0,0,.5);
  /* the constant, barely-there breathing */
  animation: bobtiny 4.6s ease-in-out infinite;
}
.deck-card:nth-child(2) .deck-img { animation-duration: 5.3s; animation-delay: .6s; }
.deck-card:nth-child(3) .deck-img { animation-duration: 4.1s; animation-delay: 1.1s; }
.deck-card:nth-child(4) .deck-img { animation-duration: 5.8s; animation-delay: .3s; }
@keyframes bobtiny {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
/* stack positions: 0 = front */
.deck-card[data-pos="0"] { transform: translate(-12%, 3%) rotate(-5deg); filter: brightness(1); }
.deck-card[data-pos="1"] { transform: translate(14%, -5%) rotate(6deg) scale(.94); filter: brightness(.8); }
.deck-card[data-pos="2"] { transform: translate(-1%, -13%) rotate(-2deg) scale(.9); filter: brightness(.62); }
.deck-card[data-pos="3"] { transform: translate(5%, 12%) rotate(3deg) scale(.88); filter: brightness(.55); }
.deck-card[data-pos="4"] { transform: translate(0, 0) scale(.85); filter: brightness(.5); opacity: 0; }
/* front card being thrown to the back (mobile swipe / click) */
.deck-card.flying { transform: translate(78%, -2%) rotate(15deg) scale(.96) !important; }
.imagine .link-muted { display: inline-block; margin-top: 26px; }
.float-stack { position: relative; height: clamp(300px, 34vw, 420px); }
.float-stack .card {
  position: absolute; border-radius: 10px;
  box-shadow: 0 20px 44px rgba(0,0,0,.5);
  animation: floaty 8s ease-in-out infinite;
}
.float-stack .c1 { --r: -8deg; left: 6%; top: 6%; width: 52%; aspect-ratio: 3/4; }
.float-stack .c2 { --r: 6deg; right: 4%; top: 0; width: 48%; aspect-ratio: 3/4; animation-duration: 7.2s; animation-delay: .5s; }
.float-stack .c3 { --r: 4deg; left: 20%; bottom: 2%; width: 54%; aspect-ratio: 4/3; animation-duration: 8.6s; animation-delay: .3s; }

/* selected works header */
.works-head {
  display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px;
  border-bottom: 1px solid var(--line); padding-bottom: 22px;
}
.works-head h2 {
  margin: 0; font-family: var(--disp); font-weight: 800;
  font-size: clamp(34px, 5vw, 66px); line-height: .9; letter-spacing: -.03em;
}
.works-head p { margin: 10px 0 0; font-size: 14px; color: var(--muted); max-width: 340px; }
@media (max-width: 819px) {
  .works-head > div { width: 100%; }
  .works-head h2 { text-align: right; }
}

/* work cards */
.work-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.work-card { cursor: pointer; display: block; }
.work-card .art {
  aspect-ratio: 4/5; border-radius: 12px; overflow: hidden; position: relative;
  background-size: cover; background-position: center;
}
.work-card .art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.35)); mix-blend-mode: multiply;
}
.chip {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(21,18,16,.65); backdrop-filter: blur(4px);
  padding: 5px 10px; border-radius: 999px; color: #e9dfca;
}
.work-card .caption { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; gap: 10px; }
.work-card .title { font-family: var(--disp); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.work-card .client { font-size: 12.5px; color: var(--faint); margin-top: 2px; }
.work-card .year { font-size: 12px; color: var(--muted); }

/* big closer on home */
.closer { text-align: center; }
.closer h2 {
  margin: 0; font-family: var(--disp); font-weight: 800;
  font-size: clamp(48px, 10vw, 150px); line-height: .82; letter-spacing: -.04em;
}
.closer p {
  margin: clamp(20px, 3vw, 36px) auto 0; max-width: 640px;
  font-size: clamp(15px, 1.8vw, 20px); line-height: 1.55; color: var(--muted);
}

/* ---------------- about ---------------- */

.about-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(24px, 3vw, 50px); margin-top: clamp(28px, 4vw, 54px); }
.about-cols p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--muted); }

.about-banner {
  margin-top: clamp(40px, 5vw, 70px); height: clamp(220px, 30vw, 420px);
  border-radius: 16px; overflow: hidden; position: relative;
  background: linear-gradient(120deg, #7a2410, #c85a2a 45%, #12233b);
}
.about-banner::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.14), transparent 40%),
              radial-gradient(circle at 80% 70%, rgba(0,0,0,.4), transparent 50%);
}

.stat-grid { margin-top: clamp(50px, 7vw, 100px); display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.stat { border-top: 1px solid var(--line); padding-top: 18px; }
.stat .value { font-family: var(--disp); font-weight: 800; font-size: clamp(38px, 5vw, 64px); line-height: .9; letter-spacing: -.02em; }
.stat .label { margin-top: 8px; font-size: 13.5px; color: var(--muted); }

.h2-block { margin: 0 0 32px; font-family: var(--disp); font-weight: 800; font-size: clamp(28px, 4vw, 50px); letter-spacing: -.02em; }

.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.process-card { border: 1px solid var(--line); border-radius: 14px; padding: 26px; background: rgba(239,231,214,.02); }
.process-card .num { font-family: var(--disp); font-weight: 800; font-size: 24px; color: var(--tan); }
.process-card .title { margin-top: 14px; font-family: var(--disp); font-weight: 700; font-size: 20px; }
.process-card p { margin: 10px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.team-card .portrait {
  aspect-ratio: 3/4; border-radius: 12px; position: relative; overflow: hidden;
  background-size: cover; background-position: center;
}
.team-card .portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.4)); }
.team-card .name { margin-top: 12px; font-family: var(--disp); font-weight: 700; font-size: 18px; }
.team-card .role { font-size: 13px; color: var(--faint); }

/* ---------------- partners page ---------------- */

.partner-grid { margin-top: clamp(30px, 4vw, 54px); display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.partner-card {
  cursor: pointer; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: rgba(239,231,214,.02); transition: border-color .25s, background .25s;
}
.partner-card:hover { border-color: rgba(239,231,214,.32); background: rgba(239,231,214,.05); }
.partner-card .mark { aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); }
.partner-card .mark .wordmark { font-size: clamp(22px, 3vw, 34px); color: #cfc6b6; }
.partner-card .foot { padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; }
.partner-card .sector { font-size: 13.5px; color: var(--muted); }
.partner-card .count { font-size: 13px; color: var(--tan); }

/* partner detail */
.back-link { cursor: pointer; font-size: 13.5px; color: var(--muted); }
.partner-head {
  margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: flex-end; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 28px;
}
.partner-head h1 { margin: 0; font-size: clamp(44px, 8vw, 110px); line-height: .86; letter-spacing: -.02em; }
.partner-head .blurb { max-width: 360px; }
.partner-head .blurb p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--muted); }
.partner-meta { margin-top: 14px; display: flex; gap: 26px; flex-wrap: wrap; font-size: 13.5px; color: var(--faint); }

.partner-works { margin-top: clamp(30px, 4vw, 54px); display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(16px, 2vw, 26px); }
.partner-work .art {
  aspect-ratio: 16/11; border-radius: 14px; overflow: hidden; position: relative;
  background-size: cover; background-position: center;
}
.partner-work .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.4)); }
.partner-work .title { margin-top: 14px; font-family: var(--disp); font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
.partner-work p { margin: 6px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ---------------- work detail ---------------- */

.work-tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: baseline; }
.work-tags .cat { font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--tan); }
.work-tags .meta { font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); }
.work-title { margin: 12px 0 0; font-family: var(--disp); font-weight: 800; font-size: clamp(40px, 7vw, 104px); line-height: .88; letter-spacing: -.03em; }
.work-lead { margin: 20px 0 0; max-width: 640px; font-size: clamp(16px, 2vw, 21px); line-height: 1.5; color: var(--cream); }

.work-hero {
  margin-top: clamp(30px, 4vw, 56px); aspect-ratio: 16/8; border-radius: 18px;
  overflow: hidden; position: relative; background-size: cover; background-position: center;
}
.work-hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 25% 25%, rgba(255,255,255,.12), transparent 42%),
              linear-gradient(180deg, transparent 60%, rgba(0,0,0,.35));
}

.work-body { margin-top: clamp(40px, 5vw, 80px); display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(24px, 4vw, 60px); align-items: start; }
.work-meta { display: flex; flex-direction: column; gap: 20px; }
.work-meta .row { border-top: 1px solid var(--line); padding-top: 14px; }
.work-meta .k { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); }
.work-meta .v { margin-top: 6px; font-size: 15px; }
.work-text { grid-column: span 2; min-width: 0; }
.work-text p { margin: 0 0 18px; font-size: 16px; line-height: 1.75; color: var(--muted); }

.work-gallery { margin-top: clamp(30px, 4vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.work-gallery .g {
  aspect-ratio: 1/1; border-radius: 14px; position: relative; overflow: hidden;
  background-size: cover; background-position: center;
}
.work-gallery .g::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255,255,255,.08), transparent 45%); }

.work-next {
  margin-top: clamp(40px, 5vw, 80px); border-top: 1px solid var(--line); padding-top: 30px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.work-next .label { font-size: 13px; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
.work-next a { cursor: pointer; font-family: var(--disp); font-weight: 800; font-size: clamp(26px, 4vw, 46px); letter-spacing: -.02em; }

/* ---------------- portfolio filters ---------------- */

.filter-bar { margin-top: clamp(26px, 3vw, 42px); display: flex; gap: 10px; flex-wrap: wrap; }
.filter-pill {
  cursor: pointer; border: 1px solid var(--line); background: transparent; color: var(--cream);
  border-radius: 999px; padding: 9px 18px; font-size: 13.5px; font-weight: 500; transition: all .2s;
  display: inline-block;
}
.filter-pill:hover { border-color: rgba(239,231,214,.4); }
.filter-pill.active { background: var(--cream); color: #171310; border-color: var(--cream); }

/* ---------------- services ---------------- */

.service-list { margin-top: clamp(30px, 4vw, 54px); border-top: 1px solid var(--line); }
.service-row {
  display: grid; grid-template-columns: 60px 1fr; gap: clamp(16px, 3vw, 40px);
  padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); align-items: start;
}
.service-row .num { font-family: var(--disp); font-weight: 800; font-size: 18px; color: var(--tan); }
.service-row .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(12px, 2vw, 32px); }
.service-row h3 { margin: 0; font-family: var(--disp); font-weight: 700; font-size: clamp(24px, 3.4vw, 44px); line-height: 1; letter-spacing: -.02em; }
.service-row .desc { margin: 0; font-size: 15px; line-height: 1.7; color: var(--muted); }
.service-row .tags { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.service-row .tag { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 12px; color: var(--muted); }

/* ---------------- contact ---------------- */

.form-tabs { margin-top: clamp(24px, 3vw, 40px); display: flex; gap: 10px; flex-wrap: wrap; }
.form-tab {
  cursor: pointer; border: 1px solid var(--line); background: transparent; color: var(--cream);
  border-radius: 999px; padding: 11px 20px; font-size: 14px; font-weight: 600; transition: all .2s;
  display: inline-block;
}
.form-tab.active { background: var(--tan); color: #231708; border-color: var(--tan); }

.contact-cols { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(28px, 4vw, 60px); align-items: start; }
.contact-info h2 { margin: 0; font-family: var(--disp); font-weight: 700; font-size: clamp(22px, 3vw, 34px); line-height: 1.1; letter-spacing: -.02em; }
.contact-info > p { margin: 12px 0 0; font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 360px; }
.contact-details { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; font-size: 14px; color: var(--muted); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label {
  display: flex; flex-direction: column; gap: 7px;
  font-size: 12.5px; color: var(--faint); text-transform: uppercase; letter-spacing: .05em;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(239,231,214,.03); border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 14px; color: var(--cream); font-size: 15px;
  text-transform: none; letter-spacing: 0;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--tan); outline: none;
}
.contact-form select option { background: var(--bg2); }
.contact-form .btn-primary { align-self: flex-start; }
.contact-form .errors { color: #ff8a6a; font-size: 13px; margin: 0; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.sent-panel {
  border: 1px solid var(--tan); border-radius: 16px;
  padding: clamp(28px, 4vw, 48px); background: rgba(214,176,131,.06);
}
.sent-panel .headline { font-family: var(--disp); font-weight: 800; font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.02em; }
.sent-panel p { margin: 14px 0 0; font-size: 15px; line-height: 1.7; color: var(--muted); }
.btn-ghost {
  margin-top: 24px; cursor: pointer; border: 1px solid var(--line); background: transparent;
  color: var(--cream); border-radius: 999px; padding: 12px 22px; font-weight: 600; font-size: 14px;
  display: inline-block;
}

/* ---------------- CTA band ---------------- */

.cta-band { position: relative; z-index: 2; }
.cta-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(24px, 3vw, 50px); align-items: start;
  border-top: 1px solid var(--line); padding-top: clamp(30px, 4vw, 50px);
}
.cta-grid h2 { margin: 0; font-family: var(--disp); font-weight: 800; font-size: clamp(26px, 3vw, 40px); line-height: .98; letter-spacing: -.02em; }
.cta-grid .sub { margin: 16px 0 0; max-width: 280px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.cta-links { grid-column: span 2; min-width: 0; }
.cta-link {
  cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--line); padding: clamp(14px, 1.8vw, 22px) 0; transition: padding-left .25s;
}
.cta-link:hover { padding-left: 16px; }
.cta-link .label { font-family: var(--disp); font-weight: 600; font-size: clamp(18px, 2.2vw, 28px); letter-spacing: -.01em; color: #d8cfbd; }
.cta-link:hover .label { color: #fff; }
.cta-link .thumb {
  width: clamp(84px, 9vw, 118px); aspect-ratio: 16/10; flex: none;
  border-radius: 10px; background-size: cover; background-position: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
}

/* ---------------- footer ---------------- */

.site-footer { position: relative; z-index: 2; padding-bottom: 20px; }
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(28px, 4vw, 60px); border-top: 1px solid var(--line); padding-top: clamp(34px, 4vw, 54px);
}
.footer-grid h2 { margin: 0; font-family: var(--disp); font-weight: 800; font-size: clamp(28px, 3.6vw, 48px); line-height: .98; letter-spacing: -.03em; }
.footer-grid .addr { margin-top: 22px; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.footer-grid .col-title { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
.footer-grid .links { margin-top: 16px; display: flex; flex-direction: column; gap: 11px; font-size: 15px; }

.footer-glow {
  position: relative; margin-top: clamp(30px, 4vw, 54px); overflow: hidden;
  border-top: 1px solid var(--line2); padding-top: 10px;
  --mx: -999px; --my: -999px;
}
.footer-glow .base {
  font-family: var(--disp); font-weight: 800; font-size: clamp(24px, 10vw, 150px);
  line-height: .8; letter-spacing: -.03em; color: rgba(239,231,214,.07); white-space: nowrap;
}
.footer-glow .shine {
  position: absolute; left: 0; top: 0; right: 0; padding-top: 10px; pointer-events: none;
  font-family: var(--disp); font-weight: 800; font-size: clamp(24px, 10vw, 150px);
  line-height: .8; letter-spacing: -.03em; white-space: nowrap;
  background: radial-gradient(closest-side circle at 50% 42%, #fff6e6, #f0d9b0 30%, #d6b083 60%, #a07b4e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-mask-image: radial-gradient(circle 190px at var(--mx) var(--my), #000 0%, rgba(0,0,0,.55) 48%, transparent 72%);
  mask-image: radial-gradient(circle 190px at var(--mx) var(--my), #000 0%, rgba(0,0,0,.55) 48%, transparent 72%);
}
.footer-bottom {
  margin-top: 14px; display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 10px; font-size: 12px; color: var(--faint);
}
