:root {
  --ink: #171123;
  --ink-deep: #100c18;
  --surface: #221a32;
  --surface-raised: #2a203d;
  --surface-soft: #332747;
  --gold: #d2ad73;
  --gold-bright: #e6c790;
  --rose: #e0a2b8;
  --cream: #f6efe5;
  --cream-soft: #ded4e5;
  --muted: #b8aac4;
  --line: rgba(210, 173, 115, 0.3);
  --line-strong: rgba(210, 173, 115, 0.58);
  --shadow: 0 24px 70px rgba(5, 3, 9, 0.34);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", system-ui, sans-serif;
  --wrap: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 12% 6%, rgba(224, 162, 184, 0.1), transparent 27rem),
    radial-gradient(circle at 90% 27%, rgba(210, 173, 115, 0.07), transparent 24rem),
    var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.005em;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.7;
  background-image:
    radial-gradient(1px 1px at 12% 17%, rgba(246, 239, 229, 0.45) 50%, transparent 55%),
    radial-gradient(1px 1px at 72% 9%, rgba(210, 173, 115, 0.45) 50%, transparent 55%),
    radial-gradient(1px 1px at 91% 49%, rgba(246, 239, 229, 0.35) 50%, transparent 55%),
    radial-gradient(1.3px 1.3px at 6% 72%, rgba(210, 173, 115, 0.38) 50%, transparent 55%),
    radial-gradient(1px 1px at 45% 84%, rgba(246, 239, 229, 0.3) 50%, transparent 55%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--gold-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--cream);
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.wrap {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
}

.narrow {
  max-width: 760px;
}

.centered {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 500;
  padding: 12px 18px;
  color: var(--ink);
  background: var(--cream);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.preview-ribbon {
  position: relative;
  z-index: 80;
  color: #281b0b;
  background: var(--gold-bright);
  font-size: 0.9rem;
  font-weight: 600;
}

.preview-ribbon-inner {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
}

.preview-ribbon a {
  color: #281b0b;
  font-weight: 600;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: rgba(23, 17, 35, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 78px;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 2rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.wordmark span:last-child {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-style: normal;
}

#site-navigation {
  display: flex;
  gap: clamp(18px, 2.5vw, 34px);
  align-items: center;
}

#site-navigation a {
  position: relative;
  padding: 28px 0 25px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

#site-navigation a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

#site-navigation a:hover,
#site-navigation a[aria-current="page"] {
  color: var(--cream);
}

#site-navigation a:hover::after,
#site-navigation a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  min-height: 44px;
  padding: 7px 12px;
  color: var(--cream);
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

/* Typography and shared controls */

h1,
h2,
h3 {
  margin: 0;
  color: var(--cream);
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.1rem, 7vw, 5.6rem);
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(2.25rem, 4.8vw, 3.5rem);
  letter-spacing: -0.018em;
}

h3 {
  font-size: clamp(1.6rem, 3vw, 2rem);
}

h1 em,
h2 em {
  color: var(--rose);
  font-style: italic;
}

p {
  margin: 0;
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--gold-bright);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.lede {
  max-width: 60ch;
  margin-top: 24px;
  color: var(--cream-soft);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.75;
}

.centered .lede {
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  padding: 12px 24px;
  gap: 8px;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  border: 1px solid var(--gold);
  background: transparent;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

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

.btn.solid {
  color: #211608;
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

.btn.solid:hover {
  background: var(--cream);
  border-color: var(--cream);
}

.btn.ghost {
  color: var(--cream-soft);
  border-color: rgba(246, 239, 229, 0.4);
}

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

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--gold-bright);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.celestial-divider {
  display: grid;
  width: min(100% - 48px, 760px);
  margin: 0 auto;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
  align-items: center;
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.55em;
}

.celestial-divider span {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong));
}

.celestial-divider span:last-child {
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

.celestial-divider.compact {
  max-width: 480px;
  letter-spacing: 0;
}

.section-heading > p:last-child {
  max-width: 62ch;
  margin: 20px auto 0;
  color: var(--muted);
}

.split-heading {
  display: flex;
  gap: 30px;
  align-items: end;
  justify-content: space-between;
}

.empty-state {
  padding: 36px;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  text-align: center;
  grid-column: 1 / -1;
}

/* Home */

.hero {
  padding: clamp(70px, 10vw, 130px) 0 110px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.72fr);
  gap: clamp(55px, 8vw, 100px);
  align-items: center;
}

.hero-copy h1 {
  max-width: 780px;
}

.hero-copy h1 span,
.hero-copy h1 em {
  display: block;
}

