/* ============================================================
   Camila portfolio — "desk & polaroids" design system
   Spec: design_handoff_portfolio/SECOND_BRAIN.md
   ============================================================ */

:root {
  --paper: #F6F2E8;
  --card: #FDFBF4;
  --card-lighter: #FFFDF6;
  --ink: #22251F;
  --blue: #2C63D9;
  --orange: #E5643F;
  --yellow: #FFE28A;
  --pink: #F4C3D7;
  --sage: #BFD9C8;
  --forest: #3F6C56;
  --dark-scene: #14161C;
  --ink-85: rgba(34, 37, 31, .85);
  --ink-75: rgba(34, 37, 31, .75);
  --ink-60: rgba(34, 37, 31, .6);
  --ink-50: rgba(34, 37, 31, .5);
  --ink-45: rgba(34, 37, 31, .45);
  --border-faint: rgba(34, 37, 31, .18);
  --dash: rgba(34, 37, 31, .3);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Space Grotesk', sans-serif;
}

.shantell { font-family: 'Shantell Sans', cursive; }
.mono { font-family: ui-monospace, Menlo, monospace; }

@keyframes sigdraw {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
@keyframes drawline { to { stroke-dashoffset: 0; } }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes wobble {
  0%, 100% { transform: rotate(-2deg); }
  50%      { transform: rotate(2deg); }
}

/* ---------- nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  border-bottom: 1.5px solid var(--border-faint);
}
.nav-logo { overflow: hidden; display: block; }
.nav-logo img { height: 46px; display: block; }
.nav-logo img.sig-animate { animation: sigdraw 2.4s cubic-bezier(.45, .08, .35, .95) both; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--ink-60);
  text-decoration: none;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active:not(.nav-cta) {
  border-bottom: 2.5px solid var(--blue);
  padding-bottom: 2px;
  color: var(--ink);
}
.nav-cta {
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 8px 18px;
  color: var(--ink) !important;
}
.nav-cta:hover, .nav-cta.active {
  background: var(--ink);
  color: var(--paper) !important;
}

/* ---------- shared elements ---------- */
.container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.kicker {
  font-family: 'Shantell Sans', cursive;
  font-size: 21px;
  color: var(--blue);
  transform: rotate(-1.5deg);
  display: inline-block;
  margin-bottom: 14px;
}

.btn-dark {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 15px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 0 rgba(44, 99, 217, .5);
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 22px;
}
.section-header .title { font-size: 19px; font-weight: 700; }
.section-header .sub {
  font-family: 'Shantell Sans', cursive;
  font-size: 13.5px;
  color: var(--acc, var(--blue));
  transform: rotate(-1deg);
}

.dashed-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-top: 1.5px dashed var(--dash);
}
.dashed-row .k {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--acc, var(--blue));
  flex: none;
  width: 90px;
}
.dashed-row .v { font-size: 14px; font-weight: 500; }

.pin {
  position: absolute;
  top: -9px;
  left: 50%;
  margin-left: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(34, 37, 31, .3);
}

/* full-viewport pages: content fills the screen, last strip sits at the bottom */
.page-flex {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.page-flex .hero,
.page-flex .about-hero {
  flex: 1;
  align-content: center;
}

/* ============================================================
   HOMEPAGE
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  padding: 48px 72px 52px;
  align-items: center;
}
.hero h1 {
  font-weight: 700;
  font-size: clamp(48px, 5.2vw, 74px);
  line-height: 1;
  letter-spacing: -.03em;
  margin: 0 0 32px;
}
.hero .underline-wrap { position: relative; display: inline-block; }
.hero .underline-wrap svg {
  position: absolute;
  left: 0;
  bottom: -10px;
  overflow: visible;
}
.hero .underline-wrap path {
  animation: drawline .8s ease-out 2.3s forwards;
}
.hero-copy {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
  margin: 0 0 24px;
  max-width: 480px;
  color: var(--ink-85);
}
.hero-copy .accent { font-family: 'Shantell Sans', cursive; color: var(--blue); }
.hero-cta-row { display: flex; align-items: center; gap: 18px; margin-top: 30px; }

/* doodle desk */
.desk-wrap { position: relative; }
.desk-board {
  position: relative;
  height: 430px;
  background: var(--card);
  background-image:
    linear-gradient(rgba(44, 99, 217, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 99, 217, .09) 1px, transparent 1px);
  background-size: 22px 22px;
  border: 1.5px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(44, 99, 217, .25);
  cursor: crosshair;
  overflow: hidden;
  touch-action: none;
}
.desk-board:hover { box-shadow: 8px 8px 0 rgba(44, 99, 217, .35); }
.desk-board svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.desk-label {
  position: absolute;
  top: 14px;
  left: 16px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--ink-45);
  pointer-events: none;
}
.desk-hint {
  position: absolute;
  top: 57%;
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'Shantell Sans', cursive;
  font-size: 15px;
  color: var(--ink-50);
  pointer-events: none;
  padding: 0 46px;
}
.desk-sticker {
  position: absolute;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: grab;
  box-shadow: 0 4px 10px rgba(34, 37, 31, .22);
  user-select: none;
  touch-action: none;
}
.desk-sticker.dragging { cursor: grabbing; }
.desk-image {
  position: absolute;
  width: 82px;
  height: auto;
  cursor: grab;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
  filter: drop-shadow(0 3px 5px rgba(34, 37, 31, .28));
}
.desk-image.dragging { cursor: grabbing; }
.desk-count {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .1em;
  pointer-events: none;
}
.desk-note {
  position: absolute;
  bottom: 14px;
  left: 16px;
  width: 120px;
  background: var(--yellow);
  padding: 10px 12px;
  box-shadow: 0 3px 8px rgba(34, 37, 31, .15);
  transform: rotate(-3deg);
  font-family: 'Shantell Sans', cursive;
  font-size: 12px;
  line-height: 1.4;
  pointer-events: none;
}
.desk-erase {
  position: absolute;
  bottom: -13px;
  right: 18px;
  font-family: 'Shantell Sans', cursive;
  font-size: 12.5px;
  color: rgba(34, 37, 31, .55);
  background: var(--paper);
  border: 1.5px dashed rgba(34, 37, 31, .4);
  border-radius: 999px;
  padding: 3px 12px;
  cursor: pointer;
}
.desk-erase:hover { color: var(--blue); border-color: var(--blue); }

