/* ==========================================================================
   ROCKSOLID — Solid by Design.
   Palette and usage ratio follow the brand guide:
   60% Off White / Warm Concrete · 25% Graphite · 10% Stone · 5% Rocksolid Red.
   Red is an accent, never the field.
   ========================================================================== */

/* ── Tokens ─────────────────────────────────────────────────────────── */
:root {
  --red:        #B11E23;
  --red-dark:   #8E181C;
  --red-soft:   rgba(177, 30, 35, .08);
  --graphite:   #1C1C1C;
  --graphite-2: #2A2A2A;
  --concrete:   #6B6B6B;
  --stone:      #D8D6D2;
  --stone-2:    #E7E5E1;
  --warm:       #F2F0EC;
  --off-white:  #FAFAF8;
  --bronze:     #8A6A45;
  --white:      #FFFFFF;

  --bg:         var(--warm);
  --bg-alt:     var(--off-white);
  --text:       var(--graphite);
  --text-muted: var(--concrete);
  --line:       var(--stone);

  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --step--1: clamp(.78rem, .76rem + .1vw, .84rem);
  --step-0:  clamp(.95rem, .92rem + .16vw, 1.05rem);
  --step-1:  clamp(1.1rem, 1.04rem + .3vw, 1.3rem);
  --step-2:  clamp(1.35rem, 1.2rem + .7vw, 1.85rem);
  --step-3:  clamp(1.7rem, 1.4rem + 1.4vw, 2.6rem);
  --step-4:  clamp(2.1rem, 1.6rem + 2.4vw, 3.6rem);
  --step-5:  clamp(2.6rem, 1.7rem + 4vw, 5.2rem);

  --gutter: clamp(1.15rem, 4vw, 3rem);
  --section: clamp(4rem, 9vw, 8.5rem);
  --maxw: 1280px;
  --maxw-text: 62ch;

  --radius:    4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(28,28,28,.05), 0 2px 8px rgba(28,28,28,.04);
  --shadow-md: 0 4px 12px rgba(28,28,28,.07), 0 12px 32px rgba(28,28,28,.06);
  --shadow-lg: 0 12px 28px rgba(28,28,28,.10), 0 32px 64px rgba(28,28,28,.10);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: .38s;

  --header-h: 76px;
}

/* ── Reset ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--red); color: #fff; }

/* ── Typography ─────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.025em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); letter-spacing: -.015em; }
h4 { font-size: var(--step-1); letter-spacing: -.01em; line-height: 1.25; }
p { text-wrap: pretty; }
strong { font-weight: 600; }

.display-xl { font-size: var(--step-5); text-transform: uppercase; letter-spacing: -.03em; font-weight: 800; }
.display-lg { font-size: var(--step-4); text-transform: uppercase; letter-spacing: -.025em; font-weight: 800; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--text-muted); max-width: var(--maxw-text); }
.body-lg { font-size: var(--step-1); line-height: 1.6; }
.muted { color: var(--text-muted); }
.measure { max-width: var(--maxw-text); }

/* Eyebrow — the "technical credibility" cue: mono, uppercase, red rule. */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-mono); font-size: var(--step--1);
  text-transform: uppercase; letter-spacing: .14em; font-weight: 500;
  color: var(--red); margin-bottom: 1.15rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--red); flex: none; }
.eyebrow--muted { color: var(--concrete); }
.eyebrow--muted::before { background: var(--concrete); }
.eyebrow--light { color: rgba(255,255,255,.72); }
.eyebrow--light::before { background: rgba(255,255,255,.42); }
.eyebrow--center { justify-content: center; }

.num {
  font-family: var(--font-mono); font-size: var(--step--1); font-weight: 500;
  letter-spacing: .1em; color: var(--red);
}

