/*
  Illustrate Graphics
  VOICE   premium, calm, cinematic; few words, big frames
  IDEA    the viewfinder: every piece shown in its real format (2.39:1, 1:1, 9:16, 4:5) inside crop marks
  PICTURE the hero frame that reshapes between formats; work cards at native aspect ratios
  COLOUR  charcoal ground, ivory bands for the work, lime only for actions and frame corners, slate for quiet text
  TYPE    Archivo: narrow + heavy for headlines (film-credit feel), normal width for reading
*/

:root {
  --char: #17191B;
  --char-2: #1F2225;
  --char-3: #2A2E32;
  --lime: #B8D96B;
  --lime-deep: #9DBE52;
  --ivory: #F2F0EA;
  --ivory-2: #E7E4DB;
  --slate: #777D85;
  --slate-on-dark: #A4A9AF;   /* AA contrast on charcoal for small text */
  --slate-on-light: #5C6269;  /* AA contrast on ivory for small text */
  --line-dark: rgba(242, 240, 234, .14);
  --line-light: rgba(23, 25, 27, .14);

  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --text: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --fs-hero: clamp(46px, 8.2vw, 124px);
  --fs-h1: clamp(40px, 6vw, 84px);
  --fs-h2: clamp(32px, 4.2vw, 56px);
  --fs-h3: clamp(21px, 2vw, 26px);
  --fs-body: 17px;
  --fs-small: 14px;

  --max: 1240px;
  --gutter: max(5vw, 18px);
  --radius: 6px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--char);
  color: var(--ivory);
  font: 400 var(--fs-body)/1.6 var(--text);
  font-stretch: 100%;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--char); padding: 10px 14px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.display, h1, h2 {
  font-family: var(--display);
  font-stretch: 72%;
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -.01em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-family: var(--text); font-size: var(--fs-h3); font-weight: 620; line-height: 1.2; margin: 0; letter-spacing: -.005em; }
p { margin: 0; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; max-width: 38em; color: var(--ivory); }
.muted { color: var(--slate-on-dark); }
.light .muted { color: var(--slate-on-light); }
.small { font-size: var(--fs-small); }
.prose p + p { margin-top: 1em; }
.prose { max-width: 40em; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.band { padding: clamp(64px, 9vw, 128px) 0; }
.band.tight { padding: clamp(44px, 6vw, 80px) 0; }
.light { background: var(--ivory); color: var(--char); }
.light .lede { color: var(--char); }
.raised { background: var(--char-2); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { max-width: 34em; }
@media (max-width: 760px) { .section-head { grid-template-columns: minmax(0, 1fr); } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--lime); color: var(--char); }
.btn-primary:hover { background: #C9E684; }
.btn-ghost { border-color: var(--line-dark); color: var(--ivory); background: transparent; }
.btn-ghost:hover { border-color: var(--ivory); }
.light .btn-ghost { border-color: var(--line-light); color: var(--char); }
.light .btn-ghost:hover { border-color: var(--char); }
.btn-dark { background: var(--char); color: var(--ivory); }
.btn-dark:hover { background: var(--char-3); }
.btn .wa-icon { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--lime); font-weight: 600; }
.light .text-link { text-decoration-color: var(--char); }
.text-link:hover { text-decoration-thickness: 2px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(23, 25, 27, .94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line-dark); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-name { font-family: var(--display); font-stretch: 72%; font-weight: 760; font-size: 22px; letter-spacing: .005em; line-height: 1; }
.brand-name span { font-weight: 400; color: var(--slate-on-dark); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; padding: 10px 12px; border-radius: 999px; font-size: 15px; color: var(--slate-on-dark); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ivory); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--lime); border-radius: 0; }
.header-cta { padding: 10px 18px; min-height: 44px; font-size: 15px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-dark); border-radius: 999px; min-height: 44px; padding: 0 16px; cursor: pointer; font-size: 15px; }
@media (max-width: 980px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--char); border-bottom: 1px solid var(--line-dark);
    padding: 8px var(--gutter) 24px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px 0; font-size: 20px; border-bottom: 1px solid var(--line-dark); border-radius: 0; color: var(--ivory); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--lime); }
  .header-cta { display: none; }
  .nav .nav-cta { display: inline-flex; margin-top: 18px; border: 0; color: var(--char); font-size: 17px; justify-content: center; border-radius: 999px; }
}
@media (min-width: 981px) { .nav .nav-cta { display: none; } }

