/* AALF 2026 · the site
   -------------------
   One stylesheet for every page. The look comes from the hero film: the warm plaster wall, the deep green of
   Africa's hides, the red of the A, brass eyelets and gold thread. Headlines are Archivo, heavy and a little
   condensed, as on the wall in the film.

   Contents: tokens · base · layout · type · buttons · header · footer · sections · home · inner pages · forms ·
   news · contact · pass · motion */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("../assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("../assets/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---- tokens --------------------------------------------------------------------------------------------------- */
:root {
  --wall: #efe2cf;            /* the plaster in the film */
  --paper: #f6efe4;
  --cream: #fbf7ef;
  --ink: #0d2416;
  --soft: rgba(13, 36, 22, 0.82);
  --muted: rgba(13, 36, 22, 0.72);
  --faint: rgba(13, 36, 22, 0.68);
  --line: rgba(13, 36, 22, 0.15);
  --line-2: rgba(13, 36, 22, 0.28);
  --ghost: rgba(13, 36, 22, 0.42);
  --eyebrow: #17452a;
  --accent: #b3260d;          /* the red of the A */
  --accent-2: #931e09;
  --primary: #166016;         /* Africa's green */
  --primary-2: #0f4d10;
  --primary-ink: #fbf7ef;
  --gold: #c99a3e;            /* the thread */
  --gold-l: #e2bf74;
  --brass: #b8892f;
  --hot: #ff6a1f;
  --night: #0d2416;
  --night-2: #16331f;
  --on-night: #f3ead9;
  --on-night-soft: rgba(243, 234, 217, 0.78);
  --on-night-line: rgba(243, 234, 217, 0.16);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1328px;
  --gutter: clamp(18px, 4vw, 56px);
  --sec: clamp(72px, 9vw, 132px);
  --r: 20px;
  --head-h: 84px;
  --shadow: 0 22px 48px -28px rgba(60, 38, 18, 0.5);
  --eyelet: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 33%, #6b4a18 35%, #e9c773 46%, #b8892f 62%, #7a5517 78%, rgba(0, 0, 0, 0) 82%);
  --stitch: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 17px);
}

/* ---- base ----------------------------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--wall); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(201, 154, 62, 0.4); }
[hidden] { 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: 16px; top: -60px; z-index: 100; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--cream); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.nw { white-space: nowrap; }

/* ---- layout --------------------------------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sec); position: relative; }
.section--paper { background: var(--paper); }
.section--tight { padding-block: calc(var(--sec) * 0.6); }
.night { background: var(--night); color: var(--on-night); position: relative; isolation: isolate; }
.night::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../assets/img/grain.webp") 0 0 / 384px; mix-blend-mode: overlay; opacity: 0.32; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
@media (max-width: 899px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---- type ----------------------------------------------------------------------------------------------------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; font-size: 12.5px; font-weight: 700; line-height: 1.3;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--eyebrow); }
.eyebrow::before { content: ""; flex: none; width: 13px; height: 13px; border-radius: 50%; background: var(--eyelet); }
.night .eyebrow, .cta-band .eyebrow { color: var(--gold-l); }
.display { font-weight: 900; font-stretch: 82%; font-size: clamp(42px, 6.1vw, 86px); line-height: 0.94; letter-spacing: -0.012em; text-wrap: balance; }
.display--m { font-size: clamp(38px, 4.9vw, 70px); }
.h2 { font-weight: 900; font-stretch: 82%; font-size: clamp(34px, 4.3vw, 58px); line-height: 0.97; letter-spacing: -0.01em; text-wrap: balance; }
.h3 { font-weight: 800; font-stretch: 92%; font-size: clamp(20px, 1.55vw, 23px); line-height: 1.18; letter-spacing: -0.003em; }
.acc { color: var(--accent); }
.night .acc { color: #e2593a; }
.lede { font-size: clamp(17.5px, 1.35vw, 20px); line-height: 1.55; color: var(--soft); max-width: 62ch; }
.night .lede { color: var(--on-night-soft); }
.muted { color: var(--muted); }
.small { font-size: 14.5px; line-height: 1.55; }
.prose { max-width: 66ch; }
.prose p, .prose li { color: var(--soft); }
.prose h2 { font-weight: 900; font-stretch: 86%; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.05; margin: 1.6em 0 0.55em; color: var(--ink); }
.prose h3 { font-weight: 800; font-size: 20px; margin: 1.4em 0 0.4em; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 0.55em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 12px; height: 12px; border-radius: 50%; background: var(--eyelet); }
.prose a:not(.btn) { color: var(--primary); font-weight: 600; }
.stitch-rule { height: 2px; border: 0; margin: 0; background: var(--stitch); opacity: 0.85; }

.shead { margin-bottom: clamp(36px, 4.5vw, 60px); }
.shead .lede { margin-top: 22px; }
.shead--split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; }
.shead--split .lede { margin-top: 0; }
@media (max-width: 899px) { .shead--split { grid-template-columns: 1fr; } }

/* ---- buttons -------------------------------------------------------------------------------------------------- */
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 52px; padding: 0 26px; border-radius: 999px;
  border: 1px solid transparent; background: none; font-family: inherit; font-weight: 700; font-size: 16px; line-height: 1.1; text-decoration: none;
  cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: var(--primary-ink); }
.btn--primary:hover { background: var(--primary-2); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-2); }
.btn--ghost { border-color: var(--ghost); background: rgba(250, 244, 234, 0.35); color: var(--ink); }
.btn--ghost:hover { background: rgba(250, 244, 234, 0.85); border-color: var(--ink); }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream:hover { background: #fff; }
.btn--line-light { border-color: rgba(243, 234, 217, 0.5); color: var(--on-night); }
.btn--line-light:hover { background: rgba(243, 234, 217, 0.1); border-color: var(--on-night); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-l); }
.btn--link { min-height: 44px; padding: 0 6px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; color: var(--ink); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; gap: 8px; }
.btn--sm svg { width: 17px; height: 17px; }
.btn[disabled], .btn.is-busy { opacity: 0.65; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary); text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.2s; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 5px; }
.link-arrow:hover svg { transform: translateX(3px); }
.night .link-arrow { color: var(--gold-l); }

/* ---- header --------------------------------------------------------------------------------------------------- */
.site-head { position: sticky; top: 0; z-index: 60; color: var(--ink); }
.site-head::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(246, 239, 228, 0.9); -webkit-backdrop-filter: saturate(1.2) blur(14px); backdrop-filter: saturate(1.2) blur(14px);
  box-shadow: 0 1px 0 var(--line); opacity: 1; transition: opacity 0.3s; }
.site-head__in { display: flex; align-items: center; gap: 24px; height: var(--head-h); }
.brand { display: block; flex: none; line-height: 0; border-radius: 6px; }
.brand img { height: 52px; width: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px 30px; list-style: none; font-size: 15px; font-weight: 600; letter-spacing: 0.01em; }
.nav__list a { position: relative; display: inline-block; padding: 8px 0; text-decoration: none; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.25s; }
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav__extra { display: none; }
.head-cta { flex: none; }
.menu-btn { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; margin-left: auto; border: 1px solid var(--line-2);
  border-radius: 999px; background: rgba(250, 244, 234, 0.6); font-weight: 700; font-size: 14.5px; cursor: pointer; }
.menu-btn__bars { position: relative; width: 18px; height: 12px; }
.menu-btn__bars::before, .menu-btn__bars::after, .menu-btn__bars i { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform 0.25s, opacity 0.2s; }
.menu-btn__bars::before { top: 0; } .menu-btn__bars i { top: 5px; } .menu-btn__bars::after { top: 10px; }
.site-head.is-open .menu-btn__bars::before { transform: translateY(5px) rotate(45deg); }
.site-head.is-open .menu-btn__bars::after { transform: translateY(-5px) rotate(-45deg); }
.site-head.is-open .menu-btn__bars i { opacity: 0; }

