@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/assets/fonts/jost-variable.woff2") format("woff2");
}

:root {
  --ink: #171717;
  --ink-soft: #2b2926;
  --cream: #f3eee6;
  --paper: #faf7f2;
  --sand: #e8e0d4;
  --hanger: #efe7dc;
  --muted: #6d665e;
  --muted-on-ink: #a79f94;
  --line: rgba(23, 23, 23, 0.12);
  --line-on-ink: rgba(239, 231, 220, 0.16);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Jost", "Futura", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 350;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--ink);
  color: var(--hanger);
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--hanger);
  border-radius: 999px;
}
.skip:focus {
  left: 12px;
}

/* Type */

.eyebrow {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.display {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.3rem, 8.4vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
}

.h2 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 4.6vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.display em,
.h2 em,
.quote em {
  font-style: italic;
}

.lede {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

.body {
  margin: 0 0 20px;
  max-width: 44ch;
  color: var(--ink-soft);
}

.fine {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(243, 238, 230, 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand svg {
  width: 30px;
  height: auto;
}
.brand span {
  font-family: var(--serif);
  font-size: 27px;
  letter-spacing: -0.01em;
  line-height: 1;
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.lang {
  display: inline-flex;
  gap: 2px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
}
.lang a {
  padding: 6px 7px;
  text-decoration: none;
  color: var(--muted);
  border-radius: 6px;
}
.lang a[aria-current="true"] {
  color: var(--ink);
  text-decoration: underline;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--hanger);
  font: 500 15px/1 var(--sans);
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background-color 0.3s, color 0.3s;
}
.btn:hover {
  transform: translateY(-1px);
  background: var(--ink-soft);
}
.btn svg {
  width: 16px;
  height: 16px;
}
.btn--small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 13px;
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--hanger);
}
.on-ink .btn {
  background: var(--hanger);
  border-color: var(--hanger);
  color: var(--ink);
}
.on-ink .btn:hover {
  background: #fff;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 18px 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(250, 247, 242, 0.6);
  color: var(--ink);
}
.store svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.store span {
  display: grid;
  line-height: 1.15;
}
.store small {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.store b {
  font-weight: 450;
  font-size: 15px;
}
.on-ink .store {
  border-color: var(--line-on-ink);
  background: transparent;
  color: var(--hanger);
}
.on-ink .store small {
  color: var(--muted-on-ink);
}

/* Hero */

.hero {
  position: relative;
  padding: clamp(28px, 6vw, 80px) 0 clamp(72px, 10vw, 140px);
  overflow: clip;
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.hero-copy .lede {
  margin-top: 32px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
}
.hero-copy .fine {
  margin-top: 22px;
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 420px);
  padding: 0 0 0 56px;
}
.frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 40px 80px -40px rgba(23, 23, 23, 0.45),
    0 18px 36px -24px rgba(23, 23, 23, 0.3);
}
.frame video,
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame--tall {
  aspect-ratio: 406 / 720;
}
.tile {
  position: absolute;
  width: 42%;
  padding: 8px 8px 12px;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 24px 50px -26px rgba(23, 23, 23, 0.5);
}
.tile img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}
.tile figcaption {
  margin-top: 10px;
  padding: 0 4px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.tile--a {
  top: 12%;
  left: 0;
  transform: rotate(-4deg);
}
.tile--b {
  bottom: 14%;
  left: -4%;
  transform: rotate(3deg);
}
.tile--b img {
  object-position: 50% 30%;
}

/* Manifesto */

.manifesto {
  padding: clamp(40px, 8vw, 110px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.quote {
  margin: 0 auto;
  max-width: 21ch;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5.6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

/* Chapters */

.chapter {
  padding: clamp(80px, 12vw, 170px) 0;
}
.chapter .wrap {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
}
.chapter-media {
  grid-column: 1 / span 6;
}
.chapter-copy {
  grid-column: 8 / span 5;
}
.chapter--flip .chapter-media {
  grid-column: 7 / span 6;
  grid-row: 1;
}
.chapter--flip .chapter-copy {
  grid-column: 1 / span 5;
  grid-row: 1;
}

.num {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 26px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.num b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0;
  color: var(--ink);
}
.num::after {
  content: "";
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
  transform: translateY(-4px);
}

.ticks {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}
.ticks li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.ticks li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-2px);
}
.on-ink .ticks li {
  border-color: var(--line-on-ink);
}

.frame--square {
  aspect-ratio: 1;
}

/* Compose collage */

.collage {
  position: relative;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 40px 80px -48px rgba(23, 23, 23, 0.45);
}
.collage-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}
.collage-head strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
}
.collage-head span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.collage-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.collage-board figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--sand);
}
.collage-board img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.collage-board .piece-top {
  aspect-ratio: 1;
}
.collage-board .piece-bottom {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 11;
}
.collage-board .piece-bottom img {
  object-position: 50% 42%;
}

