/* =========================================================================
   MakeLocal, design system
   Inspired by Gumroad: chunky borders, hard offset shadows, friendly serif
   headlines, yellow + black + cream palette, big bold copy.
   ========================================================================= */

/* ---- Tokens ---- */
:root {
  /* Palette */
  --bg:           #FAFAFA;            /* page background, near-white */
  --cream:        #FCF4DD;            /* warm cream block bg */
  --yellow:       #FFC900;            /* primary accent, Gumroad yellow */
  --pink:         #FF90E8;            /* secondary accent, used sparingly */
  --green:        #23A094;            /* info / safe accent */
  --black:        #000;               /* real black for borders + text */
  --ink:          #1A1A1A;            /* body text, near-black */
  --rule:         rgba(0, 0, 0, 0.12);
  --muted:        #6B6B6B;

  /* Typography */
  --font-display: "Lilita One", "Bagel Fat One", system-ui, sans-serif;
  --font-serif:   "Cormorant Garamond", Georgia, serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Type scale */
  --fs-xs:   12px;
  --fs-sm:   14px;
  --fs-base: 16px;
  --fs-lg:   18px;
  --fs-xl:   22px;
  --fs-2xl:  28px;
  --fs-3xl:  36px;
  --fs-4xl:  48px;
  --fs-5xl:  clamp(2.4rem, 6vw, 4.5rem);
  --fs-hero: clamp(2.8rem, 7vw, 5.5rem);

  /* Spacing */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --section-y: clamp(3rem, 7vw, 6rem);

  /* Borders + radius */
  --bw:      3px;                     /* default border width */
  --bw-thick: 4px;
  --r-sm:    8px;
  --r-md:    14px;
  --r-lg:    20px;
  --r-pill:  999px;

  /* Hard offset shadow (Gumroad signature) */
  --shadow-sm: 3px 3px 0 var(--black);
  --shadow:    6px 6px 0 var(--black);
  --shadow-lg: 10px 10px 0 var(--black);

  /* Container */
  --container: 1180px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a.text-link { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--yellow); }
a.text-link:hover { text-decoration-color: var(--ink); }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

/* Skip link */
.skip-link {
  position: absolute; top: -100px; left: 0;
  background: var(--yellow); color: var(--black);
  padding: 8px 12px; font-weight: 700;
  border: var(--bw) solid var(--black);
}
.skip-link:focus { top: 0; }

/* ---- Container ---- */
.container {
  width: min(var(--container), 100% - 2 * var(--sp-5));
  margin-inline: auto;
}
.container--narrow { max-width: 720px; }
.container--wide   { max-width: 1280px; }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: var(--bw) solid var(--black);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  padding: var(--sp-4) 0;
}
.nav__logo { display: inline-flex; align-items: center; gap: var(--sp-2); }
.nav__logo img, .nav__logo svg { height: 48px; width: auto; display: block; }
.nav__links {
  display: none;
  gap: var(--sp-6);
  align-items: center;
  font-weight: 600;
}
@media (min-width: 720px) {
  .nav__links { display: inline-flex; }
}
.nav__links a:hover { color: var(--muted); }
.nav__cta { display: inline-flex; gap: var(--sp-3); align-items: center; }

/* =========================================================================
   BUTTONS (Gumroad style: chunky borders, offset shadow, hover translate)
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 12px 20px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-base);
  letter-spacing: 0.01em;
  background: var(--bg);
  color: var(--ink);
  border: var(--bw) solid var(--black);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--black);
}
.btn:active {
  transform: translate(3px, 3px);
  box-shadow: 0 0 0 var(--black);
}

.btn--primary { background: var(--yellow); }
.btn--primary:hover { background: #FFD42A; }

.btn--pink { background: var(--pink); }
.btn--pink:hover { background: #FFA8EE; }

.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { background: #2A2A2A; }

.btn--ghost { background: transparent; box-shadow: 3px 3px 0 var(--black); }

.btn--lg { padding: 16px 28px; font-size: var(--fs-lg); }
.btn--xl { padding: 20px 36px; font-size: var(--fs-xl); }

.btn--icon-only { padding: 10px; }

/* =========================================================================
   TYPOGRAPHY
   ========================================================================= */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
  background: var(--yellow);
  padding: 4px 10px;
  border: 2px solid var(--black);
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-4);
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-hero);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
.display em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.005em;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 var(--sp-4);
}
h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
h4 { font-size: var(--fs-lg); }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }
.lede { font-size: var(--fs-lg); line-height: 1.6; max-width: 56ch; }