/* on the home page the bar lies over the film until the page scrolls past it, lined up with the film's copy (whose
   layout scales with the screen: --hero-k, set by js/hero.js) */
.is-home .site-head { position: fixed; left: 0; right: 0; }
.site-head__in { transition: height 0.3s; }
@media (min-width: 760px) {
  .is-home .site-head__in { max-width: none; padding-inline: calc(var(--hero-k, 1) * 56px); }
}
@media (min-width: 1080px) {
  .is-home .site-head:not(.is-solid) .site-head__in { height: clamp(84px, calc(var(--hero-k, 1) * 112px), 132px); }
  .is-home .site-head:not(.is-solid) .brand img { height: clamp(48px, calc(var(--hero-k, 1) * 60px), 78px); }
  .is-home .site-head:not(.is-solid) .nav__list { font-size: clamp(14.5px, calc(var(--hero-k, 1) * 15px), 19px); column-gap: clamp(24px, calc(var(--hero-k, 1) * 30px), 40px); }
  .is-home .site-head:not(.is-solid) .head-cta { font-size: clamp(14.5px, calc(var(--hero-k, 1) * 15px), 19px); min-height: clamp(42px, calc(var(--hero-k, 1) * 44px), 56px); padding-inline: clamp(18px, calc(var(--hero-k, 1) * 20px), 26px); }
}
.is-home .site-head:not(.is-solid)::before { opacity: 0; }
.is-home .site-head:not(.is-solid) .head-cta { background: transparent; color: var(--ink); border-color: rgba(13, 36, 22, 0.35); }
.is-home .site-head:not(.is-solid) .head-cta:hover { background: rgba(13, 36, 22, 0.06); }
/* over the film a hide can pass behind the links: a soft halo of the wall's light keeps them readable */
.is-home .site-head:not(.is-solid) .nav__list a, .is-home .site-head:not(.is-solid) .head-cta {
  text-shadow: 0 0 2px rgba(250, 242, 230, 0.9), 0 0 10px rgba(250, 242, 230, 0.85), 0 0 22px rgba(250, 242, 230, 0.6); }
.is-home .site-head:not(.is-solid) .head-cta { background: rgba(250, 244, 234, 0.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

@media (max-width: 1079px) {
  :root { --head-h: 68px; }
  .brand img { height: 42px; }
  .menu-btn { display: inline-flex; order: 3; margin-left: 0; }
  .head-cta { order: 2; margin-left: auto; }
  .nav { position: fixed; inset: 0; z-index: -2; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
    padding: calc(var(--head-h) + 28px) var(--gutter) 28px; background: var(--wall); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 0.25s, transform 0.25s, visibility 0s 0.25s; }
  .site-head.is-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity 0.25s, transform 0.25s; }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 6px; font-size: clamp(34px, 8vw, 52px); font-weight: 900; font-stretch: 82%;
    line-height: 1.04; letter-spacing: -0.01em; }
  .nav__list a { padding: 4px 0; }
  .nav__list a::after { bottom: 0; height: 3px; }
  .nav__extra { display: grid; gap: 18px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
  .nav__extra a { font-weight: 700; color: var(--ink); text-decoration: none; }
  .nav__extra p { margin: 0; }
  .site-head.is-open::before { opacity: 1; }
  .is-home .site-head.is-open .head-cta { background: var(--primary); color: var(--primary-ink); border-color: transparent; }
}
@media (max-width: 479px) {
  .head-cta { padding: 0 14px; }
  .menu-btn { padding: 0 12px; gap: 0; }
  .menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .site-head__in { gap: 10px; }
}
html.menu-open { overflow: hidden; }

/* ---- footer --------------------------------------------------------------------------------------------------- */
.site-foot { background: var(--night); color: var(--on-night); position: relative; isolation: isolate; font-size: 15.5px; }
.site-foot::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../assets/img/grain.webp") 0 0 / 384px; mix-blend-mode: overlay; opacity: 0.3; }
.site-foot::after { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 2px; background: var(--stitch); opacity: 0.55; }
.site-foot__top { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 0.8fr)) minmax(0, 1.25fr); gap: 44px clamp(28px, 4vw, 64px);
  padding-top: clamp(64px, 7vw, 96px); padding-bottom: 56px; }
.site-foot__brand img { height: 64px; width: auto; margin-bottom: 22px; }
.site-foot__brand p { max-width: 36ch; color: var(--on-night-soft); }
.site-foot__brand .btn { margin-top: 22px; }
.site-foot h2 { margin-bottom: 18px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-l); }
.site-foot ul { list-style: none; display: grid; gap: 10px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.site-foot__contact li { display: grid; gap: 1px; }
.site-foot__contact span { font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(243, 234, 217, 0.55); }
.site-foot__news p { color: var(--on-night-soft); margin-bottom: 16px; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--on-night-line); }
.social a:hover { background: rgba(243, 234, 217, 0.08); text-decoration: none; }
.social svg { width: 18px; height: 18px; }
.site-foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-top: 22px; padding-bottom: 30px;
  border-top: 1px solid var(--on-night-line); font-size: 13.5px; color: rgba(243, 234, 217, 0.6); }
.site-foot__base p { margin: 0; }
@media (max-width: 1079px) { .site-foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .site-foot__top { grid-template-columns: 1fr; gap: 36px; } }

/* the one-line forms (newsletter) */
.inline-form { display: flex; gap: 8px; }
.inline-form input { flex: 1; min-width: 0; height: 50px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(243, 234, 217, 0.3);
  background: rgba(243, 234, 217, 0.08); color: var(--on-night); font: inherit; font-size: 15.5px; }
.inline-form input::placeholder { color: rgba(243, 234, 217, 0.55); }
.inline-form input:focus { outline: 2px solid var(--gold-l); outline-offset: 1px; }
.inline-form .btn { min-height: 50px; }
@media (max-width: 479px) {
  .inline-form { flex-direction: column; }
  .inline-form input { flex: none; width: 100%; }
  .inline-form .btn { width: 100%; }
}
.paper-form input { border-color: var(--line-2); background: var(--cream); color: var(--ink); }
.paper-form input::placeholder { color: var(--faint); }
.paper-form input:focus { outline-color: var(--accent); }
.form-msg { margin-top: 12px; font-size: 14.5px; min-height: 1.4em; }
.form-msg.is-ok { color: var(--gold-l); }
.form-msg.is-err { color: #ffb4a0; }
.paper-form + .form-msg.is-ok, .form-msg.is-ok.on-paper { color: var(--primary); }
.paper-form + .form-msg.is-err, .form-msg.is-err.on-paper { color: var(--accent); }

/* ---- shared pieces -------------------------------------------------------------------------------------------- */
/* a photo cut like a piece of leather, with a gold stitch round it */
.cut { position: relative; margin: 0; }
.cut img { width: 100%; height: 100%; object-fit: cover; }
.cut--a { aspect-ratio: 1000 / 1200; } .cut--b { aspect-ratio: 1200 / 1000; } .cut--c { aspect-ratio: 1 / 1; }
.cut--a img { -webkit-mask: url("../assets/img/shapes/hide-a.svg") center / 100% 100% no-repeat; mask: url("../assets/img/shapes/hide-a.svg") center / 100% 100% no-repeat; }
.cut--b img { -webkit-mask: url("../assets/img/shapes/hide-b.svg") center / 100% 100% no-repeat; mask: url("../assets/img/shapes/hide-b.svg") center / 100% 100% no-repeat; }
.cut--c img { -webkit-mask: url("../assets/img/shapes/hide-c.svg") center / 100% 100% no-repeat; mask: url("../assets/img/shapes/hide-c.svg") center / 100% 100% no-repeat; }
.cut::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: center / 100% 100% no-repeat; }
.cut--a::after { background-image: url("../assets/img/shapes/hide-a-stitch.svg"); }
.cut--b::after { background-image: url("../assets/img/shapes/hide-b-stitch.svg"); }
.cut--c::after { background-image: url("../assets/img/shapes/hide-c-stitch.svg"); }
.cut figcaption, .photo figcaption { margin-top: 12px; font-size: 13.5px; color: var(--faint); }

