/* carlywintschel.com — hand-rolled stylesheet
   Palette: "Oatmeal Mauve" ramp (oklch) + terracotta accent drawn from Carly's portrait.
   Type: Instrument Serif (display) + Inter (body), loaded via Google Fonts CDN. */

:root {
  --mauve-50:  oklch(98.5% 0 0);
  --mauve-100: oklch(96%   0.003 325.6);
  --mauve-200: oklch(92.2% 0.005 325.62);
  --mauve-300: oklch(86.5% 0.012 325.68);
  --mauve-400: oklch(71.1% 0.019 323.02);
  --mauve-500: oklch(54.2% 0.034 322.5);
  --mauve-600: oklch(43.5% 0.029 321.78);
  --mauve-700: oklch(36.4% 0.029 323.89);
  --mauve-800: oklch(26.3% 0.024 320.12);
  --mauve-900: oklch(21.2% 0.019 322.12);
  --mauve-950: oklch(14.5% 0.008 326);
  --terracotta:      oklch(60% 0.1 45);
  --terracotta-deep: oklch(52% 0.1 42);
  --cream: oklch(97.5% 0.006 80);

  --font-display: "Instrument Serif", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;

  --container: 71rem;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--mauve-700);
  background: var(--mauve-100);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--mauve-950);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h3 { font-size: 1.4rem; line-height: 1.3; }

p { margin: 0 0 1.1em; }
a { color: var(--mauve-950); text-decoration-color: var(--terracotta); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--terracotta-deep); }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.4rem; }
.narrow { max-width: 46rem; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin: 0 0 1rem;
}

.lede { font-size: 1.2rem; line-height: 1.7; color: var(--mauve-600); }

/* ---------- Header ---------- */
.site-header {
  background: var(--mauve-100);
  border-bottom: 1px solid var(--mauve-200);
  position: sticky; top: 0; z-index: 50;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: 0.9rem; padding-bottom: 0.9rem;
}
.wordmark { text-decoration: none; line-height: 1.15; }
.wordmark .name { font-family: var(--font-display); font-size: 1.45rem; color: var(--mauve-950); display: block; }
.wordmark .cred { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mauve-500); }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a { text-decoration: none; font-size: 0.95rem; font-weight: 500; color: var(--mauve-700); }
.site-nav a:hover { color: var(--mauve-950); }

.btn {
  display: inline-block;
  background: var(--mauve-950);
  color: var(--cream) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.18s ease;
}
.btn:hover { background: var(--terracotta-deep); }
.btn.big { font-size: 1.05rem; padding: 0.9rem 1.8rem; }
.btn.ghost { background: transparent; color: var(--mauve-950) !important; box-shadow: inset 0 0 0 1.5px var(--mauve-400); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--terracotta-deep); color: var(--terracotta-deep) !important; }

