/* Hulka Labs — site styles */

@font-face { font-family: 'Familjen Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/familjen-grotesk-latin-400-normal.3d6a8c01c6.woff2) format('woff2'); }
@font-face { font-family: 'Familjen Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/familjen-grotesk-latin-500-normal.490e3a95d2.woff2) format('woff2'); }
@font-face { font-family: 'Familjen Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/familjen-grotesk-latin-600-normal.4becdcd6d1.woff2) format('woff2'); }
@font-face { font-family: 'Familjen Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/familjen-grotesk-latin-700-normal.e1ebaed103.woff2) format('woff2'); }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/dm-mono-latin-400-normal.e1896b13b2.woff2) format('woff2'); }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/dm-mono-latin-500-normal.9964608a84.woff2) format('woff2'); }

:root {
  /* Page planes: the paper behind the header and alternating bands, the lighter band, the wall. */
  --sand: #F2EDE3;
  --sand-light: #FAF7F1;
  --peg: #D6C49F;
  --peg-hole: #A88F68;
  --paper: #F7F1E6;
  --paper-2: #FBF7EF;
  --blue: #1E3F66;
  --blue-2: #2F5683;
  --terra: #B4472A;
  --ink: #1E2A22;
  --muted: #4A4A3C;
  --on-blue: #E6EDF5;
  --on-blue-muted: #B8C6D8;
  --on-blue-link: #F3B49C;
  --dash: #7D6A4C;
  --code-bg: rgba(140, 118, 82, 0.12);

  /* Secondary tones from the design; two are slightly darkened to reach 4.5:1 contrast. */
  --eyebrow: #825438;
  --faint: #645D4A;
  --shot-bg: #E3D7C2;
  --hook-ink: #5E5440;
  --hook-title: #1F3F66;
  --hook-text: #5A4E3B;
  --hook-fill: rgba(242, 237, 227, 0.55);
  --tag-shadow: 0 10px 0 rgba(140, 118, 82, 0.55), 0 16px 26px rgba(60, 45, 25, 0.18);

  --font: 'Familjen Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'DM Mono', ui-monospace, Menlo, monospace;
  --max: 1240px;
  --gutter: 32px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--blue); }
a:hover { color: var(--terra); }

:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, p { margin: 0; }
h2 { font-size: clamp(32px, 5vw, 44px); line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; color: var(--blue); }

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

.eyebrow { font-family: var(--mono); font-size: 13px; color: var(--eyebrow); }
.mono-link { font-family: var(--mono); font-size: 14px; }

.section { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.section-titles { display: flex; flex-direction: column; gap: 8px; }

/* Header */

.site-header {
  max-width: var(--max); margin: 0 auto; padding: 16px var(--gutter);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
}
/* Logo: mark + name; on phones a <source> swaps in the square mark. */
.brand { display: block; }
.brand img { display: block; width: auto; height: 28px; max-width: none; }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 15px; font-weight: 500; }
.site-nav a { text-decoration: none; }

/* Hero */

.hero {
  max-width: var(--max); margin: 0 auto; padding: 32px var(--gutter) 44px;
  display: flex; flex-direction: column; gap: 14px;
}
.hero h1 {
  font-size: clamp(38px, 7.5vw, 60px); line-height: 1.02; font-weight: 700;
  letter-spacing: -0.03em; color: var(--blue); max-width: 16em;
}
.accent { color: var(--terra); }
.hero p { font-size: 19px; line-height: 1.5; max-width: 34em; color: var(--muted); }

/* The wall */

.peg {
  background-color: var(--peg);
  background-image: radial-gradient(circle, var(--peg-hole) 3px, transparent 3.5px);
  background-size: 32px 32px;
  background-position: 16px 16px;
}
.wall { padding: 72px var(--gutter) 96px; border-top: 6px solid var(--blue); border-bottom: 6px solid var(--blue); }
.wall-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 48px; justify-content: center; align-items: flex-start;
}

/* The outer .tag is tilted by --r and settles; it does not sway, so the hover area stays still.
   The inner .tag-body holds the visuals and sways around the same pivot. */
.tag {
  display: block; width: 300px; max-width: 100%;
  color: var(--ink); text-decoration: none; border-radius: 18px;
  transform: rotate(var(--r)); transform-origin: 50% 25px;
}
a.tag:hover { color: var(--ink); }
.tag-body {
  position: relative; padding: 52px 28px 28px; border-radius: 18px;
  display: flex; flex-direction: column; gap: 14px;
  background: var(--paper);
  box-shadow: var(--tag-shadow);
  transform-origin: 50% 25px;
}
.tag-hole {
  position: absolute; top: 16px; left: 50%; margin-left: -9px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--peg); box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.25);
}
.tag-icon { width: 64px; height: 64px; border-radius: 14px; }
.tag-icon--empty {
  display: flex; align-items: center; justify-content: center;
  background: var(--peg); font-family: var(--mono); font-size: 11px;
}
.tag-name { font-size: 30px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; color: var(--blue); }
.tag-text { font-size: 16px; line-height: 1.45; color: var(--muted); }
.tag-label {
  align-self: flex-start; padding: 5px 10px; border-radius: 6px;
  font-family: var(--mono); font-size: 13px; background: var(--terra); color: #FFFFFF;
}
.tag-label--outline { background: transparent; color: var(--terra); box-shadow: inset 0 0 0 1.5px var(--terra); }
.tag-bench { font-family: var(--mono); font-size: 13px; color: var(--hook-ink); }
.tag--empty { color: var(--hook-text); }
.tag--empty .tag-body {
  background: var(--hook-fill); border: 2px dashed var(--dash); box-shadow: none;
}
.tag--empty .tag-name { color: var(--hook-title); }
.tag--empty .tag-text { color: var(--hook-text); }

