/* Fun Snaps Photo Booth — V4 "Flash" / Enamel Booth colour world
   Painted-steel ground, porcelain type, enamel-red actions. Coin-op Photomaton
   cabinets and vitreous enamel signage: the booth as a machine, not as decor.
   Every colour on the site resolves from the tokens below. Never hardcode. */

:root{
  /* Neutral black. Every channel equal, so the ground carries no cast at all.
     An earlier warm ground read as sepia: warmth in a near-black is just an
     R-over-B gap, and past about four points it stops reading as warm black.
     The hero photograph supplies its own warmth and never needed the help. */
  --ink: #111111;
  --ink-rgb: 17,17,17;
  --ink-panel: #1a1a1a;
  --ink-panel-2: #242424;

  /* Porcelain enamel, the lettering colour on a painted sign. Deliberately warm
     against the neutral ground: warm lettering on cold steel is what enamel
     signage actually looks like. */
  --cream: #f4efe6;
  --cream-rgb: 244,239,230;

  /* Chrome. Trim and secondary text, neutral so it reads as metal rather than
     beige against the black; 7.7:1 on the ground. */
  --ink-soft: #a5a5a5;

  /* Enamel red. --accent carries solid buttons and takes --ink lettering on top
     at 4.7:1, so it is pitched bright enough to pass AA rather than sitting at
     the deeper sign red, which failed against both ink and porcelain.
     --accent-bright is the hover and the link colour on dark. */
  --accent: #e3452f;
  --accent-rgb: 227,69,47;
  --accent-bright: #f0563f;

  --flash: #fff4ec;
  --line: rgba(var(--cream-rgb),0.16);

  /* Single source of truth for page width. Every container uses these two. */
  --page-max: 1560px;
  --page-pad: clamp(20px, 3.5vw, 56px);

  --f-display: "Big Shoulders Display", ui-sans-serif, sans-serif;
  --f-mono: "Space Mono", ui-monospace, monospace;
  --f-body: "DM Sans", ui-sans-serif, sans-serif;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--ink);
  color:var(--cream);
  font-family:var(--f-body);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; }
.wrap, .wrap-wide{ max-width:var(--page-max); margin:0 auto; padding:0 var(--page-pad); }
.skip-link{ position:absolute; left:-999px; top:0; background:var(--accent); color:var(--ink); padding:12px 18px; z-index:200; }
.skip-link:focus{ left:12px; top:12px; }

.mono-tag{
  font-family:var(--f-mono);
  font-size:0.68rem;
  letter-spacing:0.09em;
  text-transform:uppercase;
  color:var(--ink-soft);
  margin:0;
}
.section-eyebrow{ margin-bottom:14px; color:var(--accent); }

