/* =========================================================
   Fellipe Correia — Arquitetura e Interiores
   Editorial / soft-luxury aesthetic. Monochrome.
   ========================================================= */

:root {
  --ink: #0a0a0a;
  --ink-2: #171717;
  --ink-3: #2c2c2c;
  --mute: #6b6b6b;
  --mute-2: #9a9a9a;
  --line: rgba(10, 10, 10, 0.14);
  --line-2: rgba(10, 10, 10, 0.08);
  --paper: #f5f2ec;        /* subtle warm cream */
  --paper-2: #ece8df;
  --white: #fbfaf7;
  --radius: 2px;
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out-expo: cubic-bezier(0.87, 0, 0.13, 1);
  --font-sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Cormorant Garamond", ui-serif, Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

::selection { background: var(--ink); color: var(--white); }

/* ---------- layout helpers ---------- */
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 99px; background: var(--ink); margin-right: 10px; transform: translateY(-1px); }

/* ============================== NAV ============================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: auto 1fr auto auto;
  align-items: center; gap: 24px;
  padding: 20px 32px;
  color: #fff;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    padding 0.5s var(--ease-soft),
    color 0.6s var(--ease-soft),
    background 0.6s var(--ease-soft),
    border-color 0.6s var(--ease-soft);
}
.nav--shrink { padding-top: 14px; padding-bottom: 14px; }
.nav--on-light {
  color: var(--ink);
  background: rgba(251, 250, 247, 0.78);
  border-bottom-color: rgba(10, 10, 10, 0.08);
}

.nav__brand { position: relative; display: inline-flex; align-items: center; grid-column: 1; }
.nav__logo {
  height: 56px; width: auto; display: block;
  transition: opacity 0.5s var(--ease-soft);
}
.nav__logo--on-light { position: absolute; inset: 0; opacity: 0; }
.nav--on-light .nav__logo--on-dark { opacity: 0; }
.nav--on-light .nav__logo--on-light { opacity: 1; }
/* Base reset for the links list (shared by desktop + mobile drawer) */
.nav__links {
  list-style: none; margin: 0; padding: 0;
}

/* Desktop only: links are a sibling of .nav — positioned to appear
   horizontally centered inside the nav's visual area. Scoped to desktop
   so the sibling rules below never bleed into the mobile drawer. */
@media (min-width: 861px) {
  .nav__links {
    position: fixed; z-index: 51;
    top: 0; left: 50%; transform: translateX(-50%);
    height: 96px;
    display: flex; align-items: center;
    gap: 32px;
    font-size: 13px; letter-spacing: 0.04em;
    color: #fff;
    transition: height 0.5s var(--ease-soft), color 0.6s var(--ease-soft);
  }
  .nav--shrink ~ .nav__links { height: 84px; }
  .nav--on-light ~ .nav__links { color: var(--ink); }
  .nav__links a { position: relative; padding: 8px 0; }
  .nav__links a::after {
    content: ""; position: absolute; left: 0; bottom: 4px;
    width: 0; height: 1px; background: currentColor;
    transition: width 0.5s var(--ease-soft);
  }
  .nav__links a:hover::after { width: 100%; }
}

.nav__cta {
  grid-column: 3;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border: 1px solid currentColor; border-radius: 99px;
  font-size: 12.5px; letter-spacing: 0.04em;
  transition: transform 0.5s var(--ease-soft), background 0.4s var(--ease-soft), color 0.4s var(--ease-soft);
  white-space: nowrap;
  justify-self: end;
}
.nav__cta:hover { background: currentColor; color: var(--ink); }
.nav__cta:hover svg { transform: translateX(2px); }
.nav__cta svg { transition: transform 0.5s var(--ease-soft); }

/* --- Mobile nav (hamburger + drawer) --- */
.nav__toggle {
  grid-column: 4;
  display: none;
  position: relative;          /* ensure z-index stacks reliably */
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  cursor: pointer; color: inherit;
  justify-self: end;
  z-index: 60;
  -webkit-tap-highlight-color: transparent;
}
.nav__toggle span {
  display: block; width: 22px; height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease-soft), opacity 0.3s var(--ease-soft);
}
.nav--open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav--open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav--open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__links-cta { display: none; }

