/* ==========================================================================
   GoodBunnyKe — "Champagne & Espresso" design system
   Cormorant Garamond (display) + Jost (body) · ivory / espresso / antique gold
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Canvas */
  --ivory: #FAF7F1;
  --cream: #F3EDE2;
  --white: #FFFFFF;

  /* Ink */
  --espresso: #2B241D;
  --ink-body: #4A4238;
  --ink-muted: #7A6F60;

  /* Gold system (matched to the rabbit) */
  --gold: #B8945A;
  --gold-deep: #9A7844;
  --gold-ink: #8A6B39;
  --gold-light: #D2B573;
  --gold-hairline: #DCCBA4;
  --gold-wash: #F1E8D5;

  /* Dark surface */
  --espresso-deep: #231D17;
  --on-dark: #F5EFE3;
  --on-dark-muted: #B3A794;
  --line: #E8E0D2;

  /* Type */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --container: 1140px;
  --container-narrow: 720px;
  --section-pad: clamp(64px, 9vw, 96px);
  --header-h: 92px;
  --header-h-small: 68px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 1px 2px rgba(43, 36, 29, 0.04), 0 12px 32px rgba(43, 36, 29, 0.06);
  --shadow-card-hover: 0 2px 4px rgba(43, 36, 29, 0.05), 0 18px 44px rgba(43, 36, 29, 0.09);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h-small) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--ink-body);
  background: var(--ivory);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--gold-ink);
  text-decoration: none;
  transition: color 250ms ease;
}

a:hover {
  color: var(--gold-deep);
}

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 1px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--espresso);
}

h1 {
  font-size: clamp(2.75rem, 5.5vw, 4.25rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.625rem);
  line-height: 1.15;
}

h3 {
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

p {
  max-width: 42.5rem;
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(24px, 4vw, 40px);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translate(-50%, -240%);
  z-index: 200;
  background: var(--espresso);
  color: var(--on-dark);
  padding: 12px 24px;
  border-radius: 2px;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 250ms ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
  color: var(--on-dark);
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--gold-ink);
  max-width: none;
}

.eyebrow--ondark {
  color: var(--gold-light);
}

.lede {
  font-size: 1.1875rem;
  line-height: 1.65;
}

/* ---------- Section rhythm & header ritual ---------- */
.section {
  padding-block: var(--section-pad);
}

.section--cream {
  background: var(--cream);
}

.section-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 48px;
}

.section-head .eyebrow {
  margin-bottom: 12px;
}

.section-head h2 {
  margin-bottom: 20px;
}

.section-head .section-lede {
  max-width: var(--container-narrow);
  margin-top: 20px;
  color: var(--ink-body);
}

/* Gold ornament: line · diamond · line */
.ornament {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ornament-line {
  display: block;
  width: 44px;
  height: 1px;
  background: var(--gold-hairline);
  transform-origin: center;
}

.ornament-diamond {
  display: block;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.ornament--ondark .ornament-line {
  background: rgba(210, 181, 115, 0.45);
}

.ornament--ondark .ornament-diamond {
  border-color: var(--gold-light);
}

html.js .reveal:not(.is-visible) .ornament-diamond {
  opacity: 0;
}

html.js .reveal.is-visible .ornament-line {
  animation: ornament-draw 900ms var(--ease-out) both;
}

html.js .reveal.is-visible .ornament-diamond {
  animation: diamond-pop 600ms var(--ease-out) 350ms backwards;
}

@keyframes ornament-draw {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes diamond-pop {
  from {
    opacity: 0;
    transform: rotate(225deg) scale(0);
  }
  to {
    opacity: 1;
    transform: rotate(45deg) scale(1);
  }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 15px 36px;
  border-radius: 2px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease;
}

.btn--primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--espresso);
}

.btn--primary:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--ivory);
}

/* gold shine sweep on the primary button */
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -55%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}

.btn--primary:hover::after,
.btn--primary:focus-visible::after {
  animation: btn-shine 700ms ease;
}

@keyframes btn-shine {
  0% {
    transform: translateX(0) skewX(-18deg);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    transform: translateX(480%) skewX(-18deg);
    opacity: 0;
  }
}

.btn--ghost {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold-ink);
}

