/* ==========================================================================
   Big Boss Flooring — Design System
   Light & airy. Warm paper, near-black ink, brand orange as punctuation.
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  /* Surfaces */
  --paper: #fbf9f6;
  --paper-2: #f4efe8;
  --surface: #ffffff;
  --ink-surface: #16130f;

  /* Ink */
  --ink: #15120e;
  --ink-80: #3a342c;
  --ink-60: #635b51;
  --ink-45: #857c71;
  --on-dark: #f7f4ef;
  --on-dark-60: #b0a89d;

  /* Brand */
  --brand: #ed770e;
  --brand-deep: #a85206;
  --brand-soft: #fdf1e3;
  --brand-line: rgba(237, 119, 14, 0.28);

  /* Lines & shadows */
  --line: rgba(21, 18, 14, 0.1);
  --line-strong: rgba(21, 18, 14, 0.18);
  --shadow-sm: 0 1px 2px rgba(21, 18, 14, 0.04), 0 2px 8px rgba(21, 18, 14, 0.04);
  --shadow-md: 0 2px 4px rgba(21, 18, 14, 0.03), 0 12px 28px rgba(21, 18, 14, 0.07);
  --shadow-lg: 0 4px 8px rgba(21, 18, 14, 0.04), 0 28px 60px rgba(21, 18, 14, 0.1);

  /* Geometry */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Rhythm */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --container: 1200px;
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.4s;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 450;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-optical-sizing: auto;
}

body.is-locked { overflow: hidden; }

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

img { height: auto; }

/* `picture` boxes out of the way so `object-fit` on the `img` resolves
   against the real container, not an auto-height inline wrapper. */
picture { display: contents; }

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

button { background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }

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

h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }

ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 2.5px solid var(--brand-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--brand); color: #fff; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.h-display { font-size: clamp(2.35rem, 4.7vw, 3.9rem); }
.h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.03em; }
.h3 { font-size: clamp(1.15rem, 1.7vw, 1.3rem); letter-spacing: -0.02em; line-height: 1.25; }

.serif {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-60);
  line-height: 1.6;
  text-wrap: pretty;
}

.muted { color: var(--ink-60); }
.tiny { font-size: 0.8125rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-deep);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1.5px;
  background: var(--brand);
  flex: none;
}
.eyebrow--plain::before { display: none; }
@media (max-width: 480px) { .eyebrow { font-size: 0.7rem; letter-spacing: 0.1em; } }

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--r-sm);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: 1400px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--sand { background: var(--paper-2); }
.section--ink { background: var(--ink-surface); color: var(--on-dark); }

.section-head { max-width: 46rem; }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head .lead { margin-top: 1.1rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

.split-head {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .split-head { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .split-head > :last-child { padding-bottom: 0.4rem; }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--on-dark);
  --btn-bd: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95rem 1.55rem;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; width: 1.05em; height: 1.05em; }

.btn--primary { --btn-bg: var(--brand); --btn-fg: #1a1206; }
.btn--primary:hover { --btn-bg: #ff8419; }

.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--on-dark); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line-strong);
}
.btn--ghost:hover { --btn-bd: var(--ink); --btn-bg: rgba(21,18,14,.03); }

.btn--on-dark {
  --btn-bg: transparent;
  --btn-fg: var(--on-dark);
  --btn-bd: rgba(247, 244, 239, 0.28);
}
.btn--on-dark:hover { --btn-bd: rgba(247,244,239,.7); --btn-bg: rgba(247,244,239,.07); }

.btn--sm { padding: 0.65rem 1.15rem; font-size: 0.875rem; }
.btn--lg { padding: 1.1rem 1.9rem; font-size: 1rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand-deep);
}
.link-arrow svg {
  width: 1em; height: 1em;
  transition: transform 0.3s var(--ease-out);
}
.link-arrow:hover svg,
a:hover .link-arrow svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(251,249,246,.92), rgba(251,249,246,0));
  opacity: 1;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.header.is-stuck {
  background: rgba(251, 249, 246, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line);
}
.header.is-stuck::before { opacity: 0; }

.header__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
}

.brand { display: flex; align-items: center; gap: 0.7rem; margin-right: auto; }
.brand img { width: 128px; height: auto; }
@media (max-width: 400px) { .brand img { width: 108px; } }

