/* ============================================================================
   OCD Cleaning & Co. — token system
   Concept: "The Straight Line" — vacuum stripes, grout lines, folded edges, a
   checklist that ticks itself off. Every component below reads these custom
   properties; no raw colors, no inline styles anywhere in the markup.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("./fonts/archivo-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("./fonts/archivo-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("./fonts/archivo-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("./fonts/plexsans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("./fonts/plexsans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("./fonts/plexsans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("./fonts/plexsans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("./fonts/plexmono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---- color: HSL components (h s% l%), composed via hsl(var(--x)) ---- */
  --background: 200 22% 97%;
  --background-alt: 200 20% 93%;
  --surface: 200 30% 99%;
  --foreground: 215 32% 13%;
  --muted: 212 14% 42%;
  --muted-foreground: 213 12% 38%;
  --border: 206 18% 87%;

  --primary: 214 44% 21%;
  --primary-glow: 210 48% 35%;
  --primary-foreground: 200 30% 98%;

  --accent: 84 62% 45%;
  --accent-glow: 84 66% 58%;
  --accent-foreground: 215 32% 13%;

  /* ---- gradients (the straight-line ink arc) ---- */
  --gradient-primary: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
  --gradient-subtle: linear-gradient(180deg, hsl(var(--background)), hsl(var(--background-alt)));
  --gradient-ink: linear-gradient(115deg, hsl(215 36% 10%) 0%, hsl(var(--primary)) 46%, hsl(var(--primary-glow)) 100%);
  --gradient-accent-wash: radial-gradient(circle at 82% 12%, hsl(var(--accent) / 0.16), transparent 55%);

  /* ---- brand-tinted shadows ---- */
  --shadow-elegant: 0 10px 30px -10px hsl(var(--primary) / 0.35);
  --shadow-glow: 0 0 32px hsl(var(--accent) / 0.28);
  --shadow-soft: 0 2px 14px hsl(var(--foreground) / 0.07);
  --shadow-card: 0 1px 2px hsl(var(--foreground) / 0.05), 0 12px 28px -16px hsl(var(--primary) / 0.28);
  --shadow-rule: 0 1px 0 hsl(var(--border));

  /* ---- radius scale (one scale, site-wide) ---- */
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* ---- spacing rhythm ---- */
  --space-3xs: 0.375rem;
  --space-2xs: 0.75rem;
  --space-xs: 1rem;
  --space-sm: 1.5rem;
  --space-md: 2.5rem;
  --space-lg: 4rem;
  --space-xl: 6.5rem;
  --space-2xl: 9rem;

  /* ---- type ---- */
  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --measure: 65ch;

  /* ---- motion ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-med: 320ms;
}

/* the wow moment: checklist ticks draw themselves in on mount */
@keyframes tick-draw {
  from { stroke-dashoffset: 24; }
  to { stroke-dashoffset: 0; }
}
@keyframes box-pop {
  from { transform: scale(0.85); opacity: 0.4; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes rule-grow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------------------------------------------------------------------------
   Base
   ------------------------------------------------------------------------ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100dvh;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  color: hsl(var(--foreground));
}

p { margin: 0; }

.measure { max-width: var(--measure); }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--space-sm);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--primary));
}

section { position: relative; }

/* ---------------------------------------------------------------------------
   Buttons — one identity per CTA intent, defined once, bespoke per intent
   ------------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.97rem;
  padding: 0.9rem 1.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}

/* quote-intent — primary action site-wide */
.btn--quote {
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-elegant);
  position: relative;
}
.btn--quote::after {
  content: "";
  position: absolute; left: 1.1rem; right: 1.1rem; bottom: 0.55rem;
  height: 2px; background: hsl(var(--accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-med) var(--ease-out);
}
.btn--quote:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn--quote:hover::after { transform: scaleX(1); }
.btn--quote:active { transform: translateY(0); }

/* quiet secondary — internal navigation intent */
.btn--quiet {
  background: transparent;
  color: hsl(var(--foreground));
  border-color: hsl(var(--border));
}
.btn--quiet:hover { border-color: hsl(var(--primary)); background: hsl(var(--primary) / 0.05); }

/* on dark grounds (statement break, footer band) */
.btn--onink {
  background: hsl(var(--surface));
  color: hsl(var(--primary));
  box-shadow: var(--shadow-soft);
}
.btn--onink:hover { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); transform: translateY(-2px); }

