/* Evonne McCabe Celebrant Services. Brand: cream base, charcoal text, blush and olive accents. */

:root {
  --cream: #FBF7F2;
  --champagne: #F5E4D7;
  --champagne-deep: #EBD3C0;
  --blush: #E9A5B6;
  --peony: #EB6F86;
  --rose-deep: #B9405A;
  --charcoal: #404040;
  --charcoal-soft: #6B6B6B;
  --olive: #9CA88A;
  --olive-deep: #6F7D5C;
  --honey: #F3C565;
  --white: #FFFFFF;
  --max: 1120px;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(64, 64, 64, 0.08);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Nunito", "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-deep); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--charcoal);
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--charcoal-soft); }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--olive-deep);
  margin-bottom: 0.9rem;
}
.wrap { width: min(var(--max), 92vw); margin: 0 auto; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section.tint { background: var(--champagne); }
.section.olive { background: #EEF0E8; }
.center { text-align: center; }
.muted { color: var(--charcoal-soft); }
.small { font-size: 0.9rem; }

/* Skip link */
.skip { position: absolute; left: -999px; top: 0; background: var(--charcoal); color: var(--white); padding: 0.5rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; z-index: 999; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  text-decoration: none;
}
.btn:hover, .btn:focus { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--charcoal); color: var(--cream); }
.btn-primary:hover, .btn-primary:focus { background: var(--rose-deep); color: var(--white); }
.btn-secondary { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-secondary:hover, .btn-secondary:focus { background: var(--charcoal); color: var(--cream); }
.btn-row { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 242, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--champagne-deep);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 0; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.8rem; color: var(--charcoal); }
.brand:hover { text-decoration: none; }
.brand img { width: 52px; height: 52px; }
.brand-text { line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; display: block; }
.brand-sub { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--olive-deep); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--charcoal); font-weight: 600; }
.nav a:hover { color: var(--rose-deep); text-decoration: none; }
.nav .btn { padding: 0.6rem 1.2rem; }
.nav a.btn-primary { color: var(--cream); }
.nav a.btn-primary:hover, .nav a.btn-primary:focus { color: var(--white); }
.nav-toggle { display: none; background: none; border: 2px solid var(--charcoal); border-radius: 10px; padding: 0.4rem 0.6rem; cursor: pointer; color: var(--charcoal); font: inherit; font-weight: 700; }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: 1rem; }
.hero .lead { font-size: 1.2rem; }
.portrait-frame { position: relative; }
.portrait-frame img { border-radius: 200px 200px 24px 24px; box-shadow: var(--shadow); }
.portrait-frame::before {
  content: ""; position: absolute; inset: -14px -14px auto auto; width: 120px; height: 120px;
  background: var(--blush); border-radius: 50%; z-index: -1; opacity: 0.8;
}
.portrait-frame::after {
  content: ""; position: absolute; left: -18px; bottom: 30px; width: 90px; height: 90px;
  background: var(--olive); border-radius: 50%; z-index: -1; opacity: 0.6;
}

/* Cards */
.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--blush);
  height: 100%;
}
.card.olive-top { border-top-color: var(--olive); }
.card.honey-top { border-top-color: var(--honey); }
.card.quiet { border-top-color: var(--olive-deep); }
.card h3 { margin-bottom: 0.5rem; }
.card p { margin-bottom: 0.6rem; }
.card .price { font-weight: 700; color: var(--olive-deep); }
.card.span-all { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 2fr; gap: 1.5rem; align-items: center; }
.card.span-all h3 { margin: 0; }
@media (max-width: 640px) { .card.span-all { grid-template-columns: 1fr; } }
.card a.more { font-weight: 700; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.step { background: var(--white); border-radius: var(--radius); padding: 1.4rem 1.2rem; box-shadow: var(--shadow); position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blush); color: var(--charcoal);
  font-family: var(--serif); font-weight: 700; font-size: 1.2rem; margin-bottom: 0.8rem;
}
.step h3 { font-size: 1.1rem; }
.step p { font-size: 0.95rem; margin: 0; color: var(--charcoal-soft); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.price-box { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.price-box .amount { font-family: var(--serif); font-size: 2.2rem; color: var(--charcoal); margin: 0.3rem 0 0.6rem; }
.price-box .amount span { font-family: var(--sans); font-size: 1rem; color: var(--charcoal-soft); }
.price-box ul { padding-left: 1.2rem; margin: 0.8rem 0 0; }
.price-box li { margin-bottom: 0.35rem; }

/* Photo band */
.photo-band { position: relative; }
.photo-band img { width: 100%; height: clamp(260px, 42vw, 520px); object-fit: cover; }
.photo-band figcaption { position: absolute; right: 1rem; bottom: 0.8rem; font-size: 0.75rem; color: var(--white); background: rgba(64,64,64,0.55); padding: 0.25rem 0.6rem; border-radius: 999px; }

/* Two column with image */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split.reverse { grid-template-columns: 1.1fr 0.9fr; }
.split.form-first { grid-template-columns: 1.3fr 0.7fr; }

/* Ceremony sections */
.ceremony { padding: 2.4rem 0; border-bottom: 1px solid var(--champagne-deep); }
.ceremony:last-of-type { border-bottom: 0; }
.ceremony-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; align-items: start; }
.ceremony .price { font-weight: 700; color: var(--olive-deep); }
.jump { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.jump a { background: var(--white); border: 1px solid var(--champagne-deep); border-radius: 999px; padding: 0.4rem 0.9rem; font-size: 0.9rem; color: var(--charcoal); font-weight: 600; }
.jump a:hover { background: var(--blush); text-decoration: none; }

/* Quiet register for farewells */
.quiet-note { background: #EEF0E8; border-left: 4px solid var(--olive); padding: 1rem 1.2rem; border-radius: 0 12px 12px 0; }

/* Forms */
form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { font-weight: 700; font-size: 0.95rem; display: block; margin-bottom: 0.3rem; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--charcoal);
  padding: 0.8rem 0.95rem; border: 1.5px solid var(--champagne-deep); border-radius: 12px; background: var(--white);
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(233, 165, 182, 0.55); border-color: var(--blush); }
textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -5000px; }
.contact-side { background: var(--white); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.contact-side p { margin-bottom: 0.7rem; }

/* CTA */
.cta { background: var(--charcoal); color: var(--cream); }
.cta h2 { color: var(--cream); }
.cta .btn-primary { background: var(--blush); color: var(--charcoal); }
.cta .btn-primary:hover { background: var(--white); }

/* Footer */
.site-footer { background: var(--champagne); padding: 2.5rem 0 2rem; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; align-items: start; }
.site-footer h4 { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--olive-deep); margin-bottom: 0.6rem; }
.site-footer a { color: var(--charcoal); }
.footer-legal { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--champagne-deep); color: var(--charcoal-soft); font-size: 0.85rem; }

/* Decorative hearts */
.heart { color: var(--peony); }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .split, .split.reverse, .split.form-first { grid-template-columns: 1fr; }
  .portrait-frame { max-width: 420px; margin: 0 auto; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ceremony-grid { grid-template-columns: 1fr; gap: 0.8rem; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-3, .grid-2, .price-grid, .steps, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); flex-direction: column; align-items: stretch; padding: 1rem 4vw 1.4rem; border-bottom: 1px solid var(--champagne-deep); gap: 1rem; }
  .nav.open { display: flex; }
  .nav-toggle { display: inline-block; }
  .brand img { width: 44px; height: 44px; }
  .brand-name { font-size: 1.1rem; }
}