/* ── Layout ─────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--alt { background: var(--off-white); }
.section--stone { background: var(--stone-2); }
.section--dark { background: var(--graphite); color: var(--off-white); }
.section--dark .lead, .section--dark .muted { color: rgba(250,250,248,.62); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.grid { display: grid; gap: clamp(1.25rem, 2.6vw, 2rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.stack > * + * { margin-top: 1.05rem; }
.cluster { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lead { margin-inline: auto; }

.section-head { max-width: 760px; margin-bottom: clamp(2.2rem, 4.5vw, 3.6rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 + .lead { margin-top: 1.15rem; }

.split {
  display: grid; gap: clamp(1.8rem, 4vw, 4.5rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; align-items: center; } }
@media (min-width: 900px) { .split--sticky > :first-child { position: sticky; top: calc(var(--header-h) + 2.5rem); } }

.rule { height: 1px; background: var(--line); border: 0; margin-block: clamp(2rem, 4vw, 3.5rem); }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  --btn-bg: var(--red); --btn-fg: #fff; --btn-bd: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .92rem 1.6rem; min-height: 50px;
  font-family: var(--font-body); font-size: var(--step-0); font-weight: 600; letter-spacing: .005em;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  border-radius: var(--radius); cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform .18s var(--ease), box-shadow var(--dur) var(--ease);
  position: relative; overflow: hidden; text-align: center;
}
.btn svg { flex: none; transition: transform var(--dur) var(--ease-out); }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--graphite); --btn-bd: var(--graphite); }
.btn--outline:hover { background: var(--graphite); border-color: var(--graphite); color: #fff; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--graphite); --btn-bd: var(--line); }
.btn--ghost:hover { background: var(--white); border-color: var(--graphite); color: var(--graphite); box-shadow: var(--shadow-sm); }
.btn--light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.38); }
.btn--light:hover { background: #fff; color: var(--graphite); border-color: #fff; }
.btn--solid-light { --btn-bg: #fff; --btn-fg: var(--graphite); --btn-bd: #fff; }
.btn--solid-light:hover { background: var(--stone); border-color: var(--stone); color: var(--graphite); }
.btn--wa { --btn-bg: #1FA855; --btn-fg: #fff; --btn-bd: #1FA855; }
.btn--wa:hover { background: #17853F; border-color: #17853F; }
.btn--sm { padding: .6rem 1.05rem; min-height: 40px; font-size: var(--step--1); }
.btn--block { width: 100%; }

/* Text link with animated rule */
.link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; color: var(--graphite); position: relative; padding-bottom: 2px;
}
.link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.link:hover { color: var(--red); }
.link:hover::after { transform: scaleX(1); transform-origin: left; }
.link svg { transition: transform var(--dur) var(--ease-out); }
.link:hover svg { transform: translate(3px, -3px); }
.link--light { color: rgba(255,255,255,.9); }
.link--light:hover { color: #fff; }

/* ── Header ─────────────────────────────────────────────────────────── */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(242,240,236,0);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.header__inner { display: flex; align-items: center; gap: 1.5rem; width: 100%; }
.header.is-stuck, .header.is-solid {
  background: rgba(250,250,248,.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 20px rgba(28,28,28,.05);
  height: 66px;
}
.header.is-hidden { transform: translateY(-100%); }
.header { transition: transform .4s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease), border-color .35s var(--ease); }

.brand { display: inline-flex; align-items: center; gap: .65rem; flex: none; color: var(--red); }
.brand__mark { width: 38px; height: 38px; transition: transform .5s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.04); }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.16rem; letter-spacing: .01em; color: var(--graphite); }
.brand__name b { color: var(--red); font-weight: 800; }
.brand__tag {
  font-family: var(--font-mono); font-size: .56rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--concrete); margin-top: 3px;
}
.header--transparent .brand__name { color: #fff; }
.header--transparent .brand__tag { color: rgba(255,255,255,.6); }
.header--transparent .brand { color: #fff; }
.header.is-stuck .brand__name { color: var(--graphite); }
.header.is-stuck .brand__tag { color: var(--concrete); }
.header.is-stuck .brand { color: var(--red); }

.nav { display: none; margin-left: auto; align-items: center; gap: .25rem; }
@media (min-width: 1040px) { .nav { display: flex; } }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: .3rem;
  padding: .55rem .85rem; border-radius: var(--radius); white-space: nowrap;
  font-size: .93rem; font-weight: 500; color: var(--graphite);
  transition: color .25s var(--ease);
}
.nav__link svg { transition: transform .3s var(--ease); }
.nav__group:hover .nav__link svg { transform: rotate(180deg); }
.header--transparent .nav__link { color: rgba(255,255,255,.86); }
.header.is-stuck .nav__link { color: var(--graphite); }
.nav__link::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .3rem; height: 1.5px;
  background: var(--red); transform: scaleX(0); transform-origin: right;
  transition: transform .3s var(--ease-out);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-active { color: var(--red); }
.header--transparent .nav__link.is-active { color: #fff; }

.nav__group { position: relative; }
.nav__toggle { display: inline-flex; align-items: center; gap: .3rem; background: none; border: 0; cursor: pointer; }
.nav__panel {
  position: absolute; top: calc(100% + .5rem); left: 0; min-width: 300px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: .55rem; opacity: 0; visibility: hidden;
  transform: translateY(-6px); transition: all .28s var(--ease); z-index: 20;
}
.nav__group:hover .nav__panel, .nav__group:focus-within .nav__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__item { display: flex; gap: .8rem; padding: .7rem .8rem; border-radius: var(--radius); transition: background .2s var(--ease); }
.nav__item:hover { background: var(--warm); }
.nav__item svg { color: var(--red); flex: none; margin-top: 2px; }
.nav__item strong { display: block; font-family: var(--font-display); font-size: .98rem; letter-spacing: -.01em; }
.nav__item span { font-size: .8rem; color: var(--text-muted); line-height: 1.4; display: block; }

.header__actions { display: flex; align-items: center; gap: .55rem; margin-left: auto; }
@media (min-width: 1040px) { .header__actions { margin-left: 0; } }

.lang {
  display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em;
}
.header--transparent .lang { border-color: rgba(255,255,255,.3); }
.header.is-stuck .lang { border-color: var(--line); }
.lang a { padding: .42rem .6rem; color: var(--concrete); transition: all .25s var(--ease); }
.header--transparent .lang a { color: rgba(255,255,255,.7); }
.lang a.is-active { background: var(--red); color: #fff; }
.lang a:not(.is-active):hover { background: var(--stone); color: var(--graphite); }
.header--transparent .lang a:not(.is-active):hover { background: rgba(255,255,255,.16); color: #fff; }

.header__cta { display: none; }
@media (min-width: 700px) { .header__cta { display: inline-flex; } }

.burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line); background: transparent;
  border-radius: var(--radius); cursor: pointer; color: var(--graphite);
}
.header--transparent .burger { border-color: rgba(255,255,255,.3); color: #fff; }
.header.is-stuck .burger { border-color: var(--line); color: var(--graphite); }
@media (min-width: 1040px) { .burger { display: none; } }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 1000; visibility: hidden; pointer-events: none;
}
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__scrim {
  position: absolute; inset: 0; background: rgba(28,28,28,.5);
  opacity: 0; transition: opacity .35s var(--ease);
  backdrop-filter: blur(2px);
}
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; inset: 0 0 0 auto; width: min(420px, 88vw);
  background: var(--off-white); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .42s var(--ease-out);
  overflow-y: auto; box-shadow: var(--shadow-lg);
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem var(--gutter); border-bottom: 1px solid var(--line); }
.drawer__body { padding: 1.4rem var(--gutter) 2rem; flex: 1; }
.drawer__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: .95rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 1.28rem; font-weight: 700; letter-spacing: -.015em;
  transition: color .25s var(--ease), padding-left .25s var(--ease);
}
.drawer__link:hover { color: var(--red); padding-left: .4rem; }
.drawer__link span { font-family: var(--font-mono); font-size: .7rem; color: var(--concrete); letter-spacing: .1em; font-weight: 400; }
.drawer__foot { padding: 1.4rem var(--gutter) 2rem; border-top: 1px solid var(--line); background: var(--warm); }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: min(94svh, 900px); display: flex; align-items: flex-end; overflow: hidden; background: var(--graphite); }
.hero--short { min-height: min(64svh, 620px); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 14s var(--ease-out) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(28,28,28,.52) 0%, rgba(28,28,28,.22) 36%, rgba(28,28,28,.82) 100%),
    linear-gradient(96deg, rgba(28,28,28,.62) 0%, rgba(28,28,28,.06) 62%);
}
.hero__grid {
  position: absolute; inset: 0; opacity: .16; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.28) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.28) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(circle at 70% 40%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 70% 40%, #000 0%, transparent 72%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(6rem, 14vh, 9rem) clamp(3rem, 7vh, 5rem); color: #fff; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero__sub { font-size: var(--step-2); font-weight: 500; line-height: 1.35; color: rgba(255,255,255,.94); max-width: 26ch; margin-top: 1.5rem; font-family: var(--font-display); letter-spacing: -.015em; }
.hero__body { color: rgba(255,255,255,.72); max-width: 54ch; margin-top: 1.25rem; font-size: var(--step-1); }
.hero__actions { margin-top: 2.2rem; }
.hero__scroll {
  display: none; align-items: center; gap: .6rem; margin-top: 3rem;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55);
}
@media (min-width: 760px) { .hero__scroll { display: inline-flex; } }
.hero__scroll i { display: block; width: 1px; height: 34px; background: linear-gradient(180deg, rgba(255,255,255,.7), transparent); animation: scrollPulse 2.1s var(--ease) infinite; }
@keyframes scrollPulse { 0%,100% { opacity: .3; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* Page hero (inner pages) */
.pagehero { position: relative; padding-block: calc(var(--header-h) + clamp(3.5rem, 8vw, 6.5rem)) clamp(2.5rem, 5vw, 4rem); background: var(--graphite); color: #fff; overflow: hidden; }
.pagehero::after {
  content: ""; position: absolute; inset: 0; opacity: .1;
  background-image: linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 82% 20%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 82% 20%, #000, transparent 70%);
}
.pagehero__inner { position: relative; z-index: 2; }
.pagehero h1 { color: #fff; max-width: 20ch; }
.pagehero .lead { color: rgba(255,255,255,.68); margin-top: 1.3rem; }
.pagehero--photo .pagehero__bg { position: absolute; inset: 0; }
.pagehero--photo .pagehero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
/* Daylight photography stays bright even at low opacity — this keeps the
   white headline legible across the whole banner. */
.pagehero--photo .pagehero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(28,28,28,.92) 0%, rgba(28,28,28,.55) 46%, rgba(28,28,28,.22) 100%),
    linear-gradient(180deg, rgba(28,28,28,.5) 0%, rgba(28,28,28,.1) 45%, rgba(28,28,28,.6) 100%);
}

.breadcrumb { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 1.4rem; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .5; }
.breadcrumb--dark { color: var(--concrete); }
.breadcrumb--dark a:hover { color: var(--red); }

/* ── Stats ──────────────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: clamp(1.6rem, 3vw, 2.4rem) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .stat { border-bottom: 0; border-right: 1px solid var(--line); padding-inline: clamp(1rem, 2.4vw, 2rem); }
  .stat:first-child { padding-left: 0; } .stat:last-child { border-right: 0; padding-right: 0; } }
@media (max-width: 859px) { .stat:nth-child(odd) { padding-right: 1rem; border-right: 1px solid var(--line); } .stat:nth-child(even) { padding-left: 1rem; } }
.stat__value { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--graphite); }
.stat__value sup { color: var(--red); font-size: .45em; vertical-align: super; margin-left: .06em; }
.stat__label { font-size: .86rem; color: var(--text-muted); margin-top: .6rem; line-height: 1.4; }

/* ── Cards ──────────────────────────────────────────────────────────── */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.6vw, 2.1rem);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  position: relative; overflow: hidden; height: 100%;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--red); transform: scaleY(0); transform-origin: bottom;
  transition: transform .45s var(--ease-out);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--stone); }