/* ---------------------------------------------------------------------------
   Demo attribution banner (compliance)
   ------------------------------------------------------------------------ */
.demo-banner {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  text-align: center;
  font-size: 0.78rem;
  padding: 0.55rem 1rem;
}

/* ---------------------------------------------------------------------------
   Nav
   ------------------------------------------------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: hsl(var(--background) / 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid hsl(var(--border));
}
.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-2xs);
  gap: var(--space-sm);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  color: hsl(var(--foreground));
  min-width: 0;
  flex-shrink: 1;
}
.nav__brand img { width: 32px; height: 32px; flex-shrink: 0; }
.nav__brand span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav__brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  color: hsl(var(--muted));
  letter-spacing: 0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .nav__brand { font-size: 0.92rem; }
  .nav__brand small { display: none; }
  .nav__row { gap: var(--space-2xs); }
  .nav__cta.btn { padding: 0.7rem 1.05rem; font-size: 0.85rem; }
}
.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.94rem;
  font-weight: 500;
}
.nav__links a { color: hsl(var(--muted-foreground)); transition: color var(--dur-fast) var(--ease-out); position: relative; }
.nav__links a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -4px;
  height: 2px; background: hsl(var(--accent));
  transition: right var(--dur-med) var(--ease-out);
}
.nav__links a:hover { color: hsl(var(--primary)); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { right: 0; }
.nav__links a[aria-current="page"] { color: hsl(var(--primary)); }
@media (min-width: 860px) { .nav__links { display: flex; } }
.nav__cta { flex-shrink: 0; }

/* mobile menu toggle */
.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--surface));
  color: hsl(var(--foreground));
  cursor: pointer;
}
@media (min-width: 860px) { .nav__toggle { display: none; } }
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: var(--space-2xs);
  padding: var(--space-xs) var(--space-sm) var(--space-sm);
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--background));
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a { padding: 0.5rem 0; font-weight: 500; color: hsl(var(--foreground)); }
.nav__mobile-cta.btn { justify-content: center; margin-top: 0.4rem; }
@media (min-width: 860px) { .nav__mobile { display: none !important; } }

/* ---------------------------------------------------------------------------
   Hero — stacked/framed: centered copy on the page ground, then a full-width
   inset photo held inside a hairline frame (NOT an overlay card on the photo)
   ------------------------------------------------------------------------ */
.hero {
  padding: var(--space-lg) 0 0;
  background: var(--gradient-subtle);
}
.hero__copy {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding-inline: var(--space-sm);
}
.hero__headline {
  font-size: clamp(2.3rem, 6vw, 4rem);
  max-width: 14ch;
}
.hero__sub {
  font-size: 1.12rem;
  color: hsl(var(--muted-foreground));
  max-width: 46ch;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-xs); align-items: center; justify-content: center; margin-top: var(--space-2xs); }
.hero__frame {
  margin-top: var(--space-lg);
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--surface));
  padding: var(--space-sm);
}
.hero__frame-inner {
  max-width: 1180px;
  margin-inline: auto;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
  aspect-ratio: 16 / 8.4;
}
.hero__frame-inner img,
.hero__frame-inner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__frame-badge {
  position: absolute;
  left: var(--space-sm);
  bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: hsl(var(--surface) / 0.92);
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.9rem 0.5rem 0.5rem;
  box-shadow: var(--shadow-soft);
  font-size: 0.82rem;
  font-weight: 600;
}
.hero__frame-badge img { width: 26px; height: 26px; border-radius: 6px; }

/* ---------------------------------------------------------------------------
   Checklist promise band — the wow moment: ticks draw on mount
   ------------------------------------------------------------------------ */