/* Tag animation: a damped pendulum. Every keyframe segment eases in and out,
   so the tag slows to a stop at each turn like a real swing.
   site.js adds .is-swaying on hover/focus and removes it on animationend,
   so a sway always finishes instead of snapping back when the pointer leaves. */
.wall.is-visible .tag { animation: tag-settle 1.8s ease-in-out var(--d, 0s) both; }
.tag.is-swaying .tag-body { animation: tag-sway 1.6s ease-in-out; }
@keyframes tag-settle {
  0% { transform: rotate(calc(var(--r) + 4deg)); }
  28% { transform: rotate(calc(var(--r) - 2.4deg)); }
  52% { transform: rotate(calc(var(--r) + 1.2deg)); }
  76% { transform: rotate(calc(var(--r) - 0.4deg)); }
  100% { transform: rotate(var(--r)); }
}
@keyframes tag-sway {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(2deg); }
  55% { transform: rotate(-1.2deg); }
  80% { transform: rotate(0.4deg); }
}
@media (prefers-reduced-motion: reduce) {
  .wall.is-visible .tag, .tag.is-swaying .tag-body { animation: none; }
}

/* Bands below the wall alternate light and paper so their edges show (set in home.mjs). */

.band--light { background: var(--sand-light); }
.band--paper { background: var(--sand); }
.band .log { background: none; border: 0; }

/* Screenshot shelves: one horizontal strip, every frame at the same height (--h).
   Images are never cropped or stretched: the height is set, the width follows the file. */

.gallery { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 28px; }

.shelf {
  --h: 240px; --bar: 18px; --dot: 7px; --pad: 6px; --r-win: 9px; --r-phone: 22px;
  display: flex; gap: 36px; align-items: flex-start;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 8px 6px 20px; margin: -8px -6px 0;
  scrollbar-width: thin; scrollbar-color: var(--peg) transparent;
}
.shelf--product { --h: 380px; --bar: 22px; --dot: 9px; --pad: 7px; --r-win: 10px; --r-phone: 34px; gap: 28px; }
/* 1–2 shots that fit are centred; auto margins collapse to 0 once the shelf overflows. */
.shelf--few > :first-child { margin-left: auto; }
.shelf--few > :last-child { margin-right: auto; }
.shelf > * { flex: 0 0 auto; scroll-snap-align: start; }

