/* UniNexaGlobal — site styles */

:root {
  --ink: #1E1B18;
  --ink-2: #3A342E;
  --muted: #6B6259;
  --paper: #FBF7F1;
  --sand: #F4ECE0;
  --sand-2: #EADFCF;
  --line: #E4D8C6;
  --white: #FFFFFF;

  --saffron: #E8892B;       /* decorative, on dark */
  --saffron-soft: #FBE3C6;
  --accent: #B85A16;        /* text/buttons on light (AA) */
  --accent-hover: #9C4A10;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 10px;
  --radius-lg: 16px;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }

.sr-only, .hp {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 6px;
}
.skip-link:focus { top: 12px; color: var(--white); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.eyebrow-light { color: var(--saffron); }

.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 36em; }
.small { font-size: 0.9rem; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-size: 1rem; font-weight: 500;
  padding: 14px 24px; border-radius: 999px;
  border: 1.5px solid transparent; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
  line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); color: var(--white); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--saffron); color: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: 0.95rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 241, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-word { font-family: var(--serif); font-size: 1.5rem; letter-spacing: -0.01em; line-height: 1; }
.brand-a { color: var(--ink); font-weight: 600; }
.brand-b { color: var(--accent); font-weight: 400; }
.brand-light .brand-a { color: var(--paper); }
.brand-light .brand-b { color: var(--saffron); }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) {
  color: var(--ink-2); text-decoration: none; font-size: 0.97rem; font-weight: 500;
  position: relative; padding: 4px 0;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px;
  background: var(--accent); transition: right .25s;
}
.site-nav a:not(.btn):hover { color: var(--ink); }
.site-nav a:not(.btn):hover::after { right: 0; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  cursor: pointer; padding: 0; position: relative;
}
.nav-toggle-bar {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink);
  transition: transform .25s, top .25s;
}
.nav-toggle-bar:nth-of-type(2) { top: 18px; }
.nav-toggle-bar:nth-of-type(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-of-type(2) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-of-type(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 18px; }
}

/* Hero */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(64px, 9vw, 120px); position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto auto; width: 46%; height: 100%;
  background: var(--sand); border-bottom-left-radius: 220px; z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 36px; }
.hero-points {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  font-size: 0.95rem; color: var(--muted);
}
.hero-points li { display: flex; align-items: center; gap: 10px; }
.hero-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--saffron); }

.route-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: 0 1px 2px rgba(30,27,24,.04), 0 24px 48px -24px rgba(30,27,24,.18);
}
.route-head { display: flex; align-items: center; gap: 16px; padding-bottom: 22px; border-bottom: 1px dashed var(--line); }
.route-end { display: flex; flex-direction: column; }
.route-end-right { text-align: right; }
.route-code { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--ink); line-height: 1; }
.route-city { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }
.route-line { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); position: relative; }
.route-line span {
  position: absolute; right: -2px; top: 50%; width: 10px; height: 10px; border-radius: 50%;
  background: var(--saffron); transform: translateY(-50%); box-shadow: 0 0 0 5px var(--saffron-soft);
}
.route-stages { list-style: none; margin: 0; padding: 8px 0 0; }
.route-stages li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--sand); }
.route-stages li:last-child { border-bottom: 0; }
.stage-num { font-size: 0.8rem; font-weight: 600; color: var(--accent); letter-spacing: .06em; padding-top: 3px; min-width: 22px; }
.route-stages strong { display: block; color: var(--ink); font-weight: 600; font-size: 1rem; }
.route-stages span:not(.stage-num) { font-size: 0.92rem; color: var(--muted); }
.route-foot { margin: 14px 0 0; padding: 14px 16px; background: var(--sand); border-radius: var(--radius); font-size: 0.92rem; color: var(--ink-2); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero::before { width: 100%; height: 42%; inset: auto 0 0 0; border-radius: 0; }
}

/* Difference */
.difference { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.diff-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px clamp(40px, 7vw, 96px); }
.diff-grid h2 { margin: 0; }
.diff-copy p { color: var(--muted); }
.diff-copy p:first-child { color: var(--ink-2); font-size: 1.15rem; }
.diff-stats {
  grid-column: 1 / -1; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.diff-stats div { padding: 28px 24px 0 0; }
.diff-stats div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.diff-stats dt { font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 500; }
.diff-stats dd { margin: 6px 0 0; font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--ink); }
@media (max-width: 800px) {
  .diff-grid { grid-template-columns: 1fr; }
  .diff-stats { grid-template-columns: 1fr; }
  .diff-stats div, .diff-stats div + div { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* Section head */
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-intro { color: var(--muted); font-size: 1.125rem; }

/* Services */
.check-list, .cross-list { list-style: none; padding: 0; margin: 0; }
.check-list li, .cross-list li { position: relative; padding-left: 30px; margin-bottom: 14px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 8px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg) translateY(-3px);
}
.cross-list li::before, .cross-list li::after {
  content: ""; position: absolute; left: 2px; top: 0.75em; width: 13px; height: 2px; background: var(--muted);
}
.cross-list li::before { transform: rotate(45deg); }
.cross-list li::after { transform: rotate(-45deg); }
.check-list strong { color: var(--ink); font-weight: 600; }
.cols-2 { columns: 2; column-gap: 40px; }
.cols-2 li { break-inside: avoid; }
@media (max-width: 760px) { .cols-2 { columns: 1; } }

.admissions {
  display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 4vw, 56px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px); margin-bottom: 28px;
}
.admissions-label p { color: var(--muted); margin: 0; }
.tier-tag {
  display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); background: var(--saffron-soft); padding: 5px 10px; border-radius: 999px; margin-bottom: 14px;
}
@media (max-width: 860px) { .admissions { grid-template-columns: 1fr; } }

