/* =========================================================
   Unforgettable Ceremonies — Tim Ruth
   Design tokens
   ========================================================= */
:root{
  --ink:        #1E2924;   /* deep charcoal-teal, near-black */
  --ink-soft:   #33433C;
  --parchment:  #FAF6EC;   /* light creamy vellum */
  --parchment-2:#F1EAD8;
  --card:       #FDFCF7;
  --moss:       #4B5D45;   /* nature / continuity */
  --moss-deep:  #364330;
  --ember:      #B0602E;   /* candle / lantern accent */
  --ember-deep: #8B4A22;
  --mist:       #93A39B;   /* muted sage-grey, secondary text/rules */
  --line:       rgba(30,41,36,0.14);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --radius: 2px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *,*::before,*::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin:0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }

h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.5em;
  color: var(--ink);
  letter-spacing: -0.01em;
}
h1{ font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 500; }
h2{ font-size: clamp(1.9rem, 4vw, 3rem); }
h3{ font-size: clamp(1.3rem, 2.4vw, 1.7rem); }

p{ margin: 0 0 1.1em; max-width: 62ch; }
.lede{ font-size: 1.2rem; color: var(--ink-soft); max-width: 46ch; }

.kicker{
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--ember-deep);
  margin: 0 0 0.9em;
  display:inline-block;
  border-bottom: 1px solid var(--ember);
  padding-bottom: 0.25em;
}