.btn--ghost:hover {
  background: var(--gold-wash);
  color: var(--gold-ink);
}

.btn--ghost-dark {
  background: transparent;
  border-color: var(--gold-light);
  color: var(--on-dark);
}

.btn--ghost-dark:hover {
  background: rgba(210, 181, 115, 0.12);
  color: var(--on-dark);
}

.btn .btn-arrow {
  font-size: 0.75em;
  transform: translateY(-1px);
}

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ivory);
  border-bottom: 1px solid transparent;
  transition: background-color 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.site-header.is-scrolled {
  background: rgba(250, 247, 241, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

.site-nav {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  column-gap: clamp(24px, 3.5vw, 56px);
  align-items: center;
  height: var(--header-h);
  transition: height 300ms ease;
}

.site-header.is-scrolled .site-nav {
  height: var(--header-h-small);
}

.brand {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  transition: width 300ms ease, height 300ms ease;
}

.site-header.is-scrolled .brand-mark {
  width: 34px;
  height: 34px;
}

.brand-word {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--espresso);
  transform: translateX(0.11em); /* optically recentres the tracked text */
}

.nav-links {
  display: none;
  align-items: center;
  gap: clamp(20px, 2.5vw, 36px);
}

.nav-links--left {
  grid-column: 1;
  justify-content: flex-end;
}

.nav-links--right {
  grid-column: 3;
  justify-content: flex-start;
}

.nav-link {
  position: relative;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-body);
  padding-block: 6px;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 250ms var(--ease-out);
}

.nav-link:hover {
  color: var(--gold-ink);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-link[aria-current="page"] {
  color: var(--gold-ink);
}

.btn--nav {
  padding: 11px 24px;
  font-size: 0.8125rem;
}

/* Hamburger */
.nav-toggle {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--gold-deep);
  transition: transform 300ms var(--ease-out), opacity 200ms ease;
}

.nav-open .nav-toggle-bar:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-open .nav-toggle-bar:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Mobile menu (ivory overlay) */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 24px 40px;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}

html.js .mobile-menu {
  display: none;
}

html.js .nav-open .mobile-menu {
  display: flex;
  animation: menu-in 350ms var(--ease-out) both;
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu-link {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--espresso);
  padding: 8px 24px;
}

.mobile-menu-link[aria-current="page"] {
  color: var(--gold-ink);
}

.mobile-menu .btn {
  margin-top: 16px;
}

