/* ============================================================
   ROUNDBOX Productions — roundbox.film (staging) → roundbox.cz (prod)
   Single source of truth.
   Aesthetic: cream paper, ink black, Cormorant Garamond for the
   letter, Inter for navigation. Auteur restraint — generous
   breathing room, narrow reading column.
   ============================================================ */

:root {
  /* Monochrome palette — page is black & white; images and video keep their own colors */
  --ink:        #1a1a1a;
  --ink-deep:   #0e0e0e;
  --cream:      #f3f3f3;
  --cream-warm: #e6e6e6;
  --paper:      #f7f7f7;
  --ash:        #767676;
  --ash-quiet:  #9c9c9c;
  --rule:       rgba(26, 26, 26, 0.10);
  --rule-strong:rgba(26, 26, 26, 0.22);
  --gold:       #8c8c8c;
  --red:        #ff0000;   /* brand red — the dot in the logo */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* iOS/iPadOS Safari fixes:
     1. Disable auto text-size adjustment (Safari was scaling text on larger iPads)
     2. Prevent horizontal overflow (which causes Safari to zoom out the whole page,
        making ALL text appear smaller than designed) */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100vw;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }

img { display: block; max-width: 100%; height: auto; }

/* ============================================================
   LAYOUT
   ============================================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 32px;
}

.container-letter {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 140px 0; }
.section-paper-warm { background: var(--cream-warm); }
.section-dark { background: var(--ink-deep); color: var(--cream); }
.section-letter { padding: 160px 0 140px; background: var(--ink-deep); }

/* Story section — white text on black */
.section-letter .letter,
.section-letter .letter p,
.section-letter .intro-lead { color: var(--cream); }
.section-letter .letter p em { color: var(--ash-quiet); }
.section-letter .letter p strong { color: var(--cream); }
.section-letter .dropcap { color: var(--cream); }
.section-letter .letter-close { color: rgba(243, 243, 243, 0.75); }
.section-letter .letter-signature { color: rgba(243, 243, 243, 0.7) !important; }
.section-letter .story-more > summary { color: var(--cream); }

.spacer-xs { height: 8px; }
.spacer-s { height: 16px; }
.spacer-m { height: 40px; }
.spacer-l { height: 80px; }

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: fixed;            /* locked — stays in place while scrolling */
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 48px;
  background: rgba(14, 14, 14, 0.38);          /* subtle bar keeps white mark + EN·CS readable over any section */
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.brand-mark { display: inline-flex; align-items: center; cursor: pointer; }
.mark-o { position: relative; display: block; width: 42px; height: 42px; }
.mark-o-img { width: 100%; height: 100%; display: block; }
/* dot orbits the centre of the "o" (43.3% / 56.6%); rotation driven by scroll via JS */
.mark-orbit {
  position: absolute;
  inset: 0;
  transform-origin: 43.3% 56.6%;
  will-change: transform;
}
.mark-dot {
  position: absolute;
  left: 82.8%;
  top: 16.7%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--red);
}

@media (max-width: 720px) {
  .mark-o { width: 34px; height: 34px; }
  .mark-dot { width: 6.5px; height: 6.5px; }
}

.lang-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 0.30em;
  font-weight: 500;
  margin-top: 0;   /* vertically centered in the fixed bar */
}

@media (max-width: 720px) {
  .lang-nav { margin-top: 0; }
}

.lang-active {
  color: var(--cream);
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
}

.lang-divider { opacity: 0.4; }

/* centre header menu — links to each section */
.section-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.section-nav-link {
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.7;
  transition: color 0.45s ease, opacity 0.45s ease;
}
.section-nav-link:hover { opacity: 1; color: var(--red); }

.nav-toggle { display: none; }

