/* Van Born Studio mockup. Not deployed. */
:root {
  --gutter: clamp(1.2rem, 4vw, 3rem);
  --max: 1200px;
  --font-body: "Sora", "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius-pill: 999px;
}

/* Option A: cinematic copper */
[data-theme="a"] {
  --bg: #070503;
  --bg-2: #100C08;
  --bg-3: #1A140E;
  --fg: #F4EDE3;
  --muted: #A89880;
  --line: #2C2418;
  --line-strong: #3F3424;
  --accent: #C4783A;
  --accent-2: #E8C57A;
  --accent-soft: #E0994A;
  --accent-ink: #140C06;
  --glow: rgba(196, 120, 58, 0.22);
  --frame: #1C1610;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --header-bg: color-mix(in srgb, #070503 78%, transparent);
}

/* Option B: violet and neon pink */
[data-theme="b"] {
  --bg: #08040E;
  --bg-2: #110818;
  --bg-3: #1A0C24;
  --fg: #F6EEFF;
  --muted: #B49CC8;
  --line: #3A2048;
  --line-strong: #5A306E;
  --accent: #FF3CAC;
  --accent-2: #C084FC;
  --accent-soft: #FF6BCB;
  --accent-ink: #1A0614;
  --glow: rgba(255, 60, 172, 0.22);
  --frame: #14081C;
  --font-display: "Oswald", "Segoe UI", sans-serif;
  --header-bg: color-mix(in srgb, #08040E 78%, transparent);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); color: var(--fg); color-scheme: dark; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .18;
  background-image: url("/work/grain.png");
  background-size: 280px;
  mix-blend-mode: overlay;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
.wrap-wide { width: min(100% - var(--gutter) * 2, 1320px); margin-inline: auto; }
.skip {
  position: absolute; left: -999px; top: .5rem;
  background: var(--accent); color: var(--accent-ink); padding: .5rem 1rem;
}
.skip:focus { left: var(--gutter); z-index: 80; }

/* Header: same structure as Labs */
.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(16px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 4.25rem;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--fg); }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand span {
  font-family: "Syne", "Segoe UI", sans-serif;
  font-weight: 700; letter-spacing: -0.03em; font-size: 1.05rem;
}
.nav { display: flex; gap: 1.25rem; align-items: center; }
.nav a { text-decoration: none; color: var(--muted); font-size: .92rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav-cta {
  background: var(--accent) !important; color: var(--accent-ink) !important;
  font-weight: 600; padding: .45rem .85rem; border-radius: 999px; text-decoration: none;
}
.nav-ask {
  font: inherit; cursor: pointer; background: transparent; color: var(--muted);
  border: 1px solid var(--line); padding: .4rem .85rem; border-radius: 999px; font-size: .92rem;
}
.nav-ask:hover { color: var(--fg); border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.nav-toggle, .nav-toggle-label { display: none; }

@media (max-width: 800px) {
  .nav-toggle-label {
    display: flex; width: 2.4rem; height: 2.4rem; align-items: center; justify-content: center;
    border: 1px solid var(--line-strong); border-radius: 8px; cursor: pointer; flex-shrink: 0;
  }
  .nav-toggle-label .nav-toggle-icon,
  .nav-toggle-label .nav-toggle-icon:before,
  .nav-toggle-label .nav-toggle-icon:after {
    content: ""; display: block; width: 1.1rem; height: 2px; background: var(--fg); position: relative;
  }
  .nav-toggle-label .nav-toggle-icon:before { position: absolute; top: -6px; }
  .nav-toggle-label .nav-toggle-icon:after { position: absolute; top: 6px; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 4.25rem;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1rem;
  }
  .nav a { padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .nav-cta, .nav-ask { text-align: center; margin-top: .6rem; width: 100%; padding: .7rem .85rem; }
  .nav-toggle:checked ~ .nav { display: flex; }
}

/* Ambient glow */
.page-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
}
.page-glow span {
  position: absolute; border-radius: 50%; filter: blur(80px);
}
.page-glow .g1 { width: 46vw; height: 46vw; left: -8vw; top: -10vw; background: var(--glow); }
.page-glow .g2 { width: 32vw; height: 32vw; right: -6vw; top: 18vh; background: var(--glow); opacity: .65; }
[data-theme="a"] .page-glow .g3 {
  width: 24vw; height: 24vw; right: 18vw; top: 8vh;
  background: rgba(232, 197, 122, 0.10);
}
[data-theme="b"] .page-glow .g3 {
  width: 28vw; height: 28vw; left: 30vw; top: 0;
  background: rgba(155, 92, 255, 0.16);
}

main { position: relative; z-index: 1; }
#services, #work, #custom-websites, #process, #why, #contact { scroll-margin-top: 5.2rem; }


/* Hero: type plus one still */
.hero {
  padding: clamp(4.8rem, 12vw, 8.5rem) 0 clamp(4.2rem, 10vw, 7.2rem);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.8rem, 5vw, 4.2rem);
  align-items: center;
}
.hero-copy { max-width: 40rem; }
.hero-still {
  margin: 0;
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 28rem;
}
.hero-still::before {
  content: "";
  position: absolute;
  left: -1.15rem;
  top: 7%;
  bottom: 7%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--accent-2), transparent);
  opacity: .75;
  pointer-events: none;
}
.hero-still picture, .hero-still img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-still img {
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent-2) 38%, var(--line));
}


