@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/inter-tight-300.woff2") format("woff2");
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-tight-400.woff2") format("woff2");
}

:root,
[data-theme="day"] {
  --bg: #f4f4f2;
  --ink: #121314;
  --dim: #3a3c3e;
  --quiet: #5c5e61;
  --line: rgba(18, 19, 20, 0.16);
  --rule: #3d4f6e;
  --nav: #f4f4f2;
  --danger: #8a3a3a;
  --stripe: rgba(18, 19, 20, 0.05);
  --ad-edge: rgba(18, 19, 20, 0.35);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #000;
  --ink: #ededee;
  --dim: #b9babc;
  --quiet: #9a9b9d;
  --line: rgba(237, 237, 238, 0.16);
  --rule: #c5d4ee;
  --nav: #000;
  --danger: #f0d2d2;
  --stripe: rgba(237, 237, 238, 0.04);
  --ad-edge: rgba(237, 237, 238, 0.35);
  color-scheme: dark;
}

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

html { background: var(--bg); scroll-padding-top: 42px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter Tight", "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

body.wp24-has-placement { padding-bottom: 3.2rem; }

a { color: inherit; }

img { max-width: 100%; height: auto; }

.wp24-skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--bg);
  padding: 0.4rem 0.7rem;
}
.wp24-skip:focus { top: 0.5rem; z-index: 5; }

body.admin-bar .wp24-nav { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .wp24-nav { top: 46px; }
}

.wp24-nav {
  position: fixed;
  z-index: 4;
  top: 0;
  left: 0;
  right: 0;
  height: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 6vw;
  background: var(--nav);
}

.wp24-nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 28px;
  background: linear-gradient(var(--nav), transparent);
  pointer-events: none;
}

.wp24-mark {
  font-weight: 400;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.8125rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.15rem;
}

.wp24-nav-links { display: flex; gap: 1.25rem; align-items: center; }
.wp24-nav-links a { text-decoration: none; font-size: 0.8125rem; }
.wp24-nav-order { letter-spacing: 0.08em; text-transform: uppercase; }

.wp24-rail { display: none; }
.wp24-ad-foot { display: none; }

.wp24-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
  padding: 12px;
  border: 1px dashed var(--ad-edge);
  border-radius: 10px;
  background: repeating-linear-gradient(135deg, transparent 0 10px, var(--stripe) 10px 20px);
  color: var(--quiet);
  text-align: center;
  text-decoration: none;
}

.wp24-ad-k { color: var(--ink); font-size: 0.9rem; }
.wp24-ad-s,
.wp24-ad-cta { font-size: 0.75rem; }
.wp24-ad-cta { color: var(--rule); }

.wp24-ad-list { list-style: none; padding: 0; margin: 2rem 0 0; max-width: 36rem; }
.wp24-ad-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 0.9rem 0;
}

@media (min-width: 980px) {
  .wp24-ad-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 20px 0;
  }
  .wp24-ad-foot .wp24-ad { width: 300px; height: 100px; }
}

@media (min-width: 1600px) {
  .wp24-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1180px) minmax(0, 1fr);
    align-items: start;
  }
  .wp24-shell-main { grid-column: 2; grid-row: 1; min-width: 0; }
  .wp24-shell-main .wp24-chapter,
  .wp24-shell-main .wp24-order,
  .wp24-shell-main .wp24-read,
  .wp24-shell-main .wp24-motion-copy { padding-left: 2.5rem; padding-right: 2.5rem; }
  .wp24-rail {
    display: block;
    position: sticky;
    top: 70px;
    grid-row: 1;
    margin-top: 24px;
    z-index: 1;
  }
  .wp24-rail-l { grid-column: 1; justify-self: end; margin-right: 12px; }
  .wp24-rail-r { grid-column: 3; justify-self: start; margin-left: 12px; }
  .wp24-rail .wp24-ad { width: 160px; height: 600px; }
  .wp24-rail .wp24-ad-k {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: 0.08em;
    font-size: 1rem;
  }
  body.admin-bar .wp24-rail { top: 102px; }
}