.photo { margin: 0; border-radius: var(--r); overflow: hidden; background: #d9c8ae; }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }

/* an eyelet-numbered list */
.dots { list-style: none; display: grid; gap: 14px; }
.dots li { position: relative; padding-left: 28px; }
.dots li::before { content: ""; position: absolute; left: 0; top: 0.4em; width: 13px; height: 13px; border-radius: 50%; background: var(--eyelet); }

/* the event's facts, as on a leather luggage tag */
.facts { display: grid; margin: 0; }
.facts > div { display: grid; grid-template-columns: minmax(130px, 0.42fr) 1fr; gap: 6px 22px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); padding-top: 3px; }
.facts dd { margin: 0; font-weight: 600; }
@media (max-width: 479px) { .facts > div { grid-template-columns: 1fr; gap: 2px; } }

.tag-card { position: relative; padding: clamp(30px, 4vw, 52px); border-radius: 28px; background: var(--cream);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 30px 60px -36px rgba(60, 38, 18, 0.55); }
.tag-card::before { content: ""; position: absolute; inset: 10px; border: 1.5px dashed rgba(201, 154, 62, 0.75); border-radius: 20px; pointer-events: none; }
.tag-card__eyelet { position: absolute; top: 26px; right: 30px; width: 30px; height: 30px; border-radius: 50%; background: var(--eyelet);
  box-shadow: 0 2px 3px rgba(60, 38, 18, 0.25); }

/* ---- page header (inner pages) -------------------------------------------------------------------------------- */
.ph { padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(56px, 7vw, 104px); }
.ph__in { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 40px clamp(36px, 6vw, 96px); align-items: center; }
.ph__copy .lede { margin-top: 26px; }
.ph__copy .ctas { margin-top: 34px; }
.ph__media { max-width: 560px; justify-self: end; width: 100%; }
.ph--plain .ph__in { grid-template-columns: 1fr; }
.ph--plain .display { max-width: 16ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 14px; color: var(--faint); }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
.crumbs a { color: var(--muted); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; list-style: none; }
.badges li { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px 9px 11px; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(250, 244, 234, 0.7); font-size: 14px; font-weight: 600; }
.badges svg { width: 18px; height: 18px; color: var(--accent); }
@media (max-width: 899px) {
  .ph__in { grid-template-columns: 1fr; }
  .ph__media { justify-self: start; max-width: 520px; }
}

/* ---- home ----------------------------------------------------------------------------------------------------- */
.welcome__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(36px, 6vw, 100px); align-items: start; }
.welcome__text .lede { color: var(--ink); }
.welcome__text .lede + p { margin-top: 18px; color: var(--soft); }
.welcome__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 34px 0 30px; padding: 22px 0; border-block: 1px solid var(--line); list-style: none; }
.welcome__meta li { display: grid; gap: 4px; font-size: 15px; font-weight: 600; line-height: 1.35; }
.welcome__meta span { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.welcome__photo { margin-top: clamp(48px, 6vw, 84px); aspect-ratio: 16 / 7; }
@media (max-width: 899px) {
  .welcome__grid { grid-template-columns: 1fr; }
  .welcome__photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 599px) { .welcome__meta { grid-template-columns: 1fr; } }

.figures { padding-block: clamp(56px, 6vw, 84px); }
/* five figures in a row: each column as wide as its figure plus an equal share of the room left over, and each figure
   centred in its column, so the dashed rules fall halfway between the figures and nothing runs into them */
.figures__list { display: grid; grid-template-columns: repeat(5, auto); list-style: none; }
.fig { position: relative; display: grid; justify-content: center; align-content: start; padding: 6px clamp(16px, 2vw, 34px); }
.fig + .fig::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px;
  background: repeating-linear-gradient(180deg, var(--gold) 0 8px, transparent 8px 14px); opacity: 0.55; }
.fig b { display: block; font-weight: 900; font-stretch: 80%; font-size: clamp(40px, 4.4vw, 64px); line-height: 0.95; letter-spacing: -0.01em;
  color: var(--cream); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fig b span { display: inline; margin: 0; font-size: inherit; color: inherit; }
.fig b small { margin-left: 0.12em; font-size: 0.42em; font-weight: 800; font-stretch: 90%; letter-spacing: 0.01em; color: var(--gold-l); }
.fig > span { display: block; margin-top: 12px; font-size: 14.5px; line-height: 1.4; color: var(--on-night-soft); }
@media (max-width: 1179px) {
  /* three over two, the two sharing their row */
  .figures__list { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 38px; }
  .fig { grid-column: span 2; }
  .fig:nth-child(n + 4) { grid-column: span 3; }
  .fig:nth-child(4)::before { display: none; }
}
@media (max-width: 599px) {
  .figures__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .fig, .fig:nth-child(n + 4) { grid-column: auto; padding-inline: 10px; }
  .fig b { font-size: clamp(32px, 10vw, 40px); }
  .fig:nth-child(odd)::before { display: none; }
  .fig:nth-child(4)::before { display: block; }
  .fig:last-child { grid-column: 1 / -1; }
}

/* the nine sectors: each carries a swatch of the hide it landed with in the film */
.sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; counter-reset: sec; }
.sector { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; gap: 6px 18px; padding: 26px 26px 28px;
  border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); transition: transform 0.25s, box-shadow 0.25s, background-color 0.25s; }
.sector::after { content: ""; position: absolute; inset: 7px; border: 1.5px dashed rgba(201, 154, 62, 0.8); border-radius: 14px; opacity: 0; transition: opacity 0.25s; pointer-events: none; }
.sector:hover { transform: translateY(-3px); box-shadow: var(--shadow); background: var(--cream); }
.sector:hover::after { opacity: 1; }
.sector__sw { grid-row: 1 / 3; width: 50px; height: 50px; border-radius: 50%; background-color: var(--sw, #8a5a32);
  background-image: url("../assets/img/grain.webp"); background-size: 192px; background-blend-mode: overlay;
  box-shadow: inset -2px -3px 6px rgba(0, 0, 0, 0.38), inset 2px 2px 4px rgba(255, 255, 255, 0.28), 0 3px 6px -2px rgba(60, 38, 18, 0.35);
  outline: 1.5px dashed rgba(240, 214, 160, 0.9); outline-offset: -7px; }
.sector__name { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sector__name::after { counter-increment: sec; content: counter(sec, decimal-leading-zero); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--faint); }
.sector p { margin: 0; color: var(--soft); font-size: 15.5px; line-height: 1.5; }
@media (max-width: 1079px) { .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .sectors { grid-template-columns: 1fr; } }

/* inside a boot: the boot from the first film, taken apart, beside the sectors its parts come from */
.boot__in { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); grid-template-areas: "head stage" "side stage";
  grid-template-rows: auto 1fr; gap: 0 clamp(40px, 5.5vw, 96px); }
