:root{
  --bg:#0b0d0f;
  --ink:#111;
  --paper:#faf8f5;
  --accent:#b77a2e;
  --muted:#667085;
  --border:#e6e2da;
  --shadow:0 10px 30px rgba(0,0,0,.18);

  --brown: rgb(88 57 39);
  --white: rgb(255 255 255);
  --form-cream:#f6efe3;   /* shared cream for navbar + form card */
  --nav-cream:#f6efe3;
  --cta-top-shadow: 0 8px 18px rgba(0,0,0,.22);
}

/* Base */
*{ box-sizing:border-box }
html,body{ margin:0; padding:0 }
html{ -webkit-text-size-adjust: 100%; }
body{
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial,sans-serif;
  color: var(--ink);
  background: var(--white);        /* page shell is white */
  line-height: 1.5;
}

/* Navbar */
.topnav{
  position: sticky; top: 0; z-index: 1000;
  background: var(--nav-cream);
  border-bottom: 1px solid var(--border);
  padding-top: env(safe-area-inset-top);
}
.topnav-inner{
  max-width: 980px; margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none }
.brand-logo{ height: 34px; width: auto; display:block }

/* Instagram icon link */
.nav-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  padding: 6px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
}
.nav-link:focus-visible{
  outline: 3px solid #c8a573; outline-offset: 2px;
}
.instagram-logo{
  display: block;
  width: 28px; height: 28px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}
@media (hover: hover){
  .nav-link:hover .instagram-logo{
    filter: brightness(1.05) contrast(1.05);
    transform: translateY(-1px);
  }
}
.nav-link:active .instagram-logo{
  transform: translateY(0);
  filter: brightness(.97);
}

/* =========================
   HERO (picture-based)
   ========================= */

.hero{
  background: var(--brown);
}

.hero-img{
    width: 100%;
    height: 500px;
    object-fit: cover;
    vertical-align: bottom;       
}
@media only screen and (max-width:799px) {
  .hero .hero-title,
  .hero .hero-title-2,
  .hero .hero-sub {
    display: none;
  }
  
}

@media (min-width:800px ) {
  .hero-img{
    width: 100%;
    height: 29em;
    object-fit: cover;
    vertical-align: bottom;
    }
    
    /* PIEDMONT / WINE DINNER (serif + bold, big, tight line-height) */
    .hero .hero-title{
      position: absolute;
      left: 50%;
      top: 10%;
      transform: translate(-50%, -10%) scale(0.95);
      background: none;
      color: #111;
      text-decoration: none;
      padding: 0;
      font-family: "Georgia","Times New Roman",serif;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .04em;
      font-size: clamp(32px, 6vw, 110px);
    }
    
    /* WINE DINNER (tall, white, single line) */
    .hero .hero-title-2{
      position: absolute;
      left: 50%;
      top: 23%;                  /* added line—does not change your other divs */
      transform: translate(-50%, -23%) scale(0.8);
      background: none;
      color: #fff;
      text-decoration: none;
      padding: 0;
      font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .06em;
      white-space: nowrap;       /* prevents the split */
      text-shadow: 0 4px 20px rgba(0,0,0,.45);
      font-size: clamp(40px, 10vw, 160px);
      line-height: 0.9;
    }
    
    /* Schedule pill */
    .hero .hero-sub{
      position:absolute; left:50%; top:60%; transform:translate(-50%,-60%);
      display:flex; flex-direction:column; align-items:center; gap:.4em;
      padding:20px 28px; border-radius:28px; text-align:center;
      background:rgba(0,0,0,.70); backdrop-filter:blur(2px);
      color:#fff; text-decoration:none; font-weight:700; letter-spacing:.02em;
      max-width:min(92vw,1100px); box-shadow:0 12px 30px rgba(0,0,0,.25);
      border:1px solid rgba(255,255,255,.08); text-transform:uppercase;
    }

    .hero .hero-sub{
      position: absolute;
      left: 50%;
      top: 42%;
      transform: translate(-50%, -42%) scale(0.48);
      transform-origin: center;
      background: rgba(0,0,0,.65);
      color: #fff;
      text-decoration: none;
      padding: 14px 20px;
      border-radius: 18px;
      font-weight: 700;
      letter-spacing: .02em;
      font-size: clamp(16px, 2.8vw, 36px);
      backdrop-filter: blur(1px);
      text-align: center;
    }
    
    /* Line 1: WEDNESDAY — very large */
    .hero .hero-sub .hs-day{
      font-size:clamp(26px,8.5vw,120px);
      line-height:1;
      letter-spacing:.06em;
    }
    
    /* Line 2: NOV 19TH AT 7PM — medium */
    .hero .hero-sub .hs-when{
      display:flex; gap:.35em; align-items:flex-end; line-height:1.05;
      font-size:clamp(18px,4.2vw,64px); font-weight:800;
    }
    .hero .hero-sub .hs-when .hs-month{ opacity:.95; }
    .hero .hero-sub .hs-when .hs-date{ letter-spacing:.03em; }
    .hero .hero-sub .hs-when .hs-date sup{
      font-size:.45em; top:-.6em; position:relative; margin-left:1px; text-transform:none;
    }
    .hero .hero-sub .hs-when .hs-at{ opacity:.9; }
    
    /* Line 3: $250 | PER PERSON — left big number, right stacked words */
    .hero .hero-sub .hs-price{
      display:grid; grid-template-columns:auto auto; align-items:end; gap:16px;
      margin-top:.2em;
    }
    .hero .hero-sub .hs-amount{
      font-size:clamp(32px,10vw,150px); line-height:.95; font-weight:900;
    }
    .hero .hero-sub .hs-dollar{
      font-size:.55em; position:relative; top:-.18em; margin-right:.04em; font-weight:800;
    }
    .hero .hero-sub .hs-per{
      display:flex; flex-direction:column; justify-content:center; line-height:.95;
      font-size:clamp(14px,3.2vw,44px); font-weight:800; letter-spacing:.03em;
      opacity:.92;
    }
    
    /* Optional tiny glow to mimic the image’s soft edge */
    .hero .hero-sub *{
      text-shadow:0 1px 2px rgba(0,0,0,.35);
    }
    
  }

  @media only screen and (min-height: 1000px) {
    .hero-img{
      width: 100%;
      height: 38em;
      object-fit: cover;
      vertical-align: bottom;
      }
  }
    






