/* ==========================================================================
   Betancourt's Ranch Venue — Hacienda heritage
   ========================================================================== */

:root {
  /* Palette */
  --adobe: #F2E6D6;
  --adobe-2: #EADBC5;
  --paper: #FBF6EE;
  --ink: #2A1D15;
  --ink-soft: #5E4A3B;
  --line: #D9C6AD;
  --terracotta: #B4532A;
  --terracotta-deep: #8E3F1E;
  --talavera: #1F4E79;
  --talavera-deep: #163A5C;
  --gold: #C9973F;
  --gold-light: #E9C27A;
  --night: #1B1410;
  --night-2: #140F0C;
  --on-dark: #F2E6D6;
  --on-dark-soft: #C9B9A4;

  /* Type */
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --edge: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  --header-h: 76px;
  --radius: 20px;
  --arch: 999px 999px 18px 18px;

  /* Motion */
  --ease: cubic-bezier(.2, .75, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 2px rgba(42, 29, 21, .06), 0 12px 32px -12px rgba(42, 29, 21, .22);
  --shadow-lg: 0 2px 4px rgba(42, 29, 21, .06), 0 28px 60px -20px rgba(42, 29, 21, .35);

  --tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='none' stroke='%231F4E79' stroke-width='1.3'%3E%3Ccircle cx='44' cy='44' r='6'/%3E%3Cpath d='M44 24c7 7 7 13 0 20-7-7-7-13 0-20zM44 64c7-7 7-13 0-20-7 7-7 13 0 20zM24 44c7-7 13-7 20 0-7 7-13 7-20 0zM64 44c-7-7-13-7-20 0 7 7 13 7 20 0z'/%3E%3Cpath d='M0 12A12 12 0 0 0 12 0M76 0a12 12 0 0 0 12 12M88 76a12 12 0 0 0-12 12M12 88A12 12 0 0 0 0 76'/%3E%3Cpath d='M44 0v7M44 81v7M0 44h7M81 44h7' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  background: var(--adobe);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, .97rem + .15vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
/* The build wraps photos in <picture> for WebP/AVIF; keep the <img> laid out as before */
picture { display: contents; }
img[style*="--ph"] { background-color: var(--ph); }
a { color: inherit; }
button { font: inherit; color: inherit; }
figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { margin: 0; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--terracotta); color: #fff; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 300; padding: .7rem 1rem; background: var(--ink); color: var(--adobe); border-radius: 10px; transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon, .payplan-icon { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  margin-bottom: 1.1rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--terracotta);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; background: currentColor; transform: rotate(45deg); }
.eyebrow-light { color: var(--gold-light); text-shadow: 0 1px 12px rgba(20, 15, 12, .9), 0 0 2px rgba(20, 15, 12, .8); }
.eyebrow-gold { color: var(--gold); }

.h2 {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(2.15rem, 1.35rem + 3.2vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -.018em;
  font-variation-settings: "opsz" 144;
  margin-bottom: 1.4rem;
  text-wrap: balance;
}
.h2 em { font-style: italic; font-weight: 340; color: var(--terracotta); }
.lead { font-size: 1.18em; color: var(--ink); }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-sub { color: var(--ink-soft); max-width: 58ch; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 1.6rem;
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 650; font-size: .98rem; letter-spacing: .01em; text-decoration: none;
  cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn .icon { transition: transform .45s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn::after { /* soft sheen sweep */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn-sm { min-height: 44px; padding: 0 1.15rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--terracotta); color: #fff; box-shadow: 0 10px 24px -12px rgba(180, 83, 42, .8); }
.btn-primary:hover { background: var(--terracotta-deep); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.04); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--adobe); }
.btn-light { background: var(--adobe); color: var(--ink); }
.btn-light:hover { background: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: #fff;
  transition: background-color .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease), transform .5s var(--ease);
}
.site-header.is-solid {
  background: rgba(242, 230, 214, .9);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(42, 29, 21, .08), 0 8px 24px -16px rgba(42, 29, 21, .3);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }

.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; margin-right: auto; min-height: 44px; min-width: 0; }
.brand img { transition: transform .6s var(--ease), filter .45s var(--ease); }
.brand-mark { width: auto; height: 42px; }
.brand-word { width: auto; height: 38px; min-width: 0; object-fit: contain; object-position: left center; }
.brand:hover .brand-mark { transform: rotate(-8deg); }
/* Gold artwork reads on dark; deepen it to bronze on the light header */
.site-header.is-solid .brand img { filter: brightness(.58) saturate(1.35) contrast(1.15); }
.menu-open .site-header .brand img { filter: none; }

.nav { display: none; gap: 1.25rem; }
.nav a { position: relative; text-decoration: none; font-weight: 600; font-size: .93rem; padding: .6rem 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .3rem; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: .6rem; }
.lang { display: flex; padding: 3px; border-radius: 999px; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 35%, transparent); }
.lang-btn { min-width: 44px; min-height: 38px; padding: 0 .55rem; border: 0; border-radius: 999px; background: transparent; font-size: .78rem; font-weight: 700; letter-spacing: .08em; cursor: pointer; transition: background-color .3s, color .3s; }
a.lang-btn { display: inline-flex; align-items: center; justify-content: center; color: inherit; text-decoration: none; }
.lang-btn[aria-current="page"] { background: var(--terracotta); color: #fff; }
.header-cta { display: none; }

.menu-btn { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.menu-lines { display: grid; gap: 7px; width: 24px; }
.menu-lines span { display: block; height: 1.5px; background: currentColor; transition: transform .45s var(--ease); }
.menu-open .menu-lines span:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu-open .menu-lines span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
.menu-open .site-header { color: var(--on-dark); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: center; gap: 2.5rem;
  padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
  background: var(--night) var(--tile); background-size: 88px; background-blend-mode: soft-light;
  color: var(--on-dark);
  opacity: 0; transition: opacity .4s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu:not(.is-open) { pointer-events: none; }
.mobile-menu.is-open { opacity: 1; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--serif); font-size: clamp(2rem, 8vw, 2.8rem); font-weight: 350; line-height: 1.25; text-decoration: none;
  padding: .3rem 0;
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s;
  transition-delay: calc(var(--i) * 55ms + 80ms);
}
.mobile-menu nav a:hover { color: var(--gold-light); }
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu-phone { display: inline-flex; align-items: center; gap: .6rem; color: var(--gold-light); font-weight: 600; text-decoration: none; min-height: 44px; }

@media (max-width: 479px) {
  .header-inner { gap: .5rem; padding-inline: 16px; }
  .header-actions { gap: .25rem; }
  .brand { gap: .45rem; }
  .brand-mark { height: 36px; }
  .brand-word { height: 30px; }
  .lang-btn { min-width: 40px; }
  .menu-btn { width: 44px; height: 44px; }
}
@media (min-width: 640px) { .header-cta { display: inline-flex; } }
@media (min-width: 1100px) {
  .nav { display: flex; }
  .menu-btn, .mobile-menu { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  background: var(--night); color: #fff;
}
.hero-media { position: absolute; inset: 0; z-index: -2; will-change: transform; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; animation: heroZoom 2.8s var(--ease-out) both; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(130% 95% at 0% 100%, rgba(20, 15, 12, .9) 0%, rgba(20, 15, 12, .55) 45%, rgba(20, 15, 12, 0) 75%),
    linear-gradient(180deg, rgba(20, 15, 12, .6) 0%, rgba(20, 15, 12, .2) 28%, rgba(20, 15, 12, .35) 55%, rgba(20, 15, 12, .85) 100%);
}
.hero-content { position: relative; padding-top: 11rem; padding-bottom: clamp(5.5rem, 13vh, 8.5rem); }
.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.9rem, 1.4rem + 6.4vw, 6.6rem);
  text-shadow: 0 2px 30px rgba(20, 15, 12, .45);
  line-height: .98; letter-spacing: -.025em;
  font-variation-settings: "opsz" 144;
  margin: 0 0 1.6rem;
  max-width: 14ch;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-title .line > * { display: inline-block; animation: lineUp 1.2s var(--ease-out) var(--d) both; }
.hero-title em { font-style: italic; font-weight: 360; color: var(--gold-light); }
.hero-sub { max-width: 46ch; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: rgba(255, 255, 255, .88); margin-bottom: 2.2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-rise { animation: fadeUp 1s var(--ease-out) var(--d) both; }

/* Celebration pages: shorter hero, longer headline */
.hero-page { min-height: 86vh; min-height: 86svh; }
.hero-page .hero-title { font-size: clamp(2.5rem, 1.3rem + 4.8vw, 5.2rem); max-width: 18ch; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.4rem; padding: 0; list-style: none; font-size: .85rem; color: rgba(255, 255, 255, .8); text-shadow: 0 1px 12px rgba(20, 15, 12, .9); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { color: var(--gold-light); }
.pkg-more { margin: 2rem 0 0; text-align: center; }
.pkg-more a { color: var(--terracotta); font-weight: 700; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-bottom: 1.6rem; padding: .5rem 1rem .5rem .55rem;
  border-radius: 999px;
  background: rgba(20, 15, 12, .45); border: 1px solid rgba(233, 194, 122, .45);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: .9rem; color: #fff;
}
.hero-badge .icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--gold); color: var(--night); }
.hero-badge strong { color: var(--gold-light); font-weight: 700; }

.scroll-cue {
  position: absolute; right: var(--edge); bottom: 2.2rem;
  display: none; align-items: center; gap: .8rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  color: rgba(255, 255, 255, .75);
  writing-mode: vertical-rl;
}
.scroll-line { position: relative; width: 1px; height: 64px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--gold-light); animation: scrollLine 2.2s var(--ease) infinite; }
@media (min-width: 900px) { .scroll-cue { display: inline-flex; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--night); color: var(--on-dark); overflow: hidden; padding: 1.15rem 0; border-top: 1px solid rgba(233, 194, 122, .18); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; flex: none; }
.marquee-list li { display: flex; align-items: center; font-family: var(--serif); font-style: italic; font-weight: 320; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); white-space: nowrap; }
.marquee-list li::after { content: ""; width: 8px; height: 8px; margin: 0 2rem; background: var(--gold); transform: rotate(45deg); }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(5rem, 10vw, 9rem); }
.tile-bg { background: var(--adobe-2); isolation: isolate; }
.tile-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--tile); background-size: 88px; opacity: .085; }
.tile-bg::after { /* soft vignette so the tile fades toward edges */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(90% 70% at 50% 50%, transparent 40%, var(--adobe-2) 100%);
}

