/* Layout: sticky glass header with scrollspy; hero with the C.it. mark on a soft tile; bento service cards; one dark MentorIt band with a concept preview; quiet about and contact. */
:root {
  --bg: #F7F6F9;
  --surface: #FFFFFF;
  --fg: #221B2D;
  --muted: #5F586B;
  --line: #E3DFEA;
  --green: #45C3A0;
  --green-hover: #38B591;
  --green-text: #1D7A62;
  --green-soft: #E3F6F0;
  --on-green: #0C2B22;
  --purple: #7743B0;
  --purple-soft: #EFE9F7;
  --band: #2B1B47;
  --band-fg: #F4EFFA;
  --band-muted: #CFC4E0;
  --band-card: rgba(255, 255, 255, 0.08);
  --band-line: rgba(255, 255, 255, 0.18);
  --band-green: #5BD3B0;
  --shadow: 0 1px 2px rgba(34, 27, 45, 0.06), 0 12px 32px -12px rgba(34, 27, 45, 0.18);
  --logo: url("../img/logo.png");
  --font-display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141019; --surface: #1E1827; --fg: #F2EFF7; --muted: #ABA3B8; --line: #352E42;
    --green: #5BD3B0; --green-hover: #7FE0C3; --green-text: #5BD3B0; --green-soft: #12302A; --on-green: #08241C;
    --purple: #B095D4; --purple-soft: #271E36; --band: #231838; --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px -12px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141019; --surface: #1E1827; --fg: #F2EFF7; --muted: #ABA3B8; --line: #352E42;
  --green: #5BD3B0; --green-hover: #7FE0C3; --green-text: #5BD3B0; --green-soft: #12302A; --on-green: #08241C;
  --purple: #B095D4; --purple-soft: #271E36; --band: #231838; --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px -12px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; padding-inline: 1.25rem; }
.wrap { max-width: 68rem; margin-inline: auto; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.06; margin: 0; text-wrap: balance; letter-spacing: -0.025em; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--surface); color: var(--fg); padding: 0.6rem 1rem; border-radius: 0 0 8px 0; z-index: 30; }
.skip:focus { left: 0; }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; container-type: scroll-state; container-name: top; margin-inline: -1.25rem; padding-inline: 1.25rem; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.7rem; max-width: 68rem; margin-inline: auto; }
.glass { position: absolute; inset: 0; background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s; }
.bar { position: relative; }
@container top scroll-state(stuck: top) { .glass { border-color: var(--line); box-shadow: 0 8px 24px -16px rgba(34, 27, 45, 0.35); } }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
.mark { width: 2.25rem; aspect-ratio: 475 / 414; background: var(--logo) center / contain no-repeat; flex: none; }
nav.links { display: flex; gap: 0.3rem; scroll-target-group: auto; }
nav.links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.95rem; padding: 0.65rem 0.95rem; border-radius: 999px; }
nav.links a:hover { color: var(--fg); background: var(--purple-soft); }
nav.links a:is(:target-current, .target-current) { color: var(--purple); background: var(--purple-soft); font-weight: 600; }
.nav-cta { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.8rem 1.5rem; border-radius: 999px; font-weight: 600; text-decoration: none; font-size: 1rem; border: 2px solid transparent; }
.btn.primary { background: var(--green); color: var(--on-green); }
.btn.primary:hover { background: var(--green-hover); }
.btn.ghost { border-color: var(--purple); color: var(--purple); }
.btn.ghost:hover { background: var(--purple-soft); }
.btn.small { padding: 0.5rem 1.2rem; font-size: 0.95rem; }
@media (prefers-reduced-motion: no-preference) { .btn { transition: background 0.15s, transform 0.15s; } .btn:hover { transform: translateY(-1px); } }

/* Hero */
.hero { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; padding-block: 3.5rem 5rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; color: var(--green-text); background: var(--green-soft); padding: 0.35rem 0.85rem; border-radius: 999px; margin-bottom: 1.4rem; }
.eyebrow::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--green); }
.hero h1 { font-size: clamp(2.6rem, 1rem + 6vw, 5rem); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--purple); background: linear-gradient(transparent 68%, color-mix(in srgb, var(--green) 45%, transparent) 68%); padding-inline: 0.05em; }
.lead { margin-top: 1.4rem; max-width: 34rem; color: var(--muted); font-size: 1.2rem; }
.cta-row { display: flex; gap: 0.75rem; margin-top: 2rem; flex-wrap: wrap; }
.stack { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 2.2rem 0 0; padding: 0; list-style: none; }
.stack li { font-size: 0.85rem; font-weight: 500; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0.25rem 0.8rem; background: var(--surface); }
.visual { position: relative; aspect-ratio: 1; border-radius: 2rem; background: radial-gradient(circle at 25% 20%, var(--green-soft), transparent 60%), radial-gradient(circle at 80% 85%, var(--purple-soft), transparent 60%), var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; }
.visual .big { width: 62%; aspect-ratio: 475 / 414; background: var(--logo) center / contain no-repeat; }
.chip { position: absolute; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 999px; padding: 0.4rem 0.95rem; font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 0.45rem; }
.chip::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--green); }
.chip.c1 { top: 9%; right: -3%; } .chip.c2 { bottom: 14%; left: -4%; } .chip.c2::before { background: var(--purple); }
.chip.c3 { bottom: -3%; right: 10%; }

