/* Izzily Delicious — busyizzy2 */
@font-face { font-family: 'Shrikhand'; src: url('/fonts/shrikhand.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/fonts/figtree.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }

:root {
  --bg: #fffdf9;
  --bg-deep: #fdf3e7;
  --surface: #e8f6f4;
  --ink: #2b2024;
  --muted: #65555b;
  --line: #eadfd6;
  --mint: #7fd3cc;
  --mint-deep: #0f7f79;
  --berry: #b8434f;
  --berry-dark: #9c3540;
  --pink: #cc5e6a;
  --wood: #e3b98a;
  --display: 'Shrikhand', 'Georgia', serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-fast: 140ms;
  --dur: 220ms;
  --dur-reveal: 700ms;
  --radius: 18px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.6 var(--body); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--mint-deep); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0 0 .4em; letter-spacing: .005em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--mint-deep); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
.eyebrow { font: 700 .82rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--mint-deep); margin-bottom: 14px; }
.tbd { color: var(--muted); font-style: italic; }
.note { font-size: .92rem; color: var(--muted); margin: 12px 0 0; }

/* ---------- awning ---------- */
.awning {
  position: relative; height: 46px; z-index: 2;
  background: repeating-linear-gradient(90deg, var(--mint) 0 40px, #fff 40px 80px);
  filter: drop-shadow(0 5px 0 rgba(43, 32, 36, .07));
  transform-origin: top center;
}
.awning::after {
  content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 20px;
  background:
    radial-gradient(circle at 20px 0, var(--mint) 19.5px, transparent 20px) 0 0 / 80px 20px repeat-x,
    radial-gradient(circle at 60px 0, #fff 19.5px, transparent 20px) 0 0 / 80px 20px repeat-x;
}
.awning-sm { height: 26px; }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 10; }
.nav { display: flex; align-items: center; gap: 32px; padding: 30px 0 8px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 84px; height: 84px; }
.brand-name { font-family: var(--display); font-size: 1.25rem; line-height: 1; color: var(--berry); }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; position: relative; padding: 6px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--pink); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out); }
@media (hover: hover) { .nav-links a:hover::after { transform: scaleX(1); } }
.menu-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; padding: 12px; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; height: 2.5px; background: var(--ink); border-radius: 2px; margin: 6px 0; transition: transform var(--dur) var(--ease-out); }
.menu-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(4.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-4.25px) rotate(-45deg); }
.mobile-menu { display: grid; gap: 4px; padding: 8px 24px 24px; background: var(--bg); border-bottom: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.15rem; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 16px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.btn-berry { background: var(--berry); color: #fff; box-shadow: 0 4px 0 var(--berry-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-lg { min-height: 56px; padding: 16px 30px; font-size: 1.06rem; }
.btn-block { width: 100%; }
@media (hover: hover) {
  .btn-berry:hover { background: var(--berry-dark); transform: translateY(-2px); box-shadow: 0 6px 0 #7f2a33; }
  .btn-ghost:hover { background: var(--ink); color: #fff; }
}
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--berry-dark); }
.btn[disabled] { opacity: .6; cursor: default; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: 40px 0 72px; }
.hero h1 { max-width: 12ch; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.formerly { font-size: .95rem; color: var(--muted); margin: 0; }
.formerly::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); margin-right: 10px; vertical-align: 1px; }
.hero-media { margin: 0; position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: 999px 999px var(--radius) var(--radius); }
.hero-media::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 2.5px solid var(--mint); border-radius: 999px 999px var(--radius) var(--radius); z-index: -1; }

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: var(--bg); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font: 1.5rem/1 var(--display); padding: 0 28px; white-space: nowrap; display: flex; align-items: center; }
.marquee span::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); margin-left: 56px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { padding: clamp(72px, 9vw, 120px) 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p:last-child { color: var(--muted); }

/* ---------- treats / builder ---------- */
.treats { background: var(--surface); }
.builder { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.step { border: 0; padding: 0; margin: 0 0 40px; min-width: 0; }
.step legend { display: flex; align-items: center; gap: 12px; font: 1.5rem/1.2 var(--display); padding: 0; margin-bottom: 18px; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 1rem/1 var(--body); }
.treat-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.treat { position: relative; cursor: pointer; }
.treat input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.treat-card {
  display: grid; justify-items: center; gap: 6px; text-align: center; height: 100%;
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 22px 12px 18px;
  transition: border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.treat-card svg { width: 64px; height: 64px; transition: transform var(--dur-reveal) var(--ease-out); }
.treat-name { font-weight: 700; line-height: 1.25; }
.treat-price { font: 1.6rem/1 var(--display); color: var(--berry); margin-top: 4px; }
.treat-price small { font: 600 .82rem var(--body); color: var(--muted); margin-left: 2px; }
.treat input:checked + .treat-card { border-color: var(--ink); box-shadow: 0 6px 0 var(--ink); transform: translateY(-4px); }
.treat input:checked + .treat-card svg { transform: rotate(-8deg) scale(1.08); }
.treat input:focus-visible + .treat-card { outline: 3px solid var(--mint-deep); outline-offset: 3px; }
@media (hover: hover) { .treat:hover .treat-card { border-color: var(--mint-deep); } }
.s-ink { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.f-pink { fill: #f4b6bd; } .f-mint { fill: var(--mint); } .f-cream { fill: #fbe7c6; } .f-white { fill: #fff; } .f-wood { fill: var(--wood); }

.guests { display: flex; align-items: center; gap: 20px; background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.guests output { font: 1.4rem/1 var(--display); min-width: 6.5em; text-align: right; color: var(--ink); }
input[type="range"] { flex: 1; appearance: none; -webkit-appearance: none; height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--mint-deep) var(--fill, 21%), var(--line) var(--fill, 21%)); cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }

.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.extra { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; transition: border-color var(--dur) var(--ease-out); }
.extra input { width: 22px; height: 22px; accent-color: var(--berry); margin: 2px 0 0; flex: none; }
.extra span { font-size: .95rem; color: var(--muted); line-height: 1.4; }
.extra b { display: block; color: var(--ink); font-size: 1rem; }
.extra i { display: block; font-style: normal; font-weight: 700; color: var(--berry); margin-top: 2px; }
.extra:has(input:checked) { border-color: var(--ink); }

.receipt { position: sticky; top: 24px; }
.receipt-paper {
  background: #fff; padding: 28px 26px 40px; border-radius: 6px 6px 0 0;
  box-shadow: 0 18px 40px -18px rgba(43, 32, 36, .28);
  -webkit-mask: radial-gradient(circle at 10px 100%, transparent 9px, #000 9.5px) 0 0 / 20px 100% repeat-x;
          mask: radial-gradient(circle at 10px 100%, transparent 9px, #000 9.5px) 0 0 / 20px 100% repeat-x;
}
.receipt-title { font: 1.5rem/1 var(--display); margin: 0 0 18px; text-align: center; }
.receipt-lines { list-style: none; margin: 0; padding: 0 0 14px; border-bottom: 2px dashed var(--line); font-size: .95rem; }
.receipt-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.receipt-lines li span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.receipt-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 8px; }
.receipt-total span { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; }
.receipt-total strong { font: 2.6rem/1 var(--display); color: var(--berry); font-variant-numeric: tabular-nums; }
.receipt-fine { font-size: .85rem; color: var(--muted); margin: 0 0 20px; }

.more { margin-top: 24px; padding-top: 48px; border-top: 2px solid rgba(15, 127, 121, .18); display: grid; grid-template-columns: 1fr 2fr; gap: 16px 48px; }
.more h3 { grid-row: span 2; }
.more ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 36px; }
.more li { color: var(--muted); font-size: 1rem; line-height: 1.5; }
.more li b { color: var(--ink); }
.link-arrow { font-weight: 700; text-decoration: none; }
@media (hover: hover) { .link-arrow:hover { text-decoration: underline; } }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; grid-auto-rows: 290px; gap: 16px; }
.g { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--bg-deep); }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: 2 / 4; }
@media (hover: hover) { .g:hover img { transform: scale(1.04); } }

/* ---------- izzy ---------- */
.izzy { background: var(--bg-deep); }
.izzy-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.izzy-photo { margin: 0; }
.photo-pending { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); background: #fff; border: 2.5px dashed var(--mint); display: grid; place-content: center; justify-items: center; gap: 16px; color: var(--muted); font-weight: 600; }
.photo-pending img { width: 150px; opacity: .9; }
.izzy-copy p { font-size: 1.12rem; max-width: 46ch; }

/* ---------- booking ---------- */
.book-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.book-form { margin-top: 28px; display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff;
  font: 400 1rem/1.4 var(--body); color: var(--ink);
  transition: border-color var(--dur-fast) var(--ease-out);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mint-deep); box-shadow: 0 0 0 3px rgba(15, 127, 121, .18); }