@media (max-width: 860px) {
  /* EN · CS exactly centred between the screen edges */
  .lang-nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  /* burger button */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    padding: 8px;
    background: none; border: none; cursor: pointer;
    margin-left: 14px;
  }
  .nav-toggle span {
    display: block; width: 22px; height: 2px;
    background: rgba(243, 243, 243, 0.62) !important;   /* same as the LIGHT. TECH. MAGIC. claim */
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
  }
  .menu-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* dropdown panel under the fixed bar — slides open, items stagger in */
  .section-nav {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 22px;
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: rgba(14, 14, 14, 0.92);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    pointer-events: none;
    transition: max-height 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                padding 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.4s ease;
  }
  .menu-open .section-nav {
    max-height: 70vh;
    padding: 28px 24px 32px;
    opacity: 1;
    pointer-events: auto;
  }
  .section-nav-link {
    font-size: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), color 0.45s ease;
  }
  .menu-open .section-nav-link { opacity: 1; transform: translateY(0); }
  .menu-open .section-nav-link:nth-child(1) { transition-delay: 0.12s; }
  .menu-open .section-nav-link:nth-child(2) { transition-delay: 0.19s; }
  .menu-open .section-nav-link:nth-child(3) { transition-delay: 0.26s; }
  .menu-open .section-nav-link:nth-child(4) { transition-delay: 0.33s; }
}

.lang-coming {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Working language link — used on the CS page for the EN toggle.
   Subtle, but interactive — opposite of .lang-coming (ghosted) */
.lang-link {
  color: var(--cream);
  opacity: 0.62;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.lang-link:hover {
  opacity: 1;
  color: var(--gold);
}

/* ============================================================
   HERO — Hradčany backdrop with restrained overlay
   ============================================================ */

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;   /* match the hero video so object-fit: cover shows the whole frame */
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ink-deep);
}

.hero-image-wrap {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(0.15) contrast(1.05) brightness(0.85);
}

.hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  /* Gradient reduced by 50% — Prague photo reads more openly through */
  background:
    linear-gradient(180deg, rgba(14, 14, 14,0.275) 0%, rgba(14, 14, 14,0.175) 40%, rgba(14, 14, 14,0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--cream);
  padding: 0 32px;
  max-width: 900px;
  transform: translateY(-20%);   /* lift hero logo higher in the frame */
}

/* Hero title — typographic echo of the logo above.
   "roundbox" lowercase + "PRODUCTIONS" spaced uppercase, both in
   Quicksand Light to match the logo's soft-geometric character. */
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: var(--cream);
  line-height: 1;
}

/* Hero logo — black-background PNG dropped onto the video via screen blend
   so only the white wordmark + red dot remain visible */
.hero-logo-wrap {
  position: relative;
  display: inline-block;
  animation: heroLogoIn 2.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-logo {
  width: clamp(280px, 52vw, 620px);
  height: auto;
  display: block;
  mix-blend-mode: screen;
}
/* REC indicator — the red dot baked into the hero logo, separated out so it can pulse */
.hero-rec {
  position: absolute;
  left: 24.41%;
  top: 22.45%;
  width: 2.05%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--red);
  animation: recPulse 4s ease-in-out infinite;
}
/* full ~2s, then a 2s blink */

