/* Gold Frame, sharpened. Same espresso, gold, and cream family.
   Gold #E3BC3A is for fills and for text on dark bands.
   On cream, links use deep gold #8A5A00. */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/fraunces-latin-opsz-normal-069cb90e11a337bf264eadfb15ad00f5.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-400-normal-27ab01c4cb5013775d870ae8accb1040.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-600-normal-9a35cba76edada19c5c0f79f29c41bb3.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --ink-950: #15100C;
  --ink-900: #1F1813;
  --ink-800: #2B221B;
  --ink-700: #3A2E24;
  --gold-300: #F0D36E;
  --gold-400: #EFCB55;
  --gold-500: #E3BC3A;
  --gold-600: #D4AC2C;
  --gold-700: #8A5A00;
  --gold-800: #6A4308;
  --cream-50: #FFFDF8;
  --cream-100: #F6F0E6;
  --cream-200: #EFE4CE;
  --cream-300: #E2D5BC;
  --bronze-500: #8A7254;
  --band: #1F1813;
  --on-band: #F3E9D6;
  --on-band-muted: #C9B99E;
  --page: #F6F0E6;
  --surface: #FFFDF8;
  --tint: #EFE4CE;
  --text: #1A120C;
  --muted: #4E3E30;
  --heading: #3F2A12;
  --link: #8A5A00;
  --link-hover: #6A4308;
  --border-soft: #E2D5BC;
  --border-strong: #8A7254;
  --icon-bg: #EFE4CE;
  --icon-fg: #6A4308;
  --shadow-card: 0 1px 2px rgba(63, 42, 18, 0.06), 0 8px 24px -8px rgba(63, 42, 18, 0.14);
  --shadow-card-hover: 0 2px 4px rgba(63, 42, 18, 0.08), 0 18px 36px -12px rgba(63, 42, 18, 0.24);
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --band: #15100C;
  --page: #1F1813;
  --surface: #2B221B;
  --tint: #3A2E24;
  --text: #F3E9D6;
  --muted: #C9B99E;
  --heading: #E3BC3A;
  --link: #E3BC3A;
  --link-hover: #F0D36E;
  --border-soft: #43362A;
  --border-strong: #8A7254;
  --icon-bg: #3A2E24;
  --icon-fg: #E3BC3A;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 28px -12px rgba(0, 0, 0, 0.6);
  --shadow-card-hover: 0 2px 4px rgba(0, 0, 0, 0.45), 0 20px 40px -14px rgba(0, 0, 0, 0.7);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --band: #15100C;
    --page: #1F1813;
    --surface: #2B221B;
    --tint: #3A2E24;
    --text: #F3E9D6;
    --muted: #C9B99E;
    --heading: #E3BC3A;
    --link: #E3BC3A;
    --link-hover: #F0D36E;
    --border-soft: #43362A;
    --border-strong: #8A7254;
    --icon-bg: #3A2E24;
    --icon-fg: #E3BC3A;
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 28px -12px rgba(0, 0, 0, 0.6);
    --shadow-card-hover: 0 2px 4px rgba(0, 0, 0, 0.45), 0 20px 40px -14px rgba(0, 0, 0, 0.7);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--page);
  color: var(--text);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
  min-width: 0;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-optical-sizing: auto;
  font-synthesis: none;
  color: var(--heading);
  text-wrap: balance;
  margin: 0;
}

h1 {
  font-size: 32px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

h2 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}

h3 {
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 16px;
  max-width: 68ch;
}

a {
  color: var(--link);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--link-hover);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid #1F1813;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px #E3BC3A;
}

::selection {
  background: #E3BC3A;
  color: #1F1813;
}

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  transform: translateY(-200%);
  background: var(--gold-500);
  color: var(--ink-900);
  padding: 8px 12px;
  z-index: 40;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: 100%;
  max-width: 1152px;
  margin-inline: auto;
  padding-inline: 24px;
}

.wrap.reading {
  max-width: calc(46rem + 48px);
}

.site-header {
  position: relative;
  z-index: 10;
  background: var(--band);
  color: var(--on-band);
  border-bottom: 1px solid rgba(227, 188, 58, 0.28);
}

