/* =====================================================================
   Warm barber theme. Cream paper, forest green, terracotta, rounded.
   Motion: transform, opacity and stroke-dashoffset only,
   cubic-bezier(0.22, 1, 0.36, 1); slow and soft.

   Contrast (WCAG, text uses only these pairs):
     ink #3a2a1f on oat #f5ede0     11.8:1   on cream #fffaf1 13.2:1
     ink-2 #6b5546 on oat           6.0:1    on sand #ecdcc3   5.2:1
     forest #2f5842 on oat          7.0:1    cream on forest   7.8:1
     sand-2 #e9dcc4 on forest       6.0:1
     clay-ink #9a4526 on oat        5.6:1    cream on clay-ink 6.2:1
     terracotta #b85c38 and clay #cf9a78 are decoration only (lines, fills).
   ===================================================================== */

:root {
  --oat: #f5ede0;
  --cream: #fffaf1;
  --sand: #ecdcc3;
  --sand-2: #e9dcc4;
  --clay: #cf9a78;
  --terra: #b85c38;
  --clay-ink: #9a4526;
  --forest: #2f5842;
  --forest-2: #24463a;
  --leaf: #5d8a63;
  --ink: #3a2a1f;
  --ink-2: #6b5546;
  --line: rgba(58, 42, 31, .12);

  --round: "Display", ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", Quicksand, Comfortaa, Manjari,
    "Arial Rounded MT", "Arial Rounded MT Bold", Nunito, Calibri, source-sans-pro, sans-serif;
  --body: Seravek, "Gill Sans Nova", Ubuntu, Calibri, "DejaVu Sans", source-sans-pro, system-ui, sans-serif;
  --note: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --g: 16px;
  --max: 1120px;
  --r: 24px;
  --shadow: 0 1px 2px rgba(58, 42, 31, .06), 0 8px 24px -10px rgba(58, 42, 31, .18);
  --shadow-lg: 0 2px 4px rgba(58, 42, 31, .06), 0 24px 48px -16px rgba(58, 42, 31, .32);
}
@media (min-width: 768px) { :root { --g: 32px; } }
@media (min-width: 1280px) { :root { --g: 48px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  background-color: var(--oat);
  /* Paper grain: tiny SVG noise tile, then soft warm light. */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .23 0 0 0 0 .16 0 0 0 0 .1 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(1200px 600px at 50% -10%, #fbf4e8, transparent 70%);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; overflow-wrap: break-word; font-family: var(--round); }
p { margin: 0; }
address { font-style: normal; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(100% - 2 * var(--g), var(--max)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.i { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 8px; }
.how :focus-visible, .foot :focus-visible { outline-color: var(--sand); }
#main:focus { outline: none; }

.skip {
  position: absolute; left: 12px; top: 12px; z-index: 100;
  padding: 12px 18px; background: var(--forest); color: var(--cream);
  font-weight: 700; border-radius: 999px; text-decoration: none;
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

/* ---------- Type ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 .8125rem/1 var(--round); letter-spacing: .12em; text-transform: uppercase;
  color: var(--clay-ink);
}
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
h2 { font-size: clamp(2.125rem, 6vw, 3.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.sec { padding-block: clamp(72px, 10vw, 128px); }
.sec__head { display: grid; gap: 12px; justify-items: start; margin-bottom: clamp(32px, 5vw, 56px); }
.sec__head--center { justify-items: center; text-align: center; }
.amp { color: var(--clay-ink); }

/* Hand-drawn squiggle under section titles. */
.doodle { width: 120px; height: auto; overflow: visible; }
.doodle path, .scribble path, .how__path path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.doodle path { stroke: var(--terra); stroke-width: 3; }

/* ---------- Buttons: pill, soft grow on hover ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 26px;
  border: 1.5px solid transparent; border-radius: 999px;
  font: 700 1rem/1 var(--round); text-decoration: none; white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: transform .5s var(--ease);
}
.btn::after { /* deeper shadow fades in on hover */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 14px 28px -12px rgba(36, 70, 58, .55);
  opacity: 0; transition: opacity .5s var(--ease);
}
.btn--solid { background: var(--forest); color: var(--cream); box-shadow: 0 6px 16px -10px rgba(36, 70, 58, .7); }
.btn--soft { background: var(--cream); color: var(--ink); border-color: var(--line); }
.btn--light { background: var(--oat); color: var(--forest); }
@media (hover: hover) {
  .btn:hover { transform: scale(1.045); }
  .btn:hover::after { opacity: 1; }
}
.btn:active { transform: scale(.98); transition-duration: .15s; }

/* ---------- Hero ---------- */
.hero { padding-bottom: clamp(56px, 8vw, 96px); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font: 800 1.0625rem/1.1 var(--round); text-decoration: none; color: var(--forest);
}
.brand .i { width: 24px; height: 24px; color: var(--leaf); }
.topbar__meta {
  padding: 8px 14px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line);
  font: 700 .8125rem/1 var(--round); color: var(--ink-2); white-space: nowrap;
}
@media (max-width: 479px) { .brand > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

.hero__inner { display: grid; justify-items: center; text-align: center; padding-top: clamp(24px, 5vw, 56px); }
.hero__title {
  display: grid; justify-items: center;
  font-size: clamp(2.75rem, 10.5vw, 6rem); font-weight: 800; line-height: 1; letter-spacing: -.03em;
  max-width: 14ch; text-wrap: balance;
}
.scribble { width: min(78%, 460px); height: auto; margin-top: .12em; overflow: visible; }
.scribble path { stroke: var(--terra); stroke-width: 5; }
.scribble .scribble__2 { stroke-width: 3.5; stroke: var(--clay); }
.hero__tagline { margin-top: 20px; max-width: 34ch; font-size: clamp(1.125rem, 2.2vw, 1.375rem); color: var(--ink-2); text-wrap: balance; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
@media (max-width: 420px) { .hero__cta { display: grid; width: 100%; } }

.hero__media { position: relative; width: 100%; max-width: 960px; margin-top: clamp(40px, 6vw, 64px); }
.hero__frame {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5;
  border-radius: clamp(28px, 5vw, 48px);
  background: linear-gradient(180deg, #f0dcc0, #e5c7a3);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 600px) { .hero__frame { aspect-ratio: 16 / 10; } }
.hero__frame > img { width: 100%; height: 100%; object-fit: cover; }

/* Stamp badge */
.stamp {
  position: absolute; z-index: 2; right: -4px; bottom: -34px; /* phones: bottom corner, clear of the buttons */
  width: clamp(104px, 17vw, 156px); aspect-ratio: 1;
  transform: rotate(-9deg);
}
@media (min-width: 600px) { .stamp { right: -10px; top: -40px; bottom: auto; } }
@media (min-width: 1100px) { .stamp { right: -48px; top: -56px; } }
.stamp__in { width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 12px 22px -8px rgba(58, 42, 31, .4); } /* shadow moves with the stamp, no filter repaints */
.stamp svg { display: block; width: 100%; height: 100%; overflow: visible; }
.stamp__disc { fill: var(--clay-ink); }
.stamp__rule { fill: none; stroke: var(--cream); stroke-opacity: .55; stroke-width: 1; stroke-dasharray: 2 2.5; }
.stamp__text { fill: var(--cream); font-family: var(--round); font-weight: 700; }
.stamp__icon { fill: none; stroke: var(--cream); stroke-width: 1.6; stroke-linecap: round; color: var(--cream); }

/* ---------- Placeholders (until real photos are added) ---------- */
.ph { position: relative; width: 100%; height: 100%; overflow: hidden; }
.ph__label {
  position: absolute; left: 14px; bottom: 14px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 250, 241, .88); color: var(--ink);
  font: 700 .75rem/1.2 var(--round); letter-spacing: .04em;
}
.scene, .portrait { position: absolute; inset: 0; width: 100%; height: 100%; }
.sc-floor { fill: #d6ad86; }
.sc-window { fill: #fbf1df; }
.sc-mullion { fill: none; stroke: #e7cfae; stroke-width: 8; }
.sc-frame { fill: none; stroke: #9b6a49; stroke-width: 10; }
.sc-mirror { fill: #f6e9d6; }
.sc-shine { fill: none; stroke: #fff; stroke-width: 8; stroke-linecap: round; opacity: .7; }
.sc-shelf { fill: #9b6a49; }
.sc-bottle { fill: var(--leaf); }
.sc-bottle2 { fill: var(--terra); }
.sc-shadow { fill: rgba(58, 42, 31, .16); }
.sc-base, .sc-arm { fill: var(--ink); }
.sc-line { fill: none; stroke: var(--ink); stroke-width: 6; stroke-linecap: round; }
.sc-seat, .sc-back { fill: var(--forest); }
.sc-pot { fill: var(--terra); }
.sc-stem { fill: none; stroke: var(--forest); stroke-width: 4; stroke-linecap: round; }
.sc-leaf { fill: var(--forest); }
.sc-leaf2 { fill: var(--leaf); }

/* ---------- Services ---------- */
.svcs { display: grid; gap: 16px; }
@media (min-width: 768px) { .svcs { grid-template-columns: 1fr 1fr; gap: 20px; } }
.svc { display: flex; }
.svc__card {
  position: relative; flex: 1;
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(22px, 3vw, 30px);
  background: var(--cream); color: var(--ink); text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow);
  transition: transform .6s var(--ease);
}
.svc__card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: var(--shadow-lg); opacity: 0; transition: opacity .6s var(--ease);
}
.svc__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.svc__name { font-size: clamp(1.25rem, 2.4vw, 1.5rem); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.svc__price {
  flex: none; padding: 6px 14px; border-radius: 999px;
  background: var(--sand); color: var(--ink);
  font: 800 1.0625rem/1.2 var(--round); font-variant-numeric: tabular-nums;
}
.svc__note { color: var(--ink-2); max-width: 46ch; }
.svc__go {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px;
  font: 700 .9375rem/1 var(--round); color: var(--forest);
}
.svc__go .i { transition: transform .6s var(--ease); }
@media (hover: hover) {
  a.svc__card:hover { transform: translateY(-6px); }
  a.svc__card:hover::after { opacity: 1; }
  a.svc__card:hover .svc__go .i { transform: translateX(4px); }
}
a.svc__card:active { transform: translateY(-2px); transition-duration: .2s; }
a.svc__card:focus-visible { outline-offset: 4px; border-radius: var(--r); }

/* ---------- Meet your barber ---------- */
.meet__grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 900px) { .meet__grid { grid-template-columns: 5fr 7fr; } }
.meet__media { position: relative; width: min(100%, 400px); justify-self: center; }
.meet__arch {
  aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 999px 999px 32px 32px;
  background: linear-gradient(180deg, #ecd5b6, var(--clay));
  box-shadow: var(--shadow-lg);
}
.meet__arch > img { width: 100%; height: 100%; object-fit: cover; }
.pt-head { fill: #e9c19d; }
.pt-hair { fill: var(--ink); }
.pt-body { fill: var(--forest); }
.pt-collar { fill: none; stroke: var(--cream); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.ph--portrait .ph__label { left: 50%; transform: translateX(-50%); bottom: 18px; white-space: nowrap; }
.meet__tag {
  position: absolute; right: -8px; bottom: 56px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px;
  background: var(--forest); color: var(--cream);
  font: 700 .875rem/1 var(--round);
  transform: rotate(6deg); box-shadow: var(--shadow);
}
.meet__text { display: grid; gap: 18px; justify-items: start; }
.meet__note {
  position: relative; max-width: 58ch;
  padding: clamp(24px, 3.5vw, 36px);
  background: var(--cream); border-radius: var(--r); box-shadow: var(--shadow);
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); line-height: 1.75;
  transform: rotate(-.6deg);
}
.meet__note::before { /* a strip of tape */
  content: ""; position: absolute; top: -12px; left: 50%; width: 96px; height: 26px; margin-left: -48px;
  background: rgba(207, 154, 120, .45); border-radius: 4px; transform: rotate(-3deg);
}
.meet__sign { font: italic 400 clamp(1.5rem, 3vw, 1.875rem)/1 var(--note); color: var(--forest); padding-left: 8px; }

/* ---------- Gallery: carousel on mobile, collage on desktop ---------- */
.gal { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gal::-webkit-scrollbar { display: none; }
.gal:focus-visible { outline-offset: -3px; }
.gal__list { display: flex; gap: 16px; width: max-content; padding: 12px var(--g) 28px; }
.gal__item { flex: none; width: min(74vw, 320px); scroll-snap-align: center; }
.gal__print {
  display: flex; flex-direction: column; height: 100%;
  padding: 10px 10px 36px; background: var(--cream);
  border-radius: 18px; box-shadow: var(--shadow);
  transition: transform .8s var(--ease);
}
.gal__print > img, .gal__print > .ph { flex: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.gal__hint {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font: 700 .875rem/1 var(--round); color: var(--ink-2);
}
.ph__icon { position: absolute; left: 50%; top: 44%; width: 56px; height: 56px; margin: -28px 0 0 -28px; fill: none; stroke: rgba(255, 250, 241, .9); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ph--g1 { background: linear-gradient(150deg, #d9a988, #b8714f); }
.ph--g2 { background: linear-gradient(160deg, #6f9472, #2f5842); }
.ph--g3 { background: linear-gradient(140deg, #e7cba5, #c99a6e); }
.ph--g4 { background: linear-gradient(155deg, #b8714f, #8a4a2e); }
.ph--g5 { background: linear-gradient(145deg, #c9b48f, #8e7a58); }
.ph--g6 { background: linear-gradient(160deg, #4d7a5c, #24463a); }

@media (min-width: 900px) {
  .gal { overflow: visible; scroll-snap-type: none; }
  .gal__list {
    display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(44px, 4.8vw, 56px);
    width: min(100% - 2 * var(--g), var(--max)); margin-inline: auto; padding: 8px 0 0; gap: 0 12px;
  }
  .gal__item { width: auto; }
  .gal__print > img, .gal__print > .ph { aspect-ratio: auto; height: 100%; }
  .gal__item--1 { grid-column: 1 / 6;  grid-row: 1 / 8;  --rot: -2.5deg; }
  .gal__item--2 { grid-column: 5 / 9;  grid-row: 2 / 7;  --rot: 2deg;    z-index: 2; }
  .gal__item--3 { grid-column: 9 / 13; grid-row: 1 / 6;  --rot: -1.5deg; }
  .gal__item--4 { grid-column: 2 / 6;  grid-row: 8 / 12; --rot: 1.5deg;  z-index: 3; margin-top: -24px; }
  .gal__item--5 { grid-column: 6 / 10; grid-row: 7 / 12; --rot: -2deg;   z-index: 2; margin-top: -20px; }
  .gal__item--6 { grid-column: 9 / 13; grid-row: 6 / 11; --rot: 2.5deg;  z-index: 3; }
  .gal__item:nth-child(n+7) { display: none; }
  .gal__print { transform: rotate(var(--rot, 0deg)); }
  .gal__item:hover { z-index: 5; }
  @media (hover: hover) { .gal__item:hover .gal__print { transform: rotate(0deg) scale(1.03); } }
  .gal__hint { display: none; }
}

/* ---------- How booking works ---------- */
.how {
  margin-inline: clamp(8px, 2vw, 24px);
  border-radius: clamp(28px, 4vw, 48px);
  background: var(--forest); color: var(--cream);
}
.how h2 { color: var(--cream); }
.how .kicker { color: var(--sand-2); }
.how__wrap { position: relative; }
.how__path { display: none; }
.steps { display: grid; gap: 36px; counter-reset: step; }
.step { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; row-gap: 6px; align-items: start; }
.step__no {
  grid-row: span 2;
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--oat); color: var(--forest);
  font: 800 1.625rem/1 var(--round);
  outline: 2px dashed rgba(233, 220, 196, .55); outline-offset: 5px;
}
.step__title { align-self: end; font-size: clamp(1.375rem, 2.6vw, 1.75rem); font-weight: 800; line-height: 1.15; }
.step__text { color: var(--sand-2); max-width: 34ch; }
.how__cta { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 56px); }
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .step { grid-template-columns: 1fr; justify-items: center; text-align: center; row-gap: 14px; }
  .step__no { grid-row: auto; width: 76px; height: 76px; font-size: 1.875rem; }
  .step__title { align-self: auto; }
  .how__path { display: block; position: absolute; left: 0; top: 14px; width: 100%; height: auto; overflow: visible; }
  .how__path path { stroke: var(--sand-2); stroke-opacity: .4; stroke-width: 2.5; }
}

/* ---------- Hours & location ---------- */
.visit__grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .visit__grid { grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; } }
.card {
  background: var(--cream); border: 1px solid var(--line); border-radius: 28px;
  box-shadow: var(--shadow);
}
.card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.375rem; font-weight: 800; color: var(--forest); }
.hours { padding: clamp(22px, 3vw, 32px); }
.card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.status { font: 700 .875rem/1.2 var(--round); color: var(--ink-2); }
.status:empty { display: none; }
.status::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--clay); vertical-align: 1px; }
.status.is-open { color: var(--forest); }
.status.is-open::before { background: var(--leaf); }
.hours__table { width: 100%; border-collapse: separate; border-spacing: 0 4px; }
.hours__table th, .hours__table td { padding: 11px 14px; font-size: 1.0625rem; }
.hours__table th { text-align: left; font-weight: 600; white-space: nowrap; }
.hours__table td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hours__table th:first-child { border-radius: 14px 0 0 14px; }
.hours__table td:last-child { border-radius: 0 14px 14px 0; }
.hours__table tr + tr th, .hours__table tr + tr td { box-shadow: inset 0 1px 0 var(--line); }
.hours__table .is-closed td { color: var(--ink-2); }
.hours__table .is-today th, .hours__table .is-today td { background: var(--sand); font-weight: 800; box-shadow: none; }
.hours__table .is-today + tr th, .hours__table .is-today + tr td { box-shadow: none; }
.today-tag { display: none; }
.is-today .today-tag {
  display: inline-block; margin-left: 8px; padding: 4px 9px; vertical-align: 1px;
  background: var(--forest); color: var(--cream); border-radius: 999px;
  font: 700 .6875rem/1 var(--round); letter-spacing: .06em; text-transform: uppercase;
}
@media (max-width: 380px) { .hours__table th, .hours__table td { padding-inline: 10px; font-size: 1rem; } }

.findme { overflow: hidden; }
.findme__map { display: block; width: 100%; height: clamp(120px, 18vw, 150px); background: var(--sand); }
.map-road { fill: none; stroke: var(--cream); stroke-width: 14; stroke-linecap: round; }
.map-road--thin { stroke-width: 7; stroke-opacity: .8; }
.map-glow { fill: var(--terra); opacity: .18; transform-box: fill-box; transform-origin: center; }
.map-pin { fill: var(--terra); }
.map-dot { fill: var(--cream); }
.findme__body { display: grid; gap: 16px; padding: clamp(22px, 3vw, 32px); }
.findme__addr { font: 700 clamp(1.375rem, 2.6vw, 1.625rem)/1.3 var(--round); }
.findme__cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Footer ---------- */
.foot { margin-top: clamp(24px, 4vw, 48px); padding: clamp(56px, 8vw, 88px) 0 28px; background: var(--ink); color: var(--oat); }
.foot__inner { display: grid; justify-items: center; text-align: center; gap: 14px; }
.foot__sprig { width: 40px; height: 40px; fill: none; stroke: var(--sand-2); stroke-width: 1.6; stroke-linecap: round; }
.foot__name { font: 800 clamp(1.75rem, 4vw, 2.5rem)/1.1 var(--round); }
.foot__name .amp { color: inherit; }
.foot__tagline { color: var(--sand-2); }
.foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.foot__links a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border: 1px solid rgba(245, 237, 224, .25); border-radius: 999px;
  font: 700 .9375rem/1 var(--round); text-decoration: none;
  transition: transform .5s var(--ease);
}
@media (hover: hover) { .foot__links a:hover { transform: scale(1.05); } }
.foot__meta { margin-top: 18px; font-size: .875rem; color: var(--sand-2); }
.foot__tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(245, 237, 224, .12); }

/* ---------- Sticky mobile bar ---------- */
.mbar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 50;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px;
  background: rgba(255, 250, 241, .95); border: 1px solid var(--line); border-radius: 999px;
  box-shadow: var(--shadow-lg);
  transform: translateY(calc(100% + 32px));
  transition: transform .8s var(--ease);
}
.mbar--single { grid-template-columns: 1fr; }
.mbar .btn { min-height: 48px; padding: 0 16px; }
.mbar.is-visible { transform: none; }
@supports (backdrop-filter: blur(1px)) { .mbar { background: rgba(255, 250, 241, .82); backdrop-filter: blur(12px); } }
@media (max-width: 767px) { .foot { padding-bottom: calc(28px + 84px + env(safe-area-inset-bottom)); } }
@media (min-width: 768px) { .mbar { display: none; } }

/* =====================================================================
   Motion. Hidden start states only exist when motion is allowed,
   so reduced-motion users (and no-JS visitors) always see content.
   ===================================================================== */
@keyframes rise { from { opacity: 0; transform: translateY(26px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes rise-media { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes stamp-in {
  0%   { opacity: 0; transform: rotate(-32deg) scale(.72); }
  55%  { opacity: 1; transform: rotate(7deg) scale(1.04); }
  80%  { transform: rotate(-2deg) scale(.995); }
  100% { opacity: 1; transform: none; }
}
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .18; } 50% { transform: scale(1.35); opacity: .06; } }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .rise { animation: rise .9s var(--ease) both; animation-delay: calc(120ms + var(--d) * 120ms); }
  .hero__frame { animation: rise-media 1.1s var(--ease) .45s both; }
  .stamp__in { animation: stamp-in 1.3s var(--ease) 1s both; }
  .scribble path { stroke-dasharray: 1; animation: draw 1.2s var(--ease) .55s both; }
  .scribble .scribble__2 { animation-delay: 1.05s; animation-duration: .9s; }
  .map-glow { animation: breathe 3.6s ease-in-out infinite; }

  .js [data-reveal],
  .js [data-reveal-group] > * {
    opacity: 0; transform: translateY(32px);
    transition: opacity .8s var(--ease), transform .9s var(--ease);
  }
  .js [data-reveal].is-in,
  .js [data-reveal-group] > .is-in { opacity: 1; transform: none; }

  /* Gallery prints drift in slightly turned, then settle. */
  .js .gal__list > * { transform: translateY(44px) rotate(5deg) scale(.94); transition-duration: .9s, 1.1s; }
  .js .gal__list > :nth-child(even) { transform: translateY(44px) rotate(-5deg) scale(.94); }
  .js .gal__list > .is-in { transform: none; }

  /* Hand-drawn lines draw themselves once in view. */
  .js [data-draw] path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease) .25s; }
  .js [data-draw].is-in path { stroke-dashoffset: 0; }
  .js .how__path path { transition-duration: 2s; transition-delay: .4s; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
