/* =============================================================
   Kirstie's K9s — "The Boarding Report Card"
   Design system: see DESIGN.md. Warm paper, printed form vs
   biro-blue hand, taped snapshots, one rationed accent teal.
   ============================================================= */

:root {
  /* Colour */
  --accent: #0E7168;
  --accent-deep: #0A564F;
  --ink: #2B2622;
  --ink-soft: #6E6255;
  --pen-blue: #26527A;
  --paper: #F4EDDE;
  --paper-card: #FBF7EF;
  --paper-line: #E4D9C4;
  --tape: #D8C9A6;

  /* Type */
  --font-display: 'Bricolage Grotesque', 'Hanken Grotesk', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --font-hand: 'Caveat', 'Segoe Script', cursive;

  /* Spacing */
  --sp-xs: 8px;
  --sp-sm: 16px;
  --sp-md: 28px;
  --sp-lg: 48px;
  --sp-xl: 88px;

  /* Radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-photo: 2px;

  /* Shadow */
  --sh-rest: 0 2px 10px rgba(43, 38, 34, 0.08);
  --sh-photo: 0 8px 22px rgba(43, 38, 34, 0.18);
  --sh-lift: 0 14px 30px rgba(43, 38, 34, 0.22);

  --ease-settle: cubic-bezier(0.16, 0.84, 0.36, 1);
  --wrap: 1080px;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  /* subtle paper grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
figure { margin: 0; }
blockquote { margin: 0; }
a { color: inherit; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- Type primitives ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.display { font-family: var(--font-display); font-weight: 800; line-height: 1.0; letter-spacing: -0.03em; }
.headline { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; font-size: clamp(1.9rem, 3.5vw, 2.9rem); margin: 0; text-wrap: balance; }
.eyebrow, .label {
  font-family: var(--font-body); font-weight: 600; font-size: 0.8125rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft);
}
.hand { font-family: var(--font-hand); color: var(--pen-blue); font-weight: 600; line-height: 1.25; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink); max-width: 60ch; }
p { max-width: 68ch; }
.muted { color: var(--ink-soft); }
.tick { color: var(--accent); font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer; border: none;
  padding: 16px 30px; border-radius: var(--r-sm);
  transition: transform 0.18s var(--ease-settle), background 0.18s, box-shadow 0.18s;
}
.btn-primary {
  background: var(--accent); color: var(--paper-card);
  box-shadow: 0 3px 0 var(--accent-deep);
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 5px 0 #063d38; }
.btn-primary:active { transform: translateY(1px); box-shadow: 0 1px 0 #063d38; }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--paper-line); padding: 14.5px 26px;
}
.btn-ghost:hover { background: var(--paper-card); border-color: var(--ink-soft); }

/* ---------- Stamp ---------- */
.stamp {
  --rot: -7deg;
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  font-family: var(--font-display); font-weight: 800;
  text-transform: uppercase; color: var(--accent);
  border: 3px solid var(--accent); border-radius: 8px;
  padding: 8px 16px 6px; line-height: 0.95; letter-spacing: 0.02em;
  transform: rotate(var(--rot));
  mix-blend-mode: multiply; opacity: 0.9;
  box-shadow: inset 0 0 0 2px rgba(14, 113, 104, 0.35);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.6 1.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23r)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.6 1.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23r)'/%3E%3C/svg%3E");
  -webkit-mask-size: 180px; mask-size: 180px;
}
.stamp .stamp-big { font-size: clamp(1.15rem, 2.2vw, 1.7rem); }
.stamp .stamp-small { font-family: var(--font-body); font-weight: 700; font-size: 0.62rem; letter-spacing: 0.22em; }

