/* ==========================================================================
   codebrew — styles.css
   Coffee craft × code: cream, latte, mocha, caramel, espresso.
   ========================================================================== */

:root {
  --cream: #F5EDE3;
  --foam: #FFF8F0;
  --latte: #E8D5C0;
  --mocha: #8B5E3C;
  --caramel: #C4854A;
  --roast: #5C3A24;
  --espresso: #2C1810;
  --ink: #1A1210;
  --lime: #D4A574; /* warm caramel-cream accent (kept token name for existing classes) */
  --teal: #5C3A24;
  --teal-deep: #2C1810;
  --mist: #EDE4D8;
  --off-white: #F5EDE3;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Outfit", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  --max: 1240px;
  --pad: clamp(1.25rem, 4vw, 3rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}

body {
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(196, 133, 74, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(139, 94, 60, 0.12), transparent 50%),
    linear-gradient(165deg, var(--foam) 0%, var(--cream) 45%, var(--latte) 100%);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 999;
  background: var(--ink);
  color: var(--off-white);
  padding: 0.5rem 1rem;
}

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  background-image: url("assets/grain.svg");
  background-size: 240px 240px;
  opacity: 0.05;
  mix-blend-mode: multiply;
}

/* ==========================================================================
   Nav
   ========================================================================== */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 237, 227, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(44, 24, 16, 0.1);
}

.site-nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-nav__mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
  flex-shrink: 0;
  color: var(--espresso);
}

.site-nav__mark span {
  color: var(--caramel);
  font-style: italic;
  font-weight: 500;
}

.site-nav__links {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  font-size: 0.92rem;
  font-weight: 500;
  flex: 1;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-nav__links::-webkit-scrollbar { display: none; }

.site-nav__links a {
  position: relative;
  white-space: nowrap;
  padding-bottom: 0.2rem;
}
.site-nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--ink);
  transition: right 0.25s var(--ease);
}
.site-nav__links a:hover::after { right: 0; }

.site-nav__shortcuts {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(26, 21, 18, 0.18);
  color: var(--ink);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.icon-link:hover {
  background: var(--espresso);
  color: var(--foam);
  border-color: var(--espresso);
}

/* ==========================================================================
   Hero — coffee atmosphere × code terminal
   ========================================================================== */

.hero {
  position: relative;
  min-height: calc(100svh - 4rem);
  display: flex;
  align-items: center;
  padding: clamp(2.5rem, 6vh, 4rem) var(--pad) clamp(3rem, 7vh, 5rem);
  overflow: hidden;
}

.hero__stage {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

.hero__copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--mocha);
  font-weight: 500;
  margin-bottom: 1rem;
}

.hero__wordmark {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(3rem, 12vw, 5.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--espresso);
  line-height: 0.95;
  margin-bottom: clamp(0.9rem, 2vw, 1.35rem);
  max-width: 100%;
  white-space: nowrap;
}

.hero__wordmark span {
  color: var(--caramel);
  font-style: italic;
  font-weight: 500;
}

.hero__headline {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(1.2rem, 2.8vw, 1.85rem);
  font-weight: 500;
  max-width: 20ch;
  margin-bottom: 0.9rem;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.hero__sub {
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  max-width: 38ch;
  color: rgba(44, 24, 16, 0.78);
  margin-bottom: clamp(1.5rem, 3.5vw, 2.25rem);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.hero__cta .btn {
  flex: 1 1 auto;
  justify-content: center;
  min-width: min(100%, 10.5rem);
}

/* Art panel: espresso machine brewing code */
.hero__art {
  position: relative;
  width: min(100%, 380px);
  margin: 0 auto;
  justify-self: center;
}

.hero__machine {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---- Screen: the machine's "display", brewing code ---- */

.hero__screen {
  position: relative;
  z-index: 3;
  width: 100%;
  background: var(--ink);
  border: 1px solid rgba(232, 213, 192, 0.16);
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 16px 32px rgba(26, 18, 16, 0.28), inset 0 0 0 1px rgba(255, 248, 240, 0.04);
  overflow: hidden;
}

.hero__screen-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.95rem;
  background: rgba(255, 248, 240, 0.05);
  border-bottom: 1px solid rgba(232, 213, 192, 0.1);
}

.hero__screen-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--caramel);
  box-shadow: 0 0 6px rgba(196, 133, 74, 0.75);
  flex-shrink: 0;
}