/* Yellow highlight bar (Gumroad-style) */
.hl {
  background: var(--yellow);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  line-height: 1.1;
  box-shadow: 2px 2px 0 var(--black);
}
.hl--pink { background: var(--pink); }

/* =========================================================================
   SECTIONS
   ========================================================================= */
.section { padding-block: var(--section-y); }
.section--cream { background: var(--cream); }
.section--yellow { background: var(--yellow); }
.section--dark { background: var(--ink); color: var(--bg); }
.section--dark h2, .section--dark h3, .section--dark .eyebrow { color: var(--bg); }
.section--dark .eyebrow { background: var(--yellow); color: var(--ink); }

.section-head {
  text-align: center;
  margin-bottom: var(--sp-7);
}
.section-head__sub {
  max-width: 56ch;
  margin: var(--sp-3) auto 0;
  color: var(--muted);
  font-size: var(--fs-lg);
}

/* Wavy SVG section divider, sits between two sections */
.divider-wave {
  display: block;
  width: 100%;
  height: 32px;
  fill: var(--black);
}
.divider-wave--cream-to-bg path { fill: var(--cream); }
.divider-wave--bg-to-cream path { fill: var(--cream); }

/* =========================================================================
   HERO
   Compact, single-viewport: copy left + cards right + game canvas at bottom.
   Total height capped so hero + nav fit within 100vh on a typical desktop.
   ========================================================================= */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  padding-block: clamp(1.25rem, 3vw, 2.5rem);
  /* Reserve a strip at the bottom for the canvas terrain + astronaut so the
     CTAs sit clear above the mountain line and don't overlap with him at rest. */
  padding-bottom: clamp(140px, 20vh, 220px);
  background: linear-gradient(to bottom, var(--bg) 0%, var(--bg) 35%, var(--cream) 100%);
}

/* =========================================================================
   HERO SKY: starfield + celestial bodies layered behind hero content.
   Generated by main.js. Pointer-events off so it never blocks clicks.
   ========================================================================= */
.hero__sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero__star {
  position: absolute;
  background: #9D3DFF;          /* brand purple, visible on cream */
  border-radius: 50%;
  opacity: var(--alpha, 0.5);
  animation: star-twinkle 4s ease-in-out infinite;
  will-change: opacity, transform;
}
.hero__star--bright {
  background: #6B1FB5;          /* deeper purple */
  box-shadow: 0 0 6px rgba(157, 61, 255, 0.55);
}
@keyframes star-twinkle {
  0%, 100% { opacity: var(--alpha, 0.5); transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.4); }
}

.hero__sky-planet {
  position: absolute;
  top: 8%;
  right: clamp(4%, 8vw, 12%);
  width: clamp(96px, 12vw, 170px);
  aspect-ratio: 140 / 78;
  animation: float-slow 14s ease-in-out infinite;
  filter: drop-shadow(2px 3px 0 rgba(26, 14, 80, 0.18));
}
.hero__sky-moon {
  position: absolute;
  top: 14%;
  left: clamp(3%, 6vw, 8%);
  width: clamp(50px, 7vw, 90px);
  aspect-ratio: 1;
  animation: float-slow 18s ease-in-out infinite reverse;
  filter: drop-shadow(2px 3px 0 rgba(26, 14, 80, 0.18));
}
.hero__sky-shoot {
  position: absolute;
  width: 80px;
  height: 20px;
  opacity: 0;
  animation: shoot-streak 9s linear infinite;
}
/* Three stars staggered across the sky. Each gets its own start point and
   delay so they don't fire at the same time. */
