/* SYC Consultant
   Radius system: pill (999px) for buttons and chips, 28px for framed image shells,
   20px for cards and inner surfaces (concentric with the 8px shell padding). Nothing else.
   One accent: warm rose. Theme locked to bright light mode by owner request.
   Motion: single spring-like curve for transforms, quick ease for colour. */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/outfit-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --bg: #fdfafb;
  --surface: #ffffff;
  --tint: #f9eef3;
  --tint-deep: #f4dfe9;
  --text: #2b2027;
  --text-2: #6b5a64;
  --accent: #b04274;
  --accent-ink: #96335f;
  --on-accent: #fffafc;
  --line: #eedde5;
  --slot-a: #f6dbe6;
  --slot-b: #e2aec8;
  --shell: #f8eef3;
  --shadow-soft: 0 24px 48px -20px rgb(120 55 90 / 0.14), 0 4px 12px -6px rgb(120 55 90 / 0.06);
  --shadow-lift: 0 32px 64px -24px rgb(120 55 90 / 0.2), 0 6px 16px -8px rgb(120 55 90 / 0.08);
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.14; letter-spacing: -0.015em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.1rem, 3.9vw, 3.2rem); font-weight: 590; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 580; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding-inline: 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.72em 1.5em;
  border-radius: 999px;
  font-weight: 550;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.45s var(--ease-spring), background-color 0.2s ease-out, border-color 0.2s ease-out, box-shadow 0.45s var(--ease-spring);
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}
.btn-primary:hover {
  background: var(--accent-ink);
  box-shadow: var(--shadow-soft);
}

.btn-chip {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-right: -0.6em;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.16);
  font-size: 0.95rem;
  transition: transform 0.45s var(--ease-spring);
}
.btn-primary:hover .btn-chip { transform: translateX(3px); }

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-ink); }

.btn-lg { padding: 0.85em 2em; font-size: 1.1rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10; /* z-scale: 10 header, 20 mobile nav panel. Nothing else uses z-index. */
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.wordmark {
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.site-nav a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.98rem;
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--text); }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */

.hero {
  padding-block: 72px 96px;
  background:
    radial-gradient(90% 70% at 85% 10%, var(--tint), transparent 70%),
    radial-gradient(60% 55% at 5% 90%, color-mix(in srgb, var(--tint-deep) 55%, transparent), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-ink);
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45em 1.1em;
  margin-bottom: 1.6em;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-2);
  max-width: 34em;
  margin-bottom: 1.8em;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Framed images (double-bezel: shell + inner surface) ---------- */

.frame {
  background: var(--shell);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 8px;
  box-shadow: var(--shadow-soft);
}
.frame .img-note { padding: 6px 10px 2px; }

/* ---------- Image placeholder slots ---------- */

.img-slot {
  border-radius: 20px;
  background:
    radial-gradient(120% 90% at 15% 10%, var(--slot-a), transparent 60%),
    linear-gradient(160deg, var(--slot-a), var(--slot-b));
  box-shadow: inset 0 1px 1px rgb(255 255 255 / 0.15);
}
img.img-slot {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: 42% 35%;
}
.img-slot-hero { aspect-ratio: 5 / 4; object-position: 48% 50%; }
.img-slot-portrait { aspect-ratio: 9 / 11; object-position: 30% 30%; }
.img-slot-wide { aspect-ratio: 16 / 10; height: 100%; }

figure { margin: 0; }
.img-note {
  font-size: 0.82rem;
  color: var(--text-2);
  margin-top: 10px;
}

/* ---------- Sections ---------- */

.section { padding-block: 96px; }
.section-tint { background: var(--tint); }

.section-head {
  max-width: 40em;
  margin-bottom: 56px;
}
.section-head p { color: var(--text-2); font-size: 1.1rem; }

/* ---------- Curriculum ---------- */

.curriculum-grid {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: 72px;
  align-items: start;
}

.curriculum-intro {
  position: sticky;
  top: 108px;
}
.curriculum-intro p { color: var(--text-2); font-size: 1.1rem; }

.topic-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.topic {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 26px 22px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.6s var(--ease-spring), translate 0.6s var(--ease-spring);
}
.topic:hover { box-shadow: var(--shadow-lift); translate: 0 -3px; }
.topic:nth-child(even) { margin-top: 18px; }
.topic h3 { margin-bottom: 0.4em; }
.topic p { color: var(--text-2); font-size: 0.97rem; }

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px;
  align-items: center;
}

.about-copy p { color: var(--text-2); }