/* Story */
.story-grid { display: grid; gap: 4.5rem; align-items: center; }
.story-copy p:not(.eyebrow):not(.lead) { color: var(--ink-soft); max-width: 56ch; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem 1.5rem; margin: 2.6rem 0 0; padding-top: 2.2rem; border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column-reverse; gap: .25rem; }
.stat dd { margin: 0; font-family: var(--serif); font-weight: 340; font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem); line-height: 1; color: var(--terracotta); font-variant-numeric: tabular-nums; }
.stat dd small { font-size: .55em; }
.stat dt { font-size: .82rem; font-weight: 600; color: var(--ink-soft); }

.story-media { position: relative; padding: 0 0 18% 0; }
.story-img { overflow: hidden; box-shadow: var(--shadow-lg); }
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-img-a { width: 86%; aspect-ratio: 4 / 3; border-radius: var(--radius); }
.story-img-b { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 2 / 3; border-radius: var(--arch); border: 7px solid var(--adobe); }
.seal { position: absolute; left: -12px; bottom: 4%; width: clamp(96px, 14vw, 132px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--night); color: var(--gold); box-shadow: var(--shadow); }
.seal > * { grid-area: 1 / 1; }
.seal-ring { width: 100%; height: 100%; animation: spin 36s linear infinite; }
.seal-ring text { fill: var(--gold-light); font-family: var(--sans); font-size: 9.2px; font-weight: 700; letter-spacing: .16em; }
.seal-mark { width: 38%; height: auto; }

