@font-face{font-family:'DM Sans';src:url('/fonts/dm-sans-normal.woff2') format('woff2');font-style:normal;font-weight:400 700;font-display:swap}
@font-face{font-family:'Source Serif 4';src:url('/fonts/source-serif-4-normal.woff2') format('woff2');font-style:normal;font-weight:400 600;font-display:swap}
@font-face{font-family:'Source Serif 4';src:url('/fonts/source-serif-4-italic.woff2') format('woff2');font-style:italic;font-weight:400 500;font-display:swap}
:root {
  --ink: #103942;
  --muted: #3f6267;
  --brand: #006e76;
  --brand-deep: #00535f;
  --accent: #24cbbb;
  --wash: #e9faf8;
  --tint: #cef4ee;
  --line: #aadbd6;
  --line-strong: #558989;
  --paper: #fff;
  --display:'Source Serif 4',Georgia,serif; --sans:'DM Sans',Arial,sans-serif;
  --gutter:clamp(1.35rem,5.25vw,5.25rem);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:1rem;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--wash);color:var(--ink);font-family:var(--sans);font-size:1rem;-webkit-font-smoothing:antialiased}
body:has(dialog[open]){overflow:hidden}
img{max-width:100%;display:block}
a{color:inherit}
button,input,select,textarea{font:inherit}
button,a,select,textarea{-webkit-tap-highlight-color:transparent}
:focus-visible{outline:3px solid var(--brand);outline-offset:4px}
.wrap{width:min(1240px,calc(100% - var(--gutter) * 2));margin-inline:auto}
.icon{display:block;width:1.5rem;height:1.5rem;fill:none;flex:none}
.skip{position:fixed;left:12px;top:-80px;z-index:50;background:var(--brand);color:white;padding:.8rem}
.skip:focus{top:8px}
.site-header{border-bottom:1px solid var(--line);background:var(--paper);position:relative;z-index:10}
.head-inner{min-height:5.15rem;display:flex;align-items:center;justify-content:space-between;gap:2rem}
.brand{display:inline-flex;align-items:center;flex-shrink:0;text-decoration:none;color:var(--ink)}
.brand img{display:block;width:auto;height:3.35rem}
.site-footer .brand img{height:2.7rem}
.primary-nav{display:flex;align-items:center;gap:clamp(1.45rem,2.9vw,3rem);margin-left:auto;margin-right:clamp(.25rem,1.6vw,1.5rem)}
.primary-nav a{display:inline-flex;align-items:center;min-height:44px;font-size:.93rem;font-weight:550;text-decoration:none;position:relative;padding:.75rem 0}
.primary-nav a:hover,.primary-nav a[aria-current="page"]{color:var(--brand);text-decoration:underline;text-underline-offset:.4em;text-decoration-color:var(--accent)}
.head-actions,.hero-actions{display:flex;align-items:center}
.button{display:inline-flex;justify-content:center;align-items:center;gap:.65rem;background:var(--brand);color:var(--paper);
  border:1px solid var(--brand);border-radius:5px;text-decoration:none;font-weight:600;font-size:.97rem;line-height:1.3;min-height:3.15rem;padding:.75rem 1.55rem;cursor:pointer;transition:background .2s,transform .2s}