.hero-copy h1 em {
  margin-left: clamp(10px, 4vw, 52px);
}

.hero-copy .lede {
  max-width: 63ch;
}

.hero-actions {
  display: flex;
  margin-top: 36px;
  gap: 14px;
  flex-wrap: wrap;
}

.portrait-wrap {
  position: relative;
  max-width: 410px;
  margin-inline: auto;
}

.portrait-orbit {
  position: absolute;
  top: -42px;
  right: -45px;
  width: 118px;
  height: 118px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.portrait-orbit::before,
.portrait-orbit::after {
  position: absolute;
  content: "✦";
  color: var(--gold);
}

.portrait-orbit::before {
  top: 7px;
  right: 10px;
  font-size: 0.8rem;
}

.portrait-orbit::after {
  bottom: 11px;
  left: -7px;
  font-size: 1rem;
}

.portrait-frame {
  position: relative;
  display: flex;
  min-height: 440px;
  padding: 36px;
  overflow: hidden;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 30% 20%, rgba(224, 162, 184, 0.2), transparent 42%),
    linear-gradient(145deg, var(--surface-soft), var(--surface));
  text-align: center;
}

.portrait-frame::before {
  position: absolute;
  inset: 12px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(210, 173, 115, 0.16);
  border-radius: inherit;
}

.portrait-frame.has-image {
  padding: 0;
  background: var(--surface);
}