.nav__backdrop {
  position: fixed; inset: 0; z-index: 45;
  background: rgba(10,10,10,0.45);
  backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s var(--ease-soft);
}
body.nav-open .nav__backdrop { opacity: 1; pointer-events: auto; }
body.nav-open { overflow: hidden; }

/* When drawer is open, lock nav chrome to the dark-bg look regardless of
   which section's theme is under it — otherwise logo/toggle vanish on a
   light-theme section when the dark drawer slides in. */
.nav--open {
  color: #fff;
  background: rgba(10, 10, 10, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
.nav--open .nav__logo--on-dark { opacity: 1; }
.nav--open .nav__logo--on-light { opacity: 0; }

@media (max-width: 860px) {
  .nav { padding: 12px 20px; gap: 12px; }
  .nav__toggle { display: flex; }
  .nav__cta { display: none; }
  .nav__logo { height: 42px; }

  .nav__links {
    position: fixed !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    transform: translate3d(100%, 0, 0);
    width: 100vw !important; height: 100vh; height: 100dvh;
    max-width: none !important; max-height: none !important;
    display: flex !important; flex-direction: column;
    align-items: stretch; justify-content: flex-start;
    gap: 0;
    padding: 96px 28px 36px;
    background:
      radial-gradient(720px 420px at 100% 0%, rgba(255,255,255,0.045), transparent 60%),
      var(--ink);
    color: var(--white) !important;
    z-index: 55;
    overflow-y: auto;
    overscroll-behavior: contain;
    pointer-events: none;
    transition: transform 0.5s var(--ease-in-out-expo);
    will-change: transform;
  }
  body.nav-open .nav__links {
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
  }

  .nav__links li { border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .nav__links li:last-of-type { border-top: 0; }

  .nav__links li:not(.nav__links-cta) a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px 2px;
    font-size: 30px; font-weight: 300; letter-spacing: -0.02em;
    color: var(--white);
  }
  .nav__links li:not(.nav__links-cta) a::after {
    content: "→";
    position: static;           /* override desktop positioning */
    width: auto; height: auto; background: transparent;
    font-size: 22px;
    opacity: 0.4;
    transition: transform 0.4s var(--ease-soft), opacity 0.4s var(--ease-soft);
  }
  .nav__links li:not(.nav__links-cta) a:active::after,
  .nav__links li:not(.nav__links-cta) a:hover::after {
    transform: translateX(6px);
    opacity: 1;
  }

  .nav__links-cta { display: block; margin-top: 28px; }
  .nav__links-cta a {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 22px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 99px;
    font-family: var(--font-mono);
    font-size: 12.5px; letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fff;
  }
}

@media (max-width: 480px) {
  .nav { padding: 10px 16px; }
  .nav__logo { height: 36px; }
  .nav__links { padding: 84px 20px 28px; }
  .nav__links li:not(.nav__links-cta) a { font-size: 26px; padding: 20px 2px; }
  .nav__links li:not(.nav__links-cta) a::after { font-size: 20px; }
  .nav__links-cta { margin-top: 22px; }
  .nav__links-cta a { padding: 14px 20px; font-size: 12px; }
}

/* ============================== HERO ============================== */
/* Single-viewport hero. Video loops (ping-pong), text slides auto-cycle. */
.hero {
  position: relative;
  height: 100vh;
  min-height: 100dvh;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.hero__sticky {
  position: relative;
  height: 100%;
  width: 100%;
  background:
    radial-gradient(1200px 600px at 80% 10%, rgba(255,255,255,0.04), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(255,255,255,0.03), transparent 60%),
    var(--ink);
}

/* Hero layout: left column splits into slides (presentation) on top and
   contact (conversion) on bottom; right column is the video at full height.
   Asymmetric, editorial — uses the full viewport without crowding. */
.hero__grid {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  grid-template-rows: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: stretch;
  padding: 112px 28px 32px;
  column-gap: 56px;
  row-gap: 56px;                /* wider seam = less pollution, cleaner beat */
}
.hero__slides  { grid-column: 1; grid-row: 1; }
.hero__contact { grid-column: 1; grid-row: 2; }
.hero__video   { grid-column: 2; grid-row: 1 / -1; }

/* Staggered entrance — an opening sequence that reads like a title card:
   video arrives first as the visual anchor, slides follow, contact last. */
.hero__video,
.hero__slides,
.hero__contact {
  animation: hero-enter 1.1s var(--ease-in-out-expo) both;
}
.hero__video   { animation-delay: 0.15s; }
.hero__slides  { animation-delay: 0.45s; }
.hero__contact { animation-delay: 0.85s; }
@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__video, .hero__slides, .hero__contact {
    animation: none;
    opacity: 1; transform: none; filter: none;
  }
  .slide__index::before { animation: none; transform: translateY(-50%); }
}

/* LEFT TOP: SLIDES — editorial, text-forward, reads as companion to the video */
.hero__slides {
  position: relative;
  display: flex; flex-direction: column;
  justify-content: flex-end;       /* anchors the slide toward the seam */
  padding-right: 16px;
  min-height: 0;
}
.hero__eyebrow {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute-2);
  margin-bottom: 24px;
}
.hero__eyebrow .dot { background: var(--white); }

.slides {
  position: relative;
  min-height: 220px;
}

/* Progress bar — sits at the bottom of the slides block, doubling as
   a subtle visual seam between the slides text above and the contact
   aside below. Fills 0 → 100% over each slide's dwell time. */
.hero__progress {
  display: flex; align-items: center; gap: 16px;
  margin-top: 24px;
  max-width: 520px;            /* matches the contact form width / textarea */
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.5);
}
.progress {
  position: relative;
  flex: 1;
  height: 1px; background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.progress__bar {
  position: absolute; inset: 0 auto 0 0;
  width: 0%; background: var(--white);
  will-change: width;
}
.slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
  transition:
    opacity 0.7s var(--ease-soft),
    transform 0.9s var(--ease-soft),
    filter 0.7s var(--ease-soft);
  pointer-events: none;
}
.slide.is-active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  pointer-events: auto;
}
.slide__index {
  position: relative;
  display: inline-flex; align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute-2);
  margin-bottom: 20px;
  padding-left: 28px;
}
.slide__index::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 18px; height: 1px;
  background: rgba(255, 255, 255, 0.55);
  transform-origin: left center;
  animation: mark-draw 0.9s var(--ease-in-out-expo) both;
}
@keyframes mark-draw {
  from { transform: translateY(-50%) scaleX(0); }
  to   { transform: translateY(-50%) scaleX(1); }
}
.slide__title {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(30px, 3.4vw, 58px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  max-width: 13ch;
}
.slide__title em { font-size: 1.02em; }
.slide__text {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  max-width: 42ch;
  margin: 0;
  font-weight: 300;
}

/* LEFT BOTTOM: DIRECT CONTACT — utilitarian, mono-flavored; visually
   distinct from the editorial slides above via typography + density.
   No divider line: separation is done with whitespace alone. */
.hero__contact {
  position: relative;
  display: flex; flex-direction: column;
  justify-content: flex-start;
  padding: 0 16px 0 0;
  min-width: 0; min-height: 0;
}
.hero__contact-label {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}
.hero__contact-label-mark {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  transform: translateY(1px);
}

/* Compact 2-column form, mono-labeled, reads as utility — not narrative */
.hero__contact-form {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
  max-width: 520px;
}
.hero__contact-form .wide { grid-column: 1 / -1; }
.hero__contact-form label { gap: 6px; }
.hero__contact-form span {
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.42);
  transition: color 0.4s var(--ease-soft);
}
/* Rótulo acende quando o campo recebe foco — feedback sutil, editorial */
.hero__contact-form label:has(input:focus) > span,
.hero__contact-form label:has(select:focus) > span,
.hero__contact-form label:has(textarea:focus) > span {
  color: rgba(255, 255, 255, 0.9);
}
.hero__contact-form input,
.hero__contact-form select,
.hero__contact-form textarea {
  padding: 6px 0 8px;
  font-size: 15px;
}
.hero__contact-form textarea { min-height: 44px; }
.hero__contact-form .select-field::after { bottom: 14px; }

