/* ==========================================================================
   GRIME TO GLORY — grimetoglory.co.uk
   Palette & type sampled from the print flyer:
   ink #0E0B0C · pink #CB235C · gold #B08A3C · paper #EFE9DC
   Display: Permanent Marker · Headings: Anton · Body: Karla
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Permanent Marker";
  src: url("../assets/fonts/permanent-marker-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Anton";
  src: url("../assets/fonts/anton-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("../assets/fonts/karla-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("../assets/fonts/karla-italic-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0E0B0C;
  --ink-soft: #171215;
  --pink: #CB235C;
  --pink-bright: #F2679A;
  --pink-deep: #8F1A42;
  --gold: #B08A3C;
  --gold-bright: #D4AF5E;
  --paper: #EFE9DC;
  --paper-shade: #DFD8C8;
  --white: #FBF7F1;
  --text: #E9E2D9;
  --text-dim: #B7AEA5;
  --text-on-paper: #2B2622;
  --text-on-paper-soft: #4A423B;

  --font-marker: "Permanent Marker", "Comic Sans MS", cursive;
  --font-caps: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Karla", "Segoe UI", sans-serif;

  --fs-hero-1: clamp(1.7rem, 6.2vw, 3.9rem);
  --fs-hero-2: clamp(2.5rem, 11vw, 6.6rem);
  --fs-h2: clamp(2rem, 5.6vw, 3.2rem);
  --fs-h3: clamp(1.15rem, 2.6vw, 1.4rem);

  --torn-a: polygon(1% 5%, 9% 1%, 23% 4%, 38% 0%, 55% 3%, 69% 1%, 84% 4%, 98% 2%, 99% 13%, 97% 29%, 100% 46%, 98% 63%, 100% 79%, 97% 95%, 83% 98%, 68% 95%, 51% 99%, 35% 96%, 19% 100%, 6% 97%, 1% 92%, 3% 75%, 0% 57%, 2% 39%, 0% 21%);
  --torn-b: polygon(2% 3%, 14% 0%, 29% 4%, 45% 1%, 61% 4%, 76% 0%, 90% 3%, 99% 7%, 97% 22%, 100% 38%, 98% 55%, 100% 71%, 98% 88%, 95% 98%, 80% 96%, 64% 100%, 48% 97%, 31% 99%, 16% 96%, 4% 99%, 0% 89%, 2% 72%, 0% 54%, 3% 37%, 1% 18%);

  --wobble: 14px 4px 16px 5px / 5px 15px 6px 14px;
  --shadow-card: drop-shadow(0 12px 22px rgb(0 0 0 / 0.5));
  --header-h: 4.25rem;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background-color: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* print-style grain over the whole page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../assets/img/noise.svg") repeat;
  opacity: 0.05;
  pointer-events: none;
  z-index: 2000;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }

a { color: var(--pink-bright); }

:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--pink); color: var(--white); }

.container {
  width: min(100% - 2.5rem, 1120px);
  margin-inline: auto;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 3000;
  background: var(--paper);
  color: var(--text-on-paper);
  font-family: var(--font-caps);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 0.7em 1.2em;
}
.skip-link:focus { top: 1rem; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-caps);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.82rem;
  color: var(--gold-bright);
}
.eyebrow .icon { color: var(--pink); width: 1.1em; height: 1.1em; }

.section-title {
  font-family: var(--font-caps);
  font-weight: 400;
  text-transform: uppercase;
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: 0.015em;
  color: var(--white);
  margin-top: 0.5rem;
}

/* marker accent: hand-lettered coloured words inside headings */
.marker {
  font-family: var(--font-marker);
  text-transform: none;
  font-size: 1.06em;
  line-height: 1;
  display: inline-block;
  rotate: -2deg;
  translate: 0 0.03em;
}
.marker-gold { color: var(--gold-bright); }
.marker-pink { color: var(--pink-bright); }

