/* Joey Marcelo: barley-green annual report */
:root {
  --g-990: #07231a;
  --g-950: #0a2f22;
  --g-900: #0d3b2a;
  --g-800: #135037;
  --g-700: #1c6a47;
  --g-600: #2a7f4f;
  --lime: #c9ec73;
  --paper: #f6f8f1;
  --paper-2: #e8eedf;
  --rule: #cfd9c4;
  --err: #ffc2b3;
  --ink: #11241b;
  --ink-2: #3f5446;
  --on-g: #f3f6ee;
  --on-g-2: #b8cbbd;
  --display: "Archivo", "Arial Narrow", sans-serif;
  --text: "Source Serif 4", Georgia, serif;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.6 var(--text);
  font-optical-sizing: auto;
  overflow-x: hidden;
  caret-color: var(--g-600);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
::selection { background: var(--lime); color: var(--g-990); }
:focus-visible { outline: 3px solid var(--g-600); outline-offset: 3px; border-radius: 2px; }
.sante :focus-visible, .contact :focus-visible, .hero :focus-visible, .bar :focus-visible, .foot :focus-visible { outline-color: var(--lime); }
html { scrollbar-color: var(--g-700) var(--paper-2); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--lime); color: var(--g-990); padding: 10px 14px; font: 600 .95rem var(--display); text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- type ---------- */
.chapter {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 850;
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: .9;
  letter-spacing: -.035em;
  color: var(--g-900);
  margin-bottom: .45em;
}
.chapter-light { color: var(--on-g); }
.folio { display: block; margin-bottom: .55rem; font-size: 1rem; font-weight: 700; font-stretch: 70%; letter-spacing: 0; line-height: 1; color: var(--g-600); font-variant-numeric: tabular-nums; padding-top: .7rem; border-top: 3px solid currentColor; width: 3rem; }
.chapter-light .folio { color: var(--lime); }
.title {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 800;
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  line-height: .95;
  letter-spacing: -.03em;
  color: var(--g-900);
  margin-bottom: .5em;
}
.lede { font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.38; color: var(--ink); max-width: 34ch; }
.prose { max-width: 62ch; color: var(--ink-2); }
.sub {
  font: 750 1.3rem/1.25 var(--display);
  font-stretch: 110%;
  letter-spacing: -.01em;
  color: var(--g-800);
  margin: 2.6rem 0 1rem;
}
.small { font-size: .95rem; color: var(--ink-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  min-height: 52px; padding: 0 1.4em;
  font: 700 1rem/1 var(--display); font-stretch: 105%;
  text-decoration: none; border-radius: 999px; border: 2px solid transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-lime { background: var(--lime); color: var(--g-990); }
.btn-lime:hover { background: var(--on-g); }
.btn-line { border-color: rgba(243, 246, 238, .7); color: var(--on-g); }
.btn-line:hover { background: var(--on-g); color: var(--g-990); border-color: var(--on-g); }
.btn-green { background: var(--g-900); color: var(--on-g); }
.btn-green:hover { background: var(--g-700); }
.text-link {
  display: inline-flex; align-items: center; gap: .4em; min-height: 44px;
  font: 600 1rem var(--display); text-decoration: underline; text-decoration-thickness: 1px;
}
.text-link svg, .btn svg { flex: none; transition: transform .25s var(--ease); }
.text-link:hover svg, .btn:hover svg[width="16"]:last-child { transform: translate(2px, -2px); }

/* ---------- header ---------- */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: 68px; padding: 0 var(--gut);
  color: var(--on-g);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.bar.solid { background: var(--g-950); box-shadow: 0 6px 24px -12px rgba(0, 0, 0, .5); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font: 800 1.05rem var(--display); font-stretch: 115%; letter-spacing: -.01em; }
.brand img { border-radius: 8px; }
.nav { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.8rem); }
.nav a { font: 600 .98rem var(--display); text-decoration: none; padding: .5rem 0; position: relative; }
.nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: .25rem; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.nav-cta):hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav .nav-cta { border: 2px solid var(--lime); border-radius: 999px; padding: .5rem 1.1rem; color: var(--lime); }
.nav .nav-cta:hover { background: var(--lime); color: var(--g-990); }
.menu-btn { display: none; }

@media (max-width: 860px) {
  .menu-btn {
    display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -10px;
    background: none; border: 0; color: inherit; cursor: pointer;
  }
  .nav {
    position: fixed; inset: 68px 0 auto; height: calc(100svh - 68px);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 1.5rem var(--gut) 2rem; background: var(--g-950);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav a { font-size: clamp(1.8rem, 8vw, 2.4rem); font-stretch: 120%; font-weight: 800; padding: .55rem 0; width: 100%; border-bottom: 1px solid rgba(243, 246, 238, .12); }
  .nav a:not(.nav-cta)::after { display: none; }
  .nav .nav-cta { border: 0; border-radius: 0; padding: .55rem 0; }
  .menu-open .nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .menu-open .bar { background: var(--g-950); }
  .menu-open { overflow: hidden; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  background: var(--g-990); color: var(--on-g); overflow: hidden; isolation: isolate;
}
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 35, 26, .92) 0%, rgba(7, 35, 26, .74) 30%, rgba(7, 35, 26, .18) 56%, rgba(7, 35, 26, 0) 70%),
    linear-gradient(0deg, rgba(7, 35, 26, .85) 0%, rgba(7, 35, 26, 0) 38%),
    linear-gradient(180deg, rgba(7, 35, 26, .55) 0%, rgba(7, 35, 26, 0) 18%);
}
.hero-body { width: 100%; max-width: var(--max); margin: 0 auto; padding: 120px var(--gut) clamp(56px, 9vh, 104px); }
.hero-name {
  font-family: var(--display); font-stretch: 125%; font-weight: 900;
  font-size: clamp(3.4rem, 9.6vw, 7.5rem); line-height: .86; letter-spacing: -.04em;
  display: flex; flex-direction: column; margin-bottom: .32em;
}
.hero-name span { display: block; }
.contents { max-width: 30rem; margin: 0 0 1.6rem; border-top: 1px solid rgba(243, 246, 238, .28); }
.contents li { border-bottom: 1px solid rgba(243, 246, 238, .28); }
.contents a { display: grid; grid-template-columns: 2.6rem auto 1fr; align-items: baseline; gap: .9rem; padding: .55rem 0; text-decoration: none; }
.contents .num { font: 700 1rem var(--display); font-stretch: 70%; font-variant-numeric: tabular-nums; color: var(--lime); }
.contents .word { font: 800 clamp(1.3rem, 2.3vw, 1.7rem)/1.1 var(--display); font-stretch: 115%; letter-spacing: -.015em; color: var(--on-g); transition: color .25s var(--ease); }
.contents .where { justify-self: end; font: 500 .92rem var(--display); color: var(--on-g-2); }
.contents a:hover .word { color: var(--lime); }
.hero-line { font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-style: italic; max-width: 36ch; color: var(--on-g); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-caption { position: absolute; right: var(--gut); bottom: clamp(24px, 4vh, 40px); margin: 0; font: 600 .85rem var(--display); letter-spacing: .02em; color: var(--on-g-2); writing-mode: vertical-rl; transform: rotate(180deg); }

@media (prefers-reduced-motion: no-preference) {
  .hero-photo { animation: settle 2.4s var(--ease) both; }
  .hero-name span { animation: rise 1.1s var(--ease) both; }
  .hero-name span + span { animation-delay: .12s; }
  .contents, .hero-line, .hero-actions { animation: fade .9s var(--ease) both; animation-delay: .45s; }
  .hero-line { animation-delay: .55s; }
  .hero-actions { animation-delay: .65s; }
}
@keyframes settle { from { transform: scale(1.06); filter: saturate(.6) brightness(.85); } to { transform: none; filter: none; } }
@keyframes rise { from { transform: translateY(.35em); opacity: 0; clip-path: inset(0 0 100% 0); } to { transform: none; opacity: 1; clip-path: inset(0 0 -10% 0); } }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .hero { flex-direction: column; align-items: stretch; justify-content: flex-end; min-height: auto; }
  .hero-photo { position: relative; height: 62svh; min-height: 380px; object-position: 76% 30%; }
  .hero::before {
    background: linear-gradient(0deg, var(--g-990) calc(100% - 62svh), rgba(7, 35, 26, .0) calc(100% - 62svh + 160px)),
                linear-gradient(180deg, rgba(7, 35, 26, .6) 0%, rgba(7, 35, 26, 0) 16%);
  }
  .hero-body { margin-top: -120px; padding-top: 0; padding-bottom: 56px; }
  .hero-caption { display: none; }
}