@media (min-width: 900px) {
  .story-grid { grid-template-columns: 1.05fr 1fr; gap: clamp(4rem, 7vw, 7rem); }
  .story-media { order: 2; }
}

/* Celebrations */
.cel-grid { display: grid; gap: 2.4rem 1.6rem; }
.cel-card { position: relative; }
.cel-img { overflow: hidden; border-radius: var(--arch); aspect-ratio: 3 / 4; box-shadow: var(--shadow); background: var(--line); }
.cel-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform 1.4s var(--ease-out); }
.cel-card:hover .cel-img img { transform: scale(1.06); }
.cel-body { padding: 1.3rem .2rem 0; }
.cel-body h3 { font-family: var(--serif); font-weight: 420; font-size: 1.65rem; line-height: 1.15; margin-bottom: .45rem; }
.cel-body p { color: var(--ink-soft); margin: 0; }
.cel-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: .8rem; font-weight: 700; font-size: .92rem; color: var(--terracotta); text-decoration: none; }
.cel-link .icon { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.cel-link::after { content: ""; position: absolute; inset: 0; } /* whole card is clickable */
.cel-card:hover .cel-link .icon { transform: translateX(4px); }
@media (min-width: 600px) { .cel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) {
  .cel-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cel-card:nth-child(even) { margin-top: 3.5rem; }
}

/* Venue */
.venue { position: relative; isolation: isolate; background: var(--night); }
.venue-media { position: relative; height: 62vw; max-height: 520px; overflow: hidden; }
.venue-media img { width: 100%; height: 124%; margin-top: -12%; object-fit: cover; will-change: transform; }
.venue-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 15, 12, .1), rgba(20, 15, 12, .55)); }
.venue-inner { position: relative; margin-top: -5rem; padding-bottom: clamp(4rem, 8vw, 7rem); }
.venue-card {
  max-width: 780px; padding: clamp(1.8rem, 4vw, 3.4rem);
  border-radius: 24px;
  background: rgba(251, 246, 238, .96);
  box-shadow: var(--shadow-lg);
}
.venue-sub { font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1.2rem; }
.amenities { display: grid; gap: .25rem 1.5rem; }
.amenities li { display: flex; align-items: center; gap: .9rem; padding: .65rem 0; border-bottom: 1px solid rgba(217, 198, 173, .6); font-weight: 550; }
.amenities .icon { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: rgba(180, 83, 42, .1); color: var(--terracotta); }
@media (min-width: 520px) { .amenities { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .venue { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-block: 8rem; }
  .venue-media { position: absolute; inset: 0; height: auto; max-height: none; }
  .venue-inner { margin-top: 0; padding-bottom: 0; }
  .venue-card { background: rgba(251, 246, 238, .9); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); }
}

