:root {
  --paper-50: #faf8f4;
  --paper-100: #f5f1ea;
  --paper-200: #ece5db;
  --ink-900: #2c2c2c;
  --ink-700: #50575c;
  --ink-500: #757575;
  --forest: #4c6554;
  --fog: #dce3e5;
  --stone: #a79f93;
  --max: 1400px;
  --reading: 760px;
  --gutter: clamp(1.5rem, 4vw, 5rem);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper-100);
  color: var(--ink-900);
  font-family: var(--sans);
  font-size: clamp(1.05rem, 0.98rem + 0.25vw, 1.25rem);
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(167, 159, 147, 0.08), transparent 22rem),
    linear-gradient(rgba(44, 44, 44, 0.025) 1px, transparent 1px);
  background-size: auto, 100% 9px;
  opacity: 0.42;
}

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

a {
  color: inherit;
  text-decoration-color: rgba(76, 101, 84, 0.4);
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-color: var(--forest);
}

:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  padding: 0.45rem 0.75rem;
  background: var(--paper-50);
  color: var(--ink-900);
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(245, 241, 234, 0.92);
  border-bottom: 1px solid rgba(80, 87, 92, 0.12);
  backdrop-filter: blur(12px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.home-template:not(.has-scrolled) .site-header {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
}

.site-header__inner,
.site-footer__inner {
  width: min(var(--max), 100% - (var(--gutter) * 2));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-header__inner {
  min-height: 82px;
}

.brand {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand--image {
  display: inline-flex;
  align-items: center;
  width: clamp(9.5rem, 15vw, 14rem);
}

.brand--image img {
  width: 100%;
  height: auto;
}

.brand--lottie {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-lottie {
  display: inline-block;
  width: 2.15rem;
  height: 2.15rem;
  flex: 0 0 auto;
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.4rem);
  color: var(--ink-700);
  font-size: 0.88rem;
}

.site-nav a,
.site-footer a {
  text-decoration: none;
}

.opening {
  min-height: calc(100svh - 82px);
  display: grid;
  align-items: center;
  padding: clamp(5rem, 9vw, 10rem) var(--gutter) clamp(4rem, 7vw, 8rem);
}

.opening--compact {
  min-height: 62svh;
}

.opening--brand {
  min-height: 100svh;
  text-align: center;
}

.opening__inner,
.reading-column,
.section__header {
  max-width: var(--reading);
}

.opening__inner {
  width: min(var(--reading), 100%);
  margin: 0 auto;
}

.opening-brand {
  display: grid;
  justify-items: center;
}

.opening-brand h1 {
  margin-top: 1.15rem;
  font-size: clamp(3.6rem, 8vw, 7.4rem);
}

.opening-brand p {
  margin: 1.25rem 0 0;
  color: var(--ink-700);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw, 3.1rem);
  line-height: 1.1;
}

.opening-lottie {
  width: clamp(5rem, 12vw, 9rem);
  height: clamp(5rem, 12vw, 9rem);
}

.scroll-cue {
  margin-top: clamp(2.8rem, 7vw, 5rem);
  color: var(--stone);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  text-decoration: none;
  transition: color 220ms ease, transform 220ms ease;
}

.scroll-cue:hover {
  color: var(--forest);
  transform: translateY(4px);
}

.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3,
blockquote p {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
}

h1 {
  max-width: 940px;
  font-size: clamp(3.35rem, 7vw, 6.85rem);
}

h2 {
  font-size: clamp(2.5rem, 5vw, 4.7rem);
}

h3 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
}

.opening__text {
  max-width: 620px;
  margin: 2.2rem 0 0;
  color: var(--ink-700);
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.35rem);
}

.section {
  width: min(var(--max), 100% - (var(--gutter) * 2));
  margin: 0 auto;
  padding: clamp(6rem, 11vw, 12rem) 0;
}

.archive-hero {
  padding-bottom: clamp(2rem, 4vw, 4rem);
}

.section__header {
  margin-bottom: clamp(4rem, 7vw, 7rem);
}

.article-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(80, 87, 92, 0.16);
}

.article-preview {
  display: grid;
  grid-template-columns: minmax(8rem, 0.45fr) minmax(0, 1.65fr);
  gap: clamp(1.5rem, 5vw, 7rem);
  padding: clamp(3rem, 6vw, 6rem) 0;
  border-bottom: 1px solid rgba(80, 87, 92, 0.16);
}

.article-preview time {
  color: var(--ink-500);
  font-size: 0.9rem;
}

.article-preview h3 {
  grid-column: 2;
  margin-top: -0.24rem;
}

