@font-face {
  font-family:'Avenir';
  src: url('../fonts/DAAAAA_AvenirLTStd-Roman.ttf') format('truetype');
  font-weight: 300 700; font-style: normal; font-display: swap;
}
/* Avenir alias end */
/* Thina Siyazalana, thinasiyazalana.co.za
   Identity: black and gold, like a gallery at night. */

@font-face {
  font-family:'AvenirLTStd';
  src: url('../fonts/DAAAAA_AvenirLTStd-Roman.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family:'AvenirLTStd';
  src: url('../fonts/DAAAAA_AvenirLTStd-Roman.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family:'AvenirLTStd';
  src: url('../fonts/DAAAAA_AvenirLTStd-Roman.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'GreatVibes';
  src: url('../fonts/GreatVibes-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --black: #0A0A0A;
  --gold: #C9A227;
  --ivory: #F5F0E8;
  --pale: #E8D5A3;
  --stone: #ADA79D;
  --line: rgba(201, 162, 39, .38);
  --maxw: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable both-edges; }
body::before { content:''; position: fixed; left: 0; top: 0; bottom: 0;
  width: 6px; background: var(--gold); z-index: 300; pointer-events: none; }
body {
  background: var(--black);
  color: var(--ivory);
  font-family:'AvenirLTStd','Avenir','Liberation Sans',Arial,sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100svh;
}
img { max-width: 100%; height: auto; }
a { color: var(--gold); }
a:hover { color: var(--pale); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--black);
  padding: 12px 20px; z-index: 200; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* Focus visible everywhere */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px;
}

.script {
  font-family: 'GreatVibes', cursive; font-weight: 400;
  color: var(--gold);
}
.label {
  font-size: 16px; letter-spacing: 0; text-transform: none;
  color: var(--gold); font-weight: 700;
}
.label--pale { color: var(--pale); }

/* Header */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  max-width: var(--maxw); margin: 0 auto;
  padding: 22px 24px;
}
.site-header .brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.site-header .brand img { width: 58px; height: auto; }
.site-header .brand .brand-text { font-size: 14px; letter-spacing: .06em; text-transform: none; font-weight: 700; color: var(--ivory); line-height: 1.35; }
.main-nav ul { list-style: none; display: flex; gap: 16px; flex-wrap: wrap; }
.main-nav a {
  color: var(--ivory); text-decoration: none;
  font-size: 16px; letter-spacing: 0; text-transform: none; font-weight: 500;
  padding: 6px 2px;
}
.main-nav a:hover { color: var(--pale); }
.main-nav a[aria-current="page"] { color: var(--gold); font-weight: 700; }

/* Ticket button */
.btn-ticket {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 12px 30px;
  background: var(--gold); color: var(--black);
  font-weight: 700; font-size: 18px; letter-spacing: 0;
  text-decoration: none; border: 1px solid var(--gold);
  transition: background .2s ease, color .2s ease;
}
.btn-ticket:hover { background: var(--black); color: var(--gold); }
.btn-ticket--ghost { background: transparent; color: var(--gold); }
.btn-ticket--ghost:hover { background: var(--gold); color: var(--black); }
.header-ticket { white-space: nowrap; }

/* Layout */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 76px 0; }
.rule { width: 68px; height: 5px; background: var(--gold); margin: 26px 0; }
.rule--center { margin-left: auto; margin-right: auto; }
h1, h2, h3 { font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(30px, 5vw, 44px); }
h2 { font-size: clamp(24px, 3.6vw, 32px); margin-bottom: 18px; }
h3 { font-size: 20px; margin-bottom: 10px; color: var(--pale); }
p + p { margin-top: 14px; }
main p { max-width: 64ch; }
.lead { font-size: 20px; color: var(--ivory); }
.caption, figcaption { font-style: italic; color: var(--stone); font-size: 14px; }
.section-title { font-size: 20px; letter-spacing: 0; text-transform: none; font-weight: 700; color: var(--gold); margin-bottom: 14px; }
.muted { color: var(--stone); }
.gold { color: var(--gold); }
.center { text-align: center; }

/* Hero */
.hero {
  position: relative; text-align: left;
  padding: 64px 24px 72px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: .22;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(10,10,10,.94) 0%, rgba(10,10,10,.86) 42%, rgba(10,10,10,.42) 100%); /* taste-skill-ignore gradient: neutral scrim over the hero photograph */
}
.hero > .wrap { position: relative; z-index: 2; }
.hero .crest-hero { width: 74px; margin-bottom: 18px; }
.hero h1.script { font-size: clamp(54px, 9vw, 104px); line-height: 1.06; }
.hero .meaning { font-size: clamp(16px, 2.2vw, 20px); letter-spacing: .02em; text-transform: none; font-weight: 700; color: var(--gold); margin-top: 10px; }
.hero .byline { margin-top: 22px; font-size: 18px; color: var(--ivory); max-width: 54ch; }
.hero .where { margin-top: 14px; font-size: 16px; color: var(--pale); font-weight: 700; }
.hero .countdown { margin: 18px 0 0; font-size: 15px; letter-spacing: .03em; text-transform: none; color: var(--stone); }
.hero .countdown strong { color: var(--gold); font-weight: 700; }
.hero .btn-ticket { margin-top: 30px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.card {
  padding: 32px 28px;
  background: rgba(245, 240, 232, .05);
}
.card .card-label { font-size: 16px; letter-spacing: 0; text-transform: none; font-weight: 700; color: var(--gold); margin-bottom: 12px; }
.card .card-main { font-size: 20px; font-weight: 700; color: var(--ivory); }
.card .card-sub { margin-top: 8px; color: var(--stone); font-size: 16px; }

/* Figures */
figure { margin: 0; }
.frame-gold { padding: 10px; background: rgba(201, 162, 39, .12); display: inline-block; }
.frame-gold img { max-width: 100%; height: auto; display: block; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split--wide-l { grid-template-columns: 1.15fr 1fr; }

/* Scale visual */
.scale-note { margin-top: 18px; }

/* FAQ */
.faq-list details { padding: 22px 20px; background: rgba(245, 240, 232, .04); margin-bottom: 10px; }
.faq-list summary {
  cursor: pointer; font-weight: 700; font-size: 18px; color: var(--ivory);
  list-style: none; position: relative; padding-right: 36px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+'; position: absolute; right: 6px; top: -2px;
  color: var(--gold); font-size: 24px; font-weight: 400;
}
.faq-list details[open] summary::after { content: '–'; }
.faq-list .faq-a { margin-top: 12px; color: var(--ivory); max-width: 720px; }

/* Definition rows (fact sheet) */
.fact-rows { margin-top: 26px; }
.fact-row { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 16px 18px; }
.fact-row:nth-child(odd) { background: rgba(245, 240, 232, .04); }
.fact-row dt { color: var(--gold); font-size: 16px; letter-spacing: 0; text-transform: none; font-weight: 700; padding-top: 2px; }
.fact-row dd { color: var(--ivory); }

/* Quote box */
.quote-box { padding: 34px 32px; margin-top: 30px; background: rgba(201, 162, 39, .10); }
.quote-box h3 { color: var(--gold); }

/* Video block */
.video-block { position: relative; margin-top: 30px; }
.video-block button {
  display: block; width: 100%; padding: 0; border: 0;
  background: none; cursor: pointer;
}
.video-block button img { display: block; width: 100%; }
.video-block .play-hint {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.video-block .play-hint span {
  color: var(--gold);
  padding: 14px 30px; font-size: 16px; letter-spacing: 0; text-transform: none; font-weight: 700;
  background: rgba(10,10,10,.86);
}

/* Site footer */
.site-footer {
  background: rgba(245, 240, 232, .035);
  margin-top: 96px; padding: 56px 24px 110px;
  text-align: center; color: var(--stone); font-size: 14px;
}
.site-footer .motto { font-family: 'GreatVibes', cursive; color: var(--gold); font-size: 32px; margin-top: 18px; }
.site-footer a { color: var(--pale); }

/* Sticky mobile ticket bar */
.sticky-ticket {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  background: rgba(10, 10, 10, .97); border-top: 1px solid var(--gold); /* taste-skill-ignore overlay bar */
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
}
.sticky-ticket .btn-ticket { width: 100%; }

/* Reveal on scroll: hidden only once JS confirms it can reveal them again */
.reveal { transition: opacity .7s ease, transform .7s ease; }
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Utility hidden blocks (switched on via site-config.js) */
.hidden-block { display: none; }
.hidden-block.is-on { display: block; }
span.hidden-block.is-on { display: inline; }

/* Auction page (/auction/) */
.auction-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; margin-top: 10px; }
.auction-art .frame-gold { max-width: 420px; }
.auction-art .painting-caption { margin-top: 12px; }
.auction-forms { display: flex; flex-direction: column; gap: 28px; }
.bid-card { border: 1px solid var(--line); padding: 28px; }
.bid-card--gold { border-color: var(--gold); }
.bid-card h2 { margin-bottom: 10px; }
.bid-card form { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.bid-card label { font-size: 16px; letter-spacing: 0; text-transform: none; font-weight: 700; color: var(--ivory); margin-top: 10px; }
.bid-card input, .bid-card textarea {
  background: transparent; border: 1px solid var(--line); color: var(--ivory);
  padding: 12px 14px; font: inherit; width: 100%;
}
.bid-card input:focus, .bid-card textarea:focus { outline: none; border-color: var(--gold); }
.amount-row { display: flex; align-items: stretch; border: 1px solid var(--line); }
.amount-row:focus-within { border-color: var(--gold); }
.amount-row .amount-currency {
  display: flex; align-items: center; padding: 0 16px; color: var(--gold);
  background: rgba(245, 240, 232, .07); font-size: 18px;
}
.amount-row input { border: none; }
.amount-row input:focus { outline: none; }
.btn-ticket--wide { align-self: flex-start; margin-top: 10px; cursor: pointer; font: inherit; }
.form-error { color: var(--gold); font-size: 16px; margin-top: 6px; }
.form-confirm, .form-done { margin-top: 18px; }
.form-confirm h3, .form-done h3 { margin-bottom: 10px; }
.confirm-row { display: flex; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.auction-note { font-size: 16px; }
.auction-note a, .fact-row dd a { color: var(--gold); }

/* Responsive */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .split, .split--wide-l { grid-template-columns: 1fr; gap: 30px; }
  .main-nav { display: none; }
  .header-ticket { display: none; }
  .sticky-ticket { display: block; }
  body { font-size: 16px; }
  section { padding: 54px 0; }
  .fact-row { grid-template-columns: 1fr; gap: 4px; }
  .auction-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* Lightbox */
.lightbox-overlay { position:fixed; inset:0; background:rgba(5,5,5,.94); z-index:200;
  display:none; align-items:center; justify-content:center; flex-direction:column;
  cursor:zoom-out; padding:3vmin; }
.lightbox-overlay.open { display:flex; }
.lightbox-overlay img { max-width:94vw; max-height:86vh; object-fit:contain;
  border:1px solid rgba(201,162,39,.75); padding:8px; background:#0A0A0A; cursor:default; }
.lightbox-cap { font-family:'LiberationSerif',serif; font-style:italic; color:#E8D5A3;
  margin-top:14px; font-size: 16px; text-align:center; }
img.lightbox-img { cursor:zoom-in; }
/* Footer link chain */
.footer-links a { color:#E8D5A3; text-decoration:none; }
.footer-links a:hover { text-decoration:underline; text-underline-offset:4px; }
.footer-links a:hover { color:#C9A227; }
/* Progress journal */
.progress-entry { border-left:2px solid rgba(201,162,39,.6); padding:2px 0 18px 22px; margin-left:8px; }
.progress-date { font-size: 14px; font-weight:700; letter-spacing:0; text-transform:none; color:#C9A227; }
.progress-entry p { margin:6px 0 0; color:#F5F0E8; }

/* ===== Queen's College Kudu Initiative, queenscollegekudu.co.za ===== */
.progress-wrap { max-width: 560px; margin: 18px 0 0; text-align: left; }
.progress-meta { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ivory); }
.progress-meta strong { color: var(--gold); }
.progress-bar { height: 6px; margin-top: 10px; background: rgba(245,240,232,.10); max-width: 460px; }
.progress-fill { height: 100%; background: var(--gold); width: 0%; transition: width 1.2s ease; }
.progress-note { margin-top: 10px; font-size: 14px; color: var(--stone); }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 34px; }
.stat { padding: 28px 22px; text-align: center; background: rgba(245,240,232,.05); }
.stat .stat-num { font-size: clamp(28px, 4vw, 42px); font-weight: 700; color: var(--gold); line-height: 1.1; }
.stat .stat-label { margin-top: 8px; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ivory); }

.initiative-feature { padding: 44px 40px; background: rgba(201,162,39,.09); }

.big-figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.big-figure { text-align: center; padding-top: 24px; background: rgba(245,240,232,.045); padding-bottom: 24px; }
.big-figure .bf-num { font-size: clamp(30px, 4.6vw, 44px); font-weight: 700; color: var(--gold); }
.big-figure .bf-label { margin-top: 6px; font-size: 14px; color: var(--stone); }

.two-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 34px; }
.path-card { padding: 36px 32px; display: flex; flex-direction: column; background: rgba(245,240,232,.05); }
.path-card--gold { background: rgba(201,162,39,.10); }
.path-card h3 { font-size: 24px; color: var(--ivory); }
.path-card .path-tag { font-size: 16px; letter-spacing: 0; text-transform: none; font-weight: 700; color: var(--gold); margin-bottom: 12px; }
.path-card ul { list-style: none; margin: 16px 0 22px; }
.path-card li { padding: 9px 0 9px 24px; position: relative; font-size: 15.5px; }
.path-card li::before { content: ''; position: absolute; left: 2px; top: 17px; width: 8px; height: 8px; background: var(--gold); }
.path-card .btn-ticket { margin-top: auto; align-self: flex-start; }

.steps { margin-top: 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { padding-top: 20px; position: relative; border-top: 5px solid var(--gold); }

.step h3 { font-size: 17px; }
.step p { font-size: 14.5px; color: var(--stone); margin-top: 6px; }

.ally-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ally { padding: 11px 18px; font-size: 16px; color: var(--ivory); background: rgba(245,240,232,.055); }
.ally span { color: var(--gold); }

.code-box { border: 1px solid var(--line); background: rgba(245,240,232,.03); padding: 22px; margin-top: 20px; }
.code-box pre { white-space: pre-wrap; word-break: break-word; font-size: 14px; color: var(--pale); font-family: 'LiberationSerif', monospace; }
.code-box code { font-family: inherit; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.team-slot { border: 1px dashed var(--line); padding: 34px 26px; text-align: center; }
.team-slot .slot-role { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.team-slot p { margin-top: 12px; font-size: 14px; color: var(--stone); }

.link-card { display: block; border: 1px solid var(--line); padding: 26px; text-decoration: none; color: var(--ivory); transition: border-color .2s ease; }
.link-card:hover { border-color: var(--gold); color: var(--ivory); }
.link-card .lc-tag { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.link-card h3 { margin-top: 10px; }
.link-card p { margin-top: 8px; font-size: 16px; color: var(--stone); }
.link-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }

@media (max-width: 900px) {
  .stat-row, .big-figures, .steps { grid-template-columns: 1fr 1fr; }
  .two-paths, .link-grid, .team-grid { grid-template-columns: 1fr; }
  .initiative-feature { padding: 26px 20px; }
}

/* form labels: readable, sentence case */
label { display: block; font-size: 16px; letter-spacing: 0; text-transform: none;
  font-weight: 700; color: var(--ivory); margin-bottom: 6px; }

/* button ink: the label must never inherit the link colour */
a.btn-ticket, a.btn-ticket:visited { color: var(--black); }
a.btn-ticket:hover { color: var(--gold); }
a.btn-ticket.btn-ticket--ghost, a.btn-ticket.btn-ticket--ghost:visited { color: var(--gold); }
a.btn-ticket.btn-ticket--ghost:hover { color: var(--black); }

.fact-row dd a.btn-ticket, .auction-note a.btn-ticket, dd a.btn-ticket { color: var(--black); }
dd a.btn-ticket:hover { color: var(--gold); }

/* form fields: filled surface, no outlined boxes (registration page) */
#register input[type=text], #register input[type=email], #register input[type=tel],
#register input[type=number], #register textarea {
  width: 100%; background: rgba(245, 240, 232, .07); border: 0; border-radius: 0;
  color: var(--ivory); font: inherit; font-size: 17px; padding: 14px 16px;
  -webkit-appearance: none; appearance: none;
}
#register input::placeholder, #register textarea::placeholder { color: var(--stone); }
#register input:focus, #register textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
#register input[type=radio] { accent-color: #c9a227; }
#register { padding-top: 24px; }
