/* ============================================================
   SURELO STUDIO: section layouts
   Tokens live in style.css. Everything here reads them.
   ============================================================ */

.su-wrap {
  width: 100%;
  max-width: var(--su-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.su-label {
  display: block;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--page-text-muted);
}

.su-site .vellum-nav__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.02em;
  font-size: 19px;
}
.su-site .vellum-nav__links a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.su-link {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--page-text);
  text-decoration: none;
}
.su-link svg { width: 18px; height: 18px; transition: transform var(--dur-sm) var(--ease); }
a:hover .su-link svg, .su-link:hover svg { transform: translateX(5px); }

.su-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--su-paper);
  color: var(--su-ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--dur-sm) var(--ease), color var(--dur-sm) var(--ease);
}
.su-btn:hover { background: var(--color-accent); color: var(--su-ink); }

/* ── Section heads ─────────────────────────────────────────── */
.su-head { margin-bottom: clamp(28px, 4vw, 52px); }
.su-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.su-head__title {
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.035em;
  color: var(--page-text);
}
.su-head__note { margin: 0; color: var(--page-text-muted); font-size: 15px; }

/* ── Reel hero ─────────────────────────────────────────────── */
.su-reel {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #000;
  color: #fff;
}
.su-reel__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.su-reel__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,.05) 70%, rgba(0,0,0,.35) 100%);
}
.su-reel__inner { position: relative; padding-bottom: clamp(28px, 5vw, 64px); }
.su-reel .su-label { color: rgba(255,255,255,.78); }
.su-reel__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 14.5vw, 216px);
  font-weight: 800;
  line-height: .9;
  white-space: nowrap;
  letter-spacing: -.055em;
  color: #fff;
}
.su-reel__foot {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-top: clamp(20px, 3vw, 36px);
}
.su-reel__sub {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.5;
  color: rgba(255,255,255,.88);
}
.su-reel__sub a { color: #fff; text-decoration-color: var(--color-accent); text-underline-offset: 4px; }
.su-reel__toggle {
  flex: none;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
  background: rgba(0,0,0,.25);
  color: #fff;
  cursor: pointer;
}
.su-reel__toggle svg { width: 18px; height: 18px; }
.su-reel__toggle .i-play,
.su-reel__toggle[aria-pressed="true"] .i-pause { display: none; }
.su-reel__toggle[aria-pressed="true"] .i-play { display: block; }

.su-prod__logo {
  display: block;
  width: min(760px, 86vw);
  height: auto;
  margin: 0 0 4px -1%;
}

/* ── Slate feature ─────────────────────────────────────────── */
.su-slate { padding-top: clamp(80px, 10vw, 150px); }
.su-feature { display: block; color: inherit; text-decoration: none; }
.su-feature__media {
  position: relative;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: #000;
}
.su-feature__media video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.su-feature:hover .su-feature__media video { transform: scale(1.03); }
.su-feature__body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-areas: "logo meta" "logo line" "logo link";
  column-gap: clamp(24px, 5vw, 80px);
  align-items: start;
  padding-top: clamp(28px, 4vw, 52px);
}
.su-feature__logo { grid-area: logo; width: 100%; max-width: 620px; height: auto; }
.su-feature .su-meta { grid-area: meta; }
.su-feature__logline {
  grid-area: line;
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.02em;
}
.su-feature .su-link { grid-area: link; }

.su-meta { display: flex; gap: 36px; margin: 0; }
.su-meta div { margin: 0; }
.su-meta dt {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--page-text-muted);
}
.su-meta dd { margin: 4px 0 0; font-size: 15px; }
.su-meta--stack { flex-direction: column; gap: 18px; margin-top: 36px; }

/* ── Shots ─────────────────────────────────────────────────── */
.su-shots { padding-block: clamp(80px, 10vw, 150px); }
.su-shots__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
}
.su-shot { margin: 0; }
.su-shot--wide { grid-column: span 2; grid-row: span 2; }
.su-shot__btn {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #111;
  cursor: pointer;
}
.su-shot--wide .su-shot__btn { aspect-ratio: auto; height: calc(100% - 40px); min-height: 100%; }
.su-shot__btn img,
.su-shot__btn video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.su-shot__btn video { opacity: 0; transition: opacity var(--dur-sm) var(--ease); }
.su-shot__btn.is-live video { opacity: 1; }
.su-shot__play {
  position: absolute; left: 14px; bottom: 14px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(0,0,0,.45);
  color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background var(--dur-sm) var(--ease), color var(--dur-sm) var(--ease);
}
.su-shot__play svg { width: 16px; height: 16px; margin-left: 2px; }
.su-shot__btn:hover .su-shot__play,
.su-shot__btn:focus-visible .su-shot__play { background: var(--color-accent); color: var(--su-ink); }
.su-shot figcaption {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.35;
}
.su-shot figcaption span {
  display: block; margin-top: 2px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--page-text-muted);
}
/* The wide tile's caption sits inside the grid cell, under the frame. */
.su-shot--wide { display: flex; flex-direction: column; }
.su-shot--wide .su-shot__btn { flex: 1; height: auto; min-height: 0; }