.boot__head { grid-area: head; }
.boot__head .lede { margin-top: 22px; }
.boot__ask { display: none; }
.boot.is-live .boot__ask { display: inline; }
.boot__side { grid-area: side; padding-top: 30px; }
.boot__stage { grid-area: stage; align-self: start; position: sticky; top: calc(var(--head-h) + 24px); z-index: 1; aspect-ratio: 1 / 1;
  border-radius: 28px; overflow: hidden; isolation: isolate; touch-action: pan-y;
  background: radial-gradient(120% 90% at 50% 90%, #fffaf1 0%, var(--cream) 46%, #f1e6d3 100%); box-shadow: inset 0 0 0 1px var(--line); }
.boot__stage::before { content: ""; position: absolute; inset: 10px; z-index: 3; border: 1.5px dashed rgba(201, 154, 62, 0.7); border-radius: 20px; pointer-events: none; }
.boot__still, .boot__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.boot__still { object-fit: contain; transition: opacity 0.6s; }
.boot__canvas { opacity: 0; transition: opacity 0.6s; cursor: grab; touch-action: pan-y; }
.boot__canvas:focus-visible { outline: 2px solid var(--accent); outline-offset: -6px; border-radius: 26px; }
.boot__stage.is-ready .boot__canvas { opacity: 1; }
.boot__stage.is-ready .boot__still { opacity: 0; }
.boot__stage.is-turning .boot__canvas { cursor: grabbing; }
.boot__labels { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.boot__labels .boot__label { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform, opacity;
  display: flex; align-items: center; gap: 7px; margin: -14px 0 0 -12px; height: 28px; padding: 0 11px 0 6px;
  border-radius: 999px; background: rgba(251, 247, 239, 0.93); box-shadow: 0 0 0 1px rgba(13, 36, 22, 0.1), 0 6px 14px -8px rgba(60, 38, 18, 0.55);
  font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; white-space: nowrap; color: var(--ink); }
.boot__labels .boot__label::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--eyelet); order: 0; }
.boot__labels .boot__label.is-left { flex-direction: row-reverse; margin-left: 0; padding: 0 6px 0 11px; translate: calc(-100% + 12px) 0; }
.boot__lead { position: absolute; display: none; left: 11.25px; width: 1.5px; background: rgba(184, 137, 47, 0.85); pointer-events: none; }
.boot__lead::after { content: ""; position: absolute; left: -2px; bottom: -2.75px; width: 5.5px; height: 5.5px; border-radius: 50%; background: var(--brass); }
.boot__lead.is-up::after { bottom: auto; top: -2.75px; }
.is-left .boot__lead { left: auto; right: 11.25px; }
.boot__bar { position: absolute; z-index: 4; left: 24px; right: 24px; bottom: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.boot__bar .btn--ghost { background: rgba(251, 247, 239, 0.8); }
.boot__hint { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); transition: opacity 0.4s; }
.boot__hint svg { width: 18px; height: 18px; }
.boot__stage.is-used .boot__hint { opacity: 0; }
.bparts { list-style: none; display: grid; gap: 4px; }
.bpart { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 3px 16px; width: 100%; padding: 14px 18px 15px 14px; border: 0;
  border-radius: 16px; background: none; text-align: left; cursor: pointer; transition: background-color 0.2s, box-shadow 0.2s; }
.bpart[disabled] { cursor: default; color: inherit; }
.bpart::after { content: ""; position: absolute; inset: 6px; border: 1.5px dashed rgba(201, 154, 62, 0.8); border-radius: 11px; opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.bpart:not([disabled]):hover { background: rgba(13, 36, 22, 0.05); }
.bpart[aria-pressed="true"] { background: var(--cream); box-shadow: var(--shadow); }
.bpart[aria-pressed="true"]::after { opacity: 1; }
.bpart__sw { grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 50%; background-color: var(--sw, #8a5a32);
  background-image: url("../assets/img/grain.webp"); background-size: 160px; background-blend-mode: overlay;
  box-shadow: inset -2px -3px 5px rgba(0, 0, 0, 0.38), inset 2px 2px 4px rgba(255, 255, 255, 0.28), 0 3px 6px -2px rgba(60, 38, 18, 0.35);
  outline: 1.5px dashed rgba(240, 214, 160, 0.9); outline-offset: -6px; }
.bpart__name { font-weight: 800; font-stretch: 92%; font-size: 18px; line-height: 1.25; }
.bpart__parts { font-size: 15px; line-height: 1.45; color: var(--soft); }
.boot__cta { margin: 26px 0 0 14px; }
@media (max-width: 899px) {
  .boot__in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "stage" "side"; grid-template-rows: auto; }
  .boot__stage { width: min(100%, 64svh); justify-self: center; margin-top: 32px; top: calc(var(--head-h) + 10px); }
  .boot__side { padding-top: 20px; }
}
@media (max-width: 599px) {
  .boot__stage { border-radius: 22px; }
  .boot__stage::before { inset: 8px; border-radius: 16px; }
  .boot__bar { left: 16px; right: 16px; }
  .boot__hint { font-size: 12.5px; }
  .boot__labels .boot__label { height: 24px; margin-top: -12px; font-size: 10.5px; gap: 6px; padding-right: 9px; }
  .boot__labels .boot__label.is-left { padding: 0 6px 0 9px; }
  .boot__labels .boot__label::before { width: 10px; height: 10px; }
  .boot__lead { left: 10.25px; }
  .is-left .boot__lead { right: 10.25px; }
  /* on a phone the buttons sit in a strip below the boot rather than over it */
  .boot__stage { aspect-ratio: 1 / 1.13; }
  .boot__still, .boot__canvas { height: calc(100% - 52px); }
  .boot__labels { bottom: 52px; }
  .boot__bar { bottom: 11px; }
  .bpart { grid-template-columns: 34px 1fr; gap: 2px 14px; padding: 12px 12px 13px 10px; }
  .bpart__sw { width: 34px; height: 34px; outline-offset: -5px; }
  .bpart__name { font-size: 16.5px; }
  .bpart__parts { font-size: 14.5px; }
  .boot__cta { margin-left: 10px; }
}

/* the programme: seven parts, sewn together */
.prog { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px clamp(40px, 6vw, 110px); align-items: start; }
.prog__aside { position: sticky; top: calc(var(--head-h) + 32px); }
.prog__aside .cut { margin-top: 40px; max-width: 460px; }
.prog__list { list-style: none; }
.prog__list li { display: grid; grid-template-columns: 64px 1fr; gap: 6px 22px; padding: 26px 0; position: relative; }
.prog__list li + li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--stitch); opacity: 0.6; }
.prog__n { font-weight: 900; font-stretch: 80%; font-size: 38px; line-height: 0.9; color: var(--accent); }
.prog__list p { margin: 8px 0 0; color: var(--soft); }
@media (max-width: 899px) {
  .prog { grid-template-columns: 1fr; }
  .prog__aside { position: static; }
  .prog__aside .cut { display: none; }
}

/* conference themes */
.themes__list { list-style: none; border-top: 1px solid var(--on-night-line); }
.themes__list li { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1fr); gap: 10px 40px; align-items: baseline;
  padding: 30px 0; border-bottom: 1px solid var(--on-night-line); }
.themes__n { font-weight: 900; font-stretch: 80%; font-size: 52px; line-height: 0.85; color: var(--gold); }
.themes__list h3 { font-weight: 900; font-stretch: 84%; font-size: clamp(26px, 2.5vw, 36px); line-height: 1; color: var(--cream); }
.themes__list p { margin: 0; color: var(--on-night-soft); font-size: 17px; }
@media (max-width: 899px) {
  .themes__list li { grid-template-columns: 70px 1fr; }
  .themes__n { font-size: 40px; grid-row: 1 / 3; }
  .themes__list p { grid-column: 2; }
}

