/* Fernwhistle Mobile Dog Grooming, concept by Airen. Coloured pencil picture book on toned paper. */
:root {
  --paper: #d3cedc;
  --paper-2: #c9c3d3;
  --plum: #2b2440;
  --plum-2: #4a4062;
  --tomato: #c9432f;
  --tomato-dk: #a8321f;
  --cream: #f4ecdc;
  --apricot: #efc38f;
  --water: #8fb3c6;
  --maple: #d9772b;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .17 0 0 0 0 .14 0 0 0 0 .25 0 0 0 1.4 -.55'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>");
  --hatch: repeating-linear-gradient(-35deg, rgba(43,36,64,.07) 0 1px, transparent 1px 7px);
  --bar-h: 64px;
}
* { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 12px); }
body { overflow-x: clip; margin: 0; background: var(--paper); color: var(--plum); font: 400 18px/1.55 Asap, system-ui, sans-serif; }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; background-image: var(--grain); opacity: .12; mix-blend-mode: multiply; z-index: 60; }
img, canvas, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: Sansita, Georgia, serif; font-weight: 800; line-height: 1.08; margin: 0; letter-spacing: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--cream); color: var(--plum); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 6px; }

/* header */
.bar { position: fixed; inset: 0 0 auto 0; height: var(--bar-h); z-index: 50; display: flex; align-items: center; gap: 18px; padding: 0 clamp(16px, 2.6vw, 40px); background: rgba(211, 206, 220, .94); border-bottom: 1.5px solid rgba(43, 36, 64, .14); }
.wordmark { font: italic 800 30px/1 Sansita, Georgia, serif; color: var(--tomato); text-decoration: none; }
.concept-tag { font-size: 15px; color: rgba(43, 36, 64, .8); white-space: nowrap; }
.nav { margin-left: auto; display: flex; gap: 6px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 17px; padding: 10px 12px; border-radius: 8px; }
.nav a:hover { background: rgba(43, 36, 64, .07); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 12px; border: 0; background: var(--tomato); color: #fffdf8; font: 600 17px/1 Asap, sans-serif; text-decoration: none; cursor: pointer; box-shadow: 0 2px 0 var(--tomato-dk); transition: background-color .15s, transform .15s; touch-action: manipulation; }
.btn:hover { background: var(--tomato-dk); }
.btn:active { transform: translateY(1px); }
.btn-big { min-height: 58px; padding: 0 28px; font-size: 19px; border-radius: 14px; }
.btn-bar .short { display: none; }
.btn { white-space: nowrap; }

/* the film */
.visit { position: relative; }
html.motion .visit { height: 1400vh; height: 1400svh; }
.stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--paper); }
html.motion .stage { position: sticky; top: 0; }
.world { position: absolute; inset: 0; overflow: hidden; }
.world > * { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.world canvas.full { width: 100%; height: 100%; will-change: auto; }
.world .layer-html { width: 1px; height: 1px; }
.world .plate { position: absolute; display: block; max-width: none; }
.world .plate video, .world .plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.noscript-hero { width: 100%; height: 100%; object-fit: cover; }

.hero-copy { position: absolute; inset: 0; pointer-events: none; }
.hero-copy a { pointer-events: auto; }
.livery { position: absolute; left: 0; top: 0; color: var(--cream); font-size: 50px; line-height: 1.02; transform-origin: 0 0; white-space: nowrap; text-shadow: 0 1px 0 rgba(120, 30, 18, .35); }
.livery span { display: block; }
.hero-lead { position: absolute; max-width: 34em; pointer-events: none; }
.lead { font-size: 22px; line-height: 1.45; }
.hero-actions { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.text-link { font-weight: 600; text-underline-offset: 4px; text-decoration-thickness: 2px; padding: 10px 0; }
.plate-label { position: absolute; font-size: 12px; background: var(--cream); padding: 3px 8px; border-radius: 4px; color: var(--plum); }

.tags { list-style: none; margin: 0; padding: 0; }
html.js.motion .tags .tag { position: absolute; left: clamp(20px, 3vw, 48px); top: 96px; width: min(400px, 34vw); opacity: 0; visibility: hidden; }
html.js.motion .tags .tag.tag-r { left: auto; right: clamp(20px, 3vw, 48px); }
.tag { background: var(--cream); border: 2px solid var(--plum); border-radius: 4px; padding: 16px 20px 18px; transform: rotate(-1.2deg); box-shadow: 3px 4px 0 rgba(43, 36, 64, .16); font-size: 17px; line-height: 1.5; }
.tag-head { font: 800 25px/1.12 Sansita, Georgia, serif; margin-bottom: 8px; display: flex; gap: 10px; align-items: baseline; }
.tag .num { color: var(--tomato); font-size: 30px; font-variant-numeric: tabular-nums; }
.sms { margin-top: 12px; display: flex; }
.sms span { background: #e7e1ee; border: 1.5px solid var(--plum-2); border-radius: 14px 14px 14px 4px; padding: 8px 12px; font-size: 15px; }
.note-card { margin-top: 12px; background: #fffaf0; border: 1.5px dashed var(--plum-2); border-radius: 4px; padding: 10px 12px; transform: rotate(1.5deg); }
.note-label { font-size: 12px; font-weight: 600; text-transform: none; color: var(--tomato-dk); margin-bottom: 2px; }
.note-text { font: 700 16px/1.35 Kalam, cursive; color: var(--plum); }

.notes { position: absolute; inset: 0; pointer-events: none; }
.pnote { position: absolute; left: 0; top: 0; background: var(--cream); padding: 2px 8px; border-radius: 4px; font: 700 19px/1.2 Kalam, cursive; color: var(--plum); opacity: 0; white-space: nowrap; transform-origin: 0 50%; }
.closing { position: absolute; left: 50%; top: 84%; transform: translate(-50%, 0); font: 800 40px/1.1 Sansita, Georgia, serif; color: var(--plum); text-align: center; width: min(90vw, 900px); pointer-events: none; }
html.js .closing { opacity: 0; }

.strip { position: absolute; left: clamp(20px, 3vw, 48px); bottom: 22px; width: 360px; height: 40px; background: var(--cream); border: 2px solid var(--plum); border-radius: 6px; cursor: pointer; touch-action: none; }
.strip canvas { width: 100%; height: 100%; border-radius: 4px; }
.comb { position: absolute; top: -34px; left: 0; display: flex; flex-direction: column; align-items: center; transform: translateX(-50%); pointer-events: none; }
.comb svg { order: 2; }
.comb-label { order: 1; font: 600 13px/1 Asap, sans-serif; background: var(--plum); color: var(--cream); padding: 4px 7px; border-radius: 5px; margin-bottom: 3px; white-space: nowrap; }
html.still .strip, html:not(.js) .strip { display: none; }

/* sections */
.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }
.services, .questions, .book { position: relative; padding: clamp(72px, 10vw, 140px) 0; }
h2 { font-size: clamp(36px, 4.4vw, 60px); color: var(--plum); }
.section-line { font-size: 20px; margin-top: 14px; max-width: 36em; }
.service-list { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 56px; }
.service-list li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; padding: 18px 0; border-top: 2px solid rgba(43, 36, 64, .18); }
.portrait { width: 120px; height: 120px; border-radius: 50%; background: var(--cream); border: 2px solid var(--plum); }
.service-list h3 { font-size: 27px; margin-bottom: 6px; }
.dogs-only { margin-top: 32px; font-weight: 600; }

.q-grid { display: grid; grid-template-columns: 2fr 3fr; gap: 56px; align-items: start; }
.q-side { position: sticky; top: 110px; }
.sitter { width: 320px; height: 320px; margin-top: 28px; }
.q-list h3 { font-size: 25px; margin-top: 34px; }
.q-list h3:first-child { margin-top: 4px; }
.q-list p { margin-top: 8px; max-width: 34em; }
.proof { margin-top: 72px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.reviews-box { border: 2px dashed var(--plum-2); border-radius: 6px; padding: 24px 26px; background: rgba(244, 236, 220, .55); }
.rb-head { font: 800 24px/1.2 Sansita, Georgia, serif; margin-bottom: 6px; }
.cert-line { font-weight: 500; }

.card { background: var(--cream); border: 2px solid var(--plum); border-radius: 10px; padding: clamp(24px, 4vw, 52px); max-width: 860px; margin: 0 auto; box-shadow: 5px 6px 0 rgba(43, 36, 64, .15); background-image: var(--hatch); }
.row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-top: 22px; display: flex; flex-direction: column; gap: 6px; }
label, legend { font-weight: 600; font-size: 17px; }
.opt { font-weight: 400; color: var(--plum-2); }
input:not([type=radio]):not([type=checkbox]), textarea { font: 400 18px/1.4 Asap, sans-serif; color: var(--plum); background: #fffaf0; border: 2px solid var(--plum-2); border-radius: 10px; padding: 11px 14px; min-height: 48px; width: 100%; }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--tomato); outline-offset: 1px; }
textarea::placeholder { color: #6d6580; }
fieldset { border: 0; padding: 0; margin: 26px 0 0; min-width: 0; }
legend { padding: 0; margin-bottom: 10px; }
.chips label { display: inline-block; margin: 0 8px 10px 0; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips label > span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--plum-2); border-radius: 22px; background: #fffaf0; font-weight: 500; font-size: 16px; transition: background-color .15s, color .15s; }
.chips label input:checked + span { background: var(--plum); color: var(--cream); border-color: var(--plum); }
.chips input:focus-visible + span { outline: 3px solid var(--tomato); outline-offset: 2px; }
.chips label:hover > span { border-color: var(--plum); }
.days span { min-width: 56px; justify-content: center; }
.err { display: block; color: #9a2516; font-weight: 600; font-size: 15px; min-height: 0; }
.err:empty { display: none; }
.submit-row { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.under { font-size: 16px; color: var(--plum-2); }
.concept-msg { margin-top: 18px; font-size: 18px; }
.concept-msg:not(:empty) { background: #fffaf0; border: 2px solid var(--tomato); border-radius: 8px; padding: 14px 16px; }

.foot { padding: 56px 0 70px; border-top: 2px solid rgba(43, 36, 64, .2); }
.foot-in { display: flex; flex-direction: column; gap: 6px; }
.foot-name { font: 800 26px/1.1 Sansita, Georgia, serif; color: var(--tomato); }
.foot-tag { margin-top: 10px; font-size: 15px; }
.foot-credit a { font-weight: 600; text-underline-offset: 3px; }

.leash-line { position: absolute; left: 0; top: 0; width: 60px; pointer-events: none; overflow: visible; z-index: 1; }
.leash-line path { fill: none; stroke: var(--plum); stroke-width: 3; stroke-linecap: round; opacity: .7; }
html:not(.motion) .leash-line { display: none; }

/* reduced motion: still frames */
html.still .visit { height: auto; }
html.still .stage { height: auto; overflow: visible; }
html.still .stage > .world, html.still .hero-copy, html.still .notes, html.still .closing { display: none; }
.frames { list-style: none; margin: 0; padding: calc(var(--bar-h) + 24px) 0 40px; display: grid; gap: 40px; width: min(1180px, 100% - 32px); margin: 0 auto; }
.frames .intro { font: 800 clamp(30px, 4vw, 48px)/1.1 Sansita, Georgia, serif; }
.frame { display: grid; gap: 14px; }
.frame .fstage { position: relative; overflow: hidden; border: 2px solid var(--plum); border-radius: 6px; background: var(--paper); }
.frame .fstage > * { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.frame .tag { transform: none; max-width: 640px; }
.frame-hero h1 { font-size: clamp(34px, 5vw, 60px); margin-bottom: 12px; }
html.still .tags { display: none; }
html.still .frames .tags-copy .tag { display: block; }
html:not(.js) .tags { display: grid; gap: 20px; width: min(1180px, 100% - 32px); margin: 32px auto; }
html:not(.js) .hero-copy { position: static; padding: 90px 20px 20px; }
html:not(.js) .livery { position: static; color: var(--plum); white-space: normal; }
html:not(.js) .hero-lead { position: static; margin-top: 16px; }

@media (max-width: 1080px) { .nav { display: none; } }
@media (max-width: 699px) {
  :root { --bar-h: 56px; }
  body { font-size: 17px; }
  .bar { gap: 10px; flex-wrap: wrap; align-content: center; row-gap: 0; }
  .wordmark { font-size: 24px; }
  .concept-tag { order: 3; width: 100%; font-size: 12px; margin-top: -2px; }
  .btn-bar { margin-left: auto; min-height: 40px; padding: 0 14px; font-size: 16px; }
  .btn-bar .long { display: none; } .btn-bar .short { display: inline; }
  .bar { height: 64px; }
  html.motion .visit { height: 1150vh; height: 1150svh; }
  .lead { font-size: 17px; }
  .hero-actions { margin-top: 14px; gap: 6px 16px; }
  .btn-big { min-height: 54px; font-size: 18px; padding: 0 22px; }
  html.js.motion .tags .tag { left: 12px; right: 12px; top: auto; bottom: 104px; width: auto; transform: rotate(-.6deg); padding: 12px 14px 13px; font-size: 15.5px; line-height: 1.42; }
  html.js.motion .tags .tag.tag-r { left: 12px; right: 12px; top: 74px; bottom: auto; }
  .tag-head { font-size: 21px; margin-bottom: 4px; } .tag .num { font-size: 24px; }
  .sms { margin-top: 8px; } .sms span { font-size: 14px; }
  .note-card { margin-top: 8px; padding: 7px 10px; } .note-text { font-size: 14.5px; }
  .strip { left: 12px; right: 12px; width: auto; bottom: 12px; height: 40px; }
  .pnote { font-size: 16px; }
  .closing { font-size: 28px; top: 64%; }
  .service-list { grid-template-columns: 1fr; gap: 6px; }
  .service-list li { grid-template-columns: 88px 1fr; gap: 16px; }
  .portrait { width: 88px; height: 88px; }
  .service-list h3 { font-size: 23px; }
  .q-grid { grid-template-columns: 1fr; gap: 8px; }
  .q-side { position: static; }
  .sitter { display: none; }
  .proof { grid-template-columns: 1fr; }
  .row.two { grid-template-columns: 1fr; gap: 0; }
  .card { padding: 22px 18px 26px; }
  .chips label > span { font-size: 15px; padding: 0 13px; }
}
@media (prefers-reduced-motion: reduce) { .btn, .chips label > span { transition: none; } }

html.nograin body::after { display: none; }
html.still .frame-hero .livery { position: static; color: var(--plum); white-space: normal; transform: none; font-size: clamp(34px, 5vw, 60px); text-shadow: none; }
html.still .frame-hero .livery span { display: inline; }
html.still .hero-lead, html.still .hero-lead a { pointer-events: auto; }
