/* ==========================================================================
   Cherish Moments Decor — Luxury Holiday Tree Design
   Shared stylesheet
   ========================================================================== */

:root {
  --evergreen: #163026;
  --evergreen-deep: #0d1f18;
  --wine: #6e2639;
  --ivory: #f7f3ec;
  --winter-white: #fdfcf9;
  --champagne: #c9a86a;
  --champagne-soft: #e3cfa4;
  --copper: #b96a2e;
  --charcoal: #232323;
  --ink: #2a2a28;
  --line: rgba(22, 48, 38, 0.14);
  --gold-line: rgba(201, 168, 106, 0.45);
  --shadow-soft: 0 18px 50px -22px rgba(13, 31, 24, 0.35);
  --shadow-card: 0 10px 34px -16px rgba(13, 31, 24, 0.28);
  --font-serif: "Cormorant Garamond", "Georgia", serif;
  --font-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Pinyon Script", cursive;
  --max-w: 1200px;
  --header-h: 84px;
  --radius: 4px;
  --ease: cubic-bezier(0.25, 0.8, 0.3, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 14px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--winter-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--evergreen); text-decoration-color: var(--gold-line); text-underline-offset: 3px; }
a:hover { color: var(--copper); }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; border-radius: 2px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--evergreen-deep); color: var(--ivory); padding: 0.75rem 1.25rem;
}
.skip-link:focus { left: 0; }

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.15; color: var(--evergreen-deep); margin: 0 0 1rem; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
p { margin: 0 0 1.25rem; }
.script-accent { font-family: var(--font-script); font-weight: 400; color: var(--champagne); font-size: 1.35em; letter-spacing: 0; }
.eyebrow {
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--copper);
  display: block; margin-bottom: 1.1rem;
}
.on-dark .eyebrow { color: var(--champagne-soft); }
.lead { font-size: 1.2rem; line-height: 1.8; color: #43433f; }

.container { width: min(100% - 3rem, var(--max-w)); margin-inline: auto; }
.narrow { max-width: 780px; margin-inline: auto; }
section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.center { text-align: center; }

.gold-rule {
  width: 64px; height: 1px; background: var(--champagne); border: 0;
  margin: 1.5rem auto; position: relative;
}
.gold-rule::after {
  content: "✦"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  color: var(--champagne); font-size: 0.7rem; background: inherit; background: var(--winter-white); padding: 0 0.5rem;
}
.on-dark .gold-rule::after { background: var(--evergreen-deep); }
.gold-rule.left { margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--font-sans); font-size: 0.83rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none;
  padding: 1.05rem 2.4rem; border-radius: var(--radius); cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  border: 1px solid transparent; text-align: center; min-height: 48px;
}
.btn-primary { background: var(--evergreen-deep); color: var(--ivory); border-color: var(--evergreen-deep); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--wine); border-color: var(--wine); color: var(--winter-white); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.btn-gold { background: var(--champagne); color: var(--evergreen-deep); border-color: var(--champagne); }
.btn-gold:hover, .btn-gold:focus-visible { background: var(--champagne-soft); border-color: var(--champagne-soft); color: var(--evergreen-deep); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.btn-outline { background: transparent; color: var(--evergreen-deep); border-color: var(--evergreen-deep); }
.btn-outline:hover, .btn-outline:focus-visible { background: var(--evergreen-deep); color: var(--ivory); transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: var(--ivory); border-color: rgba(247, 243, 236, 0.7); }
.btn-outline-light:hover, .btn-outline-light:focus-visible { background: var(--ivory); color: var(--evergreen-deep); border-color: var(--ivory); transform: translateY(-2px); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none !important; }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-row.center { justify-content: center; }
@media (max-width: 480px) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(13, 31, 24, 0);
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.site-header.scrolled, .site-header.solid {
  background: rgba(13, 31, 24, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px -12px rgba(0, 0, 0, 0.45);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(100% - 3rem, 1320px); margin-inline: auto; }
.logo { display: flex; flex-direction: row; align-items: center; gap: 0; text-decoration: none; line-height: 1.1; flex-shrink: 0; }
/* Brand wordmark next to the emblem. Hidden while over the hero (transparent
   header); slides in when the header becomes solid/scrolled. */
.logo .logo-wordmark {
  font-family: var(--font-serif); font-weight: 500; color: var(--winter-white);
  font-size: clamp(0.78rem, 0.95vw, 1.12rem); letter-spacing: 0.01em; white-space: nowrap;
  flex-shrink: 0; max-width: 0; margin-left: 0; opacity: 0; overflow: hidden;
  transition: max-width 0.5s var(--ease), opacity 0.35s var(--ease), margin-left 0.5s var(--ease);
}
/* Revealed state — max-width is generous so the full name never truncates. */
.site-header.scrolled .logo .logo-wordmark,
.site-header.solid .logo .logo-wordmark { max-width: 22em; opacity: 1; margin-left: 0.8rem; }
@media (prefers-reduced-motion: reduce) { .logo .logo-wordmark { transition: opacity 0.2s linear; } }
/* Wordmark stays visible with the inline nav down to the 1024px breakpoint; its
   font scales down on narrower windows so the full menu never clips. Below
   1024px the header switches to the hamburger, where the wordmark also shows. */
.logo .logo-name { font-family: var(--font-serif); font-size: 1.45rem; letter-spacing: 0.06em; color: var(--ivory); }
.logo .logo-sub { font-size: 0.58rem; letter-spacing: 0.42em; text-transform: uppercase; color: var(--champagne-soft); margin-top: 0.25rem; }
.logo .logo-img { display: block; height: 56px; width: auto; }
@media (max-width: 700px) {
  .logo .logo-img { height: 46px; }
  /* Keep the wordmark clear of the Menu button on phones. */
  .logo .logo-wordmark { font-size: 0.95rem; }
  .site-header.scrolled .logo .logo-wordmark,
  .site-header.solid .logo .logo-wordmark { margin-left: 0.55rem; max-width: 22em; }
}
@media (max-width: 380px) { .logo .logo-wordmark { font-size: 0.82rem; } }
/* Fluid nav: roomy on wide screens, compacts just enough to keep all links
   inline (no hamburger, no clipping) down to the 1024px breakpoint. */
.main-nav { display: flex; align-items: center; gap: clamp(0.7rem, 1.3vw, 1.5rem); }
.main-nav a:not(.btn) {
  font-size: clamp(0.68rem, 0.9vw, 0.82rem); font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(247, 243, 236, 0.88); text-decoration: none; padding: 0.5rem 0.1rem; position: relative; white-space: nowrap;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0.15rem; height: 1px;
  background: var(--champagne); transition: right 0.35s var(--ease);
}
.main-nav a:not(.btn):hover::after, .main-nav a:not(.btn):focus-visible::after,
.main-nav a[aria-current="page"]::after { right: 0; }
.main-nav a[aria-current="page"] { color: var(--champagne-soft); }
.main-nav .btn { padding: 0.6rem clamp(0.9rem, 1.2vw, 1.4rem); font-size: clamp(0.66rem, 0.85vw, 0.75rem); letter-spacing: 0.12em; white-space: nowrap; }
.nav-toggle {
  display: none; background: none; border: 1px solid rgba(247, 243, 236, 0.5); border-radius: var(--radius);
  color: var(--ivory); padding: 0.6rem 0.8rem; cursor: pointer; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  min-height: 44px; min-width: 44px;
}
@media (max-width: 1024px) {
  .main-nav {
    position: fixed; top: var(--header-h); right: 0; width: min(360px, 90vw);
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h)); /* dynamic viewport: accounts for mobile browser toolbars */
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0.1rem;
    background: var(--evergreen-deep); padding: 1.1rem 1.5rem calc(1.4rem + env(safe-area-inset-bottom));
    overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    transform: translateX(105%); transition: transform 0.4s var(--ease);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.4);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a:not(.btn) { font-size: 0.95rem; padding: 0.72rem 0.1rem; width: 100%; border-bottom: 1px solid rgba(201, 168, 106, 0.16); }
  .main-nav .btn { margin-top: 1rem; width: 100%; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-header:has(.main-nav.open) { background: rgba(13, 31, 24, 0.98); }
  /* CRITICAL: the header's backdrop-filter would become the containing block
     for the fixed nav drawer (a filtered/transformed ancestor traps
     position:fixed), which collapses the menu to a thin strip once the header
     is solid or scrolled. Removing the blur on mobile keeps the drawer
     anchored to the viewport so it always opens full-height. The header
     background is already ~96% opaque, so the look is unchanged. */
  .site-header,
  .site-header.solid,
  .site-header.scrolled { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
}

/* Mobile-menu scrim + scroll lock */
.nav-scrim {
  position: fixed; inset: 0; z-index: 99; background: rgba(9, 22, 17, 0.55);
  opacity: 0; transition: opacity 0.4s var(--ease); -webkit-tap-highlight-color: transparent;
}
.nav-scrim.show { opacity: 1; }
body.nav-open { overflow: hidden; }
@media (min-width: 1025px) { .nav-scrim { display: none !important; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(92vh, 900px); display: flex; align-items: center;
  color: var(--ivory); padding: calc(var(--header-h) + 3rem) 0 5rem; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* Symmetric overlay so centered text stays legible across all widths. */
  background: linear-gradient(180deg, rgba(9, 22, 17, 0.72) 0%, rgba(9, 22, 17, 0.55) 50%, rgba(9, 22, 17, 0.74) 100%);
}
.hero-content { max-width: 780px; margin-inline: auto; text-align: center; }
.hero .hero-kicker { font-size: 0.8rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--champagne-soft); margin-bottom: 1.4rem; display: block; }
.hero h1 { color: var(--winter-white); margin-bottom: 0.4rem; font-size: clamp(2.9rem, 6.6vw, 5rem); }
.hero .hero-script { font-family: var(--font-script); font-size: clamp(2.3rem, 4.8vw, 3.7rem); color: var(--champagne); display: block; margin: 0.5rem 0 1.5rem; }
.hero p { font-size: clamp(1.18rem, 1.9vw, 1.45rem); line-height: 1.75; max-width: 600px; margin-inline: auto; color: rgba(247, 243, 236, 0.94); }

/* ---------- Hero entrance animation ----------
   Heading, paragraph and buttons fade up in sequence. The script line is
   "written out" letter by letter (JS wraps each character in .ch and sets a
   staggered delay). Pure-CSS fallback: without JS the script line simply shows. */
@keyframes heroIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero-content h1 { animation: heroIn 0.9s var(--ease) 0.1s both; }
.hero-content > p { animation: heroIn 0.9s var(--ease) 2s both; }
.hero-content .btn-row { animation: heroIn 0.9s var(--ease) 2.25s both; }
.hero-script .ch {
  display: inline-block; white-space: pre;
  animation: heroIn 0.5s var(--ease) both;
}
@media (prefers-reduced-motion: reduce) {
  .hero-content h1,
  .hero-content > p,
  .hero-content .btn-row,
  .hero-script .ch { animation: none !important; opacity: 1 !important; transform: none !important; }
}
/* Keep the hero script line on a single line on phones (shrink to fit). */
@media (max-width: 480px) {
  .hero .hero-script { font-size: 7.4vw; white-space: nowrap; }
}
/* Never let a phone number break across two lines (e.g. after the hyphen). */
a[href^="tel:"] { white-space: nowrap; }
.page-hero {
  position: relative; padding: calc(var(--header-h) + 5rem) 0 4.5rem;
  background: var(--evergreen-deep); color: var(--ivory); overflow: hidden;
}
.page-hero h1 { color: var(--winter-white); }
.page-hero p { color: rgba(247, 243, 236, 0.85); max-width: 640px; font-size: 1.15rem; }
.page-hero .page-hero-media { position: absolute; inset: 0; opacity: 0.28; }
.page-hero .page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .container { position: relative; }

/* ---------- Sections / cards ---------- */
.on-dark { background: var(--evergreen-deep); color: rgba(247, 243, 236, 0.9); }
.on-dark h2, .on-dark h3 { color: var(--winter-white); }
.on-ivory { background: var(--ivory); }

.card-grid { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.card {
  background: var(--winter-white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.card .card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--evergreen-deep); }
.card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card .card-body { padding: 1.8rem 1.8rem 2rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.card .card-body h3 { margin-bottom: 0.2rem; }
.card .card-body p { font-size: 0.98rem; color: #4c4c47; margin-bottom: 0.8rem; }
.card .card-link { margin-top: auto; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; color: var(--copper); font-weight: 500; }
.card .card-link::after { content: " →"; }
.card .card-link:hover { color: var(--wine); }

/* Editorial split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split .split-media { position: relative; }
.split .split-media img { border-radius: var(--radius); box-shadow: var(--shadow-soft); width: 100%; object-fit: cover; }
.split .split-media::before {
  content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem; border: 1px solid var(--gold-line);
  border-radius: var(--radius); z-index: -1;
}
.split.reverse .split-media { order: 2; }
.split.reverse .split-media::before { inset: 1.4rem 1.4rem -1.4rem -1.4rem; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
}

/* Residential / corporate chooser */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 540px; }
.duo-panel {
  position: relative; display: flex; align-items: flex-end; padding: 3rem; color: var(--ivory);
  overflow: hidden; text-decoration: none; min-height: 440px;
}
.duo-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.duo-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9, 22, 17, 0.88) 0%, rgba(9, 22, 17, 0.15) 60%); transition: background 0.5s var(--ease); }
.duo-panel:hover img, .duo-panel:focus-visible img { transform: scale(1.06); }
.duo-panel .duo-body { position: relative; z-index: 1; }
.duo-panel h3 { color: var(--winter-white); font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.duo-panel p { color: rgba(247, 243, 236, 0.88); max-width: 420px; font-size: 1rem; }
.duo-panel .faux-btn {
  display: inline-block; margin-top: 0.4rem; font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--champagne-soft); border-bottom: 1px solid var(--champagne); padding-bottom: 0.3rem;
}
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* Process timeline */
.timeline { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2rem; counter-reset: step; position: relative; }
.timeline::before { content: ""; position: absolute; top: 27px; left: 6%; right: 6%; height: 1px; background: var(--gold-line); }
.timeline li { position: relative; text-align: center; padding-top: 4.4rem; }
.timeline li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 1.15rem; color: var(--champagne);
  background: var(--evergreen-deep); border: 1px solid var(--champagne);
}
.timeline h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.timeline p { font-size: 0.92rem; color: #55554f; margin: 0; }
.on-dark .timeline p { color: rgba(247, 243, 236, 0.75); }
.on-dark .timeline li::before { background: transparent; }
@media (max-width: 1000px) { .timeline { grid-template-columns: repeat(2, 1fr); } .timeline::before { display: none; } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }

/* Testimonials */
.testimonial {
  background: var(--winter-white); border: 1px solid var(--line); border-top: 3px solid var(--champagne);
  border-radius: var(--radius); padding: 2.4rem 2.2rem; box-shadow: var(--shadow-card);
}
.testimonial blockquote { margin: 0; font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.5; color: var(--evergreen-deep); font-style: italic; }
.testimonial figcaption { margin-top: 1.4rem; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--copper); }
.placeholder-note { display: inline-block; margin-top: 0.6rem; font-size: 0.72rem; letter-spacing: 0.08em; color: #8a8a82; border: 1px dashed #c9c9c0; border-radius: 3px; padding: 0.2rem 0.6rem; text-transform: uppercase; }

/* CTA band */
.cta-band { position: relative; color: var(--ivory); text-align: center; overflow: hidden; background: var(--evergreen-deep); }
.cta-band .cta-media { position: absolute; inset: 0; opacity: 0.25; }
.cta-band .cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .container { position: relative; max-width: 760px; }
.cta-band h2 { color: var(--winter-white); }
.cta-band p { color: rgba(247, 243, 236, 0.88); }

/* ---------- Gallery ---------- */
/* Captions removed from all gallery images — applies on every device/size.
   (Image alt text is kept for screen readers; only visible captions are hidden.) */
.masonry .g-item .g-cap,
.lightbox .lb-caption { display: none !important; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin: 0 0 2.6rem; }
.filter-bar button {
  font-family: var(--font-sans); font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase;
  background: transparent; color: var(--evergreen-deep); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.65rem 1.4rem; cursor: pointer; transition: all 0.3s var(--ease); min-height: 44px;
}
.filter-bar button:hover { border-color: var(--champagne); color: var(--copper); }
.filter-bar button[aria-pressed="true"] { background: var(--evergreen-deep); color: var(--ivory); border-color: var(--evergreen-deep); }
/* ---------- Project group heading (portfolio collections) ---------- */
.project-group { margin: 0 0 clamp(2.6rem, 6vw, 4.5rem); }
.project-group + .project-group { margin-top: clamp(2.6rem, 6vw, 4rem); }
.project-head { text-align: center; margin: 0 auto clamp(2rem, 4vw, 2.8rem); max-width: 720px; }
.project-head .eyebrow { margin-bottom: 0.9rem; }
.project-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem); letter-spacing: 0.03em;
  text-transform: uppercase; margin: 0;
}
.project-head .project-sub {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: #55554f;
  margin: 0.7rem auto 0; max-width: 560px;
}
.project-head .gold-rule { margin-top: 1.3rem; margin-bottom: 0; }