.hero-kicker {
  display: flex; align-items: center; gap: .75rem;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.15rem; font-weight: 600;
}
.hero-kicker::after {
  content: ""; flex: 0 0 3.2rem; height: 1px; background: var(--accent-2); opacity: .7;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: .96;
  margin: 0 0 1.2rem;
  color: var(--fg);
  font-size: clamp(3.1rem, 6.6vw, 5.8rem);
  max-width: 11ch;
}
[data-theme="b"] .hero h1 {
  font-weight: 500;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: .92;
  font-size: clamp(2.7rem, 5.8vw, 5rem);
  max-width: 12ch;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent-2);
  font-weight: 500;
}
[data-theme="b"] .hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-lead {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 1.7rem;
}
.actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; border-radius: 999px;
  padding: .78rem 1.15rem; font-weight: 600; font-size: .92rem;
  border: 1px solid transparent;
}
.btn-solid { background: var(--accent); color: var(--accent-ink); }
.btn-solid:hover { filter: brightness(1.06); }
.btn-ghost { border-color: var(--line-strong); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); }

/* Film frames */
.hero-frames {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: .7rem;
}
.frame {
  position: relative;
  overflow: hidden;
  background: var(--frame);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  isolation: isolate;
}
.frame img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.01);
}
.frame-wide {
  grid-column: 1 / span 2;
  grid-row: 1;
  aspect-ratio: 16 / 9;
  min-height: 0;
}
.frame-tall { aspect-ratio: 9 / 16; min-height: 0; }
.frame-meta {
  position: absolute; left: .7rem; bottom: .7rem; right: .7rem;
  display: flex; justify-content: space-between; align-items: flex-end; gap: .5rem;
  font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
  color: #fff;
  z-index: 2;
  pointer-events: none;
}
.frame-meta > span:first-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 6.5rem);
  border: 1px solid color-mix(in srgb, #fff 35%, transparent);
  background: #0008;
  backdrop-filter: blur(8px);
  padding: .18rem .45rem;
  border-radius: 2px;
}
.frame-tag {
  border: 1px solid color-mix(in srgb, #fff 35%, transparent);
  background: #0007;
  backdrop-filter: blur(6px);
  padding: .18rem .45rem;
  border-radius: 2px;
}
.frame::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-2) 18%, transparent);
  background: linear-gradient(180deg, transparent 55%, #0007 100%);
  z-index: 1;
}
/* corner ticks */
.frame-wide::before,
.frame-tick {
  content: "";
  position: absolute; inset: 8px; pointer-events: none; z-index: 2;
  background:
    linear-gradient(var(--accent-2), var(--accent-2)) top left / 14px 1px no-repeat,
    linear-gradient(var(--accent-2), var(--accent-2)) top left / 1px 14px no-repeat,
    linear-gradient(var(--accent-2), var(--accent-2)) top right / 14px 1px no-repeat,
    linear-gradient(var(--accent-2), var(--accent-2)) top right / 1px 14px no-repeat,
    linear-gradient(var(--accent-2), var(--accent-2)) bottom left / 14px 1px no-repeat,
    linear-gradient(var(--accent-2), var(--accent-2)) bottom left / 1px 14px no-repeat,
    linear-gradient(var(--accent-2), var(--accent-2)) bottom right / 14px 1px no-repeat,
    linear-gradient(var(--accent-2), var(--accent-2)) bottom right / 1px 14px no-repeat;
  opacity: .75;
}