.hero__sky-shoot--1 { top: 22%; left: 35%; animation-delay: 1s; }
.hero__sky-shoot--2 { top: 12%; left: 18%; animation-delay: 4.5s; }
.hero__sky-shoot--3 { top: 32%; left: 58%; animation-delay: 7s; }
@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes shoot-streak {
  0%   { opacity: 0; transform: translate(-40px, 20px); }
  6%   { opacity: 1; }
  18%  { opacity: 0; transform: translate(180px, -40px); }
  100% { opacity: 0; transform: translate(180px, -40px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__star, .hero__sky-planet, .hero__sky-moon, .hero__sky-shoot {
    animation: none !important;
  }
}

/* On small screens the heading wraps across the full width and the celestial
   bodies up top would clash with text. The canvas (mountains + astronaut)
   carries the space theme on mobile, so just hide the floating sky elements. */
@media (max-width: 720px) {
  .hero__sky-shoot,
  .hero__sky-planet,
  .hero__sky-moon { display: none; }
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  align-items: center;
  position: relative;
  z-index: 1;
  flex: 1;
  order: 1;
}
.hero__game { order: 2; }

@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.2fr 1fr; gap: var(--sp-6); }
}
.hero__copy h1 {
  margin-bottom: var(--sp-4);
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  line-height: 1.05;
}
.hero__lede {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.5;
  max-width: 50ch;
  margin-bottom: var(--sp-5);
  color: var(--muted);
}
.hero__cta { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

/* =========================================================================
   HERO VISUAL CARDS
   Two stacked sticker-cards on the right of the hero. Slight tilt on each,
   offset so they don't overlap each other. Mobile = stacked, normal flow.
   ========================================================================= */
.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  align-items: center;
}
.hero__visual-card {
  background: var(--cream);
  border: var(--bw) solid var(--black);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  width: min(100%, 300px);
  transform: rotate(-2deg);
}
.hero__visual-card--alt {
  background: var(--yellow);
  transform: rotate(2deg);
  align-self: flex-end;
  margin-right: clamp(0px, 3vw, 24px);
  width: min(100%, 260px);
}
.hero__visual-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  line-height: 1.15;
}
.hero__visual-card__sub {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.4;
}
.hero__visual-card__meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: var(--sp-1);
}
.hero__visual-card__pill {
  background: var(--yellow);
  padding: 2px 10px;
  border: 2px solid var(--black);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.hero__visual-card__url {
  font-size: 12px;
  color: var(--muted);
}
.hero__visual-card--alt .hero__visual-card__sub { color: var(--black); font-weight: 500; }

/* On wider screens, lift the second card slightly into the visual gutter. */
@media (min-width: 1100px) {
  .hero__visual-card--alt { margin-right: -32px; }
  .hero__visual-card { margin-left: -16px; }
}

/* =========================================================================
   HERO GAME
   Pixel-art runner pinned to the bottom of the hero. Behind everything else,
   takes pointer events itself so user can click to jump.
   ========================================================================= */
.hero__game {
  /* Canvas fills the ENTIRE hero and sits IN FRONT of the text/cards so the
     astronaut's leap is visible up in the heading area (he passes over the
     text at apex). Pointer events disabled so clicks pass through to the
     buttons/links underneath; click-to-jump is wired on .hero in JS instead. */
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 3;
  pointer-events: none;
}
.hero__game canvas {
  display: block;
  width: 100%;
  height: 100%;
  /* Smooth bitmap scaling, not pixel-snap (we rely on clean SVG/PNG sources) */
  image-rendering: auto;
}
.hero__inner { position: relative; z-index: 2; }
.hero__game-hint {
  position: absolute;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  border: 2.5px solid var(--black);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  pointer-events: none;
  box-shadow: 3px 3px 0 var(--black);
  /* Subtle pulse so the hint catches the eye on first load */
  animation: hint-pulse 1.6s ease-in-out infinite;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.hero__game-hint kbd {
  background: var(--black);
  color: var(--yellow);
  border-radius: 5px;
  padding: 2px 8px;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
  font-weight: 700;
}
.hero__game-hint.is-gone {
  opacity: 0;
  transform: translateX(-50%) translateY(-6px);
  animation: none;
}
@keyframes hint-pulse {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50%      { transform: translateX(-50%) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__game-hint { animation: none; }
}

/* =========================================================================
   SERVICE CARDS
   ========================================================================= */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
@media (min-width: 720px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }

.service-card {
  background: var(--bg);
  border: var(--bw) solid var(--black);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.service-card:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--black);
}
.service-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-4);
}
.service-card__icon {
  width: 56px;
  height: 56px;
  border: var(--bw) solid var(--black);
  border-radius: var(--r-sm);
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-card--alt .service-card__icon { background: var(--pink); }
.service-card--alt2 .service-card__icon { background: var(--green); color: var(--bg); }
.service-card--alt3 .service-card__icon { background: var(--cream); }

.service-card__title { margin: 0; }
.service-card__body { color: var(--ink); font-size: var(--fs-base); }
.service-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--sp-2);
}
.service-card__list li {
  display: flex;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
}
.service-card__list li::before {
  content: "+";
  color: var(--yellow);
  -webkit-text-stroke: 1px var(--black);
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.service-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  margin-top: auto;
  padding-top: var(--sp-4);
  border-top: 2px dashed var(--rule);
}
.service-card__price-amt {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  color: var(--ink);
}
.service-card__price-from { font-size: var(--fs-sm); color: var(--muted); }
.service-card__caveat {
  font-size: var(--fs-xs);
  font-style: italic;
  color: var(--muted);
  margin-top: var(--sp-2);
}