/* Sub-collection heading within a project group (e.g. "Hilton Tree") */
.project-subhead { text-align: center; margin: clamp(2.4rem, 5vw, 4rem) auto clamp(1.6rem, 3vw, 2.4rem); max-width: 640px; }
.project-subhead h3 {
  font-family: var(--font-serif); font-weight: 500; color: var(--evergreen-deep);
  font-size: clamp(1.25rem, 2.3vw, 1.8rem); letter-spacing: 0.16em; text-transform: uppercase; margin: 0;
}
.project-subhead .gold-rule { margin-top: 1rem; margin-bottom: 0; }

/* Video showcase (portrait installation film) */
.video-showcase { max-width: 420px; margin: 0 auto; }
.video-showcase video { width: 100%; height: auto; display: block; border-radius: var(--radius); box-shadow: var(--shadow-card); background: #000; }

/* ---------- Meet-the-designer two-up (About) ---------- */
/* Meet-the-designer circular portrait (About) */
.designer-portrait { margin: 0 auto; width: min(340px, 80vw); }
.designer-portrait picture { display: block; }
.designer-portrait img {
  display: block; width: 100%; aspect-ratio: 1 / 1; height: auto;
  border-radius: 50%; object-fit: cover; object-position: center top;
  border: 5px solid var(--winter-white);
  box-shadow: 0 0 0 1px rgba(201, 168, 106, 0.55), 0 22px 55px -24px rgba(13, 31, 24, 0.4);
}
.designer-portrait .designer-name { text-align: center; margin-top: 1.2rem; }
.designer-portrait .designer-name .name {
  display: block; font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem); letter-spacing: 0.02em; color: var(--evergreen-deep);
}
.designer-portrait .designer-name .role {
  display: block; margin-top: 0.35rem; font-family: var(--font-sans);
  font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--copper);
}
@media (max-width: 640px) { .designer-portrait { width: min(260px, 74vw); } }

