/* ==========================================================================
   Graciel — shared styles
   ========================================================================== */

:root {
  --cream: #ffffff;
  --shell: #f6f6f5;
  --sand: #f0f0ee;
  --blush: #ebebea;
  --peach: #f3f3f2;
  --sage: #bcc6b1;
  --sage-deep: #5f6c58;
  --mist: #eef1f1;
  --lilac: #ddd3e0;
  --clay: #8a9785;
  --ink: #1f1f1f;
  --ink-soft: #5f5f5f;
  --line: rgba(31, 31, 31, 0.11);
  --white: #ffffff;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-soft: cubic-bezier(0.45, 0, 0.2, 1);
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--blush); color: var(--ink); }

:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--cream); padding: 10px 16px; font-size: 14px;
}
.skip-link:focus { top: 16px; }

/* Type ------------------------------------------------------------------ */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
}
h1 { font-size: clamp(36px, 5vw, 72px); }
h2 { font-size: clamp(28px, 3.4vw, 48px); }
h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
h4 { font-size: 19px; line-height: 1.3; }
em, .italic { font-style: italic; }
h1 em, h2 em, h3 em { font-weight: 300; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: 12px; font-weight: 400;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }
.eyebrow.plain::before { display: none; }

.lede { font-family: var(--serif); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.4; font-weight: 300; }
.muted { color: var(--ink-soft); }
.small { font-size: 14px; }
.numeral { font-family: var(--serif); font-style: italic; color: var(--clay); }