/* brush stroke painted behind a phrase */
.brush {
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: 0.1em 0.28em 0.16em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.brush-pink { background-image: url("../assets/img/brush-pink.svg"); }
.brush-gold { background-image: url("../assets/img/brush-gold.svg"); }

.section {
  position: relative;
  padding-block: clamp(4rem, 9vw, 6.5rem);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.section-intro {
  margin-top: 1rem;
  color: var(--text-dim);
  font-size: 1.05rem;
}

/* paint splats */
.splat {
  position: absolute;
  aspect-ratio: 1;
  background: url("../assets/img/splat-pink.svg") no-repeat center / contain;
  pointer-events: none;
  z-index: 0;
}

/* glitter sparkles — invisible at rest; they only appear via the twinkle
   animation (Motion section), so reduced-motion users never see clutter */
.spark {
  position: absolute;
  width: 22px;
  height: 22px;
  color: var(--gold-bright);
  fill: currentColor;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}
.spark-1 { top: 16%; left: 55%; }
.spark-2 { top: 38%; right: 4%; color: var(--pink-bright); width: 16px; height: 16px; }
.spark-3 { top: 58%; left: 42%; color: var(--white); width: 14px; height: 14px; }
.spark-4 { top: 6%; left: 28%; width: 17px; height: 17px; }
.spark-5 { top: -14px; left: 10%; }
.spark-6 { top: 34%; right: 6%; color: var(--pink-bright); width: 15px; height: 15px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-caps);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.1;
  text-decoration: none;
  text-align: center;
  padding: 0.9em 1.5em;
  border: 0;
  cursor: pointer;
  rotate: -1deg;
  transition: rotate 0.18s ease, translate 0.18s ease;
}
.btn:hover { rotate: 0deg; translate: 0 -2px; }
.btn:active { translate: 0 1px; }
.btn .icon { width: 1.15em; height: 1.15em; }

.btn-primary {
  color: var(--white);
  background: url("../assets/img/brush-pink.svg") no-repeat center / 100% 100%;
}
.btn-primary .icon { fill: currentColor; }

.btn-ghost {
  color: var(--white);
  border: 2px solid var(--paper);
  border-radius: var(--wobble);
  background: transparent;
}
.btn-ghost:hover { background: var(--paper); color: var(--ink); }

.btn-whatsapp {
  color: var(--ink);
  background: url("../assets/img/brush-gold.svg") no-repeat center / 100% 100%;
  font-weight: 400;
}
.btn-whatsapp .icon { fill: currentColor; }

.btn-lg { font-size: 1.1rem; padding: 1em 1.7em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgb(255 255 255 / 0.07);
}
/* The translucent blur lives on a pseudo-element: backdrop-filter on the
   header itself would make it the containing block for the fixed-position
   mobile nav overlay, collapsing the overlay to the header's box. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(10 8 9 / 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1rem;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.3em;
  text-decoration: none;
  font-family: var(--font-marker);
  font-size: 1.25rem;
  line-height: 1;
  margin-right: auto;
  padding-block: 0.6rem;
}
.logo-grime { color: var(--white); }
.logo-glory { color: var(--gold-bright); }
.logo-to {
  position: relative;
  color: var(--pink-bright);
  font-size: 0.72em;
}
.logo-crown {
  position: absolute;
  top: -0.95em;
  left: 50%;
  translate: -50%;
  width: 1.6em;
  height: 1.1em;
  color: var(--gold);
  rotate: -8deg;
  fill: currentColor;
}

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-caps);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--white);
  text-decoration: none;
  border: 2px solid var(--pink);
  border-radius: var(--wobble);
  padding: 0.45em 0.9em;
  white-space: nowrap;
}
.header-call .icon { color: var(--pink-bright); fill: currentColor; width: 1em; height: 1em; }
.header-call:hover { background: var(--pink); }
.header-call:hover .icon { color: var(--white); }

/* ---------- Navigation ----------
   Base styles are the no-JS fallback (plain inline list, all widths) and the
   desktop nav. The full-screen overlay only exists with JS at small widths. */
.nav-toggle {
  display: none;
  gap: 5px;
  padding: 0.75rem 0.5rem;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 1200;
}
.nav-toggle-bar {
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: rotate 0.25s ease, translate 0.25s ease, opacity 0.2s ease;
}
body.nav-open .nav-toggle-bar:nth-child(1) { rotate: 45deg; translate: 0 8px; }
body.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle-bar:nth-child(3) { rotate: -45deg; translate: 0 -8px; }
body.nav-open { overflow: hidden; }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
}
.site-nav a {
  font-family: var(--font-caps);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.15em;
}
.site-nav a:hover {
  color: var(--white);
  border-bottom-color: var(--pink);
}

