@font-face {
  font-family: "OST Barlow Condensed";
  src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "OST Barlow Condensed";
  src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "OST Source Serif";
  src: url("../fonts/source-serif-4.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "OST Source Serif";
  src: url("../fonts/source-serif-4.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "OST Plex Mono";
  src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --ost-paper: #f5efe9;
  --ost-paper-light: #fcf8f2;
  --ost-vellum: rgba(252, 248, 242, 0.92);
  --ost-ink: #2a2027;
  --ost-graphite: #6b5d68;
  --ost-rule: #b8aab7;
  --ost-aubergine: #5a2c68;
  --ost-plum-deep: #3d1d47;
  --ost-lavender: #e4d6e7;
  --ost-coral: #ef704f;
  --ost-coral-soft: #ffad8e;
  --ost-coral-ink: #a83f2f;
  --ost-white: #fffaf4;
  --ost-display: "OST Barlow Condensed", "Arial Narrow", sans-serif;
  --ost-body: "OST Source Serif", Georgia, serif;
  --ost-mono: "OST Plex Mono", ui-monospace, monospace;
  --ost-sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --ost-max: 1440px;
  --ost-gutter: clamp(1.15rem, 3.2vw, 3.5rem);
  --ost-fast: 180ms cubic-bezier(0.22, 1, 0.36, 1);
  --ost-slow: 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ost-paper);
  color: var(--ost-ink);
  font-family: var(--ost-body);
  font-size: clamp(1rem, 0.95rem + 0.18vw, 1.125rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

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

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

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

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--ost-coral);
  outline-offset: 4px;
}

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

.ost-skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  transform: translateY(-150%);
  background: var(--ost-ink);
  color: var(--ost-white);
  padding: 0.7rem 1rem;
  font-family: var(--ost-sans);
  font-weight: 700;
}

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

.ost-index-label,
.wp-block-post-date.ost-index-label {
  margin: 0;
  color: inherit;
  font-family: var(--ost-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.065em;
  line-height: 1.35;
  text-transform: uppercase;
}

.ost-site-header {
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, var(--ost-max));
  min-height: 78px;
  margin: 0 auto;
  padding: 0 var(--ost-gutter);
  border-bottom: 1px solid var(--ost-ink);
  background: var(--ost-paper);
}

.ost-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.ost-brand-mark {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  border: 1px solid var(--ost-ink);
  border-radius: 50%;
  color: var(--ost-aubergine);
  font-family: var(--ost-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
}

.ost-brand strong,
.ost-brand small {
  display: block;
}

.ost-brand strong {
  font-family: var(--ost-display);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  text-transform: uppercase;
}

.ost-brand small {
  margin-top: 0.2rem;
  color: var(--ost-graphite);
  font-family: var(--ost-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.ost-desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  font-family: var(--ost-sans);
  font-size: 0.79rem;
  font-weight: 700;
}

.ost-desktop-nav a {
  position: relative;
  text-decoration: none;
}

.ost-desktop-nav a:not(.ost-nav-action)::after {
  position: absolute;
  right: 0;
  bottom: -0.32rem;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--ost-aubergine);
  content: "";
  transition: transform var(--ost-fast);
}

.ost-desktop-nav a:hover::after,
.ost-desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.ost-nav-action {
  border-bottom: 1px solid var(--ost-ink);
}

.ost-mobile-menu {
  display: none;
}

.ost-atlas-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  min-height: min(800px, calc(100vh - 78px));
  max-width: var(--ost-max);
  margin: 0 auto;
  overflow: hidden;
  border-bottom: 1px solid var(--ost-ink);
}

.ost-atlas-hero__copy {
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(4rem, 9vw, 8.5rem) var(--ost-gutter);
}