/* Sections */
.section { padding: clamp(4.4rem, 8vw, 6.2rem) 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 1.4rem; margin-bottom: 2.2rem;
  border-top: 1px solid var(--line); padding-top: 1.6rem;
}
.section-idx {
  font-family: var(--font-mono); color: var(--accent); font-size: .78rem; letter-spacing: .12em;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}
[data-theme="b"] .section-head h2 { font-weight: 500; text-transform: uppercase; letter-spacing: .02em; }
.section-head p { color: var(--muted); max-width: 26rem; margin: 0; font-size: .95rem; }

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.service {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  padding: 1.45rem 1.2rem 1.5rem;
  min-height: 17.5rem;
  display: flex; flex-direction: column; gap: .8rem;
  position: relative;
  transition: border-color .2s ease, transform .2s ease;
}
.service:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.service .num {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em;
  color: var(--accent-2);
}
.service h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.55rem;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
}
[data-theme="b"] .service h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.2rem; letter-spacing: .04em; }
.service p { margin: 0; color: color-mix(in srgb, var(--fg) 28%, var(--muted)); font-size: .95rem; line-height: 1.55; }
.service .rule {
  margin-top: auto;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-2), transparent);
  opacity: .45;
}

/* Process */
.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process-list article {
  padding: 1.8rem 1.3rem 1.8rem 0;
  margin-right: 1.3rem;
  border-right: 1px solid var(--line);
}
.process-list article:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.process-list .num {
  font-family: var(--font-display); color: var(--accent-2);
  font-size: 1.35rem; letter-spacing: .04em; display: block; margin-bottom: .7rem;
}
.process-list h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.55rem;
  margin: 0 0 .55rem; letter-spacing: -0.02em;
}
[data-theme="b"] .process-list h3 { text-transform: uppercase; font-size: 1.1rem; letter-spacing: .06em; }
.process-list p { margin: 0; color: color-mix(in srgb, var(--fg) 28%, var(--muted)); font-size: .95rem; line-height: 1.55; }

/* Portfolio */
.work-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  grid-template-rows: 22rem 22rem;
  gap: .7rem;
}
.work-grid .cell { min-height: 0; }
.work-grid .span-row { grid-row: 1 / span 2; }
.work-grid .wide { grid-column: 2 / span 2; }
.work-grid .frame { height: 100%; }
.work-grid .frame img { object-position: center; }

