/* =========================================================
   Snap Ann Go Photobooth — styles
   Colours and fonts are set once here. Change a value below
   and it updates everywhere on the site.
   ========================================================= */
:root {
  --white: #ffffff;
  --stone: #eeebe6;      /* soft backdrop grey for alternating sections */
  --slate: #2f3035;      /* charcoal, from the geometric backdrop */
  --ink: #1d1d20;        /* main text */
  --muted: #5c5c63;      /* secondary text */
  --gold: #b8913f;       /* brushed gold accent (decorative, large text) */
  --gold-deep: #84662a;  /* gold that is readable as small text on white */
  --gold-light: #d4b46a; /* gold for use on charcoal */
  --line: #d9d5ce;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --radius-btn: 999px;
  --radius-photo: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section-lede { max-width: 38em; color: var(--muted); font-size: 1.125rem; }
.small { font-size: .875rem; color: var(--muted); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link { position: absolute; left: 1rem; top: -3rem; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95rem 1.9rem;
  border-radius: var(--radius-btn);
  border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--white);
  font: 600 .95rem/1 var(--sans); letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-small { padding: .7rem 1.3rem; font-size: .875rem; }
.btn-on-dark { background: var(--gold-light); border-color: var(--gold-light); color: var(--slate); }
.btn-on-dark:hover { background: var(--white); border-color: var(--white); color: var(--slate); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand img { width: 56px; height: 56px; mix-blend-mode: multiply; }
.brand span { font-family: var(--serif); font-size: 1.3rem; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--gold-deep); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(4rem, 8vw, 6.5rem); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.hero-place { color: var(--gold-deep); font-weight: 600; font-size: .95rem; margin-bottom: 1.2rem; }
.hero-lede { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 2.6rem; }
.hero-facts { list-style: none; padding: 1.4rem 0 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1rem 2.6rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.hero-facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.9rem; color: var(--ink); line-height: 1.2; }

/* The signature element: a 2x6 photo strip coming out of the printer */
.hero-strip { position: relative; justify-self: center; width: min(100%, 290px); padding-top: 14px; }
.printer-slot {
  position: absolute; top: 0; left: -22px; right: -22px; height: 18px;
  background: var(--slate); border-radius: 9px; z-index: 2;
  box-shadow: inset 0 -5px 0 #1f2024;
}
.strip {
  position: relative; z-index: 1;
  background: var(--white);
  padding: 14px 14px 0;
  display: grid; gap: 10px;
  box-shadow: 0 30px 50px -20px rgba(47,48,53,.45), 0 2px 6px rgba(47,48,53,.12);
  transform-origin: top center;
  animation: print-out 2.4s cubic-bezier(.3,.7,.2,1) .3s both;
}
.strip img { aspect-ratio: 4 / 3.3; object-fit: cover; width: 100%; }
.strip-foot { margin: 0; padding: 14px 0 18px; text-align: center; font-size: .78rem; color: var(--muted); }
.strip-foot span { display: block; font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--gold-deep); line-height: 1.2; }
@keyframes print-out {
  from { transform: translateY(-104%); }
  to { transform: translateY(0); }
}
.hero-strip { clip-path: inset(0 -60px -120px -60px); }

/* ---------- Packages ---------- */
.packages { background: var(--stone); }
.package-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 2.6rem; }
.package {
  background: var(--white); padding: clamp(1.8rem, 4vw, 2.8rem);
  border: 1px solid var(--line); border-radius: 2px;
  display: flex; flex-direction: column;
}
.package-featured { border: 1.5px solid var(--gold); position: relative; }
.package-tag { font-size: .875rem; font-weight: 600; color: var(--gold-deep); margin-bottom: .6rem; }
.package h3 { font-size: 1.9rem; margin-bottom: .2rem; }
.price { font-size: 1.05rem; color: var(--muted); margin: .4rem 0 .2rem; }
.price-num { font-family: var(--serif); font-size: 3.4rem; color: var(--ink); line-height: 1; margin-right: .3rem; }
.price-note { font-size: .9rem; color: var(--gold-deep); margin-bottom: 1.6rem; }
.package-list { list-style: none; padding: 0; margin: 0 0 2rem; flex: 1; }
.package-list li { padding: .8rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; }
.package-list li span { color: var(--muted); font-size: .9rem; padding-top: .1rem; }
.package .btn { align-self: flex-start; }

.rates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 3.5rem; }
.rates-block h3 { font-size: 1.3rem; }
.rate-table { width: 100%; border-collapse: collapse; }
.rate-table th, .rate-table td { padding: .65rem 0; border-top: 1px solid var(--line); text-align: left; font-weight: 400; }
.rate-table td { text-align: right; font-weight: 600; }
.rates-block .small { margin-top: .8rem; }
.reserve-note { margin: 3rem 0 0; padding: 1.3rem 1.6rem; background: var(--white); border-left: 3px solid var(--gold); max-width: 44rem; }

