/* ============================================================
   Quantize — Workforce Integration Engineering
   Design system: warm paper, ink, one amber accent
   ============================================================ */

:root {
  /* color */
  --paper: #f4f2ec;
  --paper-2: #ece9e1;
  --paper-3: #e1ddd1;
  --ink: #14161a;
  --ink-2: #2b2e34;
  --muted: #6b6a63;
  --muted-2: #8b8a82;
  --rule: #d8d3c5;
  --rule-2: #c4bdab;
  --accent: oklch(0.68 0.16 50);       /* amber/status-LED */
  --accent-deep: oklch(0.52 0.16 45);
  --ok: oklch(0.62 0.14 155);

  /* type */
  --font-sans: "Titillium Web", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(64px, 9vw, 128px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

/* Background grain — extremely subtle */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(20,22,26,0.035) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 0.6;
  z-index: 0;
  mix-blend-mode: multiply;
}

main, header, footer { position: relative; z-index: 1; }

/* ----------------------------------------------------------
   Type
   ---------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.08;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0;
  font-feature-settings: "ss01", "cv11";
}

.eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 8px;
  transform: translateY(-1px);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 24%, transparent);
}

/* ----------------------------------------------------------
   Layout primitives
   ---------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section.section {
  padding: var(--section-y) 0;
  position: relative;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head h2 {
  font-size: clamp(28px, 4.2vw, 44px);
  max-width: 22ch;
}

.section-id {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
}

.section-id .num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.section-id .rule {
  flex: 1;
  height: 1px;
  background: var(--rule);
  max-width: 220px;
}

.section-id .label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ----------------------------------------------------------
   Header
   ---------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--paper) 86%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, padding .25s ease, background .25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--rule);
  background: color-mix(in oklab, var(--paper) 94%, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}
.site-header.scrolled .header-inner { padding: 12px 0; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 28px; height: 28px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  align-items: end;
}
.brand-mark span {
  display: block;
  background: var(--ink);
  width: 100%;
  border-radius: 0.5px;
}
.brand-mark span:nth-child(1) { height: 38%; }
.brand-mark span:nth-child(2) { height: 64%; }
.brand-mark span:nth-child(3) { height: 100%; background: var(--accent); }
.brand-mark span:nth-child(4) { height: 52%; }
.brand-mark span:nth-child(5) { height: 22%; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.brand-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* Nav */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 28px;
}
.nav-desktop a:not(.cta) {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
}
.nav-desktop a:not(.cta):hover { color: var(--ink); }
.nav-desktop a:not(.cta)::before {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transition: right .3s ease;
}
.nav-desktop a:not(.cta):hover::before { right: 0; }
.nav-desktop a:not(.cta) .num {
  color: var(--muted-2);
  margin-right: 6px;
  font-weight: 400;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.005em;
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s, color .2s, transform .15s;
  font-family: var(--font-sans);
}
.cta:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.cta:active { transform: translateY(1px); }
.cta .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  transition: transform .25s ease;
  transform: translateY(-1px);
}
.cta:hover .arrow { transform: translateX(3px); }

.cta.ghost {
  background: transparent;
  color: var(--ink);
}
.cta.ghost:hover { background: var(--ink); color: var(--paper); }

/* Hamburger */
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--rule-2);
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
}
.menu-btn svg { width: 18px; height: 18px; }

/* Mobile overlay nav */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 100;
  padding: 24px var(--gutter);
  transform: translateY(-100%);
  transition: transform .35s cubic-bezier(.5,0,.2,1), visibility 0s linear .35s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  visibility: hidden;
}
.nav-mobile.open {
  transform: translateY(0);
  visibility: visible;
  transition: transform .35s cubic-bezier(.5,0,.2,1), visibility 0s linear 0s;
}
.nav-mobile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-mobile-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
}
.nav-mobile-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.01em;
}
.nav-mobile-list a:last-child { border-bottom: 1px solid var(--rule); }
.nav-mobile-list a .num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.nav-mobile-foot {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.nav-mobile-foot .meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ----------------------------------------------------------
   Hero
   ---------------------------------------------------------- */
.hero {
  padding: clamp(56px, 8vw, 100px) 0 clamp(60px, 9vw, 120px);
  position: relative;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.hero-meta .pill {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 6px 10px;
  border: 1px solid var(--rule-2);
  border-radius: 2px;
  background: color-mix(in oklab, var(--paper-2) 70%, transparent);
}

.hero h1 {
  font-size: clamp(36px, 6.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 600;
  max-width: 17ch;
  margin-bottom: 32px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent-deep);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 6%;
  height: 4px;
  background: var(--accent);
  opacity: 0.35;
  border-radius: 2px;
}

.hero-sub {
  max-width: 60ch;
  color: var(--ink-2);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-actions .secondary {
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-decoration: none;
}
.hero-actions .secondary:hover { color: var(--ink); }

/* Hero indicators row */
.hero-spec {
  margin-top: clamp(60px, 8vw, 90px);
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 720px) {
  .hero-spec { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

.spec {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.spec .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec .v {
  font-weight: 600;
  font-size: 16.5px;
  color: var(--ink);
}

/* ----------------------------------------------------------
   Services / Offers
   ---------------------------------------------------------- */
.offers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.offer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: clamp(36px, 5vw, 56px) 0;
  border-top: 1px solid var(--rule);
  position: relative;
}
.offer:first-child { border-top: none; }

@media (min-width: 900px) {
  .offer {
    grid-template-columns: 110px 1.05fr 1fr;
    gap: 40px;
  }
}

.offer-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.offer-num::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--ink);
  display: inline-block;
}
.offer.specialty .offer-num::before { background: var(--accent); }

.offer-head h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: -0.015em;
  max-width: 18ch;
}
.offer-head .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 14px;
  border: 1px solid var(--accent);
  padding: 3px 8px;
  border-radius: 2px;
}
.offer-head p.lead {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 0;
}

.offer-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.included-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.included-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.included-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px dashed var(--rule);
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.45;
}
.included-list li:first-child { border-top: none; padding-top: 0; }
.included-list li::before {
  content: "+";
  font-family: var(--font-mono);
  color: var(--accent-deep);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
}