@media (max-width: 859.98px) {
  .js .nav-toggle { display: grid; }

  .js .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: grid;
    place-items: center;
    background: rgb(11 8 9 / 0.96);
    opacity: 0;
    translate: 0 -0.75rem;
    visibility: hidden;
    transition: opacity 0.25s ease, translate 0.25s ease, visibility 0s 0.25s;
  }
  .js body.nav-open .site-nav {
    opacity: 1;
    translate: 0 0;
    visibility: visible;
    transition: opacity 0.25s ease, translate 0.25s ease, visibility 0s 0s;
  }

  .js .site-nav ul {
    display: grid;
    gap: 2.2rem;
    text-align: center;
  }
  .js .site-nav a {
    font-family: var(--font-marker);
    font-size: clamp(1.7rem, 7vw, 2.4rem);
    text-transform: none;
    letter-spacing: normal;
    color: var(--white);
    border-bottom: 0;
    display: inline-block;
  }
  .js .site-nav li:nth-child(odd) a { rotate: -2deg; }
  .js .site-nav li:nth-child(even) a { rotate: 1.5deg; }
  .js .site-nav a:hover { color: var(--pink-bright); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  overflow: clip;
  padding-block: clamp(4.5rem, 13vh, 9.5rem) clamp(4rem, 11vh, 7.5rem);
}

.splat-hero-1 {
  width: min(78vw, 560px);
  right: -14%;
  top: 0;
  opacity: 0.5;
}
.splat-hero-2 {
  width: 230px;
  left: -8%;
  bottom: -6%;
  opacity: 0.4;
  background-image: url("../assets/img/splat-gold.svg");
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 60rem;
}

.hero-eyebrow { margin-bottom: 1.75rem; }

.hero-title {
  font-family: var(--font-marker);
  font-weight: 400;
  line-height: 1.05;
  display: grid;
  gap: 0.35em;
  justify-items: start;
}
.hero-line { display: inline-block; }
.hero-line-1 {
  font-size: var(--fs-hero-1);
  color: var(--white);
  rotate: -1.5deg;
}
.hero-line-2 {
  font-size: var(--fs-hero-2);
  color: var(--pink);
  rotate: -2deg;
  text-shadow: 0.04em 0.05em 0 rgb(0 0 0 / 0.55);
}

/* hero load animations live in the Motion section at the end of this file */

.hero-sub {
  max-width: 34rem;
  margin-top: 2rem;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  color: var(--text);
}
.hero-sub strong { color: var(--pink-bright); font-weight: 700; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  margin-top: 2.25rem;
}

/* torn-paper sticker */
.sticker {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  /* inline margins keep the ::before torn edges (negative inset) on screen
     instead of being sliced flat by the page's overflow clip */
  margin: 3rem 1.7rem 0;
  rotate: 4deg;
  filter: var(--shadow-card);
}
.sticker::before {
  content: "";
  position: absolute;
  inset: -1rem -1.6rem -1.2rem;
  background: var(--paper);
  clip-path: var(--torn-b);
  z-index: -1;
}
.sticker-line-1 {
  font-family: var(--font-caps);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  color: var(--text-on-paper);
}
.sticker-line-2 {
  font-family: var(--font-marker);
  font-size: 1.15rem;
  color: var(--pink);
  rotate: -2deg;
}
.sticker-heart { color: var(--gold); width: 1.3em; height: 1.3em; margin-top: 0.3rem; stroke: currentColor; }

