:root {
  --ivory: #F7F2E9;
  --paper: #FBF8F2;
  --wine: #4A1E30;
  --wine-deep: #331320;
  --brass: #AD8A4E;
  --brass-light: #D9C79A;
  --blush: #E7CCC6;
  --ink: #2A2119;
  --ink-soft: #5A4E42;
  --radius: 2px;
  --max: 780px;
}

* { box-sizing: border-box; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  color: var(--wine-deep);
  font-weight: 500;
  margin: 0 0 .5em;
  line-height: 1.15;
}

h1 { font-size: clamp(1.9rem, 5vw, 2.7rem); font-weight: 600; }
h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
h3 { font-size: 1.1rem; font-weight: 600; color: var(--wine); }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--wine); }

ul, ol { padding-left: 1.2em; color: var(--ink-soft); }
li { margin-bottom: .3em; }

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  background: var(--paper);
  border-bottom: 1px solid var(--brass-light);
}

.logo {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--wine-deep);
  text-decoration: none;
}
.logo span { color: var(--brass); font-weight: 400; }

.header-contact a {
  font-size: .9rem;
  text-decoration: none;
  margin-left: 1rem;
  color: var(--ink);
  font-weight: 500;
}

/* Hero */
.hero {
  max-width: 1040px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 860px) {
  .hero { grid-template-columns: 1.6fr 1fr; }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  color: var(--brass);
  font-weight: 600;
  margin-bottom: .8rem;
}

.hero .lead { max-width: 46ch; font-size: 1.05rem; }

.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.5rem; }

.btn {
  display: inline-block;
  padding: .85rem 1.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--wine);
  color: var(--paper);
}
.btn-primary:hover { background: var(--wine-deep); }

.btn-ghost {
  border-color: var(--wine);
  color: var(--wine);
}
.btn-ghost:hover { background: var(--blush); }

/* Gift tag — signature element */
.gift-tag {
  position: relative;
  background: var(--wine);
  color: var(--paper);
  padding: 1.6rem 1.4rem;
  border-radius: var(--radius);
  justify-self: start;
  transform: rotate(1.5deg);
  max-width: 260px;
}

.gift-tag::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 24px;
  width: 20px;
  height: 20px;
  background: var(--paper);
  border-radius: 50%;
  border: 2px dashed var(--brass);
}

.gift-tag-eyebrow {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--brass-light);
  margin-bottom: .3rem;
}

.gift-tag-title {
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
  color: var(--paper);
  margin-bottom: .6rem;
}

.gift-tag-price {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--brass-light);
  margin-bottom: .7rem;
}

.gift-tag-link {
  color: var(--paper);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 404 page */
.error-404 {
  max-width: 640px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  text-align: center;
}
.error-404 .eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  color: var(--brass);
  font-weight: 600;
  margin-bottom: .8rem;
}
.error-404 .hero-cta { justify-content: center; }

/* Benefits */
.benefits {
  max-width: 1040px;
  margin: 0 auto;
  padding: 1rem 1.5rem 3rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .benefits { grid-template-columns: repeat(3, 1fr); }
}

.benefit {
  background: var(--ivory);
  border-left: 3px solid var(--brass);
  padding: 1.3rem 1.4rem;
}
.benefit h2 { font-size: 1.05rem; }
.benefit p { font-size: .92rem; margin: 0; }

/* Program / modules / details */
.program, .modules, .details {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.program { background: var(--ivory); }

.program-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.program-list > li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--brass-light);
}
.program-list > li:last-child { border-bottom: none; }
.program-list h3 { margin-bottom: .4rem; }
.program-list ul { margin: 0; font-size: .93rem; }

.modules h3 { margin-top: 1.6rem; }
.modules p { font-size: .95rem; }
.note {
  font-size: .88rem;
  font-style: italic;
  border-top: 1px solid var(--brass-light);
  padding-top: 1rem;
  margin-top: 1.5rem;
}

.details-list {
  display: grid;
  gap: .6rem;
  margin: 1.2rem 0 1.8rem;
}
.details-list > div {
  display: flex;
  gap: .5rem;
  font-size: .93rem;
  border-bottom: 1px dashed var(--brass-light);
  padding-bottom: .4rem;
}
.details-list dt {
  font-weight: 600;
  color: var(--wine);
  min-width: 150px;
  flex-shrink: 0;
}
.details-list dd { margin: 0; color: var(--ink-soft); }

.details-extra p { font-size: .95rem; }

.cta-inline {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.portfolio-link {
  text-align: center;
  padding: 1rem 1.5rem 3rem;
}
.portfolio-link a { font-weight: 600; text-decoration: none; }

.sibling-gallery {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.sibling-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* Footer */
.site-footer {
  background: var(--wine-deep);
  color: var(--brass-light);
  padding: 3rem 1.5rem 2rem;
}

.site-footer h2 {
  color: var(--paper);
  font-size: 1.15rem;
}

.footer-courses, .footer-company {
  max-width: 780px;
  margin: 0 auto 2rem;
}

.footer-courses ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: .5rem;
  columns: 2;
}

.footer-courses a, .footer-company a {
  color: var(--brass-light);
  text-decoration: none;
  font-size: .93rem;
}
.footer-courses a:hover, .footer-company a:hover { text-decoration: underline; }

.footer-company p { color: var(--brass-light); font-size: .9rem; margin-bottom: .4rem; }

.copyright {
  max-width: 780px;
  margin: 1.5rem auto 0;
  font-size: .8rem;
  color: var(--ink-soft);
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.2rem;
}

/* Focus visibility */
a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}