/* marquee */
.marquee {
  border-top: 1.5px solid rgba(34, 37, 31, .25);
  border-bottom: 1.5px solid rgba(34, 37, 31, .25);
  overflow: hidden;
  background: var(--card);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
  padding: 11px 0;
}
.marquee-track > div {
  display: flex;
  gap: 28px;
  padding-right: 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-track .dot { color: var(--blue); }

/* ============================================================
   WORK
   ============================================================ */
.work-page { padding: 56px 72px 72px; }
.page-h1 {
  font-weight: 700;
  font-size: clamp(42px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 0 0 30px;
}

.filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.filter-pill {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 9px 20px;
  cursor: pointer;
  background: var(--card);
  color: var(--ink);
}
.filter-pill:hover, .filter-pill.active {
  background: var(--ink);
  color: var(--paper);
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px 28px;
  align-items: start;
}
.work-card {
  display: block;
  background: var(--card);
  padding: 10px 10px 14px;
  box-shadow: 0 8px 18px rgba(34, 37, 31, .12);
  transform: rotate(var(--rot, 0deg));
  cursor: pointer;
  position: relative;
  color: inherit;
  text-decoration: none;
}
.work-card:hover {
  transform: rotate(0deg) translateY(-5px);
  box-shadow: 0 14px 26px rgba(34, 37, 31, .18);
}
.work-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(34, 37, 31, .2);
}
.work-card .body { padding: 12px 8px 0; }
.work-card .title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}
.work-card .title { font-size: 16.5px; font-weight: 700; line-height: 1.25; }
.work-card .star { font-family: 'Shantell Sans', cursive; font-size: 12px; color: var(--orange); }
.work-card .year {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 9.5px;
  letter-spacing: .12em;
  color: var(--blue);
  flex: none;
}
.work-card .cat {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--ink-50);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.work-card .blurb {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-75);
}
.work-card .open-note {
  font-family: 'Shantell Sans', cursive;
  font-size: 12.5px;
  color: rgba(34, 37, 31, .55);
  margin-top: 9px;
}
.work-cta { text-align: center; margin-top: 56px; }

/* --- case-study detail --- */
.back-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 9px 20px;
  cursor: pointer;
  margin-bottom: 30px;
  color: var(--ink);
  text-decoration: none;
}
.back-pill:hover { background: var(--ink); color: var(--paper); }

.detail-header {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: start;
  margin-bottom: 40px;
}
.detail-eyebrow {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--acc, var(--blue));
  margin-bottom: 12px;
  text-transform: uppercase;
}
.detail-header h1 {
  font-weight: 700;
  font-size: clamp(36px, 3.8vw, 54px);
  line-height: 1.04;
  letter-spacing: -.03em;
  margin: 0 0 18px;
}
.detail-award {
  font-family: 'Shantell Sans', cursive;
  font-size: 15px;
  color: var(--orange);
  margin-bottom: 14px;
  transform: rotate(-1deg);
}
.detail-desc {
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink-85);
  margin: 0 0 26px;
}
.detail-hero-polaroid {
  background: var(--card);
  padding: 13px 13px 16px;
  box-shadow: 0 12px 26px rgba(34, 37, 31, .16);
  transform: rotate(1deg);
  position: relative;
}
.detail-hero-polaroid img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(34, 37, 31, .2);
}
/* vertical hero (e.g. Her Story poster): frame hugs the image, stays rectangular */
.detail-hero-polaroid.hero-contain {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}
.detail-hero-polaroid.hero-contain img {
  width: auto;
  max-width: 100%;
  height: 520px;
  object-fit: contain;
  background: var(--card-lighter);
}

.detail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.link-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 9px 20px;
  color: var(--ink);
  text-decoration: none;
  background: var(--card);
}
.link-pill:hover { background: var(--ink); color: var(--paper); }