/* ---------- story ---------- */
.story { padding: clamp(80px, 12vw, 160px) 0 clamp(72px, 10vw, 140px); }
.story-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.portrait { position: sticky; top: 100px; background: var(--g-800); border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 5; }
.portrait { background: linear-gradient(180deg, var(--g-700) 0%, var(--g-800) 55%, var(--g-900) 100%); }
.portrait img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.story-text .lede { margin-bottom: 1.5rem; }
.steps { counter-reset: step; border-top: 1px solid var(--rule); max-width: 40rem; }
.steps li {
  counter-increment: step; display: grid; grid-template-columns: 3rem 1fr; column-gap: 1rem; row-gap: .1rem;
  padding: .95rem 0; border-bottom: 1px solid var(--rule); align-items: baseline;
}
.steps li::before {
  content: counter(step, decimal-leading-zero); grid-row: span 2;
  font: 700 1rem/1.3 var(--display); font-stretch: 75%; font-variant-numeric: tabular-nums; color: var(--g-600);
}
.steps .role { font: 700 1.1rem/1.3 var(--display); font-stretch: 100%; color: var(--ink); }
.steps .org { font-size: 1.02rem; color: var(--ink-2); }
.steps .now .role::after { content: "Now"; margin-left: .6rem; padding: .15rem .55rem; border-radius: 999px; background: var(--lime); color: var(--g-990); font: 700 .75rem var(--display); vertical-align: .15em; }
.board { margin-top: 1rem; font: 600 1rem var(--display); color: var(--g-800); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); max-width: 44rem; }
.facts p { color: var(--ink-2); font-size: 1.02rem; }
.facts strong { color: var(--ink); font-weight: 600; }
.plain li { color: var(--ink-2); font-size: 1.02rem; padding: .5rem 0; border-top: 1px solid var(--rule); }
.plain li:last-child { border-bottom: 1px solid var(--rule); }