.article-preview h3 a {
  text-decoration: none;
}

.article-preview p,
.about-copy p,
.reading-column p {
  max-width: var(--reading);
  color: var(--ink-700);
}

.article-preview p {
  grid-column: 2;
  margin: 1.25rem 0 0;
}

.read-more,
.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 1.35rem;
  color: var(--forest);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.read-more {
  grid-column: 2;
}

.quote-band {
  min-height: 76svh;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  background: var(--paper-50);
  border-block: 1px solid rgba(80, 87, 92, 0.12);
}

.quote-band blockquote {
  max-width: 960px;
  margin: 0;
}

blockquote p {
  color: var(--ink-900);
  font-size: clamp(2.6rem, 6vw, 6.2rem);
  text-align: center;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
  align-items: center;
  gap: clamp(4rem, 8vw, 9rem);
}

.quiet-image {
  margin: 0;
}

.quiet-image img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.92);
}

.section--guidance {
  display: grid;
  justify-items: center;
}

.guidance-path {
  display: grid;
  gap: 1.6rem;
  margin-top: 2.8rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(80, 87, 92, 0.16);
}

.guidance-path article {
  display: grid;
  grid-template-columns: minmax(10rem, 0.42fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 3rem);
}

.guidance-path h3 {
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.15;
}

.guidance-path p {
  margin: 0;
}

.guidance-intro {
  padding: clamp(5rem, 9vw, 9rem) var(--gutter) clamp(3rem, 6vw, 6rem);
  text-align: center;
}

.guidance-intro__inner {
  width: min(1060px, 100%);
  margin: 0 auto;
}

.guidance-intro h1 {
  max-width: none;
  margin-inline: auto;
  font-size: clamp(3rem, 5.8vw, 5.6rem);
}

.guidance-intro p:not(.eyebrow) {
  max-width: 980px;
  margin: 1.2rem auto 0;
  color: var(--ink-700);
}

.guidance-polarity {
  width: min(var(--max), 100% - (var(--gutter) * 2));
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 8rem) 0 clamp(5rem, 10vw, 11rem);
}

.guidance-polarity__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.8fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.guidance-pole {
  max-width: 430px;
}

.guidance-pole:first-child {
  justify-self: end;
}

.guidance-pole:last-child {
  justify-self: start;
}

.guidance-pole h2 {
  margin-bottom: 1.8rem;
  font-size: clamp(2.2rem, 3.4vw, 3.8rem);
  text-align: center;
}

.guidance-pole p {
  margin: 0 0 1.15rem;
  color: var(--ink-700);
  font-size: clamp(1rem, 0.96rem + 0.18vw, 1.14rem);
  line-height: 1.58;
}

.guidance-mark {
  display: grid;
  place-items: center;
}

.guidance-mark img {
  width: min(22rem, 100%);
  opacity: 0.96;
}

.guidance-lottie {
  width: min(22rem, 100%);
  min-height: 15rem;
}

.guidance-embodiment {
  width: 100%;
  background: var(--paper-50);
  border-block: 1px solid rgba(80, 87, 92, 0.12);
  padding-inline: var(--gutter);
}

.guidance-embodiment .reading-column {
  width: min(var(--reading), 100%);
  margin: 0 auto;
}

.newsletter {
  padding: clamp(5rem, 9vw, 9rem) var(--gutter);
  background: var(--paper-200);
}

.newsletter__inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(20rem, 0.65fr);
  align-items: end;
  gap: clamp(3rem, 6vw, 7rem);
}

.newsletter h2 {
  max-width: 760px;
}

.newsletter-form label {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--ink-700);
  font-size: 0.9rem;
}

.newsletter-form__row {
  display: flex;
  gap: 0.8rem;
}

.newsletter-form input,
.newsletter-form button {
  min-height: 3.35rem;
  border: 1px solid rgba(80, 87, 92, 0.28);
  border-radius: 0;
  font: inherit;
}

.newsletter-form input {
  width: 100%;
  min-width: 0;
  padding: 0 1rem;
  background: var(--paper-50);
  color: var(--ink-900);
}

.newsletter-form button {
  padding: 0 1.3rem;
  background: var(--ink-900);
  color: var(--paper-50);
  cursor: pointer;
}

.newsletter-note,
.form-message {
  margin: 1rem 0 0;
  color: var(--ink-700);
  font-size: 0.95rem;
}

.form-message {
  display: none;
}

.success .form-message--success,
.error .form-message--error {
  display: block;
}

.site-footer {
  padding: 2.8rem 0;
  color: var(--ink-700);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: clamp(3rem, 6vw, 6rem);
  color: var(--ink-700);
  font-size: 0.95rem;
}

