:root {
  color-scheme: light;
  --ink: #18332f;
  --ink-soft: #49645f;
  --cream: #f7f3e9;
  --paper: #fffdf8;
  --sage: #a9c9b6;
  --sage-light: #dcebe2;
  --coral: #ef876c;
  --sun: #f3c45f;
  --rail: 19rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: .75rem 1rem;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

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

main { margin-right: var(--rail); }

.side-menu {
  position: fixed;
  z-index: 20;
  inset: 0 0 0 auto;
  width: var(--rail);
  display: flex;
  flex-direction: column;
  padding: 2rem 2rem 1.5rem;
  background: var(--ink);
  color: white;
}

.brand,
.mobile-brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
}

.brand-mark {
  width: 3.35rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50% 50% 42% 58% / 53% 43% 57% 47%;
  background: var(--coral);
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-style: italic;
}

.brand-copy { display: grid; }
.brand-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; }
.brand-copy small { margin-top: .2rem; color: #b8cbc5; letter-spacing: .18em; }

.primary-nav {
  display: grid;
  margin: auto 0;
  border-top: 1px solid rgba(255,255,255,.16);
}

.primary-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.05rem .15rem;
  border-bottom: 1px solid rgba(255,255,255,.16);
  color: #d9e6e1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  text-decoration: none;
  transition: color .2s ease, padding .2s ease;
}

.primary-nav a span { color: #89a69d; font-family: inherit; font-size: .68rem; }
.primary-nav a:hover,
.primary-nav a[aria-current="page"] { padding-left: .55rem; color: var(--sun); }

.side-footer p { max-width: 14rem; color: #b8cbc5; font-size: .8rem; line-height: 1.55; }
.side-footer small { display: block; margin-top: 1.35rem; color: #89a69d; font-size: .68rem; }
.side-cta { display: flex; justify-content: space-between; padding-bottom: .45rem; border-bottom: 1px solid var(--coral); text-decoration: none; }

.mobile-header,
.menu-backdrop { display: none; }

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  padding: clamp(5rem, 9vw, 9rem) clamp(2rem, 8vw, 8rem);
  overflow: hidden;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 2.5rem; height: 2px; background: var(--coral); }

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }

h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3.4rem, 7.3vw, 7.4rem);
  letter-spacing: -.055em;
  line-height: .92;
}

h1 em { color: var(--coral); font-weight: 400; }

.lead {
  max-width: 38rem;
  margin: 1.8rem 0 2.25rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.75;
}

.button-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 3.25rem;
  padding: 0 1.35rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .04em;
  text-decoration: none;
}

.button.secondary { background: transparent; color: var(--ink); }
.button:hover { background: var(--coral); border-color: var(--coral); }

.hero-art {
  position: relative;
  min-height: 34rem;
  display: grid;
  place-items: center;
}

.shape-main {
  width: min(100%, 29rem);
  aspect-ratio: .82;
  border-radius: 49% 51% 46% 54% / 38% 44% 56% 62%;
  background: var(--sage);
  transform: rotate(4deg);
}

.shape-main::before {
  content: "";
  position: absolute;
  inset: 13% 16% 20% 20%;
  border: 2px solid rgba(255,255,255,.75);
  border-radius: 52% 48% 63% 37% / 45% 57% 43% 55%;
}

.shape-orbit { position: absolute; border-radius: 50%; }
.shape-one { width: 7rem; height: 7rem; top: 5%; right: 2%; background: var(--sun); }
.shape-two { width: 4.6rem; height: 4.6rem; bottom: 8%; left: 0; background: var(--coral); }

.art-note {
  position: absolute;
  right: 0;
  bottom: 14%;
  width: 13rem;
  padding: 1.1rem;
  border-radius: .9rem;
  background: var(--paper);
  box-shadow: 0 1.25rem 3.5rem rgba(24,51,47,.16);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  line-height: 1.35;
}

.art-note span { display: block; margin-top: .6rem; color: var(--coral); font-family: Inter, sans-serif; font-size: .65rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }

.section { padding: clamp(4.5rem, 8vw, 8rem) clamp(2rem, 8vw, 8rem); }
.section.paper { background: var(--paper); }
.section.sage { background: var(--sage-light); }
.section-head { max-width: 46rem; margin-bottom: 3rem; }
.section h2 { margin: 0; font-size: clamp(2.6rem, 5vw, 5.2rem); letter-spacing: -.04em; line-height: 1; }
.section-head p:last-child { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.7; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card { min-height: 17rem; display: flex; flex-direction: column; padding: 1.65rem; border: 1px solid rgba(24,51,47,.16); border-radius: 1rem; background: rgba(255,255,255,.55); }
.card .number { color: var(--coral); font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.card h3 { margin: auto 0 .75rem; font-size: 1.75rem; }
.card p { margin: 0; color: var(--ink-soft); line-height: 1.6; }

.page-hero { min-height: 52vh; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(7rem, 13vw, 11rem) clamp(2rem, 8vw, 8rem) clamp(4rem, 7vw, 6rem); background: var(--sage-light); }
.page-hero h1 { max-width: 13ch; font-size: clamp(3.5rem, 7vw, 7rem); }
.content-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(2rem, 8vw, 8rem); }
.content-grid h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
.prose { max-width: 46rem; }
.prose p { margin: 0 0 1.25rem; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.8; }

.resource-list { display: grid; gap: .75rem; }
.resource-item { display: grid; grid-template-columns: 5rem 1fr auto; align-items: center; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid rgba(24,51,47,.18); text-decoration: none; }
.resource-item span:first-child { color: var(--coral); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.resource-item strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; }

.contact-panel { max-width: 46rem; padding: clamp(2rem, 5vw, 4rem); border-radius: 1.25rem; background: var(--ink); color: white; }
.contact-panel h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.contact-panel p { color: #c7d8d3; line-height: 1.7; }
.contact-panel .button { background: var(--coral); border-color: var(--coral); }

@media (max-width: 980px) {
  :root { --rail: 0rem; }
  main { margin-right: 0; padding-top: 4.75rem; }
  .mobile-header { position: fixed; z-index: 30; inset: 0 0 auto; height: 4.75rem; display: flex; align-items: center; justify-content: space-between; padding: .65rem 1rem; background: rgba(247,243,233,.94); border-bottom: 1px solid rgba(24,51,47,.12); backdrop-filter: blur(12px); }
  .mobile-brand { font-family: Georgia, "Times New Roman", serif; font-size: 1.1rem; }
  .mobile-brand .brand-mark { width: 2.75rem; font-size: 1rem; }
  .menu-button { display: flex; align-items: center; gap: .7rem; border: 0; background: transparent; color: var(--ink); font: 700 .78rem Inter, sans-serif; text-transform: uppercase; letter-spacing: .1em; }
  .menu-lines, .menu-lines::before, .menu-lines::after { width: 1.55rem; height: 2px; display: block; background: currentColor; }
  .menu-lines { position: relative; }
  .menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
  .menu-lines::before { top: -.42rem; }
  .menu-lines::after { top: .42rem; }
  .side-menu { width: min(22rem, 88vw); transform: translateX(105%); transition: transform .3s ease; }
  body.menu-open .side-menu { transform: translateX(0); }
  .menu-backdrop { position: fixed; z-index: 15; inset: 0; display: block; background: rgba(11,29,26,.45); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
  body.menu-open .menu-backdrop { opacity: 1; visibility: visible; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-art { min-height: 28rem; }
}

@media (max-width: 700px) {
  .hero, .section, .page-hero { padding-left: 1.25rem; padding-right: 1.25rem; }
  .hero { padding-top: 4.5rem; }
  h1 { font-size: clamp(3.25rem, 17vw, 5rem); }
  .cards, .content-grid { grid-template-columns: 1fr; }
  .card { min-height: 13rem; }
  .resource-item { grid-template-columns: 3rem 1fr auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