.card:hover::before { transform: scaleY(1); transform-origin: top; }
.card__icon {
  width: 52px; height: 52px; border-radius: var(--radius); display: grid; place-items: center;
  background: var(--red-soft); color: var(--red); margin-bottom: 1.2rem;
  transition: background .35s var(--ease), color .35s var(--ease), transform .45s var(--ease-out);
}
.card:hover .card__icon { background: var(--red); color: #fff; transform: rotate(-4deg); }
.card h3, .card h4 { margin-bottom: .6rem; }
.card p { color: var(--text-muted); font-size: .95rem; }

/* Service card (large, numbered) */
.service {
  display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; height: 100%; position: relative;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--stone); }
.service__top { padding: clamp(1.6rem, 3vw, 2.3rem) clamp(1.4rem, 2.6vw, 2.1rem) 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.service__no { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; color: var(--red); }
.service__glyph { color: var(--red); opacity: .9; transition: transform .5s var(--ease-out); }
.service:hover .service__glyph { transform: translateY(-3px) rotate(-5deg); }
.service__body { padding: 1.4rem clamp(1.4rem, 2.6vw, 2.1rem) clamp(1.6rem, 3vw, 2.2rem); }
.service__name { font-family: var(--font-display); font-size: var(--step-3); font-weight: 800; text-transform: uppercase; letter-spacing: -.025em; line-height: 1; margin-bottom: .85rem; }
.service__headline { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; letter-spacing: -.015em; line-height: 1.28; margin-bottom: .8rem; }
.service__summary { color: var(--text-muted); font-size: .95rem; }
.service__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.3rem; }
.tag {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .05em;
  padding: .3rem .6rem; border: 1px solid var(--line); border-radius: 999px; color: var(--concrete);
  background: var(--warm);
}
.service__foot { margin-top: 1.5rem; display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--red); }
.service__foot svg { transition: transform var(--dur) var(--ease-out); }
.service:hover .service__foot svg { transform: translateX(4px); }