.tiers { background: var(--ink); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); color: #D8CFC3; }
.tier-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
.tier-tabs button {
  font-family: var(--sans); text-align: left; cursor: pointer;
  background: transparent; border: 1px solid #3A342E; border-radius: var(--radius);
  padding: 16px 20px; color: #B8AEA2; display: flex; flex-direction: column; gap: 2px;
  transition: background-color .2s, border-color .2s, color .2s;
}
.tier-tabs button:hover { border-color: #5A5249; color: var(--paper); }
.tier-tabs button[aria-selected="true"] { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.tier-n { font-size: 0.75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--saffron); }
.tier-tabs button[aria-selected="true"] .tier-n { color: var(--accent); }
.tier-t { font-family: var(--serif); font-size: 1.25rem; }
.tier-panel { padding: clamp(20px, 3vw, 32px) clamp(4px, 1vw, 12px) 8px; }
.tier-lede { font-size: 1.1rem; color: var(--paper); max-width: 46em; margin-bottom: 28px; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: #3A342E; border: 1px solid #3A342E; border-radius: var(--radius); overflow: hidden; }
.service { background: var(--ink); padding: 26px 26px 22px; }
.service h4 { color: var(--paper); margin-bottom: 8px; }
.service p { margin: 0; font-size: 0.98rem; color: #B8AEA2; }
@media (max-width: 760px) {
  .tier-tabs { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
}

/* Universities */
.universities { background: var(--sand); }
.uni-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.uni {
  background: var(--paper); border: 1px solid var(--sand-2); border-radius: var(--radius-lg);
  padding: 32px 28px; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.uni:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(30,27,24,.25); }
.uni-index { font-family: var(--serif); font-size: 1rem; color: var(--accent); margin-bottom: 36px; }
.uni p { color: var(--muted); font-size: 0.98rem; flex: 1; }
.uni-tags { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.uni-tags li { font-size: 0.8rem; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); }
@media (max-width: 900px) { .uni-grid { grid-template-columns: 1fr; } }

/* Why Belfast */
.why { background: var(--ink); color: #CFC5B8; }
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.why h2 { color: var(--paper); }
.why-intro p { font-size: 1.125rem; margin-bottom: 32px; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 36px; }
.why-list li { border-top: 1px solid #3A342E; padding-top: 22px; }
.why-list h3 { color: var(--paper); font-size: 1.3rem; }
.why-list p { margin: 0; font-size: 0.98rem; color: #B8AEA2; }
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; gap: 28px; }
}

/* Process */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; position: relative;
}
.steps li { position: relative; }
.steps li:not(:last-child)::before {
  content: ""; position: absolute; top: 22px; left: 22px; right: -24px; height: 1px; background: var(--line);
}
.step-n {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--accent); color: var(--accent);
  font-family: var(--serif); font-size: 1.15rem; font-weight: 600; margin-bottom: 22px; position: relative;
}
.steps li:first-child .step-n { background: var(--accent); color: var(--white); }
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--muted); font-size: 0.95rem; margin: 0; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li:not(:last-child)::before { top: 22px; bottom: 0; left: 22px; right: auto; width: 1px; height: auto; }
  .steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 20px; padding-bottom: 28px; }
  .step-n { grid-row: span 2; margin: 0; }
}

/* Transparency */
.transparency { padding-top: 0; }
.transparency-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white);
  padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 72px);
}
.transparency-head p:not(.eyebrow) { color: var(--muted); }
.transparency-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.transparency-cols h3 { font-size: 1.15rem; margin-bottom: 18px; }
.transparency-cols li { font-size: 0.97rem; }
@media (max-width: 900px) {
  .transparency-card, .transparency-cols { grid-template-columns: 1fr; }
}

/* FAQ */
.faq { background: var(--white); border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 88px); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--serif); font-size: 1.25rem; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 1.5px; background: var(--accent);
  transition: transform .25s;
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0); }
.faq-list details p { color: var(--muted); padding-right: 44px; margin: -6px 0 22px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq .section-head { margin-bottom: 8px; } }