.bar {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  min-height: 64px;
  padding-block: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  color: var(--on-band);
  text-decoration: none;
  min-height: 44px;
}

.brand img {
  height: 44px;
  width: auto;
  display: block;
}

.brand-name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  color: var(--on-band);
  text-decoration: none;
  font-size: 17px;
  padding: 0 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}

.site-nav a:hover {
  background: rgba(243, 233, 214, 0.1);
  color: #fff;
  text-decoration: none;
}

.site-nav a[aria-current="page"]:not(.btn-outline-gold) {
  color: var(--gold-500);
  box-shadow: inset 0 -2px 0 var(--gold-500);
  border-radius: 0;
}

.site-nav.is-open {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  gap: 0;
  background: var(--band);
  border-bottom: 3px solid var(--gold-500);
  padding: 8px 24px 16px;
  z-index: 20;
}

.site-nav.is-open a,
.site-nav.is-open a.btn-outline-gold {
  min-height: 48px;
  border: 0;
  border-top: 1px solid rgba(243, 233, 214, 0.12);
  border-radius: 0;
  box-shadow: none;
  font-size: 18px;
  font-weight: 400;
  margin: 0;
  padding: 0;
  justify-content: flex-start;
  color: var(--on-band);
  background: transparent;
}

.site-nav.is-open a[aria-current="page"],
.site-nav.is-open a.btn-outline-gold {
  color: var(--gold-500);
}

.icon-btn {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--on-band);
  border: 1.5px solid rgba(243, 233, 214, 0.45);
  cursor: pointer;
  padding: 0;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease);
}

.icon-btn:hover {
  background: rgba(243, 233, 214, 0.1);
  border-color: var(--on-band);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle .icon-sun {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

.btn {
  font: 600 17px/1 "Source Sans 3", "Segoe UI", sans-serif;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color 160ms var(--ease), transform 160ms var(--ease), box-shadow 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
}

.btn-primary {
  background: #E3BC3A;
  color: #1F1813;
  border-color: #E3BC3A;
}

.btn-primary:hover {
  background: #EFCB55;
  border-color: #EFCB55;
  color: #1F1813;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(227, 188, 58, 0.28);
  text-decoration: none;
}

.btn-primary:active {
  background: #D4AC2C;
  border-color: #D4AC2C;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background: transparent;
  color: #F3E9D6;
  border-color: rgba(243, 233, 214, 0.55);
}

.btn-secondary:hover {
  background: rgba(243, 233, 214, 0.1);
  border-color: #F3E9D6;
  color: #fff;
  text-decoration: none;
}

.btn-outline-gold,
.site-nav a.btn-outline-gold {
  background: transparent;
  color: #E3BC3A;
  border: 1.5px solid #E3BC3A;
  margin-left: 8px;
  padding: 0 24px;
  min-height: 44px;
  font-size: 17px;
  font-weight: 600;
  border-radius: 999px;
}

.btn-outline-gold:hover,
.site-nav a.btn-outline-gold:hover {
  background: #E3BC3A;
  color: #1F1813;
  text-decoration: none;
}

.button-solid {
  font: 600 17px/1 "Source Sans 3", "Segoe UI", sans-serif;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #3F2A12;
  color: #FFFDF8;
  border: 1.5px solid #3F2A12;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
}

.button-solid:hover {
  background: #4E3E30;
  border-color: #4E3E30;
  color: #FFFDF8;
}

:root[data-theme="dark"] .button-solid {
  background: #E3BC3A;
  color: #1F1813;
  border-color: #E3BC3A;
}

:root[data-theme="dark"] .button-solid:hover {
  background: #EFCB55;
  border-color: #EFCB55;
  color: #1F1813;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(520px 360px at 82% 48%, rgba(227, 188, 58, 0.20), transparent 70%),
    var(--band);
  color: var(--on-band);
  border-bottom: 3px solid var(--gold-500);
  padding: 48px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.hero h1 {
  color: var(--gold-500);
  max-width: 16ch;
  margin: 0;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero .lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--on-band);
  margin: 16px 0 24px;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-art {
  display: none;
}

.hero-art img {
  width: 100%;
  max-width: 340px;
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45));
}

.projects {
  padding-block: 48px 64px;
}

.projects h2 {
  margin-bottom: 24px;
}

.project-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.project-grid li {
  display: flex;
}

.project-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 24px;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease);
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--gold-500);
  color: var(--text);
  text-decoration: none;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--icon-bg);
  color: var(--icon-fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-card h3 {
  margin-bottom: 8px;
  color: var(--heading);
}

.project-card:hover h3 {
  color: var(--heading);
}

.project-card p {
  margin: 0 0 24px;
  flex: 1;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
}

.card-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-bottom: -8px;
  font-weight: 600;
  font-size: 17px;
  color: var(--link);
}

