/* ============================================================
   Ivory & Clover — Brand layer (site-wide, loaded last)
   1:1 port of the React master: header, footer, gallery, CTA,
   and shared polish for every inner page (cards, buttons,
   headings, forms) so the whole site reads as one product.
   ============================================================ */
:root{
  --ivb-deep:#1F4338;--ivb-clover:#2F5D50;--ivb-gold:#C7A96B;--ivb-ivory:#F8F5EE;
  --ivb-white:#FCFBF8;--ivb-charcoal:#1C1F1D;--ivb-ink:#2A2A28;--ivb-muted:#6B6A63;
  --ivb-border:#E6E1D4;--ivb-radius:24px;
  --ivb-serif:"Cormorant Garamond",ui-serif,Georgia,serif;
  --ivb-sans:"Inter",ui-sans-serif,system-ui,sans-serif;
}
body{background:var(--ivb-white);color:var(--ivb-ink);font-family:var(--ivb-sans)}
.ivb-wrap{width:100%;max-width:80rem;margin-inline:auto;padding-inline:1.5rem}
@media(min-width:1024px){.ivb-wrap{padding-inline:2.5rem}}
.ivb-kicker{margin:0;font-size:.75rem;letter-spacing:.3em;text-transform:uppercase;color:#D2674A;font-weight:500}
.ivb-kicker--gold{color:var(--ivb-gold)}

/* ---------- Header ---------- */
.ivb-header{position:sticky;top:0;z-index:50;background:rgba(252,251,248,.92);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--ivb-border)}
.ivb-header__inner{display:flex;align-items:center;justify-content:space-between;height:5rem;gap:1.5rem}
.ivb-wordmark{font-family:var(--ivb-serif);font-size:1.6rem;line-height:1;letter-spacing:-.01em;color:var(--ivb-deep)!important;white-space:nowrap;font-weight:500}
.ivb-wordmark span{color:var(--ivb-gold)}
.ivb-wordmark--lg{font-size:1.9rem;color:#fff!important}
.ivb-pill,a.ivb-pill{background:var(--ivb-clover);color:#fff!important;border-radius:999px;padding:.7rem 1.25rem;
  font-size:.875rem;font-weight:500;min-height:0;border:0;box-shadow:0 8px 20px -10px rgba(31,67,56,.6)}
.ivb-pill:hover{background:var(--ivb-deep)}
.ivb-navtoggle{border-radius:999px;background:transparent}
@media(min-width:900px){
  .ivb-nav{display:flex;flex:1;align-items:center;justify-content:space-between;gap:2rem}
  .ivb-nav__links{display:flex;flex:1;justify-content:center;gap:2.25rem}
  .ivb-nav__links a{font-size:.9rem;color:rgba(42,42,40,.8)!important;font-family:var(--ivb-sans)}
  .ivb-nav__links a:hover{color:var(--ivb-clover)!important}
  .ivb-nav__actions{display:flex;align-items:center;gap:.5rem}
  .ivb-navlink{padding:.5rem 1rem;font-size:.9rem;color:var(--ivb-deep)!important}
}
@media(max-width:899px){
  .ivb-nav__links,.ivb-nav__actions{display:flex;flex-direction:column}
  .ivb-nav__actions{margin-top:1rem;gap:.5rem}
  .ivb-nav .ivb-pill{margin-top:.5rem;width:100%;justify-content:center;font-family:var(--ivb-sans);font-size:1rem}
}

/* ---------- Footer ---------- */
.ivb-footer{margin-top:0!important;border-top:0!important;background:var(--ivb-charcoal)!important;
  color:rgba(252,251,248,.8)!important;padding:5rem 0 2.5rem!important}
.ivb-footer__grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem 2rem;padding-bottom:4rem;border-bottom:1px solid rgba(255,255,255,.1)}
.ivb-footer__brand{grid-column:1/-1}
@media(min-width:768px){
  .ivb-footer__grid{grid-template-columns:4fr 2fr 2fr 2fr 2fr}
  .ivb-footer__brand{grid-column:auto}
}
.ivb-footer__brand p{margin:1.25rem 0 0;font-size:.875rem;line-height:1.65;color:rgba(255,255,255,.6);max-width:24rem}
.ivb-footer__social{display:flex;gap:.75rem;margin-top:1.5rem}
.ivb-footer__social a{width:40px;height:40px;border-radius:999px;border:1px solid rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center;color:#fff!important;transition:background .2s}
.ivb-footer__social a:hover{background:rgba(255,255,255,.1)}
.ivb-footer__col h4{font-family:var(--ivb-serif);font-size:1.05rem;font-weight:500;color:#fff;margin:0 0 1rem;letter-spacing:0;text-transform:none}
.ivb-footer__col ul{list-style:none;margin:0;padding:0;display:grid;gap:.75rem}
.ivb-footer__col a{font-size:.875rem;color:rgba(255,255,255,.6)!important;transition:color .2s}
.ivb-footer__col a:hover{color:var(--ivb-gold)!important}
.ivb-footer__bar{padding-top:2rem;display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem;font-size:.75rem;color:rgba(255,255,255,.4)}
.ivb-footer__bar p{margin:0}
.ivb-footer__bar div{display:flex;gap:1.5rem}
.ivb-footer__bar a{color:rgba(255,255,255,.4)!important}
.ivb-footer__bar a:hover{color:rgba(255,255,255,.7)!important}

/* ---------- Gallery (bento) ---------- */
.ivb-gallery{padding:6rem 0;background:var(--ivb-white)}
.ivb-gallery__head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:1.5rem;margin-bottom:3rem}
.ivb-gallery__head h2{font-family:var(--ivb-serif);font-weight:500;color:var(--ivb-deep);font-size:clamp(2.25rem,1.6rem + 2.6vw,3.75rem);line-height:1.05;margin:1rem 0 0}
.ivb-gallery__ig{font-size:.875rem;color:var(--ivb-deep)!important}
.ivb-gallery__grid{display:grid;grid-template-columns:repeat(2,1fr);grid-auto-rows:180px;gap:.75rem}
@media(min-width:768px){.ivb-gallery__grid{grid-template-columns:repeat(4,1fr);grid-auto-rows:220px;gap:1rem}}
.ivb-gallery__grid figure{margin:0;border-radius:1rem;overflow:hidden;background:var(--ivb-ivory)}
.ivb-gallery__grid figure.is-tall{grid-row:span 2}
.ivb-gallery__grid img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .7s ease}
.ivb-gallery__grid figure:hover img{transform:scale(1.05)}