/* ---------- Photo (taped snapshot) ---------- */
.photo {
  position: relative; display: flex; flex-direction: column;
  background: #fff; padding: 10px 10px 12px;
  border-radius: var(--r-photo); box-shadow: var(--sh-photo);
  transition: transform 0.25s var(--ease-settle), box-shadow 0.25s;
}
.photo img { width: 100%; object-fit: cover; border-radius: 1px; aspect-ratio: 1 / 1; background: var(--paper-line); }
.photo figcaption {
  margin-top: 8px; padding: 0 4px;
  font-family: var(--font-hand); color: var(--pen-blue);
  font-size: 1.3rem; line-height: 1.1; text-align: center;
}
.photo::before { /* tape */
  content: ""; position: absolute; top: -12px; left: 50%;
  width: 84px; height: 26px; transform: translateX(-50%) rotate(-2deg);
  background: linear-gradient(135deg, rgba(216,201,166,0.72), rgba(224,212,182,0.55));
  box-shadow: 0 1px 3px rgba(43,38,34,0.14);
}
.photo:hover { transform: rotate(0deg) scale(1.015); box-shadow: var(--sh-lift); }
/* Explicit heights in flexible columns: object-fit crops cleanly and avoids the
   aspect-ratio-in-fr-track height blow-up. Fixed-width photos (.stay) keep 1:1. */
.report-photos .photo img { height: clamp(150px, 19vw, 260px); aspect-ratio: auto; }
.feature .photo img { height: clamp(240px, 28vw, 360px); aspect-ratio: auto; }
.method-aside .photo img { height: clamp(220px, 24vw, 330px); aspect-ratio: auto; }

/* Tape variety — no two snapshots wear the same tape */
.report-photos .photo:nth-child(1)::before { transform: translateX(-50%) rotate(-3deg); }
.report-photos .photo:nth-child(2)::before {
  transform: translateX(-50%) rotate(3.5deg); width: 76px;
  background: repeating-linear-gradient(46deg, rgba(214,201,168,0.72) 0 5px, rgba(232,222,198,0.55) 5px 10px);
}
.report-photos .photo:nth-child(3)::before {
  transform: translateX(-50%) rotate(-5deg); width: 66px;
  background:
    radial-gradient(circle at 5px 5px, rgba(190,176,142,0.55) 1.5px, transparent 2px) 0 0 / 11px 11px,
    linear-gradient(rgba(214,201,168,0.74), rgba(226,214,186,0.6));
}
.note:nth-child(2)::before { left: auto; right: 26px; transform: rotate(3deg); }
.note:nth-child(3)::before { transform: rotate(-2deg);
  background: repeating-linear-gradient(45deg, rgba(214,201,168,0.68) 0 5px, rgba(232,222,198,0.5) 5px 10px); }
.note:nth-child(4)::before { left: auto; right: 30px; transform: rotate(5deg); }

/* Paperclip — a real metal clip on a couple of snapshots (no tape on these) */
.photo.clip::before { display: none; }
.photo.clip::after {
  content: ""; position: absolute; top: -19px; right: 20px; z-index: 6;
  width: 25px; height: 58px; transform: rotate(9deg);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 60'%3E%3Cpath d='M9 53 V17 a8 8 0 0 1 16 0 V45 a5.5 5.5 0 0 1-11 0 V21' fill='none' stroke='%23989898' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M9 53 V17 a8 8 0 0 1 16 0 V45' fill='none' stroke='%23d3d3d3' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
  filter: drop-shadow(0 2px 2px rgba(43, 38, 34, 0.28));
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 237, 222, 0.86);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--paper-line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-sm); min-height: 66px; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; }
.brand b { font-family: var(--font-display); font-weight: 800; font-size: 1.32rem; letter-spacing: -0.03em; color: var(--ink); }
.brand .paw { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 0.98rem; color: var(--ink); position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 2px;
  background: var(--accent); border-radius: 2px; transition: right 0.22s var(--ease-settle);
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { right: 0; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 10px 20px; font-size: 0.95rem; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--paper-line); border-radius: var(--r-sm); padding: 8px 10px; cursor: pointer; }
.nav-toggle svg { display: block; }