/* Layout ---------------------------------------------------------------- */

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 880px; }
section { position: relative; }
.pad { padding: clamp(80px, 12vw, 168px) 0; }
.pad-sm { padding: clamp(56px, 8vw, 104px) 0; }
.bg-shell { background: var(--shell); }
.bg-blush { background: var(--shell); }
.bg-sage { background: #f3f5f1; }
.bg-mist { background: var(--mist); }
.bg-ink { background: var(--ink); color: var(--cream); }
.bg-ink .eyebrow, .bg-ink .muted { color: rgba(255, 255, 255, 0.7); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.grid-2.top { align-items: start; }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(48px, 7vw, 96px); }

/* Buttons & links ------------------------------------------------------- */

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 17px 30px; border: 1px solid var(--ink);
  font-size: 12px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase;
  overflow: hidden; isolation: isolate; transition: color 0.5s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: translateY(101%); transition: transform 0.55s var(--ease);
}
.btn:hover { color: var(--cream); }
.btn:hover::after { transform: translateY(0); }
.btn.solid { background: var(--ink); color: var(--cream); }
.btn.solid::after { background: var(--clay); }
.btn.light { border-color: var(--cream); color: var(--cream); }
.btn.light::after { background: var(--cream); }
.btn.light:hover { color: var(--ink); }
.btn .arrow { width: 18px; transition: transform 0.5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 400;
  padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.5s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.link .arrow { width: 16px; transition: transform 0.5s var(--ease); }
.link:hover .arrow { transform: translateX(4px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }

/* Header ---------------------------------------------------------------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 100px; transition: height 0.5s var(--ease);
}
.site-header.scrolled { background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.scrolled .bar { height: 76px; }
.site-header.hidden { transform: translateY(-100%); }

.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand .mark { height: 78px; width: auto; transition: height 0.5s var(--ease); }
.site-header.scrolled .brand .mark { height: 58px; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav > a, .nav .drop > button {
  position: relative; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 400;
  padding: 8px 0;
}
.nav > a::after, .nav .drop > button::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease);
}
.nav > a:hover::after, .nav > a[aria-current="page"]::after, .nav .drop:hover > button::after, .nav .drop.current > button::after {
  transform: scaleX(1); transform-origin: left;
}
.nav .drop { position: relative; }
.nav .drop > button { display: inline-flex; gap: 8px; align-items: center; }
.nav .drop > button svg { width: 9px; transition: transform 0.4s var(--ease); }
.nav .drop:hover > button svg, .nav .drop.open > button svg { transform: rotate(180deg); }
.nav .menu {
  position: absolute; top: calc(100% + 14px); left: -24px; min-width: 260px;
  background: var(--white); padding: 14px; box-shadow: 0 30px 60px -30px rgba(25, 25, 25, 0.35);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.nav .menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav .drop:hover .menu, .nav .drop.open .menu, .nav .drop:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
.nav .menu a { display: block; padding: 12px 14px; transition: background 0.3s; }
.nav .menu a:hover { background: var(--shell); }
.nav .menu strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1.2; }
.nav .menu span { font-size: 13px; color: var(--ink-soft); }
.nav .btn { padding: 13px 22px; }

.menu-toggle { display: none; width: 44px; height: 44px; position: relative; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--ink); transition: transform 0.5s var(--ease), opacity 0.3s; }
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 26px; }
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 90; background: var(--shell);
  padding: 110px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path 0.8s var(--ease); overflow-y: auto;
}
body.menu-open .mobile-nav { clip-path: inset(0 0 0 0); }
body.menu-open { overflow: hidden; }
.mobile-nav ol { list-style: none; margin: 0; padding: 0; }
.mobile-nav li { border-bottom: 1px solid var(--line); overflow: hidden; }
.mobile-nav li a {
  display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0;
  font-family: var(--serif); font-size: clamp(26px, 7vw, 36px); line-height: 1.15;
  transform: translateY(100%); transition: transform 0.8s var(--ease);
}
.mobile-nav li a small { font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em; color: var(--ink-soft); }
body.menu-open .mobile-nav li a { transform: none; }
.mobile-nav li:nth-child(2) a { transition-delay: 0.05s; }
.mobile-nav li:nth-child(3) a { transition-delay: 0.1s; }
.mobile-nav li:nth-child(4) a { transition-delay: 0.15s; }
.mobile-nav li:nth-child(5) a { transition-delay: 0.2s; }
.mobile-nav li:nth-child(6) a { transition-delay: 0.25s; }
.mobile-nav li:nth-child(7) a { transition-delay: 0.3s; }
.mobile-nav .mobile-mark { width: 170px; height: auto; margin-top: 40px; opacity: 0.9; }
.mobile-nav .foot { margin-top: 40px; font-size: 14px; color: var(--ink-soft); }

/* Page hero (inner pages) ---------------------------------------------- */

.page-hero { padding: clamp(150px, 20vw, 230px) 0 clamp(60px, 8vw, 110px); position: relative; overflow: hidden; }
.page-hero h1 { max-width: 22ch; margin: 22px 0 26px; }
.page-hero .lede { max-width: 60ch; }
.page-hero:not(.with-media) .lede { max-width: 72ch; }
.page-hero .crumbs { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.page-hero .crumbs a:hover { color: var(--ink); }
.page-hero.with-media { min-height: min(760px, 92vh); }
.page-hero .hero-media {
  /* Starts below the fixed header, so the frame never sits behind the menu. */
  position: absolute; right: var(--gutter); top: 132px; bottom: 0; width: min(36vw, 480px); overflow: hidden;
}
.page-hero .hero-media img, .page-hero .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.page-hero.with-media .wrap > * { max-width: 60%; }

/* Home hero ------------------------------------------------------------- */

.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--mist); }
.hero .bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; filter: saturate(0.4) brightness(1.15) contrast(0.9); }
.hero .tint {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 78% 60%, rgba(250, 250, 250, 0.25), transparent 55%),
    linear-gradient(100deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 38%, rgba(250, 250, 250, 0.35) 70%, rgba(246, 246, 246, 0.4) 100%);
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 880px); align-items: center; gap: 40px; padding-top: 110px; padding-bottom: 80px; }
.hero h1 { margin: 26px 0 32px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.4s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 0.24s; }
.hero .lede { max-width: 56ch; opacity: 0; animation: fade 1.4s var(--ease) 0.6s forwards; }
.hero .btn-row { margin-top: 44px; opacity: 0; animation: fade 1.4s var(--ease) 0.8s forwards; }
.hero .eyebrow { opacity: 0; animation: fade 1.2s var(--ease) 0.1s forwards; }

