/* ============================================================
   SOJOURN DESIGN HOUSE · Interiors for Intentional Living
   Design system · warm organic luxury · editorial
   ============================================================ */

:root {
  --ivory: #f3efe7;
  --ivory-soft: #faf7f1;
  --linen: #ece6da;
  --stone: #ddd5c6;
  --ink: #23201a;
  --espresso: #1b1813;
  --espresso-soft: #262119;
  --bronze: #9d7b4f;
  --bronze-soft: #b3905f;
  --taupe: #7e7466;
  --white: #fffdf9;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Outfit", "Helvetica Neue", Arial, sans-serif;

  --tr-slow: 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  --tr-med: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section: clamp(5rem, 11vw, 10rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--bronze); color: var(--ivory-soft); }

/* ---------- Type ---------- */
.display-1, .display-2, .display-3, h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.display-1 { font-size: clamp(3rem, 8.5vw, 7.25rem); }
.display-2 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); }
.display-3 { font-size: clamp(1.8rem, 3.4vw, 2.9rem); line-height: 1.15; }
.display-1 em, .display-2 em, .display-3 em, h1 em, h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--bronze);
}
.on-dark .display-1, .on-dark .display-2, .on-dark .display-3,
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--ivory-soft); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--bronze);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.75rem;
}
.eyebrow::before { content: ""; width: 2.4rem; height: 1px; background: var(--bronze); }
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::after { content: ""; width: 2.4rem; height: 1px; background: var(--bronze); }
.eyebrow.no-rule::before { display: none; }

.lead {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.7;
  font-weight: 300;
  color: var(--taupe);
  max-width: 38em;
}
.on-dark .lead, .on-dark p { color: #b9b1a2; }
p + p { margin-top: 1.25em; }
.max-prose { max-width: 42em; }

.big-quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.35;
  color: var(--ink);
  border-left: 1px solid var(--bronze);
  padding-left: clamp(1.5rem, 3vw, 3rem);
}
.big-quote cite {
  display: block;
  margin-top: 1.5rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bronze);
}

/* ---------- Layout ---------- */
.container { width: min(1360px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.container-narrow { width: min(880px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.container-wide { width: min(1560px, 100% - 2 * var(--gutter)); margin-inline: auto; }
section { padding-block: var(--section); position: relative; }
.section-tight { padding-block: calc(var(--section) * 0.6); }
.on-dark { background: var(--espresso); color: #b9b1a2; }
.on-soft { background: var(--ivory-soft); }
.on-linen { background: var(--linen); }
.hairline { border: 0; border-top: 1px solid var(--stone); }
.on-dark .hairline { border-color: #3a342a; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 7rem); align-items: center; }
.grid-2.align-start { align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 2.5vw, 2.5rem); }
@media (max-width: 960px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

/* Numbered section heading row */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.section-head .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--bronze);
  white-space: nowrap;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background var(--tr-med), box-shadow var(--tr-med), transform 0.45s ease;
}
.nav-inner {
  width: min(1560px, 100% - 2 * var(--gutter));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 1.4rem;
  transition: padding var(--tr-med);
}
.nav.scrolled { background: rgba(243, 239, 231, 0.92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(35, 32, 26, 0.08); }
.nav.scrolled .nav-inner { padding-block: 0.9rem; }
.nav.hidden { transform: translateY(-100%); }

.brand { display: flex; flex-direction: column; line-height: 1; z-index: 102; }
.brand .word {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink);
}
.brand .sub {
  font-size: 0.58rem;
  letter-spacing: 0.52em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-top: 0.35rem;
}
.nav-dark:not(.scrolled) .brand .word, .nav-dark:not(.scrolled) .nav-links a { color: var(--ivory-soft); }

.nav-links { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.4rem); }
.nav-links a {
  font-size: 0.78rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink); position: relative; padding-block: 0.3rem;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--bronze); transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: var(--bronze); }
.nav-cta {
  border: 1px solid var(--bronze) !important;
  padding: 0.65rem 1.5rem !important;
  color: var(--bronze) !important;
  transition: background var(--tr-med), color var(--tr-med);
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--bronze); color: var(--ivory-soft) !important; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; z-index: 102; padding: 0.5rem; }
.nav-toggle span { display: block; width: 26px; height: 1.5px; background: currentColor; margin: 6px 0; transition: var(--tr-med); color: var(--ink); }
.nav-dark:not(.scrolled) .nav-toggle span { background: var(--ivory-soft); }

.nav-overlay {
  position: fixed; inset: 0; z-index: 101; background: var(--espresso);
  display: flex; flex-direction: column; justify-content: center; padding: var(--gutter);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}