/* Botão com preenchimento deslizante da esquerda — gesto premium de conversão */
.hero__contact-form button {
  position: relative;
  grid-column: 1 / -1;
  margin-top: 6px;
  padding: 13px 22px;
  font-size: 12px;
  overflow: hidden;
  isolation: isolate;
}
.hero__contact-form button::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--white);
  transform: translateX(-101%);
  transition: transform 0.6s var(--ease-in-out-expo);
  z-index: -1;
}
.hero__contact-form button:hover::before { transform: translateX(0); }
.hero__contact-form button:hover { color: var(--ink); border-color: transparent; }

/* RIGHT: VIDEO (vertical 9:16, dimensioned to fill the hero column) */
.hero__video {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  height: 100%;
}
.hero__video-frame {
  position: relative;
  height: 100%;
  max-height: calc(100vh - 148px);
  aspect-ratio: 3 / 4;
  max-width: 100%;
  overflow: hidden;
  background: #0a0a0a;
  border-radius: var(--radius);
  /* Double-bezel architecture: deep drop shadow + subtle outer ring +
     inner highlight hairline — gives the frame a "machined" presence. */
  box-shadow:
    0 120px 180px -50px rgba(0, 0, 0, 0.75),
    0 24px 48px -16px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 80px 120px -60px rgba(255, 255, 255, 0.06);
}
.hero__video-frame video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}
.hero__video-grain {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, transparent 22%, transparent 72%, rgba(0,0,0,0.5) 100%);
  mix-blend-mode: multiply;
}
.hero__video-meta {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.72); text-transform: uppercase;
}

