/* ==========================================================================
   Main website (index.html)
   Olive, sage and cream with a lace edge and calligraphy. Motion lives in
   main.js (small helpers, no libraries); without JavaScript or with "reduce
   motion", everything is simply shown.
   ========================================================================== */

.home {
  --olive-deep: #3b3c2a;
  --olive-night: #2f3022;
  --sage-mid: #7c8059;
  --ivory: #f4ece0;
  --paper-warm: #efe6d8;
  --ink-olive: #3d3b2a;
  --body-ink: #4a4335;
  --script: "Pinyon Script", "Snell Roundhand", "Apple Chancery", cursive;
  --serif: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);

  margin: 0;
  background: var(--olive-night);
  color: var(--ink-olive);
  overflow-x: hidden;
}

html { scroll-behavior: smooth; scroll-padding-top: 60px; }

.home h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ivory);
  color: var(--brown);
}

.skip-link:focus { top: 12px; }

.paper-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.script-label {
  margin: 0 0 4px;
  font-family: var(--script);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1;
  color: var(--olive);
}

.script-label.light { color: var(--cream); }

.section-intro {
  max-width: 52ch;
  margin: 0 auto clamp(30px, 5vh, 48px);
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--body-ink);
}

.flourish {
  display: block;
  width: 170px;
  height: 20px;
  margin: 12px auto 18px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1;
  color: var(--olive);
}

.flourish-left { margin-left: 0; }

/* Thin, letter-spaced buttons */
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid var(--olive);
  border-radius: 2px;
  background: var(--olive);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ivory);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease-soft);
}

.pill-btn:hover {
  background: var(--brown);
  border-color: var(--brown);
  transform: translateY(-2px);
}

.pill-btn.ghost {
  background: transparent;
  border-color: rgba(244, 236, 224, 0.6);
  color: var(--ivory);
}

.pill-btn.ghost:hover {
  background: rgba(244, 236, 224, 0.12);
  border-color: var(--ivory);
}

.pill-btn.light {
  background: var(--ivory);
  border-color: var(--ivory);
  color: var(--olive-deep);
}

.pill-btn.light:hover {
  background: var(--cream);
  border-color: var(--cream);
}

/* ==========================================================================
   Menu
   Desktop: a floating bar that turns frosted after scrolling.
   Phones/tablets: a full-width bar with a full-screen menu.
   The frosted background sits on ::before so the phone menu panel can be
   fixed to the screen instead of to the bar.
   ========================================================================== */
.topnav {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, calc(100% - 24px));
  min-height: 56px;
  padding: 6px 8px 6px 14px;
  transform: translateX(-50%);
}

.topnav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid rgba(244, 236, 224, 0.18);
  border-radius: 4px;
  background: rgba(47, 48, 34, 0.8);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.4s;
}

.topnav.is-solid::before { opacity: 1; }

.topnav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-decoration: none;
  color: var(--ivory);
}

.topnav-brand img {
  width: auto;
  height: 34px;
}

.topnav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 28px);
}

.topnav-links a:not(.topnav-cta) {
  position: relative;
  padding: 6px 0;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(244, 236, 224, 0.78);
  transition: color 0.3s;
}

.topnav-links a:not(.topnav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--cream);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-soft);
}

.topnav-links a:hover,
.topnav-links a[aria-current="true"] { color: var(--ivory); }

.topnav-links a[aria-current="true"]::after { transform: scaleX(1); }

.topnav-cta,
.topnav-book {
  padding: 11px 18px;
  border-radius: 2px;
  background: var(--ivory);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--olive-deep);
  transition: background 0.3s;
}

.topnav-cta:hover,
.topnav-book:hover { background: var(--cream); }

.topnav-book,
.nav-toggle { display: none; }

