:root {
  --paper: #0f0f11;
  --ink: #f2f1ee;
  --soft: #8c8a86;
  --rule: rgba(242, 241, 238, 0.16);

  /* One accent per voice. The hero cycles through them; each section keeps its own. */
  --c-voice: #4f7dff;
  --c-newsletter: #22d3ee;
  --c-column: #a3e635;
  --c-book: #ff8a3d;
  --c-talk: #ff5fa2;
  --acc: var(--c-voice);

  --display: "Hahmlet", "Noto Serif KR", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --gutter: clamp(20px, 5vw, 72px);
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
}

.label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft);
}

/* Navigation */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  height: var(--nav-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

.nav.is-scrolled {
  background: rgba(15, 15, 17, 0.86);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--rule);
}

.nav__name {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav__links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 14px;
  color: var(--soft);
}

.nav__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.nav__links a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dot, var(--rule));
}

.nav__links a:hover {
  color: var(--ink);
}

.nav__cta {
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  transition: border-color 0.2s;
}

.nav__cta:hover {
  border-color: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  min-height: max(100svh, 700px);
  padding: calc(var(--nav-h) + 48px) var(--gutter) 150px;
  display: grid;
  align-content: center;
}

.hero__top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.hero__rule {
  flex: 0 0 64px;
  height: 1px;
  background: var(--rule);
}

.hero__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(40px, 6.6vw, 112px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.hero__line {
  display: block;
}

.hero__verb span {
  display: inline-block;
  font-variation-settings: "wght" 800;
  transition: font-variation-settings 0.35s ease;
}

.thin {
  font-weight: 200;
}

.roll {
  display: inline-grid;
  height: 1.16em;
  overflow: hidden;
  vertical-align: bottom;
  color: var(--acc);
  transition: color 1.4s, width 0.7s cubic-bezier(0.6, 0, 0.2, 1);
}

.roll span {
  grid-area: 1 / 1;
  justify-self: start;
  white-space: nowrap;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.6, 0, 0.2, 1), opacity 0.8s;
}

.roll span.on {
  transform: none;
  opacity: 1;
}

.roll span.off {
  transform: translateY(-110%);
  opacity: 0;
}

.hero__note {
  margin-top: 36px;
  min-height: 1.6em;
  display: flex;
  gap: 14px;
  font-size: 14px;
  color: var(--soft);
}

.hero__note i {
  width: 24px;
  height: 1px;
  align-self: center;
  background: var(--acc);
  transition: background 1.4s;
}

.hero__note span {
  transition: opacity 0.5s;
}

.hero__note span.out {
  opacity: 0;
}

.hero__sub {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px 48px;
  align-items: end;
}

.roles {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 8px 36px;
  font-size: 14px;
}

.roles li {
  display: grid;
  gap: 4px;
}

.hero__actions {
  display: flex;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.25s, background 0.25s, border-color 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
}

.btn--primary:hover {
  background: var(--acc);
}

.btn--ghost {
  border: 1px solid var(--rule);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.hero__foot {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 34px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.hero__stats {
  display: flex;
  gap: 28px;
}

.hero__stats b {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
  margin-right: 6px;
}

.hero__scroll {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__scroll i {
  position: relative;
  width: 40px;
  height: 1px;
  overflow: hidden;
  background: var(--rule);
}

.hero__scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateX(-100%);
  animation: sweep 2.4s ease-in-out infinite;
}

@keyframes sweep {
  60%,
  100% {
    transform: translateX(100%);
  }
}

/* Sections: same frame, one accent each */
.section {
  --sec: var(--ink);
  padding: 140px var(--gutter);
  border-top: 1px solid var(--rule);
  scroll-margin-top: var(--nav-h);
}

.section__head {
  margin-bottom: 72px;
}

.section__label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  color: var(--sec);
}

.section__label span {
  flex: 0 0 64px;
  height: 1px;
  background: var(--sec);
  opacity: 0.6;
}

.section__title {
  margin: 0;
  overflow: hidden;
  font-family: var(--display);
  font-size: clamp(44px, 7vw, 116px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: var(--sec);
}

.section__title span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 0.9s cubic-bezier(0.6, 0, 0.2, 1);
}

.section.is-in .section__title span {
  transform: none;
}

.section__lead {
  margin-top: 24px;
  max-width: 40em;
  font-family: var(--display);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--soft);
}