@media (min-width: 1024px) {
  .site-nav {
    grid-template-columns: 1fr auto 1fr;
  }

  .nav-links {
    display: flex;
  }

  .nav-toggle,
  .mobile-menu {
    display: none;
  }

  html.js .nav-open .mobile-menu {
    display: none;
  }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: calc(88svh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-block: clamp(96px, 14vh, 160px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(35, 29, 23, 0.62) 0%,
    rgba(35, 29, 23, 0.38) 45%,
    rgba(35, 29, 23, 0.66) 100%
  );
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content .eyebrow {
  margin-bottom: 20px;
}

.hero-content h1 {
  color: #ffffff;
  margin-bottom: 16px;
}

.hero-content .ornament {
  margin-bottom: 28px;
}

.hero-content .lede {
  color: rgba(245, 239, 227, 0.92);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.scroll-cue {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, rgba(210, 181, 115, 0) 0%, var(--gold-light) 100%);
  animation: cue-breathe 2.8s ease-in-out infinite;
}

@keyframes cue-breathe {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

/* slow cinematic settle of the hero photo */
html.js .hero-bg {
  animation: hero-zoom 6.5s var(--ease-out) both;
}

@keyframes hero-zoom {
  from {
    transform: scale(1.07);
  }
  to {
    transform: scale(1);
  }
}

/* choreographed hero entrance: each element arrives in sequence */
html.js .hero-content > * {
  animation: hero-in 900ms var(--ease-out) both;
}

html.js .hero-content > *:nth-child(1) {
  animation-delay: 150ms;
}

html.js .hero-content > *:nth-child(2) {
  animation-delay: 290ms;
}

html.js .hero-content > *:nth-child(3) {
  animation-delay: 430ms;
}

html.js .hero-content > *:nth-child(4) {
  animation-delay: 570ms;
}

html.js .hero-content > *:nth-child(5) {
  animation-delay: 720ms;
}

html.js .hero-content .ornament-line {
  animation: ornament-draw 900ms var(--ease-out) 650ms both;
}

html.js .hero-content .ornament-diamond {
  animation: diamond-pop 600ms var(--ease-out) 950ms both;
}

/* let the headline wrap naturally on small screens */
@media (max-width: 699px) {
  .hero-content h1 br {
    display: none;
  }
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* ---------- Page header (about / contact) ---------- */
.page-header {
  position: relative;
  text-align: center;
  padding-block: clamp(72px, 10vw, 112px) clamp(48px, 7vw, 72px);
  overflow: hidden;
}

.page-header .container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-header .eyebrow {
  margin-bottom: 12px;
}

.page-header h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  margin-bottom: 20px;
}

.page-header .lede {
  margin-top: 20px;
  max-width: var(--container-narrow);
}

.page-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(680px, 90vw);
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
}

/* page header arrives in sequence, watermark blooms behind it */
html.js .page-header .container > * {
  animation: hero-in 800ms var(--ease-out) both;
}

html.js .page-header .container > *:nth-child(1) {
  animation-delay: 100ms;
}

html.js .page-header .container > *:nth-child(2) {
  animation-delay: 220ms;
}

html.js .page-header .container > *:nth-child(3) {
  animation-delay: 340ms;
}

html.js .page-header .container > *:nth-child(4) {
  animation-delay: 460ms;
}

html.js .page-header .ornament-line {
  animation: ornament-draw 900ms var(--ease-out) 500ms both;
}

html.js .page-header .ornament-diamond {
  animation: diamond-pop 600ms var(--ease-out) 800ms both;
}

html.js .page-watermark {
  animation: watermark-in 1600ms ease 300ms both;
}

@keyframes watermark-in {
  from {
    opacity: 0;
    transform: translate(-50%, -48%) scale(0.94);
  }
  to {
    opacity: 0.05;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 40px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-card);
  transition: border-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out),
    transform 300ms var(--ease-out);
}

.card:hover {
  border-color: var(--gold-hairline);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold-wash);
  color: var(--gold-ink);
  margin-bottom: 24px;
  transition: transform 300ms var(--ease-out), background-color 300ms ease;
}

.card:hover .card-icon {
  transform: translateY(-3px);
  background: var(--gold-hairline);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

@media (min-width: 700px) {
  .card-grid--2,
  .card-grid--3,
  .card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Steps (how it works) ---------- */
.steps {
  list-style: none;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  counter-reset: step;
}

.step {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: 12px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 16px;
}

.step h3 {
  margin-bottom: 10px;
}

.step p {
  font-size: 0.9375rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

@media (min-width: 700px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  /* hairline connecting the steps */
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1.25rem;
    left: calc(50% + 44px);
    width: calc(100% - 88px);
    height: 1px;
    background: var(--gold-hairline);
  }
}

/* ---------- Values ---------- */
.values-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 20px;
  row-gap: 12px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--espresso);
  list-style: none;
}

.values-line .ornament-diamond {
  width: 6px;
  height: 6px;
}

/* flex-wrap keeps a 5-item set symmetric (3 + 2, both rows centered) */
.values-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 48px;
  text-align: center;
  list-style: none;
}

.value {
  flex: 0 1 300px;
}

.value h3 {
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.value p {
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  margin-inline: auto;
  max-width: 30rem;
}

/* ---------- Arch-framed photos ---------- */
.arch-figure {
  border: 1px solid var(--gold-hairline);
  border-radius: 999px 999px 4px 4px;
  padding: 12px;
  background: transparent;
}

.arch-figure-inner {
  border-radius: 988px 988px 2px 2px;
  overflow: hidden;
}

.arch-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  transition: transform 700ms ease;
}

.arch-figure:hover img {
  transform: scale(1.04);
}

.arch-figure figcaption {
  text-align: center;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  padding-top: 14px;
}

/* ---------- About: mirrored pair ---------- */
.mirror-band {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  align-items: center;
}

.mirror-band .mirror-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mirror-text h2 {
  margin-bottom: 20px;
}

.mirror-text .ornament {
  margin-bottom: 24px;
}