/* why attend: three audiences, as tabs */
.tabs__list { display: none; gap: 6px; padding: 6px; margin-bottom: 34px; border-radius: 999px; background: rgba(13, 36, 22, 0.06); width: max-content; max-width: 100%; overflow-x: auto; }
.tabs.is-ready .tabs__list { display: flex; }
.tab { flex: none; min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: none; font-weight: 700; font-size: 15.5px; cursor: pointer; color: var(--muted); }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--cream); }
.tabs__panel { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 36px clamp(36px, 5vw, 88px); align-items: center; }
.tabs__panel + .tabs__panel { margin-top: 64px; }
.tabs.is-ready .tabs__panel + .tabs__panel { margin-top: 0; }
.tabs.is-ready .tabs__panel[hidden] { display: none; }
.tabs__panel .photo { aspect-ratio: 5 / 4; }
.tabs__panel h3.tabs__title { margin-bottom: 26px; }
.benefits { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; }
.benefits li { padding-top: 18px; border-top: 2px solid var(--ink); }
.benefits h4 { font-weight: 800; font-size: 18px; line-height: 1.2; margin-bottom: 8px; }
.benefits p { margin: 0; color: var(--soft); font-size: 15.5px; line-height: 1.5; }
.tabs__panel .ctas { margin-top: 34px; }
@media (max-width: 599px) {
  .tabs__list { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; border-radius: 22px; }
  .tabs.is-ready .tabs__list { display: grid; }
  .tab { min-height: 50px; padding: 4px 8px; font-size: 13.5px; line-height: 1.15; border-radius: 18px; white-space: normal; }
}
@media (max-width: 899px) {
  .tabs__panel { grid-template-columns: 1fr; }
  .tabs__panel .photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 539px) { .benefits { grid-template-columns: 1fr; } }

/* the fair in pictures */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 220px); gap: 12px; }
.bento .photo { border-radius: 16px; }
.bento .photo:nth-child(1) { grid-column: span 6; grid-row: span 2; }
.bento .photo:nth-child(2) { grid-column: span 3; grid-row: span 1; }
.bento .photo:nth-child(3) { grid-column: span 3; grid-row: span 2; }
.bento .photo:nth-child(4) { grid-column: span 3; grid-row: span 1; }
.bento .photo:nth-child(5) { grid-column: span 4; grid-row: span 1; }
.bento .photo:nth-child(6) { grid-column: span 4; grid-row: span 1; }
.bento .photo:nth-child(7) { grid-column: span 4; grid-row: span 1; }
@media (max-width: 899px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; }
  .bento .photo:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .bento .photo:nth-child(1) { grid-column: span 2; grid-row: span 2; }
}

/* event details */
.details__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px clamp(36px, 5vw, 88px); align-items: center; }
.details .tag-card .h2 { font-size: clamp(30px, 3.2vw, 44px); margin-bottom: 26px; padding-right: 50px; }
.details .tag-card .ctas { margin-top: 28px; }
.visit-list { list-style: none; display: grid; gap: 0; }
.visit-list li { display: grid; grid-template-columns: 46px 1fr; gap: 4px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.visit-list li:first-child { border-top: 1px solid var(--line); }
.ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--cream); color: var(--primary); border: 1px solid var(--line); }
.ico svg { width: 22px; height: 22px; }
.visit-list h3 { font-weight: 800; font-size: 17.5px; line-height: 1.25; }
.visit-list p { margin: 4px 0 0; color: var(--soft); font-size: 15.5px; line-height: 1.5; }
@media (max-width: 899px) { .details__in { grid-template-columns: 1fr; } }

/* news cards */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.news-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.news-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--cream); border: 1px solid var(--line);
  overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.news-card__media { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: #d9c8ae; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform 0.6s; }
.news-card:hover .news-card__media img { transform: scale(1.03); }
.news-card__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 24px 26px 28px; }
.news-card__tag { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.news-card h3 { font-weight: 800; font-stretch: 92%; font-size: 22px; line-height: 1.18; }
.news-card h3 a { text-decoration: none; }
.news-card h3 a::after { content: ""; position: absolute; inset: 0; }          /* the whole card is the link */
.news-card p { margin: 0; color: var(--soft); font-size: 15.5px; line-height: 1.55; }
.news-card .link-arrow { margin-top: auto; padding-top: 6px; }
.news-grid--4 .news-card:first-child { grid-column: 1 / -1; flex-direction: row; }
.news-grid--4 .news-card:first-child .news-card__media { flex: 1.15; aspect-ratio: auto; min-height: 340px; }
.news-grid--4 .news-card:first-child .news-card__body { flex: 1; justify-content: center; padding: clamp(28px, 4vw, 56px); }
.news-grid--4 .news-card:first-child h3 { font-weight: 900; font-stretch: 84%; font-size: clamp(30px, 3vw, 42px); line-height: 1.02; }
@media (max-width: 1079px) { .news-grid, .news-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .news-grid--4 .news-card:nth-child(4) { grid-column: 1 / -1; } }
@media (max-width: 699px) {
  .news-grid, .news-grid--4 { grid-template-columns: 1fr; }
  .news-grid--4 .news-card:first-child { flex-direction: column; }
  .news-grid--4 .news-card:first-child .news-card__media { min-height: 0; aspect-ratio: 16 / 10; flex: none; }
}

/* partners */
.partners__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pgroup { display: flex; flex-direction: column; gap: 18px; padding: 26px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.pgroup h3 { font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.pgroup--wide { grid-column: span 2; }
.plogos { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 34px; flex: 1; }
.plogos img { height: 64px; width: auto; max-width: 100%; object-fit: contain; }
.plogo-text { display: grid; gap: 2px; font-weight: 900; font-stretch: 86%; font-size: 22px; line-height: 1.08; }
.plogo-text small { font-weight: 600; font-stretch: 100%; font-size: 14px; color: var(--muted); }
.pgroup .tba { margin: 0; color: var(--faint); font-weight: 600; }
.plogos--one { flex: none; }
.plogos--one img { height: 58px; }
.plogo-name { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--soft); }
.plogo-text small { line-height: 1.5; }
.plogo-text small a { color: var(--primary); font-weight: 700; }
.sponsor-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 14px; padding: 28px 30px;
  border-radius: var(--r); background: var(--ink); color: var(--on-night); position: relative; isolation: isolate; overflow: hidden; }
.sponsor-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../assets/img/grain.webp") 0 0 / 384px; mix-blend-mode: overlay; opacity: 0.32; }
.sponsor-cta h3 { font-weight: 900; font-stretch: 84%; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.05; }
.sponsor-cta p { margin: 6px 0 0; color: var(--on-night-soft); }
@media (max-width: 1079px) { .partners__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .partners__grid { grid-template-columns: 1fr; } .pgroup--wide { grid-column: auto; } }

/* the closing call to register */
.cta-band { background: var(--accent); color: #fff7ee; position: relative; isolation: isolate; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../assets/img/grain.webp") 0 0 / 384px; mix-blend-mode: overlay; opacity: 0.4; }
.cta-band::after { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 230, 190, 0.7) 0 10px, transparent 10px 17px); }
.cta-band__in { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 28px 48px; align-items: end; padding-block: clamp(64px, 7vw, 104px); }
.cta-band .eyebrow { color: #ffe1b8; }
.cta-band .eyebrow::before { filter: brightness(1.15); }
.cta-band .h2 { max-width: 18ch; }
.cta-band p.lede { color: rgba(255, 247, 238, 0.86); margin-top: 18px; }
@media (max-width: 899px) { .cta-band__in { grid-template-columns: 1fr; } }

/* ---- about ---------------------------------------------------------------------------------------------------- */
.statement { padding-block: clamp(72px, 9vw, 140px); }
.statement__q { margin: 0; font-weight: 900; font-stretch: 80%; font-size: clamp(38px, 5.6vw, 84px); line-height: 0.98; letter-spacing: -0.012em; max-width: 20ch; text-wrap: balance; }
.statement__q .acc { color: #e2593a; }
.statement__by { margin-top: 30px; color: var(--on-night-soft); font-size: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 110px); align-items: center; }
.split + .split { margin-top: clamp(72px, 9vw, 130px); }
.split--flip .split__media { order: -1; }
.split__media { max-width: 560px; width: 100%; }
.split--flip .split__media { justify-self: start; }
.split:not(.split--flip) .split__media { justify-self: end; }
.split .lede { margin-top: 22px; }
.split .prose { margin-top: 18px; }
.big-fig { display: flex; align-items: baseline; gap: 16px; margin-top: 30px; padding-top: 24px; border-top: 2px solid var(--ink); }
.big-fig b { font-weight: 900; font-stretch: 80%; font-size: clamp(48px, 5vw, 72px); line-height: 0.9; color: var(--accent); white-space: nowrap; }
.big-fig span { font-size: 15.5px; line-height: 1.4; color: var(--soft); max-width: 26ch; }
@media (max-width: 599px) { .big-fig { flex-direction: column; align-items: flex-start; gap: 8px; } .big-fig span { max-width: none; } }
@media (max-width: 899px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .split .split__media { justify-self: start !important; }
}

.objectives { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; list-style: none; counter-reset: obj; }
.objective { grid-column: span 2; position: relative; padding: 28px 28px 30px; border-radius: var(--r); background: var(--cream); border: 1px solid var(--line); }
.objective:nth-child(4), .objective:nth-child(5) { grid-column: span 3; }
.objective::before { counter-increment: obj; content: counter(obj, decimal-leading-zero); display: block; margin-bottom: 22px;
  font-weight: 900; font-stretch: 80%; font-size: 40px; line-height: 0.9; color: var(--gold); }
.objective p { margin: 10px 0 0; color: var(--soft); font-size: 15.5px; line-height: 1.55; }
@media (max-width: 899px) { .objectives { grid-template-columns: 1fr 1fr; } .objective, .objective:nth-child(n) { grid-column: span 1; } .objective:nth-child(5) { grid-column: 1 / -1; } }
@media (max-width: 599px) { .objectives { grid-template-columns: 1fr; } }

.finance { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px clamp(40px, 6vw, 110px); align-items: start; }
.finance__list { list-style: none; counter-reset: fin; }
.finance__list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.finance__list li:first-child { border-top: 1px solid var(--line); }
.finance__list li::before { counter-increment: fin; content: counter(fin); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px dashed var(--gold); font-size: 14px; font-weight: 800; color: var(--brass); }
@media (max-width: 899px) { .finance { grid-template-columns: 1fr; } }

/* ---- registration --------------------------------------------------------------------------------------------- */
.types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; }
.type { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px 24px 24px; border-radius: var(--r); background: var(--cream);
  border: 1px solid var(--line); transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.type:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.type.is-picked { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), var(--shadow); }