.detail-section {
  padding: 30px 0;
  border-top: 1.5px solid rgba(34, 37, 31, .2);
}
.detail-section.two-col {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
}
.detail-section.two-col .prose {
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--ink-85);
  margin: 0;
  max-width: 760px;
}
.side-title .title { font-size: 19px; font-weight: 700; }
.side-title .sub {
  font-family: 'Shantell Sans', cursive;
  font-size: 13.5px;
  color: var(--acc, var(--blue));
  transform: rotate(-1deg);
  margin-top: 4px;
}

.demo-frame {
  background: var(--card);
  border: 1.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--acc-25, rgba(44, 99, 217, .25));
  padding: 10px;
}
.demo-frame iframe {
  width: 100%;
  height: 620px;
  border: none;
  display: block;
  background: #1a1a1a;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(var(--step-cols, 3), minmax(0, 1fr));
  gap: 18px;
}
.mech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.step-card, .mech-card {
  background: var(--card);
  border: 1.5px solid var(--ink);
  padding: 18px 18px 16px;
}
.step-card { box-shadow: 3px 3px 0 var(--acc-20, rgba(44, 99, 217, .2)); }
.mech-card { box-shadow: 3px 3px 0 rgba(229, 100, 63, .2); }
.step-card .tag, .mech-card .tag {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .14em;
  margin-bottom: 8px;
}
.step-card .tag { color: var(--acc, var(--blue)); }
.mech-card .tag { color: var(--orange); }
.step-card .t, .mech-card .t { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.step-card .d, .mech-card .d {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(34, 37, 31, .72);
}

/* zones (dark environmental panel) */
.zones-panel {
  position: relative;
  background: var(--dark-scene);
  border: 1.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--acc-25, rgba(44, 99, 217, .25));
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
}
.zones-panel .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .42;
}
.zones-panel .grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 22, 28, .92), rgba(20, 22, 28, .55) 55%, rgba(20, 22, 28, .25));
}
.zones-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  padding: 44px 48px;
  flex-wrap: wrap;
}
.zones-text { max-width: 420px; }
.zones-tag-row { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.zones-tag-row .dot { width: 9px; height: 9px; border-radius: 50%; }
.zones-tag-row .tag {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10.5px;
  letter-spacing: .2em;
}
.zones-title {
  font-size: 44px;
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.02em;
  color: var(--paper);
  margin-bottom: 16px;
}
.zones-desc {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(246, 242, 232, .75);
  max-width: 360px;
}
.zones-bars { display: flex; align-items: flex-end; gap: 38px; padding-right: 10px; }
.zone-bar { display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: default; }
.zone-bar:hover { transform: translateY(-4px); }
.zone-bar .label {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 9.5px;
  letter-spacing: .18em;
  color: rgba(246, 242, 232, .55);
}
.zone-bar .bar { width: 4px; border-radius: 99px; }
.zones-note {
  position: absolute;
  bottom: 12px;
  right: 16px;
  z-index: 2;
  font-family: 'Shantell Sans', cursive;
  font-size: 12px;
  color: rgba(246, 242, 232, .5);
}

/* media gallery — footage first (feature + large grid), stills below.
   --cols is set per-gallery so image counts split evenly (4 → 2×2). */
.media-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), 1fr);
  gap: 26px;
  align-items: start;
}
.footage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  align-items: start;
}
.media-group-label {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--acc, var(--blue));
  margin: 26px 0 14px;
}
.media-card {
  background: var(--card);
  padding: 10px 10px 13px;
  box-shadow: 0 8px 18px rgba(34, 37, 31, .12);
  position: relative;
  /* the polaroid frame hugs its media — no wide empty margins around small videos */
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.media-card.wide { grid-column: 1 / -1; }
.media-card.feature { margin-bottom: 26px; }
.media-card img, .media-card video {
  display: block;
  border: 1px solid rgba(34, 37, 31, .2);
}
.media-card img { width: 100%; height: 240px; object-fit: cover; background: var(--card-lighter); }
.media-card img.contain { object-fit: contain; width: auto; max-width: 100%; margin: 0 auto; }
.media-card.pair video { height: 380px; max-height: none; width: auto; }
.media-card video {
  /* natural aspect ratio — no letterbox bars, no cropping */
  width: auto;
  height: auto;
  max-width: 100%;
  margin: 0 auto;
  background: #1a1a1a;
}
.media-card.feature video { max-height: 460px; }
.footage-grid .media-card video, .media-grid .media-card video { max-height: 380px; }

/* mechanics + concept sketches side by side */
.mech-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 26px;
  align-items: start;
}
/* beside sketches, mechanics cards sit 2×2 with no orphan row */
.mech-wrap .mech-grid { grid-template-columns: 1fr 1fr; }
.mech-wrap .mech-grid .mech-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.mech-aside {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mech-aside .media-card img {
  width: 100%;
  object-fit: cover;
}
.media-card .caption {
  font-family: 'Shantell Sans', cursive;
  font-size: 13px;
  margin-top: 9px;
  text-align: center;
  color: var(--ink-75);
}
.media-placeholder {
  width: 100%;
  border: 1.5px dashed rgba(34, 37, 31, .4);
  background: repeating-linear-gradient(135deg, rgba(44, 99, 217, .05) 0 12px, transparent 12px 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
}
.media-placeholder .icon { font-size: 30px; }
.media-placeholder .txt {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--ink-60);
}

/* lightbox — click any case-study image to see it big */
.media-card img, .detail-hero-polaroid img { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20, 22, 28, .9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  padding: 40px;
}
.lightbox[hidden] { display: none; }
.lightbox figure {
  margin: 0;
  background: var(--card);
  padding: 14px 14px 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
}
.lightbox img, .lightbox video {
  max-width: 100%;
  max-height: calc(92vh - 90px);
  object-fit: contain;
  border: 1px solid rgba(34, 37, 31, .2);
  display: block;
  background: #14161C;
}
.lightbox img { background: transparent; }
.lightbox img[hidden], .lightbox video[hidden] { display: none; }
.lightbox .lb-caption {
  font-family: 'Shantell Sans', cursive;
  font-size: 14px;
  text-align: center;
  margin-top: 10px;
  color: var(--ink-75);
}

/* campaign hero (Her Story) — full-width tinted panel with ensemble art */
.campaign-hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, rgba(244, 195, 215, .5) 0%, rgba(255, 253, 246, .95) 70%);
  border: 1.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--acc-25, rgba(44, 99, 217, .25));
  padding: 44px 48px 40px;
  margin-bottom: 40px;
}
.campaign-hero h1 {
  font-weight: 700;
  font-size: clamp(36px, 3.8vw, 54px);
  line-height: 1.04;
  letter-spacing: -.03em;
  margin: 0 0 14px;
}
.ch-collab {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--acc, var(--blue));
  margin: 0 0 18px;
}
.ch-art { align-self: end; }
.ch-art img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 16px 22px rgba(34, 37, 31, .28));
}

