:root {
  --espresso: #2a160f;
  --cocoa: #3c2117;
  --cocoa-soft: #5a3425;
  --forest: #20392a;
  --forest-light: #385b43;
  --lime: #d5df19;
  --lime-soft: #e7ec79;
  --cream: #f7f2e7;
  --paper: #fdfaf3;
  --sand: #e9decc;
  --plum: #714253;
  --coral: #b96f55;
  --ink: #211b18;
  --muted: #6e655e;
  --white: #fffdf8;
  --border: rgba(42, 22, 15, 0.15);
  --shadow: 0 30px 80px rgba(42, 22, 15, 0.14);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Segoe UI", sans-serif;
  --shell: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.dialog-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
blockquote,
figure {
  margin-top: 0;
}

::selection {
  color: var(--espresso);
  background: var(--lime-soft);
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding-block: clamp(84px, 10vw, 150px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--espresso);
  border-radius: 4px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(253, 250, 243, 0.92);
  border-color: var(--border);
  box-shadow: 0 8px 30px rgba(42, 22, 15, 0.06);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--espresso);
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 7px 13px rgba(42, 22, 15, 0.12));
}

.brand span {
  display: grid;
  line-height: 1;
}

.brand strong {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.primary-nav > a {
  position: relative;
  padding-block: 10px;
  color: #423a35;
  font-size: 13px;
  font-weight: 600;
}

.primary-nav > a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--espresso);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.primary-nav > a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--espresso);
  transition: transform 180ms ease;
}

/* Shared controls */
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.button-small {
  min-height: 43px;
  padding: 11px 18px;
  font-size: 12px;
}

.button-dark {
  color: var(--white);
  background: var(--espresso);
  box-shadow: 0 10px 24px rgba(42, 22, 15, 0.14);
}

.button-dark:hover {
  background: #48271b;
  box-shadow: 0 14px 28px rgba(42, 22, 15, 0.2);
}

.button-primary {
  color: var(--espresso);
  background: var(--lime);
  box-shadow: 0 14px 35px rgba(134, 142, 12, 0.24);
}

.button-primary:hover {
  background: #e1e934;
  box-shadow: 0 18px 38px rgba(134, 142, 12, 0.3);
}

.button-light {
  color: var(--espresso);
  background: var(--cream);
}

.button-light:hover {
  background: var(--white);
}

.button-outline-dark {
  color: var(--espresso);
  background: transparent;
  border-color: rgba(42, 22, 15, 0.45);
}

