/* ============================================================
   Johnson and Laimbeer — independent technical studio
   Type: Playfair Display (editorial display) · IBM Plex Mono
   (technical labels/data) · Hanken Grotesk (body)
   Color: off-white base · pure black ink · surgical acid lime
   ============================================================ */

:root {
  --paper:      #f8f8f6;
  --paper-2:    #f1f1ed;
  --ink:        #0c0c0a;
  --ink-soft:   #2c2c28;
  --ink-mute:   #6f6f68;
  --line:       #d9d9d2;
  --line-2:     #e7e7e1;
  --acid:       #d2e600;   /* electric lime — exactly the photos' floors */
  --acid-deep:  #b6c800;

  --serif: "Playfair Display", Georgia, serif;
  --mono:  "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --sans:  "Hanken Grotesk", -apple-system, system-ui, sans-serif;

  --maxw: 1320px;
  --gut:  clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

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

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

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

/* ---------- shared layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--acid-deep);
}

.section-no {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
}

/* ---------- duotone image treatment ----------
   grayscale base, acid multiply over it → black-to-lime duotone
   matching the reference photography. */
.duotone {
  position: relative;
  overflow: hidden;
  background: #111;
}
.duotone img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(1.04);
}
.duotone::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--acid);
  mix-blend-mode: multiply;
  opacity: 0.78;
  pointer-events: none;
}
.duotone.subtle::after { opacity: 0.62; }
.duotone .veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,6,0.15) 0%, rgba(8,8,6,0.55) 100%);
  mix-blend-mode: normal;
  pointer-events: none;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gut);
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.nav::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--acid);
  transition: width .6s var(--ease);
}
.nav.scrolled {
  background: rgba(248,248,246,0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  padding-top: 13px; padding-bottom: 13px;
}
.nav.scrolled::after { width: 100%; }

/* over the dark hero (not yet scrolled) the nav inverts to light */
.nav:not(.scrolled) .brand,
.nav:not(.scrolled) .nav-links a { color: var(--paper); }
.nav:not(.scrolled) .nav-links .num { color: rgba(248,248,246,0.6); }
.nav:not(.scrolled) .nav-cta { border-color: rgba(248,248,246,0.55); color: var(--paper); }
.nav:not(.scrolled) .nav-cta:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.nav:not(.scrolled) .burger span { background: var(--paper); }

.brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(19px, 2.2vw, 23px);
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.brand em { font-style: italic; font-weight: 500; }

.nav-links {
  display: flex; align-items: center; gap: 34px;
  list-style: none;
}
.nav-links a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color .25s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1.5px; background: var(--acid);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links .num { color: var(--ink-mute); margin-right: 6px; }

.nav-cta {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid var(--ink);
  padding: 9px 16px;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.nav-cta:hover { background: var(--ink); color: var(--paper); }

.burger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.burger span { width: 24px; height: 2px; background: var(--ink); transition: .3s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(248,248,246,0.10) 0%, rgba(248,248,246,0.0) 28%, rgba(12,12,10,0.30) 72%, rgba(12,12,10,0.66) 100%);
  z-index: 2;
}

.hero-inner { padding-bottom: clamp(48px, 9vh, 110px); padding-top: 140px; }

.hero-eyebrow {
  font-family: var(--mono);
  font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--paper);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: clamp(20px, 3vh, 34px);
}
.hero-eyebrow .dot { width: 7px; height: 7px; background: var(--acid); border-radius: 50%; box-shadow: 0 0 14px var(--acid); }
.hero-eyebrow .sep { width: 1px; height: 13px; background: rgba(248,248,246,.4); }

.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--paper);
  line-height: 0.94;
  letter-spacing: -0.015em;
  font-size: clamp(48px, 11vw, 168px);
  text-wrap: balance;
}
.hero h1 em { font-style: italic; font-weight: 500; }
.hero h1 .amp { font-weight: 400; font-style: italic; color: var(--acid); }

.hero-tagline {
  margin-top: clamp(22px, 4vh, 40px);
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 28px;
  border-top: 1px solid rgba(248,248,246,0.28);
  padding-top: 26px;
}
.hero-tagline p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.6vw, 33px);
  color: var(--paper);
  line-height: 1.2;
  max-width: 16ch;
}
.hero-meta {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.1em;
  color: rgba(248,248,246,0.82);
  text-align: right;
  line-height: 1.9;
  text-transform: uppercase;
}
.hero-meta .k { color: var(--acid); }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(248,248,246,.7);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 3;
}
.scroll-cue .bar { width: 1px; height: 34px; background: linear-gradient(var(--acid), transparent); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0%,100%{ transform: scaleY(.4); opacity:.4; transform-origin: top; } 50%{ transform: scaleY(1); opacity:1; transform-origin: top; } }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section { padding-block: clamp(70px, 11vh, 150px); position: relative; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: clamp(34px, 5vh, 64px);
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}
.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 5vw, 60px);
  line-height: 1.0;
  letter-spacing: -0.01em;
}
.section-title em { font-style: italic; font-weight: 400; }
.section-head .lede {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--ink-soft);
  max-width: 40ch;
  text-wrap: pretty;
}