/* context + pinned quote note */
.context-with-quote {
  display: grid;
  grid-template-columns: 220px 1fr 320px;
  gap: 30px;
  align-items: start;
}
.context-with-quote .prose {
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--ink-85);
  margin: 0;
}
.quote-note {
  position: relative;
  border: 1.5px solid var(--ink);
  padding: 20px 22px 18px;
  transform: rotate(1.4deg);
  box-shadow: 0 8px 16px rgba(34, 37, 31, .15);
}
.quote-note .tag {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--ink-60);
  margin-bottom: 10px;
}
.quote-note .text {
  font-family: 'Shantell Sans', cursive;
  font-size: 14.5px;
  line-height: 1.65;
}

/* pull quote (Her Story) */
.quote-block {
  border-left: 4px solid var(--acc, var(--blue));
  padding: 6px 0 6px 28px;
  max-width: 760px;
}
.quote-block .tag {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--acc, var(--blue));
  margin-bottom: 12px;
}
.quote-block .text {
  font-family: 'Shantell Sans', cursive;
  font-style: italic;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-85);
}

/* illustrator assets — pinned polaroids on the board (Her Story) */
.assets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 26px;
}
.asset-card {
  position: relative;
  background: var(--card);
  padding: 12px 12px 14px;
  box-shadow: 0 8px 18px rgba(34, 37, 31, .12);
}
.asset-card:nth-child(odd) { transform: rotate(-1deg); }
.asset-card:nth-child(even) { transform: rotate(.9deg); }
.asset-card:hover {
  transform: rotate(0deg) translateY(-5px);
  box-shadow: 0 14px 26px rgba(34, 37, 31, .18);
}
.asset-card::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  margin-left: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(34, 37, 31, .3);
  background: var(--acc, var(--blue));
}
.asset-card:nth-child(3n+2)::before { background: var(--pink); }
.asset-card:nth-child(3n)::before { background: var(--blue); }
.asset-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  display: block;
  margin-bottom: 12px;
  padding: 10px;
  background: var(--card-lighter);
  border: 1px solid rgba(34, 37, 31, .15);
  cursor: zoom-in;
}
.asset-card .name { font-size: 14px; font-weight: 700; }
.asset-card .type {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 9.5px;
  letter-spacing: .14em;
  color: var(--ink-50);
  text-transform: uppercase;
  margin: 4px 0 10px;
}
.asset-card .note {
  display: inline-block;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 8.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid rgba(34, 37, 31, .25);
  border-radius: 999px;
  padding: 3px 9px;
  color: var(--ink-60);
}

/* dark feature cards with video backgrounds (Sky Zones / Depth Zones companions) */
.feature-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 26px;
}
.feature-card {
  position: relative;
  height: 400px;
  background: var(--dark-scene);
  border: 1.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--acc-25, rgba(44, 99, 217, .25));
  overflow: hidden;
}
.feature-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .7;
}
.feature-card .fc-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 22, 28, .5), transparent 40%, rgba(20, 22, 28, .85));
}
.feature-card .fc-tag {
  position: absolute;
  top: 22px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10.5px;
  letter-spacing: .2em;
}
.feature-card .fc-tag .dot { width: 9px; height: 9px; border-radius: 50%; }
.feature-card .fc-body { position: absolute; bottom: 22px; left: 24px; right: 24px; }
.feature-card .fc-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--paper);
  margin-bottom: 10px;
}
.feature-card .fc-desc {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(246, 242, 232, .8);
  max-width: 420px;
}

