/* The Creative Futures — site styles
   Layout model: every section holds a 24-column grid (8 on phones). Each block
   carries its own grid position for phone (--m) and desktop (--d).            */

:root {
  --ink: #172830;
  --mist: #e2e9e6;
  --gold: #ffbf00;
  --coral: #fa474d;
  --paper: #fff;
  --berry: #bd005b;
  --black: #000;

  --font-head: "Archivo Black", "Arial Black", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-meta: "Space Grotesk", "Inter", system-ui, sans-serif;

  --gutter: 6vw;            /* page side padding */
  --max: 2000px;            /* content max width */
  --u: calc(0.012 * min(100vh, 900px));   /* fluid type unit */
  --header-h: calc(37px + 12vw);
  --vmax: 1vmax;
}
@media (min-width: 768px), (orientation: landscape) {
  :root { --u: 1.2vw; }
}
@media (min-width: 768px) {
  :root { --gutter: 4vw; --header-h: calc(88px + 0.6vw); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* ---------- type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  margin: 2rem 0;
  color: var(--h-c, inherit);
}
h1 { font-size: calc(2.7 * var(--u) + 1rem); line-height: 1.0704; }
h2 { font-size: calc(1.8 * var(--u) + 1rem); line-height: 1.1136; }
h3 { font-size: calc(1.2 * var(--u) + 1rem); line-height: 1.1424; color: var(--h3-c, var(--h-c, inherit)); }
h4 { font-size: calc(0.6 * var(--u) + 1rem); line-height: 1.1712; color: var(--h3-c, var(--h-c, inherit)); }
p { margin: 1rem 0; }
.rte :is(p, h1, h2, h3, h4):empty::before { content: ""; display: inline-block; }
.rte > :first-child { margin-top: 0; }
.rte > :last-child { margin-bottom: 0; }
.rte p, .rte h1, .rte h2, .rte h3, .rte h4, .rte li { white-space: pre-wrap; }
.rte ul, .rte ol { margin: 1rem 0; padding-left: 2.5rem; }
.rte li > p { margin: 0; }
.rte li + li { margin-top: 0.5rem; }
.rte a { color: var(--link-c, inherit); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 0.05em; }
.rte h1 a, .rte h2 a, .rte h3 a, .rte h4 a { color: inherit; }
.rte strong, .rte b { font-weight: 700; }
.rte pre { margin: 0; font: inherit; white-space: pre-wrap; }
.rte pre code { display: block; font-family: var(--font-meta); font-weight: 600; line-height: 1.5; }
.rte hr { border: 0; height: 1px; background: currentColor; }
.rte-large { font-size: calc(0.4 * var(--u) + 1rem); }
.rte-small { font-size: calc(-0.1 * var(--u) + 1rem); }
.rte-fit { margin: 0; line-height: 1; white-space: nowrap; }
.rte-fit > span { display: inline-block; white-space: nowrap; }
.c-black { color: var(--ink); }
.c-white { color: var(--mist); }
.c-accent { color: var(--coral); }
.c-lightAccent { color: var(--gold); }
.c-darkAccent { color: var(--berry); }

/* ---------- themes ---------- */
.t-black, .t-black-bold { --sec-bg-d: var(--ink); --fg: var(--mist); --btn-bg: var(--coral); --btn-fg: var(--mist); --btn2-bg: var(--mist); --btn2-fg: var(--ink); --btn3-fg: var(--mist); --field: var(--mist); }
.t-black-bold { --btn-bg: var(--mist); --btn-fg: var(--ink); }
.t-white { --sec-bg-d: var(--mist); --fg: var(--ink); --link-c: var(--coral); }
.t-white-bold { --sec-bg-d: var(--paper); --fg: var(--ink); --h3-c: var(--coral); --link-c: var(--coral); --btn2-bg: var(--coral); --btn2-fg: var(--mist); }
.t-light, .t-default { --sec-bg-d: var(--gold); --fg: var(--ink); }
.t-default { --h3-c: var(--coral); }
.t-bright { --sec-bg-d: var(--coral); --fg: var(--mist); --btn-bg: var(--mist); --btn-fg: var(--coral); --field: var(--mist); }

/* ---------- sections ---------- */
.sec {
  --btn-bg-d: var(--coral); --btn-fg-d: var(--mist);
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  background: var(--sec-bg, var(--sec-bg-d, transparent));
  color: var(--fg, var(--ink));
  isolation: isolate;
}
.sec-v-top { align-items: flex-start; }
.sec-v-bottom { align-items: flex-end; }
.sec-h-small { min-height: 33vh; }
.sec-h-medium { min-height: 66vh; }
.sec-h-large { min-height: 100vh; }
.sec-h-custom { min-height: calc(var(--custom-h, 0) * 1vh); }
.sec-wrap { width: 100%; position: relative; }
.sec-h-small > .sec-wrap { padding-block: 3.3vmax; }
.sec-h-medium > .sec-wrap { padding-block: 6.6vmax; }
.sec-h-large > .sec-wrap { padding-block: 10vmax; }
.sec-h-custom > .sec-wrap { padding-block: calc(var(--custom-h, 0) / 10 * 1vmax); }
.sec-v-top.sec-h-small > .sec-wrap { padding-top: 4vw; padding-bottom: 6.6vmax; }
.sec-v-top.sec-h-medium > .sec-wrap { padding-top: 4vw; padding-bottom: 13.2vmax; }
.sec-v-top.sec-h-large > .sec-wrap { padding-top: 4vw; padding-bottom: 20vmax; }
.sec-v-bottom.sec-h-small > .sec-wrap { padding-bottom: 4vw; padding-top: 6.6vmax; }
.sec-v-bottom.sec-h-medium > .sec-wrap { padding-bottom: 4vw; padding-top: 13.2vmax; }
.sec-v-bottom.sec-h-large > .sec-wrap { padding-bottom: 4vw; padding-top: 20vmax; }
main > .sec:first-child { padding-top: var(--header-h); }
.no-header main > .sec:first-child { padding-top: 0; }
.sec-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.sec-bg .sec-img, .sec-bg .sec-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sec-ov { position: absolute; inset: 0; }
.sec-divider::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--div-w, 1px); background: var(--div-c, var(--ink)); }