.ost-atlas-hero__copy h1 {
  max-width: 10.3ch;
  margin: 1.1rem 0 1.5rem;
  font-family: var(--ost-display);
  font-size: clamp(3.9rem, 7.6vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.84;
  text-wrap: balance;
  text-transform: uppercase;
}

.ost-atlas-hero__copy h1 span {
  display: block;
  color: var(--ost-aubergine);
}

.ost-atlas-hero__intro {
  max-width: 36rem;
  margin: 0 0 1.7rem;
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.45rem);
  line-height: 1.45;
}

.ost-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border-bottom: 1px solid currentColor;
  color: var(--ost-aubergine);
  font-family: var(--ost-sans);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  transition: gap var(--ost-fast), color var(--ost-fast);
}

.ost-text-link:hover {
  gap: 0.95rem;
  color: var(--ost-coral-ink);
}

.ost-atlas-hero__portrait {
  position: relative;
  min-height: 640px;
  margin: 0;
  background: var(--ost-aubergine);
}

.ost-photo-field {
  position: absolute;
  inset: clamp(2.5rem, 6vw, 5.5rem) 0 0 clamp(1rem, 4vw, 4rem);
  overflow: hidden;
  border-left: 1px solid var(--ost-ink);
  background: var(--ost-aubergine);
}

.ost-photo-field img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.ost-atlas-hero__portrait figcaption {
  position: absolute;
  top: clamp(1.3rem, 2vw, 2rem);
  right: var(--ost-gutter);
  left: clamp(2rem, 5vw, 5rem);
  display: flex;
  justify-content: flex-end;
  color: var(--ost-white);
  font-family: var(--ost-mono);
  font-size: 0.67rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ost-registration {
  position: absolute;
  z-index: 3;
  width: 1.8rem;
  height: 1.8rem;
  border: 1px solid var(--ost-white);
  border-radius: 50%;
  opacity: 0.8;
}

.ost-registration::before,
.ost-registration::after {
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--ost-white);
  content: "";
}

.ost-registration::before {
  width: 2.5rem;
  height: 1px;
  transform: translate(-50%, -50%);
}

.ost-registration::after {
  width: 1px;
  height: 2.5rem;
  transform: translate(-50%, -50%);
}

.ost-registration--one {
  top: 2rem;
  left: 1.3rem;
}

.ost-registration--two {
  right: 1.8rem;
  bottom: 2rem;
}

.ost-hero-thread {
  position: absolute;
  z-index: 5;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ost-hero-thread path {
  fill: none;
  stroke: var(--ost-coral);
  stroke-dasharray: 1100;
  stroke-dashoffset: 1100;
  stroke-linecap: round;
  stroke-width: 4;
  animation: ost-draw-thread 1.4s 260ms var(--ost-slow) forwards;
  vector-effect: non-scaling-stroke;
}

@keyframes ost-draw-thread {
  to {
    stroke-dashoffset: 0;
  }
}

.ost-taped-note {
  position: absolute;
  z-index: 7;
  top: 6.4rem;
  right: 2rem;
  margin: 0;
  padding: 1.05rem 1.25rem;
  transform: rotate(2.5deg);
  background: var(--ost-vellum);
  color: var(--ost-aubergine);
  font-family: var(--ost-body);
  font-size: 1.03rem;
  font-style: italic;
  line-height: 1.3;
  box-shadow: 8px 9px 0 rgba(21, 24, 22, 0.14);
}

.ost-route-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.34fr) minmax(0, 1fr);
  max-width: var(--ost-max);
  min-height: 570px;
  margin: 0 auto;
  border-bottom: 1px solid var(--ost-ink);
  background: var(--ost-aubergine);
  color: var(--ost-white);
}

.ost-route-intro {
  padding: clamp(3rem, 6vw, 6rem) var(--ost-gutter);
  border-right: 1px solid rgba(255, 255, 255, 0.55);
}