.hero .scroll-cue {
  position: absolute; left: var(--gutter); bottom: 34px; z-index: 2;
  display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft);
}
.hero .scroll-cue i { width: 1px; height: 46px; background: var(--line); position: relative; overflow: hidden; }
.hero .scroll-cue i::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--ink); animation: drip 2.4s var(--ease-soft) infinite; }


/* Marquee --------------------------------------------------------------- */

.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 26px 0; background: var(--cream); }
.marquee .track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee a { display: inline-flex; align-items: center; gap: 36px; padding-right: 36px; font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); font-style: italic; white-space: nowrap; transition: color 0.4s; }
.marquee a:hover { color: var(--clay); }
.marquee a::after { content: ""; width: 9px; height: 9px; border: 1px solid var(--clay); border-radius: 50%; }

/* Doorways (home section links) ---------------------------------------- */

.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.door { position: relative; display: block; }
.door .frame { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--shell); }
.door .frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.door:hover .frame img { transform: scale(1); }
.door .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(25, 25, 25, 0.28), transparent 45%); opacity: 0.8; transition: opacity 0.6s; }
.door .num { position: absolute; top: 20px; left: 22px; z-index: 2; color: var(--white); font-family: var(--serif); font-style: italic; font-size: 20px; }
.door .meta { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding-top: 22px; }
.door h3 { transition: color 0.4s; }
.door p { margin-top: 8px; color: var(--ink-soft); font-size: 15px; max-width: 46ch; }
.door .circle { flex: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: background 0.5s var(--ease), border-color 0.5s; }
.door .circle svg { width: 16px; transition: transform 0.5s var(--ease); }
.door:hover .circle { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.door:hover .circle svg { transform: rotate(-45deg); }
.door:nth-child(2) { margin-top: clamp(0px, 6vw, 90px); }

/* Garden band */
.garden { position: relative; min-height: clamp(560px, 92vh, 900px); display: flex; align-items: center; overflow: hidden; background: var(--mist); }
.garden-media { position: absolute; inset: 0; }
.garden-media img { width: 100%; height: 118%; object-fit: cover; object-position: 0% 50%; margin-top: -9%; filter: saturate(0.7) brightness(1.05); }
.garden::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.9) 36%, rgba(255, 255, 255, 0.45) 60%, transparent 82%); }
.garden .wrap { position: relative; z-index: 2; }
.garden-text { max-width: 600px; }
.garden-text h2 { margin: 22px 0 26px; }
.garden-text p { color: var(--ink-soft); }
@media (max-width: 860px) { .garden::after { background: linear-gradient(0deg, rgba(255, 255, 255, 0.95) 30%, rgba(255, 255, 255, 0.5) 70%, transparent); } .garden { align-items: flex-end; padding-bottom: 60px; } }

/* Media blocks ---------------------------------------------------------- */

.media { position: relative; overflow: hidden; background: var(--shell); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media.tall { aspect-ratio: 4 / 5; }
.media.wide { aspect-ratio: 16 / 10; }
.media.square { aspect-ratio: 1; }
.media .caption { position: absolute; left: 18px; bottom: 16px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--white); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3); }
.parallax img, .parallax video { height: 118%; margin-top: -9%; will-change: transform; }

.film { position: relative; height: clamp(520px, 90vh, 860px); overflow: hidden; display: flex; align-items: flex-end; color: var(--white); }
.film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 20, 20, 0.55), rgba(20, 20, 20, 0.05) 60%); z-index: 1; }
.film .wrap { position: relative; z-index: 2; padding-bottom: clamp(48px, 8vw, 96px); }
.film h2 { max-width: 26ch; }
.film p { max-width: 64ch; margin-top: 22px; color: rgba(255, 255, 255, 0.88); }
.film .eyebrow { color: rgba(255, 255, 255, 0.85); }
.film .sound { position: absolute; right: var(--gutter); bottom: clamp(48px, 8vw, 96px); z-index: 2; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; display: flex; gap: 10px; align-items: center; opacity: 0.85; }
.film .sound:hover { opacity: 1; }

