/* Yasa Aulia Natasha, portfolio
   Tokens mirror the "Yasa Portfolio" design system. Change values here, not in components. */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
}

:root {
  /* color */
  --paper: #faf6ef;
  --paper-deep: #f1eadc;
  --card: #ffffff;
  --ink: #17201b;
  --ink-soft: #46514b;
  --green: #0f4c3a;
  --green-deep: #0a3528;
  --on-green: #faf6ef;
  --on-green-soft: #cfe0d6;
  --marigold: #f2b233;
  --line: #ddd4c2;
  --line-strong: #8a8474;

  /* type */
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --text-sm: 0.875rem;
  --text-base: 1.0625rem;
  --text-lg: 1.25rem;
  --h3: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  --h2: clamp(1.875rem, 1.3rem + 2.2vw, 2.75rem);
  --h1: clamp(2.375rem, 1.3rem + 4.4vw, 4.25rem);

  /* space */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --section: clamp(4rem, 2.5rem + 6vw, 7.5rem);
  --gutter: clamp(1.25rem, 0.5rem + 3.5vw, 3rem);
  --wrap: 75rem;

  /* shape */
  --radius-sm: 4px;
  --radius-md: 10px;
  --shadow-screen: 0 1px 2px rgb(23 32 27 / 0.08), 0 12px 32px -12px rgb(23 32 27 / 0.28);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

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

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.08;
  text-wrap: balance;
}
h1 { font-size: var(--h1); line-height: 1.03; letter-spacing: -0.03em; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); line-height: 1.15; }
p { text-wrap: pretty; }

a { color: var(--green); text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
a:hover { color: var(--green-deep); text-decoration-thickness: 2.5px; }

a, button, summary { cursor: pointer; }
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Plus Jakarta Sans sets a wide gap before a comma at display sizes; pull it back in. */
.tight { margin-left: -0.09em; }

/* The identity motif: a marker stroke under the word that matters. */
mark {
  color: inherit;
  background: linear-gradient(to top, transparent 0.08em, var(--marigold) 0.08em, var(--marigold) 0.42em, transparent 0.42em);
  padding-inline: 0.06em;
  margin-inline: -0.06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: var(--space-4); top: -4rem; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm);
}
.skip:focus { top: var(--space-3); color: var(--paper); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 3rem; padding: 0.7rem 1.4rem;
  border: 2px solid var(--green); border-radius: var(--radius-sm);
  font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2;
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, transform 100ms ease;
}
.btn svg { flex: none; width: 1.15em; height: 1.15em; }
.btn--primary { background: var(--green); color: var(--on-green); }
.btn--primary:hover { background: var(--green-deep); border-color: var(--green-deep); color: var(--on-green); }
.btn--ghost { background: transparent; color: var(--green); }
.btn--ghost:hover { background: var(--green); color: var(--on-green); }
.btn:active { transform: translateY(1px); }
.btn--small { min-height: 2.75rem; padding: 0.5rem 1rem; font-size: 0.9375rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  min-height: 4.5rem;
}
.wordmark {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  color: var(--ink); font-weight: 800; font-size: 1.125rem; letter-spacing: -0.02em;
  text-decoration: none; white-space: nowrap;
}
.wordmark:hover { color: var(--green); }
.wordmark span { color: var(--green); }

.nav { display: flex; align-items: center; gap: var(--space-2); }
.nav__list { display: flex; align-items: center; gap: var(--space-1); }
.nav__list a {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.8rem;
  color: var(--ink); font-size: 0.9375rem; font-weight: 600; text-decoration: none;
  border-radius: var(--radius-sm);
}
.nav__list a:hover { color: var(--green); text-decoration: underline; text-decoration-thickness: 2px; }
.nav__cv { margin-left: var(--space-3); }
.nav-toggle { display: none; }