/* Contact */
.contact {
  padding: clamp(4.4rem, 8vw, 6.2rem) 0 5.5rem;
}
.contact-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(800px 280px at 10% 0%, var(--glow), transparent 60%),
    linear-gradient(180deg, var(--bg-3), var(--bg-2));
  padding: clamp(1.6rem, 4vw, 3rem);
}
.contact h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.3rem, 4.5vw, 3.8rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 1rem;
  max-width: 16ch;
}
[data-theme="b"] .contact h2 { text-transform: uppercase; }
.contact .lead { color: var(--muted); margin: 0 0 1.6rem; max-width: 34rem; }
.contact-aside {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 1rem;
  border-left: 1px solid var(--line); padding-left: 2rem;
}
.contact-aside .label {
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2);
}
.mail {
  color: var(--fg); font-size: 1.15rem; text-decoration: none; border-bottom: 1px solid var(--accent);
  width: fit-content;
}
.mail:hover { color: var(--accent-2); }
.contact-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* Footer */
.site-footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line);
  padding: 1.8rem 0 2.2rem;
  color: var(--muted); font-size: .88rem;
}
.footer-inner { display: grid; gap: .8rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .55rem 1.1rem; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--fg); }
.footer-copy { margin: .4rem 0 0; }

@media (max-width: 1100px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process-list article:nth-child(3) { border-right: 0; }
  .process-list article:nth-child(n+4) { border-top: 1px solid var(--line); }
  .work-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 18rem 22rem 22rem; }
  .work-grid .span-row { grid-row: 1; grid-column: 1 / span 2; }
  .work-grid .wide { grid-column: 1 / span 2; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 12ch; }
  .hero-still {
    justify-self: start;
    max-width: 18rem;
    margin-top: .35rem;
  }
  .hero-still::before {
    left: 0;
    top: -0.7rem;
    bottom: auto;
    width: 3.2rem;
    height: 1px;
    background: var(--accent-2);
  }
}
@media (max-width: 420px) and (max-height: 700px) {
  .hero-still { display: none; }
}
@media (max-width: 700px) {
  .services, .process-list { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .process-list article {
    border-right: 0; margin-right: 0; padding-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .process-list article:last-child { border-bottom: 0; }
  .process-list article:nth-child(n+4) { border-top: 0; }
  .work-grid { grid-template-columns: 1fr; grid-template-rows: 16rem 22rem 16rem 22rem 16rem; }
  .work-grid .span-row, .work-grid .wide { grid-column: 1; grid-row: auto; }
  .contact-box { grid-template-columns: 1fr; }
  .contact-aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1.4rem; }
  .hero-frames { grid-template-columns: 1fr 1fr; }
  .frame-wide { grid-column: 1 / span 2; grid-row: auto; min-height: 14.5rem; }
  .frame-tall { min-height: 16rem; }
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.work-grid img[src*="collarose-burst"] { object-position: 50% 82%; }
.work-grid img[src*="aurelia-cgi"] { object-position: 50% 40%; }
.work-grid img[src*="ident-cgi"] { object-position: 50% 38%; }
.work-grid.work-row-2 { grid-template-columns: 0.85fr 1.3fr 0.85fr; grid-template-rows: 24rem; }
@media (max-width: 1100px) {
  .work-grid.work-row-2 { grid-template-columns: 1fr 1fr; grid-template-rows: 22rem; }
  .work-grid.work-row-2 .cell:first-child { grid-column: 1 / span 2; }
}
@media (max-width: 700px) {
  .hero-frames { grid-template-columns: 1fr 1fr; }
  .frame-wide { grid-column: 1 / span 2; grid-row: auto; aspect-ratio: 16 / 9; min-height: 0; }
  .frame-tall { aspect-ratio: 9 / 16; min-height: 0; }
  .work-grid.work-row-2 { grid-template-columns: 1fr; grid-template-rows: 20rem 16rem 22rem; }
  .work-grid.work-row-2 .cell:first-child { grid-column: 1; }
}

/* Hero posters: clean desktop frames, no chrome, no phones */
.hero-posters {
  position: relative;
  min-height: 28rem;
  height: 100%;
}
.poster {
  display: block;
  background: var(--frame);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(0,0,0,.45);
  text-decoration: none;
  color: inherit;
}
.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  background: #140e0a;
}
.poster-main {
  position: relative;
  z-index: 2;
  width: 86%;
  margin-left: auto;
  aspect-ratio: 16 / 10;
}
.poster-back {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 8%;
  width: 62%;
  aspect-ratio: 16 / 10;
  transform: rotate(-3.5deg);
  opacity: .92;
}
.poster-back:hover,
.poster-main:hover {
  border-color: color-mix(in srgb, var(--accent-2) 55%, var(--line-strong));
}
.poster-label {
  position: absolute;
  left: .7rem;
  bottom: .7rem;
  z-index: 2;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: #0008;
  backdrop-filter: blur(8px);
  padding: .22rem .5rem;
  border-radius: 2px;
  pointer-events: none;
}

/* Showcase */
.industry-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 1.4rem;
}
.industry-tabs button {
  appearance: none;
  font: inherit;
  cursor: pointer;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .4rem .85rem;
  font-size: .78rem;
  letter-spacing: .04em;
}
.industry-tabs button:hover { color: var(--fg); border-color: var(--line-strong); }
.industry-tabs button.is-on {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  font-weight: 600;
}
.showcase-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16rem, .7fr);
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: stretch;
  margin-bottom: 1.8rem;
}
.site-frame {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  background: #0c0a08;
  aspect-ratio: 16 / 10;
  max-height: 640px;
  box-shadow: 0 24px 50px rgba(0,0,0,.35);
}
.site-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #0c0a08;
  display: block;
}
.showcase-copy h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 .7rem;
}
.showcase-copy .ind {
  display: block;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 .55rem;
  font-weight: 600;
}
.showcase-copy p { color: var(--muted); margin: 0 0 1.1rem; }
.showcase-copy .btn { margin-top: .2rem; }

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.shot-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  text-align: left;
  min-width: 0;
}
.shot-card .shot {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--frame);
  transition: border-color .2s ease, transform .2s ease;
}
.shot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.shot-card.is-active .shot,
.shot-card:hover .shot {
  border-color: color-mix(in srgb, var(--accent-2) 60%, var(--line));
}
.shot-card.is-active .shot {
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent-2) 40%, transparent);
}
.shot-meta {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .7rem .1rem .15rem;
}
.shot-meta b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.shot-card .btn {
  align-self: flex-start;
  margin-top: .55rem;
  padding: .4rem .85rem;
  font-size: .78rem;
}
.shot-meta span {
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Why us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
}
.why-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  padding: 1.3rem 1.15rem 1.4rem;
}
.why-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  margin: 0 0 .55rem;
  line-height: 1.15;
}
.why-card p { margin: 0; color: var(--muted); font-size: .92rem; }