/* Gallery */
.gallery { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1.15fr; gap: clamp(12px, 1.6vw, 22px); align-items: end; }
.gallery .media { aspect-ratio: 4 / 5; }
.gallery .media:nth-child(2), .gallery .media:nth-child(3) { aspect-ratio: 3 / 4.4; }
.gallery .media:nth-child(even) { margin-bottom: clamp(20px, 4vw, 60px); }
.gallery.three { grid-template-columns: 1fr 1.3fr 1fr; }
.gallery.three .media { aspect-ratio: 4 / 5; }
.gallery.three .media:nth-child(2) { aspect-ratio: 1 / 1; margin-bottom: 0; }
.gallery .media img { transition: transform 1.6s var(--ease); }
.gallery .media.in:hover img { transform: scale(1.04); }
.unveil.d1 > * { transition-delay: 0.12s; }
.unveil.d2 > * { transition-delay: 0.24s; }
.unveil.d3 > * { transition-delay: 0.36s; }

/* Statement ------------------------------------------------------------- */

.statement { text-align: center; }
.statement p.big { font-family: var(--serif); font-size: clamp(24px, 2.8vw, 38px); line-height: 1.3; font-weight: 300; max-width: 40ch; margin: 34px auto 0; }
.statement p.big .w { display: inline-block; opacity: 0.16; transition: opacity 0.6s var(--ease); }
.statement p.big .w.on { opacity: 1; }

/* Philosophy cards & lists --------------------------------------------- */

.phil-row { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.phil-row a { padding: 30px 22px 34px 0; border-right: 1px solid var(--line); position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 270px; transition: background 0.5s var(--ease); }
.phil-row a:not(:first-child) { padding-left: 22px; }
.phil-row a:last-child { border-right: 0; }
.phil-row a:hover { background: rgba(255, 255, 255, 0.55); }
.phil-row .numeral { font-size: 26px; }
.phil-row h4 { font-size: 21px; }
.phil-row p { font-size: 15px; color: var(--ink-soft); }
.phil-row .go { margin-top: auto; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: 0.5s var(--ease); }
.phil-row a:hover .go { opacity: 1; transform: none; }

.phil-section { padding: clamp(70px, 10vw, 140px) 0; border-top: 1px solid var(--line); scroll-margin-top: 50px; }
.phil-section .grid-2 { align-items: start; }
.phil-section .num-big { font-family: var(--serif); font-style: italic; font-size: clamp(56px, 7vw, 100px); line-height: 0.8; color: var(--clay); opacity: 0.35; }
.phil-section h2 { margin: 18px 0 26px; }
.phil-section dl { margin: 34px 0 0; display: grid; grid-template-columns: 150px 1fr; border-top: 1px solid var(--line); }
.phil-section dt, .phil-section dd { padding: 16px 0; border-bottom: 1px solid var(--line); margin: 0; }
.phil-section dt { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); padding-top: 19px; }
.phil-section .btn-row { margin-top: 36px; }

.sticky-index { position: sticky; top: 76px; transition: top 0.5s var(--ease); z-index: 20; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
body.nav-up .sticky-index { top: 0; }
.sticky-index .wrap { display: flex; gap: 30px; overflow-x: auto; scrollbar-width: none; }
.sticky-index .wrap::-webkit-scrollbar { display: none; }
.sticky-index a { white-space: nowrap; padding: 18px 0; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); border-bottom: 1px solid transparent; transition: color 0.3s, border-color 0.3s; }
.sticky-index a.active, .sticky-index a:hover { color: var(--ink); border-color: var(--ink); }

/* Standards ------------------------------------------------------------- */