section { padding-block: 4rem; scroll-margin-top: 4.5rem; }
.kicker { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-text); margin-bottom: 0.8rem; }
.sec-head { max-width: 40rem; margin-bottom: 2.5rem; }
.sec-head h2 { font-size: clamp(2rem, 1rem + 3.6vw, 3.2rem); font-weight: 700; }
.sec-head p { margin-top: 1rem; color: var(--muted); }

/* Services */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.services li { background: var(--surface); border: 1px solid var(--line); border-radius: 1.4rem; padding: 1.6rem; display: flex; flex-direction: column; gap: 0.7rem; min-width: 0; }
.ico { width: 2.9rem; height: 2.9rem; border-radius: 0.9rem; background: var(--purple-soft); color: var(--purple); display: grid; place-items: center; }
.ico svg { width: 1.45rem; height: 1.45rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.services h3 { font-size: 1.3rem; font-weight: 700; margin-top: 0.4rem; }
.services p { color: var(--muted); font-size: 1rem; }
@media (prefers-reduced-motion: no-preference) { .services li { transition: transform 0.2s, box-shadow 0.2s; } .services li:hover { transform: translateY(-3px); box-shadow: var(--shadow); } }
.draft-note { margin-top: 1.2rem; font-size: 0.9rem; color: var(--muted); }

/* MentorIt */
.mentorit { background: var(--band); color: var(--band-fg); border-radius: 2rem; padding: clamp(1.5rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: start; }
.badge { display: inline-block; background: var(--band-green); color: #0C2B22; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.35rem 0.9rem; border-radius: 999px; margin-bottom: 1.2rem; }
.mentorit h2 { font-size: clamp(2.2rem, 1rem + 4.5vw, 3.8rem); font-weight: 800; }
.mentorit h2 span { color: var(--band-green); }
.mentorit :focus-visible { outline-color: var(--band-green); }
.price :focus-visible { outline-color: var(--purple); }
.mentorit .desc { margin-top: 1.2rem; color: var(--band-muted); max-width: 32rem; font-size: 1.1rem; }
.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0.9rem; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.9rem; align-items: start; }
.steps li::before { counter-increment: s; content: counter(s); width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1.5px solid var(--band-green); color: var(--band-green); display: grid; place-items: center; font-weight: 600; font-family: var(--font-display); }
.steps b { display: block; font-weight: 600; }
.steps span { color: var(--band-muted); font-size: 0.98rem; }
.side { display: grid; gap: 1rem; min-width: 0; }
.concept { background: var(--band-card); border: 1px solid var(--band-line); border-radius: 1.4rem; padding: 1.3rem; }
.concept .cap { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--band-muted); margin-bottom: 0.9rem; }
.pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0.6rem; align-items: center; }
.pair .who { background: rgba(255, 255, 255, 0.07); border-radius: 0.9rem; padding: 0.75rem 0.85rem; min-width: 0; }
.pair .who b { display: block; font-size: 0.78rem; font-weight: 600; color: var(--band-muted); margin-bottom: 0.3rem; }
.pair .who span { display: block; font-size: 0.95rem; }
.pair .who span em { font-style: normal; color: var(--band-muted); }
.pair .x { color: var(--band-green); font-size: 1.4rem; }
.price { background: var(--surface); color: var(--fg); border-radius: 1.4rem; padding: 1.5rem; }
.price .label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.price .amount { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--purple); margin: 0.3rem 0; line-height: 1.1; }
.price p:not(.label):not(.amount) { color: var(--muted); font-size: 0.97rem; margin-bottom: 1.1rem; }

/* About and contact */
.two { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3rem; }
.two h2 { font-size: clamp(2rem, 1rem + 3.6vw, 3.2rem); font-weight: 700; }
.two p { color: var(--muted); }
.two p + p { margin-top: 0.9rem; }
.contact { border-top: 1px solid var(--line); }
dl.rows { margin: 0; display: grid; gap: 0.2rem; }
dl.rows div { display: grid; grid-template-columns: 8rem 1fr; gap: 0.8rem; padding-block: 0.9rem; border-bottom: 1px solid var(--line); }
dl.rows dt { color: var(--muted); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding-top: 0.2rem; }
dl.rows dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.todo { background: var(--purple-soft); color: var(--purple); padding: 0.15rem 0.7rem; border-radius: 0.5rem; font-size: 0.95rem; }
footer { padding-block: 2rem 2.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 0.8rem; flex-wrap: wrap; color: var(--muted); font-size: 0.9rem; }

/* Scroll reveal: starts partly visible so the page reads at rest */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
    @keyframes rise { from { opacity: 0.35; translate: 0 1.5rem; } to { opacity: 1; translate: 0 0; } }
  }
}

@media (max-width: 800px) {
  .hero, .mentorit, .two { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding-block: 1.5rem 3rem; }
  .visual { max-width: 20rem; width: 100%; }
  .chip.c1 { right: 0; } .chip.c2 { left: 0; }
  .services { grid-template-columns: 1fr; }
  nav.links { display: none; }
  .nav-cta { display: inline-flex; }
  section { padding-block: 2.8rem; }
  dl.rows div { grid-template-columns: 1fr; gap: 0.2rem; }
}
@media (min-width: 801px) and (max-width: 980px) { .services { grid-template-columns: repeat(2, 1fr); } }
