/* ============================================================
   OG Media — Styles
   Design direction: warm editorial; founder-led media house.
   Type: Boska (display) + Satoshi (body). Fontshare CDN.
   Palette: warm cream surfaces, deep ink, terra/rust accent.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Palette */
  --ink:        #1a1612;           /* near-black, warm */
  --ink-soft:   #2c2620;
  --paper:      #f5efe5;           /* warm cream */
  --paper-2:    #efe7d8;           /* deeper cream */
  --paper-3:    #e6dcc8;           /* card-edge */
  --rule:       #d6c9b1;           /* hairlines */
  --muted:      #6e6353;           /* secondary text */
  --faint:      #a89a83;
  --accent:     #b9461c;           /* terra / rust */
  --accent-ink: #8a3414;
  --accent-soft:#f0d3b8;

  /* Typography */
  --font-display: 'Boska', 'Cormorant', 'Georgia', serif;
  --font-body:    'Satoshi', 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;

  /* Type scale (clamp for fluid) */
  --t-hero:  clamp(2.75rem, 6vw + 1rem, 6.25rem);
  --t-3xl:   clamp(2.25rem, 4.2vw + 0.5rem, 4.25rem);
  --t-2xl:   clamp(1.875rem, 2.6vw + 0.6rem, 2.75rem);
  --t-xl:    clamp(1.375rem, 1vw + 1rem, 1.75rem);
  --t-lg:    1.125rem;
  --t-base:  1rem;
  --t-sm:    0.9375rem;
  --t-xs:    0.8125rem;
  --t-2xs:   0.6875rem;

  /* Spacing */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem; --s-6: 2rem;   --s-8: 3rem;     --s-10: 4rem;
  --s-12: 6rem;  --s-16: 8rem;  --s-20: 10rem;

  /* Layout */
  --container: 1200px;
  --radius: 14px;
  --radius-sm: 8px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; transition: color 200ms var(--ease); }
a:hover { color: var(--accent); }

button { font: inherit; }

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

.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: fixed; left: 1rem; top: 1rem; width: auto; height: auto;
  background: var(--ink); color: var(--paper);
  padding: var(--s-3) var(--s-4); border-radius: var(--radius-sm);
  z-index: 100;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding-block: clamp(4rem, 9vw, 8rem);
  border-top: 1px solid var(--rule);
}

.section-head { margin-bottom: clamp(2rem, 4vw, 4rem); max-width: 60ch; }
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--t-3xl);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 var(--s-4) 0;
}
.section-lede {
  font-size: var(--t-lg);
  color: var(--muted);
  max-width: 56ch;
  margin: 0;
}

.kicker {
  font-family: var(--font-body);
  font-size: var(--t-2xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 var(--s-4) 0;
  font-weight: 500;
}
.kicker.light { color: rgba(245, 239, 229, 0.7); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 250ms var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--paper);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-xl {
  padding: 1.25rem 2rem;
  font-size: var(--t-lg);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.005em;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 239, 229, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--rule);
  background: rgba(245, 239, 229, 0.96);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  color: var(--ink);
}
.brand:hover { color: var(--accent); }
.brand-mark { width: 28px; height: 28px; color: currentColor; }
.brand-mark text {
  fill: currentColor;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.08em;
}
.brand-text {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}
.site-nav a {
  font-size: var(--t-sm);
  color: var(--ink-soft);
  font-weight: 400;
}
.site-nav a:not(.nav-cta):hover { color: var(--accent); }
.nav-login {
  color: var(--accent) !important;
  font-weight: 500 !important;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease;
}
.nav-login:hover { border-bottom-color: var(--accent); }
.nav-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 500;
}
.nav-cta:hover { background: var(--accent); color: var(--paper); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 8px;
  cursor: pointer;
  padding: 0 8px;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition: transform 200ms var(--ease), opacity 200ms;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule);
  background: var(--paper);
  padding: var(--s-3) clamp(1.25rem, 4vw, 2.5rem) var(--s-5);
}
.mobile-nav a {
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--rule);
  font-size: var(--t-base);
  color: var(--ink);
}
.mobile-nav a:last-child { border-bottom: none; }

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.55fr 1fr; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--t-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin: 0 0 var(--s-6) 0;
  padding: 0.4rem 0.85rem 0.4rem 0.55rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(255,255,255,0.4);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(185, 70, 28, 0.15);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--t-hero);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 0 0 var(--s-6) 0;
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.hero-lede {
  font-size: var(--t-lg);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 0 var(--s-8) 0;
}