.standards { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.standards li { display: grid; grid-template-columns: 90px 1fr 1.2fr; gap: 30px; padding: 40px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.standards .numeral { font-size: 30px; }
.standards h3 { font-size: clamp(22px, 2.2vw, 30px); }
.standards p { color: var(--ink-soft); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.steps > div { padding: 34px 28px 0 0; position: relative; }
.steps > div::before { counter-increment: s; content: "0" counter(s); display: block; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--clay); margin-bottom: 40px; }
.steps > div::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.steps h4 { margin-bottom: 12px; }
.steps p { font-size: 15px; color: var(--ink-soft); }

.nots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.nots div { background: var(--cream); padding: 34px 30px; }
.nots h4 { font-size: 20px; margin-bottom: 10px; }
.nots p { font-size: 15px; color: var(--ink-soft); }

/* Audience panels ------------------------------------------------------- */

.panels { display: grid; grid-template-columns: 1fr 1fr; }
.panel { position: relative; min-height: 640px; display: flex; align-items: flex-end; overflow: hidden; color: var(--white); }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.8s var(--ease); }
.panel:hover img { transform: scale(1); }
.panel::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(20, 20, 20, 0.62), rgba(20, 20, 20, 0.04) 65%); }
.panel .inner { position: relative; z-index: 2; padding: clamp(32px, 5vw, 64px); max-width: 680px; }
.panel .eyebrow { color: rgba(255, 255, 255, 0.85); }
.panel h3 { font-size: clamp(26px, 2.6vw, 36px); margin: 18px 0 16px; }
.panel p { color: rgba(255, 255, 255, 0.88); margin-bottom: 28px; }

/* Benefits / feature list ---------------------------------------------- */

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.features .f { border-top: 1px solid var(--line); padding-top: 26px; }
.features h4 { margin: 16px 0 10px; }
.features p { color: var(--ink-soft); font-size: 15px; }
.features .icon { width: 34px; height: 34px; color: var(--sage-deep); }

/* Quote ---------------------------------------------------------------- */

blockquote.pull { margin: 0; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.25; font-weight: 300; font-style: italic; }
blockquote.pull cite { display: block; margin-top: 26px; font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); }

/* The Edit -------------------------------------------------------------- */

.filters { display: flex; flex-wrap: wrap; gap: 22px 48px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 48px; }
.filters .group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filters .label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); margin-right: 8px; }
.chip { padding: 9px 16px; border: 1px solid var(--line); border-radius: 40px; font-size: 13px; transition: all 0.4s var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.result-count { font-size: 13px; color: var(--ink-soft); margin-left: auto; align-self: center; }

.edit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 22px; }
.brief { text-align: left; display: block; width: 100%; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.brief[hidden] { display: none; }
.stage { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--shell); }
.stage img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.brief:hover .stage img { transform: scale(1); }
.stage .tag { position: absolute; z-index: 2; top: 14px; left: 14px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; background: rgba(255, 255, 255, 0.75); padding: 6px 10px; }
.stage .sheen { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.45) 48%, transparent 62%); transform: translateX(-100%); transition: transform 1.2s var(--ease); }
.brief:hover .stage .sheen { transform: translateX(100%); }
.brief h4 { margin-top: 18px; font-size: 20px; }
.brief .sub { font-size: 13px; color: var(--ink-soft); letter-spacing: 0.04em; margin-top: 4px; }


