@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/outfit-latin.woff2") format("woff2");
}

:root {
  --navy: #101820;
  --navy-2: #1a2733;
  --paper: #f6f3ec;
  --paper-2: #ebe6dc;
  --ink: #1c1915;
  --muted: #4e4942;
  --gold: #7a6238;
  --gold-line: #b7a27a;
  --ivory: #f4f1ea;
  --line: rgba(28, 25, 21, 0.14);
  --line-strong: rgba(28, 25, 21, 0.28);
  --line-light: rgba(244, 241, 234, 0.2);
  --serif: "Cormorant Garamond", Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  --sans: Outfit, "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --header-h: 4.5rem;
  --wrap: 1120px;
  --measure: 40rem;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

h1, h2, h3, p {
  margin: 0;
}

h1, h2, h3 {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

ul, ol {
  margin: 0;
  padding: 0;
}

::selection {
  background: #e4d3ae;
  color: var(--navy);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  background: var(--ivory);
  color: var(--navy);
  padding: 0.55rem 0.9rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.6rem;
}

.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;
}

.wrap {
  width: min(var(--wrap), calc(100% - 3rem));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(44rem, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-h);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.mark {
  width: 1.7rem;
  height: auto;
  flex: none;
}

.mark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mark .gold {
  stroke: var(--gold-line);
}

.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0.01em;
}

.brand-sub {
  display: block;
  margin-top: 0.22rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #3f3a33;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.bars {
  display: grid;
  gap: 6px;
  width: 1.05rem;
}

.bars span {
  display: block;
  height: 1px;
  background: currentColor;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--gold-line);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.45em;
}

.nav-login {
  margin-left: 0.35rem;
  padding-left: 1.35rem;
  border-left: 1px solid var(--line-strong);
}

.hero {
  background:
    radial-gradient(ellipse at 80% 10%, rgba(183, 162, 122, 0.12), transparent 42%),
    var(--navy);
  color: var(--ivory);
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 2.5rem 0 3rem;
}

.hero-layout {
  width: min(var(--wrap), calc(100% - 3rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(200px, 0.72fr);
  gap: 1.5rem 2.5rem;
  align-items: center;
}

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

.hero-art {
  display: flex;
  justify-content: center;
}

.hero-tree {
  width: min(300px, 100%);
  height: auto;
}

.hero-tree path {
  fill: none;
  stroke: #f4f1ea;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-tree .gold {
  stroke: #c4b08a;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.8rem, 6.4vw, 6.1rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
}

.hero h1 span {
  display: block;
}

.hero h1 .subline {
  margin-top: 0.16em;
  font-size: clamp(2.05rem, 3.6vw, 3.35rem);
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.lede,
.deck {
  color: var(--muted);
  max-width: var(--measure);
}

.hero .deck {
  margin-top: 1.35rem;
  max-width: 28rem;
  color: #e6e0d4;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.45;
}

.oak-note {
  margin-top: 1rem;
  max-width: 26rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.4;
  color: #e4dccb;
}

.stance {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  margin-top: 2.25rem;
}

.stance li {
  padding-top: 1.15rem;
  border-top: 1px solid var(--line-strong);
}

.stance h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2.15rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stance p {
  margin-top: 0.7rem;
  max-width: 22rem;
}

.rule {
  width: 3rem;
  height: 1px;
  margin: 1.75rem 0;
  background: var(--gold-line);
  border: 0;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
}

.text-link {
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.35em;
  text-decoration-color: var(--gold-line);
}

.section {
  padding: 5.5rem 0;
}

.section-kicker {
  margin-bottom: 0.8rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5c513c;
}

.section h2,
.page-hero h1,
.plain-head h1,
.login-aside h1,
.thanks h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 0.96;
}

.section h2 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin-bottom: 1rem;
}

.practice-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem 4rem;
  align-items: end;
}

.practice-grid p {
  font-size: 1.2rem;
  max-width: 36rem;
}

.index-list {
  list-style: none;
  border-top: 1px solid var(--line);
}

.index-list a {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.75rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.index-list a:hover .index-title {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--gold-line);
}

.index-num,
.focus-index {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.15rem;
}

.index-title {
  display: block;
  font-size: 1.05rem;
}