/* ---------- Final CTA (own section, own image box, no overlap) ---------- */
.ivb-cta{position:relative;isolation:isolate;overflow:hidden;margin:0;padding:8rem 0;text-align:center}
@media(min-width:1024px){.ivb-cta{padding:10rem 0}}
.ivb-cta__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0;margin:0}
.ivb-cta__scrim{position:absolute;inset:0;z-index:1;background:linear-gradient(135deg,rgba(28,31,29,.85),rgba(31,67,56,.75),rgba(28,31,29,.85))}
.ivb-cta__inner{position:relative;z-index:2;max-width:48rem}
.ivb-cta h2{font-family:var(--ivb-serif);font-weight:500;color:#fff;font-size:clamp(3rem,2rem + 4vw,4.5rem);line-height:1.05;margin:1.5rem 0 0;hyphens:none}
.ivb-cta h2 em{font-style:normal;color:var(--ivb-gold)}
.ivb-cta__lede{margin:1.5rem auto 0;font-size:clamp(1.05rem,1rem + .4vw,1.25rem);color:rgba(255,255,255,.85);font-weight:300;line-height:1.6;hyphens:none;max-width:40rem}
.ivb-cta__btns{margin-top:2.5rem;display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem}
.ivb-btn{display:inline-flex;align-items:center;justify-content:center;padding:1rem 2rem;border-radius:999px;font-size:.9rem;font-weight:500;transition:background .2s,transform .2s}
.ivb-btn--light{background:var(--ivb-white);color:var(--ivb-deep)!important;box-shadow:0 20px 40px -15px rgba(0,0,0,.5)}
.ivb-btn--light:hover{background:#fff;transform:translateY(-1px)}
.ivb-btn--glass{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.4);color:#fff!important}
.ivb-btn--glass:hover{background:rgba(255,255,255,.2)}

/* ============================================================
   Inner pages — shared polish so every page matches React
   ============================================================ */
h1,h2,h3,h4{font-family:var(--ivb-serif);font-weight:500;color:var(--ivb-deep);letter-spacing:-.01em;hyphens:none}
p,li{hyphens:none}
.ivc-eyebrow{color:#D2674A;letter-spacing:.25em;text-transform:uppercase;font-size:.75rem;font-weight:500}
.ivc-btn{border-radius:999px;font-weight:500}
.ivc-btn-primary{background:var(--ivb-clover);color:#fff}
.ivc-btn-primary:hover{background:var(--ivb-deep);color:#fff}
.ivc-btn-ghost{border-color:var(--ivb-border);background:#fff}
.ivc-card,.ivc-formcard,.ivc-panel,.ivc-pcard,.ivc-tcard,.ivc-ecard,.ivc-host-card,.ivc-rsvpcard,.ivc-empty{
  border-radius:var(--ivb-radius);border:1px solid var(--ivb-border);background:#fff;overflow:hidden;
  transition:box-shadow .3s,transform .3s}
.ivc-pcard:hover,.ivc-tcard:hover,.ivc-ecard:hover,.ivc-host-card:hover{box-shadow:0 30px 60px -30px rgba(31,67,56,.35);transform:translateY(-2px)}
.ivc-input,.ivc-form input[type=text],.ivc-form input[type=email],.ivc-form input[type=tel],.ivc-form input[type=search],
.ivc-form input[type=date],.ivc-form input[type=number],.ivc-form select,.ivc-form textarea{
  border-radius:14px;border:1px solid var(--ivb-border);background:#fff;font-family:var(--ivb-sans)}
.ivc-input:focus,.ivc-form input:focus,.ivc-form select:focus,.ivc-form textarea:focus{outline:none;border-color:var(--ivb-clover);box-shadow:0 0 0 3px rgba(47,93,80,.15)}
.ivc-badge,.ivc-tag{border-radius:999px}
.ivc-section{padding-block:clamp(3.5rem,8vw,6rem)}