.nav { display: none; }
@media (min-width: 1000px) {
  .nav { display: flex; align-items: center; gap: 0.15rem; }
}
.nav a {
  position: relative;
  padding: 0.55rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-60);
  border-radius: var(--r-pill);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0.2rem;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--brand);
  transform: translate(-50%, 6px) scale(0);
  transition: transform 0.3s var(--ease-out);
}
.nav a:hover { color: var(--ink); background: rgba(21,18,14,.04); }
.nav a.is-active { color: var(--ink); }
.nav a.is-active::after { transform: translate(-50%, 0) scale(1); }

.header__actions { display: flex; align-items: center; gap: 0.6rem; }
.header__phone {
  display: none;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--r-pill);
  transition: color 0.2s var(--ease);
}
.header__phone svg { width: 1.05em; height: 1.05em; color: var(--brand-deep); }
.header__phone:hover { color: var(--brand-deep); }
@media (min-width: 700px) { .header__phone { display: inline-flex; } }
.header .btn { display: none; }
@media (min-width: 560px) { .header .btn { display: inline-flex; } }

/* Burger */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line-strong);
  transition: border-color 0.2s var(--ease);
}
.burger:hover { border-color: var(--ink); }
.burger span {
  display: block;
  width: 17px; height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.2s var(--ease);
}
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; transform: scaleX(0.3); }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }
@media (min-width: 1000px) { .burger { display: none; } }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--paper);
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease-out),
    visibility 0.35s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
@media (min-width: 1000px) { .drawer { display: none; } }

.drawer__nav { display: flex; flex-direction: column; }
.drawer__nav a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(12px);
}
.drawer.is-open .drawer__nav a {
  animation: drawerIn 0.5s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 55ms + 80ms);
}
.drawer__nav a span {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand-deep);
  letter-spacing: 0.1em;
}
@keyframes drawerIn { to { opacity: 1; transform: none; } }

.drawer__foot { margin-top: auto; padding-top: 2rem; display: grid; gap: 0.7rem; }
.drawer__contact { display: grid; gap: 0.35rem; margin-bottom: 1rem; }
.drawer__contact a { font-weight: 700; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 3.5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: -30%; right: -15%;
  width: min(760px, 85vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(237,119,14,.13), rgba(237,119,14,0) 62%);
  pointer-events: none;
  z-index: -1;
}

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(2.5rem, 4vw, 4rem); }
}

.hero h1 { margin-block: 1.2rem 0; }
.hero h1 em { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.hero .lead { margin-top: 1.35rem; max-width: 34rem; }

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.6rem;
}
.hero__tags li {
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-60);
  background: rgba(255,255,255,.6);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.avatars { display: flex; }
.avatars img {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--paper);
  margin-left: -12px;
  background: var(--paper-2);
}
.avatars img:first-child { margin-left: 0; }

.stars { display: flex; gap: 2px; color: var(--brand); }
.stars svg { width: 15px; height: 15px; }

.hero__media { position: relative; }
.hero__frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #a9937c;
  aspect-ratio: 4 / 3.1;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 980px) { .hero__frame { aspect-ratio: 4 / 3.9; } }

.hero__badge {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 15rem;
}
.hero__badge .ico {
  width: 40px; height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-deep);
}
.hero__badge .ico svg { width: 20px; height: 20px; }
@media (min-width: 980px) { .hero__badge { left: -1.75rem; bottom: 1.75rem; } }
.hero__badge b { display: block; font-size: 0.95rem; letter-spacing: -0.02em; }
.hero__badge span { font-size: 0.78rem; color: var(--ink-60); line-height: 1.35; display: block; }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  padding-block: 1.1rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; }
.marquee li {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-80);
  white-space: nowrap;
}
.marquee li::after {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.cards {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.card::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), #ffb066);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card:focus-within { border-color: var(--brand-line); }

.card__ico {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  margin-bottom: 0.6rem;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease-out);
}
.card__ico svg { width: 24px; height: 24px; }
.card:hover .card__ico { background: var(--brand); color: #fff; transform: rotate(-6deg) scale(1.05); }

.card p { color: var(--ink-60); font-size: 0.95rem; }
.card .link-arrow { margin-top: auto; padding-top: 0.9rem; }
.card__link::after { content: ''; position: absolute; inset: 0; }

/* ---------- Hardwood supply highlight ---------- */
.supply {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  border-radius: var(--r-xl);
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
}
@media (min-width: 940px) {
  .supply { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
}
.supply__copy .eyebrow { margin-bottom: 1rem; }
.supply__copy h2 { margin-bottom: 1.1rem; }
.supply__copy h2 em { font-style: italic; }
.supply__copy .lead { color: var(--ink-80); max-width: 34rem; }
.supply__copy .hero__cta { margin-top: 1.75rem; }

.supply__points { display: grid; gap: 1rem; }
.supply__points li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-sm);
}
.supply__points .ico {
  width: 26px; height: 26px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  margin-top: 0.1rem;
}
.supply__points .ico svg { width: 14px; height: 14px; }
.supply__points b { display: block; font-size: 0.95rem; letter-spacing: -0.02em; margin-bottom: 0.2rem; }
.supply__points span { display: block; font-size: 0.88rem; color: var(--ink-60); line-height: 1.5; }

