/* Self-hosted Fraunces + Inter (SIL Open Font License), same fonts as The Dialogue Project. No third-party requests. */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('assets/fonts/fraunces-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('assets/fonts/fraunces-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('assets/fonts/inter-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('assets/fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f7f1e6;
  --bg-tint: #efe4d1;
  --surface: #fffbf4;
  --ink: #2f4a3a;
  --ink-soft: #4f6156;
  --line: #e2d6c1;
  --sage: #8fa58c;
  --sage-soft: #e4ebdc;
  --olive: #55693f;
  --accent: #b77a5c;
  --accent-dark: #985b3e;
  --accent-hover: #7e4a32;
  --accent-soft: #ecd5c6;
  --link: #8a5236;
  --forest: #2f4a3a;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(47, 74, 58, 0.08);
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.2; margin: 0 0 .6em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); }
.skip-link { position: absolute; left: 1rem; top: -100px; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 1rem; }
.small { font-size: .925rem; }
.muted { color: var(--ink-soft); }
.eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--olive); margin-bottom: .9rem;
}

/* Buttons */
.btn {
  display: inline-block; background: var(--accent-dark); color: #fff; text-decoration: none;
  font-weight: 600; padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid var(--accent-dark);
  font-size: 1rem; transition: background .2s, transform .2s; overflow-wrap: anywhere;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); border-color: var(--ink-soft); color: var(--ink); }
.btn-small { padding: .5rem 1.1rem; font-size: .925rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 241, 230, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 80px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); }
.brand-logo { height: 48px; width: auto; flex-shrink: 0; }
.brand-name { font-family: var(--font-head); font-size: 1.55rem; font-weight: 600; white-space: nowrap; }
.site-nav ul { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.site-nav .nav-link a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; font-weight: 500; }
.site-nav .nav-link a:hover { color: var(--ink); }

/* Hero */
.hero { padding: clamp(3rem, 7vw, 6rem) 0; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-art { position: relative; min-height: 400px; }
.hero-logo {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(340px, 80%);
}
.hero-logo img { width: 100%; height: auto; }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.tinted { background: var(--bg-tint); }
.section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head p:not(.eyebrow) { color: var(--ink-soft); }

/* Status pills */
.status {
  display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .7rem; border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1.4;
}
.status-live { background: var(--olive); color: #fff; }
.status-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #d8e6c9; }
.status-soon { background: var(--accent-soft); color: var(--accent-hover); }

/* Feature: The Dialogue Project */
.feature {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center;
  background: var(--surface); border-radius: 24px; box-shadow: var(--shadow);
  padding: clamp(1.8rem, 4vw, 3.2rem); border-top: 5px solid var(--accent);
}
.feature-copy > p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.1rem; max-width: 34em; }
.age-groups { list-style: none; display: flex; flex-wrap: wrap; gap: .8rem; padding: 0; margin: .4rem 0 1.8rem; }
.age-groups li {
  display: flex; align-items: baseline; gap: .4rem; background: var(--sage-soft);
  border-radius: 14px; padding: .55rem 1.1rem;
}
.age { font-family: var(--font-head); font-size: 1.45rem; font-weight: 600; color: var(--ink); }
.age-label { font-size: .9rem; color: var(--ink-soft); }
.feature-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.feature-points li {
  position: relative; padding: 1rem 1.2rem 1rem 3.2rem; background: var(--bg);
  border-radius: 14px; color: var(--ink-soft); font-size: .98rem;
}
.feature-points strong { display: block; color: var(--ink); font-size: 1rem; }
.feature-points li::before {
  content: ""; position: absolute; left: 1.2rem; top: 1.25rem; width: 14px; height: 14px;
  border-radius: 0 50% 0 50%; background: var(--sage);
}

/* Coming soon cards */
.cards { display: grid; gap: 1.25rem; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem 1.3rem;
}
.card .status { margin-bottom: .9rem; }
.card p { color: var(--ink-soft); margin-bottom: .4rem; }
.leaf-icon {
  display: block; width: 34px; height: 34px; margin-bottom: 1rem;
  border-radius: 0 50% 0 50%; background: var(--sage);
}
.leaf-terracotta { background: var(--accent); opacity: .85; }
.leaf-olive { background: var(--olive); opacity: .8; }

/* Contact */
.contact { background: linear-gradient(180deg, var(--bg) 0%, var(--sage-soft) 100%); }
.contact-inner { text-align: center; }
.contact-inner .eyebrow { justify-content: center; }
.contact-inner p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.1rem; }
.contact-inner .btn { margin-top: .6rem; }

/* Footer */
.site-footer { background: var(--forest); color: #efe4d1; padding: 3rem 0 2.2rem; }
.site-footer p { margin: 0 0 .4rem; }
.site-footer .muted { color: #c9bfae; }
.site-footer a { color: #efe4d1; text-decoration: underline; text-underline-offset: 2px; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 1.2rem 1.6rem; padding-bottom: 1.6rem; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 1.2rem; }
.logo-tile { display: inline-flex; background: #efe4d1; border-radius: 12px; padding: .6rem 1rem; }
.logo-tile img { height: 88px; width: auto; }
.footer-name { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner, .feature { grid-template-columns: 1fr; gap: 2rem; }
  .hero-art { min-height: 320px; max-width: 440px; width: 100%; margin: 0 auto; }
  .cards.three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .site-nav .nav-link { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .header-inner { height: 70px; }
  html { scroll-padding-top: 80px; }
  .brand { gap: .55rem; }
  .brand-logo { height: 40px; }
  .brand-name { font-size: 1.3rem; }
  .lead { font-size: 1.1rem; }
  .hero-actions .btn { flex: 1 1 100%; text-align: center; }
  .hero-art { min-height: 280px; }
  .hero-logo { width: min(260px, 75%); }
  .cards.three { grid-template-columns: 1fr; }
  .feature .btn { display: block; text-align: center; }
  .logo-tile img { height: 76px; }
}
@media (max-width: 380px) {
  .brand-name { font-size: 1.15rem; }
  .btn-small { padding: .45rem .9rem; }
}

/* Mobile refinements */
.eyebrow-place { gap: .45rem; }
.eyebrow-place span { white-space: nowrap; }
@media (max-width: 640px) {
  .age-groups { gap: .6rem; }
  .age-groups li { padding: .5rem .9rem; }
  .hero-inner { gap: 1.5rem; }
  .hero-art { min-height: 240px; max-width: 340px; }
}