/* gameplay loop + tech highlights */
.loop-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.loop-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.loop-card {
  flex: 1;
  min-width: 160px;
  background: var(--card);
  border: 1.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--acc-20, rgba(44, 99, 217, .2));
  padding: 20px 22px 18px;
}
.loop-card .n {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--acc, var(--blue));
  margin-bottom: 8px;
}
.loop-card .t { font-size: 16px; font-weight: 700; }
.loop-card .s {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--ink-50);
  margin-top: 6px;
}
.loop-arrow { color: var(--acc, var(--blue)); font-weight: 700; font-size: 20px; }
.tech-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  background: var(--card);
  border: 1.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--acc-20, rgba(44, 99, 217, .2));
  padding: 20px 24px 22px;
}
.tech-label {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--acc, var(--blue));
  margin-bottom: 2px;
}
.tech-chip {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11.5px;
  border: 1.5px solid rgba(34, 37, 31, .3);
  border-radius: 999px;
  background: var(--card-lighter);
  padding: 7px 16px;
  color: var(--ink-85);
}

/* smaller, hugging video panels (prototype footage / iteration) */
.hero-video-frame {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}
.hero-video-frame video {
  width: auto;
  max-width: 100%;
  max-height: 430px;
  display: block;
  background: #1a1a1a;
}

/* concept sketches under the mechanics cards */
.mech-below {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.mech-below .media-card img { width: 100%; object-fit: cover; }

/* control method — video + input mapping + behavior flow */
.control-wrap {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 36px;
  align-items: center;
}
.control-video video {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  display: block;
  background: #1a1a1a;
}
.ci-label {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--acc, var(--blue));
  margin-bottom: 8px;
}
.flow-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.flow-row .ci-label { margin-bottom: 0; }
.flow-chip {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10.5px;
  border: 1.5px solid rgba(34, 37, 31, .35);
  border-radius: 999px;
  background: var(--card);
  padding: 7px 14px;
  color: var(--ink-85);
  white-space: nowrap;
}

/* technical implementation — component breakdown */
.ti-intro {
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--ink-85);
  margin: 0;
  max-width: 860px;
}
.tech-impl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--card);
  border: 1.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--acc-20, rgba(44, 99, 217, .2));
  padding: 26px 30px;
  margin-top: 20px;
}
.ti-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-bottom: 1.5px dashed var(--dash);
  padding-bottom: 10px;
  margin-bottom: 16px;
}
.ti-item { display: flex; gap: 12px; margin-bottom: 16px; }
.ti-item:last-child { margin-bottom: 0; }
.ti-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acc, var(--blue));
  margin-top: 6px;
  flex: none;
}
.ti-name {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 3px;
}
.ti-desc { font-size: 13px; font-weight: 500; color: var(--ink-75); line-height: 1.5; }

/* AR filter showcase (Her Story) */
.filter-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.fs-phone-col { display: flex; align-items: center; justify-content: center; gap: 18px; }
.fs-arrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex: none;
}
.fs-arrow:hover { background: var(--ink); color: var(--paper); }
.fs-phone {
  position: relative;
  width: 280px;
  aspect-ratio: 9 / 16;
  border: 1.5px solid var(--ink);
  border-radius: 34px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 6px 6px 0 var(--acc-25, rgba(44, 99, 217, .25));
  background: var(--card);
}
.fs-phone img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fs-phone .fs-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255, 253, 246, .92);
  border: 1.5px solid var(--ink);
  box-shadow: 0 6px 14px rgba(34, 37, 31, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  font-size: 20px;
  color: var(--acc, var(--blue));
}
.fs-phone:hover .fs-play { background: #fff; }
.fs-details .fs-count {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--ink-50);
  margin-bottom: 14px;
}
.fs-details .fs-title {
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.fs-details .fs-caption {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink-75);
  margin-bottom: 22px;
  max-width: 420px;
}
.fs-meta { max-width: 420px; }
.fs-tag {
  display: inline-block;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid rgba(34, 37, 31, .3);
  border-radius: 999px;
  padding: 3px 9px;
  margin: 2px;
}

/* subtle sparkle overlay (theme.sparkle) */
@keyframes twinkle {
  0%, 100% { opacity: .25; }
  50% { opacity: .7; }
}
#sparkle-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(circle 1.5px at 12% 20%, rgba(178, 70, 125, .8) 40%, transparent 60%),
    radial-gradient(circle 1px at 30% 65%, rgba(255, 255, 255, .9) 40%, transparent 60%),
    radial-gradient(circle 2px at 48% 32%, rgba(244, 195, 215, .9) 40%, transparent 60%),
    radial-gradient(circle 1px at 64% 78%, rgba(178, 70, 125, .7) 40%, transparent 60%),
    radial-gradient(circle 1.5px at 78% 15%, rgba(255, 255, 255, .8) 40%, transparent 60%),
    radial-gradient(circle 1px at 90% 55%, rgba(244, 195, 215, .8) 40%, transparent 60%),
    radial-gradient(circle 1.5px at 20% 88%, rgba(255, 255, 255, .7) 40%, transparent 60%),
    radial-gradient(circle 1px at 55% 8%, rgba(178, 70, 125, .6) 40%, transparent 60%);
  background-size: 420px 420px;
  animation: twinkle 3.2s ease-in-out infinite;
}

