/* ============================================================
   Fine Folk — warm, light editorial landing page
   Palette: espresso ink on warm cream, sunrise gradient accent,
   espresso used sparingly as a punchy dark accent.
   Type: Bricolage Grotesque (display) + Jost (UI / brand)
   ============================================================ */

:root {
  /* Brand */
  --gold: #f0c24e;
  --coral: #e08646;
  --rose: #c15c73;
  --coral-ink: #a44f2a;            /* darker coral, legible as text on light */
  --gradient: linear-gradient(105deg, var(--gold) 0%, var(--coral) 52%, var(--rose) 100%);

  /* Light surfaces */
  --paper: #f4ecde;                /* page background */
  --surface: #fffaf0;              /* cards (warm white) */
  --surface-2: #fbf3e6;
  --ink: #33291f;                  /* espresso text */
  --ink-soft: #6f6151;
  --ink-faint: #a3937e;
  --line: rgba(51, 41, 31, 0.13);
  --line-soft: rgba(51, 41, 31, 0.07);

  /* Dark accent surfaces (nav pill, manifesto, footer) */
  --espresso: #2a2117;
  --espresso-2: #221a12;
  --cream: #f3ebdc;
  --cream-soft: #c8b9a3;
  --dark-line: rgba(243, 235, 220, 0.16);

  /* Type */
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-ui: "Jost", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Metrics */
  --nav-h: 84px;                   /* clearance below the floating pill */
  --radius: 20px;
  --radius-lg: 28px;
  --maxw: 1120px;
  --frame: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 24px 50px -32px rgba(51, 41, 31, 0.32);
  --shadow-soft: 0 14px 34px -24px rgba(51, 41, 31, 0.28);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 104px; }