@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
  .portrait { position: relative; top: 0; max-width: 420px; aspect-ratio: 5 / 6; }
  .facts { grid-template-columns: 1fr; }
}

/* ---------- sante ---------- */
.sante { background: var(--g-900); color: var(--on-g); padding-top: clamp(80px, 12vw, 160px); }
.sante-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.sante .lede { color: var(--on-g); margin-bottom: 1.25rem; }
.sante-text > p:not(.lede) { color: var(--on-g-2); max-width: 46ch; }
.sante-links { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin: 2rem 0 2.75rem; }
.sante .text-link { color: var(--on-g); }
.sante-mark { width: 132px; height: auto; opacity: .9; }
.sante-photo { border-radius: 4px; overflow: hidden; aspect-ratio: 1 / 1; margin-right: calc(-1 * var(--gut)); }
.sante-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.quote {
  position: relative; margin-top: clamp(48px, 6vw, 80px);
  background: var(--g-950) url("img/grass-1200.webp") center 60% / cover no-repeat;
  background-blend-mode: luminosity;
  padding: clamp(80px, 13vw, 180px) var(--gut);
  isolation: isolate;
}
.quote::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--g-900) 0%, rgba(13, 59, 42, .55) 30%, rgba(10, 47, 34, .62) 100%); }
.quote blockquote { margin: 0 auto; max-width: var(--max); }
.quote p {
  margin: 0; max-width: 15ch;
  font-family: var(--display); font-stretch: 125%; font-weight: 850;
  font-size: clamp(2.3rem, 7vw, 5.6rem); line-height: .95; letter-spacing: -.035em; color: var(--on-g);
}
.quote p::before { content: "\201C"; display: block; height: .55em; color: var(--lime); font-size: 1.4em; line-height: 1; }

@media (max-width: 860px) {
  .sante-grid { grid-template-columns: 1fr; }
  .sante-photo { margin: 0 calc(-1 * var(--gut)); border-radius: 0; aspect-ratio: 4 / 3.4; }
}

