@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/BarlowCondensed-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #161a18;
  --paper: #f5f5f0;
  --lime: #88c700;
  --slate: #475148;
  --line: #c8cec4;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.55 var(--body); }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; line-height: 1; font-family: var(--display); font-weight: 700; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid #659600; outline-offset: 4px; }
header a:focus-visible, footer a:focus-visible, .hero a:focus-visible { outline-color: var(--lime); }
.skip { position: fixed; top: 0; left: 12px; z-index: 10; padding: .6rem 1rem; background: white; transform: translateY(-130%); }
.skip:focus { transform: translateY(0); }
.wrap { width: min(88%, 80rem); margin-inline: auto; }
header, footer { background: var(--ink); color: white; }
.bar { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { width: clamp(160px, 16vw, 225px); }
.nav, .foot-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.6rem); }
.nav a { position: relative; padding: .65rem 0; font-weight: 550; font-size: .91rem; color: #e4e8df; }
.nav a[aria-current="page"] { color: white; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; inset: auto 0 2px; height: 3px; background: var(--lime); transform: skewX(-20deg); }
.nav a:hover, .foot-nav a:hover { text-decoration: underline; text-underline-offset: .27em; }
.menu { display: none; background: none; color: white; border: 1px solid #8b958a; padding: .5rem .9rem; font: inherit; }
footer { padding: clamp(32px, 4.5vw, 65px) 0 24px; }
.foot-top, .foot-base { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-top img { width: 165px; }
.foot-nav { flex-wrap: wrap; font-size: .9rem; }
.foot-base { margin-top: 28px; padding-top: 18px; border-top: 1px solid #404941; color: #cbd2c7; font-size: .82rem; }

.hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(460px, 64svh, 740px); padding-block: clamp(42px, 5vw, 88px); color: white; background: var(--ink); }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; inset: 0; }
.hero::before { background: url("hero.webp") 68% 43%/cover no-repeat; }
.hero::after {
  background: linear-gradient(90deg, rgb(11 19 14 / .77), rgb(11 19 14 / .48) 36%, transparent 77%),
              linear-gradient(rgb(136 199 0 / .40), rgb(136 199 0 / .40));
}
.hero h1 { font-size: clamp(4.9rem, 9.2vw, 10rem); line-height: .80; letter-spacing: -.045em; }
.hero h1 span { display: block; }
.hero p { margin-top: 1.4rem; max-width: 39ch; font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.46; }
.hero a, .section-top a { display: inline-flex; align-items: center; gap: 1rem; padding-block: .55rem; border-bottom: 1px solid currentColor; font-size: .95rem; font-weight: 600; }
.hero a { margin-top: .7rem; border-color: var(--lime); }
.hero a span { color: var(--lime); }
.home-block { padding-top: clamp(32px, 4.7vw, 76px); }
.portal-list, .thumbnail-grid { display: grid; gap: clamp(16px,2vw,32px); }
.portal-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
.portal { display: block; }
.portal-picture { position: relative; overflow: hidden; background: var(--ink); }
.portal-picture img { width: 100%; aspect-ratio: 2.45; object-fit: cover; object-position: 70% 45%; }
.portal-label { display:flex; align-items:center; justify-content:space-between; border-bottom: 1px solid var(--line); padding-block: .8rem; }
.portal h2, .section-top h2 { font-size: clamp(2.15rem,3.5vw,3.7rem); line-height: .97; letter-spacing: -.03em; }
.portal-label span, .thumb-caption span { color: var(--slate); font-size: 1.2rem; }
.portal:hover h2, .thumb:hover .thumb-caption strong { text-decoration: underline; text-underline-offset: .14em; }
.portal img { transition: transform .32s ease-out; }
.portal:hover img { transform: scale(1.025); }
.section-top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; }
.thumbnail-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.thumb-photo { display: grid; place-items: center; background: white; aspect-ratio: 620/626; }
.thumb-photo img { object-fit: contain; width: 90%; height: 88%; }
.thumb.cover .thumb-photo { background: #131613; }
.thumb.cover img { width: 100%; height: 100%; }
.thumb-caption { display: flex; justify-content: space-between; padding-block: .7rem; gap: 6px; border-bottom: 1px solid var(--line); }
@media(max-width:760px) {
  .wrap { width: 89%; }
  .bar { gap:0; min-height:62px; flex-wrap:wrap; }
  .js .menu { display:block; }
  .nav { width:100%; flex-wrap:wrap; gap:.3rem 1rem; padding:.4rem 0 .9rem; }
  .js .nav { display:none; }
  .js .nav.is-open { display:flex; }
  .hero { min-height:clamp(465px,75svh,580px); padding-block:36px; }
  .hero::before { background-position:77% 24%; background-size:auto 83%; }
  .hero::after { background:linear-gradient(0deg,#161a18 9%,rgb(22 26 24 / .80) 38%,transparent 77%),linear-gradient(rgb(136 199 0 / .40),rgb(136 199 0 / .40)); }
  .hero h1 { font-size:clamp(4.25rem,13vw,6.5rem); }
  .hero p { max-width:32ch; }
  .portal-list { grid-template-columns:1fr; gap:25px; }
  .portal-picture img { aspect-ratio:2; }
  .thumbnail-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .foot-top { flex-direction:column; align-items:flex-start; }
}
@media(prefers-reduced-motion:reduce) {
  .portal img { transition:none; }
  .portal:hover img { transform:none; }
}

.home-block:last-child { padding-bottom: clamp(40px,5vw,80px); }
