/* ==========================================================================
   Coffee Layer, LLC — corporate site styles
   Single stylesheet. No frameworks, no external font requests.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */

:root {
  color-scheme: light dark;

  /* Type */
  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;

  /* Fluid type scale */
  --step--1: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.125rem, 1.07rem + 0.28vw, 1.3125rem);
  --step-2: clamp(1.375rem, 1.27rem + 0.5vw, 1.625rem);
  --step-3: clamp(1.75rem, 1.55rem + 0.95vw, 2.375rem);
  --step-4: clamp(2.25rem, 1.8rem + 2.2vw, 3.5rem);
  --step-5: clamp(2.75rem, 2rem + 3.6vw, 4.5rem);

  /* Space */
  --space-2xs: 0.375rem;
  --space-xs: 0.625rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: clamp(4.5rem, 3rem + 7vw, 8rem);

  --container: 68rem;
  --container-narrow: 46rem;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 20px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 220ms;

  /* Light palette (default) */
  --bg: #fbfaf8;
  --bg-alt: #f5f2ed;
  --surface: #ffffff;
  --ink: #16130f;
  --ink-2: #5b5349;
  --ink-3: #6e655a;
  --accent: #a65b2b;
  --accent-ink: #8f4b1e;
  --on-accent: #ffffff;
  --line: #e8e3db;
  --line-strong: #d6cec2;
  --shadow-s: 0 1px 2px rgba(22, 19, 15, 0.05);
  --shadow-m: 0 12px 32px -18px rgba(22, 19, 15, 0.28);
  --glow: rgba(166, 91, 43, 0.09);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0d0c;
    --bg-alt: #141110;
    --surface: #171413;
    --ink: #f4f1ec;
    --ink-2: #a8a099;
    --ink-3: #a8a099;
    --accent: #e4a06a;
    --accent-ink: #e4a06a;
    --on-accent: #16130f;
    --line: #2a2522;
    --line-strong: #3a3330;
    --shadow-s: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-m: 0 12px 32px -18px rgba(0, 0, 0, 0.8);
    --glow: rgba(228, 160, 106, 0.08);
  }
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.032em;
  text-wrap: balance;
  color: var(--ink);
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); letter-spacing: -0.02em; }

p,
li {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  transition: color var(--dur) var(--ease),
    text-decoration-color var(--dur) var(--ease);
}

a:hover {
  color: var(--accent-ink);
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection {
  background: color-mix(in srgb, var(--accent) 24%, transparent);
  color: var(--ink);
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--space-l) 0;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */

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

@media (min-width: 40em) {
  .container { padding-inline: var(--space-l); }
}

.container--narrow { max-width: var(--container-narrow); }

main { flex: 1 0 auto; }

.section {
  padding-block: var(--space-2xl);
  border-top: 1px solid var(--line);
}

.section--flush {
  border-top: 0;
  padding-top: 0;
}

.section--tint { background: var(--bg-alt); }

.skip-link {
  position: absolute;
  left: var(--space-s);
  top: var(--space-s);
  z-index: 100;
  padding: 0.7rem 1.1rem;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-s);
  font-size: var(--step--1);
  font-weight: 550;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
  color: var(--bg);
}

/* --------------------------------------------------------------------------
   4. Shared text elements
   -------------------------------------------------------------------------- */

.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: var(--space-s);
}

.lede {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 34ch;
  letter-spacing: -0.014em;
}

.lede--wide { max-width: 52ch; }

.section-head {
  max-width: var(--container-narrow);
  margin-bottom: var(--space-xl);
}

.section-head p {
  color: var(--ink-2);
  margin-top: var(--space-s);
  font-size: var(--step-1);
  max-width: 52ch;
}

/* --------------------------------------------------------------------------
   5. Buttons & link affordances
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: var(--step--1);
  font-weight: 550;
  line-height: 1.3;
  letter-spacing: -0.008em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), color var(--dur) var(--ease),
    transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow-s);
}

.btn--primary:hover {
  background: var(--accent-ink);
  color: var(--on-accent);
  box-shadow: var(--shadow-m);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  background: var(--surface);
  border-color: var(--ink-3);
  color: var(--ink);
}

.btn--lg {
  padding: 0.85rem 1.6rem;
  font-size: var(--step-0);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-l);
}

/* Inline arrow link */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 550;
  font-size: var(--step--1);
  color: var(--accent-ink);
  text-decoration: none;
}

.arrow-link::after {
  content: "";
  width: 0.7em;
  height: 0.7em;
  border-right: 1.75px solid currentColor;
  border-top: 1.75px solid currentColor;
  transform: rotate(45deg) translate(0, 0);
  transition: transform var(--dur) var(--ease);
}

.arrow-link:hover { text-decoration: underline; }
.arrow-link:hover::after { transform: rotate(45deg) translate(2px, -2px); }