/* Logo entrance — motion starts immediately, eases into a gentle settle. Plays on every load / reload */
@keyframes heroLogoIn {
  0%   { opacity: 0; transform: translateY(14px) scale(0.985); filter: blur(3px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes recPulse { 0%, 50% { opacity: 1; } 75% { opacity: 0.3; } 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero-logo-wrap { animation: none; }
  .hero-rec { animation: none; }
}

.hero-title-main {
  font-size: clamp(56px, 10vw, 120px);
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-title-sub {
  font-size: clamp(14px, 2vw, 22px);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.45em;
  margin-top: 18px;
  /* Hang the spacing on the right so optical edges align */
  text-indent: 0.45em;
  color: rgba(243, 243, 243, 0.88);
}

@media (max-width: 720px) {
  .hero-title-sub {
    letter-spacing: 0.35em;
    text-indent: 0.35em;
    margin-top: 12px;
  }
}

/* ============================================================
   TABLET — iPad portrait & landscape (720–1199px)
   Explicit size lock — iPad Safari has rendered clamp() unpredictably
   in this range. These values lock ROUNDBOX as the dominant word.
   ============================================================ */
@media (min-width: 720px) and (max-width: 1199px) {
  .hero-title-main { font-size: 104px; line-height: 1; }
  .hero-title-sub { font-size: 18px; line-height: 1.4; margin-top: 16px; }
  .hero { min-height: auto; }
}

/* ============================================================
   THE LETTER
   ============================================================ */

.letter {
  color: var(--ink);
}

.letter p {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0;
  margin-bottom: 24px;
  color: var(--ink);
}

.letter p em {
  font-style: italic;
  color: var(--ash);
}

.letter p strong {
  font-weight: 600;
  color: var(--ink-deep);
}

.letter-opening {
  margin-top: 0;
}

.dropcap {
  float: left;
  font-family: 'Poppins', sans-serif;
  font-size: 76px;
  font-weight: 600;
  line-height: 0.85;
  margin-right: 14px;
  margin-top: 6px;
  margin-bottom: -6px;
  color: var(--ink-deep);
}

.letter-close {
  margin-top: 40px;
  color: var(--ash);
}

.letter-signature {
  margin-top: 32px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 15px !important;
  font-style: italic;
  color: var(--ash) !important;
  text-align: right;
}

/* Short intro + expandable full story */
.intro-lead {
  font-size: 18px !important;
  line-height: 1.75;
  color: var(--ink-deep);
}

/* Scroll-triggered reveal — same motion as the hero logo, fired on scroll-into-view */
.intro-lead.reveal { opacity: 0; }
.intro-lead.reveal.in-view { animation: heroLogoIn 2.5s cubic-bezier(0.16, 1, 0.3, 1) both; }

@media (prefers-reduced-motion: reduce) {
  .intro-lead.reveal { opacity: 1; }
  .intro-lead.reveal.in-view { animation: none; }
}

.story-more { margin-top: 28px; }

.story-more > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-deep);
}
.story-more > summary::-webkit-details-marker { display: none; }
.story-more > summary::after {
  content: "→";
  display: inline-block;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s ease;
}
/* arrow behaves like the .link-arrow: shifts right + turns red on hover */
.story-more > summary:hover::after { transform: translateX(3px) !important; color: var(--red); }
/* while expanded: arrow rotates to point down + stays red; returns to horizontal on close */
.story-more.is-open > summary::after { color: var(--red); transform: rotate(90deg) !important; }
/* subtle grow on hover — holds while hovered, eases back on leave */
.story-more > summary { transform-origin: left center; transition: transform 0.3s ease; }
.story-more > summary:hover { transform: scale(1.04); }

/* JS-driven accordion — height animates in px over the full 2.5s (reliable).
   display:block keeps content rendered even when closed so height can transition. */
details.story-more > .story-body {
  display: block;
  height: 0;
  overflow: hidden;
  transition: height 2.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.story-inner {
  padding-top: 36px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1.5s ease 0.5s, transform 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.5s;
}
.story-more.is-open .story-inner { opacity: 1; transform: translateY(0); }
.story-inner > p:first-child { margin-top: 0; }

/* "The story continues" reveal — text unfurls left→right, then the arrow shoots out. JS-armed. */
.story-more > summary .sc-label { display: inline-block; }
.story-more.armed > summary .sc-label { clip-path: inset(0 100% 0 0); }
.story-more.armed > summary::after { opacity: 0; transform: translateX(-14px); }
.story-more.play > summary .sc-label { animation: scWipe 0.6s ease forwards; }
.story-more.play > summary::after { animation: scShoot 0.45s cubic-bezier(0.2, 0.9, 0.25, 1) 0.6s forwards; }
.story-more.shot > summary::after { animation: none !important; opacity: 1; transform: translateX(0); }
.story-more.shot.is-open > summary::after { transform: rotate(90deg); }
.story-more.shot > summary:hover::after { transform: translateX(3px); }
.story-more.shot.is-open > summary:hover::after { transform: rotate(90deg); }
.story-more.shot > summary .sc-label { animation: none !important; clip-path: none !important; }

/* "In motion" text + photo reveal with the same hero animation, staggered, on scroll-in */
.work-reveal { opacity: 0; }
.work-reveal.in-view { animation: heroLogoIn 2.5s cubic-bezier(0.16, 1, 0.3, 1) both; }
@media (prefers-reduced-motion: reduce) {
  .work-reveal { opacity: 1; }
  .work-reveal.in-view { animation: none; }
}

/* in-motion photo: parallax only on phones (drop the competing reveal settle) */
@media (max-width: 720px) {
  .work-image.work-reveal { opacity: 1; }
  .work-image.work-reveal.in-view { animation: none; }
}

/* contact content reveal — same hero animation on scroll-in */
.contact-reveal { opacity: 0; }
.contact-reveal.in-view { animation: heroLogoIn 2.5s cubic-bezier(0.16, 1, 0.3, 1) both; }
@media (prefers-reduced-motion: reduce) {
  .contact-reveal { opacity: 1; }
  .contact-reveal.in-view { animation: none; }
}

/* circle rows reveal with the same hero animation, staggered, on scroll-in */
.circle-row.reveal { opacity: 0; }
.circle-row.reveal.in-view { animation: heroLogoIn 2.5s cubic-bezier(0.16, 1, 0.3, 1) both; }
@media (prefers-reduced-motion: reduce) {
  .circle-row.reveal { opacity: 1; }
  .circle-row.reveal.in-view { animation: none; }
}

/* phone: arrows for "the story continues" and the trilogy link are red by default */
@media (max-width: 720px) {
  .story-more > summary::after,
  .story-more.shot > summary::after,
  .link-reveal::after,
  .link-reveal.shot::after { color: var(--red); }
}

/* circle names: keep scroll reveal, but no tap/hover shift on touch devices */
@media (hover: none), (max-width: 720px) {
  .circle-row:hover .circle-name { transform: none; }
}

@keyframes scWipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes scShoot { 0% { opacity: 0; transform: translateX(-14px); } 60% { opacity: 1; } 100% { opacity: 1; transform: translateX(0); } }

@media (prefers-reduced-motion: reduce) {
  .story-more.armed > summary .sc-label { clip-path: none; }
  .story-more.armed > summary::after { opacity: 1; transform: translateX(0); }
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

.eyebrow {
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ash);
  font-weight: 500;
}

.eyebrow-light { color: rgba(243, 243, 243, 0.65); }
/* hero claim sits ~50% of the logo height above the logo (logo height ≈ width/3.94) */
.hero-content .eyebrow-light { margin-bottom: clamp(36px, 6.6vw, 79px); }
/* claim words fade in one after another (1 - 2 - 3); replays every time the hero scrolls back in */
.claim-word { display: inline-block; opacity: 0; }
.claim-play .claim-word { animation: heroLogoIn 2.5s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: 0.25s; }
.claim-play .claim-word:nth-child(2) { animation-delay: 0.85s; }
.claim-play .claim-word:nth-child(3) { animation-delay: 1.45s; }
@media (prefers-reduced-motion: reduce) {
  .claim-word { opacity: 1; }
  .claim-play .claim-word { animation: none; }
}
/* portrait phones: claim words stack vertically + logo 15% larger */
@media (orientation: portrait) and (max-width: 820px) {
  .claim-word { display: block; }
  .hero-logo { width: clamp(322px, 60vw, 713px); }
}


.title-m {
  font-family: 'Poppins', sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink-deep);
}

.title-m em {
  font-style: italic;
  font-weight: 300;
  color: var(--ash);
}

.title-m.light { color: var(--cream); }
.title-m.light em { color: rgba(243, 243, 243, 0.65); }

.body-l {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
}

.body-l.light { color: rgba(243, 243, 243, 0.85); }
.body-l.light a { color: var(--cream); border-bottom: 1px solid rgba(243, 243, 243,0.32); }
.body-l.light a { transition: border-color 0.3s ease; }
.body-l.light a:hover { color: var(--cream); border-bottom-color: var(--red); }
.body-l a {
  border-bottom: 1px solid var(--rule-strong);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.body-l a:hover { color: var(--gold); border-bottom-color: var(--gold); }

.body-s {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  color: var(--ash);
}

.body-s.light-quiet { color: rgba(243, 243, 243, 0.55); }

.link-arrow {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-deep) !important;
  border-bottom: none !important;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.link-arrow:hover { color: var(--ink-deep) !important; }

.link-arrow span:not(.sc-label) {
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s ease;
  display: inline-block;
}

.link-arrow:hover span:not(.sc-label) { transform: translateX(6px); color: var(--red); }

/* trilogy link: identical mechanism to "the story continues" — arrow is ::after, label wipes in */
.link-reveal { display: inline-flex; align-items: center; gap: 12px; }
.link-reveal { transform-origin: left center; transition: transform 0.3s ease; }
.link-reveal:hover { transform: scale(1.04); }
.link-reveal .sc-label { display: inline-block; }
.link-reveal::after {
  content: "\2192";
  display: inline-block;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s ease;
}
.link-reveal.armed .sc-label { clip-path: inset(0 100% 0 0); }
.link-reveal.armed::after { opacity: 0; transform: translateX(-14px); }
.link-reveal.play .sc-label { animation: scWipe 0.6s ease forwards; }
.link-reveal.play::after { animation: scShoot 0.45s cubic-bezier(0.2, 0.9, 0.25, 1) 0.6s forwards; }
.link-reveal.shot::after { animation: none !important; opacity: 1; transform: translateX(0); }
.link-reveal:hover::after { transform: translateX(6px); color: var(--red); }
.link-reveal.shot .sc-label { animation: none !important; clip-path: none !important; }
@media (prefers-reduced-motion: reduce) {
  .link-reveal.armed .sc-label { clip-path: none; }
  .link-reveal.armed::after { opacity: 1; transform: translateX(0); }
}

/* ============================================================
   COLLABORATORS GRID
   ============================================================ */

.collab-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-top: 24px;
}

@media (min-width: 720px) {
  .collab-grid { grid-template-columns: repeat(3, 1fr); gap: 48px; }
}

.collab-card {
  padding: 32px 28px;
  border: 1px solid var(--rule-strong);
  border-radius: 16px;
  background: var(--paper);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.collab-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink-deep);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.45);
}