/* ---------- Phones & tablets ---------- */
@media (max-width: 900px) {
  .topnav {
    top: 0;
    left: 0;
    width: 100%;
    min-height: 60px;
    gap: 10px;
    padding: 0 8px 0 16px;
    transform: none;
  }

  .topnav::before,
  .topnav.is-solid::before {
    border: 0;
    border-bottom: 1px solid rgba(244, 236, 224, 0.12);
    border-radius: 0;
    background: rgba(47, 48, 34, 0.92);
    box-shadow: none;
    opacity: 1;
  }

  .topnav-brand { font-size: 1.05rem; }
  .topnav-brand img { height: 30px; }

  .topnav-book {
    display: inline-flex;
    margin-left: auto;
    padding: 9px 14px;
    font-size: 0.64rem;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .nav-toggle i {
    display: block;
    width: 22px;
    height: 1.5px;
    border-radius: 1px;
    background: var(--ivory);
    transition: transform 0.35s var(--ease-soft), opacity 0.2s;
  }

  .nav-toggle[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] i:nth-of-type(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* Full-screen menu under the bar */
  .topnav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 24px 24px calc(24px + env(safe-area-inset-bottom));
    background: var(--olive-night);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease-soft), visibility 0s linear 0.35s;
  }

  .topnav-links.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s var(--ease-soft);
  }

  .topnav-links a:not(.topnav-cta) {
    padding: 10px 0;
    font-family: var(--serif);
    font-size: 1.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--ivory);
  }

  .topnav-links a:not(.topnav-cta)::after { bottom: 6px; }

  .topnav-cta { margin-top: 22px; padding: 14px 28px; }

  /* Links rise in one after another */
  .topnav-links > a {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s var(--ease-soft), transform 0.4s var(--ease-soft);
  }

  .topnav-links.is-open > a { opacity: 1; transform: none; }
  .topnav-links.is-open > a:nth-child(2) { transition-delay: 40ms; }
  .topnav-links.is-open > a:nth-child(3) { transition-delay: 80ms; }
  .topnav-links.is-open > a:nth-child(4) { transition-delay: 120ms; }
  .topnav-links.is-open > a:nth-child(5) { transition-delay: 160ms; }
  .topnav-links.is-open > a:nth-child(6) { transition-delay: 200ms; }

  html.menu-open,
  html.menu-open body { overflow: hidden; }
}