.hero__scrollhint {
  position: absolute;
  right: 32px; bottom: 24px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--mute-2);
}
.hint-dot { animation: hint 2.6s var(--ease-in-out-expo) infinite; }
@keyframes hint {
  0%, 100% { transform: translateY(0); opacity: 0; }
  20%, 80% { opacity: 1; }
  50% { transform: translateY(38px); opacity: 0.3; }
}

@media (max-width: 1280px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    padding: 108px 24px 28px;
    column-gap: 40px; row-gap: 20px;
  }
  .slide__title { font-size: clamp(26px, 3vw, 46px); }
  .hero__contact-form { max-width: 460px; }
}

/* Tablet / mobile: stack — video, then slides, then contact. Section grows. */
@media (max-width: 980px) {
  .hero { height: auto; min-height: 100dvh; }
  .hero__sticky { min-height: 100dvh; }
  .hero__grid {
    position: static;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    padding: 96px 20px 32px;
    column-gap: 0; row-gap: 32px;
  }
  .hero__video   { grid-column: 1; grid-row: 1; }
  .hero__slides  {
    grid-column: 1; grid-row: 2;
    padding-right: 0; padding-bottom: 0;
    justify-content: flex-start; min-height: 0;
  }
  .hero__contact { grid-column: 1; grid-row: 3; padding: 28px 0 0; }
  .hero__eyebrow { margin-bottom: 20px; }
  .slides { min-height: 200px; }
  .hero__video-frame { height: auto; width: min(88vw, 56vh); max-height: 52vh; max-width: 100%; }
  .slide__title { font-size: clamp(30px, 6.4vw, 48px); max-width: 18ch; margin-bottom: 16px; }
  .slide__text { font-size: 15px; line-height: 1.55; }
  .hero__contact-label { margin-bottom: 16px; }
  .hero__contact-form { max-width: none; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .hero__grid { padding: 88px 16px 28px; row-gap: 28px; }
  .hero__video-frame { width: min(92vw, 50vh); max-height: 44vh; }
  .slide__title { font-size: clamp(26px, 7vw, 40px); margin-bottom: 14px; }
  .slide__text { font-size: 14px; }
  .slide__index, .hero__eyebrow { font-size: 10px; letter-spacing: 0.16em; margin-bottom: 12px; }
  .hero__video-meta { font-size: 9px; left: 14px; right: 14px; bottom: 14px; }
  .hero__contact-form { grid-template-columns: 1fr; gap: 14px; }
}

/* ============================== MANIFESTO ============================== */
.manifesto {
  position: relative;
  padding: 160px 32px 140px;
  background: var(--white);
}
.manifesto__eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--mute);
  margin-bottom: 48px;
  display: inline-flex; align-items: center;
}
.manifesto__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 80px; align-items: start;
  max-width: 1280px; margin: 0 auto;
}
.manifesto__lead {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(30px, 3.8vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 22ch;
}
.manifesto__lead em { font-size: 1.02em; }
.manifesto__pairs {
  display: flex; flex-direction: column; gap: 28px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.manifesto__pairs > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
}
.manifesto__pairs > div:first-child { border-top: 0; padding-top: 0; }
.manifesto__pairs .k {
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  padding-top: 3px;
}
.manifesto__pairs .v {
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink-2);
}