/* Ceremony */
.ceremony-grid { display: grid; gap: 4rem; align-items: center; }
.ceremony-media { position: relative; padding-right: 18%; padding-bottom: 12%; }
.ceremony-img { border-radius: var(--arch); overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--shadow-lg); }
.ceremony-img img, .ceremony-inset img { width: 100%; height: 100%; object-fit: cover; }
.ceremony-inset { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; border: 7px solid var(--adobe); box-shadow: var(--shadow-lg); }
.ceremony-copy > p:not(.eyebrow):not(.price-line) { color: var(--ink-soft); }
.price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .8rem; margin-bottom: 1.2rem; color: var(--ink-soft); font-weight: 600; }
.price { font-family: var(--serif); font-size: 2.6rem; font-weight: 380; color: var(--terracotta); line-height: 1; }
.checklist { display: grid; gap: .9rem; margin-top: 1.8rem; }
.checklist li { display: flex; gap: .85rem; align-items: flex-start; }
.checklist .icon { width: 26px; height: 26px; padding: 5px; margin-top: 1px; border-radius: 50%; background: var(--talavera); color: #fff; }
@media (min-width: 900px) {
  .ceremony-grid { grid-template-columns: 1fr 1.05fr; gap: clamp(4rem, 8vw, 8rem); }
}

/* Packages */
.pkg-grid { display: grid; gap: 1.25rem; align-items: stretch; }
.pkg {
  position: relative; display: flex; flex-direction: column;
  padding: 2rem 1.6rem 1.6rem;
  border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s var(--ease);
}
.pkg:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(180, 83, 42, .4); }
.pkg-name { font-family: var(--serif); font-weight: 450; font-size: 1.65rem; line-height: 1.1; margin-bottom: .7rem; }
.pkg-guests { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 1.1rem; font-size: .9rem; font-weight: 700; color: var(--talavera); }
.pkg-price { font-family: var(--serif); font-weight: 340; font-size: 3.3rem; line-height: 1; letter-spacing: -.02em; margin-bottom: 1rem; font-variant-numeric: lining-nums; }
.pkg-price .cur { font-size: .5em; vertical-align: .75em; margin-right: .08em; }
.pkg-desc { color: var(--ink-soft); font-size: .95rem; }
.pkg-list { display: grid; gap: .55rem; margin: .4rem 0 1.8rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .93rem; font-weight: 600; }
.pkg-list li { display: flex; gap: .6rem; align-items: center; }
.pkg-list .icon { color: var(--terracotta); width: 1.15em; height: 1.15em; }
.pkg .btn { margin-top: auto; }
.pkg-feature { background: var(--night); color: var(--on-dark); border-color: rgba(201, 151, 63, .55); }
.pkg-feature .pkg-guests { color: var(--gold-light); }
.pkg-feature .pkg-desc { color: var(--on-dark-soft); }
.pkg-feature .pkg-list { border-color: rgba(242, 230, 214, .16); }
.pkg-feature .pkg-list .icon { color: var(--gold-light); }
.pkg-feature:hover { border-color: var(--gold); }
.pkg-flag { position: absolute; top: -13px; left: 1.6rem; margin: 0; padding: .3rem .8rem; border-radius: 999px; background: var(--gold); color: var(--night); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
@media (min-width: 640px) { .pkg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pkg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.payplan {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 1.2rem; align-items: center;
  margin-top: 2.5rem; padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: var(--radius);
  background: var(--talavera); color: #fff;
}
.payplan::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--tile); background-size: 88px; filter: invert(1) brightness(2); opacity: .07; }
.payplan p { margin: 0; color: rgba(255, 255, 255, .85); }
.payplan .payplan-title { font-family: var(--serif); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 400; color: #fff; margin-bottom: .2rem; }
.payplan-icon { width: 58px; height: 58px; padding: 14px; border-radius: 50%; background: var(--gold); color: var(--night); }
@media (min-width: 820px) { .payplan { grid-template-columns: auto 1fr auto; gap: 1.6rem; } }

.addons-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); margin: clamp(3.5rem, 6vw, 5rem) 0 1.6rem; }
.addons { display: grid; gap: 2rem 1.6rem; }
.addon { padding-top: 1.2rem; border-top: 2px solid var(--terracotta); }
.addon-price { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; color: var(--terracotta); margin-bottom: .3rem; }
.addon-price small { font-family: var(--sans); font-size: .55em; font-weight: 600; color: var(--ink-soft); }
.addon h4 { font-size: 1.05rem; font-weight: 750; margin-bottom: .4rem; }
.addon p:last-child { color: var(--ink-soft); font-size: .94rem; margin: 0; }
@media (min-width: 640px) { .addons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .addons { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Cost estimator ---------- */
.estimate { background: var(--paper); }
.est { display: grid; gap: 1.6rem; align-items: start; }
.est-options { display: grid; padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.est-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.2rem; padding: 1.1rem 0; border: 0; border-bottom: 1px solid var(--line); margin: 0; min-width: 0; }
.est-row:first-child { padding-top: 0; }
.est-row:last-child { border-bottom: 0; padding-bottom: 0; }
.est-row-head { display: grid; gap: .2rem; }
.est-label { font-weight: 750; font-size: 1.02rem; padding: 0; }
.est-note { margin: 0; font-size: .88rem; color: var(--ink-soft); }
.est-check, .est-radio { display: flex; align-items: center; gap: .75rem; min-height: 44px; cursor: pointer; }
.est-check input, .est-radio input { width: 22px; height: 22px; flex: none; margin: 0; accent-color: var(--terracotta); cursor: pointer; }
.est-check small, .est-radio small { display: block; color: var(--ink-soft); font-size: .86rem; font-weight: 600; }
.est-check strong { font-weight: 750; }
.est-decor { display: grid; justify-content: stretch; gap: .2rem; }
.est-decor legend { float: left; width: 100%; margin-bottom: .4rem; }
.est-decor .est-note { margin-top: .4rem; }
.est-hours { display: flex; align-items: center; gap: .7rem; }
.est-hours[hidden] { display: none; }
.est-row-note { flex-basis: 100%; }
.est-hours[hidden] + .est-row-note { display: none; }
.est-sub-label { font-size: .86rem; font-weight: 700; color: var(--ink-soft); }
.stepper { display: inline-flex; align-items: center; border: 1px solid #CDBBA3; border-radius: 12px; background: #fff; overflow: hidden; }
.stepper:focus-within { border-color: var(--terracotta); box-shadow: 0 0 0 4px rgba(180, 83, 42, .18); }
.stepper input { width: 4.2rem; min-height: 48px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 1.1rem; font-weight: 700; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; }
.stepper-btn { width: 48px; min-height: 48px; border: 0; background: var(--adobe); color: var(--ink); font-size: 1.3rem; font-weight: 600; cursor: pointer; transition: background-color .25s; }
.stepper-btn:hover { background: var(--adobe-2); }
.stepper-sm input { width: 3rem; }
.stepper-sm .stepper-btn { width: 44px; min-height: 44px; }
.est-summary { padding: clamp(1.5rem, 3vw, 2.2rem); border-radius: var(--radius); background: var(--night); color: var(--on-dark); box-shadow: var(--shadow-lg); }
.est-summary-label { margin: 0 0 .2rem; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); }
.est-total { margin: 0 0 1.2rem; font-family: var(--serif); font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); font-weight: 400; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.est-lines { display: grid; gap: .55rem; margin: 0 0 1.2rem; padding: 1.1rem 0 0; border-top: 1px solid rgba(242, 230, 214, .16); list-style: none; }
.est-lines li { display: flex; justify-content: space-between; gap: 1rem; font-size: .94rem; }
.est-lines li span:first-child { color: var(--on-dark-soft); }
.est-lines li span:last-child { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.est-fine { margin: 0 0 1.3rem; font-size: .84rem; color: var(--on-dark-soft); }
.est-summary .btn { width: 100%; justify-content: center; }
.est-form, .est-sent { padding-top: 1.3rem; border-top: 1px solid rgba(242, 230, 214, .16); }
.est-form[hidden], .est-sent[hidden], .est-form-error[hidden] { display: none; }
.est-form-title { margin: 0 0 .2rem; font-family: var(--serif); font-size: 1.4rem; font-weight: 400; color: #fff; }
.est-form-sub, .est-sent p:last-child { margin: 0 0 1rem; font-size: .9rem; color: var(--on-dark-soft); }
.est-form .field { margin-bottom: .8rem; }
.est-form .field label { color: var(--on-dark); }
.est-form .btn[disabled] { opacity: .6; cursor: wait; }
.est-form-error { margin: .8rem 0 0; font-size: .88rem; color: var(--gold-light); }
.est-form-error a { color: inherit; }
.est-sent:focus { outline: none; }
@media (min-width: 960px) {
  .est { grid-template-columns: 1.25fr 1fr; gap: 2.4rem; }
  .est-summary { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* Gallery */
.masonry { columns: 2; column-gap: 12px; }
.masonry li { break-inside: avoid; margin-bottom: 12px; }
.g-item { display: block; width: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--line); cursor: zoom-in; position: relative; }
.g-item img { width: 100%; transition: transform 1.2s var(--ease-out), filter .6s; }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20, 15, 12, .45)); opacity: 0; transition: opacity .5s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g-item:hover::after { opacity: 1; }
@media (min-width: 768px) { .masonry { columns: 3; column-gap: 16px; } .masonry li { margin-bottom: 16px; } }
@media (min-width: 1200px) { .masonry { columns: 4; } }

/* Reviews */
.reviews { background: var(--night); color: var(--on-dark); overflow: hidden; }
.reviews .h2 em { color: var(--gold-light); }
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; max-width: none; }
.rev-nav { display: none; gap: .6rem; }
.round-btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(242, 230, 214, .3); background: transparent; color: var(--on-dark); cursor: pointer; transition: background-color .3s, border-color .3s, color .3s; }
.round-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--night); }
@media (min-width: 768px) { .rev-nav { display: flex; } }
.rev-track {
  display: flex; gap: 1.25rem;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
  padding: .5rem var(--edge) 1.5rem;
  scrollbar-width: none;
}
.rev-track::-webkit-scrollbar { display: none; }
.rev {
  position: relative; flex: 0 0 min(84vw, 430px); scroll-snap-align: start;
  display: flex; flex-direction: column;
  padding: 2.2rem 2rem 1.8rem;
  border-radius: var(--radius);
  background: rgba(242, 230, 214, .045); border: 1px solid rgba(242, 230, 214, .13);
  transition: background-color .5s var(--ease), border-color .5s var(--ease), transform .6s var(--ease);
}
.rev:hover { background: rgba(242, 230, 214, .075); border-color: rgba(233, 194, 122, .4); transform: translateY(-4px); }
.rev::before { content: "“"; position: absolute; top: .4rem; right: 1.4rem; font-family: var(--serif); font-size: 5.5rem; line-height: 1; color: var(--gold); opacity: .3; }
.stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 1.1rem; }
.stars svg { width: 17px; height: 17px; }
.rev blockquote { margin: 0 0 1.6rem; font-family: var(--serif); font-style: italic; font-weight: 320; font-size: 1.2rem; line-height: 1.5; }
.rev figcaption { margin-top: auto; font-weight: 700; font-size: .9rem; }
.rev figcaption span { font-weight: 500; color: var(--on-dark-soft); }