@media (max-width: 61.99rem) {
  .site-header__bar { flex-wrap: wrap; padding-block: var(--space-3); row-gap: 0; }
  /* Without JS the menu stays open and wraps under the wordmark. */
  .nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-top: var(--space-2); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a { display: flex; min-height: 3rem; padding-inline: 0; border-top: 1px solid var(--line); border-radius: 0; font-size: 1.0625rem; }
  .nav__cv { margin: var(--space-3) 0 var(--space-2); }
  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: 0.5rem;
    min-height: 2.75rem; padding: 0 0.85rem;
    background: transparent; border: 2px solid var(--ink); border-radius: var(--radius-sm);
    color: var(--ink); font: inherit; font-size: 0.9375rem; font-weight: 700;
  }
  .js .nav-toggle:hover { background: var(--ink); color: var(--paper); }
  .js .nav-toggle svg { width: 1.1rem; height: 1.1rem; }
  .js .nav-toggle .icon-close,
  .js .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
  .js .nav-toggle[aria-expanded="true"] .icon-close { display: block; }
  .js .nav { display: none; }
  .js .nav.is-open { display: flex; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 1rem + 5vw, 5.5rem) 0; }
.hero__grid {
  display: grid; gap: var(--space-7);
  align-items: center;
}
.hero__role {
  display: block; margin-bottom: var(--space-4);
  color: var(--green); font-size: 1rem; font-weight: 700;
}
.hero__lede {
  max-width: 34rem; margin-top: var(--space-5);
  color: var(--ink-soft); font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.55;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.hero__status {
  display: flex; align-items: center; gap: 0.6rem;
  margin-top: var(--space-5); color: var(--ink-soft); font-size: var(--text-sm); font-weight: 600;
}
.dot { flex: none; width: 0.625rem; height: 0.625rem; border-radius: 50%; background: #1f8a5b; }
.dot--building { background: transparent; border: 2px solid var(--line-strong); }

/* Portrait: cut-out on two flat offset blocks. */
.portrait {
  position: relative; width: 100%; max-width: 30rem; margin-inline: auto;
  aspect-ratio: 1 / 1.02;
  isolation: isolate; /* keeps the back block above section backgrounds */
}
.portrait::before,
.portrait::after { content: ""; position: absolute; }
.portrait::before {
  inset: 15% 4% 0 9%;
  background: var(--green); border-radius: var(--radius-md);
}
.portrait::after {
  top: 3%; right: 0; width: 36%; aspect-ratio: 1;
  background: var(--marigold); border-radius: var(--radius-sm);
  transform: rotate(7deg); z-index: -1;
}
.portrait img {
  position: absolute; left: 9%; bottom: 0; width: 87%; height: auto;
  border-bottom-left-radius: var(--radius-md); border-bottom-right-radius: var(--radius-md);
}
.portrait figcaption {
  position: absolute; left: 0; bottom: 9%;
  padding: 0.6rem 0.9rem;
  background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--radius-sm);
  font-size: 0.8125rem; line-height: 1.3; font-weight: 600; color: var(--ink-soft);
  transform: rotate(-3deg);
}
.portrait figcaption strong { display: block; color: var(--ink); font-size: 0.9375rem; font-weight: 800; }
.portrait--about { max-width: 24rem; aspect-ratio: 1 / 1.14; }
.portrait--about::before { inset: 13% 9% 0 2%; background: var(--marigold); }
.portrait--about::after { top: 4%; right: 2%; left: auto; width: 30%; background: var(--green); transform: rotate(-6deg); }
.portrait--about img { left: 2%; width: 89%; }

/* Proof row */
.proof {
  display: grid; gap: 0;
  margin-top: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  border-top: 2px solid var(--ink);
}
.proof__item { padding-block: var(--space-5); border-bottom: 1px solid var(--line); }
.proof__figure {
  display: block; font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem); font-weight: 800;
  letter-spacing: -0.035em; line-height: 1;
}
.proof__figure small { font-size: 0.42em; font-weight: 700; letter-spacing: -0.01em; margin-right: 0.25em; }
.proof__text { margin-top: var(--space-3); max-width: 21rem; color: var(--ink-soft); font-size: 1rem; line-height: 1.45; }
.proof__text strong { color: var(--ink); font-weight: 700; }

