/* ==========================================================================
   Hayden Lawton · Portfolio
   Quiet editorial. Ink on paper.
   ========================================================================== */

:root {
  --paper: #f2f0ec;
  --paper-2: #ebe8e2;
  --ink: #111111;
  --ink-2: #2b2a28;
  --mute: #6b6864;
  --rule: #d9d5ce;
  --rule-strong: #b6b1a8;
  --max: 1440px;
  --gutter: clamp(20px, 3vw, 48px);
  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* DIRECTION B — applied when <html data-direction="b"> */
html[data-direction="b"] {
  --paper: #111111;
  --paper-2: #1a1a1a;
  --ink: #efece6;
  --ink-2: #d8d4cc;
  --mute: #8a8680;
  --rule: #2a2a28;
  --rule-strong: #3a3a38;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "ss01" 1;
  letter-spacing: -0.005em;
  transition: background 300ms ease, color 300ms ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- Type ---------- */

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
}

.display {
  font-size: clamp(72px, 13vw, 220px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.h1 {
  font-size: clamp(40px, 5.5vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 500;
}

.h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.h3 {
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 500;
}

.lede {
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 400;
  text-wrap: pretty;
}

.body-lg { font-size: 18px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.body { font-size: 16px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.small { font-size: 13px; line-height: 1.5; color: var(--mute); }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0; color: var(--mute); }

/* ---------- Layout primitives ---------- */

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.rule { height: 1px; background: var(--rule); border: 0; }
.rule-strong { height: 1px; background: var(--rule-strong); border: 0; }

section { padding: clamp(60px, 10vw, 140px) 0; }

/* ---------- Top nav ---------- */

.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in oklab, var(--paper) 85%, transparent);
  border-bottom: 1px solid var(--rule);
}

.topnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}

.topnav .logo {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.topnav nav { display: flex; gap: clamp(16px, 2.5vw, 36px); }
.topnav nav a {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
}
.topnav nav a:hover, .topnav nav a[aria-current="page"] { color: var(--ink); }
.topnav nav a:focus-visible,
footer a:focus-visible,
.line:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
  border-radius: 2px;
}
.topnav nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -15px;
  height: 1px;
  background: var(--ink);
}

.topnav .meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--mute);
}
.topnav .meta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #2aa36a;
  box-shadow: 0 0 0 3px color-mix(in oklab, #2aa36a 20%, transparent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.92); }
}

/* ---------- Hero ---------- */

.hero {
  padding-top: clamp(30px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 80px);
}

.hero-media {
  aspect-ratio: 16 / 9;
  width: 100%;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.hero-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.hero-name-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.hero-meta > div { min-width: 0; }
.hero-meta .k {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px;
}
.hero-meta .v { font-size: 14px; line-height: 1.4; }
@media (max-width: 720px) { .hero-meta { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Bio grid ---------- */

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 80px);
}
@media (max-width: 1000px) { .bio-grid { grid-template-columns: 1fr; } }

.bio-grid aside {
  position: sticky;
  top: 100px;
  align-self: start;
}
@media (max-width: 1000px) { .bio-grid aside { position: static; } }

.bio-grid h2 { margin-bottom: 28px; }
.bio-grid p + p { margin-top: 1.15em; }

/* ---------- About grid (copy + portrait) ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 80px);
  align-items: start;
}
.about-grid .portrait { margin: 0; }
.about-grid .portrait img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* field notes sidebar */
.notes {
  border-top: 1px solid var(--rule-strong);
  padding-top: 16px;
}
.notes .k { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); margin-bottom: 18px; }
.notes .item { padding: 14px 0; border-bottom: 1px dotted var(--rule); }
.notes .item:last-child { border-bottom: 0; }
.notes .item .quote { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.notes .item .src { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 11px; color: var(--mute); }

/* ---------- Work list ---------- */

.worklist { border-top: 1px solid var(--rule-strong); }
.worklist .row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr 140px 40px;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  transition: padding 300ms ease;
  position: relative;
}
.worklist .row:hover { padding-left: 12px; }
.worklist .row .num { font-family: var(--font-mono); font-size: 12px; color: var(--mute); }
.worklist .row .title { font-size: clamp(24px, 2.6vw, 36px); letter-spacing: -0.02em; font-weight: 500; }
.worklist .row .sub { font-size: 14px; color: var(--ink-2); }
.worklist .row .year { font-family: var(--font-mono); font-size: 12px; color: var(--mute); text-align: right; }
.worklist .row .chev {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--mute);
  text-align: right;
  transition: transform 300ms ease, color 300ms ease;
}
.worklist .row:hover .chev { transform: translateX(6px); color: var(--ink); }
.worklist .row:hover .title { font-style: italic; }
@media (max-width: 800px) {
  .worklist .row { grid-template-columns: 40px 1fr 60px; }
  .worklist .row .sub, .worklist .row .year { display: none; }
}