.about-name {
  color: var(--text) !important;
  font-size: 1.3rem;
  font-weight: 620;
  letter-spacing: -0.01em;
  margin-bottom: 0.1em !important;
}
.about-role {
  color: var(--accent-ink) !important;
  font-weight: 550;
  margin-bottom: 0.2em !important;
}

.about-cred {
  font-size: 0.95rem;
  margin-bottom: 1.8em !important;
}

.about-points {
  list-style: none;
  margin: 1.6em 0 0;
  padding: 0;
}
.about-points li {
  padding: 10px 0 10px 26px;
  position: relative;
  color: var(--text);
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 12px;
  height: 2px;
  background: var(--accent);
}

.about-links {
  margin-top: 1.6em !important;
  font-size: 0.95rem;
}
.about-links a { font-weight: 550; }

/* ---------- How it works ---------- */

.phase-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: phase;
}

.phase-row {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 40px;
  padding-block: 36px;
  border-top: 1px solid var(--line);
}
.phase-row h3 { font-size: 1.45rem; margin: 0; }
.phase-row p { color: var(--text-2); margin: 0; max-width: 36em; }

/* ---------- Bento ---------- */

.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.bento-image {
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
}
.bento-image .img-slot { flex: 1; }

.bento-cell:not(.bento-image) {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
.bento-cell h3 { margin-bottom: 0.4em; }
.bento-cell p { color: var(--text-2); font-size: 0.97rem; }

.bento-accent {
  background: var(--tint-deep) !important;
  border-color: transparent !important;
  grid-column: 2 / 4;
}

/* ---------- FAQ ---------- */

.faq-wrap { max-width: 760px; }
.faq-wrap h2 { margin-bottom: 1.2em; }

.faq-item {
  border-top: 1px solid var(--line);
}
.faq-item:last-of-type { border-bottom: 1px solid var(--line); }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 40px 20px 0;
  font-weight: 570;
  font-size: 1.08rem;
  position: relative;
  transition: color 0.15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  translate: 0 -50%;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent-ink);
  transition: rotate 0.2s ease;
}
.faq-item[open] summary::after { rotate: 45deg; }
.faq-item summary:hover { color: var(--accent-ink); }
.faq-item p {
  color: var(--text-2);
  padding: 0 0 22px;
  max-width: 60ch;
}

/* ---------- CTA band ---------- */

.cta-band { background: var(--tint); }

.cta-inner {
  max-width: 640px;
  text-align: center;
  padding-block: 24px;
}
.cta-inner p { color: var(--text-2); font-size: 1.15rem; margin-bottom: 1.8em; }
.cta-alt { font-size: 0.95rem !important; margin: 1.6em 0 0 !important; }

.copy-email {
  margin-left: 10px;
  padding: 0.35em 1em;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 550;
  color: var(--accent-ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s ease-out, color 0.2s ease-out;
}
.copy-email:hover { border-color: var(--accent); }
.copy-email.copied { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 36px;
}

.footer-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-nav { display: flex; gap: 22px; margin-left: auto; }
.footer-nav a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.95rem;
}
.footer-nav a:hover { color: var(--text); }

.footer-note {
  width: 100%;
  color: var(--text-2);
  font-size: 0.85rem;
  margin: 8px 0 0;
}

/* ---------- Mobile ---------- */

@media (max-width: 860px) {
  .section { padding-block: 64px; }
  .hero { padding-block: 40px 64px; }

  .hero-grid,
  .curriculum-grid,
  .about-grid { grid-template-columns: 1fr; gap: 40px; }

  .curriculum-intro { position: static; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic:nth-child(even) { margin-top: 0; }

  .about-figure { order: 2; }
  .about-copy { order: 1; }
  .img-slot-hero { aspect-ratio: 16 / 11; }

  .phase-row { grid-template-columns: 1fr; gap: 10px; }

  .bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .bento-image { grid-row: auto; }
  .bento-accent { grid-column: auto; }
  .img-slot-wide { aspect-ratio: 16 / 10; height: auto; }

  /* Mobile nav */
  .nav-toggle {
    display: grid;
    gap: 5px;
    place-content: center;
    margin-left: auto;
    width: 42px;
    height: 42px;
    background: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
  }
  .nav-toggle-line {
    width: 16px;
    height: 2px;
    background: var(--text);
    transition: transform 0.2s ease;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-line:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-line:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }

  .nav-cta { display: none; }

  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    z-index: 20;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; font-size: 1.05rem; }
}

/* ---------- Scroll reveals (enabled by JS only when motion is allowed) ---------- */

body.reveals .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease-spring), transform 0.8s var(--ease-spring);
  transition-delay: var(--reveal-delay, 0s);
}
body.reveals .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
