/* ==========================================================================
   The Refined University Student 2027 — Sponsorship & Partnership Appeal
   Manners on Point School of Etiquette

   Set like a formal printed appeal: ivory paper, burgundy and antique gold
   from the brand, serif type throughout (Cormorant Garamond for display,
   Source Serif 4 for reading), fine rules instead of shadows. No motion.
   ========================================================================== */

:root {
  --burgundy:      #5E1A2E;
  --burgundy-deep: #46111F;
  --gold:          #A8843F;   /* rules and ornaments */
  --gold-text:     #85652A;   /* gold for text; 5.0:1 on --paper */

  --paper:  #FCFAF5;
  --vellum: #F4EFE5;
  --rule:   #DED4C2;
  --ink:      #231D1F;
  --ink-soft: #564C4F;

  --font-display: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --font-text: "Source Serif 4", Georgia, "Times New Roman", serif;

  --shell: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(64px, 9vw, 112px);
}

/* --------------------------------------------------------------- Reset */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-text); font-size: 17px; line-height: 1.7;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, table { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sprite { display: none; }
.glyph { fill: currentColor; fill-rule: evenodd; stroke: none; }

:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--burgundy); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; }

.shell { width: 100%; max-width: calc(var(--shell) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(720px + 2 * var(--gutter)); }

/* --------------------------------------------------------- Typography */

.kicker {
  font-size: 12px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-text);
}
.numeral {
  font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1;
  color: var(--gold-text); display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
}
.numeral::after { content: ""; width: 48px; height: 1px; background: var(--gold); }
.h2 {
  font-family: var(--font-display); font-weight: 600; color: var(--burgundy);
  font-size: clamp(32px, 4vw, 46px); line-height: 1.1; letter-spacing: .005em;
  margin-bottom: 24px; text-wrap: balance;
}
.h3 { font-family: var(--font-display); font-weight: 600; font-size: 25px; line-height: 1.2; color: var(--ink); margin-bottom: 10px; }
.lede { font-size: 19px; color: var(--ink-soft); }
.prose p + p { margin-top: 18px; }
.prose p { color: var(--ink-soft); }
.small { font-size: 15px; color: var(--ink-soft); font-style: italic; }

/* ------------------------------------------------------------ Buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border: 1px solid transparent; border-radius: 0;
  font-family: var(--font-text); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; transition: background-color .2s, color .2s, border-color .2s;
}
.btn__icon { width: 17px; height: 17px; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 12px; }
.btn--primary { background: var(--burgundy); color: #fff; }
.btn--primary:hover { background: var(--burgundy-deep); }
.btn--outline { border-color: var(--burgundy); color: var(--burgundy); }
.btn--outline:hover { background: var(--burgundy); color: #fff; }
.btn--light { background: #fff; color: var(--burgundy); }
.btn--light:hover { background: var(--vellum); }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ------------------------------------------------------------- Header */

.masthead-bar {
  background: var(--burgundy); color: rgba(255,255,255,.88);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; text-align: center; padding: 8px 0;
}
.masthead-bar em { font-family: var(--font-display); font-size: 15px; letter-spacing: .02em; text-transform: none; color: #E8D3A6; }
.masthead-bar span { color: var(--gold); padding: 0 6px; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); }
.site-header__inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 42px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: 32px; }
.primary-nav ul { display: flex; gap: 28px; }
.primary-nav ul a { font-size: 15px; color: var(--ink-soft); text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.primary-nav ul a:hover { color: var(--burgundy); border-color: var(--gold); }

.nav-toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .25s, top .25s; }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 26px; }
.nav-toggle[aria-expanded="true"] span { top: 22px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .primary-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 28px; background: var(--paper); border-bottom: 1px solid var(--rule);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav ul { flex-direction: column; gap: 0; margin-bottom: 20px; }
  .primary-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--ink); }
}
@media (max-width: 520px) {
  .masthead-bar { font-size: 10.5px; letter-spacing: .1em; }
  .masthead-bar em, .masthead-bar span { display: none; }
  .brand img { height: 34px; }
}

/* --------------------------------------------------------- Title page */