@media (min-width: 1020px) {
  .hero-sticker {
    position: absolute;
    right: 4%;
    bottom: 12%;
    margin-top: 0;
    rotate: 6deg;
  }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--paper);
  rotate: -1.2deg;
  width: 104vw;
  margin-left: -2vw;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.4);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-content {
  white-space: nowrap;
  font-family: var(--font-caps);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  color: var(--text-on-paper);
  padding-block: 0.8em;
}
.marquee-content em {
  font-style: normal;
  color: var(--pink);
  padding-inline: 0.55em;
}
@keyframes marquee {
  to { translate: -50% 0; }
}
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  gap: 1.75rem;
}

.service-card {
  position: relative;
  padding: 1.9rem 1.7rem 1.7rem;
  filter: var(--shadow-card);
  transition: rotate 0.25s ease, translate 0.25s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  clip-path: var(--torn-a);
  z-index: 0;
}
.service-card:nth-child(even)::before { clip-path: var(--torn-b); }
.service-card > * { position: relative; z-index: 1; }

.service-card:nth-child(odd) { rotate: -0.8deg; }
.service-card:nth-child(even) { rotate: 0.7deg; }
.service-card:hover { rotate: 0deg; translate: 0 -4px; }

.service-card .check {
  color: var(--pink);
  width: 1.9rem;
  height: 1.75rem;
  margin-bottom: 0.6rem;
  stroke: currentColor;
}
.service-card h3 {
  font-family: var(--font-caps);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: var(--fs-h3);
  color: var(--text-on-paper);
}
.service-card p {
  margin-top: 0.55rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-on-paper-soft);
}

@media (min-width: 580px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 940px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); gap: 2.25rem 2rem; }
}

/* ---------- About ---------- */
.about { background: var(--ink-soft); overflow: hidden; overflow: clip; }
.splat-about {
  width: 300px;
  left: -10%;
  top: 6%;
  opacity: 0.3;
  background-image: url("../assets/img/splat-gold.svg");
}

.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
  align-items: center;
}

.polaroid {
  justify-self: center;
  max-width: 420px;
  background: var(--paper);
  padding: 0.9rem 0.9rem 1.1rem;
  rotate: -2.2deg;
  filter: var(--shadow-card);
  position: relative;
}
.polaroid::before,
.polaroid::after {
  content: "";
  position: absolute;
  width: 6.5rem;
  height: 1.9rem;
  background: rgb(239 233 220 / 0.55);
  border: 1px solid rgb(255 255 255 / 0.25);
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.18);
}
.polaroid::before { top: -0.9rem; left: -1.8rem; rotate: -38deg; }
.polaroid::after { bottom: -0.7rem; right: -1.6rem; rotate: -42deg; }

.polaroid figcaption {
  font-family: var(--font-marker);
  font-size: 1rem;
  color: var(--text-on-paper);
  text-align: center;
  padding-top: 0.8rem;
  rotate: -1deg;
}

.about-copy p + p { margin-top: 1.1rem; }
.about-copy p { color: var(--text); }
.about-copy em { color: var(--pink-bright); font-style: italic; }

.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}
.about-chips li {
  font-family: var(--font-marker);
  font-size: 1.05rem;
  color: var(--gold-bright);
  border: 2px solid var(--gold);
  border-radius: var(--wobble);
  padding: 0.35em 0.9em;
}
.about-chips li:nth-child(2) { rotate: 1.5deg; color: var(--pink-bright); border-color: var(--pink); }
.about-chips li:nth-child(odd) { rotate: -1.5deg; }