/* ---------- Header ---------- */
.site-header{
  position:absolute; top:0; left:0; right:0; z-index:50;
}
.header-row{ display:flex; align-items:center; justify-content:space-between; gap:24px; padding:22px var(--page-pad); max-width:var(--page-max); margin:0 auto; }
.logo{ font-family:var(--f-display); font-weight:800; font-size:1.25rem; letter-spacing:0.02em; text-decoration:none; text-transform:uppercase; display:inline-flex; align-items:center; }
.logo-mark{ height:40px; width:auto; display:block; }
.main-nav{ display:flex; gap:clamp(16px,2.4vw,32px); font-family:var(--f-mono); font-size:0.72rem; letter-spacing:0.06em; text-transform:uppercase; }
.main-nav a{ text-decoration:none; border-bottom:1px solid transparent; padding-bottom:2px; transition:border-color .2s ease, color .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible{ border-color:var(--accent); color:var(--accent); }

/* ---------- Mobile nav ---------- */
.header-actions{ display:flex; align-items:center; gap:12px; flex-shrink:0; }
.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
  width:44px; height:44px;
  flex-shrink:0;
  background:transparent;
  border:1px solid rgba(var(--cream-rgb),0.4);
  border-radius:2px;
  cursor:pointer;
  padding:0;
}
.nav-toggle:hover{ border-color:var(--accent); }
.nav-toggle-line{
  display:block;
  width:18px; height:2px;
  background:var(--cream);
  transition:transform .25s cubic-bezier(.16,1,.3,1), opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

.mobile-nav{
  display:none;
  flex-direction:column;
  background:rgba(var(--ink-rgb),0.94);
  backdrop-filter:blur(6px);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.mobile-nav a{
  display:block;
  padding:16px clamp(20px,4vw,56px);
  font-family:var(--f-mono); font-size:0.82rem; letter-spacing:0.06em; text-transform:uppercase;
  color:var(--cream); text-decoration:none;
  border-bottom:1px solid var(--line);
  transition:color .2s ease, background .2s ease;
}
.mobile-nav a:last-child{ border-bottom:none; }
.mobile-nav a:hover, .mobile-nav a:focus-visible{ color:var(--accent); background:rgba(var(--accent-rgb),0.08); }

@media (max-width:860px){
  .nav-toggle{ display:flex; }
  .mobile-nav.is-open{ display:flex; }
}

/* ---------- Back to top ---------- */
.back-to-top{
  position:fixed; right:24px; bottom:24px; z-index:80;
  width:48px; height:48px;
  display:flex; align-items:center; justify-content:center;
  background:var(--accent); color:var(--ink);
  border:1px solid var(--accent);
  border-radius:2px;
  cursor:pointer;
  opacity:0; visibility:hidden; transform:translateY(12px);
  transition:opacity .25s ease, transform .25s ease, background .18s ease, visibility 0s linear .25s;
  box-shadow:0 8px 20px rgba(var(--ink-rgb),0.35);
}
.back-to-top.is-visible{
  opacity:1; visibility:visible; transform:translateY(0);
  transition:opacity .25s ease, transform .25s ease, background .18s ease;
}
.back-to-top:hover{ background:var(--accent-bright); }
.back-to-top-arrow{
  width:0; height:0;
  border-left:6px solid transparent;
  border-right:6px solid transparent;
  border-bottom:9px solid var(--ink);
}
@media (max-width:520px){
  .back-to-top{ right:16px; bottom:16px; width:44px; height:44px; }
}
@media (prefers-reduced-motion: reduce){
  .back-to-top{ transition:opacity .01ms, visibility .01ms; }
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  font-family:var(--f-mono); font-size:0.74rem; letter-spacing:0.08em; text-transform:uppercase;
  padding:15px 28px; text-decoration:none; border-radius:2px; border:1px solid var(--accent);
  cursor:pointer; transition:transform .18s ease, background .18s ease, color .18s ease;
}
.btn-solid{ background:var(--accent); color:var(--ink); }
.btn-solid:hover{ background:var(--accent-bright); transform:translateY(-1px); }
.btn-outline{ background:transparent; color:var(--cream); border-color:rgba(var(--cream-rgb),0.6); }
.btn-outline:hover{ background:var(--cream); color:var(--ink); border-color:var(--cream); }
.btn-outline-dark{ background:transparent; color:var(--cream); border-color:rgba(var(--cream-rgb),0.3); }
.btn-outline-dark:hover{ border-color:var(--accent); color:var(--accent); }
.btn-small{ padding:9px 18px; min-height:44px; }
.btn-wide{ width:100%; }
.btn-row{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; margin-top:32px; }
.link-arrow{ font-family:var(--f-mono); font-size:0.75rem; letter-spacing:0.05em; text-transform:uppercase; text-decoration:none; border-bottom:1px solid var(--accent); padding-bottom:2px; color:var(--accent); }
.link-arrow:hover{ color:var(--accent-bright); border-color:var(--accent-bright); }

/* ---------- Hero ---------- */
.hero{ position:relative; height:100vh; min-height:640px; overflow:hidden; }
.hero-placeholder{
  position:absolute; inset:0;
  /* v4 hero, converted from the 8MB source PNG: 211KB webp with a jpg fallback
     and a 1200px variant for phones. Preloaded in the page head, because a CSS
     background is discovered late and this is the LCP element. */
  background: url("../img/hero.jpg") center/cover no-repeat;
  background-image: -webkit-image-set(url("../img/hero.webp") type("image/webp"), url("../img/hero.jpg") type("image/jpeg"));
  background-image: image-set(url("../img/hero.webp") type("image/webp"), url("../img/hero.jpg") type("image/jpeg"));
  background-position:center; background-size:cover; background-repeat:no-repeat;
  animation: heroResolve 640ms cubic-bezier(.16,1,.3,1) 120ms both;
}
.hero-overlay{
  position:absolute; inset:0;
  background: linear-gradient(to top right, rgba(var(--ink-rgb),0.95) 0%, rgba(var(--ink-rgb),0.6) 38%, rgba(var(--ink-rgb),0.08) 72%, rgba(var(--ink-rgb),0) 100%);
  animation: heroReveal 640ms cubic-bezier(.16,1,.3,1) 120ms both;
}

/* Flash-strobe entrance: a camera flash fires, then the frame resolves into focus */
.flash-overlay{
  position:absolute; inset:0; z-index:5;
  background:var(--flash);
  pointer-events:none;
  animation: flashFade 700ms cubic-bezier(.16,1,.3,1) 60ms both;
}
@keyframes flashFade{
  0%{ opacity:1; }
  18%{ opacity:1; }
  100%{ opacity:0; }
}
@keyframes heroResolve{
  0%{ opacity:0; filter:blur(6px); transform:scale(1.045); }
  100%{ opacity:1; filter:blur(0); transform:scale(1); }
}
@keyframes heroReveal{
  0%{ opacity:0; transform:scale(1.045); }
  100%{ opacity:1; transform:scale(1); }
}
@keyframes heroFadeUp{
  0%{ opacity:0; transform:translateY(14px); }
  100%{ opacity:1; transform:translateY(0); }
}
@media (prefers-reduced-motion: reduce){
  .flash-overlay{ display:none; }
  .hero-placeholder, .hero-overlay, .exif, .hero-content, .trust-bar{
    animation:none !important; opacity:1 !important; filter:none !important; transform:none !important;
  }
}
.exif{
  position:absolute; top:96px; right:clamp(20px,4vw,56px); z-index:2;
  font-family:var(--f-mono); font-size:0.64rem; letter-spacing:0.05em; text-transform:uppercase;
  color:var(--ink-soft);
  background:var(--ink);
  padding:4px 8px;
  margin:0;
  animation: heroFadeUp 520ms cubic-bezier(.16,1,.3,1) 520ms both;
}
.hero-content{
  position:absolute; left:0; right:0; bottom:96px; z-index:2;
  max-width:var(--page-max); margin:0 auto; padding:0 var(--page-pad);
  animation: heroFadeUp 620ms cubic-bezier(.16,1,.3,1) 380ms both;
}
.display-xl{
  font-family:var(--f-display); font-weight:800; text-transform:uppercase;
  font-size:clamp(3rem, 8vw, 6.5rem); line-height:0.92; letter-spacing:0; margin:0;
  max-width:14ch;
}
.hero-lede{ max-width:42ch; color:rgba(var(--cream-rgb),0.82); font-size:1.05rem; margin-top:20px; }

.trust-bar{
  position:absolute; left:0; right:0; bottom:0; z-index:3;
  background:rgba(var(--ink-rgb),0.82);
  border-top:1px solid var(--line);
  backdrop-filter:blur(4px);
  animation: heroFadeUp 520ms cubic-bezier(.16,1,.3,1) 620ms both;
}
.trust-bar-inner{
  display:flex; align-items:center; gap:12px; flex-wrap:wrap;
  padding:16px clamp(20px,4vw,56px);
  font-family:var(--f-mono); font-size:0.68rem; letter-spacing:0.06em; text-transform:uppercase;
  color:var(--ink-soft);
}
.trust-bar-inner .dot{ color:var(--accent); }

/* ---------- Sections rhythm ---------- */
section{ padding:clamp(56px,9vw,110px) 0; }
.section-head{ max-width:640px; margin-bottom:clamp(36px,5vw,56px); }
.display-lg{
  font-family:var(--f-display); font-weight:800; text-transform:uppercase;
  font-size:clamp(2.2rem, 4vw, 3.6rem); line-height:1; margin:0;
}
.display-md{
  font-family:var(--f-display); font-weight:800; text-transform:uppercase;
  font-size:clamp(1.9rem, 3.4vw, 2.8rem); line-height:1.02; margin:0;
}

/* ---------- Intro ---------- */
.intro{ border-bottom:1px solid var(--line); }
.intro-grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,5vw,64px); align-items:start; }
.intro-grid p{ color:var(--ink-soft); font-size:1.05rem; max-width:56ch; margin:0; }
.intro-grid p a{ color:var(--accent); text-decoration:underline; text-underline-offset:2px; }
.intro-grid p a:hover{ color:var(--accent-bright); }

