@font-face { font-family: "Rubik"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url(../fonts/rubik-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url(../fonts/rubik-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Tokens: teal-tinted neutrals; teal owns LGS and structure, orange owns YKS and calls to action. */
:root {
  --paper: #FAF7F2;
  --paper-2: #F1ECE3;
  --white: #FFFFFF;
  --line: #E3DCD0;
  --line-soft: #ECE6DC;
  --ink: #0F2524;
  --ink-2: #435856;
  --ink-3: #6D7E7C;
  --teal: #1B9C96;
  --teal-soft: #7FD1CB;
  --teal-deep: #0D4744;
  --teal-night: #082F2D;
  --accent: #F07D0C;
  --accent-hover: #FF8E22;
  --accent-ink: #A24E00;
  --on-dark: rgba(250, 247, 242, .72);
  --on-dark-2: rgba(250, 247, 242, .5);
  --on-dark-line: rgba(250, 247, 242, .14);
  --glass: rgba(250, 247, 242, .1);
  --shadow: 0 1px 2px rgba(8, 47, 45, .04), 0 12px 32px -18px rgba(8, 47, 45, .22);
  --shadow-lift: 0 2px 4px rgba(8, 47, 45, .05), 0 32px 64px -28px rgba(8, 47, 45, .34);
  --glow: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(27, 156, 150, .26), transparent 70%);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1240px;
  --header-h: 96px;
  --topbar-h: 40px;
  --font: "Rubik", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.7 var(--font); -webkit-font-smoothing: antialiased; }
/* Film grain over the whole page breaks the flat digital fill. */
body::after { content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; background-image: var(--grain); opacity: .06; mix-blend-mode: overlay; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font); line-height: 1.06; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
h1 { font-weight: 600; }
h2 { font-weight: 500; font-size: clamp(34px, 4.4vw, 58px); }
h3 { font-weight: 500; font-size: 22px; letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--teal); color: var(--white); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.section { padding-block: clamp(36px, 3.5vw, 52px); }
.section.tint { background: var(--paper-2); }
/* Two consecutive plain sections share one gap instead of stacking two. */
.section:not(.tint):not(.dark) + .section:not(.tint):not(.dark) { padding-top: 0; }
.section.dark { background: var(--glow), var(--teal-night); color: var(--paper); }

/* Section label: hairlines either side keep it centered and quiet. */
.kicker { display: inline-flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--teal-deep); }
.kicker::before, .kicker::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .45; }
.feature-text .kicker::after { display: none; }
.dark .kicker, .cta-band .kicker, .mv .kicker, .aside-cta .kicker { color: var(--accent); }
.head { display: grid; justify-items: center; text-align: center; gap: 20px; max-width: 760px; margin: 0 auto clamp(28px, 3vw, 44px); }
.head:last-child { margin-bottom: 0; }
.head p { color: var(--ink-2); font-size: 18px; max-width: 600px; }
.dark .head p { color: var(--on-dark); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px; border-radius: 999px; font: 500 16px/1 var(--font); letter-spacing: .005em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), transform .2s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-accent { background: var(--accent); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 12px 24px -14px rgba(240, 125, 12, .8); }
.btn-accent:hover { background: var(--accent-hover); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 18px 32px -14px rgba(240, 125, 12, .85); }
.btn-teal { background: var(--teal-deep); color: var(--white); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 12px 24px -14px rgba(8, 47, 45, .7); }
.btn-teal:hover { background: var(--teal-night); }
.btn-line { border-color: currentColor; }
.btn-line:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--white); }