@media (max-width: 360px) {
  .topnav-brand span { font-size: 0.95rem; }
  .topnav-book { padding: 8px 10px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 110px 20px 120px;
  overflow: hidden;
  text-align: center;
  color: var(--ivory);
  background:
    radial-gradient(ellipse at 50% 40%, rgba(149, 154, 115, 0.3), transparent 60%),
    linear-gradient(180deg, var(--olive-night) 0%, #44452f 55%, var(--olive) 100%);
}

.hero-light {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  background: radial-gradient(circle at calc(50% + var(--px, 0) * 12%) calc(40% + var(--py, 0) * 10%), rgba(226, 212, 193, 0.14), transparent 40%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-kicker {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(244, 236, 224, 0.8);
  animation: fadeUp 1s var(--ease-soft) 0.1s both;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  font-family: var(--script);
  font-weight: 400;
  line-height: 0.95;
  color: var(--ivory);
  text-shadow: 0 6px 30px rgba(20, 20, 10, 0.35);
}

.hero-the {
  font-size: clamp(2.2rem, 6vw, 4rem);
  color: var(--cream);
}

.hero-name {
  font-size: clamp(3.6rem, 13vw, 9.5rem);
  white-space: nowrap;
}

.hero-tagline {
  margin: clamp(16px, 3vh, 26px) 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(244, 236, 224, 0.3);
  font-family: var(--serif);
  font-size: clamp(0.8rem, 1.6vw, 0.98rem);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--cream);
  animation: fadeUp 1s var(--ease-soft) 1s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(26px, 5vh, 40px);
  animation: fadeUp 1s var(--ease-soft) 1.2s both;
}

/* Title letters drift in one by one (main.js wraps them) */
.char {
  display: inline-block;
  animation: charIn 1s var(--ease-soft) both;
  animation-delay: calc(var(--i) * 45ms + 250ms);
}

.char-space { width: 0.25em; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(244, 236, 224, 0.75);
}

.scroll-cue i {
  position: relative;
  width: 1px;
  height: 46px;
  overflow: hidden;
  background: rgba(244, 236, 224, 0.2);
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 1px;
  height: 40%;
  background: var(--ivory);
  animation: cueDrop 2.2s var(--ease-soft) infinite;
}

/* ---------- Swaying branches & drifting leaves ---------- */
.botanicals {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(calc(var(--px, 0) * 14px), calc(var(--py, 0) * 10px), 0);
  transition: transform 0.6s var(--ease-soft);
}

.botanicals svg {
  overflow: visible;
  fill: rgba(243, 235, 221, 0.07);
  stroke: rgba(243, 235, 221, 0.75);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sway {
  --w: clamp(150px, 30vmin, 330px);
  position: absolute;
  width: var(--w);
  height: var(--w);
  transform-origin: 7% 93%;
  opacity: 0.8;
}

.sway svg {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: 7% 93%;
  animation: branchSway var(--sway-dur, 7s) ease-in-out var(--sway-delay, 0s) infinite alternate;
}

.sway-1 { left: calc(var(--w) * -0.07 - 6px); top: calc(var(--w) * -0.93 - 6px); transform: rotate(80deg); --sway-dur: 7.5s; }
.sway-2 { left: calc(100% - var(--w) * 0.07 + 6px); bottom: calc(var(--w) * -0.07 - 6px); transform: scaleX(-1) rotate(-6deg); --sway-dur: 8.5s; --sway-delay: -3s; }
.sway-3 { --w: clamp(110px, 20vmin, 220px); left: calc(100% - var(--w) * 0.07 + 4px); top: calc(30% - var(--w) * 0.93); transform: scaleX(-1) rotate(18deg); opacity: 0.55; --sway-dur: 6.5s; --sway-delay: -1.5s; }
.sway-4 { --w: clamp(100px, 17vmin, 190px); left: calc(24% - var(--w) * 0.07); bottom: calc(var(--w) * -0.07 - 4px); transform: rotate(-14deg); opacity: 0.5; --sway-dur: 6s; --sway-delay: -4s; }

.drift {
  --scale: 1.6;
  position: absolute;
  top: 0;
  left: var(--x);
  width: calc(var(--size) * var(--scale));
  height: calc(var(--size) * var(--scale));
  opacity: 0;
  animation: driftFall var(--dur) linear var(--delay) infinite;
}

.drift svg {
  display: block;
  width: 100%;
  height: 100%;
  stroke-width: 2.2;
  animation: driftRock var(--sway) ease-in-out infinite alternate;
}

.drift.olive { --scale: 1.4; }

@media (max-width: 600px) {
  .drift:nth-of-type(n + 5) { display: none; }
  .sway { --w: clamp(130px, 38vmin, 200px); }
  .sway-3 { --w: 110px; }
  .sway-4 { display: none; }
  .hero-name { font-size: 19vw; }
  .hero-the { font-size: 11vw; }
}

/* ==========================================================================
   About
   ========================================================================== */
.about {
  position: relative;
  padding: clamp(80px, 12vh, 130px) 20px;
  background: var(--ivory);
}

.about::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -21px;
  height: 22px;
  background: var(--ivory);
  -webkit-mask: radial-gradient(circle at 50% 100%, #000 10.5px, transparent 11px) 0 0 / 24px 22px repeat-x;
          mask: radial-gradient(circle at 50% 100%, #000 10.5px, transparent 11px) 0 0 / 24px 22px repeat-x;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  max-width: 1080px;
  margin: 0 auto;
}

.about-text h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.15;
  color: var(--brown);
}

.about-text p:not(.script-label):not(.values) {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  color: var(--body-ink);
}

.values {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--olive);
}

.values i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage);
}

@media (max-width: 800px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .flourish-left { margin-left: auto; }
  .values { justify-content: center; }
}

/* ---------- Lace oval (cropped from bg-new-2.png) ----------
   The oval sits in the middle of that artwork (370 × 488 px of 1366 px), so
   the image is scaled to 369% and centred, then clipped to an ellipse.     */
.lace-oval-frame {
  position: relative;
  aspect-ratio: 370 / 488;
  background: url("../images/bg-new-2.png") 50% 50% / 369.2% auto no-repeat;
  clip-path: ellipse(49.5% 49.6% at 50% 50%);
}

.lace-oval-inner {
  position: absolute;
  inset: 20% 18%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.lace-oval-inner img {
  width: 44%;
  height: auto;
}

.lace-oval-inner > span {
  font-family: var(--script);
  font-size: clamp(1.2rem, 2.8vw, 1.6rem);
  line-height: 1.1;
  color: var(--olive);
}

/* The oval in an arched olive panel (matches the artwork around the lace) */
.arch-panel {
  width: min(380px, 78vw);
  margin: 0 auto;
  padding: clamp(26px, 5vw, 40px) clamp(22px, 4vw, 34px);
  border-radius: 999px 999px 6px 6px;
  background: radial-gradient(ellipse at 50% 40%, #4a4c36, #3f4130 70%);
  box-shadow: 0 26px 40px -24px rgba(47, 48, 34, 0.7), inset 0 0 0 1px rgba(244, 236, 224, 0.12);
}

/* ==========================================================================
   Services: one arched "window" per category (name + short description)
   ========================================================================== */
.services {
  position: relative;
  padding: clamp(80px, 12vh, 120px) clamp(20px, 5vw, 60px);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(149, 154, 115, 0.24), transparent 60%),
    linear-gradient(180deg, var(--olive-deep), var(--olive-night));
  text-align: center;
  color: var(--ivory);
}

.services-head {
  position: relative;
  margin-bottom: clamp(36px, 6vh, 56px);
}

.services-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--ivory);
}