/* ============================================================
   PROJECTS
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.project {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(26px, 3vw, 42px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
  z-index: 1;
  min-height: 240px;
}
.project::before {
  content: ""; position: absolute; inset: -1px;
  border: 1.5px solid var(--acid);
  opacity: 0; transition: opacity .35s var(--ease);
  pointer-events: none; z-index: 2;
}
.project:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -28px rgba(12,12,10,0.45);
  background: var(--paper);
  z-index: 5;
}
.project:hover::before { opacity: 1; }

.project-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; }
.project-no {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; color: var(--ink-mute);
}
.project-arrow {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-mute);
  transition: .35s var(--ease);
}
.project:hover .project-arrow {
  background: var(--acid); border-color: var(--acid); color: var(--ink);
  transform: rotate(-45deg);
}
.project-arrow svg { width: 15px; height: 15px; }

.project h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 33px);
  letter-spacing: -0.01em;
  line-height: 1.04;
  margin-top: 40px;
}
.project p {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.5;
  margin-top: 12px;
  max-width: 34ch;
  text-wrap: pretty;
}
.project-foot {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 22px;
}
.tech-tag {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--ink-mute);
  border: 1px solid var(--line);
  padding: 4px 9px;
  transition: .3s var(--ease);
}
.project:hover .tech-tag { border-color: var(--line-2); color: var(--ink-soft); }
.project .ext {
  margin-left: auto;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-mute);
  border-bottom: 1px solid transparent;
}
.project:hover .ext { color: var(--ink); border-color: var(--acid); }

/* ============================================================
   ABOUT / PHILOSOPHY
   ============================================================ */
.about { background: var(--paper-2); }
.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(34px, 5vw, 80px);
  align-items: stretch;
}
.about-figure {
  position: relative;
  border: 1px solid var(--line);
  min-height: 460px;
}
.about-figure .duotone { position: absolute; inset: 0; }
.about-figure figcaption {
  position: absolute; left: 0; bottom: 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--paper);
  background: rgba(12,12,10,0.55);
  padding: 9px 14px;
  z-index: 3;
}
.about-figure .tag-corner {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--ink); background: var(--acid); padding: 5px 10px;
}

.about-body { display: flex; flex-direction: column; justify-content: center; }
.about-body .eyebrow { margin-bottom: 26px; }
.about-body h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.about-body h2 .mark {
  font-style: italic;
  background: linear-gradient(transparent 64%, var(--acid) 64%, var(--acid) 92%, transparent 92%);
  padding: 0 2px;
}
.about-body .paras { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; max-width: 56ch; }
.about-body p { color: var(--ink-soft); font-size: 17px; line-height: 1.65; text-wrap: pretty; }
.about-body p strong { color: var(--ink); font-weight: 600; }
.sig {
  margin-top: 34px;
  font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink);
}
.sig small { display:block; font-family: var(--mono); font-style: normal; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin-top: 6px; }

/* ---------- stats strip ---------- */
.stats {
  margin-top: clamp(48px, 7vh, 84px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--paper);
}
.stat { padding: 26px 24px; border-right: 1px solid var(--line); position: relative; }
.stat:last-child { border-right: none; }
.stat .n { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 4vw, 54px); line-height: 1; letter-spacing: -0.02em; }
.stat .n .u { font-family: var(--mono); font-size: 14px; color: var(--acid-deep); margin-left: 4px; letter-spacing: 0; }
.stat .l { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-top: 12px; }
.stat::after { content:""; position:absolute; left:0; top:0; width: 28px; height: 3px; background: var(--acid); }

/* ============================================================
   STACK
   ============================================================ */
.stack-layout { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.stack-aside .eyebrow { margin-bottom: 22px; }
.stack-aside h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(26px, 3.2vw, 42px); line-height: 1.1; letter-spacing: -0.01em;
}
.stack-aside p { margin-top: 18px; color: var(--ink-soft); max-width: 32ch; text-wrap: pretty; }

.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  font-family: var(--mono);
  font-size: 14px; letter-spacing: 0.02em;
  padding: 11px 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 9px;
  transition: .3s var(--ease); cursor: default;
}
.pill .pdot { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: .3s var(--ease); }
.pill:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.pill:hover .pdot { background: var(--ink); }
.pill.key {
  border-color: var(--acid-deep);
  color: var(--ink);
  background: linear-gradient(transparent, rgba(210,230,0,0.10));
}
.pill.key .pdot { background: var(--acid); box-shadow: 0 0 0 3px rgba(210,230,0,0.25); }
.pill.key:hover { background: var(--acid); border-color: var(--acid); }