/* ERP vendor logos row */
.erp-logos {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 2px dashed var(--rule);
}
.erp-logos__label {
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.erp-logos__list { display: flex; gap: var(--sp-4); align-items: center; flex-wrap: wrap; }
.erp-logos__list img { height: 22px; width: auto; opacity: 0.7; filter: grayscale(1); }

/* =========================================================================
   CASE STUDY CARDS
   ========================================================================= */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
@media (min-width: 720px)  { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }

.work-card {
  background: var(--bg);
  border: var(--bw) solid var(--black);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.work-card:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--black);
}
.work-card__media {
  aspect-ratio: 16 / 10;
  background: var(--cream);
  border-bottom: var(--bw) solid var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  color: var(--ink);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}
.work-card__media img { width: 100%; height: 100%; object-fit: cover; }
.work-card__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.work-card__tag {
  display: inline-block;
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--yellow);
  border: 2px solid var(--black);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  align-self: flex-start;
}
.work-card__title { margin: 0; }
.work-card__desc { font-size: var(--fs-sm); color: var(--ink); }
.work-card__link {
  margin-top: auto;
  font-weight: 700;
  display: inline-flex;
  gap: var(--sp-2);
  align-items: center;
}
.work-card__link::after { content: "->"; transition: transform 160ms ease; }
.work-card:hover .work-card__link::after { transform: translateX(4px); }

/* =========================================================================
   REVIEWS WALL
   ========================================================================= */