@media (min-width: 48rem) {
  .proof { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
  .proof__item { padding: var(--space-6) var(--space-6) var(--space-6) 0; border-bottom: 0; }
  .proof__item + .proof__item { padding-left: var(--space-6); border-left: 1px solid var(--line); }
}
@media (min-width: 62rem) {
  .hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: var(--space-8); }
  .portrait { margin-right: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--band { background: var(--paper-deep); }
.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 1.2rem + 3vw, 3.5rem); }
.section__kicker { display: block; margin-bottom: var(--space-3); color: var(--green); font-size: 1rem; font-weight: 700; }
.section__intro { margin-top: var(--space-4); color: var(--ink-soft); font-size: var(--text-lg); line-height: 1.5; max-width: 40rem; }

/* ---------- Results ledger ---------- */
.ledger { border-top: 2px solid var(--ink); }
.ledger__row {
  display: grid; gap: var(--space-2) var(--space-6);
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--line);
}
.ledger__figure {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05;
  color: var(--green);
}
.ledger__figure small { display: block; margin-top: 0.35rem; font-size: var(--text-sm); font-weight: 700; letter-spacing: 0; color: var(--ink-soft); line-height: 1.3; }
.ledger__what { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.5; max-width: 36rem; }
.ledger__where { color: var(--ink-soft); font-size: var(--text-sm); font-weight: 600; line-height: 1.4; }
.ledger__where strong { display: block; color: var(--ink); font-size: 1rem; font-weight: 700; }
@media (min-width: 56rem) {
  .ledger__row { grid-template-columns: 15rem minmax(0, 1fr) 13rem; align-items: start; padding-block: var(--space-6); }
  .ledger__where { text-align: right; }
}

/* ---------- Experience ---------- */
.roles { border-top: 2px solid var(--ink); }
.role {
  display: grid; gap: var(--space-3) var(--space-6);
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--line-strong);
}
.role__when { color: var(--ink-soft); font-size: var(--text-sm); font-weight: 700; line-height: 1.5; }
.role__when span { display: block; font-weight: 500; }
.role__title { font-size: var(--h3); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.role__job { margin-top: 0.3rem; color: var(--green); font-weight: 700; }
.role__scope { margin-top: var(--space-3); max-width: 42rem; color: var(--ink-soft); }
.role__shipped { margin-top: var(--space-4); max-width: 42rem; }
.role__shipped li { position: relative; padding-left: 1.5rem; }
.role__shipped li + li { margin-top: var(--space-2); }
.role__shipped li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 0.8rem; height: 0.4rem; background: var(--marigold);
}
.roles__also { margin-top: var(--space-5); color: var(--ink-soft); font-size: 1rem; max-width: 46rem; }
@media (min-width: 56rem) {
  .role { grid-template-columns: 15rem minmax(0, 1fr); }
  .role__when { padding-top: 0.45rem; }
}

/* ---------- How I work with AI ---------- */
.ways { margin-bottom: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--paper-deep); border-radius: var(--radius-md); }
.ways__title { margin-bottom: var(--space-5); font-size: 1.25rem; letter-spacing: -0.015em; }
.ways__list { display: grid; gap: var(--space-5); }
.ways__item { padding-top: var(--space-4); border-top: 2px solid var(--ink); }
.ways__item strong { display: block; margin-bottom: var(--space-2); font-size: 1.125rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; }
.ways__item p { color: var(--ink-soft); font-size: 1rem; line-height: 1.5; }
@media (min-width: 50rem) {
  .ways__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
}

