:root {
  --bg-canvas: #0a0a0a;
  --bg-surface: #141414;
  --bg-surface-hover: #1f1f14;
  --text-primary: #fefce8;
  --text-muted: #d4d4d8;
  --accent-primary: #facc15;
  --accent-secondary: #fde047;
  --border-subtle: #3f3f46;
  --border-strong: #facc15;
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: none;
  --glow-accent: none;
  --glass-backdrop: none;
}

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

html, body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  overflow-wrap: anywhere;
  hyphens: auto;
  font-size: 16px;
}

h1, h2, h3, h4, .serif-heading {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.25;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p, ul, ol {
  margin-bottom: 1rem;
}

a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-secondary);
}

.utility-bar {
  background-color: var(--accent-primary);
  color: #0a0a0a;
  font-size: 0.85rem;
  padding: 0.45rem 1.25rem;
  border-bottom: 1px solid #ca8a04;
}

.utility-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.utility-bar a {
  color: #0a0a0a;
  text-decoration: none;
  font-weight: 700;
  margin-left: 1rem;
}

.utility-bar a:hover {
  text-decoration: underline;
}

.site-header {
  position: relative;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 1.25rem;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-primary);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.25rem;
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--accent-primary);
  color: #0a0a0a;
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 0;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
}

.nav-desktop a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--accent-primary);
  border-bottom-color: var(--accent-primary);
}

.menu-toggle-dots {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  color: var(--accent-primary);
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  border-radius: 0;
}

.mobile-menu-panel {
  display: none;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 1.25rem;
}

.mobile-menu-panel.is-open {
  display: block;
}

.nav-mobile {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nav-mobile a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  display: block;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

.prose-block {
  max-width: 70ch;
  margin: 0 auto;
}

.plum-band {
  background-color: var(--accent-primary);
  color: #0a0a0a;
  padding: 3.5rem 1.25rem;
  margin: 2.5rem 0;
  border-top: 2px solid #eab308;
  border-bottom: 2px solid #eab308;
}

.plum-band h2,
.plum-band h3,
.plum-band p,
.plum-band li {
  color: #0a0a0a;
}

.plum-band .bento-tile h2,
.plum-band .bento-tile h3,
.plum-band .bento-tile p,
.plum-band .bento-tile li {
  color: var(--text-primary);
}

.plum-band .bento-tile {
  border-color: #0a0a0a;
}

.plum-band-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.btn-pill {
  display: inline-block;
  background-color: var(--accent-primary);
  color: #0a0a0a !important;
  text-decoration: none;
  padding: 0.75rem 1.65rem;
  border-radius: 9999px;
  border: 1px solid var(--accent-primary);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease-kinetic), background-color 0.2s ease;
}

.btn-pill:hover {
  background-color: var(--accent-secondary);
  transform: translateY(-2px);
}

.btn-pill-light {
  background-color: #0a0a0a;
  color: var(--accent-primary) !important;
  border: 1px solid #0a0a0a;
}

.btn-pill-light:hover {
  background-color: #1f1f1f;
  color: var(--accent-secondary) !important;
}

.hero-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  padding: 1.5rem 0 3rem;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
  display: block;
}

.hero-overlap-gallery {
  position: relative;
  min-height: 400px;
  width: 100%;
}

.hero-photo {
  position: absolute;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  padding: 4px;
  border-radius: 0;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.hero-photo-1 {
  width: 66%;
  height: 250px;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-photo-2 {
  width: 60%;
  height: 220px;
  top: 90px;
  right: 0;
  z-index: 2;
}

.hero-photo-3 {
  width: 58%;
  height: 200px;
  bottom: 0;
  left: 14%;
  z-index: 3;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
  margin: 1.75rem 0;
}

.bento-tile {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 1.5rem;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.bento-tile:hover {
  border-color: var(--border-strong);
  background-color: var(--bg-surface-hover);
}

.span-12 { grid-column: span 12; }
.span-8 { grid-column: span 8; }
.span-7 { grid-column: span 7; }
.span-6 { grid-column: span 6; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }

.tile-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0a0a0a;
  border: 1px solid var(--accent-primary);
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.75rem;
  align-self: flex-start;
  background: var(--accent-primary);
}

.tile-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 1rem;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.tile-img-wrap.ratio-4-3 {
  aspect-ratio: 4 / 3;
}

.tile-img-wrap.ratio-1-1 {
  aspect-ratio: 1 / 1;
}

.tile-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.table-scroll {
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

th, td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

th {
  background-color: var(--accent-primary);
  color: #0a0a0a;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.tradeoff-list {
  list-style: none;
  margin: 1rem 0;
}

.tradeoff-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.tradeoff-list strong {
  color: var(--accent-primary);
}

.accordion-group {
  margin: 1.5rem 0;
}

details.care-accordion {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  margin-bottom: 0.65rem;
  padding: 0.85rem 1.15rem;
  border-radius: 0;
}

details.care-accordion summary {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

details.care-accordion summary::after {
  content: "+";
  color: var(--accent-primary);
  font-size: 1.25rem;
  font-weight: 700;
}

details.care-accordion[open] summary::after {
  content: "−";
}

details.care-accordion .accordion-body {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-field.full-width {
  grid-column: span 2;
}

label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-primary);
}

input, select, textarea {
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--border-strong);
  background: var(--bg-canvas);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  border-radius: 0;
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--accent-secondary);
  outline-offset: 1px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.sheet-output {
  background: var(--bg-canvas);
  border: 1px solid var(--border-strong);
  color: var(--accent-primary);
  padding: 1rem;
  font-family: monospace;
  white-space: pre-wrap;
  font-size: 0.88rem;
  margin: 1rem 0;
}

.site-footer {
  background-color: var(--bg-surface);
  border-top: 2px solid var(--border-strong);
  padding: 3rem 1.25rem 2rem;
  margin-top: 4rem;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
}

.reveal-item {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s var(--ease-kinetic), transform 0.5s var(--ease-kinetic);
}

.js-enabled .reveal-item {
  opacity: 0;
  transform: translateY(14px);
}

.js-enabled .reveal-item.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero-section {
    grid-template-columns: 1fr;
  }
  .span-8, .span-7, .span-6, .span-5, .span-4 {
    grid-column: span 6;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .nav-desktop {
    display: none;
  }
  .menu-toggle-dots {
    display: inline-block;
  }
  .span-8, .span-7, .span-6, .span-5, .span-4 {
    grid-column: span 12;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-field.full-width {
    grid-column: span 1;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .hero-overlap-gallery {
    min-height: 330px;
  }
}

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