@media (max-width: 900px) {
  .manifesto { padding: 96px 20px; }
  .manifesto__grid { grid-template-columns: 1fr; gap: 40px; }
  .manifesto__eyebrow { margin-bottom: 28px; }
  .manifesto__pairs > div { grid-template-columns: 80px 1fr; gap: 16px; }
  .manifesto__pairs .v { font-size: 20px; }
}
@media (max-width: 480px) {
  .manifesto { padding: 72px 16px; }
  .manifesto__pairs > div { grid-template-columns: 1fr; gap: 6px; }
  .manifesto__pairs .v { font-size: 19px; }
}

/* ============================== WORK ============================== */
.work {
  background: var(--paper);
  padding: 160px 32px 120px;
}
.work__head {
  max-width: 1280px; margin: 0 auto 88px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end;
}
.work__eyebrow {
  grid-column: 1 / -1;
  display: inline-flex; align-items: center;
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--mute);
  margin-bottom: 32px;
}
.work__title {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(44px, 6vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin: 0;
}
.work__title em { display: block; }
.work__lead {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-3);
  max-width: 40ch;
  margin: 0 0 6px auto;
}

.work__list {
  max-width: 1280px; margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 120px;
}

.piece {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
.piece--02, .piece--05 { grid-template-columns: 1fr 1.3fr; }
.piece--04.piece--wide {
  grid-template-columns: 1.55fr 1fr;
  gap: 56px;
}
.piece--07.piece--duo {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px 32px;
}
.piece--07.piece--duo .piece__text {
  grid-column: 1 / -1;
  max-width: 620px;
  margin-top: 8px;
}

.piece__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #ddd;
  aspect-ratio: 4 / 3;
}
.piece__media--tall { aspect-ratio: 3 / 4; }
.piece--07 .piece__media { aspect-ratio: 4 / 3; }
.piece__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-soft), filter 1s var(--ease-soft);
  will-change: transform;
}
.piece:hover .piece__media img { transform: scale(1.035); }

.piece__index {
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  display: block; margin-bottom: 16px;
}
.piece__text h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.piece__text p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-3);
  margin: 0 0 24px;
  max-width: 44ch;
}
.piece__meta {
  display: flex; flex-wrap: wrap;
  gap: 8px; padding: 0; margin: 0;
  list-style: none;
}
.piece__meta li {
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--ink-2);
}

@media (max-width: 1100px) {
  .work__list { gap: 96px; }
  .piece, .piece--02, .piece--05, .piece--04.piece--wide { gap: 32px; }
}
@media (max-width: 900px) {
  .work { padding: 96px 20px; }
  .work__head { grid-template-columns: 1fr; margin-bottom: 56px; }
  .work__lead { margin-left: 0; }
  .work__list { gap: 72px; }
  .piece, .piece--02, .piece--05, .piece--04.piece--wide { grid-template-columns: 1fr; gap: 20px; }
  .piece--07.piece--duo { grid-template-columns: 1fr; }
  .piece--02 .piece__text, .piece--05 .piece__text { order: 2; }
  .piece__media--tall { aspect-ratio: 4 / 3; }
  .piece__text p { max-width: none; }
}
@media (max-width: 480px) {
  .work { padding: 72px 16px; }
  .work__list { gap: 56px; }
  .piece__text h3 { font-size: 26px; }
  .piece__text p { font-size: 14.5px; }
  .piece__meta li { font-size: 9.5px; padding: 5px 10px; }
}

