/* Horizon of Expectation — brand: orange #F29538, coral #EA6A4C, sun #FCD65A, grey #747474 */
:root {
  --bg: #F3F2EF;
  --paper: #FBFAF7;
  --ink: #2E2D2B;
  --soft: #55524E;
  --muted: #6A6865;
  --line: #E2DED7;
  --orange: #F29538;
  --coral: #EA6A4C;
  --sun: #FCD65A;
  --grey: #747474;
  --dark: #2F2E2C;
  --r: 28px;
  --wrap: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Inter', Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: 'Poppins', Arial, sans-serif; margin: 0; line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 600; }
h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 600; }
h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 40px); margin: 0 auto; }
.section { padding: 88px 0; position: relative; overflow: hidden; }
html, body { overflow-x: clip; }
.section.paper { background: var(--paper); }
.lede { font-size: 20px; color: var(--soft); max-width: 620px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 99px; z-index: 99; }

/* pills */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 7px 16px; border-radius: 99px; background: var(--dark); color: #FBFAF7; text-decoration: none; letter-spacing: 0.02em; width: fit-content; }
.pill.o { background: var(--orange); color: var(--ink); }
.pill.c { background: var(--coral); color: var(--ink); }
.pill.s { background: var(--sun); color: var(--ink); }
.pill.line { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
a.pill:hover { filter: brightness(0.95); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 16px 'Inter', Arial, sans-serif; padding: 14px 24px; border-radius: 99px; background: var(--ink); color: #fff; text-decoration: none; border: 0; cursor: pointer; }
.btn:hover { background: #000; }
.btn.o { background: var(--orange); color: var(--ink); }
.btn.o:hover { background: #ea8724; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.arrow { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid currentColor; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.arrow svg { width: 22px; height: 22px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(243, 242, 239, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.brand img { height: 60px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 9px 14px; border-radius: 99px; }
.nav a:hover, .nav a[aria-current="page"] { background: #E6E2DB; }
.nav .btn { padding: 10px 20px; font-size: 15px; margin-left: 8px; }
.nav .btn:hover { background: #ea8724; }
.menu-btn { display: none; background: none; border: 1.5px solid var(--ink); border-radius: 99px; padding: 8px 16px; font: 600 15px Inter, Arial, sans-serif; cursor: pointer; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 78px; background: var(--paper); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* hero */
.hero { padding: 56px 0 88px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--orange); }
.hero .lede { margin: 22px 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { position: relative; min-height: 520px; }
.hero-photo { position: absolute; inset: 0 0 0 70px; border-radius: 40px; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-luna { position: absolute; left: -10px; bottom: -20px; width: 300px; filter: drop-shadow(0 18px 24px rgba(0,0,0,0.18)); }
.tile { border-radius: var(--r); padding: 22px 24px; }
.tile.o { background: var(--orange); } .tile.s { background: var(--sun); } .tile.c { background: var(--coral); }
.tile.d { background: var(--dark); color: #F7F5F1; } .tile.w { background: var(--paper); border: 1.5px solid var(--line); }
.tile .num { font-family: Poppins, Arial, sans-serif; font-size: 40px; font-weight: 600; line-height: 1; }
.hero-art .tile { position: absolute; width: 190px; }
.hero-art .t1 { right: 22px; top: 22px; }
.hero-art .t2 { right: 22px; bottom: 22px; }
@media (max-width: 1180px) { .hero-luna { width: 230px; } .hero-art .t2 { bottom: auto; top: 160px; } }
.swoosh { position: absolute; pointer-events: none; z-index: 0; }
.hero .wrap, .section .wrap, .page-hero .wrap { position: relative; z-index: 1; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 420px; }
  .hero-photo { inset: 0 0 0 40px; }
  .hero-luna { width: 210px; }
  .hero-art .tile { width: 160px; padding: 16px; }
  .hero-art .t2 { bottom: auto; top: 150px; }
  .hero-art .tile .num { font-size: 30px; }
}

/* section heads */
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 44px; flex-wrap: wrap; }
.head .pill { margin-bottom: 18px; }

/* index / course list */
.index-list { border-top: 1.5px solid var(--ink); }
.index-row { display: grid; grid-template-columns: 60px 1.2fr 1.4fr auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.index-row:hover h3 { color: var(--coral); }
.index-row .n { font-family: Poppins, Arial, sans-serif; color: var(--muted); }
.index-row .arrow { width: 44px; height: 44px; }
@media (max-width: 700px) { .index-row { grid-template-columns: 40px 1fr auto; } .index-row .d { display: none; } }

/* course cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 14px; position: relative; text-decoration: none; min-height: 300px; }
.card.o { background: var(--orange); } .card.s { background: var(--sun); } .card.c { background: var(--coral); }
.card.d { background: var(--dark); color: #F7F5F1; } .card.w { background: var(--paper); border: 1.5px solid var(--line); }
.card .arrow { margin-top: auto; align-self: flex-end; }
.card p { font-size: 15.5px; }
a.card { transition: transform .2s ease; }
a.card:hover { transform: translateY(-4px); }
.photo-card { border-radius: var(--r); overflow: hidden; position: relative; min-height: 420px; display: block; text-decoration: none; color: #fff; background: var(--dark); }
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.photo-card:hover img { transform: scale(1.04); }
.photo-card .cap { position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(46,45,43,0.86); backdrop-filter: blur(6px); border-radius: 20px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.photo-card .cap .arrow { width: 42px; height: 42px; }
.course-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1000px) { .course-grid { grid-template-columns: repeat(3, 1fr); } .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .course-grid, .cards, .cards.two { grid-template-columns: 1fr; } .photo-card { min-height: 360px; } }

/* about split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.facts { display: grid; gap: 0; margin-top: 28px; }
.facts div { border-top: 1.5px solid var(--line); padding: 16px 0; display: grid; grid-template-columns: 150px 1fr; gap: 16px; }
.facts dt { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts dd { margin: 0; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stats .tile { min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.stats .tile .num { font-size: 52px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Luna band */
.luna-band { background: var(--sun); border-radius: 40px; padding: 48px; display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; overflow: hidden; }
.luna-band img { width: 300px; margin: -20px 0 -60px; }
.luna-band .tip { background: var(--paper); border-radius: 24px; padding: 22px 26px; margin-top: 20px; }
.luna-band .tip b { color: var(--coral); }
@media (max-width: 760px) { .luna-band { grid-template-columns: 1fr; padding: 32px; } .luna-band img { width: 220px; margin: 0 auto -50px; order: 2; } }

/* numbered steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--line); }
.steps > div { padding: 28px 26px 30px; border-bottom: 1.5px solid var(--line); }
.steps > div + div { border-left: 1.5px solid var(--line); }
.steps > div:nth-child(4) { border-left: 0; }
.steps .k { width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.steps p { color: var(--soft); font-size: 15.5px; margin-top: 8px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } .steps > div + div { border-left: 0; } }

/* partners */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.logos div { background: var(--paper); border-radius: 20px; height: 108px; display: grid; place-items: center; padding: 18px; }
.logos img { max-height: 58px; width: auto; max-width: 100%; object-fit: contain; filter: brightness(0) opacity(0.55); }
@media (max-width: 900px) { .logos { grid-template-columns: repeat(3, 1fr); } }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.price { border-radius: var(--r); padding: 32px; }
.price table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 16px; }
.price th, .price td { text-align: left; padding: 12px 0; border-top: 1px solid rgba(46,45,43,0.18); vertical-align: top; }
.price th { font-weight: 500; color: inherit; opacity: 0.8; width: 46%; }
.price td b { font-family: Poppins, Arial, sans-serif; font-size: 22px; font-weight: 600; }
.price.d th, .price.d td { border-color: rgba(255,255,255,0.18); }
@media (max-width: 760px) { .price-grid { grid-template-columns: 1fr; } }

/* page hero (inner pages) */
.page-hero { padding: 56px 0 64px; position: relative; overflow: hidden; }
.page-hero .grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.page-hero .poster { border-radius: 32px; overflow: hidden; aspect-ratio: 1 / 1; }
.page-hero .poster img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
@media (max-width: 860px) { .page-hero .grid { grid-template-columns: 1fr; } .page-hero .poster { max-width: 420px; } }

/* checklist */
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checks li { padding-left: 34px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%232E2D2B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-list { display: grid; gap: 14px; margin-top: 26px; }
.contact-list a, .contact-list div { display: flex; gap: 16px; align-items: center; text-decoration: none; background: var(--paper); border-radius: 20px; padding: 16px 20px; }
.contact-list .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; flex: none; }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
form.enquiry { background: var(--paper); border-radius: 32px; padding: 32px; display: grid; gap: 16px; }
form.enquiry label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
form.enquiry input, form.enquiry select, form.enquiry textarea { font: 16px Inter, Arial, sans-serif; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); width: 100%; }
form.enquiry input:focus, form.enquiry select:focus, form.enquiry textarea:focus { outline: none; border-color: var(--orange); }
form.enquiry .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form.enquiry .note { font-size: 13.5px; color: var(--muted); }
@media (max-width: 860px) { .contact-grid, form.enquiry .row { grid-template-columns: 1fr; } }

/* blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { background: var(--paper); border-radius: var(--r); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .2s ease; }
.post-card:hover { transform: translateY(-4px); }
.post-card .cover { aspect-ratio: 4 / 3; background: #E6E2DB; overflow: hidden; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card h3 { font-size: 20px; }
.post-card .ex { color: var(--soft); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .meta { font-size: 13.5px; color: var(--muted); margin-top: auto; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filters button, .filters a { font: 600 14px Inter, Arial, sans-serif; padding: 8px 18px; border-radius: 99px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; }
.filters button[aria-pressed="true"], .filters button:hover, .filters a:hover { background: var(--ink); color: #fff; }
.status { color: var(--muted); padding: 24px 0; }
.more { margin: 36px auto 0; display: flex; }
.skeleton { background: linear-gradient(90deg, #ECE9E4, #F6F4F0, #ECE9E4); background-size: 200% 100%; animation: sh 1.2s infinite; border-radius: var(--r); height: 380px; }
@keyframes sh { to { background-position: -200% 0; } }
@media (max-width: 960px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } }

/* article */
.article { width: min(760px, 100% - 40px); margin: 0 auto; padding: 48px 0 80px; }
.article h1 { font-size: clamp(34px, 5vw, 54px); margin: 16px 0 18px; }
.article .byline { color: var(--muted); font-size: 15px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.article .hero-img { border-radius: 28px; overflow: hidden; margin: 30px 0 36px; max-height: 460px; }
.article .hero-img img { width: 100%; height: 100%; object-fit: cover; max-height: 460px; }
.prose { font-size: 18.5px; line-height: 1.75; }
.prose h2 { font-size: 30px; margin: 40px 0 14px; }
.prose h3 { margin: 30px 0 10px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 24px; margin: 0 0 20px; }
.prose li { margin: 6px 0; }
.prose li p { margin: 0; }
.prose blockquote { margin: 28px 0; padding: 22px 26px; background: var(--sun); border-radius: 22px; font-weight: 500; }
.prose blockquote p { margin: 0; }
.prose a { color: var(--coral); }
.prose img { border-radius: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.like { margin-top: 28px; }
.like[aria-pressed="true"] { background: var(--coral); color: var(--ink); }
.cta-band { background: var(--dark); color: #F7F5F1; border-radius: 32px; padding: 34px; display: grid; grid-template-columns: 140px 1fr auto; gap: 26px; align-items: center; margin-top: 48px; }
.cta-band img { width: 140px; margin: -30px 0 -34px; }
@media (max-width: 700px) { .cta-band { grid-template-columns: 1fr; } .cta-band img { margin: 0; } }

/* footer */
footer { background: var(--dark); color: #D9D4CC; padding: 64px 0 32px; margin-top: 40px; position: relative; overflow: hidden; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; letter-spacing: 0; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--sun); }
footer .logo-box { background: var(--paper); border-radius: 20px; padding: 14px 18px; width: fit-content; margin-bottom: 18px; }
footer .logo-box img { height: 56px; width: auto; }
footer .social { display: flex; gap: 10px; margin-top: 18px; }
footer .social a { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid #6A6865; display: grid; place-items: center; }
footer .social a:hover { border-color: var(--sun); }
footer .social svg { width: 18px; height: 18px; fill: currentColor; }
footer .base { border-top: 1px solid #45433F; margin-top: 44px; padding-top: 22px; font-size: 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 860px) { footer .cols { grid-template-columns: 1fr 1fr; } }

/* reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
/* v2 tweaks */
.photo-card{min-height:0;display:flex;flex-direction:column}
.photo-card img{position:static;inset:auto;height:auto}
.photo-card:hover img{transform:none}
.photo-card .cap{position:static;margin:12px}
@media (max-width:640px){.photo-card{min-height:0}}
.logos{gap:16px}
.logos div{height:auto;min-height:160px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:22px 16px}
.logos img{max-height:80px;max-width:88%}
.logos span{font-size:13px;line-height:1.3;color:var(--muted);text-align:center;font-weight:500}
@media (max-width:900px){.logos div{min-height:130px}.logos img{max-height:60px}}
.cta-band{position:relative;overflow:visible;margin-top:110px}@media(min-width:701px){.cta-band{grid-template-columns:200px 1fr auto}}
.cta-band img{width:230px;align-self:end;margin:-130px 0 -34px -20px;filter:drop-shadow(0 14px 18px rgba(0,0,0,.25))}
@media(max-width:700px){.cta-band{margin-top:130px;grid-template-columns:1fr;text-align:center;justify-items:center}.cta-band img{width:190px;margin:-130px auto 0;justify-self:center}}

/* v3 logos */
@media (min-width:901px){.logos{grid-template-columns:repeat(5,1fr);gap:18px}.logos div{min-height:190px;padding:26px 18px}.logos img{max-height:100px;max-width:92%;width:auto}}
.logos img{filter:brightness(0) opacity(.72);transition:filter .25s}
.logos div:hover img{filter:none}

.enquiry .note.err{color:#C2410C}