.collab-role {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ash);
  font-weight: 500;
  margin-bottom: 14px;
}

.collab-name {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink-deep);
  margin-bottom: 16px;
}

.collab-bio {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-style: normal;
  line-height: 1.65;
  color: var(--ash);
}

.collab-bio em { font-style: normal; font-weight: 500; color: var(--ink); }

/* ============================================================
   WORK IN MOTION (two-column on wide)
   ============================================================ */

.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 880px) {
  .work-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
}

.work-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  filter: grayscale(0.08) contrast(1.02);
}

/* hero 9:16 — portrait phones get the vertical cut */
@media (orientation: portrait) and (max-width: 820px) {
  .hero { aspect-ratio: 9 / 16; max-height: 92vh; max-height: 92svh; }
}

.image-caption {
  font-family: 'Poppins', sans-serif;
  text-align: center;
  padding-left: 0.32em;   /* compensates trailing letter-spacing for true optical centering */
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ash);
  font-weight: 400;
  margin-top: 14px;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--cream-warm);
  padding: 80px 0 56px;
  border-top: 1px solid var(--rule);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 720px) and (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 48px; }
}

@media (min-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 48px; }
}

.footer-block { line-height: 1.8; }

.footer-block .meta {
  font-size: 10px;
  letter-spacing: 0.40em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 14px;
  display: block;
}