/* ---------- Products ---------- */
.product { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); border-top: 2px solid var(--ink); }
.product:last-of-type { padding-bottom: 0; }
.product__head {
  display: grid; gap: var(--space-4) var(--space-6); align-items: end;
  margin-bottom: clamp(1.75rem, 1rem + 3vw, 3rem);
}
.product__status {
  display: inline-flex; align-items: center; gap: 0.55rem;
  margin-bottom: var(--space-3); font-size: var(--text-sm); font-weight: 700; color: var(--ink-soft);
}
.product__type { color: var(--ink); }
.product__type::before { content: "/"; margin-right: 0.55rem; color: var(--line-strong); font-weight: 500; }
.product__name { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); letter-spacing: -0.03em; }
.product__line { margin-top: var(--space-3); max-width: 38rem; font-size: var(--text-lg); line-height: 1.45; color: var(--ink-soft); }
.product__link { justify-self: start; }
@media (min-width: 56rem) {
  .product__head { grid-template-columns: minmax(0, 1fr) auto; }
  .product__link { justify-self: end; }
}

.screen {
  background: var(--card);
  border: 1px solid var(--line-strong); border-radius: var(--radius-md);
  box-shadow: var(--shadow-screen); /* elevation: marks these as screens lifted off the page */
  overflow: hidden;
}
.screen img { width: 100%; }
.shot figcaption { margin-top: var(--space-3); color: var(--ink-soft); font-size: var(--text-sm); line-height: 1.45; }

/* Kehadiran: admin view with two phone screens over its edge */
.media-kehadiran { display: grid; gap: var(--space-5); }
.media-kehadiran__phones { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); max-width: 26rem; }
.screen--phone { border-radius: 18px; border: 5px solid var(--ink); }
@media (min-width: 56rem) {
  .media-kehadiran { grid-template-columns: minmax(0, 1fr) 26rem; align-items: end; gap: var(--space-6); }
  .media-kehadiran__phones { max-width: none; }
}

/* GOR: weekly grid, phone view, then landing screen and the owner note */
.media-gor { display: grid; gap: var(--space-5); align-items: start; }
.media-gor__phone { max-width: 11rem; }
.media-gor__side { display: grid; gap: var(--space-5); align-content: start; }
@media (min-width: 44rem) {
  .media-gor { grid-template-columns: minmax(0, 1fr) 11rem; gap: var(--space-6); }
  .media-gor__side { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-6); align-items: start; }
}
@media (min-width: 62rem) {
  .media-gor { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 11rem; }
  .media-gor__grid { grid-column: 1; grid-row: 1; }
  .media-gor__side { grid-column: 2; grid-row: 1; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .media-gor__phone { grid-column: 3; grid-row: 1; }
}
.note {
  padding: var(--space-5);
  background: var(--paper-deep); border-left: 0; border-radius: var(--radius-md);
}
.note h4 { margin: 0 0 var(--space-2); font-size: 1.125rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; }
.note p { color: var(--ink-soft); font-size: 1rem; line-height: 1.5; }

/* LMS: the student's warning beside the guard rules, then the teacher's view */
.media-lms { display: grid; gap: var(--space-6); }
.media-lms__student { display: grid; gap: var(--space-5); }
.shot--phone { max-width: 14.5rem; }
.guard {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--green); color: var(--on-green); border-radius: var(--radius-md);
}
.guard h4 { margin: 0 0 var(--space-4); font-size: 1.25rem; font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; }
.guard ol { counter-reset: step; }
.guard li {
  counter-increment: step; position: relative;
  padding: var(--space-3) 0 var(--space-3) 2.75rem;
  border-top: 1px solid rgb(250 246 239 / 0.28);
  line-height: 1.45;
}
.guard li::before {
  content: counter(step); position: absolute; left: 0; top: 0.72rem;
  display: grid; place-items: center; width: 1.75rem; height: 1.75rem;
  background: var(--marigold); color: var(--ink); border-radius: 50%;
  font-size: 0.875rem; font-weight: 800;
}
.guard li strong { font-weight: 700; }
.guard__note { margin-top: var(--space-4); color: var(--on-green-soft); font-size: var(--text-sm); line-height: 1.45; }
@media (min-width: 44rem) {
  .media-lms__student { grid-template-columns: 14.5rem minmax(0, 1fr); gap: var(--space-6); align-items: start; }
  .guard { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
}

.facts { display: grid; gap: var(--space-6); margin-top: clamp(1.75rem, 1rem + 3vw, 3rem); }
.facts dt { margin-bottom: var(--space-2); color: var(--green); font-size: 1rem; font-weight: 700; }
.facts dd { max-width: 34rem; }
.facts > div > div + div { margin-top: var(--space-5); }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li + li { margin-top: var(--space-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0.1rem; top: 0.5em;
  width: 0.7rem; height: 0.38rem;
  border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green);
  transform: rotate(-45deg);
}
@media (min-width: 56rem) {
  .facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); }
}