.checklist {
  background: hsl(var(--surface));
  border-block: 1px solid hsl(var(--border));
  padding-block: var(--space-lg);
}
.checklist__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 780px) { .checklist__row { grid-template-columns: repeat(4, 1fr); } }
.checklist__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2xs);
}
.checklist__box {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  border: 2px solid hsl(var(--primary));
  background: hsl(var(--primary) / 0.04);
  display: flex; align-items: center; justify-content: center;
  animation: box-pop 420ms var(--ease-out) both;
}
.checklist__item:nth-child(1) .checklist__box { animation-delay: 40ms; }
.checklist__item:nth-child(2) .checklist__box { animation-delay: 180ms; }
.checklist__item:nth-child(3) .checklist__box { animation-delay: 320ms; }
.checklist__item:nth-child(4) .checklist__box { animation-delay: 460ms; }
.checklist__box svg { width: 26px; height: 26px; }
.checklist__box path {
  stroke: hsl(var(--accent));
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: tick-draw 360ms var(--ease-out) forwards;
}
.checklist__item:nth-child(1) path { animation-delay: 260ms; }
.checklist__item:nth-child(2) path { animation-delay: 400ms; }
.checklist__item:nth-child(3) path { animation-delay: 540ms; }
.checklist__item:nth-child(4) path { animation-delay: 680ms; }
@media (prefers-reduced-motion: reduce) {
  .checklist__box path { stroke-dashoffset: 0; }
}
.checklist__item h3 { font-size: 1.02rem; font-family: var(--font-body); font-weight: 700; }
.checklist__item p { color: hsl(var(--muted-foreground)); font-size: 0.9rem; max-width: 24ch; }

/* ---------------------------------------------------------------------------
   Services bento grid — asymmetric, real imagery per tile
   ------------------------------------------------------------------------ */
.services { padding-block: var(--space-xl); }
.services__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-sm); margin-bottom: var(--space-md); flex-wrap: wrap; }
.services__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); max-width: 16ch; }
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xs);
}
@media (min-width: 760px) {
  .bento-grid { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, minmax(190px, 1fr)); gap: var(--space-sm); }
  .bento-grid__tile--lg { grid-column: span 2; grid-row: span 2; }
  .bento-grid__tile--sm { grid-column: span 2; grid-row: span 1; }
}
.bento-grid__tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  min-height: 230px;
  display: block;
  animation: rise-in 460ms var(--ease-out) both;
}
.bento-grid__tile:nth-child(1) { animation-delay: 40ms; }
.bento-grid__tile:nth-child(2) { animation-delay: 100ms; }
.bento-grid__tile:nth-child(3) { animation-delay: 160ms; }
.bento-grid__tile:nth-child(4) { animation-delay: 220ms; }
.bento-grid__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.bento-grid__tile:hover img { transform: scale(1.05); }
.bento-grid__tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, hsl(215 32% 8% / 0.78) 0%, transparent 44%);
}
.bento-grid__label {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: var(--space-sm);
  color: hsl(var(--surface));
}
.bento-grid__label strong { display: block; font-family: var(--font-display); font-size: 1.18rem; font-weight: 700; }
.bento-grid__label span { display: block; font-size: 0.86rem; color: hsl(var(--surface) / 0.82); margin-top: 0.15rem; }

/* ---------------------------------------------------------------------------
   Full-bleed ink statement break + service-area chips
   ------------------------------------------------------------------------ */
.statement {
  background: var(--gradient-ink);
  color: hsl(var(--primary-foreground));
  padding: var(--space-2xl) var(--space-sm) var(--space-lg);
  text-align: center;
  overflow: hidden;
  position: relative;
}
.statement::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--gradient-accent-wash);
  pointer-events: none;
}
.statement__text {
  position: relative;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.8vw, 2.8rem);
  max-width: 20ch;
  margin-inline: auto;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.statement__areas {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: var(--space-md);
}
.statement__chip {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid hsl(var(--primary-foreground) / 0.28);
  color: hsl(var(--primary-foreground) / 0.9);
}

/* ---------------------------------------------------------------------------
   Vertical process rail — verb labels, checkbox markers
   ------------------------------------------------------------------------ */