/* Top bar */
.topbar { background: var(--teal-night); color: var(--on-dark); font-size: 13px; letter-spacing: .02em; }
.topbar .container { height: var(--topbar-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar a { text-decoration: none; transition: color .2s; }
.topbar a:hover { color: var(--paper); }
.topbar-end { display: flex; gap: 24px; }
.topbar span::before, .topbar-end a::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: middle; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; height: var(--header-h); background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 12px 32px -24px rgba(8, 47, 45, .35); }
.nav { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { justify-self: start; }
.brand img { height: 76px; width: auto; }
.nav-links { display: flex; gap: 6px; }
.nav-links a { position: relative; display: block; padding: 10px 14px; text-decoration: none; font-weight: 400; font-size: 16px; color: var(--ink-2); transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--accent); opacity: 0; transform: translateY(4px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.nav-links a[aria-current="page"]::after { opacity: 1; transform: none; }
.nav-end { justify-self: end; display: flex; align-items: center; gap: 20px; }
.nav-phone { font-weight: 500; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.btn { white-space: nowrap; }
/* The top bar already carries the phone; drop the header copy before the menu gets crowded. */
@media (max-width: 1360px) { .nav-phone { display: none; } }
.nav-end .btn { height: 46px; padding: 0 22px; font-size: 15px; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; color: var(--ink); cursor: pointer; }

/* Home split hero */
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.split-wrap { position: relative; }
.split { display: grid; grid-template-columns: 1fr 1fr; height: calc(100svh - var(--header-h) - var(--topbar-h)); min-height: 620px; }
.split-side { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; text-align: center; padding: clamp(40px, 6vw, 88px); color: var(--paper); text-decoration: none; }
.split-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: settle 2.6s var(--ease-out) both; }
.split-side::before { content: ""; position: absolute; inset: 0; z-index: -1; transition: opacity .5s var(--ease); }
/* Shade only the lower band that holds the text, so the faces and the studio color stay bright. */
.split-side.lgs::before { background: linear-gradient(180deg, transparent 38%, rgba(13, 71, 68, .84) 62%, rgba(13, 71, 68, .97) 100%); }
.split-side.yks::before { background: linear-gradient(180deg, transparent 38%, rgba(15, 37, 36, .84) 62%, rgba(15, 37, 36, .97) 100%); }
.split-side::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; transform-origin: center; transition: transform .6s var(--ease-out); transform: scaleX(.18); }
.split-side:hover::after { transform: scaleX(1); }
.split-side.lgs::after { background: var(--teal); }
.split-side.yks::after { background: var(--accent); }
.split-side img { transition: transform 1.4s var(--ease-out); }
.split-side:hover img { transform: scale(1.035); }
.split-body { display: grid; justify-items: center; gap: 22px; max-width: 500px; animation: rise 1.1s .25s var(--ease-out) both; }
.split-side.yks .split-body { animation-delay: .4s; }
/* Label with a colored dot; used on every dark surface that names a branch. */
.split-tag { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--paper); }
.split-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(250, 247, 242, .12); }
.lgs .split-tag::before, .lgs-tag::before { background: var(--teal-soft); }
.yks .split-tag::before, .yks-tag::before { background: var(--accent); }
.split-body h1 { white-space: nowrap; font-size: clamp(48px, 5.6vw, 88px); letter-spacing: -0.045em; line-height: .95; }
.split-body p { color: var(--on-dark); font-size: 18px; max-width: 420px; }
.split-points { display: flex; flex-wrap: wrap; justify-content: center; font-size: 14px; letter-spacing: .02em; color: var(--paper); }
.split-points li + li::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--on-dark-2); margin: 0 14px; vertical-align: middle; }
.split-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font-weight: 500; padding: 15px 26px; border-radius: 999px; background: var(--glass); border: 1px solid rgba(250, 247, 242, .28); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--paper); transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), gap .3s var(--ease); }
.split-side:hover .split-cta { gap: 14px; background: var(--paper); border-color: var(--paper); color: var(--ink); }
.split-cta svg { width: 18px; height: 18px; }
.split-wrap::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(250, 247, 242, .22); z-index: 2; pointer-events: none; }
/* Centered with inset + auto margins, not transform: the rise animation owns transform and would cancel a translate. */
.split-divider { position: absolute; inset: 0; margin: auto; z-index: 3; width: 128px; height: 128px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(250, 247, 242, .16), 0 0 0 11px rgba(250, 247, 242, .26), 0 28px 56px -20px rgba(0, 0, 0, .5); pointer-events: none; animation: rise 1s .1s var(--ease-out) both; }
.split-divider img { width: 86px; height: auto; }