/* ---------- About ---------- */
.about__grid { display: grid; gap: var(--space-7); align-items: start; }
.about__body p + p { margin-top: var(--space-4); }
.about__body p { max-width: 38rem; }
.about__body .lead { font-size: var(--text-lg); line-height: 1.5; }
.about__cols { display: grid; gap: var(--space-6); margin-top: var(--space-7); padding-top: var(--space-6); border-top: 2px solid var(--ink); }
.about__cols h3 { margin-bottom: var(--space-3); font-size: 1.125rem; letter-spacing: -0.01em; }
.about__cols li { padding-block: 0.45rem; border-bottom: 1px solid var(--line-strong); }
.about__cols li span { display: block; color: var(--ink-soft); font-size: var(--text-sm); }
.skills { columns: 2; column-gap: var(--space-5); }
.skills li { break-inside: avoid; }
@media (min-width: 40rem) {
  .about__cols { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-7); }
}
@media (min-width: 62rem) {
  .about__grid { grid-template-columns: 24rem minmax(0, 1fr); gap: var(--space-8); }
}

/* ---------- Contact ---------- */
.contact { background: var(--green); color: var(--on-green); padding-block: var(--section); }
.contact :focus-visible { outline-color: var(--marigold); }
.contact h2 { max-width: 18ch; }
.contact p { margin-top: var(--space-4); max-width: 34rem; color: var(--on-green-soft); font-size: var(--text-lg); line-height: 1.5; }
.contact__grid { display: grid; gap: var(--space-6); }
@media (min-width: 56rem) {
  .contact__grid { grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-8); align-items: end; }
  .contact__actions { margin-top: var(--space-5); }
}
.contact__email {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  color: var(--on-green); font-size: clamp(1.375rem, 1rem + 1.8vw, 2.125rem); font-weight: 700; letter-spacing: 0;
  text-decoration-color: var(--marigold); text-decoration-thickness: 3px; text-underline-offset: 0.22em;
  overflow-wrap: anywhere;
}
.contact__email:hover { color: var(--marigold); }
.contact__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.btn--on-green { background: var(--marigold); border-color: var(--marigold); color: var(--ink); }
.btn--on-green:hover { background: var(--on-green); border-color: var(--on-green); color: var(--ink); }
.btn--ghost-on-green { background: transparent; border-color: var(--on-green); color: var(--on-green); }
.btn--ghost-on-green:hover { background: var(--on-green); color: var(--green-deep); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-deep); color: var(--on-green-soft); font-size: var(--text-sm); }
.site-footer :focus-visible { outline-color: var(--marigold); }
.site-footer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-5); padding-block: var(--space-4); }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); }
.site-footer a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--on-green); }
.site-footer a:hover { color: var(--marigold); }

/* ---------- Scroll reveal ----------
   Purpose: bring rows in one at a time so the eye follows the page top to bottom.
   The hero is never hidden. `reveal-on` is set in <head> only when IntersectionObserver exists and
   reduced motion is off, and it is removed again if main.js does not start. */
.reveal-on :is(.proof__item, .section__head, .ledger__row, .role, .roles__also, .ways__title, .ways__item,
  .product__head, .shot, .guard, .note, .facts > div, .about__grid > *, .contact__grid > div) {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 380ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 380ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-on .is-visible.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media print {
  .reveal-on * { opacity: 1 !important; transform: none !important; }
  .site-header, .nav-toggle, .contact__actions, .hero__actions { display: none; }
  body { background: #fff; }
  .contact, .site-footer, .guard { background: #fff; color: #000; }
}