.offer-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.offer-meta .m { display: flex; flex-direction: column; gap: 4px; }
.offer-meta .m .k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.offer-meta .m .v { font-weight: 600; font-size: 16px; color: var(--ink); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  padding: 4px 8px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--ink-2);
}

/* registration mark on offer hover */
.offer .regmark {
  position: absolute;
  top: 18px; right: 0;
  width: 14px; height: 14px;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}
.offer:hover .regmark { opacity: 0.6; transform: translateX(0); }
.offer .regmark::before,
.offer .regmark::after {
  content: "";
  position: absolute;
  background: var(--ink);
}
.offer .regmark::before { top: 6px; left: 0; right: 0; height: 1px; }
.offer .regmark::after { left: 6px; top: 0; bottom: 0; width: 1px; }

/* ----------------------------------------------------------
   Case studies
   ---------------------------------------------------------- */
.cases {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 56px);
}

.case {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: clamp(28px, 4vw, 44px);
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 900px) {
  .case { grid-template-columns: 1.1fr 1fr; gap: 48px; }
}

.case-head { display: flex; flex-direction: column; gap: 18px; }
.case-id {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}
.case h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.015em;
  max-width: 20ch;
}
.case-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.case-meta .k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.case-meta .v { font-weight: 600; font-size: 15px; color: var(--ink); }
.case-meta .v.ok { color: var(--accent-deep); }

.case-body {
  display: flex; flex-direction: column; gap: 18px;
  color: var(--ink-2); font-size: 15.5px; line-height: 1.6;
}
.case-body .label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.case-body .block { border-top: 1px dashed var(--rule); padding-top: 14px; }
.case-body .block:first-child { border-top: none; padding-top: 0; }
.case-body p { margin: 0; }

.verification {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
  border-top: 1px solid var(--rule);
  padding-top: 14px;
  line-height: 1.5;
}

.background-note {
  margin-top: clamp(28px, 4vw, 48px);
  padding: 24px 0 0;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 14.5px;
  max-width: 70ch;
}
.background-note .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: block;
  margin-bottom: 8px;
}

/* ----------------------------------------------------------
   About
   ---------------------------------------------------------- */
.about {
  background: var(--ink);
  color: var(--paper);
  padding: var(--section-y) 0;
}
.about .section-id .label,
.about .section-id .num,
.about .eyebrow { color: var(--paper-3); }
.about .section-id .rule { background: rgba(244,242,236,0.18); }
.about .section-head h2 { color: var(--paper); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; }
}
.about p {
  color: color-mix(in oklab, var(--paper) 86%, transparent);
  font-size: 17.5px;
  line-height: 1.6;
}
.about strong { color: var(--paper); font-weight: 600; }

.about-card {
  border: 1px solid rgba(244,242,236,0.22);
  border-radius: 2px;
  padding: 24px;
  background: rgba(244,242,236,0.04);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-card .row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px dashed rgba(244,242,236,0.18);
  font-size: 14px;
}
.about-card .row:first-child { border-top: none; padding-top: 0; }
.about-card .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-3);
}
.about-card .v { color: var(--paper); font-weight: 600; }

/* ----------------------------------------------------------
   Contact
   ---------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; }
}

.contact-intro p {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 44ch;
}

.contact-points {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-points .p {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.contact-points .p::before {
  content: "→";
  font-family: var(--font-mono);
  color: var(--accent-deep);
  font-weight: 500;
}

/* Form */
.form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 2px;
}
@media (min-width: 600px) {
  .form { grid-template-columns: 1fr 1fr; }
  .form .full { grid-column: 1 / -1; }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: flex-end; /* anchor input to bottom so adjacent rows align even when one label wraps */
}
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label .req { color: var(--accent-deep); margin-left: 4px; }

.field input,
.field textarea,
.field select {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: 2px;
  padding: 12px 14px;
  width: 100%;
  height: 46px;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field textarea { height: auto; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 30%, transparent);
  background: var(--paper);
}
.field textarea {
  min-height: 132px;
  resize: vertical;
  font-family: var(--font-sans);
  line-height: 1.5;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%2314161a' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.field.error input,
.field.error textarea {
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 18%, transparent);
}
.field .err {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--accent-deep);
  margin-top: 4px;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.form-actions .note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.thanks {
  grid-column: 1 / -1;
  padding: 32px;
  border: 1px solid var(--accent);
  background: color-mix(in oklab, var(--accent) 10%, var(--paper));
  border-radius: 2px;
  text-align: left;
}
.thanks h4 {
  font-size: 22px;
  margin-bottom: 8px;
}
.thanks p {
  color: var(--ink-2);
  font-size: 15.5px;
}
.thanks .ref {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
  letter-spacing: 0.04em;
}

/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 36px 0 48px;
}
.foot {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}
@media (min-width: 720px) {
  .foot { flex-direction: row; align-items: center; }
}
.foot .meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.foot .meta span { color: var(--ink-2); }

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */
@media (min-width: 800px) {
  .nav-desktop { display: flex; }
  .menu-btn { display: none; }
}

@media (max-width: 540px) {
  .offer-meta { grid-template-columns: 1fr; }
  .case-meta { grid-template-columns: 1fr; }
  .hero-meta .pill { font-size: 10.5px; padding: 5px 8px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