.hero__screen-bar em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(232, 213, 192, 0.5);
  letter-spacing: 0.04em;
}

.hero__screen-status {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(196, 133, 74, 0.6);
}

.hero__screen-code {
  margin: 0;
  padding: 1.05rem 1.15rem 1.2rem;
  font-family: var(--font-mono);
  font-size: clamp(0.78rem, 2.4vw, 0.9rem);
  line-height: 1.65;
  color: #E8D5C0;
  overflow-x: auto;
}

.hero__screen-code .tok-key { color: #D4A574; }
.hero__screen-code .tok-fn { color: #C4854A; }
.hero__screen-code .tok-str { color: #F0DCC4; }
.hero__screen-code .tok-op { color: #A67C52; }
.hero__screen-code .tok-var { color: #E8D5C0; }

/* ---- Seam + body: the machine's housing / control panel ---- */

.hero__seam {
  width: 100%;
  height: 9px;
  z-index: 2;
  background:
    repeating-linear-gradient(90deg, rgba(255, 248, 240, 0.07) 0 2px, transparent 2px 9px),
    linear-gradient(180deg, #3A2418, var(--espresso));
  border-left: 1px solid rgba(232, 213, 192, 0.1);
  border-right: 1px solid rgba(232, 213, 192, 0.1);
}

.hero__body {
  width: 94%;
  height: 62px;
  margin-top: -1px;
  background: linear-gradient(155deg, #4A2E1E 0%, var(--espresso) 55%, var(--ink) 100%);
  border-radius: 0 0 9px 9px;
  border: 1px solid rgba(232, 213, 192, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 248, 240, 0.08), 0 10px 22px rgba(26, 18, 16, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15%;
  position: relative;
  z-index: 1;
}

.hero__dial {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #6B4530, var(--espresso) 70%);
  border: 2px solid var(--mocha);
  box-shadow: inset 0 0 0 4px var(--ink);
  position: relative;
  flex-shrink: 0;
}

.hero__dial span {
  position: absolute;
  top: 3px;
  left: 50%;
  width: 2px;
  height: 7px;
  background: var(--caramel);
  border-radius: 1px;
  transform: translateX(-50%) rotate(35deg);
  transform-origin: bottom center;
}

.hero__gauge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__gauge-btn {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: var(--roast);
  border: 1px solid rgba(232, 213, 192, 0.16);
  display: block;
}

.hero__gauge-btn--lit {
  background: var(--caramel);
  box-shadow: 0 0 7px rgba(196, 133, 74, 0.6);
}

/* ---- Group head + portafilter + spout ---- */

.hero__group {
  position: relative;
  width: 32%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.hero__group-head {
  width: 100%;
  height: 9px;
  background: linear-gradient(180deg, var(--roast), var(--espresso));
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 248, 240, 0.14);
}

.hero__group-ear {
  position: absolute;
  top: 7px;
  width: 18%;
  height: 6px;
  background: linear-gradient(180deg, var(--roast), var(--espresso));
  border-radius: 2px;
}

.hero__group-ear--l { left: -12%; }
.hero__group-ear--r { right: -12%; }

.hero__group-basket {
  position: relative;
  width: 72%;
  height: 13px;
  margin-top: -1px;
  background: linear-gradient(180deg, var(--espresso), var(--roast));
  border-radius: 0 0 4px 4px;
}

.hero__group-basket::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 14%;
  width: 72%;
  height: 1.5px;
  background: rgba(232, 213, 192, 0.28);
  border-radius: 1px;
}

.hero__group-spout {
  width: 9px;
  height: 16px;
  background: linear-gradient(180deg, var(--roast), var(--espresso));
  clip-path: polygon(12% 0, 88% 0, 66% 100%, 34% 100%);
}

/* ---- Cup: brace-mug mark ---- */

.hero__cup {
  position: relative;
  width: 48%;
  max-width: 168px;
  margin: 20px auto -14px;
  z-index: 2;
  /* nudge right so brace body (not handle) sits under the spout */
  transform: translateX(7%);
}

.hero__cup-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.hero__cup-shadow {
  fill: rgba(26, 18, 16, 0.14);
  filter: blur(2.5px);
}

.hero__cup-brace {
  fill: none;
  stroke: var(--espresso);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__cup-handle {
  fill: none;
  stroke: var(--espresso);
  stroke-width: 6.5;
  stroke-linecap: round;
}

.hero__cup-surface {
  fill: var(--latte);
}

.hero__cup-steam {
  fill: none;
  stroke: var(--caramel);
  stroke-width: 3;
  stroke-linecap: round;
}

.hero__cup-steam--a { opacity: 0.65; }
.hero__cup-steam--b { opacity: 0.4; }

/* ---- Base / drip tray ---- */

.hero__base {
  width: 64%;
  height: 10px;
  margin-top: 0;
  background: linear-gradient(180deg, #3A2418, var(--espresso));
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12%;
  box-shadow: 0 8px 18px rgba(26, 18, 16, 0.22);
  position: relative;
  z-index: 0;
}

.hero__base span {
  width: 2px;
  height: 5px;
  background: rgba(232, 213, 192, 0.2);
  border-radius: 1px;
}

@media (min-width: 768px) {
  .hero__stage {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 5vw, 4rem);
  }

  .hero__art {
    width: min(100%, 360px);
    margin: 0;
    justify-self: end;
  }

  .hero__wordmark {
    font-size: clamp(3.75rem, 6.5vw, 5.75rem);
  }

  .hero__cta .btn {
    flex: 0 1 auto;
  }
}

@media (max-width: 479px) {
  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero__art {
    width: 100%;
    max-width: 320px;
  }

  .hero__wordmark {
    font-size: clamp(2.75rem, 12vw, 3.5rem);
    white-space: normal;
  }

  .hero__headline {
    max-width: none;
  }
}

/* fade-up on load */
.reveal-load {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.9s var(--ease) forwards;
}
.reveal-load[data-delay="1"] { animation-delay: 0.1s; }
.reveal-load[data-delay="2"] { animation-delay: 0.25s; }
.reveal-load[data-delay="3"] { animation-delay: 0.4s; }
.reveal-load[data-delay="4"] { animation-delay: 0.55s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.98rem;
  border: 1.5px solid var(--espresso);
  position: relative;
  overflow: hidden;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn--primary {
  background: var(--espresso);
  color: var(--foam);
}
.btn--primary:hover {
  background: var(--mocha);
  border-color: var(--mocha);
  transform: translate(2px, -2px);
}

.btn--ghost {
  background: transparent;
  color: var(--espresso);
}
.btn--ghost:hover {
  background: var(--espresso);
  color: var(--foam);
  transform: translate(2px, -2px);
}

.btn--form { width: 100%; justify-content: center; }

/* ==========================================================================
   Section shared
   ========================================================================== */

section {
  padding: clamp(4rem, 10vh, 7rem) var(--pad);
}

.section-head {
  max-width: var(--max);
  margin: 0 auto clamp(2.5rem, 6vh, 4rem);
}

.section-tag {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--mocha);
  margin-bottom: 0.75rem;
}
.section-tag--light { color: var(--caramel); }

.section-title {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  max-width: 20ch;
}
.section-title--light { color: var(--foam); }

.section-sub {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: rgba(44, 24, 16, 0.7);
  max-width: 46ch;
  margin-top: 1rem;
}
.section-sub--light { color: rgba(255, 248, 240, 0.78); }

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Services — numbered split list
   ========================================================================== */

.service-list {
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid rgba(26, 21, 18, 0.15);
}

.service-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: clamp(1.75rem, 4vh, 2.75rem) 0;
  border-bottom: 1px solid rgba(26, 21, 18, 0.15);
}

.service-item__index {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--caramel);
  -webkit-text-stroke: 0;
  line-height: 1;
}

.service-item__body h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin-bottom: 0.6rem;
}

.service-item__body p {
  max-width: 56ch;
  color: rgba(26, 21, 18, 0.72);
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
}

/* ==========================================================================
   Approach — espresso roast band
   ========================================================================== */

.approach {
  background: linear-gradient(145deg, var(--espresso) 0%, var(--roast) 100%);
  color: var(--foam);
  position: relative;
}

.timeline {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.timeline__step {
  position: relative;
  padding-top: 1.75rem;
  border-top: 1.5px solid rgba(255, 248, 240, 0.22);
}

.timeline__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--caramel);
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.timeline__step h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  margin-bottom: 0.7rem;
}

.timeline__step p {
  color: rgba(255, 248, 240, 0.78);
  max-width: 40ch;
  font-size: clamp(0.98rem, 1.1vw, 1.05rem);
}

/* ==========================================================================
   Trust
   ========================================================================== */

.trust__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 4rem);
}

.trust__copy p {
  color: rgba(26, 21, 18, 0.72);
  max-width: 52ch;
  margin-top: 1.1rem;
  font-size: clamp(1rem, 1.15vw, 1.1rem);
}

.trust__line {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  margin-top: 1.5rem !important;
}

.trust__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  border-top: 1px solid rgba(26, 21, 18, 0.15);
  padding-top: 2rem;
}

.stat {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--mocha);
  line-height: 1;
  flex-shrink: 0;
  min-width: 3.5ch;
}

