/* Leeza Braun — editorial one-page
   Display: Canela Text (trial files from brand Dropbox)
   Sans: Inter (Suisse Int’l grotesk proxy — no Suisse files found) */

@font-face {
  font-family: "Canela";
  src: url("../fonts/canela/CanelaText-Light-Trial.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Canela";
  src: url("../fonts/canela/CanelaText-LightItalic-Trial.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Canela";
  src: url("../fonts/canela/CanelaText-Regular-Trial.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Canela";
  src: url("../fonts/canela/CanelaText-RegularItalic-Trial.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Canela";
  src: url("../fonts/canela/CanelaText-Medium-Trial.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0a0a0a;
  --ink-soft: #2a2a2a;
  --diamond: #ffffff;
  --ivory: #f7f4ef;
  --platinum: #e6e7e9;
  --platinum-deep: #9a9c9f;
  --aqua-soft: #9fd4d6;
  --aqua: #6eb8ba;
  --line: rgba(10, 10, 10, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);
  --display: "Canela", "Instrument Serif", Georgia, serif;
  --script: "Italianno", "Pinyon Script", "Allura", cursive;
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  background: var(--ink);
  background-color: var(--ink);
  color-scheme: dark;
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--ink);
  background-color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: .75rem 1rem;
  z-index: 2000;
}
.skip:focus { left: 1rem; top: 1rem; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 300;
  line-height: 1.02;
  margin: 0 0 0.55em;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.6rem, 7vw, 5.25rem); }
h2 { font-size: clamp(2.35rem, 5.8vw, 4.5rem); }
h3 { font-size: 1.6rem; }

p { margin: 0 0 1rem; color: var(--ink-soft); }

.eyebrow,
.meta,
.notation {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--platinum-deep);
  margin: 0 0 1.25rem;
}

.eyebrow.light,
.meta.light,
.notation.light { color: rgba(255, 255, 255, 0.55); }

.body { max-width: 36rem; }
.emphasis {
  font-family: var(--display);
  font-size: 1.65rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.break { display: block; }

/* —— Top bar —— */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000; /* above hero textures / collage frames */
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.5rem;
  color: #fff;
  /* Use rgba(0,0,0,0) — not the transparent keyword — so bg-color transitions reliably */
  background: rgba(0, 0, 0, 0);
  background-image: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  mix-blend-mode: normal;
  isolation: isolate;
  transition: background-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
/* Solid ink bar once scrolled — fully opaque, no hero texture/grain bleed-through */
.topbar.is-stuck,
.topbar.is-solid,
.topbar.is-scrolled {
  background: #0a0a0a;
  background-color: #0a0a0a;
  background-image: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  opacity: 1;
  box-shadow: 0 1px 0 var(--line-light);
}
.topbar.is-stuck::before,
.topbar.is-solid::before,
.topbar.is-scrolled::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #0a0a0a;
  pointer-events: none;
}
/* Sentinel for reliable sticky-state detection (IntersectionObserver).
   Tall enough that it remains intersecting at scrollY ≈ 0, then leaves after a modest scroll. */
.topbar-sentinel {
  width: 1px;
  height: 32px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
}

.brand {
  display: inline-flex;
  width: clamp(140px, 20vw, 196px);
  aspect-ratio: 2 / 1;
}
.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: none;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.15rem 1.45rem;
}
.nav a {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 400;
}
.nav a:hover { color: #fff; }

.topbar-cta {
  justify-self: end;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  padding: 0.75em 1.15em;
  display: none;
}
.topbar-cta:hover {
  background: #fff;
  color: var(--ink);
}

.menu-btn {
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 7px;
  cursor: pointer;
  color: #fff;
}
.menu-btn i {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform 0.35s var(--ease);
}
.menu-btn[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (min-width: 1100px) {
  .nav { display: flex; }
  .topbar-cta { display: inline-flex; }
  .menu-btn { display: none; }
}

.drawer {
  position: fixed;
  inset: 0;
  background: var(--ink);
  color: #fff;
  z-index: 900; /* below topbar (1000), above page content */
  display: grid;
  place-content: center;
  gap: 1.5rem;
  transform: translateY(-110%);
  transition: transform 0.55s var(--ease);
}
.drawer.is-open { transform: translateY(0); }
.drawer a {
  font-family: var(--display);
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  text-align: center;
  letter-spacing: -0.02em;
}
body.drawer-open { overflow: hidden; }

/* —— Buttons / CTAs —— */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 1.05em 1.55em;
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-light:hover { background: var(--ivory); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}
.btn-ink {
  background: var(--ink);
  color: #fff;
}
.btn-ink:hover { background: #222; }

/* —— Hero — black field + floating editorial collage —— */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-atmosphere {
  position: absolute;
  inset: 0;
  background:
    url("../images/texture-ink-platinum.png") center / cover no-repeat,
    var(--ink);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  max-height: 100svh;
}
.hero-frame {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: #050505;
  opacity: 1;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  /* Drift / float handled by GSAP (js/motion.js); CSS keyframes kept as no-JS fallback */
  animation: frame-drift 28s ease-in-out infinite alternate;
}
html.js-motion .hero-frame {
  animation: none;
}
.hero-frame--still { background: #050505; }
.hero-frame--life { background: #111; }
.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 1;
}
.hero-frame--still img,
.hero-frame img.is-contain {
  object-fit: contain;
  object-position: center;
  padding: 7%;
}
.hero-frame--life img {
  object-fit: cover;
  object-position: center;
  padding: 0;
  width: 100%;
  height: 100%;
}

/* —— Sparse 6-frame collage — corners only, clear center for type —— */
/* Large anchors */
.hero-frame--a {
  width: clamp(140px, 16vw, 230px);
  aspect-ratio: 3 / 4;
  top: 8%;
  left: 3%;
  z-index: 5;
  animation-delay: -2s;
}
.hero-frame--b {
  width: clamp(140px, 16vw, 230px);
  aspect-ratio: 3 / 4;
  top: 8%;
  right: 3%;
  z-index: 5;
  animation-delay: -5s;
}
/* Medium lower anchors */
.hero-frame--c {
  width: clamp(110px, 13vw, 180px);
  aspect-ratio: 4 / 5;
  bottom: 7%;
  left: 5%;
  z-index: 4;
  animation-delay: -9s;
}
.hero-frame--d {
  width: clamp(110px, 13vw, 180px);
  aspect-ratio: 4 / 5;
  bottom: 7%;
  right: 5%;
  z-index: 4;
  animation-delay: -12s;
}
/* Medium edge + small accent — stay in outer thirds */
.hero-frame--e {
  width: clamp(92px, 11vw, 150px);
  aspect-ratio: 3 / 4;
  top: 42%;
  left: 1.5%;
  z-index: 3;
  opacity: 0.92;
  animation-delay: -15s;
}
.hero-frame--f {
  width: clamp(72px, 8.5vw, 118px);
  aspect-ratio: 4 / 5;
  top: 46%;
  right: 2%;
  z-index: 3;
  opacity: 0.9;
  animation-delay: -7s;
}
@keyframes frame-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -8px, 0); }
}

.hero-center {
  position: relative;
  z-index: 10;
  width: min(640px, 92vw);
  text-align: center;
  padding: 7rem 1.25rem 3.5rem;
  display: grid;
  justify-items: center;
  gap: 0;
}
.hero-logo {
  width: clamp(160px, 28vw, 240px);
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  margin: 0 0 1.1rem;
}
.hero-center .meta { margin-bottom: 1.35rem; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 7.2vw, 5.6rem);
  margin: 0 0 1.15rem;
  max-width: 16ch;
}
.hero h1 span { display: block; }
.hero h1 .hero-script {
  font-family: var(--script);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2.85rem, 8.4vw, 6.4rem);
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin-top: 0.12em;
  color: #fff;
}
.lede {
  color: rgba(255, 255, 255, 0.72);
  max-width: 34rem;
  font-size: 1.02rem;
  margin: 0 auto;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

@media (max-width: 820px) {
  /* Drop edge accents; keep four corner anchors */
  .hero-frame--e,
  .hero-frame--f { display: none; }
  .hero-frame--a { left: 2%; top: 10%; width: 26vw; }
  .hero-frame--b { right: 2%; top: 10%; width: 26vw; }
  .hero-frame--c { left: 4%; bottom: 8%; width: 24vw; }
  .hero-frame--d { right: 4%; bottom: 8%; width: 24vw; }
  .hero-center { padding-top: 6.5rem; }
}
@media (max-width: 560px) {
  .hero-frame { opacity: 0.82; }
  .hero-frame--c,
  .hero-frame--d { display: none; }
  .hero-frame--a,
  .hero-frame--b { width: 30vw; opacity: 0.95; }
  .hero h1 { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .hero h1 .hero-script { font-size: clamp(2.6rem, 13vw, 3.8rem); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-frame { animation: none; }
}

/* —— Selected Works —— */
.works {
  position: relative;
  padding: 6.5rem 1.5rem 4rem;
  max-width: 1440px;
  margin: 0 auto;
  background: var(--diamond);
}
.works::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/texture-ivory-paper.png") center / 720px repeat;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
.works > * { position: relative; z-index: 1; }
.section-intro {
  max-width: 40rem;
  margin-bottom: 2.75rem;
}
.section-intro h2 { margin-bottom: 0.7rem; }
.section-intro .body { margin-bottom: 0; }
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 2.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.filter-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.7em 1em;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.filter-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.catalog-empty {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
}

/* Horizontal catalog strip — compact row, scroll left → right */
.editorial {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 1.1rem;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 0.25rem;
  padding: 0.25rem 0.15rem 1.1rem;
  margin: 0;
  max-height: none;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: rgba(10, 10, 10, 0.28) transparent;
  -webkit-overflow-scrolling: touch;
}
.editorial.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}
.editorial::-webkit-scrollbar {
  height: 5px;
}
.editorial::-webkit-scrollbar-track {
  background: transparent;
}
.editorial::-webkit-scrollbar-thumb {
  background: rgba(10, 10, 10, 0.22);
  border-radius: 999px;
}
.editorial::-webkit-scrollbar-thumb:hover {
  background: rgba(10, 10, 10, 0.38);
}
@media (min-width: 900px) {
  .editorial {
    gap: 1.35rem;
  }
}

.piece {
  margin: 0;
  display: grid;
  gap: 0.55rem;
  flex: 0 0 auto;
  width: min(42vw, 220px);
  scroll-snap-align: start;
}
@media (min-width: 900px) {
  .piece {
    width: min(26vw, 240px);
  }
}
.piece-frame {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  height: auto;
  max-height: 240px;
  background: #000;
  overflow: hidden;
}
.piece-frame.is-paper { background: #fff; }
.piece-frame.is-photo { background: #111; }
.piece-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  display: block;
  transition: transform 1.8s var(--ease);
}
.piece:hover .piece-frame img {
  transform: scale(1.02);
}

.piece figcaption {
  display: grid;
  gap: 0.2rem;
  padding: 0 0.1rem;
}
.piece .code {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--platinum-deep);
}
.piece .title {
  font-family: var(--display);
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.15;
}
.piece .spec {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* —— Feature sections —— */
.feature {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 80vh;
}
@media (min-width: 960px) {
  .feature { grid-template-columns: 1.05fr 0.95fr; }
  .feature-reverse .feature-media { order: 2; }
  .feature-reverse .feature-copy { order: 1; }
}
.feature-ink {
  background: var(--ink);
  color: #fff;
}
.feature-ink p { color: rgba(255, 255, 255, 0.7); }
.feature-ink h2 { color: #fff; }
.feature-ivory {
  background: var(--ivory);
  color: var(--ink);
}

.feature-media {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background: #080808;
  gap: 1rem;
}
.feature-ivory .feature-media { background: #efece6; }
.feature-media img {
  width: min(100%, 560px);
  height: auto;
  object-fit: contain;
}
.feature-media-wide img { width: min(100%, 640px); }

.caption-note {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  text-align: center;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.caption-note.dark { color: var(--platinum-deep); }

.feature-copy {
  display: grid;
  align-content: center;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.4rem, 5vw, 4.5rem);
  gap: 0.15rem;
}
.feature-copy h2 { margin-bottom: 1.1rem; }
.feature-copy p { max-width: 30rem; }

/* —— Manifesto (One of a Kind) —— */
.manifesto {
  background: var(--ink);
  color: #fff;
  padding: 5.5rem 0 0;
}
.manifesto-copy {
  width: min(1100px, 92vw);
  margin: 0 auto 2.75rem;
  text-align: center;
}
.manifesto-copy h2 {
  color: #fff;
  font-size: clamp(2.1rem, 5.4vw, 4.1rem);
  font-weight: 300;
  line-height: 1.18;
  max-width: 24ch;
  margin: 0 auto;
  text-wrap: balance;
}
.manifesto-copy h2 em {
  font-style: italic;
  font-weight: 300;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 70vh;
}
@media (min-width: 900px) {
  .manifesto-grid { grid-template-columns: 1fr 1fr; }
}
.manifesto-cell {
  position: relative;
  margin: 0;
  min-height: 52vh;
  overflow: hidden;
  background: #080808;
}
.manifesto-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.manifesto-cell--life img { object-position: center 30%; }
.manifesto-cell--still img { object-position: center center; }
.manifesto-cell figcaption {
  position: absolute;
  inset: auto 0 1.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.4rem;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.manifesto-overlay {
  position: absolute;
  inset: auto 1.4rem 1.5rem auto;
  margin: 0;
  text-align: right;
  max-width: min(92vw, 22rem);
}
.manifesto-overlay-title {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.6vw, 2.35rem);
  color: #fff;
  letter-spacing: -0.02em;
  margin-top: 0.35rem;
  white-space: nowrap;
}

/* —— Split editorial (Diamonds) —— */
.split-editorial {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--ink);
  color: #fff;
  min-height: 90vh;
}
@media (min-width: 960px) {
  .split-editorial { grid-template-columns: 1fr 1fr; }
}
.split-life {
  position: relative;
  min-height: 60vh;
  overflow: hidden;
  background: #111;
}
.split-life img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}
.split-notation {
  position: absolute;
  inset: auto 0 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 0 1.5rem;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}
.split-still {
  display: grid;
  grid-template-rows: minmax(140px, 28%) 1fr;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.2), rgba(10, 10, 10, 0.85)),
    url("../images/texture-atelier-velvet.png") center / cover no-repeat,
    #080808;
}
.split-still-media {
  display: grid;
  place-items: center;
  padding: 1.25rem 1.5rem 0;
}
.split-still-media img {
  width: min(46%, 180px);
  height: auto;
  max-height: min(22vh, 168px);
  object-fit: contain;
}
@media (min-width: 960px) {
  .split-still-media {
    padding: 2rem 1.5rem 0;
  }
  .split-still-media img {
    width: min(100%, 420px);
    max-height: min(48vh, 420px);
  }
}
.split-still-copy {
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1.4rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 4rem);
  display: grid;
  align-content: start;
  gap: 0.2rem;
}
.split-still-copy h2 {
  color: #fff;
  font-size: clamp(2.05rem, 4.4vw, 3.55rem);
  margin-bottom: 1rem;
  max-width: 11ch;
  text-wrap: pretty;
}
.split-still-copy h2 em {
  font-style: italic;
  display: inline;
}
.split-still-copy p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 30rem;
  margin-bottom: 0.75rem;
  font-size: 0.98rem;
}
.split-still-copy .notation { margin-top: 0.75rem; }
@media (min-width: 960px) {
  .split-still {
    grid-template-rows: minmax(220px, 38%) 1fr;
  }
}