.label + b,
.list-title {
  display: block;
}

.list-title {
  margin: 56px 0 16px;
  font-weight: 500;
}

.text-link {
  display: inline-block;
  margin-top: 24px;
  padding-bottom: 2px;
  font-size: 14px;
  color: var(--soft);
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s, border-color 0.2s;
}

.text-link:hover {
  color: var(--sec);
  border-color: var(--sec);
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 14px;
  color: var(--soft);
}

.links a:hover {
  color: var(--sec);
}

/* Rows: label, title, arrow */
.rows {
  border-top: 1px solid var(--rule);
}

.rows a {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
  transition: color 0.2s, padding 0.3s;
}

.rows i {
  font-style: normal;
  color: var(--soft);
  transition: color 0.2s, transform 0.3s;
}

.rows a:hover {
  color: var(--sec);
  padding-left: 8px;
}

.rows a:hover i {
  color: var(--sec);
  transform: translate(3px, -3px);
}

.rows--large a {
  padding: 26px 0;
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* Korean names in labels read better without mono tracking */
.rows .label,
.book__body > .label,
.timeline em {
  font-family: var(--sans);
  letter-spacing: 0.02em;
  text-transform: none;
}

#stb_subscribe .stb_asterisk {
  color: var(--sec) !important;
}

/* Featured columns: outlet, one featured piece, and a clear way to every piece on that outlet */
.rows--columns {
  border-top: 0;
}

.rows--columns li {
  display: grid;
  grid-template-columns: 120px 1fr 132px;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--rule);
}

.rows--columns .rows__head {
  padding-bottom: 12px;
  border-bottom-color: var(--rule);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--soft);
}

.rows--columns .rows__head span:last-child {
  justify-self: end;
}

.rows--columns li > a:not(.more) {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  border-bottom: 0;
}

.rows--columns .more {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.rows--columns .more i {
  font-style: normal;
  transition: transform 0.25s;
}

.rows--columns a.more:hover {
  padding: 0 14px;
  background: var(--sec);
  border-color: var(--sec);
  color: #0f0f11;
}

.rows--columns a.more:hover i {
  transform: translateX(3px);
}

.rows--columns .more--none {
  border-color: transparent;
  color: var(--soft);
  font-weight: 400;
}

@media (max-width: 860px) {
  .rows--columns .rows__head {
    display: none;
  }

  .rows--columns li {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 20px 0 22px;
  }

  .rows--columns li:first-of-type {
    border-top: 1px solid var(--rule);
  }

  .rows--columns li > .label::after {
    content: " · 대표 글";
  }

  .rows--columns li > a:not(.more) {
    padding: 8px 0 14px;
  }

  .rows--columns .more {
    justify-self: start;
  }

  .rows--columns .more--none {
    display: none;
  }
}

/* Voice */
.voice {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}

.voice__photo {
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background: #17171a;
}

.voice__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.92);
  transition: filter 0.6s;
}

.voice__photo:hover img {
  filter: grayscale(0.2);
}

.voice__quote {
  font-family: var(--display);
  font-size: clamp(26px, 3.4vw, 48px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.voice__now {
  margin-top: 28px;
  padding-top: 20px;
  max-width: 30em;
  border-top: 1px solid var(--rule);
  font-size: 16px;
  color: var(--soft);
}

.voice__now .label {
  display: block;
  margin-bottom: 6px;
  color: var(--sec);
}

.timeline {
  margin: 96px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.timeline li {
  position: relative;
  padding: 24px 20px 0 0;
  border-top: 1px solid var(--rule);
}

.timeline li::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--soft);
}

.timeline li:last-child::before {
  background: var(--sec);
}

.timeline b {
  margin: 10px 0 4px;
  font-size: 16px;
  font-weight: 600;
}

.timeline em {
  font-style: normal;
  font-size: 14px;
  color: var(--soft);
}

/* Newsletter */
.newsletter {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.stats {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 48px;
}

.stats dd {
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stats small {
  margin-left: 2px;
  font-size: 0.45em;
  color: var(--sec);
}

.note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--soft);
}

.branded {
  margin: 56px 0 18px;
}

.branded__tag {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--sec);
  border-radius: 999px;
  color: var(--sec);
}