/* ── Statement ─────────────────────────────────────────────── */
.su-statement {
  padding-block: clamp(80px, 10vw, 150px);
  border-top: 1px solid var(--page-line);
}
.su-statement__text {
  margin: 0;
  max-width: 30ch;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 60px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.03em;
}

/* ── World + bestiary ──────────────────────────────────────── */
.su-world { padding-block: clamp(80px, 10vw, 150px); border-top: 1px solid var(--page-line); }
.su-world__grid,
.su-beasts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 32px);
}
.su-beasts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.su-beasts { padding-block: 0 clamp(80px, 10vw, 150px); }
.su-place { margin: 0; }
.su-place img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #111;
}
.su-place figcaption { margin-top: 14px; }
.su-place figcaption .su-label { margin-bottom: 4px; }
.su-place strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 700;
  letter-spacing: -.02em;
}
.su-place p { margin: 8px 0 0; max-width: 52ch; color: var(--page-text-muted); font-size: 15px; line-height: 1.55; }

/* ── Hobo page ─────────────────────────────────────────────── */
.su-premise { padding-block: clamp(80px, 10vw, 150px); }
.su-premise__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 100px);
}
.su-prose p { margin: 0 0 1.1em; max-width: 64ch; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.65; color: var(--page-text-muted); }
.su-prose a { color: var(--page-text); text-decoration-color: var(--color-accent); text-underline-offset: 4px; }
.su-prose--lead p {
  color: var(--page-text);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.02em;
}

.su-crew { padding-block: 0 clamp(40px, 5vw, 70px); }
.su-crew__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 48px) clamp(18px, 2vw, 32px);
}
.su-person { margin: 0; }
.su-person img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #111; }
.su-person figcaption { margin-top: 16px; }
.su-person figcaption .su-label { margin-bottom: 4px; }
.su-person strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  letter-spacing: -.02em;
}
.su-person p { margin: 10px 0 0; max-width: 56ch; color: var(--page-text-muted); font-size: 15px; line-height: 1.55; }

/* ── CTA band ──────────────────────────────────────────────── */
.su-cta { padding-block: clamp(80px, 10vw, 140px); border-top: 1px solid var(--page-line); }
.su-cta__inner { display: flex; flex-direction: column; align-items: flex-start; }
.su-cta__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(44px, 8vw, 128px);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.05em;
}
.su-cta p { margin: 20px 0 32px; color: var(--page-text-muted); font-size: 17px; }

/* ── Inner pages ───────────────────────────────────────────── */
.su-page { padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 90px)); padding-bottom: clamp(60px, 8vw, 120px); }
.su-page-title {
  margin: 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 112px);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.05em;
}
.su-page-lede { margin: 24px 0 0; max-width: 52ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--page-text-muted); }

.su-work { display: grid; gap: clamp(48px, 6vw, 90px); margin-top: clamp(40px, 6vw, 80px); }
.su-work__item {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 60px);
  align-items: end;
  color: inherit;
  text-decoration: none;
}
.su-work__media { aspect-ratio: 16 / 9; overflow: hidden; background: #111; }
.su-work__media video, .su-work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.su-work__item:hover .su-work__media video { transform: scale(1.03); }
.su-work__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 52px);
  font-weight: 700; line-height: 1; letter-spacing: -.035em;
}
.su-work__body p { margin: 0; color: var(--page-text-muted); line-height: 1.55; max-width: 44ch; }