.hero-ctas {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
}

.hero-aside { display: flex; }
.aside-card {
  background: var(--paper-2);
  border: 1px solid var(--paper-3);
  border-radius: var(--radius);
  padding: var(--s-6);
  width: 100%;
  position: relative;
  overflow: hidden;
}
.aside-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 100% 0%, rgba(185,70,28,0.08), transparent 60%);
  pointer-events: none;
}
.aside-label {
  font-size: var(--t-2xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 var(--s-5) 0;
}
.aside-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.aside-list li {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--paper-3);
  font-size: var(--t-sm);
}
.aside-list li:last-child { border-bottom: none; padding-bottom: 0; }
.aside-list span { color: var(--muted); }
.aside-list strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--t-base);
  text-align: right;
}

/* Marquee */
.hero-marquee {
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  padding: var(--s-5) 0;
}
.marquee-track {
  display: inline-flex;
  gap: var(--s-6);
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  font-style: italic;
  color: var(--ink-soft);
  padding-left: var(--s-6);
}
.marquee-track span:nth-child(even) { color: var(--accent); font-style: normal; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- Positioning ---------- */
.positioning-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (min-width: 900px) {
  .positioning-grid { grid-template-columns: 1fr 1.4fr; align-items: start; }
}
.positioning-lede {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: var(--t-xl);
  line-height: 1.4;
  color: var(--ink-soft);
  margin: 0;
  border-left: 2px solid var(--accent);
  padding-left: var(--s-5);
}
.positioning-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 700px) {
  .positioning-cards { grid-template-columns: repeat(3, 1fr); }
}
.pcard {
  background: var(--paper-2);
  border: 1px solid var(--paper-3);
  border-radius: var(--radius);
  padding: var(--s-6);
  transition: transform 280ms var(--ease), border-color 280ms var(--ease);
}
.pcard:hover { transform: translateY(-3px); border-color: var(--accent); }
.pcard h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--t-xl);
  margin: 0 0 var(--s-3) 0;
  letter-spacing: -0.01em;
}
.pcard p {
  margin: 0;
  color: var(--muted);
  font-size: var(--t-sm);
  line-height: 1.55;
}