.week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-top: 22px;
}
.week span {
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 10px 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.week span::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line);
}
.week .is-set::after {
  background: var(--muted);
}
.week .is-today {
  border-color: var(--ink);
  color: var(--ink);
}
.week .is-today::after {
  background: var(--ink);
}

/* Try on me (dark cinematic) */

.on-ink {
  background: var(--ink);
  color: var(--hanger);
}
.on-ink .eyebrow,
.on-ink .num,
.on-ink .fine {
  color: var(--muted-on-ink);
}
.on-ink .num b {
  color: var(--hanger);
}
.on-ink .body,
.on-ink .lede {
  color: #d9d1c6;
}

.tryon {
  position: relative;
  overflow: clip;
}
.tryon::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(239, 231, 220, 0.1), transparent);
  pointer-events: none;
}
.equation {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) auto minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
}
.eq-inputs {
  display: grid;
  gap: 12px;
}
.eq-inputs figure,
.eq-result {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #242220;
}
.eq-inputs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.eq-inputs figure:last-child img {
  object-position: 50% 30%;
}
.eq-result {
  border-radius: var(--radius);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.8);
}
.eq-result img {
  width: 100%;
  aspect-ratio: 406 / 620;
  object-fit: cover;
  object-position: 50% 20%;
}
.chip {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(250, 247, 242, 0.86);
  color: var(--ink);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eq-arrow {
  width: 34px;
  height: 34px;
  color: var(--muted-on-ink);
}

.sources {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 30px;
}
.source {
  padding: 16px 18px;
  border: 1px solid var(--line-on-ink);
  border-radius: 14px;
}
.source strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 450;
}
.source span {
  font-size: 14px;
  color: var(--muted-on-ink);
}

/* Weather */

.weather-card {
  position: relative;
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 40px 80px -48px rgba(23, 23, 23, 0.45);
}
.wx-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.wx-place {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.wx-temp {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.wx-kind {
  font-size: 15px;
  color: var(--ink-soft);
}
.wx-icon {
  width: 56px;
  height: 56px;
  color: var(--ink);
}
.wx-note {
  margin: 20px 0 18px;
  font-size: 15px;
  color: var(--ink-soft);
}
.wx-outfit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.wx-outfit img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.wx-outfit img:last-child {
  object-position: 50% 30%;
}

.trip {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}
.trip svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.trip div {
  flex: 1;
  display: grid;
  line-height: 1.3;
}
.trip strong {
  font-weight: 450;
}
.trip small {
  font-size: 13px;
  color: var(--muted);
}
.trip em {
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Also */

.also {
  padding: 0 0 clamp(80px, 12vw, 160px);
}
.also-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.also-grid article {
  padding: 32px 32px 0 0;
}
.also-grid article + article {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}
.also-grid h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
}
.also-grid p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}

/* Dressing+ */

.plus {
  padding: clamp(80px, 12vw, 160px) 0;
  background: var(--sand);
}
.plus-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.plus-mark {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}
.plus-mark .h2 {
  margin: 0;
}
.plus .fine {
  margin-top: 18px;
}
.pill {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.plan {
  padding: 28px 26px 30px;
  border-radius: var(--radius);
  background: var(--paper);
}
.plan--plus {
  background: var(--ink);
  color: var(--hanger);
}
.plan h3 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1;
}
.plan ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}
.plan li {
  display: flex;
  gap: 12px;
}
.plan li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 1px;
  margin-top: 0.8em;
  background: currentColor;
  opacity: 0.6;
}

/* Waitlist */

.waitlist {
  padding: clamp(96px, 14vw, 190px) 0;
  text-align: center;
}
.waitlist .hanger-xl {
  width: clamp(90px, 12vw, 150px);
  height: auto;
  margin: 0 auto 40px;
}
.waitlist .h2 {
  font-size: clamp(3rem, 7vw, 6.4rem);
}
.waitlist .lede {
  margin: 0 auto;
}
.waitlist .hero-actions {
  justify-content: center;
}

/* Footer */

.site-footer {
  padding: 56px 0 44px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 36px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-left: auto;
}
.site-footer a {
  text-decoration: none;
  color: var(--ink-soft);
}
.site-footer a:hover {
  text-decoration: underline;
}
.site-footer .fine {
  width: 100%;
}
.site-footer .brand svg {
  width: 24px;
}
.site-footer .brand span {
  font-size: 22px;
}

/* Documents (privacy, support) */