.reviews {
  background: var(--cream);
}
.reviews__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-5);
  margin-bottom: var(--sp-7);
}
.reviews__rating {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  background: var(--bg);
  border: var(--bw) solid var(--black);
  border-radius: var(--r-pill);
  padding: 8px 18px;
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}
.reviews__rating-num { font-size: var(--fs-xl); font-family: var(--font-display); }
.reviews__rating-stars { color: var(--yellow); -webkit-text-stroke: 1px var(--black); letter-spacing: 1px; }
.reviews__rating-count { color: var(--muted); font-size: var(--fs-sm); }
.reviews__cta { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

.reviews__wall {
  columns: 1;
  gap: var(--sp-5);
}
@media (min-width: 720px)  { .reviews__wall { columns: 2; } }
@media (min-width: 1024px) { .reviews__wall { columns: 3; } }

.review-card {
  break-inside: avoid;
  background: var(--bg);
  border: var(--bw) solid var(--black);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  padding: var(--sp-5);
  margin-bottom: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.review-card:nth-child(3n) { background: var(--yellow); }
.review-card:nth-child(5n) { background: var(--pink); }

.review-card__head { display: flex; align-items: center; gap: var(--sp-3); }
.review-card__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--black);
  background: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--fs-base);
  flex-shrink: 0;
  overflow: hidden;
}
.review-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-card__author { font-weight: 700; font-size: var(--fs-sm); }
.review-card__when { font-size: var(--fs-xs); color: var(--muted); }
.review-card__stars { color: var(--ink); -webkit-text-stroke: 1px var(--black); letter-spacing: 2px; }
.review-card__body { font-size: var(--fs-base); line-height: 1.55; }
.review-card__source {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  color: var(--muted);
}

.reviews__empty {
  text-align: center;
  background: var(--bg);
  border: var(--bw) dashed var(--black);
  border-radius: var(--r-md);
  padding: var(--sp-7);
}
.reviews__loading {
  text-align: center;
  color: var(--muted);
  padding: var(--sp-6);
}

/* =========================================================================
   ABOUT / WHO'S BEHIND IT
   ========================================================================= */
.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  align-items: center;
}
@media (min-width: 720px) { .about { grid-template-columns: 320px 1fr; } }

.about__photo {
  border: var(--bw) solid var(--black);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 1 / 1;
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================================
   CONTACT FORM
   ========================================================================= */
.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
  align-items: start;
}
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; } }

.contact__info { display: flex; flex-direction: column; gap: var(--sp-4); }
.contact__channels {
  display: grid;
  gap: var(--sp-3);
}
.contact__channel {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: var(--bg);
  border: var(--bw) solid var(--black);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.contact__channel:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--black); }
.contact__channel-icon {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
}

.form {
  background: var(--bg);
  border: var(--bw) solid var(--black);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__label { font-weight: 700; font-size: var(--fs-sm); }
.form__input, .form__textarea {
  padding: 12px 14px;
  border: var(--bw) solid var(--black);
  border-radius: var(--r-sm);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--ink);
  width: 100%;
  outline: none;
  transition: box-shadow 120ms ease;
}
.form__input:focus, .form__textarea:focus {
  box-shadow: 3px 3px 0 var(--yellow);
}
.form__textarea { min-height: 140px; resize: vertical; font-family: var(--font-body); }
.form__hint { font-size: var(--fs-xs); color: var(--muted); }
.form__status {
  border: var(--bw) solid var(--black);
  border-radius: var(--r-sm);
  padding: var(--sp-3) var(--sp-4);
  font-weight: 600;
  display: none;
}
.form__status[data-state="success"] { display: block; background: var(--yellow); }
.form__status[data-state="error"]   { display: block; background: var(--pink); }

/* Honeypot, must not be visible */
.form__hp {
  position: absolute;
  left: -10000px;
  width: 1px; height: 1px;
  opacity: 0;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  background: var(--ink);
  color: var(--bg);
  padding: var(--sp-7) 0 var(--sp-6);
  border-top: var(--bw-thick) solid var(--black);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  align-items: start;
}
@media (min-width: 720px) { .footer__inner { grid-template-columns: 2fr 1fr 1fr; } }
.footer h4 { color: var(--bg); font-family: var(--font-display); font-size: var(--fs-lg); margin: 0 0 var(--sp-3); }
.footer__brand p { color: rgba(255,255,255,0.7); max-width: 36ch; }
.footer__col a { color: rgba(255,255,255,0.85); display: block; padding: 4px 0; }
.footer__col a:hover { color: var(--yellow); }
.footer__bar {
  margin-top: var(--sp-7);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
  color: rgba(255,255,255,0.6);
  font-size: var(--fs-sm);
}

/* =========================================================================
   REVEAL ANIMATION (scroll into view)
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* =========================================================================
   MOTION PREFERENCES
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