.button:hover{background:var(--brand-deep);transform:translateY(-1px)}
.head-cta{font-size:.89rem;min-height:2.65rem;padding:.65rem 1.35rem}
.menu-toggle,.dialog-close{display:grid;place-items:center;padding:.5rem;border:none;background:transparent;color:var(--brand);cursor:pointer}
.menu-toggle{display:none}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(110deg, #edfcfa 0%, #def8f3 58%, #cbf3ed 100%);
}
/* Echo the flowing pen lines used in the drawing gallery. */
.hero::before {
  content: '';
  position: absolute;
  top: -2.5rem;
  right: -7rem;
  z-index: -1;
  width: clamp(23rem, 48vw, 48rem);
  height: 115%;
  pointer-events: none;
  background: url('/images/line-river.webp') center / cover;
  mix-blend-mode: multiply;
  opacity: .085;
  mask-image: radial-gradient(ellipse at 69% 50%, black 22%, transparent 73%);
}
.hero-grid{display:grid;grid-template-columns:1fr 1.05fr;align-items:center;gap:clamp(2.7rem,5.5vw,6rem);padding-block:clamp(3.2rem,4.5vw,4.65rem) clamp(3.9rem,5.25vw,5.5rem)}
.eyebrow{margin:0;display:flex;align-items:center;gap:.65rem;font-family:var(--sans);font-size:.745rem;line-height:1.4;letter-spacing:.165em;text-transform:uppercase;font-weight:700;color:var(--brand-deep)}
.eyebrow>span:empty{width:2rem;height:1.5px;flex:none;background:var(--accent)}
.hero h1{font-family:var(--display);font-size:clamp(4.2rem,6.4vw,6.15rem);font-weight:400;line-height:.99;letter-spacing:-.061em;margin:1.35rem 0 1.6rem;color:var(--ink)}
.hero h1 em{position:relative;display:inline-block;color:#007c82;font-weight:400;padding-right:.14em}
.hero h1 em:after{content:'';position:absolute;height:.1em;bottom:-.075em;left:.05em;right:.22em;border:solid var(--accent);border-width:.035em 0 0;border-radius:50%;transform:rotate(-1deg)}
.hero-lede{color:var(--muted);max-width:31.7rem;font-size:clamp(1rem,1.28vw,1.13rem);line-height:1.65;margin:0}
.hero-actions{gap:1.65rem;margin-top:1.8rem}
.secondary-link{font-size:.97rem;font-weight:650;text-decoration:underline;text-decoration-color:var(--brand);text-underline-offset:.35rem;text-decoration-thickness:1px;padding:.65rem 0}
.secondary-link:hover{color:var(--brand-deep)}
.hero-picture{position:relative;aspect-ratio:1.37 / 1;margin:0 .65rem 0 .5rem}
.hero-photo,.image-outline{height:100%;width:100%;border-radius:6px clamp(4rem,6.8vw,6.5rem) 6px 6px}
.hero-photo{position:relative;object-fit:cover;object-position:55% 47%}
.image-outline{position:absolute;left:10px;top:-10px;border:1px solid #329f9c}
.photo-caption{text-decoration:none;position:absolute;bottom:1.45rem;left:-1.65rem;color:var(--ink);display:flex;gap:.85rem;align-items:center;padding:.85rem 1.1rem;background:var(--paper);border:1px solid var(--line);border-radius:5px;box-shadow:0 5px 18px #12495324}
.photo-caption:hover strong,.photo-caption:focus-visible strong{text-decoration:underline;text-underline-offset:.17em}
.caption-icon{height:2.65rem;width:2.65rem;border-radius:50%;background:var(--tint);color:var(--brand);display:grid;place-items:center}
.caption-icon .icon{width:1.55rem;height:1.55rem}
.photo-caption strong,.photo-caption small{display:block}
.photo-caption strong{font-family:var(--display);font-weight:550;font-size:1.15rem;letter-spacing:-.035em;line-height:1.3}
.photo-caption small{font-size:.77rem;color:var(--muted);line-height:1.5}
.subject-strip{background:var(--accent);color:#06383f}
.subjects{display:grid;grid-template-columns:repeat(4,1fr);padding-block:1.35rem}
.subjects a{display:flex;align-items:center;justify-content:center;gap:.75rem;min-height:2.15rem;padding:.1rem .65rem;font-size:1rem;font-weight:650;text-decoration:none;line-height:1.3}
.subjects a+a{border-left:1px solid #0e636757}
.subjects .icon{width:1.55rem;height:1.55rem;color:var(--brand-deep)}
.subjects a:hover{text-decoration:underline;text-underline-offset:.3em}
.pathway{padding:clamp(3.5rem,5vw,5.25rem) 0 clamp(4rem,6vw,6.5rem);background:var(--paper)}
.path-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:3rem;margin-bottom:2.1rem}
.path-heading h2{font-family:var(--display);font-size:clamp(2.4rem,3.65vw,3.6rem);line-height:1.12;letter-spacing:-.052em;font-weight:450;margin:.55rem 0 0}
.path-heading>p{margin:0;color:var(--muted);font-size:1rem;line-height:1.6;max-width:22rem}
.steps{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.9rem}
.steps li{padding:1.25rem 1.2rem 1.4rem;border:1px solid var(--line);border-radius:5px;background:#f3fcfb}
.step-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.1rem}
.step-head .icon{width:1.75rem;height:1.75rem;color:var(--brand)}
.step-head>span{font-family:var(--display);color:var(--brand);font-size:1.08rem;font-style:italic}
.steps h3{font-family:var(--display);font-size:1.35rem;font-weight:550;letter-spacing:-.035em;line-height:1.15;margin:0 0 .6rem;color:var(--ink)}
.steps p{font-size:1rem;line-height:1.5;margin:0;color:var(--muted)}
.site-footer{background:var(--wash);border-top:1px solid var(--line)}
.foot-inner{padding-block:1.5rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.foot-inner>span{font-size:.825rem;color:var(--muted)}
dialog{background:#f5fdfc;border:1px solid var(--line);color:var(--ink);width:min(32rem,calc(100% - 2rem));padding:clamp(1.45rem,4vw,2.3rem);border-radius:.65rem;box-shadow:0 1rem 4rem #063a453b;max-height:90svh}
dialog::backdrop{background:#092e37aa}
.dialog-top{display:flex;justify-content:space-between;align-items:center;gap:1rem}
.dialog-top .eyebrow{font-size:.7rem}
.dialog-close{border-radius:50%;background:var(--tint)}
dialog h2{font:500 2.7rem/1.15 var(--display);letter-spacing:-.055em;margin:.85rem 0 .5rem}
dialog p{color:var(--muted);line-height:1.55;margin:0}
dialog form{margin:1.4rem 0;display:flex;flex-direction:column;gap:.5rem}
dialog label{font-size:.91rem;font-weight:650}
dialog label span{font-weight:400}
dialog select,dialog textarea{font-size:1rem;width:100%;background:var(--paper);border:1px solid var(--line-strong);padding:.72rem;border-radius:.3rem;color:var(--ink)}
dialog select{appearance:none;background:var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23006e76' stroke-width='1.7'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E") right .7rem center/1.2rem no-repeat;padding-right:2.4rem;margin-bottom:.5rem}
dialog textarea{resize:vertical;min-height:4.5rem}
dialog .button{margin-top:.45rem}
dialog .email-alternative{font-size:.85rem;overflow-wrap:anywhere}
@media(max-width:1000px){.steps{gap:.65rem}.steps li{padding:1rem .85rem}.path-heading>p{max-width:19rem}.photo-caption{left:-1rem;bottom:1rem}.hero-grid{gap:2.75rem}.hero h1{font-size:clamp(3.7rem,7.4vw,4.9rem)}}
@media(max-width:800px) {
  html { scroll-padding-top: calc(4.9rem + env(safe-area-inset-top)); }
  .wrap {
    width: min(1240px, calc(100% - max(var(--gutter), env(safe-area-inset-left)) - max(var(--gutter), env(safe-area-inset-right))));
    margin-left: max(var(--gutter), env(safe-area-inset-left));
    margin-right: max(var(--gutter), env(safe-area-inset-right));
  }
  .site-header { position: sticky; top: 0; padding-top: env(safe-area-inset-top); }
  .head-inner { min-height: 4rem; gap: .7rem; }
  .brand { min-height: 44px; }
  .brand img { width: auto; height: 2.75rem; }
  .head-actions { gap: .35rem; }
  .head-cta { min-height: 44px; padding: .55rem .9rem; }
  .menu-toggle, .dialog-close { display: grid; width: 44px; height: 44px; }
  .menu-toggle[aria-expanded="true"] { background: var(--tint); border-radius: .3rem; }
  .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    max-height: calc(100dvh - 4rem - env(safe-area-inset-top));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: .4rem var(--gutter) max(.85rem, env(safe-area-inset-bottom));
    background: var(--paper);
    border-block: 1px solid var(--line);
    box-shadow: 0 12px 20px #0c4c5811;
  }
  .primary-nav[data-open] { display: grid; gap: 0; }
  .primary-nav a { display: flex; align-items: center; min-height: 46px; padding: .65rem .2rem; }
  .primary-nav a + a { border-top: 1px solid #def1ee; }
  .hero-grid { gap: 2.45rem; grid-template-columns: .98fr 1.02fr; }
  .hero-picture { aspect-ratio: .96; }
  .hero h1 { font-size: clamp(3.15rem, 7.4vw, 4.35rem); }
  .hero-actions { gap: 1rem; flex-wrap: wrap; }
  .hero-actions .button { padding-inline: 1rem; }
  .hero-lede { font-size: 1rem; }
  .path-heading { display: block; }
  .path-heading > p { max-width: 33rem; margin-top: .85rem; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .subjects a { min-height: 44px; font-size: .9rem; gap: .4rem; }
}
@media(max-width:620px) {
  :root { --gutter: clamp(1rem, 5.2vw, 1.6rem); }
  .head-inner { min-height: 3.8rem; }
  .brand img { height: 2.55rem; }
  .head-cta { font-size: .85rem; }
  .hero::before { width: 20rem; height: 18rem; right: -9rem; top: auto; bottom: -4rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 1.75rem 1.45rem; }
  .hero-kicker { font-size: .7rem; }
  .hero h1 { font-size: clamp(3.4rem, 13.8vw, 4.75rem); margin: .75rem 0 1rem; }
  .hero-lede { line-height: 1.52; }
  .hero-actions { gap: 1.1rem; margin-top: 1.1rem; }
  .hero-actions .button, .hero-actions .secondary-link { min-height: 46px; font-size: .94rem; }
  .hero-actions .secondary-link { display: inline-flex; align-items: center; }
  .hero-actions .button { padding: .65rem 1.1rem; }
  .hero-picture { aspect-ratio: 1.7; margin: .25rem .35rem 0 0; }
  .hero-photo, .image-outline { border-top-right-radius: 3.5rem; }
  .image-outline { top: -5px; left: 5px; }
  .photo-caption { left: .55rem; bottom: .55rem; gap: .45rem; padding: .35rem .65rem .35rem .4rem; }
  .caption-icon { height: 1.6rem; width: 1.6rem; }
  .caption-icon .icon { width: 1rem; height: 1rem; }
  .photo-caption strong { font: 650 .8rem/1.3 var(--sans); letter-spacing: 0; }
  .photo-caption small { display: none; }
  .subjects { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: .4rem; }
  .subjects a { justify-content: flex-start; gap: .55rem; min-height: 46px; padding: .25rem .2rem; font-size: .875rem; font-weight: 600; }
  .subjects a:nth-child(odd) { border-left: 0; }
  .subjects a:nth-child(even) { padding-left: .9rem; }
  .subjects a:nth-child(n+3) { border-top: 1px solid #0e63673d; }
  .subjects .icon { width: 1.25rem; height: 1.25rem; }
  .pathway { padding: 2.5rem 0; }
  .path-heading { margin-bottom: 1.5rem; }
  .path-heading h2 { font-size: clamp(2.1rem, 8.5vw, 2.7rem); }
  .steps { position: relative; grid-template-columns: 1fr; gap: 1.05rem; }
  .steps::before {
    position: absolute; content: ''; left: 1.05rem; top: .8rem; bottom: 1rem;
    width: 1px; background: var(--line-strong);
  }
  .steps li {
    position: relative; display: grid; grid-template-columns: 2.1rem 1fr; gap: .2rem .8rem;
    padding: 0; background: transparent; border: 0;
  }
  .steps li:last-child::before {
    content: ''; background: var(--paper); position: absolute; left: 0; top: 1rem; bottom: 0; width: 2.1rem;
  }
  .step-head { position: relative; grid-column: 1; grid-row: 1 / 3; display: grid; align-self: start; place-items: center; justify-content: center; width: 2.1rem; height: 2.1rem; margin: 0; border-radius: 50%; background: var(--tint); }
  .step-head > span { font: 650 .88rem/1 var(--sans); color: var(--brand-deep); }
  .step-head .icon { display: none; }
  .steps h3 { grid-column: 2; margin: .12rem 0 0; }
  .steps p { grid-column: 2; }
  .foot-inner { align-items: flex-start; flex-wrap: wrap; padding-bottom: max(1.5rem, env(safe-area-inset-bottom)); }
  .foot-inner > span { font-size: .8rem; }
  .foot-inner > span:last-child { width: 100%; }
  dialog {
    position: fixed; inset: auto 0 0; margin: 0 auto; width: min(100%, 32rem);
    max-width: 100%; max-height: calc(100dvh - max(.55rem, env(safe-area-inset-top)));
    padding: 1.1rem max(1.25rem, env(safe-area-inset-right)) max(1.45rem, env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left));
    border-radius: 1rem 1rem 0 0; overflow: auto; overscroll-behavior: contain;
  }
  dialog h2 { margin-top: .4rem; font-size: 2.25rem; }
  dialog form { margin: 1rem 0; }
  dialog select, dialog textarea { font-size: 1rem; }
  dialog .email-alternative a { display: inline-flex; align-items: center; min-height: 44px; }
}
@media(max-width:380px) {
  .head-inner { gap: .3rem; }
  .brand img { height: 2.25rem; }
  .head-cta { padding-inline: .65rem; }
  .hero-actions { display: grid; grid-template-columns: auto auto; justify-content: start; gap: .7rem; }
  .hero-actions .button { padding-inline: .65rem; }
  .hero-actions .button, .hero-actions .secondary-link { font-size: .85rem; }
  .subjects a { gap: .4rem; }
  .subjects a:nth-child(even) { padding-left: .6rem; }
}
@media(max-height:480px) and (hover:none) {
  .site-header { position: relative; }
  html { scroll-padding-top: .7rem; }
  dialog { max-height: calc(100dvh - .5rem); overflow-y: auto; }
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}

.childrens-gallery {
  padding-block: clamp(3rem, 5.5vw, 5.75rem);
  background: #fbfcf8;
  border-bottom: 1px solid var(--line);
}
.gallery-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.7rem;
}
.gallery-intro h2 {
  margin: 0;
  font: 500 clamp(2.3rem, 4.2vw, 3.95rem)/1.07 var(--display);
  letter-spacing: -.05em;
}
.gallery-intro p {
  max-width: 56ch;
  margin: .75rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}
.gallery-family-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--brand);
  font-weight: 650;
  text-underline-offset: .25em;
}
.gallery-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.7rem); }
.gallery-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid #c4dcd7;
  border-radius: .6rem;
  text-decoration: none;
  overflow: hidden;
}
.gallery-card:hover, .gallery-card:focus-visible { border-color: var(--brand); }
.gallery-card img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.gallery-caption { padding: 1.05rem 1.1rem 1.25rem; }
.gallery-caption h3 {
  margin: 0;
  color: var(--brand-deep);
  font: 550 clamp(1.35rem, 2vw, 1.85rem)/1.12 var(--display);
  letter-spacing: -.035em;
  text-decoration: underline;
  text-decoration-color: #78bcb7;
  text-decoration-thickness: 1px;
  text-underline-offset: .16em;
}
.gallery-caption p { margin: .65rem 0 0; font-size: 1rem; line-height: 1.5; color: var(--muted); }
.ielts-panel-image { width: 100%; height: clamp(8rem, 15vw, 13rem); object-fit: cover; object-position: 50% 44%; margin-bottom: 1.2rem; border-radius: .3rem; }
@media (max-width: 800px) {
  .gallery-intro { display: block; margin-bottom: 1rem; }
  .gallery-family-link { margin-top: .3rem; }
  .gallery-caption { padding: .85rem; }
}
@media (max-width: 640px) {
  .childrens-gallery { padding-block: 2.4rem; }
  .gallery-intro h2 { font-size: clamp(2.15rem, 8vw, 2.75rem); }
  .gallery-cards { grid-template-columns: 1fr; gap: .75rem; }
  .gallery-card { display: grid; grid-template-columns: clamp(5.2rem, 25vw, 7rem) 1fr; align-items: center; gap: .85rem; padding: .6rem; }
  .gallery-card img { border-radius: .3rem; }
  .gallery-caption { padding: .15rem .2rem .15rem 0; }
  .gallery-caption h3 { font-size: 1.23rem; line-height: 1.18; }
  .gallery-caption p { margin-top: .4rem; font-size: .94rem; line-height: 1.4; }
  .ielts-panel-image { height: 8.5rem; }
}