/* Mark external destinations for sighted users; screen readers get real text */
.ext::after {
  content: "";
  display: inline-block;
  width: 0.62em;
  height: 0.62em;
  margin-left: 0.15em;
  border: 1.6px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  transform: rotate(45deg) translateY(-0.06em);
  transition: transform var(--dur) var(--ease);
}

.arrow-link.ext::after {
  border-radius: 0;
  clip-path: none;
  border-left: 0;
  border-bottom: 0;
}

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
}

@supports (backdrop-filter: blur(1px)) {
  .site-header { backdrop-filter: saturate(1.6) blur(14px); }
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-s);
  padding-block: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.028em;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}

.brand:hover { color: var(--ink); }
.brand:hover .brand__mark { transform: translateY(-1px); }

.brand__mark {
  flex: none;
  width: 26px;
  height: 26px;
  color: var(--accent);
  transition: transform var(--dur) var(--ease);
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem var(--space-m);
  width: 100%;
  order: 3;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-m);
  list-style: none;
  padding: 0;
  margin-right: auto;
}

.site-nav__link {
  display: inline-block;
  padding-block: 0.25rem;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
}

.site-nav__link:hover { color: var(--ink); }

.site-nav__link[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

@media (min-width: 46em) {
  .site-header__inner { padding-block: 1.1rem; }
  .site-nav {
    width: auto;
    order: 0;
    padding-top: 0;
    border-top: 0;
    gap: var(--space-l);
  }
  .site-nav__list { gap: var(--space-l); }
  .brand { font-size: 1.125rem; }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(3.5rem, 2rem + 9vw, 8rem) var(--space-2xl);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% 0 auto -10%;
  z-index: -2;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, var(--glow), transparent 68%);
  pointer-events: none;
}

.hero__layers {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -8%;
  width: min(36rem, 62%);
  transform: translateY(-46%);
  color: var(--accent);
  opacity: 0.16;
  pointer-events: none;
}

@media (prefers-color-scheme: dark) {
  .hero__layers { opacity: 0.2; }
}

@media (max-width: 62em) {
  .hero__layers {
    right: -24%;
    width: min(26rem, 62%);
    opacity: 0.1;
  }
}

/* Below this the artwork would sit behind the body copy, so drop it and let
   the radial wash carry the hero on its own. */
@media (max-width: 44em) {
  .hero__layers { display: none; }
}

.hero__inner { max-width: 44rem; }

.hero h1 { margin-bottom: var(--space-m); }

.hero .lede { max-width: 46ch; }

.hero__meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: var(--space-xl);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

.hero__meta .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* --------------------------------------------------------------------------
   8. Product cards (duplicate one .product-card to add a product)
   -------------------------------------------------------------------------- */

.product-grid {
  display: grid;
  gap: var(--space-m);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 33rem));
  justify-content: start;
  align-items: start;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
  transition: border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.product-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-m);
  transform: translateY(-2px);
}

.product-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.product-card__logo {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-s);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
}

.product-card__title {
  margin: 0;
  font-size: var(--step-2);
  letter-spacing: -0.024em;
}

.product-card__kicker {
  display: block;
  margin-top: 0.1rem;
  font-size: var(--step--1);
  color: var(--ink-3);
  letter-spacing: -0.01em;
}

.product-card__body {
  color: var(--ink-2);
  max-width: 56ch;
}

.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  padding-top: var(--space-s);
  margin-top: auto;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-3);
}

.product-card__meta dt {
  display: inline;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card__meta dd {
  display: inline;
  margin: 0 0 0 0.5rem;
  color: var(--ink-2);
}

.product-card__meta > div { display: flex; align-items: baseline; }

.product-card .btn-row { margin-top: var(--space-xs); }

.product-grid + .note { margin-top: var(--space-l); }

/* --------------------------------------------------------------------------
   9. Principles / editorial grids
   -------------------------------------------------------------------------- */

.grid-list {
  display: grid;
  gap: var(--space-l) var(--space-m);
  grid-template-columns: 1fr;
  list-style: none;
  padding: 0;
}

/* 4 items: 1 / 2 / 4 columns, so a row is never left with one orphan. */
@media (min-width: 40em) {
  .grid-list { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 64em) {
  .grid-list { grid-template-columns: repeat(4, 1fr); }
}

.grid-list > li {
  padding-top: var(--space-s);
  border-top: 2px solid var(--ink);
}

.grid-list h3 {
  font-size: var(--step-1);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.grid-list p {
  color: var(--ink-2);
  font-size: var(--step--1);
  line-height: 1.6;
}

/* Numbered process steps */
.steps {
  display: grid;
  gap: var(--space-l) var(--space-m);
  grid-template-columns: 1fr;
  list-style: none;
  padding: 0;
  counter-reset: step;
}

/* 6 items: 1 / 2 / 3 columns, always filling the final row. */
@media (min-width: 34em) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 62em) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.steps > li {
  counter-increment: step;
  padding-top: var(--space-s);
  border-top: 1px solid var(--line-strong);
}

.steps > li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: var(--space-xs);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent-ink);
}