/* Page hero (inner pages) */
/* Text beside an unshaded photo: the studio photos carry their own color and lose it under an overlay. */
.page-hero { position: relative; background: var(--paper-2); padding-block: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line-soft); }
.page-hero .container { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: clamp(32px, 5vw, 80px); }
.page-hero-text { display: grid; justify-items: start; gap: 16px; animation: rise 1s .15s var(--ease-out) both; }
.page-hero-text::after { content: ""; width: 56px; height: 4px; border-radius: 2px; margin-top: 8px; }
.page-hero.orange .page-hero-text::after { background: var(--accent); }
.page-hero.teal .page-hero-text::after { background: var(--teal); }
.page-hero .split-tag { color: var(--ink-2); }
.page-hero .split-tag::before { box-shadow: none; }
.page-hero.teal .split-tag::before { background: var(--teal); }
.page-hero-img { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--shadow-lift); animation: rise 1s .3s var(--ease-out) both; }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.crumbs { display: flex; gap: 12px; font-size: 13px; letter-spacing: .06em; color: var(--ink-3); }
.crumbs a { text-decoration: none; transition: color .2s; }
.crumbs a:hover { color: var(--ink); }
.page-hero h1 { font-size: clamp(34px, 4.2vw, 56px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
.page-hero p { font-size: 17px; color: var(--ink-2); max-width: 520px; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stat { text-align: center; padding: 48px 16px 8px; display: grid; gap: 10px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(48px, 5.2vw, 76px); font-weight: 300; letter-spacing: -0.045em; color: var(--ink); line-height: 1; font-variant-numeric: lining-nums; }
.stat span { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }

/* Cards */
.card { position: relative; background: var(--white); border-radius: var(--radius-lg); padding: 44px 32px 40px; display: grid; gap: 12px; align-content: start; text-align: center; justify-items: center; box-shadow: var(--shadow); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card p { color: var(--ink-2); }
.card h3 { margin-top: 4px; }
.icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: var(--teal-deep); border: 1px solid var(--line); background: linear-gradient(180deg, var(--white), var(--paper)); margin-bottom: 10px; box-shadow: 0 0 0 6px var(--paper); }
.icon svg { width: 26px; height: 26px; stroke-width: 1.5; }
.icon.orange { color: var(--accent-ink); }
.dark .card { background: rgba(250, 247, 242, .04); box-shadow: inset 0 0 0 1px var(--on-dark-line); }
.dark .card p { color: var(--on-dark); }
.dark .icon { background: rgba(250, 247, 242, .06); border-color: var(--on-dark-line); box-shadow: none; color: var(--accent); }

/* Branch comparison (home) */
.branch { border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow); display: grid; grid-template-rows: auto 1fr; transition: box-shadow .4s var(--ease-out), transform .4s var(--ease-out); }
.branch:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.branch-top { position: relative; isolation: isolate; overflow: hidden; min-height: 400px; padding: 48px 36px 40px; text-align: center; display: grid; justify-items: center; align-content: end; gap: 14px; color: var(--paper); }
.branch-top img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.branch:hover .branch-top img { transform: scale(1.04); }
.branch-top::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.branch-top img { object-position: center 20%; }
.branch.lgs .branch-top::before { background: linear-gradient(180deg, transparent 25%, rgba(13, 71, 68, .9) 68%, rgba(13, 71, 68, .97)); }
.branch.yks .branch-top::before { background: linear-gradient(180deg, transparent 25%, rgba(8, 47, 45, .9) 68%, rgba(8, 47, 45, .97)); }
.branch-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; }
.branch.lgs .branch-top::after { background: var(--teal); }
.branch.yks .branch-top::after { background: var(--accent); }
.branch-top h3 { font-size: clamp(34px, 3.4vw, 44px); font-weight: 600; letter-spacing: -0.035em; }
.branch-top p { color: var(--on-dark); }
.branch-body { padding: 36px 40px 44px; display: grid; gap: 32px; align-content: space-between; }
.checks { display: grid; }
.checks li { display: flex; gap: 14px; align-items: flex-start; padding-block: 13px; }
.checks li + li { border-top: 1px solid var(--line-soft); }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: rgba(27, 156, 150, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D4744' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.branch.yks .checks li::before { background-color: rgba(240, 125, 12, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A24E00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.branch-body .btn { justify-self: center; }

/* Split feature row: image + text, equal halves */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.feature + .feature { margin-top: clamp(64px, 8vw, 104px); }
.feature.flip > :first-child { order: 2; }
.feature-img { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; background: var(--paper-2); box-shadow: var(--shadow-lift); }
.feature-img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(8, 47, 45, .08); pointer-events: none; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.feature-img:hover img { transform: scale(1.03); }
.feature-text { display: grid; gap: 22px; justify-items: start; }
.feature-text h2 { font-size: clamp(32px, 3.6vw, 50px); }
.feature-text p { color: var(--ink-2); font-size: 18px; max-width: 540px; }
.feature-text .checks { margin-top: 4px; width: 100%; }

/* Mission / vision */
.mv { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(40px, 5vw, 64px); text-align: center; display: grid; gap: 18px; justify-items: center; color: var(--paper); }
.mv.teal { background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(127, 209, 203, .22), transparent 70%), var(--teal-deep); }
.mv.night { background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(240, 125, 12, .16), transparent 70%), var(--teal-night); }
.mv::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 96px; height: 4px; transform: translateX(-50%); }
.mv.teal::after { background: var(--teal-soft); }
.mv.night::after { background: var(--accent); }
.mv .icon { background: rgba(250, 247, 242, .08); border-color: var(--on-dark-line); box-shadow: none; color: var(--accent); }
.mv h3 { font-size: 30px; }
.mv p { color: var(--on-dark); font-size: 18px; max-width: 460px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; border-top: 1px solid var(--line); }
.step { text-align: center; display: grid; justify-items: center; align-content: start; gap: 12px; padding: 40px 20px 0; position: relative; }
.step + .step { border-left: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-size: 56px; font-weight: 300; line-height: 1; letter-spacing: -0.04em; color: var(--teal); margin-bottom: 8px; }
.step::after { content: ""; position: absolute; top: -1px; left: 50%; width: 40px; height: 2px; margin-left: -20px; background: var(--accent); }
.step p { color: var(--ink-2); font-size: 16px; max-width: 240px; }