.mirror-text p {
  margin-bottom: 18px;
}

.mirror-text p:last-child {
  margin-bottom: 0;
}

.mirror-figure {
  max-width: 340px;
  margin-inline: auto;
  width: 100%;
}

@media (min-width: 1024px) {
  .mirror-band {
    grid-template-columns: 1fr 1.35fr 1fr;
    gap: clamp(40px, 5vw, 72px);
  }
}

/* ---------- CTA band (dark) ---------- */
.cta-band {
  position: relative;
  background: var(--espresso-deep);
  text-align: center;
  overflow: hidden;
  padding-block: var(--section-pad);
}

.cta-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, 80vw);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}

.cta-band .container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-band .eyebrow {
  color: var(--gold-light);
  margin-bottom: 12px;
}

.cta-band h2 {
  color: var(--on-dark);
  margin-bottom: 20px;
}

.cta-band .ornament {
  margin-bottom: 24px;
}

.cta-band .lede {
  color: var(--on-dark-muted);
  margin-bottom: 40px;
}

.cta-band .cta-note {
  margin-top: 24px;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  color: var(--on-dark-muted);
}

.cta-band .cta-note a {
  color: var(--gold-light);
}

.cta-band .cta-note a:hover {
  color: var(--on-dark);
}

/* ---------- Contact cards ---------- */
.contact-cards address {
  font-style: normal;
  display: contents;
}

.contact-card-link {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--espresso);
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

.contact-card-link:hover {
  color: var(--gold-ink);
}

.contact-card-note {
  margin-top: 8px;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--espresso-deep);
  border-top: 1px solid rgba(184, 148, 90, 0.35);
  padding: 72px 0 32px;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.footer-brand img {
  width: 64px;
  height: 64px;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-dark);
  transform: translateX(0.11em);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
  margin-bottom: 24px;
}

.footer-nav a {
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

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

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  font-style: normal;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  color: var(--on-dark-muted);
  margin-bottom: 48px;
}

.footer-contact a {
  color: var(--gold-light);
}

.footer-contact a:hover {
  color: var(--on-dark);
}

.footer-contact .ornament-diamond {
  width: 5px;
  height: 5px;
  border-color: var(--gold);
}

.footer-legal {
  border-top: 1px solid rgba(245, 239, 227, 0.08);
  padding-top: 24px;
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  line-height: 1.6;
  color: var(--on-dark-muted);
}

/* ---------- FAQ accordion ---------- */
.faq {
  max-width: var(--container-narrow);
  margin-inline: auto;
  border-top: 1px solid var(--gold-hairline);
}

.faq-item {
  border-bottom: 1px solid var(--gold-hairline);
}

.faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 52px 22px 4px;
  color: var(--espresso);
  transition: color 250ms ease;
}

.faq-item summary::marker,
.faq-item summary::-webkit-details-marker {
  display: none;
  content: "";
}

.faq-item summary h3 {
  display: inline;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.35;
  color: inherit;
}

.faq-item summary:hover,
.faq-item[open] summary {
  color: var(--gold-ink);
}

/* gold plus that folds into a minus */
.faq-item summary::before,
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--gold);
  transition: transform 300ms var(--ease-out);
}

.faq-item summary::after {
  transform: rotate(90deg);
}

.faq-item[open] summary::after {
  transform: rotate(0deg);
}

.faq-answer {
  padding: 0 4px 26px;
}

.faq-answer p {
  font-size: 1rem;
  line-height: 1.7;
  max-width: none;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 90;
}

.wa-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: #25d366;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(43, 36, 29, 0.18), 0 12px 28px rgba(43, 36, 29, 0.22);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}

.wa-toggle:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 4px 10px rgba(43, 36, 29, 0.2), 0 18px 38px rgba(43, 36, 29, 0.26);
}

.wa-toggle svg {
  width: 28px;
  height: 28px;
}

html.js .wa-float {
  animation: wa-pop 500ms var(--ease-out) 1400ms backwards;
}

@keyframes wa-pop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.wa-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  width: min(300px, calc(100vw - 40px));
  background: var(--white);
  border: 1px solid var(--gold-hairline);
  border-radius: 4px;
  box-shadow: var(--shadow-card-hover);
  padding: 22px 22px 14px;
  animation: wa-menu-in 300ms var(--ease-out);
}