body {
  font-family: var(--font-ui);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
::selection { background: var(--coral); color: #fff; }

/* ---------- Atmosphere ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.3'/%3E%3C/svg%3E");
}
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora__blob { position: absolute; border-radius: 50%; filter: blur(100px); }
.aurora__blob--1 {
  width: 46vw; height: 46vw; top: -14vw; right: -10vw; opacity: 0.4;
  background: radial-gradient(circle at 30% 30%, rgba(240, 194, 78, 0.6), transparent 65%);
}
.aurora__blob--2 {
  width: 40vw; height: 40vw; top: 46vh; left: -16vw; opacity: 0.28;
  background: radial-gradient(circle at 60% 40%, rgba(193, 92, 115, 0.4), transparent 65%);
}

/* Framed editorial column */
main {
  position: relative;
  z-index: 2;
  max-width: var(--frame);
  margin: 0 auto;
  border-left: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
}
.footer { position: relative; z-index: 2; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 0.7rem;
  --pad-x: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn__ico {
  display: inline-grid;
  place-items: center;
  width: 1.6em; height: 1.6em;
  margin: -0.35em -0.35em -0.35em 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  transition: transform 0.4s var(--ease), background 0.3s var(--ease);
}
.btn__ico svg { width: 0.85em; height: 0.85em; }
.btn:hover .btn__ico { transform: translate(2px, -2px); }

.btn--solid { background: var(--espresso); color: var(--cream); }
.btn--solid .btn__ico { background: var(--cream); color: var(--ink); }
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(42, 33, 23, 0.55); }

.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.btn--gradient { background: var(--gradient); color: #3a2a13; font-weight: 600; box-shadow: 0 12px 28px -12px rgba(224, 134, 70, 0.7); }
.btn--gradient .btn__ico { background: rgba(58, 42, 19, 0.16); color: #3a2a13; }
.btn--gradient:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(224, 134, 70, 0.85); }

.btn--lg { --pad-y: 0.95rem; --pad-x: 1.6rem; font-size: 1.05rem; }

/* ---------- Floating pill nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 14px clamp(0.8rem, 4vw, 2rem) 0;
  pointer-events: none;
}
.nav__inner {
  pointer-events: auto;
  width: 100%;
  max-width: 940px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  background: var(--espresso);
  border: 1px solid rgba(243, 235, 220, 0.08);
  border-radius: 999px;
  padding: 0.5rem 0.6rem 0.5rem 1.4rem;
  box-shadow: 0 14px 36px -18px rgba(42, 33, 23, 0.55);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.nav.is-scrolled .nav__inner { box-shadow: 0 18px 44px -16px rgba(42, 33, 23, 0.7); }
.nav__brand { display: inline-flex; justify-self: start; }
.nav__logo { height: 22px; width: auto; }

.nav__links {
  display: flex;
  gap: clamp(1rem, 2.6vw, 2rem);
  justify-self: center;
}
.nav__links a {
  color: var(--cream-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.25s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__links a:hover { color: var(--cream); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 0.5rem; justify-self: end; }
.btn--nav {
  background: transparent;
  color: var(--cream);
  border-color: var(--dark-line);
  --pad-y: 0.5rem; --pad-x: 0.55rem; --pad-x-l: 1rem;
  padding: var(--pad-y) var(--pad-x) var(--pad-y) var(--pad-x-l);
  font-size: 0.9rem;
}
.btn--nav .btn__ico { background: var(--cream); color: var(--ink); }
.btn--nav:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span { width: 20px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  pointer-events: auto;
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: clamp(0.8rem, 4vw, 2rem);
  right: clamp(0.8rem, 4vw, 2rem);
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  color: var(--ink);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 500;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  transition: background 0.2s var(--ease);
}
.mobile-menu a:hover { background: var(--surface-2); }
.mobile-menu .btn { margin-top: 0.4rem; justify-content: center; }
.mobile-menu .btn--solid { color: var(--cream); }

/* ---------- Layout ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 8rem) clamp(1.2rem, 4vw, 2.5rem);
}
.section__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head--center { text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gradient); flex: none; }
.eyebrow::after { content: ""; width: 42px; height: 2px; border-radius: 2px; background: var(--gradient); opacity: 0.85; }
.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  padding: calc(var(--nav-h) + clamp(3rem, 9vw, 6rem)) clamp(1.2rem, 4vw, 2.5rem) clamp(3rem, 6vw, 5rem);
}
.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.7rem;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.7rem, 7vw, 5.1rem);
  line-height: 1.04;
  letter-spacing: -0.014em;
  color: var(--ink);
}
.hero__accent {
  font-style: italic;
  font-weight: 400;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__dot {
  display: inline-block;
  width: 0.4em; height: 0.4em;
  margin-left: 0.1em;
  border-radius: 50%;
  background: var(--gradient);
  vertical-align: 0.08em;
  box-shadow: 0 0 22px rgba(224, 134, 70, 0.5);
}
.hero__lede {
  font-size: clamp(1.05rem, 2.2vw, 1.26rem);
  color: var(--ink-soft);
  max-width: 600px;
  margin: 1.8rem auto 0;
  line-height: 1.62;
}
.hero__cta { display: flex; gap: 0.85rem; justify-content: center; margin-top: 2.4rem; flex-wrap: wrap; }

/* ---------- Work: sticky-stacking cards (LIGHT) ---------- */
.stack { display: flex; flex-direction: column; gap: clamp(1.2rem, 3vw, 2rem); }
.card {
  position: sticky;
  top: calc(var(--nav-h) + 16px + var(--card-index) * 14px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 360px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease);
}
.card__text { padding: clamp(1.8rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.card__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}
.card__tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gradient); }
.card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -0.008em;
  margin-bottom: 0.9rem;
}
.card__desc { color: var(--ink-soft); font-size: 1rem; max-width: 46ch; }
.card__stats { list-style: none; margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.card__stats li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.94rem; color: var(--ink); }
.check { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--coral-ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* Clean sunrise gradient art panels */
.card__visual { position: relative; min-height: 220px; overflow: hidden; }
.card__visual::before { content: ""; position: absolute; inset: 0; }
.card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 80% 15%, rgba(255, 255, 255, 0.4), transparent 55%);
  mix-blend-mode: soft-light;
}
.card__visual--a::before { background: linear-gradient(140deg, #f6cd6b 0%, #e88a4e 52%, #c75f76 100%); }
.card__visual--b::before { background: linear-gradient(140deg, #f3c061 0%, #d76a52 52%, #ab4d6b 100%); }
.card__visual--c::before { background: linear-gradient(140deg, #f5c869 0%, #e07f49 50%, #b85566 100%); }
.card__visual--d::before { background: linear-gradient(140deg, #efb95e 0%, #d96f55 52%, #c15c73 100%); }

/* ---------- Approach / manifesto (DARK accent) ---------- */
.approach { max-width: 920px; }
.manifesto {
  background: var(--espresso);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px -44px rgba(42, 33, 23, 0.55);
}
.manifesto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 70% at 50% -12%, rgba(240, 194, 78, 0.1), transparent 58%);
  pointer-events: none;
}
.manifesto > * { position: relative; }
.manifesto__mark { display: block; width: 46px; height: 46px; border-radius: 50%; background: var(--gradient); margin-bottom: 1.8rem; box-shadow: 0 0 36px rgba(224, 134, 70, 0.45); }
.manifesto__line {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  line-height: 1.26;
  letter-spacing: -0.005em;
  margin-bottom: 1.6rem;
}
.manifesto__body { color: var(--cream-soft); font-size: 1.05rem; line-height: 1.7; max-width: 60ch; }
.manifesto__body + .manifesto__body { margin-top: 1.1rem; }
.manifesto__sign { margin-top: 1.8rem; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.25rem; color: var(--gold); }

/* ---------- Services (LIGHT cards) ---------- */
.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.5vw, 1.5rem); }
.service {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.service__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(240, 194, 78, 0.2), rgba(193, 92, 115, 0.14));
  border: 1px solid var(--line);
  color: var(--ink);
  margin-bottom: 1.4rem;
}
.service__icon svg { width: 25px; height: 25px; }
.service__title { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; letter-spacing: -0.004em; margin-bottom: 0.6rem; }
.service__desc { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Testimonial ---------- */
.testimonial-wrap { max-width: 900px; }
.testimonial { text-align: center; }
.testimonial__quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.45rem, 3.4vw, 2.25rem);
  line-height: 1.34;
  letter-spacing: -0.006em;
  color: var(--ink);
}
.testimonial__by { display: inline-flex; align-items: center; gap: 0.85rem; margin-top: 2rem; text-align: left; }
.testimonial__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--gradient); color: #3a2a13; display: grid; place-items: center; font-weight: 600; font-size: 0.9rem; }
.testimonial__by strong { display: block; font-weight: 600; color: var(--ink); }
.testimonial__by em { font-style: normal; color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- FAQ (LIGHT) ---------- */
.faq { max-width: 820px; }
.faq__list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq__item {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq__item[open] { border-color: transparent; box-shadow: var(--shadow-soft); }
.faq__item[open]::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--gradient); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 16px; height: 16px; flex: none; color: var(--ink-soft); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease); }
.faq__icon::before { top: 50%; left: 0; width: 16px; height: 2px; transform: translateY(-50%); }
.faq__icon::after { left: 50%; top: 0; width: 2px; height: 16px; transform: translateX(-50%); }
.faq__item[open] .faq__icon::after { transform: translateX(-50%) scaleY(0); }
.faq__answer { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); }
.faq__answer p { max-width: 62ch; }