/* ---------- livestream ---------- */
.live { background: var(--paper-2); padding: clamp(80px, 12vw, 150px) 0; }
.live-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.live .lede { margin-bottom: 1.4rem; }
.live-links { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 2rem; }
.live .text-link { color: var(--g-800); }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--g-990); border-radius: 4px; overflow: hidden; box-shadow: 0 24px 48px -28px rgba(7, 35, 26, .55); }
.video-play { all: unset; position: absolute; inset: 0; cursor: pointer; display: block; }
.video-play img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .6s var(--ease); }
.video-play:hover img { transform: scale(1.03); filter: brightness(1.08); }
.video-btn {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--lime); color: var(--g-990);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .55);
  transition: transform .3s var(--ease);
}
.video-btn svg { margin-left: 4px; }
.video-play:hover .video-btn { transform: scale(1.08); }
.video-play:focus-visible { outline: 3px solid var(--lime); outline-offset: -6px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-note { margin: .9rem 0 0; font-size: .95rem; color: var(--ink-2); }
.session { margin-top: clamp(28px, 4vw, 48px); border-radius: 4px; overflow: hidden; aspect-ratio: 16 / 9; }
.session img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }

@media (max-width: 860px) {
  .live-grid { grid-template-columns: 1fr; }
}

/* ---------- athlete ---------- */
.athlete { padding: clamp(80px, 12vw, 160px) 0 clamp(64px, 9vw, 120px); }
.athlete-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 5vw, 64px); }
.athlete-head .chapter { margin-bottom: 0; }
.athlete-head .lede { margin: 0; }
.athlete-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.athlete-photo { mix-blend-mode: multiply; margin-left: calc(-1 * var(--gut)); }
.athlete-photo img { width: 100%; }
.disciplines { display: flex; margin: 2rem 0 1.75rem; border-top: 3px solid var(--g-900); }
.disciplines li {
  flex: 1; padding: .7rem 0 0; font: 800 clamp(1.4rem, 2.6vw, 2rem)/1 var(--display); font-stretch: 70%;
  text-transform: uppercase; letter-spacing: .02em; color: var(--g-900);
}
.disciplines li + li { border-left: 1px solid var(--rule); padding-left: 1rem; }
.teams { display: flex; align-items: center; gap: 1.75rem; margin-bottom: .75rem; }
.teams img { height: 52px; width: auto; opacity: .8; }

@media (max-width: 860px) {
  .athlete-head, .athlete-grid { grid-template-columns: 1fr; }
  .athlete-photo { margin: 0 calc(-1 * var(--gut)); }
}