/* hover preview image */
.worklist .row .preview {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-30%) rotate(-2deg) scale(0.96);
  width: 240px;
  aspect-ratio: 4/3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms ease, transform 300ms cubic-bezier(.2,.9,.2,1);
  z-index: 2;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.15));
}
.worklist .row:hover .preview { opacity: 1; transform: translateY(-50%) rotate(-2deg) scale(1); }
@media (max-width: 1100px) { .worklist .row .preview { display: none; } }

/* ---------- Section header ---------- */

.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(28px, 3vw, 48px);
  border-bottom: 1px solid var(--rule-strong);
  margin-bottom: clamp(28px, 3vw, 48px);
  flex-wrap: wrap;
}

/* ---------- Placeholder (striped) ---------- */

.ph {
  position: relative;
  background: var(--paper-2);
  overflow: hidden;
}
.ph::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 12px,
    color-mix(in oklab, var(--ink) 6%, transparent) 12px 13px
  );
}
.ph .lbl {
  position: absolute;
  left: 14px; bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0;
  color: var(--mute);
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  padding: 4px 8px;
  border: 1px solid var(--rule);
  max-width: calc(100% - 28px);
}
.ph .tl {
  position: absolute;
  left: 14px; top: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--mute);
  text-transform: uppercase;
}
.ph .tr {
  position: absolute;
  right: 14px; top: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--mute);
}

/* ---------- Lists (awards / reading) ---------- */

.list-group { padding: clamp(28px, 4vw, 56px) 0; border-bottom: 1px solid var(--rule); }
.list-group:last-child { border-bottom: 0; }
.list-group .lg-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.list-group .lg-head .idx { font-family: var(--font-mono); font-size: 12px; color: var(--mute); }
.list-group .lg-head h3 { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.02em; font-weight: 500; }
.list-group ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.list-group li { font-size: 15px; color: var(--ink-2); line-height: 1.5; padding-left: 20px; position: relative; }
.list-group li::before { content: "•"; position: absolute; left: 0; color: var(--mute); }
.list-group li a:hover { border-bottom: 1px solid var(--ink-2); }

/* ---------- Footer ---------- */

footer {
  padding: clamp(60px, 8vw, 120px) 0 40px;
  border-top: 1px solid var(--rule-strong);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  margin-bottom: 60px;
}
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

.foot-grid h4 { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin-bottom: 14px; font-weight: 500; }
.foot-grid .big { font-size: clamp(32px, 4vw, 56px); line-height: 1.04; letter-spacing: -0.02em; font-weight: 500; }
.foot-grid a.line { display: block; font-size: 15px; padding: 6px 0; border-bottom: 1px solid transparent; width: fit-content; }
.foot-grid a.line:hover { border-bottom-color: var(--ink); }

.foot-meta {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; border-top: 1px solid var(--rule);
  font-family: var(--font-mono); font-size: 11px; color: var(--mute);
}

/* ---------- Case study ---------- */

.cs-hero { padding: clamp(40px, 5vw, 80px) 0 0; }
.cs-hero .tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.cs-hero .tag .line { height: 1px; width: 32px; background: var(--ink-2); }
.cs-hero .title { font-size: clamp(48px, 8vw, 128px); line-height: 0.92; letter-spacing: -0.035em; font-weight: 500; margin-bottom: 20px; }
.cs-hero .subtitle { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.25; color: var(--ink-2); max-width: 22ch; letter-spacing: -0.015em; }

