/* ==========================================================================
   The Vantage - A British Curriculum School
   Design: Canopy Bold
   Canopy's colour world with Barrel's typographic weight. Cream grounds carry
   the logo and the accreditation marks so they keep their real colours; violet
   grounds carry the statements.
   ========================================================================== */

:root {
  /* Brand. Every value measured out of the logo artwork itself. */
  --violet:      #35035F;
  --violet-deep: #22013D;
  --ink:         #240242;

  --rose:    #DA1E5D;
  --magenta: #D12289;
  --pink:    #EF6794;
  --red:     #DE202C;
  --orange:  #E26625;
  --peach:   #FCBA64;
  --lime:    #6DB043;
  --forest:  #39833A;
  --emerald: #0FB464;
  --teal:    #2C9AA3;
  --blue:    #1E7AC0;
  --navy:    #2B2170;
  --berry:   #821856;

  /* Grounds and text. Warm neutrals biased towards the pencil-wood cream. */
  --cream:      #FFF6E8;
  --cream-deep: #F6E8D4;
  --cream-line: #E8D8C2;
  --paper:      #FFFDF9;
  --text:       #4A3D55;
  --muted:      #7A6B84;
  --on-violet:  #DDCBE6;
  --on-violet-d:#C6B3D1;

  /* Type */
  --display: "Archivo Black", "Helvetica Neue", Impact, sans-serif;
  --sans: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Space and shape */
  --wrap: 1120px;
  --wrap-narrow: 720px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --shadow-sm: 0 1px 2px rgba(36,2,66,.05), 0 6px 16px rgba(36,2,66,.06);
  --shadow-md: 0 2px 6px rgba(36,2,66,.06), 0 18px 44px rgba(36,2,66,.10);
  --shadow-lg: 0 30px 70px rgba(36,2,66,.20);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--rose); text-decoration: none; }
a:hover { color: var(--berry); }
button { font: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 400;
  line-height: .99;
  letter-spacing: -.03em;
  text-transform: uppercase;
  margin: 0 0 .55em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.05rem, 1.7vw, 1.2rem); letter-spacing: -.015em; }
h4 { font-family: var(--sans); font-weight: 700; margin: 0 0 .5em; color: var(--ink); }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.05em; padding-left: 1.15em; }
li { margin-bottom: .4em; }