.rail { padding-block: var(--space-xl); background: hsl(var(--background)); }
.rail__inner { max-width: 1000px; margin-inline: auto; }
.rail__head { text-align: center; margin-bottom: var(--space-lg); }
.rail__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.rail__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
}
@media (min-width: 820px) { .rail__list { grid-template-columns: repeat(4, 1fr); gap: var(--space-sm); } }
.rail__list::before {
  content: "";
  position: absolute;
  left: 19px; top: 10px; bottom: 10px; width: 2px;
  background: hsl(var(--border));
  transform-origin: top;
  animation: rule-grow 0.9s var(--ease-out) both;
}
@media (min-width: 820px) {
  .rail__list::before { left: 0; right: 0; top: 19px; bottom: auto; height: 2px; width: auto; }
}
.rail__step { position: relative; padding-left: 3.2rem; padding-bottom: var(--space-lg); }
@media (min-width: 820px) { .rail__step { padding-left: 0; padding-top: 3.4rem; padding-bottom: 0; text-align: center; } }
.rail__step:last-child { padding-bottom: 0; }
.rail__marker {
  position: absolute;
  left: 0; top: 0;
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: hsl(var(--surface));
  border: 2px solid hsl(var(--primary));
  color: hsl(var(--primary));
  display: flex; align-items: center; justify-content: center;
}
@media (min-width: 820px) { .rail__marker { left: 50%; transform: translateX(-50%); } }
.rail__step h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.rail__step p { color: hsl(var(--muted-foreground)); max-width: 46ch; font-size: 0.94rem; }
@media (min-width: 820px) { .rail__step p { margin-inline: auto; } }

/* ---------------------------------------------------------------------------
   Local narrative split — image-right/text-left (the one split use)
   ------------------------------------------------------------------------ */
.narrative { padding-block: var(--space-xl); background: hsl(var(--background-alt)); }
.narrative__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: center;
}
@media (min-width: 860px) { .narrative__row { grid-template-columns: 1fr 1fr; gap: var(--space-lg); } }
.narrative__figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3.2;
}
@media (min-width: 860px) { .narrative__figure { order: 2; } }
@media (min-width: 860px) { .narrative__row--flip .narrative__figure { order: 1; } }
.narrative__figure img { width: 100%; height: 100%; object-fit: cover; }
.narrative__copy .eyebrow { display: block; margin-bottom: var(--space-2xs); }
.narrative__copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin-bottom: var(--space-xs); max-width: 15ch; }
.narrative__copy p { color: hsl(var(--muted-foreground)); max-width: 48ch; }
.narrative__copy p + p { margin-top: var(--space-xs); }

/* ---------------------------------------------------------------------------
   Profile panel (about page) — full-bleed image, overlay card
   ------------------------------------------------------------------------ */
.profile {
  position: relative;
  min-height: 58dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.profile__figure { position: absolute; inset: 0; }
.profile__figure img { width: 100%; height: 100%; object-fit: cover; }
.profile__figure::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, hsl(215 32% 8% / 0.68), transparent 55%);
}
.profile__card {
  position: relative;
  z-index: 2;
  margin: var(--space-sm);
  margin-bottom: var(--space-lg);
  background: hsl(var(--surface));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elegant);
  padding: var(--space-md);
  max-width: 560px;
}
@media (min-width: 860px) { .profile__card { margin: var(--space-lg); } }
.profile__card h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: var(--space-xs); }
.profile__card p { color: hsl(var(--muted-foreground)); }

/* ---------------------------------------------------------------------------
   Closing CTA band
   ------------------------------------------------------------------------ */
.closing-band {
  background: hsl(var(--surface));
  border-top: 1px solid hsl(var(--border));
  padding: var(--space-xl) var(--space-sm);
  text-align: center;
}
.closing-band__panel {
  max-width: 640px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}
.closing-band__panel h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.closing-band__panel p { color: hsl(var(--muted-foreground)); max-width: 48ch; }

/* ---------------------------------------------------------------------------
   Credentials/promise strip (services/about reuse) — one edge only
   ------------------------------------------------------------------------ */
.creds { border-top: 1px solid hsl(var(--border)); }
.creds__row { display: grid; grid-template-columns: 1fr; }
@media (min-width: 760px) { .creds__row { grid-template-columns: repeat(3, 1fr); } }
.creds__item {
  padding: var(--space-md) var(--space-sm);
  border-top: 1px solid hsl(var(--border));
  text-align: center;
}
@media (min-width: 760px) {
  .creds__item { border-top: none; border-left: 1px solid hsl(var(--border)); }
  .creds__item:first-child { border-left: none; }
}
.creds__item strong { display: block; font-family: var(--font-display); font-size: 1.12rem; margin-bottom: 0.3rem; }
.creds__item span { color: hsl(var(--muted-foreground)); font-size: 0.92rem; }

