:root {
  --ink: #12181a;
  --ink2: #1c2427;
  --paper: #f5eee2;
  --paper2: #ebe1cd;
  --concrete: #cdc2ab;
  --stone: #a99a83;
  --stone-d: #786a56;
  --sun: #dd9552;
  --glass: #6fa39c;
  --sans: "Inter", system-ui, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --pad: clamp(20px, 5vw, 84px);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--ink); }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--sun); color: #1a1304; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

.eyebrow { font-size: .62rem; letter-spacing: .42em; text-transform: uppercase; color: var(--sun); font-weight: 500; }
.num { font-variant-numeric: tabular-nums; }

/* loader */
.loader { position: fixed; inset: 0; z-index: 120; background: var(--ink); display: grid; place-items: center; transition: opacity .8s; }
.loader.done { opacity: 0; pointer-events: none; }
.loader .mk { font-family: var(--sans); font-weight: 300; font-size: 1.4rem; letter-spacing: .7em; color: var(--paper); padding-left: .7em; text-transform: uppercase; }
.loader .bar { position: absolute; bottom: 16%; left: 50%; transform: translateX(-50%); width: 130px; height: 1px; background: rgba(245, 238, 226, .16); overflow: hidden; }
.loader .bar i { display: block; height: 100%; width: 0; background: var(--sun); transition: width .3s; }

/* nav */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem var(--pad); color: var(--paper);
  pointer-events: none; transition: color .4s ease, background .4s ease;
  /* a permanent soft scrim behind the bar guarantees legibility no matter
     what's scrolling underneath — the color-flip below is polish on top
     of this, not the only thing standing between the wordmark and whatever
     photo happens to be behind it */
  background: linear-gradient(to bottom, rgba(10, 13, 14, .32), transparent);
}
nav.on-light { background: linear-gradient(to bottom, rgba(245, 238, 226, .55), transparent); }
nav .wm {
  font-size: 1rem; letter-spacing: .55em; font-weight: 500; padding-left: .5em; text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(6, 8, 8, .72), 0 0 12px rgba(6, 8, 8, .5);
  transition: color .3s ease, letter-spacing .4s ease;
  /* plain CSS entrance — no GSAP dependency, so it can never get stuck
     mid-tween the way a JS-driven animation can */
  animation: wm-in 1s .3s both cubic-bezier(0.25, 1, 0.5, 1);
}
nav .wm:hover { color: var(--sun); letter-spacing: .62em; }
@keyframes wm-in { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { nav .wm { animation: none; } }
nav .wm .tag {
  display: inline-block; font-family: var(--sans); font-size: .52rem; letter-spacing: .18em;
  text-transform: uppercase; font-weight: 500; border: 1px solid currentColor;
  background: color-mix(in oklch, currentColor 12%, transparent); opacity: .75;
  padding: .35em .75em; border-radius: 999px; margin-left: 1.1em; vertical-align: middle; text-shadow: none;
}
@media (max-width: 560px) { nav .wm .tag { display: none; } }
nav .menu { display: flex; gap: 2rem; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; }
nav .menu a { pointer-events: auto; opacity: 1; text-shadow: 0 1px 2px rgba(6, 8, 8, .78), 0 0 12px rgba(6, 8, 8, .58); transition: color .25s, opacity .25s; }
nav .menu a:hover { color: var(--sun); opacity: 1; }
nav.on-light { color: var(--ink); }
nav.on-light .wm, nav.on-light .menu a { text-shadow: none; }
nav.on-light .menu a { opacity: .78; }
nav.on-light .menu a:hover { color: var(--sun); opacity: 1; }
@media (max-width: 680px) { nav .menu { display: none; } }

/* FLYTHROUGH (pinned scrubbed cinematic sequence) */
#fly { position: relative; height: 100vh; overflow: hidden; background: var(--ink); }
#fly .layer { position: absolute; inset: 0; opacity: 0; will-change: transform, opacity; }
#fly .layer img { width: 100%; height: 100%; object-fit: cover; }
#fly .layer::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 11, 10, .38), transparent 30%, transparent 55%, rgba(8, 11, 10, .74));
}
#fly .cap { position: absolute; left: var(--pad); bottom: 13vh; z-index: 5; color: #fff; max-width: 30ch; will-change: transform, opacity; }
#fly .cap .t { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 3.2vw, 2.8rem); line-height: 1.1; opacity: 0; }
#fly h1 { position: absolute; left: var(--pad); bottom: 13vh; z-index: 6; color: #fff; will-change: transform, opacity; }
#fly h1 .k {
  display: block; font-family: var(--sans); font-weight: 600; font-size: .72rem; letter-spacing: .5em;
  text-transform: uppercase; color: #f0c896; margin-bottom: 1.1rem; padding-left: .4em;
  text-shadow: 0 1px 3px rgba(6, 8, 8, .85), 0 0 14px rgba(6, 8, 8, .6);
}
#fly h1 .b { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 8vw, 7rem); line-height: .95; letter-spacing: .01em; }
.scrollcue {
  position: absolute; left: 50%; bottom: 3.5vh; transform: translateX(-50%); z-index: 7;
  color: rgba(255, 255, 255, .7); font-size: .55rem; letter-spacing: .4em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
}
.scrollcue .ln { width: 1px; height: 40px; background: linear-gradient(var(--sun), transparent); }

/* generic */
.wrap { padding: clamp(6rem, 13vh, 11rem) var(--pad); }
.rv { opacity: 0; transform: translateY(40px); }

