/* =========================================================
   Princeton School of Prishtina
   Palette pulled from the building itself: signage blue,
   charcoal brick, cream render, plus a deep navy anchor.
   ========================================================= */
:root {
  --blue: #1a7be0;        /* signage blue */
  --blue-600: #1266c2;
  --blue-50: #eaf3fd;
  --navy: #0e2340;        /* anchor */
  --navy-700: #152f53;
  --charcoal: #2a2c31;    /* brick */
  --cream: #f4f0e8;       /* facade render */
  --paper: #fbfaf7;
  --ink: #18202c;
  --muted: #5b6575;
  --line: #e3e0d8;
  --white: #fff;

  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(14,35,64,.06), 0 12px 32px -12px rgba(14,35,64,.18);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 4.2vw, 52px); }
h3 { font-size: clamp(19px, 1.6vw, 22px); }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 140px) 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.eyebrow {
  font-family: var(--sans); font-weight: 600; font-size: 13px;
  text-transform: uppercase; letter-spacing: .14em; margin: 0 0 14px;
  color: rgba(255,255,255,.85);
}
.eyebrow--blue { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.btn--primary { background: var(--blue); color: var(--white); box-shadow: 0 10px 24px -10px rgba(26,123,224,.7); }
.btn--primary:hover { background: var(--blue-600); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: var(--white); color: var(--navy); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--outline { border-color: var(--line); color: var(--navy); background: var(--white); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }
.ig { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background .35s, box-shadow .35s, height .35s;
  padding-top: env(safe-area-inset-top);
}
.header.is-solid { background: rgba(14,35,64,.94); backdrop-filter: blur(12px); box-shadow: 0 6px 24px -12px rgba(0,0,0,.4); }
.header__inner {
  height: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand img { width: clamp(140px, 14vw, 180px); height: auto; }
.nav { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav a {
  color: rgba(255,255,255,.88); text-decoration: none; font-size: 14.5px; font-weight: 500;
  position: relative; padding: 6px 0;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.nav a:hover, .nav a.is-active { color: var(--white); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 3px; }
.lang button {
  background: none; border: 0; color: rgba(255,255,255,.8); font: 600 12px/1 var(--sans);
  padding: 7px 10px; border-radius: 999px; cursor: pointer; letter-spacing: .05em;
}
.lang button[aria-pressed="true"] { background: var(--white); color: var(--navy); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: rgba(255,255,255,.1); border-radius: 12px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; color: var(--white);
  background: var(--navy); overflow: hidden; isolation: isolate;
}
.hero__media, .hero__video, .hero__fx, .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media { z-index: -1; }
.hero__video { object-fit: cover; object-position: center 40%; transition: opacity .8s; }
.hero__fx { pointer-events: none; }
.hero__shade {
  background:
    linear-gradient(180deg, rgba(14,35,64,.55) 0%, rgba(14,35,64,0) 22%),
    linear-gradient(0deg, rgba(14,35,64,.92) 0%, rgba(14,35,64,.55) 38%, rgba(14,35,64,0) 70%);
}
.hero[data-weather="sunny"] .hero__shade { background: linear-gradient(180deg, rgba(14,35,64,.45) 0%, rgba(14,35,64,0) 22%), linear-gradient(0deg, rgba(14,35,64,.88) 0%, rgba(14,35,64,.4) 38%, rgba(14,35,64,0) 70%); }
.hero[data-night="true"] .hero__shade { background: linear-gradient(0deg, rgba(8,18,34,.95) 0%, rgba(8,18,34,.6) 45%, rgba(8,18,34,.25) 100%); }

.hero__content { padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(72px, 11vh, 120px); }
.hero__title { font-size: clamp(38px, 6vw, 76px); max-width: 15ch; margin-bottom: 22px; text-wrap: balance; }
.hero__title em { font-style: italic; font-weight: 400; color: #bcdcff; }
.hero__lead { font-size: clamp(16px, 1.35vw, 19px); max-width: 52ch; color: rgba(255,255,255,.88); margin-bottom: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.weather-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 10px; margin-bottom: 22px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 14px; line-height: 1.2;
}
.weather-chip__icon { font-size: 20px; width: 30px; height: 30px; display: grid; place-items: center; background: rgba(255,255,255,.18); border-radius: 50%; }

.hero__scroll { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--white); border-radius: 2px; animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__photo { position: relative; margin: 0; }
.about__photo > img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: 60% 50%; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__badge {
  position: absolute; right: -18px; bottom: 28px; display: flex; align-items: center; gap: 14px;
  background: var(--navy); color: var(--white); padding: 14px 22px 14px 16px; border-radius: 16px;
  font-family: var(--serif); font-size: 17px; box-shadow: var(--shadow); max-width: 80%;
}
.about__badge img { width: 34px; height: auto; }
.about__text p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.ticks li::before {
  content: ""; flex: 0 0 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a7be0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ---------- Learning ---------- */
.learning { background: var(--cream); position: relative; overflow: hidden; }
.learning::before {
  /* doodle pattern echoing the window graphics on the building */
  content: ""; position: absolute; inset: 0; opacity: .06; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' fill='none' stroke='%231a7be0' stroke-width='2'%3E%3Ccircle cx='24' cy='26' r='12'/%3E%3Cpath d='M18 20l12 12M30 20 18 32'/%3E%3Cpath d='M92 14l5 10 11 1-8 8 2 11-10-5-10 5 2-11-8-8 11-1z'/%3E%3Crect x='20' y='96' width='30' height='22' rx='3'/%3E%3Cpath d='M28 126h14'/%3E%3Cpath d='M110 100h26v30h-26zM118 108h10M118 116h10'/%3E%3Ccircle cx='76' cy='80' r='6'/%3E%3Cpath d='M66 140q10-14 20 0t20 0'/%3E%3C/svg%3E");
}
.section__head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 64px); position: relative; }
.section__head p:last-child { color: var(--muted); }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section__head--row h2 { margin-bottom: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); position: relative; }
.card {
  background: var(--white); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid rgba(14,35,64,.06); box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 1px 2px rgba(14,35,64,.06), 0 24px 48px -18px rgba(14,35,64,.28); }
.card__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--blue-50); display: grid; place-items: center; margin-bottom: 22px; transition: background .3s; }
.card__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.card:hover .card__icon { background: var(--blue); }
.card:hover .card__icon svg { stroke: var(--white); }
.card p { color: var(--muted); margin: 0; font-size: .95em; }

/* ---------- Day ---------- */
.day { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.day::after { content: ""; position: absolute; width: 640px; height: 640px; right: -220px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(26,123,224,.35), transparent 65%); pointer-events: none; }
.day__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; position: relative; z-index: 1; }
.day__intro p { color: rgba(255,255,255,.75); margin-bottom: 28px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--blue), rgba(26,123,224,.15)); }
.timeline li { position: relative; padding: 0 0 36px 44px; display: grid; gap: 6px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--navy); border: 3px solid var(--blue); }
.timeline__time { font-weight: 600; font-size: 13px; letter-spacing: .08em; color: #8cc2ff; }
.timeline h3 { margin-bottom: 4px; }
.timeline p { color: rgba(255,255,255,.7); margin: 0; }

/* ---------- Gallery ---------- */
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: clamp(10px, 1.4vw, 18px); }
.mosaic__item { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.mosaic__item img, .mosaic__item video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.mosaic__item:hover img, .mosaic__item:hover video { transform: scale(1.05); }
.mosaic__item--wide { grid-row: span 2; }
.mosaic__item--tall { grid-row: span 2; }

/* ---------- Enroll ---------- */
.enroll { background: var(--white); }
.enroll__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.enroll__text > p { color: var(--muted); }
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 24px; }
.steps li { display: flex; gap: 18px; }
.steps li > span { flex: 0 0 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); font: 700 18px var(--serif); }
.steps h3 { margin-bottom: 2px; }
.steps p { margin: 0; color: var(--muted); }
.price {
  background: var(--navy); color: var(--white); border-radius: 24px; padding: clamp(28px, 3.5vw, 44px);
  box-shadow: 0 30px 60px -24px rgba(14,35,64,.55); position: relative; overflow: hidden;
}
.price::before { content: ""; position: absolute; inset: auto -80px -120px auto; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(26,123,224,.45), transparent 70%); }
.price > * { position: relative; }
.price__shield { width: 48px; height: auto; margin-bottom: 18px; }
.price__label { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 4px; }
.price__amount { font: 700 clamp(44px, 5vw, 60px)/1 var(--serif); margin-bottom: 10px; }
.price__note { font-size: 14px; color: rgba(255,255,255,.65); }
.price__list { list-style: none; padding: 18px 0; margin: 0 0 24px; border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); display: grid; gap: 10px; font-size: 15px; }
.price__list li::before { content: "✓"; color: #8cc2ff; font-weight: 700; margin-right: 10px; }
.price .btn + .btn { margin-top: 10px; }
.price .btn--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.price .btn--outline:hover { border-color: var(--white); }

/* ---------- Contact ---------- */
.contact { background: var(--charcoal); color: var(--white); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__info > p { color: rgba(255,255,255,.72); }
.contact__list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
.contact__list li { display: flex; align-items: center; gap: 14px; }
.contact__list a { text-decoration: none; color: var(--white); word-break: break-word; }
.contact__list a:hover { color: #8cc2ff; }
.ci { flex: 0 0 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.ci svg { width: 20px; height: 20px; fill: none; stroke: #8cc2ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.form { background: var(--white); color: var(--ink); border-radius: 24px; padding: clamp(22px, 3vw, 40px); display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.form input, .form textarea {
  width: 100%; font: 400 16px var(--sans); color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 13px 14px; transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26,123,224,.15); }
.form .is-invalid { border-color: #d64545; }
.form__status { margin: 0; font-size: 14px; color: var(--muted); min-height: 1.4em; }

/* ---------- Footer ---------- */
.footer { background: #091a31; color: rgba(255,255,255,.7); padding: 56px 0 calc(40px + env(safe-area-inset-bottom)); }
.footer__inner { display: grid; justify-items: center; text-align: center; gap: 18px; }
.footer__inner > img { width: 200px; height: auto; }
.footer__tag { font-family: var(--serif); font-style: italic; color: var(--white); margin: 0; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.footer__nav a { text-decoration: none; font-size: 14px; }
.footer__nav a:hover { color: var(--white); }
.footer__copy { font-size: 13px; margin: 0; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 4px; padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
    background: var(--navy); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav a { font-family: var(--serif); font-size: clamp(28px, 7vw, 40px); font-weight: 700; padding: 8px 0; }
  .nav a::after { display: none; }
  .nav.is-open { opacity: 1; visibility: visible; }
  .burger { display: block; }
  .header.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--navy); }
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .about__grid, .day__grid, .enroll__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__photo > img { aspect-ratio: 4/3; }
  .about__badge { right: 12px; bottom: 12px; font-size: 15px; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 180px 180px; }
  .mosaic__item--wide { grid-column: span 2; grid-row: auto; }
  .mosaic__item--tall { grid-row: span 2; }
}

@media (max-width: 600px) {
  .header__cta { display: none; }
  .cards { grid-template-columns: 1fr; }
  .hero { align-items: flex-end; }
  .hero__video { object-position: center 30%; }
  .hero__lead { display: none; }
  .hero__title { margin-bottom: 26px; }
  .hero__ctas .btn { flex: 1 1 0; padding: 0 14px; }
  .form__row { grid-template-columns: 1fr; }
  .section__head--row .btn { width: 100%; }
  .mosaic { grid-template-rows: 200px 160px 160px; }
  .hero__scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