/* Dialog */
.dialog { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.dialog.open { visibility: visible; }
.dialog .scrim { position: absolute; inset: 0; background: rgba(25, 25, 25, 0.4); opacity: 0; transition: opacity 0.5s var(--ease); }
.dialog.open .scrim { opacity: 1; }
.dialog .sheet {
  position: relative; width: min(980px, 100%); max-height: calc(100svh - 40px); overflow: auto; background: var(--cream);
  display: grid; grid-template-columns: 1fr 1.1fr; opacity: 0; transform: translateY(24px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.dialog.open .sheet { opacity: 1; transform: none; }
.dialog .sheet .stage { min-height: 100%; aspect-ratio: auto; }
.dialog .sheet .stage img { position: absolute; inset: 0; transform: none; }
.dialog .body { padding: clamp(28px, 4vw, 54px); }
.dialog .body h3 { font-size: clamp(26px, 2.4vw, 32px); margin: 14px 0 18px; }
.dialog .body dl { display: grid; grid-template-columns: 120px 1fr; margin: 26px 0 30px; border-top: 1px solid var(--line); font-size: 15px; }
.dialog .body dt, .dialog .body dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.dialog .body dt { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); padding-top: 15px; }
.dialog .close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: var(--white); display: grid; place-items: center; transition: transform 0.5s var(--ease); }
.dialog .close:hover { transform: rotate(90deg); }
.dialog .close svg { width: 14px; }
body.dialog-open { overflow: hidden; }

/* Forms ---------------------------------------------------------------- */

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 28px; }
.form .full { grid-column: 1 / -1; }
.field { position: relative; display: flex; flex-direction: column; }
.field label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.field label .opt { text-transform: none; letter-spacing: 0.02em; opacity: 0.7; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 17px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid rgba(25, 25, 25, 0.3);
  padding: 8px 0 12px; border-radius: 0; outline: none; transition: border-color 0.4s; -webkit-appearance: none; appearance: none;
}
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231f1f1f'/%3E%3C/svg%3E") right 4px center no-repeat; padding-right: 24px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field .err { font-size: 13px; color: #9a4b3a; margin-top: 8px; display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #9a4b3a; }
.check { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); cursor: pointer; }
.check input { -webkit-appearance: none; appearance: none; flex: none; width: 18px; height: 18px; border: 1px solid rgba(25, 25, 25, 0.45); margin-top: 4px; display: grid; place-items: center; cursor: pointer; }
.check.invalid { color: #9a4b3a; }
.check.invalid input { border-color: #9a4b3a; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { content: ""; width: 8px; height: 4px; border-left: 1px solid var(--cream); border-bottom: 1px solid var(--cream); transform: rotate(-45deg) translate(1px, -1px); }
.options { display: flex; flex-wrap: wrap; gap: 10px; }
.options label { margin: 0; }
.options input { position: absolute; opacity: 0; pointer-events: none; }
.options span { display: inline-block; padding: 10px 18px; border: 1px solid var(--line); border-radius: 40px; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--ink); cursor: pointer; transition: 0.4s var(--ease); }
.options input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.options input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 13px; color: var(--ink-soft); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 30px; }
.form-status { grid-column: 1 / -1; display: none; padding: 18px 20px; font-size: 15px; background: var(--peach); }
.form-status.show { display: block; }
.form-done { display: none; padding: 50px 0 10px; }
.form-done.show { display: block; animation: fade 1s var(--ease); }
.form-done h3 { margin: 18px 0 14px; }
form.sent { display: none; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }

.form-card { background: var(--white); padding: clamp(28px, 5vw, 64px); }

/* FAQ ------------------------------------------------------------------ */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-family: var(--serif); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; position: relative; width: 14px; height: 14px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1px; background: var(--ink); transition: transform 0.5s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .answer { padding: 0 0 28px; max-width: 64ch; color: var(--ink-soft); }

/* Footer ---------------------------------------------------------------- */

.site-footer { background: var(--shell); color: var(--ink); border-top: 1px solid var(--line); padding: clamp(70px, 9vw, 120px) 0 36px; position: relative; overflow: hidden; }
.site-footer .top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 70px; border-bottom: 1px solid rgba(31, 31, 31, 0.12); }
.site-footer h5 { margin: 0 0 18px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 400; color: rgba(31, 31, 31, 0.55); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer ul a { font-size: 15px; color: rgba(31, 31, 31, 0.85); transition: color 0.3s; }
.site-footer ul a:hover { color: var(--ink); }
.site-footer .footer-mark { width: 210px; height: auto; margin-bottom: 30px; }
.site-footer .sign h4 { font-size: clamp(24px, 2.2vw, 30px); margin-bottom: 18px; }
.site-footer .sign p { color: rgba(31, 31, 31, 0.7); font-size: 15px; max-width: 48ch; }
.site-footer .mini-form { display: flex; border-bottom: 1px solid rgba(31, 31, 31, 0.3); margin-top: 26px; max-width: 380px; }
.site-footer .mini-form input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--ink); font: inherit; font-size: 16px; padding: 12px 0; outline: none; }
.site-footer .mini-form input::placeholder { color: rgba(31, 31, 31, 0.5); }
.site-footer .mini-form button { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; padding: 0 0 0 16px; }
.site-footer .mini-msg { font-size: 13px; color: rgba(31, 31, 31, 0.7); margin-top: 12px; min-height: 20px; }
.site-footer .word-xl { font-family: var(--serif); font-size: clamp(64px, 14vw, 220px); letter-spacing: 0.12em; line-height: 0.8; text-align: center; color: rgba(31, 31, 31, 0.045); margin: 60px 0 40px; user-select: none; white-space: nowrap; }
.site-footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; font-size: 13px; color: rgba(31, 31, 31, 0.55); }
.site-footer .bottom a:hover { color: var(--ink); }

