:root {
  color-scheme: light;
  --ink: #202a26;
  --muted: #68736d;
  --paper: #f5f4ef;
  --surface: #fffefa;
  --line: #e5e6dd;
  --green: #315d4c;
  --green-dark: #244b3b;
  --green-soft: #e7eee7;
  --gold: #d6a94f;
  --serif: Georgia, 'Times New Roman', serif;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 80% 10%, rgb(225 231 218 / 42%), transparent 34rem),
    var(--paper);
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid #b98523;
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  transform: translateY(-160%);
  color: #fff;
  background: var(--green-dark);
  border-radius: 0.4rem;
}

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

.page-width,
.header-inner {
  width: min(100% - 3.5rem, 74rem);
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgb(49 93 76 / 10%);
}

.header-inner {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

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

.brand-mark {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  color: white;
  background: var(--green);
  border-radius: 0.65rem 0.65rem 0.65rem 0.2rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
}

.brand-name {
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-link {
  padding: 0.65rem 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 999px;
  transition: color 160ms ease, background-color 160ms ease;
}

.nav-link:hover,
.nav-link.is-current {
  color: var(--green-dark);
  background: var(--green-soft);
}

.hero {
  min-height: 25.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(17rem, 0.9fr);
  align-items: center;
  gap: 3rem;
  padding-block: 4.1rem 3.3rem;
}

.hero-copy {
  max-width: 38rem;
  padding-block: 1rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.2rem;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 0.48rem;
  height: 0.48rem;
  background: var(--gold);
  border-radius: 50%;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 7vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1.02;
}

.hero-lede {
  max-width: 34rem;
  margin-bottom: 1.55rem;
  color: var(--green-dark);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 500;
  line-height: 1.55;
}

.lead-verse {
  margin-top: -0.5rem;
  margin-bottom: 1.25rem;
}

.lead-verse blockquote {
  max-width: 74rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  background: rgb(255 254 250 / 82%);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 0.75rem;
}

.lead-verse p {
  margin: 0 0 0.55rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.5;
}

.lead-verse cite {
  color: var(--green);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--green-dark);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25rem;
}

.link-arrow {
  width: 1.8rem;
  height: 1.8rem;
  display: grid;
  place-items: center;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 50%;
  text-decoration: none;
  transition: transform 160ms ease;
}

.text-link:hover .link-arrow {
  transform: translateY(2px);
}

.hero-art {
  position: relative;
  width: min(100%, 26rem);
  height: 19rem;
  justify-self: end;
  display: grid;
  place-items: center;
}

.art-orbit {
  position: absolute;
  border: 1px solid rgb(49 93 76 / 16%);
  border-radius: 50%;
  transform: rotate(-24deg);
}

.orbit-one {
  width: 19rem;
  height: 13rem;
}

.orbit-two {
  width: 22rem;
  height: 16rem;
  transform: rotate(33deg);
}

.art-card {
  position: absolute;
  width: 11rem;
  height: 13rem;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid rgb(32 42 38 / 7%);
  border-radius: 0.65rem;
  box-shadow: 0 1.2rem 2.5rem rgb(43 57 48 / 12%);
}

.art-card-back {
  gap: 0.8rem;
  top: 2.7rem;
  left: 13%;
  color: #8c958e;
  transform: rotate(-11deg);
}

.art-card-back > span:first-child {
  margin-top: 1.2rem;
  color: var(--green);
  font-family: var(--serif);
  font-size: 1.4rem;
}

.art-card-front {
  top: 2rem;
  right: 14%;
  transform: rotate(8deg);
}

.art-card-label {
  color: #858e87;
  font-size: 0.56rem;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.art-letter {
  margin: 0.2rem 0 0.6rem;
  color: var(--green);
  font-family: var(--serif);
  font-size: 4.4rem;
  line-height: 1;
}

.art-line {
  width: 100%;
  height: 0.28rem;
  margin-top: 0.45rem;
  background: #e4e9e2;
  border-radius: 99px;
}

.art-line.short {
  width: 60%;
}

.art-line.medium {
  width: 72%;
}

.art-spark {
  position: absolute;
  z-index: 1;
  color: var(--gold);
  font-size: 2.4rem;
}

.spark-one {
  top: 1rem;
  right: 19%;
}

.spark-two {
  bottom: 1.3rem;
  left: 20%;
  font-size: 3rem;
}

.areas-section {
  padding-block: 2rem 2.6rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.section-eyebrow {
  margin-bottom: 0.5rem;
}

h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.3vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.section-intro {
  max-width: 27rem;
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.area-card {
  position: relative;
  min-height: 12rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem 1.3rem 1.35rem;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  box-shadow: 0 0.25rem 0.9rem rgb(32 42 38 / 2%);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.area-card[href] {
  color: inherit;
  text-decoration: none;
}

.area-card:hover {
  border-color: #bdcdbf;
  box-shadow: 0 0.6rem 1.5rem rgb(32 42 38 / 7%);
  transform: translateY(-2px);
}

.card-topline {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.area-index {
  color: #879189;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
}

.area-category {
  padding: 0.35rem 0.6rem;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 99px;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.area-card h3 {
  margin: 0 0 0.48rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.area-card p {
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.area-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1rem;
  color: #78827b;
  font-size: 0.73rem;
  font-weight: 650;
}

.area-status::before {
  width: 0.38rem;
  height: 0.38rem;
  content: '';
  background: #c5a45e;
  border-radius: 50%;
}

.area-card.is-featured {
  background: #eef2e9;
  border-color: #d7e0d3;
}

.area-card.is-featured .area-category {
  color: #fff;
  background: var(--green);
}

.loading-message,
.noscript-message {
  grid-column: 1 / -1;
  padding: 1rem 1.2rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.7rem;
}

.note {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.4rem;
  margin-bottom: 3.8rem;
  padding: 1rem 1.2rem;
  color: #48584e;
  background: #e9ede4;
  border-radius: 0.7rem;
}

.note-icon {
  flex: 0 0 auto;
  color: #9c762f;
  font-size: 1.25rem;
}

.note p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
}

.note strong {
  color: var(--green-dark);
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-inner a {
  color: var(--green-dark);
  text-decoration: none;
}

.footer-inner a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

@media (max-width: 900px) {
  .page-width,
  .header-inner {
    width: min(100% - 2.5rem, 74rem);
  }

  .hero {
    min-height: 22rem;
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.8fr);
    gap: 1.5rem;
    padding-block: 3.4rem 2.8rem;
  }

  .hero-art {
    transform: scale(0.88);
    transform-origin: center right;
  }

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

@media (max-width: 620px) {
  html {
    scroll-padding-top: 4.5rem;
  }

  .page-width,
  .header-inner {
    width: min(100% - 2rem, 74rem);
  }

  .header-inner {
    min-height: 4.4rem;
    gap: 0.7rem;
  }

  .brand {
    gap: 0.5rem;
  }

  .brand-name {
    font-size: 0.82rem;
  }

  .brand-mark {
    width: 1.8rem;
    height: 1.8rem;
  }

  .main-nav {
    gap: 0;
  }

  .nav-link {
    padding: 0.55rem 0.62rem;
    font-size: 0.8rem;
  }

  .hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    padding-block: 3.2rem 2rem;
  }

  .hero-copy {
    padding: 0;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 14vw, 4.25rem);
  }

  .hero-lede {
    max-width: 31rem;
    font-size: 1rem;
  }

  .lead-verse {
    margin-top: 0;
    margin-bottom: 1rem;
  }

  .lead-verse blockquote {
    padding: 1rem 1.1rem;
  }

  .hero-art {
    width: 100%;
    height: 11rem;
    margin-top: 0.5rem;
    transform: scale(0.72);
    transform-origin: center;
  }

  .art-card-back {
    left: 22%;
  }

  .art-card-front {
    right: 22%;
  }

  .orbit-one {
    width: 17rem;
    height: 11rem;
  }

  .orbit-two {
    width: 19rem;
    height: 13rem;
  }

  .section-heading {
    display: block;
    margin-bottom: 1.2rem;
  }

  .section-intro {
    margin-top: 0.7rem;
  }

  .area-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .area-card {
    min-height: 10.7rem;
    padding: 1.1rem 1.1rem 1.2rem;
  }

  .card-topline {
    margin-bottom: 1rem;
  }

  .area-card h3 {
    font-size: 1.24rem;
  }

  .note {
    align-items: flex-start;
    margin-top: 1.1rem;
    margin-bottom: 2.5rem;
    padding: 0.9rem 1rem;
  }

  .footer-inner {
    min-height: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