/* ---------- Section rhythm ---------- */
section { padding-block: clamp(56px, 9vw, var(--sp-xl)); }
.sec-head { margin-bottom: var(--sp-lg); max-width: 40ch; }
.sec-head .eyebrow { display: inline-block; margin-bottom: 12px; }
.sec-head p { margin-top: 12px; color: var(--ink-soft); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(32px, 5vw, 56px); }
.report {
  position: relative;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 3vw, 48px);
  background: var(--paper-card);
  border: 1px solid var(--paper-line); border-radius: var(--r-md);
  box-shadow: var(--sh-rest);
  padding: clamp(24px, 3.5vw, 46px);
}
.report::after { /* punched holes down the spine */
  content: ""; position: absolute; left: 50%; top: 24px; bottom: 24px; width: 0;
  border-left: 2px dashed var(--paper-line); transform: translateX(-0.5px);
  opacity: 0; /* hidden on desktop grid; decorative only on stacked */
}
.report-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1.5px solid var(--paper-line); padding-bottom: 14px; margin-bottom: 22px; }
.report-head .label { color: var(--ink-soft); }
.report-head .no { font-family: var(--font-hand); color: var(--pen-blue); font-size: 1.4rem; }
.report-title { margin: 0 0 6px; font-size: clamp(2.5rem, 5.2vw, 4.1rem); }
.report-title .paw { color: var(--accent); }
.report-sub { margin: 0 0 22px; color: var(--ink-soft); font-weight: 600; font-size: 1.05rem; }

.fields { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.fields li { display: grid; grid-template-columns: 120px 1fr; align-items: baseline; gap: 12px; border-bottom: 1px dotted var(--paper-line); padding-bottom: 9px; }
.fields .label { color: var(--ink-soft); }
.fields .ans { font-family: var(--font-hand); color: var(--pen-blue); font-size: 1.5rem; line-height: 1; }
.fields .ans .tick { font-family: var(--font-body); font-size: 0.95rem; margin-right: 6px; }

.report-lead { margin: 0 0 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.report-photos { position: relative; display: grid; gap: 20px; align-content: start; }
.report-photos .photo:nth-child(1) { transform: rotate(-2.5deg); }
.report-photos .photo:nth-child(2) { transform: rotate(2deg); margin-left: auto; width: 82%; }
.report-photos .photo:nth-child(3) { transform: rotate(-1.5deg); width: 78%; }
.hero-stamp {
  position: absolute; right: clamp(-6px, 1vw, 18px); top: clamp(-18px, -1vw, -8px);
  z-index: 5;
}

/* ---------- Services ---------- */
.stays { background:
  linear-gradient(0deg, rgba(228,217,196,0.35), rgba(228,217,196,0.35)); }
.feature {
  display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(24px, 4vw, 56px);
  align-items: center;
  background: var(--paper-card); border: 1px solid var(--paper-line);
  border-radius: var(--r-md); box-shadow: var(--sh-rest);
  padding: clamp(24px, 3.5vw, 44px); margin-bottom: var(--sp-md);
}
.feature .badge {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  background: var(--accent); color: var(--paper-card);
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.04em;
  padding: 5px 12px; border-radius: 100px; margin-bottom: 14px;
}
.feature h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.02em; margin: 0 0 10px; }
.feature .includes { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 11px; }
.feature .includes li { position: relative; padding-left: 30px; font-size: 0.98rem; color: var(--ink); line-height: 1.45; }
.feature .includes li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; font-size: 1.05rem; }
.feature .comeshome { margin-top: 20px; font-family: var(--font-hand); color: var(--pen-blue); font-size: 1.45rem; line-height: 1.15; }

/* Longer promise sits on two tidy lines; stamp sizes to its content */
.stamp.promise .stamp-big { font-size: clamp(0.95rem, 1.5vw, 1.18rem); text-align: center; line-height: 1.05; }
.stamp.promise .stamp-small { letter-spacing: 0.1em; }
.feature .photo { transform: rotate(1.8deg); }

.stay-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-md); }
.stay {
  display: grid; grid-template-columns: 118px 1fr; gap: 26px; align-items: start;
  background: var(--paper-card); border: 1px solid var(--paper-line);
  border-radius: var(--r-md); box-shadow: var(--sh-rest); padding: 22px;
}
.stay .photo { width: 118px; justify-self: start; padding: 6px 6px 8px; transform: rotate(-2deg); }
.stay .photo img { height: 104px; aspect-ratio: auto; }
.stay .photo figcaption { font-size: 1rem; margin-top: 5px; }
.stay h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; margin: 2px 0 8px; }
.stay p { margin: 0; font-size: 0.98rem; color: var(--ink); }

