@import "tailwindcss";

:root {
  --navy: #062a4b;
  --navy-deep: #031d35;
  --blue: #124b78;
  --gold: #d5ad55;
  --gold-light: #f3d88b;
  --cream: #f8f4ea;
  --paper: #fffdf8;
  --ink: #102a3f;
  --muted: #607080;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; }
img { max-width: 100%; }
main { min-height: 100vh; overflow: hidden; }

.topbar {
  height: 88px; padding: 0 clamp(24px, 6vw, 96px); display: flex; align-items: center; justify-content: space-between;
  position: absolute; inset: 0 0 auto; z-index: 10; color: white; border-bottom: 1px solid rgba(255,255,255,.14);
}
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.brand img { width: 48px; height: 48px; flex: 0 0 48px; display: block; max-width: 48px; object-fit: contain; }
.brandLogo { clip-path: none; }
.brand span { display: flex; flex-direction: column; }
.brand strong { font-family: Georgia, "Times New Roman", serif; letter-spacing: .09em; font-size: 19px; color: var(--gold-light); }
.brand small { margin-top: 3px; font-size: 9px; font-weight: 700; letter-spacing: .24em; }
.topbar nav { display: flex; gap: 34px; }
.topbar nav a { color: rgba(255,255,255,.82); text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.topbar nav a:hover { color: var(--gold-light); }

.hero {
  min-height: 760px; padding: 150px clamp(24px, 8vw, 130px) 70px; position: relative; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(340px,.95fr);
  align-items: end; background: radial-gradient(circle at 78% 40%, #174e76 0, var(--navy) 36%, var(--navy-deep) 80%); color: white;
}
.hero::before { content: ""; position: absolute; width: 650px; height: 650px; border: 1px solid rgba(213,173,85,.18); border-radius: 50%; right: -180px; top: 35px; }
.heroGlow { position: absolute; width: 480px; height: 480px; border-radius: 50%; right: 2%; bottom: 6%; background: rgba(213,173,85,.08); filter: blur(2px); }
.heroCopy { z-index: 2; align-self: center; padding-bottom: 50px; max-width: 700px; }
.eyebrow { margin: 0 0 18px; font-size: 11px; font-weight: 800; letter-spacing: .22em; color: var(--gold-light); }
.eyebrow.dark { color: #a67824; }
.hero h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(64px, 7vw, 108px); line-height: .9; letter-spacing: -.04em; }
.hero h1 em { color: var(--gold-light); font-weight: 400; }
.heroLead { max-width: 610px; margin: 30px 0 36px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(19px,2vw,26px); line-height: 1.45; color: rgba(255,255,255,.84); }
.primaryButton,.secondaryButton { display: inline-flex; align-items: center; gap: 20px; text-decoration: none; text-transform: uppercase; letter-spacing: .11em; font-size: 10px; font-weight: 800; border-radius: 3px; }
.primaryButton { padding: 17px 22px; background: var(--gold); color: var(--navy-deep); box-shadow: 0 12px 32px rgba(0,0,0,.18); }
.primaryButton span { font-size: 16px; }
.portraitWrap { height: 610px; position: relative; align-self: end; display: flex; justify-content: flex-end; align-items: end; z-index: 2; overflow: hidden; margin-right: clamp(-130px,-8vw,-70px); }
.portraitHalo { position: absolute; width: 430px; height: 430px; border: 1px solid rgba(243,216,139,.28); border-radius: 50%; bottom: 78px; }
.portrait { position: relative; z-index: 2; max-height: 570px; width: auto; object-fit: contain; transform: translateY(22px); border: 0; border-radius: 0; box-shadow: none; background: transparent; filter: drop-shadow(0 20px 22px rgba(0,0,0,.24)); }
.portraitTag { display: none; }
.portraitTag span { font-size: 9px; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .14em; }
.portraitTag strong { margin: 4px 0; font-family: Georgia, "Times New Roman", serif; font-size: 22px; color: var(--gold-light); }
.portraitTag small { font-size: 9px; letter-spacing: .12em; }

.stats { margin: -24px auto 0; width: min(1140px, calc(100% - 48px)); position: relative; z-index: 4; display: grid; grid-template-columns: repeat(3,1fr); background: var(--paper); box-shadow: 0 18px 55px rgba(17,43,63,.13); border-bottom: 3px solid var(--gold); }
.stats article { min-height: 145px; padding: 32px 38px; display: flex; align-items: center; gap: 20px; }
.stats article + article { border-left: 1px solid #e7dece; }
.stats strong { font: 400 48px/1 Georgia,serif; color: #a67824; }
.stats span { max-width: 180px; font-size: 12px; line-height: 1.55; color: var(--muted); }

.section { padding: 110px clamp(24px, 8vw, 130px); }
.sectionTitle h2,.journeyCopy h2,.qrSection h2 { margin: 0; font: 400 clamp(40px,5vw,70px)/1.05 Georgia,serif; color: var(--navy); letter-spacing: -.03em; }
.sectionTitle.centered { text-align: center; max-width: 750px; margin: 0 auto 55px; }
.sectionTitle.centered > p:last-child { margin: 18px auto 0; color: var(--muted); font-size: 14px; }
.bioSection { display: grid; grid-template-columns: .85fr 1.4fr; gap: 8vw; background: var(--cream); }
.bioText { max-width: 780px; }
.bioText p { margin: 0 0 24px; font: 18px/1.9 Georgia,serif; color: #385061; }
.bioText .dropcap::first-letter { float: left; margin: 7px 9px 0 0; font: 78px/.72 Georgia,serif; color: #b98c37; }
.bioText strong { color: var(--navy); }

.formationSection { background: var(--navy); color: white; position: relative; }
.formationSection::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg,transparent 50%,rgba(255,255,255,.025) 50%); pointer-events: none; }
.formationSection .sectionTitle h2 { color: white; }
.formationGrid { position: relative; display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; max-width: 1140px; margin: 0 auto; }
.formationCard { position: relative; padding: 42px 38px 36px; min-height: 260px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.045); }
.formationCard::after { content: ""; position: absolute; left: 38px; bottom: 0; width: 50px; height: 3px; background: var(--gold); }
.cardNumber { color: var(--gold-light); font: 14px Georgia,serif; }
.formationCard h3 { margin: 18px 0 14px; font: 400 27px/1.15 Georgia,serif; color: white; }
.formationCard p { margin: 0; font-size: 13px; line-height: 1.8; color: rgba(255,255,255,.68); }
.studiesPanel { position: relative; max-width: 1140px; margin: 28px auto 0; padding: 42px; display: grid; grid-template-columns: .45fr 1.55fr; gap: 48px; align-items: start; background: var(--gold-light); color: var(--navy); }
.studiesPanel h3 { margin: 0 0 8px; font: 400 32px Georgia,serif; }
.studiesPanel p { margin: 0; font-size: 12px; line-height: 1.6; }
.studiesContent { min-width: 0; }
.studyGroup h4 { margin: 0 0 18px; font: 700 12px/1.3 Arial,sans-serif; text-transform: uppercase; letter-spacing: .12em; color: #805912; }
.studiesPanel ul { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 28px; list-style: none; }
.studiesPanel li { padding-left: 14px; position: relative; font-size: 11px; line-height: 1.45; font-weight: 700; }
.studiesPanel li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #a67824; position: absolute; left: 0; top: 4px; }
.subjectsGroup { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(128,89,18,.28); }
.subjectsGroup ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
.credentialNote { margin-top: 24px !important; padding: 14px 16px; border-left: 3px solid #a67824; background: rgba(255,255,255,.3); }

.credentialsSection { background: var(--paper); }
.credentialsGrid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.credentialCard { min-width: 0; overflow: hidden; background: white; border: 1px solid #e3d9c8; box-shadow: 0 12px 34px rgba(16,42,63,.07); transition: transform .2s ease, box-shadow .2s ease; }
.credentialCard:hover { transform: translateY(-4px); box-shadow: 0 20px 42px rgba(16,42,63,.12); }
.credentialPreview { height: 205px; position: relative; display: block; overflow: hidden; background: #eee8dc; }
.credentialPreview img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; transition: transform .25s ease; }
.credentialCard:hover .credentialPreview img { transform: scale(1.025); }
.credentialPreview > span { position: absolute; right: 12px; bottom: 12px; padding: 7px 9px; background: #9b2f34; color: white; font-size: 9px; font-weight: 900; letter-spacing: .12em; box-shadow: 0 5px 12px rgba(0,0,0,.18); }
.credentialBody { padding: 24px 24px 26px; }
.credentialBody small { color: #a67824; font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.credentialBody h3 { min-height: 56px; margin: 11px 0 12px; font: 400 20px/1.35 Georgia,serif; color: var(--navy); }
.credentialBody p { margin: 0 0 19px; color: var(--muted); font-size: 11px; }
.credentialBody > a { display: flex; justify-content: space-between; align-items: center; padding-top: 15px; border-top: 1px solid #ece3d5; color: var(--navy); text-decoration: none; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.credentialBody > a span { color: #a67824; font-size: 16px; }

.journeySection { display: grid; grid-template-columns: 1.1fr .9fr; gap: 7vw; align-items: center; background: var(--paper); }
.journeyCopy > p:not(.eyebrow) { margin: 28px 0; font-size: 14px; line-height: 1.9; color: var(--muted); }
.countries { display: flex; flex-wrap: wrap; gap: 9px; }
.countries span { padding: 10px 14px; border: 1px solid #d8c9ad; color: #75591f; background: var(--cream); font-size: 10px; font-weight: 700; }
.quoteCard { position: relative; padding: 60px 52px 50px; background: var(--navy); color: white; border-bottom: 5px solid var(--gold); box-shadow: 22px 22px 0 #efe6d6; }
.quoteMark { position: absolute; top: 14px; left: 34px; font: 82px Georgia,serif; color: var(--gold); opacity: .65; }
.quoteCard blockquote { margin: 20px 0 28px; font: 400 25px/1.55 Georgia,serif; }
.quoteCard p { margin: 0; color: var(--gold-light); font-size: 11px; font-weight: 800; letter-spacing: .1em; }

.supportSection { background: #eee6d8; }
.supportGrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; max-width: 1140px; margin: 0 auto; }
.supportGrid article { min-height: 110px; display: flex; align-items: center; gap: 17px; padding: 24px; background: var(--paper); border-top: 2px solid transparent; transition: .2s ease; }
.supportGrid article:hover { transform: translateY(-3px); border-top-color: var(--gold); box-shadow: 0 12px 24px rgba(16,42,63,.08); }
.supportGrid span { color: #b28a3e; font: 20px Georgia,serif; }
.supportGrid p { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.5; }
.supportNote { max-width: 900px; margin: 38px auto 0; text-align: center; color: var(--muted); font: 15px/1.8 Georgia,serif; }

.appPromoSection { padding: 95px max(24px,calc((100% - 1140px)/2)); display: grid; grid-template-columns: 1.05fr .95fr; gap: 7vw; align-items: center; background: linear-gradient(125deg,#071f36,#0c416a); color: white; position: relative; }
.appPromoSection::before { content: ""; position: absolute; width: 420px; height: 420px; border: 1px solid rgba(213,173,85,.18); border-radius: 50%; right: -90px; bottom: -210px; }
.appPromoCopy { position: relative; z-index: 2; }
.appPromoCopy h2 { margin: 0; max-width: 650px; font: 400 clamp(42px,5vw,68px)/1.05 Georgia,serif; color: white; letter-spacing: -.03em; }
.appPromoCopy > p:not(.eyebrow) { max-width: 620px; margin: 24px 0; color: rgba(255,255,255,.74); font-size: 14px; line-height: 1.8; }
.appPromoCopy ul { margin: 0 0 30px; padding: 0; list-style: none; display: grid; gap: 12px; }
.appPromoCopy li { position: relative; padding-left: 24px; font-size: 12px; font-weight: 700; }
.appPromoCopy li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: var(--gold-light); }
.appLoginButton { display: inline-flex; align-items: center; gap: 28px; padding: 18px 23px; background: var(--gold); color: var(--navy-deep); text-decoration: none; text-transform: uppercase; letter-spacing: .1em; font-size: 10px; font-weight: 900; box-shadow: 0 15px 30px rgba(0,0,0,.2); }
.appLoginButton span { font-size: 18px; }
.appPromoCopy > small { display: block; margin-top: 14px; color: rgba(255,255,255,.5); font-size: 9px; }
.appPromoVisual { position: relative; z-index: 2; display: flex; justify-content: center; }
.appScreenshot {
  display: block;
  width: min(350px,100%);
  height: auto;
  border: 8px solid rgba(255,255,255,.92);
  border-radius: 34px;
  background: #f7f2e8;
  box-shadow: 0 30px 65px rgba(0,0,0,.38);
}
.appPhone { width: min(340px,100%); padding: 22px; border: 8px solid rgba(255,255,255,.9); border-radius: 34px; background: #f7f2e8; box-shadow: 0 30px 60px rgba(0,0,0,.35); transform: rotate(2deg); }
.appPhoneTop { margin: -22px -22px 22px; padding: 24px 20px 18px; display: flex; align-items: center; gap: 10px; border-radius: 25px 25px 0 0; background: var(--navy); }
.appPhoneTop img { width: 46px; height: 46px; display: block; object-fit: contain; clip-path: circle(47% at 50% 48%); }
.appPhoneTop span { display: flex; flex-direction: column; }
.appPhoneTop b { font: 16px Georgia,serif; color: var(--gold-light); letter-spacing: .08em; }
.appPhoneTop small { margin-top: 3px; color: white; font-size: 7px; font-weight: 800; letter-spacing: .17em; }
.appWelcome { padding: 20px; margin-bottom: 12px; background: white; border-left: 3px solid var(--gold); display: flex; flex-direction: column; }
.appWelcome small { color: #a67824; font-size: 8px; font-weight: 900; letter-spacing: .15em; }
.appWelcome b { margin-top: 7px; color: var(--navy); font: 21px/1.2 Georgia,serif; }
.appMiniCard { padding: 14px 16px; margin-top: 9px; display: flex; align-items: center; gap: 13px; background: white; color: var(--navy); box-shadow: 0 4px 12px rgba(16,42,63,.06); }
.appMiniCard span { color: #a67824; font: 14px Georgia,serif; }
.appMiniCard p { margin: 0; font-size: 10px; font-weight: 800; }

.qrSection { padding: 70px max(24px,calc((100% - 1140px)/2)); display: flex; justify-content: space-between; align-items: center; gap: 60px; background: linear-gradient(115deg,var(--navy-deep),#0c416a); color: white; }
.qrSection > div { max-width: 600px; }
.qrSection h2 { color: white; }
.qrSection p:not(.eyebrow) { max-width: 540px; margin: 20px 0 28px; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.72); }
.secondaryButton { padding: 15px 20px; border: 1px solid var(--gold); color: var(--gold-light); }
.qrSection figure { margin: 0; padding: 14px; background: white; box-shadow: 0 18px 35px rgba(0,0,0,.25); }
.qrSection figure img { display: block; width: 190px; height: 190px; }
.qrSection figcaption { margin-top: 8px; text-align: center; color: var(--navy); font-size: 8px; font-weight: 700; }

footer { min-height: 150px; padding: 35px clamp(24px,6vw,96px); display: flex; align-items: center; justify-content: space-between; gap: 30px; background: #021524; color: rgba(255,255,255,.5); }
.footerBrand img { width: 48px; height: 48px; }
footer > p { font-size: 10px; }

@media (max-width: 900px) {
  .topbar nav { display: none; }
  .hero { min-height: 850px; padding-top: 130px; grid-template-columns: 1fr; align-items: start; }
  .heroCopy { padding: 0; }
  .portraitWrap { height: 430px; margin-top: -35px; justify-self: end; width: min(100%,520px); }
  .portrait { max-height: 410px; transform: translateY(15px); }
  .portraitHalo { width: 330px; height: 330px; bottom: 30px; }
  .portraitTag { right: 0; bottom: 22px; }
  .stats { grid-template-columns: 1fr; }
  .stats article { min-height: 108px; }
  .stats article + article { border-left: 0; border-top: 1px solid #e7dece; }
  .bioSection,.journeySection { grid-template-columns: 1fr; }
  .formationGrid { grid-template-columns: 1fr; }
  .studiesPanel { grid-template-columns: 1fr; }
  .credentialsGrid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .supportGrid { grid-template-columns: repeat(2,1fr); }
  .appPromoSection { grid-template-columns: 1fr; }
  .appPromoVisual { margin-top: 20px; }
}

@media (max-width: 600px) {
  .topbar { height: 74px; padding: 0 18px; }
  .brand img { width: 44px; height: 44px; max-width: 44px; flex-basis: 44px; }
  .brand strong { font-size: 16px; }
  .hero { min-height: 780px; padding: 118px 22px 0; }
  .hero h1 { font-size: 56px; }
  .heroLead { font-size: 18px; margin: 22px 0 28px; }
  .portraitWrap { height: 355px; margin-top: -15px; margin-right: -38px; }
  .portrait { max-height: 340px; transform: translateY(12px); }
  .portraitHalo { width: 275px; height: 275px; }
  .portraitTag { display: none; }
  .stats { margin-top: 0; width: 100%; }
  .stats article { padding: 24px; }
  .section { padding: 76px 22px; }
  .sectionTitle h2,.journeyCopy h2,.qrSection h2 { font-size: 40px; }
  .bioText p { font-size: 16px; line-height: 1.8; }
  .formationCard { padding: 32px 26px; }
  .studiesPanel { padding: 28px 24px; }
  .studiesPanel ul,.subjectsGroup ul { grid-template-columns: 1fr; }
  .credentialsGrid { grid-template-columns: 1fr; }
  .credentialPreview { height: 220px; }
  .quoteCard { padding: 52px 30px 38px; box-shadow: 10px 10px 0 #efe6d6; }
  .quoteCard blockquote { font-size: 21px; }
  .supportGrid { grid-template-columns: 1fr; }
  .appPromoSection { padding: 72px 22px; }
  .appPromoCopy h2 { font-size: 40px; }
  .appPhone { transform: none; }
  .qrSection { padding: 66px 22px; flex-direction: column; align-items: flex-start; }
  .qrSection figure { align-self: center; }
  footer { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