.services-grid {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 28px);
  max-width: 1160px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.services-grid > li {
  display: flex;
  flex: 0 1 200px;
  min-width: 0;
}

.service-arch {
  position: relative;
  isolation: isolate;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  min-height: 330px;
  padding: 64px 20px 26px;
  border: 1px solid rgba(244, 236, 224, 0.28);
  border-radius: 999px 999px 4px 4px;
  color: inherit;
  text-decoration: none;
  transition: transform 0.5s var(--ease-soft), border-color 0.5s;
}

/* Inner thin frame, like a window inside the arch */
.service-arch::before {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: -1;
  border: 1px solid rgba(244, 236, 224, 0.14);
  border-radius: 999px 999px 2px 2px;
  background: linear-gradient(180deg, rgba(244, 236, 224, 0.07), rgba(244, 236, 224, 0.01) 70%);
  transition: background 0.5s, border-color 0.5s;
}

.service-arch:hover,
.service-arch:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(244, 236, 224, 0.55);
  outline: none;
}

.service-arch:hover::before,
.service-arch:focus-visible::before {
  border-color: rgba(244, 236, 224, 0.3);
  background: linear-gradient(180deg, rgba(226, 212, 193, 0.18), rgba(226, 212, 193, 0.03) 75%);
}

.arch-no {
  font-family: var(--serif);
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  color: var(--sage);
}

.service-arch h3 {
  margin: 14px 0 0;
  font-family: var(--script);
  font-size: clamp(2rem, 2.6vw, 2.4rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ivory);
}

.arch-sprig {
  width: 92px;
  height: 12px;
  margin: 12px 0 14px;
  fill: var(--cream);
  stroke: var(--cream);
  stroke-width: 1.2;
  opacity: 0.7;
}

.service-arch p {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(244, 236, 224, 0.82);
}

.arch-more {
  margin-top: auto;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.75;
  transition: opacity 0.4s, letter-spacing 0.4s var(--ease-soft);
}

.service-arch:hover .arch-more,
.service-arch:focus-visible .arch-more {
  opacity: 1;
  letter-spacing: 0.34em;
}

/* Phones: two narrow arches per row would be cramped, so one wider arch */
@media (max-width: 560px) {
  .services-grid > li { flex-basis: min(100%, 290px); }
  .service-arch { min-height: 0; padding-top: 72px; }
}

.services-more {
  position: relative;
  margin-top: clamp(36px, 6vh, 52px);
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery {
  position: relative;
  padding: clamp(90px, 13vh, 140px) clamp(16px, 4vw, 40px);
  background: var(--ivory);
  text-align: center;
}

.gallery h2,
.faq h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--brown);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(170px, 20vw, 250px);
  grid-auto-flow: dense;
  gap: clamp(10px, 1.6vw, 18px);
  max-width: 1120px;
  margin: 0 auto;
}

.shot {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--olive);
  cursor: zoom-in;
}

/* Desktop: a tall photo at each end and four in the middle (4 × 2 grid) */
.shot:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.shot:nth-child(2) { grid-column: 2; grid-row: 1; }
.shot:nth-child(3) { grid-column: 3; grid-row: 1; }
.shot:nth-child(4) { grid-column: 2; grid-row: 2; }
.shot:nth-child(5) { grid-column: 3; grid-row: 2; }
.shot:nth-child(6) { grid-column: 4; grid-row: 1 / 3; }

.shot-frame {
  position: absolute;
  inset: 0;
  transition: transform 0.9s var(--ease-soft);
}

.shot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder until a real photo is added: olive with line-art leaves */
.shot-frame.is-placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(244, 236, 224, 0.18), transparent 55%),
    linear-gradient(160deg, var(--sage-mid), var(--olive-deep));
}

.shot:nth-child(even) .shot-frame.is-placeholder {
  background:
    radial-gradient(ellipse at 70% 20%, rgba(244, 236, 224, 0.2), transparent 55%),
    linear-gradient(200deg, var(--sage), var(--olive));
}