.stack-note {
  margin-top: 30px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-mute);
  display: flex; align-items: center; gap: 10px;
}
.stack-note .sw { width: 13px; height: 13px; background: var(--acid); border: 1px solid var(--acid-deep); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--ink); color: var(--paper); }
.contact .eyebrow { color: rgba(248,248,246,0.6); }
.contact .eyebrow::before { background: var(--acid); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(34px, 5vw, 80px); align-items: end; }
.contact h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 6vw, 88px); line-height: 0.98; letter-spacing: -0.02em;
  margin-top: 26px;
}
.contact h2 em { font-style: italic; }
.contact .mail {
  display: inline-block; margin-top: 30px;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(20px, 3vw, 34px);
  color: var(--acid);
  border-bottom: 1px solid rgba(210,230,0,0.4);
  padding-bottom: 4px;
  transition: .3s var(--ease);
}
.contact .mail:hover { border-color: var(--acid); letter-spacing: 0.01em; }
.contact-links { display: flex; flex-direction: column; gap: 2px; }
.contact-links a {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 16px 4px;
  border-top: 1px solid rgba(248,248,246,0.16);
  color: rgba(248,248,246,0.85);
  transition: .3s var(--ease);
}
.contact-links a:last-child { border-bottom: 1px solid rgba(248,248,246,0.16); }
.contact-links a:hover { color: var(--acid); padding-left: 14px; }
.contact-links a .arr { transition: .3s var(--ease); }
.contact-links a:hover .arr { transform: translate(3px,-3px); color: var(--acid); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink); color: rgba(248,248,246,0.5);
  border-top: 1px solid rgba(248,248,246,0.12);
  padding-block: 28px;
}
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer .fbrand { font-family: var(--serif); font-style: italic; color: var(--paper); font-size: 18px; }
.footer .fmeta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.footer .fmeta span { color: var(--acid); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal[data-d="1"] { transition-delay: .08s; }
  .reveal[data-d="2"] { transition-delay: .16s; }
  .reveal[data-d="3"] { transition-delay: .24s; }
  .reveal[data-d="4"] { transition-delay: .32s; }

  .hero-anim { opacity: 0; transform: translateY(34px); }
  .hero-anim.go { opacity: 1; transform: none; transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
  .hero-anim.d1 { transition-delay: .15s; }
  .hero-anim.d2 { transition-delay: .35s; }
  .hero-anim.d3 { transition-delay: .55s; }
  .hero-anim.d4 { transition-delay: .72s; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  .nav-links, .nav-cta.desk { display: none; }
  .burger { display: flex; }
  .mobile-menu {
    display: flex;
    position: fixed; inset: 0; z-index: 90;
    background: var(--paper);
    display: flex; flex-direction: column; justify-content: center; gap: 8px;
    padding: var(--gut);
    transform: translateX(100%); transition: transform .5s var(--ease);
  }
  .mobile-menu.open { transform: none; }
  .mobile-menu a {
    font-family: var(--serif); font-size: clamp(34px, 9vw, 56px); font-weight: 500;
    border-bottom: 1px solid var(--line); padding: 16px 0;
    display: flex; align-items: baseline; gap: 16px;
  }
  .mobile-menu a .mn { font-family: var(--mono); font-size: 13px; color: var(--ink-mute); letter-spacing: .1em; }
  .mobile-menu a:active { color: var(--acid-deep); }

  .projects-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-figure { min-height: 340px; order: -1; }
  .stack-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  .hero-tagline { flex-direction: column; align-items: flex-start; }
  .hero-meta { text-align: left; }
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.page-hero {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(100px, 14vh, 160px) 0 clamp(48px, 7vh, 80px);
}
.page-hero .eyebrow { color: rgba(248,248,246,0.55); }
.page-hero .eyebrow::before { background: var(--acid); }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(36px, 7vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin-top: 20px;
  color: var(--paper);
}
.page-hero h1 em { font-style: italic; font-weight: 400; }
.page-hero .page-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248,248,246,0.45);
  margin-top: 20px;
}

.legal-body { max-width: 72ch; }
.legal-body h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(22px, 2.8vw, 30px);
  letter-spacing: -0.01em;
  margin-top: 52px;
  margin-bottom: 14px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(17px, 2vw, 21px);
  margin-top: 28px;
  margin-bottom: 10px;
}
.legal-body p { color: var(--ink-soft); line-height: 1.75; margin-bottom: 14px; }
.legal-body a { color: var(--ink); border-bottom: 1px solid var(--acid); transition: color .2s; }
.legal-body a:hover { color: var(--acid-deep); }
.legal-body ul, .legal-body ol {
  color: var(--ink-soft);
  padding-left: 1.5em;
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal-body li { margin-bottom: 6px; }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-box {
  background: var(--paper-2);
  border-left: 3px solid var(--acid);
  padding: 16px 20px;
  margin-block: 24px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.legal-box p { margin-bottom: 0; color: inherit; }
.legal-box strong { color: var(--ink); }

/* footer legal links */
.footer-legal {
  width: 100%;
  border-top: 1px solid rgba(248,248,246,0.1);
  margin-top: 14px;
  padding-top: 14px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-legal a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248,248,246,0.38);
  transition: color .25s var(--ease);
}
.footer-legal a:hover { color: var(--acid); }