/* Seats graphic */
.seats-box { background: var(--white); border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 64px); display: grid; gap: 28px; justify-items: center; text-align: center; box-shadow: var(--shadow-lift); }
.seats { display: grid; grid-template-columns: repeat(4, 64px); gap: 12px; }
.seats span { aspect-ratio: 1; border-radius: 16px; background: linear-gradient(160deg, var(--teal), var(--teal-deep)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
.seats span:nth-child(6) { background: linear-gradient(160deg, var(--accent-hover), var(--accent)); }
/* Classes run with 8 or 12 students: the last row is drawn lighter. */
.seats span:nth-child(n+9) { background: transparent; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--teal) 45%, transparent); }
.seats-box p { color: var(--ink-2); max-width: 360px; }

/* Results */
/* Every row takes the height of the tallest card, so the whole list reads as one even grid. */
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 20px; }
.result { position: relative; overflow: hidden; border-radius: var(--radius); padding: 28px 22px 24px; background: linear-gradient(180deg, rgba(250, 247, 242, .07), rgba(250, 247, 242, .02)); box-shadow: inset 0 0 0 1px var(--on-dark-line); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; text-decoration: none; }
.result .icon { width: 48px; height: 48px; margin-bottom: 8px; }
.result .icon svg { width: 22px; height: 22px; }
.result .year { font-size: 11px; font-weight: 500; letter-spacing: .2em; color: var(--on-dark-2); margin-bottom: 6px; }
.result .student { font-size: 20px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.result .dept { font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--accent); text-wrap: balance; }
/* Room for two lines, centered, so the divider sits at the same height whether the school name wraps or not. */
.result .school { font-size: 14px; line-height: 1.45; color: var(--on-dark); margin-top: auto; padding-top: 16px; border-top: 1px solid var(--on-dark-line); width: 100%; min-height: calc(2 * 1.45em + 18px); display: grid; place-items: center; text-wrap: balance; }
.result .student + .dept { margin-bottom: 16px; }
.result.cta { background: radial-gradient(ellipse 90% 70% at 50% 0%, rgba(255, 255, 255, .22), transparent 70%), var(--accent); box-shadow: none; color: var(--ink); justify-content: center; transition: background-color .25s, transform .4s var(--ease-out); }
.result.cta:hover { background-color: var(--accent-hover); transform: translateY(-4px); }
.result.cta .big { font-size: 24px; font-weight: 500; line-height: 1.15; letter-spacing: -0.025em; }
.result.cta svg { width: 44px; height: 44px; margin-bottom: 12px; padding: 10px; border-radius: 50%; border: 1px solid rgba(15, 37, 36, .3); transition: transform .3s var(--ease); }
.result.cta:hover svg { transform: rotate(45deg); }
.light-results .result { background: var(--white); box-shadow: var(--shadow); }
.light-results .result .year { color: var(--ink-3); }
.light-results .result .dept { color: var(--accent-ink); }
.light-results .result .school { color: var(--ink-2); border-top-color: var(--line); }