.nav-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 0.5s ease; }
.nav-overlay a {
  font-family: var(--font-display); font-size: clamp(2rem, 8vw, 3.2rem); line-height: 1.35;
  color: var(--ivory-soft); transition: color 0.3s;
}
.nav-overlay a:hover { color: var(--bronze-soft); font-style: italic; }
.nav-overlay .overlay-meta { margin-top: 3rem; font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--taupe); }

body.nav-open .nav { z-index: 103; background: transparent; box-shadow: none; backdrop-filter: none; }

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); background: var(--ivory-soft); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); background: var(--ivory-soft); }
  body.nav-open .brand .word { color: var(--ivory-soft); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 7.5rem 0 clamp(3rem, 7vh, 6rem);
  background: var(--espresso);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.62; animation: heroZoom 9s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(27, 24, 19, 0.88) 0%, rgba(27, 24, 19, 0.25) 45%, rgba(27, 24, 19, 0.42) 100%);
}
.hero-content { position: relative; z-index: 2; }
.hero .display-1, .hero h1 { color: var(--ivory-soft); }
.hero .lead { color: #cfc7b8; }
.hero-foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem;
  margin-top: clamp(2rem, 5vh, 4rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(243, 239, 231, 0.22);
  font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: #a99f8d;
}

@media (max-width: 700px) {
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 0.7rem; }
  .hero-foot span:last-child { display: none; }
}

/* Interior page hero (shorter, editorial) */
.hero-page {
  min-height: 72svh;
  display: flex; align-items: flex-end;
  padding-bottom: clamp(2.5rem, 6vh, 5rem);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.9rem;
  font-size: 0.76rem; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink); padding-bottom: 0.5rem; position: relative; cursor: pointer;
  background: none; border: 0;
}
.btn::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--bronze); transition: transform 0.45s cubic-bezier(0.16,1,0.3,1); transform-origin: left; }
.btn:hover::after { transform: scaleX(0.55); }
.btn .arrow { transition: transform 0.45s cubic-bezier(0.16,1,0.3,1); }
.btn:hover .arrow { transform: translateX(6px); }
.on-dark .btn, .btn.light { color: var(--ivory-soft); }

.btn-solid {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.8rem;
  font-size: 0.76rem; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase;
  padding: 1.15rem 2.6rem; border: 1px solid var(--bronze);
  color: var(--ivory-soft); background: var(--bronze);
  transition: background var(--tr-med), color var(--tr-med), border-color var(--tr-med);
  cursor: pointer;
}
.btn-solid:hover { background: transparent; color: var(--bronze); }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.8rem;
  font-size: 0.76rem; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase;
  padding: 1.15rem 2.6rem; border: 1px solid var(--ink); color: var(--ink); background: transparent;
  transition: background var(--tr-med), color var(--tr-med), border-color var(--tr-med);
  cursor: pointer;
}
.btn-outline:hover { background: var(--ink); color: var(--ivory-soft); }
.on-dark .btn-outline { border-color: rgba(243,239,231,0.4); color: var(--ivory-soft); }
.on-dark .btn-outline:hover { background: var(--ivory-soft); color: var(--ink); }

/* ---------- Imagery ---------- */
.img-frame { overflow: hidden; position: relative; background: var(--linen); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1); }
.img-frame:hover img { transform: scale(1.045); }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-34 { aspect-ratio: 3 / 4; }
.ratio-11 { aspect-ratio: 1 / 1; }
.ratio-32 { aspect-ratio: 3 / 2; }
.ratio-169 { aspect-ratio: 16 / 9; }
.ratio-219 { aspect-ratio: 21 / 9; }

.img-caption {
  display: flex; justify-content: space-between; gap: 1rem;
  margin-top: 0.9rem; font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--taupe);
}