@media (min-width: 880px) {
  .about-grid { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; }
  .polaroid { justify-self: start; }
}

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  gap: 1.1rem;
}
.why-item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.1rem 1.3rem;
  border: 2px solid rgb(255 255 255 / 0.16);
  border-radius: var(--wobble);
  background: rgb(255 255 255 / 0.03);
}
.why-item:nth-child(odd) { rotate: -0.9deg; }
.why-item:nth-child(even) { rotate: 0.8deg; }
.why-item .icon {
  width: 2rem;
  height: 2rem;
  color: var(--pink-bright);
  stroke: currentColor;
}
.why-item p {
  font-family: var(--font-caps);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--text);
}

@media (min-width: 700px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1020px) {
  .why-grid { grid-template-columns: repeat(5, 1fr); }
  .why-item {
    flex-direction: column;
    text-align: center;
    gap: 0.9rem;
    padding: 1.6rem 1.1rem;
  }
  .why-item p { font-size: 0.9rem; }
}

/* ---------- Areas ---------- */
.areas { background: var(--ink-soft); }

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1rem;
}
.area-tags li {
  font-family: var(--font-caps);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  color: var(--text);
  border: 2px solid var(--gold);
  border-radius: var(--wobble);
  padding: 0.5em 1.1em;
}
.area-tags li:nth-child(3n) { border-color: var(--pink); rotate: 1.2deg; }
.area-tags li:nth-child(3n + 1) { rotate: -1.2deg; }
.area-tags li:nth-child(5n) { rotate: 2deg; }

.areas-note {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 2rem;
  font-style: italic;
  color: var(--text-dim);
}
.areas-note .icon { color: var(--gold-bright); stroke: currentColor; }

/* ---------- Contact ---------- */
.contact { overflow: hidden; overflow: clip; }
.splat-contact {
  width: min(60vw, 460px);
  right: -12%;
  bottom: -8%;
  opacity: 0.35;
}
.contact .container { position: relative; z-index: 1; }

.contact-banner {
  position: relative;
  padding: 2.2rem clamp(1.4rem, 5vw, 3.5rem);
  margin-inline: auto;
  max-width: 54rem;
  rotate: -1.3deg;
  filter: var(--shadow-card);
}
.contact-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  clip-path: var(--torn-b);
  z-index: 0;
}
.contact-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-caps);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 5.4vw, 3rem);
  line-height: 1.12;
  color: var(--text-on-paper);
  text-align: center;
}
.contact-title .mess {
  font-family: var(--font-marker);
  color: var(--pink);
  text-transform: none;
  font-size: 1.1em;
  display: inline-block;
  rotate: -2.5deg;
}

.contact-sub {
  text-align: center;
  max-width: 34rem;
  margin: 2.25rem auto 0;
  color: var(--text);
  font-size: 1.1rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}

/* the quote form only works with JS (it composes a WhatsApp message);
   without JS the call/WhatsApp buttons above are the contact path */
html:not(.js) .quote-card { display: none; }

.quote-card {
  position: relative;
  max-width: 34rem;
  margin: 3.5rem auto 0;
  padding: 2.2rem clamp(1.4rem, 4vw, 2.4rem);
  filter: var(--shadow-card);
  rotate: 0.6deg;
}
.quote-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  clip-path: var(--torn-a);
  z-index: 0;
}
.quote-card > * { position: relative; z-index: 1; }

.quote-title {
  font-family: var(--font-marker);
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--text-on-paper);
  rotate: -1deg;
  margin-bottom: 1.4rem;
}

.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-family: var(--font-caps);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--text-on-paper);
  margin-bottom: 0.35rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text-on-paper);
  background: var(--white);
  border: 2px solid #433B34;
  border-radius: 6px 3px 7px 3px / 3px 7px 3px 6px;
  padding: 0.65em 0.8em;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 1px;
}
.field [aria-invalid="true"] {
  border-color: var(--pink-deep);
  outline: 2px solid var(--pink-deep);
  outline-offset: 0;
}
.field-error {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--pink-deep);
}
.field-error[hidden] { display: none; }