.branded__title {
  margin: 14px 0 6px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.branded__lead {
  font-size: 14px;
  color: var(--soft);
}

.rows--branded .label {
  color: var(--sec);
}

.branded__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}

.subscribe {
  padding: 32px;
  border: 1px solid var(--rule);
  border-radius: 20px;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

.subscribe__title {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.subscribe__lead {
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--soft);
}

/* Stibee form, restyled for the dark page */
#stb_subscribe,
#stb_subscribe .stb_form,
#stb_subscribe .stb_form_policy {
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  max-width: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

#stb_subscribe .stb_form_policy {
  margin-bottom: 10px !important;
}

#stb_subscribe input[type="checkbox"] {
  accent-color: var(--sec);
}

#stb_subscribe .stb_form {
  margin: 0;
  padding: 0;
  max-width: none;
  background: none;
  border: 0;
  box-shadow: none;
}

#stb_subscribe .stb_form_set {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

#stb_subscribe .stb_form_set_label {
  display: block;
  margin-bottom: 8px;
  font: 500 13px var(--sans) !important;
  color: var(--soft) !important;
}

#stb_subscribe .stb_asterisk {
  color: var(--sec);
}

#stb_subscribe .stb_form_set_input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: transparent !important;
  color: var(--ink) !important;
  font: 15px var(--sans) !important;
  border: 1px solid var(--rule) !important;
  border-radius: 12px !important;
}

#stb_subscribe .stb_form_set_input:focus {
  outline: none;
  border-color: var(--sec) !important;
}

#stb_subscribe .stb_form_policy,
#stb_subscribe .stb_form_policy label {
  font-size: 13px;
  color: var(--soft);
}

#stb_subscribe .stb_form_policy {
  margin-bottom: 8px;
}

#stb_subscribe .stb_form_policy span {
  color: var(--soft) !important;
}

#stb_subscribe .stb_form_modal_open_btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink) !important;
  text-decoration: underline;
  font: inherit;
  cursor: pointer;
}

#stb_subscribe .stb_form_msg_error {
  margin-top: 6px;
  font-size: 12px;
  color: #ff7a7a;
}

#stb_subscribe .stb_form_set_submit {
  margin: 20px 0 0;
  padding: 0;
  border: 0;
}

#stb_subscribe .stb_form_submit_button {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 999px;
  background: var(--sec);
  color: #0f0f11;
  font: 600 15px var(--sans);
  cursor: pointer;
  transition: opacity 0.2s;
}

#stb_subscribe .stb_form_submit_button:hover {
  opacity: 0.88;
}

/* Columns */
.columns__more {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* Books */
.book {
  display: grid;
  grid-template-columns: minmax(200px, 320px) 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.book__cover {
  margin: 0;
  transform: rotate(-2deg);
  transition: transform 0.5s;
}

.book__cover:hover {
  transform: rotate(0) translateY(-6px);
}

.book__cover img {
  display: block;
  width: 100%;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55));
}

.book__title {
  margin: 12px 0 16px;
  font-family: var(--display);
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.book__desc {
  max-width: 34em;
  margin-bottom: 28px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--soft);
}

.facts {
  margin-bottom: 28px;
  border-top: 1px solid var(--rule);
}

.facts li {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
}

.facts li::before {
  content: "—";
  margin-right: 12px;
  color: var(--sec);
}

.facts a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  padding: 2px 10px;
  border: 1px solid var(--sec);
  border-radius: 999px;
  font-size: 13px;
  color: var(--sec);
  transition: background 0.2s, color 0.2s;
}

.facts a i {
  font-style: normal;
}

.facts a:hover {
  background: var(--sec);
  color: #0f0f11;
}

.book__body .links a {
  padding: 8px 16px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink);
  transition: border-color 0.2s, color 0.2s;
}

.book__body .links a:hover {
  border-color: var(--sec);
  color: var(--sec);
}