/* —— Our Story —— */
.house {
  padding: 6.5rem 1.5rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--diamond);
}
.house-head {
  margin-bottom: 3rem;
  max-width: min(46rem, 92vw);
}
.house-head h2 {
  font-size: clamp(2.1rem, 5.2vw, 3.85rem);
  line-height: 1.12;
  max-width: none;
  text-wrap: pretty;
}
.house-head .meta { margin-top: 0.75rem; }
.nowrap { white-space: nowrap; }
.house-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 4rem;
}
@media (min-width: 900px) {
  .house-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
  }
}
.house-story p {
  font-size: 1.12rem;
  max-width: 34rem;
}
.house-sign {
  margin-top: 1.75rem;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--platinum-deep);
}
.house-media {
  background: var(--platinum);
  aspect-ratio: 247 / 179;
  overflow: hidden;
}
.house-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #ddd;
}

.house-quote {
  margin: 0;
  padding: 2.5rem 0 0;
  border-top: 1px solid var(--line);
  max-width: 40rem;
}
.house-quote p {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.house-quote cite {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--platinum-deep);
}

/* —— Appointments footer (intro · form + contact · brand bar) —— */
.appoint {
  background: var(--ink);
  color: #fff;
  border-top: 1px solid var(--line-light);
}
.appoint-inner {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 4.5rem 0 3.25rem;
}
@media (min-width: 980px) {
  .appoint-inner { padding: 6rem 0 4rem; }
}