/* Menu Style */
@media only screen and (min-width: 800px) {
  .menu-section{
    display: none;
  }
}

.menu-section {
  padding: 40px 0;
  background: var(--white);
}

.menu-section .menu-grid {
  display: flex;
  justify-content: center;
}

.menu {
  width: 100%;
  max-width: 700px;   /* controls how large the menu card appears */
  height: auto;
  display: block;
  border-radius: 6px; /* optional — matches the polished look */
}


/* If you still place a logo inside the hero, keep this helper */
.logo{
  position:absolute; top: max(20px, env(safe-area-inset-top)); left:50%; transform:translateX(-50%);
  width:200px; max-width:60vw;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.5));
}

/* Layout container */
main{ max-width:840px; margin:40px auto; padding:0 20px }

/* ===== Full-bleed utilities for band sections ===== */
.full-bleed{
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.section-inner{
  max-width: 840px;
  margin: 0 auto;
  padding: 0 20px;   /* match main side padding */
}

/* About the Evening — true edge-to-edge brown band */
.details{
  background: var(--brown);
  color: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none; 
  padding: 28px 0;                 /* vertical rhythm; horizontal via .section-inner */
  padding-top: max(28px, env(safe-area-inset-top));
}
.details h2{ margin: 0 0 8px 0; color:#fff }
.details p{ color: rgba(255,255,255,.92); margin: 0 }
.bullets{ margin:12px 0 0 0; padding-left:20px }
.bullets li::marker{ color: rgba(255,255,255,.85) }

/* RSVP card — cream */
.card{
  background: var(--form-cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.card h2{ margin-top:10px;}

/* Form controls */
.grid{ display:grid; gap:16px }
@media (min-width:800px){ .grid{ grid-template-columns:1fr 1fr } }

label{ display:flex; flex-direction:column; gap:6px; margin-bottom:14px }
input, textarea, select{
  width:100%;
  padding:12px 14px;
  border:1.5px solid var(--border);
  border-radius:10px;
  font-size:16px;
  background:#fff; color:var(--ink);
  box-shadow: inset 0 1px 0 rgba(0,0,0,.02);
  min-height: 44px; /* tap target on iOS */
}
input::placeholder, textarea::placeholder{ color:#9aa1a8; opacity:1 }
input:focus, textarea:focus, select:focus{
  outline:3px solid #e9d7a5; border-color:#c8a573;
}
fieldset.inline{ border:0; padding:0; margin:8px 0 12px }
.radio{ display:inline-flex; align-items:center; gap:8px; margin-right:18px; padding:6px 10px; border-radius:8px }
.radio input{ width:18px; height:18px }
.error{ color:#b42318; min-height:18px }
.alert{
  margin-top:12px; padding:12px; border-radius:10px;
  background:#fff7ed; border:1px solid #fed7aa; color:#7c2d12;
}
.success{
  padding:20px; border-radius:12px;
  background:#eff8ff; border:1px solid #bfdbfe; margin-top:8px;
}
.calendar-links{ display:flex; gap:12px; margin-top:12px }
.calendar-links a{
  padding:10px 14px; border-radius:999px; border:1px solid var(--border);
  text-decoration:none; color:var(--ink);
}

/* Footer — white */
.footer{
  background:#fff;
  border-top:1px solid var(--border);
  width:  100%; margin:40px auto;
  padding:0 20px 40px 20px;
  text-align:center; color:var(--muted);
}
.fine{ font-size:12px }

/* Mobile polish */
@media (max-width:480px){
  .topnav-inner{ padding:10px 14px }
  main{ margin:28px auto; padding:0 16px }
  .card{ padding:18px; border-radius:14px }
  .hero{ min-height: 58vh; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  /* No hero button anymore; nothing special to reduce here */
}

/* Remove gap between the hero and the details band */
.hero + main { margin-top: 0; }

/* Center the content within the brown band */
.details .section-inner{
  text-align:center;
  max-width: 760px;   /* keeps lines readable */
  padding: 0 0px;    /* mirrors main side padding */
}

/* Keep bullets tidy while the overall block is centered */
.details .bullets{
  list-style-position: inside;
  padding-left: 0;
  margin: 12px auto 0 auto;
  display: inline-block;   /* centers the list block while bullets stay aligned */
  text-align: center;        /* preserves easy scanning of bullet text */
}

/* RSVP band */
.rsvp-band{
  background: var(--brown);
  color: rgb(0, 0, 0); 
  padding: 36px;
  padding-top: max(36px, env(safe-area-inset-top));
  padding-bottom: max(36px, env(safe-area-inset-bottom));
}

/* Size and center the card on the brown band */
.rsvp-band .card{
  margin: 0 auto;
  max-width: 620px; /* adjust as needed */
}

/* Shared CTA style (used by #submit) */
.cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px auto 0;            /* centers inside the card */
  min-width: 220px;
  min-height: 44px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;

  background: linear-gradient(180deg, #c98b3e 0%, #a86a1f 100%);
  color: #fff;
  box-shadow: var(--cta-top-shadow);
  transition: transform .12s ease, opacity .12s ease, filter .12s ease;
}
.cta:hover{ transform: scale(1.015) }
.cta:active{ transform: scale(.985) }
.cta:focus-visible{ outline: 3px solid #ffe3a3; outline-offset: 2px }

/* Optional: full-width on small screens */
@media (max-width: 1080px){
  .card .cta{ width: 80%; }
}

/* Centering helper for the submit container */
.centralizer{
  text-align:center;
  width:100%;
}
.centralizer .cta{ display:inline-block; }


/* Plain-text success blocks (no banner) */
#success-yes,
#success-no{
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}

/* Tidy the text spacing */
#success-yes h3, #success-no h3{ margin: 0 0 6px; font-size: 1.125rem; color: inherit; }
#success-yes p,  #success-no p { margin: 0 0 8px;  color: inherit; }

/* Keep the calendar links simple, inline text links */
#success-yes .calendar-links,
#success-no  .calendar-links{
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px;
}
#success-yes .calendar-links a,
#success-no  .calendar-links a{
  text-decoration: underline; color: inherit; font-weight: 600;
  padding: 0; border: 0; border-radius: 0; box-shadow: none;
}


.two-up-band{
  background: var(--nav-cream);
}

/* Mobile stacks */
@media (max-width: 799px){
  .two-up-band .row-inner{ 
    display:block;
    padding: 24px;
   }
  .desktop-menu-section{ display:none; }
  .two-up-band #rsvp .card{ height:auto; max-width: 620px; margin: 0 auto; }
}

/* Desktop: true 50/50, no inner max-width */
@media (min-width: 800px){
  .menu-section{ display: none; }              /* hide the separate mobile image block */

  .two-up-band .row-inner{
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;            /* 50/50 */
    align-items:stretch;
    gap: 10px;                                    /* no seam between panes */
    width: 100%;
    max-width: none;                            /* allow full-bleed width */
    padding: 0;                                 /* no side gutters inside */
    margin: 0;
  }

  .desktop-menu-section{
    display:block;
    position: relative;
    overflow: hidden;

  }

  .menu-fill{
    display:block;
    width:100%;
    height:100%;
    object-fit:filL;
    object-position:center;

  }

  #rsvp-section{ display:block; }
  #rsvp{
    display:flex;
    flex-direction:column;
    height:100%;
    padding: 36px;
    padding-right: 96px;
  }
  .two-up-band #rsvp.card,
  .two-up-band #rsvp .card{
    margin:0;
    width:100%;
    height:100%;                               /* card matches image column height */
    border-radius:0;                            /* flush edge to edge */
  }
}

@media (max-width:799px) {
  .hide-on-phone{
    display: none;
  }
  
}

@media (min-width:800px) {
  .hide-on-desktop {
    display: none;
  }
  
}

.brown-band{
  background: var(--brown);
  height: 20px;
  

}