@font-face {
    font-family: "Nunito";
    src: url("../fonts/nunito/nunito.ttf") format("truetype");
    font-weight: 200 1000;
    font-style: normal;
    font-display: swap;
}

:root {
    --blue: #0070c8;
    --blue-deep: #005a9f;
    --navy: #12334d;
    --ink: #18364b;
    --muted: #5c6d78;
    --orange: #db6328;
    --paper: #f4f7f8;
    --white: #fff;
    --line: #dfe6ea;
    --max: 1200px;
    --header: 104px;
    --radius: 14px;
    --sans: "Nunito", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 124px; }
body { margin: 0; color: var(--ink); background: white; font-family: var(--sans); font-size: 1rem; line-height: 1.7; }
body.nav-lock { overflow: hidden; }
img { max-width: 100%; }
a { color: var(--blue-deep); text-underline-offset: 4px; }
button { font: inherit; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { font-weight: 750; letter-spacing: -0.025em; line-height: 1.16; }
h1 { margin-bottom: 24px; font-size: clamp(2.4rem, 4.2vw, 3.65rem); }
h2 { margin-bottom: 20px; font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { margin-bottom: 12px; font-size: 1.5rem; }
p { margin-bottom: 20px; }
.wrap { width: min(var(--max), calc(100% - 80px)); margin-inline: auto; }
.narrow { max-width: 800px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 80; padding: 10px 20px; color: white; background: var(--navy); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }

/* A quiet utility line and the original CISV signature anchor every page. */
.utility-bar { background: #e9f4fc; border-bottom: 1px solid #d4e8f5; }
.utility-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; font-size: 0.72rem; color: var(--muted); }
.utility-inner a { color: var(--muted); text-decoration: none; }
.utility-inner a span { margin-left: 9px; }
.site-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.site-header.is-scrolled { box-shadow: 0 3px 18px #12334d08; }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header); }
.brand { display: flex; flex: none; text-decoration: none; }
.brand-full { display: block; width: 242px; height: auto; }
.site-nav { display: flex; gap: 25px; align-items: center; }
.site-nav a { position: relative; padding: 12px 0; color: var(--ink); font-size: .88rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--orange); }
.site-nav .nav-apply { padding: 12px 20px; color: white; background: #bd4e21; border-radius: var(--radius); margin-left: 8px; }
.site-nav .nav-apply:hover { color: white; background: #a54019; }
.nav-apply span { margin-left: 16px; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: white; cursor: pointer; }
.nav-toggle-lines, .nav-toggle-lines::before, .nav-toggle-lines::after { display: block; position: relative; width: 20px; height: 2px; background: var(--navy); }
.nav-toggle-lines::before, .nav-toggle-lines::after { content: ""; position: absolute; left: 0; }
.nav-toggle-lines::before { top: -6px; }
.nav-toggle-lines::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after { top: 0; transform: rotate(-45deg); }

.eyebrow { display: block; margin-bottom: 18px; color: var(--blue-deep); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 2px; margin-right: 12px; vertical-align: middle; background: var(--orange); }
.eyebrow a { color: inherit; text-decoration: none; }
.lede { max-width: 640px; margin-bottom: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.8; }
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 72px 0 80px;
    background: #fffaf1;
}
.hero::before, .hero::after {
    content: "";
    position: absolute;
    inset: -80px;
    z-index: -1;
    pointer-events: none;
}
.hero::before {
    background: radial-gradient(ellipse at 94% 20%, #dceefa 0 31%, transparent 31.1%),
        radial-gradient(ellipse at 0 100%, #ffead5 0 23%, transparent 23.1%);
    animation: hero-colours 8s ease-in-out infinite alternate;
}
.hero::after {
    background: url("../img/friendship-pattern.svg") center / cover no-repeat,
        radial-gradient(circle at 48% 16%, #efb65190 0 4px, transparent 5px),
        radial-gradient(circle at 90% 80%, #0070c840 0 6px, transparent 7px);
    animation: hero-orbits 6s ease-in-out infinite alternate;
}
@keyframes hero-colours {
    from { transform: translate3d(-40px, 22px, 0) scale(1); }
    to { transform: translate3d(48px, -32px, 0) scale(1.10); }
}
@keyframes hero-orbits {
    from { transform: translate3d(28px, -22px, 0) rotate(-2deg); }
    to { transform: translate3d(-30px, 26px, 0) rotate(2deg); }
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.04fr; align-items: center; gap: 52px; }
.hero h1 { font-weight: 800; letter-spacing: -.035em; }
.hero h1 span { color: var(--blue); text-decoration: underline; text-decoration-color: #f5bc5b; text-decoration-thickness: 5px; text-underline-offset: 9px; }
.hero .lede { max-width: 460px; font-size: 1.02rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 30px; }
.hero-actions .text-link { font-size: .89rem; }
.hero-note { margin: 27px 0 0; font-size: .76rem; color: var(--muted); }
.hero-photo { margin: 0; position: relative; padding: 9px 9px 63px; background: white; border-radius: 24px; box-shadow: 0 18px 45px #16486b1a; transform: rotate(1.5deg); animation: hero-photo-float 5s ease-in-out infinite alternate; }
@keyframes hero-photo-float {
    from { transform: translate3d(0, 5px, 0) rotate(.5deg); }
    to { transform: translate3d(0, -10px, 0) rotate(2deg); }
}
.carousel-stage { display: block; width: 100%; height: 420px; object-fit: cover; object-position: 48% center; border-radius: 17px 17px 0 0; }
.hero-photo .carousel-caption { display: flex; gap: 16px; justify-content: space-between; align-items: center; position: absolute; left: 9px; right: 9px; bottom: 9px; min-height: 54px; padding: 15px 20px; background: var(--blue); color: white; font-size: .82rem; font-weight: 700; border-radius: 0 0 17px 17px; }
.carousel-stage { position: relative; overflow: hidden; touch-action: pan-y; }
.carousel-slide { position: absolute; inset: 0; animation: carousel-reveal .55s ease both; }
.carousel-slide[hidden], .carousel-toolbar[hidden] { display: none; }
.carousel-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.carousel-slide:first-child img { object-position: 48% center; }
.hero-carousel { animation: none; }
.carousel-caption { margin: 0; }
.carousel-toolbar { position: absolute; left: 23px; right: 23px; bottom: 80px; display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.carousel-button { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffffb0; border-radius: 50%; color: var(--navy); background: #ffffffed; box-shadow: 0 3px 12px #12334d20; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.carousel-button:hover { background: #fff0dc; }
.carousel-pause { font-size: 1rem; }
.carousel-dots { display: flex; padding: 0 8px; background: #12334dcc; border-radius: 24px; }
.carousel-dot { display: grid; place-items: center; width: 20px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.carousel-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ffffff80; transition: background .2s, transform .2s; }
.carousel-dot[aria-current="true"]::before { background: #ffc56d; transform: scale(1.35); }
@keyframes carousel-reveal { from { opacity: .3; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }
.hero-photo::after { content: ""; position: absolute; width: 90px; height: 28px; background: #f7bd5dcc; left: 35px; top: -11px; transform: rotate(-9deg); }
.photo-label { font-size: .66rem; font-weight: 600; white-space: nowrap; opacity: .85; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 26px; min-height: 50px; padding: 13px 23px; border: 1px solid transparent; border-radius: var(--radius); font-size: .9rem; font-weight: 600; text-decoration: none; transition: background .18s, border-color .18s; }
.btn-blue, .btn-orange { background: var(--blue); color: white; }
.btn-blue:hover, .btn-orange:hover { background: var(--blue-deep); color: white; }
.btn-explore { background: #bd4e21; color: white; transition: background .18s, transform .2s, box-shadow .2s; }
.btn-explore:hover { background: #a54019; color: white; transform: translateY(-3px); box-shadow: 0 8px 20px #bd4e212b; }
.btn-white, .btn-line { background: white; border-color: var(--line); color: var(--blue-deep); }
.btn-white:hover, .btn-line:hover { background: #edf4f8; border-color: var(--blue); }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--blue-deep); text-decoration: none; font-size: .9rem; font-weight: 600; }
.text-link:hover { text-decoration: underline; }
.text-link span { font-size: 1.15rem; }

.facts-section { background: var(--blue-deep); border-bottom: 1px solid var(--blue-deep); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 31px 0; margin: 0; }
.facts li { padding: 0 26px; border-left: 1px solid #ffffff38; }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts li:last-child { padding-right: 0; }
.facts strong { display: block; color: #fff; font-size: 1.03rem; font-weight: 700; }
.facts span { display: block; margin-top: 4px; color: #deeffc; font-size: .76rem; }
.line-icon { display: block; flex: none; }
.facts .fact-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0 0 13px;
    border: 1px solid #ffffff30;
    border-radius: 14px;
    background: #ffffff12;
    color: #ffd08c;
}
.facts li:nth-child(2) .fact-icon { color: #b5ead8; }
.facts li:nth-child(3) .fact-icon { color: #c6e6ff; }
.facts li:nth-child(4) .fact-icon { color: #ffd5bf; }
.program-eyebrow { display: flex; align-items: center; gap: 12px; }
.program-eyebrow::before { display: none; }
.program-heading-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: #fff0dc;
    color: #ad481d;
}
.section { padding: 80px 0; }
.section.tight { padding-top: 40px; padding-bottom: 40px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 26px; }
.section-head h2 { margin-bottom: 0; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-intro { margin: -10px 0 32px; color: var(--muted); font-size: .96rem; }
.section-aside { margin: 0; color: var(--muted); font-size: .9rem; }
.program-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.program-card { background: var(--tint, #eef7fd); display: flex; flex-direction: column; min-width: 0; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.program-card:hover { border-color: var(--accent, var(--blue)); box-shadow: 0 12px 28px #12334d14; transform: translateY(-4px); }
.program-image { position: relative; }
.program-image img { display: block; width: 100%; height: 175px; object-fit: cover; }
.age-label { position: absolute; bottom: 12px; left: 14px; padding: 4px 10px; background: white; color: var(--navy); font-size: .72rem; font-weight: 700; border-radius: 20px; }
.program-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 20px 19px; }
.program-card-body .program-kicker { margin: 0 0 10px; color: var(--muted); font-size: .67rem; font-weight: 700; }
.program-card h3 { color: var(--accent, var(--blue-deep)); font-size: 1.42rem; letter-spacing: -.025em; }
.program-card-body > p { color: var(--muted); font-size: .87rem; line-height: 1.7; }
.card-link { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 17px; border-top: 1px solid var(--line); color: var(--blue-deep); font-size: .78rem; font-weight: 700; }
.card-link > span { font-size: 1.15rem; }
.branch-link { display: flex; align-items: center; gap: 22px; margin-top: 24px; padding: 20px 24px; border-left: 3px solid var(--orange); border-radius: 12px; background: #fff1dc; color: var(--ink); text-decoration: none; font-size: .88rem; }
.branch-link:hover { background: #ffe7c3; }
.branch-tag { flex: none; color: var(--navy); font-weight: 700; }
.branch-link > span:last-child { margin-left: auto; color: var(--blue-deep); font-size: 1.25rem; }
.split, .photo-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-section { background: radial-gradient(ellipse at 0 0, #d4ebf7 0 26%, transparent 26.1%), #f0f8fc; }
.portrait, .wide-photo, .shot, .plaque { margin: 0; overflow: hidden; border-radius: var(--radius); }
.portrait img, .wide-photo img, .shot img, .plaque img { display: block; width: 100%; height: auto; }
.portrait img { height: 340px; object-fit: cover; }
.portrait figcaption { padding: 14px 0 0; color: var(--muted); font-size: .77rem; }
.prose p, .note { color: var(--muted); }
.prose p { line-height: 1.85; }
.prose .eyebrow { color: var(--blue-deep); }
.values-wrap { margin-top: 60px; padding-top: 36px; border-top: 1px solid #d7e1e6; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.principle-number { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent, var(--blue)); color: white; font-size: .72rem; letter-spacing: .1em; font-weight: 700; }
.principles h3 { margin: 12px 0; font-size: 1.22rem; }
.principles p { margin: 0; color: var(--muted); font-size: .88rem; }
.story-section { background: radial-gradient(circle at 5% 100%, #ffe2b6 0 125px, transparent 126px), #fff5e7; border-bottom: 1px solid #f6e7d0; }
.story-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; }
.story-grid h2 { margin-bottom: 0; }
.pullquote { margin: 0; padding-left: 32px; border-left: 2px solid var(--orange); }
.pullquote p { color: var(--navy); font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.55; font-weight: 650; letter-spacing: -.015em; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.video-card, .video-frame { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius); }
.video-card { position: relative; display: block; padding: 0; overflow: hidden; background: var(--navy); color: white; cursor: pointer; text-align: left; }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, #09243ee8); }
.video-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-card > span { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 22px; font-size: 1.15rem; font-weight: 600; }
.video-card small { display: block; font-size: .75rem; font-weight: 500; margin-top: 4px; }
.play { position: absolute; z-index: 1; top: 40%; left: 50%; width: 58px; height: 58px; border-radius: 50%; background: white; transform: translate(-50%, -50%); transition: background .18s; }
.play::before { content: ""; position: absolute; left: 24px; top: 20px; border-style: solid; border-width: 9px 0 9px 13px; border-color: transparent transparent transparent var(--blue); }
.video-card:hover .play { background: #dcefff; }
.invite-section { padding-top: 0; }
.invite { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 44px 48px; color: white; background: url("../img/friendship-pattern.svg") right center / cover no-repeat, #075c9c; border-radius: 24px; border-bottom: 6px solid #ed964b; }
.invite .eyebrow { color: #d7ecfc; font-size: .68rem; }
.invite .eyebrow::before { background: #ffac74; }
.invite h2 { font-size: clamp(1.65rem, 2.5vw, 2rem); margin-bottom: 14px; }
.invite p:not(.eyebrow) { margin: 0; color: #e2edf5; font-size: .9rem; max-width: 600px; }
.invite-actions { display: grid; gap: 16px; text-align: center; }
.invite-secondary { color: white; font-size: .77rem; text-underline-offset: 5px; }

/* Shared inner pages. */
.page-hero { padding: 60px 0; background: url("../img/friendship-pattern.svg") right center / cover no-repeat, radial-gradient(ellipse at 100% 0, #deeff9 0 35%, transparent 35.1%), #fff8ec; border-bottom: 1px solid #eee3d1; }
.page-hero .narrow { max-width: var(--max); }
.page-hero h1 { max-width: 850px; font-size: clamp(2.2rem, 4vw, 3.25rem); }
.page-hero .lede { max-width: 800px; }
.page-hero .hero-actions { margin-top: 25px; }
.program { display: grid; grid-template-columns: .85fr 1.15fr; margin-bottom: 32px; background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; scroll-margin-top: 20px; }
.program > img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.program-copy { padding: 36px; background: var(--tint, white); border-top: 4px solid var(--accent, var(--blue)); }
.program-copy .eyebrow { font-size: .68rem; margin-bottom: 12px; }
.program-copy .lede { font-size: .95rem; }
.program-copy h2 { font-size: 2rem; color: var(--accent, var(--blue-deep)); }
.meta { margin: 24px 0 0; font-size: .88rem; }
.meta div { display: grid; grid-template-columns: 65px 1fr; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); }
.meta dt { color: var(--blue-deep); font-weight: 700; }
.meta dd { margin: 0; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.form-card { display: block; padding: 32px; background: white; color: inherit; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); }
.form-card:hover { border-color: var(--blue); background: #fafcfd; }
.form-card .index { display: block; margin-bottom: 28px; color: var(--orange); font-weight: 700; font-size: .8rem; }
.form-card h2 { font-size: 1.45rem; }
.form-card p { color: var(--muted); font-size: .92rem; margin-bottom: 0; }
.form-card::after { content: "Başvuru formunu aç ↗"; display: block; margin-top: 28px; color: var(--blue-deep); font-size: .83rem; font-weight: 700; }
.note { padding: 25px 30px; background: var(--paper); border-left: 3px solid var(--orange); }
.note-gap { margin-top: 32px; }
.note strong { color: var(--ink); }
.doc-list { margin: 10px 0 0; padding-left: 20px; }
.doc-list li + li { margin-top: 6px; }
.frame-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.frame-card iframe { display: block; width: 100%; height: 75vh; min-height: 520px; border: 0; }
.photo-grid, .contact-grid { align-items: start; }
.wide-photo figcaption, .shot figcaption, .plaque figcaption { padding: 14px 0; color: var(--muted); font-size: .85rem; }
.contact-card { padding: 0 0 32px; }
.contact-card + .contact-card { padding-top: 10px; }
.contact-card h2, .host h2 { font-size: 1.5rem; }
.contact-list { padding: 0; margin: 0; list-style: none; }
.contact-list li { padding: 16px 0; border-top: 1px solid var(--line); }
.contact-list strong { display: block; margin-bottom: 6px; color: var(--muted); font-weight: 700; font-size: .75rem; }
.contact-list a { font-weight: 700; overflow-wrap: anywhere; }
.host { display: grid; grid-template-columns: 112px 1fr; gap: 26px; padding: 30px; background: var(--paper); border-top: 3px solid var(--blue); border-radius: var(--radius); }
.host img { width: 112px; height: 136px; object-fit: cover; border-radius: 2px; }
.host p { color: var(--muted); font-size: .88rem; margin-bottom: 10px; overflow-wrap: anywhere; }
.host .eyebrow { font-size: .65rem; color: var(--blue-deep); }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.person { padding: 25px; background: var(--paper); border-radius: var(--radius); }
.person img { width: 88px; height: 104px; object-fit: cover; border-radius: 2px; }
.person .role { margin: 18px 0 6px; color: var(--blue-deep); font-size: .75rem; font-weight: 700; }
.person .name { margin: 0; font-weight: 700; font-size: 1rem; }
.tall-photo { max-height: 70vh; overflow: auto; }
.tall-photo img { width: 100%; height: auto; }

.site-footer { padding: 60px 0 25px; background: radial-gradient(ellipse at 100% 100%, #dceef9 0 30%, transparent 30.1%), #eff7fb; border-top: 1px solid #d6e8f2; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr 1fr; gap: 80px; }
.footer-logo { display: block; width: 255px; height: auto; margin-bottom: 24px; }
.site-footer p { font-size: .88rem; }
.site-footer h2 { margin: 8px 0 24px; color: var(--ink); font-size: .8rem; font-weight: 700; letter-spacing: .06em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; font-size: .84rem; }
.site-footer li { margin: 9px 0; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--blue-deep); text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 22px; border-top: 1px solid #d7e1e6; }
.footer-base p { margin: 0; font-size: .75rem; }
.footer-base p:last-child { color: var(--blue-deep); }

/* Program colours carry the same identity across cards, values and detail pages. */
.tone-blue { --accent: #006bb4; --tint: #edf7ff; }
.tone-orange { --accent: #ad481d; --tint: #fff1e5; }
.tone-sky { --accent: #147565; --tint: #eaf7f1; }
.tone-navy { --accent: #67519e; --tint: #f3eefb; }
.tone-peach { --accent: #8b6211; --tint: #fff7df; }
.principles li { padding: 24px 20px; background: var(--tint, white); border: 1px solid #ffffff; border-radius: 16px; }
.principles h3 { color: var(--accent, var(--ink)); }
.form-card:nth-child(1) { background: #edf7ff; border-top: 4px solid #0070c8; }
.form-card:nth-child(2) { background: #fff1e5; border-top: 4px solid #dc7037; }
.form-card:nth-child(3) { background: #eaf7f1; border-top: 4px solid #278575; }
.form-card:hover { box-shadow: 0 8px 24px #12334d10; }
.host { background: #eaf5fd; }
.person:nth-child(3n + 1) { background: #edf7ff; }
.person:nth-child(3n + 2) { background: #fff1e5; }
.person:nth-child(3n) { background: #eaf7f1; }

/* Inner pages extend the homepage's warm, illustrated identity. */
.is-inner { --page-tint: #e2f1fd; --page-accent: #006bb4; }
.page-about, .page-contact { --page-tint: #ddf1e9; --page-accent: #176c5e; }
.page-forms, .page-story { --page-tint: #ffe6cc; --page-accent: #aa461d; }
.page-resources { --page-tint: #ebe3f7; --page-accent: #67519e; }
.is-inner main { background: #fffcf7; }
.is-inner .page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: 68px;
    background: url("../img/friendship-pattern.svg") right center / 1440px 700px no-repeat,
        radial-gradient(ellipse at 100% 0, var(--page-tint) 0 38%, transparent 38.2%), #fff6e6;
    border-bottom: 0;
}
.is-inner .page-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: 9%;
    bottom: -125px;
    width: 240px;
    height: 240px;
    border: 28px solid #f8c66b40;
    border-radius: 50%;
    pointer-events: none;
}
.is-inner .page-hero .eyebrow { color: var(--page-accent); }
.is-inner .page-hero h1 { color: var(--page-accent); }
.is-inner .page-hero .lede { color: #435e6b; }
.is-inner .page-hero .eyebrow::before { width: 28px; height: 4px; border-radius: 4px; }
.is-inner .section.tight { padding-block: 52px; }

.about-intro .portrait { background: white; padding: 10px; border-radius: 22px; box-shadow: 0 12px 32px #12334d0d; }
.about-intro .portrait img { border-radius: 14px; }
.about-intro h2 { color: #176c5e; }
.learning-section { background: #eaf6f1; }
.learning-card { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.learning-card > .eyebrow, .learning-card > h2 { grid-column: 1 / -1; }
.learning-card > .eyebrow { color: #176c5e; }
.learning-card > h2 { margin-bottom: 30px; }
.learning-card > p:not(.eyebrow) { margin-bottom: 24px; }
.history-section { background: radial-gradient(circle at 100% 10%, #ffecd2 0 180px, transparent 181px), #fff7eb; }
.memories-section { background: #fff7eb; }
.is-inner .shot, .is-inner .plaque { background: white; padding: 10px; box-shadow: 0 8px 28px #12334d09; border: 1px solid #eee5d9; border-radius: 18px; }
.is-inner .shot img, .is-inner .plaque img, .is-inner .tall-photo { border-radius: 10px; }
.is-inner .shot figcaption, .is-inner .plaque figcaption { padding: 18px 12px 10px; }

.program-jumps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.program-jumps a { display: inline-flex; align-items: center; gap: 16px; padding: 9px 17px; min-height: 44px; background: var(--tint); color: var(--accent); border: 1px solid currentColor; border-radius: 24px; text-decoration: none; font-weight: 600; font-size: .84rem; }
.program-jumps a:hover { background: white; }
.program-list-section { background: radial-gradient(ellipse at 0 15%, #eaf5fc 0 15%, transparent 15.1%), radial-gradient(ellipse at 100% 65%, #fff0df 0 20%, transparent 20.1%), #fffcf7; }
.is-inner .program { border: 8px solid white; border-radius: 23px; box-shadow: 0 10px 30px #12334d0c; }
.is-inner .program-copy { border-top-width: 5px; }
.is-inner .program-copy .eyebrow { color: var(--accent); }
.is-inner .program-copy .eyebrow::before { background: var(--accent); }
.is-inner .meta dt { color: var(--accent); }
.is-inner .meta div { border-color: #17394c20; }

.applications-section { background: radial-gradient(ellipse at 100% 100%, #ffecd7 0 25%, transparent 25.1%), #fffcf7; }
.is-inner .form-card { position: relative; overflow: hidden; border-radius: 20px; padding: 32px; box-shadow: 0 8px 22px #12334d08; }
.is-inner .form-card:nth-child(1) { --form-accent: #006bb4; background: #e3f2fd; }
.is-inner .form-card:nth-child(2) { --form-accent: #aa461d; background: #ffead8; }
.is-inner .form-card:nth-child(3) { --form-accent: #176c5e; background: #dff3e9; }
.is-inner .form-card .index { display: grid; place-items: center; width: 48px; height: 48px; background: var(--form-accent); border-radius: 50%; color: white; font-size: .95rem; margin-bottom: 24px; }
.is-inner .form-card h2, .is-inner .form-card::after { color: var(--form-accent); }
.is-inner .form-card:hover { border-color: var(--form-accent); box-shadow: 0 12px 28px #12334d12; }
.is-inner .note { background: #fff0d4; border-radius: 14px; border-left-width: 5px; }
.is-inner .note strong { color: #865412; font-size: 1.1rem; }
.form-embed-section { background: #edf6fc; }
.is-inner .frame-card { border: 8px solid white; border-radius: 22px; background: white; box-shadow: 0 12px 32px #12334d0d; }

.contact-section { background: radial-gradient(ellipse at 100% 0, #e4f3fb 0 28%, transparent 28.1%), #fffcf7; }
.is-inner .contact-card { background: #fff0df; border: 1px solid #f2dfc9; border-radius: 20px; padding: 28px; }
.is-inner .contact-card + .contact-card { margin-top: 24px; padding: 28px; background: #e8f5ee; border-color: #d7e9de; }
.is-inner .contact-card h2 { color: #a14e22; }
.is-inner .contact-card + .contact-card h2 { color: #176c5e; }
.is-inner .host { background: #deeffb; border: 7px solid white; border-radius: 22px; box-shadow: 0 12px 32px #12334d0c; }
.is-inner .host img { border: 4px solid white; border-radius: 12px; }
.is-inner .host h2 { color: var(--blue-deep); }
.team-section { background: #f0f7fb; }
.is-inner .person { border: 3px solid white; border-radius: 20px; box-shadow: 0 6px 18px #12334d06; }
.is-inner .person img { border: 4px solid white; border-radius: 12px; }

.letter-section { background: radial-gradient(ellipse at 0 15%, #ffe9cf 0 19%, transparent 19.1%), #fff6e9; }
.letter-card { position: relative; padding: 48px 56px; background: #fffefb; border: 1px solid #f0dfc6; border-radius: 20px; box-shadow: 0 12px 36px #7d4e1910; }
.letter-card::before { content: ""; position: absolute; top: -11px; left: 42px; width: 86px; height: 25px; transform: rotate(-5deg); background: #f8c66bb8; }
.letter-card > p:first-child { color: #73512d; font-size: 1.15rem; padding-bottom: 24px; border-bottom: 2px solid #f3d8ac; }
.resource-links { display: grid; gap: 18px; }
.resource-links li { padding: 26px 30px; background: #e9f4fd; border: 1px solid #d5e8f5; border-radius: 18px; }
.resource-links li:nth-child(2) { background: #e8f5ee; border-color: #d7e9de; }
.resource-links li:nth-child(3) { background: #fff0df; border-color: #f2dfc9; }
.resource-links strong { color: var(--ink); font-size: .9rem; }
.resource-links a { display: inline-block; padding-block: 8px; }

@media (max-width: 1120px) {
    .site-nav { gap: 17px; }
    .site-nav a { font-size: .8rem; }
    .brand-full { width: 215px; }
    .hero-grid { gap: 32px; }
    .hero h1 { font-size: 3rem; }
    .program-grid { gap: 16px; }
    .program-card-body { padding: 20px 16px; }
    .program-kicker { min-height: 32px; }
    .facts li { padding-inline: 18px; }
    .facts strong { font-size: .92rem; }
    .footer-grid { gap: 40px; }
}
@media (max-width: 979px) {
    :root { --header: 86px; }
    .wrap { width: calc(100% - 48px); }
    .brand-full { width: 215px; }
    .nav-toggle { display: inline-flex; }
    .site-nav { display: none; }
    .site-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 15px 24px 24px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 16px 25px #12334d12; max-height: calc(100dvh - var(--header)); overflow-y: auto; }
    .site-nav a { padding: 14px 4px; font-size: 1rem; }
    .site-nav a[aria-current="page"]::after { right: auto; width: 24px; bottom: 6px; }
    .site-nav .nav-apply { margin: 14px 0 0; padding: 12px 18px; }
    .hero { padding: 44px 0; }
    .hero h1 { font-size: 2.6rem; }
    .hero-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .carousel-stage { height: 390px; }
    .photo-label { display: none; }
    .hero-actions { gap: 20px; }
    .hero .eyebrow { font-size: .62rem; }
    .facts { grid-template-columns: 1fr 1fr; gap: 26px 0; }
    .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
    .facts strong { font-size: 1.05rem; }
    .program-grid, .principles { grid-template-columns: 1fr 1fr; }
    .program-kicker { min-height: 0; }
    .program-image img { height: 215px; }
    .section { padding-block: 60px; }
    .split, .photo-grid, .contact-grid { gap: 30px; }
    .portrait img { height: 340px; }
    .story-grid { grid-template-columns: 1fr 1.7fr; gap: 25px; }
    .program { grid-template-columns: .8fr 1.2fr; }
    .program-copy { padding: 26px; }
    .form-grid { gap: 16px; }
    .form-card { padding: 24px 20px; }
    .host { grid-template-columns: 1fr; }
    .invite { padding: 34px; gap: 30px; }
    .invite-section { padding-top: 0; }
    .people { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1.2fr .8fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; max-width: 500px; }
}
@media (max-width: 699px) {
    :root { --header: 80px; }
    html { scroll-padding-top: 100px; }
    .wrap { width: calc(100% - 40px); }
    .utility-inner { min-height: 30px; font-size: .59rem; gap: 5px; }
    .utility-inner > span { max-width: 235px; }
    .utility-inner a { font-size: .6rem; white-space: nowrap; }
    .brand-full { width: 195px; }
    .hero { padding: 36px 0 32px; }
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero .eyebrow { font-size: .65rem; margin-bottom: 20px; }
    .hero h1 { font-size: clamp(2.1rem, 8.5vw, 3.2rem); margin-bottom: 20px; }
    .hero .lede { font-size: .98rem; max-width: 100%; }
    .hero-actions { gap: 22px; margin-top: 25px; }
    .hero-actions .btn { padding-inline: 18px; gap: 16px; }
    .hero-note { margin-top: 22px; font-size: .7rem; }
    .carousel-toolbar { left: 17px; right: 17px; }
    .carousel-dots { padding-inline: 3px; }
    .hero-photo { transform: none; margin-top: 8px; animation-name: hero-photo-float-mobile; }
    @keyframes hero-photo-float-mobile {
        from { transform: translate3d(0, 3px, 0); }
        to { transform: translate3d(0, -5px, 0); }
    }
    .carousel-stage { height: auto; aspect-ratio: 1.45; }
    .hero-photo .carousel-caption { font-size: .78rem; padding-inline: 16px; }
    .facts { padding: 26px 0; gap: 22px 0; }
    .facts li { padding-inline: 15px; }
    .facts strong { font-size: .84rem; }
    .facts span { font-size: .68rem; }
    .section { padding-block: 48px; }
    .section.tight { padding-block: 28px; }
    .section-head { align-items: flex-start; flex-direction: column; gap: 15px; margin-bottom: 24px; }
    h2 { font-size: 1.9rem; }
    .section-intro { font-size: .9rem; margin-top: 0; }
    .program-grid { grid-template-columns: 1fr; gap: 22px; }
    .program-image img { height: auto; aspect-ratio: 1.7; }
    .program-card-body { padding: 24px; }
    .program-card-body .program-kicker { font-size: .7rem; }
    .program-card-body > p { font-size: .95rem; }
    .program-card h3 { color: var(--accent, var(--blue-deep)); font-size: 1.6rem; }
    .branch-link { flex-wrap: wrap; gap: 6px 15px; padding: 20px; font-size: .86rem; }
    .branch-tag { width: calc(100% - 36px); }
    .branch-link > span:nth-child(2) { order: 3; }
    .branch-link > span:last-child { align-self: flex-start; }
    .split, .photo-grid, .contact-grid, .story-grid { grid-template-columns: 1fr; gap: 30px; }
    .portrait img { height: auto; aspect-ratio: 1.45; }
    .values-wrap { margin-top: 36px; padding-top: 30px; }
    .principles { gap: 16px; }
    .principles li { padding: 20px 14px; }
    .principles h3 { font-size: 1.12rem; }
    .principles p { font-size: .83rem; }
    .pullquote { padding-left: 22px; }
    .pullquote p { font-size: 1.3rem; }
    .story-grid h2 br { display: none; }
    .video-grid { grid-template-columns: 1fr; gap: 20px; }
    .video-card > span { bottom: 18px; left: 20px; font-size: 1rem; }
    .play { width: 48px; height: 48px; }
    .play::before { left: 20px; top: 16px; border-width: 8px 0 8px 11px; }
    .invite-section { padding-top: 0; }
    .invite { grid-template-columns: 1fr; padding: 30px 24px; gap: 26px; }
    .invite .eyebrow { font-size: .62rem; }
    .invite h2 { font-size: 1.8rem; }
    .invite-actions { justify-items: start; }
    .page-hero, .is-inner .page-hero { padding: 38px 0; }
    .is-inner .section.tight { padding-block: 32px; }
    .is-inner .page-hero { background-size: 1000px 600px, auto, auto; }
    .learning-card { grid-template-columns: 1fr; }
    .learning-card > h2 { margin-bottom: 20px; }
    .is-inner .form-card { padding: 26px; }
    .is-inner .contact-card, .is-inner .contact-card + .contact-card { padding: 24px; }
    .is-inner .host { grid-template-columns: 1fr; }
    .is-inner .program { border-width: 6px; }
    .program-jumps { gap: 8px; }
    .program-jumps a { padding: 8px 13px; font-size: .79rem; }
    .letter-card { padding: 34px 24px; }
    .resource-links li { padding: 22px; }
    .page-hero h1 { font-size: 2.3rem; }
    .lede { font-size: 1rem; }
    .program { grid-template-columns: 1fr; scroll-margin-top: 20px; }
    .program > img { min-height: 0; height: auto; aspect-ratio: 1.65; }
    .program-copy { padding: 25px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-card { padding: 28px; }
    .form-card .index { margin-bottom: 18px; }
    .form-card::after { margin-top: 20px; }
    .host { grid-template-columns: 88px 1fr; padding: 24px; gap: 20px; }
    .host img { width: 88px; height: 110px; }
    .host .eyebrow::before { display: none; }
    .people { grid-template-columns: 1fr 1fr; gap: 16px; }
    .person { padding: 22px 16px; }
    .person .name { font-size: .94rem; }
    .site-footer { padding-top: 40px; }
    .footer-grid { grid-template-columns: 1fr; gap: 25px; }
    .footer-grid > div:first-child { grid-column: auto; }
    .footer-logo { width: 230px; }
    .site-footer h2 { margin-bottom: 16px; }
    .footer-base { flex-direction: column; gap: 5px; margin-top: 30px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