.type__n { font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; color: var(--faint); }
.type .ico { margin-bottom: 6px; }
.type p { margin: 0; color: var(--soft); font-size: 15px; line-height: 1.5; flex: 1; }
.type .btn { align-self: flex-start; margin-top: 8px; }
@media (max-width: 1079px) { .types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 539px) { .types { grid-template-columns: 1fr; } }

.reg { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr); gap: 32px clamp(28px, 4vw, 64px); align-items: start; }
.reg__aside { position: sticky; top: calc(var(--head-h) + 24px); display: grid; gap: 14px; }
.note { padding: 26px 26px 24px; border-radius: var(--r); background: var(--cream); border: 1px solid var(--line); }
.note h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-weight: 800; font-size: 18px; }
.note h3 svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.note .dots { gap: 10px; font-size: 15.5px; line-height: 1.5; color: var(--soft); }
.note--night { background: var(--ink); color: var(--on-night); border: 0; }
.note--night h3 svg { color: var(--gold-l); }
.note--night p { color: var(--on-night-soft); font-size: 15.5px; }
.note--night a { color: var(--cream); font-weight: 700; }
@media (max-width: 1079px) { .reg { grid-template-columns: 1fr; } .reg__aside { position: static; grid-template-columns: 1fr 1fr; } }
@media (max-width: 699px) { .reg__aside { grid-template-columns: 1fr; } }

/* ---- forms ---------------------------------------------------------------------------------------------------- */
.form { padding: clamp(26px, 4vw, 52px); border-radius: 28px; background: var(--cream); border: 1px solid var(--line);
  box-shadow: 0 30px 60px -40px rgba(60, 38, 18, 0.5); }
.form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form fieldset + fieldset { margin-top: 38px; padding-top: 34px; border-top: 2px solid transparent;
  background: var(--stitch) top / 100% 2px no-repeat; }
.form legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 22px; font-weight: 900; font-stretch: 86%; font-size: 24px; line-height: 1.1; }
.form legend + * { clear: both; }
.form legend span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--cream);
  font-size: 14px; font-weight: 800; font-stretch: 100%; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
.field { display: grid; gap: 7px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-size: 14.5px; font-weight: 700; }
.field .req { color: var(--accent); margin-left: 2px; }
.field .opt { font-weight: 500; color: var(--faint); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 15px; border-radius: 12px; border: 1px solid var(--line-2);
  background: #fff; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.35; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d2416' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ghost); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(22, 96, 22, 0.18); }
.field .hint { font-size: 13.5px; color: var(--faint); line-height: 1.45; }
.field .err { display: none; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(179, 38, 13, 0.12); }
.field.is-invalid .err { display: block; }
.choice { display: flex; flex-wrap: wrap; gap: 10px; }
.choice label { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: #fff; font-weight: 600; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--ghost); flex: none; transition: border 0.15s; }
.choice input:checked + i { border: 6px solid var(--primary); }
.choice input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 3px; }
.choice label:has(input:checked) { border-color: var(--primary); background: rgba(22, 96, 22, 0.05); }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 15.5px; line-height: 1.5; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--primary); cursor: pointer; }
.check + .check { margin-top: 14px; }
.check a { color: var(--primary); font-weight: 600; }
.field.is-invalid .check { color: var(--accent); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 34px; }
.form__foot .small { color: var(--faint); max-width: 44ch; }
.form__alert { display: none; margin-bottom: 26px; padding: 16px 18px; border-radius: 14px; background: rgba(179, 38, 13, 0.08); color: var(--accent-2); font-weight: 600; font-size: 15.5px; }
.form__alert.is-on { display: block; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 639px) { .fields { grid-template-columns: 1fr; } }