/* the gold focus ring vanishes on cream paper — use deep pink there */
.quote-card :focus-visible,
.contact-banner :focus-visible {
  outline-color: var(--pink-deep);
}
.field ::placeholder { color: #6B6258; opacity: 1; }
.field textarea { resize: vertical; }

.quote-card .btn { width: 100%; }

.form-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-on-paper-soft);
}
.form-note a { color: var(--pink-deep); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgb(255 255 255 / 0.08);
  background: #090708;
  padding-block: 3.5rem 2.5rem;
  text-align: center;
}

.footer-inner { display: grid; gap: 1.4rem; justify-items: center; }

.footer-logo {
  font-family: var(--font-marker);
  font-size: 1.9rem;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.3em;
}
.footer-logo .logo-to { font-size: 0.7em; }

.footer-tagline {
  font-family: var(--font-caps);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  color: var(--gold-bright);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.6rem;
}
.footer-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}
.footer-nav a:hover { color: var(--pink-bright); text-decoration: underline; }

.footer-contact {
  font-family: var(--font-caps);
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  display: flex;
  gap: 0.8em;
  align-items: center;
}
.footer-contact a { color: var(--white); text-decoration: none; }
.footer-contact a:hover { color: var(--pink-bright); }

.footer-small {
  font-size: 0.85rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35em;
}
.inline-heart {
  width: 1em;
  height: 1em;
  color: var(--pink);
  stroke: currentColor;
  display: inline-block;
  vertical-align: -0.12em;
}

/* ---------- Reveal on scroll ----------
   The full reveal/motion system lives in the Motion section at the end of
   this file, wrapped in prefers-reduced-motion: no-preference so reduced
   motion is the default, not an afterthought. Grid staggering is done in JS
   (batched IntersectionObserver entries), keeping hover transitions instant. */

/* ---------- Larger screens ---------- */
@media (min-width: 860px) {
  .site-nav ul { gap: 1.9rem; }
  .site-nav a { font-size: 0.95rem; }
}