/* ---------- crop-mark frame (the recurring motif) ---------- */
.crop { position: relative; }
.crop::before, .crop::after, .crop > .c3, .crop > .c4 {
  content: ""; position: absolute; width: 18px; height: 18px; pointer-events: none; z-index: 2;
  border-color: var(--lime); border-style: solid; border-width: 0;
}
.crop::before { top: -8px; left: -8px; border-top-width: 2px; border-left-width: 2px; }
.crop::after { top: -8px; right: -8px; border-top-width: 2px; border-right-width: 2px; }
.crop > .c3 { bottom: -8px; left: -8px; border-bottom-width: 2px; border-left-width: 2px; }
.crop > .c4 { bottom: -8px; right: -8px; border-bottom-width: 2px; border-right-width: 2px; }
.light .crop::before, .light .crop::after, .light .crop > .c3, .light .crop > .c4 { border-color: var(--char); }

/* ---------- hero ---------- */
.hero { padding: clamp(36px, 5vw, 72px) 0 clamp(48px, 6vw, 88px); }
.hero-title { font-size: var(--fs-hero); max-width: 11.5em; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: end; margin-top: clamp(28px, 4vw, 48px); }
.hero-copy .lede { margin-bottom: 28px; }
.stage {
  position: relative; height: clamp(300px, 40vw, 520px);
  display: grid; place-items: center;
}
.frame {
  position: relative; width: 100%; height: 100%;
  transition: width .9s var(--ease), height .9s var(--ease);
}
.frame-inner { position: absolute; inset: 0; overflow: hidden; border-radius: 3px; background: var(--char-2); }
.scene { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease .25s; }
.scene.on { opacity: 1; }
.scene svg { width: 100%; height: 100%; }
.frame-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 18px; }
.frame-ratio { font-family: var(--display); font-stretch: 72%; font-weight: 700; font-size: clamp(26px, 2.6vw, 34px); line-height: 1; }
.frame-label { color: var(--slate-on-dark); font-size: 15px; }
.frame-ctrl { background: none; border: 1px solid var(--line-dark); border-radius: 999px; min-height: 36px; min-width: 36px; padding: 0 12px; cursor: pointer; color: var(--slate-on-dark); font-size: 13px; }
.frame-ctrl:hover { color: var(--ivory); border-color: var(--ivory); }
.hero-visual { display: flex; flex-direction: column; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { order: -1; }
  .stage { height: clamp(260px, 62vw, 420px); }
}

/* ---------- statement ---------- */
.statement { font-family: var(--display); font-stretch: 80%; font-weight: 500; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.15; max-width: 22em; text-wrap: balance; }

/* ---------- work cards ---------- */
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 48px) clamp(18px, 2.4vw, 32px); align-items: start; }
.work-card { grid-column: span 4; text-decoration: none; color: inherit; display: block; }
.work-card.w-wide { grid-column: span 8; }
.work-card.w-half { grid-column: span 6; }
.work-card.w-tall { grid-column: span 4; }
.work-media { position: relative; overflow: hidden; border-radius: 3px; background: var(--char-3); }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.025); }
.work-info { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; margin-top: 16px; align-items: baseline; }
.work-info h3 { font-size: 20px; }
.work-info .cat { grid-column: 1; color: var(--slate-on-dark); font-size: 15px; }
.light .work-info .cat { color: var(--slate-on-light); }
.badge { display: inline-block; font-size: 13px; font-weight: 600; line-height: 1; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.badge-pilot { background: var(--lime); color: var(--char); }
.badge-concept { border: 1px solid currentColor; color: var(--slate-on-dark); }
.light .badge-concept { color: var(--slate-on-light); }
.badge-client { background: var(--ivory); color: var(--char); }
.work-info .badge { grid-row: 1; grid-column: 2; }
.ar-scope { aspect-ratio: 2.39 / 1; }
.ar-wide { aspect-ratio: 16 / 9; }
.ar-square { aspect-ratio: 1 / 1; }
.ar-portrait { aspect-ratio: 4 / 5; }
.ar-story { aspect-ratio: 9 / 16; }
@media (max-width: 900px) {
  .work-card, .work-card.w-wide, .work-card.w-half, .work-card.w-tall { grid-column: span 6; }
  .work-card.w-wide { grid-column: span 12; }
}
@media (max-width: 600px) {
  .work-card, .work-card.w-wide, .work-card.w-half, .work-card.w-tall { grid-column: span 12; }
  .work-card .ar-story { aspect-ratio: 4 / 5; }
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 3vw, 44px); }
.filter { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-light); background: transparent; cursor: pointer; font-size: 15px; color: var(--char); }
.filter[aria-pressed="true"] { background: var(--char); color: var(--ivory); border-color: var(--char); }
.filter:hover { border-color: var(--char); }
.empty { padding: 48px 0; color: var(--slate-on-light); }

