/* White Cab Weddings — ivory / champagne / plum. Self-hosted type. */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/CormorantGaramond-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/CormorantGaramond-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/Manrope-400-500-normal.woff2") format("woff2");
}

:root {
  --ink: #1c1714;
  --plum: #2a221f;
  --plum-2: #352c28;
  --ivory: #f8f3eb;
  --ivory-2: #eee4d6;
  --paper: #fbf7f2;
  --gold: #d2b896;
  --gold-2: #c4a57a;
  --gold-3: #eadcc4;
  --gold-ink: #3f3228;
  --gold-line: rgba(210, 184, 150, 0.42);
  --lilac: #d2c4d4;
  --muted: #746b66;
  --ok: #3d6b4f;
  --err: #8b2e2e;
  --serif: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1140px;
  --ease: cubic-bezier(.22, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html.no-js .reveal { opacity: 1; transform: none; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }

img, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: 0.01em; line-height: 1.15; }
p { margin: 0; }
button, input, select, textarea { font: inherit; }

.wrap { width: min(var(--wrap), calc(100% - 3rem)); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 2rem); } }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 300;
  background: var(--gold); color: var(--ink); padding: .5rem 1rem;
}
.skip:focus { left: 1rem; top: 1rem; }

.eyebrow {
  display: flex; align-items: center; gap: .85rem;
  font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 500;
  color: var(--gold-2); margin-bottom: 1rem;
}
.eyebrow .rule { width: 2.2rem; height: 1px; background: var(--gold); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--sans); font-weight: 500; font-size: .76rem;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 1.05rem 1.95rem; border: 1px solid transparent; cursor: pointer; line-height: 1;
  border-radius: 999px;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.btn-gold {
  background: linear-gradient(180deg, #e8d7bb 0%, #d2b896 100%);
  color: var(--gold-ink);
  border-color: rgba(210, 184, 150, .35);
  box-shadow: 0 10px 28px rgba(63, 50, 40, .12);
}
.btn-gold:hover {
  background: linear-gradient(180deg, #f0e4cd 0%, #ddc4a0 100%);
  box-shadow: 0 12px 32px rgba(63, 50, 40, .16);
}
.btn-ghost {
  border-color: rgba(234, 220, 196, .48);
  color: var(--ivory);
  background: rgba(248, 243, 235, .1);
}
.btn-ghost:hover {
  border-color: var(--gold-3);
  color: var(--gold-3);
  background: rgba(248, 243, 235, .16);
}
.btn-ink {
  border-color: rgba(28, 23, 20, .22);
  color: var(--ink);
  background: rgba(255, 252, 247, .55);
}
.btn-ink:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.6rem; }

/* ---------- Cover ---------- */
.cover {
  display: none;
  position: fixed; inset: 0; z-index: 400;
  background: var(--ink);
}
html.cover-on .cover { display: block; }
html.cover-on { overflow: hidden; }
.cover.out { opacity: 0; pointer-events: none; transition: opacity .65s var(--ease); }
.cover-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 62%;
  transform: scale(1.06);
  filter: saturate(.85) contrast(1.05);
  transition: transform 8s ease-out;
}
.cover.go .cover-photo { transform: scale(1); }
.cover-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,16,24,.55) 0%, rgba(20,16,24,.28) 38%, rgba(20,16,24,.78) 100%);
}
.cover-inner {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 2rem 1.4rem 3.5rem; color: var(--ivory);
}
.cover-mark {
  width: 86px; height: 86px; margin-bottom: 1.4rem;
  opacity: 0; transform: translateY(10px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.cover.go .cover-mark { opacity: 1; transform: none; }
.cover-kicker {
  font-size: .72rem; letter-spacing: .38em; text-transform: uppercase; color: var(--gold-3);
  opacity: 0; transition: opacity .8s var(--ease) .15s;
}
.cover.go .cover-kicker { opacity: 1; }
.cover-title {
  font-size: clamp(2.4rem, 8vw, 5.4rem); color: var(--ivory);
  margin: .7rem 0 .35rem; font-weight: 500;
  opacity: 0; transform: translateY(12px);
  transition: opacity .8s var(--ease) .2s, transform .8s var(--ease) .2s;
}
.cover.go .cover-title { opacity: 1; transform: none; }
.cover-bar {
  display: block; width: 0; height: 1px; margin: 1rem auto 1.1rem;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  transition: width 1s var(--ease) .35s;
}
.cover.go .cover-bar { width: min(220px, 50vw); }
.cover-line {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: var(--ivory-2); max-width: 28rem; opacity: 0;
  transition: opacity .8s var(--ease) .4s;
}
.cover.go .cover-line { opacity: 1; }
.cover-enter {
  margin-top: 2.2rem;
  background: rgba(248, 243, 235, .12); color: var(--ivory);
  border: 1px solid rgba(234, 220, 196, .55);
  letter-spacing: .28em; text-transform: uppercase; font-size: .76rem;
  padding: 1.1rem 2.6rem; cursor: pointer; border-radius: 999px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .8s var(--ease) .55s, background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.cover.go .cover-enter { opacity: 1; }
.cover-enter:hover {
  background: linear-gradient(180deg, #e8d7bb 0%, #d2b896 100%);
  color: var(--gold-ink);
  border-color: transparent;
}
.cover-hint {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ivory-2);
  opacity: 0; transition: opacity .6s var(--ease) .8s;
}
.cover.go .cover-hint { opacity: .8; }
@media (prefers-reduced-motion: reduce) {
  .cover, html.cover-on .cover { display: none; }
  html.cover-on { overflow: auto; }
}

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(28, 23, 20, .92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(246, 240, 230, .06);
}
.head-row { display: flex; align-items: center; gap: 1.2rem; height: 78px; }
.brand { display: flex; align-items: center; gap: .85rem; color: var(--ivory); }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-name {
  display: flex; flex-direction: column; gap: .12rem;
  font-family: var(--serif); font-size: 1.15rem; line-height: 1; letter-spacing: .04em;
}
.brand-name span { font-family: var(--sans); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 1.05rem; margin-left: auto; }
.nav-links a { color: var(--ivory-2); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold-3); }
.nav-cta {
  border: 1px solid rgba(234, 220, 196, .5); color: var(--gold-3) !important;
  padding: .7rem 1.15rem; border-radius: 999px;
  background: rgba(248, 243, 235, .08);
}
.nav-cta:hover {
  background: linear-gradient(180deg, #e8d7bb 0%, #d2b896 100%);
  color: var(--gold-ink) !important;
  border-color: transparent;
}
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  background: transparent; border: 0; padding: 0; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 1px; background: var(--ivory); position: relative;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.mobile-nav {
  display: none; background: var(--ink); border-top: 1px solid rgba(246,240,230,.08);
  padding: 1rem 0 1.4rem;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; color: var(--ivory); padding: .85rem 0;
  letter-spacing: .14em; text-transform: uppercase; font-size: .82rem;
  border-bottom: 1px solid rgba(246,240,230,.06);
}
@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; place-items: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(88vh, 820px);
  display: grid; align-items: end; color: var(--ivory); overflow: hidden;
  background: var(--ink);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,24,.25) 0%, rgba(20,16,24,.55) 55%, rgba(20,16,24,.92) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 5.5rem 0 3.4rem; }
.hero h1 { font-size: clamp(2.4rem, 6.4vw, 4.8rem); max-width: 16ch; }
.hero-lead { max-width: 38rem; margin-top: 1.1rem; color: var(--ivory-2); font-size: 1.08rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2rem;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-3);
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.4rem, 7vw, 5.6rem) 0; }
.section-dark { background: var(--plum); color: var(--ivory); }
.section-ivory { background: var(--ivory); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.split img { width: 100%; height: min(520px, 70vh); object-fit: cover; }
.split-copy h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 1rem; }
.split-copy p + p { margin-top: 1rem; color: var(--muted); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split img { height: 320px; }
}