.steps h3 {
  font-size: var(--step-1);
  margin-bottom: 0.3rem;
}

.steps p {
  color: var(--ink-2);
  font-size: var(--step--1);
  line-height: 1.6;
}

.spec-list {
  display: grid;
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--line);
}

.spec-list > li {
  display: grid;
  gap: 0.3rem var(--space-l);
  padding-block: var(--space-m);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 44em) {
  .spec-list > li {
    grid-template-columns: minmax(9rem, 14rem) 1fr;
    align-items: baseline;
  }
}

.spec-list h3 {
  font-size: var(--step-1);
  letter-spacing: -0.02em;
}

.spec-list p {
  color: var(--ink-2);
  font-size: var(--step-0);
  max-width: 54ch;
}

/* --------------------------------------------------------------------------
   10. Statement block
   -------------------------------------------------------------------------- */

.statement {
  max-width: 40ch;
  margin: 0;
  font-size: var(--step-3);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.statement__rule {
  display: block;
  width: 2.5rem;
  height: 2px;
  background: var(--accent);
  margin-bottom: var(--space-m);
}

/* --------------------------------------------------------------------------
   11. CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  padding-block: var(--space-2xl);
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
}

.cta-band h2 {
  font-size: var(--step-3);
  max-width: 18ch;
}

.cta-band p {
  color: var(--ink-2);
  margin-top: var(--space-xs);
  max-width: 42ch;
}

/* --------------------------------------------------------------------------
   12. Page headers & prose (legal, about, contact)
   -------------------------------------------------------------------------- */

.page-head {
  padding-block: clamp(3rem, 2rem + 6vw, 5.5rem) var(--space-xl);
}

.page-head h1 { font-size: var(--step-4); }

.page-head .lede { margin-top: var(--space-m); }

.prose {
  max-width: 42rem;
  padding-bottom: var(--space-2xl);
}

.prose > * + * { margin-top: var(--space-s); }

.prose h2 {
  font-size: var(--step-2);
  margin-top: var(--space-xl);
  padding-top: var(--space-s);
  border-top: 1px solid var(--line);
}

.prose h3 {
  font-size: var(--step-1);
  margin-top: var(--space-l);
}

.prose p,
.prose li { color: var(--ink-2); }

.prose strong { color: var(--ink); font-weight: 600; }

.prose ul,
.prose ol {
  padding-left: 1.15rem;
  display: grid;
  gap: 0.5rem;
}

.prose a { color: var(--accent-ink); }

.prose .meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.note {
  padding: var(--space-m);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius-s);
  background: var(--surface);
  font-size: var(--step--1);
}

.note p { margin: 0; }
.note p + p { margin-top: var(--space-xs); }

/* Contact cards */
.contact-grid {
  display: grid;
  gap: var(--space-m);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  padding: 0;
  list-style: none;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: var(--space-m);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
}

.contact-card h2,
.contact-card h3 {
  font-size: var(--step-1);
  border: 0;
  margin: 0;
  padding: 0;
  letter-spacing: -0.02em;
}

.contact-card p {
  color: var(--ink-2);
  font-size: var(--step--1);
  margin: 0;
}

.contact-card .value {
  margin-top: auto;
  padding-top: var(--space-xs);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  word-break: break-word;
}

.contact-card .value a { color: var(--accent-ink); }

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  flex: none;
  border-top: 1px solid var(--line);
  padding-block: var(--space-xl) var(--space-l);
  font-size: var(--step--1);
}

.site-footer__grid {
  display: grid;
  gap: var(--space-l);
  grid-template-columns: 1fr;
}

@media (min-width: 40em) {
  .site-footer__grid {
    grid-template-columns: minmax(14rem, 1.4fr) repeat(2, minmax(8rem, 1fr));
    gap: var(--space-xl);
  }
}

.site-footer__about p {
  color: var(--ink-2);
  margin-top: var(--space-xs);
  max-width: 34ch;
}

.site-footer h2 {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: var(--space-xs);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.site-footer a {
  color: var(--ink-2);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-s);
  margin-top: var(--space-xl);
  padding-top: var(--space-m);
  border-top: 1px solid var(--line);
  color: var(--ink-3);
}

.site-footer__bottom p { margin: 0; }

/* --------------------------------------------------------------------------
   14. 404
   -------------------------------------------------------------------------- */

.error-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: var(--space-2xl);
  min-height: 52vh;
}

.error-page .code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--accent-ink);
  margin-bottom: var(--space-s);
}

/* --------------------------------------------------------------------------
   15. Motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: reveal 380ms var(--ease) both;
  }
  .reveal-1 { animation-delay: 30ms; }
  .reveal-2 { animation-delay: 70ms; }
  .reveal-3 { animation-delay: 120ms; }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover,
  .product-card:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   16. Utilities & print
   -------------------------------------------------------------------------- */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media print {
  .site-header,
  .cta-band,
  .hero__layers,
  .skip-link { display: none; }
  body { background: #fff; color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}