@media (max-width: 1100px) {
  .showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-posters { min-height: 18rem; margin-top: .4rem; }
  .poster-main { width: 92%; }
  .poster-back { width: 58%; top: 6%; }
  .showcase-featured { grid-template-columns: 1fr; }
  .site-frame { max-height: 420px; }
  .section-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 700px) {
  .showcase-grid, .why-grid { grid-template-columns: 1fr; }
  .hero-posters { min-height: 16rem; }
  .poster-back { display: none; }
  .poster-main { width: 100%; }
  .industry-tabs { gap: 6px; }
  .industry-tabs button { font-size: 0.72rem; padding: 0.35rem 0.7rem; }
  .site-frame { max-height: 320px; }
}


/* Clean showcase: one live frame, no poster grid */
.showcase-featured {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.site-frame {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  background: #0c0a08;
  aspect-ratio: 16 / 10;
  width: 100%;
  max-height: 680px;
  box-shadow: 0 24px 50px rgba(0,0,0,.35);
}
.site-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #0c0a08;
  display: block;
}
.showcase-copy {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.showcase-copy h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 .35rem;
}
.showcase-copy .ind {
  display: block;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 .4rem;
  font-weight: 600;
}
.showcase-copy p { color: var(--muted); margin: 0; max-width: 36rem; }
.showcase-copy .btn { flex-shrink: 0; margin: 0; }
.hero-posters, .showcase-grid, .shot-card, .poster { display: none !important; }