.wrap{ max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Buttons / links */
.btn{
  display:inline-flex; align-items:center; gap:0.6em;
  font-family: var(--font-body); font-weight: 600; font-size: 0.98rem;
  padding: 0.85em 1.6em;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--parchment);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover{ background: var(--ember-deep); border-color: var(--ember-deep); color:#fff; }
.btn.ghost{
  background: transparent; color: var(--ink); border-color: var(--ink);
}
.btn.ghost:hover{ background: var(--ink); color: var(--parchment); }
.btn.on-dark{ background: var(--parchment); color: var(--ink); border-color: var(--parchment); }
.btn.on-dark:hover{ background: var(--ember); border-color: var(--ember); color:#fff; }

.text-link{
  display:inline-flex; align-items:center; gap:0.4em;
  font-weight:600; border-bottom: 1px solid currentColor; padding-bottom: 0.1em;
}
.text-link svg{ width: 0.85em; height:0.85em; transition: transform .2s ease; }
.text-link:hover svg{ transform: translateX(3px); }

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: var(--parchment);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height: 84px;
}
.brand{ display:flex; align-items:center; gap:0.75rem; }
.brand img{ height: 46px; width:auto; }
.brand-name{
  font-family: var(--font-display); font-size: 1.08rem; font-weight: 500; letter-spacing: 0.01em; line-height:1.1;
  color: var(--ink);
}
.brand-name span{ display:block; font-family: var(--font-body); font-size: 0.68rem; letter-spacing:0.09em; color: var(--moss-deep); margin-top:2px; }

.nav{ display:flex; align-items:center; gap: 2.1rem; }
.nav a{ font-family: var(--font-display); font-size: 1.08rem; font-weight: 500; letter-spacing: 0.01em; position:relative; padding: 0.3em 0; }
.nav a:not(.btn)::after{
  content:""; position:absolute; left:0; right:100%; bottom:-2px; height:1px; background: var(--ember);
  transition: right .25s ease;
}
.nav a:not(.btn):hover::after, .nav a.active:not(.btn)::after{ right:0; }
.nav-item{ position:relative; }
.nav-item > a{ display:flex; align-items:center; gap:0.35em; }
.nav-item svg{ width:0.6em; height:0.6em; margin-top:2px; }
.dropdown{
  position:absolute; top: 100%; left:50%; transform: translateX(-50%);
  background: var(--card); border:1px solid var(--line); min-width: 190px;
  padding: 0.4rem; margin-top: 0.9rem;
  opacity:0; visibility:hidden; translate: 0 6px;
  transition: opacity .18s ease, translate .18s ease, visibility .18s ease;
  box-shadow: 0 12px 28px rgba(30,41,36,0.12);
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown{ opacity:1; visibility:visible; translate:0 0; }
.dropdown a{ display:block; padding: 0.55em 0.8em; font-weight:500; border-radius: 2px; }
.dropdown a:hover{ background: var(--parchment-2); }
.dropdown a::after{ display:none; }

.nav .nav-cta{
  border: 1px solid var(--ink); padding: 0.5em 1.4em; border-radius: 999px;
  background: transparent; color: var(--ink); font-family: var(--font-display); font-weight: 500; font-size:1.05rem;
}
.nav .nav-cta:hover{ background: var(--ink); color: var(--parchment); }
.nav .nav-cta::after{ display:none; }

.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:0.4rem; }
.nav-toggle svg{ width:26px; height:26px; }

@media (max-width: 860px){
  .nav{
    position: fixed; inset: 84px 0 0 0; background: var(--parchment);
    flex-direction: column; align-items:flex-start; justify-content:flex-start;
    padding: 2rem var(--gutter); gap: 0.4rem; overflow-y:auto;
    transform: translateX(100%); transition: transform .3s ease;
  }
  .nav.open{ transform: translateX(0); }
  .nav a{ display:block; width:100%; box-sizing:border-box; padding: 0.9em 0; font-size:1.15rem; border-bottom:1px solid var(--line); }
  .nav .nav-cta{ display:flex; margin-top:1rem; justify-content:center; width:100%; box-sizing:border-box; }
  .dropdown{ position:static; transform:none; opacity:1; visibility:visible; box-shadow:none; border:none; margin:0 0 0 0.6rem; display:none; padding:0; }
  .nav-item.expanded .dropdown{ display:block; }
  .nav-toggle{ display:block; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero{
  position:relative; min-height: 92vh; display:flex; align-items:flex-end;
  background-size: cover; background-position: center;
  overflow:hidden;
}
.hero::before{
  content:""; position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(20,26,23,0.82) 0%, rgba(20,26,23,0.28) 52%, rgba(20,26,23,0.15) 100%);
}
.hero-inner{ position:relative; z-index:2; padding-bottom: 5.5rem; color:#fff; }
.hero h1{ color:#fff; max-width: 14ch; }
.hero .lede{ color: rgba(255,255,255,0.86); margin-top:0.6rem; }
.hero .cta-row{ margin-top: 2rem; display:flex; gap:1.4rem; flex-wrap:wrap; align-items:center; }
.hero .kicker{ color: #E9C9AE; border-color:#E9C9AE; }

.page-hero{
  position:relative; min-height: 56vh; display:flex; align-items:flex-end;
  background-size: cover; background-position: center;
}
.page-hero::before{ content:""; position:absolute; inset:0; background: linear-gradient(0deg, rgba(20,26,23,0.80) 0%, rgba(20,26,23,0.18) 70%); }
.page-hero .hero-inner{ padding-bottom: 3.5rem; padding-left: 6vw; max-width: 560px; }
.page-hero h1{ color:#fff; font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 18ch; }
.page-hero .eyebrow{ color:#E9C9AE; font-family: var(--font-body); letter-spacing:0.08em; font-size:0.85rem; margin-bottom:0.7em; display:block; }

/* Tide divider */
.tide{ display:block; width:100%; height:40px; margin: 0; }
.tide path{ fill: var(--parchment); }
.tide.flip path{ fill: var(--ink); }
.section-dark + .section .tide{ display:none; }

/* =========================================================
   Sections
   ========================================================= */
.section{ padding: 6.5rem 0; }
.section.tight{ padding: 4rem 0; }
.section-dark{ background: var(--ink); color: var(--parchment); }
.section-dark h2, .section-dark h3{ color: var(--parchment); }
.section-dark p{ color: rgba(243,238,225,0.82); }
.section-moss{ background: var(--moss-deep); color: var(--parchment); }
.section-moss h2,.section-moss h3{ color:var(--parchment); }
.section-moss p{ color: rgba(243,238,225,0.85); }
.section-card{ background: var(--parchment-2); }

.split{
  display:grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 6vw, 5rem); align-items:start;
}
.split.reverse{ direction: rtl; }
.split.reverse > *{ direction: ltr; }
@media (max-width: 860px){
  .split{ grid-template-columns: 1fr; }
  .split.reverse{ direction: ltr; }
}
.split figure{ margin:0; }
.split img{ width:100%; height:auto; }

.frame{ margin:0; }
.frame img{ display:block; width:100%; height:auto; }

/* Full-width single image band, used in place of the old three-up mosaics */
.full-figure{ margin-top: 4rem; margin-bottom: 4rem; }
.full-figure img{ width:100%; height:auto; max-height: 620px; object-fit:cover; display:block; }

/* Equal three-panel row */
.trio{ display:grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
@media (max-width: 780px){ .trio{ grid-template-columns: 1fr; } }
.trio figure{ margin:0; aspect-ratio: 4/3; overflow:hidden; }
.trio img{ width:100%; height:100%; object-fit:cover; }

.duo{ display:grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 780px){ .duo{ grid-template-columns: 1fr; } }
.duo figure{ margin:0; aspect-ratio: 4/3; overflow:hidden; }
.duo img{ width:100%; height:100%; object-fit:cover; }

/* Services grid — editorial, not card-kit */
.services-grid{
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 2.2rem;
  margin-top: 3rem;
}
@media (max-width: 980px){ .services-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .services-grid{ grid-template-columns: 1fr; } }
.service{ border-top: 1px solid var(--ink); padding-top: 1.2rem; }
.service figure{ margin: 0 0 1.1rem; aspect-ratio: 4/5; overflow:hidden; background: var(--parchment-2); }
.service img{ width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.service:hover img{ transform: scale(1.045); }
.service h3{ margin-bottom: 0.3em; font-size:1.25rem; }
.service p{ color: var(--ink-soft); font-size:0.98rem; }

/* Steps */
.steps{ display:grid; grid-template-columns: repeat(3,1fr); gap: 2.5rem; margin-top: 3rem; position:relative; }
@media (max-width: 780px){ .steps{ grid-template-columns:1fr; } }
.step .num{ font-family: var(--font-display); font-size: 2.6rem; color: var(--ember); line-height:1; margin-bottom:0.5rem; }
.step h3{ margin-bottom: 0.4em; }
.step p{ color: rgba(243,238,225,0.82); font-size:0.98rem; }

/* Quote block */
.quote-block{
  border-left: 2px solid var(--ember); padding-left: 1.6rem; margin: 2.4rem 0;
}
.quote-block p{ font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--ink); max-width: 34ch; }
.quote-block cite{ font-style:normal; font-family:var(--font-body); font-size:0.85rem; color: var(--moss-deep); font-weight:600; }

/* Mosaic image band */
.mosaic{ display:grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1rem; }
@media (max-width: 780px){ .mosaic{ grid-template-columns: 1fr 1fr; } .mosaic .tall{ grid-column: span 2; } }
.mosaic figure{ margin:0; overflow:hidden; }
.mosaic img{ width:100%; height:100%; object-fit:cover; }
.mosaic .tall img{ aspect-ratio: 4/5; }
.mosaic .wide img{ aspect-ratio: 5/4; }

/* Content blocks used on inner pages */
.prose{ max-width: 66ch; }
.prose h3{ margin-top: 1.6em; }
.two-col{ columns: 2; column-gap: 3rem; }
@media (max-width: 780px){ .two-col{ columns: 1; } }

/* Events */
.event-detail{
  display:grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items:start;
}
@media (max-width: 780px){ .event-detail{ grid-template-columns:1fr; } }
.event-detail .card{ background: var(--card); border:1px solid var(--line); padding: 1.8rem; }
.event-detail h3{ margin-bottom:0.3em; }
.event-detail .when{ color: var(--ember-deep); font-weight:600; font-size:0.92rem; margin-bottom:0.8em; display:block; }

.event-schedule{ display:flex; flex-direction:column; gap:1.8rem; background: var(--card); border:1px solid var(--line); padding: 1.8rem; }
.event-schedule .item{ border-top:1px solid var(--line); padding-top:1.6rem; }
.event-schedule .item:first-child{ border-top:none; padding-top:0; }

/* Contact */
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; }
@media (max-width: 860px){ .contact-grid{ grid-template-columns:1fr; } }
.field{ margin-bottom: 1.3rem; }
.field label{ display:block; font-size:0.85rem; font-weight:600; margin-bottom:0.4em; color: var(--moss-deep); }
.field input, .field textarea{
  width:100%; padding:0.8em 0.9em; border:1px solid var(--line); background: var(--card);
  font-family: var(--font-body); font-size:1rem; color: var(--ink); border-radius: var(--radius);
}
.field textarea{ min-height: 130px; resize:vertical; }
.field input:focus, .field textarea:focus{ outline:2px solid var(--ember); outline-offset:1px; }

.contact-info dt{ font-size:0.8rem; letter-spacing:0.05em; color: var(--mist); margin-top:1.3rem; }
.contact-info dd{ margin:0.2em 0 0; font-family: var(--font-display); font-size:1.3rem; }
.social-row{ display:flex; gap:1.1rem; margin-top:1.6rem; }
.social-row a{ width:40px; height:40px; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; border-radius:50%; transition: background .2s ease, border-color .2s ease; }
.social-row a:hover{ background: var(--ember); border-color: var(--ember); color:#fff; }
.social-row svg{ width:18px; height:18px; }

/* Footer */
.site-footer{ background: var(--ink); color: rgba(243,238,225,0.75); padding: 3.5rem 0 2rem; }
.footer-top{ display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:2.5rem; padding-bottom: 2.4rem; border-bottom: 1px solid rgba(243,238,225,0.15); }
.footer-brand span{ font-family: var(--font-display); color:#fff; font-size:1.4rem; display:block; }
.footer-cols{ display:flex; gap: 3.5rem; flex-wrap:wrap; }
.footer-col h4{ font-family: var(--font-body); font-size:0.78rem; letter-spacing:0.07em; color: var(--mist); margin-bottom:0.9em; }
.footer-col a{ display:block; padding: 0.3em 0; font-size:0.95rem; color: rgba(243,238,225,0.85); }
.footer-col a:hover{ color: var(--ember); }
.footer-bottom{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:1rem; padding-top:1.6rem; font-size:0.85rem; }
.footer-bottom .social-row a{ border-color: rgba(243,238,225,0.25); color:#fff; }

/* Utility */
.center{ text-align:center; }
.mt-0{ margin-top:0; }
.eyebrow-plain{ font-size:0.85rem; letter-spacing:0.06em; color: var(--moss-deep); font-weight:600; margin-bottom:0.6em; display:block; }
.cta-band{ text-align:center; padding: 5.5rem 0; }
.cta-band h2{ max-width: 18ch; margin-left:auto; margin-right:auto; }
.cta-band .btn-row{ display:flex; gap:1.2rem; justify-content:center; flex-wrap:wrap; margin-top:1.8rem; }