.doc-hero {
  padding: clamp(40px, 8vw, 110px) 0 clamp(32px, 5vw, 64px);
}
.doc-hero .display {
  font-size: clamp(3rem, 7vw, 6rem);
}
.doc-hero .lede {
  margin-top: 26px;
  max-width: 46ch;
}
.doc-hero .fine {
  margin-top: 18px;
}
.doc {
  padding-bottom: clamp(80px, 10vw, 140px);
}
.doc .wrap {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 720px);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.toc {
  position: sticky;
  top: 104px;
  font-size: 14px;
}
.toc ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}
.toc li {
  counter-increment: toc;
  display: flex;
  gap: 12px;
}
.toc li::before {
  content: counter(toc, decimal-leading-zero);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  transform: translateY(3px);
}
.toc a {
  text-decoration: none;
  color: var(--ink-soft);
}
.toc a:hover {
  text-decoration: underline;
}

.prose {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.prose h2 {
  margin: 64px 0 16px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin: 30px 0 8px;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--ink);
}
.prose p,
.prose ul {
  margin: 0 0 16px;
}
.prose ul {
  padding-left: 20px;
}
.prose li + li {
  margin-top: 6px;
}
.prose strong {
  font-weight: 500;
  color: var(--ink);
}
.prose table {
  width: 100%;
  margin: 8px 0 20px;
  border-collapse: collapse;
  font-size: 15px;
}
.prose th,
.prose td {
  padding: 12px 14px 12px 0;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.prose th {
  font-weight: 500;
  color: var(--ink);
}
.prose thead th {
  border-top: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.summary {
  margin: 0 0 56px;
  padding: 28px 30px;
  border-radius: var(--radius);
  background: var(--paper);
}
.summary h2 {
  margin: 0 0 16px;
  font-size: 1.9rem;
}
.summary ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.summary li {
  position: relative;
  padding-left: 20px;
}
.summary li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

.faq details {
  border-top: 1px solid var(--line);
}
.faq details:last-of-type {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  line-height: 1.15;
  color: var(--ink);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 26px;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details > div {
  padding: 0 0 24px;
  max-width: 60ch;
}

.contact-card {
  margin-top: 56px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--hanger);
}
.contact-card h2 {
  margin: 0 0 10px;
  color: var(--hanger);
}
.contact-card p {
  color: #d9d1c6;
}
.contact-card .mail {
  display: inline-block;
  margin: 8px 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  color: var(--hanger);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  word-break: break-word;
}

/* 404 */

.lost {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
}
.lost .hanger-xl {
  width: 110px;
  margin: 0 auto 32px;
}
.lost .lede {
  margin: 0 auto 6px;
}
.lost .hero-actions {
  justify-content: center;
}

/* Motion */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal-delay {
  transition-delay: 0.12s;
}
.reveal-delay-2 {
  transition-delay: 0.24s;
}
.no-js .reveal {
  opacity: 1;
  transform: none;
}

.hero .display .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}
.hero .display .line > span {
  display: block;
  animation: rise 1.3s var(--ease) both;
}
.hero .display .line:nth-child(2) > span {
  animation-delay: 0.12s;
}
@keyframes rise {
  from {
    transform: translateY(105%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero .display .line > span {
    animation: none;
  }
  .tile {
    transition: none;
  }
}

/* Responsive */

@media (max-width: 1080px) {
  .nav {
    display: none;
  }
  .lang {
    margin-left: auto;
  }
}

@media (max-width: 900px) {
  .hero .wrap,
  .plus-card {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    width: min(100%, 380px);
    margin-top: 12px;
  }
  .chapter .wrap {
    grid-template-columns: 1fr;
  }
  .chapter-media,
  .chapter-copy,
  .chapter--flip .chapter-media,
  .chapter--flip .chapter-copy {
    grid-column: 1;
    grid-row: auto;
  }
  .chapter-media {
    order: 2;
  }
  .also-grid {
    grid-template-columns: 1fr;
  }
  .also-grid article,
  .also-grid article + article {
    padding: 28px 0;
    border-left: 0;
  }
  .also-grid article + article {
    border-top: 1px solid var(--line);
  }
  .doc .wrap {
    grid-template-columns: 1fr;
  }
  .toc {
    position: static;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .site-header .wrap {
    height: 64px;
    gap: 14px;
  }
  .brand span {
    font-size: 24px;
  }
  .site-header .btn--small {
    display: none;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .stores {
    width: 100%;
  }
  .store {
    flex: 1;
    min-width: 0;
  }
  .hero-visual {
    padding-left: 40px;
  }
  .plans,
  .sources {
    grid-template-columns: 1fr;
  }
  .equation {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
  .eq-arrow {
    display: none;
  }
  .site-footer nav {
    margin-left: 0;
  }
  .prose thead {
    display: none;
  }
  .prose table,
  .prose tbody,
  .prose tr,
  .prose th,
  .prose td {
    display: block;
  }
  .prose tr {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }
  .prose th,
  .prose td {
    padding: 2px 0;
    border: 0;
  }
  .prose td:last-child {
    color: var(--muted);
  }
}