/* ============================== STUDIO ============================== */
.studio {
  background: var(--white);
  padding: 160px 32px;
}
.studio__grid {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: stretch;
}
.studio__card {
  display: flex; flex-direction: column;
  padding: 48px 48px 40px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
  box-shadow: 0 60px 100px -80px rgba(0,0,0,0.4);
}
.studio__eyebrow {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--mute);
  margin-bottom: 32px;
}
.studio__title {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(36px, 4vw, 60px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}
.studio__title em { font-size: 1em; }
.studio__card p {
  font-size: 16px; line-height: 1.7;
  color: var(--ink-3);
  margin: 0 0 40px;
  max-width: 44ch;
}
.studio__stats {
  list-style: none; padding: 0; margin: auto 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.studio__stats .num {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}
.studio__stats .lbl {
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--mute);
}

.studio__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 3px;
  min-height: 520px;
}
.studio__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.studio__media figcaption {
  position: absolute; left: 20px; bottom: 16px;
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  padding: 6px 12px;
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(6px);
}

@media (max-width: 980px) {
  .studio { padding: 96px 20px; }
  .studio__grid { grid-template-columns: 1fr; gap: 32px; }
  .studio__card { padding: 32px 28px; }
  .studio__media { min-height: 360px; }
}
@media (max-width: 480px) {
  .studio { padding: 72px 16px; }
  .studio__card { padding: 28px 22px; }
  .studio__stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .studio__stats .num { font-size: 34px; }
  .studio__media { min-height: 280px; }
}

/* ============================== PROCESS ============================== */
.process {
  background: var(--paper-2);
  padding: 140px 32px;
}
.process__eyebrow {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--mute);
  margin-bottom: 64px;
  max-width: 1280px; margin-left: auto; margin-right: auto;
}
.process__list {
  list-style: none; padding: 0; margin: 0 auto;
  max-width: 1280px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.process__list li {
  padding: 32px 28px 28px;
  background: var(--white);
  border-radius: 2px;
  border: 1px solid var(--line-2);
  display: flex; flex-direction: column;
  min-height: 240px;
  transition: transform 0.6s var(--ease-soft), box-shadow 0.6s var(--ease-soft);
}
.process__list li:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 60px -40px rgba(0,0,0,0.25);
}
.process__num {
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.18em;
  color: var(--mute);
  margin-bottom: 36px;
}
.process__list h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.process__list p {
  font-size: 14.5px; line-height: 1.6;
  color: var(--ink-3);
  margin: 0;
}
@media (max-width: 1100px) {
  .process__list { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 860px) {
  .process { padding: 96px 20px; }
  .process__eyebrow { margin-bottom: 40px; }
  .process__list li { min-height: 200px; padding: 26px 22px 22px; }
  .process__num { margin-bottom: 22px; }
}
@media (max-width: 520px) {
  .process { padding: 72px 16px; }
  .process__list { grid-template-columns: 1fr; gap: 14px; }
  .process__list li { min-height: 0; padding: 24px 20px; }
  .process__num { margin-bottom: 14px; }
}

/* ============================== CONTACT ============================== */
.contact {
  background: var(--ink);
  color: var(--white);
  padding: 180px 32px 160px;
}
.contact__grid {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}
.contact__eyebrow {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--mute-2);
  margin-bottom: 40px;
}
.contact__eyebrow .dot { background: var(--white); }
.contact__title {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(52px, 6vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0 0 32px;
}
.contact__lead {
  font-size: 17px; line-height: 1.65;
  color: rgba(255,255,255,0.7);
  max-width: 46ch; margin: 0 0 40px;
  font-weight: 300;
}
.contact__direct {
  display: flex; flex-direction: column; gap: 18px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  max-width: 46ch;
}
.contact__direct-item {
  display: flex; flex-direction: column; gap: 2px;
  padding: 4px 0;
  transition: transform 0.4s var(--ease-soft);
}
.contact__direct-item:hover { transform: translateX(4px); }
.contact__direct-label {
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.contact__direct-value {
  font-size: 18px; font-weight: 300;
  letter-spacing: -0.01em;
  color: #fff;
}
.contact__form {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact__form .wide { grid-column: 1 / -1; }
.contact__form label {
  display: flex; flex-direction: column;
  gap: 10px;
}
.contact__form span {
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--mute-2);
}
.contact__form input,
.contact__form select,
.contact__form textarea {
  font: inherit; color: var(--white);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 10px 0 12px;
  outline: none;
  transition: border-color 0.4s var(--ease-soft);
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  border-radius: 0;
}
.contact__form textarea { resize: none; }
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  border-bottom-color: var(--white);
}

/* Custom select: matches the editorial underline-input style,
   with a minimal chevron aligned to the right edge. */
.contact__form .select-field { position: relative; }
.contact__form .select-field::after {
  content: "";
  position: absolute;
  right: 0; bottom: 18px;
  width: 10px; height: 6px;
  background-repeat: no-repeat; background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' fill='none' stroke='%23ffffff' stroke-opacity='0.75' stroke-width='1.2'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  pointer-events: none;
  transition: transform 0.4s var(--ease-soft), stroke 0.4s var(--ease-soft);
}
.contact__form .select-field:focus-within::after { transform: translateY(1px); }
.contact__form select {
  padding-right: 22px;
  cursor: pointer;
  font-family: var(--font-sans);
  letter-spacing: -0.005em;
}
.contact__form select option {
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-sans);
  padding: 8px 12px;
}
.contact__form button {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 24px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 99px;
  font-size: 13px; letter-spacing: 0.04em;
  color: var(--white);
  transition: background 0.5s var(--ease-soft), color 0.5s var(--ease-soft), transform 0.5s var(--ease-soft);
  margin-top: 16px;
}
.contact__form button:hover { background: var(--white); color: var(--ink); }
.contact__form button:hover svg { transform: translateX(2px); }
.contact__form button svg { transition: transform 0.5s var(--ease-soft); }

