/* ==========================================================
   NUST × CPJRC Workshop Series — 2026
   ========================================================== */

:root {
  --ink: #0f1b2d;
  --ink-2: #1c2b42;
  --text: #2a3445;
  --muted: #525d6b;
  --line: #e4e0d8;
  --paper: #fbf9f5;
  --tint: #f3efe7;
  --white: #ffffff;
  --accent: #c8643b;        /* dusk terracotta, from the hero sky */
  --accent-dark: #a94f2b;
  --accent-soft: #f6e3d7;
  --sand: #e9c9a6;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --nav-h: 68px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3 { margin: 0; color: var(--ink); }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Shared bits ---------- */
.eyebrow {
  font-size: 13.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 14px;
}
.eyebrow--light { color: var(--sand); }

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: #d8dde6; }
.section--dark .section__title { color: #fff; }

.section__head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__title {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.015em;
  font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; margin-bottom: 20px;
}
.section__intro { color: var(--muted); font-size: 18px; }
.section__intro strong { color: var(--ink); font-weight: 600; }
.booklet-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.booklet-links .btn:hover svg { transform: none; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 16.5px; letter-spacing: .01em;
  border: 1px solid var(--accent);
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--outline:hover svg { transform: translate(2px, -2px); }
.btn--small { padding: 9px 18px; font-size: 15.5px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  color: #fff; transition: background .3s, box-shadow .3s, color .3s;
}
.nav.is-solid { background: rgba(251, 249, 245, .92); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); }
.nav__inner {
  max-width: var(--wrap); height: 100%; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 16.5px; letter-spacing: .01em; white-space: nowrap; }
.nav__brand em { font-style: normal; font-weight: 400; opacity: .6; margin: 0 2px; }
.nav__brand b { margin-left: 4px; }
.nav__brand b { font-family: var(--serif); font-weight: 500; color: var(--sand); }
.nav.is-solid .nav__brand b { color: var(--accent); }

.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) { white-space: nowrap; text-decoration: none; font-size: 16px; font-weight: 500; opacity: .85; position: relative; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: currentColor; transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.nav__links a:not(.btn):hover, .nav__links a.is-active { opacity: 1; }
.nav__links a:not(.btn):hover::after, .nav__links a.is-active::after { transform: scaleX(1); }

.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .25s, top .25s; }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 26px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 1120px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); color: var(--ink);
    padding: 8px var(--gutter) 24px; box-shadow: 0 16px 30px rgba(15, 27, 45, .12);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav__links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links .btn { margin-top: 18px; justify-content: center; }
  .nav.is-open { background: var(--paper); color: var(--ink); }
  .nav.is-open .nav__brand b { color: var(--accent); }
  .nav.is-open .nav__links { opacity: 1; transform: none; visibility: visible; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; background: var(--ink); overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15,27,45,.94) 0%, rgba(15,27,45,.78) 38%, rgba(15,27,45,.25) 75%, rgba(15,27,45,.1) 100%),
    linear-gradient(0deg, rgba(15,27,45,.95) 0%, rgba(15,27,45,0) 42%),
    url("assets/hero.jpg") 62% 30% / cover no-repeat;
  animation: drift 24s ease-out both;
}
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero__inner {
  position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding: calc(var(--nav-h) + 48px) var(--gutter) 40px;
}
.hero__title {
  font-family: var(--serif); font-weight: 300; color: #fff;
  font-size: clamp(40px, 6.2vw, 80px); line-height: 1.04; letter-spacing: -.025em;
  max-width: 17ch; margin-bottom: 24px;
}
.hero__title span { display: block; font-style: italic; color: var(--sand); font-weight: 300; }
.hero__lead { max-width: 600px; font-size: clamp(17px, 1.6vw, 19px); color: rgba(255,255,255,.9); margin-bottom: 28px; }