/* ---------- Process ---------- */
.process{ background:var(--ink-panel); border-bottom:1px solid var(--line); }
.process-grid{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:28px; }
.step-num{ font-family:var(--f-mono); color:var(--accent); font-size:0.85rem; }
.process-step h3{ font-family:var(--f-display); font-weight:800; text-transform:uppercase; font-size:1.6rem; margin:10px 0 8px; }
.process-step p{ color:var(--ink-soft); margin:0; font-size:0.94rem; }

/* ---------- Packages ---------- */
.packages{ border-bottom:1px solid var(--line); }
.package-grid{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:2px; background:var(--line); }
.package-card{
  background:var(--ink); padding:32px 26px; display:flex; flex-direction:column; gap:14px;
  border:1px solid transparent;
}
.package-card-featured{
  background:var(--ink-panel-2);
  border-color:var(--accent);
  box-shadow:0 16px 40px rgba(var(--ink-rgb),0.45);
}

.package-badge-row{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.package-badge{
  display:inline-flex; align-items:center;
  font-family:var(--f-mono); font-size:0.68rem; letter-spacing:0.08em; text-transform:uppercase;
  padding:4px 12px; border-radius:999px;
  background:rgba(var(--cream-rgb),0.08); color:var(--ink-soft); border:1px solid var(--line);
}
.package-badge-featured{ background:var(--accent); color:var(--ink); border-color:var(--accent); }
.popular-badge{
  font-family:var(--f-mono); font-size:0.62rem; letter-spacing:0.06em; text-transform:uppercase;
  padding:4px 10px; border-radius:999px;
  background:rgba(var(--accent-rgb),0.14); color:var(--accent); border:1px solid rgba(var(--accent-rgb),0.4);
}

.package-header{ display:flex; flex-direction:column; gap:2px; }
.package-price{
  font-family:var(--f-display); font-weight:800; font-size:2.4rem; line-height:1;
  color:var(--accent); margin:0;
}
.package-duration{
  font-family:var(--f-mono); font-size:0.72rem; letter-spacing:0.06em; text-transform:uppercase;
  color:var(--ink-soft); margin:0;
}

.package-features{ list-style:none; margin:0; padding:0; display:grid; gap:8px; color:var(--ink-soft); font-size:0.92rem; flex:1; }
.package-features li{ position:relative; padding-left:22px; }
.package-features li::before{ content:"\2713"; position:absolute; left:0; top:0; color:var(--accent); font-weight:700; }
.packages-note{ margin:28px 0 0; color:var(--ink-soft); font-size:0.92rem; max-width:60ch; }

/* ---------- Gallery ---------- */
.gallery{ background:var(--ink-panel); border-bottom:1px solid var(--line); }
.gallery-grid{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:2px; }
.gallery-item{ margin:0; aspect-ratio:3/4; position:relative; overflow:hidden; }
.gallery-item img{ width:100%; height:100%; object-fit:cover; display:block; }
.gallery-item figcaption{
  position:absolute; left:10px; bottom:10px;
  font-family:var(--f-mono); font-size:0.62rem; letter-spacing:0.04em; text-transform:uppercase;
  color:rgba(var(--cream-rgb),0.75);
}

/* ---------- Testimonial ---------- */
.testimonial{ border-bottom:1px solid var(--line); }
.testimonial-grid{ display:flex; justify-content:center; }
blockquote{ margin:0; max-width:760px; text-align:center; }
blockquote p{
  font-family:var(--f-display); font-weight:600; text-transform:none;
  font-size:clamp(1.5rem, 2.6vw, 2.1rem);
  line-height:1.3; margin:0 0 22px;
}
blockquote footer a{ color:var(--ink-soft); text-decoration:none; transition:color .2s ease; }
blockquote footer a:hover{ color:var(--accent); }

/* ---------- CTA banner ---------- */
.cta-banner{ background:var(--ink-panel); }
.cta-grid{ display:grid; grid-template-columns:minmax(0,1fr) minmax(320px,420px); gap:56px; align-items:start; }
.quote-form{ display:grid; gap:16px; background:var(--ink); padding:28px; border:1px solid var(--line); }
.form-legend{ font-family:var(--f-mono); font-size:0.68rem; letter-spacing:0.05em; text-transform:uppercase; color:var(--ink-soft); margin:0; }
.required-mark{ color:var(--accent); }
.field{ display:grid; gap:8px; }
.field input, .field select, .field textarea{
  background:transparent; border:none; border-bottom:1px solid var(--line);
  color:var(--cream); font-family:var(--f-body); font-size:1rem; padding:8px 2px;
  border-radius:0; width:100%;
}
.field textarea{ resize:vertical; line-height:1.5; }
.field select{
  appearance:none;
  /* Chevron drawn as a token-coloured SVG, so it follows any palette change. */
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23a5a5a5' stroke-width='1.5'/></svg>");
  background-repeat:no-repeat; background-position:right 2px center;
  padding-right:22px; cursor:pointer;
}
.field select option{ background:var(--ink-panel); color:var(--cream); }
.field input::placeholder, .field textarea::placeholder{ color:var(--ink-soft); opacity:1; }
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--accent); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible{
  box-shadow:0 0 0 3px rgba(var(--accent-rgb),0.7);
}
.field input:invalid:not(:placeholder-shown), .field select:invalid:not(:focus){ border-color:var(--accent-bright); }