.ost-route-intro h2 {
  max-width: 11ch;
  margin: 1rem 0 1.5rem;
  color: var(--ost-white);
  font-family: var(--ost-display);
  font-size: clamp(2.8rem, 4.5vw, 4.7rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.92;
  text-transform: uppercase;
}

.ost-route-intro > p:last-child {
  max-width: 24rem;
  color: #f1e7f3;
  line-height: 1.5;
}

.ost-route-map {
  position: relative;
  min-height: 570px;
  overflow: hidden;
}

.ost-route-lines {
  position: absolute;
  inset: 3rem 3% auto;
  width: 94%;
  height: 380px;
}

.ost-route-line {
  fill: none;
  stroke: var(--ost-coral);
  stroke-linecap: round;
  stroke-width: 3;
  transition: stroke-width var(--ost-fast), opacity var(--ost-fast);
  vector-effect: non-scaling-stroke;
}

.ost-route-list {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  list-style: none;
}

.ost-route-list li {
  min-width: 0;
}

.ost-route-list li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.45);
}

.ost-route-list a {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 1.5rem clamp(1rem, 1.7vw, 1.65rem);
  color: var(--ost-white);
  text-decoration: none;
  transition: background var(--ost-fast), color var(--ost-fast);
}

.ost-route-list a:hover,
.ost-route-list a:focus-visible {
  background: var(--ost-white);
  color: var(--ost-plum-deep);
}

.ost-route-number {
  margin-bottom: 1.35rem;
  color: var(--ost-coral-soft);
  font-family: var(--ost-display);
  font-size: 2.2rem;
  line-height: 1;
}

.ost-route-list strong {
  max-width: 10ch;
  margin-bottom: 0.7rem;
  font-family: var(--ost-display);
  font-size: clamp(1.4rem, 1.8vw, 2rem);
  font-weight: 600;
  line-height: 0.98;
  text-transform: uppercase;
}

.ost-route-list small {
  display: block;
  margin-bottom: 1.25rem;
  font-family: var(--ost-body);
  font-size: 0.92rem;
  line-height: 1.4;
}

.ost-route-list a > span:last-child {
  margin-top: auto;
  font-family: var(--ost-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
}

.ost-featured-destination {
  display: grid;
  grid-template-columns: minmax(170px, 0.28fr) minmax(300px, 0.72fr) minmax(360px, 1fr);
  max-width: var(--ost-max);
  min-height: 520px;
  margin: 0 auto;
  border-bottom: 1px solid var(--ost-ink);
}

.ost-featured-destination > * {
  min-width: 0;
}

.ost-featured-destination__label,
.ost-featured-destination__copy {
  padding: clamp(2.5rem, 5vw, 5.5rem) var(--ost-gutter);
}

.ost-featured-destination__label {
  border-right: 1px solid var(--ost-ink);
}

.ost-featured-destination__label > p:last-child {
  max-width: 10rem;
  margin-top: 1.2rem;
  color: var(--ost-graphite);
  font-size: 0.95rem;
}

.ost-featured-destination__image {
  min-height: 520px;
  overflow: hidden;
  border-right: 1px solid var(--ost-ink);
}

.ost-featured-destination__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(0.86) contrast(1.04);
  transition: transform var(--ost-slow), filter var(--ost-fast);
}

.ost-featured-destination__image:hover img {
  transform: scale(1.025);
  filter: saturate(1) contrast(1);
}

.ost-featured-destination__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.ost-featured-destination__copy h2 {
  max-width: 13ch;
  margin: 1.15rem 0;
  font-family: var(--ost-display);
  font-size: clamp(3rem, 5.4vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 0.91;
  text-transform: uppercase;
}

.ost-featured-destination__copy h2 a {
  text-decoration: none;
}

.ost-featured-destination__copy > p:not(.ost-index-label) {
  max-width: 34rem;
  margin: 0 0 1.7rem;
}

.ost-topic-atlas {
  max-width: var(--ost-max);
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 8rem) var(--ost-gutter);
  border-bottom: 1px solid var(--ost-ink);
}