/* ---------- fluid grid ---------- */
.fe {
  --gap: 11px;
  display: grid;
  position: relative;
  width: 100%;
  grid-template-rows: repeat(var(--rm), minmax(var(--mrow, 24px), auto));
  grid-template-columns:
    minmax(calc(var(--gutter) - var(--cg)), 1fr)
    repeat(8, minmax(0, calc((var(--max) - var(--cg) * 7) / 8)))
    minmax(calc(var(--gutter) - var(--cg)), 1fr);
  --cg: var(--gapm, var(--gap));
  column-gap: var(--cg);
  row-gap: var(--rgapm, var(--rgap, var(--cg)));
  overflow-x: clip;
}
.blk {
  grid-area: var(--m);
  z-index: var(--zm, 0);
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
@media (max-width: 767px) {
  .hide-m { display: none; }
  .vm-start { justify-content: flex-start; } .vm-center { justify-content: center; } .vm-end { justify-content: flex-end; }
  .hm-start { align-items: flex-start; } .hm-center { align-items: center; } .hm-end { align-items: flex-end; }
  .vm-stretch > * { flex: 1 1 auto; min-height: 0; }
  .hm-stretch > * { width: 100%; }
}
@media (min-width: 768px) {
  .fe {
    --cw: min(var(--max), calc(100vw - var(--gutter) * 2));
    grid-template-rows: repeat(var(--rd), minmax(calc(var(--cw) * var(--rs, 0.0215)), auto));
    grid-template-columns:
      minmax(calc(var(--gutter) - var(--gap)), 1fr)
      repeat(24, minmax(0, calc((var(--max) - var(--gap) * 23) / 24)))
      minmax(calc(var(--gutter) - var(--gap)), 1fr);
    column-gap: var(--gap);
    row-gap: var(--rgap, var(--gap));
  }
  .blk { grid-area: var(--d); z-index: var(--zd, 0); }
  .hide-d { display: none; }
  .vd-start { justify-content: flex-start; } .vd-center { justify-content: center; } .vd-end { justify-content: flex-end; }
  .hd-start { align-items: flex-start; } .hd-center { align-items: center; } .hd-end { align-items: flex-end; }
  .vd-stretch > * { flex: 1 1 auto; min-height: 0; }
  .hd-stretch > * { width: 100%; }
}

/* text blocks */
.blk-text { overflow-wrap: break-word; }
.blk-text.boxed > .rte {
  background: var(--box-bg, transparent);
  border: var(--box-bw, 0) solid var(--box-bc, transparent);
  border-radius: var(--box-r, 0);
  padding: var(--box-pm, 0);
  -webkit-backdrop-filter: var(--box-bf, none); backdrop-filter: var(--box-bf, none);
}
@media (min-width: 768px) { .blk-text.boxed > .rte { padding: var(--box-pd, 0); } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-align: center; text-decoration: none; text-transform: uppercase;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 0.4rem 1.5rem;
  border: 0; border-radius: 300px;
  background: var(--btn-bg, var(--coral)); color: var(--btn-fg, var(--mist));
  cursor: pointer;
  transition: opacity 0.1s linear;
}
.btn:hover { opacity: 0.8; }
.btn-secondary { font-family: var(--font-meta); background: var(--btn2-bg, var(--coral)); color: var(--btn2-fg, var(--mist)); }
.btn-tertiary { font-family: var(--font-meta); background: transparent; color: var(--btn3-fg, var(--coral)); border: 2px solid currentColor; padding: 1rem 1.3rem; }
.blk-btn .btn { padding-block: 1.8px; min-height: 0; }
.blk-btn .btn-tertiary { padding-block: 1.8px; }
@media (max-width: 767px) { .blk-btn:not(.vm-stretch) .btn { padding-block: 0.4rem; } .blk-btn:not(.vm-stretch) .btn-tertiary { padding-block: 1rem; } }
@media (min-width: 768px) { .blk-btn:not(.vd-stretch) .btn { padding-block: 0.4rem; } .blk-btn:not(.vd-stretch) .btn-tertiary { padding-block: 1rem; } }

/* images */
.img-wrap { position: relative; display: block; overflow: hidden; max-width: 100%; max-height: 100%; }
.img-wrap > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.img-ov { position: absolute; inset: 0; pointer-events: none; }
@media (max-width: 767px) {
  .blk-img:not(.vm-stretch) .img-wrap, .blk-img:not(.hm-stretch) .img-wrap { aspect-ratio: var(--arm); }
  .blk-img.vm-stretch:not(.hm-stretch) .img-wrap { height: 100%; width: auto; flex: 1 1 auto; }
  .blk-img.hm-stretch:not(.vm-stretch) .img-wrap { width: 100%; height: auto; flex: 0 0 auto; }
}
@media (min-width: 768px) {
  .blk-img:not(.vd-stretch) .img-wrap, .blk-img:not(.hd-stretch) .img-wrap { aspect-ratio: var(--ar); }
  .blk-img.vd-stretch:not(.hd-stretch) .img-wrap { height: 100%; width: auto; flex: 1 1 auto; }
  .blk-img.hd-stretch:not(.vd-stretch) .img-wrap { width: 100%; height: auto; flex: 0 0 auto; }
}

/* shapes, rules */
.shape { flex: 1 1 auto; position: relative; min-height: 0; width: 100%; }
.shape > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.shape-rect { width: 100%; }
.blk-line { justify-content: center; }
.blk-line hr { width: 100%; height: 1px; margin: 0; border: 0; background: var(--hr-c, currentColor); color: var(--fg); }
.t-white-bold .blk-line hr { background: var(--coral); }

/* social links */
.social { display: flex; flex-wrap: wrap; gap: 14px; }
.social a { display: block; width: 24px; height: 24px; color: var(--ink); }
.social a svg { width: 200%; height: 200%; margin: -50%; fill: currentColor; }
.social.social-icon-alignment-right { justify-content: flex-end; }
.social.social-icon-alignment-center { justify-content: center; }
.social.social-icons-size-extra-large { gap: 12px; }
.social.social-icons-size-extra-large a { width: 48px; height: 48px; }
.social.social-icons-size-extra-large a svg { width: 100%; height: 100%; margin: 0; }
.social.social-icons-style-knockout a { background: var(--ink); color: var(--gold); border-radius: 50%; }
.social a:hover { opacity: 0.8; }

/* marquee */
.blk-marquee { justify-content: center; overflow: hidden; }
.marquee { width: 100%; font-family: var(--font-head); letter-spacing: -0.08em; text-transform: uppercase; line-height: 1.4; }
.marquee svg { width: 100%; overflow: visible; fill: currentColor; }
.marquee text { white-space: pre; }

/* forms */
.form { width: 100%; font-size: 1rem; }
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.f-item { display: block; margin: 0 0 20px; line-height: normal; }
.f-title, .form legend { display: block; padding: 0 0 4px; font-size: 1rem; line-height: 1.5; }
.f-field { margin-bottom: 20px; }
.f-name { margin-bottom: 0; }
.f-cap { display: block; margin-bottom: 6px; line-height: 1.5; font-size: calc(-0.1 * var(--u) + 1rem); }
.f-req { opacity: 0.7; margin-left: 0.4em; font-size: calc(-0.1 * var(--u) + 1rem); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.f-field { display: block; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea, .form select {
  display: block; width: 100%; min-height: 36px;
  padding: 5px 10px;
  font: inherit; color: inherit;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  outline: 0;
  appearance: none; -webkit-appearance: none;
}
.form textarea { min-height: 100px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: currentColor; }
.form select { border-color: color-mix(in srgb, currentColor 55%, transparent); }
.f-select { position: relative; display: block; }
.f-select::after { content: ""; position: absolute; right: 12px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.f-opt { display: inline-flex; align-items: center; gap: 11px; margin: 6px 0 4px; font-family: var(--font-meta); font-weight: 600; font-size: 0.9rem; line-height: 1.2; text-transform: uppercase; cursor: pointer; }
.f-opt input { appearance: none; -webkit-appearance: none; flex: 0 0 15px; width: 15px; height: 15px; margin: 0; border: 1px solid currentColor; border-radius: 50%; background: transparent; }
.f-opt input:checked { background: currentColor; box-shadow: inset 0 0 0 3px var(--sec-bg, var(--sec-bg-d)); }
.f-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-actions { display: flex; }
.f-actions--center { justify-content: center; } .f-actions--right { justify-content: flex-end; }
.btn-form { line-height: 1.3; font-family: var(--font-body); padding: 0.4rem 1.5rem; background: var(--mist); color: var(--ink); }
.t-white .btn-form, .t-white-bold .btn-form, .t-light .btn-form, .t-default .btn-form { background: var(--coral); color: var(--mist); }
.f-status { margin: 12px 0 0; min-height: 1.5em; font-size: 0.9rem; }
.f-status:empty { display: none; }
.form.is-sent > :not(.f-status) { display: none; }

/* accordion */
.acc { width: 100%; }
.acc-item { border-top: var(--acc-line, 1px) solid var(--acc-line-c, currentColor); }
.acc-item:last-child { border-bottom: var(--acc-line, 1px) solid var(--acc-line-c, currentColor); }
.acc-h { margin: 0; color: var(--acc-c, inherit); }
.acc-btn { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; padding: var(--acc-pad, 30px) 0; background: none; border: 0; text-align: left; font: inherit; letter-spacing: inherit; text-transform: inherit; line-height: normal; color: inherit; cursor: pointer; }
.acc-plus { position: relative; flex: 0 0 var(--acc-icon, 14px); width: var(--acc-icon, 14px); height: var(--acc-icon, 14px); }
.acc-plus::before, .acc-plus::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: var(--acc-icon-t, 1px); margin-top: calc(var(--acc-icon-t, 1px) / -2); background: var(--acc-icon-c, currentColor); transition: transform 0.25s ease; }
.acc-plus::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-plus::after { transform: rotate(0deg); }
.acc-panel { padding-bottom: var(--acc-pad, 30px); }
.acc-panel[hidden] { display: none; }

/* video block, map */
.vid { position: relative; width: 100%; max-height: 100%; background: #000; overflow: hidden; }
.vid-poster, .vid video, .vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.vid-play { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 7px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.5); color: #fff; cursor: pointer; }
.vid-play svg { width: 100%; height: 100%; fill: currentColor; }
@media (min-width: 768px) { .blk-video .vid-play { width: 80px; height: 80px; margin: -40px 0 0 -40px; padding: 15px; } }
.vid.is-playing .vid-play, .vid.is-playing .vid-poster { display: none; }
.map { flex: 1 1 auto; position: relative; min-height: 200px; overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }

/* product card */
.product { display: flex; flex-direction: column; align-items: flex-start; width: 100%; }
.product-img { position: relative; display: block; width: 100%; overflow: hidden; }
.product-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-title { display: inline-block; margin-top: 16px; font-size: calc(0.3 * var(--u) + 1rem); line-height: 1.5; text-decoration: none; }
.product-excerpt { margin-top: 20px; }
.product-btn { align-self: stretch; margin-top: 16px; background: transparent; color: var(--coral); border: 2px solid currentColor; font-family: var(--font-meta); padding: 0.8rem 1.2rem; min-height: 56.6px; }

/* speakers / simple list section */
.sec-list > .sec-wrap { padding-block: 6.6vmax; }
.list-head { padding: 0 4vw 40px; font-family: var(--font-head); font-size: calc(1.8 * var(--u) + 1rem); line-height: 1.5; letter-spacing: -0.08em; text-transform: uppercase; }
.list-head p { margin: 0; white-space: pre-wrap; }
.list-grid { list-style: none; margin: 0; padding: 0 4vw; display: grid; grid-template-columns: 1fr; gap: var(--gap-r, 100px) var(--gap-c, 100px); }
@media (min-width: 576px) { .list-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .list-grid { grid-template-columns: repeat(var(--cols, 3), 1fr); } }
.list-grid { align-items: start; }
.list-item { display: flex; flex-direction: column; align-items: center; }
.list-media { width: var(--media-w, 75%); aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-bottom: 4%; }
.list-media img { width: 100%; height: 100%; object-fit: cover; }
.list-title, .list-desc { width: var(--media-w, 75%); }
.list-title { margin: 0; font-size: calc(1.2 * var(--u) + 1rem); line-height: 1.1136; }
.list-desc { margin-top: 1%; font-size: calc(0.2 * var(--u) + 1rem); }
.list-desc p { margin: 0; line-height: 1.5; white-space: pre-wrap; }

/* stories list */
.sec-bloglist { display: block; }
.bloglist { padding: 4vw 6vw; }
@media (min-width: 768px) { .bloglist { padding: 4vw; } }
.post-card { display: flex; flex-direction: column; margin-bottom: 10vw; }
.post-card-img { position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; margin-bottom: 5vw; }
.post-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-meta { display: flex; align-items: center; gap: 6px; margin-bottom: 2vw; font-family: var(--font-meta); font-weight: 600; }
.post-dot { width: 4px; height: 4px; margin: 0 2px; border-radius: 50%; background: currentColor; }
.post-card-title { margin: 0 0 2vw; font-size: calc(1.8 * var(--u) + 1rem); line-height: 1.2; }
.post-card-title a { text-decoration: none; }
.post-excerpt { padding: 16px 0; }
.post-excerpt p { margin: 0; }
.post-more { display: inline-block; align-self: flex-start; margin-top: 2vw; color: var(--coral); text-underline-offset: 0.2em; }
@media (min-width: 768px) {
  .post-card { flex-direction: row; align-items: center; margin-bottom: 30px; }
  .post-card-img { flex: 0 0 40%; width: 40%; margin: 0 6% 0 0; }
  .post-card-body { flex: 1 1 0; min-width: 0; }
  .post-meta { margin-bottom: 20px; }
  .post-card-title { margin-bottom: 30px; }
  .post-more { display: inline-block; margin-top: 20px; }
}

/* story article */
.sec-post { display: block; --link-c: var(--coral); }
.post { padding: var(--gutter); }
.post-head, .post-body, .post-tags { max-width: 2000px; margin-inline: auto; }
@media (min-width: 768px) { .post-head, .post-body, .post-tags { width: 75%; } }
.post-head { display: flex; flex-direction: column; margin-bottom: 50px; }
.post-head .post-meta { gap: 11px; margin-bottom: 5.6%; }
@media (min-width: 768px) { .post-head .post-meta { margin-bottom: 32px; } }
.post-title { margin: 0; line-height: 1.2; }
.post-body > .rte { padding: 17px 0; }
.post-body > :first-child { padding-top: 0; margin-top: 0; }
.post-body > .rte:last-child { padding-bottom: 0; }
.post-fig, .post-video, .post-quote, .post-btn, .post-hr { margin: 17px 0; }
.post-body > .post-fig + .rte, .post-body > .rte + .rte { padding-top: 17px; }
.post-fig img { width: 100%; height: auto; aspect-ratio: var(--ar); object-fit: cover; }
.post-fig figcaption { margin-top: 10px; font-size: 0.9rem; }
.post-video .vid { max-height: none; }
.post-hr { border: 0; height: 1px; background: currentColor; }
.post-btn { display: flex; } .post-btn--center { justify-content: center; } .post-btn--right { justify-content: flex-end; }
.post-quote { margin-inline: 0; text-align: center; }
.post-quote blockquote { margin: 0; font-size: calc(0.4 * var(--u) + 1rem); }
.post-tags { display: flex; flex-wrap: wrap; gap: 0 1.4em; margin-top: 30px; margin-bottom: 30px; font-family: var(--font-meta); font-weight: 600; }
.post-tag::before { content: "#"; }
.pag { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 43.2px var(--gutter); background: var(--gold); color: var(--ink); }
@media (min-width: 768px) { .pag { grid-template-columns: 1fr 1fr; gap: 0; } }
.pag-link { display: flex; align-items: center; text-decoration: none; }
.pag-next { justify-content: flex-end; text-align: right; }
.pag-icon { flex: 0 0 43px; display: flex; }
.pag-next .pag-icon { justify-content: flex-end; }
.pag-icon svg { width: 18px; height: 32px; stroke: currentColor; stroke-width: 1px; }
.pag-title { display: block; font-family: var(--font-head); font-size: calc(1.2 * var(--u) + 1rem); line-height: 1; letter-spacing: -0.08em; text-transform: uppercase; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--hd-bg, var(--ink)); color: var(--hd-fg, var(--mist));
  border-bottom: 1px solid var(--ink);
  transition: transform 0.3s ease;
}
.site-header.is-hidden { transform: translateY(-101%); }
.site-header.h-black, .site-header.h-black-bold { --hd-bg: var(--ink); --hd-fg: var(--mist); }
.site-header.h-light, .site-header.h-default { --hd-bg: var(--gold); --hd-fg: var(--ink); }
.site-header.h-white { --hd-bg: var(--mist); --hd-fg: var(--ink); }
.site-header.h-white-bold { --hd-bg: var(--paper); --hd-fg: var(--ink); }
.site-header.h-bright { --hd-bg: var(--coral); --hd-fg: var(--mist); }
.hd-inner { display: flex; align-items: center; padding: 6vw; }
.hd-logo { display: block; margin-right: auto; }
.hd-logo img { height: 28px; width: auto; }
.hd-nav, .hd-login, .hd-cta { display: none; }
.hd-burger { position: relative; width: 50px; height: 37px; padding: 0; margin: 0 0 0 auto; background: none; border: 0; cursor: pointer; color: inherit; }
.hd-burger span { position: absolute; left: 9px; width: 35px; height: 1px; background: currentColor; transition: transform 0.25s ease, top 0.25s ease; }
.hd-burger span:nth-child(1) { top: 13px; } .hd-burger span:nth-child(2) { top: 24px; }
.menu-open .hd-burger span:nth-child(1) { top: 18px; transform: rotate(45deg) scaleX(0.8); }
.menu-open .hd-burger span:nth-child(2) { top: 18px; transform: rotate(-45deg) scaleX(0.8); }
@media (min-width: 768px) {
  .hd-inner { padding: 0.3vw 4vw; }
  .hd-logo img { height: 88px; }
  .hd-burger { display: none; }
  .hd-nav { display: flex; gap: 0.7vw; }
  .hd-nav a, .hd-login { text-decoration: none; line-height: 1.7; padding: 0.1em 0; background-repeat: repeat-x; background-position: 0 100%; background-size: 1px 1px; }
  .hd-nav a[aria-current="page"], .hd-nav a:hover { background-image: linear-gradient(currentColor, currentColor); }
  .hd-login { display: block; margin-left: 1.7vw; line-height: 1.5; }
  .hd-cta { display: inline-flex; margin-left: 1.7vw; font-family: var(--font-meta); padding: 0.4rem 1.5rem; background: var(--coral); color: var(--mist); }
}
.menu { position: fixed; inset: 0; z-index: 99; display: flex; flex-direction: column; padding-top: var(--header-h); background: var(--gold); color: var(--ink); text-align: center; opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s; }
.menu-open .menu { opacity: 1; visibility: visible; }
.menu-open .site-header { --hd-bg: var(--gold); --hd-fg: var(--ink); border-bottom-color: transparent; transform: none; }
.menu-open { overflow: hidden; }
.menu-nav { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; overflow-y: auto; padding: 0 4vw; }
.menu-nav a { display: block; margin: 3vw 0; font-size: 8.5vw; line-height: 1; text-decoration: none; }
.menu-nav a.menu-login { margin-top: 8vw; }
.menu-cta { flex: 0 0 auto; padding: 16px 0 23px; }
.menu-cta .btn { font-family: var(--font-meta); font-size: 1.2rem; padding: 0.4rem 1.5rem; background: var(--coral); color: var(--mist); }
@media (min-width: 768px) { .menu { display: none; } }
.skip { position: absolute; left: -9999px; top: 0; z-index: 200; padding: 0.6rem 1rem; background: var(--coral); color: var(--mist); }
.skip:focus { left: 8px; top: 8px; }

/* ---------- footer ---------- */
.site-footer { background: var(--gold); }

/* ---------- utility pages ---------- */
.notfound { padding: calc(var(--header-h) + 6.6vmax) var(--gutter) 6.6vmax; background: var(--gold); color: var(--ink); font-family: var(--font-meta); font-size: calc(0.1 * var(--u) + 1rem); }
.notfound a { color: var(--coral); text-decoration: none; }
.notfound ul { padding-left: 2.5rem; }
.lock { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 6vw; background: #242e42; color: #fff; text-align: center; font-family: "Times New Roman", Times, serif; font-weight: 400; }
.lock-icon { width: 96px; height: 96px; border-radius: 50%; background: #fff; display: grid; place-items: center; margin-bottom: 52px; }
.lock-icon svg { width: 34px; height: 40px; fill: #242e42; }
.lock-logo { width: 165px; height: auto; margin-bottom: 40px; }
.lock h1 { margin: 0 0 18px; font: 400 clamp(40px, 4.6vw, 66px)/1.1 "Times New Roman", Times, serif; letter-spacing: 0.01em; text-transform: none; }
.lock p { margin: 0; font-size: clamp(18px, 1.55vw, 22px); letter-spacing: 0.03em; }
.lock-form { margin-top: 200px; width: 292px; max-width: 100%; padding: 4px 4px 4px; border: 2px solid #fff; display: flex; align-items: center; }
.lock-form input { flex: 1; min-width: 0; padding: 10px 0 8px; background: none; border: 0; border-bottom: 1px solid #fff; color: #fff; font: 400 14px "Times New Roman", Times, serif; letter-spacing: 0.2em; outline: 0; }
.lock-form input::placeholder { color: #fff; opacity: 1; }
.lock-form button { background: none; border: 0; border-bottom: 1px solid #fff; padding: 9px 0 8px 8px; color: #fff; opacity: 0.6; cursor: pointer; }
.lock-form button svg { width: 22px; height: 16px; stroke: currentColor; fill: none; }
.lock-msg { margin-top: 14px !important; min-height: 1.4em; font-size: 14px !important; }

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