@keyframes wa-menu-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wa-menu-title {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
  text-align: center;
  margin-bottom: 14px;
  max-width: none;
}

.wa-menu a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 8px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--espresso);
  transition: color 250ms ease, background-color 250ms ease;
}

.wa-menu a:hover {
  color: var(--gold-ink);
  background: var(--gold-wash);
}

.wa-menu a span {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  text-transform: uppercase;
}

/* ---------- Scroll reveal ----------
   Animation-based (not transitions) so entrance choreography never
   interferes with hover transitions afterwards. `backwards` fill holds
   the hidden "from" state through the stagger delay, then releases the
   element back to its normal styles once the entrance completes. */
html.js .reveal {
  opacity: 0;
}

html.js .reveal.is-visible {
  opacity: 1;
  animation: reveal-in 800ms var(--ease-out) backwards;
  animation-delay: calc(min(var(--i, 0), 5) * 110ms);
}

@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* cards settle with a whisper of scale */
html.js .card.reveal.is-visible {
  animation-name: reveal-in-card;
}

@keyframes reveal-in-card {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.965);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* arch figures: the photo unveils downward inside its gold frame */
html.js .arch-figure.reveal:not(.is-visible) .arch-figure-inner {
  clip-path: inset(0 0 100% 0);
}

html.js .arch-figure.reveal.is-visible .arch-figure-inner {
  animation: arch-unveil 1000ms var(--ease-out) 150ms backwards;
}

html.js .arch-figure.reveal.is-visible img {
  animation: img-settle 1300ms var(--ease-out) 150ms backwards;
}

@keyframes arch-unveil {
  from {
    clip-path: inset(0 0 100% 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes img-settle {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

/* values line: each word arrives in turn */
html.js .values-line:not(.is-visible) li {
  opacity: 0;
}

html.js .values-line.is-visible li {
  animation: reveal-in 700ms var(--ease-out) backwards;
}

html.js .values-line.is-visible li:nth-child(1) { animation-delay: 0ms; }
html.js .values-line.is-visible li:nth-child(2) { animation-delay: 90ms; }
html.js .values-line.is-visible li:nth-child(3) { animation-delay: 180ms; }
html.js .values-line.is-visible li:nth-child(4) { animation-delay: 270ms; }
html.js .values-line.is-visible li:nth-child(5) { animation-delay: 360ms; }
html.js .values-line.is-visible li:nth-child(6) { animation-delay: 450ms; }
html.js .values-line.is-visible li:nth-child(7) { animation-delay: 540ms; }
html.js .values-line.is-visible li:nth-child(8) { animation-delay: 630ms; }
html.js .values-line.is-visible li:nth-child(9) { animation-delay: 720ms; }

/* dark-band watermark blooms once its content reveals */
@supports selector(:has(*)) {
  html.js .cta-band .cta-watermark {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.94);
    transition: opacity 1400ms ease, transform 1400ms var(--ease-out);
  }

  html.js .cta-band:has(.reveal.is-visible) .cta-watermark {
    opacity: 0.07;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* mobile menu links cascade in */
html.js .nav-open .mobile-menu-link,
html.js .nav-open .mobile-menu .btn {
  animation: hero-in 450ms var(--ease-out) backwards;
}

html.js .nav-open .mobile-menu > :nth-child(1) { animation-delay: 60ms; }
html.js .nav-open .mobile-menu > :nth-child(2) { animation-delay: 130ms; }
html.js .nav-open .mobile-menu > :nth-child(3) { animation-delay: 200ms; }
html.js .nav-open .mobile-menu > :nth-child(4) { animation-delay: 270ms; }

/* ---------- Cross-page fade (JS-driven, see main.js) ---------- */
html.js body {
  animation: page-in 450ms ease both;
}

html.js.page-leave body {
  opacity: 0;
  transition: opacity 200ms ease;
}

@keyframes page-in {
  from {
    opacity: 0;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-delay: 0ms !important;
  }

  .scroll-cue,
  html.js .hero-bg {
    animation: none !important;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
  }

  .arch-figure:hover img {
    transform: none;
  }

  html.js body {
    animation: none !important;
  }
}