.ost-topic-atlas__heading {
  display: grid;
  grid-template-columns: 0.38fr 1fr 0.62fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.ost-topic-atlas__heading h2 {
  max-width: 11ch;
  margin: 0;
  color: var(--ost-aubergine);
  font-family: var(--ost-display);
  font-size: clamp(3.3rem, 6vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.86;
  text-transform: uppercase;
}

.ost-topic-atlas__heading > p:last-child {
  max-width: 30rem;
  margin: 0;
  color: var(--ost-graphite);
}

.ost-territories {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(3, minmax(150px, auto));
  gap: 1px;
  min-height: 660px;
  overflow: hidden;
  border: 1px solid var(--ost-ink);
  background: var(--ost-ink);
}

.ost-territory {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 160px;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.25rem, 2.5vw, 2.4rem);
  overflow: hidden;
  background: var(--ost-paper-light);
  text-decoration: none;
  transition: background var(--ost-fast), color var(--ost-fast);
}

.ost-territory:hover,
.ost-territory:focus-visible {
  z-index: 4;
  background: var(--ost-aubergine);
  color: var(--ost-white);
}

.ost-territory span {
  position: absolute;
  top: 1.1rem;
  left: 1.25rem;
  font-family: var(--ost-mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ost-territory strong {
  max-width: 10ch;
  font-family: var(--ost-display);
  font-size: clamp(1.8rem, 2.8vw, 3.2rem);
  font-weight: 600;
  line-height: 0.95;
  text-transform: uppercase;
}

.ost-territory small {
  max-width: 25rem;
  margin-top: 0.65rem;
  font-family: var(--ost-body);
  font-size: 0.9rem;
  line-height: 1.35;
}

.ost-territory--movement {
  grid-area: 1 / 1 / 2 / 6;
}

.ost-territory--nervous {
  grid-area: 1 / 6 / 3 / 10;
  background: var(--ost-aubergine);
  color: var(--ost-white);
}

.ost-territory--children {
  grid-area: 1 / 10 / 2 / 13;
}

.ost-territory--animals {
  grid-area: 2 / 1 / 4 / 5;
}

.ost-territory--food {
  grid-area: 3 / 5 / 4 / 9;
}

.ost-territory--garden {
  grid-area: 2 / 10 / 4 / 13;
}

.ost-atlas-thread {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ost-atlas-thread path {
  fill: none;
  stroke: var(--ost-coral);
  stroke-linecap: round;
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
}

.ost-about-field {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(380px, 1fr) minmax(220px, 0.48fr);
  max-width: var(--ost-max);
  min-height: 590px;
  margin: 0 auto;
  border-bottom: 1px solid var(--ost-ink);
}

.ost-about-field figure {
  position: relative;
  min-height: 590px;
  margin: 0;
  overflow: hidden;
  border-right: 1px solid var(--ost-ink);
}

.ost-about-field figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.ost-about-field figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0.8rem 1rem;
  background: var(--ost-vellum);
  font-family: var(--ost-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
}

.ost-about-field__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(3rem, 6vw, 6rem) var(--ost-gutter);
  border-right: 1px solid var(--ost-ink);
}

.ost-about-field__copy h2 {
  max-width: 11ch;
  margin: 1rem 0 1.5rem;
  font-family: var(--ost-display);
  font-size: clamp(3.3rem, 5.5vw, 5.7rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 0.88;
  text-transform: uppercase;
}

.ost-about-field__copy > p:not(.ost-index-label) {
  max-width: 42rem;
  margin: 0 0 1.1rem;
}

.ost-about-field__copy .ost-text-link {
  margin-top: 0.8rem;
}

.ost-field-note {
  align-self: center;
  margin: var(--ost-gutter);
  padding: 1.6rem 1.4rem 1.8rem;
  transform: rotate(1.5deg);
  background: var(--ost-vellum);
  box-shadow: 10px 12px 0 rgba(21, 24, 22, 0.12);
}

.ost-field-note p {
  margin: 0.85rem 0 0;
  color: var(--ost-aubergine);
  font-size: clamp(1.2rem, 1.5vw, 1.5rem);
  font-style: italic;
  line-height: 1.35;
}

.ost-learning-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.7fr) auto;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: var(--ost-max);
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6.5rem) var(--ost-gutter);
  border-bottom: 1px solid var(--ost-ink);
  background: var(--ost-aubergine);
  color: var(--ost-white);
}

.ost-learning-band h2 {
  max-width: 11ch;
  margin: 0.8rem 0 0;
  color: var(--ost-white);
  font-family: var(--ost-display);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.9;
  text-transform: uppercase;
}

.ost-learning-band > p {
  max-width: 26rem;
  color: #f1e7f3;
  font-size: 1.12rem;
}

.ost-button,
.wp-element-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 50px;
  padding: 0.85rem 1.15rem;
  border: 1px solid currentColor;
  border-radius: 0;
  background: var(--ost-paper-light);
  color: var(--ost-aubergine);
  font-family: var(--ost-sans);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform var(--ost-fast), background var(--ost-fast), color var(--ost-fast), box-shadow var(--ost-fast);
}