/* ---------- Services ---------- */
.services-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}
.service {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: padding-left 250ms var(--ease);
}
@media (min-width: 800px) {
  .service { grid-template-columns: 130px 1fr; gap: var(--s-8); }
  .service:hover { padding-left: var(--s-4); }
}
.service-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: 1.125rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.service-body h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--t-2xl);
  line-height: 1.1;
  margin: 0 0 var(--s-3) 0;
  letter-spacing: -0.015em;
}
.service-body p {
  margin: 0 0 var(--s-4) 0;
  color: var(--ink-soft);
  font-size: var(--t-base);
  max-width: 60ch;
}
.tag-row {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.tag-row li {
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
}

/* ---------- Why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (min-width: 900px) {
  .why-grid { grid-template-columns: 1fr 1.2fr; align-items: start; }
}
.why-lede {
  font-size: var(--t-lg);
  color: var(--muted);
  max-width: 50ch;
  margin: 0;
}
.why-list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
@media (min-width: 600px) {
  .why-list { grid-template-columns: 1fr 1fr; }
}
.why-list li {
  padding: var(--s-5);
  background: var(--paper-2);
  border: 1px solid var(--paper-3);
  border-radius: var(--radius);
}
.why-list h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--t-xl);
  margin: 0 0 var(--s-2) 0;
  letter-spacing: -0.01em;
}
.why-list p {
  margin: 0;
  color: var(--muted);
  font-size: var(--t-sm);
  line-height: 1.55;
}

/* ---------- Capabilities ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
@media (min-width: 700px)  { .cap-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cap-grid { grid-template-columns: repeat(3, 1fr); } }
.cap {
  padding: var(--s-6);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: transparent;
  transition: background 250ms var(--ease);
}
.cap:hover { background: var(--paper-2); }
.cap h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--t-xl);
  margin: 0 0 var(--s-2) 0;
  letter-spacing: -0.01em;
}
.cap p {
  margin: 0;
  color: var(--muted);
  font-size: var(--t-sm);
  line-height: 1.55;
}

/* ---------- Process ---------- */
.process-list {
  list-style: none;
  padding: 0; margin: 0;
  counter-reset: step;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 800px) {
  .process-list { grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--rule); }
}
.process-list li {
  padding: var(--s-6) var(--s-4) var(--s-6) 0;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 800px) {
  .process-list li {
    border-bottom: none;
    border-right: 1px solid var(--rule);
    padding: var(--s-6) var(--s-4);
  }
  .process-list li:last-child { border-right: none; }
}
.step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  font-size: 1.125rem;
  margin: 0 0 var(--s-4) 0;
  letter-spacing: 0.04em;
}
.process-list h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--t-xl);
  margin: 0 0 var(--s-2) 0;
}
.process-list p {
  margin: 0;
  font-size: var(--t-sm);
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- Industries ---------- */
.industries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 700px)  { .industries-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .industries-grid { grid-template-columns: repeat(4, 1fr); } }
.industry {
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-6);
  border-radius: var(--radius);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 280ms var(--ease);
}
.industry::after {
  content: '';
  position: absolute;
  inset: auto -30% -40% auto;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185,70,28,0.45), transparent 70%);
  transition: transform 600ms var(--ease);
}
.industry:hover { transform: translateY(-4px); }
.industry:hover::after { transform: scale(1.4); }
.industry h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--t-2xl);
  letter-spacing: -0.015em;
  margin: 0;
  position: relative;
  z-index: 1;
}
.industry p {
  margin: 0;
  font-size: var(--t-sm);
  color: rgba(245,239,229,0.75);
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

/* ---------- Founder ---------- */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .founder-grid { grid-template-columns: 1fr 1.5fr; }
}
.founder-portrait {
  display: flex;
  justify-content: center;
}
.portrait-frame {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 5;
  background: linear-gradient(155deg, var(--paper-2), var(--paper-3));
  border: 1px solid var(--paper-3);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-5);
  position: relative;
  overflow: hidden;
}
.portrait-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 30% 30%, rgba(185,70,28,0.18), transparent 70%),
    radial-gradient(40% 40% at 80% 80%, rgba(26,22,18,0.10), transparent 70%);
}
.initials {
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 8rem);
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.04em;
  position: relative;
  z-index: 1;
}
.portrait-cap {
  font-size: var(--t-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin: 0;
  position: relative;
  z-index: 1;
  line-height: 1.6;
  font-weight: 500;
}

.founder-copy p {
  font-size: var(--t-base);
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 var(--s-4) 0;
}
.signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--t-xl);
  color: var(--accent);
  margin-top: var(--s-5) !important;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--ink);
}
.contact-inner {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.contact-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--t-3xl);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-5) 0;
}
.contact-lede {
  font-size: var(--t-lg);
  color: rgba(245,239,229,0.75);
  margin: 0 0 var(--s-8) 0;
}
.contact .btn-primary {
  background: var(--paper);
  color: var(--ink);
}
.contact .btn-primary:hover {
  background: var(--accent);
  color: var(--paper);
}
.contact-fineprint {
  margin-top: var(--s-5);
  font-size: var(--t-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,239,229,0.5);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--paper-2);
  padding: var(--s-12) 0 var(--s-6) 0;
  border-top: 1px solid var(--paper-3);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  margin-bottom: var(--s-10);
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1.5fr; }
}
.footer-brand .brand-mark { width: 32px; height: 32px; color: var(--ink); margin-bottom: var(--s-4); }
.footer-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--t-lg);
  color: var(--muted);
  max-width: 28ch;
  margin: 0;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
@media (max-width: 600px) {
  .footer-nav { grid-template-columns: 1fr 1fr; }
}
.footer-nav > div { display: flex; flex-direction: column; gap: var(--s-2); }
.fnav-label {
  font-size: var(--t-2xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 var(--s-2) 0;
  font-weight: 500;
}
.footer-nav a, .fnav-static {
  font-size: var(--t-sm);
  color: var(--ink-soft);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-3);
  padding-top: var(--s-5);
  border-top: 1px solid var(--paper-3);
  font-size: var(--t-xs);
  color: var(--muted);
}
.footer-bottom p { margin: 0; }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Mobile nav ---------- */
@media (max-width: 820px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
}
@media (min-width: 821px) {
  .mobile-nav { display: none !important; }
}