.hero__meta { display: flex; flex-wrap: wrap; gap: 16px 40px; margin: 0 0 28px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); max-width: 880px; }
.hero__meta dt { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); margin-bottom: 4px; }
.hero__meta dd { margin: 0; font-weight: 500; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.countdown { display: flex; gap: 10px; margin-top: 36px; }
.countdown[hidden] { display: none; }
.countdown div { min-width: 72px; padding: 12px 10px; text-align: center; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(255,255,255,.05); backdrop-filter: blur(6px); }
.countdown span { display: block; font-family: var(--serif); font-size: 28px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); }

.hero__org { position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 24px var(--gutter) 32px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero__org p { margin: 0; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.hero__org ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px 32px; }
.org-tile { display: flex; align-items: center; }
.org-tile img { height: 112px; width: auto; }
.org-tile--cpjrc img { border-radius: 50%; background: #fff; box-shadow: 0 10px 28px -12px rgba(0,0,0,.6); }
.org-tile--igis img { height: 100px; }
.org-tile--gsp img { border-radius: 50%; box-shadow: 0 10px 28px -12px rgba(0,0,0,.6); }

/* ---------- Facts ---------- */
.facts { background: var(--white); border-bottom: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts__grid > div { padding: 32px 28px; display: flex; flex-direction: column; gap: 10px; border-left: 1px solid var(--line); }
.facts__grid > div:first-child { border-left: 0; padding-left: 0; }
.facts strong { font-family: var(--serif); font-weight: 300; font-size: 52px; line-height: 1; color: var(--accent); }
.facts span { font-size: 18px; color: var(--text); line-height: 1.45; font-weight: 500; max-width: 230px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about__quote {
  margin: 8px 0 28px; padding: 0 0 0 24px; border-left: 2px solid var(--accent);
  font-family: var(--serif); font-size: clamp(20px, 2.1vw, 24px); line-height: 1.45; font-weight: 400; color: var(--ink);
}
.about__text > p { color: var(--muted); }
.about__figure { margin: 0; position: relative; }
.about__figure img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: 0 30px 60px -30px rgba(15,27,45,.45); }
.about__lede { font-size: 18.5px; color: var(--text) !important; }
.about__lede em { font-family: var(--serif); font-size: 1.06em; color: var(--ink); }
.muted { color: var(--muted); }

/* Observation chain */
.chain { margin-top: clamp(56px, 7vw, 88px); padding-top: 40px; border-top: 1px solid var(--line); }
.chain__intro { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--ink); margin-bottom: 28px; }
.chain__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.chain__list li:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: 56px; right: -16px; height: 1px; background: linear-gradient(90deg, var(--accent), var(--sand)); }
.chain__list li { position: relative; display: flex; flex-direction: column; gap: 2px; }
.chain__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--accent); color: var(--accent); margin-bottom: 16px; position: relative; }
.chain__icon svg { width: 24px; height: 24px; }
.chain__list b { font-family: var(--serif); font-weight: 500; font-size: 19px; color: var(--ink); line-height: 1.25; }
.chain__list li > span:last-child { font-size: 16px; color: var(--muted); }