/* Contact */
.contact { background: var(--sand); }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.contact-info > p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.contact-methods { list-style: none; padding: 0; margin: 36px 0 0; }
.contact-methods li { padding: 18px 0; border-top: 1px solid var(--sand-2); display: flex; flex-direction: column; gap: 2px; }
.contact-methods li:last-child { border-bottom: 1px solid var(--sand-2); }
.cm-label { font-size: 0.8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-methods a, .contact-methods span:not(.cm-label) { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-methods a:hover { color: var(--accent); }
.placeholder-note { font-family: var(--sans) !important; font-size: 0.9rem !important; color: var(--accent) !important; font-style: italic; }

.contact-form {
  background: var(--paper); border: 1px solid var(--sand-2); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px); box-shadow: 0 24px 48px -32px rgba(30,27,24,.25);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.92rem; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.hint { font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 14px; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6259' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--saffron-soft);
}
.field.has-error input, .field.has-error select { border-color: #B3261E; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); margin: 4px 0 24px; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex-shrink: 0; }
.consent.has-error span { color: #B3261E; }
.form-status { margin: 14px 0 0; font-size: 0.95rem; min-height: 1.4em; }
.form-status.ok { color: #2E6B3A; }
.form-status.err { color: #B3261E; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--ink); color: #A89E92; padding: 64px 0 32px; font-size: 0.95rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid #3A342E; }
.footer-brand p { max-width: 340px; margin: 16px 0 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; align-content: flex-start; }
.footer-nav a { color: #D8CFC3; text-decoration: none; }
.footer-nav a:hover { color: var(--saffron); }
.footer-legal { padding-top: 28px; font-size: 0.85rem; }
.footer-legal p { max-width: 820px; }
.footer-legal a { color: #D8CFC3; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #1F8A4C; color: var(--white);
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.35);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); color: var(--white); }

[data-hidden] { display: none !important; }

/* Subtle reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Simple content pages (privacy, 404) */
.page { padding: clamp(48px, 8vw, 96px) 0; }
.page .container { max-width: 780px; }
.page h2 { font-size: 1.6rem; margin-top: 2em; }
.page li { margin-bottom: 6px; }

/* Founder */
.founder { padding-top: clamp(64px, 8vw, 104px); }
.founder-grid { display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.founder-photo { margin: 0; position: relative; isolation: isolate; }
.founder-photo::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--saffron);
  border-radius: 200px 200px var(--radius-lg) var(--radius-lg); z-index: -1;
}
.founder-photo img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 30%;
  border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
  filter: saturate(0.9) contrast(1.03);
}
.founder-role { font-size: 0.95rem; font-weight: 500; color: var(--accent); margin-top: -0.4em; margin-bottom: 1.4em; }
.founder-copy p:not(.eyebrow):not(.founder-role) { color: var(--muted); }
.founder-copy p:nth-of-type(3) { color: var(--ink-2) !important; font-size: 1.15rem; }
.founder-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.founder-points li { font-size: 0.88rem; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink-2); }
@media (max-width: 860px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photo { max-width: 240px; }
  .founder-photo::before { inset: 12px -12px -12px 12px; }
}

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: clamp(56px, 7vw, 88px); }
.svc {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.svc:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(30,27,24,.25); border-color: var(--sand-2); color: inherit; }
.svc-n { font-family: var(--serif); color: var(--accent); margin-bottom: 28px; }
.svc h3 { font-size: 1.35rem; }
.svc p { color: var(--muted); font-size: 0.98rem; margin: 0; }
.svc-feature { background: var(--accent); border-color: var(--accent); }
.svc-feature:hover { border-color: var(--accent); }
.svc-feature .svc-n, .svc-feature h3 { color: var(--white); }
.svc-feature p { color: #FBE3C6; flex: 1; }
.svc-link { margin-top: 20px; color: var(--white); font-weight: 500; font-size: 0.95rem; }
.section-head-sub { margin-bottom: 28px; }
.sub-title { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
@media (max-width: 960px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } }

/* Queen's */
.queens { background: var(--sand); }
.queens-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.queens-facts { margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--sand-2); }
.queens-facts div { padding: 20px 16px 0 0; }
.queens-facts div + div { padding-left: 16px; border-left: 1px solid var(--sand-2); }
.queens-facts dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 500; }
.queens-facts dd { margin: 6px 0 0; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--ink); }
.queens-card { background: var(--paper); border: 1px solid var(--sand-2); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 40px); }
.queens-card h3 { margin-bottom: 22px; }
.queens-card .btn { margin-top: 12px; }
@media (max-width: 900px) { .queens-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .queens-facts { grid-template-columns: 1fr; }
  .queens-facts div, .queens-facts div + div { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--sand-2); }
}

/* Summer camps */
.camps-inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white);
  padding: clamp(28px, 5vw, 56px);
}
.camps-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; margin-bottom: 28px; }
.camp-list { list-style: none; padding: 0; margin: 0; }
.camp-list li { display: flex; align-items: baseline; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.camp-list li:first-child { border-top: 1px solid var(--line); }
.camp-code { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; color: var(--accent); min-width: 92px; line-height: 1; }
.camp-name { font-size: 1.05rem; color: var(--ink-2); }
@media (max-width: 860px) { .camps-inner { grid-template-columns: 1fr; } }
.camps-copy .camps-note { font-size: 0.95rem !important; color: var(--ink-2) !important; font-weight: 500; margin-top: -12px; }