/* FAQ */
.faq-grid { display: grid; gap: 2.5rem; }
.faq-intro p:not(.eyebrow) { color: var(--ink-soft); }
.faq-intro a { color: var(--terracotta); font-weight: 700; white-space: nowrap; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 64px; padding: 1.1rem 0;
  font-family: var(--serif); font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); font-weight: 420;
  cursor: pointer; list-style: none;
  transition: color .3s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--terracotta); }
.faq-list summary .icon { width: 34px; height: 34px; padding: 8px; border-radius: 50%; border: 1px solid var(--line); color: var(--terracotta); transition: transform .5s var(--ease), background-color .3s, color .3s, border-color .3s; }
.faq-list details[open] summary .icon { transform: rotate(45deg); background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
.faq-a { padding: 0 3.5rem 1.4rem 0; color: var(--ink-soft); }
.faq-a p { margin: 0; }
.faq-list details[open] .faq-a { animation: fadeDown .5s var(--ease-out); }
@media (min-width: 900px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 6rem; } }

/* Contact */
.contact { background: var(--night); color: var(--on-dark); overflow: hidden; }
.contact .h2 em { color: var(--gold-light); }
.contact-grid { display: grid; gap: 3rem; align-items: start; }
.contact-copy > p:not(.eyebrow) { color: var(--on-dark-soft); max-width: 46ch; }
.contact-list { display: grid; gap: .4rem; margin-top: 2rem; }
.contact-list li { display: flex; align-items: center; gap: .8rem; }
.contact-list .icon { width: 40px; height: 40px; padding: 10px; border-radius: 50%; border: 1px solid rgba(233, 194, 122, .35); color: var(--gold-light); }
.contact-list a { display: inline-flex; flex-wrap: wrap; align-items: center; column-gap: .35em; min-height: 44px; text-decoration: none; font-weight: 600; word-break: break-word; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 0 1px no-repeat; transition: background-size .45s var(--ease); }
.contact-list a:hover { background-size: 100% 1px; }

