/* Dooner Designs — homepage-v2
   Palette from AUDIT.md (confirmed): base #0b140f · surface #1a241c · ivory #f3ece0 · gold #c4a574 · sage #b7c4b8
   Display: Cinzel · Body: Figtree
*/

:root {
  --base: #0b140f;
  --surface: #1a241c;
  --ivory: #f3ece0;
  --gold: #c4a574;
  --sage: #b7c4b8;
  --border: rgba(243, 236, 224, 0.14);
  --overlay: rgba(11, 20, 15, 0.62);
  --radius-lg: 1.75rem;
  --radius-md: 1.25rem;
  --radius-pill: 999px;
  --font-display: "Cinzel", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 72rem;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--base);
  color: var(--sage);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--ivory);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 1000;
  background: var(--ivory);
  color: var(--base);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 2.5rem, 40rem);
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ivory);
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  text-transform: uppercase;
  margin: 0 0 1.25rem;
}

h2 {
  font-size: clamp(1.55rem, 2.9vw, 2.15rem);
  text-transform: uppercase;
  margin: 0 0 0.9rem;
}

h3 {
  font-size: 1rem;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
  line-height: 1.25;
}

.heading-gold {
  color: var(--gold);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.85rem;
}

.section-lede {
  color: var(--sage);
  max-width: 38rem;
  margin: -0.15rem 0 2.25rem;
  font-size: 1.02rem;
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn-cream {
  background: var(--ivory);
  color: var(--base);
  border-color: var(--ivory);
}

.btn-cream:hover {
  background: #fff8ec;
  color: var(--base);
}

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--ivory);
  color: var(--ivory);
  background: rgba(243, 236, 224, 0.04);
}

.btn-sm {
  min-height: 2.25rem;
  padding: 0.45rem 1.1rem;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.text-link {
  color: var(--gold);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 165, 116, 0.45);
}

.text-link:hover {
  color: var(--ivory);
  border-bottom-color: var(--ivory);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 20, 15, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--gold);
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--ivory);
}

.logo-mark {
  color: inherit;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: inherit;
}

.nav {
  margin-left: auto;
}

.nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: var(--ivory);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
}

.nav a:hover {
  color: var(--gold);
}

.site-header > .header-inner > .btn {
  margin-left: 0.5rem;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--ivory);
}

.mobile-nav {
  border-top: 1px solid var(--border);
  background: var(--base);
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.75rem 1.25rem 1.25rem;
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  color: var(--ivory);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 52rem);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 20, 15, 0.28) 0%, rgba(11, 20, 15, 0.55) 40%, rgba(11, 20, 15, 0.92) 100%),
    linear-gradient(90deg, rgba(11, 20, 15, 0.72) 0%, rgba(11, 20, 15, 0.4) 38%, transparent 62%);
}

.sacred-geometry {
  position: absolute;
  right: -4%;
  top: 8%;
  width: min(48vw, 28rem);
  height: auto;
  color: rgba(243, 236, 224, 0.18);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 6rem 0 4.5rem;
  max-width: 40rem;
  margin-left: max(1.25rem, calc((100% - var(--max)) / 2 + 0rem));
}

.hero-content h1 {
  text-shadow: 0 1px 2px rgba(11, 20, 15, 0.9), 0 2px 14px rgba(11, 20, 15, 0.65);
}

.hero-lede {
  color: rgba(243, 236, 224, 0.88);
  font-size: 1.05rem;
  margin: 0 0 1.75rem;
  max-width: 34rem;
  text-shadow: 0 1px 2px rgba(11, 20, 15, 0.9), 0 2px 14px rgba(11, 20, 15, 0.65);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Serving bar */
.serving-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.5rem;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 1.05rem 0 1.2rem;
  border-bottom: 1px solid var(--border);
}

.serving-bar .eyebrow {
  margin: 0;
  flex-shrink: 0;
}

.serving-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--ivory);
  font-size: 0.88rem;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.split-intro {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.5rem 2.75rem;
  margin-bottom: 2.5rem;
  align-items: start;
}

.split-intro p {
  margin: 0.35rem 0 0;
  color: var(--sage);
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1.15rem;
  align-items: stretch;
}

.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.offer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.45rem 1.55rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.offer-icon {
  color: var(--gold);
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.offer-card h3 {
  color: var(--gold);
}

.offer-meta {
  color: var(--gold);
  font-size: 0.85rem;
  margin: 0 0 0.75rem;
}

.offer-card p:last-child {
  margin: 0;
  color: var(--sage);
  font-size: 0.94rem;
  line-height: 1.55;
  flex: 1;
}

/* Who panel */
.who {
  padding-top: 1.5rem;
  padding-bottom: 4.5rem;
}

.who-panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  overflow: hidden;
}

.who-panel .sacred-geometry.faint {
  position: absolute;
  right: -6%;
  top: -10%;
  width: min(42vw, 22rem);
  color: rgba(196, 165, 116, 0.14);
  z-index: 0;
}

.who-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem 2rem;
  align-items: center;
}

.who-photo {
  margin: 0;
  border-radius: calc(var(--radius-lg) - 0.35rem);
  overflow: hidden;
}

.who-photo img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
  aspect-ratio: 5 / 4;
}

.who-copy {
  padding: 0.5rem 0.65rem 0.5rem 0.15rem;
}

.who-copy p {
  margin: 0 0 1rem;
}

.who-copy .text-link {
  display: inline-block;
  margin-bottom: 1.35rem;
}

.pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pill-cloud li {
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  color: var(--ivory);
}

/* Product cards */
.books {
  background: var(--base);
}

.kits {
  background: var(--surface);
}