.shelf-nav { display: flex; gap: 10px; }
.shelf-nav[hidden] { display: none; }
.shelf-btn {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  font: 18px/1 var(--font); border: 1.5px solid var(--blue); background: transparent; color: var(--blue);
}
.shelf-btn--next { background: var(--blue); color: #FFFFFF; }
.shelf-btn:disabled { opacity: 0.35; cursor: default; }

.frame { display: flex; flex-direction: column; box-shadow: 0 10px 22px rgba(60, 45, 20, 0.20); }
.frame img, .frame-placeholder { display: block; width: auto; max-width: none; }
.frame--mac, .frame--browser { background: #FFFFFF; border-radius: var(--r-win); overflow: hidden; }
.frame--mac img, .frame--browser img, .frame--mac .frame-placeholder, .frame--browser .frame-placeholder { height: calc(var(--h) - var(--bar)); }
.frame-bar {
  flex: 0 0 var(--bar); display: flex; align-items: center; gap: calc(var(--dot) * 0.7);
  padding: 0 calc(var(--dot) + 2px); background: #EFE9DE;
}
.frame-bar i { width: var(--dot); height: var(--dot); border-radius: 50%; background: #CDBFA6; }
.frame--mac .frame-bar i:nth-child(1) { background: #E0705B; }
.frame--mac .frame-bar i:nth-child(2) { background: #E5B550; }
.frame--mac .frame-bar i:nth-child(3) { background: #79B56B; }
.frame-bar b { flex: 1; height: calc(var(--bar) * 0.45); border-radius: 99px; background: #FFFFFF; }
.frame--iphone { padding: var(--pad); border-radius: var(--r-phone); background: var(--ink); }
.frame--iphone img, .frame--iphone .frame-placeholder { height: calc(var(--h) - 2 * var(--pad)); border-radius: calc(var(--r-phone) - var(--pad)); }
/* No frame: the shadow follows the image's own shape (transparent corners stay clean). */
.frame--none { box-shadow: none; filter: drop-shadow(0 10px 22px rgba(60, 45, 20, 0.20)); }
.frame--none img, .frame--none .frame-placeholder { height: var(--h); }
.frame-placeholder {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10;
  background: var(--shot-bg); color: var(--faint); font-family: var(--mono); font-size: 12px;
}
.frame-placeholder--tall { aspect-ratio: 9 / 19.5; }

/* Home: one card per product, linking to its screenshots. */
.shelf-card { display: flex; flex-direction: column; gap: 14px; color: var(--ink); text-decoration: none; border-radius: 10px; }
a.shelf-card:hover { color: var(--ink); }
.shelf-frame { height: var(--h); display: flex; align-items: flex-end; }
.shelf-card-text { display: flex; flex-direction: column; gap: 2px; }
.shelf-card-name { font-size: 17px; font-weight: 700; color: var(--blue); }
a.shelf-card:hover .shelf-card-name { color: var(--terra); }
.shelf-card-count { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--faint); }
.shelf-card-label { font-family: var(--mono); font-size: 12px; color: var(--terra); }

/* Product page: every shot, with a caption; click opens the lightbox. */
.shelf-shot { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.shelf-link { display: block; border-radius: var(--r-win); }
.shelf-link:hover { cursor: zoom-in; }
.shelf-shot figcaption { font-family: var(--mono); font-size: 13px; color: var(--muted); }

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 24px 72px;
  border: 0; background: transparent; color: var(--on-blue);
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(20, 24, 22, 0.88); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { display: block; width: auto; height: auto; max-width: calc(100vw - 144px); max-height: calc(100vh - 110px); border-radius: 6px; }
.lightbox figcaption { font-family: var(--mono); font-size: 14px; }
.lightbox form { margin: 0; }
.lightbox-btn {
  position: fixed; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  font: 20px/1 var(--font); background: rgba(255, 255, 255, 0.14); color: #FFFFFF;
}
.lightbox-btn:hover { background: rgba(255, 255, 255, 0.26); }
.lightbox-btn:focus-visible { outline-color: var(--on-blue-link); }
.lightbox-prev { left: 16px; top: calc(50% - 22px); }
.lightbox-next { right: 16px; top: calc(50% - 22px); }
.lightbox-close { right: 16px; top: 16px; font-size: 26px; }

/* How a tool gets on the wall */

.steps { padding-top: 64px; padding-bottom: 88px; }
.steps-inner { border-top: 2px solid var(--blue); padding-top: 40px; display: flex; flex-direction: column; gap: 36px; }
.steps h2 { font-size: clamp(28px, 4.5vw, 36px); letter-spacing: -0.02em; }
.steps-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px;
}
.steps-list li { display: flex; flex-direction: column; gap: 12px; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--terra); color: #FFFFFF;
  font-family: var(--mono); font-size: 16px; display: flex; align-items: center; justify-content: center;
}
.steps-list h3 { font-size: 24px; line-height: 1.25; font-weight: 700; color: var(--blue); }
.steps-list p { font-size: 17px; line-height: 1.5; color: var(--muted); }

/* Workbench log */

.log { background: var(--sand-light); border-top: 1px solid var(--peg); border-bottom: 1px solid var(--peg); }
.log-inner { max-width: var(--max); margin: 0 auto; padding: 72px var(--gutter); display: flex; flex-direction: column; gap: 20px; }
.log-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.log-head h2 { font-size: clamp(28px, 4.5vw, 36px); letter-spacing: -0.02em; }
.log-list { list-style: none; margin: 0; padding: 0; }
.log-list li {
  display: grid; grid-template-columns: 140px 160px minmax(0, 1fr); gap: 20px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px dashed var(--peg-hole);
}
.log-date { font-family: var(--mono); font-size: 13px; color: var(--faint); }
.log-product { font-weight: 700; color: var(--blue); }
.log-version { font-family: var(--mono); font-weight: 400; font-size: 14px; color: var(--terra); }
.log-text { font-size: 17px; line-height: 1.5; }

/* Notes (testimonials) */

.notes { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 44px; }
.notes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px 32px; align-items: stretch; }
.note {
  position: relative; margin: 0; padding: 36px 28px 26px;
  background: var(--paper-2); box-shadow: 0 8px 0 rgba(30, 63, 102, 0.12);
  transform: rotate(var(--nr)); display: flex; flex-direction: column; gap: 18px;
}
.note-tape {
  position: absolute; top: -12px; left: 50%; margin-left: -48px; width: 96px; height: 26px;
  background: rgba(217, 199, 168, 0.85); transform: rotate(var(--tr));
}
.note blockquote { margin: 0; font-size: 20px; line-height: 1.45; font-weight: 500; color: var(--ink); }
.note figcaption { margin-top: auto; display: flex; flex-direction: column; gap: 2px; }
.note-name { font-weight: 700; color: var(--blue); }
.note-meta { font-family: var(--mono); font-size: 13px; color: var(--faint); }
.note-product { color: var(--terra); }
.note-product:hover { color: var(--blue); }

/* Call to action */

.cta { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cta-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cta h2 { line-height: 1.05; }
.cta p { font-size: 19px; line-height: 1.5; color: var(--muted); max-width: 30em; }

.button {
  display: inline-flex; align-items: center; min-height: 52px; padding: 16px 28px; border-radius: 12px;
  background: var(--terra); color: #FFFFFF; font-weight: 700; font-size: 17px; text-decoration: none;
}
.button:hover { background: var(--blue); color: #FFFFFF; }
/* Second platform button: solid navy, like the logo; turns terracotta on hover. */
.button--secondary { background: var(--blue); }
.button--secondary:hover { background: var(--terra); }

/* Footer */

.site-footer { background: var(--blue); color: var(--on-blue); }
.site-footer a { color: var(--on-blue-link); }
.site-footer a:hover { color: #FFFFFF; }
.site-footer :focus-visible { outline-color: var(--on-blue-link); }
.footer-main {
  max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.footer-quote { flex: 1 1 520px; min-width: 0; display: flex; align-items: center; gap: 16px; }
.footer-photo {
  flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; background: var(--blue-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 10px; color: var(--on-blue-muted);
}
img.footer-photo { display: block; object-fit: cover; }
.footer-words { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.footer-line { font-size: 19px; line-height: 1.35; font-weight: 600; }
.footer-sign { font-size: 14px; color: var(--on-blue-muted); }
.footer-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; font-family: var(--mono); font-size: 14px; color: var(--on-blue-link); }
.footer-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; }
.footer-legal, .footer-bottom {
  max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter);
  border-top: 1px solid var(--blue-2); font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--on-blue-muted);
}
.footer-bottom { padding-bottom: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
.footer-made { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.footer-flag { display: block; flex: 0 0 auto; border-radius: 2px; }
.footer-copy { white-space: nowrap; }
.footer-logo { display: block; }
.footer-logo img { display: block; width: 96px; height: 24px; }

/* Product page */

.product-hero {
  max-width: var(--max); margin: 0 auto; padding: 32px var(--gutter) 56px;
  display: flex; flex-direction: column; gap: 18px;
}
.product-id { display: flex; align-items: center; gap: 20px; }
.product-icon { width: 112px; height: 112px; border-radius: 24px; flex: 0 0 auto; }
.product-titles { display: flex; flex-direction: column; gap: 4px; }
.product-hero h1 {
  font-size: clamp(40px, 7vw, 60px); line-height: 1.02; font-weight: 700;
  letter-spacing: -0.03em; color: var(--blue);
}
.product-by { font-family: var(--mono); font-size: 14px; color: var(--eyebrow); }
.product-tagline { font-size: 21px; line-height: 1.45; max-width: 32em; color: var(--muted); }
.product-note + .product-subnote { margin-top: -12px; }
.product-subnote { font-size: 19px; line-height: 1.45; max-width: 34em; color: var(--muted); }
.product-note { font-size: 19px; line-height: 1.45; font-weight: 600; max-width: 34em; color: var(--terra); }
.product-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 8px; }
.download { display: flex; flex-wrap: wrap; gap: 16px 20px; }
.download-option { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.download-req, .download-soon { font-family: var(--mono); font-size: 13px; color: var(--faint); }

.product-shots { padding-bottom: 48px; display: flex; flex-direction: column; gap: 20px; }
.shots-title { font-size: clamp(28px, 4.5vw, 36px); letter-spacing: -0.02em; }
.product-about { padding-top: 24px; padding-bottom: 88px; }
.product-about .prose { max-width: 760px; }
.guide { margin-top: 32px; }
.guide-link { font-weight: 600; }

.prose { font-size: 17px; line-height: 1.6; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: clamp(26px, 4vw, 32px); letter-spacing: -0.02em; margin-top: 48px; }
.prose h2:first-child { margin-top: 0; }
.prose h3, .prose h4, .prose h5, .prose h6 { font-size: 19px; color: var(--blue); margin-top: 28px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--terra); }
.prose strong { color: var(--blue); }
.prose code {
  font-family: var(--mono); font-size: 0.86em; background: var(--code-bg);
  padding: 2px 6px; border-radius: 4px; overflow-wrap: anywhere;
}
.prose pre { overflow-x: auto; background: var(--code-bg); padding: 14px 16px; border-radius: 8px; }
.prose pre code { background: none; padding: 0; }
.prose blockquote { margin: 0; padding-left: 16px; border-left: 3px solid var(--peg-hole); color: var(--muted); }
.prose img { border-radius: 6px; }
.table-wrap { overflow-x: auto; }
.prose table { border-collapse: collapse; min-width: 100%; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 10px 16px 10px 0; border-bottom: 1px dashed var(--peg-hole); white-space: nowrap; }
.prose th { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--faint); border-bottom: 2px solid var(--blue); }

.release { padding: 28px 0; border-bottom: 1px dashed var(--peg-hole); display: flex; flex-direction: column; gap: 14px; }
.release-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.release-head h3 { font-size: 22px; font-weight: 700; color: var(--blue); }
.release-date { font-family: var(--mono); font-size: 13px; color: var(--faint); }
.release-head .mono-link { margin-left: auto; }
.release-notes { max-width: 760px; }
.release-empty { font-family: var(--mono); font-size: 14px; color: var(--faint); }

/* 404 */

.not-found .tag { width: 360px; }
.not-found h1.tag-name { margin: 0; }

/* Small screens */

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .wall { padding-top: 56px; padding-bottom: 72px; }
  .wall-inner { flex-direction: column; align-items: center; gap: 40px; }
  .shelf { --h: 200px; --bar: 16px; --dot: 6px; --pad: 5px; --r-phone: 19px; gap: 24px; }
  .shelf--product { --h: 260px; --bar: 18px; --dot: 7px; --pad: 6px; --r-phone: 24px; gap: 20px; }
  .lightbox { padding: 16px 16px 76px; }
  .lightbox img { max-width: calc(100vw - 32px); max-height: calc(100vh - 150px); }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 16px; }
  .lightbox-prev { left: calc(50% - 54px); }
  .lightbox-next { right: calc(50% - 54px); }
  .log-inner { padding-top: 56px; padding-bottom: 56px; }
  .log-list li { grid-template-columns: 1fr; gap: 4px; }
  .gallery, .notes { padding-top: 64px; padding-bottom: 64px; }
  .cta { padding-top: 64px; padding-bottom: 64px; }
  .cta-text { flex-basis: 100%; }
  .footer-quote { flex-basis: 100%; }
  .product-icon { width: 80px; height: 80px; border-radius: 18px; }
  .release-head .mono-link { margin-left: 0; }
}