.wp24-chapter,
.wp24-order,
.wp24-read {
  min-height: 100svh;
  padding: 22vh 6vw 10vh;
  border-top: 1px solid var(--line);
}

.wp24-hero { border-top: 0; display: flex; flex-direction: column; justify-content: flex-end; }

h1, h2, h3, p { margin: 0; }

h1, h2 {
  font-weight: 300;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 14ch;
}

.wp24-kicker,
.wp24-index {
  color: var(--quiet);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.wp24-lede {
  max-width: 38rem;
  color: var(--dim);
  margin-top: 1.25rem;
  font-size: 1.15rem;
}

.wp24-cta,
button.wp24-cta {
  display: inline-flex;
  margin-top: 2rem;
  padding: 0.85rem 1.3rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font: inherit;
  font-weight: 400;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.wp24-cta:hover,
.wp24-cta:focus-visible { background: #fff; color: #121314; }

.wp24-text {
  background: none;
  border: 0;
  color: var(--dim);
  font: inherit;
  cursor: pointer;
  padding: 0.8rem 0;
}

.wp24-specs,
.wp24-plate,
.wp24-sheet,
.wp24-beats {
  display: grid;
  gap: 0;
  margin-top: 2.5rem;
}

.wp24-specs { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 52rem; }
.wp24-specs div,
.wp24-sheet div,
.wp24-plate article {
  border-top: 1px solid var(--line);
  padding: 1rem 1rem 1rem 0;
}
.wp24-specs dt,
.wp24-sheet dt { color: var(--quiet); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.wp24-specs dd,
.wp24-sheet dd { margin: 0.35rem 0 0; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.03em; }

.wp24-plate { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 72rem; }
.wp24-plate h3 { font-weight: 400; font-size: 1rem; letter-spacing: 0.04em; }
.wp24-price { margin-top: 0.8rem; font-size: 1.8rem; letter-spacing: -0.03em; }
.wp24-price span,
.wp24-quiet { display: block; color: var(--quiet); font-size: 0.95rem; letter-spacing: 0; margin-top: 0.35rem; }
.wp24-plate p { margin-top: 0.45rem; }

.wp24-beats { list-style: none; padding: 0; max-width: 28rem; }
.wp24-beats li { border-top: 1px solid var(--line); padding: 0.85rem 0; font-size: 1.35rem; }
.wp24-beats span { color: var(--quiet); margin-right: 0.8rem; }

.wp24-colophon {
  padding: 3rem 6vw 4rem;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.wp24-colophon p { margin: 0.25rem 0; }
.wp24-colophon strong { color: var(--ink); font-weight: 400; }

.wp24-placement {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.7rem 6vw;
  background: var(--nav);
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.85rem;
}

.wp24-order { padding-top: 18vh; }
.wp24-desk { display: grid; grid-template-columns: 14rem 1fr; gap: 3rem; align-items: start; }
.wp24-step-index { list-style: none; padding: 0; margin: 0; position: sticky; top: 6rem; }
.wp24-step-index button {
  background: none;
  border: 0;
  color: var(--quiet);
  font: inherit;
  padding: 0.45rem 0;
  cursor: pointer;
}
.wp24-step-index .is-on { color: var(--ink); }
html.wp24-js .wp24-step:not(.is-current) { display: none; }
.wp24-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.wp24-step legend { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 300; letter-spacing: -0.035em; margin-bottom: 1.4rem; }
.wp24-step label,
.wp24-check-label { display: block; color: var(--quiet); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 1rem 0 0.4rem; }
.wp24-host { display: flex; align-items: baseline; gap: 0.2rem; border-bottom: 1px solid var(--line); }
.wp24-host span { color: var(--quiet); }
input[type="text"],
input[type="email"] {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  padding: 0.4rem 0;
}
.wp24-host input { border-bottom: 0; }
input:focus { outline: 1px solid var(--rule); outline-offset: 4px; }
.wp24-classes { display: grid; gap: 0; }
.wp24-class {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.15rem 1rem;
  border-top: 1px solid var(--line);
  padding: 0.9rem 0;
  cursor: pointer;
}
.wp24-class input { position: absolute; opacity: 0; }
.wp24-class:has(input:checked),
.wp24-class:has(input:focus-visible) { color: var(--ink); background: var(--line); }
.wp24-class-name { font-size: 1.35rem; }
.wp24-class-price { font-size: 1.35rem; }
.wp24-class-meta { grid-column: 1 / -1; color: var(--quiet); font-size: 0.95rem; }
.wp24-challenge { display: block; margin-top: 0.6rem; background: var(--bg); border: 1px solid var(--line); }
.wp24-error { color: var(--danger); }
.wp24-sheet { max-width: 40rem; }
.wp24-read h1 { margin-bottom: 1.5rem; }
.wp24-entry { border-top: 1px solid var(--line); padding: 1.2rem 0; max-width: 40rem; }
.wp24-entry h2 { font-size: 1.8rem; }
.wp24-entry a { text-decoration: none; }
.wp24-entry-body { color: var(--dim); margin-top: 0.4rem; }

@media (max-width: 860px) {
  .wp24-specs,
  .wp24-plate { grid-template-columns: 1fr 1fr; }
  .wp24-desk { grid-template-columns: 1fr; }
  .wp24-step-index { position: static; display: flex; gap: 1rem; flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .wp24-specs,
  .wp24-plate { grid-template-columns: 1fr; }
}
body.wp24-lang-gate .wp24-lang-toggle,
body.wp24-lang-gate .wp24-nav-order { display: none; }

.wp24-flags { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.wp24-flag {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 16rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  text-decoration: none;
}
.wp24-flag svg { width: 48px; height: 32px; display: block; flex: none; }
.wp24-flag-name { color: var(--ink); font-size: 1.35rem; }
.wp24-flag-code { color: var(--quiet); letter-spacing: 0.14em; }
.wp24-lang-pick h1 { max-width: 12ch; }
.wp24-lang-pick h1 span { display: block; color: var(--quiet); font-size: 0.55em; letter-spacing: 0; }

.wp24-motion { position: relative; height: 300vh; }
.wp24-motion-sticky {
  position: sticky;
  top: 42px;
  height: calc(100svh - 42px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.wp24-motion-media,
.wp24-motion-poster,
.wp24-motion-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wp24-motion-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg) 0%, transparent 46%),
    linear-gradient(to right, color-mix(in srgb, var(--bg) 62%, transparent), transparent 72%);
  pointer-events: none;
}
.wp24-motion-copy { position: relative; z-index: 1; padding: 0 6vw 12vh; }
body.admin-bar .wp24-motion-sticky { top: 74px; height: calc(100svh - 74px); }
@media (max-width: 782px) {
  body.admin-bar .wp24-motion-sticky { top: 88px; height: calc(100svh - 88px); }
}
@media (max-width: 700px) {
  .wp24-motion { height: auto; }
  .wp24-motion-sticky { position: relative; top: 0; height: auto; min-height: calc(100svh - 42px); }
  .wp24-motion-video { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .wp24-motion { height: auto; }
  .wp24-motion-sticky { position: relative; top: 0; height: auto; min-height: calc(100svh - 42px); }
  .wp24-motion-video { display: none; }
}

.wp24-comments { margin-top: 3rem; max-width: 38rem; }
.wp24-comments input[type="text"],
.wp24-comments input[type="email"],
.wp24-comments input[type="url"],
.wp24-comments textarea {
  font-size: 1rem;
  letter-spacing: 0;
}
.wp24-comments textarea {
  width: 100%;
  min-height: 8rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  padding: 0.4rem 0;
}
