/* Ananya Learning Studio LLP — site styles */
:root {
  --ivory: #FAF6EE;
  --paper: #FFFDF8;
  --ink: #1C1A17;
  --ink-soft: #4A453E;
  --muted: #6E675D;
  --line: #E6DDCC;
  --bronze: #C9A87A;
  --bronze-deep: #8A6534;
  --radius: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 3.9rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.45rem; }

p { margin: 0 0 1em; }
a { color: var(--bronze-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px; flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.brand img { width: 40px; height: auto; flex: none; display: block; }
.brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem; font-weight: 600; line-height: 1.1;
}
.nav-links { display: flex; gap: 22px; flex-wrap: wrap; }
.nav-links a {
  color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; font-weight: 500;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--ink); border-bottom-color: var(--bronze);
}

/* Sections */
section { padding: 72px 0; }
.hero { padding: 96px 0 72px; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bronze-deep); margin-bottom: 18px;
}
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 640px; }
.muted { color: var(--muted); }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 0.98rem;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--ivory);
}
.btn:hover { background: #000; color: var(--ivory); }
.btn.secondary { background: transparent; color: var(--ink); }
.btn.secondary:hover { background: var(--paper); }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.card p:last-child { margin-bottom: 0; }
.tag {
  display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--bronze-deep);
  border: 1px solid var(--bronze); border-radius: 999px; padding: 3px 10px; margin-bottom: 14px;
}

.feature-product {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 40px;
  margin-top: 32px;
}
.grid-art { width: 100%; max-width: 320px; justify-self: center; }

ul.clean { padding-left: 1.1em; margin: 0 0 1em; }
ul.clean li { margin-bottom: 0.45em; }

/* FAQ */
details {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; margin-bottom: 12px;
}
summary { cursor: pointer; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--bronze-deep); font-weight: 600; }
details[open] summary::after { content: "−"; }
details p { margin: 12px 0 0; color: var(--ink-soft); }

/* Long-form text (privacy policy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.7rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose li { margin-bottom: 0.4em; }

/* Contact block */
.contact-box {
  background: var(--ink); color: var(--ivory); border-radius: 20px; padding: 40px;
}
.contact-box h2, .contact-box h3 { color: var(--ivory); }
.contact-box a { color: var(--bronze); }
.contact-box p { color: #D9D2C4; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 0.92rem; color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-grid a { color: var(--ink-soft); text-decoration: none; margin-right: 18px; }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; }
address { font-style: normal; }

@media (max-width: 820px) {
  .grid-3, .grid-2, .feature-product { grid-template-columns: 1fr; }
  .feature-product { padding: 28px; }
  section { padding: 56px 0; }
  .hero { padding: 64px 0 48px; }
  .nav { padding: 10px 0; }
}

/* ---- Brand: swan lockup, hero art, story, dark footer ---- */
.brand img { width: 44px; height: auto; }
.lockup { display: flex; flex-direction: column; line-height: 1; }
.lockup-name { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.6rem; font-weight: 600; letter-spacing: .01em; }
.lockup-sub { font-size: .66rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--bronze-deep); margin-top: 4px; }

.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-art { width: 100%; max-width: 460px; height: auto; justify-self: end; }

.swan-story { background: var(--ink); color: var(--ivory); }
.swan-story h2 { color: var(--ivory); }
.swan-story p { color: #D9D2C4; max-width: 620px; }
.swan-story .eyebrow { color: var(--bronze); }
.story-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; align-items: center; }
.story-grid img { width: 100%; max-width: 260px; height: auto; justify-self: center; border-bottom: 5px solid var(--bronze); padding-bottom: 6px; }

.site-footer { background: var(--ink); color: #BDB4A4; border-top: 0; padding: 48px 0 36px; }
.site-footer address, .site-footer p { color: #BDB4A4; }
.site-footer a, .footer-grid a { color: #E7DFD0; }
.site-footer a:hover, .footer-grid a:hover { color: var(--bronze); }
.footer-brand { display: flex; align-items: center; gap: 16px; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid #3A362F; }
.footer-brand img { width: 56px; height: auto; }
.footer-name { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.6rem; font-weight: 600; color: var(--ivory); line-height: 1.1; }
.footer-tag { font-size: .9rem; color: var(--bronze); }

@media (max-width: 820px) {
  .hero-grid, .story-grid { grid-template-columns: 1fr; }
  .hero-art { justify-self: center; max-width: 320px; order: -1; }
  .story-grid img { max-width: 180px; }
}