.card-go svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms var(--ease);
}

.project-card:hover .card-go {
  color: var(--link-hover);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 2px;
}

.project-card:hover .card-go svg {
  transform: translateX(4px);
}

.version {
  font: 600 13px/1 "Source Sans 3", sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  background: var(--tint);
  color: var(--heading);
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

:root[data-theme="dark"] .version {
  color: var(--on-band);
}

.page {
  padding-block: 48px 64px;
}

.page > h1,
.page-intro h1 {
  margin-bottom: 24px;
}

.stack {
  display: grid;
  gap: 24px;
}

.stack > * {
  min-width: 0;
}

.card {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.card h2 {
  margin-top: 0;
}

.about-wrap > h1,
.about-card {
  margin-inline: auto;
  max-width: 960px;
}

.contact-card {
  padding: 28px;
}

.prose {
  max-width: 65ch;
}

.prose a,
.card a,
.link-list a,
.email-row a {
  color: var(--link);
  text-underline-offset: 0.18em;
}

.prose p:last-child,
.card > p:last-child {
  margin-bottom: 0;
}

.about-grid {
  display: grid;
  gap: 24px;
}

.about-grid figure {
  margin: 0;
}

.about-grid img {
  width: min(100%, 250px);
  height: auto;
  border-radius: 12px;
  display: block;
}

.about-grid figcaption {
  margin-top: 8px;
  font-weight: 600;
}

.link-list {
  margin: 0;
  padding-left: 24px;
}

.link-list li {
  margin: 8px 0;
}

.plan-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.plan {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "name price"
    "detail chip";
  gap: 4px 16px;
  align-items: start;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
}

.plan-name {
  grid-area: name;
  font-size: 21px;
  color: var(--heading);
}

.plan-price {
  grid-area: price;
  margin: 0;
  font: 600 24px/1.2 "Fraunces", Georgia, serif;
  font-variant-numeric: tabular-nums;
  color: var(--heading);
  text-align: right;
}

.plan-detail {
  grid-area: detail;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.plan-bot {
  grid-area: chip;
  justify-self: end;
  margin: 0;
  font: 600 13px/1 "Source Sans 3", sans-serif;
  letter-spacing: 0.02em;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--muted);
}

.plan.is-included {
  background: var(--tint);
  box-shadow: inset 4px 0 0 var(--gold-500);
}

.plan.is-included .plan-bot {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--ink-900);
}

.price-note,
.disclosure,
.price-notes {
  color: var(--muted);
}

.disclosure {
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  font-size: 16px;
}

.price-notes {
  margin: 16px 0 0;
  padding-left: 24px;
  font-size: 16px;
}

.price-notes li {
  margin: 8px 0;
}

.mode-switch {
  border: 0;
  margin: 0 0 24px;
  padding: 0;
  max-width: 34rem;
}

.mode-switch legend {
  font-weight: 600;
  padding: 0;
  margin-bottom: 8px;
}

.mode-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mode-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 16px;
  border: 2px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
}

.mode-options label:has(input:checked) {
  border-color: var(--heading);
  background: var(--tint);
  color: var(--heading);
}

.mode-options input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  padding: 0;
  accent-color: var(--heading);
}

.loan-form:has(#mode-payoff:checked) [data-mode-panel="payment"],
.loan-form:has(#mode-payment:checked) [data-mode-panel="payoff"] {
  display: none;
}

.form-grid {
  display: grid;
  gap: 16px;
  max-width: 34rem;
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
}

input,
select {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 2px solid var(--border-strong);
  border-radius: 8px;
  padding: 8px 12px;
  min-height: 48px;
}

.period-row {
  display: grid;
  grid-template-columns: 1fr 8.5rem;
  gap: 8px;
}

.form-error,
.form-note {
  background: var(--tint);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 0 0 16px;
}

.summary {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
}

.summary div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 8px;
}