.form { padding: clamp(1.5rem, 3.5vw, 2.6rem); border-radius: 24px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); }
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field-row { display: grid; gap: 0 1rem; }
.field label { font-size: .88rem; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem .95rem;
  border: 1px solid #CDBBA3; border-radius: 12px;
  background: #fff; color: var(--ink);
  font: inherit; font-size: 1rem;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235E4A3B' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1rem center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 4px rgba(180, 83, 42, .18); }
.field input:user-invalid, .field select:user-invalid { border-color: #B3261E; }
.form .btn { margin-top: .4rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 6rem; } }

/* Footer */
.site-footer { background: var(--night-2); color: var(--on-dark-soft); padding: 4.5rem 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-logo { width: 200px; height: auto; margin-bottom: 1rem; }
.footer-tag { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 1.5rem; align-content: start; }
.footer-nav a, .footer-contact a { text-decoration: none; display: inline-flex; min-height: 40px; align-items: center; transition: color .3s; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--gold-light); }
.footer-contact p { margin: 0; }
.footer-contact p:first-child { color: var(--on-dark); font-weight: 700; margin-bottom: .3rem; }
.footer-base { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(242, 230, 214, .1); font-size: .85rem; }
.footer-base p { margin: 0; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }

/* Mobile action bar */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: .6rem;
  padding: .65rem .75rem calc(.65rem + env(safe-area-inset-bottom));
  background: rgba(27, 20, 16, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(233, 194, 122, .2);
  transform: translateY(110%); transition: transform .55s var(--ease);
}
.action-bar.is-visible { transform: none; }
.action-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.action-call { color: var(--on-dark); border: 1px solid rgba(242, 230, 214, .35); }
.action-tour { background: var(--terracotta); color: #fff; }
@media (max-width: 767px) { .site-footer { padding-bottom: calc(2rem + 76px); } }
@media (min-width: 768px) { .action-bar { display: none; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 4.5rem 1rem; background: rgba(14, 10, 8, .94); opacity: 0; transition: opacity .4s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lb-figure { display: grid; justify-items: center; gap: .8rem; }
.lb-figure img { max-width: min(92vw, 1280px); max-height: 80vh; max-height: 80svh; width: auto; height: auto; border-radius: 10px; transform: scale(.96); opacity: 0; transition: transform .6s var(--ease-out), opacity .4s var(--ease); }
.lightbox.is-open .lb-figure img.is-loaded { transform: none; opacity: 1; }
.lb-figure figcaption { color: var(--on-dark-soft); font-size: .9rem; text-align: center; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; background: rgba(242, 230, 214, .1); color: var(--on-dark); cursor: pointer; transition: background-color .3s; }
.lb-btn:hover { background: rgba(242, 230, 214, .22); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1rem; top: 50%; translate: 0 -50%; }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 1rem; translate: none; } .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); } }