/* ---------- Process ---------- */
.steps {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  counter-reset: step;
}
.step { position: relative; padding-top: 2.25rem; }
.step::before {
  counter-increment: step;
  content: '0' counter(step);
  position: absolute;
  top: 0; left: 0;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--brand-deep);
}
.step::after {
  content: '';
  position: absolute;
  top: 0.55rem; left: 2.4rem; right: -1rem;
  height: 1px;
  background: var(--line);
}
.step:last-child::after { display: none; }
@media (max-width: 700px) { .step::after { display: none; } }
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--ink-60); font-size: 0.95rem; }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 940px) {
  .about__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); }
}

.about__media { position: relative; }
.about__media img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #b09f91;
}
.about__quote {
  position: absolute;
  right: clamp(-1rem, -2vw, 0rem);
  bottom: -1.5rem;
  max-width: 19rem;
  background: var(--ink-surface);
  color: var(--on-dark);
  padding: 1.4rem 1.5rem;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.about__quote p { font-size: 1.15rem; line-height: 1.35; }
.about__quote cite {
  display: block;
  margin-top: 0.8rem;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}
@media (max-width: 939px) {
  .about__quote { position: static; margin-top: 1.25rem; max-width: none; }
}

.values { display: grid; gap: 1.5rem 2rem; margin-top: 2.25rem; }
@media (min-width: 560px) { .values { grid-template-columns: 1fr 1fr; } }
.value { display: flex; gap: 0.9rem; }
.value .ico {
  width: 38px; height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand-deep);
}
.value .ico svg { width: 19px; height: 19px; }
.value h3 { font-size: 1rem; margin-bottom: 0.15rem; letter-spacing: -0.02em; }
.value p { font-size: 0.9rem; color: var(--ink-60); line-height: 1.5; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
}
.stat { background: var(--surface); padding: clamp(1.4rem, 3vw, 2rem); text-align: center; }
.stat b {
  display: block;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat span { display: block; margin-top: 0.5rem; font-size: 0.85rem; color: var(--ink-60); font-weight: 600; }
.section--ink .stats { background: rgba(247,244,239,.14); border-color: rgba(247,244,239,.14); }
.section--ink .stat { background: var(--ink-surface); }
.section--ink .stat span { color: var(--on-dark-60); }
.section--ink .stat b { color: var(--brand); }

/* ---------- Gallery ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}
.filter {
  padding: 0.55rem 1.05rem;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line-strong);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-60);
  transition: all 0.25s var(--ease);
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter[aria-pressed='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-dark);
}

.gallery {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
}
.gitem {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease-out);
}
.gitem.is-hidden { display: none; }
.gitem.is-entering { opacity: 0; transform: scale(0.97); }

.gitem__frame {
  display: block;
  width: 100%;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
}
.gitem__frame img { width: 100%; height: 100%; object-fit: cover; }

.gitem__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
}
.gitem__body h3 { font-size: 0.98rem; letter-spacing: -0.02em; }
.gitem__body p { font-size: 0.8rem; color: var(--ink-45); margin-top: 0.1rem; }
@media (max-width: 480px) {
  .gitem__body { flex-direction: column-reverse; align-items: flex-start; gap: 0.6rem; }
}

.tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: var(--r-pill);
  background: var(--brand-soft);
  color: var(--brand-deep);
  white-space: nowrap;
  flex: none;
}

/* zoomable single image */
.gitem--single .gitem__frame { cursor: zoom-in; }
.gitem--single .gitem__frame img { transition: transform 0.7s var(--ease-out); }
.gitem--single:hover .gitem__frame img { transform: scale(1.05); }
.gitem--single .gitem__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21,18,14,.35), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.gitem--single:hover .gitem__frame::after { opacity: 1; }
.zoom-hint {
  position: absolute;
  right: 0.85rem; bottom: 0.85rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease-out);
}
.zoom-hint svg { width: 17px; height: 17px; }
.gitem--single:hover .zoom-hint,
.gitem--single:focus-within .zoom-hint { opacity: 1; transform: none; }

