/* Minimal fallback rules for every class in the shared contract.
 *
 * Always prepended to the model-generated stylesheet, which overrides it via the normal
 * later-wins cascade. This exists because the stylesheet and the pages are generated by
 * separate model calls, so the stylesheet can omit a contract class -- which used to fail
 * the whole build (a real business, find-dog, died on a missing `btn-primary`). With this
 * in place a missed rule degrades to plain-but-styled instead of destroying the build.
 *
 * Keep these deliberately neutral and low-specificity: they are a safety net, not a design.
 */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.6; }
img { max-width: 100%; height: auto; }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1rem; }

/* Owner-uploaded pictures. Without explicit sizing an <img> renders at its natural size,
 * so a phone photo used as a logo would fill the whole header. */
.logo-mark { height: 2.5rem; width: auto; object-fit: contain; }
.hero-image { width: 100%; max-height: 420px; object-fit: cover; border-radius: .5rem; }
.gallery-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .5rem; }
.about-image { width: 100%; max-width: 420px; border-radius: .5rem; }

.site-header { padding: 1rem 0; }
.header-inner { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 700; }
.logo-text { font-weight: 700; }
.main-nav { display: block; }
.nav-list { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.nav-link { text-decoration: none; }
.nav-link:hover, .nav-link:focus { text-decoration: underline; }
.is-current { font-weight: 700; }

.hero, .page-hero { padding: 3rem 0; }

/* A photo sitting BEHIND the hero text instead of above it. The picture itself is set as
 * an inline `background-image` on the element, because it is per-business data the
 * stylesheet cannot know; these rules supply the darkening overlay and the stacking that
 * keep the heading readable over any photo, light or dark.
 *
 * Exists because an owner asked twice for exactly this and there was no way to express
 * it -- the only picture vocabulary was `.hero-image`, an <img> in the normal page flow. */
.hero-bg { position: relative; background-size: cover; background-position: center;
  padding: 5rem 0; overflow: hidden; }
.hero-bg::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.hero-bg > * { position: relative; z-index: 1; }
.hero-bg .hero-title, .hero-bg .hero-subtitle { color: #fff; }
.hero-inner { display: flex; flex-direction: column; gap: 1rem; }
.hero-title { margin: 0; font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1.15; }
.hero-subtitle { margin: 0; font-size: 1.125rem; }

.section { padding: 3rem 0; }
.section-alt { padding: 3rem 0; }
.section-title { margin: 0 0 1rem; font-size: clamp(1.4rem, 3vw, 2rem); }
.section-intro { margin: 0 0 1.5rem; max-width: 60ch; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.card { padding: 1.25rem; border: 1px solid rgba(0, 0, 0, .12); border-radius: .5rem; }
.card-title { margin: 0 0 .5rem; font-size: 1.125rem; }
.card-text { margin: 0; }

.steps { display: grid; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step-number { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid currentColor; font-weight: 700; }
.step-title { margin: 0 0 .25rem; font-size: 1.05rem; }
.step-text { margin: 0; }

/* FAQ items are <details>/<summary>: they expand on click with no JavaScript. */
html { scroll-behavior: smooth; }
.faq-list { display: grid; gap: 1rem; margin: 0; padding: 0; }
.faq-item { padding: 1rem; border: 1px solid rgba(0, 0, 0, .12); border-radius: .5rem; }
.faq-question { margin: 0; font-size: 1.05rem; font-weight: 700; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: "+"; font-weight: 700; flex: 0 0 auto; }
details[open] > .faq-question::after { content: "\2212"; }
.faq-answer { margin: .75rem 0 0; }

.cta-band { padding: 3rem 0; text-align: center; }
.cta-title { margin: 0 0 .5rem; font-size: clamp(1.3rem, 3vw, 1.9rem); }
.cta-text { margin: 0 0 1.25rem; }

.btn { display: inline-block; padding: .7rem 1.4rem; border-radius: .4rem; text-decoration: none;
  border: 1px solid currentColor; cursor: pointer; }
.btn:hover, .btn:focus { opacity: .85; }
.btn-primary { font-weight: 600; }
.btn-secondary { font-weight: 500; background: transparent; }

.contact-list { display: grid; gap: .75rem; list-style: none; margin: 0; padding: 0; }
.contact-item { display: flex; flex-wrap: wrap; gap: .5rem; }
.contact-label { font-weight: 600; }
.contact-value { }

.site-footer { padding: 2rem 0; }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.footer-col { }
.footer-title { margin: 0 0 .5rem; font-size: 1rem; }
.footer-note { margin: 0; font-size: .9rem; }

@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .step { flex-direction: column; }
}

/* ---- generated ---- */
:root {
  --font-display: "Syne", sans-serif;
  --font-body: "Work Sans", sans-serif;
  --color-bg: #141311;
  --color-surface: #1d1b18;
  --color-ink: #f2efe8;
  --color-muted: #8e8c87;
  --color-border: #353431;
  --color-accent: #e8ff47;
  --color-accent-ink: #111111;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-ink);
}

h1, h2, h3,
.hero-title, .section-title, .card-title, .cta-title, .step-title, .footer-title, .logo-text {
  font-family: var(--font-display);
}

/* ============================================================
   Arrt — Art Gallery
   A dim, quiet gallery wall at night: each artwork gets its own
   spotlight, oversized catalogue numerals mark every entry.
   Shared stylesheet across index / about / services / contact.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Palette */
  --bg:        #141311;
  --surface:   #1d1b18;
  --text:      #f2efe8;
  --muted:     #8e8c87;
  --line:      #353431;
  --accent:    #e8ff47;
  --ink:       #111111;

  /* Type */
  --font-display: "Syne", sans-serif;
  --font-body:    "Work Sans", sans-serif;

  /* Shape — deliberately sharp, like gallery placards */
  --radius:      0px;

  /* Depth */
  --shadow-card:   0 22px 44px -22px rgba(0, 0, 0, 0.65);
  --shadow-accent: 0 18px 44px -14px rgba(232, 255, 71, 0.28);

  /* Rhythm */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-sec:  clamp(5rem, 11vw, 9rem);

  /* Motion */
  --speed:     0.24s;
  --ease:      cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Header height (for sticky offsets) */
  --header-h: 76px;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--speed) var(--ease),
              border-color var(--speed) var(--ease),
              opacity var(--speed) var(--ease);
}

p {
  max-width: 66ch;
}

strong {
  font-weight: 600;
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 19, 17, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: padding var(--speed) var(--ease),
              background var(--speed) var(--ease);
}

.site-header.header-scrolled {
  background: rgba(20, 19, 17, 0.97);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: var(--header-h);
  flex-wrap: wrap;
  padding-block: 0.75rem;
  transition: min-height var(--speed) var(--ease);
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* A quiet accent tick beside the wordmark — the spotlight motif */
.logo::after {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--accent);
  align-self: center;
}

.main-nav {
  display: flex;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.25rem);
  list-style: none;
  flex-wrap: wrap;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--text);
  border-bottom-color: var(--line);
}