.masonry { columns: 3 320px; column-gap: 1.4rem; }
.masonry .g-item { break-inside: avoid; margin-bottom: 1.4rem; position: relative; border-radius: var(--radius); overflow: hidden; display: block; width: 100%; border: 0; padding: 0; background: var(--evergreen-deep); cursor: zoom-in; }
.masonry .g-item img { width: 100%; transition: transform 0.7s var(--ease), opacity 0.7s var(--ease); }
.masonry .g-item:hover img, .masonry .g-item:focus-visible img { transform: scale(1.04); opacity: 0.92; }
.masonry .g-item figcaption, .masonry .g-item .g-cap {
  position: absolute; inset: auto 0 0 0; padding: 1.6rem 1.2rem 1rem; color: var(--ivory);
  font-size: 0.85rem; letter-spacing: 0.06em; text-align: left;
  background: linear-gradient(0deg, rgba(9, 22, 17, 0.85), transparent);
  opacity: 0; transform: translateY(8px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.masonry .g-item:hover .g-cap, .masonry .g-item:focus-visible .g-cap { opacity: 1; transform: none; }
.g-item.hidden { display: none; }
.video-slot {
  border: 1px dashed var(--gold-line); border-radius: var(--radius); background: var(--ivory);
  display: grid; place-items: center; text-align: center; padding: 3rem 2rem; color: #6b6b64;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(9, 22, 17, 0.96);
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(1.4rem, 3vw, 2.2rem); padding: clamp(1.5rem, 4vw, 2.5rem);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 74vh; width: auto; height: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); border-radius: 3px; }
.lightbox .lb-caption {
  position: static; margin: 0; max-width: min(90vw, 760px); text-align: center;
  color: var(--ivory); font-family: var(--font-serif); font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  font-weight: 500; letter-spacing: 0.02em; line-height: 1.5; padding: 0 1rem;
}
@media (max-width: 640px) {
  .lightbox img { max-height: 64vh; }
  .lightbox .lb-caption { font-size: 1.05rem; }
}
.lightbox button {
  position: absolute; background: rgba(247, 243, 236, 0.08); border: 1px solid rgba(247, 243, 236, 0.35);
  color: var(--ivory); font-size: 1.2rem; width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; transition: background 0.3s var(--ease);
}
.lightbox button:hover { background: rgba(201, 168, 106, 0.35); }
.lightbox .lb-close { top: 1.4rem; right: 1.4rem; }
.lightbox .lb-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox .lb-prev, .lightbox .lb-next { top: 42%; transform: translateY(-50%); width: 46px; height: 46px; }
  .lightbox .lb-prev { left: 0.6rem; }
  .lightbox .lb-next { right: 0.6rem; }
}