.field input[aria-invalid="true"] { border-color: var(--berry); }
.quote-chip { background: var(--surface); border-radius: 12px; padding: 12px 16px; font-size: .95rem; color: var(--ink); border: 2px solid rgba(15, 127, 121, .25); }
.quote-chip button { border: 0; background: none; color: var(--mint-deep); font: 700 .9rem var(--body); cursor: pointer; padding: 0 0 0 8px; text-decoration: underline; }
.form-status { min-height: 1.6em; margin: 0; font-weight: 600; }
.form-status.ok { color: var(--mint-deep); }
.form-status.error { color: var(--berry); }
.contact-alt { margin-top: 20px; color: var(--muted); font-size: .95rem; }

.faq { background: var(--surface); border-radius: 24px; padding: 36px 32px 28px; }
.faq-h { font-size: 2rem; }
.faq details { border-bottom: 1.5px solid rgba(15, 127, 121, .2); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--ink), var(--ink)) center / 100% 2.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2.5px 100% no-repeat;
  transition: transform var(--dur) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); font-size: 1rem; margin: -4px 0 18px; }
.faq-terms { margin: 20px 0 0; font-size: .95rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-deep); padding-bottom: 32px; }
.footer-grid { display: grid; grid-template-columns: auto 1fr 1fr; gap: 48px; padding: 64px 0 40px; align-items: start; }
.footer-grid img { width: 120px; }
.footer-h { font: 1.3rem/1 var(--display); margin-bottom: 12px; }
.footer-grid p { color: var(--muted); font-size: 1rem; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 20px; font-size: .9rem; color: var(--muted); }
.footer-base p { margin: 0; }

