/* Check Creative — shared stylesheet */
:root {
  --black: #000;
  --white: #fff;
  --orange: #ec5613;
  --yellow: #e8a548;
  --blue: #477ada;
  --peach: #f2a583;
  --gray: #e6e6e6;

  --bg: var(--black);
  --fg: var(--white);
  --card: var(--orange);
  --card-fg: var(--black);
  --rule: rgba(255, 255, 255, .85);

  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Arial Black", "Archivo Black", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Times New Roman", Times, "Tinos", serif;
  --font-mono: "Azeret Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 2vw, 24px);
  --max: 1440px;
  --section-y: clamp(64px, 8vw, 112px);
  --radius: 24px;
}

/* Page themes */
body[data-theme="black"]  { --bg: var(--black);  --fg: var(--white); --card: var(--orange); --card-fg: var(--black); }
body[data-theme="orange"] { --bg: var(--orange); --fg: var(--white); --card: var(--peach);  --card-fg: var(--black); }
body[data-theme="yellow"] { --bg: var(--yellow); --fg: var(--white); --card: #edb86f;       --card-fg: var(--black); }
body[data-theme="blue"]   { --bg: var(--blue);   --fg: var(--black); --card: var(--white);  --card-fg: var(--black); --rule: rgba(0,0,0,.85); }
body[data-theme="blue-light"] { --bg: var(--blue); --fg: var(--white); --card: var(--white); --card-fg: var(--black); }
body[data-theme="white"]  { --bg: var(--white);  --fg: var(--black); --card: var(--gray);   --card-fg: var(--black); --rule: rgba(0,0,0,.85); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: #fff; color: #000; padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .6); }

/* Type */
.display { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; line-height: .95; letter-spacing: -.01em; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; line-height: 1.1; }
.mono { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .02em; }
.h-xl { font-size: clamp(56px, 13vw, 200px); }
.h-lg { font-size: clamp(40px, 7vw, 96px); }
.h-md { font-size: clamp(28px, 3.4vw, 44px); }
@media (max-width: 400px) { .h-lg { font-size: clamp(30px, 10.5vw, 40px); } }
.h-sm { font-size: clamp(18px, 1.8vw, 24px); letter-spacing: .02em; }
.lead-serif { font-size: clamp(26px, 2.6vw, 34px); }
.big-serif { font-size: clamp(56px, 9vw, 120px); line-height: 1; }
.prose p + p { margin-top: 1em; }
.prose { max-width: 62ch; }
.prose strong { font-weight: 700; }

/* Section label: thin rule + mono label */
.label { border-top: 1px solid var(--rule); padding-top: 14px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: clamp(40px, 6vw, 72px); }
.label a { text-decoration: none; }
.label a:hover { text-decoration: underline; }
.section-title { font-size: clamp(28px, 3vw, 40px); margin-bottom: clamp(32px, 4vw, 56px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 46px; padding: 0 30px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em;
  text-decoration: none; background: #fff; color: #000; border: 1px solid #fff;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: transparent; color: var(--fg); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--outline { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn--outline:hover { background: var(--fg); color: var(--bg); }
.btn--dark { background: #000; color: #fff; border-color: #000; }
.btn--dark:hover { background: transparent; color: #000; }
body[data-theme="blue"] .btn:not(.btn--outline), body[data-theme="white"] .btn:not(.btn--outline) { background: #000; color: #fff; border-color: #000; }
body[data-theme="blue"] .btn:not(.btn--outline):hover, body[data-theme="white"] .btn:not(.btn--outline):hover { background: transparent; color: #000; }
body .site-header .btn { background: #fff; color: #000; border-color: #fff; }
body .site-header .btn:hover { background: transparent; color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #000; color: #fff; }
.site-header.is-overlay { position: fixed; left: 0; right: 0; background: transparent; transition: background .3s; }
.site-header.is-overlay.is-scrolled { background: #000; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 88px; }
.logo { display: inline-flex; width: 124px; }
.logo img { width: 100%; height: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; align-items: center; }
.nav-item { position: relative; }
.nav-pill {
  display: inline-flex; align-items: center; height: 30px; padding: 0 16px; border-radius: 999px;
  background: #fff; color: #000; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase;
  text-decoration: none; border: 1px solid #fff; transition: background .2s, color .2s; cursor: pointer;
}
.nav-pill:hover, .nav-pill[aria-current="page"] { background: transparent; color: #fff; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  min-width: 260px; background: #000; border: 1px solid rgba(255,255,255,.25); border-radius: 16px; padding: 10px;
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: block; padding: 10px 14px; border-radius: 10px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; text-decoration: none; line-height: 1.4; }
.dropdown a:hover { background: #fff; color: #000; }
.header-cta { justify-self: end; height: 30px; min-height: 30px; padding: 0 16px; }
.menu-toggle { display: none; justify-self: end; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: transform .25s, opacity .25s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; }
@media (max-width: 900px) {
  .header-inner { grid-template-columns: 1fr auto; height: 72px; }
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .logo { width: 104px; }
  .mobile-menu {
    display: block; position: fixed; inset: 72px 0 0 0; background: #000; color: #fff; overflow-y: auto;
    padding: 24px var(--gutter) 48px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s;
  }
  .menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
  .mobile-menu .btn { background: #fff; color: #000; border-color: #fff; }
  .mobile-menu ul { list-style: none; margin: 0; padding: 0; }
  .mobile-menu > ul > li { border-bottom: 1px solid rgba(255,255,255,.2); }
  .mobile-menu a, .mobile-menu summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-family: var(--font-display); font-size: 24px; text-transform: uppercase; text-decoration: none; cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary::after { content: "+"; font-family: var(--font-mono); font-size: 22px; }
  .mobile-menu details[open] summary::after { content: "–"; }
  .mobile-menu details ul { padding-bottom: 12px; }
  .mobile-menu details a { font-family: var(--font-mono); font-size: 14px; min-height: 44px; }
  .mobile-menu .btn { margin-top: 32px; width: 100%; font-size: 13px; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Home hero ---------- */
.hero { padding-top: 88px; background: #000; color: #fff; }
.hero-word { display: flex; align-items: flex-end; justify-content: space-between; gap: 1vw; padding: clamp(24px, 3vw, 40px) 0 clamp(24px, 3vw, 48px); }
.hero-word .letters { flex: 1; display: flex; justify-content: space-between; font-family: var(--font-display); font-weight: 900; font-size: clamp(64px, 14vw, 210px); line-height: .8; }
.hero-word .queen { width: clamp(40px, 7vw, 104px); height: auto; flex: none; }
.hero-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #111; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media .v-mobile { display: none; }
@media (max-width: 700px) {
  .hero-word { gap: 10px; padding: 20px 0 24px; }
  .hero-word .letters { font-size: clamp(44px, 16.5vw, 120px); }
  .hero-word .queen { width: clamp(28px, 9vw, 56px); }
  .hero-media { aspect-ratio: 4 / 5; }
}

/* ---------- Split intro (about us on home, service intros) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--top { align-items: start; }
.split--40 { grid-template-columns: 5fr 7fr; }
@media (max-width: 860px) { .split, .split--40 { grid-template-columns: 1fr; } }

.brand-board .stack { font-size: clamp(56px, 8.5vw, 124px); line-height: 1.02; }
.brand-board .stack .serif { display: block; }
.brand-board .stack .sans { display: block; font-family: var(--font-sans); font-weight: 400; letter-spacing: -.02em; }
.brand-board p { margin: 32px 0 36px; max-width: 34ch; }
.brand-board .media { display: flex; justify-content: center; }
.brand-board .media video, .brand-board .media img { width: min(100%, 520px); aspect-ratio: 454 / 431; object-fit: cover; }

/* ---------- Service tabs ---------- */
.tabs-head { margin-bottom: 40px; }
.tabs-head .serif { font-size: clamp(28px, 3vw, 40px); margin-bottom: 18px; }
.tab-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tab-btn {
  min-height: 34px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--fg); background: transparent;
  font-family: var(--font-sans); font-size: 12px; text-transform: uppercase; letter-spacing: .02em; cursor: pointer; transition: .2s;
}
.tab-btn[aria-selected="true"] { background: var(--fg); color: var(--bg); }
.tab-btn:hover { border-color: var(--fg); opacity: .85; }
.tab-panel { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.tab-panel[hidden] { display: none; }
.tab-panel h3 { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 32px); text-transform: uppercase; letter-spacing: .03em; line-height: 1.1; margin-bottom: 24px; }
.tab-panel p { margin-bottom: 32px; max-width: 46ch; }
.tab-media { aspect-ratio: 16 / 9; overflow: hidden; background: rgba(255,255,255,.08); }
.tab-media video, .tab-media img { width: 100%; height: 100%; object-fit: cover; }
.tab-media--trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; aspect-ratio: auto; background: none; }
.tab-media--trio video, .tab-media--trio img { aspect-ratio: 9 / 16; border-radius: 12px; }
@media (max-width: 860px) { .tab-panel { grid-template-columns: 1fr; } .tab-media { order: -1; } }

/* ---------- Results ---------- */
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.stat-num { font-family: var(--font-display); font-weight: 900; font-size: clamp(56px, 7vw, 96px); line-height: 1; position: relative; display: inline-block; margin-bottom: 18px; }
.stat-num .cover { position: absolute; inset: -4px -6px; transform-origin: top; transform: scaleY(0); transition: transform .9s cubic-bezier(.7,0,.2,1); }
html.js .stat:not(.is-in) .stat-num .cover { transform: scaleY(1); }
.stat:nth-child(1) .cover { background: var(--yellow); }
.stat:nth-child(2) .cover { background: var(--blue); }
.stat:nth-child(3) .cover { background: var(--orange); }
body[data-theme="yellow"] .stat:nth-child(1) .cover { background: var(--orange); }
body[data-theme="orange"] .stat:nth-child(3) .cover, body[data-theme="blue"] .stat:nth-child(2) .cover, body[data-theme="blue-light"] .stat:nth-child(2) .cover { background: #000; }
.stat h3 { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(22px, 2vw, 27px); line-height: 1.15; margin-bottom: 14px; }
@media (max-width: 860px) { .results-grid { grid-template-columns: 1fr; gap: 48px; } }

/* ---------- Who we work with ---------- */
.who-head { text-align: center; margin-bottom: 40px; }
.who-head h2 { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(36px, 4.6vw, 60px); text-transform: uppercase; line-height: 1; }
.who-head p { font-size: 14px; margin-top: 8px; }
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1080px; margin: 0 auto; }
.who-card { background: #fff; color: #000; border-radius: 16px; padding: 36px 22px 32px; text-align: center; font-size: 14px; line-height: 1.75; }
.who-card svg { width: 32px; height: 32px; margin: 0 auto 14px; }
.who-card h3 { font-family: var(--font-sans); font-weight: 700; font-size: 17px; text-transform: uppercase; margin-bottom: 14px; letter-spacing: .02em; }
.hl-o { color: var(--orange); font-weight: 700; }
.hl-y { color: var(--yellow); font-weight: 700; }
.hl-b { color: var(--blue); font-weight: 700; }
.who-cta { display: flex; justify-content: center; margin-top: 40px; }
@media (max-width: 960px) { .who-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .who-grid { grid-template-columns: 1fr; } }

/* ---------- Recommended by (logo marquee) ---------- */
.recommended { background: #fff; color: #000; padding: 0 0 32px; }
.recommended .label { border-color: #000; margin-bottom: 32px; padding-top: 14px; }
.recommended-head { background: var(--bg); color: var(--fg); padding-top: var(--section-y); }
.recommended-head .label { margin-bottom: 0; padding-bottom: 14px; border-color: var(--rule); }
.marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track img { height: clamp(96px, 17vw, 230px); width: auto; max-width: none; padding-right: clamp(24px, 4vw, 64px); }
.recommended .marquee-track { animation-duration: 55s; }
.recommended .marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Testimonials ---------- */
.t-card { position: relative; background: var(--card); color: var(--card-fg); border-radius: var(--radius); min-height: clamp(420px, 44vw, 600px); display: grid; place-items: center; padding: 64px clamp(64px, 10vw, 180px); text-align: center; }
.t-slide { display: none; max-width: 640px; }
.t-slide.is-active { display: block; animation: fade .5s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.t-slide img { width: 24px; margin: 0 auto 22px; filter: invert(1); }
.t-slide blockquote { margin: 0; font-family: var(--font-serif); font-style: italic; font-weight: 700; font-size: clamp(15px, 1.25vw, 17px); line-height: 1.7; }
.t-slide blockquote p + p { margin-top: .8em; }
.t-slide cite { display: block; margin-top: 24px; font-style: normal; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.t-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 32px; border-radius: 999px; border: 1px solid var(--card-fg); background: #fff; color: #000; display: grid; place-items: center; cursor: pointer; transition: .2s; }
.t-arrow:hover { background: #000; color: #fff; border-color: #000; }
.t-arrow svg { width: 18px; height: 18px; }
.t-prev { left: clamp(16px, 2.5vw, 36px); }
.t-next { right: clamp(16px, 2.5vw, 36px); }
.t-dots { position: absolute; bottom: 28px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.t-dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 1px solid var(--card-fg); background: transparent; cursor: pointer; }
.t-dots button[aria-current="true"] { background: var(--card-fg); }
@media (max-width: 640px) {
  .t-card { padding: 56px 24px 96px; }
  .t-arrow { top: auto; bottom: 20px; transform: none; }
  .t-prev { left: 24px; } .t-next { right: 24px; }
  .t-dots { bottom: 32px; }
}

/* ---------- Masonry portfolio ---------- */
.masonry { columns: 3; column-gap: 14px; }
.masonry > * { break-inside: avoid; margin-bottom: 14px; border-radius: 14px; overflow: hidden; background: rgba(127,127,127,.15); }
.masonry img, .masonry video { width: 100%; height: auto; }
@media (max-width: 860px) { .masonry { columns: 2; column-gap: 10px; } .masonry > * { margin-bottom: 10px; } }

/* ---------- Explore tiles ---------- */
.explore-head { background: #fff; color: #000; padding: 40px 0 28px; }
.explore-head .label { border-color: #000; margin-bottom: 24px; }
.explore-head .serif { font-size: clamp(26px, 2.6vw, 34px); }
.explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.explore-tile { position: relative; display: block; aspect-ratio: 379 / 560; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; color: #fff; text-decoration: none; }
.explore-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.explore-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 45%); }
.explore-tile:hover img { transform: scale(1.04); }
.explore-tile .tile-foot { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.explore-tile .tile-foot span { font-family: var(--font-display); font-size: clamp(18px, 1.8vw, 24px); line-height: 1.1; text-transform: uppercase; }
.circle-arrow { flex: none; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; transition: transform .3s; }
.explore-tile:hover .circle-arrow { transform: rotate(-45deg); }
.circle-arrow svg { width: 20px; height: 20px; }
@media (max-width: 760px) { .explore-grid { grid-template-columns: 1fr; gap: 0; } .explore-tile { aspect-ratio: 4 / 3; border-radius: 0; } }

/* ---------- Contact ---------- */
.contact { background: var(--blue); color: #000; padding: var(--section-y) 0; scroll-margin-top: 72px; }
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.contact-form { background: #000; border-radius: 4px; min-height: 600px; padding: 8px; }
.contact-form .form-fallback { color: #fff; padding: 32px; font-size: 14px; }
.contact-form .form-fallback a { color: #fff; }
.contact-art { display: flex; justify-content: center; }
.contact-art img { width: min(100%, 360px); height: auto; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .contact-art { order: -1; } .contact-art img { width: 160px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue); color: #000; padding: 32px 0 28px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) auto minmax(0, 3fr) minmax(0, 3fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.footer-word { font-family: var(--font-display); font-size: clamp(44px, 5.6vw, 84px); line-height: .9; text-transform: uppercase; text-decoration: none; display: block; letter-spacing: -.01em; }
.footer-queen { width: 44px; filter: invert(1); align-self: center; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { border-bottom: 1px solid rgba(0,0,0,.15); }
.footer-nav a, .footer-nav summary { display: flex; justify-content: space-between; align-items: center; min-height: 36px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; text-decoration: none; cursor: pointer; list-style: none; }
.footer-nav summary::-webkit-details-marker { display: none; }
.footer-nav summary::after { content: ""; width: 8px; height: 8px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.footer-nav details[open] summary::after { transform: rotate(-135deg); }
.footer-nav details ul { padding: 0 0 8px 12px; }
.footer-nav details li { border: 0; }
.footer-nav details a { min-height: 32px; font-size: 11px; }
.footer-contact { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; line-height: 1.9; display: grid; gap: 8px; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 48px; font-family: var(--font-mono); font-size: 12px; }
.socials { display: flex; gap: 6px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.socials a:hover { background: rgba(0,0,0,.1); }
.socials svg { width: 22px; height: 22px; }
.footer-bottom .legal { display: flex; gap: 20px; margin-left: auto; }
.footer-bottom .legal a { text-decoration: none; }
.footer-bottom .legal a:hover { text-decoration: underline; }
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .footer-queen { display: none; }
}
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom .legal { margin-left: 0; } }

/* ---------- Inner page heroes ---------- */
.page-top { padding-top: clamp(48px, 7vw, 96px); }
.page-title { font-size: clamp(56px, 12.5vw, 190px); }
.intro-row { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); margin-top: clamp(32px, 4vw, 56px); align-items: start; }
.intro-row .tag { font-family: var(--font-display); font-size: clamp(16px, 1.6vw, 20px); text-transform: uppercase; letter-spacing: .06em; }
.intro-row .tag.serif-tag { font-family: var(--font-serif); font-style: italic; font-weight: 400; text-transform: uppercase; letter-spacing: .3em; font-size: clamp(14px, 1.3vw, 17px); }
.intro-row .prose { max-width: 58ch; }
@media (max-width: 860px) { .intro-row { grid-template-columns: 1fr; gap: 20px; } }

/* About: values rows */
.value-row { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); padding: clamp(48px, 6vw, 88px) 0; }
.value-row h2 { font-size: clamp(24px, 2.4vw, 30px); text-transform: uppercase; }
.value-row .sub { font-size: clamp(18px, 1.6vw, 21px); margin-bottom: 28px; }
@media (max-width: 860px) { .value-row { grid-template-columns: 1fr; gap: 16px; } }

/* Team */
.team-grid { --cols: 4; --gap: clamp(16px, 2vw, 28px); display: flex; flex-wrap: wrap; justify-content: center; gap: calc(var(--gap) * 1.4) var(--gap); }
.team-card { width: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
.team-card .photo { aspect-ratio: 260 / 300; border-radius: 14px; overflow: hidden; background: rgba(0,0,0,.08); }
.team-card img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-family: var(--font-sans); font-weight: 700; font-size: 16px; margin-top: 14px; line-height: 1.3; }
.team-card p { font-size: 13px; line-height: 1.5; margin-top: 2px; }
@media (max-width: 960px) { .team-grid { --cols: 3; } }
@media (max-width: 640px) { .team-grid { --cols: 2; } }

/* Services: checkerboard */
.board { display: grid; grid-template-columns: repeat(4, 1fr); }
.board > * { aspect-ratio: 1 / 1; min-width: 0; }
.board .square li { overflow-wrap: anywhere; }
.board .piece { display: grid; place-items: center; }
.board .piece svg { width: 34%; height: auto; opacity: .38; }
.board .piece--blue { background: var(--blue); }
.board .piece--orange { background: var(--orange); }
.board .piece--yellow { background: var(--yellow); }
.board .piece--blue svg { color: #20448d; }
.board .piece--orange svg { color: #a23400; }
.board .piece--yellow svg { color: #a86b14; }
.board .square { background: #fff; color: #000; padding: clamp(20px, 3vw, 48px) clamp(18px, 2.5vw, 44px); text-decoration: none; display: flex; flex-direction: column; justify-content: center; transition: background .2s; }
.board .square:hover { background: #f3f3f3; }
.board .square h2 { font-family: var(--font-display); font-size: clamp(18px, 2vw, 30px); line-height: 1; text-transform: uppercase; margin-bottom: 16px; }
.board .square ul { list-style: none; margin: 0; padding: 0; font-size: clamp(11px, .95vw, 14px); line-height: 1.6; text-transform: uppercase; }
@media (max-width: 860px) {
  .board { grid-template-columns: repeat(2, 1fr); }
  .board > .r2a { order: 6; } .board > .r2b { order: 5; } .board > .r2c { order: 8; } .board > .r2d { order: 7; }
}

/* Service page marquee */
.marquee-word { overflow: hidden; padding: 12px 0 0; }
.marquee-word .marquee-track { animation-duration: 28s; }
.marquee-word span { font-family: var(--font-serif); font-style: italic; font-size: clamp(56px, 10vw, 150px); line-height: 1.15; padding-right: .4em; white-space: nowrap; }
.service-tag { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; padding-top: 16px; }

.service-intro .media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 536 / 640; background: rgba(0,0,0,.1); }
.service-intro .media img, .service-intro .media video { width: 100%; height: 100%; object-fit: cover; }
.service-intro h1 { font-family: var(--font-display); font-size: clamp(36px, 5vw, 64px); line-height: 1; text-transform: uppercase; margin-bottom: 28px; }
.service-intro .cols-2 { columns: 2; column-gap: 32px; }
.service-intro .cols-2 p { break-inside: avoid-column; }
@media (max-width: 1100px) { .service-intro .cols-2 { columns: 1; } }

/* Playbook */
.playbook { background: #fff; color: #000; }
.playbook .label { border-color: #000; }
.playbook-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.playbook-media { position: sticky; top: 112px; display: grid; gap: 20px; }
.playbook-media > * { border-radius: 4px; overflow: hidden; background: #eee; }
.playbook-media img, .playbook-media video { width: 100%; height: auto; }
.playbook-items { display: grid; gap: clamp(36px, 4vw, 56px); }
.playbook-items h3 { font-family: var(--font-display); font-size: clamp(20px, 2vw, 26px); text-transform: uppercase; letter-spacing: .03em; line-height: 1.15; margin-bottom: 14px; }
@media (max-width: 860px) { .playbook-grid { grid-template-columns: 1fr; } .playbook-media { position: static; } }

/* Process cards */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.process-card { background: #fff; color: #000; border-radius: 18px; padding: 32px clamp(16px, 1.8vw, 26px) 36px; text-align: center; font-size: 13.5px; line-height: 1.7; }
.process-card svg { width: 26px; height: 26px; margin: 0 auto 14px; }
.process-card h3 { font-family: var(--font-display); font-size: clamp(20px, 1.9vw, 26px); line-height: 1.05; margin-bottom: 18px; overflow-wrap: normal; hyphens: manual; }
.process-card p + p { margin-top: .8em; }
@media (max-width: 1100px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .process-grid { grid-template-columns: 1fr; } }

/* Portfolio landing */
.feature-row { display: grid; grid-template-columns: 48px 1fr 1fr; gap: clamp(16px, 2.5vw, 32px); align-items: start; }
.vert-label { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--font-serif); font-style: italic; font-size: 20px; justify-self: center; }
.p-card { text-decoration: none; display: block; }
.p-card .thumb { overflow: hidden; aspect-ratio: 524 / 400; background: rgba(0,0,0,.1); }
.p-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.p-card:hover .thumb img { transform: scale(1.04); }
.p-card h2, .p-card h3 { font-family: var(--font-display); font-size: clamp(17px, 1.6vw, 22px); text-transform: uppercase; letter-spacing: .03em; line-height: 1.2; margin-top: 16px; }
.p-card p { font-size: 12px; line-height: 1.5; margin-top: 4px; }
.p-card .meta-serif { font-family: var(--font-serif); font-style: italic; font-size: 14px; }
.all-row { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(16px, 2.5vw, 32px); align-items: center; margin-top: clamp(48px, 6vw, 88px); }
.all-row .big-serif { text-align: right; }
.all-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.5vw, 20px); }
.all-cards .p-card .thumb { aspect-ratio: 347 / 307; }
.all-cards--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) {
  .feature-row { grid-template-columns: 1fr; }
  .vert-label { writing-mode: horizontal-tb; transform: none; justify-self: start; }
  .all-row { grid-template-columns: 1fr; }
  .all-row .big-serif { text-align: left; }
  .all-cards, .all-cards--4 { grid-template-columns: repeat(2, 1fr); }
}

/* Category pages */
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 4vw, 56px) clamp(20px, 3vw, 40px); }
.project-grid .p-card .thumb { aspect-ratio: 526 / 303; }
@media (max-width: 700px) { .project-grid { grid-template-columns: 1fr; } }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.photo-grid > * { overflow: hidden; background: rgba(0,0,0,.06); }
.photo-grid img, .photo-grid video { width: 100%; height: 100%; object-fit: cover; }
.photo-grid--portrait > * { aspect-ratio: 2 / 3; }
.photo-grid--reel > * { aspect-ratio: 9 / 16; }
.photo-grid--square > * { aspect-ratio: 1 / 1; }
.photo-grid--three { grid-template-columns: repeat(3, 1fr); }
.photo-grid--three > * { aspect-ratio: 360 / 440; }
@media (max-width: 860px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }
.grid-title { font-family: var(--font-display); font-size: clamp(18px, 1.8vw, 22px); text-transform: uppercase; letter-spacing: .04em; margin: clamp(48px, 6vw, 80px) 0 24px; }
.all-band { background: var(--gray); color: #000; padding: clamp(48px, 6vw, 80px) 0; margin-top: var(--section-y); }
.all-band .inner { display: grid; grid-template-columns: 48px 1fr; gap: clamp(16px, 2.5vw, 32px); align-items: start; }
@media (max-width: 860px) { .all-band .inner { grid-template-columns: 1fr; } }

/* Project meta table */
.meta-table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-bottom: 1px solid currentColor; padding-bottom: 20px; font-size: 13px; line-height: 1.6; }
.meta-table dt { font-weight: 400; margin-bottom: 6px; }
.meta-table dd { margin: 0; }
.case { padding: clamp(40px, 5vw, 64px) 0; }
.case + .case { border-top: 1px solid rgba(0,0,0,.15); }
.case-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); margin-bottom: 32px; align-items: start; }
.case-head h2 { font-family: var(--font-display); font-size: 15px; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 8px; }
.case-head p { font-size: 14px; }
@media (max-width: 860px) { .case-head { grid-template-columns: 1fr; } }
.website-strip { display: grid; grid-template-columns: repeat(3, 1fr); }
.website-strip img { width: 100%; height: 100%; aspect-ratio: 364 / 425; object-fit: cover; }
@media (max-width: 700px) { .website-strip { grid-template-columns: 1fr; } }

/* Reveal on scroll */
html.js .reveal:not(.is-in) { opacity: 0; transform: translateY(18px); }
.reveal { transition: opacity .8s ease, transform .8s ease; }

/* Legal */
.legal-page .prose { max-width: 72ch; }
.legal-page h2 { font-family: var(--font-display); font-size: 20px; text-transform: uppercase; margin: 40px 0 12px; }
.note { border: 1px dashed currentColor; padding: 14px 18px; border-radius: 10px; font-size: 13px; margin-top: 24px; }