.summary dt,
.summary dd {
  margin: 0;
}

.summary dd {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.summary .payoff {
  border-bottom: 0;
  align-items: baseline;
}

.summary .payoff dt,
.summary .payoff dd {
  font-family: "Fraunces", Georgia, serif;
  font-size: 28px;
  color: var(--heading);
  font-weight: 600;
}

.table-scroll {
  overflow-x: auto;
  max-width: 100%;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: 16px;
}

caption {
  text-align: left;
  font-weight: 600;
  margin-bottom: 8px;
}

th,
td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-soft);
  text-align: right;
  white-space: nowrap;
}

th:first-child,
td:first-child {
  text-align: left;
}

thead th {
  color: var(--heading);
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
}

.email-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin: 0;
}

.email-row a {
  font-size: 21px;
  font-weight: 600;
}

.copy-status {
  font-weight: 600;
  color: var(--heading);
  margin: 0;
}

.copy-status:empty {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.copy-status:not(:empty) {
  margin-top: 8px;
}

.site-footer {
  background: var(--band);
  color: var(--on-band);
  border-top: 3px solid var(--gold-500);
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding-block: 24px;
}

.footer-bar p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--on-band-muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-nav a {
  color: var(--gold-500);
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer-nav a:hover {
  color: var(--gold-300);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 640px) {
  .project-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .project-grid li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .project-card,
  .card {
    padding: 28px;
  }

  .about-grid {
    grid-template-columns: 250px 1fr;
    align-items: start;
  }
}

@media (min-width: 768px) {
  .wrap {
    padding-inline: 32px;
  }

  .wrap.reading {
    max-width: calc(46rem + 64px);
  }

  .bar {
    min-height: 76px;
    gap: 16px;
  }

  .brand img {
    height: 56px;
  }

  .brand-name {
    font-size: 22px;
  }

  .site-nav,
  .site-nav.is-open {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    gap: 4px;
    background: transparent;
    border: 0;
    padding: 0;
  }

  .site-nav.is-open a,
  .site-nav a {
    min-height: 44px;
    border: 0;
    font-size: 17px;
    padding: 0 12px;
    border-radius: 999px;
  }

  .site-nav a.btn-outline-gold,
  .site-nav.is-open a.btn-outline-gold {
    margin-left: 8px;
    padding: 0 24px;
    border: 1.5px solid var(--gold-500);
    border-radius: 999px;
    color: var(--gold-500);
    font-weight: 600;
  }

  .menu-btn {
    display: none;
  }

  .hero {
    padding: 64px 0 72px;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
  }

  .hero-art {
    display: flex;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 32px;
  }

  .hero {
    padding: 96px 0 104px;
  }

  .hero h1 {
    font-size: 56px;
    line-height: 1.08;
    letter-spacing: -0.025em;
  }

  .hero .lede {
    font-size: 20px;
  }

  .project-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .project-grid li:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .projects {
    padding-block: 64px 96px;
  }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-moon {
    display: none;
  }

  :root:not([data-theme="light"]) .theme-toggle .icon-sun {
    display: block;
  }

  :root:not([data-theme="light"]) .version {
    color: var(--on-band);
  }

  :root:not([data-theme="light"]) .button-solid {
    background: #E3BC3A;
    color: #1F1813;
    border-color: #E3BC3A;
  }

  :root:not([data-theme="light"]) .button-solid:hover {
    background: #EFCB55;
    border-color: #EFCB55;
    color: #1F1813;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .project-card:hover,
  .btn-primary:hover,
  .project-card:hover .card-go svg {
    transform: none;
  }
}

@media (forced-colors: active) {
  :focus-visible {
    outline: 3px solid Highlight;
    box-shadow: none;
  }

  .btn,
  .button-solid,
  .icon-btn,
  .mode-options label,
  .project-card,
  .card,
  .plan {
    border: 1px solid ButtonText;
  }
}