::selection { background: var(--rose); color: #fff; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }

.section { padding: clamp(3rem, 6.5vw, 5.5rem) 0; }
.section--cream { background: var(--cream); }
.section--deep  { background: var(--cream-deep); }
.section--paper { background: var(--paper); }
.section--violet { background: var(--violet); color: var(--on-violet); }
.section--violet-deep { background: var(--violet-deep); color: var(--on-violet); }
.section--violet h1, .section--violet h2, .section--violet h3,
.section--violet-deep h1, .section--violet-deep h2, .section--violet-deep h3 { color: #fff; }
.section--violet strong, .section--violet-deep strong { color: #fff; }
.section--violet a, .section--violet-deep a { color: var(--peach); }
.section--violet a:hover, .section--violet-deep a:hover { color: #fff; }

.center { text-align: center; }
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4.5vw, 4rem); align-items: center; }
.split--narrow { grid-template-columns: .95fr 1.05fr; }
@media (max-width: 880px) { .split, .split--narrow { grid-template-columns: 1fr; } }

/* ---------- Kicker, lede, section head ---------- */
.kicker {
  display: inline-block;
  font-family: var(--display);
  font-size: .68rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--violet);
  background: var(--peach);
  padding: .4rem .95rem;
  border-radius: 100px;
  margin: 0 0 1.25rem;
}
.kicker--plain {
  background: none; padding: 0; color: var(--rose); letter-spacing: .19em;
}
.section--violet .kicker--plain, .section--violet-deep .kicker--plain { color: var(--peach); }

.lede { font-size: clamp(1.02rem, 1.6vw, 1.15rem); line-height: 1.6; color: var(--text); }
.section--violet .lede, .section--violet-deep .lede { color: var(--on-violet); }

.section-head { max-width: 620px; margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.section-head.center { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--display);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .85rem 1.55rem;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--rose { background: var(--rose); color: #fff; }
.btn--rose:hover { background: var(--berry); color: #fff; box-shadow: var(--shadow-md); }
.btn--lime { background: var(--lime); color: #14260E; }
.btn--lime:hover { background: var(--forest); color: #fff; box-shadow: var(--shadow-md); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--violet); color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--cream); }
.btn--on-violet { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--on-violet:hover { border-color: #fff; background: rgba(255,255,255,.12); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-row.center { justify-content: center; }

/* ---------- Top bar and masthead ---------- */
.topbar { background: var(--violet-deep); color: #CBB7D6; font-size: .78rem; }
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; padding-block: .45rem;
}
.topbar a { color: #EFE5F3; }
.topbar a:hover { color: #fff; }
.topbar__links { display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap; }

.masthead { background: var(--cream); padding: 1.4rem 0 1.1rem; }
.masthead__inner {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.brand { display: block; flex-shrink: 0; }
.brand img { display: inline-block; height: 128px; width: auto; }

.masthead__side { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; padding-bottom: .35rem; }
.fact {
  font-size: .68rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted); line-height: 1.5;
}
.fact b { display: block; color: var(--ink); font-weight: 700; letter-spacing: .03em; font-size: .8rem; }
.fact a { color: var(--ink); }
.fact a:hover { color: var(--rose); }

/* ---------- Nav rail ---------- */
.navrail {
  background: var(--cream);
  border-top: 2px solid var(--ink);
  position: sticky; top: 0; z-index: 100;
}
.navrail__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav__list { display: flex; gap: 1.55rem; list-style: none; margin: 0; padding: .8rem 0; flex-wrap: wrap; }
.nav__list > li { margin: 0; }
.nav__link {
  font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink); white-space: nowrap;
  transition: color .16s var(--ease);
}
.nav__link:hover { color: var(--rose); }
.nav__link[aria-current="page"] { color: var(--rose); }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  border: 2px solid var(--ink); background: transparent;
  border-radius: var(--r-sm); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  flex-shrink: 0; margin: .4rem 0;
}
.nav-toggle span {
  display: block; width: 19px; height: 2.5px; background: var(--ink); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1000px) {
  /* The logo already sits above, so the toggle reads better on the right. */
  .navrail__inner { justify-content: flex-end; }
  .nav-toggle { display: flex; position: relative; z-index: 2; }
  .nav__menu {
    position: fixed; inset: 0 0 0 auto; width: min(330px, 86vw);
    background: var(--cream); box-shadow: var(--shadow-lg);
    padding: 5.5rem 1.5rem 2rem; transform: translateX(102%);
    transition: transform .32s var(--ease); overflow-y: auto;
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
  .nav__link { display: flex; padding: .95rem .25rem; font-size: .9rem; border-bottom: 2px solid var(--cream-line); }
  .nav__cta { margin-top: 1.35rem; }
  .nav__cta .btn { width: 100%; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(36,2,66,.5);
    opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); z-index: 99;
  }
  .nav-backdrop.is-open { opacity: 1; pointer-events: auto; }
}
@media (min-width: 1001px) { .nav__cta { display: none; } }
@media (max-width: 620px) {
  .brand img { height: 96px; }
  .topbar__links .is-optional { display: none; }
  .masthead__side .fact { display: none; }
}

/* ---------- Photo hero ----------
   The image is a finished piece of design in its own right: the logo sits top
   right and the tagline bottom left. So it runs full width and uncropped, with
   no overlay competing against it. */
.hero-photo { background: var(--violet); line-height: 0; }
.hero-photo img { width: 100%; height: auto; display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--violet); overflow: hidden; }
.hero__canopy { position: absolute; inset: -90px 0 auto 0; height: 400px; opacity: .42; pointer-events: none; }
.hero__inner {
  position: relative; z-index: 2;
  padding: clamp(2.75rem, 6vw, 4.25rem) 0 clamp(3rem, 6vw, 4.25rem);
  text-align: center;
}
.hero h1 { color: #fff; margin-inline: auto; max-width: 15ch; }
.hero h1 .lime { color: var(--lime); }
.hero h1 .peach { color: var(--peach); }
.hero h1 .pink { color: #FF8FB4; }
.hero p { color: var(--on-violet); max-width: 52ch; margin: 0 auto 1.9rem; font-size: clamp(1rem, 1.5vw, 1.1rem); }
.hero .btn-row { justify-content: center; }

.page-hero { position: relative; background: var(--violet); overflow: hidden; }
.page-hero .hero__canopy { height: 300px; inset: -110px 0 auto 0; opacity: .34; }
.page-hero__inner { position: relative; z-index: 2; padding: clamp(2.25rem, 4.5vw, 3.5rem) 0 clamp(2.25rem, 4.5vw, 3.25rem); }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero .lede { color: var(--on-violet); max-width: 46ch; }

.crumbs {
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  color: #A794B2; margin-bottom: 1rem; display: flex; gap: .5rem; flex-wrap: wrap;
}
.crumbs a { color: #A794B2; }
.crumbs a:hover { color: #fff; }

/* ---------- Accreditation strip ---------- */
.accr { background: var(--cream); padding: clamp(1.75rem, 3.5vw, 2.5rem) 0; }
.accr__lab {
  font-family: var(--display); font-size: .66rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted); text-align: center; margin: 0 0 1.5rem;
  /* Letter-spacing adds a trailing space after the last character, which drags
     a centred line very slightly left. Indent by the same amount to cancel it. */
  text-indent: .2em;
}
.accr__row {
  display: flex;
  align-items: flex-end;          /* the school line sits at the foot of each mark */
  justify-content: center;
  gap: clamp(1.75rem, 5vw, 3.5rem);
  flex-wrap: wrap;
}
.accr__row img { width: auto; display: inline-block; }

/* A bordered plate for a body we hold accreditation with but have no artwork
   for yet. Sized to sit level with the marks either side of it. */
.accr-plate {
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: .7rem 1.05rem;
  height: 74px;
  display: flex; flex-direction: column; justify-content: center;
}
.accr-plate .lab {
  font-weight: 700; font-size: .55rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 .15rem;
}
.accr-plate .nm {
  font-family: var(--display); font-size: .8rem; line-height: 1.1;
  letter-spacing: -.01em; color: var(--ink); margin: 0;
}
.accr-plate .nm em { font-style: normal; font-size: .6rem; letter-spacing: .04em; }
@media (max-width: 620px) { .accr-plate { height: 62px; } }
.accr__row .m-cambridge { height: 74px; }
.accr__row .m-pearson   { height: 104px; }
.accr__row .m-bcouncil  { height: 78px; }
.accr__row .m-aku       { height: 80px; }
@media (max-width: 620px) {
  .accr__row { gap: 2rem; }
  .accr__row .m-cambridge { height: 60px; }
  .accr__row .m-pearson   { height: 84px; }
  .accr__row .m-bcouncil  { height: 64px; }
  .accr__row .m-aku       { height: 64px; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border: 2px solid var(--cream-line);
  border-radius: var(--r-lg);
  padding: clamp(1.35rem, 2.4vw, 1.85rem);
  height: 100%;
  display: flex; flex-direction: column;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--rose); }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .95rem; }
.card__num { font-family: var(--display); font-size: 1.7rem; line-height: 1; margin: 0 0 .7rem; color: var(--rose); }
.card__more {
  margin-top: auto; padding-top: 1rem;
  font-family: var(--display); font-size: .72rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--rose);
  display: inline-flex; align-items: center; gap: .4rem;
}
.card__more::after { content: "\2192"; transition: transform .2s var(--ease); }
a.card:hover .card__more::after { transform: translateX(3px); }
.section--deep .card { background: var(--cream); }

/* Colour blocks */
.blocks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 900px) { .blocks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .blocks { grid-template-columns: 1fr; } }
.block { border-radius: var(--r-xl); padding: 1.5rem 1.3rem; color: #fff; min-height: 200px; display: flex; flex-direction: column; }
.block__n { font-family: var(--display); font-size: 1.8rem; line-height: 1; opacity: .45; margin: 0 0 .75rem; }
.block h3 { color: #fff; margin-bottom: .4rem; }
.block p { font-size: .84rem; opacity: .95; line-height: 1.5; margin: 0; }
.block__foot { margin-top: auto; padding-top: 1rem; font-family: var(--display); font-size: .66rem; letter-spacing: .11em; text-transform: uppercase; opacity: .9; }
.bg-red { background: var(--red); }
.bg-orange { background: var(--orange); }
.bg-blue { background: var(--blue); }
.bg-forest { background: var(--forest); }
.bg-rose { background: var(--rose); }
.bg-teal { background: var(--teal); }
.bg-navy { background: var(--navy); }
.bg-berry { background: var(--berry); }
.bg-violet { background: var(--violet); }

/* ---------- Ladder ----------
   A vertical stage list, used on the Online School page so the same key-stage
   material reads differently there than in the Curriculum page's card grid. */
.ladder { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.ladder li {
  margin: 0;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1.25rem 1.75rem;
  align-items: start;
  background: var(--paper);
  border: 2px solid var(--cream-line);
  border-left-width: 10px;
  border-radius: var(--r-lg);
  padding: clamp(1.2rem, 2.2vw, 1.6rem) clamp(1.2rem, 2.4vw, 1.9rem);
}
.section--deep .ladder li { background: var(--cream); }
.ladder__stage {
  font-family: var(--display); font-size: .78rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink); margin: 0 0 .3rem;
}
.ladder__years { font-size: .8rem; color: var(--muted); margin: 0; }
.ladder h3 { margin-bottom: .45rem; }
.ladder p { font-size: .95rem; margin: 0 0 .7rem; }
.ladder p:last-child { margin-bottom: 0; }
@media (max-width: 720px) {
  .ladder li { grid-template-columns: 1fr; gap: .5rem; }
}

/* ---------- Figures ---------- */
.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (max-width: 780px) { .figures { grid-template-columns: 1fr; } }
.figure__n { font-family: var(--display); font-size: clamp(2.4rem, 4vw, 3rem); line-height: .9; margin: 0 0 .5rem; letter-spacing: -.04em; }
.figure p { color: var(--on-violet-d); font-size: .88rem; margin: 0; }

/* ---------- Ticks ---------- */
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 1.9rem; margin-bottom: .8rem; line-height: 1.55; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 17px; height: 17px; border-radius: 50%; background: var(--lime);
}
.ticks li::after {
  content: ""; position: absolute; left: 5.5px; top: .66em;
  width: 5px; height: 9px;
  border-right: 2.5px solid #fff; border-bottom: 2.5px solid #fff;
  transform: rotate(42deg);
}
.section--violet .ticks li::before, .section--violet-deep .ticks li::before { background: var(--peach); }
.section--violet .ticks li::after, .section--violet-deep .ticks li::after { border-color: var(--violet-deep); }

/* Negative counterpart to .ticks, for "what you do not get" lists */
.crosses { list-style: none; padding: 0; margin: 0; }
.crosses li { position: relative; padding-left: 1.9rem; margin-bottom: .8rem; line-height: 1.55; color: var(--muted); }
.crosses li::before,
.crosses li::after {
  content: ""; position: absolute; left: 4px; top: .78em;
  width: 11px; height: 2px; background: var(--cream-line); border-radius: 2px;
}
.crosses li::before { transform: rotate(45deg); }
.crosses li::after  { transform: rotate(-45deg); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.4rem; }
.steps li { counter-increment: step; position: relative; padding-left: 3.6rem; margin: 0; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: -.1rem;
  font-family: var(--display); font-size: .95rem;
  color: #fff; background: var(--rose);
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
}
.steps h3 { margin-bottom: .25rem; }
.steps p { font-size: .94rem; margin: 0; }

/* ---------- Quotes ---------- */
.quotes { display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.quote {
  background: var(--paper); border: 2px solid var(--cream-line);
  border-radius: var(--r-lg); padding: clamp(1.35rem, 2.4vw, 1.9rem);
  display: flex; flex-direction: column; margin: 0;
}
.section--deep .quote { background: var(--cream); }
.quote__mark { font-family: var(--display); font-size: 2.4rem; line-height: .7; color: var(--peach); margin-bottom: .6rem; }
.quote p { font-size: .97rem; line-height: 1.6; }
.quote__by { margin-top: auto; padding-top: 1.1rem; border-top: 2px solid var(--cream-line); font-size: .87rem; }
.quote__by strong {
  display: block; font-family: var(--display); font-weight: 400; color: var(--ink);
  font-size: .92rem; text-transform: uppercase; letter-spacing: -.01em;
}
.quote__by span { color: var(--muted); }

.pull {
  font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 2rem);
  line-height: 1.18; letter-spacing: -.025em; text-transform: uppercase; color: var(--ink);
}
.section--violet .pull, .section--violet-deep .pull { color: #fff; }

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.person { margin: 0; }
.person__photo {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 3 / 4; background: var(--cream-deep);
  border: 2px solid var(--cream-line);
  display: grid; place-items: center; text-align: center; padding: 1rem; margin-bottom: .9rem;
}
/* A real portrait fills the frame; the padding is only there to inset the
   initials placeholder. */
.person__photo:has(img) { padding: 0; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person__initials { font-family: var(--display); font-size: 1.9rem; color: var(--violet); opacity: .3; letter-spacing: .03em; }
.person__name { font-family: var(--display); font-size: .98rem; text-transform: uppercase; letter-spacing: -.015em; color: var(--ink); margin: 0 0 .12rem; }
.person__role { font-size: .82rem; font-weight: 700; color: var(--rose); margin: 0 0 .4rem; }
.person__note { font-size: .87rem; color: var(--muted); margin: 0; line-height: 1.45; }

/* The person heading the team keeps the same card size as everyone else and is
   marked with a solid frame instead, so the grid stays even. */
.person--lead .person__photo {
  border-style: solid;
  border-color: var(--rose);
  box-shadow: var(--shadow-sm);
}
.person--lead .person__initials { color: var(--rose); opacity: .45; }
.person--lead .person__name { color: var(--rose); }

/* ---------- Image slot ---------- */
.imgslot {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: var(--cream-deep); border: 2px dashed var(--cream-line);
  aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center; padding: 1.5rem;
}
.imgslot span {
  font-family: var(--display); font-size: .66rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted); max-width: 22em; line-height: 1.7;
}
/* Once a real photograph is in the slot, drop the placeholder padding and the
   dashed edge so the image runs to the corners. */
.imgslot:has(img) { padding: 0; border-style: solid; border-color: var(--cream-line); }
.imgslot--wide { aspect-ratio: 16 / 9; }
.imgslot--3x2  { aspect-ratio: 3 / 2; }
.imgslot--4x3  { aspect-ratio: 4 / 3; }
.imgslot--1x1  { aspect-ratio: 1 / 1; }
.imgslot--tall { aspect-ratio: 3 / 4; }
.imgslot img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Campus rows ---------- */
.campus {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.1rem 1.6rem;
  align-items: start; padding: clamp(1.35rem, 2.6vw, 2rem);
  border: 2px solid var(--cream-line); border-radius: var(--r-lg); background: var(--paper);
  transition: box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.section--deep .campus { background: var(--cream); }
.campus:hover { box-shadow: var(--shadow-md); border-color: var(--rose); }
.campus__badge {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  font-family: var(--display); font-size: .78rem; line-height: 1.05; letter-spacing: -.01em;
  text-align: center; color: #fff; background: var(--rose);
}
.campus__meta { font-size: .88rem; color: var(--muted); margin: 0 0 .7rem; }
.campus__actions { display: flex; flex-direction: column; gap: .55rem; align-items: flex-end; }
@media (max-width: 780px) {
  .campus { grid-template-columns: auto 1fr; }
  .campus__actions { grid-column: 1 / -1; flex-direction: row; }
}

.tag {
  display: inline-flex; align-items: center; font-family: var(--display);
  font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .32rem .7rem; border-radius: 100px;
}
.tag--open { background: var(--lime); color: #14260E; }
.tag--soon { background: var(--peach); color: #5C3606; }

/* ---------- Accordion ---------- */
.acc { border-top: 2px solid var(--cream-line); }
.acc details { border-bottom: 2px solid var(--cream-line); }
.acc summary {
  cursor: pointer; list-style: none; padding: 1.15rem 3rem 1.15rem 0; position: relative;
  font-family: var(--display); font-size: .98rem; text-transform: uppercase;
  letter-spacing: -.015em; color: var(--ink);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ""; position: absolute; right: .75rem; top: 50%;
  width: 9px; height: 9px;
  border-right: 2.5px solid var(--rose); border-bottom: 2.5px solid var(--rose);
  transform: translateY(-70%) rotate(45deg); transition: transform .22s var(--ease);
}
.acc details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.acc__body { padding: 0 0 1.4rem; }
.acc__body p { font-size: .96rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .82rem; font-weight: 700; color: var(--ink); }
.field .hint { font-size: .78rem; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: .78rem .9rem;
  border: 2px solid var(--cream-line); border-radius: var(--r-sm);
  background: var(--paper); color: var(--ink); width: 100%;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(218,30,93,.14);
}
.field textarea { min-height: 128px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
.form__note { font-size: .82rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* ---------- Contact ---------- */
.contact-card {
  background: var(--paper); border: 2px solid var(--cream-line);
  border-radius: var(--r-lg); padding: clamp(1.35rem, 2.4vw, 1.85rem);
}
.section--deep .contact-card { background: var(--cream); }
.contact-list { list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.contact-list li { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: .8rem; padding: .5rem 0; margin: 0; }
.contact-list .k { color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; padding-top: .25rem; }
.contact-list .v { color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.map-embed { border: 0; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--r-lg); }

/* ---------- Notice ---------- */
.notice {
  border-left: 4px solid var(--peach); background: var(--cream-deep);
  padding: 1rem 1.25rem; border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: .93rem;
}
.section--deep .notice { background: var(--cream); }

/* ---------- Facebook feed ---------- */
.fb-wrap {
  background: var(--paper); border: 2px solid var(--cream-line); border-radius: var(--r-lg);
  padding: 1rem; overflow: hidden; min-height: 500px; display: grid; place-items: center;
}
.fb-fallback { text-align: center; padding: 2rem 1rem; max-width: 30em; }
.fb-fallback p { color: var(--muted); font-size: .93rem; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { margin-inline: auto; max-width: 18ch; }
.cta-band p { max-width: 46ch; margin-inline: auto; }
.cta-band .btn-row { margin-top: 1.9rem; justify-content: center; }

/* ---------- Footer ----------
   Back on the deep brand violet. The logo is a reversed version whose wordmark
   is cream, so it reads on the dark ground without needing a plate behind it. */
.site-footer {
  background: var(--violet-deep);
  color: var(--cream);
  padding: clamp(2.75rem, 5vw, 4rem) 0 1.75rem;
  font-size: .92rem;
}
.site-footer a {
  color: var(--cream);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,246,232,.38);
}
.site-footer a:hover { color: var(--peach); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(1.5rem, 3vw, 2.75rem); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__logo { display: block; margin-bottom: 1.25rem; }
.footer__logo img { display: inline-block; height: 176px; width: auto; }
@media (max-width: 560px) { .footer__logo img { height: 140px; } }

.site-footer h4 {
  font-family: var(--display); font-weight: 400; font-size: .68rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--peach); margin: 0 0 .9rem;
}
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: .55rem; }
.social { display: flex; gap: .55rem; margin-top: 1.1rem; }
.social a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.12);
  transition: background .18s var(--ease), transform .18s var(--ease);
}
.social a:hover { background: var(--rose); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; fill: #F0E7F4; }
.footer__bottom {
  margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .84rem; color: #9484A0;
}
.footer__bottom a { color: var(--on-violet); }
.footer__bottom a:hover { color: var(--peach); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .55s var(--ease), transform .55s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.is-in { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, a.card:hover { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .navrail, .site-footer, .nav-toggle, .hero__canopy { display: none; }
  body { font-size: 12pt; color: #000; background: #fff; }
}
