/* Pear Media: base layer. Tokens, fonts, reset, type, layout, site header and footer.
   Components live in components.css. Page extras live in pages/<page>.css. */

@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader-roman.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/assets/fonts/hanken-grotesk-roman.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/assets/fonts/hanken-grotesk-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --ink: #13150F;
  --ink-2: #1B1E16;
  --ink-3: #262A1F;
  --paper: #F3F0E7;
  --paper-2: #EAE5D8;
  --stone: #D8D2C2;
  --pear: #CFDA55;
  --pear-deep: #4A5A1C;
  --text: var(--ink);
  --text-2: #55584C;
  --line: rgba(19, 21, 15, .14);
  --line-2: rgba(19, 21, 15, .3);
  --accent: var(--pear-deep);
  --bg: var(--paper);

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(.84rem, .81rem + .12vw, .9rem);
  --step-0: clamp(1rem, .97rem + .16vw, 1.1rem);
  --step-1: clamp(1.18rem, 1.08rem + .45vw, 1.45rem);
  --step-2: clamp(1.45rem, 1.25rem + .95vw, 2.1rem);
  --step-3: clamp(1.95rem, 1.5rem + 2vw, 3.3rem);
  --step-4: clamp(2.5rem, 1.7rem + 3.6vw, 5rem);
  --step-5: clamp(3.1rem, 1.6rem + 6.6vw, 8.4rem);

  --gutter: clamp(20px, 4.2vw, 60px);
  --max: 1440px;
  --section: clamp(84px, 10.5vw, 168px);
  --head-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in: cubic-bezier(.55, 0, .7, .2);
  --dur: .5s;
}