/* ---------- news ---------- */
.news { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--rule); }
.news-list { border-top: 3px solid var(--g-900); }
.news-list li { border-bottom: 1px solid var(--rule); }
.news-list a {
  display: grid; grid-template-columns: 12rem 1fr auto; gap: 1rem 2rem; align-items: baseline;
  padding: 1.6rem 0; text-decoration: none;
}
.news-src { font: 600 .9rem var(--display); color: var(--g-600); }
.news-title { font: 750 clamp(1.3rem, 2.6vw, 2rem)/1.15 var(--display); font-stretch: 100%; letter-spacing: -.015em; color: var(--ink); transition: color .25s var(--ease); }
.news-ic { color: var(--g-700); align-self: center; transition: transform .3s var(--ease); }
.news-list a:hover .news-title { color: var(--g-700); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.news-list a:hover .news-ic { transform: translate(3px, -3px); }

@media (max-width: 760px) {
  .news-list a { grid-template-columns: 1fr auto; padding: 1.25rem 0; }
  .news-src { grid-column: 1 / -1; }
}

/* ---------- downloads + videos ---------- */
.files { padding: clamp(8px, 2vw, 24px) 0 clamp(80px, 11vw, 140px); }
.files-list { border-top: 3px solid var(--g-900); }
.files-list li { border-bottom: 1px solid var(--rule); }
.files-list a { display: grid; grid-template-columns: 2.4rem 17rem 1fr auto; align-items: center; gap: .5rem 1.5rem; padding: 1.4rem 0; text-decoration: none; }
.file-ic { color: var(--g-700); }
.file-name { font: 850 clamp(1.4rem, 2.6vw, 2rem)/1.1 var(--display); font-stretch: 118%; letter-spacing: -.02em; color: var(--ink); transition: color .25s var(--ease); }
.file-desc { color: var(--ink-2); font-size: 1.05rem; }
.files-list a:hover .file-name { color: var(--g-700); }
.files-list a:hover .news-ic { transform: translate(3px, -3px); }

@media (max-width: 760px) {
  .files-list a { grid-template-columns: 2rem 1fr auto; row-gap: .2rem; }
  .file-desc { grid-column: 2; grid-row: 2; font-size: 1rem; }
  .files-list .news-ic { grid-column: 3; grid-row: 1 / span 2; }
}

/* ---------- contact ---------- */
.contact { background: var(--g-950); color: var(--on-g); padding: clamp(80px, 12vw, 150px) 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact .chapter { font-size: clamp(2.6rem, 6.4vw, 4.8rem); }
.contact-intro > p { color: var(--on-g-2); max-width: 36ch; font-size: 1.2rem; }
.social { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.social a {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 46px; padding: 0 1.05rem 0 .85rem;
  border: 1px solid rgba(243, 246, 238, .28); border-radius: 999px; text-decoration: none;
  font: 600 .95rem var(--display); color: var(--on-g);
  transition: border-color .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.social a:hover { background: var(--lime); border-color: var(--lime); color: var(--g-990); }

.form { display: grid; gap: 1.4rem; }
.cats { border: 0; padding: 0; margin: 0; min-width: 0; }
.cats legend { padding: 0; margin-bottom: .75rem; font: 600 1rem var(--display); color: var(--on-g); }
.cat-row { display: grid; grid-template-columns: repeat(4, 1fr); border: 1.5px solid var(--lime); border-radius: 999px; padding: 4px; gap: 4px; }
.cat-row label { position: relative; }
.cat-row input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cat-row span {
  display: grid; place-items: center; min-height: 44px; padding: 0 .5rem; border-radius: 999px;
  font: 700 .98rem var(--display); color: var(--on-g); cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.cat-row label:hover span { background: rgba(201, 236, 115, .14); }
.cat-row input:checked + span { background: var(--lime); color: var(--g-990); }
.cat-row input:focus-visible + span { outline: 3px solid var(--on-g); outline-offset: 2px; }
.field label { display: block; margin-bottom: .45rem; font: 600 1rem var(--display); color: var(--on-g); }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 6px;
  border: 1.5px solid rgba(243, 246, 238, .3); background: rgba(243, 246, 238, .06);
  color: var(--on-g); font: 400 1.1rem/1.5 var(--text); caret-color: var(--lime);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:hover, .field textarea:hover { border-color: rgba(243, 246, 238, .55); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--lime); background: rgba(243, 246, 238, .1); }
.field [aria-invalid="true"] { border-color: var(--err) !important; }
.err { margin: .45rem 0 0; font: 600 .95rem var(--display); color: var(--err); }
.check { display: grid; grid-template-columns: auto 1fr; gap: .25rem .8rem; align-items: start; }
.check input { width: 22px; height: 22px; margin: .15rem 0 0; accent-color: var(--lime); cursor: pointer; }
.check label { font: 400 1rem/1.5 var(--text); color: var(--on-g-2); margin: 0; }
.check label a { color: var(--on-g); }
.check .err { grid-column: 2; }
.btn-submit { justify-self: start; border: 0; cursor: pointer; }
.status { margin: 0; min-height: 1.5em; font-size: 1rem; color: var(--lime); }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .cat-row { grid-template-columns: 1fr 1fr; border-radius: 26px; }
}

/* ---------- footer ---------- */
.foot { background: var(--g-990); color: var(--on-g-2); padding: 28px 0; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.foot .brand { color: var(--on-g); }
.foot p { margin: 0; font: 500 .95rem var(--display); }
.foot a { color: var(--on-g); }

/* ---------- reveal (photos develop as they arrive) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal img { clip-path: inset(0 0 0 0); transition: clip-path 1.2s var(--ease), transform 1.6s var(--ease); }
  .js .reveal:not(.in) img { clip-path: inset(14% 0 0 0); transform: translateY(24px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* ---------- simple pages ---------- */
.page { min-height: 100svh; display: flex; flex-direction: column; }
.page .bar { position: static; background: var(--g-950); }
.page main { flex: 1; padding: clamp(56px, 9vw, 120px) 0; }
.page .prose h2 { font: 800 1.35rem/1.2 var(--display); color: var(--g-900); margin: 2.2rem 0 .6rem; }
.page .prose a { color: var(--g-700); }
.notfound { background: var(--g-900); color: var(--on-g); }
.notfound main { display: grid; align-content: center; }
.notfound .chapter { font-size: clamp(5rem, 22vw, 14rem); color: var(--lime); margin-bottom: .1em; }
.notfound p { color: var(--on-g-2); max-width: 36ch; font-size: 1.25rem; margin-bottom: 2rem; }
