@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  --blue: #1795d3;
  --blue-dark: #075b85;
  --blue-pale: #e8f5fb;
  --ink: #173044;
  --muted: #4b6574;
  --line: #cadce5;
  --sand: #f4e7c2;
  --paper: #f8fbfc;
  --white: #fff;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 'DM Sans', sans-serif; }
a { color: inherit; text-underline-offset: .2em; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
::selection { background: var(--sand); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 4px; }
.skip-link { position: absolute; top: -100px; left: 12px; z-index: 100; background: var(--white); padding: 8px 12px; }
.skip-link:focus { top: 12px; }
.shell { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 84px; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand-mark { width: 48px; height: 48px; object-fit: cover; }
.brand-name { font: 700 30px/1 'Barlow Condensed', sans-serif; letter-spacing: .01em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 28px); margin-left: auto; }
.main-nav a { font-size: 14px; font-weight: 700; text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--blue-dark); text-decoration: underline; }
.language-nav { display: flex; align-items: center; gap: 8px; padding-left: 20px; border-left: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.language-nav a { text-decoration: none; }
.language-nav a[aria-current="true"] { color: var(--blue-dark); text-decoration: underline; }
.nav-portal { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 12px; background: var(--blue-dark); color: var(--white); font-size: 13px; font-weight: 700; line-height: 1.25; text-decoration: none; white-space: nowrap; }
.nav-portal:hover { background: var(--ink); }

.hero { background: var(--blue-pale); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap: clamp(32px, 7vw, 90px); align-items: center; padding-block: clamp(64px, 9vw, 116px); }
.hero-copy { max-width: 670px; }
.hero--center .hero-grid { grid-template-columns: minmax(0, 1fr); }
.hero--center .hero-copy { max-width: 820px; margin-inline: auto; text-align: center; }
.hero--center h1 { max-width: 18ch; margin-inline: auto; }
.hero--center .lead { margin-inline: auto; }
.hero--center .actions { justify-content: center; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: 'Barlow Condensed', sans-serif; line-height: 1.04; letter-spacing: -.01em; text-wrap: balance; }
p { text-wrap: pretty; }
h1 { font-size: clamp(50px, 5vw, 70px); max-width: 13ch; margin-bottom: 22px; }
h2 { font-size: clamp(40px, 4.5vw, 64px); margin-bottom: 20px; }
h3 { font-size: 30px; margin-bottom: 8px; }
.lead { max-width: 57ch; font-size: clamp(18px, 2vw, 22px); line-height: 1.55; color: var(--ink); }
.hero-art { position: relative; margin: 0; padding: 14px 14px 0 0; }
.hero-art::before { content: ""; position: absolute; inset: 8% 0 12% 10%; background: var(--sand); }
.hero-art img { position: relative; width: 100%; height: clamp(260px, 31vw, 400px); object-fit: cover; box-shadow: 0 8px 18px rgba(20, 70, 100, .16); }
.hero-art figcaption { position: relative; width: 86%; margin: -1px 0 0 auto; padding: 12px 16px; background: var(--blue-dark); color: var(--white); font-size: 13px; line-height: 1.45; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 22px; border: 2px solid var(--blue-dark); background: var(--blue-dark); color: var(--white); font-size: 14px; font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; transition: background-color .18s ease, color .18s ease, transform .18s ease; }
.button:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.button--light { background: transparent; color: var(--blue-dark); }
.button--light:hover { color: var(--white); }
.text-link { color: var(--blue-dark); font-weight: 700; }
.text-link:hover { color: var(--ink); }

.section { padding-block: clamp(64px, 8vw, 100px); }
.section--white { background: var(--white); }
.section--blue { background: var(--blue-pale); }
.section-heading { max-width: 700px; margin-bottom: 36px; }
.section-heading p { max-width: 62ch; margin-bottom: 0; color: var(--muted); }

.start-here { padding-block: clamp(58px, 8vw, 92px); background: var(--blue-dark); color: var(--white); }
.start-here-grid { display: grid; grid-template-columns: minmax(220px, .78fr) minmax(0, 1.22fr); gap: clamp(36px, 8vw, 108px); align-items: start; }
.start-here-intro h2 { max-width: 9ch; margin-bottom: 18px; color: var(--white); }
.start-here-intro p { max-width: 39ch; margin-bottom: 0; color: rgba(255, 255, 255, .88); font-size: 17px; }
.start-here-list { border-top: 1px solid rgba(255, 255, 255, .35); }
.start-path { display: grid; grid-template-columns: minmax(112px, .65fr) minmax(0, 1fr) auto; gap: 18px; align-items: center; padding-block: 19px; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.start-path h3 { margin: 0; color: var(--white); font-size: 25px; }
.start-path p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 14px; line-height: 1.5; }
.start-path a { color: var(--sand); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.start-path a:hover { color: var(--white); text-decoration: underline; }
.start-path a span { display: inline-block; margin-left: 4px; }

.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.service-row h3 { margin: 0 0 4px; }
.service-row p { margin: 0; color: var(--muted); font-size: 14px; }
.service-row a { white-space: nowrap; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.service-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding-top: 18px; border-top: 2px solid var(--line); }
.service-card--personal { border-color: var(--blue); }
.service-card h3 { margin-bottom: 10px; }
.service-card p { max-width: 42ch; margin-bottom: 20px; color: var(--muted); font-size: 15px; }
.service-card .button { margin-top: auto; }
.service-small { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.service-small span { padding: 7px 12px; border: 1px solid var(--line); background: var(--white); color: var(--muted); font-size: 13px; }

.feature-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.feature-grid p { max-width: 58ch; }
.feature-panel { background: var(--blue-dark); color: var(--white); padding: clamp(28px, 4vw, 54px); }
.feature-panel strong { display: block; font: 600 clamp(46px, 5vw, 74px)/.95 'Barlow Condensed', sans-serif; text-transform: uppercase; }
.feature-panel span { display: block; margin-top: 22px; font-size: 14px; line-height: 1.5; }

.booking-frame { display: block; width: 100%; min-height: 760px; border: 1px solid var(--line); background: var(--white); }
.booking-note { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.contact-block { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: clamp(30px, 5vw, 56px); background: var(--sand); }
.contact-block h2 { margin-bottom: 12px; }
.contact-block p { max-width: 58ch; margin-bottom: 0; }
.contact-block .button { flex: none; }

.course-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.course-details article { border-top: 2px solid var(--blue); padding-top: 18px; }
.course-details p { max-width: 58ch; color: var(--muted); font-size: 15px; }
.course-fit-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 7vw, 90px); align-items: center; }
.course-fit-copy h2 { max-width: 12ch; }
.course-fit-copy p { max-width: 56ch; margin-bottom: 0; color: var(--muted); font-size: 18px; }
.site-footer { padding-block: 36px; border-top: 1px solid var(--line); background: var(--white); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer-inner p { margin: 0; font-size: 13px; color: var(--muted); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; font-weight: 700; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

@media (max-width: 1050px) {
  .header-inner { flex-wrap: wrap; padding-block: 14px; gap: 14px; }
  .main-nav { order: 3; flex-basis: 100%; margin-left: 0; flex-wrap: wrap; gap: 12px 22px; }
  .language-nav { margin-left: auto; }
}
@media (max-width: 800px) {
  .hero-grid, .feature-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin-inline: auto; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .start-here-grid { grid-template-columns: 1fr; gap: 30px; }
  .start-here-intro h2 { max-width: 12ch; }
  .course-details { grid-template-columns: 1fr; }
  .course-fit-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .shell { width: min(var(--max), calc(100% - 32px)); }
  .brand-name { font-size: 26px; }
  h1 { max-width: none; font-size: clamp(42px, 12vw, 52px); }
  .hero--center h1 { max-width: none; }
  .hero-grid { padding-block: 54px 64px; }
  .hero-art { max-width: none; margin-top: 6px; padding: 10px 10px 0 0; }
  .hero-art img { height: clamp(190px, 56vw, 300px); }
  .hero-art figcaption { width: 92%; padding: 10px 12px; font-size: 12px; }
  .start-path { grid-template-columns: 1fr; gap: 7px; padding-block: 18px; }
  .start-path a { justify-self: start; margin-top: 2px; }
  .service-grid { grid-template-columns: 1fr; gap: 28px; }
  .service-row { grid-template-columns: 1fr; gap: 12px; }
  .service-row a { justify-self: start; }
  .contact-block { display: block; }
  .contact-block .button { margin-top: 22px; }
  .booking-frame { min-height: 700px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover { transform: none; }
}