/* after registering: the pass */
.pass { display: grid; grid-template-columns: auto 1fr; gap: 28px 40px; align-items: center; }
.pass__qr { width: 220px; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.pass__qr svg, .pass__qr img, .pass__qr canvas { width: 100%; height: auto; display: block; }
.pass__ref { display: inline-block; margin: 6px 0 18px; padding: 8px 14px; border-radius: 10px; background: var(--paper); border: 1.5px dashed var(--gold);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 20px; font-weight: 700; letter-spacing: 0.06em; }
.pass h2 { font-weight: 900; font-stretch: 84%; font-size: clamp(30px, 3vw, 42px); line-height: 1.02; }
.pass .dots { margin-top: 18px; font-size: 15.5px; color: var(--soft); }
.pass-card { position: relative; }
.pass-card__ok { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--primary); font-weight: 700; }
.pass-card__ok svg { width: 24px; height: 24px; }
@media (max-width: 639px) { .pass { grid-template-columns: 1fr; } .pass__qr { width: 200px; } }
@media print {
  .site-head, .site-foot, .no-print, .cta-band { display: none !important; }
  body { background: #fff; }
  .form, .tag-card { box-shadow: none; }
}

/* plan your visit */
.visit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.visit__card { display: grid; grid-template-columns: 46px 1fr; align-content: start; gap: 6px 18px; padding: 28px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.visit__card h3 { font-weight: 800; font-size: 19px; line-height: 1.25; margin-top: 10px; }
.visit__card p { grid-column: 2; margin: 0; color: var(--soft); font-size: 15.5px; line-height: 1.55; }
.visit__card p + p { margin-top: 8px; }
.visit__card .link-arrow { grid-column: 2; margin-top: 10px; }
.visit__card--wide { grid-column: 1 / -1; }
@media (max-width: 799px) { .visit { grid-template-columns: 1fr; } }

/* ---- news article ------------------------------------------------------------------------------------------------ */
.article__head { padding-top: clamp(44px, 6vw, 84px); padding-bottom: clamp(30px, 4vw, 52px); }
.article__head .display { font-size: clamp(38px, 5vw, 70px); max-width: 20ch; }
.article__lede { margin-top: 26px; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; color: var(--ink); max-width: 56ch; }
.article__media { aspect-ratio: 21 / 9; }
.article__body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px clamp(40px, 6vw, 110px); padding-top: clamp(48px, 6vw, 80px); }
.article__body .prose { font-size: 18px; }
.article__aside { display: grid; gap: 14px; align-content: start; position: sticky; top: calc(var(--head-h) + 24px); }
.article__aside .facts > div { grid-template-columns: 1fr; gap: 2px; }
@media (max-width: 999px) { .article__body { grid-template-columns: 1fr; } .article__aside { position: static; } .article__media { aspect-ratio: 16 / 9; } }

/* ---- contact ---------------------------------------------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px clamp(32px, 5vw, 88px); align-items: start; }
.contact__cards { display: grid; gap: 14px; }
.ccard { display: grid; grid-template-columns: 46px 1fr; gap: 4px 18px; align-items: center; padding: 22px 24px; border-radius: var(--r); background: var(--cream); border: 1px solid var(--line); }
.ccard span { font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.ccard a, .ccard b { font-size: clamp(17px, 1.6vw, 22px); font-weight: 800; text-decoration: none; letter-spacing: 0.005em; overflow-wrap: anywhere; }
.ccard a:hover { text-decoration: underline; }
.ccard .ico { grid-row: 1 / 3; }
.ccard--stack .ccard__lines { display: grid; gap: 2px; }
@media (max-width: 899px) { .contact { grid-template-columns: 1fr; } }

.faq { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 32px clamp(32px, 5vw, 96px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--head-h) + 32px); }
.faq__list { border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa summary { position: relative; display: grid; grid-template-columns: 40px 1fr 30px; gap: 12px; align-items: baseline; padding: 22px 0; list-style: none; cursor: pointer;
  font-weight: 800; font-size: clamp(17.5px, 1.4vw, 20px); line-height: 1.3; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .qa__n { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--faint); }
.qa summary::after { content: ""; justify-self: end; align-self: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d2416' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform 0.25s, background-color 0.2s; }
.qa[open] summary::after { transform: rotate(45deg); background-color: rgba(13, 36, 22, 0.06); }
.qa summary:hover { color: var(--primary); }
.qa__a { padding: 0 42px 24px 52px; color: var(--soft); }
.qa__a a { color: var(--primary); font-weight: 600; }
@media (max-width: 899px) { .faq { grid-template-columns: 1fr; } .faq__head { position: static; } .qa__a { padding-left: 52px; padding-right: 0; } }
@media (max-width: 479px) { .qa summary { grid-template-columns: 30px 1fr 28px; } .qa__a { padding-left: 42px; } }

.stay { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 88px); align-items: center; }
.stay .social a { border-color: var(--line-2); color: var(--ink); }
.stay .social a:hover { background: rgba(13, 36, 22, 0.05); }
.stay .inline-form .btn { min-height: 50px; }
@media (max-width: 899px) { .stay { grid-template-columns: 1fr; } }

/* ---- 404 -------------------------------------------------------------------------------------------------------- */
.lost { min-height: 70vh; display: grid; align-content: center; padding-block: 80px; }
.lost .display { max-width: 14ch; }
.lost .ctas { margin-top: 34px; }

/* the three milestones (About) */
.miles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; }
.mile { position: relative; display: grid; gap: 10px; padding: 30px 30px 32px; border-radius: var(--r); background: var(--cream); border: 1px solid var(--line); }
.mile::after { content: ""; position: absolute; inset: 7px; border: 1.5px dashed rgba(201, 154, 62, 0.7); border-radius: 14px; pointer-events: none; }
.mile b { display: flex; align-items: baseline; gap: 8px; font-weight: 900; font-stretch: 80%; font-size: clamp(64px, 7vw, 104px); line-height: 0.9; color: var(--primary); }
.mile b small { font-size: 0.26em; font-stretch: 100%; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }
.mile span { font-weight: 700; font-size: 17px; line-height: 1.35; }
@media (max-width: 899px) { .miles { grid-template-columns: 1fr; } .mile b { font-size: 72px; } }

