html {line-height:1.5;-webkit-text-size-adjust:100%;} body {line-height:inherit;} svg {display:block;vertical-align:middle;} [hidden] {display:none!important;}


/* One fluid scale for every screen: gutters, wordmark and footer grow with the
   viewport between fixed floors and ceilings, so no breakpoint jumps. */
:root {
  color-scheme: light;
  --ink: #242820;
  --paper: #eeede9;
  --light: #f5f3e8;
  --gutter-x: clamp(20px, 3.4vw, 64px);
  --gutter-y: clamp(18px, 3.2vh, 44px);
  --wordmark: clamp(22px, 1.1vw + 16px, 34px);
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body { margin: 0; color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }
::selection { background: #cad2ba; color: #20251d; }

/* Full-viewport stage. svh keeps the footer above mobile browser chrome; no
   min-height, so short landscape screens still show header and footer. */
.stealth-page { height: 100vh; height: 100svh; isolation: isolate; position: relative; overflow: hidden; background: var(--paper); display: flex; flex-direction: column; justify-content: space-between; }

.landscape { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.landscape img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 72% 55%; }
/* Soft scrim under the footer so the light type reads on any crop. */
.landscape::after { content: ""; position: absolute; inset: auto 0 0; height: clamp(110px, 22vh, 220px); background: linear-gradient(to top, rgb(16 18 14 / .42), rgb(16 18 14 / 0)); }

.site-header, .contact-content {
  padding-left: max(var(--gutter-x), env(safe-area-inset-left));
  padding-right: max(var(--gutter-x), env(safe-area-inset-right));
}
.site-header { display: flex; align-items: center; padding-top: max(var(--gutter-y), env(safe-area-inset-top)); padding-bottom: var(--gutter-y); }

.wordmark { display: inline-flex; align-items: center; gap: .3em; font-size: var(--wordmark); font-weight: 700; line-height: 1; letter-spacing: -.05em; text-decoration: none; }
.swarm-mark { width: 1.05em; height: 1.05em; flex: none; }

.contact-content {
  display: flex; align-items: baseline; justify-content: space-between; gap: 6px 24px; flex-wrap: wrap;
  padding-top: var(--gutter-y); padding-bottom: max(var(--gutter-y), env(safe-area-inset-bottom));
  color: var(--light); font-size: 13px; font-weight: 700; letter-spacing: .02em; line-height: 1.4;
  text-shadow: 0 1px 2px rgb(0 0 0 / .45);
}
.contact-link { text-decoration: none; }
.contact-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.copyright { margin: 0; }

/* Narrow screens: stack both lines on one left edge instead of a ragged wrap. */
@media (max-width: 520px) {
  .contact-content { flex-direction: column; align-items: flex-start; }
}
/* Portrait screens use the tall crop (see <picture>); keep the big tree in frame. */
@media (max-aspect-ratio: 3/4) {
  .landscape img { object-position: 90% 60%; }
}

.skip-link { position: absolute; left: var(--gutter-x); top: -100px; background: var(--paper); color: var(--ink); padding: 12px 16px; z-index: 5; font-size: 12px; }
.skip-link:focus { top: 12px; }