.index-note {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.page-hero {
  background: var(--navy);
  color: var(--ivory);
  padding: 4.25rem 0 3.25rem;
}

.page-hero h1 {
  font-size: clamp(3.2rem, 7vw, 5.4rem);
  margin-top: 0.45rem;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #cfc6b6;
}

.page-hero + .section {
  padding-top: 4rem;
}

.prose {
  max-width: var(--measure);
}

.prose h2 {
  margin-top: 2.4rem;
  margin-bottom: 0.7rem;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.prose p + p,
.prose ul + p,
.prose p + ul {
  margin-top: 0.9rem;
}

.prose ul,
.prose ol {
  margin-top: 0.8rem;
  padding-left: 1.15rem;
}

.prose li + li {
  margin-top: 0.4rem;
}

.prose a {
  text-underline-offset: 0.18em;
}

.principles,
.focus-list {
  list-style: none;
  margin-top: 2.5rem;
}

.principles li,
.focus-block {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem 1.5rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}

.principles h2,
.focus-block h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.principles p,
.focus-block p {
  margin-top: 0.7rem;
  max-width: 38rem;
  color: var(--ink);
}

.focus-index {
  font-size: 1.6rem;
  line-height: 1;
  padding-top: 0.35rem;
}

.quiet-note {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  max-width: var(--measure);
}

.email-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
  text-decoration: none;
  border-bottom: 1px solid var(--gold-line);
}

.email-link:hover {
  border-bottom-color: var(--ink);
}

.plain-head {
  padding: 3.25rem 0 0;
}

.plain-head h1 {
  font-size: clamp(3rem, 6vw, 4.6rem);
  margin: 0.35rem 0 0.8rem;
}

.plain-head .lede {
  font-size: 1.125rem;
}

.form {
  margin-top: 2rem;
  display: grid;
  gap: 1.15rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field span,
.consent-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field input {
  width: 100%;
  height: 2.75rem;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background-color: var(--paper);
  color: var(--ink);
  padding: 0.55rem 0;
  border-radius: 0;
  line-height: 1.2;
}

.field input:focus {
  outline: none;
  border-bottom-color: var(--gold);
}

.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  caret-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px var(--paper) inset;
  box-shadow: 0 0 0 1000px var(--paper) inset;
  transition: background-color 9999s ease-out;
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 1rem 1rem 1.05rem;
  border: 1px solid var(--line-strong);
  background: #fbfaf6;
}

.consent input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  accent-color: var(--navy);
}

.consent-label {
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
}

.button {
  appearance: none;
  justify-self: start;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--ivory);
  min-height: 3rem;
  padding: 0.85rem 1.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
}

.button:hover {
  background: var(--navy-2);
}

.form-status {
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.25;
  max-width: 28rem;
}

.form-status:empty {
  display: none;
}

.thanks {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  max-width: var(--measure);
}

.thanks h2 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
}

.thanks p {
  margin-top: 0.9rem;
}

.login-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
}

.login-aside {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(183, 162, 122, 0.16), transparent 50%),
    var(--navy);
  color: var(--ivory);
  padding: 4.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-aside h1 {
  font-size: clamp(3.2rem, 5vw, 4.8rem);
  margin-top: 0.6rem;
}

.login-aside p {
  margin-top: 1.1rem;
  max-width: 22rem;
  color: #e6e0d4;
  font-weight: 300;
}

.login-panel {
  padding: 4.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-compact {
  padding-top: 1.5rem;
}

body.nav-lock {
  overflow: hidden;
}

.login-panel .form {
  width: min(26rem, 100%);
  margin-top: 0;
}

.site-footer {
  background: var(--navy);
  color: #e7e1d6;
  padding: 3rem 0 2.4rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: start;
}

.brand-on-dark,
.brand-on-dark .brand-name {
  color: var(--ivory);
}

.brand-on-dark .brand-sub {
  color: #ddd6c8;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  list-style: none;
  justify-content: flex-end;
}

.footer-nav a {
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.3em;
  text-decoration-color: var(--gold-line);
}

.legal,
.copy {
  color: #d5cfc3;
  font-size: 0.92rem;
}

.legal {
  max-width: 46rem;
  margin-top: 2rem;
}

.copy {
  margin-top: 1.1rem;
}

.terms-list {
  list-style: none;
  margin-top: 1rem;
}

.terms-list li {
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}

.terms-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.term-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.4rem 1.25rem 1rem;
  }

  .site-header.is-open .site-nav {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

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

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 3rem;
  }

  .nav-login {
    margin: 0;
    padding: 0;
    border: 0;
  }

  .practice-grid,
  .principles li,
  .focus-block,
  .login-shell,
  .footer-top,
  .hero-layout,
  .stance {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero {
    align-items: flex-start;
    min-height: 0;
    padding-top: 1.75rem;
  }

  .hero-art {
    order: -1;
    justify-content: flex-start;
  }

  .hero-tree {
    width: min(168px, 46vw);
  }

  .footer-top {
    gap: 1.5rem;
  }

  .footer-nav ul {
    justify-content: flex-start;
  }

  .login-aside,
  .login-panel {
    padding: 2.75rem 1.5rem;
  }
}

@media (max-width: 640px) {
  .wrap,
  .wrap-narrow {
    width: min(var(--wrap), calc(100% - 2rem));
  }

  .login-aside,
  .login-panel {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero {
    padding-bottom: 3rem;
  }

  .hero-layout {
    width: min(var(--wrap), calc(100% - 2rem));
  }

  .section {
    padding: 3.5rem 0;
  }

  .principles li,
  .focus-block {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .button {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .text-link,
  .site-nav a,
  .footer-nav a,
  .index-list a,
  .button,
  .email-link {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  }
}
