/* Hera's Hearth — warm hearth palette, classical typography, Greek key motif */

:root {
  --cream: #f6efe4;
  --cream-deep: #efe4d3;
  --parchment: #e9dcc6;
  --terracotta: #b44a28;
  --terracotta-deep: #8a341c;
  --terracotta-soft: #c46a48;
  --olive: #2f3d24;
  --olive-mid: #3f4f30;
  --olive-deep: #222b1a;
  --gold: #c4a35a;
  --gold-soft: #d4b87a;
  --ink: #241c14;
  --muted: #5b5248;
  --paper: #fffaf3;
  --line: rgba(36, 28, 20, 0.14);
  --shadow: 0 18px 40px rgba(34, 24, 16, 0.12);
  --serif-display: "Cinzel", "Palatino Linotype", Palatino, serif;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --radius: 14px;
  --header-h: 5.15rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

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

a {
  color: var(--terracotta-deep);
  text-underline-offset: 0.18em;
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--olive);
  color: var(--cream);
  padding: 0.5rem 0.9rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.6rem;
  color: var(--cream);
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(760px, calc(100% - 2.5rem));
}

/* Greek key / meander */
.greek-key {
  height: 16px;
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='16' viewBox='0 0 32 16'%3E%3Cpath fill='none' stroke='%238a341c' stroke-width='1.55' stroke-linejoin='miter' d='M0 12.5h4V3.5h10v5h-5v4h9V3.5h4v9h10'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
  background-size: 32px 16px;
}

.greek-key-light {
  background-color: var(--olive-deep);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='16' viewBox='0 0 32 16'%3E%3Cpath fill='none' stroke='%23d4b87a' stroke-width='1.55' stroke-linejoin='miter' d='M0 12.5h4V3.5h10v5h-5v4h9V3.5h4v9h10'/%3E%3C/svg%3E");
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 239, 228, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
}

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

.wordmark:hover {
  color: var(--olive);
}

.wordmark-mark {
  flex: none;
  color: var(--terracotta-deep);
}

.wordmark-name {
  display: block;
  font-family: var(--serif-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.15;
}

.wordmark-sub {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: none;
  font-weight: 400;
}

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

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--terracotta-deep);
}

.nav-cta {
  background: var(--terracotta);
  color: var(--paper) !important;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--terracotta-deep);
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.75rem 0 5.25rem;
  background:
    radial-gradient(1200px 420px at 50% -10%, rgba(196, 163, 90, 0.22), transparent 60%),
    linear-gradient(180deg, #f3e6d2 0%, var(--cream) 70%);
}

.hero-glow {
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: radial-gradient(ellipse at 50% 100%, rgba(180, 74, 40, 0.16), transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  text-align: center;
  width: min(820px, calc(100% - 2.5rem));
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-family: var(--serif-display);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(2.8rem, 7vw, 5rem);
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: var(--olive-deep);
}

.tagline {
  margin: 1.35rem auto 0;
  max-width: 40rem;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-note {
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--sans);
}

.btn-primary {
  background: var(--terracotta);
  color: var(--paper) !important;
  border-color: var(--terracotta-deep);
}

.btn-primary:hover {
  background: var(--terracotta-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--olive-deep) !important;
  border-color: rgba(47, 61, 36, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 250, 243, 0.7);
}

/* Bands */
.band {
  padding: 4.5rem 0;
}

.band-cream {
  background: var(--cream);
}

.band-parchment {
  background:
    linear-gradient(180deg, var(--cream-deep), var(--parchment));
}

.band-olive {
  background:
    radial-gradient(900px 300px at 80% 0%, rgba(196, 163, 90, 0.16), transparent 50%),
    var(--olive);
  color: var(--cream);
}

.band-olive .eyebrow {
  color: var(--gold-soft);
}

.band-olive h2 {
  color: var(--paper);
}

.lede-light {
  color: #e4dacb;
}

.band-form {
  background:
    radial-gradient(700px 280px at 50% 0%, rgba(196, 163, 90, 0.16), transparent 55%),
    var(--cream-deep);
}

h2 {
  margin: 0 0 0.8rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--olive-deep);
  letter-spacing: 0.01em;
}

.lede {
  margin: 0 0 2.2rem;
  max-width: 42rem;
  font-size: 1.12rem;
  color: var(--muted);
}

.band-olive .lede {
  color: #e4dacb;
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.steps li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.25rem 1.45rem;
  box-shadow: var(--shadow);
  min-width: 0;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
}

.steps li:nth-child(4) {
  grid-column: 2 / span 2;
}

.steps li:nth-child(5) {
  grid-column: 4 / span 2;
}

.step-num {
  display: block;
  font-family: var(--serif-display);
  color: var(--terracotta);
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 0.55rem;
}