/* Talks */
.topics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.topics li {
  padding: 28px;
  border: 1px solid var(--rule);
  border-radius: 20px;
  transition: border-color 0.3s, transform 0.3s;
}

.topics li:hover {
  border-color: var(--sec);
  transform: translateY(-4px);
}

.topics .label {
  color: var(--sec);
}

.topics h3 {
  margin: 14px 0 12px;
  font-family: var(--display);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.topics p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--soft);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 12px;
  border-radius: 12px;
  filter: grayscale(1) brightness(0.9);
  transition: filter 0.5s;
}

.gallery li:hover img {
  filter: none;
}

.gallery b {
  margin: 4px 0 2px;
  font-size: 15px;
  font-weight: 600;
}

.gallery em {
  font-style: normal;
  font-size: 13px;
  color: var(--soft);
}

.btn--accent {
  height: 52px;
  padding: 0 28px;
  background: var(--sec);
  color: #0f0f11;
  font-size: 15px;
}

/* Contact */
.section--contact .section__title {
  color: var(--ink);
}

/* Inquiry form: pick a category, then a few fields; delivered by email */
.inquiry {
  border-top: 1px solid var(--rule);
}

.inquiry__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.inquiry__fields {
  padding-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

.field {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--soft);
}

.field--wide {
  grid-column: 1 / -1;
}

.field em,
.inquiry__consent em {
  font-style: normal;
  color: var(--ink);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  font: 16px/1.5 var(--sans);
  transition: border-color 0.2s;
}

.field textarea {
  resize: vertical;
}

.field select {
  appearance: none;
  padding-right: 44px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23f2f1ee' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 18px center;
  cursor: pointer;
}

.field select:invalid {
  color: #5c5b58;
}

.field select option {
  background: #17171a;
  color: var(--ink);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--ink);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #5c5b58;
}

.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid select {
  border-color: #ff7a7a;
}

.inquiry__consent {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.6;
  color: var(--soft);
  cursor: pointer;
}

.inquiry__consent input {
  margin-top: 3px;
  accent-color: var(--ink);
}

.inquiry__submit {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.inquiry__submit .btn {
  height: 52px;
  padding: 0 28px;
  border: 0;
  font-family: var(--sans);
  font-size: 15px;
  cursor: pointer;
}

.inquiry__submit .btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.inquiry__status {
  font-size: 14px;
  color: var(--soft);
}

.inquiry__status.is-error {
  color: #ff7a7a;
}

.inquiry__status.is-done {
  color: var(--ink);
}

.contact__meta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 15px;
  color: var(--soft);
}

.contact__meta a:hover {
  color: var(--ink);
}

.footer {
  display: flex;
  justify-content: space-between;
  padding: 32px var(--gutter) 40px;
  border-top: 1px solid var(--rule);
}

/* Current section marker in the navigation */
.nav__links a::before {
  transition: transform 0.3s;
}

.nav__links a.is-active {
  color: var(--ink);
}

.nav__links a.is-active::before {
  transform: scale(1.6);
}

@media (max-width: 1100px) {
  .timeline {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 32px;
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .inquiry__fields {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 96px var(--gutter);
  }

  .section__head {
    margin-bottom: 48px;
  }

  .voice,
  .newsletter,
  .book,
  .columns__more,
  .topics {
    grid-template-columns: 1fr;
  }

  .voice__photo {
    max-width: 280px;
  }

  .book__cover {
    max-width: 240px;
  }

  .rows a,
  .contact a {
    grid-template-columns: 1fr auto;
  }

  .rows .label,
  .contact .label {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .timeline,
  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .stats {
    gap: 28px;
  }

  .subscribe {
    padding: 24px;
  }
}

@media (max-width: 900px) {
  .nav__links {
    display: none;
  }

  .nav__cta {
    margin-left: auto;
  }

  .hero__sub {
    grid-template-columns: 1fr;
  }

  .roles {
    grid-template-columns: repeat(2, max-content);
  }

  .hero__stats {
    display: none;
  }
}

@media (max-width: 480px) {
  .roles {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .section__title span {
    transform: none;
  }
}