.tone-ink {
  --text: var(--paper);
  --text-2: #B4B6A8;
  --line: rgba(243, 240, 231, .16);
  --line-2: rgba(243, 240, 231, .34);
  --accent: var(--pear);
  --bg: var(--ink);
  background: var(--ink);
  color: var(--text);
}
.tone-stone { --bg: var(--paper-2); background: var(--paper-2); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga";
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
::selection { background: var(--pear); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.tone-ink :focus-visible { outline-color: var(--pear); }

/* Type */
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
.display, .t-1, .t-2, .t-3 { font-family: var(--serif); font-weight: 300; letter-spacing: -.022em; color: var(--text); text-wrap: balance; }
.display { font-size: var(--step-5); line-height: .94; letter-spacing: -.03em; }
.t-1 { font-size: var(--step-4); line-height: 1; }
.t-2 { font-size: var(--step-3); line-height: 1.06; }
.t-3 { font-size: var(--step-2); line-height: 1.18; letter-spacing: -.012em; }
.display em, .t-1 em, .t-2 em, .t-3 em, .lede em { font-style: italic; font-weight: 300; }
.lede { font-family: var(--serif); font-weight: 300; font-size: var(--step-2); line-height: 1.3; letter-spacing: -.01em; color: var(--text); text-wrap: pretty; }
.body-lg { font-size: var(--step-1); line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.muted { color: var(--text-2); }
.eyebrow {
  display: inline-flex; align-items: flex-start; gap: .7em; text-wrap: balance;
  font-family: var(--sans); font-size: .76rem; line-height: 1.2; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--text-2);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; margin-top: .3em; border-radius: 50%; background: var(--accent); flex: none; }
.eyebrow--plain::before { display: none; }
@media (max-width: 640px) { .eyebrow { font-size: .7rem; letter-spacing: .13em; } }
.caps { font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.tnum { font-variant-numeric: tabular-nums lining-nums; }

/* Layout */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 980px; }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.stack > * + * { margin-top: var(--stack, 1.25rem); }
.rule-top { border-top: 1px solid var(--line); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: top .2s var(--ease); }
.skip-link:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

/* Site header: one markup everywhere, state comes from body[data-head] and .is-solid */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--head-h);
  color: var(--ink);
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), transform .45s var(--ease);
}
body[data-head="ink"] .site-head:not(.is-solid):not(.is-open) { color: var(--paper); }
.site-head.is-solid { background: rgba(243, 240, 231, .92); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.site-head.is-hidden { transform: translateY(-100%); }
.site-head.is-hidden:focus-within { transform: none; }
.site-head__bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; color: inherit; text-decoration: none; border-radius: 2px; }
.brand .logo-lockup { height: 15px; width: auto; }
.brand .logo-lockup path { transition: fill .35s var(--ease); }
.site-head nav.primary { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.site-head nav.primary a { position: relative; font-size: .92rem; font-weight: 500; letter-spacing: .01em; text-decoration: none; padding-block: 8px; }
.site-head nav.primary a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.site-head nav.primary a:hover::after, .site-head nav.primary a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.site-head__actions { display: flex; align-items: center; gap: 14px; }
.site-head .btn { color: inherit; border-color: currentColor; }
.site-head .btn::before { background: var(--ink); }
.site-head .btn:hover, .site-head .btn:focus-visible { color: var(--paper); border-color: var(--ink); }
body[data-head="ink"] .site-head:not(.is-solid) .btn::before { background: var(--paper); }
body[data-head="ink"] .site-head:not(.is-solid) .btn:hover, body[data-head="ink"] .site-head:not(.is-solid) .btn:focus-visible { color: var(--ink); border-color: var(--paper); }
.menu-toggle { display: none; align-items: center; gap: 10px; background: none; border: 0; padding: 10px 4px; min-height: 44px; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.menu-toggle__bars { position: relative; width: 22px; height: 10px; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-toggle__bars::before { top: 0; }
.menu-toggle__bars::after { top: 8.5px; }
.site-head.is-open .menu-toggle__bars::before { top: 4.25px; transform: rotate(45deg); }
.site-head.is-open .menu-toggle__bars::after { top: 4.25px; transform: rotate(-45deg); }
.menu-panel {
  position: fixed; inset: 0; z-index: -1; background: var(--ink); color: var(--paper);
  padding: calc(var(--head-h) + 28px) var(--gutter) 36px; display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s linear .45s;
}
.site-head.is-open { color: var(--paper); }
.site-head.is-open .menu-panel { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
.menu-panel ul { list-style: none; }
.menu-panel li + li { border-top: 1px solid rgba(243, 240, 231, .14); }
.menu-panel a.menu-panel__link { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 8vw, 3rem); line-height: 1.1; text-decoration: none; }
.menu-panel__foot { display: grid; gap: 6px; font-size: .95rem; color: #B4B6A8; }
.menu-panel__foot a { color: var(--paper); text-decoration: none; }

@media (max-width: 900px) {
  :root { --head-h: 66px; }
  .site-head nav.primary, .site-head__actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand .logo-lockup { height: 13px; }
}
@media (min-width: 901px) { .menu-panel { display: none; } }

/* Site footer */
.site-foot { background: var(--ink); color: var(--paper); padding-top: clamp(64px, 8vw, 112px); padding-bottom: 36px; position: relative; overflow: hidden; border-top: 1px solid rgba(243, 240, 231, .12); }
main > .cta-band:last-child { padding-bottom: clamp(72px, 8vw, 120px); }
.site-foot a { color: var(--paper); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.site-foot__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px clamp(24px, 4vw, 64px); }
.site-foot__logo { height: 17px; width: auto; color: var(--paper); }
.site-foot__sign p { font-family: var(--serif); font-weight: 300; font-size: var(--step-2); line-height: 1.2; margin: 28px 0 0; max-width: 16ch; }
.site-foot__sign p em { font-style: italic; color: var(--pear); }
.site-foot h2 { font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #B4B6A8; margin: 6px 0 18px; }
.site-foot ul { list-style: none; display: grid; gap: 9px; font-size: .95rem; }
.site-foot__ext { display: inline-flex; align-items: center; gap: 6px; }
.site-foot__ext .icon { width: .85em; height: .85em; opacity: .55; }
.site-foot__contact { margin-top: clamp(56px, 7vw, 96px); padding-top: 28px; border-top: 1px solid rgba(243, 240, 231, .16); display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 16px 48px; align-items: start; font-size: .95rem; }
.site-foot__contact address { font-style: normal; }
.site-foot__label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #B4B6A8; margin-bottom: 6px; }
.site-foot__legal { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: .8rem; color: #9FA293; }
.site-foot__legal a { color: #C9CBBE; }
.site-foot__legal nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-foot__wordmark { margin-top: clamp(44px, 6vw, 88px); color: rgba(243, 240, 231, .075); pointer-events: none; }
.site-foot__wordmark svg { display: block; width: 100%; height: auto; }
@media (max-width: 1000px) {
  .site-foot__top { grid-template-columns: 1fr 1fr; }
  .site-foot__sign { grid-column: 1 / -1; }
  .site-foot__contact { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-foot__top, .site-foot__contact { grid-template-columns: 1fr; }
}

/* Motion: reveal system. JS adds .js to html; items start hidden only when JS runs and motion is allowed. */
.js .reveal { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-line { display: block; overflow: hidden; }
.js .reveal-line > span { display: block; transform: translate3d(0, 105%, 0); transition: transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js .is-in .reveal-line > span, .js .reveal-line.is-in > span { transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-line > span { opacity: 1 !important; transform: none !important; }
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .28s var(--ease-in) both vt-out; }
::view-transition-new(root) { animation: .5s var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