.prose { max-width: 42rem; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 1rem; }
.prose ul { list-style: disc; padding-left: 1.2rem; color: var(--muted); }
.prose li + li { margin-top: .4rem; }
.prose a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }

.page-hero {
  background: var(--ink); color: var(--ivory); padding: 4.2rem 0 3rem;
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.page-hero p { color: var(--ivory-2); max-width: 38rem; margin-top: .8rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: #fffcf8; border: 1px solid rgba(63, 50, 40, .08); padding: 1.6rem 1.5rem 1.5rem;
  border-radius: 18px;
}
.card h3 { font-size: 1.7rem; margin: .35rem 0 .6rem; }
.card p { color: var(--muted); }
.card-price { font-family: var(--serif); font-size: 2rem; color: var(--gold-2); margin: .8rem 0 .3rem; }
.card a { display: inline-block; margin-top: 1rem; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; color: var(--gold-2); }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem 2rem; }
@media (max-width: 700px) { .feature-grid { grid-template-columns: 1fr; } }
.feature h3 { font-size: 1.45rem; margin-bottom: .4rem; }
.feature p { color: var(--muted); }

.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .55rem;
}
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery a { display: block; overflow: hidden; background: var(--plum); }
.gallery img {
  width: 100%; height: 220px; object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery a:hover img { transform: scale(1.05); }
.gallery a:first-child { grid-column: span 2; }
.gallery a:first-child img { height: 320px; }
@media (max-width: 900px) {
  .gallery a:first-child { grid-column: auto; }
  .gallery a:first-child img, .gallery img { height: 200px; }
}

.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
@media (max-width: 800px) { .quotes { grid-template-columns: 1fr; } }
.quote {
  background: #fffcf8; border: 1px solid rgba(63, 50, 40, .08); padding: 1.6rem;
  border-radius: 18px;
}
.quote p { font-family: var(--serif); font-style: italic; font-size: 1.18rem; line-height: 1.45; }
.quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); }
.quote img { width: 72px; height: 72px; object-fit: cover; border-radius: 50%; margin-bottom: .9rem; }