/* ---------- services ---------- */
.svc-list { border-top: 1px solid var(--line-dark); }
.svc {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr);
  gap: 24px clamp(24px, 3vw, 48px); padding: clamp(28px, 3.4vw, 44px) 0; border-bottom: 1px solid var(--line-dark);
  align-items: start;
}
.light .svc-list, .light .svc { border-color: var(--line-light); }
.svc h3 { font-family: var(--display); font-stretch: 72%; font-weight: 740; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; }
.svc .svc-sub { margin-top: 10px; color: var(--slate-on-dark); max-width: 26em; }
.light .svc .svc-sub { color: var(--slate-on-light); }
.svc ul { list-style: none; margin: 0; padding: 0; columns: 2 14em; column-gap: 28px; }
.svc li { padding: 6px 0; break-inside: avoid; }
.svc .fmt { display: flex; align-items: center; gap: 14px; justify-self: end; }
.fmt-box { border: 2px solid var(--lime); border-radius: 2px; height: 46px; }
.light .fmt-box { border-color: var(--char); }
.fmt-box.r-scope { width: 110px; height: 46px; }
.fmt-box.r-square { width: 46px; }
.fmt-box.r-story { width: 30px; height: 54px; }
.fmt-box.r-portrait { width: 40px; height: 50px; }
.fmt-text { font-family: var(--display); font-stretch: 72%; font-weight: 700; font-size: 22px; white-space: nowrap; }
.svc-link { margin-top: 18px; display: inline-block; }
@media (max-width: 900px) {
  .svc { grid-template-columns: minmax(0, 1fr); }
  .svc .fmt { justify-self: start; order: -1; }
}

