


:root {
  color-scheme: light dark;

  
  --ground: #f2efe9;
  --ground-2: #e8e4dc; 
  --ink: #0f0e0c;
  --ink-2: #46423b; 
  --ink-3: #6a655c; 
  --ground-rgb: 242 239 233;
  --ink-rgb: 15 14 12;
  --rule: rgb(var(--ink-rgb) / 0.14);
  --rule-strong: rgb(var(--ink-rgb) / 0.42);

  
  --accent: #5a1b25; 
  --accent-rgb: 90 27 37;

  
  --wash-a: rgb(var(--accent-rgb) / 0.1);
  --wash-b: rgb(196 152 98 / 0.18);
  --wash: radial-gradient(ellipse closest-side at 24% 50%, var(--wash-a), transparent),
    radial-gradient(ellipse closest-side at 76% 50%, var(--wash-b), transparent);

  
  --font-sans: "Mona Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font-sans);
  --font-serif: "Instrument Serif", ui-serif, "Iowan Old Style", Georgia, serif;

  --fs-xs: clamp(0.75rem, 0.73rem + 0.1vw, 0.8125rem);
  --fs-sm: clamp(0.875rem, 0.85rem + 0.12vw, 0.9375rem);
  --fs-base: clamp(1.0625rem, 1.03rem + 0.2vw, 1.1875rem);
  --fs-md: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --fs-lg: clamp(1.625rem, 1.3rem + 1.4vw, 2.5rem);
  --fs-xl: clamp(2.25rem, 1.5rem + 3.2vw, 4.5rem);
  --fs-2xl: clamp(3rem, 1.6rem + 6vw, 8rem);
  --fs-display: clamp(3.2rem, 8.6vw, 9.5rem);

  --lh-display: 0.92;
  --lh-snug: 1.1;
  --lh-body: 1.55;
  --track-display: -0.04em;
  --track-tight: -0.02em;
  --track-caps: 0.1em;
  --measure: 62ch;

  
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4.5rem;
  --sp-9: 7rem;
  --sp-10: 11rem;
  --sp-section: clamp(5rem, 12vw, 11rem);
  --gutter: max(16px, 4vw);
  --max: 1360px;

  --r-1: 2px;
  --r-2: 4px;

  
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-wipe: cubic-bezier(0.77, 0, 0.175, 1);
  --dur-1: 150ms;
  --dur-2: 300ms;
  --dur-3: 600ms;
  --dur-4: 900ms;
}


@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #0c0b0a;
    --ground-2: #171513;
    --ink: #efebe4;
    --ink-2: #bdb8ae;
    --ink-3: #8f8a80;
    --ground-rgb: 12 11 10;
    --ink-rgb: 239 235 228;
    --accent: #d4707c;
    --accent-rgb: 212 112 124;
    --wash-a: rgb(var(--accent-rgb) / 0.14);
    --wash-b: rgb(196 152 98 / 0.12);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ground: #0c0b0a;
  --ground-2: #171513;
  --ink: #efebe4;
  --ink-2: #bdb8ae;
  --ink-3: #8f8a80;
  --ground-rgb: 12 11 10;
  --ink-rgb: 239 235 228;
  --accent: #d4707c;
  --accent-rgb: 212 112 124;
  --wash-a: rgb(var(--accent-rgb) / 0.14);
  --wash-b: rgb(196 152 98 / 0.12);
}
:root[data-theme="light"] {
  color-scheme: light;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--ground);
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ground);
  color: var(--ink);
  font: 400 var(--fs-base) / var(--lh-body) var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip; 
}
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
}
ul[role="list"], ol[role="list"] {
  list-style: none;
  padding: 0;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
button, input, select, textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: from-font;
}
::selection {
  background: var(--ink);
  color: var(--ground);
}
:target {
  scroll-margin-top: 5rem;
}


.display {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: var(--lh-display);
  letter-spacing: var(--track-display);
  text-wrap: balance;
}
.h1 {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 800;
  line-height: var(--lh-display);
  letter-spacing: var(--track-display);
  text-wrap: balance;
}
.h2 {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: var(--lh-snug);
  letter-spacing: var(--track-tight);
  text-wrap: balance;
}
.h3 {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: var(--lh-snug);
  letter-spacing: var(--track-tight);
  text-wrap: balance;
}
.lede {
  font-size: var(--fs-md);
  line-height: 1.4;
  color: var(--ink-2);
  max-width: 34ch;
  text-wrap: pretty;
}
.body {
  max-width: var(--measure);
  color: var(--ink-2);
  text-wrap: pretty;
}
.small {
  font-size: var(--fs-sm);
  color: var(--ink-3);
}
.caps {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--ink-3);
}
.tnum {
  font-variant-numeric: tabular-nums;
}