.nav-link.is-current {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Mobile: the list simply wraps beneath the wordmark — usable with no JS.
   .is-open (toggled by script) spreads it into a comfortable stacked menu. */
.nav-list.is-open {
  flex-basis: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
  padding-block: var(--space-sm) var(--space-xs);
  border-top: 1px solid var(--line);
  margin-top: 0.5rem;
}

/* ---------- Hero ---------- */
.hero,
.page-hero {
  border-bottom: 1px solid var(--line);
}

.hero {
  padding-block: clamp(6rem, 15vh, 11rem) clamp(5rem, 12vh, 8.5rem);
}

.page-hero {
  padding-block: clamp(4rem, 10vh, 6.5rem) clamp(3.5rem, 8vh, 5.5rem);
}

/* Photo behind the text — the darkening overlay lives on ::before */
.hero-bg {
  background-color: var(--bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  background: rgba(20, 19, 17, 0.78);
}

/* Keep the hero's contents above the overlay */
.hero.hero-bg,
.page-hero.hero-bg {
  position: relative;
}

.hero.hero-bg .hero-inner,
.page-hero.hero-bg .hero-inner {
  position: relative;
  z-index: 1;
}

.hero-inner {
  display: grid;
  gap: var(--space-md);
  /* Asymmetric: the entry sits left, leaving gallery-wall emptiness right */
  justify-items: start;
}

.hero-title {
  font-size: clamp(2.9rem, 8.5vw, 6.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.98;
  max-width: 14ch;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--muted);
  max-width: 52ch;
}

.page-hero .hero-title,
.page-hero .hero-subtitle {
  max-width: none;
}

.page-hero .hero-subtitle {
  max-width: 58ch;
}

/* ---------- Sections ---------- */
.section {
  padding-block: var(--space-sec);
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-alt + .section-alt {
  border-top: none;
}

.section-title {
  font-size: clamp(1.85rem, 4.5vw, 3.1rem);
  margin-bottom: var(--space-md);
}

/* Catalogue placard tick — a thin accent rule above every section heading,
   carrying the signature device through the whole site */
.section-title::before {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 1.1rem;
}

.section-intro {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 60ch;
  margin-bottom: var(--space-xl);
}

/* Oversized catalogue numeral — "No. 01" entries.
   Pages drop this next to any title: <span class="catalogue-num">01</span> */
.catalogue-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 9vw, 7rem);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
  letter-spacing: -0.02em;
  user-select: none;
}

@supports not (-webkit-text-stroke: 2px black) {
  .catalogue-num {
    color: var(--accent);
  }
}

/* Small eyebrow label above titles */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: transform var(--speed) var(--ease),
              border-color var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
}

.card-title {
  font-size: 1.3rem;
}

.card-title::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  background: var(--line);
  margin-top: 0.7rem;
  transition: background var(--speed) var(--ease),
              width var(--speed) var(--ease);
}