/* reflection sticky */
.reflection-section { padding: 30px 0 10px; border-top: 1.5px solid rgba(34, 37, 31, .2); }
.reflection-note {
  background: var(--yellow);
  max-width: 640px;
  padding: 22px 26px;
  box-shadow: 0 6px 14px rgba(34, 37, 31, .15);
  transform: rotate(-.8deg);
}
.reflection-note .tag {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--ink-60);
  margin-bottom: 10px;
}
.reflection-note .body {
  font-family: 'Shantell Sans', cursive;
  font-size: 15px;
  line-height: 1.6;
}

/* prev / next */
.prevnext {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1.5px solid rgba(34, 37, 31, .2);
}
.prevnext a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  cursor: pointer;
  color: rgba(34, 37, 31, .7);
  text-decoration: none;
}
.prevnext a:hover { color: var(--acc, var(--blue)); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, .95fr);
  gap: 40px;
  padding: 36px 72px 12px;
  align-items: center;
}
.about-hero h1 {
  font-weight: 700;
  font-size: clamp(40px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 0 0 22px;
}
.about-hero p.bio {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  margin: 0 0 16px;
  max-width: 560px;
  color: var(--ink-85);
}
.about-hero p.bio.last { margin-bottom: 0; }
.about-hero .accent, .recruiter-card .accent {
  font-family: 'Shantell Sans', cursive;
  color: var(--blue);
}

.photo-pile {
  position: relative;
  height: 540px;
  user-select: none;
  touch-action: none;
}
.drag-hint {
  font-family: 'Shantell Sans', cursive;
  font-size: 12.5px;
  color: var(--ink-50);
  text-align: center;
  margin-top: 4px;
  transform: rotate(-1deg);
  pointer-events: none;
}

/* recruiter summary — four pinned fact cards */
.recruiter-band { padding: 10px 72px 30px; }
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}
.fact-card {
  position: relative;
  background: var(--card);
  border: 1.5px solid var(--ink);
  padding: 20px 18px 16px;
  box-shadow: 3px 3px 0 rgba(44, 99, 217, .2);
}
.fact-card:hover { transform: rotate(0deg) translateY(-3px) !important; }
.fact-card .tag {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--blue);
  margin-bottom: 8px;
}
.fact-card .txt {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink-85);
}

/* stack the columns on narrower screens */
@media (max-width: 1024px) {
  .about-hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 32px 40px 12px;
  }
  .recruiter-band { padding: 10px 40px 28px; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .tools-strip { padding: 24px 40px 30px; }
}
.photo-pile .caption-top {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%) rotate(2deg);
  font-family: 'Shantell Sans', cursive;
  font-size: 14px;
  color: rgba(34, 37, 31, .55);
  pointer-events: none;
  white-space: nowrap;
}
.photo-polaroid {
  position: absolute;
  z-index: 2;
  background: var(--card);
  padding: 14px 14px 18px;
  box-shadow: 0 10px 24px rgba(34, 37, 31, .18);
  transform: rotate(-2.5deg);
  cursor: grab;
  width: 300px;
  touch-action: none;
}
.photo-polaroid.dragging { cursor: grabbing; }
.photo-polaroid img {
  width: 100%;
  height: 408px;
  object-fit: cover;
  object-position: center top;
  display: block;
  border: 1px solid rgba(34, 37, 31, .2);
  pointer-events: none;
}
.photo-polaroid .caption {
  font-family: 'Shantell Sans', cursive;
  font-size: 14px;
  margin-top: 11px;
  text-align: center;
  pointer-events: none;
}
.about-sticky {
  position: absolute;
  right: 4px;
  top: 300px;
  width: 250px;
  background: var(--yellow);
  border: 1.5px solid var(--ink);
  padding: 16px 18px 18px;
  box-shadow: 0 8px 16px rgba(34, 37, 31, .18);
  transform: rotate(2.4deg);
  z-index: 3;
  pointer-events: none;
}
.about-sticky .pin-big {
  position: absolute;
  top: -12px;
  left: 50%;
  margin-left: -11px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  border: 1.5px solid var(--ink);
  box-shadow: 0 2px 5px rgba(34, 37, 31, .3);
}
.about-sticky .tag {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--ink-60);
  margin-bottom: 10px;
}
.about-sticky .body {
  font-family: 'Shantell Sans', cursive;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
}
.about-sticky .body ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.about-sticky .body li {
  position: relative;
  padding-left: 16px;
}
.about-sticky .body li::before {
  content: "•";
  position: absolute;
  left: 2px;
}

.tools-strip {
  border-top: 1.5px solid rgba(34, 37, 31, .25);
  background: var(--card);
  padding: 26px 72px 32px;
  margin-top: 8px;
}
.tools-strip .section-header { margin-bottom: 16px; }
.tools-strip .section-header .title { font-size: 18px; }
.tools-strip .section-header .sub { font-size: 14px; }
.tool-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.tool-chip {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
}
.tool-chip.ai {
  font-family: 'Shantell Sans', cursive;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--blue);
  border: 1.5px dashed var(--blue);
  padding: 9px 16px;
}

/* ============================================================
   AWARDS
   ============================================================ */
.awards-page { padding: 64px 72px 72px; }
.awards-page .lede {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-75);
  margin: 0 0 44px;
  max-width: 480px;
}
.awards-page .page-h1 { margin-bottom: 16px; }

