@font-face {
  font-family: Geist;
  src: url("geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0e0f11;
  --ink: #f0ede8;
  --accent: #e8a630;
  --edge: clamp(24px, 4.5vw, 84px);
  --inset: clamp(10px, 1.05vw, 20px);
  --line: #b8b6af;
  --mono: "Geist Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Geist, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, p { margin: 0; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
section[tabindex="-1"]:focus-visible { outline-offset: -3px; }
.wrap { width: min(calc(100% - 2 * var(--edge)), 1800px); margin-inline: auto; }
.skip-link {
  position: absolute;
  z-index: 30;
  inset: 8px auto auto var(--edge);
  transform: translateY(calc(-100% - 16px));
  padding: 12px 18px;
  background: var(--ink);
  color: var(--bg);
}
.skip-link:focus { transform: none; }
.masthead { position: absolute; inset: 0 0 auto; z-index: 2; }
.masthead-inner {
  padding-block-start: clamp(18px, 3.1svh, 38px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.brand { display: inline-flex; min-height: 44px; align-items: center; }
.brand img { display: block; width: clamp(124px, 12.4vw, 220px); height: auto; }
.text-link, .back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
  transition: text-decoration-color 150ms ease;
}
.text-link { font-size: clamp(16px, 1.67vw, 29px); letter-spacing: -.035em; }
.text-link:hover, .back-link:hover { text-decoration-color: currentColor; }
.hero {
  min-height: 100svh;
  padding-block: max(125px, 14.6svh) max(46px, 9svh);
}
h1, h2 {
  font-weight: 700;
  font-size: clamp(54px, 5.45vw, 100px);
  line-height: 1.04;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.lead {
  margin-top: clamp(14px, 2.2svh, 28px);
  font: 430 clamp(17px, 1.82vw, 31px)/1.4 var(--mono);
  letter-spacing: -.04em;
}
.catalogue {
  margin-top: clamp(32px, 6.1svh, 76px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(44px, 5.15vw, 92px);
}
.app { border-bottom: 2px solid var(--line); }
.app summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.82fr) auto;
  align-items: center;
  column-gap: clamp(10px, 1.15vw, 24px);
  padding-block: 12px;
  min-height: clamp(67px, 10.35svh, 125px);
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color 110ms ease, background-color 110ms ease, box-shadow 110ms ease;
}
.app summary::-webkit-details-marker { display: none; }
.app summary strong {
  font-size: clamp(34px, 3.55vw, 66px);
  line-height: 1.08;
  font-weight: 650;
  letter-spacing: -.063em;
}
.app summary span {
  font: 420 clamp(15px, 1.52vw, 27px)/1.3 var(--mono);
  letter-spacing: -.04em;
  text-wrap: pretty;
}
.app summary::after, .about-link::after {
  content: "";
  display: block;
  width: clamp(24px, 2.5vw, 44px);
  aspect-ratio: 1;
  background: currentColor;
  mask: url("arrow-right.svg") center / contain no-repeat;
  transition: transform 150ms ease;
}
.catalogue:not(:has(details[open], summary:focus-visible)) .featured summary,
.app[open] summary, .app summary:focus-visible {
  color: var(--bg);
  background-color: var(--accent);
  box-shadow: var(--inset) 0 var(--accent), calc(-1 * var(--inset)) 0 var(--accent);
}
.app summary:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }
.app[open] summary::after { transform: rotate(90deg); }
.app p {
  padding-block: 18px 24px;
  max-width: 62ch;
  font-size: clamp(16px, 1.28vw, 22px);
  line-height: 1.55;
}
.app:not([open]) > p { display: none; }
@media (hover: hover) {
  .catalogue:has(summary:hover) .featured:not([open]) summary:not(:hover, :focus-visible) {
    color: var(--ink);
    background-color: transparent;
    box-shadow: none;
  }
  .app summary:hover {
    color: var(--bg);
    background-color: var(--accent);
    box-shadow: var(--inset) 0 var(--accent), calc(-1 * var(--inset)) 0 var(--accent);
  }
  .app:not([open]) summary:hover::after { transform: translateX(3px); }
}

.about {
  background: var(--ink);
  color: var(--bg);
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-block: clamp(64px, 10svh, 150px);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr .72fr;
  align-items: center;
  gap: 9%;
}
.about-copy p {
  font-size: clamp(22px, 2.25vw, 40px);
  line-height: 1.37;
  letter-spacing: -.035em;
  margin-block: 28px 36px;
  max-width: 35ch;
}
.about-mark { display: block; width: min(100%, 55svh); height: auto; justify-self: end; }
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  min-height: 48px;
  background: var(--bg);
  color: var(--ink);
  font-weight: 570;
  text-decoration: none;
}
.about-link::after { width: 21px; transform: rotate(-45deg); }
.about-link:hover::after { transform: translate(2px,-2px) rotate(-45deg); }
.about-link:active { translate: 0 1px; }
.back-link { margin-left: 20px; }
.about a:focus-visible { outline-color: var(--bg); }
@media (min-width: 741px) and (max-width: 1050px) {
  .app summary { grid-template-columns: 1fr auto; row-gap: 3px; }
  .app summary span { grid-column: 1; }
  .app summary::after { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-height: 650px) and (min-width: 1051px) {
  .hero { padding-top: 96px; }
  .catalogue { margin-top: 26px; }
}
@media (max-width: 740px) {
  :root { --edge: clamp(18px, 5.1vw, 24px); --inset: 6px; }
  .masthead-inner { padding-top: 16px; }
  .brand img { width: 120px; }
  .hero { padding-block: 86px 16px; }
  h1, h2 { font-size: clamp(41px, 10.1vw, 68px); }
  .lead { margin-top: 14px; font-size: clamp(15px, 3.95vw, 20px); max-width: 36ch; }
  .catalogue { margin-top: 24px; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .app summary {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    min-height: clamp(55px, 6.4svh, 72px);
    gap: 2px 14px;
    padding-block: 4px;
  }
  .app summary strong { font-size: 25px; }
  .app summary span { grid-column: 1; font-size: 14px; letter-spacing: -.04em; }
  .app summary::after { grid-column: 2; grid-row: 1 / span 2; }
  .app p { padding-block: 16px 20px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-copy p { margin-block: 24px; }
  .about-mark { width: 100%; max-height: 35svh; object-fit: contain; }
}
@media (prefers-reduced-motion: reduce) {
  .app summary, .app summary::after, .about-link::after { transition: none; }
  .app:not([open]) summary:hover::after { transform: none; }
}
