:root {
  --navy: #0d2240;
  --navy-soft: #16325c;
  --ivory: #f6efe6;
  --ivory-deep: #efe3d4;
  --white: #fffdfb;
  --gold: #c89a2e;
  --chicken: #6a963c;
  --beef: #a4272e;
  --muted: #4d5b72;
  --line: rgba(13, 34, 64, 0.14);
  --error: #7a1e24;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --script: "Great Vibes", cursive;
  --shadow: 0 16px 40px rgba(13, 34, 64, 0.08);
  --header: 5.5rem;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy-soft); }
h1, h2, h3, legend {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(3rem, 7vw, 5.4rem); margin: 0 0 0.4rem; }
h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin: 0 0 0.75rem; }
h3 { font-size: 2rem; margin: 0 0 0.6rem; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.form-error:focus { outline: 3px solid var(--navy); outline-offset: 3px; }
.site-footer :focus-visible, .invite :focus-visible { outline-color: var(--ivory); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--navy);
  color: white;
  padding: 0.7rem 1rem;
  z-index: 30;
}
.skip-link:focus { top: 1rem; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 239, 230, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner, .wrap, .footer-inner {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}
.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; }
.logo-picture { display: contents; }
.logo { width: 84px; height: auto; }
.nav-toggle {
  display: none;
  min-height: 48px;
  padding: 0 1rem;
  border: 1px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font: 600 1rem/1 var(--sans);
  border-radius: 999px;
}
.site-nav ul, .site-footer nav ul {
  display: flex;
  gap: 0.4rem 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.site-nav a, .site-footer nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  padding: 0.4rem 0;
}
.site-nav a[aria-current="page"] { border-bottom: 2px solid var(--navy); }

.hero {
  position: relative;
  height: calc(100svh - var(--header));
  min-height: 640px;
  overflow: hidden;
  background: var(--navy);
}
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media picture { display: block; width: 100%; height: 100%; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; }
.hero-shade {
  background: linear-gradient(90deg, rgba(246, 239, 230, 0.94) 0%, rgba(246, 239, 230, 0.78) 30%, rgba(246, 239, 230, 0.22) 52%, rgba(246, 239, 230, 0) 66%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: min(40rem, 88%);
  padding: 2rem 6vw;
}
.hero-copy h1,
.hero-copy .script-lockup,
.hero-copy .tagline { width: 100%; }
.hero .script { font-size: clamp(3rem, 4.5vw, 4.6rem); line-height: 0.95; }
.hero .tagline { font-size: 1.25rem; }

.script-lockup { margin: 0.2rem 0 1rem; }
.script {
  display: block;
  font-family: var(--script);
  font-size: clamp(2.7rem, 5vw, 4.4rem);
  font-weight: 400;
  line-height: 1;
  color: var(--navy);
}
.gold-heart {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: min(16rem, 70%);
  margin-top: 0.15rem;
}
.gold-line { flex: 1; height: 1px; background: var(--gold); }

.band { padding: 4.5rem 0; }
.band-deep { background: var(--ivory-deep); }
.narrow { width: min(760px, calc(100% - 2rem)); }
.lede { font-size: 1.3rem; color: var(--muted); }
.center, .center-copy { text-align: center; }
.center-copy .script-lockup { display: inline-block; text-align: left; }
.tagline { color: var(--navy); }
.fine { color: var(--muted); font-size: 1rem; }
.page-intro { padding: 3.5rem 0 1rem; }
.subhead {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-top: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: white;
  font: 600 1.05rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--navy-soft); }
.btn-gold { background: var(--ivory); color: var(--navy); }
.btn-gold:hover { background: white; }
.btn:disabled { opacity: 0.7; cursor: wait; }

.product-grid, .gallery {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}
.product-grid, .gallery-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-2 { grid-template-columns: repeat(2, 1fr); }
.product-card {
  background: var(--white);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-card[data-accent="peanut"] { box-shadow: inset 0 4px 0 var(--gold), var(--shadow); }
.product-card[data-accent="chicken"] { box-shadow: inset 0 4px 0 var(--chicken), var(--shadow); }
.product-card[data-accent="beef"] { box-shadow: inset 0 4px 0 var(--beef), var(--shadow); }
.product-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(#fff, #f4ece3);
  border: 0;
  padding: 1rem;
  cursor: zoom-in;
  width: 100%;
}
a.product-photo { cursor: pointer; text-decoration: none; }
.product-img { width: auto; max-height: 460px; }
.product-body { padding: 0 1.25rem 1.5rem; }
.product-body h3 a { color: var(--navy); text-decoration: none; }
.label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.price { font-family: var(--serif); font-size: 1.8rem; margin-top: 0.4rem; }
.lightbox {
  width: min(920px, 92vw);
  border: 0;
  padding: 0;
  background: transparent;
}
.lightbox::backdrop { background: rgba(13, 34, 64, 0.86); }
.lightbox img { display: block; width: 100%; height: auto; background: white; }
.lightbox-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  min-height: 44px;
  padding: 0 0.8rem;
  border: 0;
  border-radius: 999px;
  background: var(--ivory);
  color: var(--navy);
  font: 600 1rem/1 var(--sans);
}

.invite {
  background: var(--navy);
  color: var(--ivory);
  text-align: center;
  padding: 4.5rem 1rem;
}
.invite h2, .invite p { color: var(--ivory); }