@media (max-width: 900px) {
  .hero { padding: 3.6rem 0 3.2rem; }
  .showcase-copy { flex-direction: column; align-items: flex-start; }
  .site-frame { max-height: 420px; }
}
@media (max-width: 700px) {
  .site-frame { max-height: 280px; }
}

/* Custom websites: editorial block after the showcase */
#custom-websites { scroll-margin-top: 5.2rem; }
.need-head { max-width: 38rem; margin-bottom: 2rem; }
.need-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: .35rem 0 .9rem;
}
[data-theme="b"] .need-head h2 { font-weight: 500; text-transform: uppercase; letter-spacing: .02em; }
.need-lead {
  margin: 0 0 .85rem;
  color: color-mix(in srgb, var(--fg) 40%, var(--muted));
  font-size: 1.05rem;
  line-height: 1.55;
}
.need-intro {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.6;
}
.need-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
}
.need-cols article {
  min-width: 0;
  padding: 1.15rem 1.3rem 1.2rem 0;
  margin-right: 1.3rem;
  border-right: 1px solid color-mix(in srgb, var(--accent) 32%, var(--line));
}
.need-cols article:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}
.need-cols h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 .45rem;
}
[data-theme="b"] .need-cols h3 { text-transform: uppercase; font-size: .95rem; letter-spacing: .05em; }
.need-cols p {
  margin: 0;
  color: color-mix(in srgb, var(--fg) 22%, var(--muted));
  font-size: .9rem;
  line-height: 1.5;
}
.need-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.7rem; }
@media (max-width: 900px) {
  .need-cols { grid-template-columns: 1fr 1fr; }
  .need-cols article {
    padding: 1rem 1rem 1.1rem 0;
    margin-right: 0;
    border-right: 1px solid color-mix(in srgb, var(--accent) 32%, var(--line));
    border-bottom: 1px solid color-mix(in srgb, var(--accent) 32%, var(--line));
  }
  .need-cols article:nth-child(odd) { padding-right: 1rem; }
  .need-cols article:nth-child(even) {
    border-right: 0;
    padding-right: 0;
    padding-left: 1rem;
  }
  .need-cols article:nth-child(n+3) { border-bottom: 0; }
}
@media (max-width: 560px) {
  .need-cols { column-gap: 0; }
  .need-cols h3 { font-size: 1.08rem; }
  .need-cols p { font-size: .86rem; line-height: 1.45; }
  .need-cols article { padding-top: .9rem; padding-bottom: 1rem; }
  .need-cols article:nth-child(odd) { padding-right: .85rem; }
  .need-cols article:nth-child(even) { padding-left: .85rem; }
  .need-actions { width: 100%; }
  .need-actions .btn { flex: 1 1 auto; text-align: center; }
}

/* About the Studio (/studio/about/) */
#who, #what, #how, #who-for { scroll-margin-top: 5.2rem; }
.about-hero .hero-copy { max-width: 46rem; }
.about-crumb { margin: 0 0 1.4rem; font-size: .85rem; color: var(--muted); }
.about-crumb a { color: var(--accent-2); text-decoration: none; }
.about-crumb a:hover { text-decoration: underline; }
.about-prose { max-width: 44rem; margin-bottom: 2rem; }
.about-prose p { margin: 0 0 1rem; color: color-mix(in srgb, var(--fg) 30%, var(--muted)); font-size: 1.02rem; line-height: 1.65; }
.about-prose p:last-child { margin-bottom: 0; }
.about-prose a, .about-note a { color: var(--accent-2); }
.about-note { max-width: 44rem; margin: 1.7rem 0 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }
@media (max-width: 560px) {
  .about-prose p { font-size: .97rem; }
}
