/* Visual language matched to the creator bio page: cream page, chocolate ink, brown accents, Heebo */
:root {
  --cream: #FFF6E8;
  --ink: #292820;
  --olive: #4A3226;
  --brown: #A0613A;
  --terra: #9C4A2F;
  --line: #E6DCCB;
  --soft: #F3E7D6;
  --text-2: #3E332C;
  --muted: #5A4A3F;
  --muted-2: #5E4D42;
  --ok: #4F7A4A;
  --wait: #A8691E;
  --max: 1180px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: var(--cream); color: var(--ink); font-family: Heebo, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
p { line-height: 1.8; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--brown); outline-offset: 4px; }
.wrap { max-width: var(--max); margin: auto; padding: 0 30px; }

/* header */
header.top { position: sticky; top: 0; z-index: 10; background: rgba(255,246,232,.95); backdrop-filter: blur(6px); padding: 20px 6%; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { font-size: 23px; font-weight: 800; }
.brand small { display: block; font-size: 10px; font-weight: 500; letter-spacing: 3px; color: var(--muted); }
.nav { display: flex; gap: 30px; font-size: 14px; align-items: center; }
.nav a:hover { color: var(--terra); }
.lang { background: transparent; border: 0; border-bottom: 1px solid; padding: 0 0 3px; font: inherit; font-size: 14px; cursor: pointer; color: var(--ink); }

/* hero */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 70px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.eyebrow { font-size: 12px; letter-spacing: 2px; color: var(--brown); font-weight: 600; text-transform: uppercase; }
.hero h1 { font-size: clamp(36px, 4vw, 56px); line-height: 1.12; letter-spacing: -2px; margin: 18px 0; font-weight: 900; color: var(--olive); }
.hero h1 span { display: block; font-weight: 400; color: var(--ink); font-size: .62em; letter-spacing: -1px; line-height: 1.3; margin-top: 8px; }
.intro { font-size: 17px; line-height: 1.9; max-width: 520px; color: var(--text-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; background: var(--olive); color: #fff; border: 1px solid var(--olive); border-radius: 4px; font-size: 14px; font-weight: 700; }
.btn.secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn:hover { filter: brightness(1.1); }

/* stats as "tool" blocks */
.stats { background: var(--soft); border-radius: 8px; padding: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; }
.stat { border-top: 1px solid #DCCBB4; padding-top: 18px; }
.stat b { display: block; font-size: 44px; font-weight: 900; color: var(--olive); line-height: 1; letter-spacing: -1px; }
.stat b bdi { direction: ltr; unicode-bidi: isolate; }
.stat span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.5; }

.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px; text-align: center; color: var(--muted-2); font-size: 13px; word-spacing: 6px; }

/* sections */
.section { padding-top: 60px; padding-bottom: 60px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 28px; }
h2 { font-size: 36px; letter-spacing: -1px; margin: 7px 0; font-weight: 800; }
.section-head p { margin: 0; color: var(--muted-2); font-size: 14px; max-width: 46ch; }

/* project cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 24px; }
.grid > * { min-width: 0; }
.card { display: flex; flex-direction: column; gap: 6px; border-top: 3px solid var(--c, var(--brown)); padding-top: 18px; }
.card .tag, .card .num { font-size: 11px; color: var(--brown); font-weight: 600; letter-spacing: 1px; }
.card h3 { font-size: 21px; line-height: 1.35; margin: 2px 0 4px; font-weight: 800; }
.card:hover h3 { color: var(--terra); }
.card p { font-size: 15px; color: var(--muted); line-height: 1.75; flex: 1; }
.card .more { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.card.featured { grid-column: 1 / -1; background: var(--soft); border-radius: 8px; border-top: 0; padding: 40px 45px; }
.card.featured h3 { font-size: 30px; letter-spacing: -.5px; }
.card.featured p { font-size: 16.5px; max-width: 75ch; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.chip { font-size: 11.5px; border: 1px solid #CDB9A3; border-radius: 30px; padding: 3px 11px; color: var(--muted); direction: ltr; unicode-bidi: isolate; }
.mini { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 10px 0 8px; }
.mini span { font-size: 13px; padding: 6px 13px; border-radius: 30px; border: 1px solid #DCCFBF; color: var(--muted); background: var(--cream); }
.mini span.on { background: var(--olive); color: #fff; border-color: var(--olive); }
.mini em { font-style: normal; color: #8C7A6C; font-size: 13px; }

/* course */
.course-box { background: var(--soft); border-radius: 8px; padding: 45px; }
.course-box .intro { max-width: 80ch; font-size: 16px; }
.course-box small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 8px; }
.course-box .grid { margin-top: 30px; }
.badge { display: inline-block; width: fit-content; font-size: 11px; font-weight: 700; color: var(--terra); border: 1px solid #D9B7A6; border-radius: 30px; padding: 2px 10px; }

/* contact (newsletter style) */
.contact { text-align: center; background: var(--olive); color: #F5F1E7; border-radius: 8px; padding: 54px 25px; }
.contact .eyebrow { color: #E8C9A8; }
.contact p { color: #E6D6C2; font-size: 15px; max-width: 54ch; margin: 10px auto 24px; }
.contact .btn { background: #EAE3D5; color: var(--olive); border-color: #EAE3D5; }
footer.bottom { display: flex; justify-content: space-between; gap: 15px; padding: 32px 0; font-size: 12px; color: var(--muted); }

/* project page */
.p-hero { padding-top: 56px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.p-hero .back { font-size: 13px; color: var(--muted); border-bottom: 1px solid; padding-bottom: 2px; }
.p-hero h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.12; letter-spacing: -2px; margin: 22px 0 14px; font-weight: 900; color: var(--olive); max-width: 20ch; }
.p-hero .line { font-size: 18px; line-height: 1.85; color: var(--text-2); max-width: 62ch; }
.p-hero .chips { margin-top: 18px; }
.p-body { display: grid; gap: 0; padding-top: 10px; padding-bottom: 40px; }
.p-body > * { min-width: 0; }
.panel { padding: 34px 0; border-bottom: 1px solid var(--line); }
.panel h2 { font-size: 12px; letter-spacing: 2px; color: var(--brown); font-weight: 600; margin: 0 0 12px; text-transform: uppercase; }
.panel p { font-size: 17px; line-height: 1.9; color: var(--text-2); }
.panel ul { padding-inline-start: 20px; display: grid; gap: 8px; color: var(--text-2); line-height: 1.8; font-size: 16px; }
.panel li::marker { color: var(--brown); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; border-bottom: 1px solid var(--line); }
.two > * { min-width: 0; }
.two .panel { border-bottom: 0; }
.subs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 50px; }
.sub h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; color: var(--ink); letter-spacing: -.3px; }
.panel.quote { background: var(--soft); border-radius: 8px; padding: 30px 34px; border-bottom: 0; }
.panel.quote li { color: var(--ink); font-weight: 600; }
.two .panel.quote { margin: 30px 0; }

/* flow */
.flow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.step { border: 1px solid #DCCFBF; border-radius: 30px; padding: 9px 18px; font-size: 14px; color: var(--muted); background: var(--cream); }
.step.auto { background: var(--olive); color: #fff; border-color: var(--olive); font-weight: 600; }
.arrow { color: #8C7A6C; }
.legend { margin-top: 14px; font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.legend i { width: 12px; height: 12px; border-radius: 50%; background: var(--olive); display: inline-block; }

/* category tiles */
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.tiles div { border-top: 1px solid #DCCBB4; padding-top: 16px; }
.tiles b { display: block; font-size: 40px; font-weight: 900; color: var(--olive); line-height: 1; }
.tiles span { font-size: 14px; color: var(--muted); }

/* mock */
.mock { border: 1px solid var(--line); border-radius: 7px; overflow: hidden; font-size: 14px; background: #fff; }
.mock .mbar { background: var(--soft); padding: 9px 14px; display: flex; gap: 6px; align-items: center; border-bottom: 1px solid var(--line); }
.mock .mbar i { width: 9px; height: 9px; border-radius: 50%; background: #DCCBB4; display: inline-block; }
.mock .mbar span { margin-inline-start: 8px; color: var(--muted); font-size: 12.5px; }
.mock .demo { margin-inline-start: auto; color: var(--terra); border: 1px solid #D9B7A6; border-radius: 30px; padding: 1px 9px; font-size: 11px; font-weight: 700; }
.mock table { width: 100%; border-collapse: collapse; }
.mock th, .mock td { padding: 10px 14px; text-align: start; border-bottom: 1px solid #F3ECE1; white-space: nowrap; }
.mock th { color: var(--muted); font-weight: 600; font-size: 12px; background: #FFFCF6; }
.mock .ok { color: var(--ok); font-weight: 700; }
.mock .wait { color: var(--wait); font-weight: 700; }
.mock .scroll { overflow-x: auto; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.kpis div { padding: 16px 18px; border-inline-end: 1px solid #F3ECE1; }
.kpis span { display: block; color: var(--muted); font-size: 12px; }
.kpis b { font-size: 28px; font-weight: 900; color: var(--olive); }
.kpis b bdi { direction: ltr; unicode-bidi: isolate; }

.p-nav { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0 40px; flex-wrap: wrap; font-size: 14px; }
.p-nav a { border-bottom: 1px solid; padding-bottom: 2px; font-weight: 600; }
.updated { color: var(--muted); font-size: 12px; padding-top: 18px; }

@media (max-width: 760px) {
  header.top { padding: 16px 22px; }
  .brand { font-size: 20px; }
  .nav a.hide-m { display: none; }
  .wrap { padding: 0 22px; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 34px; padding-bottom: 36px; }
  .hero h1 { font-size: 34px; letter-spacing: -1px; line-height: 1.15; }
  .hero h1 span { font-size: .7em; letter-spacing: -.5px; }
  .intro { font-size: 15.5px; }
  .stats { padding: 24px; gap: 20px 16px; }
  .stat b { font-size: 36px; }
  .section { padding-top: 40px; padding-bottom: 40px; }
  .section-head { flex-direction: column; align-items: start; gap: 8px; }
  h2 { font-size: 30px; }
  .grid { grid-template-columns: 1fr; gap: 28px; }
  .card.featured { padding: 26px; }
  .card.featured h3 { font-size: 24px; }
  .course-box { padding: 26px; }
  .two, .subs { grid-template-columns: 1fr; }
  .two .panel + .panel { padding-top: 0; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .mock th, .mock td { white-space: normal; padding: 8px; }
  .p-hero h1 { font-size: 30px; letter-spacing: -.5px; }
  .panel.quote { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* about - personal story */
.about { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; padding-top: 50px; padding-bottom: 50px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-body p { font-size: 17px; line-height: 1.95; color: var(--text-2); margin-bottom: 16px; }
.about-body .closing { font-weight: 800; color: var(--olive); font-size: 19px; margin: 6px 0 0; }

/* hover highlight - every block lights up when pointed at */
.card, .stat, .sub, .step, .tiles div, .panel.quote, .mock, .kpis div, .about-body p {
  transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease, color .25s ease;
}
.card { border-radius: 8px; padding: 18px 18px 16px; margin: -0px; }
.stat { padding: 18px 10px 4px; }
.sub { border-radius: 8px; padding: 14px; margin: -14px; }
.tiles div { padding: 16px 10px 10px; border-radius: 6px; }
.about-body p { border-radius: 6px; padding: 4px 8px; margin-inline: -8px; }
.chip { transition: background-color .2s, color .2s; }
@media (hover: hover) {
  .card:hover, .card:focus-visible { background: #FBEBD7; box-shadow: 0 0 0 2px var(--brown), 0 14px 32px rgba(74,50,38,.14); transform: translateY(-4px); animation: glow 1.4s ease-in-out infinite; }
  .card.featured:hover { background: #F1DFC7; }
  .stat:hover { background: rgba(255,255,255,.55); box-shadow: 0 0 0 2px var(--brown); border-radius: 6px; transform: translateY(-2px); }
  .sub:hover { background: #FBEBD7; box-shadow: 0 0 0 2px var(--brown); animation: glow 1.4s ease-in-out infinite; }
  .step:hover { background: var(--brown); color: #fff; border-color: var(--brown); transform: translateY(-2px); }
  .tiles div:hover { background: var(--soft); box-shadow: 0 0 0 2px var(--brown); }
  .panel.quote:hover, .mock:hover { box-shadow: 0 0 0 2px var(--brown), 0 12px 28px rgba(74,50,38,.12); }
  .kpis div:hover { background: #FBEBD7; }
  .about-body p:hover { background: #FBEBD7; }
  .card:hover .chip { border-color: var(--brown); color: var(--olive); }
}
@keyframes glow {
  0%, 100% { box-shadow: 0 0 0 2px var(--brown), 0 14px 32px rgba(74,50,38,.14); }
  50% { box-shadow: 0 0 0 4px rgba(184,117,77,.45), 0 14px 32px rgba(74,50,38,.18); }
}
@media (max-width: 760px) { .about { grid-template-columns: 1fr; gap: 10px; padding-top: 34px; padding-bottom: 34px; } }
@media (prefers-reduced-motion: reduce) { .card:hover, .sub:hover { animation: none; transform: none; } }

/* bolder text */
.chip { font-weight: 600; font-size: 12px; color: var(--olive); }
.btn { font-weight: 800; font-size: 15px; }
.card p, .intro, .about-body p, .panel p, .panel ul, .p-hero .line, .section-head p { font-weight: 500; }
.mini span, .step { font-weight: 600; }

/* pulsing CTA + light sweep (same feel as the creator bio page) */
.btn.pulse { position: relative; overflow: hidden; animation: followPulse 2.4s ease-in-out infinite; }
.btn.pulse::after, .card.featured::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); animation: followShine 3.6s ease-in-out infinite; pointer-events: none; }
.btn.secondary { animation: chipGlow 2.4s ease-in-out infinite; }
.card.featured { position: relative; overflow: hidden; animation: boxPulse 2.8s ease-in-out infinite; }
.card.featured::after { background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); animation-duration: 4.2s; }
@keyframes followPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(156,74,47,.55); transform: scale(1); } 60% { box-shadow: 0 0 0 12px rgba(156,74,47,0); transform: scale(1.04); } }
@keyframes followShine { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
@keyframes chipGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(156,74,47,0); } 50% { box-shadow: 0 0 0 6px rgba(156,74,47,.18); } }
@keyframes boxPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(156,74,47,.35); } 60% { box-shadow: 0 0 0 10px rgba(156,74,47,0); } }

/* touch screens: tap + glow once when scrolled into view */
.lit { animation: litOnce 1.6s ease-out 1; }
.card.featured.lit { animation: litOnce 1.6s ease-out 1, boxPulse 2.8s ease-in-out 1.6s infinite; }
@keyframes litOnce { 0% { background-color: #FBEBD7; box-shadow: 0 0 0 0 rgba(156,74,47,.5); } 40% { background-color: #FBEBD7; box-shadow: 0 0 0 6px rgba(156,74,47,.25); } 100% { box-shadow: 0 0 0 0 rgba(156,74,47,0); } }
.card:active, .sub:active, .stat:active { background: #FBEBD7; box-shadow: 0 0 0 2px var(--brown); }
@media (prefers-reduced-motion: reduce) { .btn.pulse, .btn.secondary, .card.featured, .lit { animation: none; } .btn.pulse::after, .card.featured::after { display: none; } }
@media (min-width: 761px) { .grid > .card:last-child:nth-child(3n+2) { grid-column: 1 / -1; } .grid > .card:last-child:nth-child(3n+2) p { max-width: 75ch; } }

/* contact - inviting, compact */
.contact-box { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; background: var(--soft); border-radius: 8px; padding: 40px 45px; }
.contact-main h2 { color: var(--olive); font-size: 40px; font-weight: 900; }
.contact-main p { color: var(--text-2); font-weight: 500; margin: 6px 0 22px; max-width: 42ch; }
.contact-main small { display: block; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.contact-options { display: grid; gap: 12px; }
.option { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; transition: background-color .25s, box-shadow .25s, transform .25s; }
.option svg { flex: 0 0 40px; width: 40px; height: 40px; stroke: var(--olive); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.option h3 { font-size: 17px; font-weight: 800; margin-bottom: 2px; }
.option p { font-size: 14px; color: var(--muted); font-weight: 500; line-height: 1.6; }
@media (hover: hover) { .option:hover { background: #FBEBD7; box-shadow: 0 0 0 2px var(--brown), 0 10px 24px rgba(74,50,38,.12); transform: translateY(-3px); } }
.option:active { background: #FBEBD7; box-shadow: 0 0 0 2px var(--brown); }
@media (max-width: 760px) { .contact-box { grid-template-columns: 1fr; padding: 28px 22px; gap: 24px; } .contact-main h2 { font-size: 32px; } }

/* career strip */
.career-strip { padding-top: 34px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.career-strip ol { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.career-strip li { padding: 12px 14px; border-inline-start: 1px solid var(--line); border-radius: 6px; transition: background-color .25s, box-shadow .25s; }
.career-strip li:first-child { border-inline-start: 0; }
.career-strip time { display: block; font-size: 12px; color: var(--brown); font-weight: 700; }
.career-strip b { display: block; font-size: 17px; font-weight: 800; color: var(--olive); margin: 2px 0; }
.career-strip span { font-size: 13px; color: var(--muted); font-weight: 500; }
@media (hover: hover) { .career-strip li:hover { background: #FBEBD7; box-shadow: 0 0 0 2px var(--brown); } }
@media (max-width: 760px) { .career-strip ol { grid-template-columns: repeat(2, 1fr); gap: 6px; } .career-strip li { border-inline-start: 0; border-top: 1px solid var(--line); } }

/* direct contact links */
.direct { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.direct a { display: inline-flex; gap: 8px; align-items: baseline; background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 7px 14px; font-size: 14px; font-weight: 700; color: var(--olive); transition: background-color .2s, box-shadow .2s; }
.direct a span { font-size: 11px; font-weight: 600; color: var(--brown); letter-spacing: .5px; }
@media (hover: hover) { .direct a:hover { background: #FBEBD7; box-shadow: 0 0 0 2px var(--brown); } }

/* phone + whatsapp in one pill */
.phone-pill { display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 30px; overflow: hidden; }
.direct .phone-pill a { border: 0; border-radius: 0; background: transparent; }
.direct .phone-pill a.wa { padding: 6px 12px; border-inline-start: 1px solid var(--line); }
.phone-pill a.wa svg { width: 18px; height: 18px; stroke: #2E8B57; stroke-width: 1.7; fill: none; stroke-linejoin: round; display: block; }
@media (hover: hover) { .phone-pill:hover { box-shadow: 0 0 0 2px var(--brown); } .direct .phone-pill a:hover { box-shadow: none; } }

/* mobile: "how it works" becomes a numbered vertical timeline */
@media (max-width: 760px) {
  .flow { flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 0; position: relative; counter-reset: st; }
  .flow::before { content: ""; position: absolute; inset-inline-start: 13px; top: 14px; bottom: 14px; width: 2px; background: var(--line); }
  .flow .arrow { display: none; }
  .flow .step { position: relative; counter-increment: st; margin: 0 0 10px; margin-inline-start: 40px; border-radius: 10px; padding: 11px 14px; text-align: start; font-size: 15px; }
  .flow .step:last-child { margin-bottom: 0; }
  .flow .step::before { content: counter(st); position: absolute; inset-inline-start: -40px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--cream); border: 2px solid #DCCFBF; color: var(--muted); }
  .flow .step.auto::before { background: var(--olive); border-color: var(--olive); color: #fff; }
  .card .mini { display: none; }
}