.fridge {
  position: relative;
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  box-shadow: 6px 6px 0 rgba(44, 99, 217, .25);
  padding: 52px 48px 56px;
  min-height: 420px;
}
.fridge .handle {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 8px;
  height: 110px;
  background: rgba(34, 37, 31, .15);
  border-radius: 99px;
}
.fridge-card { position: relative; cursor: default; }
.fridge-card:hover { animation: wobble .4s ease-in-out; }
.fridge-card .pin-big {
  position: absolute;
  top: -13px;
  left: 50%;
  margin-left: -13px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  box-shadow: 0 3px 6px rgba(34, 37, 31, .3);
}
.award-featured {
  background: var(--card-lighter);
  border: 1.5px solid var(--ink);
  padding: 34px 36px 30px;
  transform: rotate(-.6deg);
  box-shadow: 0 10px 22px rgba(34, 37, 31, .14);
  margin: 0 auto 44px;
  max-width: 760px;
}
.award-featured .pin-big {
  top: -14px;
  margin-left: -14px;
  width: 28px;
  height: 28px;
  background: var(--orange);
}
.award-featured .inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: center;
}
.award-featured img {
  width: 100%;
  display: block;
  border: 1px solid rgba(34, 37, 31, .25);
  box-shadow: 0 6px 14px rgba(34, 37, 31, .15);
}
.award-featured .meta-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.award-featured .year-tag {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--blue);
}
.award-featured .big-one {
  font-family: 'Shantell Sans', cursive;
  font-size: 13px;
  color: var(--orange);
  transform: rotate(-2deg);
}
.award-featured .name { font-size: 26px; font-weight: 700; line-height: 1.2; margin-bottom: 10px; }
.award-featured .org {
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 10px;
}
.award-featured .note {
  font-family: 'Shantell Sans', cursive;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(34, 37, 31, .7);
}

.awards-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.award-card {
  background: var(--card-lighter);
  border: 1px solid rgba(34, 37, 31, .25);
  padding: 26px 24px 22px;
  box-shadow: 0 8px 18px rgba(34, 37, 31, .12);
}
.award-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  display: block;
  margin-bottom: 14px;
}
.award-card .year-tag {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--blue);
  margin-bottom: 10px;
}
.award-card .name { font-size: 20px; font-weight: 700; line-height: 1.25; margin-bottom: 8px; }
.award-card .org {
  font-family: 'Shantell Sans', cursive;
  font-size: 14px;
  color: rgba(34, 37, 31, .65);
}

.certs-header { margin: 52px 0 24px; }
.certs-header .title { font-size: 22px; }
.certs-header .sub { font-size: 15px; }
.certs-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 26px; }
.cert-card {
  background: var(--card);
  border: 1.5px solid var(--ink);
  padding: 18px 20px 22px;
  box-shadow: 4px 4px 0 rgba(44, 99, 217, .2);
}
.cert-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  display: block;
  margin-bottom: 14px;
}
.cert-card .source {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--blue);
  margin-bottom: 10px;
}
.cert-card .name { font-size: 16.5px; font-weight: 700; line-height: 1.3; }

.awards-cta { text-align: center; margin-top: 52px; }
.awards-cta .line {
  font-family: 'Shantell Sans', cursive;
  font-size: 16px;
  color: var(--blue);
  margin-bottom: 14px;
  transform: rotate(-1deg);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-main {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 560px;
  gap: 56px;
  padding: 64px 72px;
  align-items: center;
}
.contact-main h1 {
  font-weight: 700;
  font-size: clamp(44px, 5vw, 70px);
  line-height: 1;
  letter-spacing: -.03em;
  margin: 0 0 26px;
}
.contact-main .lede {
  font-size: 17.5px;
  font-weight: 500;
  line-height: 1.6;
  margin: 0 0 32px;
  max-width: 460px;
  color: var(--ink-85);
}
.contact-rows { display: flex; flex-direction: column; gap: 12px; max-width: 400px; }
.contact-rows .dashed-row { align-items: center; padding: 14px 0; }
.contact-rows .dashed-row .k { font-size: 11px; width: 80px; }
.contact-rows .dashed-row:last-child { border-bottom: 1.5px dashed var(--dash); }
.contact-rows .v-strong { font-size: 15.5px; font-weight: 700; }
.contact-rows a { color: inherit; text-decoration: none; }
.contact-rows a:hover { color: var(--blue); }
.contact-rows .elsewhere { display: flex; gap: 16px; font-size: 15.5px; font-weight: 700; }
.contact-rows .elsewhere .sep { color: var(--blue); }

.contact-downloads {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.postcard-wrap { position: relative; }
.postcard {
  background: var(--card);
  border: 1.5px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(44, 99, 217, .25);
  padding: 30px 32px;
  transform: rotate(-.8deg);
}
.postcard-top {
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 24px;
  align-items: start;
}
.postcard-top .note {
  font-family: 'Shantell Sans', cursive;
  font-size: 15px;
  color: rgba(34, 37, 31, .55);
  line-height: 1.5;
}
.postcard-stamp {
  border: 1.5px solid var(--ink);
  padding: 8px;
  text-align: center;
  transform: rotate(2deg);
  background: var(--card-lighter);
}
.postcard-stamp .glyph { font-size: 26px; line-height: 1; }
.postcard-stamp .txt {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 8px;
  letter-spacing: .14em;
  margin-top: 4px;
}
.postcard-divider { height: 1.5px; background: rgba(34, 37, 31, .25); margin: 20px 0 24px; }
.postcard-fields { display: flex; flex-direction: column; gap: 18px; }
.postcard-fields input, .postcard-fields textarea {
  font-family: 'Shantell Sans', cursive;
  font-size: 17px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1.5px dashed rgba(34, 37, 31, .4);
  padding: 6px 2px;
  outline: none;
  width: 100%;
}
.postcard-fields textarea { line-height: 1.6; resize: none; }
.postcard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 26px;
}
.postcard-footer .replies {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--ink-45);
}
.send-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  background: var(--blue);
  color: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 12px 24px;
  cursor: pointer;
}
.send-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 rgba(34, 37, 31, .4);
}
.postcard-how {
  font-family: 'Shantell Sans', cursive;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(34, 37, 31, .55);
  margin: 18px auto 0;
  max-width: 440px;
  text-align: center;
  transform: rotate(-.5deg);
}
.delivered-note {
  position: absolute;
  top: -18px;
  right: -14px;
  background: var(--yellow);
  border: 1.5px solid var(--ink);
  padding: 12px 16px;
  transform: rotate(3deg);
  box-shadow: 0 4px 10px rgba(34, 37, 31, .2);
  font-family: 'Shantell Sans', cursive;
  font-size: 14px;
  line-height: 1.4;
}