.appoint-intro {
  max-width: 36rem;
  margin-bottom: 2.75rem;
}
@media (min-width: 980px) {
  .appoint-intro { margin-bottom: 3.25rem; }
}
.appoint-intro h2 {
  color: #fff;
  margin: 0 0 0.75rem;
}
.appoint-intro .eyebrow {
  color: rgba(255, 255, 255, 0.5);
}
.appoint-intro .body {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  max-width: 28rem;
}

.appoint-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
  align-items: start;
}
@media (min-width: 900px) {
  .appoint-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(14rem, 0.65fr);
    gap: 3.5rem 4.5rem;
  }
}

.appoint-panel {
  background: transparent;
  color: #fff;
  min-width: 0;
}

.intake {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 560px) {
  .intake { grid-template-columns: 1fr 1fr; }
}
.intake label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(230, 231, 233, 0.55);
  font-weight: 400;
}
.intake label.full { grid-column: 1 / -1; }
.intake input,
.intake select,
.intake textarea {
  font: inherit;
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-transform: none;
  font-weight: 300;
  border: 1px solid rgba(230, 231, 233, 0.28);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.9rem 0.95rem;
  color: #fff;
  outline: none;
  border-radius: 0;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  color-scheme: dark;
}
.intake input::placeholder,
.intake textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.intake select option {
  background: var(--ink);
  color: #fff;
}
.intake input:focus,
.intake select:focus,
.intake textarea:focus {
  border-color: rgba(230, 231, 233, 0.7);
  background: rgba(255, 255, 255, 0.07);
}
.intake .btn { margin-top: 0.35rem; width: fit-content; grid-column: 1 / -1; }
.intake .btn:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}
.intake-error {
  grid-column: 1 / -1;
  margin: 0;
  color: #f0c4c4;
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.45;
}
.thanks h3 {
  margin-top: 0.25rem;
  color: #fff;
}
.thanks p { color: rgba(255, 255, 255, 0.68); }

.appoint-aside {
  display: grid;
  gap: 1.35rem;
  color: #fff;
  border-top: 1px solid var(--line-light);
  padding-top: 1.75rem;
}
@media (min-width: 900px) {
  .appoint-aside {
    border-top: 0;
    padding-top: 0.35rem;
  }
}
.appoint-aside p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
  line-height: 1.55;
}
.appoint-aside strong {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(230, 231, 233, 0.5);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
}
.appoint-aside a:hover { color: #fff; }

.appoint-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.75rem;
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 1.35rem 0 1.6rem;
  border-top: 1px solid var(--line-light);
}
.appoint-bar img {
  width: 112px;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  object-position: left center;
  opacity: 0.92;
}
.appoint-bar .notation {
  margin: 0;
  flex: 1 1 auto;
  color: rgba(255, 255, 255, 0.45);
}
.appoint-copy {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.3);
}
@media (max-width: 559px) {
  .appoint-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }
  .appoint-bar .notation { flex: none; }
}

/* —— Slow reveals (fallback when GSAP unavailable) —— */
[data-rise] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
[data-rise].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-rise] { opacity: 1; transform: none; transition: none; }
  .piece-frame img { transition: none; }
  .hero-frame { opacity: 1 !important; }
}