.form-consent{ font-size:0.78rem; line-height:1.5; color:var(--ink-soft); margin:0; }
.form-status{
  font-family:var(--f-mono); font-size:0.7rem; letter-spacing:0.04em; line-height:1.5;
  margin:0; min-height:1em; color:var(--ink-soft);
}
.form-status.is-ok{ color:var(--cream); }
.form-status.is-error{ color:var(--accent-bright); }

/* ---------- Footer ---------- */
.site-footer{ background:var(--ink); border-top:1px solid var(--line); padding-top:56px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr auto; gap:32px; align-items:start; padding-bottom:40px; }
.footer-logo{ font-size:1.3rem; display:block; margin-bottom:14px; }
.footer-logo-mark{ height:46px; width:auto; }
.footer-contact{ color:var(--ink-soft); font-size:0.92rem; margin:0; line-height:1.7; }
.footer-contact a{ color:var(--cream); text-decoration:none; }
.footer-contact a:hover{ color:var(--accent); }
.footer-nav, .footer-social{ display:flex; flex-direction:column; gap:12px; }
.footer-nav a, .footer-social a{ text-decoration:none; font-size:0.92rem; }
.footer-nav a:hover, .footer-social a:hover{ color:var(--accent); }
.footer-bottom{ display:flex; justify-content:space-between; border-top:1px solid var(--line); padding:18px 0; flex-wrap:wrap; gap:8px; }