/* Services */
.service-card { display: grid; grid-template-rows: auto 1fr; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.service-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); position: relative; }
.service-img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--teal); }
.service-card.yks .service-img::after { background: var(--accent); }
.service-card.ortak .service-img::after { background: linear-gradient(90deg, var(--teal) 50%, var(--accent) 50%); }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.service-card:hover .service-img img { transform: scale(1.04); }
.service-body { display: grid; gap: 12px; align-content: start; justify-items: center; text-align: center; padding: 32px 28px 36px; }
.service-branch { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-deep); }
.service-card.yks .service-branch { color: var(--accent-ink); }
.service-card.ortak .service-branch { color: var(--ink-2); }
.service-body p { color: var(--ink-2); }
.service-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 500; color: var(--ink); transition: gap .25s var(--ease); }
.service-more svg { width: 18px; height: 18px; }
.service-card:hover .service-more { gap: 12px; }
.section-action { display: flex; justify-content: center; margin-top: 48px; }

/* Long-form text (service pages) */
.prose { max-width: 720px; margin-inline: auto; font-size: 18px; color: var(--ink-2); }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: clamp(28px, 3vw, 38px); color: var(--ink); margin-top: 56px; }
.prose h3 { color: var(--ink); margin-top: 40px; }
.prose h2 + *, .prose h3 + * { margin-top: 16px; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding: 0; display: grid; }
.prose ul { list-style: none; }
.prose ul li { position: relative; padding: 12px 0 12px 32px; }
.prose ul li + li { border-top: 1px solid var(--line-soft); }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.prose ol { padding-left: 24px; gap: 10px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--teal-deep); text-underline-offset: 3px; }
.prose blockquote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font-size: 21px; color: var(--ink); }
.pre { white-space: pre-line; }

/* Service page: article on the left, sticky aside with related services and enrolment on the right */
.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(48px, 6vw, 96px); align-items: start; }
.service-layout .prose { margin-inline: 0; max-width: 760px; }
.service-aside { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 20px; }
/* A sticky aside taller than the window would hide its own enrolment box. */
@media (max-height: 860px) { .service-aside { position: static; } }
.aside-box { background: var(--white); border-radius: var(--radius-lg); padding: 24px 24px 18px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.aside-list { list-style: none; margin: 0; padding: 0; display: grid; }
.aside-list li + li { border-top: 1px solid var(--line-soft); }
.aside-link { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 14px; padding: 10px 0; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 16px; line-height: 1.35; transition: color .2s; }
.aside-link img { width: 48px; height: 48px; border-radius: var(--radius-sm); object-fit: cover; box-shadow: inset 0 -3px 0 var(--teal); }
.aside-link span { display: grid; gap: 2px; }
.aside-link small { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-deep); }
.aside-link.yks small { color: var(--accent-ink); }
.aside-link.ortak small { color: var(--ink-3); }
.aside-link svg, .aside-all svg { width: 18px; height: 18px; flex: none; }
.aside-link svg { color: var(--ink-3); transition: transform .3s var(--ease-out), color .2s; }
.aside-link:hover { color: var(--teal-deep); }
.aside-link:hover svg { transform: translateX(3px); color: var(--ink); }
.service-aside .kicker::after { display: none; }
.aside-all { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding-top: 4px; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; }
.aside-all:hover { gap: 12px; }
.aside-cta { background: linear-gradient(180deg, var(--teal-deep), var(--teal-night)); color: var(--paper); border-radius: var(--radius-lg); padding: 26px 24px; display: grid; grid-template-columns: 1fr auto; gap: 12px; box-shadow: var(--shadow-lift); }
.aside-cta > :not(.btn) { grid-column: 1 / -1; }
.aside-cta .btn { height: 48px; padding: 0 18px; font-size: 15px; }
.aside-cta h2 { font-size: 23px; line-height: 1.2; letter-spacing: -0.02em; }
.aside-cta p { color: var(--on-dark); font-size: 15px; line-height: 1.6; }