/* ---------- Method ---------- */
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.steps .dot {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--paper-card); border: 2px solid var(--accent);
  color: var(--accent); font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
}
.steps h3 { margin: 6px 0 4px; font-size: 1.2rem; font-family: var(--font-display); font-weight: 700; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.method-aside { position: relative; }
.method-aside .photo { transform: rotate(-2deg); max-width: 420px; margin-inline: auto; }
.method-note {
  margin-top: 26px; text-align: center;
}
.method-note .promise { margin-bottom: 14px; }
.method-note p { margin: 0 auto; color: var(--ink-soft); max-width: 46ch; }

/* ---------- Reviews ---------- */
.notes { columns: 2; column-gap: var(--sp-md); }
.note {
  break-inside: avoid; margin-bottom: var(--sp-md);
  background: var(--paper-card); border: 1px solid var(--paper-line);
  border-radius: var(--r-md); box-shadow: var(--sh-rest);
  padding: 26px 26px 22px; position: relative;
}
.note::before { /* tape corner */
  content: ""; position: absolute; top: -11px; left: 26px; width: 62px; height: 24px;
  transform: rotate(-4deg); background: rgba(216,201,166,0.7); box-shadow: 0 1px 2px rgba(43,38,34,0.12);
}
.note .quote { font-family: var(--font-body); color: var(--ink); font-size: 1rem; line-height: 1.58; margin: 6px 0 16px; }
.note .who { font-family: var(--font-hand); color: var(--pen-blue); font-size: 1.5rem; line-height: 1; }
.note .who::before { content: "— "; }
.note .rating { color: var(--accent); letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 8px; }

/* ---------- Gallery (pinboard of snapshots) ---------- */
.gallery .snaps { columns: 4; column-gap: 20px; }
.snap {
  position: relative; break-inside: avoid; margin: 0 0 20px;
  background: #fff; padding: 9px 9px 9px; border-radius: var(--r-photo);
  box-shadow: var(--sh-photo);
  transition: transform 0.28s var(--ease-settle), box-shadow 0.28s;
}
.snap img { width: 100%; height: auto; display: block; border-radius: 1px; background: var(--paper-line); }
.snap::before { /* a strip of tape */
  content: ""; position: absolute; top: -10px; left: 50%; width: 66px; height: 22px;
  transform: translateX(-50%) rotate(-2deg);
  background: linear-gradient(135deg, rgba(216,201,166,0.62), rgba(224,212,182,0.48));
  box-shadow: 0 1px 3px rgba(43,38,34,0.12);
}
.snap:nth-child(odd) { transform: rotate(-1.3deg); }
.snap:nth-child(even) { transform: rotate(1.1deg); }
.snap:nth-child(3n) { transform: rotate(0.4deg); }
.snap:nth-child(3n)::before { transform: translateX(-50%) rotate(3deg); }
.snap:nth-child(4n)::before { left: 30%; }
.snap:hover { transform: rotate(0) scale(1.02); box-shadow: var(--sh-lift); z-index: 2; }

/* ---------- Visit ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.visit-card {
  background: var(--paper-card); border: 1px solid var(--paper-line);
  border-radius: var(--r-md); box-shadow: var(--sh-rest); padding: clamp(24px, 3vw, 38px);
}
.visit-card dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 20px 0 0; }
.visit-card dt { font-weight: 700; color: var(--ink-soft); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; padding-top: 3px; }
.visit-card dd { margin: 0; font-family: var(--font-hand); color: var(--pen-blue); font-size: 1.5rem; line-height: 1.15; }
.map { border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-rest); border: 1px solid var(--paper-line); background: #eef1e6; }
.map svg { display: block; width: 100%; height: auto; }

/* ---------- Enquiry form ---------- */
.enquire { }
.form-card {
  background: var(--paper-card); border: 1px solid var(--paper-line);
  border-radius: var(--r-md); box-shadow: var(--sh-rest);
  padding: clamp(26px, 4vw, 52px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 44px);
}
.form-head .headline { margin-bottom: 10px; }
.form-head .contact { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.form-head .contact li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.form-head .contact .ic { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(14,113,104,0.1); color: var(--accent); }
.form-head .contact a { text-decoration: none; }
.form-head .contact a:hover { color: var(--accent); }

form.report-form { display: grid; gap: 22px; align-content: start; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font-family: var(--font-hand); color: var(--pen-blue); font-size: 1.4rem;
  background: transparent; border: none; border-bottom: 1.5px solid var(--paper-line);
  padding: 8px 2px; border-radius: 0; width: 100%;
}
.field textarea { font-family: var(--font-body); font-size: 1.02rem; color: var(--ink); line-height: 1.5; resize: vertical; min-height: 84px; border: 1.5px solid var(--paper-line); border-radius: var(--r-sm); padding: 10px 12px; }
.field select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236E6255' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); border-bottom-width: 2px; }
.field.err input, .field.err select, .field.err textarea { border-color: var(--accent); }
.field .msg { color: var(--accent); font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; min-height: 0; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-actions .fineprint { font-size: 0.82rem; color: var(--ink-soft); }

.form-thanks { display: none; text-align: left; }
.form-thanks.show { display: block; }
.form-thanks .stamp { margin-bottom: 18px; }
.form-thanks h3 { font-family: var(--font-display); font-size: 1.7rem; margin: 0 0 8px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--paper-line); padding-block: var(--sp-lg); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.footer .brand b { font-size: 1.1rem; }
.footer small { color: var(--ink-soft); }
.footer .promise-line { font-family: var(--font-hand); color: var(--pen-blue); font-size: 1.5rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px) rotate(var(--rev-rot, 0deg)); }
.reveal.in { opacity: 1; transform: translateY(0) rotate(var(--rest-rot, 0deg)); transition: opacity 0.6s var(--ease-settle), transform 0.7s var(--ease-settle); }

/* keep per-element resting rotation after reveal for photos */
.report-photos .photo.in:nth-child(1) { --rest-rot: -2.5deg; }
.report-photos .photo.in:nth-child(2) { --rest-rot: 2deg; }
.report-photos .photo.in:nth-child(3) { --rest-rot: -1.5deg; }

/* stamp press-in */
@keyframes stampIn {
  0% { opacity: 0; transform: rotate(var(--rot)) scale(1.5); }
  60% { opacity: 0.95; transform: rotate(var(--rot)) scale(0.94); }
  100% { opacity: 0.9; transform: rotate(var(--rot)) scale(1); }
}
.hero-stamp .stamp { animation: stampIn 0.6s var(--ease-settle) 0.35s both; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .report { grid-template-columns: 1fr; }
  .report-photos { grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; align-items: start; }
  .report-photos .photo:nth-child(n) { width: 100%; margin: 0; }
  .report-photos .photo img { height: 24vw; aspect-ratio: auto; }
  .hero-stamp { top: auto; bottom: -14px; right: 12px; }
  .feature { grid-template-columns: 1fr; }
  .feature .photo { max-width: 360px; }
  .gallery .snaps { columns: 3; }
  .method-grid { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
  .form-card { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-cta .btn { padding: 9px 16px; }
  .nav-toggle { display: inline-flex; }
  .nav[data-open="true"] .nav-links {
    display: flex; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--paper); border-bottom: 1px solid var(--paper-line);
    padding: 14px clamp(20px, 5vw, 40px) 20px;
  }
  .nav { position: sticky; }
  .stay-row { grid-template-columns: 1fr; }
  .notes { columns: 1; }
  .gallery .snaps { columns: 2; }
  .fields li { grid-template-columns: 100px 1fr; }
}
@media (max-width: 480px) {
  .report-photos { grid-template-columns: 1fr 1fr; }
  .report-photos .photo img { height: 31vw; }
  .stay { grid-template-columns: 1fr; }
  .stay .photo { width: 100%; max-width: 240px; }
  .stay .photo img { height: 150px; aspect-ratio: auto; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-stamp .stamp { animation: none; }
  * { transition-duration: 0.001ms !important; }
}