.pagination a {
  color: var(--forest);
  font-weight: 600;
  text-decoration: none;
}

.post-shell {
  width: min(var(--reading), 100% - (var(--gutter) * 2));
  margin: 0 auto;
  padding: clamp(6rem, 11vw, 12rem) 0;
}

.post-header {
  margin-bottom: clamp(4rem, 7vw, 7rem);
}

.post-feature {
  margin: 0 0 clamp(4rem, 7vw, 6rem);
}

.post-feature img {
  width: 100%;
  filter: saturate(0.88) contrast(0.95);
}

.post-feature figcaption,
.gh-content figcaption {
  margin-top: 0.85rem;
  color: var(--ink-500);
  font-size: 0.85rem;
  line-height: 1.5;
}

.gh-content {
  color: var(--ink-900);
  font-size: clamp(1.12rem, 1rem + 0.35vw, 1.28rem);
  line-height: 1.85;
}

.gh-content > * {
  margin: 0 0 1.55em;
}

.gh-content > *:last-child {
  margin-bottom: 0;
}

.gh-content h2,
.gh-content h3 {
  margin-top: 1.8em;
  margin-bottom: 0.65em;
}

.gh-content h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.gh-content h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.gh-content p,
.gh-content li {
  color: var(--ink-700);
}

.gh-content blockquote {
  margin: clamp(3rem, 6vw, 5rem) 0;
  padding: 0;
  border: 0;
}

.gh-content blockquote p {
  color: var(--ink-900);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.12;
  text-align: left;
}

.gh-content a {
  color: var(--forest);
}

.gh-content hr {
  width: 8rem;
  height: 1px;
  margin: clamp(3rem, 6vw, 5rem) auto;
  border: 0;
  background: rgba(80, 87, 92, 0.24);
}

.gh-content figure {
  margin: clamp(3rem, 6vw, 5rem) 0;
}

.kg-width-wide {
  width: min(100vw - (var(--gutter) * 2), 1100px);
  margin-left: 50%;
  transform: translateX(-50%);
}

.kg-width-full {
  width: calc(100vw - (var(--gutter) * 2));
  margin-left: 50%;
  transform: translateX(-50%);
}

.kg-gallery-container,
.kg-gallery-row {
  display: flex;
  gap: 1rem;
}

.kg-gallery-container {
  flex-direction: column;
}

.kg-gallery-image {
  flex: 1;
}

.kg-gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kg-bookmark-card,
.kg-callout-card,
.kg-toggle-card {
  padding: 1.35rem 0;
  border-block: 1px solid rgba(80, 87, 92, 0.16);
}

.section--related {
  padding-top: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 900ms ease, transform 900ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 820px) {
  .site-header {
    position: static;
  }

  .site-header__inner,
  .site-footer__inner,
  .site-nav,
  .site-footer nav {
    align-items: flex-start;
  }

  .site-header__inner,
  .site-footer__inner {
    flex-direction: column;
    padding: 1.35rem 0;
  }

  .site-header__inner {
    min-height: auto;
  }

  .site-nav,
  .site-footer nav {
    flex-wrap: wrap;
    row-gap: 0.65rem;
  }

  .opening {
    min-height: auto;
    padding-top: 6rem;
  }

  .opening--brand {
    min-height: 100svh;
  }

  .article-preview {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .article-preview h3,
  .article-preview p,
  .read-more {
    grid-column: 1;
  }

  .about-grid,
  .newsletter__inner,
  .guidance-polarity__inner {
    grid-template-columns: 1fr;
  }

  .guidance-intro {
    text-align: left;
  }

  .guidance-intro p:not(.eyebrow) {
    margin-inline: 0;
  }

  .guidance-pole,
  .guidance-pole:first-child,
  .guidance-pole:last-child {
    max-width: var(--reading);
    justify-self: start;
  }

  .guidance-pole h2 {
    text-align: left;
  }

  .guidance-mark {
    order: -1;
    justify-content: start;
  }

  .guidance-mark img {
    width: min(14rem, 62vw);
  }

  .guidance-lottie {
    width: min(14rem, 62vw);
    min-height: 9rem;
  }

  .newsletter-form__row,
  .pagination {
    flex-direction: column;
    align-items: flex-start;
  }

  .guidance-path article {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .kg-gallery-row {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  :root {
    --gutter: 1.15rem;
  }

  .brand {
    font-size: 1.35rem;
  }

  .site-nav {
    font-size: 0.84rem;
  }

  h1 {
    font-size: 3rem;
  }

  blockquote p {
    text-align: left;
  }
}