.meta {
  font-size: 10px;
  letter-spacing: 0.40em;
  text-transform: uppercase;
  color: var(--ash);
  font-weight: 500;
  display: inline-block;
}

.meta-quiet {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ash);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.meta-quiet a {
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.meta-quiet a:hover { border-bottom-color: var(--red); }

.footer-copyright {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 720px) {
  .site-header { padding: 12px 24px; }
  .section { padding: 80px 0; }
  .section-letter { padding: 96px 0 80px; }
  .container { padding: 0 28px; }
  .title-m { font-size: 32px; }
  .body-l { font-size: 18px; }
  .letter p { font-size: 19px; margin-bottom: 22px; }
  .hero { min-height: auto; }
}


/* ============================================================
   THE CIRCLE — names as title rows (no photos)
   ============================================================ */

.circle-list { margin-top: 8px; }

.circle-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "name role"
    "bio  role";
  align-items: center;
  column-gap: 28px;
  row-gap: 10px;
  padding: 30px 0;
  border-top: 1px solid var(--rule-strong);
}
.circle-name { grid-area: name; }
.circle-bio  { grid-area: bio; margin: 0; }
.circle-role { grid-area: role; align-self: center; }
.circle-role span { display: block; }
.circle-row:last-child { border-bottom: 1px solid var(--rule-strong); }