/* 404 */
.not-found { padding-block: clamp(96px, 14vw, 180px); text-align: center; background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(27, 156, 150, .12), transparent 70%); }
.not-found .container { display: grid; justify-items: center; gap: 22px; max-width: 720px; }
.not-found-code { font-size: clamp(96px, 14vw, 168px); font-weight: 300; line-height: .9; letter-spacing: -0.06em; color: var(--teal); }
.not-found h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 500; }
.not-found p { color: var(--ink-2); font-size: 18px; max-width: 520px; }
.light-results .result.cta { background: radial-gradient(ellipse 90% 70% at 50% 0%, rgba(255, 255, 255, .22), transparent 70%), var(--accent); box-shadow: none; }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 4px; font-size: 20px; font-weight: 500; letter-spacing: -0.01em; transition: color .2s; }
.faq summary:hover { color: var(--teal-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 22px; font-weight: 300; line-height: 1; color: var(--teal-deep); transition: transform .3s var(--ease), background-color .3s, border-color .3s, color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--teal-deep); border-color: var(--teal-deep); color: var(--paper); }
.faq details p { padding: 0 72px 28px 4px; color: var(--ink-2); font-size: 17px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; color: var(--paper); border-radius: 32px; padding: clamp(64px, 8vw, 112px) 24px; text-align: center; display: grid; justify-items: center; gap: 22px; background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(27, 156, 150, .35), transparent 70%), linear-gradient(180deg, var(--teal-deep), var(--teal-night)); box-shadow: var(--shadow-lift); }
.cta-band::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 120px; height: 4px; transform: translateX(-50%); background: var(--accent); }
.cta-band h2 { font-size: clamp(36px, 5vw, 68px); max-width: 820px; }
.cta-band p { color: var(--on-dark); font-size: 18px; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }
.cta-band .btn-line { color: var(--paper); border-color: rgba(250, 247, 242, .4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.cta-band .btn-line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* Contact */
.info-card { text-align: center; display: grid; justify-items: center; gap: 8px; background: var(--white); border-radius: var(--radius-lg); padding: 40px 24px; text-decoration: none; box-shadow: var(--shadow); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
a.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.info-card small { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.info-card strong { font-size: 19px; font-weight: 500; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(32px, 4vw, 56px); display: grid; gap: 20px; align-content: start; box-shadow: var(--shadow-lift); }
.form-card h2 { font-size: clamp(28px, 3vw, 40px); text-align: center; }
.form-card .kicker { justify-self: center; }
.form-card > p { text-align: center; color: var(--ink-2); margin-top: -6px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--ink-2); }
.field input, .field select { height: 54px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 16px; font: 400 16px var(--font); color: var(--ink); background: var(--paper); appearance: none; transition: border-color .2s, box-shadow .2s, background-color .2s; width: 100%; }
.field input:hover, .field select:hover { border-color: #D3CABB; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%230F2524' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--teal); background-color: var(--white); box-shadow: 0 0 0 4px rgba(27, 156, 150, .14); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card .btn { width: 100%; margin-top: 4px; }
.form-note { font-size: 13px; color: var(--ink-3); text-align: center; }
.form-note a { color: var(--teal-deep); text-underline-offset: 3px; }
.map-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); min-height: 420px; box-shadow: var(--shadow-lift); }
.map-card iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* Footer */
.site-footer { background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(27, 156, 150, .18), transparent 70%), var(--teal-night); color: var(--paper); padding-block: 96px 36px; }
/* Flex, not a fixed grid: editors choose how many link columns the footer has. */
.footer-grid { display: flex; gap: 40px; }
.footer-grid > * { flex: 1 1 0; min-width: 0; }
.footer-grid > .footer-brand { flex-grow: 1.3; }
.footer-grid h4 { margin: 0 0 20px; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.footer-grid li + li { margin-top: 12px; }
.footer-grid a { text-decoration: none; color: var(--on-dark); transition: color .2s; }
.footer-grid a:hover { color: var(--paper); }
.footer-brand img { height: 72px; width: auto; margin-bottom: 20px; }
.footer-brand p { color: var(--on-dark); font-size: 15px; max-width: 280px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--on-dark-line); font-size: 13px; letter-spacing: .02em; color: var(--on-dark-2); }
.footer-bottom a { text-decoration: none; transition: color .2s; }
.footer-bottom a:hover { color: var(--paper); }
.footer-bottom nav { display: flex; gap: 24px; }
.footer-end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.credit { display: inline-flex; align-items: center; gap: 7px; }
.credit svg { width: 18px; height: 18px; opacity: .85; transition: opacity .2s; }
.credit b { font-weight: 600; letter-spacing: .08em; }
.credit:hover svg { opacity: 1; }

/* WhatsApp */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: var(--teal-deep); color: var(--white); display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(13, 71, 68, .12), 0 18px 36px -12px rgba(8, 47, 45, .6); transition: transform .25s var(--ease), background-color .25s; }
.wa-float:hover { transform: scale(1.06); background: var(--teal); }
.wa-float svg { width: 26px; height: 26px; }