.su-studio__still { margin-top: clamp(40px, 6vw, 80px); }
.su-studio__still img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.su-studio__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 100px);
  margin-top: clamp(48px, 6vw, 90px);
}
.su-studio__how { margin-top: clamp(70px, 9vw, 130px); }
.su-steps {
  list-style: none; margin: clamp(28px, 4vw, 52px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 32px);
}
.su-steps li { padding-top: 22px; border-top: 1px solid var(--page-line); }
.su-steps h3 { margin: 0 0 10px; font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.su-steps p { margin: 0; color: var(--page-text-muted); line-height: 1.55; font-size: 15px; }

.su-prod-plain { padding-top: calc(var(--nav-h) + 60px); padding-bottom: 100px; }
.su-prod-plain__img { display: block; width: 100%; height: auto; margin: 40px 0; }

/* Contact + CF7 on dark */
.su-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.su-form label { display: block; margin-bottom: 18px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--page-text-muted); }
.su-form input[type="text"],
.su-form input[type="email"],
.su-form input[type="tel"],
.su-form textarea,
.su-form select {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid var(--page-line);
  border-radius: 0;
  background: rgba(255,255,255,.03);
  color: var(--page-text);
  font: 16px/1.4 var(--font-sans);
  text-transform: none;
  letter-spacing: 0;
}
.su-form input:focus, .su-form textarea:focus { outline: none; border-color: var(--color-accent); }
.su-form input[type="submit"], .su-form button[type="submit"] {
  min-height: 52px; padding: 0 30px;
  border: 0; border-radius: 999px;
  background: var(--su-paper); color: var(--su-ink);
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer;
}
.su-form input[type="submit"]:hover, .su-form button[type="submit"]:hover { background: var(--color-accent); }
.su-form .wpcf7-response-output { margin: 18px 0 0; padding: 12px 14px; border-color: var(--page-line); color: var(--page-text); }

/* ── Footer ────────────────────────────────────────────────── */
.su-footer { padding: clamp(60px, 8vw, 110px) 0 32px; border-top: 1px solid var(--page-line); }
.su-footer__mark {
  margin: 0 0 clamp(36px, 5vw, 64px);
  font-family: var(--font-display);
  font-size: clamp(56px, 11vw, 180px);
  font-weight: 800;
  line-height: .85;
  letter-spacing: -.055em;
}
.su-footer__grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.su-footer__about { margin: 0; max-width: 36ch; color: var(--page-text-muted); line-height: 1.55; }
.su-footer__links { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px 28px; flex-wrap: wrap; }
.su-footer__links a,
.su-footer__base a {
  color: var(--page-text);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none;
}
.su-footer__links a:hover, .su-footer__base a:hover { color: var(--color-accent); }
.su-footer__base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: clamp(40px, 6vw, 80px);
  padding-top: 22px;
  border-top: 1px solid var(--page-line);
  font-size: 13px; color: var(--page-text-muted);
}

/* ── Player ────────────────────────────────────────────────── */
.su-player {
  position: fixed; inset: 0;
  z-index: 9999;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  background: #050505;
  color: #fff;
  opacity: 0;
  transition: opacity var(--dur-sm) var(--ease);
  touch-action: pan-y;
}
.su-player[hidden] { display: none; }
.su-player.is-open { opacity: 1; }
.su-player__stage { margin: 0; grid-column: 2; }
.su-player__video { display: block; width: 100%; max-height: 80vh; background: #000; }
.su-player__cap { margin-top: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.su-player__close, .su-player__nav {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.su-player__close svg, .su-player__nav svg { width: 20px; height: 20px; }
.su-player__close { position: absolute; top: 18px; right: 18px; }
.su-player__prev { justify-self: center; }
.su-player__next { justify-self: center; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 960px) {
  .su-shots__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .su-world__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .su-feature__body { grid-template-columns: 1fr; grid-template-areas: "logo" "meta" "line" "link"; }
  .su-feature__logo { max-width: 440px; margin-bottom: 24px; }
  .su-work__item { grid-template-columns: 1fr; }
  .su-studio__grid, .su-premise__grid, .su-contact { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .su-shots__grid, .su-world__grid, .su-beasts__grid, .su-crew__grid, .su-steps { grid-template-columns: 1fr; }
  .su-shot--wide { grid-column: auto; grid-row: auto; }
  .su-shot--wide .su-shot__btn { aspect-ratio: 16 / 9; flex: none; }
  .su-feature__media { aspect-ratio: 4 / 3; }
  .su-studio__still img { aspect-ratio: 4 / 3; }
  .su-player { grid-template-columns: 1fr; padding: 0 12px; }
  .su-player__stage { grid-column: 1; }
  .su-player__nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .su-feature__media video, .su-work__media video { transition: none; }
}