/* ASFW Addis and the TFC partnership (About, under the organizer) */
.collab { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 36px clamp(40px, 6vw, 100px); align-items: center; margin-top: clamp(56px, 7vw, 100px); }
.collab--flip .collab__media { order: 2; }
.collab__media { margin: 0; max-width: 460px; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: #e7d9c2; }
.collab__media img { width: 100%; height: auto; }
.collab__copy .prose { margin: 22px 0 24px; }
@media (max-width: 899px) { .collab { grid-template-columns: 1fr; } .collab--flip .collab__media { order: 0; } }

/* ---- the blog (news and updates), speakers, the gallery and its lightbox ------------------------------------------ */
/* topic filters */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(250, 244, 234, 0.5); color: var(--ink); font-weight: 700; font-size: 14.5px; cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.chip span { font-size: 12.5px; color: var(--faint); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.chip[aria-pressed="true"] span { color: rgba(251, 247, 239, 0.72); }
@media (max-width: 599px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}

/* post cards: the client's designs, 4:5 */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.pcard { position: relative; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--cream); border: 1px solid var(--line);
  transition: transform 0.25s, box-shadow 0.25s; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pcard:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.pcard[hidden] { display: none; }
.pcard__media { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: #e7d9c2; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 0.6s; }
.pcard__media--photo img { object-position: var(--pos, 50% 50%); }
.pcard:hover .pcard__media img { transform: scale(1.03); }
.pcard__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 20px 22px; }
.pcard__tag { margin: 0; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.pcard__title { font-weight: 800; font-stretch: 92%; font-size: 18.5px; line-height: 1.2; }
.pcard__title a { text-decoration: none; }
.pcard__title a:focus-visible { outline: none; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; }          /* the whole card is the link */
.pcard__text { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--soft); }
.feed-more { display: flex; justify-content: center; margin-top: 36px; }
.gallery-more { display: flex; justify-content: center; margin-top: 30px; }
@media (max-width: 1079px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .pgrid { gap: 12px; }
  .pcard { border-radius: 14px; }
  .pcard__body { padding: 12px 13px 15px; gap: 6px; }
  .pcard__tag { font-size: 10.5px; letter-spacing: 0.1em; }
  .pcard__title { font-size: 15.5px; }
  .pcard__text { display: none; }
}

/* one post: the design beside the text */
.post { padding-top: clamp(28px, 4vw, 60px); }
.post__in { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 36px clamp(36px, 5.5vw, 96px); align-items: start; }
.post__media { position: sticky; top: calc(var(--head-h) + 24px); }
.post__poster { position: relative; display: block; border-radius: 18px; overflow: hidden; background: #e7d9c2; box-shadow: var(--shadow); cursor: zoom-in; }
.post__poster img { width: 100%; height: auto; }
.post__zoom { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(13, 36, 22, 0.74); color: #fff; opacity: 0; transition: opacity 0.2s; }
.post__zoom svg { width: 22px; height: 22px; }
.post__poster:hover .post__zoom, .post__poster:focus-visible .post__zoom { opacity: 1; }
@media (hover: none) { .post__zoom { opacity: 1; } }
.post__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.post__thumb { display: block; border-radius: 12px; overflow: hidden; background: #e7d9c2; cursor: zoom-in; }
.post__thumb img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 0; }
.post__copy .crumbs { margin-bottom: 22px; }
.post__title { margin-bottom: 26px; font-weight: 900; font-stretch: 84%; font-size: clamp(32px, 3.5vw, 52px); line-height: 1; letter-spacing: -0.01em; text-wrap: balance; }
.post__prose { max-width: 62ch; }
.post__prose p, .post__prose li { color: var(--soft); }
.post__prose strong { color: var(--ink); }
.post__speaker { display: grid; gap: 4px; max-width: 62ch; margin: 0 0 28px; padding: 20px 22px; border-radius: 16px; background: var(--cream); border: 1px solid var(--line); }
.post__speaker p { margin: 0; }
.post__speaker-label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.post__speaker-name { font-weight: 900; font-stretch: 86%; font-size: 25px; line-height: 1.1; }
.post__speaker-role { color: var(--muted); font-size: 15px; }
.post__speaker .post__speaker-topic { margin-top: 12px; font-weight: 700; line-height: 1.4; }
.post__speaker-topic span { display: block; margin-bottom: 3px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.post__event { max-width: 62ch; margin-top: 34px; padding: 24px 26px; border-radius: 18px; background: var(--cream); border: 1px solid var(--line); }
.post__event .eyebrow { margin-bottom: 12px; }
.post__event .facts { font-size: 15.5px; }
.post__event .ctas { margin-top: 20px; }
.post__tags { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--primary); }
.post__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(44px, 6vw, 80px); margin-bottom: clamp(56px, 7vw, 100px); }
.post__step { display: grid; align-content: start; gap: 6px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line-2); text-decoration: none;
  font-weight: 800; font-stretch: 92%; line-height: 1.25; transition: border-color 0.2s, background-color 0.2s; }
.post__step:hover { border-color: var(--ink); background: rgba(250, 244, 234, 0.6); }
.post__step span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; font-stretch: 100%; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.post__step svg { width: 16px; height: 16px; }
.post__step--next { justify-items: end; text-align: right; }
@media (max-width: 899px) {
  .post__in { grid-template-columns: 1fr; }
  .post__media { position: static; max-width: 560px; }
}
@media (max-width: 599px) {
  .post__nav { grid-template-columns: 1fr; }
  .post__step--next { justify-items: start; text-align: left; }
}

/* speakers (home page) */
.speakers__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 22px; list-style: none; }
.speaker { position: relative; display: flex; flex-direction: column; gap: 6px; }
.speaker__media { margin: 0 0 12px; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: #e7d9c2; box-shadow: var(--shadow); }
.speaker__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 0.6s; }
.speaker:hover .speaker__media img { transform: scale(1.03); }
.speaker:focus-within { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 18px; }
.speaker__name { font-weight: 900; font-stretch: 86%; font-size: 22px; line-height: 1.1; }
.speaker__name a { text-decoration: none; }
.speaker__name a:focus-visible { outline: none; }
.speaker__name a::after { content: ""; position: absolute; inset: 0; }
.speaker__role { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.speaker__topic { margin: 6px 0 0; padding-top: 10px; border-top: 2px solid transparent; border-image: var(--stitch) 1; font-size: 15px; font-weight: 700; line-height: 1.4; }
@media (max-width: 1079px) { .speakers__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .speakers__list { gap: 22px 12px; }
  .speaker__name { font-size: 18px; }
  .speaker__role, .speaker__topic { font-size: 13.5px; }
}

/* the photo gallery */
.gwall { columns: 4 250px; column-gap: 14px; }
.gshot { margin: 0 0 14px; break-inside: avoid; border-radius: 14px; overflow: hidden; background: #e7d9c2; }
.gshot[hidden] { display: none; }
.gshot a { display: block; cursor: zoom-in; }
.gshot img { width: 100%; height: auto; transition: transform 0.5s; }
.gshot a:hover img { transform: scale(1.03); }
.gshot a:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
@media (max-width: 599px) { .gwall { columns: 2; column-gap: 8px; } .gshot { margin-bottom: 8px; border-radius: 10px; } }

/* the lightbox (a photo or a design, full size): the picture as large as fits on the screen, clear of the buttons, with
   its caption just under it and the two centred together; js/site.js sizes the picture in its own proportions */
.lightbox { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #f3ead9; }
.lightbox::backdrop { background: rgba(7, 17, 10, 0.96); }
.lightbox__in { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 72px 88px 26px; }
.lightbox__fig { flex: none; margin: 0; }
.lightbox__fig img { display: block; max-width: none; border-radius: 6px; background: rgba(243, 234, 217, 0.06); box-shadow: 0 30px 80px -30px #000; }
.lightbox__cap { flex: none; max-width: 70ch; margin: 14px auto 0; text-align: center; font-size: 15px; line-height: 1.45; color: rgba(243, 234, 217, 0.86); }
.lightbox__cap:empty { display: none; }
.lightbox__count { position: absolute; top: 26px; left: 26px; font-size: 14px; font-weight: 600; color: rgba(243, 234, 217, 0.7); }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; background: rgba(243, 234, 217, 0.14);
  color: #fff; cursor: pointer; transition: background-color 0.2s; }
.lightbox__btn:hover { background: rgba(243, 234, 217, 0.3); }
.lightbox__btn:focus-visible { outline: 2px solid var(--gold-l); outline-offset: 2px; }
.lightbox__btn svg { width: 24px; height: 24px; }
.lightbox__close { top: 12px; right: 14px; }
.lightbox__prev { top: 50%; left: 18px; transform: translateY(-50%); }
.lightbox__next { top: 50%; right: 18px; transform: translateY(-50%); }
.lightbox--single .lightbox__prev, .lightbox--single .lightbox__next, .lightbox--single .lightbox__count { display: none; }
html.lightbox-open { overflow: hidden; }
@media (max-height: 520px) and (min-width: 600px) {
  /* phones on their side: the picture the full height, the count and the buttons beside it */
  .lightbox__in { padding: 14px 88px; }
}
@media (max-width: 599px) {
  /* phones: the picture across the screen, the arrows under it, within reach of a thumb */
  .lightbox__in { padding: 66px 10px 82px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 18px; transform: none; width: 48px; height: 48px; }
  .lightbox__prev { left: 14px; } .lightbox__next { right: 14px; }
  .lightbox__cap { padding: 0 6px; font-size: 14px; }
}

/* ---- motion: things arrive as they come into view (only when the page can run its script) ------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .js .rv.is-in { opacity: 1; transform: none; }
  .js .rv-d1 { transition-delay: 0.08s; } .js .rv-d2 { transition-delay: 0.16s; } .js .rv-d3 { transition-delay: 0.24s; }
}
