/* ==========================================================================
   get.mba — Classic Ivy design system
   Brand colors are CSS variables so the "Make it yours" panel can repaint
   the whole site live. Never hard-code a brand color below this block.
   ========================================================================== */

:root {
  --brand-primary: #0B1F3A;
  --brand-accent: #9E1B32;
  --brand-metal: #C8A24A;
  --on-primary: #FFFFFF;
  --on-accent: #FFFFFF;
  --primary-text: #0B1F3A;   /* primary, darkened if needed for text on white */
  --accent-text: #9E1B32;

  --primary-deep: color-mix(in oklab, var(--brand-primary) 70%, #000);
  --primary-tint: color-mix(in oklab, var(--brand-primary) 6%, #fff);
  --metal-soft: color-mix(in oklab, var(--brand-metal) 35%, #fff);

  --ivory: #F7F4EC;
  --paper: #FFFFFF;
  --ink: #151922;
  --ink-2: #4B5263;
  --ink-3: #737A8A;
  --line: #E5E0D4;
  --line-strong: #CEC6B3;

  --f-display: "Libre Caslon Display", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --f-serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --f-sans: "Libre Franklin", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display-weight: 400;
  --display-track: -0.01em;
  --display-style: normal;

  --step--2: 0.75rem;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.45rem, 1.2rem + 0.9vw, 1.8rem);
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.9rem);
  --step-4: clamp(2.4rem, 1.5rem + 3.6vw, 4.2rem);
  --step-5: clamp(3rem, 1.4rem + 6.4vw, 7rem);

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --space-section: clamp(64px, 9vw, 128px);
  --radius: 3px;
  --salebar-h: 40px;
  --masthead-h: 78px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

html[data-font="modern"] {
  --f-display: "Schibsted Grotesk", var(--f-sans);
  --f-serif: "Schibsted Grotesk", var(--f-sans);
  --display-weight: 800;
  --display-track: -0.035em;
}
html[data-font="garamond"] {
  --f-display: "Cormorant Garamond", Garamond, Georgia, serif;
  --f-serif: "Cormorant Garamond", Garamond, Georgia, serif;
  --display-weight: 600;
  --display-track: -0.005em;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--salebar-h) + var(--masthead-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: var(--step-0);
  line-height: 1.6;
  font-feature-settings: "kern", "liga", "onum";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--primary-text); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--accent-text); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.12; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--brand-accent); outline-offset: 3px; }
::selection { background: var(--metal-soft); color: var(--ink); }

[hidden]:not(.bpanel) { display: none !important; }
.sr-only { 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 { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.show-sm { display: none; }

/* Brand repaint animation (toggled by brand.js while colors change) */
html.brand-anim *, html.brand-anim *::before, html.brand-anim *::after {
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), fill .5s var(--ease), stroke .5s var(--ease) !important;
}
/* Hide brand text until brand.js has applied a saved brand (prevents a flash of the demo name) */
html.has-brand:not(.brand-ready) [data-b] { visibility: hidden; }

/* ---------- Type ---------- */
.display, .h1, .h2 {
  font-family: var(--f-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-track);
}
.display { font-size: var(--step-5); line-height: 0.98; }
.h1 { font-size: var(--step-4); line-height: 1.04; }
.h2 { font-size: var(--step-3); line-height: 1.08; }
.h3 { font-family: var(--f-serif); font-size: var(--step-2); line-height: 1.2; }
.h4 { font-family: var(--f-sans); font-weight: 600; font-size: var(--step-1); line-height: 1.3; }
html[data-font="modern"] .h3 { font-weight: 700; letter-spacing: -0.02em; }
html[data-font="garamond"] .h3 { font-weight: 600; }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); max-width: 38em; }
.kicker {
  display: inline-block;
  font-family: var(--f-sans);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 18px;
}
.muted { color: var(--ink-3); }
.small { font-size: var(--step--1); }
.note { font-size: var(--step--2); color: var(--ink-3); letter-spacing: 0.01em; }
.prose { max-width: 40em; }
.prose p { color: var(--ink-2); }
.italic { font-family: var(--f-serif); font-style: italic; }