/* ---------- legal page ---------- */
.legal { padding: 48px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.legal h2 { font-size: 1.6rem; margin-top: 2em; }
.legal p, .legal li { color: var(--muted); font-size: 1rem; }

/* ---------- motion (JS-gated, reduced-motion aware) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .site-header > .awning { animation: unroll 900ms var(--ease-out) both; }
  html.js .hero-in { opacity: 0; animation: rise var(--dur-reveal) var(--ease-out) both; animation-delay: calc(450ms + var(--d, 0) * 90ms); }
  html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); }
  html.js .reveal.in { opacity: 1; transform: none; }
  html.js .clip img { clip-path: inset(100% 0 0 0); transform: scale(1.12); transition: clip-path 1000ms var(--ease-in-out), transform 1400ms var(--ease-out); }
  html.js .clip.in img { clip-path: inset(0 0 0 0); transform: none; }
  html.js .gallery-grid .clip:nth-child(2) img { transition-delay: 120ms; }
  html.js .gallery-grid .clip:nth-child(3) img { transition-delay: 240ms; }
  html.js .gallery-grid .clip:nth-child(4) img { transition-delay: 160ms; }
}
@keyframes unroll { from { transform: scaleY(0); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  *, *::before, *::after { transition-duration: 1ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .builder { grid-template-columns: 1fr; }
  .receipt { position: static; max-width: 460px; }
  .more { grid-template-columns: 1fr; }
  .more h3 { grid-row: auto; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav { gap: 12px; padding-top: 24px; }
  .hero { grid-template-columns: 1fr; padding-top: 16px; }
  .hero-media { max-width: 520px; }
  .izzy-grid, .book-grid { grid-template-columns: 1fr; }
  .izzy-photo { max-width: 360px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .g-tall { grid-row: span 2; }
  .g-wide { grid-column: 1 / 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .wrap { width: min(var(--wrap), 100% - 36px); }
  .brand img { width: 64px; height: 64px; }
  .brand-name { font-size: 1.05rem; }
  .nav-cta { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .treat-options { grid-template-columns: 1fr; }
  .treat-card { grid-template-columns: 52px 1fr auto; justify-items: start; align-items: center; text-align: left; padding: 14px 16px; gap: 14px; }
  .treat-card svg { width: 48px; height: 48px; }
  .treat-price { margin: 0; }
  .extras, .more ul, .field-row { grid-template-columns: 1fr; }
  .guests { flex-wrap: wrap; }
  .guests output { text-align: left; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .g-tall { grid-row: span 1; }
  .g-wide { grid-column: auto; }
  .faq { padding: 28px 20px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .marquee span { font-size: 1.2rem; }
}