.product-card {
  background: var(--base);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.kits .product-card {
  background: rgba(11, 20, 15, 0.55);
}

.product-photo {
  margin: 0;
}

.product-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.product-photo-cover img {
  object-position: top center;
}

.product-card-partner {
  border-color: rgba(196, 165, 116, 0.45);
}

.product-body {
  padding: 1.25rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  min-height: 0;
}

.product-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem 1rem;
}

.product-title-row h3 {
  margin: 0;
  color: var(--gold);
}

.price {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
  line-height: 1.3;
  padding-top: 0.1rem;
}

.format-prices {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.format-prices li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.35;
}

.format-prices .format-name {
  color: var(--ink-muted, var(--muted, #b8c4bc));
}

.format-prices .price {
  padding-top: 0;
  font-size: 0.9rem;
}

.product-sub {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.product-body > p:not(.product-sub) {
  margin: 0 0 0.35rem;
  flex: 1;
  font-size: 0.94rem;
  line-height: 1.55;
}

.product-body .btn {
  margin-top: auto;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem 2.75rem;
  align-items: center;
}

.about-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 35%;
}

.about-copy p {
  margin: 0 0 1rem;
}

.about-copy .btn {
  margin-top: 0.75rem;
}

/* Contact / appointments */
.appointments {
  background: var(--surface);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.75rem 2.25rem;
  align-items: start;
}

.contact-intro h2 {
  margin-bottom: 1rem;
}

.contact-intro p {
  margin: 0 0 1rem;
}

.contact-email a {
  font-size: 1.05rem;
  color: var(--ivory);
  text-decoration: none;
  border-bottom: 1px solid rgba(243, 236, 224, 0.35);
}

.contact-email a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.honesty-line {
  font-size: 0.9rem;
  color: var(--sage);
  border-left: 2px solid var(--gold);
  padding-left: 0.9rem;
  margin-top: 1.5rem !important;
}

.contact-panel {
  background: var(--base);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem 1.5rem;
}

.appt-form .form-row {
  margin-bottom: 1.15rem;
  border: 0;
  padding: 0;
  min-width: 0;
}

.appt-form label,
.appt-form legend {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ivory);
  margin-bottom: 0.45rem;
}

.appt-form legend {
  padding: 0;
}

.req {
  color: var(--gold);
}

.optional {
  color: var(--sage);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.appt-form input[type="text"],
.appt-form input[type="email"],
.appt-form input[type="tel"],
.appt-form input[type="datetime-local"],
.appt-form textarea {
  width: 100%;
  background: rgba(26, 36, 28, 0.65);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  color: var(--ivory);
  font: inherit;
  padding: 0.75rem 0.95rem;
  transition: border-color 0.2s var(--ease);
}

.appt-form input::placeholder,
.appt-form textarea::placeholder {
  color: rgba(183, 196, 184, 0.55);
}

.appt-form input:focus,
.appt-form textarea:focus {
  border-color: var(--gold);
  outline: none;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.9rem;
  color: var(--ivory);
  font-size: 0.85rem;
  cursor: pointer;
  margin: 0 !important;
  user-select: none;
}

.toggle:has(input:checked) {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(196, 165, 116, 0.08);
}

.toggle input {
  accent-color: var(--gold);
}

.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ivory);
  font-size: 0.9rem;
  margin: 0 !important;
}

.form-actions {
  margin-top: 1.35rem;
}

.appt-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 0.85rem;
  font-size: 0.95rem;
}

.appt-status.success {
  background: rgba(196, 165, 116, 0.12);
  border: 1px solid rgba(196, 165, 116, 0.35);
  color: var(--ivory);
}

.appt-status.error {
  background: rgba(180, 70, 70, 0.12);
  border: 1px solid rgba(180, 70, 70, 0.35);
  color: #f0cfcf;
}

/* Footer */
.site-footer {
  background: var(--base);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem 1.5rem;
  margin-bottom: 2.5rem;
}

.footer-col h3 {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin: 0 0 1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
  color: var(--sage);
}

.footer-col a {
  color: var(--ivory);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-brand p {
  margin: 1rem 0 0;
  max-width: 18rem;
  font-size: 0.92rem;
  color: var(--sage);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: rgba(183, 196, 184, 0.75);
}

.footer-bottom p {
  margin: 0;
}

.footer-note {
  color: rgba(183, 196, 184, 0.55);
}

/* Responsive */
@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .site-header > .header-inner > .btn {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .split-intro,
  .who-grid,
  .about-grid,
  .contact-layout,
  .card-grid-3,
  .card-grid-2,
  .card-grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .sacred-geometry {
    opacity: 0.55;
    width: min(70vw, 22rem);
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.25rem 0;
  }

  .who {
    padding-bottom: 3.25rem;
  }

  .serving-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: 78vh;
  }

  .contact-panel {
    padding: 1.25rem 1rem 1.2rem;
  }
}

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

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


/* Multi-eye polish 2026-09-08 — layout only (copy-safe) */
.kits .section-lede,
.books .section-lede {
  margin-bottom: 2.1rem;
}

.product-title-row h3 {
  flex: 1;
  min-width: 0;
  text-wrap: balance;
}

.offer-card h3 {
  margin-bottom: 0.3rem;
}


/* Red Pen P11 — appointment what-happens-next */
.contact-steps {
  margin: 0.85rem 0 0;
  padding-left: 1.25rem;
  color: inherit;
  font-size: 0.95em;
  line-height: 1.55;
}
.contact-steps li + li {
  margin-top: 0.35rem;
}

.affiliate-disclosure {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  line-height: 1.35;
  opacity: 0.78;
}

.nowrap {
  white-space: nowrap;
}
