/* Career Clarity Lab — shared styles
   Layout idea: a drafting-table page. Faint blueprint grid, slab-serif headlines
   echoing the Evolving Thinkers wordmark, and orange "paths" that branch and re-route. */
:root {
  --navy: #0a568e;
  --navy-deep: #0d3a5f;
  --sky: #53b4cf;
  --sky-wash: #e8f4f9;
  --orange: #c24e25;      /* button orange, darkened from logo #e46d43 for legible white text */
  --orange-logo: #e46d43;
  --yellow: #f2bd1f;
  --paper: #f8fbfd;
  --card: #ffffff;
  --ink: #15324c;
  --muted: #4d6478;
  --line: #d6e5ee;
  --font-display: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-display); color: var(--navy-deep); line-height: 1.12; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.45rem; font-weight: 600; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }

.grid-bg {
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
}

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-deep); }
.brand img { width: 92px; }
.brand span { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.1; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.78rem; color: var(--muted); letter-spacing: 0.02em; }
.nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.97rem; color: var(--ink); }
.nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--sky); }
.nav a.btn { color: #fff; gap: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 1rem; padding: 13px 22px; border-radius: 999px;
  border: 2px solid var(--orange); transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: #a9411d; border-color: #a9411d; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; }
.btn.small { padding: 9px 16px; font-size: 0.92rem; }

/* ---------- Sections ---------- */
section { padding: clamp(56px, 8vw, 96px) 0; }
.eyebrow { font-weight: 700; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 60ch; margin-top: 18px; }
.section-head { max-width: 720px; margin-bottom: 44px; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero h1 em { font-style: normal; color: var(--orange-logo); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding: 0; list-style: none; }
.facts li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 0.92rem; font-weight: 600; color: var(--navy-deep); }
.facts li b { color: var(--orange); }

.paths { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; box-shadow: 0 18px 40px -24px rgba(13, 58, 95, .35); }
.paths svg { width: 100%; height: auto; display: block; }
.paths figcaption { font-size: 0.86rem; color: var(--muted); padding: 8px 6px 2px; }
.paths .draw { stroke-dasharray: 600; stroke-dashoffset: 0; animation: draw 1.8s ease-out both; }
.paths .draw.d2 { animation-delay: .25s; } .paths .draw.d3 { animation-delay: .5s; } .paths .draw.d4 { animation-delay: .75s; } .paths .draw.d5 { animation-delay: 1s; }
@keyframes draw { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .paths .draw { animation: none; } }

/* ---------- Old menu vs new ---------- */
.menu-compare { display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; }
.menu-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.menu-card h3 { font-size: 1.15rem; margin-bottom: 16px; }
.old-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.old-list li { font-family: var(--font-display); font-size: 1.4rem; color: var(--muted); }
.new-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.new-list li { background: var(--sky-wash); border: 1px solid #c4e2ee; color: var(--navy-deep); border-radius: 10px; padding: 8px 14px; font-weight: 600; font-size: 0.97rem; }
.new-list li.unknown { background: #fff8e1; border-color: #f3dc8f; }
.menu-note { margin-top: 18px; color: var(--muted); font-size: 0.98rem; }

/* ---------- Beliefs ---------- */
.beliefs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: b; }
.belief { border-top: 3px solid var(--navy); padding-top: 20px; }
.belief:nth-child(2) { border-color: var(--sky); }
.belief:nth-child(3) { border-color: var(--orange-logo); }
.belief h3 { margin-bottom: 10px; }
.belief p { color: var(--muted); }

/* ---------- Programmes ---------- */
.programmes { background: var(--navy-deep); color: #e7f1f8; }
.programmes h2, .programmes h3 { color: #fff; }
.programmes .eyebrow { color: var(--yellow); }
.programmes .lede { color: #b9d2e3; }
.prog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.prog { background: #fff; color: var(--ink); border-radius: 18px; padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 18px; }
.prog h3 { color: var(--navy-deep); font-size: 1.65rem; }
.prog .tag { align-self: flex-start; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; background: var(--sky-wash); color: var(--navy); }
.prog .tag.deep { background: #fff3cf; color: #7a5800; }
.spec { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; font-size: 0.97rem; }
.spec dt { font-weight: 700; color: var(--muted); }
.spec dd { margin: 0; font-variant-numeric: tabular-nums; }
.prog ul.includes { margin: 0; padding-left: 20px; color: var(--muted); }
.prog ul.includes li { margin-bottom: 6px; }
.takeaway { background: var(--paper); border: 1px dashed var(--sky); border-radius: 12px; padding: 14px 16px; font-size: 0.97rem; }
.takeaway b { color: var(--navy-deep); }
.prog .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Case method ---------- */
.case-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.case-steps li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; counter-increment: s; }
.case-steps li::before { content: "0" counter(s); display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--sky); margin-bottom: 6px; }
.case-steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.case-steps p { font-size: 0.96rem; color: var(--muted); }

/* ---------- Parents ---------- */
.parents .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.parent-points { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.parent-points li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--yellow); border-radius: 12px; padding: 18px 20px; }
.parent-points b { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--navy-deep); margin-bottom: 4px; }
.parent-points span { color: var(--muted); font-size: 0.98rem; }

/* ---------- Enrol band ---------- */
.enrol-band { background: var(--sky-wash); border-top: 1px solid #c4e2ee; border-bottom: 1px solid #c4e2ee; text-align: left; }
.enrol-band .wrap { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 32px; align-items: center; }
.enrol-band .note { font-size: 0.9rem; color: var(--muted); margin-top: 12px; }
.enrol-box { background: #fff; border-radius: 16px; padding: 24px; border: 1px solid var(--line); display: grid; gap: 12px; }
.enrol-box .btn { justify-content: center; text-align: center; }
.placeholder-flag { font-size: 0.8rem; background: #fff3cf; color: #7a5800; border-radius: 6px; padding: 6px 10px; }

/* ---------- About page ---------- */
.about-hero .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.portrait {
  aspect-ratio: 4 / 5; border-radius: 20px; background: var(--sky-wash); border: 1px solid #c4e2ee;
  display: grid; place-items: center; text-align: center; position: relative; overflow: hidden;
}
.portrait .initials { font-family: var(--font-display); font-size: 5rem; font-weight: 700; color: var(--navy); line-height: 1; }
.portrait small { display: block; margin-top: 10px; color: var(--muted); font-size: 0.88rem; }
.portrait::after { content: ""; position: absolute; inset: 14px; border: 1px dashed var(--sky); border-radius: 12px; pointer-events: none; }
.portrait.photo { margin: 0; display: block; box-shadow: 0 22px 44px -26px rgba(13, 58, 95, .45); }
.portrait.photo img { width: 100%; height: 100%; object-fit: cover; }
.portrait.photo::after { border-color: rgba(255, 255, 255, .7); }
.contact-list a { word-break: break-word; }
.btn.wa { background: #1f8f4e; border-color: #1f8f4e; }
.btn.wa:hover { background: #17733e; border-color: #17733e; }
.paths .legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 6px; }
.paths .legend span { display: inline-flex; align-items: center; gap: 8px; }
.paths .legend i { display: inline-block; width: 26px; height: 0; border-top: 4px solid var(--orange-logo); }
.paths .legend i.re { border-top-style: dashed; }
.paths .legend i.no { border-top: 2px dashed #9fb3c4; }
.paths .journey { stroke-dasharray: 1; stroke-dashoffset: 0; animation: journey 2.4s ease-out both; }
@keyframes journey { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .paths .journey { animation: none; } }
.creds { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.creds li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; font-weight: 600; font-size: 0.93rem; color: var(--navy-deep); }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 28px; max-width: 760px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; border-left: 2px dashed var(--sky); }
.timeline li { position: relative; padding-left: 48px; }
.timeline li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); }
.timeline li.turn::before { border-color: var(--orange-logo); background: var(--orange-logo); }
.timeline .when { font-size: 0.85rem; font-weight: 700; color: var(--orange); letter-spacing: 0.06em; text-transform: uppercase; }
.timeline h3 { font-size: 1.3rem; margin: 2px 0 6px; }
.timeline p { color: var(--muted); }

.letter { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(26px, 4vw, 48px); max-width: 780px; }
.letter p + p { margin-top: 16px; }
.letter .sign { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy); margin-top: 24px; }

.wish-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.wish-list li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 22px 24px; position: relative; }
.wish-list li::before { content: "“"; position: absolute; top: -6px; left: 14px; font-family: var(--font-display); font-size: 3rem; color: var(--yellow); line-height: 1; }
.wish-list b { display: block; font-family: var(--font-display); font-size: 1.22rem; color: var(--navy-deep); margin: 10px 0 6px; line-height: 1.25; }
.wish-list span { color: var(--muted); font-size: 0.98rem; }

/* ---------- Footer ---------- */
.site-footer { background: #0b2c48; color: #b9d2e3; padding: 48px 0 32px; font-size: 0.95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-family: var(--font-display); color: #fff; font-size: 1.1rem; margin: 0 0 10px; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid #1d4567; padding-top: 20px; font-size: 0.85rem; }
.footer-logo { background: #fff; border-radius: 12px; padding: 10px; width: 150px; margin-bottom: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap, .about-hero .wrap, .parents .wrap, .enrol-band .wrap, .menu-compare, .prog-grid { grid-template-columns: 1fr; }
  .beliefs { grid-template-columns: 1fr; }
  .case-steps { grid-template-columns: repeat(2, 1fr); }
  .wish-list { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .portrait { max-width: 360px; }
}
@media (max-width: 620px) {
  .brand span { display: none; }
  .nav { gap: 12px; }
  .nav .hide-sm { display: none; }
  .case-steps { grid-template-columns: 1fr; }
}