/* Offset editorial pair */
.editorial-pair { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.editorial-pair .offset-down { margin-top: clamp(3rem, 9vw, 9rem); }
@media (max-width: 780px) { .editorial-pair { grid-template-columns: 1fr; } .editorial-pair .offset-down { margin-top: 0; } }

/* Full-bleed banner */
.banner { position: relative; min-height: 78svh; display: flex; align-items: center; overflow: hidden; }
.banner .banner-media { position: absolute; inset: 0; }
.banner .banner-media img { width: 100%; height: 100%; object-fit: cover; }
.banner .banner-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(27,24,19,0.82), rgba(27,24,19,0.28) 65%, rgba(27,24,19,0.15)); }
.banner .banner-content { position: relative; z-index: 2; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding-block: clamp(1.6rem, 3vw, 2.6rem); border-block: 1px solid var(--stone); background: var(--ivory-soft); }
.on-dark .marquee, .marquee.dark { background: var(--espresso); border-color: #352f26; }
.marquee-track { display: flex; gap: 4.5rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-style: italic; font-weight: 300;
  color: var(--taupe); white-space: nowrap; display: flex; align-items: center; gap: 4.5rem;
}
.marquee-track span::after { content: "◆"; font-size: 0.5em; color: var(--bronze); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Service rows ---------- */
.service-rows { border-top: 1px solid var(--stone); }
.service-row {
  display: grid; grid-template-columns: 4rem 1fr auto; align-items: center; gap: clamp(1rem, 3vw, 3rem);
  padding-block: clamp(1.6rem, 3vw, 2.6rem);
  border-bottom: 1px solid var(--stone);
  transition: padding-left 0.5s cubic-bezier(0.16,1,0.3,1), background 0.5s;
}
.service-row:hover { padding-left: 1.2rem; background: var(--ivory-soft); }
.service-row .idx { font-family: var(--font-display); font-style: italic; color: var(--bronze); font-size: 1.05rem; }
.service-row h3 { font-size: clamp(1.5rem, 2.6vw, 2.3rem); font-weight: 400; transition: color 0.4s; }
.service-row:hover h3 { color: var(--bronze); }
.service-row p { font-size: 0.95rem; color: var(--taupe); max-width: 34em; margin-top: 0.4rem; }
.service-row .arrow { font-size: 1.4rem; color: var(--bronze); transition: transform 0.5s cubic-bezier(0.16,1,0.3,1); }
.service-row:hover .arrow { transform: translateX(8px); }
@media (max-width: 700px) { .service-row { grid-template-columns: 1fr auto; } .service-row .idx { display: none; } }

/* ---------- Cards ---------- */
.card-link { display: block; }
.card-link .img-caption { transition: color 0.4s; }
.card-link:hover .img-caption { color: var(--bronze); }
.card-title { font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.8rem); margin-top: 1.1rem; font-weight: 400; }
.card-sub { font-size: 0.9rem; color: var(--taupe); margin-top: 0.35rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat .value { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 300; color: var(--ink); line-height: 1; }
.stat .value em { font-style: italic; color: var(--bronze); }
.on-dark .stat .value { color: var(--ivory-soft); }
.stat .label { margin-top: 0.8rem; font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--taupe); }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Process / numbered list ---------- */
.process { counter-reset: step; border-top: 1px solid var(--stone); }
.process-step { display: grid; grid-template-columns: minmax(4rem, 8rem) 1fr 1.4fr; gap: clamp(1rem, 3vw, 3.5rem); padding-block: clamp(1.8rem, 3.4vw, 3rem); border-bottom: 1px solid var(--stone); }
.process-step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.6rem, 2.6vw, 2.4rem); color: var(--bronze); line-height: 1;
}
.process-step h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 400; }
.process-step p { color: var(--taupe); font-size: 1rem; }
.on-dark .process, .on-dark .process-step { border-color: #3a342a; }
@media (max-width: 780px) { .process-step { grid-template-columns: 1fr; gap: 0.6rem; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--stone); }
.faq details { border-bottom: 1px solid var(--stone); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 2rem;
  padding-block: 1.6rem;
  font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 400; color: var(--ink);
  transition: color 0.3s;
}
.faq summary:hover { color: var(--bronze); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); font-weight: 200; font-size: 1.6rem; color: var(--bronze); transition: transform 0.4s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.8rem; color: var(--taupe); max-width: 46em; }