/* Definition trio (Architecture = solid thinking) */
.deflist { display: grid; gap: 0; border-top: 1px solid var(--line); }
.def {
  display: grid; gap: .3rem 2rem; padding: clamp(1.3rem, 2.5vw, 1.9rem) 0;
  border-bottom: 1px solid var(--line); align-items: baseline;
  transition: padding-left .4s var(--ease-out), background .4s var(--ease);
}
@media (min-width: 720px) { .def { grid-template-columns: minmax(180px, 22%) 1fr; } }
.def:hover { padding-left: .8rem; background: linear-gradient(90deg, var(--red-soft), transparent 60%); }
.def__term { font-family: var(--font-display); font-size: var(--step-2); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; }
.def__def { font-size: var(--step-1); color: var(--text-muted); }
.def:hover .def__term { color: var(--red); }

/* ── Process timeline ───────────────────────────────────────────────── */
.timeline { position: relative; display: grid; gap: 0; }
.step { position: relative; display: grid; gap: 1rem 1.6rem; padding-bottom: clamp(2rem, 4vw, 3rem); grid-template-columns: 56px 1fr; }
.step:last-child { padding-bottom: 0; }
.step__line { position: absolute; left: 27px; top: 62px; bottom: 0; width: 1px; background: var(--line); }
.step:last-child .step__line { display: none; }
.step__dot {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--line); color: var(--red);
  font-family: var(--font-mono); font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  position: relative; z-index: 2; transition: all .4s var(--ease-out);
}
.step:hover .step__dot { background: var(--red); border-color: var(--red); color: #fff; transform: scale(1.06); }
.step__body { padding-top: .55rem; }
.step__body h3 { font-size: var(--step-2); margin-bottom: .5rem; }
.step__body p { color: var(--text-muted); max-width: 58ch; }
.section--dark .step__dot { background: var(--graphite-2); border-color: rgba(255,255,255,.18); }
.section--dark .step__line { background: rgba(255,255,255,.14); }

/* Horizontal 4-step strip */
.flowsteps { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid rgba(255,255,255,.16); }
@media (min-width: 780px) { .flowsteps { grid-template-columns: repeat(4, 1fr); } }
.flowstep {
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1rem, 2vw, 1.6rem) clamp(1.6rem, 3vw, 2.4rem) 0;
  border-bottom: 1px solid rgba(255,255,255,.16); position: relative;
  transition: background .4s var(--ease);
}
@media (min-width: 780px) {
  .flowstep { border-bottom: 0; border-right: 1px solid rgba(255,255,255,.16); padding-left: clamp(1rem, 2vw, 1.6rem); }
  .flowstep:first-child { padding-left: 0; }
  .flowstep:last-child { border-right: 0; }
}
.flowstep::after { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--red); transition: width .6s var(--ease-out); }
.flowstep:hover::after { width: 100%; }
.flowstep__no { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .14em; color: var(--red); }
.flowstep h3 { font-size: var(--step-2); text-transform: uppercase; letter-spacing: -.02em; margin: .9rem 0 .7rem; color: #fff; }
.flowstep p { color: rgba(250,250,248,.6); font-size: .93rem; }
.flowstep__icon { color: rgba(255,255,255,.42); margin-top: 1.2rem; transition: color .4s var(--ease), transform .5s var(--ease-out); }
.flowstep:hover .flowstep__icon { color: var(--red); transform: translateY(-2px); }

/* ── Projects ───────────────────────────────────────────────────────── */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.filter {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .58rem 1.05rem; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--text-muted); font-size: .88rem; font-weight: 500;
  cursor: pointer; transition: all .28s var(--ease); white-space: nowrap;
}
.filter:hover { border-color: var(--graphite); color: var(--graphite); background: var(--white); }
.filter.is-active { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 4px 14px rgba(177,30,35,.24); }
.filter__count { font-family: var(--font-mono); font-size: .68rem; opacity: .7; }