.card:hover .card-title::after {
  background: var(--accent);
  width: 54px;
}

.card-text {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Filled variant — one card in a row lit by the spotlight */
.card-featured {
  background: var(--accent);
  border-color: var(--accent);
}

.card-featured .card-title,
.card-featured .card-text {
  color: var(--ink);
}

.card-featured .card-title::after {
  background: var(--ink);
}

.card-featured:hover {
  box-shadow: var(--shadow-accent);
}

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: clamp(2rem, 5vw, 3.5rem);
  counter-reset: step;
}

.step {
  border-top: 1px solid var(--line);
  padding-top: var(--space-md);
  display: grid;
  gap: var(--space-xs);
}

.step-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 6vw, 4.75rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
  transition: color var(--speed) var(--ease);
}

.step:hover .step-number {
  color: var(--accent);
}

@supports not (-webkit-text-stroke: 2px black) {
  .step-number {
    color: var(--accent);
  }
}

.step-title {
  font-size: 1.25rem;
  margin-top: var(--space-xs);
}

.step-text {
  color: var(--muted);
  font-size: 0.97rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  border-top: 1px solid var(--line);
  max-width: 820px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.3;
  padding-block: 1.35rem;
  color: var(--text);
  transition: color var(--speed) var(--ease);
}

.faq-question::-webkit-details-marker {
  display: none;
}

/* Pure-CSS toggle glyph — no icon pack required */
.faq-question::after {
  content: "+";
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--speed) var(--ease);
}

.faq-item[open] .faq-question {
  color: var(--accent);
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  color: var(--muted);
  padding-bottom: 1.5rem;
  max-width: 64ch;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--accent);
  color: var(--ink);
  padding-block: clamp(4rem, 9vw, 6.5rem);
}

.cta-band .container {
  display: grid;
  gap: var(--space-md);
  justify-items: start;
}

.cta-title {
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 20ch;
}

.cta-text {
  color: var(--ink);
  opacity: 0.82;
  max-width: 55ch;
}

.cta-band .btn-primary {
  background: var(--ink);
  color: var(--accent);
}

.cta-band .btn-primary:hover {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.cta-band .btn-secondary {
  color: var(--ink);
  border-color: rgba(17, 17, 17, 0.5);
}

.cta-band .btn-secondary:hover {
  border-color: var(--ink);
  background: rgba(17, 17, 17, 0.08);
}

.cta-band :focus-visible {
  outline-color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.95rem 1.9rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--speed) var(--ease),
              color var(--speed) var(--ease),
              border-color var(--speed) var(--ease),
              transform var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease);
}

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

.btn-primary {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}

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

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Quiet inline text link */
.text-link {
  color: var(--accent);
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.text-link:hover {
  border-bottom-color: var(--accent);
}

/* ---------- Contact details ---------- */
.contact-list {
  list-style: none;
  max-width: 640px;
}

.contact-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.contact-item:first-child {
  border-top: 1px solid var(--line);
}

.contact-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-align: right;
}

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

/* ---------- Footer ---------- */
.site-footer {
  background: #0f0e0c;
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 7vw, 5rem) var(--space-lg);
  color: var(--muted);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.footer-col {
  display: grid;
  gap: var(--space-xs);
  align-content: start;
}

.footer-col .logo-text {
  font-size: 1.25rem;
  color: var(--text);
}

.footer-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: var(--space-xs);
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-note {
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* ---------- Scroll reveal (JS-added classes only — nothing hidden by default) ----------
   Script flow: add .will-reveal → observe → swap to .is-visible. */
.will-reveal {
  opacity: 0;
  transform: translateY(18px);
}

.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

/* Carousel / tab active states */
.carousel-dot.is-active,
.dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
}

.tab.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Back-to-top */
.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--speed) var(--ease),
              border-color var(--speed) var(--ease),
              visibility var(--speed) linear;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.to-top:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Responsive ---------- */

/* Large desktop: let the type breathe even bigger */
@media (min-width: 1200px) {
  body {
    font-size: 1.125rem;
  }

  .footer-inner {
    grid-template-columns: 2.2fr 1fr 1fr;
  }
}

/* Tablet: tighten rhythm, soften grids */
@media (max-width: 1024px) {
  :root {
    --space-sec: clamp(4rem, 9vw, 6.5rem);
  }
}

/* Small tablet / large phone: stack the heavy grids */
@media (max-width: 820px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    gap: var(--space-lg);
  }

  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  }
}

/* Phone: everything single-column, nav wraps under the wordmark */
@media (max-width: 680px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-list {
    gap: 0.9rem 1.4rem;
  }

  .hero-inner,
  .page-hero .hero-inner {
    justify-items: stretch;
  }

  .hero-title {
    max-width: 12ch;
  }

  .card-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .contact-value {
    text-align: left;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

/* ---------- Reduced motion ---------- */
@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;
  }

  .card:hover,
  .btn:active {
    transform: none;
  }
}