.stat__label {
  font-size: 0.98rem;
  color: rgba(26, 21, 18, 0.68);
  max-width: 28ch;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  background: var(--ink);
  color: var(--off-white);
}

.contact__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 4rem);
}

.contact__list {
  margin-top: clamp(2rem, 5vh, 2.75rem);
  border-top: 1px solid rgba(247, 244, 239, 0.2);
}

.contact__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(247, 244, 239, 0.2);
}

.contact__label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(247, 244, 239, 0.55);
  flex-shrink: 0;
}

.contact__list a {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
  position: relative;
}
.contact__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -3px;
  height: 1.5px;
  background: var(--caramel);
  transition: right 0.25s var(--ease);
}
.contact__list a:hover::after { right: 0; }

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(247, 244, 239, 0.6);
}

.field input,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(247, 244, 239, 0.3);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 1.05rem;
  padding: 0.6rem 0;
  resize: vertical;
  transition: border-color 0.2s var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--caramel);
}

.contact .btn--primary {
  background: var(--caramel);
  color: var(--espresso);
  border-color: var(--caramel);
}
.contact .btn--primary:hover {
  background: var(--foam);
  border-color: var(--foam);
}

.contact__note {
  font-size: 0.85rem;
  color: rgba(247, 244, 239, 0.55);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: rgba(247, 244, 239, 0.6);
  border-top: 1px solid rgba(247, 244, 239, 0.15);
  padding: 2rem var(--pad);
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer__mark {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--off-white);
}