/* Reveal animations ----------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }
.unveil > img, .unveil > video { clip-path: inset(100% 0 0 0); transform: scale(1.12); transition: clip-path 1.6s var(--ease), transform 2.2s var(--ease); }
.unveil.in > img, .unveil.in > video { clip-path: inset(0 0 0 0); transform: scale(1); }
.unveil.parallax.in > img, .unveil.parallax.in > video { transform: none; }

.page-fade { position: fixed; inset: 0; z-index: 300; background: var(--cream); pointer-events: none; opacity: 1; transition: opacity 0.7s var(--ease); }
.page-fade.gone { opacity: 0; }
.page-fade.leaving { opacity: 1; transition-duration: 0.45s; }

/* Keyframes ------------------------------------------------------------- */

@keyframes rise { to { transform: translateY(0); } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes drip { 0% { top: -50%; } 100% { top: 100%; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Responsive ------------------------------------------------------------ */

@media (max-height: 760px) { .hero .scroll-cue { display: none; } }


@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .phil-row { grid-template-columns: repeat(2, 1fr); }
  .phil-row a { border-bottom: 1px solid var(--line); padding-left: 22px; min-height: 230px; }
  .phil-row a:first-child { padding-left: 0; }
  .phil-row a:nth-child(2n) { border-right: 0; }
  .phil-row a:nth-child(2n+1) { padding-left: 0; }
  .phil-row .go { opacity: 1; transform: none; }
  .edit-grid { grid-template-columns: repeat(3, 1fr); }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
  .site-footer .sign { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 50px; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 120px; gap: 10px; }
    .hero .scroll-cue { display: none; }
  .grid-2, .split-head { grid-template-columns: 1fr; }
  .doors { grid-template-columns: 1fr; gap: 50px; }
  .door:nth-child(2) { margin-top: 0; }
  .door .frame { aspect-ratio: 4 / 3; }
  .panels { grid-template-columns: 1fr; }
  .panel { min-height: 520px; }
  .features, .nots { grid-template-columns: 1fr; }
  .gallery, .gallery.three { grid-template-columns: 1fr 1fr; }
  .gallery.three .media:nth-child(3) { display: none; }
  .gallery .media:nth-child(n) { aspect-ratio: 4 / 5; margin-bottom: 0; }
  .standards li { grid-template-columns: 1fr; gap: 10px; padding: 32px 0; }
  .edit-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 14px; }
  .dialog .sheet { grid-template-columns: 1fr; }
  .dialog .sheet .stage { min-height: 300px; }
  .form { grid-template-columns: 1fr; }
  .page-hero.with-media .wrap > * { max-width: none; }
  .page-hero.with-media { min-height: 0; }
  .page-hero .hero-media { position: relative; right: auto; top: auto; bottom: auto; width: 100%; margin: 50px 0 -1px; aspect-ratio: 4 / 3; }
  .page-hero { padding-bottom: 0; }
  .phil-section dl { grid-template-columns: 1fr; }
  .phil-section dt { padding-bottom: 0; border-bottom: 0; }
  .dialog .body dl { grid-template-columns: 1fr; }
  .dialog .body dt { padding-bottom: 0; border-bottom: 0; }
  .film .sound { display: none; }
}

@media (max-width: 560px) {
  .phil-row { grid-template-columns: 1fr; }
  .phil-row a { border-right: 0; padding-left: 0 !important; min-height: 0; }
  .steps { grid-template-columns: 1fr; }
  .site-footer .top { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .filters { gap: 18px; }
  .result-count { margin-left: 0; }
    .edit-grid { gap: 30px 12px; }
  .brief h4 { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .unveil > img, .unveil > video { clip-path: none; transform: none; }
  .hero h1 .line > span { transform: none; }
}
