
:root {
  --ink: #101214;
  --paper: #F2F0EA;
  --steel: #B9BEC1;
  --slate: #30373B;
  --signal: #C32E25;
  --oxide: #8F211D;
  --line: #595F61;
  --white: #FFFEFA;
  --display: 'Barlow Condensed', sans-serif;
  --body: 'IBM Plex Sans', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
  --shell: 1280px;
  --gutter: clamp(1rem, 3vw, 4rem);

  --section-space: clamp(3.5rem, 8vw, 9rem);
  --row-space: 1.25rem;
  --hairline: 1px;
  --rule: 4px;
  --focus: 0 0 0 3px var(--paper), 0 0 0 6px var(--signal);
  --shadow-paper: 0 1rem 2.5rem rgba(16, 18, 20, .14);
  --ease-standard: cubic-bezier(.2, .75, .25, 1);
  --ease-spring: cubic-bezier(.18, 1.35, .34, 1);
  --ease-sharp: cubic-bezier(.7, 0, .3, 1);
  --duration-fast: 160ms;
  --duration-base: 260ms;
  --duration-slow: 600ms;
  --measure: 70ch;
  --space-1: .375rem;
  --space-2: .625rem;
  --space-3: .875rem;
  --space-4: 1.25rem;
  --space-5: 1.75rem;
  --space-6: 2.5rem;
  --space-7: 3.5rem;
  --space-8: 5rem;
  --space-9: 7rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); color: var(--slate); font-size: 100%; scroll-behavior: smooth; scroll-padding-block-start: 6rem; }
body { min-width: 320px; margin: 0; background: var(--paper); color: var(--slate); font-family: var(--body); font-size: 1rem; line-height: 1.62; text-rendering: optimizeLegibility; }
img, picture, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .14em; }
:focus:not(:focus-visible) { outline: 0; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 4px; }
::selection { background: var(--signal); color: var(--white); }

h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--display); font-weight: 700; line-height: .96; letter-spacing: -.018em; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 8vw, 7.8rem); max-width: 10ch; }
h2 { font-size: clamp(2.25rem, 5vw, 5rem); max-width: 13ch; }
h3 { font-size: clamp(1.75rem, 3vw, 3rem); max-width: 18ch; }
h4 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
p { max-width: var(--measure); }
.lede { font-size: clamp(1.1rem, 1.8vw, 1.45rem); line-height: 1.4; max-width: 44ch; }
.small-copy { font-size: .9rem; line-height: 1.5; }
.mono, .eyebrow, .coordinate, .meta, .label { font-family: var(--mono); }
.eyebrow, .label { color: var(--signal); font-size: .72rem; font-weight: 600; letter-spacing: .13em; line-height: 1.35; text-transform: uppercase; }
.eyebrow::before { content: '// '; color: var(--line); }
.rule-text { font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }

.shell { width: min(100% - (var(--gutter) * 2), var(--shell)); margin-inline: auto; }
.full-bleed { width: 100%; }
.flow > * + * { margin-block-start: var(--flow-space, 1.25rem); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); }
.split { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--space-5); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2.5rem); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 4vw, 4rem); }
.stack-section { padding-block: var(--section-space); border-top: var(--rule) solid var(--ink); }
.dark-band { background: var(--ink); color: var(--paper); }
.dark-band h1, .dark-band h2, .dark-band h3, .dark-band h4 { color: var(--paper); }
.dark-band a { color: var(--paper); }
.dark-band .eyebrow, .dark-band .signal-text, .method-section .step-number, .method-section .coordinate, .next-step-band .eyebrow { color: #FF8178; }
.dark-band .coordinate, .method-section .coordinate { color: var(--steel); }
.steel-band .eyebrow, .photo-guidance .eyebrow { color: var(--oxide); }
.signal-text { color: var(--signal); }
.paper-band { background: var(--paper); }
.steel-band { background: var(--steel); }
.coordinate { color: var(--line); font-size: .72rem; letter-spacing: .08em; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; transform: translateY(-200%); padding: .8rem 1rem; background: var(--signal); color: var(--white); font-family: var(--mono); font-size: .78rem; text-transform: uppercase; }
.skip-link:focus { transform: translateY(0); }
.icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; fill: currentColor; }

.prose { max-width: 72ch; }
.prose > * + * { margin-block-start: 1.2em; }
.prose h2 { margin-block-start: 2em; }

.prose h3 { margin-block-start: 1.5em; }
.prose ul, .prose ol { padding-inline-start: 1.3rem; list-style: square; }
.prose ol { list-style: decimal; }
.prose li + li { margin-block-start: .5rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { border-inline-start: .3rem solid var(--signal); padding-inline-start: 1.25rem; color: var(--ink); font-family: var(--display); font-size: 1.55rem; line-height: 1.1; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: .8rem .5rem; text-align: left; vertical-align: top; }
.prose th { color: var(--ink); font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 767px) {
  .grid-12, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .shell { width: min(100% - 2rem, var(--shell)); }
  .stack-section { padding-block: 3.5rem; }
  h1 { max-width: 11ch; }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .grid-12 { gap: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


:root {

  --measure-narrow: 48ch;
  --measure-wide: 88ch;
  --gutter-tight: clamp(.75rem, 2vw, 2rem);
  --border-strong: 2px solid var(--ink);
  --border-signal: 2px solid var(--signal);
  --baseline: 1.5rem;
}

main { display: block; overflow: clip; }
section, article, aside, header, footer, nav, form, figure { min-width: 0; }
address { font-style: normal; }
hr { height: 1px; margin: 0; border: 0; background: var(--line); }
small { font-size: .875em; }
sub, sup { position: relative; font-size: .7em; line-height: 0; vertical-align: baseline; }
sup { top: -.5em; }
sub { bottom: -.25em; }

.type-display { font-family: var(--display); font-weight: 700; line-height: .96; letter-spacing: -.02em; }
.type-body { font-family: var(--body); }
.type-mono { font-family: var(--mono); }
.text-measure { max-width: var(--measure); }
.text-narrow { max-width: var(--measure-narrow); }
.text-wide { max-width: var(--measure-wide); }
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }
.uppercase { text-transform: uppercase; letter-spacing: .1em; }
.muted { color: var(--line); }
.on-dark { color: var(--paper); }
.on-dark .muted { color: var(--steel); }

.inset-rule { padding-inline-start: 1rem; border-inline-start: 3px solid var(--signal); }
.top-rule { border-top: var(--border-strong); }
.bottom-rule { border-bottom: 1px solid var(--line); }
.pad-inline { padding-inline: var(--gutter); }
.pad-block { padding-block: var(--section-space); }
.pad-tight { padding-block: var(--space-5); }

[hidden] { display: none !important; }
:where(a, button, input, select, textarea, summary) { touch-action: manipulation; }
summary { cursor: pointer; }
summary::-webkit-details-marker { color: var(--signal); }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; }
input::placeholder, textarea::placeholder { color: #5D6365; opacity: 1; }
input:disabled, textarea:disabled, select:disabled, button:disabled { cursor: not-allowed; opacity: .55; }

@media (min-width: 1200px) {
  body { font-size: 1.05rem; }
  .shell { width: min(100% - (var(--gutter) * 2), var(--shell)); }
}
@media (max-width: 420px) {
  html { font-size: 95%; }
  .cluster { align-items: stretch; }
  .cluster > * { max-width: 100%; }
  .button, .button-primary, .button-secondary, .button-quiet { width: 100%; }
}