/* Reveal, staggered inside grids */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.card.reveal.in:hover, .branch.reveal.in:hover, .service-card.reveal.in:hover, .result.cta.reveal.in:hover, a.info-card.reveal.in:hover { transform: translateY(-4px); }
:is(.grid-2, .grid-3, .grid-4) > .reveal:nth-child(2) { transition-delay: .08s; }
:is(.grid-2, .grid-3, .grid-4) > .reveal:nth-child(3) { transition-delay: .16s; }
:is(.grid-2, .grid-3, .grid-4) > .reveal:nth-child(4) { transition-delay: .24s; }
:is(.grid-2, .grid-3, .grid-4) > .reveal.in { transition-property: opacity, transform, box-shadow; }
:is(.grid-2, .grid-3, .grid-4) > .reveal.in:hover { transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}

/* Responsive */
@media (max-width: 1080px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .menu-btn { display: block; }
  .nav-links.open { display: grid; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--paper); padding: 8px 24px 24px; gap: 0; border-bottom: 1px solid var(--line); box-shadow: 0 24px 32px -24px rgba(8, 47, 45, .3); }
  .nav-links.open a { padding: 18px 4px; border-bottom: 1px solid var(--line); font-size: 19px; color: var(--ink); }
  .nav-links.open a::after { left: auto; right: 4px; top: 50%; bottom: auto; margin: -2.5px 0 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .service-layout { grid-template-columns: 1fr; }
  .service-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
  .results-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { border-left: 0; }
  .step:nth-child(n+3) { margin-top: 40px; border-top: 1px solid var(--line); }
  .footer-grid { flex-wrap: wrap; }
  .footer-grid > * { flex-basis: calc(50% - 20px); }
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .split-wrap::before { display: none; }
  .split-side { min-height: max(560px, calc((100svh - var(--header-h) - var(--topbar-h)) * .8)); }
  .page-hero .container { grid-template-columns: 1fr; }
  .page-hero-text { justify-items: center; text-align: center; }
  .split-body { gap: 16px; }
  .split-body p { font-size: 16px; }
  .split-divider { display: none; }
  .split-side::after { transform: none; }
  .grid-2, .grid-3, .feature, .contact-grid { grid-template-columns: 1fr; }
  /* Two narrow columns wrap unevenly; matching heights per row keeps pairs even without a tall empty card everywhere. */
  .results-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; gap: 12px; }
  .result { padding: 22px 14px 18px; }
  .result .student { font-size: 17px; }
  .result .dept { font-size: 14px; }
  .result .school { font-size: 13px; }
  .feature.flip > :first-child { order: 0; }
  .feature-text { justify-items: center; text-align: center; }
  .feature-text .kicker::after { display: block; }
  .feature-text p { margin-inline: auto; }
  .feature-text .checks { text-align: left; }
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 36px 16px; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .topbar-addr { display: none; }
  .topbar .container { justify-content: center; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 40px); }
  .nav-end .btn { display: none; }
  .brand img { height: 60px; }
  .grid-4, .steps, .field-row { grid-template-columns: 1fr; }
  .footer-grid > * { flex-basis: 100%; }
  .step + .step { border-left: 0; margin-top: 40px; border-top: 1px solid var(--line); }
  .footer-grid { text-align: center; }
  .footer-brand img, .footer-brand p { margin-inline: auto; }
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-end { justify-content: center; }
  .seats { grid-template-columns: repeat(4, 52px); }
  .split-points li:nth-child(n+3) { display: none; }
  .card, .branch-top, .branch-body { padding-inline: 24px; }
  .faq summary { font-size: 18px; }
  .faq details p { padding-right: 4px; }
  .cta-band { border-radius: var(--radius-lg); }
  .topbar-end { gap: 18px; }
  .kicker, .split-tag { font-size: 11px; letter-spacing: .12em; }
  .kicker { gap: 10px; }
  .kicker::before, .kicker::after { width: 16px; }
}