@media (max-width: 420px) {
  .header-call span { display: none; }
  .header-call { padding: 0.55em; border-radius: 50%; }
  .header-call .icon { width: 1.15em; height: 1.15em; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .marquee-track { animation: none; }

  .btn,
  .service-card {
    transition: none;
  }
}

/* ==========================================================================
   Motion
   Every animation lives inside prefers-reduced-motion: no-preference —
   reduced-motion users get the finished, static page by construction.
   Reveal variants only define their PRE-state (under .reveal:not(.in));
   removing it lets each element spring back to its resting values.
   ========================================================================== */

@keyframes paint-in {
  from { clip-path: inset(-20% 105% -20% -5%); opacity: 0.3; }
  to   { clip-path: inset(-20% -5% -20% -5%); opacity: 1; }
}
@keyframes rise {
  from { opacity: 0; translate: 0 16px; }
  to   { opacity: 1; translate: 0 0; }
}
@keyframes slap {
  0%   { opacity: 0; scale: 1.8; }
  55%  { opacity: 1; scale: 0.94; }
  78%  { scale: 1.05; }
  100% { opacity: 1; scale: 1; }
}
@keyframes splat-in {
  0%   { scale: 0.2; filter: opacity(0); }
  65%  { scale: 1.07; filter: opacity(1); }
  100% { scale: 1; filter: opacity(1); }
}
@keyframes splat-drift {
  from { translate: 0 6vh; }
  to   { translate: 0 -6vh; }
}
@keyframes twinkle {
  0%, 52%, 100% { scale: 0; opacity: 0; rotate: 0deg; }
  14%           { scale: 1; opacity: 1; }
  26%           { scale: 0.85; opacity: 0.9; rotate: 18deg; }
  40%           { scale: 0.3; opacity: 0.3; }
}
@keyframes heartbeat {
  0%, 55%, 100% { scale: 1; }
  12%           { scale: 1.3; }
  24%           { scale: 1; }
  36%           { scale: 1.18; }
}
@keyframes crown-tip {
  0%, 100% { rotate: -8deg; translate: -50% 0; }
  45%      { rotate: -17deg; translate: -50% -3px; }
}
@keyframes jiggle {
  0%, 100% { rotate: -2.5deg; scale: 1; }
  25%      { rotate: -6deg; scale: 1.07; }
  50%      { rotate: 0.5deg; }
  75%      { rotate: -4deg; }
}

@media (prefers-reduced-motion: no-preference) {

  /* ----- hero load sequence: paint → splat → slap → twinkle ----- */
  .js .hero-eyebrow { animation: rise 0.5s ease both; }
  .js .hero-line { animation: paint-in 0.65s ease 0.15s both; }
  .js .hero-line-2 { animation-duration: 0.75s; animation-delay: 0.5s; }
  .js .hero-sub { animation: rise 0.6s ease 0.85s both; }
  .js .hero-actions { animation: rise 0.6s ease 1s both; }
  .js .hero-sticker { animation: slap 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s both; }
  .js .splat-hero-1 { animation: splat-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both; }
  .js .splat-hero-2 { animation: splat-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.75s both; }

  /* ----- glitter ----- */
  .spark { animation: twinkle 3.6s ease-in-out infinite; }
  .spark-1 { animation-delay: 1.5s; }
  .spark-2 { animation-delay: 2.3s; }
  .spark-3 { animation-delay: 3.1s; }
  .spark-4 { animation-delay: 1.9s; }
  .spark-5 { animation-delay: 0.6s; }
  .spark-6 { animation-delay: 1.8s; }

  /* ----- reveal on scroll ----- */
  .js .reveal {
    transition:
      opacity 0.6s ease,
      translate 0.65s cubic-bezier(0.22, 1, 0.36, 1),
      rotate 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
      scale 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .js .reveal:not(.in) {
    opacity: 0;
    translate: 0 20px;
  }

  /* section titles wipe clean, left to right */
  .js .section-head .section-title {
    clip-path: inset(-12% -8% -16% -4%);
    transition: clip-path 0.9s cubic-bezier(0.25, 1, 0.5, 1) 0.15s;
  }
  .js .section-head.reveal:not(.in) .section-title {
    clip-path: inset(-12% 106% -16% -4%);
  }

  /* service cards toss onto the pile, checkmarks draw themselves */
  .js .service-card.reveal:not(.in):nth-child(odd) { rotate: -5deg; translate: 0 32px; }
  .js .service-card.reveal:not(.in):nth-child(even) { rotate: 4deg; translate: 0 32px; }
  .js .service-card .check {
    stroke-dasharray: 42;
    transition: stroke-dashoffset 0.7s ease 0.3s;
  }
  .js .service-card.reveal:not(.in) .check { stroke-dashoffset: 42; }

  /* the polaroid develops */
  .js .polaroid.reveal:not(.in) { rotate: -6.5deg; scale: 0.95; }
  .js .polaroid img { transition: filter 1.2s ease 0.2s; }
  .js .polaroid.reveal:not(.in) img {
    filter: saturate(0.05) contrast(0.85) brightness(1.2);
  }

  /* why-us icons pop; playful hover */
  .js .why-item .icon {
    transition:
      scale 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
      rotate 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .js .why-item.reveal:not(.in) .icon { scale: 0; rotate: -25deg; }
  .why-item:hover .icon { scale: 1.15; rotate: 8deg; }

  /* area tags & about chips stamp in */
  .js .area-tags li,
  .js .about-chips li {
    transition:
      scale 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
      opacity 0.35s ease;
  }
  .js .area-tags.reveal:not(.in) li,
  .js .about-chips.reveal:not(.in) li { scale: 0.4; opacity: 0; }
  .js .area-tags li:nth-child(2),  .js .about-chips li:nth-child(2)  { transition-delay: 0.05s; }
  .js .area-tags li:nth-child(3),  .js .about-chips li:nth-child(3)  { transition-delay: 0.1s; }
  .js .area-tags li:nth-child(4)  { transition-delay: 0.15s; }
  .js .area-tags li:nth-child(5)  { transition-delay: 0.2s; }
  .js .area-tags li:nth-child(6)  { transition-delay: 0.25s; }
  .js .area-tags li:nth-child(7)  { transition-delay: 0.3s; }
  .js .area-tags li:nth-child(8)  { transition-delay: 0.35s; }
  .js .area-tags li:nth-child(9)  { transition-delay: 0.4s; }
  .js .area-tags li:nth-child(10) { transition-delay: 0.45s; }

  /* contact banner slaps in, "mess" jiggles once it lands */
  .js .contact-banner.reveal:not(.in) { rotate: 1.8deg; scale: 0.93; }
  .js .contact-banner.reveal.in .mess { animation: jiggle 0.7s ease 0.8s 2; }
  .js .quote-card.reveal:not(.in) { rotate: 2.6deg; scale: 0.97; }

  /* ----- ambient touches ----- */
  .inline-heart { animation: heartbeat 2.8s ease-in-out infinite; }
  .sticker-heart { animation: heartbeat 3.4s ease-in-out 2.4s infinite; }
  .logo:hover .logo-crown,
  .footer-logo:hover .logo-crown { animation: crown-tip 0.6s ease; }

  /* ----- scroll-driven splat parallax (progressive enhancement) ----- */
  @supports (animation-timeline: view()) {
    .splat-about,
    .splat-contact {
      animation: splat-drift linear both;
      animation-timeline: view();
    }
    .js .splat-hero-1 {
      animation:
        splat-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both,
        splat-drift linear both;
      animation-timeline: auto, view();
    }
    .js .splat-hero-2 {
      animation:
        splat-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.75s both,
        splat-drift linear both;
      animation-timeline: auto, view();
    }
  }
}

/* ---------- Prices (rendered from the booking system) ---------- */
.prices-fallback { color: var(--text-dim); }
.prices-fallback a { color: var(--pink-bright); }

.price-grid {
  display: grid;
  gap: 1.4rem;
}
@media (min-width: 560px) { .price-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 940px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }

.price-ticket {
  position: relative;
  padding: 1.6rem 1.5rem 1.4rem;
  filter: var(--shadow-card);
  transition: rotate 0.25s ease, translate 0.25s ease;
}
.price-ticket::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  clip-path: var(--torn-b);
  z-index: 0;
}
.price-ticket:nth-child(odd)::before { clip-path: var(--torn-a); }
.price-ticket > * { position: relative; z-index: 1; }
.price-ticket:nth-child(odd) { rotate: -0.7deg; }
.price-ticket:nth-child(even) { rotate: 0.8deg; }
.price-ticket:hover { rotate: 0deg; translate: 0 -4px; }

.price-name {
  font-family: var(--font-caps);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1.1rem;
  color: var(--text-on-paper);
}
.price-dur {
  font-family: var(--font-caps);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.78rem;
  color: var(--text-on-paper-soft);
  margin-top: 0.3rem;
}
.price-amount {
  display: inline-block;
  font-family: var(--font-marker);
  font-size: 2rem;
  color: var(--pink);
  rotate: -2deg;
  margin-top: 0.7rem;
}
.price-poa { font-size: 1.4rem; color: var(--gold); rotate: -1.5deg; }
.price-book {
  display: inline-block;
  margin-top: 0.6rem;
  margin-left: 1rem;
  font-family: var(--font-caps);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.9rem;
  color: var(--pink-deep);
  text-decoration: none;
  border-bottom: 2px solid var(--pink);
  padding-bottom: 0.1em;
}
.price-book:hover { color: var(--pink); }

.prices-note {
  margin-top: 2rem;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.prices-note a { color: var(--pink-bright); }

.contact-email {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-dim);
}
.contact-email a { color: var(--pink-bright); font-weight: 700; }