.shot-frame.is-placeholder svg {
  width: 46%;
  max-width: 150px;
  height: auto;
  aspect-ratio: 1;
  overflow: visible;
  fill: rgba(244, 236, 224, 0.06);
  stroke: rgba(244, 236, 224, 0.6);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shot-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 8px 12px;
  border-radius: 2px;
  background: rgba(47, 48, 34, 0.72);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  text-align: left;
  color: var(--ivory);
  transform: translateY(6px);
  opacity: 0.92;
  transition: transform 0.5s var(--ease-soft), opacity 0.5s;
}

.shot:hover .shot-frame,
.shot:focus-visible .shot-frame { transform: scale(1.06); }

.shot:hover .shot-caption,
.shot:focus-visible .shot-caption { transform: none; opacity: 1; }

.shot:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
}

/* Phones: three even rows of two */
@media (max-width: 760px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 46vw;
  }
  .gallery-grid .shot { grid-column: auto; grid-row: auto; }
  .shot-caption { left: 8px; right: 8px; bottom: 8px; padding: 6px 9px; font-size: 0.95rem; }
}

/* ---------- Photo viewer ---------- */
.lightbox {
  width: min(1000px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(20, 20, 12, 0.88);
}

.lightbox[open] { animation: fadeUp 0.4s var(--ease-soft); }

.lightbox figure {
  margin: 0;
  text-align: center;
}

.lightbox-media {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 3 / 2;
  max-height: calc(100dvh - 120px);
  border-radius: 4px;
  overflow: hidden;
  background: var(--olive-deep);
}

.lightbox-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-media .shot-frame {
  position: static;
  width: 100%;
  height: 100%;
}

.lightbox figcaption {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--ivory);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(244, 236, 224, 0.4);
  border-radius: 50%;
  background: rgba(47, 48, 34, 0.7);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ivory);
  cursor: pointer;
}

.lightbox-close { top: 10px; right: 10px; }
.lightbox-nav { top: calc(50% - 40px); }
.lightbox-nav.prev { left: 10px; }
.lightbox-nav.next { right: 10px; }

.lightbox-close:hover,
.lightbox-nav:hover { background: var(--olive); }

/* ==========================================================================
   How it works (timeline)
   ========================================================================== */
.steps {
  position: relative;
  padding: clamp(90px, 13vh, 140px) 20px;
  background: linear-gradient(180deg, var(--sage-mid), var(--olive));
  text-align: center;
  color: var(--ivory);
}

.steps h2 {
  position: relative;
  margin: 0 0 clamp(36px, 6vh, 60px);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--ivory);
}

.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(244, 236, 224, 0.25);
  transform: translateX(-50%);
}

.timeline-line span {
  position: absolute;
  inset: 0;
  background: var(--ivory);
  transform-origin: top center;
  transform: scaleY(0);
  transition: transform 1.8s var(--ease-soft) 0.2s;
}

.timeline.is-in .timeline-line span,
html:not(.js-motion) .timeline-line span {
  transform: none;
}

.timeline ol {
  display: grid;
  gap: clamp(26px, 5vh, 46px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  width: 50%;
  padding: 0 44px;
  text-align: right;
}

.timeline li:nth-child(even) {
  margin-left: 50%;
  text-align: left;
}

.timeline b {
  display: block;
  font-family: var(--script);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--cream);
}

.timeline p {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(244, 236, 224, 0.88);
}

.tl-dot {
  position: absolute;
  top: 18px;
  right: -7px;
  width: 14px;
  height: 14px;
  border: 1px solid var(--ivory);
  border-radius: 50%;
  background: var(--sage-mid);
  transition: background 0.5s, box-shadow 0.5s;
}

.timeline li:nth-child(even) .tl-dot {
  right: auto;
  left: -7px;
}

.timeline li.is-in .tl-dot {
  background: var(--ivory);
  box-shadow: 0 0 0 5px rgba(244, 236, 224, 0.18);
}

.steps-cta {
  margin-top: clamp(40px, 6vh, 60px);
}

@media (max-width: 700px) {
  .timeline-line { left: 16px; transform: none; }
  .timeline li,
  .timeline li:nth-child(even) {
    width: auto;
    margin-left: 0;
    padding: 0 0 0 46px;
    text-align: left;
  }
  .tl-dot,
  .timeline li:nth-child(even) .tl-dot { left: 9px; right: auto; }
}