/* ---------- Hero (home) ---------- */
.hero-photo {
  position: relative;
  background: var(--mauve-950) url("../images/carly-hero.jpg") no-repeat center 30% / cover;
  color: var(--cream);
}
.hero-photo::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, oklch(14.5% 0.008 326 / 0.82) 0%, oklch(14.5% 0.008 326 / 0.45) 55%, oklch(14.5% 0.008 326 / 0.15) 100%);
}
.hero-photo .container { position: relative; padding-top: clamp(5rem, 12vw, 9rem); padding-bottom: clamp(5rem, 12vw, 9rem); }
.hero-photo h1 { color: var(--cream); max-width: 17ch; }
.hero-photo .lede { color: oklch(92% 0.005 325 / 0.92); max-width: 44rem; }
.hero-photo .eyebrow { color: oklch(80% 0.06 45); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero-photo .btn { background: var(--cream); color: var(--mauve-950) !important; }
.hero-photo .btn:hover { background: #fff; }
.hero-photo .btn.ghost { background: transparent; color: var(--cream) !important; box-shadow: inset 0 0 0 1.5px oklch(92% 0.005 325 / 0.6); }
.hero-photo .btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--cream); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 3.5rem); }
.page-hero h1 { max-width: 22ch; }
.page-hero .lede { max-width: 46rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section.alt { background: var(--mauve-200); }
.section.dark { background: var(--mauve-950); color: var(--mauve-300); }
.section.dark h2, .section.dark h3 { color: var(--cream); }
.section.dark a { color: var(--cream); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.two-col .photo img { border-radius: var(--radius); }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.2rem; }
.card {
  background: var(--mauve-50);
  border: 1px solid var(--mauve-200);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.4rem;
  text-decoration: none;
  display: flex; flex-direction: column; gap: 0.4rem;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.card:hover { border-color: var(--terracotta); transform: translateY(-2px); }
.card h3 { margin: 0; }
.card p { margin: 0; font-size: 0.95rem; color: var(--mauve-600); }
.card .more { font-size: 0.85rem; font-weight: 600; color: var(--terracotta-deep); margin-top: 0.4rem; }
.section.alt .card { background: var(--mauve-100); }

/* ---------- Prose lists ---------- */
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.check-list li { padding: 0.35rem 0 0.35rem 1.9rem; position: relative; }
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.78em;
  width: 0.95rem; height: 0.55rem;
  border-left: 2px solid var(--terracotta);
  border-bottom: 2px solid var(--terracotta);
  transform: rotate(-45deg);
}

/* ---------- Quote band ---------- */
.quote-band { text-align: center; }
.quote-band blockquote {
  margin: 0 auto; max-width: 22ch;
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.9rem, 4.5vw, 3.1rem); line-height: 1.25;
  color: var(--cream);
}
.quote-band .attribution { margin-top: 1.4rem; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mauve-400); }

/* ---------- FAQ ---------- */
.faq details {
  border-bottom: 1px solid var(--mauve-300);
  padding: 0.4rem 0;
}
.faq summary {
  cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 1.3rem; color: var(--mauve-950);
  padding: 0.7rem 2rem 0.7rem 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.2rem; top: 0.55rem; font-size: 1.5rem; color: var(--terracotta); font-family: var(--font-sans); font-weight: 300; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 1rem; color: var(--mauve-600); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 24ch; margin-left: auto; margin-right: auto; }
.cta-band p { max-width: 40rem; margin-left: auto; margin-right: auto; }
.cta-band .btn { margin-top: 1.2rem; }
.cta-note { font-size: 0.9rem; color: var(--mauve-500); margin-top: 1rem; }

/* ---------- Related links ---------- */
.related { margin-top: 0.5rem; }
.related ul { list-style: none; padding: 0; margin: 0.8rem 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.related li a {
  display: inline-block; text-decoration: none;
  font-size: 0.9rem; font-weight: 500;
  background: var(--mauve-50); border: 1px solid var(--mauve-300);
  padding: 0.45rem 1rem; border-radius: 999px;
}
.related li a:hover { border-color: var(--terracotta); color: var(--terracotta-deep); }

/* ---------- Footer ---------- */
.site-footer { background: var(--mauve-950); color: var(--mauve-400); padding: 3.5rem 0 2.5rem; font-size: 0.93rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.site-footer h3 { color: var(--cream); font-size: 1.25rem; }
.site-footer a { color: var(--mauve-300); text-decoration: none; }
.site-footer a:hover { color: var(--cream); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 0.18rem 0; }
.site-footer .tagline { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--mauve-300); }
.site-footer .legal { border-top: 1px solid var(--mauve-800); margin-top: 2.5rem; padding-top: 1.5rem; color: var(--mauve-500); font-size: 0.85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 1.8rem; }
}
@media (max-width: 620px) {
  .card-grid { grid-template-columns: 1fr; }
  .site-nav a.nav-link { display: none; } /* keep just the Book button on small screens */
  body { font-size: 1rem; }
}