/* ---------- Responsive ---------- */
@media (max-width:860px){
  .main-nav{ display:none; }
  .hero-content{ bottom:120px; }
  .display-xl{ font-size:clamp(2.6rem, 11vw, 4.5rem); }
  .exif{ display:none; }
  .trust-bar-inner{ font-size:0.6rem; gap:8px; }
  .intro-grid{ grid-template-columns:1fr; gap:20px; }
  .process-grid{ grid-template-columns:1fr 1fr; }
  .package-grid{ grid-template-columns:1fr; }
  .gallery-grid{ grid-template-columns:1fr 1fr; }
  .cta-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:520px){
  .footer-grid{ grid-template-columns:1fr; }
  .hero-content{ bottom:132px; }
}

/* ---------- Setups (open-air / enclosed / glam / 360) ---------- */
.setups{ padding:clamp(56px,8vw,104px) 0; background:var(--ink-panel); border-top:1px solid var(--line); }
.setup-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:1px; background:var(--line); border:1px solid var(--line); }
.setup-card{ background:var(--ink); padding:clamp(22px,2.4vw,30px); }
.setup-card h3{ font-family:var(--f-body); font-weight:500; font-size:1.05rem; margin:0 0 10px; color:var(--accent-bright); }
.setup-card h3 a{ color:inherit; text-decoration:none; border-bottom:1px solid rgba(var(--accent-rgb),0.45); }
.setup-card h3 a:hover{ border-color:var(--accent-bright); }
.setup-card p{ margin:0; font-size:0.92rem; line-height:1.55; color:rgba(var(--cream-rgb),0.86); }

/* ---------- Clients ---------- */
.clients{ padding:clamp(52px,7vw,88px) 0; border-top:1px solid var(--line); }
.client-logos{ list-style:none; margin:0 0 24px; padding:0; display:flex; flex-wrap:wrap; align-items:center; gap:clamp(28px,5vw,64px); }
.client-logos img{ height:34px; width:auto; opacity:0.72; filter:grayscale(1) brightness(0) invert(1); transition:opacity .2s ease; }
.client-logos img:hover{ opacity:1; }

/* ---------- Service areas ---------- */
.areas{ padding:clamp(52px,7vw,88px) 0; border-top:1px solid var(--line); background:var(--ink-panel); }
.areas-lede{ max-width:56ch; color:rgba(var(--cream-rgb),0.86); margin:0 0 28px; }
.area-links{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:10px; }
.area-links a{
  display:inline-block; font-family:var(--f-mono); font-size:0.72rem; letter-spacing:0.08em;
  text-transform:uppercase; text-decoration:none; color:var(--cream);
  border:1px solid var(--line); padding:11px 18px; transition:border-color .18s ease, color .18s ease;
}
.area-links a:hover, .area-links a:focus-visible{ border-color:var(--accent); color:var(--accent-bright); }

/* Hero: smaller source on phones. Must stay after the base .hero-placeholder
   rule above, or it loses the cascade to it. */
@media (max-width:900px){
  .hero-placeholder{
    background-image: -webkit-image-set(url("../img/hero-1200.webp") type("image/webp"), url("../img/hero.jpg") type("image/jpeg"));
    background-image: image-set(url("../img/hero-1200.webp") type("image/webp"), url("../img/hero.jpg") type("image/jpeg"));
  }
}