/* ==========================================================================
   FAQs
   ========================================================================== */
.faq {
  position: relative;
  padding: clamp(90px, 13vh, 140px) 20px;
  background: var(--ivory);
  text-align: center;
}

.faq h2 { margin-bottom: clamp(30px, 5vh, 48px); }

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.faq details {
  border-bottom: 1px solid rgba(100, 99, 72, 0.25);
}

.faq details:first-child {
  border-top: 1px solid rgba(100, 99, 72, 0.25);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 600;
  color: var(--brown);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  background:
    linear-gradient(var(--olive) 0 0) center / 12px 1.5px no-repeat,
    linear-gradient(var(--olive) 0 0) center / 1.5px 12px no-repeat;
  border: 1px solid rgba(100, 99, 72, 0.4);
  border-radius: 50%;
  transition: transform 0.4s var(--ease-soft);
}

.faq details[open] summary::after { transform: rotate(135deg); }

.faq details p {
  margin: 0;
  padding: 0 4px 22px;
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--body-ink);
  animation: fadeUp 0.5s var(--ease-soft);
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  position: relative;
  padding: clamp(90px, 13vh, 140px) 20px;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(149, 154, 115, 0.3), transparent 60%),
    linear-gradient(180deg, var(--olive) 0%, var(--olive-deep) 100%);
  color: var(--ivory);
}

.contact-wrap {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.contact-wrap .flourish-left { margin-left: auto; }

.contact h2 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--ivory);
}

.contact-intro {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: rgba(244, 236, 224, 0.85);
}

.contact-list {
  display: grid;
  justify-content: center;
  grid-template-columns: auto auto;
  gap: 12px 20px;
  margin: 22px 0 28px;
  font-family: var(--serif);
  font-size: 1.15rem;
  text-align: left;
}

.contact-list dt {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 2.3;
  color: var(--cream);
}

.contact-list dd {
  margin: 0;
  color: var(--ivory);
}

.contact-list a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: clamp(50px, 8vh, 80px) 20px 26px;
  background: var(--olive-night);
  text-align: center;
  color: rgba(244, 236, 224, 0.75);
}

.footer-logo {
  width: 120px;
  height: auto;
  margin: 0 auto 8px;
}

.footer-tagline {
  margin: 0 0 22px;
  font-family: var(--script);
  font-size: 1.6rem;
  color: var(--cream);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-bottom: 30px;
}

.footer-nav a {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(244, 236, 224, 0.78);
}

.footer-nav a:hover { color: var(--ivory); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  max-width: 1080px;
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid rgba(244, 236, 224, 0.14);
  font-size: 0.78rem;
}

.footer-bottom p { margin: 0; }

.dev-link {
  color: rgba(244, 236, 224, 0.5);
  text-decoration: none;
}

.dev-link:hover { color: var(--ivory); }

@media (max-width: 560px) {
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ==========================================================================
   Scroll reveals (main.js adds .is-in as things come into view)
   ========================================================================== */
.js-motion [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-soft), transform 0.8s var(--ease-soft);
  transition-delay: var(--d, 0ms);
}

.js-motion [data-reveal="zoom"] { transform: scale(0.96); }
.js-motion [data-reveal="side"] { transform: translateX(-30px); }
.js-motion .timeline li:nth-child(even)[data-reveal="side"]:not(.is-in) { transform: translateX(30px); }

.js-motion [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Keyframes
   ========================================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes charIn {
  from { opacity: 0; filter: blur(8px); transform: translateY(0.35em) rotate(4deg); }
  to   { opacity: 1; filter: none; transform: none; }
}

@keyframes branchSway {
  from { transform: rotate(-3.5deg); }
  to   { transform: rotate(3deg); }
}

@keyframes driftFall {
  0%   { opacity: 0;   transform: translate3d(0, -12vh, 0); }
  8%   { opacity: 0.8; }
  88%  { opacity: 0.8; }
  100% { opacity: 0;   transform: translate3d(var(--drift), 112vh, 0); }
}

@keyframes driftRock {
  from { transform: translateX(-12px) rotate(-28deg); }
  to   { transform: translateX(12px) rotate(32deg); }
}

@keyframes cueDrop {
  0%   { top: -40%; }
  100% { top: 100%; }
}

/* ==========================================================================
   Reduced motion: no animation, everything visible
   ========================================================================== */
@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;
  }
  .drift { display: none; }
}