.site-footer__inner p {
  font-size: 0.9rem;
}

/* ==========================================================================
   Mobile sticky Call / Email / WhatsApp bar
   ========================================================================== */

.mobile-cta {
  display: none;
}

@media (max-width: 639px) {
  body {
    padding-bottom: 3.75rem;
  }

  .mobile-cta {
    display: grid;
    grid-template-columns: 1fr 1fr 1.15fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    background: var(--ink);
    border-top: 1px solid rgba(247, 244, 239, 0.18);
  }

  .mobile-cta__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0.75rem 0.5rem;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--off-white);
    border-right: 1px solid rgba(247, 244, 239, 0.15);
  }

  .mobile-cta__btn:last-child {
    border-right: none;
  }

  .mobile-cta__btn--accent {
    background: var(--caramel);
    color: var(--espresso);
  }

  .mobile-cta__btn:active {
    opacity: 0.85;
  }

  .site-footer {
    padding-bottom: 1.25rem;
  }
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */

@media (min-width: 640px) {
  .hero__cta { gap: 1.25rem; }

  .service-item {
    grid-template-columns: 140px 1fr;
    align-items: start;
  }

  .trust__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .contact__list li {
    justify-content: flex-start;
    gap: 2rem;
  }
  .contact__label { width: 8ch; }
}

@media (min-width: 960px) {
  .site-nav__links { justify-content: flex-start; }

  .service-item {
    grid-template-columns: 220px 1fr;
  }

  .timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }

  .trust__grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }

  .contact__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1200px) {
  .hero__wordmark { margin-bottom: 1.5rem; }
  .service-item { grid-template-columns: 260px 1fr; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal-load {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .btn, .icon-link, .site-nav__links a::after, .contact__list a::after {
    transition: none !important;
  }
}