.searchbox { position: relative; flex: 1; min-width: 220px; max-width: 340px; }
.searchbox input {
  width: 100%; padding: .62rem .9rem .62rem 2.4rem; border: 1px solid var(--line);
  border-radius: 999px; background: var(--white); font-size: .88rem;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.searchbox input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.searchbox svg { position: absolute; left: .82rem; top: 50%; transform: translateY(-50%); color: var(--concrete); pointer-events: none; }

.toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.resultcount { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--concrete); }

.projects { display: grid; gap: clamp(1rem, 2vw, 1.6rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.project {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--graphite); aspect-ratio: 4 / 3;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease);
}
.project:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.project.is-hidden { display: none; }
.project__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), opacity .5s var(--ease); opacity: .88; }
.project:hover .project__img { transform: scale(1.06); opacity: 1; }
.project__veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,20,20,.92) 4%, rgba(20,20,20,.35) 46%, rgba(20,20,20,.06) 100%); transition: background .4s var(--ease); }
.project:hover .project__veil { background: linear-gradient(to top, rgba(20,20,20,.94) 10%, rgba(20,20,20,.5) 55%, rgba(20,20,20,.12) 100%); }
.project__body {
  position: absolute; inset: auto 0 0 0; padding: clamp(1.1rem, 2.2vw, 1.6rem); color: #fff;
  /* Column flow — the pill, title and meta are spans and would otherwise
     run together on one line inside the anchor. */
  display: flex; flex-direction: column; align-items: flex-start;
}
.project__title { display: block; }
.project__cat {
  display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .7rem;
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .28rem .6rem; background: var(--red); border-radius: 999px; color: #fff;
}
.project__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.02rem, 1.7vw, 1.24rem); line-height: 1.22; letter-spacing: -.015em; }
.project__meta { display: flex; align-items: center; gap: .4rem; margin-top: .55rem; font-size: .8rem; color: rgba(255,255,255,.66); }
.project__go {
  position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.14); backdrop-filter: blur(8px); color: #fff;
  display: grid; place-items: center; opacity: 0; transform: translateY(-6px) scale(.9);
  transition: all .35s var(--ease-out); border: 1px solid rgba(255,255,255,.22);
}
.project:hover .project__go { opacity: 1; transform: translateY(0) scale(1); }
/* Drawn covers are line art on a light ground — they need a lighter veil
   than photography, or they turn to mud. */
