/* ============================================
   @FONT-FACE — Söhne & Söhne Breit (Klim Type Foundry)
   Shared with horoma.school for brand coherence
   ============================================ */
@font-face { font-family: 'Söhne'; src: url('fonts/Sohne-Extraleicht.otf') format('opentype'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'Söhne'; src: url('fonts/Sohne-Leicht.otf') format('opentype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Söhne'; src: url('fonts/Sohne-Buch.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Söhne'; src: url('fonts/Sohne-Kraftig.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Söhne'; src: url('fonts/Sohne-Halbfett.otf') format('opentype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Söhne'; src: url('fonts/Sohne-Dreiviertelfett.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Söhne'; src: url('fonts/Sohne-Fett.otf') format('opentype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Söhne'; src: url('fonts/Sohne-Extrafett.otf') format('opentype'); font-weight: 900; font-style: normal; font-display: swap; }

@font-face { font-family: 'Söhne Breit'; src: url('fonts/SohneBreit-Extraleicht.otf') format('opentype'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'Söhne Breit'; src: url('fonts/SohneBreit-Leicht.otf') format('opentype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Söhne Breit'; src: url('fonts/SohneBreit-Buch.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Söhne Breit'; src: url('fonts/SohneBreit-Kraftig.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Söhne Breit'; src: url('fonts/SohneBreit-Halbfett.otf') format('opentype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Söhne Breit'; src: url('fonts/SohneBreit-Dreiviertelfett.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Söhne Breit'; src: url('fonts/SohneBreit-Fett.otf') format('opentype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Söhne Breit'; src: url('fonts/SohneBreit-Extrafett.otf') format('opentype'); font-weight: 900; font-style: normal; font-display: swap; }

/* ============================================
   TOKENS — light-mode counterpart to horoma.school's dark theme.
   Same type + accent, inverted surface/text so the two sites
   read as one family: "the school is dark, the studio is light."
   ============================================ */
:root {
  --bg: #FCFCFC;
  --bg-elevated: #F5F5F3;
  --bg-card: #EFEFEC;
  --bg-subtle: #E9E9E5;
  --text: #08080a;
  --text-muted: #6b6860;
  --text-dim: #9a968e;
  --accent: #94F58B;
  --accent-ink: #0d2e0a; /* dark text placed on accent green for AA contrast */
  --accent-muted: rgba(50, 140, 40, 0.08);
  --accent-strong: rgba(50, 140, 40, 0.16);
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.14);
  --font: 'Söhne', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Söhne Breit', 'Söhne', -apple-system, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   RESET
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container--wide { max-width: 1440px; margin: 0 auto; padding: 0 2rem; }

/* ============================================
   NAV — floating glass pill, cloned from horoma.school, light-mode tokens
   ============================================ */
.nav {
  position: fixed;
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: rgba(252, 252, 252, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
  width: 820px;
  max-width: calc(100% - 2rem);
}
.nav.scrolled {
  background: rgba(252, 252, 252, 0.92);
  border-color: var(--border-hover);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.03);
}
.nav__logo {
  display: flex;
  align-items: center;
  padding-right: 1.25rem;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
}
.nav__logo img { height: 17px; width: auto; display: block; }

.nav__pills {
  position: relative;
  display: flex;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 100px;
  padding: 3px;
  gap: 2px;
  flex-shrink: 0;
}
.nav__pill-indicator {
  position: absolute;
  top: 3px;
  left: 0;
  height: calc(100% - 6px);
  border-radius: 100px;
  background: var(--accent);
  transition: transform 0.45s var(--ease-spring), width 0.35s var(--ease-spring), background-color 0.4s var(--ease);
  will-change: transform, width;
  pointer-events: none;
  z-index: 0;
}
.nav__pill-indicator.no-transition { transition: none; }
.nav__pills a {
  position: relative;
  z-index: 1;
  font-size: 0.6875rem;
  padding: 0.3rem 0.875rem;
  border-radius: 100px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.3s var(--ease), font-weight 0.15s;
}
.nav__pills a.active { color: var(--accent-ink); font-weight: 500; }
.nav__pills a:hover:not(.active) { color: var(--text); }

/* Page transition overlay (fade to bg, then reveal new page) */
.page-overlay {
  position: fixed; inset: 0; background: var(--bg); z-index: 99;
  pointer-events: none; opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.page-content { transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.page-content.exiting { opacity: 0; transform: translateY(8px); pointer-events: none; }

.nav__sep { width: 1px; height: 20px; background: var(--border); flex-shrink: 0; }

.nav__anchors { display: flex; align-items: center; gap: 1.25rem; flex: 1; justify-content: flex-end; }
.nav__anchors a { font-size: 0.6875rem; color: var(--text-muted); transition: color 0.2s; white-space: nowrap; }
.nav__anchors a:hover { color: var(--text); }
.nav__cta {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--accent-ink) !important;
  background: var(--accent);
  padding: 0.3rem 0.875rem;
  border-radius: 4px;
  transition: opacity 0.3s var(--ease);
  white-space: nowrap;
}
.nav__cta:hover { opacity: 0.85; }

.nav__hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  z-index: 210;
  position: relative;
  flex-shrink: 0;
}
.nav__hamburger-lines { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 20px; height: 20px; }
.nav__hamburger-lines span {
  display: block; width: 100%; height: 1.5px; background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); transform-origin: center;
}
[data-nav-open="true"] .nav__hamburger-lines span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
[data-nav-open="true"] .nav__hamburger-lines span:nth-child(2) { opacity: 0; }
[data-nav-open="true"] .nav__hamburger-lines span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav-backdrop {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.35); z-index: 200;
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.mobile-nav-backdrop[data-open="true"] { opacity: 1; visibility: visible; }
.mobile-nav-sheet {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 85vw);
  background: var(--bg-elevated); border-left: 1px solid var(--border); z-index: 205;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 2rem 2.5rem; gap: 0.25rem; transform: translateX(100%);
  transition: transform 0.35s var(--ease); overscroll-behavior: contain;
}
.mobile-nav-sheet[data-open="true"] { transform: translateX(0); }
.mobile-nav-sheet a {
  display: block; font-size: 1.125rem; color: var(--text-muted); padding: 0.75rem 0;
  transition: color 0.2s; width: 100%;
}
.mobile-nav-sheet a:hover, .mobile-nav-sheet a:focus-visible { color: var(--text); }
.mobile-nav-sheet .nav__cta {
  display: inline-block; font-size: 0.9375rem; color: var(--accent-ink) !important; background: var(--accent);
  padding: 0.75rem 1.5rem; border-radius: 4px; margin-top: 1.5rem; text-align: center; width: 100%;
}
.mobile-nav-eyebrow { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim); margin-bottom: 0.25rem; }
.mobile-nav-rule { width: 100%; height: 1px; background: var(--border); margin: 0.75rem 0; }

@media (max-width: 768px) {
  .nav__hamburger { display: flex; }
  .nav__pills, .nav__sep, .nav__anchors { display: none; }
  .nav { left: 1rem; right: 1rem; transform: none; justify-content: space-between; max-width: none; width: auto; }
}
@media (min-width: 769px) {
  .mobile-nav-backdrop, .mobile-nav-sheet { display: none !important; }
}
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

/* ============================================
   HERO — full-bleed, image or video
   ============================================ */
.hero { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; align-items: flex-end; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.35) 100%);
}
.hero__content {
  position: relative; z-index: 1; width: 100%;
  padding: 0 2rem 4rem;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  color: #fff;
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.hero__scroll-cue { color: rgba(255,255,255,0.7); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; writing-mode: vertical-rl; }

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-head { max-width: 700px; margin: 0 auto 3rem; padding: 0 2rem; text-align: center; }
.kicker { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 0.75rem; }
.section-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.75rem, 3.5vw, 2.75rem); line-height: 1.15; }
.section-title em { font-style: italic; color: var(--text-muted); }

/* ============================================
   MASONRY WORK GRID
   ============================================ */
/* Column-based masonry: every image/video keeps its native aspect ratio, nothing is cropped. */
.work-grid {
  column-count: 3;
  column-gap: 0.5rem;
  padding: 0.5rem 0.5rem 0;
}
.tile {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--bg-card);
  break-inside: avoid;
  margin-bottom: 0.5rem;
}
.tile img, .tile video { width: 100%; height: auto; display: block; transition: transform 0.6s var(--ease); }
.tile:hover img, .tile:hover video { transform: scale(1.035); }
.tile__badge {
  position: absolute; top: 0.6rem; right: 0.6rem; z-index: 1;
  background: rgba(252,252,252,0.85); backdrop-filter: blur(6px);
  color: var(--text); font-size: 0.625rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.25rem 0.5rem; border-radius: 100px;
}

@media (max-width: 900px) {
  .work-grid { column-count: 2; }
}

/* ============================================
   FULL-WIDTH BREAK — B&W photo or video moment
   ============================================ */
.break { position: relative; width: 100%; height: 70vh; min-height: 420px; margin: 3rem 0; overflow: hidden; background: #000; }
.break img, .break video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.break--color img { filter: none; }

/* ============================================
   CLOSING PLATE
   ============================================ */
.closing { position: relative; z-index: 2; padding: 0 0.5rem; margin: 0.5rem 0 1.5rem; }
.closing img { width: 100%; height: auto; border-radius: 2px; }
.closing--video { display: flex; justify-content: center; margin: 0.5rem 0 1.5rem; }
.closing--video video {
  width: auto; max-width: 100%; height: auto; max-height: 85vh;
  border-radius: 2px; display: block;
}

/* ============================================
   HEADLINE BLOCK — big, bold, full-width closing statement.
   Negative margin + lower z-index lets it visually emerge from
   under the last media element as the page scrolls past it.
   ============================================ */
.headline-block {
  position: relative; z-index: 1;
  text-align: center;
  margin-top: -3rem;
  padding: 7rem 2rem 3rem;
}
.headline-block__title {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-size: clamp(3rem, 11vw, 9rem);
}

/* ============================================
   CTA
   ============================================ */
.cta {
  text-align: center;
  padding: 6rem 2rem;
  border-top: 1px solid var(--border);
}
.cta__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.75rem, 4vw, 3rem); margin-bottom: 0.5rem; }
.cta__lede { color: var(--text-muted); margin-bottom: 2rem; }
.btn {
  display: inline-block;
  font-size: 0.875rem; font-weight: 500;
  color: var(--accent-ink); background: var(--accent);
  padding: 0.875rem 2rem; border-radius: 4px;
  transition: opacity 0.3s var(--ease);
}
.btn:hover { opacity: 0.85; }
.btn-ghost {
  display: inline-block; font-size: 0.875rem; color: var(--text);
  border: 1px solid var(--border-hover); padding: 0.875rem 2rem; border-radius: 4px;
  transition: background 0.3s var(--ease);
}
.btn-ghost:hover { background: var(--bg-card); }

/* ============================================
   FOOTER
   ============================================ */
.footer { border-top: 1px solid var(--border); padding: 3rem 2rem 2rem; }
.footer__grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 2rem;
}
.footer__col-title {
  display: block; font-size: 0.9375rem; font-weight: 600; color: var(--text);
  margin-bottom: 0.6rem; transition: color 0.2s;
}
a.footer__col-title:hover { color: var(--text-muted); }
.footer__col a.footer__sub { display: block; color: var(--text-dim); font-size: 0.875rem; padding: 0.2rem 0; transition: color 0.2s; }
.footer__col a.footer__sub:hover { color: var(--text); }
.footer__bottom {
  max-width: 1200px; margin: 3rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: 0.75rem; color: var(--text-dim);
}
.footer__bottom .footer__logo img { height: 20px; width: auto; display: block; }
@media (max-width: 720px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.about-block {
  max-width: 1200px; margin: 0 auto; padding: 9rem 2rem 6rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start;
}
.about-block__photo img { width: 100%; height: auto; border-radius: 2px; filter: grayscale(1); }
.definition-text { color: var(--text-muted); font-size: 1.0625rem; line-height: 1.85; }
.definition-text .pilcrow { color: var(--text-dim); margin: 0 0.35em; }

/* Keywords reveal one at a time, in reading order; the rest of the text
   only fades in once every keyword has appeared. --i is the keyword's
   0-based position, set inline per <strong>. Deliberately slow/legible. */
.definition-text strong {
  display: inline-block;
  color: var(--text); font-weight: 600;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.35s);
}
.definition-text.is-visible strong { opacity: 1; transform: translateY(0); }
.definition-text .fade-rest,
.definition-text .pilcrow {
  opacity: 0;
  transition: opacity 0.7s var(--ease);
  transition-delay: 4.1s;
}
.definition-text.is-visible .fade-rest,
.definition-text.is-visible .pilcrow { opacity: 1; }

@media (max-width: 860px) {
  .about-block { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================
   SCROLL REVEAL — generic utility
   ============================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.09s);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }

/* Slow, soft rise — for the one big closing statement, not general content */
.reveal-big { opacity: 0; transform: translateY(48px); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); }
.reveal-big.is-visible { opacity: 1; transform: translateY(0); }

.process { padding: 5rem 2rem; background: var(--bg-elevated); }
.movements { max-width: 1000px; margin: 3rem auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.movement__num { font-family: var(--font-display); font-size: 0.8125rem; color: var(--text-dim); margin-bottom: 0.75rem; }
.movement__h { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; margin-bottom: 0.75rem; }
.movement__body { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.7; }
@media (max-width: 800px) { .movements { grid-template-columns: 1fr; gap: 2.5rem; } }

.services-list { max-width: 900px; margin: 5rem auto; padding: 0 2rem; }
.service-row { padding: 2.5rem 0; border-top: 1px solid var(--border); display: grid; grid-template-columns: 200px 1fr; gap: 2rem; }
.service-row:last-child { border-bottom: 1px solid var(--border); }
.service-row__name { font-family: var(--font-display); font-weight: 500; font-size: 1.375rem; }
.service-row__desc { color: var(--text-muted); margin-bottom: 1rem; }
.service-row__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.service-row__tags span {
  font-size: 0.75rem; color: var(--text-muted); background: var(--bg-card);
  border: 1px solid var(--border); padding: 0.25rem 0.7rem; border-radius: 100px;
}
@media (max-width: 640px) { .service-row { grid-template-columns: 1fr; gap: 0.75rem; } }

.clients { padding: 5rem 2rem 7rem; text-align: center; }
.clients__index { max-width: 900px; margin: 2rem auto 0; font-size: 1rem; color: var(--text-muted); line-height: 2.2; }
.clients__index .dot { color: var(--text-dim); margin: 0 0.6em; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-hero { padding: 9rem 2rem 3rem; max-width: 720px; margin: 0 auto; }
.contact-hero__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 4.5vw, 3.25rem); margin-bottom: 1rem; }
.contact-hero p { color: var(--text-muted); font-size: 1.0625rem; }
.contact-hero a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.contact-form { max-width: 720px; margin: 0 auto; padding: 2rem 2rem 8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.contact-form input, .contact-form textarea {
  width: 100%; font-family: var(--font); font-size: 1rem; color: var(--text);
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px;
  padding: 0.9rem 1rem; transition: border-color 0.2s;
}
.contact-form textarea { min-height: 140px; resize: vertical; margin-bottom: 1.5rem; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--border-hover); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-status { margin-top: 1rem; font-size: 0.9375rem; }
.form-status[data-state="ok"] { color: #1a7a1a; }
.form-status[data-state="error"] { color: #b3261e; }
.contact-form .btn[disabled] { opacity: 0.6; pointer-events: none; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