/* Audience band */
.section--tight { padding: clamp(64px, 8vw, 104px) 0; }
.section__title--sm { font-size: clamp(28px, 3.4vw, 40px); }
.audience-band { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 88px); }
.chips { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--white); border: 1px solid #ddd5c8; font-size: 15.5px; color: var(--ink); }
.notes { list-style: none; margin: 0; padding: 0; }
.notes li { padding: 12px 0 12px 22px; border-top: 1px solid #d9d2c5; position: relative; font-size: 16.5px; color: var(--muted); }
.notes li::before { content: ""; position: absolute; left: 0; top: 21px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.notes b { color: var(--ink); font-weight: 600; }

.about__figure figcaption { margin-top: 14px; font-size: 15px; color: var(--muted); font-style: italic; }

/* ---------- Programme ---------- */
.days { list-style: none; margin: 0; padding: 0; }
.day { display: grid; grid-template-columns: 200px 1fr; gap: 40px; padding: 40px 0; border-top: 1px solid #d9d2c5; }
.day:last-child { border-bottom: 1px solid #d9d2c5; }
.day__label { display: flex; flex-direction: column; gap: 6px; }
.day__num { font-family: var(--serif); font-weight: 300; font-size: 64px; line-height: .9; color: var(--accent); }
.day__tag { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.day__body h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; margin-bottom: 18px; }

.day__body h3 + .slots { margin-top: 4px; }
.slots { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.slot { border-bottom: 1px solid var(--line); }
.slot time { font-variant-numeric: tabular-nums; font-size: 15.5px; font-weight: 500; color: var(--accent-dark); letter-spacing: .01em; }
.slot summary, .slot--break {
  display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: baseline;
  padding: 14px 40px 14px 0;
}
.slot summary { list-style: none; cursor: pointer; position: relative; font-weight: 500; color: var(--ink); transition: color .2s; }
.slot summary::-webkit-details-marker { display: none; }
.slot summary:hover { color: var(--accent-dark); }
.slot summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent);
  transform: rotate(45deg); transition: transform .25s, margin-top .25s;
}
.slot details[open] summary::after { transform: rotate(-135deg); margin-top: -1px; }
.slot details > :not(summary) { margin: 0 0 16px 128px; color: var(--muted); font-size: 16.5px; max-width: 70ch; }
.slot details ul { padding-left: 20px; }
.slot details li { margin-bottom: 6px; }
.slot--break { font-size: 16px; color: var(--muted); padding-right: 0; }
.slot--break time { color: var(--muted); font-weight: 400; }
.slot--field summary span::after { content: "Field"; margin-left: 10px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--accent-dark); background: var(--accent-soft); padding: 2px 8px; border-radius: 999px; vertical-align: 2px; white-space: nowrap; }
.day__note { margin: 16px 0 0; font-size: 16px; color: var(--muted); font-style: italic; }

/* ---------- Outcomes ---------- */
.outcomes { list-style: none; counter-reset: o; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.outcomes li { counter-increment: o; position: relative; padding: 20px 0 20px 56px; border-top: 1px solid #d9d2c5; color: var(--text); }
.outcomes li::before { content: counter(o, decimal-leading-zero); position: absolute; left: 0; top: 16px; font-family: var(--serif); font-size: 26px; font-weight: 300; color: var(--accent); line-height: 1.2; }

/* ---------- Faculty ---------- */
.faculty { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.person { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: transform .25s, box-shadow .25s; }
.person:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -26px rgba(15,27,45,.35); }
.person__mono, .person__photo {
  display: grid; place-items: center; width: 152px; height: 152px; border-radius: 50%; margin-bottom: 24px;
  background: var(--accent-soft); color: var(--accent-dark); font-family: var(--serif); font-size: 44px; letter-spacing: .02em;
  box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--line);
}
.person__photo { object-fit: cover; object-position: center 20%; }
.person h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin-bottom: 4px; }
.person__role { font-size: 15px; color: var(--accent-dark); font-weight: 500; margin-bottom: 14px; }
.person p:last-child { margin: 0; font-size: 16.5px; color: var(--muted); }

/* ---------- Registration ---------- */
.register { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.steps { list-style: none; counter-reset: s; margin: 8px 0 36px; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 52px; color: #c3cad5; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid rgba(233,201,166,.5); color: var(--sand); font-family: var(--serif); font-size: 16px;
}
.steps b { color: #fff; font-weight: 600; display: block; }
.steps q { color: var(--sand); }
.fee { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 0 0 32px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
.fee__amount { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 4vw, 48px); color: var(--sand); line-height: 1; }
.fee__label { color: #c3cad5; font-size: 16.5px; }

.bank { background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: clamp(24px, 3.5vw, 40px); }
.bank__title { font-family: var(--serif); font-size: 22px; color: #fff; margin-bottom: 18px; }
.bank dl { margin: 0; }
.bank dl > div { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.08); }
.bank dt { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #aeb7c4; margin-bottom: 4px; }
.bank dd { margin: 0; color: #fff; font-weight: 500; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .04em; overflow-wrap: anywhere; }
.copy {
  font: inherit; font-size: 13px; font-weight: 600; letter-spacing: .04em; cursor: pointer;
  padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(233,201,166,.45); background: transparent; color: var(--sand);
  transition: background .2s, color .2s;
}
.copy:hover { background: var(--sand); color: var(--ink); }
.copy.is-done { background: var(--sand); color: var(--ink); }

/* ---------- Venue ---------- */
/* ---------- Prepare ---------- */
.prepare { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.checklist { list-style: none; margin: 0; padding: 0; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 8px clamp(20px, 3vw, 32px); }
.checklist li { position: relative; padding: 16px 0 16px 36px; border-top: 1px solid var(--line); font-size: 16.5px; color: var(--muted); }
.checklist li:first-child { border-top: 0; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 18px; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--accent); }
.checklist li::after { content: ""; position: absolute; left: 7px; top: 21px; width: 5px; height: 10px; border-right: 1.8px solid var(--accent); border-bottom: 1.8px solid var(--accent); transform: rotate(45deg); }
.checklist b { color: var(--ink); font-weight: 600; }
.checklist em { font-style: normal; color: var(--accent-dark); font-weight: 600; }

/* ---------- Venue ---------- */
.venue { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 20px; align-items: stretch; }
.place { padding: clamp(24px, 3vw, 32px) 0; border-top: 2px solid var(--ink); }
.place__tag { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--accent); margin-bottom: 10px; }
.place h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.25; margin-bottom: 10px; }
.place address { font-style: normal; color: var(--muted); margin-bottom: 22px; }

.contact { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 3.5vw, 36px); }
.contact__title { font-size: 13.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--accent); margin-bottom: 10px; }
.contact__line { display: flex; align-items: center; gap: 14px; padding: 14px 0; text-decoration: none; color: var(--ink); border-top: 1px solid var(--line); font-weight: 500; min-width: 0; }
.contact__line:first-of-type { border-top: 0; }
.contact__line span { overflow-wrap: break-word; min-width: 0; }
.contact__line svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.contact__line:hover span { color: var(--accent-dark); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #aeb7c4; padding: 48px 0; font-size: 15.5px; }
.footer__inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__inner p { margin: 0; }
.footer__orgs { flex: 1 1 320px; }
.footer__label { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); margin-bottom: 8px !important; }
.footer__orgs ul { list-style: none; margin: 0; padding: 0; line-height: 1.7; color: #d8dde6; }
@media (min-width: 821px) { .footer__orgs li { white-space: nowrap; } }
.footer__logos { display: flex; gap: 10px; }
.footer__logos { align-items: center; gap: 22px !important; }
.footer__logos img { height: 64px; width: auto; }
.footer__logos img:first-child { border-radius: 50%; background: #fff; }
.footer__logos img + img { height: 58px; }
.footer__logos img.footer__gsp { height: 64px; }
.footer__small { margin-left: auto !important; align-self: flex-end; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .facts__grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts__grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 820px) {
  .about, .register, .audience-band, .prepare, .outcomes { grid-template-columns: 1fr; }
  .venue { grid-template-columns: 1fr 1fr; }
  .venue .contact { grid-column: 1 / -1; }
  .chain__list { grid-template-columns: 1fr; gap: 0; }
  .chain__list li::after { display: none; }
  .chain__list::before { content: ""; position: absolute; top: 28px; bottom: 28px; left: 28px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--accent), var(--sand)); }
  .chain__list li { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding-bottom: 18px; }
  .chain__icon { grid-row: span 2; margin: 0; }
  .chain__list b { align-self: end; }
  .about__figure { max-width: 520px; }
  .about__figure img { aspect-ratio: 4 / 3; }
  .day { grid-template-columns: 1fr; gap: 12px; padding: 32px 0; }
  .day__label { flex-direction: row; align-items: baseline; gap: 14px; }
  .day__num { font-size: 44px; }
  .footer__small { margin-left: 0 !important; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero__inner { padding-top: calc(var(--nav-h) + 48px); }
  .hero__media {
    background:
      linear-gradient(0deg, rgba(15,27,45,.97) 0%, rgba(15,27,45,.82) 55%, rgba(15,27,45,.45) 100%),
      url("assets/hero.jpg") 30% 30% / cover no-repeat;
  }
  .hero__meta { flex-direction: column; gap: 14px; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .countdown div { min-width: 0; flex: 1; }
  .hero__org { gap: 14px; }
  .hero__org ul { gap: 10px; }
  .hero__org ul { width: 100%; }
  .hero__org ul { gap: 18px; align-items: center; flex-wrap: wrap; }
  .org-tile img { height: 84px; }
  .org-tile--igis img { height: auto; width: 100%; max-width: 230px; }
  .org-tile--igis { min-width: 0; flex: 1; }
  .footer__logos { flex-wrap: wrap; }
  .facts__grid { grid-template-columns: 1fr; }
  .facts__grid > div { border-left: 0 !important; padding: 22px 0 !important; }
  .facts__grid > div + div { border-top: 1px solid var(--line); }
  .faculty { grid-template-columns: 1fr; }
    .venue { grid-template-columns: 1fr; }
  .slot summary, .slot--break { grid-template-columns: 1fr; gap: 2px; }
  .slot details > :not(summary) { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Booklet band (top of page) ---------- */
.booklet-band { background: var(--ink-2); color: #d8dde6; padding: clamp(56px, 7vw, 88px) 0; overflow: hidden; }
.booklet-band__inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.booklet-band__cover { display: block; width: clamp(180px, 22vw, 260px); transform: perspective(1200px) rotateY(-14deg) rotateZ(-1deg); transform-origin: left center; transition: transform .5s ease; border-radius: 4px 10px 10px 4px; box-shadow: -2px 0 0 #0a1322, 24px 30px 50px -20px rgba(0,0,0,.7); overflow: hidden; }
.booklet-band__cover:hover { transform: perspective(1200px) rotateY(-4deg); }
.booklet-band__cover img { width: 100%; height: auto; }
.booklet-band__text .section__title { color: #fff; }
.booklet-band__text p:not(.eyebrow) { max-width: 560px; color: #c3cad5; font-size: 18px; }
.booklet-band__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn svg:first-child { width: 19px; height: 19px; }
.btn:hover svg:first-child { transform: none; }

/* Booklet link in the menu */
.nav__links a.nav__booklet { display: inline-flex; align-items: center; gap: 7px; opacity: 1; color: var(--sand); font-weight: 600; }
.nav.is-solid .nav__links a.nav__booklet, .nav.is-open .nav__links a.nav__booklet { color: var(--accent-dark); }
.nav__booklet svg { width: 18px; height: 18px; }

@media (max-width: 700px) {
  .booklet-band__inner { grid-template-columns: 1fr; justify-items: start; }
  .booklet-band__cover { width: 170px; }
}

/* ---------- Programme day tabs ---------- */
.day-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 8px; }
.day-tabs[hidden] { display: none; }
.day-tabs button {
  display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer;
  font: inherit; color: var(--ink); background: var(--white);
  border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.day-tabs button:hover { border-color: #d6cfc2; }
.day-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 14px 30px -18px rgba(15,27,45,.6); }
.day-tabs__num { font-family: var(--serif); font-weight: 300; font-size: 36px; line-height: 1; color: var(--accent); }
.day-tabs button[aria-selected="true"] .day-tabs__num { color: var(--sand); }
.day-tabs__text b { display: block; font-weight: 600; font-size: 17px; }
.day-tabs__text small { display: block; font-size: 14.5px; color: var(--muted); }
.day-tabs button[aria-selected="true"] small { color: #c3cad5; }

/* in tab mode, show one day at a time; the tab already carries the day label */
.days.is-tabbed .day { display: none; border-top: 0; padding-top: 24px; grid-template-columns: 1fr; }
.days.is-tabbed .day.is-active { display: grid; }
.days.is-tabbed .day:last-child { border-bottom: 0; }
.days.is-tabbed .day__label { display: none; }

@media (max-width: 560px) {
  .day-tabs { gap: 6px; }
  .day-tabs button { flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 12px; }
  .day-tabs__num { font-size: 26px; }
  .day-tabs__text b { font-size: 15.5px; }
  .day-tabs__text small { font-size: 13px; }
}
