/* O&Z: the plain pages (contact, terms of service). site.css comes first and gives the colours, the
   type sizes, the fonts, the top bar and the buttons; this file is the page under the bar: a large
   heading in the weight of the worlds' headlines, then what the page is for, set on hairlines like
   the rest of the site; and the small foot every page but the first has. Nothing here moves but a
   link under the pointer. */
html { scroll-behavior: smooth; }
body.page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow-x: hidden; }
.page main {
  flex: 1; width: 100%; max-width: 72rem; margin: 0 auto;
  padding: calc(var(--bar) + clamp(28px, 9vh, 112px)) var(--gutter) var(--space-2xl);
}
.page .kicker { margin: 0 0 var(--space-md); font-size: var(--t-cap); font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-mute); }
.page h1 { margin: 0; font-size: clamp(2.4rem, 1.1rem + 5vw, 5.25rem); font-weight: 700; line-height: 0.98; letter-spacing: -0.04em; text-wrap: balance; }
.page .lead { margin: var(--space-lg) 0 0; max-width: 44ch; font-size: clamp(1rem, 0.92rem + 0.35vw, 1.2rem); line-height: 1.5; color: var(--ink-soft); text-wrap: pretty; }

/* ---------------------------------------------------------------- contact: three ways to reach us, one to a line */
.ways { list-style: none; margin: clamp(32px, 7vh, 76px) 0 0; padding: 0; border-top: 1px solid var(--rule); }
.ways a {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: clamp(14px, 2.2vw, 30px);
  padding: clamp(18px, 3.2vh, 32px) 0; border-bottom: 1px solid var(--rule);
}
.ways .icon {
  display: grid; place-items: center; width: clamp(2.75rem, 2.2rem + 1.6vw, 3.75rem); aspect-ratio: 1; border-radius: 50%;
  background: var(--tint); color: #fff; transition: transform 0.3s var(--ease-out);
}
.ways .icon svg { width: 46%; height: 46%; }
.ways .icon.fill svg { fill: currentColor; }
.ways .name { display: block; font-size: var(--t-cap); font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute); }
.ways .value {
  display: block; margin-top: 0.3em; font-size: clamp(1.2rem, 0.85rem + 2.1vw, 2.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums; overflow-wrap: anywhere; transition: color 0.2s var(--ease-out);
}
.ways .go { font-size: clamp(1.1rem, 0.9rem + 1vw, 1.8rem); color: var(--ink-mute); transition: transform 0.3s var(--ease-out), color 0.2s var(--ease-out); }
.ways a:hover .icon, .ways a:focus-visible .icon { transform: scale(1.08); }
.ways a:hover .go, .ways a:focus-visible .go { transform: translateX(8px); color: var(--ink); }
.ways a:focus-visible { outline-offset: 6px; }

/* ---------------------------------------------------------------- terms: a heading to the left of each part, on a hairline */
.terms { margin: clamp(32px, 7vh, 76px) 0 0; }
.terms section { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); column-gap: clamp(20px, 4vw, 64px); padding: var(--space-lg) 0; border-top: 1px solid var(--rule); }
.terms h2 { margin: 0; font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.35; }
.terms p { margin: 0 0 0.9em; max-width: 64ch; font-size: var(--t-md); line-height: 1.62; color: var(--ink-soft); text-wrap: pretty; }
.terms p:last-child { margin-bottom: 0; }
.terms a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; transition: text-decoration-color 0.2s var(--ease-out); }
.terms a:hover { text-decoration-color: currentColor; }
.page .dated { margin: var(--space-md) 0 0; font-size: var(--t-sm); color: var(--ink-mute); font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
  .terms section { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-sm); }
}

/* ---------------------------------------------------------------- the small foot: the wordmark, and the ways about the site */
.base {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-sm) var(--space-lg);
  padding: var(--space-md) var(--gutter) calc(var(--space-md) + env(safe-area-inset-bottom));
  font-size: var(--t-sm); color: var(--ink-mute);
}
.base .who { margin: 0; display: flex; align-items: center; gap: 0.8em; }
.base .who img { display: block; height: 0.75rem; width: auto; opacity: 0.72; }
.base nav { display: flex; flex-wrap: wrap; gap: var(--space-xs) clamp(16px, 2.4vw, 32px); }
.base nav a { padding: var(--space-sm) 0; color: var(--ink-soft); transition: color 0.2s var(--ease-out); }
.base nav a:hover, .base nav a[aria-current="page"] { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
