:root {
  --canvas: #f1f8fb;
  --navy-action: #155476;
  --blue-text: #196381;
}

.announcement { background: #e8f4f8; }
.site-header {
  background: #fbfdfee8;
  border-bottom: 1px solid #d9e6ed;
}
.primary-nav a { font-size: .86rem; }

.brand img.brand-symbol {
  display: block;
  flex: 0 0 45px;
  width: 45px;
  height: 28px;
  object-fit: contain;
  transform: none;
}

.brand-name { color: #11334f; letter-spacing: -.045em; }
.brand-name > span { color: #1b5780; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name > span { color: #cce8f6; }

.hero .study-portrait,
.coaching-photo { background: #fff; }
.study-portrait img,
.coaching-photo img {
  filter: grayscale(1);
}

.site-header .header-cta,
.enquiry-actions [value="whatsapp"] { background-color: #1b5780; }

.site-header .header-cta:hover,
.enquiry-actions [value="whatsapp"]:hover { background-color: #11334f; }

@media (max-width: 380px) {
  .brand img.brand-symbol {
    flex-basis: 36px;
    width: 36px;
    height: 23px;
  }
}
@media (min-width: 950px) {
  .primary-nav {
    gap: clamp(18px, 2.3vw, 34px);
    margin-right: 18px;
    border: 1px solid #dae7ed;
    border-radius: 999px;
    padding: 12px 24px;
    background: #ffffffc9;
  }
}

.hero[data-ambient="light"] {
  min-height: clamp(550px, 68vw, 720px);
  grid-template-columns: minmax(0, 1fr) minmax(0, .84fr);
  align-items: center;
  background: linear-gradient(110deg, #ecf7fb, #f8fcfe 68%);
  color: #16354b;
}
.hero[data-ambient="light"]::after,
.hero[data-ambient="light"] .hero-grid { display: none; }
.hero[data-ambient="light"] h1 em,
.company-intro h2 em {
  color: var(--blue-text);
  font-style: normal;
}
.hero[data-ambient="light"] .eyebrow,
.hero[data-ambient="light"] .hero-description,
.hero[data-ambient="light"] .light-link { color: #34546b; }
.hero[data-ambient="light"] .button-lime {
  background: var(--navy-action);
  color: white;
  box-shadow: 0 9px 24px #1554762e;
}
.hero[data-ambient="light"] .button-lime:hover { background: #0f3a5a; }
.home-stage-links a {
  border-color: #38729148;
  color: #1b526e;
  background: #ffffff9c;
}
.home-stage-links a:hover { background: #dceff7; }

.hero .study-portrait,
.coaching-photo {
  overflow: hidden;
  border: 1px solid #d1e4ed;
  border-radius: 25px;
  box-shadow: 0 24px 60px #153a5520;
  background: #fff;
}
.hero .study-portrait img {
  aspect-ratio: 5 / 4;
  object-position: 57% center;
}
.hero .study-portrait figcaption,
.coaching-photo figcaption {
  display: block;
  padding: 9px 14px;
  background: #fff;
  color: #435d6d;
  font-size: .78rem;
}
.study-portrait figcaption a, .coaching-photo figcaption a {
  text-decoration: underline;
}
.company-section {
  border-top: 1px solid #dbe8ee;
  background: #f6fbfd;
}
.company-grid { grid-template-columns: 1.2fr 1fr 1fr; }
.company-grid article {
  padding: clamp(20px, 3vw, 36px);
  border-radius: 22px;
  border-color: #d5e6ee;
  background: linear-gradient(135deg, #ffffffed, #e9f5fbe8);
}
.company-grid article:last-child { background: #123f5c; }

.coaching-photo {
  display: grid;
  grid-template-columns: .78fr 1fr;
  margin: 0;
}
.coaching-photo > div { align-self: center; padding: clamp(22px, 4vw, 48px); }
.coaching-photo h2 {
  margin: 0 0 12px;
  font: 800 clamp(1.55rem, 3vw, 2.65rem)/1.12 var(--font-display);
}
.coaching-photo p { margin: 0; max-width: 42ch; line-height: 1.65; }
.coaching-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  max-height: 360px;
  object-fit: cover;
}
.coaching-photo figcaption { grid-column: 1 / -1; text-align: right; }
.photo-section { padding-top: clamp(35px, 6vw, 75px); }

.paper-ambient__glow {
  position: absolute;
  inset: 0 auto auto 0;
  width: 0;
  height: 0;
  opacity: 0;
}
.paper-ambient__glow::before {
  content: "";
  position: absolute;
  width: min(62vw, 640px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #85cdef48, transparent 68%);
}
.paper-ambient--light .paper-ambient__glow::before {
  background: radial-gradient(circle, #389ccb34, transparent 68%);
}
.paper-ambient--light .paper-ambient__grid {
  background-size: 36px 36px;
  mask-image: none;
}
.enquiry-actions { display: grid; gap: 9px; margin-top: 18px; }
.enquiry-actions .form-submit { margin-top: 0; }
.enquiry-actions [hidden] { display: none; }

@media (max-width: 760px) {
  .hero[data-ambient="light"] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    padding-block: 48px 36px;
  }
  .hero .study-portrait img { aspect-ratio: 16 / 11; }
  .hero .study-portrait, .coaching-photo { border-radius: 17px; }
  .company-grid, .coaching-photo { grid-template-columns: minmax(0, 1fr); }
  .coaching-photo img { min-height: 0; height: auto; aspect-ratio: 16 / 10; }
  .hero .hero-actions a, .home-stage-links a { min-height: 44px; }
  .home-stage-links a { display: inline-flex; align-items: center; }
}

@media (pointer: coarse) {
  .paper-ambient__glow { display: none; }
  .button:active, .home-stage-links a:active { transform: scale(.98); }
}