.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.band {
  padding-block: var(--sp-section);
}
.wash {
  background: var(--wash), var(--ground);
}
.rule {
  height: 1px;
  border: 0;
  background: var(--rule);
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0 1.5rem;
  border: 1px solid var(--ink);
  border-radius: var(--r-2);
  background: var(--ink);
  color: var(--ground);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-out);
}
.btn:hover {
  background: transparent;
  color: var(--ink);
}
.btn:active {
  transform: translateY(1px);
}
.btn--quiet {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-strong);
}
.btn--quiet:hover {
  border-color: var(--ink);
  background: transparent;
}


:focus {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--ground);
  border-radius: var(--r-1);
}
.btn:focus-visible {
  border-radius: var(--r-2);
}


.gg-corner {
  position: fixed;
  z-index: 2147483000;
  left: max(12px, env(safe-area-inset-left));
  bottom: max(12px, env(safe-area-inset-bottom));
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-2);
  background: rgb(var(--ground-rgb) / 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  color: var(--ink);
  font: 500 12px / 1 var(--font-sans);
  letter-spacing: 0.01em;
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .gg-corner {
    background: rgb(var(--ground-rgb) / 0.72);
  }
}
.gg-corner a {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out);
}
.gg-corner a + a {
  border-left: 1px solid var(--rule);
}
.gg-corner a:hover {
  background: var(--ink);
  color: var(--ground);
}
.gg-corner a:focus-visible {
  outline-offset: -3px;
  box-shadow: none;
}
@media (pointer: coarse) {
  .gg-corner a {
    min-height: 44px;
  }
}


.cam {
  position: relative;
  height: auto;
}
.cam-stage {
  position: relative;
  background: var(--ground);
}
.cam-media {
  position: relative;
  height: clamp(18rem, 70svh, 60rem);
  overflow: clip;
  background: var(--ground-2);
}
.cam-canvas,
.cam-poster,
.cam-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.cam-media[data-ready] .cam-poster {
  visibility: hidden;
}
.cam-copy {
  position: relative;
  display: block;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: var(--sp-6) var(--gutter) var(--sp-8);
  color: var(--ink);
}
.cam-ch {
  max-width: var(--measure);
  margin-bottom: var(--sp-6);
}
.cam-scrim {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .js .cam {
    height: calc(var(--cam-length, 4) * 100vh);
    height: calc(var(--cam-length, 4) * 100svh);
  }
  .js .cam-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    overflow: clip;
  }
  .js .cam-media {
    position: absolute;
    inset: 0;
    height: auto;
  }
  
  .js .cam-copy {
    position: absolute;
    inset: 0;
    max-width: none;
    margin-inline: 0;
    display: grid;
    align-content: end;
    padding: var(--gutter);
    
    padding-bottom: calc(max(var(--gutter), env(safe-area-inset-bottom)) + 3.25rem);
    color: var(--copy-ink, var(--ink));
    pointer-events: none;
  }
  .js .cam-copy > * {
    pointer-events: auto;
  }
  .js .cam-ch {
    margin-bottom: 0;
  }
  
  .js .cam-stage[data-tone="dark"] {
    --copy-ink: #f4f1ea;
  }
  .js .cam-scrim {
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to top, rgb(0 0 0 / var(--scrim, 0.5)), rgb(0 0 0 / 0) 58%);
  }
  
  .js .cam:not(.cam-js) .cam-ch {
    opacity: 0;
    animation: cam-ch-failsafe 0s linear 6s forwards;
  }
  @keyframes cam-ch-failsafe {
    to { opacity: 1; }
  }
  
  .js .cam-js .cam-ch {
    opacity: 0;
    transform: translate3d(0, 1.1rem, 0);
    transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-4) var(--ease-out);
  }
  .js .cam-js .cam-ch[data-state="in"] {
    opacity: 1;
    transform: none;
  }
  .js .cam-js .cam-ch[data-state="after"] {
    opacity: 0;
    transform: translate3d(0, -0.8rem, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