.ost-button:hover,
.wp-element-button:hover {
  transform: translate(-4px, -4px);
  background: var(--ost-coral);
  color: var(--ost-ink);
  box-shadow: 4px 4px 0 var(--ost-ink);
}

.ost-writing-section {
  max-width: var(--ost-max) !important;
  margin: 0 auto !important;
  padding: clamp(4.5rem, 8vw, 8rem) var(--ost-gutter) !important;
  border-bottom: 1px solid var(--ost-ink);
}

.ost-writing-heading {
  display: grid !important;
  grid-template-columns: 0.35fr 1fr 0.6fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  max-width: none !important;
  margin-bottom: clamp(3rem, 5vw, 5rem) !important;
}

.ost-writing-heading > * {
  margin: 0 !important;
}

.ost-writing-heading h2 {
  max-width: 11ch;
  color: var(--ost-aubergine);
  font-family: var(--ost-display);
  font-size: clamp(3.3rem, 6vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.86;
  text-transform: uppercase;
}

.ost-writing-heading > p:last-child {
  max-width: 30rem;
  color: var(--ost-graphite);
}

.ost-writing-section > .wp-block-query {
  width: 100%;
  max-width: none !important;
}

.ost-writing-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border-top: 1px solid var(--ost-ink);
  border-left: 1px solid var(--ost-ink);
  list-style: none;
}

.ost-writing-grid > li {
  margin: 0 !important;
  border-right: 1px solid var(--ost-ink);
  border-bottom: 1px solid var(--ost-ink);
}

.ost-writing-item {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  max-width: none !important;
  transition: background var(--ost-fast), color var(--ost-fast);
}

.ost-writing-item:hover {
  background: var(--ost-aubergine);
  color: var(--ost-white);
}