/* ---------- Forms ---------- */
.form-shell { background: var(--winter-white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: clamp(1.8rem, 4vw, 3rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem 1.6rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--evergreen-deep); margin-bottom: 0.45rem; font-weight: 500; }
.field .req { color: var(--wine); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-sans); font-size: 1rem; font-weight: 300; color: var(--ink);
  background: var(--winter-white); border: 1px solid #cfcabe; border-radius: var(--radius);
  padding: 0.85rem 1rem; min-height: 48px; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--champagne); box-shadow: 0 0 0 3px rgba(201, 168, 106, 0.25); }
.field .error-msg { display: none; font-size: 0.82rem; color: #9d2235; margin-top: 0.35rem; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #9d2235; }
.field.invalid .error-msg { display: block; }
.form-note { font-size: 0.88rem; color: #6b6b64; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: var(--radius); font-size: 0.95rem; }
.form-status.ok { display: block; background: #eef5ee; border: 1px solid #b9d4bb; color: #234d28; }
.form-status.err { display: block; background: #faeef0; border: 1px solid #e3b6bf; color: #7c1d2e; }

/* Booking calendar */
.booking-layout { display: grid; grid-template-columns: 380px 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 960px) { .booking-layout { grid-template-columns: 1fr; } }
.cal { background: var(--winter-white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 1.6rem; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cal-head .cal-title { font-family: var(--font-serif); font-size: 1.25rem; color: var(--evergreen-deep); }
.cal-head button { background: none; border: 1px solid var(--line); border-radius: 50%; width: 44px; height: 44px; cursor: pointer; color: var(--evergreen-deep); font-size: 1rem; }
.cal-head button:hover:not([disabled]) { border-color: var(--champagne); color: var(--copper); }
.cal-head button[disabled] { opacity: 0.35; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-grid .dow { text-align: center; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: #8a8a82; padding: 0.4rem 0; }
.cal-grid .day {
  aspect-ratio: 1; display: grid; place-items: center; font-size: 0.95rem; border: 1px solid transparent;
  border-radius: 50%; background: none; cursor: pointer; color: var(--ink); transition: all 0.25s var(--ease);
}
.cal-grid .day:hover:not([disabled]) { border-color: var(--champagne); }
.cal-grid .day[disabled] { color: #c3c3ba; cursor: not-allowed; text-decoration: line-through; text-decoration-color: #ddd; }
.cal-grid .day.selected { background: var(--evergreen-deep); color: var(--ivory); border-color: var(--evergreen-deep); }
.slot-hint { font-size: 0.85rem; color: #6b6b64; margin-top: 0.8rem; }
.booking-summary { background: var(--ivory); border: 1px solid var(--gold-line); border-radius: var(--radius); padding: 1rem 1.3rem; font-size: 0.95rem; margin-top: 1.2rem; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; max-width: 900px; margin-inline: auto; }
.price-card {
  background: var(--winter-white); border: 1px solid var(--line); border-top: 3px solid var(--champagne);
  border-radius: var(--radius); padding: 2.8rem 2.4rem; box-shadow: var(--shadow-card); text-align: center;
  display: flex; flex-direction: column;
}
.price-card .tier { font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--copper); margin-bottom: 0.8rem; }
.price-card .amount { font-family: var(--font-serif); font-size: 2.9rem; color: var(--evergreen-deep); line-height: 1; }
.price-card .amount small { display: block; font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: #8a8a82; margin-top: 0.7rem; }
.price-card ul { list-style: none; padding: 0; margin: 1.8rem 0; text-align: left; }
.price-card ul li { padding: 0.55rem 0 0.55rem 1.6rem; position: relative; font-size: 0.96rem; border-bottom: 1px solid rgba(22, 48, 38, 0.08); }
.price-card ul li::before { content: "✦"; position: absolute; left: 0; color: var(--champagne); font-size: 0.7rem; top: 0.85rem; }
.price-card .disclosure { font-size: 0.82rem; color: #6b6b64; font-style: italic; margin-top: auto; }

/* FAQ */
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--font-serif); font-size: 1.25rem; color: var(--evergreen-deep); padding: 1.4rem 0.2rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-sans); font-size: 1.4rem; color: var(--champagne); transition: transform 0.3s var(--ease); flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 0.2rem 1.5rem; color: #4c4c47; max-width: 720px; }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.contact-card { background: var(--winter-white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; text-align: center; container-type: inline-size; }
.contact-card .ico { font-size: 1.4rem; color: var(--champagne); display: block; margin-bottom: 0.6rem; }
.contact-card a { font-size: 1.05rem; }
/* Email must always stay on a single line — scales to the card width, not the viewport */
.contact-card a.email-nowrap { white-space: nowrap; display: inline-block; max-width: 100%; font-size: 0.82rem; font-size: min(1rem, 5.2cqw); letter-spacing: 0; }

/* Shop */
.soon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.6rem; }
.soon-card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--ivory); aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: flex-end;
}
.soon-card .soon-art { position: absolute; inset: 0; display: grid; place-items: center; font-size: 3.4rem; color: rgba(22, 48, 38, 0.18); }
.soon-card .soon-body { position: relative; padding: 1.4rem; background: linear-gradient(0deg, var(--winter-white) 60%, transparent); }
.soon-card h3 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.soon-card .soon-tag { font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--copper); }

/* ---------- Footer ---------- */
.site-footer { background: var(--evergreen-deep); color: rgba(247, 243, 236, 0.82); padding: 4.5rem 0 2rem; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.6rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--champagne-soft); font-family: var(--font-sans); font-size: 0.76rem; letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 1.2rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 0.55rem; }
.site-footer a { color: rgba(247, 243, 236, 0.82); text-decoration: none; }
.site-footer a:hover { color: var(--champagne-soft); }
.footer-brand .logo-name { font-family: var(--font-serif); font-size: 1.6rem; color: var(--winter-white); display: block; }
.footer-brand .logo-sub { font-size: 0.62rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--champagne-soft); display: block; margin: 0.4rem 0 1rem; }
.footer-brand .tagline { font-family: var(--font-script); font-size: 1.5rem; color: var(--champagne); }
.social-row { display: flex; gap: 0.8rem; margin-top: 1.2rem; }
.social-row span {
  width: 42px; height: 42px; border: 1px solid rgba(201, 168, 106, 0.4); border-radius: 50%;
  display: grid; place-items: center; font-size: 0.75rem; color: var(--champagne-soft); cursor: default;
}
.social-row a.social-link {
  width: 44px; height: 44px; border: 1px solid rgba(201, 168, 106, 0.45); border-radius: 50%;
  display: grid; place-items: center; color: var(--champagne-soft); text-decoration: none;
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.social-row a.social-link:hover, .social-row a.social-link:focus-visible {
  color: var(--evergreen-deep); background: var(--champagne); border-color: var(--champagne); transform: translateY(-2px);
}
.social-row a.social-link svg { display: block; }
.footer-legal { border-top: 1px solid rgba(201, 168, 106, 0.2); margin-top: 3rem; padding-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; font-size: 0.82rem; color: rgba(247, 243, 236, 0.6); }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.hours-note { font-size: 0.9rem; font-style: italic; color: rgba(247, 243, 236, 0.7); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Page transition ---------- */
.page-veil {
  position: fixed; inset: 0; z-index: 400; pointer-events: none;
  background: var(--evergreen-deep);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.page-veil.active { opacity: 1; visibility: visible; pointer-events: all; }
.page-veil .veil-star { position: relative; width: 74px; height: 74px; }
.page-veil .veil-star svg { width: 100%; height: 100%; }
.page-veil .veil-star svg path { fill: none; stroke: var(--champagne); stroke-width: 1.5; }
.page-veil.active .veil-star { animation: starGlow 0.9s var(--ease) both; }
@keyframes starGlow {
  0% { transform: scale(0.6) rotate(-8deg); opacity: 0; filter: drop-shadow(0 0 0 rgba(201,168,106,0)); }
  55% { opacity: 1; filter: drop-shadow(0 0 18px rgba(201, 168, 106, 0.9)); }
  100% { transform: scale(1) rotate(0deg); opacity: 1; filter: drop-shadow(0 0 6px rgba(201, 168, 106, 0.5)); }
}
.page-veil .shimmer {
  position: absolute; inset: 0; overflow: hidden;
}
.page-veil .shimmer::before {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -45%;
  background: linear-gradient(100deg, transparent, rgba(201, 168, 106, 0.14), transparent);
}
.page-veil.active .shimmer::before { animation: sweep 0.9s var(--ease) both; }
@keyframes sweep { to { left: 110%; } }
@media (prefers-reduced-motion: reduce) {
  .page-veil.active .veil-star, .page-veil.active .shimmer::before { animation: none; }
}

/* Utility */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.small { font-size: 0.88rem; color: #6b6b64; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