/* ---------- Scroll reveals (only when JS is running) ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 85ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"] {
  opacity: 1; transform: none;
  clip-path: inset(14% 10% 14% 10% round 24px);
  transition: clip-path 1.4s var(--ease-out);
}
.js [data-reveal="clip"] > img:not([data-parallax]), .js [data-reveal="clip"] > picture > img:not([data-parallax]) { transform: scale(1.18); transition: transform 1.8s var(--ease-out); }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round 0); }
.js [data-reveal="clip"].is-in > img:not([data-parallax]), .js [data-reveal="clip"].is-in > picture > img:not([data-parallax]) { transform: none; }
.js .story-img-b[data-reveal="clip"].is-in, .js .ceremony-img[data-reveal="clip"].is-in { clip-path: none; }
.js .masonry [data-reveal] { transform: translateY(18px) scale(.985); }
.js .masonry [data-reveal].is-in { transform: none; }

/* ---------- Guides ---------- */
@media (min-width: 1280px) { .nav { gap: 1.6rem; } }
.faq-intro .faq-guides a { white-space: normal; }
.hero-guide { min-height: 70vh; min-height: 70svh; }
.hero-guide .hero-title { font-size: clamp(2.3rem, 1.2rem + 4vw, 4.6rem); max-width: 20ch; }
.guide-body { max-width: calc(760px + 2 * var(--gutter)); }
.guide-meta { font-size: .9rem; color: var(--ink-soft); margin-bottom: 1.6rem; }
.guide-body > p:not(.lead):not(.guide-meta) { color: var(--ink-soft); }
.guide-body h2 { font-family: var(--serif); font-weight: 420; font-size: clamp(1.65rem, 1.3rem + 1.3vw, 2.3rem); line-height: 1.15; letter-spacing: -.01em; margin: 3rem 0 .9rem; text-wrap: balance; }
.guide-body .checklist { margin: 1.2rem 0 1.4rem; }
.guide-body .checklist li { color: var(--ink-soft); }
.guide-body .checklist strong { color: var(--ink); }
.guide-table-wrap { overflow-x: auto; margin: 1.4rem 0; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.guide-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.guide-table th, .guide-table td { padding: .85rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); }
.guide-table td:last-child, .guide-table th:last-child { text-align: right; white-space: nowrap; }
.guide-table thead th { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.guide-table tfoot th, .guide-table tfoot td { font-weight: 700; border-bottom: 0; color: var(--terracotta); }
.timeline { list-style: none; margin: 1.6rem 0; padding: 0 0 0 1.6rem; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding-bottom: 1.6rem; }
.timeline li::before { content: ""; position: absolute; left: calc(-1.6rem - 7px); top: .45rem; width: 12px; height: 12px; background: var(--gold); transform: rotate(45deg); }
.timeline-when { margin: 0 0 .2rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--terracotta); }
.timeline h3 { font-family: var(--serif); font-weight: 450; font-size: 1.3rem; margin-bottom: .3rem; }
.timeline p:not(.timeline-when) { margin: 0; color: var(--ink-soft); }
.guide-cta { margin-top: 3.5rem; }
@media (min-width: 1040px) {
  .guide-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; }
  .guide-cards-2 .cel-card:nth-child(even) { margin-top: 0; }
}
.guide-cards-2 .cel-img { aspect-ratio: 4 / 3; border-radius: var(--radius); }

/* ---------- Keyframes ---------- */
@keyframes heroZoom { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes lineUp { from { transform: translateY(108%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: none; }
  .js [data-reveal="clip"] > img, .js [data-reveal="clip"] > picture > img { transform: none !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-list[aria-hidden="true"] { display: none; }
  .marquee-list { flex-wrap: wrap; justify-content: center; row-gap: .5rem; }
}