.circle-name {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink-deep);
  transition: transform 0.25s ease;
}
.circle-row:hover .circle-name { transform: translateX(4px); }

.circle-bio {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ash);
  margin-top: 8px;
  max-width: 46ch;
}
.circle-bio em { font-style: normal; color: var(--ink); }

.circle-role {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ash);
  font-weight: 500;
  text-align: right;
  line-height: 1.8;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .circle-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "name name"
      "bio  role";
    column-gap: 18px;
    row-gap: 10px;
    padding: 24px 0;
    align-items: start;
  }
  .circle-role { text-align: right; margin-top: 0; align-self: start; }
  .circle-bio { margin-top: 0; }
}

/* expanded story text reveals with a gentle downward motion */

/* ============================================================
   SELECTION
   ==================

/* ============================================================
   FLOATING SHEETS  (site-floating variant only)
   Sections overlap with irregular (zigzag) seams; the DARKER
   sheet always sits in front of the lighter one. Covered edges
   get extra padding so content never hides under a covering sheet.
   ============================================================ */
#top, #about, #circle, #motion, #contact, .site-footer { position: relative; }
#top      { z-index: 50; }   /* hero + video always in front of everything */
#about    { z-index: 30; }
#circle   { z-index: 10; }
#motion   { z-index: 2;  }
#contact  { z-index: 30; }
.site-footer { z-index: 10; }
#top { box-shadow: 0 36px 72px -26px rgba(0,0,0,0.399); }

/* overlaps (negative margins) + soft, faint shadow (square corners) */
#about  { margin-top: -56px;
          box-shadow: 0 34px 70px -26px rgba(0,0,0,0.351);
          padding-top: calc(160px + 56px); }
#circle { margin-top: -64px;
          box-shadow: 0 32px 64px -28px rgba(0,0,0,0.224);
          padding-top: calc(140px + 64px); }
#motion { margin-top: -96px;
          padding-top: calc(140px + 96px); padding-bottom: calc(140px + 110px); }
#contact{ margin-top: -110px;
          box-shadow: 0 -34px 70px -26px rgba(0,0,0,0.351), 0 34px 70px -28px rgba(0,0,0,0.288); }
.site-footer { margin-top: -72px; padding-top: calc(80px + 72px); }
