/* hoult.co: Night shift.
   A night over the Arkansas hills: blue-black sky over woods and fog, teal and violet, ember for the
   things you can act on. The dome's three strut lengths take one color each (A ember,
   B violet, C teal). Writing is read by lamplight: warm dark and parchment, in Newsreader.
   Fraunces (soft, at its heaviest) for display, Geist for everything else. */

@font-face { font-family: 'Fraunces'; src: url('fonts/fraunces-var.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('fonts/geist-var.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('fonts/newsreader-var.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }

:root {
  --font-display: 'Fraunces', Georgia, serif;   /* every display heading */
  --night: #070a1a;
  --night-raised: #0e1329;
  --line: rgb(170 182 230 / 0.16);
  --text: #eceffa;
  --text-dim: #a3abc8;
  --ember: #ff8c55;
  --violet: #ae95ff;
  --teal: #52ebc9;
  --strut-a: var(--ember);
  --strut-b: var(--violet);
  --strut-c: var(--teal);
  --dome-ink: #f4f6ff;

  --lamp: #150e08;
  --parchment: #f2e0c1;
  --parchment-dim: #c9b393;
  --amber: #ffb866;
  --rust: #e8773d;
  --wheat: #f3e3c0;

  --gutter: clamp(16px, 4vw, 56px);
  --gap: clamp(16px, 2vw, 28px);
  --max: 1480px;
  --section-space: clamp(96px, 12vw, 184px);
  --text-lead: clamp(1.125rem, 1rem + 0.45vw, 1.375rem);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, canvas, svg, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
::selection { background: var(--violet); color: var(--night); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -100px; z-index: 20; background: var(--text); color: var(--night); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; }

.meta { font-size: 0.9375rem; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.maker { margin-top: 2px; font-size: 0.875rem; color: var(--text-dim); }
.summary { margin-top: 14px; max-width: 48ch; }
.links { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 18px; font-weight: 600; }
.links a { color: var(--ember); }
.swatch { display: inline-block; width: 22px; height: 4px; border-radius: 2px; vertical-align: middle; }
.swatch--a { background: var(--strut-a); box-shadow: 0 0 10px var(--strut-a); }
.swatch--b { background: var(--strut-b); box-shadow: 0 0 10px var(--strut-b); }
.swatch--c { background: var(--strut-c); box-shadow: 0 0 10px var(--strut-c); }

/* ---- Masthead ---- */

.masthead {
  position: fixed; inset: 0 0 auto; z-index: 10;
  background: rgb(7 10 26 / 0.55);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.masthead__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 60px; }
/* The logo (src/logo.mjs): at the top of the page the moon hangs 130px across from the bar, with the
   name in the bar beside it. Once the page scrolls (main.js sets masthead--small) the moon shrinks
   to 48px inside the bar and the name follows it at half size. */
.masthead__home { position: relative; flex: none; width: 310px; height: 60px; text-decoration: none; }
.brand__moon { position: absolute; left: 0; top: 0; width: 130px; height: 130px; overflow: visible; transform-origin: 0 0; transform: translate(0, 16px); }
.brand__name { position: absolute; left: 0; top: 0; height: 60px; display: flex; align-items: center; transform-origin: 0 50%; transform: translateX(154px);
  font-family: var(--font-display); font-weight: 700; font-size: 2.375rem; line-height: 1; letter-spacing: -0.01em; color: var(--parchment); }
.masthead--small .brand__moon { transform: translate(0, 6px) scale(0.3692); }
.masthead--small .brand__name { transform: translateX(60px) scale(0.5); }
@media (prefers-reduced-motion: no-preference) {
  .masthead--ready .brand__moon, .masthead--ready .brand__name { transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
}
.masthead nav { display: flex; gap: clamp(16px, 3vw, 36px); font-size: 0.9375rem; font-weight: 500; }
.masthead nav a { text-decoration: none; color: var(--text-dim); }
.masthead nav a:hover { color: var(--text); }

/* ---- Hero: the night, the name and the dome ---- */

.hero {
  --dome-x: 71%;
  --plateau: 27%;
  --dome-w: min(42vw, 640px);
  position: relative;
  min-height: max(780px, 100svh);
  overflow: hidden;
  background: linear-gradient(#0a1030, #070a1a 70%, #02030a 80%);
}
.hero__sky { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__text { position: relative; z-index: 3; padding-top: clamp(184px, 19vh, 220px); padding-bottom: 64px; pointer-events: none; }
.hero__text > * { pointer-events: auto; }
.hero__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.25rem, 8.4vw, 9.25rem);
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-shadow: 0 0 40px rgb(7 10 26 / 0.6);
}
.hero__name span { display: block; }
.hero__statement { margin-top: clamp(20px, 3vw, 32px); max-width: 26ch; font-size: var(--text-lead); color: var(--text-dim); }

.hero__dome { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero__dome canvas {
  position: absolute;
  width: var(--dome-w);
  aspect-ratio: 1 / 0.86;
  left: calc(var(--dome-x) - var(--dome-w) / 2);
  /* the dome's base sits 24% up the canvas: put it on the plateau */
  bottom: calc(var(--plateau) - 0.209 * var(--dome-w));
  pointer-events: auto;
  cursor: grab;
  touch-action: pan-y;
}
.hero__dome canvas:active { cursor: grabbing; }
.hero__dome figcaption {
  position: absolute; right: var(--gutter); bottom: clamp(20px, 3vh, 36px);
  max-width: 44ch; pointer-events: auto;
  font-size: 0.875rem; line-height: 1.5; color: var(--text-dim);
}
.dome-legend { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 10px; margin-left: -10px; }
.dome-legend button {
  font: inherit; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums;
  background: none; border: 1px solid transparent; border-radius: 999px;
  padding: 3px 10px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
}
.dome-legend button:hover { border-color: var(--line); }
.dome-legend button[aria-pressed="true"] { border-color: var(--text-dim); }

/* ---- The contact form, beside the dome ---- */

.contact {
  position: relative;
  margin-top: clamp(24px, 3.5vh, 40px);
  width: min(100%, 440px);
  padding: 20px 22px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgb(10 14 34 / 0.55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.contact__title { font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; letter-spacing: -0.02em; line-height: 1.2; }
.contact__note { margin-top: 2px; font-size: 0.875rem; color: var(--text-dim); }
.contact__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.contact label { display: block; margin-top: 12px; font-size: 0.8125rem; font-weight: 500; color: var(--text-dim); }
.contact input, .contact textarea {
  display: block; width: 100%; margin-top: 5px;
  font: inherit; font-size: 1rem; color: var(--text);   /* under 16px, iPhones zoom in on a tap */
  background: rgb(7 10 26 / 0.6); border: 1px solid var(--line); border-radius: 8px;
  padding: 9px 11px;
}
.contact textarea { resize: vertical; min-height: 96px; }
.contact input:focus-visible, .contact textarea:focus-visible { outline: 2px solid var(--teal); outline-offset: 0; border-color: transparent; }
.contact__trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact__check { margin-top: 10px; }
.contact__check:empty { display: none; }
.contact__send { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 14px; }
.contact button {
  font: inherit; font-weight: 650; color: var(--night);
  background: var(--ember); border: 0; border-radius: 999px; padding: 9px 22px; cursor: pointer;
  box-shadow: 0 0 24px rgb(255 140 85 / 0.3);
}
.contact button:hover { background: #ffa274; }
.contact button:disabled { opacity: 0.6; cursor: progress; }
.contact__status { font-size: 0.875rem; color: var(--text-dim); }
.contact__status[data-kind="ok"] { color: var(--teal); }
.contact__status[data-kind="bad"] { color: #ff9f8a; }

/* ---- Section heads ---- */

.section-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  align-items: end;
}
.section-head h2 {
  grid-column: 1 / span 7;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.5rem, 1rem + 5vw, 6.25rem);
  line-height: 0.92; letter-spacing: -0.02em;
}
.section-head__intro { grid-column: 8 / -1; max-width: 46ch; font-size: var(--text-lead); line-height: 1.55; color: var(--text-dim); }

/* ---- About me ---- */

.about { padding-top: var(--section-space); }

.timeline {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 0;
  margin-top: clamp(56px, 7vw, 96px);
}
/* the gutter is padding, not column-gap, so each row's line runs unbroken */
.timeline li { position: relative; padding: 30px var(--gap) 0 0; border-top: 1px solid var(--line); }
.timeline li::before {
  content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 12px var(--teal);
}
.timeline__when { font-family: var(--font-display); font-weight: 700; color: var(--teal); font-size: 1.0625rem; letter-spacing: -0.01em; }
.timeline h3 { margin-top: 6px; font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
.timeline p:not(.timeline__when) { margin-top: 8px; color: var(--text-dim); font-size: 0.9875rem; }
.timeline a { display: inline-block; margin-top: 10px; color: var(--ember); font-weight: 600; font-size: 0.9375rem; }

.strip-intro { margin-top: clamp(72px, 9vw, 128px); color: var(--text-dim); max-width: 60ch; }
.strip {
  display: flex; gap: clamp(12px, 1.5vw, 20px); overflow-x: auto;
  margin-top: 24px;
  padding: 4px max(var(--gutter), (100vw - var(--max)) / 2 + var(--gutter)) 18px;
  scroll-snap-type: x proximity;
  scroll-padding-inline: max(var(--gutter), (100vw - var(--max)) / 2 + var(--gutter));
  scrollbar-color: var(--text-dim) transparent;
  overscroll-behavior-x: contain;
}
.strip.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.strip.is-dragging a { pointer-events: none; }
.strip figure { flex: none; width: min-content; scroll-snap-align: start; }
.strip a { display: block; }
.strip img { height: clamp(220px, 24vw, 330px); width: auto; max-width: none; border-radius: 10px; background: var(--night-raised); -webkit-user-drag: none; user-select: none; }
.strip figcaption { margin-top: 10px; font-size: 0.9375rem; line-height: 1.4; color: var(--text-dim); }

/* ---- Software ---- */

.software { padding-top: var(--section-space); }

.lead { position: relative; margin-top: clamp(48px, 6vw, 88px); }
.lead__media { position: relative; }
/* every project's picture or video links to its code */
.media-link { display: block; }
.media-link:hover :is(img, video) { filter: brightness(1.08); }
.lead__media video { width: 100%; height: auto; aspect-ratio: 2 / 1; max-height: 86vh; object-fit: cover; background: var(--night-raised); }
.lead__media::after {
  content: ''; position: absolute; inset: 40% 0 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgb(7 10 26 / 0.92));
}
.lead__text { position: absolute; inset: auto 0 clamp(24px, 4vw, 56px); z-index: 1; pointer-events: none; }
.lead__text a { pointer-events: auto; }   /* the rest of a click on the words reaches the video's link */
.lead__name {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(4rem, 2rem + 9vw, 11rem); line-height: 0.85; letter-spacing: -0.02em;
}
.lead__text .meta { margin-top: 12px; color: var(--text); opacity: 0.8; }
.lead__text .maker { color: var(--text); opacity: 0.8; }
.lead__text .summary { max-width: 58ch; font-size: var(--text-lead); }

.split {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  align-items: center;
  margin-top: clamp(80px, 10vw, 152px);
}
.split__media { grid-column: 1 / span 7; }
.split__text { grid-column: 8 / -1; padding-left: clamp(0px, 2vw, 32px); }
.split:nth-of-type(even) .split__media { grid-column: 6 / -1; grid-row: 1; }
.split:nth-of-type(even) .split__text { grid-column: 1 / span 5; grid-row: 1; padding-left: 0; }
.split__media img, .split__media video { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); }
.split__media--pendulum { display: grid; place-items: center; background: #0d1117; border-radius: 16px; border: 1px solid var(--line); padding: clamp(16px, 3vw, 40px); }
.split__media--pendulum img { width: min(100%, 440px); border: 0; }

.project-name { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.split .project-name { font-size: clamp(2.25rem, 1.2rem + 3vw, 4.5rem); margin-bottom: 12px; }

.tiles {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(56px, 6vw, 88px) var(--gap);
  margin-top: clamp(96px, 11vw, 168px);
}
.tiles--two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
.tile__media { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--night-raised); margin-bottom: 22px; }
.tile__media img, .tile__media video { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
.tile .project-name { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); margin-bottom: 6px; }
.tile--text { padding-top: 22px; border-top: 1px solid var(--line); align-self: start; }
.credit { margin-top: 10px; font-size: 0.8125rem; line-height: 1.5; color: var(--text-dim); }

.experiments { margin-top: clamp(112px, 12vw, 184px); }
.experiments .split { margin-top: 40px; }
.subhead { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.75rem, 1rem + 2.6vw, 3.25rem); letter-spacing: -0.02em; line-height: 1; }
.subhead__intro { margin-top: 12px; color: var(--text-dim); }

/* ---- Writing: by lamplight ---- */

.writing {
  --strut-a: var(--amber);
  --strut-b: var(--rust);
  --strut-c: var(--wheat);
  margin-top: var(--section-space);
  padding-block: var(--section-space);
  color: var(--parchment);
  background:
    radial-gradient(900px 520px at 12% 0%, rgb(255 184 102 / 0.16), transparent 70%),
    radial-gradient(700px 500px at 100% 100%, rgb(232 119 61 / 0.08), transparent 70%),
    var(--lamp);
}
.writing :focus-visible { outline-color: var(--amber); }
.writing .section-head h2 { font-family: 'Newsreader', Georgia, serif; font-weight: 400; letter-spacing: -0.035em; font-size: clamp(3rem, 1.6rem + 5.6vw, 7.5rem); }
.writing .section-head__intro { font-family: 'Newsreader', Georgia, serif; color: var(--parchment-dim); font-size: clamp(1.25rem, 1.08rem + 0.55vw, 1.5rem); }
.button {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--amber); color: var(--lamp) !important; text-decoration: none; font-family: 'Geist', sans-serif; font-weight: 650; font-size: 1rem;
  box-shadow: 0 0 32px rgb(255 184 102 / 0.25);
}
.button:hover { background: #ffc985; }
.swatch--a, .swatch--b, .swatch--c { box-shadow: none; }
.hero .swatch--a { box-shadow: 0 0 10px var(--strut-a); }
.hero .swatch--b { box-shadow: 0 0 10px var(--strut-b); }
.hero .swatch--c { box-shadow: 0 0 10px var(--strut-c); }

.chart { margin-top: clamp(56px, 7vw, 96px); }
.chart__bars { width: 100%; height: clamp(120px, 14vw, 190px); shape-rendering: crispEdges; }
.bar--a { fill: var(--amber); }
.bar--b { fill: var(--rust); }
.bar--c { fill: var(--wheat); }
.chart__years {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  border-top: 1px solid rgb(242 224 193 / 0.5); padding-top: 6px;
  font-size: 0.8125rem; color: var(--parchment-dim); font-variant-numeric: tabular-nums; text-align: center;
}
/* Each year's cell may be narrower than its label; on phones only every fifth label shows. */
.chart__years li { min-width: 0; white-space: nowrap; }
.chart figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: 16px; font-size: 0.9375rem; color: var(--parchment-dim); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 24px; color: var(--parchment); font-weight: 500; }
.legend li { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }

.groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px var(--gap); margin-top: clamp(64px, 8vw, 112px); }
.group h3 { font-family: 'Newsreader', Georgia, serif; font-size: 1.625rem; font-weight: 500; line-height: 1.2; padding-bottom: 12px; border-bottom: 1px solid rgb(242 224 193 / 0.5); }
.group li { border-bottom: 1px solid rgb(242 224 193 / 0.14); }
.group a { display: block; padding: 14px 0 15px; text-decoration: none; }
.piece__title { display: block; font-family: 'Newsreader', Georgia, serif; font-size: 1.25rem; line-height: 1.3; text-wrap: pretty; }
.group a:hover .piece__title { color: var(--amber); }
.group .meta { display: block; margin-top: 4px; color: var(--parchment-dim); font-size: 0.875rem; }

/* ---- Footer ---- */

.colophon { padding: clamp(72px, 9vw, 128px) 0 36px; }
.colophon__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); letter-spacing: -0.02em; line-height: 1;
}
.colophon__links {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--gap);
  margin-top: clamp(28px, 4vw, 48px);
}
/* each place is one link: its name, its address, and what is there */
.colophon__links a {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 18px 0 22px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 0.15s;
}
.colophon__name { font-family: var(--font-display); font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.colophon__host { font-size: 0.875rem; color: var(--teal); }
.colophon__what { margin-top: 6px; font-size: 0.9375rem; line-height: 1.45; color: var(--text-dim); max-width: 28ch; }
.colophon__links a:hover, .colophon__links a:focus-visible { border-top-color: var(--teal); }
.colophon__links a:hover .colophon__name { color: var(--teal); }
.colophon__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px;
  margin-top: clamp(56px, 7vw, 96px); padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem; color: var(--text-dim);
}

.missing { padding-block: clamp(140px, 18vw, 240px) 120px; }
.missing__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 8vw, 7rem); letter-spacing: -0.02em; line-height: 0.9; margin-bottom: 24px; }
.missing p { font-size: var(--text-lead); max-width: 40ch; color: var(--text-dim); }
.missing a { color: var(--ember); }

/* ---- Narrower screens ---- */

@media (max-width: 1100px) {
  .colophon__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { width: min(100%, 44vw); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
}

@media (max-width: 900px) {
  /* on phones the form comes first and the dome stands on a ground line a fixed height up */
  .hero { --dome-x: 50%; --dome-w: min(94vw, 560px); --plateau: 200px; }
  .hero__text { padding-bottom: calc(var(--plateau) + var(--dome-w) * 0.6 + 40px); }
  .contact { width: 100%; max-width: 480px; }
  /* "Brandon" is 4.2em wide in Fraunces: this fills the width and keeps it inside the gutters down to 320px */
  .hero__name { font-size: clamp(2.5rem, 21vw - 4px, 8rem); }
  .hero__dome figcaption { left: var(--gutter); right: var(--gutter); max-width: none; bottom: 18px; }
  .section-head h2, .section-head__intro { grid-column: 1 / -1; }
  .section-head__intro { margin-top: 20px; }
  .lead__text { position: static; padding-top: 24px; }
  .lead__media::after { display: none; }
  .split__media, .split__text, .split:nth-of-type(even) .split__media, .split:nth-of-type(even) .split__text { grid-column: 1 / -1; grid-row: auto; }
  .split__text { margin-top: 24px; }
}

@media (max-width: 680px) {
  .colophon__links { grid-template-columns: minmax(0, 1fr); }
  .colophon__links a { padding: 14px 0 16px; }
  .masthead__home { width: 88px; }
  .brand__name { display: none; }
  .brand__moon { transform: translate(0, 8px) scale(0.6769); }
  .masthead--small .brand__moon { transform: translate(0, 8px) scale(0.3385); }
  .hero__text { padding-top: clamp(124px, 19vh, 220px); }
  .masthead nav { flex: 1; justify-content: space-between; }
  .tiles, .tiles--two, .groups { grid-template-columns: minmax(0, 1fr); }
  .timeline { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .timeline li { padding-right: 0; }
  .chart__years li:not(:nth-child(5n + 1)) { visibility: hidden; }
}