/* ---------- Templates ---------- */
.templates { background: var(--slate); color: #e9e7e2; }
.templates h2 { color: var(--white); }
.templates-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.templates-copy p { color: #c9c7c1; max-width: 32em; }
.templates-copy .btn { margin-top: 1rem; }
.template-samples { display: grid; grid-template-columns: 1fr 1fr 1.35fr; gap: 1.4rem; align-items: end; }
.tpl { margin: 0; }
.tpl figcaption { font-size: .85rem; color: #b9b7b1; margin-top: .8rem; text-align: center; }
.tpl-paper { padding: 9px 9px 0; display: grid; gap: 7px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); }
.tpl-frame { aspect-ratio: 4/3.2; display: grid; place-items: center; background: #e4e1db; color: #7d7a73; font: 500 .8rem var(--sans); }
.tpl-names { margin: 0; text-align: center; line-height: 1.15; padding-top: 6px; }
.tpl-date { margin: 0; text-align: center; font-size: .7rem; padding-bottom: 12px; }

.tpl-wedding .tpl-paper { background: #fff; background-image: repeating-radial-gradient(circle at 110% 120%, transparent 0 22px, rgba(184,145,63,.35) 22px 23px); }
.tpl-wedding .tpl-names { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--gold-deep); }
.tpl-wedding .tpl-date { color: var(--muted); }

.tpl-birthday .tpl-paper { background: #f6c9d4; }
.tpl-birthday .tpl-frame { border: 3px solid #fff; }
.tpl-birthday .tpl-names { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; color: #8a1f4a; }
.tpl-birthday .tpl-date { color: #8a1f4a; }

.tpl-corporate .tpl-paper { background: #1f2024; padding: 10px 10px 0; }
.tpl-corporate .tpl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.tpl-corporate .tpl-frame { aspect-ratio: 3/4; background: #3a3b41; color: #a9a7a1; }
.tpl-birthday .tpl-frame { background: #fbe6ec; color: #a0566f; }
.tpl-wedding .tpl-frame { background: #efece6; }
.tpl-corporate .tpl-names { font-family: var(--sans); font-weight: 600; font-size: 1rem; color: var(--gold-light); border: 1px dashed rgba(212,180,106,.6); margin: 6px auto 4px; padding: 4px 14px; width: max-content; }
.tpl-corporate .tpl-date { color: #c9c7c1; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0 2.2rem; }
.filter {
  font: 500 .9rem var(--sans); padding: .6rem 1.15rem; border-radius: var(--radius-btn);
  border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer;
}
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.gallery-grid { columns: 3 280px; column-gap: 1.2rem; }
.g-item { margin: 0 0 1.2rem; break-inside: avoid; }
.g-item[hidden] { display: none; }
.g-open { padding: 0; border: 0; background: none; cursor: zoom-in; display: block; width: 100%; }
.g-open img { width: 100%; border-radius: var(--radius-photo); }
.g-item:nth-child(3n+2) .g-open img { aspect-ratio: 4/5; object-fit: cover; }
.g-item figcaption { font-size: .9rem; color: var(--muted); margin-top: .5rem; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(20,20,22,.92); }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox img { max-width: min(92vw, 900px); max-height: 82vh; object-fit: contain; }
.lightbox-caption { color: #ddd; margin-top: .8rem; text-align: center; }
.lightbox button { position: fixed; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 1.8rem; cursor: pointer; line-height: 1; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox-close { top: 1.2rem; right: 1.2rem; }
.lightbox-prev { left: 1.2rem; top: 50%; translate: 0 -50%; }
.lightbox-next { right: 1.2rem; top: 50%; translate: 0 -50%; }

/* ---------- About ---------- */
.about { background: var(--stone); }
.about-inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; max-width: 960px; }
.about-logo { width: clamp(180px, 24vw, 270px); background: var(--white); border-radius: 50%; padding: clamp(.8rem, 2vw, 1.4rem); box-shadow: 0 0 0 1px var(--line); }
.about-quote { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.35; color: var(--ink); margin-bottom: 1.4rem; }
.about-copy p:not(.about-quote) { color: var(--muted); max-width: 36em; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); margin-top: 2.6rem; align-items: start; }
.review-list { display: grid; gap: 2.2rem; }
.review { margin: 0; padding-top: 1.4rem; border-top: 2px solid var(--gold); }
.stars { color: var(--gold); letter-spacing: .15em; font-size: 1rem; margin: 0 0 .7rem; }
.review blockquote { margin: 0 0 1rem; font-size: 1.02rem; line-height: 1.65; color: var(--ink); }
.review-lead blockquote { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.5; }
.review figcaption { color: var(--muted); font-size: .92rem; font-weight: 500; }
.reviews-cta { margin-top: 3rem; }

/* ---------- Booking ---------- */
.book { background: var(--slate); color: #e9e7e2; }
.book h2 { color: var(--white); }
.book-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.book-intro p { color: #c9c7c1; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact-list li { padding: .75rem 0; border-top: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: 6.5rem 1fr; }
.contact-list span { color: #a9a7a1; font-size: .9rem; }
.contact-list a { color: var(--gold-light); }
.contact-list a:hover { color: var(--white); }

.book-form { background: var(--white); color: var(--ink); padding: clamp(1.6rem, 4vw, 2.6rem); border-radius: 2px; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 500; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem .9rem; border: 1px solid #c8c4bc; border-radius: 3px; background: var(--white); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field .error { color: #b3261e; font-size: .85rem; }
.check { display: flex !important; flex-direction: row; align-items: center; gap: .6rem; font-weight: 400 !important; cursor: pointer; }
.check input { width: 1.15rem; height: 1.15rem; accent-color: var(--gold-deep); }
.form-foot { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: .4rem; }
.form-status { margin: 0; font-size: .95rem; }
.form-status.is-ok { color: #1e6b3a; }
.form-status.is-err { color: #b3261e; }

/* ---------- Footer ---------- */
.site-footer { background: #26272b; color: #b9b7b1; padding: 3.5rem 0 2rem; font-size: .95rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-inner p { max-width: 30em; }
.footer-brand { font-family: var(--serif); font-size: 1.5rem; color: var(--white); margin-bottom: .4rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-links a { color: #e2e0da; text-decoration: none; }
.footer-links a:hover { color: var(--gold-light); }
.copyright { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }

.mobile-book { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  .hero-inner, .templates-inner, .book-inner { grid-template-columns: 1fr; }
  .hero-strip { width: min(70%, 260px); }
  .rates { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr; }
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .nav-toggle {
    display: grid; place-items: center; width: 46px; height: 46px; border: 0; background: none; cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 24px; height: 2px; background: var(--ink); position: relative; transition: transform .2s, background-color .2s;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -7px; }
  .nav-toggle-bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.25rem;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav .btn { margin-top: 1rem; }
  .brand span { font-size: 1.1rem; }
  .brand img { width: 48px; height: 48px; }

  .hero-strip { width: min(78%, 240px); }
  .package-grid { grid-template-columns: 1fr; }
  .package-list li { grid-template-columns: 1fr; gap: .1rem; }
  .rates { grid-template-columns: 1fr; gap: 2rem; }
  .template-samples { grid-template-columns: 1fr 1fr; }
  .tpl-corporate { grid-column: 1 / -1; max-width: 300px; justify-self: center; width: 100%; }
  .about-inner { grid-template-columns: 1fr; }
  .review-lead blockquote { font-size: 1.2rem; }
  .book-form { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2 150px; column-gap: .8rem; }
  .g-item { margin-bottom: .8rem; }

  .mobile-book {
    display: block; position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 40;
    background: var(--ink); color: var(--white); text-align: center; text-decoration: none;
    font-weight: 600; padding: 1rem; border-radius: var(--radius-btn);
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    transition: opacity .2s, transform .2s;
  }
  .mobile-book:hover, .mobile-book:focus-visible { color: var(--white); background: var(--gold-deep); }
  .mobile-book.is-hidden { opacity: 0; transform: translateY(150%); pointer-events: none; }
  .site-footer { padding-bottom: 6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Add-on checkboxes in the booking form and the small note in the add-ons table */
.addons { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.2rem; }
.addons legend { font-size: .9rem; font-weight: 500; padding: 0; margin-bottom: .5rem; }
.rate-note { color: var(--muted); font-size: .85rem; }
@media (max-width: 760px) { .addons { grid-template-columns: 1fr; } }

/* Price calculator in the booking form */
.estimate { background: var(--stone); padding: 1.3rem 1.4rem 1.1rem; border-left: 3px solid var(--gold); }
.estimate-title { font-size: 1.35rem; margin-bottom: .6rem; }
.estimate-empty { color: var(--muted); margin: 0 0 .6rem; font-size: .95rem; }
.estimate-lines { width: 100%; border-collapse: collapse; margin-bottom: .8rem; font-size: .95rem; }
.estimate-lines th, .estimate-lines td { padding: .5rem 0; border-top: 1px solid var(--line); font-weight: 400; text-align: left; vertical-align: top; }
.estimate-lines td { text-align: right; padding-left: 1rem; white-space: nowrap; }
.estimate-lines tfoot th, .estimate-lines tfoot td { border-top: 1.5px solid var(--ink); font-weight: 600; font-size: 1.05rem; padding-top: .7rem; }
.estimate-lines tfoot td { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; }
.estimate-note { margin: 0; }
.estimate [hidden] { display: none; }

.calc-link { margin: 1.6rem 0 0; }

/* Distance check next to the event location */
.location-row { display: flex; gap: .6rem; }
.location-row input { flex: 1; min-width: 0; }
.distance-btn { flex: none; }
.distance-result { margin: .2rem 0 0; min-height: 0; }
.distance-result:empty { display: none; }
.distance-result strong { color: var(--ink); }
.distance-result.is-err { color: #b3261e; }
.distance-result .credit { display: block; font-size: .75rem; margin-top: .2rem; }
@media (max-width: 760px) { .location-row { flex-direction: column; } .distance-btn { align-self: flex-start; } }