/* ---------- Buttons & links ---------- */
.btn {
  --_bg: var(--brand-primary);
  --_fg: var(--on-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--_bg);
  border-radius: var(--radius);
  background: var(--_bg);
  color: var(--_fg);
  font-family: var(--f-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { color: var(--_fg); transform: translateY(-1px); box-shadow: 0 6px 18px -8px color-mix(in oklab, var(--_bg) 70%, transparent); }
.btn:active { transform: none; }
.btn--accent { --_bg: var(--brand-accent); --_fg: var(--on-accent); }
.btn--ghost { background: transparent; color: var(--primary-text); border-color: var(--line-strong); }
.btn--ghost:hover { color: var(--primary-text); border-color: var(--primary-text); box-shadow: none; }
.btn--light { --_bg: #fff; --_fg: var(--primary-text); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--outline-light:hover { color: #fff; border-color: #fff; box-shadow: none; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 0.875rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--primary-text);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
}
.arrow-link::after { content: "→"; transition: transform .2s var(--ease); }
.arrow-link:hover { border-color: currentColor; }
.arrow-link:hover::after { transform: translateX(4px); }
.linklike { background: none; border: 0; padding: 0; color: var(--primary-text); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.iconbtn {
  width: 40px; height: 40px;
  display: inline-grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  background: #fff; color: var(--ink);
  font-size: 22px; line-height: 1; cursor: pointer;
}
.iconbtn:hover { border-color: var(--ink); }

/* ---------- Sale bar ---------- */
.salebar {
  position: sticky; top: 0; z-index: 60;
  height: var(--salebar-h);
  background: var(--primary-deep);
  color: color-mix(in oklab, var(--brand-metal) 80%, #fff);
  font-size: 0.86rem;
  border-bottom: 1px solid color-mix(in oklab, var(--brand-metal) 30%, transparent);
}
.salebar__in {
  height: 100%;
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.salebar__msg { margin: 0; display: flex; align-items: center; gap: 10px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.salebar__msg b { color: #fff; font-weight: 600; }
.salebar__branded { display: none; overflow: hidden; text-overflow: ellipsis; }
html.is-branded .salebar__default { display: none; }
html.is-branded .salebar__branded { display: inline; }
.pip { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--brand-metal); box-shadow: 0 0 0 0 var(--brand-metal); animation: pip 2.4s infinite; }
@keyframes pip { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--brand-metal) 70%, transparent); } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }
.salebar__actions { display: flex; align-items: center; gap: 18px; flex: none; }
.salebar__try { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 0.25em; text-decoration-color: color-mix(in oklab, currentColor 50%, transparent); }
.salebar__try:hover { color: #fff; }
.salebar__offer {
  display: inline-flex; align-items: center; height: 28px; padding: 0 14px;
  background: var(--brand-metal); color: var(--primary-deep);
  border-radius: 2px; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.02em; text-decoration: none;
}
.salebar__offer:hover { color: var(--primary-deep); background: #fff; }

/* ---------- Utility bar & masthead ---------- */
.utility { background: var(--brand-primary); color: color-mix(in oklab, var(--on-primary) 78%, transparent); font-size: 0.8rem; }
.utility__in { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 24px; }
.utility__note { margin: 0; }
.utility__links { list-style: none; display: flex; gap: 22px; }
.utility a { color: inherit; text-decoration: none; }
.utility a:hover { color: var(--on-primary); text-decoration: underline; }

.masthead {
  position: sticky; top: var(--salebar-h); z-index: 50;
  background: color-mix(in oklab, var(--paper) 94%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.masthead__in { display: flex; align-items: center; gap: 28px; min-height: var(--masthead-h); }
.lockup { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--primary-text); flex: none; max-width: 340px; }
.lockup:hover { color: var(--primary-text); }
.mark { display: block; width: 42px; flex: none; }
.mark svg { width: 100%; height: auto; overflow: visible; }
.mark img { width: 100%; height: auto; max-height: 56px; object-fit: contain; }
.mark.has-logo { width: auto; max-width: 150px; }
.mark.has-logo img { width: auto; max-width: 150px; height: 48px; }
.lockup__text { display: flex; flex-direction: column; min-width: 0; }
.lockup__name {
  font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: var(--display-track);
  font-size: 1.65rem; line-height: 1; overflow-wrap: anywhere;
}
.lockup__desc {
  margin-top: 5px;
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2);
}
html.long-name .lockup__name { font-size: 1.25rem; }

.c-shield { fill: var(--brand-primary); stroke: var(--brand-metal); stroke-width: 2.5; }
.c-line { fill: none; stroke: var(--brand-metal); stroke-width: 0.9; opacity: 0.75; }
.c-metal { fill: var(--brand-metal); }
.c-rule { stroke: var(--brand-metal); stroke-width: 0.9; }
.c-initials { fill: var(--brand-metal); font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: 0.04em; }

.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; }
.nav a {
  display: block; padding: 10px 12px;
  font-size: 0.93rem; font-weight: 500; color: var(--ink); text-decoration: none;
  position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--brand-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav__extra { display: none; }
.masthead__cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; place-items: center; }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform .2s; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -6px; }
.menu-btn__bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding-block: var(--space-section); }
.section--ivory { background: var(--ivory); }
.section--tint { background: var(--primary-tint); }
.section--primary { background: var(--brand-primary); color: var(--on-primary); }
.section--primary .lede, .section--primary .prose p { color: color-mix(in oklab, var(--on-primary) 80%, transparent); }
.section--primary .kicker { color: var(--brand-metal); }
.section--primary a:not(.btn) { color: inherit; }
.section--deep { background: var(--primary-deep); color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(36px, 5vw, 64px); flex-wrap: wrap; }
.section-head > div { max-width: 44rem; }
.section-head .lede { margin: 18px 0 0; }

.rule-metal { height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, var(--brand-metal), color-mix(in oklab, var(--brand-metal) 0%, transparent)); }

/* ---------- Arches (collegiate-gothic frames) ---------- */
.arch { position: relative; clip-path: url(#arch); overflow: hidden; background: var(--primary-tint); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.archframe { position: relative; }
.archframe__line {
  position: absolute; top: -14px; left: 14px; width: 100%; height: 100%;
  overflow: visible; pointer-events: none; z-index: -1;
}
.archframe__line path { fill: none; stroke: var(--brand-metal); stroke-width: 1.25; vector-effect: non-scaling-stroke; }

/* ---------- Home hero ---------- */
.hero { position: relative; padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero__copy .display { color: var(--primary-text); }
.hero__copy .display em { font-style: italic; font-family: var(--f-serif); color: var(--accent-text); font-weight: 400; }
html[data-font="modern"] .hero__copy .display em { font-family: var(--f-display); font-style: normal; }
.hero__copy .lede { margin: 28px 0 36px; }
.hero__media { position: relative; isolation: isolate; padding: 14px 14px 0 0; }
.hero__media .arch { aspect-ratio: 4 / 5; }
.hero__plaque {
  position: absolute; left: -28px; bottom: 36px; z-index: 2;
  background: var(--paper); border: 1px solid var(--line); padding: 16px 20px; max-width: 250px;
  box-shadow: 0 18px 40px -24px rgba(10, 20, 40, .45);
}
.hero__plaque p { margin: 0; }
.pl-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-text); }
.pl-date { margin: 8px 0 6px !important; font-family: var(--f-display); font-weight: var(--display-weight); font-size: 2rem; line-height: 1; color: var(--primary-text); }
.pl-meta { font-size: 0.85rem; color: var(--ink-2); }

.deadline-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px;
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 0.9rem; color: var(--ink-2);
}
.deadline-strip b { color: var(--ink); font-weight: 600; }
.deadline-strip .count { font-family: var(--f-serif); font-style: italic; color: var(--accent-text); }

/* Page-load: the arch opens, the headline settles */
@media (prefers-reduced-motion: no-preference) {
  .hero__media .arch img { animation: arch-rise 1.5s var(--ease) both; }
  .hero__media .archframe__line { animation: fade 1.2s .7s var(--ease) both; }
  .hero__copy > * { animation: settle .9s var(--ease) both; }
  .hero__copy > *:nth-child(2) { animation-delay: .08s; }
  .hero__copy > *:nth-child(3) { animation-delay: .16s; }
  .hero__copy > *:nth-child(4) { animation-delay: .24s; }
  .hero__copy > *:nth-child(5) { animation-delay: .32s; }
}
@keyframes arch-rise { from { clip-path: inset(100% 0 0 0); transform: scale(1.08); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes settle { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.hero__media .arch img { transform-origin: 50% 100%; }

/* ---------- Program cards ---------- */
.programs { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.pcard { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.pcard .arch { aspect-ratio: 3 / 4; margin-bottom: 22px; }
.pcard .arch img { transition: transform 1s var(--ease); }
.pcard:hover .arch img { transform: scale(1.04); }
.pcard__meta { font-size: var(--step--2); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.pcard h3 { color: var(--primary-text); margin-bottom: 10px; }
.pcard p { color: var(--ink-2); font-size: 0.97rem; margin-bottom: 18px; }
.pcard .arrow-link { margin-top: auto; align-self: flex-start; }
.pcard:hover { color: inherit; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid color-mix(in oklab, var(--on-primary) 22%, transparent); }
.stat { padding: 34px 28px 8px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid color-mix(in oklab, var(--on-primary) 22%, transparent); }
.stat b {
  display: block; font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: var(--display-track);
  font-size: clamp(2.6rem, 1.6rem + 3vw, 4.4rem); line-height: 1; color: var(--brand-metal);
  font-feature-settings: "lnum";
}
.stat span { display: block; margin-top: 14px; font-size: 0.95rem; color: color-mix(in oklab, var(--on-primary) 78%, transparent); max-width: 15em; }
.stats-note { margin-top: 28px; font-size: var(--step--2); color: color-mix(in oklab, var(--on-primary) 55%, transparent); }

/* ---------- Method / pillars ---------- */
.method { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.method__media { position: sticky; top: calc(var(--salebar-h) + var(--masthead-h) + 32px); isolation: isolate; padding: 14px 14px 0 0; }
.method__media .arch { aspect-ratio: 4 / 5; }
.pillars { list-style: none; counter-reset: none; }
.pillar { padding: 30px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 9rem 1fr; gap: 24px; }
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar h3 { font-size: 1.35rem; color: var(--primary-text); }
.pillar p { margin: 0; color: var(--ink-2); }

/* ---------- Try-it interstitial ---------- */
.tryit {
  position: relative;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 64px); align-items: center;
  padding: clamp(32px, 5vw, 64px);
  background: var(--paper);
  border: 1px solid var(--brand-metal);
  outline: 1px solid var(--brand-metal); outline-offset: 6px;
}
.tryit__tag {
  position: absolute; top: -13px; left: clamp(32px, 5vw, 64px);
  background: var(--brand-metal); color: var(--primary-deep);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; padding: 5px 12px;
}
.tryit .h2 { color: var(--primary-text); }
.tryit p { color: var(--ink-2); margin: 16px 0 0; }
.tryit__form { display: flex; gap: 10px; flex-wrap: wrap; }
.tryit__form input {
  flex: 1 1 220px; min-height: 54px; padding: 0 18px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--ivory);
  font-family: var(--f-serif); font-size: 1.2rem;
}
.tryit__form input:focus { outline: 2px solid var(--brand-accent); outline-offset: 1px; background: #fff; }
.tryit__form .btn { min-height: 54px; }
.tryit__more { margin-top: 14px; font-size: 0.88rem; color: var(--ink-3); }
.tryit__offer { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; margin: 22px 0 0 !important; padding-top: 18px; border-top: 1px solid var(--line); }
.tryit__included { font-size: 0.9rem; color: var(--ink-2); }

/* ---------- Faculty ---------- */
.facgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.fac { text-align: left; }
.fac__portrait {
  aspect-ratio: 4 / 5; margin-bottom: 18px;
  display: grid; place-items: center;
  background:
    radial-gradient(120% 80% at 50% 0%, color-mix(in oklab, var(--brand-primary) 85%, #fff) 0%, var(--brand-primary) 70%);
  color: var(--brand-metal);
}
.fac__portrait span {
  font-family: var(--f-display); font-weight: var(--display-weight);
  font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.6rem); letter-spacing: 0.04em; margin-top: 18%;
}
.fac:nth-child(3n+2) .fac__portrait { background: radial-gradient(120% 80% at 50% 0%, color-mix(in oklab, var(--brand-accent) 80%, #fff) 0%, var(--brand-accent) 70%); color: #fff; }
.fac:nth-child(3n) .fac__portrait { background: var(--ivory); color: var(--primary-text); box-shadow: inset 0 0 0 1px var(--line); }
.fac h3 { font-family: var(--f-serif); font-size: 1.2rem; color: var(--ink); }
html[data-font="modern"] .fac h3 { font-weight: 700; }
.fac__title { margin: 4px 0 8px; font-size: 0.88rem; color: var(--ink-2); }
.fac__focus { margin: 0; font-size: 0.88rem; color: var(--ink-3); font-style: italic; font-family: var(--f-serif); }

/* ---------- Stories ---------- */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); }
.story { display: flex; flex-direction: column; padding-top: 28px; border-top: 2px solid var(--brand-metal); }
.story blockquote { margin: 0 0 28px; font-family: var(--f-serif); font-size: 1.2rem; line-height: 1.5; color: var(--ink); }
html[data-font="garamond"] .story blockquote { font-size: 1.35rem; }
.story blockquote::before { content: "“"; display: block; font-family: var(--f-display); font-size: 3.6rem; line-height: 0.6; color: var(--brand-metal); margin-bottom: 10px; }
.story footer { margin-top: auto; font-size: 0.9rem; }
.story footer b { display: block; color: var(--ink); }
.story__path { color: var(--ink-2); }
.story__path i { font-style: normal; color: var(--accent-text); padding-inline: 4px; }
.sample-tag { display: inline-block; margin-top: 10px; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line); padding: 2px 7px; }

/* ---------- Events & news ---------- */
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.listhead { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.listhead h2 { font-family: var(--f-serif); font-size: 1.5rem; }
.events, .news { list-style: none; }
.event { display: grid; grid-template-columns: 74px 1fr auto; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.event__date { text-align: center; border: 1px solid var(--line-strong); padding: 8px 0 6px; line-height: 1; }
.event__date b { display: block; font-family: var(--f-display); font-weight: var(--display-weight); font-size: 1.9rem; color: var(--primary-text); }
.event__date span { display: block; margin-top: 4px; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-text); font-weight: 600; }
.event h3 { font-size: 1.05rem; font-weight: 600; font-family: var(--f-sans); }
.event p { margin: 2px 0 0; font-size: 0.88rem; color: var(--ink-3); }
.newsitem { padding: 18px 0; border-bottom: 1px solid var(--line); }
.newsitem a { text-decoration: none; color: var(--ink); }
.newsitem a:hover h3 { color: var(--accent-text); }
.newsitem h3 { font-family: var(--f-serif); font-size: 1.2rem; line-height: 1.35; margin: 4px 0 6px; transition: color .2s; }
html[data-font="modern"] .newsitem h3 { font-weight: 700; }
.newsitem__meta { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.newsitem__meta i { font-style: normal; color: var(--accent-text); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, var(--primary-deep) 0%, color-mix(in oklab, var(--primary-deep) 85%, transparent) 45%, color-mix(in oklab, var(--primary-deep) 35%, transparent) 100%); }
.cta-band__in { padding-block: clamp(80px, 11vw, 160px); max-width: 40rem; }
.cta-band .h1 { color: #fff; }
.cta-band .h1 span.addr { font-family: var(--f-serif); font-style: italic; color: var(--brand-metal); }
html[data-font="modern"] .cta-band .h1 span.addr { font-family: var(--f-display); font-style: normal; }
.cta-band p { color: rgba(255,255,255,.82); margin: 22px 0 34px; font-size: var(--step-1); }

/* ---------- Inner page hero ---------- */
.phero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.phero__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.phero .h1 { color: var(--primary-text); }
.phero .lede { margin-top: 24px; }
.phero__media { isolation: isolate; padding: 14px 14px 0 0; }
.phero__media .arch { aspect-ratio: 5 / 6; }
.crumbs { font-size: 0.82rem; color: var(--ink-3); margin-bottom: 22px; }
.crumbs a { color: inherit; }

/* ---------- Facts, tables, lists ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.facts div { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { margin: 6px 0 0; font-family: var(--f-serif); font-size: 1.25rem; color: var(--ink); }
html[data-font="modern"] .facts dd { font-weight: 600; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 2px solid var(--ink); }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 0.95rem; }
.compare th, .compare td { text-align: left; padding: 16px 18px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--f-serif); font-size: 1.15rem; font-weight: 400; color: var(--primary-text); }
.compare thead th a { text-decoration: none; }
.compare tbody th { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); width: 14%; }

.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 14px; height: 8px; border-left: 2px solid var(--brand-accent); border-bottom: 2px solid var(--brand-accent); transform: rotate(-45deg); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { border: 1px solid var(--line-strong); padding: 8px 14px; font-size: 0.92rem; background: var(--paper); }

.week { list-style: none; border-top: 1px solid var(--line); }
.week li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.week b { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); font-weight: 600; padding-top: 2px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.split--wide { grid-template-columns: 0.8fr 1.2fr; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards > * { background: var(--paper); padding: clamp(24px, 3vw, 36px); }
.section--ivory .cards > * { background: var(--ivory); }
.cards h3 { font-family: var(--f-serif); font-size: 1.3rem; color: var(--primary-text); margin-bottom: 10px; }
html[data-font="modern"] .cards h3 { font-weight: 700; }
.cards p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }

/* Admissions steps — a real sequence, so it is numbered */
.steps { list-style: none; counter-reset: step; display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 4.5rem 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step); font-family: var(--f-display); font-weight: var(--display-weight); font-size: 2.4rem; line-height: 1; color: var(--brand-metal); }
.steps h3 { font-family: var(--f-sans); font-size: 1.1rem; font-weight: 600; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--ink-2); }

.deadlines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.deadline { border: 1px solid var(--line-strong); padding: 26px; background: var(--paper); position: relative; }
.deadline.is-next { border-color: var(--brand-accent); box-shadow: inset 0 3px 0 var(--brand-accent); }
.deadline__round { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); }
.deadline__date { display: block; font-family: var(--f-display); font-weight: var(--display-weight); font-size: 2rem; color: var(--primary-text); margin: 10px 0 6px; line-height: 1.1; }
.deadline p { margin: 0; font-size: 0.9rem; color: var(--ink-2); }
.deadline.is-closed { opacity: .62; }
.deadline__badge--closed { background: var(--ink-3) !important; color: #fff !important; }
.deadline__badge { position: absolute; top: 18px; right: 18px; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--on-accent); background: var(--brand-accent); padding: 4px 8px; }

.bars { list-style: none; display: grid; gap: 14px; }
.bar { display: grid; grid-template-columns: 11rem 1fr 3.2rem; gap: 16px; align-items: center; font-size: 0.95rem; }
.bar__track { height: 10px; background: color-mix(in oklab, var(--brand-primary) 10%, #fff); }
.bar__fill { height: 100%; background: var(--brand-primary); width: var(--w); }
.bar b { text-align: right; font-feature-settings: "lnum", "tnum"; }

.logo-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.logo-slot { aspect-ratio: 5 / 2; display: grid; place-items: center; border: 1px dashed var(--line-strong); color: var(--ink-3); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; background: var(--paper); text-align: center; padding: 8px; }

.quote-xl { font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: var(--step-3); line-height: 1.15; color: var(--primary-text); max-width: 22em; }

/* ---------- "For sale" strip above the footer ---------- */
.prefoot { position: relative; background: var(--paper); border-top: 1px solid var(--brand-metal); }
.prefoot::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: color-mix(in oklab, var(--brand-metal) 45%, transparent); }
.prefoot__in { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 28px; align-items: center; padding-block: 40px 38px; }
.prefoot__mark .mark { width: 40px; }
.prefoot__mark .mark.has-logo img { height: 44px; max-width: 120px; }
.prefoot__title { margin: 0; font-family: var(--f-serif); font-size: 1.35rem; line-height: 1.3; color: var(--ink); }
html[data-font="modern"] .prefoot__title { font-weight: 600; }
.prefoot__title b { color: var(--primary-text); }
.prefoot__sub { margin: 4px 0 0; font-size: 0.93rem; color: var(--ink-2); }
.prefoot__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--primary-deep); color: rgba(255,255,255,.72); font-size: 0.92rem; }
.footer__top { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; padding-block: 72px 56px; }
.lockup--footer { color: #fff; }
.lockup--footer:hover { color: #fff; }
.lockup--footer .lockup__desc { color: rgba(255,255,255,.6); }
.lockup--footer .mark { width: 54px; }
.footer__addr { margin: 26px 0 8px; line-height: 1.5; }
.footer__web { color: var(--brand-metal); font-family: var(--f-serif); font-size: 1.1rem; }
.footer__web b { font-weight: 400; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer h2 { font-family: var(--f-sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand-metal); margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a, .footer .linklike { color: rgba(255,255,255,.8); text-decoration: none; }
.footer a:hover, .footer .linklike:hover { color: #fff; text-decoration: underline; }
.footer__sale { padding-left: 24px; border-left: 1px solid color-mix(in oklab, var(--brand-metal) 45%, transparent); }
.footer__base { border-top: 1px solid rgba(255,255,255,.12); padding-block: 28px 40px; display: grid; gap: 10px; }
.footer__disclaimer { max-width: 62em; font-size: 0.8rem; color: rgba(255,255,255,.55); margin: 0; }
.footer__legal { font-size: 0.8rem; margin: 0; color: rgba(255,255,255,.55); }
.footer__legal a { color: var(--brand-metal); }

/* ---------- Floating dock: "Make it yours" + "Make an offer" ---------- */
.dock {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  display: flex; align-items: stretch; height: 52px;
  border-radius: 999px; overflow: hidden;
  background: var(--primary-deep);
  border: 1px solid color-mix(in oklab, var(--brand-metal) 55%, transparent);
  box-shadow: 0 14px 34px -12px rgba(8, 16, 32, .55);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.dock__try, .dock__offer {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--f-sans); font-size: 0.93rem; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.dock__try { padding: 0 18px 0 20px; border: 0; background: transparent; color: #fff; font-weight: 600; }
.dock__try svg { color: var(--brand-metal); }
.dock__try:hover { background: rgba(255, 255, 255, .07); }
.dock__offer { padding: 0 22px 0 20px; background: var(--brand-metal); color: var(--primary-deep); font-weight: 700; text-decoration: none; }
.dock__offer span { transition: transform .2s var(--ease); }
.dock__offer:hover { color: var(--primary-deep); background: color-mix(in oklab, var(--brand-metal) 80%, #fff); }
.dock__offer:hover span { transform: translateX(3px); }
.dock :focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
@media (prefers-reduced-motion: no-preference) {
  .dock.nudge .dock__try svg { animation: twinkle 1.6s var(--ease) 2; }
}
@keyframes twinkle { 0%, 100% { transform: rotate(0) scale(1); } 50% { transform: rotate(90deg) scale(1.25); } }
html.panel-open .dock, html.offer-in-view .dock { opacity: 0; transform: translateY(12px); pointer-events: none; }

/* Gentle prompt after someone rebrands the site */
.toast {
  position: fixed; right: 22px; bottom: 88px; z-index: 71;
  width: min(340px, calc(100vw - 24px));
  padding: 18px 44px 18px 20px;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-top: 3px solid var(--brand-metal);
  box-shadow: 0 24px 50px -24px rgba(8, 16, 32, .5);
  animation: settle .4s var(--ease);
}
.toast p { margin: 0 0 12px; font-size: 0.95rem; line-height: 1.45; }
.toast b { font-family: var(--f-serif); font-weight: 400; color: var(--primary-text); }
.toast .iconbtn { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; font-size: 18px; }

/* ---------- Brand panel ---------- */
.bpanel {
  position: fixed; z-index: 90; top: var(--salebar-h); right: 0; bottom: 0;
  width: min(420px, 100vw);
  display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 60px -30px rgba(8, 16, 32, .45);
  transform: translateX(0); transition: transform .4s var(--ease);
}
.bpanel[hidden] { display: flex; transform: translateX(105%); visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s; }
.bpanel__head { display: flex; justify-content: space-between; gap: 16px; padding: 22px 24px 16px; border-bottom: 1px solid var(--line); }
.bpanel__head h2 { font-family: var(--f-display); font-weight: var(--display-weight); font-size: 1.8rem; color: var(--primary-text); }
.bpanel__head p { margin: 6px 0 0; font-size: 0.86rem; color: var(--ink-2); line-height: 1.45; }
.bpanel__body { flex: 1; overflow-y: auto; padding: 8px 24px 16px; overscroll-behavior: contain; }
.bpanel fieldset { border: 0; padding: 18px 0; margin: 0; border-bottom: 1px solid var(--line); }
.bpanel fieldset:last-child { border-bottom: 0; }
.bpanel legend { padding: 0; margin-bottom: 12px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field > span { font-size: 0.85rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff;
  font-size: 1rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand-accent); outline-offset: 0; border-color: transparent; }
.hint { margin: 0; font-size: 0.82rem; color: var(--ink-3); }
.hint b { color: var(--ink); font-weight: 600; }
.bp-logo { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; }
.bp-logo__preview { width: 72px; height: 72px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--ivory); padding: 8px; }
.bp-logo__preview svg { width: 40px; }
.bp-logo__preview img { max-width: 100%; max-height: 54px; object-fit: contain; }
.bp-logo__preview.has-logo { width: 72px; max-width: 72px; }
.bp-upload { position: relative; cursor: pointer; margin-bottom: 8px; }
.bp-upload:focus-within { outline: 2px solid var(--brand-accent); outline-offset: 2px; }
.bp-logo__remove { display: block; font-size: 0.85rem; margin-bottom: 6px; }
.bp-check { display: flex; gap: 8px; align-items: center; margin-top: 8px; font-size: 0.85rem; cursor: pointer; }
.bp-check[hidden] { display: none; }
html.logo-only .lockup__text { display: none; }
html.logo-only .masthead .mark.has-logo img { height: 54px; max-width: 220px; }
.bp-error { margin: 10px 0 0; font-size: 0.85rem; color: #A11; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 8px; margin-bottom: 16px; }
.swatch {
  position: relative; width: 44px; height: 44px; justify-self: center; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
  background: conic-gradient(var(--a) 0 50%, var(--p) 50% 100%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.swatch::after { content: ""; position: absolute; inset: 30%; border-radius: 50%; background: var(--m); box-shadow: 0 0 0 2px #fff; }
.swatch[aria-checked="true"] { outline: 2px solid var(--ink); outline-offset: 3px; }
.swatch-label { display: block; text-align: center; font-size: 0.7rem; color: var(--ink-3); margin-top: 4px; }
.swatches > div { display: grid; }
.bp-custom { display: flex; gap: 16px; flex-wrap: wrap; }
.bp-custom label { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; cursor: pointer; }
.bp-custom input[type="color"] { width: 34px; height: 34px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: none; cursor: pointer; }
.bp-custom input[type="color"]::-webkit-color-swatch-wrapper { padding: 2px; }
.bp-custom input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 50%; }
.bp-custom input[type="color"]::-moz-color-swatch { border: 0; border-radius: 50%; }
.typepick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.typepick label { position: relative; display: grid; justify-items: center; gap: 2px; padding: 12px 6px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; }
.typepick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.typepick label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.typepick label:has(input:focus-visible) { outline: 2px solid var(--brand-accent); outline-offset: 2px; }
.tp { font-size: 1.9rem; line-height: 1.1; color: var(--primary-text); }
.tp--classic { font-family: "Libre Caslon Display", Georgia, serif; }
.tp--garamond { font-family: "Cormorant Garamond", Garamond, Georgia, serif; font-weight: 600; }
.tp--modern { font-family: "Schibsted Grotesk", system-ui, sans-serif; font-weight: 800; letter-spacing: -0.04em; }
.typepick small { font-size: 0.72rem; color: var(--ink-3); }
.bpanel__foot { padding: 16px 24px 22px; border-top: 1px solid var(--line); background: var(--ivory); }
.bpanel__tools { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.bpanel__tools .linklike { font-size: 0.88rem; }
.bp-status { min-height: 1.3em; margin: 0 0 10px; font-size: 0.85rem; color: var(--accent-text); }

/* ---------- Demo modal ---------- */
.dmodal {
  width: min(520px, calc(100vw - 32px)); padding: 44px 40px 30px; border: 0; border-radius: 4px;
  background: var(--paper); color: var(--ink); text-align: center;
  box-shadow: 0 40px 100px -30px rgba(8, 16, 32, .6);
}
.dmodal::backdrop { background: color-mix(in oklab, var(--primary-deep) 72%, transparent); backdrop-filter: blur(3px); }
.dmodal[open] { animation: settle .35s var(--ease); }
.dmodal__close-form { position: absolute; top: 14px; right: 14px; margin: 0; }
.dmodal__mark { display: flex; justify-content: center; margin-bottom: 18px; }
.dmodal__mark .mark { width: 54px; }
.dmodal__mark .mark.has-logo img { height: 56px; max-width: 180px; }
.dmodal h2 { font-family: var(--f-display); font-weight: var(--display-weight); font-size: 2rem; color: var(--primary-text); margin-bottom: 14px; }
.dmodal p { color: var(--ink-2); }
.dmodal__sale { padding: 12px 16px; background: var(--ivory); border: 1px solid var(--line); color: var(--ink) !important; }
.dmodal__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 24px 0 14px; }
.dmodal__keep { font-size: 0.9rem; color: var(--ink-3); }
.dmodal form { margin: 0; }

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .nav { position: fixed; inset: calc(var(--salebar-h) + var(--masthead-h)) 0 auto 0; margin: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(0,0,0,.3); display: none; max-height: calc(100vh - 120px); overflow: auto; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; padding: 12px var(--gutter) 20px; gap: 0; }
  .nav a { padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav__extra { display: block; }
  .nav__extra a { color: var(--accent-text); font-weight: 600; }
  .menu-btn { display: grid; }
  .masthead__cta { margin-left: auto; }
  .programs { grid-template-columns: repeat(2, 1fr); }
  .facgrid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .prefoot__in { grid-template-columns: auto 1fr; align-items: start; }
  .prefoot__mark { padding-top: 4px; }
  .prefoot__actions { grid-column: 1 / -1; }
  .hero__grid, .phero__grid, .method, .split, .split--wide, .twocol, .tryit { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; }
  .hero__plaque { left: auto; right: 0; bottom: 24px; }
  .method__media { position: relative; top: 0; max-width: 520px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stories { grid-template-columns: 1fr; }
  .deadlines { grid-template-columns: 1fr; }
  .cards--3, .cards--4 { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .logo-slots { grid-template-columns: repeat(2, 1fr); }
  .phero__media { max-width: 460px; }
  .utility { display: none; }
}
@media (max-width: 640px) {
  :root { --salebar-h: 38px; --masthead-h: 64px; }
  .hide-sm { display: none !important; }
  .show-sm { display: inline; }
  .salebar { font-size: 0.8rem; }
  .salebar__offer { padding: 0 10px; }
  .lockup { gap: 10px; }
  .mark { width: 34px; }
  .lockup__name { font-size: 1.3rem; }
  .lockup__desc { font-size: 0.58rem; letter-spacing: 0.16em; }
  .masthead__cta .btn { display: none; }
  .programs, .facgrid { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .pcard .arch { margin-bottom: 14px; }
  .pcard h3 { font-size: 1.2rem; }
  .pcard p { font-size: 0.88rem; margin-bottom: 12px; }
  .pcard__meta { font-size: 0.6rem; letter-spacing: 0.1em; }
  .pcard .arrow-link { font-size: 0.85rem; }
  .fac h3 { font-size: 1.02rem; }
  .fac__title, .fac__focus { font-size: 0.8rem; }
  .cards, .cards--3, .cards--4 { grid-template-columns: 1fr; }
  .pillar { grid-template-columns: 1fr; gap: 8px; }
  .event { grid-template-columns: 64px 1fr; }
  .event .btn { grid-column: 2; justify-self: start; }
  .bar { grid-template-columns: 7.5rem 1fr 2.6rem; gap: 10px; font-size: 0.88rem; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__sale { padding-left: 0; border-left: 0; }
  .dock { left: 12px; right: 12px; bottom: 12px; height: 50px; }
  .dock__try, .dock__offer { flex: 1; padding: 0 10px; font-size: 0.9rem; }
  .toast { left: 12px; right: 12px; bottom: 72px; width: auto; }
  .footer__base { padding-bottom: 88px; }
  .bpanel { width: 100vw; border-left: 0; top: calc(var(--salebar-h) + var(--masthead-h)); box-shadow: 0 -12px 30px -12px rgba(8, 16, 32, .35); border-top: 1px solid var(--line); }
  .bpanel__head { padding: 16px 20px 12px; }
  .bpanel__head h2 { font-size: 1.5rem; }
  .bpanel__body { padding: 4px 20px 12px; }
  .bpanel__foot { padding: 12px 20px 16px; }
  .dmodal { padding: 40px 22px 24px; }
  .week li { grid-template-columns: 5rem 1fr; }
  .stat { padding-right: 12px; }
  .stat + .stat { padding-left: 16px; }
  .stat:nth-child(3) { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Programs ---------- */
.prog-list { display: grid; gap: clamp(56px, 8vw, 112px); }
.prog-row { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.prog-row:nth-child(even) .prog-row__media { order: 2; }
.prog-row__media .arch { aspect-ratio: 4 / 5; }
.prog-row__media .arch img { transition: transform 1s var(--ease); }
.prog-row__media:hover .arch img { transform: scale(1.04); }
.prog-row h2 a { text-decoration: none; color: var(--primary-text); }
.prog-row h2 a:hover { color: var(--accent-text); }
.prog-row__tag, .prog-detail__tag { font-size: var(--step-1); color: var(--accent-text); margin: 10px 0 18px; }
.prog-detail__tag { margin: 14px 0 0; }
.prog-row__sum { color: var(--ink-2); max-width: 36em; }
.facts--compact { margin: 28px 0 32px; }
.facts--compact dd { font-size: 1.1rem; }
.programs--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .prog-row { grid-template-columns: 1fr; }
  .prog-row:nth-child(even) .prog-row__media { order: 0; }
  .prog-row__media { max-width: 420px; }
  .programs--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .programs--3 { grid-template-columns: 1fr; }
  .facts--compact { grid-template-columns: 1fr 1fr; }
}

/* ---------- Admissions ---------- */
.visit-list { display: grid; margin-top: 32px; border-top: 1px solid var(--line-strong); }
.visit-list a { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-strong); text-decoration: none; color: var(--ink); }
.visit-list a::after { content: "→"; color: var(--accent-text); transition: transform .2s var(--ease); }
.visit-list a:hover::after { transform: translateX(4px); }
.visit-list b { font-weight: 600; }
.visit-list span { margin-left: auto; color: var(--ink-3); font-size: 0.9rem; }
.infoform { background: var(--paper); border: 1px solid var(--line); padding: clamp(24px, 3.5vw, 40px); }
.infoform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .infoform__row { grid-template-columns: 1fr; gap: 0; } .visit-list span { display: none; } }

/* ---------- Embedded preview (iframe on the Acquire page) ---------- */
html.embed .salebar, html.embed .dock, html.embed .utility, html.embed .prefoot { display: none; }
html.embed .masthead { top: 0; }
html.embed { scrollbar-width: none; }

/* ---------- Acquire ---------- */
.btn--metal { --_bg: var(--brand-metal); --_fg: var(--primary-deep); }
.acq-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--primary-deep); color: #fff;
  padding-block: clamp(56px, 8vw, 120px) clamp(64px, 9vw, 128px);
}
.acq-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 30%, color-mix(in oklab, var(--brand-primary) 70%, transparent), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, color-mix(in oklab, var(--brand-metal) 14%, transparent), transparent 70%);
}
.acq-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.acq-hero__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brand-metal); margin-bottom: 18px; }
.acq-hero__title { font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: var(--display-track); line-height: 0.95; }
.acq-domain {
  display: block; font-size: clamp(4rem, 2rem + 8vw, 9.5rem); color: var(--brand-metal);
  padding-bottom: 0.08em; margin-bottom: 0.12em;
  background: linear-gradient(90deg, var(--brand-metal), transparent) bottom left / 100% 1px no-repeat;
}
.acq-hero__is { display: block; font-size: var(--step-4); color: #fff; }
.acq-hero__lede { font-size: var(--step-1); color: rgba(255,255,255,.8); max-width: 32em; margin: 26px 0 36px; }
.acq-hero__caption { margin: 14px 0 0; font-size: 0.82rem; color: rgba(255,255,255,.55); text-align: center; }

.browser { border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 40px 90px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.browser__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #ECEAE4; border-bottom: 1px solid #DCD8CE; }
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #D0CBC0; }
.browser__bar i:first-child { background: #E3685E; } .browser__bar i:nth-child(2) { background: #E9B949; } .browser__bar i:nth-child(3) { background: #6BBF6A; }
.browser__url { flex: 1; margin-left: 14px; height: 24px; border-radius: 6px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; color: #444; }
.browser__url::before { content: ""; width: 9px; height: 9px; margin-right: 6px; border: 1.5px solid #888; border-radius: 2px 2px 3px 3px; border-top-width: 3px; }
.browser__viewport { position: relative; aspect-ratio: 1440 / 940; overflow: hidden; background: var(--paper); }
.browser__viewport iframe { position: absolute; top: 0; left: 0; width: 1440px; height: 940px; border: 0; transform-origin: 0 0; transform: scale(var(--k, .4)); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .browser { transform: none; } }

.included { list-style: none; border-top: 1px solid var(--line); }
.included li { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.included b { font-family: var(--f-serif); font-weight: 400; font-size: 1.25rem; color: var(--primary-text); }
html[data-font="modern"] .included b { font-weight: 700; }
.included span { color: var(--ink-2); }

.reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.reason { background: var(--ivory); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; }
.reason__big { margin: 0 0 28px; font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: clamp(3.4rem, 2rem + 3.4vw, 5.6rem); line-height: 0.9; color: var(--accent-text); }
.reason h3 { font-family: var(--f-serif); font-size: 1.25rem; color: var(--primary-text); margin-bottom: 12px; line-height: 1.25; }
html[data-font="modern"] .reason h3 { font-weight: 700; }
.reason p:last-child { margin: 0; color: var(--ink-2); font-size: 0.97rem; }

.mocks { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: clamp(20px, 3vw, 40px); }
.mock { margin: 0; }
.mock figcaption { margin-top: 12px; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.mock--billboard { grid-row: span 2; display: flex; flex-direction: column; }
.billboard { flex: 1; display: flex; flex-direction: column; padding: 40px 32px 0; background: linear-gradient(#D9E4EC, #EEF2F2 60%, #E2E0D6); border-radius: 4px; min-height: 420px; }
.billboard__face { position: relative; background: var(--brand-primary); color: var(--on-primary); padding: clamp(26px, 4vw, 48px); border: 6px solid #2A2D33; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); }
.billboard__line { margin: 0; font-family: var(--f-serif); font-style: italic; font-size: clamp(1.1rem, 0.8rem + 1vw, 1.6rem); opacity: .9; }
html[data-font="modern"] .billboard__line { font-style: normal; font-family: var(--f-sans); }
.billboard__domain { margin: 4px 0 22px; font-family: var(--f-display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: clamp(3rem, 1.6rem + 5vw, 6rem); line-height: 1; color: var(--brand-metal); }
.billboard__brand { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em; }
.billboard__brand .mark { width: 28px; }
.billboard__brand .mark.has-logo img { height: 30px; max-width: 110px; }
.billboard__legs { display: flex; justify-content: space-around; flex: 1; min-height: 90px; padding-inline: 18%; }
.billboard__legs i { width: 14px; background: linear-gradient(90deg, #3A3D44, #5A5E66, #3A3D44); }

.serp { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; font-family: Arial, Helvetica, sans-serif; color: #202124; box-shadow: 0 12px 30px -20px rgba(0,0,0,.35); }
.serp__query { border: 1px solid #DFE1E5; border-radius: 24px; padding: 10px 18px; font-size: 0.95rem; margin-bottom: 20px; color: #333; }
.serp__query::before { content: "⌕"; margin-right: 10px; color: #9AA0A6; }
.serp__sponsor { margin: 0 0 6px; font-size: 0.8rem; font-weight: 700; }
.serp__site { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 0.85rem; line-height: 1.25; }
.serp__site small { color: #4D5156; font-size: 0.78rem; }
.serp__site b { font-weight: 400; }
.serp__fav { width: 28px; height: 28px; border-radius: 50%; background: #F1F3F4; display: grid; place-items: center; overflow: hidden; }
.serp__fav .mark { width: 16px; }
.serp__fav .mark.has-logo img { height: 18px; max-width: 26px; }
.serp__title { margin: 0 0 4px; font-size: 1.2rem; color: #1A0DAB; line-height: 1.3; }
.serp__desc { margin: 0; font-size: 0.88rem; color: #4D5156; line-height: 1.5; }

.bizcard { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bizcard > div { aspect-ratio: 1.75; border-radius: 4px; padding: 18px; box-shadow: 0 14px 28px -18px rgba(0,0,0,.5); }
.bizcard__front { background: var(--brand-primary); color: var(--on-primary); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.bizcard__front .mark { width: 30px; }
.bizcard__front .mark.has-logo img { height: 34px; max-width: 120px; }
.bizcard__school { margin: 0; font-family: var(--f-display); font-weight: var(--display-weight); font-size: 1.1rem; line-height: 1.1; }
.bizcard__school small { display: block; margin-top: 4px; font-family: var(--f-sans); font-size: 0.5rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: .8; }
.bizcard__back { background: #FDFCF8; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; }
.bizcard__name { margin: 0; font-family: var(--f-serif); font-size: 1rem; color: var(--primary-text); }
.bizcard__role { margin: 0 0 10px; font-size: 0.66rem; color: var(--ink-2); }
.bizcard__contact { margin: 0; font-size: 0.66rem; color: var(--accent-text); line-height: 1.5; }

.addr-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px, 4vw, 48px); }
.addr-chips li { font-family: var(--f-serif); font-size: 1.05rem; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--primary-text); }

.buyers { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid color-mix(in oklab, var(--on-primary) 22%, transparent); }
.buyers > div { padding: 26px 24px 26px 0; border-bottom: 1px solid color-mix(in oklab, var(--on-primary) 22%, transparent); }
.buyers > div:not(:nth-child(4n+1)) { padding-left: 24px; border-left: 1px solid color-mix(in oklab, var(--on-primary) 22%, transparent); }
.buyers h3 { font-family: var(--f-serif); font-size: 1.15rem; color: var(--brand-metal); margin-bottom: 8px; line-height: 1.3; }
html[data-font="modern"] .buyers h3 { font-weight: 700; }
.buyers p { margin: 0; font-size: 0.93rem; color: color-mix(in oklab, var(--on-primary) 78%, transparent); }

.offer__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.offer__intro .h1 { color: var(--primary-text); }
.offer__intro .lede { margin: 20px 0 32px; }
.seller { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.seller__mono { width: 56px; height: 56px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--brand-primary); color: var(--brand-metal); font-family: var(--f-display); font-size: 1.3rem; }
.seller p { margin: 0; }
.seller__name { font-family: var(--f-serif); font-size: 1.2rem; }
.seller__role { font-size: 0.88rem; color: var(--ink-2); }
.seller__link { font-size: 0.88rem; }
.offer__assure { list-style: none; display: grid; gap: 10px; margin-top: 24px; }
.offer__assure li { position: relative; padding-left: 26px; font-size: 0.95rem; color: var(--ink-2); }
.offer__assure li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 12px; height: 7px; border-left: 2px solid var(--brand-accent); border-bottom: 2px solid var(--brand-accent); transform: rotate(-45deg); }

.deed { position: relative; background: #FFFEFB; padding: clamp(36px, 4vw, 52px) clamp(22px, 4vw, 48px) clamp(26px, 3vw, 40px); border: 1px solid var(--brand-metal); outline: 1px solid var(--brand-metal); outline-offset: -8px; box-shadow: 0 30px 60px -40px rgba(20, 20, 40, .45); }
.deed__seal { position: absolute; top: -30px; left: 50%; transform: translateX(-50%); width: 60px; height: 60px; border-radius: 50%; background: #FFFEFB; display: grid; place-items: center; box-shadow: 0 0 0 1px var(--brand-metal); }
.deed__seal .mark { width: 30px; }
.deed__seal .mark.has-logo img { height: 34px; max-width: 46px; }
.deed__head { text-align: center; font-family: var(--f-serif); font-style: italic; font-size: 1.15rem; color: var(--ink-2); margin: 6px 0 24px; }
.deed__head b { font-style: normal; color: var(--primary-text); font-weight: 700; }
.deed__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.deed .field > span i { font-style: normal; font-weight: 400; color: var(--ink-3); font-size: 0.78rem; margin-left: 4px; }
.money { position: relative; display: block; }
.money b { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-family: var(--f-serif); font-size: 1.2rem; color: var(--ink-2); font-weight: 400; }
.money input { padding-left: 32px !important; font-family: var(--f-serif); font-size: 1.25rem !important; font-feature-settings: "lnum", "tnum"; }
.field.is-invalid input, .field.is-invalid select { border-color: #B3261E; box-shadow: inset 0 0 0 1px #B3261E; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.deed__error { margin: 4px 0 14px; padding: 10px 14px; background: #FCEEEE; color: #8C1D18; font-size: 0.9rem; border-left: 3px solid #B3261E; }
.deed__submit { min-height: 56px; font-size: 1rem; margin-top: 6px; }
.deed__submit[disabled] { opacity: .6; cursor: progress; }
.deed__fine { margin: 14px 0 0; text-align: center; }
.deed__done { text-align: center; padding: 20px 0 10px; }
.deed__done .h2 { color: var(--primary-text); margin-bottom: 16px; }
.deed__done .lede { margin: 0 auto 20px; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-family: var(--f-serif); font-size: 1.2rem; color: var(--ink); }
html[data-font="modern"] .faq summary { font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--f-sans); font-size: 1.5rem; font-weight: 300; color: var(--accent-text); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: -6px 0 24px; color: var(--ink-2); max-width: 40em; }

@media (max-width: 1120px) {
  .reasons { grid-template-columns: 1fr 1fr; }
  .buyers { grid-template-columns: 1fr 1fr; }
  .buyers > div:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; }
  .buyers > div:nth-child(even) { padding-left: 24px; border-left: 1px solid color-mix(in oklab, var(--on-primary) 22%, transparent); }
}
@media (max-width: 900px) {
  .acq-hero__grid, .offer__grid, .mocks { grid-template-columns: 1fr; }
  .mock--billboard { grid-row: auto; }
  .browser { transform: none; }
  .included li { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 640px) {
  .reasons, .buyers { grid-template-columns: 1fr; }
  .buyers > div:nth-child(even) { padding-left: 0; border-left: 0; }
  .deed__row { grid-template-columns: 1fr; gap: 0; }
  .billboard { padding: 24px 16px 0; min-height: 0; }
  .bizcard { grid-template-columns: 1fr; max-width: 320px; }
  .acq-hero__preview { display: none; }
}