.portrait-frame.has-image::before {
  z-index: 2;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.arch {
  border-radius: 999px 999px 14px 14px;
}

.portrait-mark {
  color: var(--rose);
  font-family: var(--serif);
  font-size: 8rem;
  font-style: italic;
  line-height: 0.7;
  opacity: 0.38;
}

.portrait-prompt {
  position: relative;
  max-width: 19ch;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-style: italic;
}

.portrait-caption {
  margin-top: 16px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  text-align: center;
}

.pathways {
  padding: 120px 0;
}

.doors {
  display: grid;
  max-width: 860px;
  margin-inline: auto;
  margin-top: 52px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.door {
  position: relative;
  display: flex;
  min-height: 390px;
  padding: 42px 32px 36px;
  overflow: hidden;
  flex-direction: column;
  color: var(--cream);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(42, 32, 61, 0.96), rgba(34, 26, 50, 0.96));
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.door::after {
  position: absolute;
  right: -45px;
  bottom: -70px;
  width: 170px;
  height: 170px;
  content: "";
  border: 1px solid rgba(210, 173, 115, 0.12);
  border-radius: 50%;
}

.door:hover {
  color: var(--cream);
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.door-number {
  align-self: flex-end;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.door-glyph {
  margin: auto 0 25px;
  color: var(--gold);
  font-size: 2.2rem;
}

.door h3 {
  margin-bottom: 16px;
}

.door p {
  min-height: 6.3em;
  color: var(--muted);
  font-size: 0.95rem;
}

.door .text-link {
  margin-top: 25px;
}

.latest-section {
  padding: 100px 0 120px;
  background: rgba(12, 8, 18, 0.25);
  border-block: 1px solid rgba(210, 173, 115, 0.12);
}

.post-grid {
  display: grid;
  margin-top: 42px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.post-card {
  display: flex;
  min-height: 330px;
  padding: 34px 30px;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 180ms ease, transform 180ms ease;
}

.post-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.post-meta,
.post-heading-meta {
  display: flex;
  gap: 11px;
  align-items: center;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.chip {
  display: inline-flex;
  min-height: 30px;
  padding: 4px 11px;
  align-items: center;
  color: var(--gold-bright);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1.25;
  text-transform: uppercase;
}

.post-card h2,
.post-card h3 {
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.post-card h2 a,
.post-card h3 a {
  color: var(--cream);
  text-decoration: none;
}

.post-card h2 a:hover,
.post-card h3 a:hover {
  color: var(--gold-bright);
}

.sample-label {
  color: var(--rose);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-card > p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.post-card .more {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--gold-bright);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.post-card .more::after {
  content: "→";
}

.mobile-link {
  display: none;
  margin-top: 32px;
}

.letters-section {
  padding: 120px 0;
}

.newsletter {
  position: relative;
  padding: clamp(54px, 8vw, 86px) 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% -20%, rgba(224, 162, 184, 0.17), transparent 48%),
    var(--surface);
  text-align: center;
}

.newsletter::before,
.newsletter::after {
  position: absolute;
  width: 230px;
  height: 230px;
  content: "";
  border: 1px solid rgba(210, 173, 115, 0.11);
  border-radius: 50%;
}

.newsletter::before {
  top: -130px;
  left: -100px;
}

.newsletter::after {
  right: -120px;
  bottom: -150px;
}

.newsletter-mark {
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 1.4rem;
}

.newsletter .lede {
  margin-inline: auto;
}

.newsletter form {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: 610px;
  margin: 32px auto 0;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.newsletter input {
  min-width: min(100%, 320px);
  min-height: 52px;
  padding: 12px 18px;
  color: var(--cream);
  border: 1px solid var(--line-strong);
  background: var(--ink);
}

.newsletter input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.form-message {
  width: 100%;
  color: var(--cream);
  font-weight: 500;
}

.form-message:empty {
  display: none;
}

.form-privacy {
  position: relative;
  z-index: 1;
  max-width: 58ch;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Interior page headers */

.page-hero {
  padding: clamp(85px, 12vw, 145px) 0 80px;
}

.page-hero h1 {
  font-size: clamp(3.6rem, 8vw, 6rem);
}

.journal-hero {
  padding-bottom: 65px;
}

/* Story */

.story-section {
  padding: 100px 0 130px;
}

.story-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 700px);
  gap: clamp(50px, 9vw, 115px);
  align-items: start;
  justify-content: center;
}

.story-aside {
  position: sticky;
  top: 120px;
}

.story-portrait {
  min-height: 370px;
  padding: 28px;
}

.aside-note,
.experience-note {
  display: flex;
  margin-top: 24px;
  padding: 20px;
  gap: 14px;
  align-items: flex-start;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(34, 26, 50, 0.7);
  font-size: 0.85rem;
}

.aside-note > span,
.experience-note > span {
  color: var(--gold);
}

.article {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
}

.story-chapter + .story-chapter {
  margin-top: 70px;
  padding-top: 70px;
  border-top: 1px solid var(--line);
}

.story-chapter h2 {
  margin-bottom: 26px;
  font-size: clamp(2.1rem, 4vw, 2.85rem);
}

.article p,
.article-copy p {
  margin: 0 0 1.45em;
  color: var(--cream-soft);
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.85;
}

blockquote {
  position: relative;
  margin: 52px 0;
  padding: 32px 35px 30px;
  color: var(--rose);
  border-left: 2px solid var(--gold);
  background: rgba(42, 32, 61, 0.55);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-style: italic;
  line-height: 1.45;
}

blockquote::before {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  content: "✦";
  font-family: var(--sans);
  font-size: 0.8rem;
  font-style: normal;
}

.next-chapter {
  padding: 90px 0 110px;
  border-top: 1px solid var(--line);
  background: rgba(12, 8, 18, 0.25);
}

.next-chapter p:not(.eyebrow) {
  max-width: 55ch;
  margin: 22px auto 30px;
  color: var(--muted);
}

/* Journal */

.journal-listing {
  padding: 20px 0 120px;
}

.filter-panel {
  display: flex;
  padding: 22px 0;
  gap: 26px;
  align-items: center;
  border-block: 1px solid var(--line);
}

.filter-panel > p {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  white-space: nowrap;
}

.cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  min-height: 42px;
  padding: 8px 15px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.filter-chip:hover,
.filter-chip.on {
  color: var(--ink);
  border-color: var(--gold-bright);
  background: var(--gold-bright);
}

.journal-listing .post-grid {
  margin-top: 50px;
}

.journal-listing .experience-note {
  max-width: 720px;
  margin: 58px auto 0;
}

/* Journal article */

.post-hero {
  padding: clamp(65px, 10vw, 115px) 0 65px;
  border-bottom: 1px solid var(--line);
}

.post-hero h1 {
  margin-top: 24px;
  font-size: clamp(3rem, 7vw, 5rem);
}

.back-link {
  display: inline-flex;
  margin-bottom: 42px;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.post-heading-meta {
  justify-content: center;
}

.post-hero .lede {
  max-width: 62ch;
}

.article-image {
  min-height: 360px;
  max-height: 560px;
  margin: 75px 0 55px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
}

.article-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.article-copy {
  padding-top: 75px;
}

.article-image + .article-copy {
  padding-top: 0;
}

.article-note {
  margin: 55px 0 0;
}

.post-pagination {
  display: flex;
  margin: 65px 0 110px;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
}

/* Contact */

.contact-section {
  padding: 20px 0 125px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.8fr);
  gap: clamp(45px, 8vw, 90px);
  align-items: start;
}

.contact-card {
  padding: clamp(30px, 5vw, 52px);
  border: 1px solid var(--line);
  background: var(--surface);
}

.contact-form {
  display: flex;
  margin-top: 32px;
  flex-direction: column;
  gap: 21px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  color: var(--cream-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 15px;
  color: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--ink);
}

.field textarea {
  min-height: 165px;
  resize: vertical;
}

.contact-form .btn {
  align-self: flex-start;
}

.contact-form .form-privacy {
  margin: 0;
}

.contact-portrait {
  min-height: 390px;
}

.contact-details {
  padding-top: 32px;
}

.contact-method {
  margin-top: 25px;
}

.contact-method span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.social-list {
  display: flex;
  margin-top: 25px;
  flex-direction: column;
  gap: 9px;
}

.social-list a {
  display: flex;
  min-height: 48px;
  padding: 10px 13px;
  gap: 12px;
  align-items: center;
  color: var(--cream-soft);
  border: 1px solid var(--line);
  text-decoration: none;
}

.social-list a:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
}

.social-list span {
  color: var(--gold);
}

.contact-placeholder-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Footer */

footer {
  padding: 70px 0 35px;
  border-top: 1px solid var(--line);
  background: rgba(12, 8, 18, 0.34);
}

.footer-grid {
  display: grid;
  padding-bottom: 50px;
  grid-template-columns: 1.6fr 0.8fr 0.9fr;
  gap: 40px;
}

.footer-brand p {
  max-width: 35ch;
  margin-top: 18px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.86rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.footer-links .desk-link {
  margin-top: 7px;
  color: var(--gold-bright);
}

.footer-bottom {
  display: flex;
  padding-top: 24px;
  gap: 20px;
  justify-content: space-between;
  color: var(--muted);
  border-top: 1px solid rgba(210, 173, 115, 0.16);
  font-size: 0.77rem;
}

/* Responsive */

@media (max-width: 960px) {
  .js .nav-toggle {
    display: inline-flex;
    gap: 7px;
    align-items: center;
  }

  .header-inner {
    position: relative;
    min-height: 70px;
  }

  .js #site-navigation {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    padding: 12px 24px 22px;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    border-bottom: 1px solid var(--line);
    background: rgba(23, 17, 35, 0.98);
  }

  .js #site-navigation.is-open {
    display: flex;
  }

  html:not(.js) #site-navigation {
    flex-wrap: wrap;
    gap: 8px 18px;
    justify-content: flex-end;
  }

  #site-navigation a {
    min-height: 48px;
    padding: 13px 4px;
  }

  #site-navigation a::after {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
    gap: 45px;
  }

  .doors,
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 45px;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(100% - 32px, var(--wrap));
  }

  .preview-ribbon-inner {
    padding-block: 7px;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
  }

  .hero {
    padding: 70px 0 78px;
  }

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

  .hero-copy h1 em {
    margin-left: 0;
  }

  .portrait-wrap {
    width: min(100%, 390px);
    margin-top: 22px;
  }

  .portrait-frame {
    min-height: 390px;
  }

  .pathways,
  .latest-section,
  .letters-section {
    padding-block: 82px;
  }

  .doors,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .door {
    min-height: 330px;
  }

  .split-heading {
    display: block;
  }

  .desktop-link {
    display: none;
  }

  .mobile-link {
    display: inline-flex;
  }

  .post-card {
    min-height: 0;
  }

  .page-hero {
    padding: 72px 0 55px;
  }

  .story-section {
    padding: 70px 0 90px;
  }

  .story-layout {
    grid-template-columns: 1fr;
  }

  .story-aside {
    position: static;
    width: min(100%, 350px);
    margin-inline: auto;
  }

  .story-chapter + .story-chapter {
    margin-top: 50px;
    padding-top: 50px;
  }

  .filter-panel {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .journal-listing {
    padding-bottom: 85px;
  }

  .post-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .post-pagination .btn {
    width: 100%;
  }

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

  .contact-aside {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    gap: 25px;
  }

  .contact-details {
    padding-top: 0;
  }

  .contact-portrait {
    min-height: 330px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 5px;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 3rem;
  }

  .header-inner .wordmark {
    font-size: 1.7rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .portrait-frame {
    min-height: 340px;
  }

  .newsletter {
    padding-inline: 21px;
  }

  .newsletter input,
  .newsletter .btn {
    width: 100%;
  }

  .post-heading-meta {
    flex-wrap: wrap;
  }

  .contact-card {
    padding: 27px 20px;
  }

  .contact-aside {
    display: block;
  }

  .contact-details {
    padding-top: 30px;
  }

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

  .footer-brand {
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