/* ============================================================
   MOBILE (phones)
   ============================================================ */
@media (max-width: 760px) {
  body { overflow-x: hidden; }

  .nav {
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 14px 20px;
  }
  .nav-logo img { height: 38px; }
  .nav-links { gap: 18px; font-size: 11px; }
  /* bigger tap targets on touch */
  .nav-links a:not(.nav-cta) { padding: 8px 0; }
  .nav-links a.nav-cta { padding: 11px 18px; }
  .filter-pill { padding: 11px 20px; }

  /* homepage */
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 36px 20px 48px;
  }
  .desk-board { height: 360px; }
  .marquee-track > div { font-size: 11.5px; gap: 20px; padding-right: 20px; }

  /* work */
  .work-page { padding: 36px 20px 48px; }
  .work-grid { grid-template-columns: 1fr; }
  .detail-header { grid-template-columns: 1fr; gap: 30px; }
  .detail-hero-polaroid img { height: 260px; }
  .detail-section.two-col { grid-template-columns: 1fr; gap: 14px; }
  .demo-frame iframe { height: 400px; }
  .zones-inner { padding: 26px 20px; gap: 26px; }
  .zones-title { font-size: 30px; }
  .zones-bars { gap: 20px; }
  .mech-wrap { grid-template-columns: 1fr; }
  .mech-wrap .mech-grid { grid-template-columns: 1fr; }
  .mech-below { grid-template-columns: 1fr; }
  .campaign-hero { grid-template-columns: 1fr; padding: 28px 22px; gap: 26px; }
  .ch-art img { max-height: 300px; }
  .context-with-quote { grid-template-columns: 1fr; gap: 20px; }
  .control-wrap { grid-template-columns: 1fr; gap: 24px; }
  .tech-impl { grid-template-columns: 1fr; gap: 26px; }
  .detail-hero-polaroid.hero-contain img { height: 380px; }
  .steps-grid { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr; }
  .feature-cards { grid-template-columns: 1fr; }
  .feature-card { height: 300px; }
  .assets-grid { grid-template-columns: 1fr; }
  .loop-wrap { grid-template-columns: 1fr; gap: 28px; }
  .filter-showcase { grid-template-columns: 1fr; gap: 32px; }
  .fs-phone { width: 220px; }
  .media-card.feature video { max-height: 320px; }
  .footage-grid .media-card video, .media-grid .media-card video { max-height: 340px; }
  .prevnext { flex-direction: column; gap: 12px; align-items: flex-start; }

  /* about */
  .about-hero { padding: 28px 20px 12px; }
  .photo-pile { height: 665px; }
  .photo-polaroid { width: 260px; padding: 11px 11px 14px; }
  .photo-polaroid img { height: 348px; }
  .about-sticky { right: 2px; top: 388px; width: 230px; }
  .recruiter-band { padding: 8px 20px 24px; }
  .facts-grid { grid-template-columns: 1fr; }
  .tools-strip { padding: 20px 20px 26px; }

  /* awards */
  .awards-page { padding: 36px 20px 48px; }
  .fridge { padding: 32px 18px 36px; }
  .award-featured { padding: 24px 20px 22px; }
  .award-featured .inner { grid-template-columns: 1fr; gap: 20px; }
  .awards-row { grid-template-columns: 1fr; gap: 30px; }
  .awards-row .award-card { margin-top: 0 !important; }
  .certs-grid { grid-template-columns: 1fr; }

  /* contact */
  .contact-main {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 36px 20px 48px;
    align-items: start;
  }
  .postcard { padding: 24px 20px; }
  .delivered-note { right: 0; }
  .contact-downloads { flex-wrap: wrap; }
}