/* manifesto */
.manifesto { background: var(--paper); text-align: center; }
.manifesto .big {
  font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 5.2vw, 4.6rem);
  line-height: 1.12; max-width: 20ch; margin: 1.6rem auto 0; letter-spacing: -.01em;
}
.manifesto .big em { font-style: italic; color: var(--sun); }

/* material split — same background as manifesto above it, so the two
   sections blend with zero visible seam instead of reading as stacked blocks */
.material { background: var(--paper); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split .media {
  position: relative; overflow: hidden;
  /* an arch — flat base, rounded top, echoing a doorway/window opening */
  border-radius: 50% 50% 6px 6px / 26% 26% 6px 6px;
  box-shadow: 0 40px 90px -40px rgba(18, 24, 26, .35);
}
.split .media img { width: 100%; height: clamp(420px, 72vh, 720px); object-fit: cover; }
/* feather the photo's edges toward the section's cream background so it
   melts into the page rather than reading as a pasted rectangle */
.split .media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 min(90px, 9vw) min(28px, 3vw) var(--paper);
  opacity: .55;
}
.split .copy h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.05; margin: 1rem 0 1.2rem; }
.split .copy p { color: var(--stone-d); max-width: 40ch; margin-bottom: 1rem; }
.split .meta { display: flex; gap: 2.6rem; margin-top: 2rem; flex-wrap: wrap; }
.split .meta .v { font-family: var(--serif); font-size: 2rem; color: var(--ink); }
.split .meta .l { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--stone-d); margin-top: .3rem; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split .media img { height: 52vh; }
}

/* studio / data */
.studio { background: var(--ink); color: var(--paper); }
.studio .studio-top {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(2.5rem, 5vw, 5.5rem); align-items: center; margin-bottom: clamp(3rem, 6vh, 5rem);
}
.studio .head { max-width: 40ch; }
.studio .head h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 4.2vw, 3.2rem); line-height: 1.1; margin-top: 1rem; }
.studio .head .lede { color: var(--stone); max-width: 46ch; margin-top: 1.6rem; font-size: .98rem; line-height: 1.75; }
.studio .studio-media {
  position: relative; overflow: hidden; min-height: clamp(360px, 56vh, 560px);
  /* a single dramatic rounded corner, echoing the cantilevered roofline —
     distinct from the material section's full arch */
  border-radius: 10px clamp(70px, 16vw, 180px) 10px 10px / 10px clamp(70px, 20vh, 180px) 10px 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.studio .studio-media img { position: absolute; top: -12%; left: 0; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.studio .studio-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top right, rgba(6, 8, 8, .68), transparent 42%);
}
/* feather the model photo's edges toward the section's near-black
   background — same blending technique as the material split image */
.studio .studio-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  box-shadow: inset 0 0 min(110px, 10vw) min(36px, 3.5vw) var(--ink);
  opacity: .6;
}
.studio .studio-media .cap {
  position: absolute; left: 1.1rem; bottom: 1rem; z-index: 2; font-family: var(--sans);
  font-size: .56rem; letter-spacing: .2em; text-transform: uppercase; color: var(--paper);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .9), 0 0 10px rgba(0, 0, 0, .7);
}
.studio .shoutout { border-top: 1px solid rgba(245, 238, 226, .14); padding-top: 2.4rem; text-align: center; }
.studio .shoutout .eyebrow { display: block; margin-bottom: .9rem; }
.studio .shoutout p { font-family: var(--serif); font-weight: 300; font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.4; color: var(--paper); max-width: 50ch; margin: 0 auto; }
.studio .shoutout em { font-style: italic; color: var(--sun); }
@media (max-width: 820px) { .studio .studio-top { grid-template-columns: 1fr; gap: 2rem; } .studio .studio-media { min-height: 46vh; } }

/* inquire */
.inquire { background: var(--paper); text-align: center; }
/* a full-bleed skyline banner bridges the dark studio section above into
   this section's cream background — two gradient layers guarantee a true
   seamless blend regardless of the photo's exact pixel values: one fading
   from solid ink at the very top into the photo, one fading the photo's
   bottom into solid cream */
.inquire-bridge { position: relative; width: 100%; height: clamp(160px, 28vh, 320px); overflow: hidden; }
.inquire-bridge img { width: 100%; height: 100%; object-fit: cover; display: block; }
.inquire-bridge::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, var(--ink) 0%, transparent 22%);
}
.inquire-bridge::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, transparent 55%, var(--paper) 97%);
}
.inquire h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 6vw, 5rem); margin: 1rem 0; }
.inquire p { max-width: 44ch; margin: 0 auto 2rem; color: var(--stone-d); }
.signup { display: flex; max-width: 400px; margin: 0 auto; border: 1px solid rgba(18, 24, 26, .2); overflow: hidden; background: #fff; }
.signup input { flex: 1; border: 0; background: transparent; padding: 1rem 1.2rem; font-size: .85rem; font-family: var(--sans); outline: none; color: var(--ink); }
.signup button { border: 0; background: var(--ink); color: var(--paper); padding: 0 1.6rem; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; cursor: pointer; transition: background .2s; }
.signup button:hover { background: var(--ink2); }

footer {
  background: var(--ink); color: var(--stone); padding: 3.5rem var(--pad);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1.2rem;
  font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
}
footer .wm { letter-spacing: .5em; color: var(--paper); }

@media (prefers-reduced-motion: reduce) {
  .scrollcue { display: none; }
  #fly #L0 { opacity: 1 !important; transform: none !important; }
  #fly .cap { display: none; }
  #fly h1 { opacity: 1; }
  .rv { opacity: 1 !important; transform: none !important; }
}