.title-page { padding-top: clamp(56px, 8vw, 96px); text-align: center; }
.title-page__inner { max-width: calc(860px + 2 * var(--gutter)); }
.title-page__h1 {
  font-family: var(--font-display); font-weight: 600; color: var(--burgundy);
  font-size: clamp(40px, 6.2vw, 72px); line-height: 1.04; margin: 18px 0 26px; text-wrap: balance;
}
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 auto 26px; }
.ornament span { width: 64px; height: 1px; background: var(--gold); }
.ornament i { width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }
.ornament--light span { background: rgba(232,211,166,.6); }
.ornament--light i { border-color: #E8D3A6; }
.title-page__programme {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text);
}
.title-page__motto { font-family: var(--font-display); font-style: italic; font-size: clamp(20px, 2.2vw, 25px); color: var(--ink); margin-top: 8px; }
.title-page__meta { margin-top: 22px; font-size: 16px; color: var(--ink-soft); }
.title-page__meta strong { color: var(--ink); font-weight: 600; font-size: 18px; }
.title-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }

.plate { margin-top: clamp(48px, 7vw, 80px); }
.plate img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 40%; border: 1px solid var(--rule); padding: 8px; background: #fff; }
.plate figcaption { margin-top: 12px; font-size: 14px; font-style: italic; color: var(--ink-soft); text-align: center; }
@media (max-width: 640px) { .plate img { aspect-ratio: 4 / 3; } }

/* ------------------------------------------------------------- Glance */

.glance { margin-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--vellum); }
.glance__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.glance__list > div { padding: 26px 20px; text-align: center; border-left: 1px solid var(--rule); }
.glance__list > div:first-child { border-left: 0; }
.glance dt { font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); }
.glance dd { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.3; margin-top: 6px; }
@media (max-width: 820px) {
  .glance__list { grid-template-columns: 1fr 1fr; }
  .glance__list > div:nth-child(3) { border-left: 0; }
  .glance__list > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

/* ----------------------------------------------------------- Sections */

.section { padding: var(--section-y) 0; }
.section--tint { background: var(--vellum); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .h2 { margin-bottom: 16px; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--rule); padding: 8px; background: #fff; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

.pull {
  margin: 32px 0; padding: 4px 0 4px 28px; border-left: 2px solid var(--gold);
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(24px, 2.8vw, 30px); line-height: 1.35; color: var(--burgundy);
}

/* -------------------------------------------------------------- Topics */

.topics { counter-reset: topic; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 6vw, 80px); border-top: 1px solid var(--rule); }
.topics li {
  counter-increment: topic; display: grid; grid-template-columns: 44px 1fr; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 18px;
}
.topics li::before {
  content: counter(topic, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--gold-text);
}
@media (max-width: 720px) { .topics { grid-template-columns: 1fr; } }

.two-notes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); margin-top: clamp(40px, 5vw, 56px); }
.two-notes p { color: var(--ink-soft); }
@media (max-width: 720px) { .two-notes { grid-template-columns: 1fr; } }

/* ---------------------------------------------------- Details & fees */

.details { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.ledger { border-top: 2px solid var(--burgundy); }
.ledger > div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.ledger dt { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); padding-top: 4px; }
.ledger dd { font-size: 18px; }
.details__note { margin-top: 24px; color: var(--ink-soft); }

.fees { background: var(--paper); border: 1px solid var(--rule); padding: clamp(28px, 4vw, 44px); }
.fee__label { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
.fee__figure { font-family: var(--font-display); font-weight: 600; font-size: clamp(44px, 5vw, 58px); line-height: 1.05; color: var(--burgundy); margin-top: 6px; }
.fee__per { color: var(--ink-soft); }
.fees__bridge { margin: 24px 0; padding: 20px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-style: italic; color: var(--ink-soft); }
.fee--alt .fee__figure { color: var(--ink); font-size: clamp(36px, 4vw, 44px); }
.fees__note { margin-top: 20px; font-size: 15px; color: var(--ink-soft); }

@media (max-width: 860px) { .details { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ledger > div { grid-template-columns: 1fr; gap: 2px; } }

/* --------------------------------------------------------- Sponsorship */

.letter {
  width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--gold-text);
  font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1;
}
.opportunity__head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 24px; }
.opportunity__head p { color: var(--ink-soft); }