/* Before / after comparison */
.ba {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  touch-action: pan-y;
  cursor: ew-resize;
  -webkit-user-select: none;
  user-select: none;
  background: var(--paper-2);
}
.ba img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba__after img { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba__line {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(21,18,14,.15);
  pointer-events: none;
}
.ba__handle {
  position: absolute;
  top: 50%; left: var(--pos, 50%);
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  color: var(--ink);
  cursor: grab;
  transition: transform 0.2s var(--ease-out);
}
.ba__handle:active { cursor: grabbing; }
.ba:hover .ba__handle { transform: translate(-50%, -50%) scale(1.08); }
.ba__handle svg { width: 20px; height: 20px; pointer-events: none; }
.ba__label {
  position: absolute;
  top: 0.75rem;
  padding: 0.28rem 0.65rem;
  border-radius: var(--r-pill);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(21,18,14,.72);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.ba__label--before { left: 0.75rem; }
.ba__label--after { right: 0.75rem; background: var(--brand); color: #1a1206; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(14, 12, 9, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: var(--r-md);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  transform: scale(0.96);
  transition: transform 0.4s var(--ease-out);
}
.lightbox.is-open img { transform: none; }
.lightbox__cap {
  margin-top: 1rem;
  text-align: center;
  color: rgba(247,244,239,.75);
  font-size: 0.875rem;
}
.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(247,244,239,.12);
  color: #fff;
  transition: background-color 0.2s var(--ease);
}
.lightbox__btn:hover { background: rgba(247,244,239,.25); }
.lightbox__btn svg { width: 20px; height: 20px; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- Testimonials ---------- */
.reviews-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.carousel-nav { display: flex; gap: 0.5rem; }
.carousel-nav button {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  transition: all 0.25s var(--ease);
}
.carousel-nav button:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.carousel-nav button:disabled { opacity: 0.3; cursor: not-allowed; }
.carousel-nav svg { width: 18px; height: 18px; }

.rail {
  display: flex;
  gap: 1.25rem;
  margin-top: 2.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
  /* bleed to the screen edges on small screens */
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}
.rail::-webkit-scrollbar { display: none; }

.review {
  scroll-snap-align: start;
  flex: 0 0 min(100%, 27rem);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
}
.review .stars { margin-bottom: 1rem; }
.review blockquote {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-80);
  flex: 1;
}
.review figcaption {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.review figcaption img,
.review .initials {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  background: var(--paper-2);
}
.review .initials {
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--brand-deep);
  background: var(--brand-soft);
}
.review figcaption b { display: block; font-size: 0.92rem; letter-spacing: -0.015em; }
.review figcaption span { display: block; font-size: 0.8rem; color: var(--ink-45); }

.dots { display: flex; gap: 0.4rem; justify-content: center; margin-top: 1.75rem; }
.dots button {
  width: 7px; height: 7px;
  border-radius: var(--r-pill);
  background: var(--line-strong);
  transition: all 0.3s var(--ease-out);
}
.dots button[aria-current='true'] { width: 24px; background: var(--brand); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.75rem; margin-top: clamp(2rem, 4vw, 3rem); }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq details[open] { border-color: var(--brand-line); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 1.35rem;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev {
  flex: none;
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--ink-60);
  transition: transform 0.35s var(--ease-out), background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.faq summary .chev svg { width: 13px; height: 13px; }
.faq details[open] summary .chev { transform: rotate(180deg); background: var(--brand); color: #fff; }
.faq__body { padding: 0 1.35rem 1.35rem; color: var(--ink-60); font-size: 0.95rem; max-width: 62ch; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band::before {
  content: '';
  position: absolute;
  left: 50%; top: -60%;
  width: min(900px, 120vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(237,119,14,.22), transparent 62%);
  pointer-events: none;
}
.cta-band__inner { position: relative; text-align: center; max-width: 44rem; margin-inline: auto; }
.cta-band h2 { color: var(--on-dark); }
.cta-band p { color: var(--on-dark-60); margin-top: 1.1rem; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 2rem; }

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (min-width: 940px) {
  .contact__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 700; letter-spacing: -0.01em; }
.field label .req { color: var(--brand-deep); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--paper);
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field select { appearance: none; cursor: pointer; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23635b51' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 15px;
}
.field :is(input, select, textarea):focus {
  outline: none;
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(237,119,14,.14);
}
.field.has-error :is(input, select, textarea) { border-color: #c22f2f; box-shadow: 0 0 0 4px rgba(194,47,47,.1); }
.field__err { font-size: 0.78rem; font-weight: 600; color: #c22f2f; display: none; }
.field.has-error .field__err { display: block; }

.form-foot {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.form-foot .tiny { color: var(--ink-45); max-width: 22rem; }

.form-status {
  display: none;
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1.5px solid;
}
.form-status.is-shown { display: block; }
.form-status[data-tone='ok'] { background: #edf7ee; border-color: #a8d4ac; color: #1f5c26; }
.form-status[data-tone='err'] { background: #fdeeee; border-color: #e0a6a6; color: #8c2020; }

/* Email hand-off panel (shown after submit when there's no form endpoint) */
.handoff {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border: 1.5px dashed var(--brand-line);
  border-radius: var(--r-md);
  background: var(--brand-soft);
}
.handoff[hidden] { display: none; }
.handoff__lead { font-size: 0.88rem; color: var(--ink-80); margin-bottom: 0.9rem; }
.handoff__lead a { color: var(--brand-deep); font-weight: 700; }
.handoff__text {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-size: 0.85rem;
  line-height: 1.55;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  resize: vertical;
}
.handoff__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.btn.is-loading { pointer-events: none; opacity: 0.75; }
.btn .spinner {
  width: 1em; height: 1em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
.btn.is-loading .spinner { display: block; }
.btn.is-loading .btn__ico { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.info-card {
  background: var(--ink-surface);
  color: var(--on-dark);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
}
.info-card h3 { color: var(--on-dark); margin-bottom: 1.5rem; }
.info-list { display: grid; gap: 1.1rem; }
.info-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.info-list .ico {
  width: 40px; height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(237,119,14,.16);
  color: var(--brand);
  transition: background-color 0.25s var(--ease);
}
.info-list .ico svg { width: 19px; height: 19px; }
.info-list a:hover .ico, .info-list li:hover .ico { background: var(--brand); color: #1a1206; }
.info-list b { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-60); }
.info-list span { display: block; font-size: 0.98rem; font-weight: 600; margin-top: 0.15rem; }

.info-card hr { border: 0; border-top: 1px solid rgba(247,244,239,.14); margin: 1.75rem 0; }
.socials { display: flex; gap: 0.5rem; }
.socials a {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid rgba(247,244,239,.22);
  transition: all 0.25s var(--ease);
}
.socials a:hover { background: var(--brand); border-color: var(--brand); color: #1a1206; transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

.info-list .hours {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--on-dark-60);
  margin-top: 0.1rem;
}

/* ---------- Footer ---------- */
.footer { background: var(--paper-2); border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem) 0; }
.footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}
.footer__grid > :first-child { grid-column: span 1; max-width: 22rem; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer h4 { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-45); margin-bottom: 1.1rem; }
.footer__links { display: grid; gap: 0.6rem; }
.footer__links a { font-size: 0.92rem; color: var(--ink-60); transition: color 0.2s var(--ease); width: fit-content; }
.footer__links a:hover { color: var(--brand-deep); }
.footer img.logo { width: 132px; margin-bottom: 1rem; }
.footer p { font-size: 0.92rem; color: var(--ink-60); }

.footer__bar {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--ink-45);
}
.footer__bar a:hover { color: var(--brand-deep); }

/* ---------- Floating actions ---------- */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-dark);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.35s var(--ease-out);
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 18px; height: 18px; }
@media (max-width: 700px) { .to-top { bottom: calc(72px + 1rem); } }

.mobile-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 95;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 0.5rem;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(251,249,246,.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.4s var(--ease-out);
}
.mobile-bar.is-shown { transform: none; }
@media (min-width: 701px) { .mobile-bar { display: none; } }
.mobile-bar .btn { padding: 0.75rem 0.5rem; font-size: 0.82rem; }
/* keep the last of the footer clear of the fixed action bar */
@media (max-width: 700px) { .footer__bar { padding-bottom: 5.5rem; } }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .rail { scroll-behavior: auto; }
}

/* ---------- Print ---------- */
@media print {
  .header, .drawer, .mobile-bar, .to-top, .marquee, .lightbox { display: none !important; }
  body { background: #fff; }
  .reveal { opacity: 1; transform: none; }
}