.contact__form-hint {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

@media (max-width: 980px) {
  .contact { padding: 112px 20px 96px; }
  .contact__grid { grid-template-columns: 1fr; gap: 56px; }
  .contact__form { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .contact { padding: 88px 16px 72px; }
  .contact__title { margin-bottom: 22px; }
  .contact__lead { font-size: 15.5px; }
  .contact__form button { width: 100%; justify-content: center; padding: 18px 22px; }
}

/* ============================== FOOTER ============================== */
.footer {
  background: var(--ink);
  color: var(--white);
  padding: 64px 32px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer__top {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer__logo { height: 96px; width: auto; }
.footer__cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.footer__cols > div {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.footer__label {
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--mute-2);
  margin-bottom: 4px;
}
.footer__cols a { transition: color 0.4s var(--ease-soft); }
.footer__cols a:hover { color: var(--white); }
.footer__bar {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--mute-2);
}
.footer__credit {
  max-width: 1280px; margin: 14px auto 0;
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.12em;
  color: var(--mute);
}
.footer__credit a {
  color: var(--mute-2);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 1px;
  transition: color 0.4s var(--ease-soft), border-color 0.4s var(--ease-soft);
}
.footer__credit a:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.footer__credit-dot { opacity: 0.5; }
@media (max-width: 860px) {
  .footer { padding: 56px 20px 20px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; padding-bottom: 36px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__logo { height: 80px; }
  .footer__bar { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 520px) {
  .footer__credit { flex-direction: column; gap: 6px; margin-top: 18px; }
  .footer__credit-dot { display: none; }
}
@media (max-width: 480px) {
  .footer { padding: 48px 16px 16px; }
  .footer__logo { height: 64px; }
  .footer__cols { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================== REVEAL ============================== */
.reveal { opacity: 0; transform: translateY(24px); filter: blur(4px); transition: opacity 0.9s var(--ease-soft), transform 1s var(--ease-soft), filter 0.9s var(--ease-soft); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ============================== MOTION PREFS ============================== */
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .hero { height: auto; }
  .hero__sticky { position: relative; height: auto; min-height: 100vh; }
}