.steps h3,
.card h3,
.notes h3,
.privacy h2 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--olive-deep);
  line-height: 1.2;
}

.steps h3 {
  min-height: 2.5rem;
}

.steps p,
.card p,
.notes p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

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

.cards.two {
  grid-template-columns: 1fr 1fr;
}

.card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1.5rem 1.45rem 1.55rem;
  box-shadow: var(--shadow);
  height: 100%;
}

.card ul {
  margin: 0.2rem 0 0;
  padding-left: 1.15rem;
}

.card li + li,
.card p + p {
  margin-top: 0.55rem;
}

.card li::marker {
  color: var(--terracotta);
}

/* Cost */
.cost-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  align-items: stretch;
}

.cost-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.5rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cost-card:first-child {
  border-color: rgba(180, 74, 40, 0.28);
  background:
    linear-gradient(180deg, #fffaf3, #f8eee3);
}

.cost-label {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.cost-figure {
  margin: 0.45rem 0 0.7rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 600;
  color: var(--olive-deep);
  line-height: 1.1;
}

.cost-card:first-child .cost-figure {
  color: var(--terracotta-deep);
}

.cost-note,
.fineprint,
.form-consent,
.form-fallback-note {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.fineprint {
  margin-top: 1.3rem;
  max-width: 50rem;
}

/* Notes */
.notes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.notes li {
  background: var(--paper);
  border-left: 4px solid var(--terracotta);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.35rem;
  box-shadow: var(--shadow);
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.7rem;
}

.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.15rem 0.2rem;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--olive-deep);
  padding: 0.9rem 2.6rem 0.9rem 1.15rem;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--terracotta);
  border-bottom: 2px solid var(--terracotta);
  transform: translateY(-70%) rotate(45deg);
}

.faq details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq details p {
  margin: 0 1.15rem 1.15rem;
  color: var(--muted);
}

/* Form */
#inquiry-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

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

.form-grid label,
.form-grid .full {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-grid span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--olive-deep);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(36, 28, 20, 0.2);
  border-radius: 10px;
  background: #fffefb;
  color: var(--ink);
  font: inherit;
  padding: 0.65rem 0.75rem;
}

textarea {
  resize: vertical;
  min-height: 8.5rem;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 1px;
  border-color: var(--terracotta);
}

.form-consent {
  margin: 1.1rem 0 1rem;
}

#inquiry-form .btn {
  min-width: 10rem;
}

.form-fallback-note {
  margin: 0.85rem 0 0;
}

.form-success {
  margin: 1.1rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: #e7efdc;
  color: var(--olive-deep);
}

/* Privacy */
.privacy h1 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: var(--olive-deep);
}

.privacy h2 {
  margin-top: 2rem;
  font-size: 1.7rem;
}

.privacy p {
  color: var(--muted);
}

.privacy .btn {
  margin-top: 0.6rem;
}

/* Footer */
.site-footer {
  background: var(--olive-deep);
  color: #d7d0c4;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2.4rem 0 2.6rem;
}

.footer-name {
  margin: 0 0 0.4rem;
  font-family: var(--serif-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.95rem;
}

.site-footer p + p {
  margin-top: 0.55rem;
}

.site-footer a {
  color: var(--gold-soft);
}

.site-footer a:hover {
  color: #f0e0b0;
}

.footer-legal {
  color: #b7b0a5;
  font-size: 0.88rem !important;
}

/* Responsive */
@media (max-width: 980px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .steps li,
  .steps li:nth-child(4),
  .steps li:nth-child(5) {
    grid-column: auto;
  }

  .steps li:last-child {
    grid-column: 1 / -1;
  }
}

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

  .site-nav:not(.is-static) {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.7rem 1.25rem 1.15rem;
    gap: 0.2rem;
    box-shadow: 0 18px 28px rgba(34, 24, 16, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.7rem 0.2rem;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.3rem;
  }

  .cards.two,
  .cost-grid,
  .form-grid,
  .footer-inner,
  .steps {
    grid-template-columns: 1fr;
  }

  .steps li:last-child {
    grid-column: auto;
  }

  .hero,
  .band {
    padding-top: 3.2rem;
    padding-bottom: 3.4rem;
  }

  .wordmark-sub {
    display: none;
  }

  .site-nav.is-static {
    gap: 0.8rem;
  }

  .notes li {
    border-radius: 0 12px 12px 0;
  }

  #inquiry-form {
    padding: 1.15rem;
  }
}

@media (max-width: 480px) {
  .wrap,
  .wrap.narrow,
  .hero-inner {
    width: calc(100% - 1.6rem);
  }

  .hero h1 {
    font-size: 2.45rem;
  }
}

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