.frame {
  margin: 0;
  background: var(--white);
  padding: 0.7rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
}
.frame img { display: block; width: 100%; border-radius: 0.5rem; }
figcaption { padding: 0.7rem 0.3rem 0.2rem; color: var(--muted); font-size: 0.98rem; }
.story-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 1.2fr;
  gap: 2rem 3rem;
  align-items: start;
}
.story-copy p { font-size: 1.2rem; }
.story-note { max-width: 42rem; }
blockquote {
  margin: 1.2rem 0;
  padding: 0.2rem 0 0.2rem 1rem;
  border-left: 3px solid var(--gold);
}
blockquote p {
  font-family: var(--serif);
  font-size: 1.8rem;
  line-height: 1.25;
}
.closing-line { font-family: var(--serif); font-size: 1.8rem; }
.frame-support { max-width: 460px; margin: 0 auto; }
.end-cta { margin-top: 2rem; }
.city-list { columns: 2; padding-left: 1.2rem; }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.7fr);
  gap: 2rem;
  align-items: start;
}
.order-form, .sidebar, .success {
  background: var(--white);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  padding: 1.4rem;
}
.sidebar h2 { font-size: 2rem; }
.field, .qty-field { margin-bottom: 1rem; }
label, legend { font-weight: 600; }
.req { font-weight: 500; color: var(--muted); font-size: 0.92rem; }
input, select, textarea {
  width: 100%;
  margin-top: 0.35rem;
  min-height: 48px;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(13, 34, 64, 0.28);
  border-radius: 0.7rem;
  background: white;
  color: var(--navy);
  font: 1rem/1.4 var(--sans);
}
textarea { min-height: 8rem; resize: vertical; }
fieldset {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  margin: 0 0 1rem;
  padding: 0.9rem;
}
.choices, .qty-grid { display: grid; gap: 0.7rem; }
.choice { display: flex; align-items: center; gap: 0.75rem; min-height: 48px; font-weight: 500; }
.choice input { width: 1.25rem; height: 1.25rem; min-height: 1.25rem; margin: 0; flex: 0 0 auto; }
.qty { display: flex; align-items: center; gap: 0.5rem; }
.qty button {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--navy);
  background: white;
  color: var(--navy);
  font-size: 1.4rem;
}
.qty input { width: 5rem; text-align: center; }
.split { display: grid; grid-template-columns: 1.4fr 0.7fr 0.9fr; gap: 0.7rem; }
.subtotal { font-size: 1.35rem; }
.subtotal strong { font-family: var(--serif); font-size: 2rem; }
.price-note { color: var(--muted); font-family: var(--sans); font-size: 1rem; font-weight: 600; }
.error, .form-error { color: var(--error); font-size: 1rem; }
.error:empty, .form-error:empty { display: none; }
.form-error { font-weight: 700; }
.consent { margin: 0.5rem 0 1rem; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.privacy-note { font-size: 1rem; }
.legal h2 { font-size: 2.1rem; margin-top: 2rem; }
.success h2 { margin-top: 0; }
.preview-note {
  background: var(--white);
  border-left: 4px solid var(--navy);
  padding: 0.8rem 1rem;
}
.draft-flag {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--navy);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer {
  background: var(--navy);
  color: var(--ivory);
  padding: 3rem 0;
}
.site-footer a, .site-footer .script, .site-footer .tagline, .site-footer .fine { color: var(--ivory); }
.site-footer .script { font-size: 2.8rem; }
.site-footer nav a { color: var(--ivory); }
.footer-inner { display: grid; justify-items: center; text-align: center; }
.logo-footer { width: 120px; background: transparent; border-radius: 50%; display: block; }
.contact-links { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.est { letter-spacing: 0.08em; }

@media (max-width: 900px) {
  .product-grid, .gallery-3, .gallery-2, .contact-layout, .story-layout, .split {
    grid-template-columns: 1fr;
  }
  .city-list { columns: 1; }
  .frame-support { max-width: none; }
}
@media (max-width: 800px) {
  .hero { height: auto; min-height: 0; overflow: visible; background: var(--ivory); }
  .hero-media { position: static; }
  .hero-media picture { height: auto; }
  .hero-img { height: auto; object-fit: contain; object-position: center; }
  .hero-shade { display: none; }
  .hero-copy { height: auto; display: block; width: auto; padding: 1.5rem 1.25rem 2.5rem; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; }
  .header-inner { position: relative; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Approved brand-signature graphic and Our Story painting layout */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.banner-signature { width:min(100%, 650px); margin:0.3rem auto 1rem; }
.banner-signature img { width:100%; height:auto; display:block; }
.heritage-feature { display:grid; grid-template-columns:minmax(0, 1.8fr) minmax(0, 1fr); gap:1.5rem; align-items:start; margin-top:1.5rem; }
.heritage-support { display:grid; gap:1.5rem; }
.heritage-feature .frame { margin:0; }
.heritage-feature img { display:block; width:100%; height:auto; }
@media(max-width:700px) { .heritage-feature { display:flex; flex-direction:column; } .heritage-support { display:contents; } .heritage-support .frame:first-child { order:1; } .heritage-painting { order:2; } .heritage-support .frame:last-child { order:3; } }

/* Approved change #13: Our Story closing section only */
.story-finale { background: var(--navy); color: white; text-align: center; }
.story-finale h2 { color: white; }
.story-finale p { max-width: 60rem; margin: 1.25rem auto; }
.story-finale-tagline { font-family: var(--serif); font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 600; }
.story-finale .btn { width: auto; max-width: 100%; margin-top: 0.5rem; }