.cs-meta {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: clamp(40px, 5vw, 80px) 0;
}
.cs-meta .k { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.cs-meta .v { font-size: 14px; line-height: 1.4; }
@media (max-width: 900px) { .cs-meta { grid-template-columns: repeat(2, 1fr); } }

.cs-media { aspect-ratio: 16/9; width: 100%; }
.cs-media.tall { aspect-ratio: 4/5; }
.cs-media.sq { aspect-ratio: 1/1; }

.cs-section {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(40px, 6vw, 80px) 0;
  border-top: 1px solid var(--rule);
}
.cs-section .label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); padding-top: 8px; }
.cs-section .col { }
.cs-section h3 { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 500; margin-bottom: 18px; }
.cs-section p { font-size: 16px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.cs-section p + p { margin-top: 1em; }
@media (max-width: 900px) {
  .cs-section { grid-template-columns: 1fr; }
}

/* results grid */
.results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.results .cell {
  background: var(--paper);
  padding: clamp(20px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 10px; min-height: 180px; justify-content: flex-end;
}
.results .cell .big {
  font-size: clamp(40px, 5.5vw, 72px); line-height: 0.9; letter-spacing: -0.03em; font-weight: 500;
}
.results .cell .lbl { font-size: 12px; color: var(--mute); line-height: 1.4; letter-spacing: 0.02em; }
@media (max-width: 800px) { .results { grid-template-columns: repeat(2, 1fr); } }

/* credits */
.credits {
  display: grid; grid-template-columns: 180px 1fr; gap: clamp(24px, 4vw, 64px);
  padding: clamp(32px, 4vw, 60px) 0;
  border-top: 1px solid var(--rule);
}
.credits .label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.credits ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.credits li { font-size: 14px; color: var(--ink-2); }
.credits li b { font-weight: 500; color: var(--ink); }
@media (max-width: 800px) { .credits { grid-template-columns: 1fr; } .credits ul { grid-template-columns: 1fr; } }

/* next */
.next-cs {
  border-top: 1px solid var(--rule-strong);
  padding: clamp(40px, 6vw, 80px) 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end;
}
.next-cs .label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.next-cs .title { font-size: clamp(36px, 5vw, 72px); letter-spacing: -0.025em; font-weight: 500; line-height: 1; }
.next-cs a { display: block; }
.next-cs a:hover .title { font-style: italic; }

/* ---------- Methodology ---------- */

.m-hero .big {
  font-size: clamp(44px, 6.5vw, 110px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 500;
  max-width: 18ch;
  text-wrap: balance;
}

.steps { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--rule); }
.step {
  display: grid;
  grid-template-columns: 80px 1fr 1.4fr;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(32px, 4vw, 60px) 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.step .n { font-family: var(--font-mono); font-size: 12px; color: var(--mute); padding-top: 4px; }
.step h3 { font-size: clamp(26px, 3vw, 40px); line-height: 1.05; letter-spacing: -0.02em; font-weight: 500; text-wrap: balance; }
.step p { font-size: 16px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
@media (max-width: 900px) { .step { grid-template-columns: 40px 1fr; } .step p { grid-column: 2; } }

/* process diagram */
.diagram {
  border: 1px solid var(--rule-strong);
  padding: clamp(32px, 4vw, 56px);
  margin: clamp(40px, 6vw, 80px) 0;
  background:
    linear-gradient(to right, var(--rule) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(to bottom, var(--rule) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--paper);
}

.vocab {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin: clamp(24px, 3vw, 48px) 0;
}
.vocab .c { background: var(--paper); padding: 24px; min-height: 160px; display: flex; flex-direction: column; gap: 10px; }
.vocab .w { font-size: 22px; letter-spacing: -0.02em; font-weight: 500; }
.vocab .d { font-size: 13px; color: var(--mute); line-height: 1.5; }
.vocab .c .src { margin-top: auto; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 900px) { .vocab { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Resume ---------- */

.resume-grid { display: grid; grid-template-columns: 200px 1fr; gap: clamp(24px, 4vw, 80px); padding: clamp(32px, 4vw, 56px) 0; border-top: 1px solid var(--rule); }
.resume-grid .label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); padding-top: 4px; }
.resume-grid h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -0.015em; font-weight: 500; margin-bottom: 4px; }
.resume-grid .role { font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.resume-grid .when { font-family: var(--font-mono); font-size: 12px; color: var(--mute); margin-bottom: 14px; }
.resume-grid ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.resume-grid li { font-size: 15px; color: var(--ink-2); line-height: 1.5; padding-left: 20px; position: relative; }
.resume-grid li::before { content: "→"; position: absolute; left: 0; color: var(--mute); font-family: var(--font-mono); }
.resume-grid .item + .item { margin-top: 28px; padding-top: 28px; border-top: 1px dotted var(--rule); }
@media (max-width: 800px) { .resume-grid { grid-template-columns: 1fr; } }

/* ---------- Tweaks panel ---------- */

.tweaks {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  padding: 16px;
  width: 260px;
  font-family: var(--font-mono);
  font-size: 12px;
  display: none;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.tweaks.on { display: block; }
.tweaks .th { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.tweaks .th b { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
.tweaks .row { display: flex; flex-direction: column; gap: 8px; padding: 10px 0; border-top: 1px solid var(--rule); }
.tweaks label.k { font-size: 10px; color: var(--mute); letter-spacing: 0.1em; text-transform: uppercase; }
.tweaks .opts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tweaks .opts button {
  border: 1px solid var(--rule-strong);
  background: transparent;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 11px;
  cursor: pointer;
  color: var(--ink-2);
}
.tweaks .opts button[data-active="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms cubic-bezier(.2,.8,.2,1), transform 700ms cubic-bezier(.2,.8,.2,1);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
[data-reveal].on {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Three layers (Method) ---------- */

.three-layers {
  padding: clamp(48px, 7vw, 120px) 0;
  border-top: 1px solid var(--rule);
}
.three-layers .layers {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 56px);
}
.three-layers .layers li {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--ink);
}
.three-layers .layers .num {
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}
.three-layers .layers .head {
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.three-layers .layers .body {
  font-size: 14px;
  line-height: 1.5;
  color: var(--mute);
  max-width: 28ch;
}
@media (max-width: 900px) {
  .three-layers .layers { grid-template-columns: 1fr; }
}

/* ---------- Utility ---------- */

.hide-mobile { }
@media (max-width: 720px) { .hide-mobile { display: none; } }