.project--art { background: var(--warm); }
.project--art .project__img { opacity: 1; }
.project--art .project__veil {
  background: linear-gradient(to top, rgba(20,20,20,.9) 0%, rgba(20,20,20,.55) 26%, rgba(20,20,20,0) 56%);
}
.project--art:hover .project__veil {
  background: linear-gradient(to top, rgba(20,20,20,.92) 4%, rgba(20,20,20,.6) 32%, rgba(20,20,20,.04) 62%);
}
.project--art .project__go { background: rgba(28,28,28,.5); }

.project--wide { grid-column: span 1; }
@media (min-width: 900px) { .project--wide { grid-column: span 2; aspect-ratio: 16 / 9; } }

.empty { padding: 4rem 1rem; text-align: center; color: var(--text-muted); border: 1px dashed var(--line); border-radius: var(--radius-lg); }

/* Project detail */
.projectmedia { border-radius: var(--radius-lg); overflow: hidden; background: var(--stone-2); border: 1px solid var(--line); }
.projectmedia img { width: 100%; }
.spec { display: grid; gap: 0; border-top: 1px solid var(--line); }
.spec__row { display: grid; gap: .2rem 1.5rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 520px) { .spec__row { grid-template-columns: 40% 1fr; align-items: baseline; } }
.spec__key { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--concrete); }
.spec__val { font-weight: 600; }

.checklist { display: grid; gap: .85rem; }
.checkitem { display: flex; gap: .8rem; align-items: flex-start; }
.checkitem svg { color: var(--red); flex: none; margin-top: 3px; }
.checkitem span { color: var(--text-muted); }

/* ── Instagram ──────────────────────────────────────────────────────── */
.igrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(.5rem, 1.2vw, .9rem); }
@media (min-width: 640px) { .igrid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .igrid { grid-template-columns: repeat(6, 1fr); } }
.igtile {
  position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius);
  background: var(--stone-2); display: block;
}
.igtile img, .igtile svg.igart { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.igtile:hover img, .igtile:hover svg.igart { transform: scale(1.08); }
.igtile__ov {
  position: absolute; inset: 0; background: rgba(177,30,35,.82); color: #fff;
  display: grid; place-items: center; gap: .4rem; opacity: 0; transition: opacity .35s var(--ease);
  padding: .8rem; text-align: center;
}
.igtile:hover .igtile__ov { opacity: 1; }
.igtile__ov p { font-size: .74rem; line-height: 1.35; max-height: 4.2em; overflow: hidden; }
.igtile__stats { display: flex; gap: .8rem; align-items: center; font-size: .78rem; font-weight: 600; }
.igtile__stats span { display: inline-flex; align-items: center; gap: .28rem; }

.ighead { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.8rem; }
.igprofile { display: flex; align-items: center; gap: .9rem; }
.igavatar {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--graphite); color: #fff; border: 2px solid var(--red); padding: 3px;
}
.igprofile__meta { display: flex; flex-direction: column; align-items: flex-start; gap: .16rem; }
.igprofile strong { display: block; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -.01em; }
.igprofile__meta > span { font-size: .84rem; color: var(--text-muted); }
.igprofile__meta .link { margin-top: .3rem; font-size: .88rem; }