/* ---------------------------------------------------------------------------
   Page intro (services/about/contact headers)
   ------------------------------------------------------------------------ */
.page-intro {
  padding: var(--space-xl) var(--space-sm) var(--space-md);
  text-align: center;
}
.page-intro h1 { font-size: clamp(2.1rem, 4.4vw, 3rem); max-width: 22ch; margin-inline: auto; }
.page-intro p { color: hsl(var(--muted-foreground)); max-width: 52ch; margin: var(--space-xs) auto 0; }

/* ---------------------------------------------------------------------------
   Services detail grid — real imagery, no placeholders
   ------------------------------------------------------------------------ */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  padding-block: var(--space-md) var(--space-xl);
}
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: hsl(var(--surface));
  box-shadow: var(--shadow-card);
  animation: rise-in 460ms var(--ease-out) both;
}
.service-card:nth-child(1) { animation-delay: 30ms; }
.service-card:nth-child(2) { animation-delay: 80ms; }
.service-card:nth-child(3) { animation-delay: 130ms; }
.service-card:nth-child(4) { animation-delay: 180ms; }
.service-card:nth-child(5) { animation-delay: 230ms; }
.service-card__figure { aspect-ratio: 4 / 3.1; overflow: hidden; }
.service-card__figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.service-card:hover .service-card__figure img { transform: scale(1.05); }
.service-card__body { padding: var(--space-sm); display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.service-card__body h3 { font-size: 1.15rem; }
.service-card__body p { color: hsl(var(--muted-foreground)); font-size: 0.92rem; flex: 1; }
.service-card__row { display: flex; align-items: center; justify-content: space-between; margin-top: 0.4rem; }
.service-card__price { font-family: var(--font-mono); font-weight: 500; color: hsl(var(--primary)); font-size: 0.98rem; }

/* ---------------------------------------------------------------------------
   Contact page — form + info rail
   ------------------------------------------------------------------------ */
.contact-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding: var(--space-md) 0 var(--space-xl);
}
@media (min-width: 900px) { .contact-split { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.contact-rail { display: flex; flex-direction: column; gap: var(--space-md); }
.contact-rail__item { display: flex; gap: var(--space-xs); align-items: flex-start; }
.contact-rail__item strong { display: block; font-family: var(--font-body); font-weight: 700; margin-bottom: 0.2rem; }
.contact-rail__item span, .contact-rail__item a { color: hsl(var(--muted-foreground)); }
.contact-rail__icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: var(--radius-md);
  background: hsl(var(--primary) / 0.08);
  color: hsl(var(--primary));
  display: flex; align-items: center; justify-content: center;
}
.contact-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 2.6;
  margin-top: var(--space-sm);
}
.contact-figure img { width: 100%; height: 100%; object-fit: cover; }

.form {
  background: hsl(var(--surface));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.form__row { display: grid; grid-template-columns: 1fr; gap: var(--space-xs); }
@media (min-width: 560px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.88rem; font-weight: 600; color: hsl(var(--foreground)); }
.field input, .field textarea, .field select {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.14);
}
.field textarea { resize: vertical; min-height: 120px; }
.form__note { font-size: 0.85rem; color: hsl(var(--muted-foreground)); }
.form__status { font-size: 0.9rem; font-weight: 600; min-height: 1.2em; }
.form__status[data-state="ok"] { color: hsl(210 48% 32%); }
.form__status[data-state="err"] { color: hsl(3 70% 46%); }

/* ---------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------ */
.footer {
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  padding: var(--space-lg) var(--space-sm) var(--space-md);
}
.footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-md);
}
.footer__brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; }
.footer__brand img { width: 26px; height: 26px; }
.footer address { font-style: normal; color: hsl(var(--background) / 0.65); font-size: 0.92rem; line-height: 1.7; }
.footer nav { display: flex; gap: var(--space-sm); flex-wrap: wrap; font-size: 0.92rem; }
.footer nav a { color: hsl(var(--background) / 0.75); }
.footer nav a:hover { color: hsl(var(--background)); }
.footer__legal {
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid hsl(var(--background) / 0.15);
  font-size: 0.82rem;
  color: hsl(var(--background) / 0.55);
}
.footer__legal a { color: hsl(var(--background) / 0.8); text-decoration: underline; text-underline-offset: 2px; }