.button-outline-dark:hover {
  color: var(--white);
  background: var(--espresso);
  border-color: var(--espresso);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-block: 9px;
  border-bottom: 1px solid rgba(42, 22, 15, 0.35);
  font-size: 13px;
  font-weight: 600;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.text-link-dark {
  color: var(--espresso);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  color: var(--cocoa-soft);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 34px;
  height: 1px;
  background: currentColor;
}

.eyebrow-light {
  color: var(--lime-soft);
}

.eyebrow-dark {
  color: var(--cocoa-soft);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 158px 0 0;
  background:
    radial-gradient(circle at 75% 12%, rgba(213, 223, 25, 0.16), transparent 26%),
    linear-gradient(120deg, var(--paper), #f5eddf 62%, #eee2d0);
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(400px, 0.96fr);
  align-items: center;
  gap: clamp(45px, 8vw, 100px);
  padding-bottom: 86px;
}

.hero-copy {
  max-width: 660px;
}

.hero h1 {
  max-width: 660px;
  margin-bottom: 26px;
  color: var(--espresso);
  font-family: var(--serif);
  font-size: clamp(55px, 6.2vw, 88px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.hero h1 em,
.section-heading h2 em,
.footer-statement em {
  color: var(--forest-light);
  font-weight: 400;
}

.hero-lead {
  max-width: 590px;
  margin-bottom: 34px;
  color: #554b44;
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 40px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  list-style: none;
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-meta svg {
  width: 18px;
  fill: none;
  stroke: var(--forest-light);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.hero-art {
  position: relative;
  min-height: 530px;
  display: grid;
  place-items: center;
}

.hero-art-backdrop {
  position: absolute;
  width: 435px;
  height: 520px;
  background: linear-gradient(155deg, rgba(255, 253, 248, 0.8), rgba(222, 207, 184, 0.42));
  border: 1px solid rgba(42, 22, 15, 0.12);
  border-radius: 230px 230px 14px 14px;
  box-shadow: inset 0 0 100px rgba(255, 255, 255, 0.5);
  transform: rotate(4deg);
}

.logo-stage {
  position: relative;
  z-index: 2;
  width: min(82%, 425px);
  margin: 0;
}

.logo-stage img {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 36px 35px rgba(42, 22, 15, 0.28));
  animation: logo-float 7s ease-in-out infinite;
}

.logo-halo {
  position: absolute;
  inset: 6%;
  z-index: 1;
  background: rgba(213, 223, 25, 0.26);
  border-radius: 50%;
  filter: blur(38px);
}

.logo-stage figcaption {
  position: absolute;
  z-index: 3;
  right: -10px;
  bottom: 16px;
  min-width: 185px;
  padding: 14px 18px;
  color: var(--espresso);
  background: rgba(255, 253, 248, 0.93);
  border-left: 3px solid var(--lime);
  box-shadow: 0 16px 34px rgba(42, 22, 15, 0.14);
  backdrop-filter: blur(8px);
}

.logo-stage figcaption span,
.logo-stage figcaption strong {
  display: block;
}

.logo-stage figcaption span {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.logo-stage figcaption strong {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
}

.botanical-line {
  position: absolute;
  z-index: 1;
  right: -45px;
  bottom: -25px;
  width: 200px;
  fill: rgba(213, 223, 25, 0.14);
  stroke: rgba(56, 91, 67, 0.42);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2;
}

.hero-ornament {
  position: absolute;
  border: 1px solid rgba(42, 22, 15, 0.1);
  border-radius: 50%;
}

.hero-ornament-one {
  top: 20%;
  right: -150px;
  width: 460px;
  height: 460px;
}

.hero-ornament-two {
  top: 32%;
  right: -70px;
  width: 270px;
  height: 270px;
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

/* Quick actions */
.action-dock {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.08fr 1fr 1fr;
  box-shadow: 0 30px 60px rgba(42, 22, 15, 0.13);
  transform: translateY(40px);
}

.action-card {
  position: relative;
  min-height: 190px;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: end;
  gap: 16px;
  padding: 34px 30px 29px;
  background: var(--white);
  border-right: 1px solid var(--border);
}

.action-card-featured {
  color: var(--white);
  background: var(--espresso);
  border-color: rgba(255, 255, 255, 0.12);
}

.action-number {
  position: absolute;
  top: 20px;
  left: 22px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.action-card-featured .action-number {
  color: rgba(255, 255, 255, 0.45);
}

.action-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--forest-light);
  background: var(--cream);
  border-radius: 50%;
}

.action-card-featured .action-icon {
  color: var(--espresso);
  background: var(--lime);
}

.action-icon svg,
.round-link svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.action-card p {
  margin-bottom: 5px;
  color: var(--coral);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.action-card-featured p {
  color: var(--lime-soft);
}

.action-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(19px, 1.6vw, 23px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.round-link {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--espresso);
  background: transparent;
  border: 1px solid rgba(42, 22, 15, 0.35);
  border-radius: 50%;
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.action-card-featured .round-link {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
}

.round-link:hover {
  color: var(--white);
  background: var(--forest);
  transform: rotate(-10deg);
}

.action-card-featured .round-link:hover {
  color: var(--espresso);
  background: var(--lime);
}

/* Intro */
.intro {
  padding-top: clamp(145px, 15vw, 220px);
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(170px, 0.36fr) minmax(0, 1fr);
  gap: clamp(45px, 8vw, 120px);
}

.section-kicker {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-top: 14px;
  color: var(--cocoa-soft);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kicker-line {
  width: 60px;
  height: 1px;
  margin-top: 8px;
  background: var(--cocoa-soft);
}

.intro-copy h2 {
  max-width: 900px;
  margin-bottom: 50px;
  color: var(--espresso);
  font-family: var(--serif);
  font-size: clamp(43px, 5vw, 70px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.intro-columns {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(35px, 6vw, 80px);
  padding-top: 34px;
  border-top: 1px solid var(--border);
}

.intro-columns p {
  margin-bottom: 0;
  color: var(--muted);
}

.intro-columns .lead-serif {
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.35;
}

/* Services */
.services {
  background: #ece4d7;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 62px;
}

.section-heading h2 {
  margin-bottom: 0;
  color: var(--espresso);
  font-family: var(--serif);
  font-size: clamp(47px, 5.4vw, 76px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.section-heading > p {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 14px;
}

.service-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 20px;
}

.service-card {
  min-height: 680px;
  display: flex;
  flex-direction: column;
  padding: clamp(34px, 5vw, 62px);
}

.service-card-wellness {
  color: var(--white);
  background:
    radial-gradient(circle at 80% 17%, rgba(213, 223, 25, 0.13), transparent 27%),
    var(--forest);
}

.service-card-learning {
  color: var(--espresso);
  background:
    linear-gradient(145deg, transparent 74%, rgba(113, 66, 83, 0.09)),
    var(--paper);
  border: 1px solid rgba(42, 22, 15, 0.09);
}

.service-card-top {
  min-height: 155px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.service-index {
  color: inherit;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.62;
}

.service-flower {
  width: 112px;
  fill: rgba(213, 223, 25, 0.1);
  stroke: var(--lime);
  stroke-width: 1;
}

.learning-motif {
  display: flex;
  gap: 5px;
}

.learning-motif span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--forest);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-family: var(--serif);
}

.learning-motif span:nth-child(2) {
  color: var(--white);
  background: var(--plum);
  transform: translateY(18px);
}

.learning-motif span:nth-child(3) {
  background: var(--lime-soft);
}

.service-label {
  margin-bottom: 16px;
  color: var(--lime-soft);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.service-card-learning .service-label {
  color: var(--plum);
}

.service-card h3 {
  max-width: 560px;
  margin-bottom: 25px;
  font-family: var(--serif);
  font-size: clamp(35px, 3.6vw, 51px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.service-card-copy > p:last-child {
  max-width: 540px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.service-card-learning .service-card-copy > p:last-child {
  color: var(--muted);
}

.detail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: auto 0 28px;
  list-style: none;
}

.detail-list li {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  font-size: 10px;
}

.service-card-learning .detail-list li {
  border-color: var(--border);
}

.service-card .button {
  align-self: flex-start;
}

.service-notice {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
}

/* Books */
.books {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(42, 22, 15, 0.96), rgba(62, 33, 23, 0.98)),
    var(--espresso);
}

.books::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.11;
  background-image: radial-gradient(rgba(255, 255, 255, 0.7) 0.5px, transparent 0.5px);
  background-size: 8px 8px;
}

.books-glow {
  position: absolute;
  top: -300px;
  right: -160px;
  width: 780px;
  height: 780px;
  background: rgba(213, 223, 25, 0.13);
  border-radius: 50%;
  filter: blur(100px);
}

.books-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(310px, 0.75fr) minmax(510px, 1.25fr);
  align-items: center;
  gap: clamp(70px, 10vw, 140px);
}

.books-copy h2 {
  margin-bottom: 26px;
  font-family: var(--serif);
  font-size: clamp(54px, 6vw, 82px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.books-copy > p:not(.eyebrow) {
  max-width: 470px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.68);
}

.book-display {
  min-height: 610px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4vw, 58px);
  perspective: 1200px;
}

.book-item {
  position: relative;
  width: min(245px, 43%);
}

.book-item-one {
  transform: translateY(34px) rotateY(7deg) rotateZ(-2deg);
}

.book-item-two {
  transform: translateY(-30px) rotateY(-7deg) rotateZ(2deg);
}

.book-shadow {
  position: absolute;
  right: -12px;
  bottom: 56px;
  left: 18px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  filter: blur(17px);
  transform: translateY(25px);
}

.book-cover {
  position: relative;
  z-index: 2;
  height: 375px;
  display: flex;
  flex-direction: column;
  padding: 28px 25px;
  border-radius: 2px 7px 7px 2px;
  box-shadow:
    inset -9px 0 15px rgba(0, 0, 0, 0.13),
    0 30px 50px rgba(0, 0, 0, 0.32);
  transition: transform 260ms ease;
}

.book-item:hover .book-cover {
  transform: translateY(-8px);
}

.book-item-one .book-cover {
  color: var(--espresso);
  background: linear-gradient(145deg, #e6ec59, var(--lime) 55%, #aab517);
}

.book-item-two .book-cover {
  color: var(--white);
  background:
    radial-gradient(circle at 70% 20%, rgba(213, 223, 25, 0.22), transparent 33%),
    linear-gradient(150deg, var(--plum), #392032);
}

.book-cover-image {
  width: 100%;
  padding: 0;
  object-fit: cover;
  object-position: center;
  background: #8a6647;
}

.book-mark {
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.book-cover h3 {
  position: relative;
  z-index: 2;
  margin: auto 0 22px;
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.84;
}

.book-cover > p {
  margin: 0;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.book-cover-art {
  position: absolute;
  top: 40px;
  right: 26px;
  width: 75px;
  height: 122px;
}

.book-cover-art span {
  position: absolute;
  bottom: 0;
  width: 1px;
  height: 110px;
  background: rgba(42, 22, 15, 0.55);
  transform-origin: bottom;
}

.book-cover-art span::after {
  position: absolute;
  top: 15px;
  left: -1px;
  width: 30px;
  height: 15px;
  content: "";
  border: 1px solid rgba(42, 22, 15, 0.55);
  border-radius: 100% 0 100% 0;
  transform: rotate(-22deg);
}

.book-cover-art span:nth-child(1) { left: 12px; transform: rotate(-22deg); }
.book-cover-art span:nth-child(2) { left: 38px; height: 90px; transform: rotate(4deg); }
.book-cover-art span:nth-child(3) { left: 58px; height: 75px; transform: rotate(22deg); }

.mind-orbit {
  position: absolute;
  top: 60px;
  right: 35px;
  width: 105px;
  height: 105px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.mind-orbit::before,
.mind-orbit::after {
  position: absolute;
  inset: 14px -8px;
  content: "";
  border: 1px solid rgba(213, 223, 25, 0.55);
  border-radius: 50%;
  transform: rotate(57deg);
}

.mind-orbit::after {
  inset: -7px 20px;
  transform: rotate(-40deg);
}

.mind-orbit span {
  position: absolute;
  top: 47px;
  left: 47px;
  width: 10px;
  height: 10px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 18px var(--lime);
}

.book-item button {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 2px 8px;
  color: rgba(255, 255, 255, 0.72);
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 10px;
  cursor: pointer;
}

.book-item button:hover {
  color: var(--lime-soft);
}

.mockup-note {
  position: relative;
  z-index: 2;
  margin-top: 35px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.37);
  font-size: 9px;
  text-align: right;
}

/* Founder */
.founder {
  overflow: hidden;
  background: var(--paper);
}

.founder-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(75px, 11vw, 150px);
}

.founder-portrait {
  position: relative;
  max-width: 470px;
}

.portrait-frame {
  position: relative;
  min-height: 590px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 32px;
  background:
    radial-gradient(circle at 50% 36%, rgba(213, 223, 25, 0.25), transparent 32%),
    linear-gradient(145deg, var(--forest), #14281d);
  border-radius: 230px 230px 8px 8px;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.portrait-frame::before {
  position: absolute;
  top: 24px;
  right: 24px;
  bottom: 24px;
  left: 24px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 210px 210px 4px 4px;
  z-index: 1;
  pointer-events: none;
}

.portrait-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.portrait-caption {
  position: relative;
  z-index: 2;
  display: grid;
  padding: 18px 20px;
  color: var(--espresso);
  background: rgba(255, 253, 248, 0.94);
  border-left: 3px solid var(--lime);
}

.portrait-caption span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.portrait-caption strong {
  margin-top: 5px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
}

.portrait-badge {
  position: absolute;
  z-index: 3;
  top: 80px;
  right: -48px;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  color: var(--espresso);
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 18px 35px rgba(42, 22, 15, 0.2);
}

.portrait-badge svg {
  position: absolute;
  inset: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  animation: badge-spin 18s linear infinite;
}

.portrait-badge text {
  fill: currentColor;
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 2px;
}

.portrait-badge > span {
  font-size: 24px;
}

@keyframes badge-spin {
  to { transform: rotate(360deg); }
}

.founder-copy h2 {
  max-width: 700px;
  margin-bottom: 35px;
  color: var(--espresso);
  font-family: var(--serif);
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.founder-copy > p:not(.eyebrow) {
  max-width: 610px;
  color: var(--muted);
}

.founder-copy .verification-note {
  margin: 28px 0;
  padding: 14px 18px;
  color: var(--cocoa-soft);
  background: var(--cream);
  border-left: 2px solid var(--coral);
  font-size: 11px;
}

/* Watch */
.watch-strip {
  padding-block: 58px;
  color: var(--white);
  background: var(--plum);
}

.watch-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.watch-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  color: var(--plum);
  background: var(--lime-soft);
  border-radius: 50%;
}

.watch-icon svg {
  width: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.watch-inner p {
  margin-bottom: 4px;
  color: var(--lime-soft);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.watch-inner h2 {
  max-width: 720px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.coming-soon {
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 30px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Contact */
.contact {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 100%, rgba(213, 223, 25, 0.17), transparent 30%),
    #ded0bc;
}

.contact-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  text-align: center;
}

.contact-inner .eyebrow {
  justify-content: center;
}

.contact h2 {
  margin-bottom: 20px;
  color: var(--espresso);
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.contact-inner > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 auto 34px;
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.contact-inner > small {
  color: var(--cocoa-soft);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-branch {
  position: absolute;
  top: -100px;
  right: -170px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(42, 22, 15, 0.1);
  border-radius: 50%;
}

.contact-branch::before,
.contact-branch::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(42, 22, 15, 0.08);
  border-radius: 50%;
}

.contact-branch::before { inset: 65px; }
.contact-branch::after { inset: 130px; }

/* Footer */
.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: #1f110d;
}

.footer-main {
  display: grid;
  grid-template-columns: 0.34fr 0.86fr 0.8fr;
  gap: 60px;
  padding-block: 78px;
}

.footer-brand img {
  width: 88px;
  height: 88px;
  filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.25));
}

.footer-statement p {
  margin: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(29px, 3vw, 42px);
  letter-spacing: -0.035em;
  line-height: 1.07;
}

.footer-statement em {
  color: var(--lime-soft);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
}

.footer-links > div {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-links span {
  margin-bottom: 11px;
  color: var(--lime-soft);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-links a,
.footer-links button {
  width: fit-content;
  padding: 0;
  color: rgba(255, 255, 255, 0.64);
  background: none;
  border: 0;
  font-size: 12px;
  cursor: pointer;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--white);
}

.footer-bottom {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom span {
  color: rgba(255, 255, 255, 0.58);
}

/* Enquiry dialog */
.enquiry-dialog {
  width: min(820px, calc(100% - 28px));
  max-height: min(880px, calc(100vh - 28px));
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-radius: 4px;
  box-shadow: 0 40px 120px rgba(20, 10, 7, 0.5);
}

.enquiry-dialog::backdrop {
  background: rgba(26, 14, 10, 0.72);
  backdrop-filter: blur(8px);
}

.dialog-shell {
  position: relative;
  padding: clamp(28px, 6vw, 64px);
}

.dialog-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
}

.dialog-close svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.dialog-intro {
  max-width: 620px;
  margin-bottom: 34px;
}

.dialog-intro h2 {
  margin-bottom: 12px;
  color: var(--espresso);
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.dialog-intro > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.enquiry-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label {
  color: var(--cocoa-soft);
  font-size: 10px;
  font-weight: 600;
}

.field label span {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(42, 22, 15, 0.2);
  border-radius: 2px;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.field input,
.field select {
  min-height: 48px;
  padding: 10px 13px;
}

.field textarea {
  padding: 12px 13px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--forest-light);
  box-shadow: 0 0 0 3px rgba(56, 91, 67, 0.11);
}

.field input:user-invalid,
.field select:user-invalid,
.consent input:user-invalid {
  border-color: #a74c3d;
}

.consent {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
}

.consent input {
  width: 16px;
  height: 16px;
  accent-color: var(--forest);
}

.form-submit {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 4px;
}

.form-submit > span {
  max-width: 220px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.form-status {
  padding: 13px 15px;
  color: var(--forest);
  background: rgba(213, 223, 25, 0.16);
  border-left: 3px solid var(--lime);
  font-size: 11px;
}

/* Reveal motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px) {
  :root { --shell: min(100% - 32px, 760px); }

  .menu-toggle { display: block; }

  .primary-nav {
    position: absolute;
    top: 77px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 0;
    padding: 14px;
    background: var(--paper);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms;
  }

  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .primary-nav > a { padding: 13px 12px; }
  .primary-nav .button { margin-top: 8px; }

  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-3px) rotate(-45deg); }

  .hero { padding-top: 132px; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-copy { max-width: 720px; }
  .hero-art { min-height: 520px; }
  .hero-art-backdrop { width: 400px; height: 480px; }
  .logo-stage { width: min(70%, 400px); }
  .botanical-line { right: 5%; }

  .action-dock { grid-template-columns: 1fr; }
  .action-card { min-height: 142px; }

  .intro-grid { grid-template-columns: 1fr; gap: 34px; }
  .section-kicker { padding-top: 0; }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section-heading > p { max-width: 580px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 630px; }

  .books-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .books-copy { max-width: 620px; }
  .book-display { min-height: 550px; }
  .mockup-note { text-align: center; }

  .founder-grid {
    grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1fr);
    gap: 65px;
  }

  .portrait-frame { min-height: 510px; }
  .portrait-badge { right: -30px; }

  .watch-inner {
    grid-template-columns: auto 1fr;
  }

  .coming-soon { grid-column: 2; justify-self: start; }

  .footer-main {
    grid-template-columns: auto 1fr;
  }

  .footer-links { grid-column: 2; }
}

@media (max-width: 720px) {
  :root { --shell: min(100% - 28px, 620px); }
  .section { padding-block: 82px; }

  .header-inner { min-height: 76px; }
  .brand img { width: 44px; height: 44px; }
  .brand strong { font-size: 18px; }

  .hero { padding-top: 120px; }
  .hero-inner { padding-bottom: 38px; }
  .hero h1 { font-size: clamp(49px, 14vw, 70px); }
  .hero-lead { font-size: 15px; }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .text-link { align-self: flex-start; }
  .hero-art { min-height: 395px; }
  .hero-art-backdrop { width: 290px; height: 365px; }
  .logo-stage { width: min(78%, 320px); }
  .logo-stage figcaption { right: -6px; bottom: -2px; min-width: 160px; padding: 11px 14px; }
  .botanical-line { right: -25px; width: 140px; }

  .action-dock { width: 100%; transform: translateY(28px); }
  .action-card { grid-template-columns: 44px 1fr auto; padding: 34px 18px 24px; }
  .action-icon { width: 43px; height: 43px; }

  .intro { padding-top: 125px; }
  .intro-copy h2 { margin-bottom: 34px; }
  .intro-columns { grid-template-columns: 1fr; gap: 20px; }

  .service-card { min-height: 650px; padding: 32px 24px; }
  .service-card-top { min-height: 130px; }
  .service-flower { width: 88px; }
  .learning-motif span { width: 34px; height: 34px; }
  .service-card .button { width: 100%; }

  .book-display { min-height: 510px; gap: 18px; }
  .book-item { width: 47%; }
  .book-item-one { transform: translateY(20px) rotateY(4deg) rotateZ(-1deg); }
  .book-item-two { transform: translateY(-20px) rotateY(-4deg) rotateZ(1deg); }
  .book-cover { height: 320px; padding: 20px 18px; }
  .book-cover h3 { font-size: clamp(34px, 10vw, 45px); }
  .book-cover-art { transform: scale(0.76); transform-origin: top right; }
  .mind-orbit { top: 50px; right: 18px; transform: scale(0.72); transform-origin: top right; }

  .founder-grid { grid-template-columns: 1fr; gap: 60px; }
  .founder-portrait { width: min(90%, 400px); margin-inline: auto; }
  .portrait-frame { min-height: 500px; }
  .portrait-badge { top: 65px; right: -25px; width: 96px; height: 96px; }

  .watch-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .watch-icon { justify-self: center; }
  .coming-soon { grid-column: auto; justify-self: center; }

  .contact-actions { flex-direction: column; }
  .contact-actions .button { width: 100%; }

  .footer-main { grid-template-columns: 1fr; gap: 35px; padding-block: 60px; }
  .footer-links { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 18px; }

  .enquiry-form { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .form-submit { align-items: flex-start; flex-direction: column; }
  .form-submit .button { width: 100%; }
}

@media (max-width: 390px) {
  .brand small { display: none; }
  .hero-meta { display: grid; }
  .action-card h2 { font-size: 18px; }
  .round-link { width: 36px; height: 36px; }
  .book-display { min-height: 450px; }
  .book-cover { height: 275px; }
  .book-cover h3 { font-size: 33px; }
  .book-cover-art,
  .mind-orbit { display: none; }
  .portrait-frame { min-height: 440px; }
}

@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;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Journal preview on the landing page */
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.journal-preview {
  background: var(--cream);
}

.journal-preview-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 58px;
}

.journal-preview-heading h2 {
  max-width: 720px;
  margin: 0;
  color: var(--espresso);
  font-family: var(--serif);
  font-size: clamp(48px, 5.5vw, 78px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.journal-preview-heading h2 em {
  color: var(--plum);
  font-weight: 400;
}

.journal-preview-heading > div:last-child > p {
  margin-bottom: 23px;
  color: var(--muted);
  font-size: 14px;
}

.home-journal-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 20px;
}

.home-journal-card {
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--border);
}

.home-journal-image,
.journal-card-image {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--sand);
}

.home-journal-image {
  aspect-ratio: 16 / 10;
}

.home-journal-image img,
.journal-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.home-journal-card:hover img,
.journal-card:hover img {
  transform: scale(1.035);
}

.home-journal-image > span,
.journal-card-image > span {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 7px 11px;
  color: var(--espresso);
  background: rgba(253, 250, 243, 0.92);
  border-radius: 30px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.home-journal-card-copy {
  padding: clamp(25px, 3vw, 38px);
}

.journal-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journal-card-meta span + span::before {
  margin-right: 18px;
  content: "•";
  color: var(--coral);
}

.home-journal-card h3,
.journal-card h2 {
  margin-bottom: 14px;
  color: var(--espresso);
  font-family: var(--serif);
  font-size: clamp(29px, 3vw, 43px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.home-journal-card h3 a,
.journal-card h2 a {
  transition: color 180ms ease;
}

.home-journal-card h3 a:hover,
.journal-card h2 a:hover {
  color: var(--forest-light);
}

.home-journal-card-copy > p,
.journal-card-body > p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
}

.journal-read-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  color: var(--espresso);
  border-bottom: 1px solid rgba(42, 22, 15, 0.35);
  font-size: 10px;
  font-weight: 600;
}

.journal-read-link span {
  transition: transform 180ms ease;
}

.journal-read-link:hover span {
  transform: translate(3px, -3px);
}

/* Journal archive */
.journal-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(170px, 18vw, 250px) 0 clamp(85px, 10vw, 135px);
  background:
    radial-gradient(circle at 85% 25%, rgba(213, 223, 25, 0.2), transparent 25%),
    linear-gradient(135deg, var(--paper), #eee1cf);
}

.journal-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}

.journal-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.45fr);
  align-items: end;
  gap: 80px;
}

.journal-hero h1 {
  max-width: 850px;
  margin: 0;
  color: var(--espresso);
  font-family: var(--serif);
  font-size: clamp(62px, 8vw, 108px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.91;
}

.journal-hero h1 em {
  color: var(--forest-light);
  font-weight: 400;
}

.journal-hero-inner > p {
  margin: 0 0 8px;
  color: var(--muted);
}

.journal-hero-orbit {
  position: absolute;
  top: 70px;
  right: -170px;
  width: 530px;
  height: 530px;
  border: 1px solid rgba(42, 22, 15, 0.1);
  border-radius: 50%;
}

.journal-hero-orbit::before,
.journal-hero-orbit::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(42, 22, 15, 0.08);
  border-radius: 50%;
}

.journal-hero-orbit::before { inset: 70px; }
.journal-hero-orbit::after { inset: 140px; }

.journal-library {
  background: var(--paper);
}

.journal-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: end;
  gap: 60px;
  margin-bottom: 38px;
}

.journal-tools h2 {
  max-width: 760px;
  margin: 0;
  color: var(--espresso);
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.journal-search {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 15px;
  background: var(--white);
  border: 1px solid var(--border);
}

.journal-search svg {
  width: 18px;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-width: 1.5;
}

.journal-search input {
  width: 100%;
  min-width: 0;
  padding: 12px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 12px;
}

.journal-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 0 38px;
  border-top: 1px solid var(--border);
}

.journal-filters button {
  padding: 8px 13px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: 9px;
  font-weight: 600;
  cursor: pointer;
  transition: all 180ms ease;
}

.journal-filters button:hover,
.journal-filters button.active {
  color: var(--white);
  background: var(--espresso);
  border-color: var(--espresso);
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 20px;
}

.journal-card {
  min-width: 0;
  background: var(--cream);
  border: 1px solid var(--border);
}

.journal-card[hidden] {
  display: none;
}

.journal-card-image {
  aspect-ratio: 16 / 10;
}

.journal-card-body {
  padding: clamp(25px, 3vw, 38px);
}

.journal-card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  background: var(--espresso);
  border: 0;
}

.journal-card-featured .journal-card-image {
  min-height: 480px;
  aspect-ratio: auto;
}

.journal-card-featured .journal-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 6vw, 76px);
}

.journal-card-featured .journal-card-meta,
.journal-card-featured .journal-card-body > p {
  color: rgba(255, 255, 255, 0.62);
}

.journal-card-featured h2,
.journal-card-featured .journal-read-link {
  color: var(--white);
}

.journal-card-featured h2 {
  font-size: clamp(41px, 4.8vw, 66px);
}

.journal-card-featured .journal-read-link {
  align-self: flex-start;
  border-color: rgba(255, 255, 255, 0.38);
}

.journal-empty {
  padding: 55px 20px;
  color: var(--muted);
  background: var(--cream);
  text-align: center;
}

.journal-endnote {
  padding-block: 65px;
  color: var(--white);
  background: var(--plum);
}

.journal-endnote-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
}

.journal-endnote-inner > span {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  color: var(--espresso);
  background: var(--lime);
  border-radius: 50%;
  font-size: 22px;
}

.journal-endnote p {
  margin-bottom: 3px;
  color: var(--lime-soft);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.journal-endnote h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* Individual journal article */
.article-page {
  background: var(--paper);
}

.article-header {
  padding: clamp(165px, 17vw, 235px) 0 clamp(60px, 8vw, 100px);
  background:
    radial-gradient(circle at 85% 10%, rgba(213, 223, 25, 0.15), transparent 28%),
    var(--cream);
}

.article-header-inner {
  max-width: 980px;
}

.article-back {
  display: inline-block;
  margin-bottom: 45px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.article-header .eyebrow {
  justify-content: center;
}

.article-header h1 {
  max-width: 960px;
  margin: 0 auto 25px;
  color: var(--espresso);
  font-family: var(--serif);
  font-size: clamp(58px, 7.7vw, 102px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.94;
  text-align: center;
}

.article-deck {
  max-width: 700px;
  margin: 0 auto 26px;
  color: var(--muted);
  font-size: 17px;
  text-align: center;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  color: var(--cocoa-soft);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-byline span + span::before {
  margin-right: 22px;
  content: "•";
  color: var(--coral);
}

.article-hero-image {
  position: relative;
  z-index: 2;
  margin-top: -1px;
  transform: translateY(42px);
}

.article-hero-image img {
  width: 100%;
  max-height: 720px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.article-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 720px);
  justify-content: center;
  gap: clamp(45px, 8vw, 100px);
  padding-top: 125px;
  padding-bottom: clamp(90px, 12vw, 160px);
}

.article-aside {
  position: sticky;
  top: 125px;
  height: fit-content;
  display: grid;
  align-content: start;
  gap: 8px;
  padding-top: 8px;
}

.article-aside > span {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.article-aside a,
.article-aside button {
  width: fit-content;
  padding: 0;
  color: var(--espresso);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--border);
  font-size: 10px;
  cursor: pointer;
}

.article-aside small {
  color: var(--forest-light);
  font-size: 9px;
}

.article-content {
  color: #403832;
  font-family: var(--serif);
  font-size: clamp(19px, 1.8vw, 22px);
  line-height: 1.72;
}

.article-content > p:first-child::first-letter {
  float: left;
  margin: 9px 10px 0 0;
  color: var(--forest);
  font-size: 76px;
  line-height: 0.72;
}

.article-content h2 {
  margin: 2.1em 0 0.65em;
  color: var(--espresso);
  font-family: var(--serif);
  font-size: clamp(35px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.article-content h3 {
  margin-top: 1.8em;
  color: var(--espresso);
  font-size: 28px;
  font-weight: 500;
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content blockquote {
  margin-bottom: 1.35em;
}

.article-content a:not(.button) {
  color: var(--forest-light);
  border-bottom: 1px solid currentColor;
}

.article-content strong {
  color: var(--espresso);
  font-weight: 600;
}

.article-content li {
  padding-left: 8px;
  margin-bottom: 7px;
}

.article-content blockquote {
  padding: 8px 0 8px 28px;
  color: var(--plum);
  border-left: 3px solid var(--lime);
  font-size: 1.28em;
  line-height: 1.35;
}

.article-content img {
  width: calc(100% + 80px);
  max-width: none;
  margin: 1.5em -40px;
}

.article-disclaimer {
  margin-top: 55px;
  padding: 17px 20px;
  color: var(--muted);
  background: var(--cream);
  border-left: 3px solid var(--coral);
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.6;
}

.article-cta {
  margin-top: 65px;
  padding: clamp(32px, 5vw, 52px);
  color: var(--white);
  background:
    radial-gradient(circle at 90% 20%, rgba(213, 223, 25, 0.18), transparent 28%),
    var(--forest);
}

.article-cta p {
  margin-bottom: 10px;
  color: var(--lime-soft);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.article-cta h2 {
  margin: 0 0 25px;
  color: var(--white);
  font-size: clamp(32px, 4vw, 45px);
}

.article-cta .button {
  width: fit-content;
  font-family: var(--sans);
}

.related-journal {
  background: #e9decc;
}

.related-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 50px;
}

.related-heading h2 {
  margin: 0;
  color: var(--espresso);
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

.journal-grid-related .journal-card-featured {
  grid-column: auto;
  display: block;
  color: inherit;
  background: var(--cream);
  border: 1px solid var(--border);
}

@media (max-width: 900px) {
  .journal-preview-heading,
  .journal-hero-inner,
  .journal-tools {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .journal-hero-inner > p {
    max-width: 620px;
  }

  .journal-tools .journal-search {
    max-width: 420px;
  }

  .journal-card-featured {
    grid-template-columns: 1fr;
  }

  .journal-card-featured .journal-card-image {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .article-layout {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .article-aside {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border);
  }

  .article-aside > span {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .home-journal-grid,
  .journal-grid {
    grid-template-columns: 1fr;
  }

  .journal-preview-heading {
    margin-bottom: 38px;
  }

  .journal-hero {
    padding-top: 145px;
  }

  .journal-hero h1 {
    font-size: clamp(54px, 15vw, 76px);
  }

  .journal-hero-orbit {
    right: -300px;
  }

  .journal-tools .journal-search {
    max-width: none;
  }

  .journal-card-featured {
    grid-column: auto;
  }

  .journal-card-featured .journal-card-body {
    padding: 28px 24px;
  }

  .journal-card-featured h2 {
    font-size: 38px;
  }

  .journal-endnote-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .journal-endnote-inner > span {
    justify-self: center;
  }

  .journal-endnote .button {
    width: 100%;
  }

  .article-header {
    padding-top: 135px;
  }

  .article-back {
    margin-bottom: 34px;
  }

  .article-header h1 {
    font-size: clamp(50px, 14vw, 70px);
  }

  .article-deck {
    font-size: 15px;
  }

  .article-byline {
    display: grid;
    justify-items: center;
  }

  .article-byline span + span::before {
    display: none;
  }

  .article-hero-image {
    width: 100%;
    transform: none;
  }

  .article-hero-image img {
    aspect-ratio: 4 / 3;
    box-shadow: none;
  }

  .article-layout {
    padding-top: 70px;
  }

  .article-content {
    font-size: 19px;
  }

  .article-content img {
    width: 100%;
    margin-inline: 0;
  }

  .related-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}