.tiers { width: 100%; border-collapse: collapse; border: 1px solid var(--rule); background: #fff; }
.tiers th {
  background: var(--burgundy); color: #fff; text-align: left; padding: 14px 24px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}
.tiers td { padding: 18px 24px; border-top: 1px solid var(--rule); font-size: 18px; }
.tiers td:first-child { font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--burgundy); width: 42%; white-space: nowrap; }
.tiers tbody tr:nth-child(even) td { background: #FBF8F1; }
.tiers__note { margin-top: 14px; font-size: 15px; font-style: italic; color: var(--ink-soft); }
@media (max-width: 520px) {
  .tiers th, .tiers td { padding: 14px 14px; }
  .tiers td { font-size: 16px; }
  .tiers td:first-child { font-size: 20px; white-space: normal; }
}

.kind { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(48px, 6vw, 64px); }
.kind li { border: 1px solid var(--rule); border-top: 2px solid var(--burgundy); background: #fff; padding: 28px; }
.kind .letter { margin-bottom: 20px; }
.kind p:not(.letter) { color: var(--ink-soft); font-size: 16px; }
@media (max-width: 860px) { .kind { grid-template-columns: 1fr; } }

.notice {
  margin-top: clamp(40px, 5vw, 56px); padding: clamp(28px, 4vw, 40px);
  background: var(--vellum); border-left: 3px solid var(--gold);
}
.notice p { color: var(--ink-soft); margin-bottom: 22px; max-width: 820px; }

/* ---------------------------------------------------------- Recognition */

.list-intro { color: var(--ink) !important; font-weight: 600; margin-top: 24px !important; }
.ticks { display: grid; gap: 10px; margin: 14px 0 22px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.ticks svg { width: 18px; height: 18px; margin-top: 5px; color: var(--burgundy); stroke-width: 2; }

/* --------------------------------------------------------------- About */

.about { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.figures { display: grid; grid-template-columns: repeat(4, 1fr); margin: 36px 0 28px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.figures > div { padding: 20px 14px; border-left: 1px solid var(--rule); display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; }
.figures > div:first-child { border-left: 0; padding-left: 0; }
.figures dd { font-family: var(--font-display); font-weight: 600; font-size: 38px; line-height: 1; color: var(--burgundy); }
.figures dt { font-size: 13px; line-height: 1.35; color: var(--ink-soft); }
.links a, .founder a {
  display: inline-flex; align-items: center; gap: 8px; color: var(--burgundy); font-weight: 600;
  text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px;
}
.links svg, .founder a svg { width: 16px; height: 16px; }

.founder img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border: 1px solid var(--rule); padding: 8px; background: #fff; }
.founder figcaption { margin-top: 16px; display: grid; gap: 2px; }
.founder__name { font-family: var(--font-display); font-weight: 600; font-size: 24px; }
.founder__role { font-size: 14px; color: var(--ink-soft); margin-bottom: 10px; }
.founder a { justify-self: start; }

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .founder { max-width: 360px; }
}
@media (max-width: 560px) {
  .figures { grid-template-columns: 1fr 1fr; }
  .figures > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .figures > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

/* ------------------------------------------------------------- Closing */

.closing { background: var(--burgundy); color: #fff; padding: var(--section-y) 0; text-align: center; }
.closing__inner { max-width: calc(820px + 2 * var(--gutter)); }
.closing__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(36px, 5vw, 58px); line-height: 1.08; text-wrap: balance; }
.closing__sub { font-family: var(--font-display); font-style: italic; font-size: clamp(20px, 2.2vw, 24px); color: #E8D3A6; margin-top: 18px; text-wrap: balance; }

.enquiry { margin-top: clamp(40px, 6vw, 56px); padding-top: clamp(32px, 5vw, 44px); border-top: 1px solid rgba(232,211,166,.35); }
.enquiry__title { font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #E8D3A6; }
.enquiry__org { font-family: var(--font-display); font-size: 26px; font-weight: 600; margin-top: 10px; }
.enquiry__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 18px; }
.enquiry__list a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: rgba(255,255,255,.9); padding: 4px 0; }
.enquiry__list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.enquiry__list svg { width: 17px; height: 17px; color: #E8D3A6; }
.enquiry__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }

/* -------------------------------------------------------------- Footer */

.site-footer { padding: 48px 0 32px; text-align: center; }
.site-footer__inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.site-footer .brand img { height: 50px; }
.site-footer__motto { font-family: var(--font-display); font-style: italic; font-size: 21px; color: var(--burgundy); }
.site-footer__legal { margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--rule); width: 100%; font-size: 13px; color: var(--ink-soft); }

/* --------------------------------------------------------------- Print */

@media print {
  .masthead-bar, .site-header, .title-page__actions, .enquiry__actions, .notice .btn { display: none; }
  .section, .closing { padding: 32px 0; }
  .closing { background: none; color: var(--ink); }
}