/* ---------- Journal ---------- */
.article-body { font-size: 1.1rem; line-height: 1.9; }
.article-body h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 2.5em 0 0.8em; }
.article-body h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: 2em 0 0.6em; }
.article-body p + p { margin-top: 1.4em; }
.article-body blockquote {
  font-family: var(--font-display); font-style: italic; font-size: 1.5em; line-height: 1.4;
  border-left: 1px solid var(--bronze); padding-left: 1.6rem; margin: 2em 0; color: var(--ink);
}
.article-meta { display: flex; gap: 1.6rem; font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--taupe); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem 2.5rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--taupe); margin-bottom: 0.7rem; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--stone);
  padding: 0.7rem 0; font-family: var(--font-body); font-weight: 300; font-size: 1.05rem; color: var(--ink);
  border-radius: 0; transition: border-color 0.4s; outline: none; appearance: none;
}
.field select { cursor: pointer; background-image: 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' stroke='%239d7b4f' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.2rem center; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--bronze); }
.field textarea { resize: vertical; min-height: 7rem; }
.form-note { font-size: 0.85rem; color: var(--taupe); }
.form-success { display: none; padding: 3rem; border: 1px solid var(--bronze); text-align: center; }
.form-success.visible { display: block; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.7rem; font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: #a99f8d; margin-bottom: 2rem; }
.breadcrumbs a:hover { color: var(--bronze-soft); }
.breadcrumbs .sep { color: var(--bronze); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--espresso); color: #b9b1a2; text-align: center; }
.cta-band .display-2 { color: var(--ivory-soft); }

/* ---------- Footer ---------- */
.footer { background: var(--espresso); color: #a99f8d; padding-top: var(--section); }
.footer a:hover { color: var(--bronze-soft); }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.2fr; gap: clamp(2.5rem, 5vw, 5rem); padding-bottom: 4.5rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--bronze); margin-bottom: 1.4rem; }
.footer li { margin-bottom: 0.65rem; font-size: 0.95rem; font-weight: 300; }
.footer .footer-intro { font-size: 1rem; max-width: 26em; }
.footer .brand .word { color: var(--ivory-soft); }
.footer-word {
  font-family: var(--font-display); font-weight: 400; text-align: center;
  font-size: clamp(3.4rem, 12vw, 11rem); letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(243, 239, 231, 0.09); line-height: 1; padding-top: 3rem; user-select: none;
}
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-block: 2rem; border-top: 1px solid rgba(243, 239, 231, 0.1);
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: #6f6759;
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s cubic-bezier(0.16,1,0.3,1), transform 1s cubic-bezier(0.16,1,0.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s cubic-bezier(0.16,1,0.3,1); }
.reveal-img.in { clip-path: inset(0 0 0 0); }
.d-1 { transition-delay: 0.12s; } .d-2 { transition-delay: 0.24s; } .d-3 { transition-delay: 0.36s; } .d-4 { transition-delay: 0.48s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-img { opacity: 1; transform: none; clip-path: none; transition: none; }
  .hero-media img { animation: none; }
  .marquee-track { animation-duration: 120s; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .mt-4 { margin-top: 4rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; } .mb-4 { margin-bottom: 4rem; }
.divider-diamond { display: flex; align-items: center; justify-content: center; gap: 1.2rem; color: var(--bronze); margin-block: 0.5rem; }
.divider-diamond::before, .divider-diamond::after { content: ""; height: 1px; width: min(9rem, 20vw); background: var(--stone); }

/* ============================================================
   PREMIUM LAYER · grain · entrance · transitions · parallax
   Injected globally; degrades gracefully without JS.
   ============================================================ */

/* ---------- Film grain (warmth + depth) ---------- */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: 0.045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
@media (max-width: 700px) { body::after { opacity: 0.03; } }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--bronze), var(--bronze-soft));
  z-index: 9999; pointer-events: none;
  transition: width 0.1s linear;
}

/* ---------- Entrance veil (once per session) ---------- */
.page-veil {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--espresso);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.1rem;
  transform: translateY(0);
  transition: transform 1.05s cubic-bezier(0.76, 0, 0.24, 1);
}
.page-veil.lift { transform: translateY(-100%); }
.page-veil .veil-word {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.8rem, 5vw, 2.8rem); letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--ivory-soft); padding-left: 0.42em;
  opacity: 0; transform: translateY(14px);
  animation: veilIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}
.page-veil .veil-sub {
  font-size: 0.62rem; letter-spacing: 0.52em; text-transform: uppercase; color: var(--bronze-soft);
  opacity: 0; transform: translateY(10px);
  animation: veilIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.32s forwards;
}
.page-veil .veil-line {
  width: 0; height: 1px; background: var(--bronze);
  animation: veilLine 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}
@keyframes veilIn { to { opacity: 1; transform: none; } }
@keyframes veilLine { to { width: 4.5rem; } }

/* ---------- Page-transition fade ---------- */
.page-fade {
  position: fixed; inset: 0; z-index: 9997; background: var(--ivory);
  opacity: 0; pointer-events: none; transition: opacity 0.5s ease;
}
.page-fade.show { opacity: 1; }
body.leaving { cursor: progress; }

/* ---------- Magnetic buttons ---------- */
.btn-solid, .btn-outline { will-change: transform; }

/* ---------- Refined focus (accessibility) ---------- */
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 1px; }
.nav-cta:focus-visible, .btn-solid:focus-visible, .btn-outline:focus-visible { outline-offset: 4px; }

/* ---------- Button fill sweep ---------- */
.btn-solid { position: relative; overflow: hidden; z-index: 0; }
.btn-solid::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--espresso);
  transform: translateY(101%); transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-solid:hover { color: var(--ivory-soft); background: var(--bronze); }
.btn-solid:hover::before { transform: translateY(0); }

/* ---------- Parallax hooks ---------- */
.hero-media, [data-parallax] { will-change: transform; }
/* oversize hero media so parallax translate never reveals an edge */
.hero-media { top: -9%; bottom: auto; height: 118%; }
.banner .banner-media { top: -9%; bottom: auto; height: 118%; }

/* ---------- Nicer image loading fade ---------- */
.img-frame img { background: var(--linen); }

@media (prefers-reduced-motion: reduce) {
  .page-veil, .page-fade { display: none !important; }
  .hero-media, [data-parallax] { transform: none !important; }
}