/* ---------- industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.ind { padding: clamp(24px, 2.6vw, 36px); border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 10px; transition: background-color .25s; }
a.ind:hover { background: var(--char-2); }
.ind h3 { font-size: 22px; }
.ind p { color: var(--slate-on-dark); font-size: 16px; }
@media (max-width: 900px) { .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ind-grid { grid-template-columns: minmax(0, 1fr); } }

.ind-section { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(32px, 5vw, 80px); padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid var(--line-dark); }
.ind-section:first-child { border-top: 0; padding-top: 0; }
.ind-section h2 { font-size: clamp(30px, 3.4vw, 46px); }
.ind-section .what { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; margin-top: 28px; }
.ind-section .what h3 { font-size: 17px; margin-bottom: 4px; }
.ind-section .what p { color: var(--slate-on-dark); font-size: 16px; }
@media (max-width: 860px) { .ind-section { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .ind-section .what { grid-template-columns: minmax(0, 1fr); } }

/* ---------- process (a real sequence, so numbered) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--char); padding-top: 18px; }
.steps li::before { content: counter(s); display: block; font-family: var(--display); font-stretch: 72%; font-weight: 760; font-size: 40px; line-height: 1; margin-bottom: 14px; }
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { color: var(--slate-on-light); font-size: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--lime); color: var(--char); }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: end; }
.cta-band h2 { max-width: 14em; }
.cta-band p { margin-top: 14px; max-width: 32em; }
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(48px, 7vw, 104px) 0 clamp(40px, 5vw, 72px); }
.page-hero h1 { max-width: 13em; }
.page-hero .lede { margin-top: 22px; }

/* ---------- case study ---------- */
.case-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 5vw, 80px); align-items: end; }
.case-head .badge { margin-bottom: 18px; }
.case-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin: 0; }
.case-facts dt { color: var(--slate-on-dark); font-size: 14px; }
.case-facts dd { margin: 2px 0 0; font-weight: 600; }
.case-visual { margin-top: clamp(40px, 5vw, 64px); display: flex; justify-content: center; }
.case-visual .work-media { width: 100%; }
.case-visual .ar-story, .case-visual .ar-square, .case-visual .ar-portrait { width: min(100%, 460px); }
.case-body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(32px, 5vw, 80px); padding: clamp(36px, 4vw, 56px) 0; border-top: 1px solid var(--line-light); }
.case-body:first-of-type { border-top: 0; }
.case-body h2 { font-size: clamp(26px, 2.6vw, 34px); }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
.feature-list li { padding-left: 20px; position: relative; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--lime-deep); border-radius: 2px; }
.note { border-left: 3px solid var(--char); padding: 4px 0 4px 18px; color: var(--slate-on-light); max-width: 40em; }
.case-nav { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .case-head, .case-body { grid-template-columns: minmax(0, 1fr); }
  .feature-list { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- invitation demo ---------- */
.demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 72px); align-items: center; }
.phone { width: min(100%, 340px); aspect-ratio: 9 / 18.5; margin: 0 auto; border-radius: 34px; background: var(--char); padding: 12px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 24px; overflow: hidden; background: #EDE8DD; color: var(--char); }
.env { position: absolute; inset: 0; display: grid; place-items: center; background: #1F2225; cursor: pointer; border: 0; width: 100%; transition: opacity .6s ease .5s, visibility 0s linear 1.1s; }
.env-flap { position: absolute; top: 0; left: 0; right: 0; height: 52%; background: #2A2E32; clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: top; transition: transform .7s var(--ease); }
.env-seal { position: relative; z-index: 2; width: 78px; height: 78px; border-radius: 50%; background: var(--lime); color: var(--char); display: grid; place-items: center; font-family: var(--display); font-stretch: 72%; font-weight: 760; font-size: 26px; transition: transform .5s var(--ease); }
.env-hint { position: absolute; bottom: 14%; color: var(--slate-on-dark); font-size: 14px; }
.opened .env-flap { transform: rotateX(180deg); }
.opened .env-seal { transform: scale(0); }
.opened .env { opacity: 0; visibility: hidden; }
.card { position: absolute; inset: 0; padding: 30px 22px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.card .mono { font-family: var(--display); font-stretch: 72%; font-weight: 760; font-size: 52px; line-height: 1; margin-top: 18px; }
.card .sub { font-size: 14px; color: #5C6269; }
.card .rule { width: 40px; height: 2px; background: var(--char); }
.count { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; width: 100%; margin-top: 6px; }
.count div { background: var(--char); color: var(--ivory); border-radius: 8px; padding: 10px 0 8px; }
.count b { display: block; font-family: var(--display); font-stretch: 72%; font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums; }
.count span { font-size: 11px; color: var(--slate-on-dark); }
.card .acts { margin-top: auto; display: grid; gap: 8px; width: 100%; }
.card .acts button { min-height: 44px; border-radius: 999px; border: 1.5px solid var(--char); background: transparent; cursor: pointer; font-weight: 600; font-size: 14px; }
.card .acts button.primary { background: var(--char); color: var(--ivory); }
.demo-msg { min-height: 1.6em; margin-top: 10px; font-size: 13px; color: #5C6269; }
.demo-replay { margin-top: 18px; }
@media (max-width: 860px) { .demo { grid-template-columns: minmax(0, 1fr); } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.channels { display: grid; gap: 14px; }
.channel { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: center; padding: 20px; border: 1px solid var(--line-dark); border-radius: var(--radius); text-decoration: none; transition: border-color .2s; }
.channel:hover { border-color: var(--ivory); }
.channel svg { width: 26px; height: 26px; grid-row: span 2; color: var(--lime); }
.channel strong { font-size: 18px; }
.channel span { color: var(--slate-on-dark); font-size: 15px; overflow-wrap: anywhere; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 600; }
.field .hint { font-size: 13px; color: var(--slate-on-dark); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font-size: 16px;
  background: var(--char-2); border: 1px solid var(--line-dark); border-radius: var(--radius); color: var(--ivory);
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--slate-on-dark) 50%), linear-gradient(135deg, var(--slate-on-dark) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--lime); outline: none; box-shadow: 0 0 0 3px rgba(184, 217, 107, .25); }
.field [aria-invalid="true"] { border-color: #E7836F; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-status { grid-column: 1 / -1; min-height: 1.5em; font-size: 15px; color: var(--slate-on-dark); }
.form-status.error { color: #F0A090; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line-dark); padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 32px; }
.footer-grid h2 { font-family: var(--text); font-stretch: 100%; font-size: 14px; font-weight: 600; color: var(--slate-on-dark); margin-bottom: 14px; letter-spacing: 0; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; color: var(--ivory); }
.footer-grid a:hover { color: var(--lime); }
.footer-tag { margin-top: 14px; color: var(--slate-on-dark); max-width: 24em; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; color: var(--slate-on-dark); font-size: 14px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- floating enquiry + setup notice ---------- */
.float-cta { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 30; box-shadow: 0 12px 30px -10px rgba(0,0,0,.6); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.float-cta.show { opacity: 1; transform: none; pointer-events: auto; }
.setup-note { background: #F2D16B; color: var(--char); font-size: 14px; padding: 10px var(--gutter); text-align: center; }
.setup-note code { font-size: 13px; background: rgba(0,0,0,.08); padding: 1px 6px; border-radius: 4px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ivory); color: var(--char); padding: 12px 18px; border-radius: 10px; font-size: 15px; z-index: 60; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 404 ---------- */
.nf { min-height: 60vh; display: grid; align-content: center; gap: 22px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =====================================================================
   HOME JOURNEY: one pinned viewfinder that reshapes into each format.
   Desktop: pinned and scroll-scrubbed. Mobile / reduced motion: stacked
   chapters that animate as they arrive (html.j-static).
   ===================================================================== */
.journey { position: relative; }
.j-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.j-bg { position: absolute; inset: 0; background: var(--jbg, #17191B); }
.j-ch { position: absolute; inset: 0; visibility: hidden; }
.j-ch.vis { visibility: visible; }
.j-copy {
  position: absolute; left: var(--gutter); top: 50%; transform: translateY(-46%);
  width: min(36vw, 470px); color: var(--jink, #F2F0EA); z-index: 3;
}
.j-ch[data-ch="intro"] .j-copy { width: min(46vw, 640px); }
.j-frame { position: absolute; overflow: hidden; border-radius: 3px; background: #1F2225; z-index: 2; }
.j-frame svg { width: 100%; height: 100%; display: block; }
.j-corners { position: absolute; z-index: 4; pointer-events: none; }
.j-corners i { position: absolute; width: 20px; height: 20px; border: 0 solid var(--jacc, #B8D96B); }
.j-corners i:nth-child(1) { top: -10px; left: -10px; border-top-width: 2px; border-left-width: 2px; }
.j-corners i:nth-child(2) { top: -10px; right: -10px; border-top-width: 2px; border-right-width: 2px; }
.j-corners i:nth-child(3) { bottom: -10px; left: -10px; border-bottom-width: 2px; border-left-width: 2px; }
.j-corners i:nth-child(4) { bottom: -10px; right: -10px; border-bottom-width: 2px; border-right-width: 2px; }
.j-readout { position: absolute; z-index: 4; display: flex; gap: 14px; align-items: baseline; color: var(--jink, #F2F0EA); white-space: nowrap; }
.j-readout b { font-family: var(--display); font-stretch: 72%; font-weight: 720; font-size: 26px; line-height: 1; font-variant-numeric: tabular-nums; }
.j-readout span { font-size: 14px; opacity: .72; }

/* animated typography: lines rise from a mask when a chapter becomes active */
.ln { display: block; overflow: hidden; padding-bottom: .06em; }
.ln > span { display: block; transform: translateY(105%); transition: transform .8s var(--ease); }
.j-ch.on .ln > span { transform: none; }
.j-ch.on .ln:nth-child(2) > span { transition-delay: .07s; }
.j-ch.on .ln:nth-child(3) > span { transition-delay: .14s; }
.j-fade { opacity: 0; transform: translateY(14px); transition: opacity .6s ease .2s, transform .7s var(--ease) .2s; }
.j-ch.on .j-fade { opacity: 1; transform: none; }
.j-copy h1, .j-copy h2 { font-size: clamp(40px, 5.2vw, 84px); line-height: .98; }
.j-ch[data-ch="intro"] h1 { font-size: clamp(48px, 6.6vw, 112px); }
.j-copy .chip { display: inline-flex; gap: 10px; align-items: baseline; margin-bottom: 18px; font-size: 15px; opacity: .8; }
.j-copy .chip b { font-family: var(--display); font-stretch: 72%; font-weight: 720; font-size: 20px; }
.j-copy p { margin-top: 20px; font-size: 18px; line-height: 1.55; max-width: 30em; }
.j-copy .btn-row { margin-top: 26px; }
.j-copy .j-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; }
.j-copy .j-links a { color: inherit; font-weight: 600; text-underline-offset: 4px; }
.j-ch[data-ink="dark"] .btn-ghost { border-color: rgba(23,25,27,.3); color: #17191B; }

.j-rail { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 5; list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.j-rail button { display: flex; align-items: center; gap: 10px; justify-content: flex-end; width: 100%; background: none; border: 0; cursor: pointer; padding: 6px 0; color: var(--jink, #F2F0EA); opacity: .45; font-size: 13px; transition: opacity .3s; }
.j-rail button::after { content: ""; width: 14px; height: 2px; background: currentColor; transition: width .3s var(--ease); }
.j-rail button[aria-current="true"] { opacity: 1; }
.j-rail button[aria-current="true"]::after { width: 32px; background: var(--jacc, #B8D96B); }
.j-rail button:hover { opacity: .9; }
.j-hint { position: absolute; left: var(--gutter); bottom: 28px; z-index: 5; font-size: 14px; color: var(--jink, #F2F0EA); opacity: .6; transition: opacity .4s; }

/* scene internals: SVG groups transformed around their own box */
.j-frame [data-k], .j-frame .tb { transform-box: fill-box; transform-origin: center; }
.j-frame .tb-top { transform-box: fill-box; transform-origin: top center; }
.j-frame .tb-view { transform-box: view-box; }

/* property: dusk to night */
.sc-property .night { opacity: calc(var(--t, 0) * .85); }
.sc-property .sun { transform: translateY(calc(var(--t, 0) * 300px)); }
.sc-property .stars { opacity: var(--t, 0); }
.sc-property .win { opacity: calc(.18 + var(--t, 0) * .82); }
.sc-property .house { transform: translateY(calc(var(--p, 0) * -24px)); }
.sc-property .fg { transform: translateX(calc(var(--p, 0) * -90px)); }
.sc-property .shimmer { transform: translateX(calc(var(--p, 0) * 60px)); }

/* automotive: drive-in, wheels, light trace */
.sc-auto .car { transform: translateX(calc((1 - var(--t, 0)) * -1500px)); }
.sc-auto .wheel { transform: rotate(calc(var(--p, 0) * 1440deg)); }
.sc-auto .road { transform: translateX(calc(var(--p, 0) * -1400px)); }
.sc-auto .trace { stroke-dasharray: 1500; stroke-dashoffset: calc((1 - var(--t, 0)) * 1500); }
.sc-auto .beam { opacity: calc(var(--t, 0) * .1); }
.sc-auto .title-a { transform: translateX(calc((.5 - var(--p, 0)) * 500px)); }

/* hospitality: ingredients drop onto the plate */
.sc-food .drop { transform: translateY(calc((1 - var(--t, 0)) * -260px)) scale(calc(.6 + var(--t, 0) * .4)); opacity: var(--t, 0); }
.sc-food .plate { transform: rotate(calc(var(--p, 0) * 30deg)); }
.sc-food .sauce { stroke-dasharray: 900; stroke-dashoffset: calc((1 - var(--t, 0)) * 900); }
.sc-food .cut-l { transform: translateX(calc((1 - var(--t, 0)) * -260px)); }
.sc-food .cut-r { transform: translateX(calc((1 - var(--t, 0)) * 260px)); }
.sc-food .type { transform: translateY(calc((1 - var(--t, 0)) * 120px)); opacity: var(--t, 0); }

/* music: record slides out of the sleeve, labels for the exploded layers */
.sc-music .rec-out { transform: translateX(calc(var(--t, 0) * 330px)); }
.sc-music .rec-spin { transform: rotate(calc(var(--p, 0) * 900deg)); }
.sc-music .lbl { opacity: var(--e, 0); }
.sc-music .sheet { stroke-opacity: var(--e, 0); }

/* invitation: envelope opens, card rises, notification drops in */
.sc-invite .flap { transform: scaleY(calc(1 - var(--t, 0) * 2)); }
.sc-invite .seal { transform: scale(calc(1 - var(--t, 0))); }
.sc-invite .rise { transform: translateY(calc((1 - var(--t, 0)) * 90px)); opacity: var(--t, 0); }
.sc-invite .notif { transform: translateY(calc((1 - var(--t, 0)) * -260px)); }

/* design: the frame becomes a wall of formats moving at different speeds */
.sc-design .col1 { transform: translateY(calc(var(--p, 0) * -260px)); }
.sc-design .col2 { transform: translateY(calc(var(--p, 0) * -80px)); }
.sc-design .col3 { transform: translateY(calc(var(--p, 0) * -420px)); }
.sc-design .tile { opacity: var(--t, 0); transform: scale(calc(.9 + var(--t, 0) * .1)); }

/* ---------- work reel (pinned horizontal) ---------- */
.reel { position: relative; background: var(--ivory); color: var(--char); }
.reel-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.reel-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 0 var(--gutter); margin-bottom: clamp(24px, 4vh, 44px); }
.reel-head h2 { font-size: clamp(44px, 7vw, 110px); line-height: .9; }
.reel-track { display: flex; gap: clamp(20px, 2.4vw, 36px); padding: 0 var(--gutter); will-change: transform; }
.reel-card { flex: none; height: min(54vh, 520px); display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.reel-card .work-media { height: calc(100% - 64px); }
.reel-card .work-media img { width: 100%; height: 100%; object-fit: cover; }
.reel-card .work-info { margin-top: 14px; }
.reel-end { flex: none; width: min(34vw, 420px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }

/* ---------- scroll-driven marquee ---------- */
.marquee { overflow: hidden; padding: clamp(40px, 7vw, 100px) 0; background: var(--char); }
.marquee-row { display: flex; gap: .5em; white-space: nowrap; font-family: var(--display); font-stretch: 62%; font-weight: 800; font-size: clamp(64px, 13vw, 210px); line-height: .95; color: transparent; -webkit-text-stroke: 1.5px rgba(242,240,234,.5); will-change: transform; }
.marquee-row + .marquee-row { color: var(--ivory); -webkit-text-stroke: 0; }
.marquee-row i { font-style: normal; color: var(--lime); -webkit-text-stroke: 0; }

/* ---------- image mask reveal (site-wide, on arrival) ---------- */
.js .reveal { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease); }
.js .reveal img { transform: scale(1.08); transition: transform 1.4s var(--ease); }
.js .reveal.in { clip-path: inset(0 0 0 0); }
.js .reveal.in img { transform: none; }

/* ---------- static journey: phones, small tablets, reduced motion ---------- */
html.j-static .journey { height: auto !important; }
html.j-static .j-pin { position: relative; height: auto; overflow: visible; }
html.j-static .j-bg, html.j-static .j-corners, html.j-static .j-rail, html.j-static .j-hint { display: none; }
html.j-static .j-ch { position: relative; inset: auto; visibility: visible; padding: clamp(56px, 12vw, 96px) var(--gutter); background: var(--chbg); color: var(--chink); display: flex; flex-direction: column; gap: 28px; }
html.j-static .j-copy { position: static; transform: none; width: auto; max-width: 40em; color: inherit; }
html.j-static .j-frame { position: relative; width: 100%; aspect-ratio: var(--ar); left: auto !important; top: auto !important; height: auto !important; max-height: 78svh; margin: 0 auto; }
html.j-static .j-frame[style*="--ar: 0.5625"], html.j-static .j-ch[data-ch="invite"] .j-frame { width: min(100%, 360px); }
html.j-static .j-ch[data-ch="hospitality"] .j-frame, html.j-static .j-ch[data-ch="music"] .j-frame { width: min(100%, 520px); }
html.j-static .j-ch[data-ch="intro"] .j-frame { display: none; }
html.j-static .j-ch[data-ch="intro"] { padding-bottom: 24px; }
html.j-static .j-readout { position: static; color: inherit; }
html.j-static .reel { height: auto !important; }
html.j-static .reel-pin { position: relative; height: auto; padding: 72px 0; }
html.j-static .reel-track { overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; padding-bottom: 12px; -webkit-overflow-scrolling: touch; }
html.j-static .reel-card { scroll-snap-align: start; height: 380px; }
html.j-static .reel-end { width: 78vw; }
@media (max-width: 600px) { html.j-static .reel-card { height: 320px; } }
.sc-music .rec-out { opacity: calc(1 - var(--e, 0)); }
/* leaving a chapter is quick; arriving is staged */
.j-fade { transition: opacity .2s ease, transform .3s ease; }
.j-ch.on .j-fade { transition: opacity .6s ease .25s, transform .7s var(--ease) .25s; }
.ln > span { transition: transform .35s ease; }
.j-ch.on .ln > span { transition: transform .85s var(--ease); }
html:not(.j-static) .j-copy .chip { display: none; }
.j-copy h2 { font-size: clamp(38px, 4.3vw, 72px); }
.reel-card .work-media { background: transparent; }
html.j-static .j-readout { display: none; }
html.j-static .j-ch .j-copy, html.j-static .j-ch[data-ch="intro"] .j-copy { width: auto; }
html.j-static .j-ch[data-ch="intro"] h1 { font-size: clamp(46px, 13vw, 84px); }
@media (max-width: 1240px) {
  .j-rail button { font-size: 0; gap: 0; padding: 7px 0; }
  .j-rail button::after { width: 12px; }
}
.j-ch[data-ch="intro"] .j-copy { width: min(46vw, 720px); }
.j-ch[data-ch="intro"] h1 { font-size: clamp(48px, 6vw, 100px); }

/* =================== stock photography (illustrative, credited) =================== */
.photo { position: relative; overflow: hidden; margin: 0; border-radius: 3px; background: var(--char-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.credit { position: absolute; right: 10px; bottom: 10px; z-index: 2; max-width: calc(100% - 20px); font-size: 12px; line-height: 1.3; padding: 5px 10px; border-radius: 999px; background: rgba(23, 25, 27, .72); color: #F2F0EA; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.svc-photo { margin-top: clamp(32px, 4vw, 56px); }
.ind-photo { margin-top: 28px; }
.photo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); padding: 40px 0 8px; }
.contact-photo { margin-top: 32px; }
@media (max-width: 760px) { .photo-pair { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .contact-photo { aspect-ratio: 4 / 3 !important; } }

/* full-bleed cinematic band with slow parallax */
.photo-band { position: relative; min-height: clamp(440px, 76vh, 820px); overflow: hidden; display: flex; align-items: flex-end; background: var(--char); }
.photo-band .band-photo { position: absolute; inset: 0; border-radius: 0; background: var(--char); }
.photo-band .band-photo img { height: 120%; margin-top: -10%; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.photo-band .band-photo::after { content: ""; position: absolute; inset: 0; background: rgba(23, 25, 27, .5); }
.photo-band .credit { bottom: 14px; right: 14px; }
.band-text { position: relative; z-index: 1; padding-top: 120px; padding-bottom: clamp(56px, 8vw, 104px); }
.band-text .statement { color: var(--ivory); }
.band-sub { margin-top: 22px; max-width: 40em; color: #D9DBDE; }
section.photo-band:not(:has(.band-text)) { min-height: clamp(320px, 56vh, 640px); }

/* home: industry photo tiles */
.ind-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(18px, 2vw, 28px); }
.ind-tile { text-decoration: none; color: inherit; display: block; }
.ind-tile .photo img { transition: transform .9s var(--ease); }
.ind-tile:hover .photo img { transform: scale(1.04); }
.ind-tile h3 { font-size: 21px; margin-top: 16px; }
.ind-tile p { color: var(--slate-on-dark); font-size: 16px; margin-top: 6px; }
@media (max-width: 900px) { .ind-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ind-tiles { grid-template-columns: minmax(0, 1fr); } }

/* credits table */
.credits { width: 100%; border-collapse: collapse; font-size: 15px; }
.credits th { text-align: left; font-weight: 600; padding: 10px 12px; border-bottom: 2px solid var(--char); }
.credits td { padding: 12px; border-bottom: 1px solid var(--line-light); vertical-align: middle; }
@media (max-width: 700px) {
  .credits thead { display: none; } .credits tr { display: grid; padding: 12px 0; border-bottom: 1px solid var(--line-light); }
  .credits td { border: 0; padding: 4px 0; }
}
.photo-band .band-photo img { height: 136%; margin-top: -18%; }
.photo-band .band-photo img { position: absolute; left: 0; top: -18%; width: 100%; height: 136%; margin: 0; }