.areas { display: flex; flex-wrap: wrap; gap: .45rem; }
.areas li {
  border: 1px solid var(--gold-line); padding: .45rem .85rem;
  font-size: .82rem; letter-spacing: .04em; border-radius: 999px;
  background: rgba(248, 243, 235, .7);
}

.cta-band {
  background: var(--ink); color: var(--ivory); padding: 3.4rem 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .7rem; }
.cta-band p { color: var(--ivory-2); max-width: 34rem; margin: 0 auto; }

form.stack { display: grid; gap: 1rem; max-width: 42rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
label { display: grid; gap: .35rem; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
input, select, textarea {
  border: 1px solid rgba(63, 50, 40, .14); background: #fffcf8; color: var(--ink);
  padding: .9rem 1rem; width: 100%; border-radius: 12px;
}
textarea { min-height: 8rem; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.4rem; font-size: .92rem; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
form.sent .btn { display: none; }

.contact-aside { color: var(--muted); }
.contact-aside a { color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.4rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.site-footer {
  background: var(--ink); color: var(--ivory-2); padding: 3rem 0 1.6rem;
  font-size: .92rem;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.6rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: var(--gold); font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: .8rem; }
.site-footer a:hover { color: var(--gold-3); }
.foot-bottom {
  display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; justify-content: space-between;
  margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(246,240,230,.08);
  font-size: .78rem; color: #9a9098;
}

.lightbox {
  position: fixed; inset: 0; z-index: 350; background: rgba(20,16,24,.92);
  display: grid; place-items: center; padding: 2rem; cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 94vw); max-height: 90vh; object-fit: contain; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