/* ── Map ────────────────────────────────────────────────────────────── */
.mapwrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--stone-2); min-height: 380px; }
.mapwrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.32) contrast(1.04); transition: filter .5s var(--ease); }
.mapwrap:hover iframe { filter: grayscale(0) contrast(1); }
.mapcard {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.6vw, 2rem);
}
.infolist { display: grid; gap: 1.15rem; }
.infoitem { display: flex; gap: .95rem; align-items: flex-start; }
.infoitem__ic { width: 42px; height: 42px; border-radius: var(--radius); background: var(--red-soft); color: var(--red); display: grid; place-items: center; flex: none; }
.infoitem h4 { font-size: .95rem; margin-bottom: .18rem; }
.infoitem p, .infoitem a { color: var(--text-muted); font-size: .93rem; line-height: 1.5; }
.infoitem a:hover { color: var(--red); }

/* Service-area marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 1.05rem; -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; gap: 2.6rem; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__item { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--font-mono); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--concrete); white-space: nowrap; }
.marquee__item::after { content: ""; width: 5px; height: 5px; background: var(--red); border-radius: 50%; }

/* ── Forms ──────────────────────────────────────────────────────────── */
.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: .42rem; }
.field label { font-size: .84rem; font-weight: 600; letter-spacing: .005em; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: .82rem .95rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); font-size: .95rem; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.4rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); background: #fffafa; }
.field__error { font-size: .78rem; color: var(--red); display: none; }
.field.has-error .field__error { display: block; }
.field--row { display: grid; gap: 1.15rem; }
@media (min-width: 600px) { .field--row { grid-template-columns: 1fr 1fr; } }
.checkline { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--text-muted); }
.checkline input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--red); }
.formnote { font-size: .8rem; color: var(--text-muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 1.1rem 1.2rem; border-radius: var(--radius); border: 1px solid; display: none; gap: .85rem; align-items: flex-start; }
.alert.is-shown { display: flex; }
.alert h4 { font-size: 1rem; margin-bottom: .25rem; }
.alert p { font-size: .9rem; }
.alert--ok { background: #F1F8F2; border-color: #BEDCC3; color: #24623A; }
.alert--err { background: #FDF3F3; border-color: #F0C9CA; color: #8E181C; }
.alert svg { flex: none; margin-top: 2px; }

/* ── Accordion / FAQ ────────────────────────────────────────────────── */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.2rem;
  padding: 1.25rem 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; letter-spacing: -.012em;
  color: var(--graphite); transition: color .25s var(--ease);
}
.acc__btn:hover { color: var(--red); }
.acc__ic { flex: none; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--red); transition: transform .35s var(--ease-out), background .3s var(--ease), color .3s var(--ease); margin-top: 2px; }
.acc__item.is-open .acc__ic { transform: rotate(45deg); background: var(--red); color: #fff; border-color: var(--red); }
.acc__panel { overflow: hidden; height: 0; transition: height .38s var(--ease-out); }
.acc__inner { padding-bottom: 1.4rem; color: var(--text-muted); max-width: 68ch; }

/* ── Lightbox ───────────────────────────────────────────────────────── */
.lightbox { position: fixed; inset: 0; z-index: 1200; background: rgba(16,16,16,.94); display: none; place-items: center; padding: clamp(1rem, 4vw, 3rem); }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: var(--radius); }
.lightbox__close { position: absolute; top: 1.2rem; right: 1.2rem; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lightbox__close:hover { background: var(--red); border-color: var(--red); }
.lightbox__cap { color: rgba(255,255,255,.7); font-size: .86rem; margin-top: 1rem; text-align: center; font-family: var(--font-mono); letter-spacing: .06em; }

/* ── CTA band ───────────────────────────────────────────────────────── */
.ctaband { position: relative; overflow: hidden; background: var(--graphite); color: #fff; }
.ctaband::before {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 20% 90%, #000, transparent 68%);
  -webkit-mask-image: radial-gradient(ellipse at 20% 90%, #000, transparent 68%);
}
.ctaband__inner { position: relative; z-index: 2; display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .ctaband__inner { grid-template-columns: 1.4fr 1fr; gap: 3.5rem; } }
.ctaband h2 { color: #fff; }
.ctaband p { color: rgba(250,250,248,.66); margin-top: 1rem; max-width: 52ch; }
.ctaband__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (min-width: 900px) { .ctaband__actions { justify-content: flex-end; } }

/* Big pull quote */
.pullquote {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: var(--step-4); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance;
}
.pullquote em { font-style: normal; color: var(--red); }

/* ── Footer ─────────────────────────────────────────────────────────── */
.footer { background: var(--graphite); color: rgba(250,250,248,.66); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.footer__grid { display: grid; gap: 2.4rem; }
@media (min-width: 780px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.6rem; } }
.footer h4 { color: #fff; font-size: .82rem; font-family: var(--font-mono); font-weight: 500; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1.15rem; }
.footer a { transition: color .25s var(--ease), padding-left .25s var(--ease); }
.footer a:hover { color: #fff; }
.footer__links { display: grid; gap: .62rem; font-size: .92rem; }
.footer__links a:hover { padding-left: .28rem; color: var(--red); }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__tag { color: rgba(250,250,248,.4); }
.footer__blurb { font-size: .92rem; margin-top: 1.2rem; max-width: 40ch; line-height: 1.6; }
.footer__contact { display: grid; gap: .8rem; font-size: .92rem; }
.footer__contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer__contact svg { color: var(--red); flex: none; margin-top: 3px; }
.footer__social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.footer__social a {
  width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius);
  display: grid; place-items: center; color: rgba(255,255,255,.75);
  transition: all .3s var(--ease);
}
.footer__social a:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-2px); }
.footer__bottom {
  margin-top: clamp(2.4rem, 5vw, 3.6rem); padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; align-items: center; justify-content: space-between;
  font-size: .82rem;
}
.footer__bottom nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* Floating WhatsApp */
.fab {
  position: fixed; right: clamp(1rem, 3vw, 1.8rem); bottom: clamp(1rem, 3vw, 1.8rem); z-index: 850;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .82rem 1.1rem; border-radius: 999px; background: #1FA855; color: #fff;
  font-size: .88rem; font-weight: 600; box-shadow: 0 8px 26px rgba(31,168,85,.34);
  transform: translateY(120%); opacity: 0; transition: all .45s var(--ease-out);
}
.fab.is-shown { transform: translateY(0); opacity: 1; }
.fab:hover { background: #17853F; transform: translateY(-3px); }
.fab span { display: none; }
@media (min-width: 560px) { .fab span { display: inline; } }

.totop {
  position: fixed; right: clamp(1rem, 3vw, 1.8rem); bottom: calc(clamp(1rem, 3vw, 1.8rem) + 62px); z-index: 850;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--white); color: var(--graphite); display: grid; place-items: center; cursor: pointer;
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: all .35s var(--ease-out);
  box-shadow: var(--shadow-sm);
}
.totop.is-shown { opacity: 1; transform: translateY(0); pointer-events: auto; }
.totop:hover { background: var(--graphite); color: #fff; border-color: var(--graphite); }

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 2px; background: var(--red); z-index: 950; width: 0; transition: width .1s linear; }

/* ── Reveal animation ───────────────────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .75s var(--ease-out), transform .75s var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
[data-reveal][data-delay="5"] { transition-delay: .40s; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--red); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; }

body.is-locked { overflow: hidden; }

/* ── Admin ──────────────────────────────────────────────────────────── */
.admin { min-height: 100vh; background: var(--warm); padding-block: 2.5rem; }
.admin table { width: 100%; border-collapse: collapse; font-size: .88rem; background: var(--white); }
.admin th, .admin td { text-align: left; padding: .8rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin th { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--concrete); background: var(--off-white); position: sticky; top: 0; }
.admin tr:hover td { background: var(--off-white); }
.admin__scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.pill { display: inline-block; padding: .18rem .5rem; border-radius: 999px; font-family: var(--font-mono); font-size: .68rem; background: var(--red-soft); color: var(--red); }

/* ── Motion / print ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__media img { animation: none; transform: none; }
}
@media print {
  .header, .footer, .fab, .totop, .drawer, .progress, .ctaband { display: none !important; }
  body { background: #fff; }
}