/* ---------- Contact form (LIGHT) ---------- */
.contact { max-width: 720px; }
.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  box-shadow: var(--shadow-card);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field__label { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--font-ui);
  font-size: 0.98rem;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(224, 134, 70, 0.18);
}
.field__select { position: relative; }
.field__select select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.field__select svg { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; fill: none; stroke: var(--ink-soft); stroke-width: 2; pointer-events: none; }
.form__submit { margin-top: 0.5rem; justify-content: center; }
.form__note { font-size: 0.9rem; text-align: center; color: var(--coral-ink); min-height: 1.2em; }
.form__note.is-error { color: #c0392b; }

/* ---------- Footer (DARK accent) ---------- */
.footer {
  background: var(--espresso-2);
  color: var(--cream);
  border-radius: clamp(28px, 5vw, 48px) clamp(28px, 5vw, 48px) 0 0;
  margin-top: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
}
.footer__cta { max-width: var(--maxw); margin: 0 auto; padding: clamp(4rem, 9vw, 7rem) clamp(1.2rem, 4vw, 2.5rem); text-align: center; }
.footer__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.3rem, 6vw, 4.1rem); line-height: 1.06; letter-spacing: -0.012em; margin-bottom: 2rem; }
.footer__bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2rem clamp(1.2rem, 4vw, 2.5rem) 2.5rem;
  border-top: 1px solid var(--dark-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.footer__logo { height: 22px; width: auto; opacity: 0.95; }
.footer__links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer__links a { color: var(--cream-soft); text-decoration: none; font-size: 0.92rem; transition: color 0.25s var(--ease); }
.footer__links a:hover { color: var(--cream); }
.footer__made { color: var(--cream-soft); font-size: 0.85rem; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--reveal-delay, 0) * 90ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Focus ---------- */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Responsive ---------- */
@media (min-width: 861px) { .mobile-menu { display: none !important; } }

@media (max-width: 860px) {
  main { border-left: none; border-right: none; }
  .nav__inner { grid-template-columns: 1fr auto; padding-left: 1.2rem; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__actions .btn--nav { display: none; }

  .card { grid-template-columns: 1fr; min-height: 0; top: calc(var(--nav-h) + 8px + var(--card-index) * 10px); }
  .card__visual { min-height: 170px; order: -1; }

  .services__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .card { position: relative; top: auto; }
}