.ost-writing-item > * {
  width: 100%;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.ost-writing-item h3 {
  max-width: 100% !important;
  margin: 2.2rem 0 1rem !important;
  font-family: var(--ost-display);
  font-size: clamp(2rem, 2.8vw, 3.2rem);
  font-weight: 600;
  line-height: 0.98;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
}

.ost-writing-item h3 a {
  color: inherit;
  text-decoration: none;
}

.ost-writing-item .wp-block-post-excerpt {
  margin-top: auto !important;
}

.ost-writing-item .wp-block-post-excerpt__excerpt {
  margin-bottom: 1rem;
  font-size: 0.96rem;
  line-height: 1.45;
}

.ost-writing-item .wp-block-post-excerpt__more-link {
  font-family: var(--ost-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
}

.ost-medical-note {
  display: grid;
  grid-template-columns: 0.3fr 1fr;
  gap: 2rem;
  max-width: var(--ost-max);
  margin: 0 auto;
  padding: 2.2rem var(--ost-gutter);
  border-bottom: 1px solid var(--ost-ink);
  background: var(--ost-paper-light);
}

.ost-medical-note p {
  max-width: 72ch;
  margin: 0;
  font-size: 0.9rem;
}

.ost-site-footer {
  max-width: var(--ost-max);
  margin: 0 auto;
  background: var(--ost-ink);
  color: var(--ost-white);
}

.ost-footer-top,
.ost-footer-index,
.ost-footer-bottom {
  padding-right: var(--ost-gutter);
  padding-left: var(--ost-gutter);
}

.ost-footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 2rem;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.ost-footer-brand {
  font-family: var(--ost-display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.ost-footer-brand span {
  color: #ddc5e5;
}

.ost-footer-top p {
  max-width: 28rem;
  margin: 0;
  color: #d4d4cc;
}

.ost-back-to-top {
  color: var(--ost-coral-soft);
  font-family: var(--ost-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.ost-footer-index {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.ost-footer-index nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.6rem;
}

.ost-footer-index a {
  font-family: var(--ost-sans);
  font-size: 0.79rem;
  font-weight: 700;
}

.ost-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
  color: #bfc0b8;
  font-family: var(--ost-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Interior templates */
.ost-page-shell,
.ost-archive-shell,
.ost-single-shell,
.ost-404-shell {
  max-width: var(--ost-max);
  margin: 0 auto;
}

.ost-page-hero,
.ost-archive-hero,
.ost-single-hero {
  display: grid;
  grid-template-columns: 0.34fr 1fr;
  gap: var(--ost-gutter);
  padding: clamp(4rem, 8vw, 8rem) var(--ost-gutter);
  border-bottom: 1px solid var(--ost-ink);
}

.ost-page-hero h1,
.ost-archive-hero h1,
.ost-single-hero h1 {
  max-width: 15ch;
  margin: 0;
  color: var(--ost-aubergine);
  font-family: var(--ost-display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.88;
  text-transform: uppercase;
}

.ost-single-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.4rem;
  margin-top: 1.5rem;
  font-family: var(--ost-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.ost-article-scope {
  max-width: 34rem;
  margin: 1.25rem 0 0 !important;
  padding-top: 1rem;
  border-top: 1px solid currentColor;
  font-family: var(--ost-mono);
  font-size: 0.78rem;
  letter-spacing: 0.025em;
  line-height: 1.5;
  text-transform: uppercase;
}

.ost-single-featured {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--ost-gutter);
}

.ost-single-featured img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
}

.ost-prose,
.ost-page-content {
  max-width: 72ch;
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 7rem) var(--ost-gutter);
  overflow-wrap: anywhere;
  word-break: normal;
}

.ost-prose > *,
.ost-page-content > * {
  max-width: 68ch;
  margin-right: auto;
  margin-left: auto;
}

.ost-prose p,
.ost-page-content p {
  margin-top: 0;
  margin-bottom: 1.35em;
}

.ost-prose h2,
.ost-prose h3,
.ost-page-content h2,
.ost-page-content h3 {
  margin-top: 1.8em;
  margin-bottom: 0.55em;
  font-family: var(--ost-display);
  line-height: 0.96;
  text-transform: uppercase;
}

.ost-prose h2,
.ost-page-content h2 {
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
}

.ost-prose h3,
.ost-page-content h3 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.ost-prose blockquote,
.ost-page-content blockquote {
  margin: 2.2rem 0;
  padding: 1.5rem 0 1.5rem clamp(1.2rem, 4vw, 3rem);
  border-top: 1px solid var(--ost-aubergine);
  border-bottom: 1px solid var(--ost-aubergine);
  color: var(--ost-aubergine);
  font-size: 1.3em;
  font-style: italic;
}

.ost-prose a,
.ost-page-content a {
  color: var(--ost-aubergine);
}

.ost-prose img,
.ost-page-content img {
  height: auto;
}

.ost-post-navigation {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--ost-gutter) clamp(4rem, 7vw, 7rem);
}

.ost-post-navigation .wp-block-post-navigation-link {
  font-family: var(--ost-display);
  font-size: 1.5rem;
  text-transform: uppercase;
}

.ost-archive-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  max-width: calc(var(--ost-max) - (2 * var(--ost-gutter)));
  margin: 0 auto clamp(4rem, 8vw, 8rem) !important;
  padding: 0 !important;
  border-top: 1px solid var(--ost-ink);
  border-left: 1px solid var(--ost-ink);
}

.ost-archive-grid > li {
  margin: 0 !important;
  border-right: 1px solid var(--ost-ink);
  border-bottom: 1px solid var(--ost-ink);
}

.ost-archive-card {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  padding: 2rem;
}

.ost-archive-card h2 {
  margin: 2rem 0 1rem;
  font-family: var(--ost-display);
  font-size: clamp(2rem, 2.8vw, 3.2rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.ost-archive-card h2 a {
  text-decoration: none;
}

.ost-archive-card .wp-block-post-excerpt {
  margin-top: auto;
}

.ost-pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0 var(--ost-gutter) 5rem;
  font-family: var(--ost-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.ost-search-form {
  display: flex;
  max-width: 720px;
  margin: 2rem auto 0;
}

.ost-search-form input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--ost-ink);
  border-radius: 0;
  background: var(--ost-paper-light);
  font: inherit;
}

.ost-search-form button {
  border-radius: 0;
  background: var(--ost-aubergine);
  color: var(--ost-white);
}

@media (max-width: 1080px) {
  .ost-desktop-nav {
    gap: 1rem;
  }

  .ost-atlas-hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  }

  .ost-route-list a {
    min-height: 280px;
  }

  .ost-featured-destination {
    grid-template-columns: 180px minmax(300px, 0.8fr) 1fr;
  }

  .ost-about-field {
    grid-template-columns: minmax(320px, 0.8fr) 1fr;
  }

  .ost-field-note {
    display: none;
  }
}

@media (max-width: 860px) {
  .ost-desktop-nav {
    display: none;
  }

  .ost-mobile-menu {
    position: relative;
    display: block;
    font-family: var(--ost-sans);
    font-size: 0.82rem;
    font-weight: 800;
  }

  .ost-mobile-menu summary {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    cursor: pointer;
    list-style: none;
  }

  .ost-mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .ost-mobile-menu[open] summary span:last-child {
    transform: rotate(45deg);
  }

  .ost-mobile-menu nav {
    position: absolute;
    top: calc(100% + 1.55rem);
    right: calc(-1 * var(--ost-gutter));
    display: grid;
    width: min(88vw, 360px);
    border: 1px solid var(--ost-ink);
    background: var(--ost-paper-light);
    box-shadow: 8px 10px 0 var(--ost-ink);
  }

  .ost-mobile-menu nav a {
    padding: 1rem 1.25rem;
    text-decoration: none;
  }

  .ost-mobile-menu nav a + a {
    border-top: 1px solid var(--ost-ink);
  }

  .ost-atlas-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .ost-atlas-hero__copy {
    min-height: 600px;
  }

  .ost-atlas-hero__portrait {
    min-height: 660px;
  }

  .ost-photo-field {
    inset: 4rem 0 0 var(--ost-gutter);
  }

  .ost-hero-thread {
    top: 400px;
    height: calc(100% - 400px);
  }

  .ost-taped-note {
    top: auto;
    right: 1.25rem;
    bottom: 2rem;
  }

  .ost-route-section {
    grid-template-columns: 1fr;
  }

  .ost-route-intro {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  }

  .ost-route-map {
    min-height: 0;
  }

  .ost-route-lines {
    display: none;
  }

  .ost-route-list {
    position: relative;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 0;
    border-left: 4px solid var(--ost-coral);
  }

  .ost-route-list li {
    border-top: 1px solid rgba(255, 255, 255, 0.45);
  }

  .ost-route-list li:nth-child(odd) {
    border-left: 0;
  }

  .ost-route-list a {
    min-height: 250px;
  }

  .ost-featured-destination {
    grid-template-columns: 0.35fr 0.65fr;
  }

  .ost-featured-destination__label {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid var(--ost-ink);
  }

  .ost-topic-atlas__heading,
  .ost-writing-heading {
    grid-template-columns: 1fr 1fr;
  }

  .ost-topic-atlas__heading > .ost-index-label,
  .ost-writing-heading > .ost-index-label {
    grid-column: 1 / -1;
  }

  .ost-territories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .ost-territory {
    grid-area: auto;
    min-height: 280px;
  }

  .ost-atlas-thread {
    display: none;
  }

  .ost-about-field {
    grid-template-columns: 0.8fr 1fr;
  }

  .ost-learning-band {
    grid-template-columns: 1fr 0.65fr;
  }

  .ost-learning-band .ost-button {
    justify-self: start;
  }

  .ost-writing-grid,
  .ost-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

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

  .ost-back-to-top {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  :root {
    --ost-gutter: 1.05rem;
  }

  .ost-site-header {
    min-height: 68px;
  }

  .ost-brand-mark {
    width: 2.65rem;
    height: 2.65rem;
    font-size: 0.9rem;
  }

  .ost-brand strong {
    font-size: 1rem;
  }

  .ost-brand small {
    font-size: 0.75rem;
  }

  .ost-atlas-hero__copy {
    min-height: 540px;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .ost-atlas-hero__copy h1 {
    font-size: clamp(3.45rem, 16vw, 5rem);
  }

  .ost-atlas-hero__portrait {
    min-height: 540px;
  }

  .ost-atlas-hero__portrait figcaption {
    left: var(--ost-gutter);
    justify-content: flex-start;
  }

  .ost-registration--one {
    left: auto;
    right: 1.2rem;
  }

  .ost-route-list {
    grid-template-columns: 1fr;
  }

  .ost-route-list li + li {
    border-left: 0;
  }

  .ost-route-list a {
    min-height: 220px;
  }

  .ost-featured-destination {
    grid-template-columns: 1fr;
  }

  .ost-featured-destination__label,
  .ost-featured-destination__image,
  .ost-featured-destination__copy {
    border-right: 0;
    border-bottom: 1px solid var(--ost-ink);
  }

  .ost-featured-destination__image {
    min-height: 480px;
  }

  .ost-featured-destination__copy h2 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .ost-topic-atlas__heading,
  .ost-writing-heading {
    grid-template-columns: 1fr;
  }

  .ost-topic-atlas__heading > *,
  .ost-writing-heading > * {
    grid-column: auto !important;
  }

  .ost-territories {
    grid-template-columns: 1fr;
  }

  .ost-territory {
    min-height: 260px;
  }

  .ost-about-field {
    grid-template-columns: 1fr;
  }

  .ost-about-field figure {
    min-height: 480px;
    border-right: 0;
    border-bottom: 1px solid var(--ost-ink);
  }

  .ost-about-field__copy {
    border-right: 0;
  }

  .ost-learning-band {
    grid-template-columns: 1fr;
  }

  .ost-writing-grid,
  .ost-archive-grid {
    grid-template-columns: 1fr !important;
  }

  .ost-writing-item {
    min-height: 280px;
  }

  .ost-medical-note {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

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

  .ost-footer-index,
  .ost-footer-bottom {
    flex-direction: column;
  }

  .ost-page-hero,
  .ost-archive-hero,
  .ost-single-hero {
    grid-template-columns: 1fr;
  }

  .ost-single-featured {
    padding: 0;
  }
}

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

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

  .ost-hero-thread path {
    stroke-dashoffset: 0;
  }
}
