/* ═══════════════════════════════════════════════════════════════
   AI Weekend — 2026 brand components
   Loaded after main.css. Every new component is prefixed "aw-".
   ═══════════════════════════════════════════════════════════════ */

:root {
  --aw-ink: #141318;
  --aw-ink-2: #1B1924;
  --aw-indigo: #181532;
  --aw-text: #F6F3F1;
  --aw-dim: #B5AFBB;
  --aw-faint: #8B8594;
  --aw-soft: #DDD8E0;
  --aw-hair: rgba(240, 236, 255, 0.13);
  --aw-hair-2: rgba(240, 236, 255, 0.32);
  --aw-red: #F4482B;
  --aw-red-2: #FF8A5C;
  --aw-cta: linear-gradient(90deg, #F4492B, #EC362E 50%, #F4492A);
  --aw-mono: "Martian Mono", ui-monospace, Menlo, monospace;
  --aw-sans: "Urbanist", "Helvetica Neue", Arial, sans-serif;
  --aw-dot: "Doto", "Martian Mono", monospace;
  --aw-hand: "Caveat", "Bradley Hand", cursive;
  --aw-gutter: clamp(16px, 4vw, 48px);
  --aw-max: 1280px;
  /* Distance from the viewport edge to the content column: photos run edge to edge,
     text stays aligned with the nav. */
  --aw-edge: max(var(--aw-gutter), calc((100vw - var(--aw-max)) / 2 + var(--aw-gutter)));
  --aw-pin: min(calc(100vh - var(--nav-height)), max(760px, 44vw));
}

/* ─── Layout hooks ───────────────────────────────────────────── */
.main-content:has(> .aw-bleed:first-child) {
  max-width: none;
  padding: 0;
}
.aw-page { width: 100%; }
.aw-wrap { padding-inline: var(--aw-edge); }
.nav-container,
.footer-container {
  max-width: var(--aw-max);
  padding-inline: var(--aw-gutter);
}
.aw-lbl {
  font-family: var(--aw-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--aw-faint);
  text-transform: uppercase;
}
.aw-lbl--soft { color: var(--aw-soft); }
.aw-two { color: #7D7787; }
.aw-two b { font-weight: 400; color: var(--aw-text); }
.aw-h-mono {
  margin: 0;
  font-family: var(--aw-mono);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(19px, 2.7vw, 34px);
  line-height: 1.25;
}
.aw-h-thin {
  margin: 0;
  font-family: var(--aw-sans);
  font-weight: 200;
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
}
h1.aw-h-thin,
h2.aw-h-thin { font-weight: 200; }
.aw-sec {
  padding-block: clamp(56px, 8vw, 104px);
  border-top: 1px solid var(--aw-hair);
  position: relative;
}
.aw-sec--flush { border-top: 0; }
.aw-sec-h {
  display: grid;
  gap: 14px;
  margin-bottom: 40px;
  max-width: 820px;
}
.aw-sec-h p {
  margin: 0;
  color: #C9C4CE;
  max-width: 56ch;
}

/* ─── Navigation (restyles the existing .site-header markup) ─── */
.site-header {
  background: rgba(20, 19, 24, 0.78);
  border-bottom: 1px solid var(--aw-hair);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
}
.nav-logo img {
  height: 30px;
  width: auto;
  display: block;
}
.nav-dot { display: none; }
.nav-links a {
  font-family: var(--aw-sans);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--aw-soft);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"] {
  border-bottom: 1px solid var(--aw-red);
  padding-bottom: 3px;
}
.nav-apply,
.aw-btn {
  font-family: var(--aw-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  background: var(--aw-cta);
  color: #fff;
  padding: 13px 20px;
  border: 0;
  border-radius: 4px;
  display: inline-block;
  cursor: pointer;
  box-shadow: 0 6px 28px rgba(244, 72, 43, 0.35);
  transition: filter 0.2s;
}
.nav-apply {
  padding: 9px 14px;
  box-shadow: none;
}
.nav-apply:hover,
.aw-btn:hover {
  filter: brightness(1.12);
  color: #fff;
}
.aw-btn[disabled] {
  filter: grayscale(1) brightness(0.6);
  box-shadow: none;
  cursor: not-allowed;
}
.aw-ghost {
  font-family: var(--aw-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--aw-text);
  border-bottom: 1px solid var(--aw-hair-2);
  padding-bottom: 3px;
}
.aw-ghost:hover {
  border-color: #fff;
  color: #fff;
}
.aw-row {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.aw-proof {
  font-family: var(--aw-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--aw-soft);
  text-transform: uppercase;
}
.aw-st {
  font-family: var(--aw-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.aw-st--open { color: var(--aw-red-2); }
.aw-st--open::before {
  content: "● ";
  color: var(--aw-red);
}
.aw-st--soon { color: var(--aw-faint); }
.aw-st--done { color: var(--aw-dim); }
/* Event page "Durum": an upcoming event whose applications are closed, said plainly. */
.aw-st--closed { color: #fff; font-weight: 600; }

/* ─── Photo surfaces ─────────────────────────────────────────── */
.aw-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.aw-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(16, 14, 22, 0.85) 0%, rgba(16, 14, 22, 0.45) 48%, rgba(16, 14, 22, 0) 78%),
    linear-gradient(0deg, rgba(16, 14, 22, 0.85), rgba(16, 14, 22, 0) 42%);
}
.aw-ann {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(246, 243, 241, 0.75);
}
.aw-ann i {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--aw-ink);
  border: 1px solid var(--aw-text);
}
.aw-ann i:nth-child(1) { left: -4px; top: -4px; }
.aw-ann i:nth-child(2) { right: -4px; top: -4px; }
.aw-ann i:nth-child(3) { left: -4px; bottom: -4px; }
.aw-ann i:nth-child(4) { right: -4px; bottom: -4px; }
.aw-ann span {
  position: absolute;
  left: calc(100% + 14px);
  top: -1px;
  white-space: nowrap;
  font-family: var(--aw-mono);
  font-size: 9.5px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  background: rgba(16, 14, 22, 0.75);
  padding: 6px 9px;
  border-left: 2px solid var(--aw-red);
  text-transform: uppercase;
}
.aw-ann--l span {
  left: auto;
  right: calc(100% + 14px);
  border-left: 0;
  border-right: 2px solid var(--aw-red);
  text-align: right;
}
.aw-ann span em {
  display: block;
  font-style: normal;
  color: var(--aw-dim);
  text-transform: none;
  letter-spacing: 0;
}
.aw-hand {
  position: absolute;
  z-index: 6;
  font-family: var(--aw-hand);
  font-weight: 600;
  color: #FF7A55;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.05;
  transform: rotate(-4deg);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.7);
}

.aw-art {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  aspect-ratio: var(--art-ratio);
  width: max(100cqw, calc(100cqh * var(--art-ratio)));
  z-index: 0;
}
.aw-art > img {
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: cover;
}

/* ─── Home: focus-pull hero ──────────────────────────────────── */
.aw-hero {
  height: calc(var(--aw-pin) + 60vh);
  --p: 0;
}
.aw-hero-pin {
  position: sticky;
  top: var(--nav-height);
  height: var(--aw-pin);
  overflow: hidden;
  background: #000;
  isolation: isolate;
  container-type: size;
}
.aw-hero .aw-art {
  --art-ratio: 1.791;
  width: max(108cqw, calc(108cqh * var(--art-ratio)));
  top: -3%;
  translate: -50% 0;
}
.aw-art--over { z-index: 3; pointer-events: none; }
.aw-hero-bg {
  filter: blur(calc((1 - var(--p)) * 18px)) brightness(calc(0.55 + var(--p) * 0.3));
}
.aw-hero .aw-ann { opacity: clamp(0, calc((var(--p) - 0.62) * 4), 1); }
.aw-hero-copy {
  position: absolute;
  z-index: 4;
  left: var(--aw-edge);
  right: var(--aw-edge);
  bottom: clamp(40px, 6vh, 72px);
  display: grid;
  gap: 20px;
  max-width: 800px;
}
.aw-hero-copy h1 {
  margin: 0;
  font-family: var(--aw-sans);
  font-weight: 200;
  font-size: clamp(40px, 6.4vw, 90px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.aw-hero-copy p {
  margin: 0;
  font-size: clamp(16px, 1.6vw, 20px);
  max-width: 36ch;
}
.aw-scrollhint {
  position: absolute;
  z-index: 4;
  right: var(--aw-edge);
  bottom: clamp(40px, 6vh, 72px);
  font-family: var(--aw-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--aw-soft);
  text-align: right;
  opacity: calc(1 - var(--p) * 2);
}

.aw-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--aw-hair);
  padding-inline: calc(var(--aw-edge) - var(--aw-gutter));
}
.aw-stats div {
  padding: 26px var(--aw-gutter) 30px;
  border-right: 1px solid var(--aw-hair);
  display: grid;
  gap: 8px;
  font-family: var(--aw-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--aw-dim);
  text-transform: uppercase;
}
.aw-stats div:last-child { border-right: 0; }
.aw-stats b {
  font-family: var(--aw-dot);
  font-weight: 900;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 0.9;
  color: var(--aw-text);
  letter-spacing: 0;
}

.aw-why {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: stretch;
}
.aw-why-photo {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #000;
}
.aw-why-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.aw-why-photo .aw-hand {
  left: 8%;
  bottom: 9%;
}
.aw-why-list {
  display: grid;
  align-content: center;
}
.aw-why-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--aw-hair);
}
.aw-why-item:last-child { border-bottom: 1px solid var(--aw-hair); }
.aw-why-item .n {
  font-family: var(--aw-dot);
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
  color: var(--aw-red);
}
.aw-why-item h3 {
  margin: 0 0 6px;
  font-family: var(--aw-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.aw-why-item p {
  margin: 0;
  color: #C9C4CE;
}

/* ─── Event rows (home + /events) ────────────────────────────── */
/* Rows share the list's columns (subgrid), so a shorter status label never shifts a row. */
.aw-ev {
  display: grid;
  grid-template-columns: 90px 1.4fr 1fr 1fr auto;
}
.aw-ev a {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--aw-hair);
  color: var(--aw-text);
}
.aw-ev a:last-child { border-bottom: 1px solid var(--aw-hair); }
.aw-ev a:hover,
.aw-ev a:focus-visible {
  outline: 1px solid rgba(246, 243, 241, 0.55);
  outline-offset: 8px;
}
.aw-ev .no {
  display: grid;
  gap: 4px;
  line-height: 1;
}
.aw-ev .no b {
  font-family: var(--aw-dot);
  font-weight: 900;
  font-size: 28px;
}
.aw-ev .no i {
  font-style: normal;
  font-family: var(--aw-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--aw-faint);
}
.aw-ev h3 {
  margin: 0;
  font-family: var(--aw-sans);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.01em;
}
.aw-ev .m {
  font-family: var(--aw-mono);
  font-size: 11px;
  color: var(--aw-dim);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.aw-empty {
  color: var(--aw-dim);
  border: 1px dashed var(--aw-hair-2);
  padding: 28px;
  margin: 0;
}

/* ─── Annotated desk photo ───────────────────────────────────── */
.aw-wrap:has(> .aw-desk) { padding-inline: 0; }
.aw-desk {
  position: relative;
  overflow: hidden;
  background: #0B0A12;
  height: clamp(440px, 46vw, 760px);
  cursor: pointer;
  container-type: size;
}
.aw-desk .aw-art {
  --art-ratio: 1.339;
  left: auto;
  right: 0;
  translate: 0 -50%;
  width: max(62cqw, calc(100cqh * var(--art-ratio)));
}
/* The room photo is wider than the desk one; the ratio keeps its notes pinned to it. */
.aw-desk--room .aw-art { --art-ratio: 1.932; }
.aw-desk.aw-desk--room .aw-art > img {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.25) 26%, #000 52%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.25) 26%, #000 52%);
}
.aw-desk .aw-art > img {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}
.aw-desk-txt {
  position: absolute;
  z-index: 4;
  left: var(--aw-edge);
  top: clamp(36px, 5vw, 72px);
  width: min(36%, 440px);
  display: grid;
  gap: 14px;
}
.aw-desk svg {
  position: absolute;
  z-index: 6;
  overflow: visible;
}
.aw-desk svg path {
  fill: none;
  stroke: #FF7A55;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 0;
}
.aw-desk.is-drawing svg path { animation: aw-draw 1.4s ease-out both; }
.aw-desk.is-drawing .aw-hand { animation: aw-pop 0.5s ease-out both; }
@keyframes aw-draw {
  from { stroke-dashoffset: 400; }
  to { stroke-dashoffset: 0; }
}
@keyframes aw-pop {
  from { opacity: 0; translate: 0 6px; }
  to { opacity: 1; translate: 0 0; }
}

.aw-who {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--aw-hair);
}
.aw-who span {
  flex: 1 1 160px;
  padding: 22px 18px;
  border-right: 1px solid var(--aw-hair);
  font-family: var(--aw-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--aw-soft);
}
.aw-who span::before {
  content: "✦ ";
  color: var(--aw-red);
}

.aw-cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(72px, 10vw, 130px);
  isolation: isolate;
  border-top: 1px solid var(--aw-hair);
}
.aw-cta svg {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.aw-cta-in {
  display: grid;
  gap: 22px;
  max-width: 760px;
}

/* ─── Inner page photo header ────────────────────────────────── */
.aw-ehead {
  position: relative;
  min-height: clamp(400px, 34vw, 560px);
  overflow: hidden;
  background: #000;
  isolation: isolate;
  display: grid;
  align-items: end;
}
.aw-ehead > img {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  max-width: none;
  object-fit: cover;
  filter: blur(10px) brightness(0.6);
  z-index: 0;
}
.aw-ehead-in {
  position: relative;
  z-index: 4;
  padding-block: 90px 40px;
  display: grid;
  gap: 16px;
}
.aw-ehead h1 {
  margin: 0;
  font-family: var(--aw-sans);
  font-weight: 200;
  font-size: clamp(38px, 5.6vw, 76px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.aw-back {
  font-family: var(--aw-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--aw-soft);
}
.aw-back:hover { color: #fff; }

.aw-egrid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: clamp(24px, 4vw, 56px);
  padding-block: 48px 80px;
  align-items: start;
}
.aw-lead {
  font-size: 19px;
  color: var(--aw-soft);
  max-width: 60ch;
  margin: 0 0 40px;
  white-space: pre-line;
}
.aw-day {
  font-family: var(--aw-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--aw-red-2);
  padding: 22px 0 10px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.aw-day span { color: var(--aw-faint); }
details.aw-s { border-top: 1px solid var(--aw-hair); }
details.aw-s:last-of-type { border-bottom: 1px solid var(--aw-hair); }
details.aw-s summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  align-items: baseline;
  font-family: var(--aw-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
details.aw-s summary::-webkit-details-marker { display: none; }
details.aw-s summary time { color: var(--aw-red-2); }
details.aw-s .tags {
  display: flex;
  gap: 10px;
  color: var(--aw-faint);
  font-size: 10px;
  white-space: nowrap;
}
details.aw-s .tags .bonus { color: var(--aw-red-2); }
details.aw-s[open] {
  outline: 1px solid rgba(246, 243, 241, 0.55);
  outline-offset: 8px;
  margin-block: 10px;
  border-color: transparent;
}
details.aw-s--optional summary > span:first-of-type { color: var(--aw-dim); }
.aw-s-out {
  padding: 0 0 18px 124px;
  color: #C9C4CE;
  font-size: 15px;
  max-width: 64ch;
  display: grid;
  gap: 14px;
}
.aw-s-out p { margin: 0; }
.aw-s-out b {
  display: block;
  font-family: var(--aw-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--aw-text);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.aw-info {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
  border: 1px solid var(--aw-hair);
  background: var(--aw-ink-2);
  padding: 22px;
  display: grid;
  gap: 16px;
}
.aw-info h3 {
  margin: 0;
  font-family: var(--aw-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.aw-info dl {
  margin: 0;
  display: grid;
  gap: 12px;
}
.aw-info dt {
  font-family: var(--aw-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: var(--aw-faint);
  text-transform: uppercase;
}
.aw-info dd { margin: 2px 0 0; }
.aw-info .aw-btn { text-align: center; }
.aw-mbar { display: none; }

/* ─── About: spotlight ───────────────────────────────────────── */
.aw-spot {
  position: relative;
  min-height: clamp(520px, 40vw, 700px);
  overflow: hidden;
  background: #000;
  --mx: 64%;
  --my: 58%;
  cursor: crosshair;
  touch-action: pan-y;
  display: grid;
  align-items: end;
}
.aw-spot > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.aw-spot-dark { filter: grayscale(0.6) brightness(0.22) contrast(1.1); }
.aw-spot-lit {
  -webkit-mask-image: radial-gradient(circle clamp(130px, 18vw, 250px) at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, 0.85) 40%, transparent 100%);
  mask-image: radial-gradient(circle clamp(130px, 18vw, 250px) at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, 0.85) 40%, transparent 100%);
}
.aw-spot-in {
  position: relative;
  z-index: 4;
  padding-block: 110px 44px;
  display: grid;
  gap: 16px;
  max-width: 760px;
  pointer-events: none;
}
.aw-mission {
  font-size: clamp(20px, 2.3vw, 28px);
  font-weight: 300;
  line-height: 1.35;
  max-width: 34em;
  margin: 0;
  letter-spacing: -0.01em;
}
.aw-mission b,
.aw-mission strong {
  font-weight: 500;
  color: #fff;
}
.aw-prin {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--aw-hair);
}
.aw-prin div {
  padding: 22px 18px 26px;
  border-right: 1px solid var(--aw-hair);
  display: grid;
  gap: 10px;
  align-content: start;
}
.aw-prin div:last-child { border-right: 0; }
.aw-prin .n {
  font-family: var(--aw-dot);
  font-weight: 900;
  font-size: 26px;
  color: var(--aw-red);
  line-height: 1;
}
.aw-prin h3 {
  margin: 0;
  font-family: var(--aw-mono);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.aw-prin p {
  margin: 0;
  font-size: 14.5px;
  color: #C9C4CE;
}
.aw-contact {
  font-family: var(--aw-sans);
  font-weight: 200;
  font-size: clamp(24px, 3.2vw, 40px);
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid var(--aw-hair);
  padding-bottom: 4px;
  overflow-wrap: anywhere;
  transition: border-color 0.2s;
}
.aw-contact:hover,
.aw-contact:focus-visible {
  color: #fff;
  border-bottom-color: var(--aw-red);
}

/* ─── Apply: split layout + 3-step island ────────────────────── */
.aw-apply {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) 1.42fr;
  min-height: max(640px, calc(100vh - var(--nav-height) - 80px));
}
.aw-apply-side {
  position: relative;
  overflow: hidden;
  background: #000;
  isolation: isolate;
  display: grid;
  align-items: end;
}
.aw-apply-side > img {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  max-width: none;
  object-fit: cover;
  filter: blur(8px) brightness(0.55);
  z-index: 0;
}
.aw-apply-side-in {
  position: relative;
  z-index: 4;
  padding: 40px clamp(16px, 3vw, 40px) 40px var(--aw-edge);
  display: grid;
  gap: 14px;
}
.aw-apply-main { padding: 48px var(--aw-edge) 48px clamp(16px, 4vw, 56px); }
.aw-apply-main > * { max-width: 720px; }
.aw-apply > *,
.aw-form,
.aw-form section,
.aw-f { min-width: 0; }
.aw-apply-main { overflow-wrap: anywhere; }

.aw-form {
  display: grid;
  gap: 22px;
  align-content: start;
}
.aw-form section {
  display: grid;
  gap: 22px;
  align-content: start;
}
.aw-fh { font-size: clamp(18px, 2.2vw, 26px); }
.aw-fh2 { font-size: clamp(36px, 4.6vw, 60px); }
.aw-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  font-family: var(--aw-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--aw-faint);
}
.aw-steps div {
  display: grid;
  gap: 8px;
}
.aw-steps i {
  height: 3px;
  background: var(--aw-hair);
  display: block;
  position: relative;
  overflow: hidden;
}
.aw-steps u {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--aw-red);
  transition: width 0.35s;
}
.aw-steps .is-now { color: var(--aw-text); }
.aw-steps .is-done { color: var(--aw-dim); }

.aw-f {
  display: grid;
  gap: 7px;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.aw-f > label,
.aw-f > legend {
  font-family: var(--aw-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--aw-soft);
  padding: 0;
  line-height: 1.6;
}
.aw-f > legend { margin-bottom: 7px; }
.aw-f input[type="text"],
.aw-f input[type="email"],
.aw-f input[type="tel"],
.aw-f select,
.aw-f textarea {
  font-family: var(--aw-sans);
  font-size: 16px;
  min-height: 50px;
  background: var(--aw-ink-2);
  border: 1px solid var(--aw-hair);
  color: var(--aw-text);
  padding: 13px 14px;
  border-radius: 0;
  width: 100%;
}
.aw-f textarea {
  resize: vertical;
  line-height: 1.5;
}
.aw-f input:focus,
.aw-f select:focus,
.aw-f textarea:focus {
  outline: none;
  border-color: var(--aw-red);
  box-shadow: 0 0 0 3px rgba(244, 72, 43, 0.2);
}
.aw-f .city-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.aw-uni {
  display: grid;
  gap: 8px;
}
.aw-uni-box { position: relative; }
.aw-uni input { width: 100%; }
.aw-uni-list {
  position: absolute;
  z-index: 20;
  top: calc(100% - 1px);
  left: 0;
  right: 0;
  max-height: 264px;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--aw-ink-2);
  border: 1px solid var(--aw-hair-2);
}
.aw-uni-list li {
  padding: 12px 14px;
  font-family: var(--aw-sans);
  font-size: 15px;
  line-height: 1.35;
  color: var(--aw-soft);
  border-bottom: 1px solid var(--aw-hair);
  cursor: pointer;
}
.aw-uni-list li:last-child { border-bottom: 0; }
.aw-uni-list li.is-active {
  background: rgba(240, 236, 255, 0.07);
  color: var(--aw-text);
}
.aw-uni-list li.is-other {
  position: sticky;
  bottom: 0;
  background: var(--aw-ink);
  border-top: 1px solid var(--aw-hair-2);
  font-family: var(--aw-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--aw-dim);
}
.aw-uni-list li.is-other.is-active { color: var(--aw-text); }
.aw-school { gap: 12px; }
.aw-school-lise {
  display: grid;
  gap: 8px;
}
.aw-school .aw-chs { margin-bottom: 4px; }
.aw-f.is-invalid {
  position: relative;
  padding: 12px;
  margin: -12px;
  background: rgba(244, 72, 43, 0.07);
  outline: 1px solid var(--aw-red);
}
.aw-f.is-invalid > label,
.aw-f.is-invalid > legend { color: var(--aw-red-2); }
.aw-f.is-invalid input[type="text"],
.aw-f.is-invalid input[type="email"],
.aw-f.is-invalid input[type="tel"],
.aw-f.is-invalid select,
.aw-f.is-invalid textarea,
.aw-f.is-invalid .aw-ch,
.aw-f.is-invalid .aw-vid { border-color: var(--aw-red); }
/* Admin-defined questions: the box frames the whole question, options stack as rows */
.aw-f--q {
  border: 1px solid var(--aw-hair);
  background: var(--aw-ink-2);
  padding: 20px 22px 18px;
  gap: 12px;
  transition: border-color 0.2s;
}
.aw-f--q:focus-within { border-color: var(--aw-hair-2); }
.aw-f--q.is-done { border-color: rgba(244, 72, 43, 0.45); }
.aw-f--q > label,
.aw-f--q > legend {
  float: left; /* keeps the legend inside the fieldset padding */
  width: 100%;
  margin: 0;
  display: grid;
  gap: 8px;
  font-family: var(--aw-sans);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  color: var(--aw-text);
}
.aw-f--q > label + *,
.aw-f--q > legend + * { clear: both; }
.aw-qh {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--aw-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--aw-faint);
}
.aw-f--q.is-done .aw-qs { color: var(--aw-red-2); }
.aw-f--q input[type="text"],
.aw-f--q textarea,
.aw-f--q select,
.aw-f--q .aw-uni-list { background: var(--aw-ink); }
.aw-f--q .aw-chs {
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--aw-hair);
}
.aw-f--q .aw-ch {
  border: 0;
  border-bottom: 1px solid var(--aw-hair);
  background: none;
  min-height: 50px;
  padding: 12px 10px;
  margin-inline: -10px;
  color: var(--aw-soft);
  transition: background 0.15s, color 0.15s;
}
.aw-f--q .aw-ch:last-child { border-bottom: 0; }
.aw-f--q .aw-ch:hover {
  background: rgba(240, 236, 255, 0.04);
  color: var(--aw-text);
}
.aw-f--q .aw-ch:has(input:checked) {
  background: none;
  color: var(--aw-text);
}
.aw-f--q .aw-ch:has(input:focus-visible) {
  outline: 2px solid var(--aw-red);
  outline-offset: -2px;
}
.aw-f--q.is-invalid {
  padding: 20px 22px 18px;
  margin: 0;
  outline: 0;
  border-color: var(--aw-red);
}
.aw-f--q.is-invalid .aw-ch { border-color: var(--aw-hair); }
.aw-f--q.is-invalid > label,
.aw-f--q.is-invalid > legend { color: var(--aw-text); }
.aw-f--q.is-invalid .aw-qh { color: var(--aw-red-2); }
.aw-f-err {
  margin: 0;
  font-family: var(--aw-mono);
  font-size: 10.5px;
  letter-spacing: 0.03em;
  color: var(--aw-red-2);
}
.aw-f-err::before { content: "▲ "; }
.aw-f small {
  color: var(--aw-faint);
  font-size: 13px;
}
.aw-chs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.aw-ch {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--aw-hair);
  background: var(--aw-ink-2);
  cursor: pointer;
  font-family: var(--aw-sans);
  font-size: 16px;
  color: var(--aw-text);
}
.aw-ch input {
  accent-color: var(--aw-red);
  width: 20px;
  height: 20px;
  flex: none;
  margin: 0;
}
.aw-ch:has(input:checked) {
  border-color: var(--aw-red);
  background: rgba(244, 72, 43, 0.08);
}
.aw-ch--kv {
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
}
.aw-ch--kv a { text-decoration: underline; }
.aw-sl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}
.aw-sl input {
  width: 100%;
  accent-color: var(--aw-red);
  height: 44px;
}
.aw-sl output {
  font-family: var(--aw-dot);
  font-weight: 900;
  font-size: 34px;
  line-height: 1;
  min-width: 2ch;
  text-align: right;
}
.aw-sll {
  display: flex;
  justify-content: space-between;
  font-family: var(--aw-mono);
  font-size: 10px;
  color: var(--aw-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.aw-vid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  width: 100%;
  min-height: 104px;
  padding: 24px 26px;
  border: 1px dashed var(--aw-hair-2);
  background: var(--aw-ink-2);
  color: var(--aw-text);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
/* .aw-vid is a <label> inside .aw-f: undo the question-label styling it would inherit */
.aw-f > label.aw-vid {
  padding: 24px 26px;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--aw-sans);
  color: var(--aw-text);
}
.aw-vid:hover { border-color: var(--aw-soft); }
.aw-vid:focus-within {
  border-color: var(--aw-red);
  box-shadow: 0 0 0 3px rgba(244, 72, 43, 0.2);
}
.aw-vid-ico {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--aw-hair-2);
  color: var(--aw-soft);
}
.aw-vid-txt {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.aw-vid-txt b {
  font-family: var(--aw-sans);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.aw-vid-txt span {
  font-family: var(--aw-sans);
  font-size: 15px;
  line-height: 1.45;
  color: var(--aw-dim);
}
.aw-vid.is-set {
  border: 1px solid var(--aw-red);
  background: rgba(244, 72, 43, 0.08);
}
.aw-vid.is-set .aw-vid-ico {
  border-color: var(--aw-red);
  background: var(--aw-red);
  color: #fff;
}
.aw-vid-notes {
  margin: 6px 0 0;
  padding: 0 0 0 26px;
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--aw-dim);
}
.aw-vid-notes li { position: relative; }
.aw-vid-notes li::before {
  content: "✦";
  position: absolute;
  left: -22px;
  color: var(--aw-red);
  font-size: 11px;
  top: 3px;
}
.aw-vid-remove {
  justify-self: start;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--aw-hair-2);
  padding: 8px 0 3px;
  min-height: 40px;
  font-family: var(--aw-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--aw-soft);
  cursor: pointer;
}
.aw-vid-remove:hover {
  color: #fff;
  border-color: #fff;
}
.aw-resume {
  font-family: var(--aw-mono);
  font-size: 10.5px;
  letter-spacing: 0.03em;
  color: #FFD9CC;
  border-left: 2px solid var(--aw-red);
  padding: 8px 12px;
  background: rgba(244, 72, 43, 0.08);
}
.aw-resume button {
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  margin-left: 8px;
  cursor: pointer;
}
.aw-err {
  margin: 0;
  color: #FF9C8A;
  font-size: 14.5px;
}
.aw-actions {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  margin-top: 4px;
}
.aw-backb {
  font-family: var(--aw-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--aw-dim);
  min-height: 48px;
  padding-inline: 4px;
  background: none;
  border: 0;
  cursor: pointer;
}
.aw-backb[disabled] { visibility: hidden; }
.aw-where {
  font-family: var(--aw-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--aw-faint);
  text-transform: uppercase;
  text-align: center;
}
.aw-actions .aw-btn {
  min-height: 48px;
  display: inline-grid;
  place-items: center;
}
.aw-mrun {
  width: 100%;
  height: 170px;
  display: block;
  image-rendering: pixelated;
}
.aw-mjoy {
  width: 260px;
  height: 210px;
  max-width: 100%;
  display: block;
  image-rendering: pixelated;
  margin-bottom: -6px;
}
.aw-ubar {
  height: 3px;
  background: var(--aw-hair);
  position: relative;
}
.aw-ubar i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--aw-red);
}
.aw-urow {
  display: flex;
  gap: 14px;
  align-items: flex-end;
  font-family: var(--aw-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--aw-dim);
  text-transform: uppercase;
  line-height: 1.6;
}
.aw-urow b {
  font-family: var(--aw-dot);
  font-weight: 900;
  font-size: 64px;
  line-height: 0.85;
  color: var(--aw-text);
  letter-spacing: 0;
}
.aw-done-text {
  margin: 0;
  color: var(--aw-soft);
  max-width: 44ch;
}

/* ─── Footer tweak ───────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--aw-hair); }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .aw-stats { grid-template-columns: 1fr 1fr; }
  .aw-stats div:nth-child(2) { border-right: 0; }
  .aw-stats div:nth-child(-n+2) { border-bottom: 1px solid var(--aw-hair); }
  .aw-why,
  .aw-egrid,
  .aw-apply { grid-template-columns: 1fr; }
  .aw-ev { grid-template-columns: 60px 1fr auto; }
  .aw-ev .m { display: none; }
  .aw-ev .m--keep {
    display: block;
    grid-column: 2;
  }
  .aw-prin { grid-template-columns: 1fr 1fr; }
  .aw-prin div { border-bottom: 1px solid var(--aw-hair); }
  .aw-desk-txt { width: 52%; }
  .aw-ann span { display: none; }
  .aw-hero .aw-art--over { display: none; }
  .aw-info { position: static; }
  .aw-apply { min-height: 0; }
  .aw-apply-side-in {
    padding: 16px var(--aw-gutter);
    gap: 8px;
  }
  .aw-apply-side .aw-h-thin { font-size: 24px !important; }
  .aw-apply-main { padding: 24px var(--aw-gutter) 0; }
  .aw-f--q,
  .aw-f--q.is-invalid { padding: 16px 16px 14px; }
  .aw-f--q { margin-inline: -4px; }
  .aw-f--q > label,
  .aw-f--q > legend { font-size: 17px; }
  .aw-form section { padding-bottom: 28px; }
  .aw-actions {
    position: sticky;
    bottom: 0;
    z-index: 10;
    background: rgba(20, 19, 24, 0.96);
    border-top: 1px solid var(--aw-hair);
    margin-inline: calc(-1 * var(--aw-gutter));
    padding: 12px var(--aw-gutter) calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .aw-mbar {
    display: flex;
    position: sticky;
    bottom: 0;
    z-index: 20;
    background: rgba(20, 19, 24, 0.96);
    border-top: 1px solid var(--aw-hair);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-family: var(--aw-mono);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .aw-mbar .aw-btn {
    padding: 10px 14px;
    box-shadow: none;
  }
  details.aw-s summary { grid-template-columns: 96px 1fr; }
  details.aw-s .tags { grid-column: 2; }
  .aw-s-out { padding-left: 0; }
}
@media (max-width: 560px) {
  .aw-prin,
  .aw-chs,
  .aw-f .city-selector { grid-template-columns: 1fr; }
  .aw-desk { height: 540px; }
  .aw-desk .aw-art { width: max(100cqw, calc(62cqh * var(--art-ratio))); top: 62%; }
  .aw-desk .aw-art > img {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 30%);
  }
  .aw-desk-txt {
    width: auto;
    right: var(--aw-gutter);
  }
  .aw-scrollhint { display: none; }
  .aw-urow b { font-size: 52px; }
  .aw-f > label.aw-vid {
    padding: 20px;
    gap: 14px;
  }
  .aw-vid-ico {
    width: 44px;
    height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .aw-desk.is-drawing svg path,
  .aw-desk.is-drawing .aw-hand { animation: none; }
  .aw-steps u { transition: none; }
}

/* ─── RSVP page ──────────────────────────────────────────── */
.aw-rsvp {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  padding-top: 9rem;
  padding-bottom: 5rem;
}

/* The width limit goes on the content, not the section: the section's side padding
   (--aw-edge) grows with the screen and would leave the text a narrow column. */
.aw-rsvp > * { max-width: 820px; }

.aw-rsvp h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.08; }
.aw-rsvp p { margin: 0; color: var(--aw-soft); font-size: 1.05rem; line-height: 1.6; max-width: 56ch; }
.aw-rsvp-note { font-size: 0.9rem !important; }
.aw-rsvp-note b { color: var(--aw-text, #F6F3F1); }

.aw-rsvp-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.75rem 0 0.25rem;
}

.aw-rsvp-form button { cursor: pointer; font-family: inherit; }

.aw-rsvp-form button.aw-ghost {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(246, 243, 241, 0.28);
  color: #F6F3F1;
  padding: 0.95rem 1.4rem;
  border-radius: 4px;
}

.aw-rsvp-form button.aw-ghost:hover { border-color: #F6F3F1; }

/* Redirect offer: the offered event and the applicant's own, side by side. */
.aw-rsvp-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  max-width: 760px;
  margin: 0.5rem 0 0.25rem;
}
.aw-rsvp-choice {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem;
  border: 1px solid rgba(246, 243, 241, 0.18);
  border-radius: 4px;
}
.aw-rsvp-choice b { font-size: 1.2rem; font-weight: 600; color: #F6F3F1; }
.aw-rsvp-choice > span:not(.aw-lbl) { color: var(--aw-soft); font-size: 0.95rem; }
.aw-rsvp-choice a { color: var(--aw-soft); font-size: 0.9rem; }
.aw-rsvp-choice a:hover { color: #F6F3F1; }
.aw-rsvp-choice button {
  align-self: flex-start;
  margin-top: 0.75rem;
  cursor: pointer;
  font-family: inherit;
}
/* Same size as .aw-btn next to it, outlined. */
.aw-rsvp-choice button.aw-ghost {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(246, 243, 241, 0.28);
  color: #F6F3F1;
  padding: 12px 19px;
  border-radius: 4px;
  font-family: var(--aw-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}
.aw-rsvp-choice button.aw-ghost:hover { border-color: #F6F3F1; }

@media (max-width: 560px) {
  .aw-rsvp { padding-top: 7rem; }
  .aw-rsvp-choice button { align-self: stretch; text-align: center; }
  .aw-rsvp-form button { flex: 1 1 100%; justify-content: center; text-align: center; }
}

/* ─── Events page: province map + card board ─────────────────── */
.aw-em { --em-indigo-2: #2A2356; padding-top: 2.75rem; }
.aw-em [hidden] { display: none !important; }

.aw-em-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: end;
  padding: 0 var(--aw-edge) 22px;
}
.aw-em-head h1 { margin: 10px 0 0; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.04; text-wrap: balance; }
.aw-em-head h1 b { font-weight: 500; }
.aw-em-counts { display: flex; gap: 26px; margin: 0; }
.aw-em-counts dt { font-family: var(--aw-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--aw-faint); }
.aw-em-counts dd { margin: 0; font-family: var(--aw-dot); font-weight: 700; font-size: 34px; line-height: 1; }
.aw-em-none { padding: 3rem var(--aw-edge); color: var(--aw-dim); }

.aw-em-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px var(--aw-edge);
  border-top: 1px solid var(--aw-hair);
  border-bottom: 1px solid var(--aw-hair);
}
.aw-em-chips { display: flex; flex-wrap: wrap; gap: 18px; }
.aw-em-chips button,
.aw-em-seg button,
.aw-em-cities button {
  background: none;
  cursor: pointer;
  font-family: var(--aw-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.aw-em-chips button { border: 0; border-bottom: 1px solid transparent; padding: 4px 0; color: var(--aw-faint); }
.aw-em-chips button:hover { color: var(--aw-text); }
.aw-em-chips button[aria-pressed="true"] { color: var(--aw-text); border-bottom-color: var(--aw-red); }
.aw-em-seg { display: inline-flex; border: 1px solid var(--aw-hair-2); }
.aw-em-seg button { border: 0; padding: 8px 14px; color: var(--aw-dim); }
.aw-em-seg button + button { border-left: 1px solid var(--aw-hair-2); }
.aw-em-seg button[aria-pressed="true"] { background: var(--aw-text); color: var(--aw-ink); }

/* Map: owns the full width; a city's events slide in over it. */
.aw-em-map { position: relative; overflow: hidden; border-bottom: 1px solid var(--aw-hair); }
.aw-em-mapbox {
  position: relative;
  padding: 26px 3vw 14px;
  background:
    radial-gradient(50% 60% at 20% 28%, rgba(244, 72, 43, 0.1), transparent 70%),
    linear-gradient(var(--aw-hair) 1px, transparent 1px) 0 0 / 100% 72px,
    linear-gradient(90deg, var(--aw-hair) 1px, transparent 1px) 0 0 / 72px 100%;
}
.aw-em-mapbox svg { display: block; width: 100%; max-width: 1760px; height: auto; margin: 0 auto; overflow: visible; }
.aw-em .sea { fill: transparent; }
.aw-em .prov {
  fill: rgba(246, 243, 241, 0.03);
  stroke: rgba(246, 243, 241, 0.3);
  stroke-width: 0.8;
  vector-effect: non-scaling-stroke;
  transition: fill 0.2s, stroke 0.2s;
  cursor: pointer;
}
/* No focus rectangle around a province: keyboard focus shows on its own outline. */
.aw-em .prov:focus,
.aw-em .prov:focus-visible { outline: none; }
.aw-em .prov:focus-visible { stroke: var(--aw-text); stroke-width: 2.2; }
.aw-em .prov:hover { stroke: var(--aw-text); fill: rgba(246, 243, 241, 0.09); }
.aw-em .prov.has-past { fill: var(--em-indigo-2); stroke: rgba(246, 243, 241, 0.4); }
.aw-em .prov.has-past:hover { fill: #3A317A; }
.aw-em .prov.has-next { fill: rgba(244, 72, 43, 0.36); stroke: var(--aw-red); }
.aw-em .prov.has-next:hover { fill: rgba(244, 72, 43, 0.55); }
/* Upcoming event in a city we have already been to: red like any upcoming city, wrapped in a
   second contour in the "we have been here" indigo. */
.aw-em .prov-contour {
  fill: none;
  stroke: #5A4FC0;
  stroke-width: 6;
  stroke-linejoin: round;
  pointer-events: none;
}
.aw-em .prov.has-both { fill: #8E2F27; }
.aw-em .prov.has-both:hover { fill: #A8382E; }
/* Selected = lit in the brand's paper white, so it never reads as "another red one". */
.aw-em .prov.is-sel,
.aw-em .prov.is-sel:hover { fill: var(--aw-text); stroke: var(--aw-text); stroke-width: 1.2; }
.aw-em .pins, .aw-em .tags { pointer-events: none; }
.aw-em .pin-core { fill: var(--aw-red); }
.aw-em .pin-past { fill: var(--aw-ink); stroke: var(--aw-dim); stroke-width: 1.5; }
.aw-em .pin-ring {
  fill: none;
  stroke: var(--aw-red);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: aw-em-ping 2.6s ease-out infinite;
}
.aw-em .pin.on-sel .pin-past { fill: var(--aw-indigo); stroke: var(--aw-indigo); }
.aw-em .pin.on-sel .pin-ring { stroke: var(--aw-indigo); }
@keyframes aw-em-ping { from { transform: scale(0.6); opacity: 0.9; } to { transform: scale(3.4); opacity: 0; } }
.aw-em .tag line { stroke: var(--aw-hair-2); stroke-width: 1; }
.aw-em .tag text {
  font-family: var(--aw-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  fill: var(--aw-text);
  paint-order: stroke;
  stroke: var(--aw-ink);
  stroke-width: 3px;
}
.aw-em .tag text.sub { fill: var(--aw-red-2); font-size: 9.5px; }
.aw-em-hint {
  position: absolute;
  right: 3vw;
  top: 22px;
  font-family: var(--aw-mono);
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--aw-dim);
}
.aw-em-hand {
  position: absolute;
  right: 5%;
  bottom: 9%;
  font-family: var(--aw-hand);
  font-size: 26px;
  line-height: 1.05;
  color: var(--aw-dim);
  transform: rotate(-4deg);
  pointer-events: none;
}
.aw-em-key {
  position: absolute;
  left: 3vw;
  bottom: 22px;
  display: grid;
  gap: 7px;
  font-family: var(--aw-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--aw-faint);
}
.aw-em-key i { display: inline-block; width: 10px; height: 10px; margin-right: 8px; vertical-align: -1px; }
.aw-em-key .k-next { background: rgba(244, 72, 43, 0.5); border: 1px solid var(--aw-red); }
.aw-em-key .k-past { background: var(--em-indigo-2); border: 1px solid rgba(246, 243, 241, 0.4); }
.aw-em-key .k-both {
  background: #8E2F27;
  border: 1px solid var(--aw-red);
  box-shadow: 0 0 0 2px #5A4FC0;
  margin-left: 2px;
  margin-right: 10px;
}
.aw-em-key .k-none { border: 1px solid rgba(246, 243, 241, 0.3); }
.aw-em-cities { display: none; flex-wrap: wrap; gap: 8px; padding: 6px 0 10px; }
.aw-em-cities button { border: 1px solid var(--aw-hair-2); padding: 9px 12px; color: var(--aw-dim); }
.aw-em-cities button.next::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--aw-red);
  vertical-align: 1px;
}
.aw-em-cities button[aria-pressed="true"] { border-color: var(--aw-text); color: var(--aw-text); background: rgba(246, 243, 241, 0.1); }

.aw-em-drawer {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(440px, 92%);
  display: flex;
  flex-direction: column;
  background: rgba(20, 19, 24, 0.96);
  border-left: 1px solid var(--aw-hair-2);
  transform: translateX(102%);
  visibility: hidden;
  transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s 0.38s;
}
.aw-em-drawer.is-left { right: auto; left: 0; border-left: 0; border-right: 1px solid var(--aw-hair-2); transform: translateX(-102%); }
.aw-em-drawer.is-open { transform: none; visibility: visible; transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1); }
.aw-em-drawer-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  align-items: start;
  padding: 22px 22px 16px;
  border-bottom: 1px solid var(--aw-hair);
}
.aw-em-drawer-head h2 { grid-column: 1; margin: 6px 0 0; font-weight: 200; font-size: 2.3rem; line-height: 1.05; }
.aw-em-drawer-head p { grid-column: 1; margin: 2px 0 0; font-size: 0.88rem; color: var(--aw-faint); }
.aw-em-close {
  grid-row: 1 / span 3;
  grid-column: 2;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--aw-hair-2);
  color: var(--aw-text);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.aw-em-close:hover { border-color: var(--aw-text); }
.aw-em-dcards { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; min-height: 0; }
.aw-em-dcards li { border-bottom: 1px solid var(--aw-hair); }
.aw-em-dempty { padding: 26px 22px; color: var(--aw-dim); line-height: 1.6; }
.aw-em-dempty a { color: var(--aw-text); text-underline-offset: 4px; }
.aw-em-dcard {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 210px;
  padding: 16px 20px 18px;
  color: var(--aw-text);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
}
.aw-em-dcard::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 19, 24, 0.7), rgba(20, 19, 24, 0.25) 30%, rgba(20, 19, 24, 0.92) 78%);
}
.aw-em-dcard:hover,
.aw-em-card:hover { color: var(--aw-text); }
.aw-em-dcard .aw-st { position: absolute; top: 14px; right: 18px; }
.aw-em-dcard h3 { margin: 8px 0 2px; font-size: 1.25rem; font-weight: 400; }
.aw-em-dcard p { margin: 0; font-size: 0.84rem; color: var(--aw-dim); }

/* Shared by board cards and drawer cards */
.aw-em .art {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease, filter 0.4s;
}
.aw-em-card:hover .art,
.aw-em-dcard:hover .art { transform: scale(1.04); }
/* Finished events go black and white on their own; the photo itself is untouched, so
   reopening an event brings its colour back. Hover shows the colour again. */
.aw-em .aw-em-card--past .art,
.aw-em .aw-em-dcard.is-past .art { filter: grayscale(1) brightness(0.62); }
.aw-em .aw-em-card--past:hover .art,
.aw-em .aw-em-card--past:focus-within .art,
.aw-em .aw-em-dcard.is-past:hover .art,
.aw-em .aw-em-dcard.is-past:focus-visible .art { filter: grayscale(0) brightness(0.9); }
.aw-em .d { display: block; font-family: var(--aw-dot); font-weight: 700; font-size: 46px; line-height: 0.95; }
.aw-em .d small {
  display: block;
  margin-top: 4px;
  font-family: var(--aw-mono);
  font-weight: 400;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aw-dim);
}
.aw-em-dcard .d { font-size: 40px; }
.aw-em .go {
  display: inline-block;
  align-self: flex-start;
  margin-top: 14px;
  font-family: var(--aw-mono);
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--aw-hair-2);
  padding-bottom: 3px;
}
.aw-em-card:hover .go,
.aw-em-dcard:hover .go { border-bottom-color: var(--aw-red); }

/* Board */
.aw-em-board {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  border-bottom: 1px solid var(--aw-hair);
}
.aw-em-card {
  position: relative;
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  margin-top: -1px;
  border-top: 1px solid var(--aw-hair);
  border-right: 1px solid var(--aw-hair);
  color: var(--aw-text);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
}
.aw-em-card .art { z-index: -1; filter: saturate(0.95) brightness(0.85); }
.aw-em-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 19, 24, 0.6) 0%, rgba(20, 19, 24, 0.2) 28%, rgba(20, 19, 24, 0.55) 55%, rgba(20, 19, 24, 0.94) 100%);
}
.aw-em-card--half, .aw-em-card--past.is-half { grid-column: span 6; min-height: 320px; }
.aw-em-card--past.is-wide { grid-column: 1 / -1; }
.aw-em-card--full { grid-column: 1 / -1; min-height: 420px; }
.aw-em-card--lead { grid-column: span 6; grid-row: span 2; min-height: 640px; }
.aw-em-card .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 16px 18px 0; }
.aw-em-card .no { font-family: var(--aw-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--aw-dim); }
.aw-em-card .body { display: flex; flex-direction: column; margin-top: auto; padding: 0 18px 18px; }
.aw-em-card h3 { margin: 10px 0 2px; font-weight: 300; font-size: 1.5rem; line-height: 1.1; }
.aw-em-card p { margin: 0; font-size: 0.86rem; color: var(--aw-dim); }
.aw-em-card--lead .d, .aw-em-card--full .d { font-size: 72px; }
.aw-em-card--lead h3, .aw-em-card--full h3 { font-size: 2.3rem; font-weight: 200; }
.aw-em-card .corner { position: absolute; width: 9px; height: 9px; border: 0 solid var(--aw-hair-2); }
.aw-em-card .corner.tl { top: 8px; left: 8px; border-top-width: 1px; border-left-width: 1px; }
.aw-em-card .corner.br { bottom: 8px; right: 8px; border-bottom-width: 1px; border-right-width: 1px; }
.aw-em-sep {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px 18px 14px;
  font-family: var(--aw-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aw-faint);
}
.aw-em-board .aw-em-none { grid-column: 1 / -1; }

@media (min-width: 761px) and (max-width: 1040px) {
  .aw-em-card { grid-column: span 6; }
  .aw-em-card--lead, .aw-em-card--full { grid-column: 1 / -1; grid-row: auto; min-height: 400px; }
}

@media (max-width: 760px) {
  .aw-em { padding-top: 1.5rem; }
  .aw-em-head { grid-template-columns: 1fr; padding-bottom: 18px; }
  .aw-em-counts dd { font-size: 26px; }
  /* The view switch leads the page on phones: full width, above the time filter. */
  .aw-em-bar { flex-direction: column-reverse; align-items: stretch; gap: 14px; padding-block: 14px; }
  .aw-em-seg { display: flex; width: 100%; border-color: var(--aw-text); }
  .aw-em-seg button { flex: 1; padding: 14px 10px; font-size: 12px; }
  .aw-em-map { overflow: visible; }
  .aw-em-mapbox { padding: 40px 10px 8px; }
  .aw-em .tags, .aw-em-hand { display: none; }
  .aw-em .pin-core { r: 11px; }
  .aw-em .pin-past { r: 8px; }
  .aw-em-hint { right: auto; left: 16px; top: 14px; }
  .aw-em-key { position: static; display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 4px 6px 8px; }
  .aw-em-cities { display: flex; }
  /* No room to slide over a phone map: the city's events open right under it. */
  .aw-em-drawer,
  .aw-em-drawer.is-left {
    position: static;
    display: none;
    width: 100%;
    transform: none;
    visibility: visible;
    border: 0;
    border-top: 1px solid var(--aw-hair-2);
    transition: none;
  }
  .aw-em-drawer.is-open { display: flex; }
  .aw-em-dcards { overflow: visible; }
  .aw-em-board { grid-template-columns: 1fr; }
  .aw-em-card,
  .aw-em-card--half,
  .aw-em-card--full,
  .aw-em-card--lead { grid-column: 1 / -1; grid-row: auto; min-height: 250px; border-right: 0; }
  .aw-em-card--lead, .aw-em-card--full { min-height: 320px; }
  .aw-em-card--lead .d, .aw-em-card--full .d { font-size: 56px; }
  .aw-em-card--lead h3, .aw-em-card--full h3 { font-size: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .aw-em .pin-ring { animation: none; opacity: 0.5; }
  .aw-em .art, .aw-em-drawer, .aw-em-drawer.is-open { transition: none; }
}

/* ─── Team panel (/internal/*): the crew pass, section tabs, cards ───────────
   The pass is the one bold element: night indigo with brand-red light from one corner,
   a punched lanyard slot, the name in thin display type and the countdown in Doto.
   Everything under it stays on hairlines and quiet surfaces. */
.aw-tp { max-width: 1120px; }
.aw-sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.aw-pass {
  position: relative;
  margin: 4px 0 22px;
  padding: clamp(22px, 3.6vw, 40px) clamp(20px, 3.6vw, 44px) clamp(20px, 3vw, 32px);
  border: 1px solid var(--aw-hair-2);
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(244, 72, 43, 0.26), transparent 58%),
    radial-gradient(60% 80% at 0% 100%, rgba(120, 96, 255, 0.12), transparent 60%),
    linear-gradient(165deg, #221d4a 0%, var(--aw-indigo) 48%, var(--aw-ink) 100%);
  box-shadow: 0 30px 80px -40px rgba(244, 72, 43, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
/* Fine diagonal guilloche, the security print of a pass. */
.aw-pass::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 9px);
  mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}
.aw-pass-hole {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 58px;
  height: 9px;
  transform: translateX(-50%);
  border-radius: 9px;
  background: var(--aw-ink);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--aw-hair);
}
.aw-pass-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.aw-pass-brand { font-family: var(--aw-mono); font-size: 11px; color: var(--aw-dim); }
.aw-pass-brand b { font-weight: 500; color: var(--aw-text); margin-right: 6px; }
.aw-pass-actions { display: flex; gap: 8px; align-items: center; }
.aw-pass-actions form { margin: 0; }
.aw-pass-btn {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--aw-hair-2);
  border-radius: 999px;
  background: rgba(20, 19, 24, 0.35);
  color: var(--aw-text);
  font: 500 13px/1 var(--aw-sans);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.aw-pass-btn:hover { border-color: var(--aw-text); background: rgba(20, 19, 24, 0.6); color: #fff; }
.aw-pass-btn:focus-visible { outline: 2px solid var(--aw-text); outline-offset: 2px; }
.aw-pass-btn--quiet { color: var(--aw-dim); }
.aw-pass-who { margin: clamp(28px, 4vw, 44px) 0 0; }
.aw-pass-who h1 {
  margin: 0;
  font-family: var(--aw-sans);
  font-weight: 200;
  font-size: clamp(38px, 6.2vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: #fff;
  overflow-wrap: anywhere;
}
.aw-pass-who p { margin: 10px 0 0; color: var(--aw-dim); font-size: 14px; }
.aw-pass-stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px clamp(24px, 4vw, 56px);
  margin: clamp(24px, 3.4vw, 36px) 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--aw-hair);
  align-items: end;
}
.aw-pass-stats > div { min-width: 0; }
.aw-pass-stats dt { margin: 0 0 8px; font-family: var(--aw-mono); font-size: 11px; color: var(--aw-faint); }
.aw-pass-stats dd { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.aw-pass-next dd { display: grid; gap: 4px; }
.aw-pass-next b { font-size: clamp(18px, 2vw, 22px); font-weight: 500; color: #fff; }
.aw-pass-next span { color: var(--aw-dim); font-size: 14px; }
.aw-pass-stats span { color: var(--aw-dim); font-size: 13px; }
.aw-pass-num {
  font-family: var(--aw-dot);
  font-weight: 700;
  font-size: clamp(40px, 4.6vw, 58px);
  line-height: 0.85;
  color: #fff;
}
.aw-pass-tasks dd { min-width: 160px; }
.aw-pass-bar {
  flex-basis: 100%;
  display: block;
  height: 3px;
  margin-top: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--aw-red) var(--p), rgba(240, 236, 255, 0.14) var(--p));
}

/* Section tabs: a segmented control under the pass. */
.aw-tp-nav {
  display: flex;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin: 0 0 clamp(36px, 5vw, 56px);
  padding: 4px;
  border: 1px solid var(--aw-hair);
  border-radius: 999px;
  background: var(--aw-ink-2);
  overflow-x: auto;
  scrollbar-width: none;
}
.aw-tp-nav::-webkit-scrollbar { display: none; }
.aw-tp-nav a {
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--aw-dim);
  font: 500 14px/1.1 var(--aw-sans);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.aw-tp-nav a:hover { color: var(--aw-text); background: rgba(240, 236, 255, 0.06); }
.aw-tp-nav a:focus-visible { outline: 2px solid var(--aw-text); outline-offset: -2px; }
.aw-tp-nav a[aria-current="page"] { color: var(--aw-ink); background: var(--aw-text); }

.aw-tp-h {
  margin: 0 0 6px;
  font-family: var(--aw-sans);
  font-weight: 300;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.015em;
  color: var(--aw-text);
}
.aw-tp-lead { margin: 0 0 24px; max-width: 62ch; color: var(--aw-dim); line-height: 1.55; }
.aw-tp-empty {
  margin: 0;
  padding: 28px;
  border: 1px dashed var(--aw-hair-2);
  border-radius: 14px;
  color: var(--aw-dim);
}

/* Materials and tools: cards, like the admin panel's material cards. */
.aw-tp-group { margin-bottom: 36px; }
.aw-tp-group-h {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 12px;
  font-family: var(--aw-sans);
  font-size: 17px;
  font-weight: 500;
  color: var(--aw-text);
}
.aw-tp-group-h span { font-family: var(--aw-mono); font-size: 11px; font-weight: 400; color: var(--aw-faint); }
/* The same card as the admin panel's Ekip Materyalleri (admin.css .mat-card): category in
   capitals, title, up to five lines of description, and "Aç" as a small button under a
   hairline. The whole card is the link. */
.aw-tp-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.aw-tp-cards li { display: flex; }
.aw-tp-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 19px 16px;
  border: 1px solid #322e3d;
  border-radius: 4px;
  background: var(--aw-ink-2);
  color: var(--aw-text);
  text-decoration: none;
  transition: border-color 0.15s;
}
.aw-tp-card:hover { border-color: #8b8594; color: var(--aw-text); }
.aw-tp-card:focus-visible { outline: 2px solid var(--aw-text); outline-offset: 2px; }
.aw-tp-card-cat {
  font-family: var(--aw-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8b8594;
}
.aw-tp-card-title { font-size: 19px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.aw-tp-card-desc {
  color: #b5afbb;
  font-size: 14.5px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.aw-tp-card-foot {
  display: flex;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #322e3d;
}
.aw-tp-card-go {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid #322e3d;
  border-radius: 4px;
  background: #242130;
  font-size: 13px;
  color: #b5afbb;
}
.aw-tp-card:hover .aw-tp-card-go { color: var(--aw-text); border-color: #8b8594; }

/* Old link list, still used by Başvuru linkleri. */
.aw-tp-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--aw-hair); }
.aw-tp-list li { padding: 14px 0; border-bottom: 1px solid var(--aw-hair); }
.aw-tp-list a { color: var(--aw-text); font-size: 17px; }
.aw-tp-list p { margin: 4px 0 0; color: var(--aw-dim); font-size: 14px; max-width: 70ch; }

/* ─── "E-postanı ekle" dialog (partials/email-prompt.ejs, js/email-prompt.js) ─────────
   A light runs around the card's edge: a conic gradient whose start angle (--ep-a, a
   registered property, so it interpolates) turns once every 6s, masked to a thin ring, with
   a blurred copy as its glow. Only that angle, opacity and transform change: the ring is a
   small repaint per frame and the card's own motion stays on the compositor, so it runs
   smoothly. Entrance: rise and settle on an ease-out-expo curve. */
@property --ep-a {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes aw-ep-spin { to { --ep-a: 360deg; } }

.aw-ep {
  width: min(460px, calc(100vw - 32px));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--aw-text);
  overflow: visible;
  opacity: 0;
  transform: translateY(14px) scale(0.965);
  transition:
    opacity 0.3s cubic-bezier(0.4, 0, 1, 1),
    transform 0.3s cubic-bezier(0.4, 0, 1, 1);
}
.aw-ep.is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.62s cubic-bezier(0.16, 1, 0.3, 1);
}
.aw-ep.aw-ep--entrance.is-in {
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.aw-ep::backdrop {
  background: rgba(10, 9, 14, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
.aw-ep.is-in::backdrop {
  background: rgba(10, 9, 14, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.45s ease, backdrop-filter 0.45s ease;
}

.aw-ep-card {
  position: relative;
  isolation: isolate;
  padding: clamp(26px, 5vw, 36px) clamp(22px, 5vw, 34px) clamp(22px, 4vw, 28px);
  border-radius: 22px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(244, 72, 43, 0.2), transparent 60%),
    linear-gradient(165deg, #221d4a 0%, var(--aw-indigo) 55%, var(--aw-ink) 100%);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(240, 236, 255, 0.08);
}
/* The ring and its glow. */
.aw-ep-card::before,
.aw-ep-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from var(--ep-a),
    rgba(240, 236, 255, 0.1) 0deg 200deg,
    rgba(244, 72, 43, 0.65) 255deg,
    var(--aw-red-2) 295deg,
    #fff 322deg,
    var(--aw-red) 342deg,
    rgba(240, 236, 255, 0.1) 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: aw-ep-spin 6s linear infinite;
  pointer-events: none;
}
.aw-ep-card::after {
  z-index: -1;
  inset: -3px;
  padding: 6px;
  filter: blur(16px);
  opacity: 0.9;
}
.aw-ep-step { display: grid; gap: 14px; transition: opacity 0.22s ease, transform 0.22s ease; }
.aw-ep-card.is-swapping .aw-ep-step { opacity: 0; transform: translateY(4px); }
.aw-ep-step[hidden] { display: none; }
.aw-ep-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--aw-cta);
  font: 300 24px/1 var(--aw-sans);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(244, 72, 43, 0.7);
}
.aw-ep-mark--ok::before {
  content: "";
  width: 9px;
  height: 17px;
  margin-top: -4px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.aw-ep h2 {
  margin: 4px 0 0;
  font-family: var(--aw-sans);
  font-weight: 300;
  font-size: clamp(26px, 5vw, 32px);
  letter-spacing: -0.015em;
  color: #fff;
}
.aw-ep-text { margin: 0; color: var(--aw-soft); line-height: 1.55; }
.aw-ep-form { display: grid; gap: 12px; margin-top: 6px; }
.aw-ep-form input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--aw-hair-2);
  border-radius: 14px;
  background: rgba(20, 19, 24, 0.55);
  color: var(--aw-text);
  font: 400 16px var(--aw-sans);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.aw-ep-form input::placeholder { color: var(--aw-faint); }
.aw-ep-form input:focus {
  outline: none;
  border-color: var(--aw-text);
  box-shadow: 0 0 0 4px rgba(240, 236, 255, 0.08);
}
.aw-ep-error { margin: 0; color: var(--aw-red-2); font-size: 14px; }
.aw-ep-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 4px; }
.aw-ep-send {
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--aw-cta);
  color: #fff;
  font: 600 15px var(--aw-sans);
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}
.aw-ep-send:hover { filter: brightness(1.08); }
.aw-ep-send:active { transform: scale(0.98); }
.aw-ep-send[disabled] { opacity: 0.6; cursor: progress; }
.aw-ep-skip {
  padding: 8px 4px;
  border: 0;
  background: none;
  color: var(--aw-dim);
  font: 500 14px var(--aw-sans);
  cursor: pointer;
}
.aw-ep-skip:hover { color: var(--aw-text); }
.aw-ep-send:focus-visible, .aw-ep-skip:focus-visible {
  outline: 2px solid var(--aw-text);
  outline-offset: 3px;
}
.aw-ep-fine { margin: 2px 0 0; color: var(--aw-faint); font-size: 12.5px; line-height: 1.5; }
.aw-ep-static {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
  padding: 24px;
  border: 1px solid var(--aw-hair-2);
  border-radius: 18px;
  background: var(--aw-ink-2);
}
.aw-pass-mail a, .aw-pass-add {
  color: var(--aw-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.aw-pass-mail a:hover { color: #fff; }
.aw-pass-err { color: var(--aw-red-2); }

@media (max-width: 560px) {
  .aw-ep {
    width: 100%;
    margin: auto 0 0;
    transform: translateY(40px);
  }
  .aw-ep-card { border-radius: 22px 22px 0 0; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
  .aw-ep-acts { flex-direction: column; align-items: stretch; }
  .aw-ep-send { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .aw-ep, .aw-ep.is-in, .aw-ep.aw-ep--entrance.is-in {
    transform: none;
    transition: opacity 0.15s linear;
  }
  .aw-ep-card::before, .aw-ep-card::after { animation: none; --ep-a: 200deg; }
  .aw-ep-step { transition: none; }
}

/* ─── Görevlerim: application cards with a date column, task guide, checklist ─── */
.aw-vp { display: grid; gap: 0; margin-bottom: clamp(48px, 6vw, 72px); }
.aw-vp > .aw-tp-h { margin-bottom: 18px; }
.aw-vp > .aw-tp-h + .aw-tp-lead { margin-top: -10px; }
.aw-vp-app {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  margin-bottom: 12px;
  border: 1px solid var(--aw-hair);
  border-radius: 16px;
  background: var(--aw-ink-2);
  overflow: hidden;
  scroll-margin-top: calc(var(--nav-height, 64px) + 16px);
}
.aw-vp-app.is-approved { border-color: rgba(244, 72, 43, 0.35); }
.aw-vp-app.is-past { opacity: 0.72; }
.aw-vp-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 26px 0;
  border-right: 1px solid var(--aw-hair);
  text-align: center;
}
.aw-vp-app.is-approved .aw-vp-date {
  background: linear-gradient(180deg, rgba(244, 72, 43, 0.2), rgba(244, 72, 43, 0) 75%);
}
.aw-vp-date b { font-family: var(--aw-dot); font-weight: 700; font-size: 40px; line-height: 0.9; color: #fff; }
.aw-vp-date span { font-family: var(--aw-mono); font-size: 11px; color: var(--aw-dim); text-transform: capitalize; }
.aw-vp-body { display: grid; gap: 14px; padding: 24px clamp(18px, 2.6vw, 30px); min-width: 0; }
.aw-vp-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.aw-vp-head h3 {
  margin: 0;
  font-family: var(--aw-sans);
  font-weight: 400;
  font-size: clamp(22px, 2.3vw, 28px);
  letter-spacing: -0.01em;
  color: #fff;
}
.aw-vp-meta { margin: 6px 0 0; color: var(--aw-dim); font-size: 15px; }
.aw-vp-status {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--aw-hair-2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--aw-dim);
  white-space: nowrap;
}
.aw-vp-status--ok { color: #fff; border-color: rgba(244, 72, 43, 0.55); background: rgba(244, 72, 43, 0.1); }
.aw-vp-status--ok::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aw-red);
  box-shadow: 0 0 0 3px rgba(244, 72, 43, 0.22);
}
.aw-vp-msg { margin: 0; color: var(--aw-dim); max-width: 64ch; line-height: 1.55; }
.aw-vp-line { margin: 0; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; color: var(--aw-soft); }
.aw-vp-sessions { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.aw-vp-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.aw-vp-facts dd { margin: 0; color: var(--aw-soft); }

/* The guide folds; it opens by itself for an event still to come. */
.aw-vp-guide { margin-top: 4px; border-top: 1px solid var(--aw-hair); }
.aw-vp-guide > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0 4px;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  color: var(--aw-text);
}
.aw-vp-guide > summary::-webkit-details-marker { display: none; }
.aw-vp-guide > summary::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: auto;
  border: solid var(--aw-dim);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.aw-vp-guide[open] > summary::after { transform: rotate(-135deg); }
.aw-vp-guide > summary:focus-visible { outline: 2px solid var(--aw-text); outline-offset: 4px; border-radius: 4px; }
.aw-vp-sum { font-family: var(--aw-mono); font-size: 11px; color: var(--aw-faint); }
.aw-vp-guide-body { display: grid; gap: 14px; padding: 12px 0 4px; }
.aw-vp-guide h5 { margin: 10px 0 0; font-weight: 400; }
.aw-vp-desc { margin: 0; max-width: 70ch; line-height: 1.6; color: var(--aw-soft); }
.aw-vp-steps { margin: 0; padding-left: 1.4em; display: grid; gap: 6px; color: var(--aw-soft); line-height: 1.5; }
.aw-vp-steps li::marker { font-family: var(--aw-mono); font-size: 12px; color: var(--aw-faint); }
.aw-vp-progress { display: grid; gap: 8px; max-width: 420px; }
.aw-vp-count { font-family: var(--aw-mono); font-size: 12px; color: var(--aw-dim); }
.aw-vp-count b { font-weight: 400; color: var(--aw-text); }
.aw-vp-progress progress {
  width: 100%;
  height: 4px;
  appearance: none;
  border: 0;
  border-radius: 0;
  background: var(--aw-hair);
}
.aw-vp-progress progress::-webkit-progress-bar { background: var(--aw-hair); }
.aw-vp-progress progress::-webkit-progress-value { background: var(--aw-red); }
.aw-vp-progress progress::-moz-progress-bar { background: var(--aw-red); }
.aw-vp-tasks { list-style: none; margin: 0; padding: 0; }
.aw-vp-task { border-top: 1px solid var(--aw-hair); }
.aw-vp-task:last-child { border-bottom: 1px solid var(--aw-hair); }
.aw-vp-toggle { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 14px 0; }
.aw-vp-check {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  padding: 0;
  border: 1px solid var(--aw-hair-2);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.aw-vp-check:hover, .aw-vp-check:focus-visible { border-color: var(--aw-text); }
.aw-vp-check:focus-visible { outline: 1px solid var(--aw-text); outline-offset: 3px; }
.aw-vp-check[aria-pressed="true"] { background: var(--aw-text); border-color: var(--aw-text); }
.aw-vp-check[aria-pressed="true"]::after {
  content: "";
  width: 6px;
  height: 11px;
  margin-top: -2px;
  border: solid var(--aw-ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.aw-vp-check[disabled] { opacity: 0.5; cursor: progress; }
.aw-vp-task-body { display: grid; gap: 6px; min-width: 0; }
.aw-vp-task-title { color: var(--aw-text); font-size: 16px; }
.aw-vp-task.is-done .aw-vp-task-title { color: var(--aw-faint); text-decoration: line-through; }
.aw-vp-task-body p { margin: 0; color: var(--aw-dim); font-size: 14px; line-height: 1.5; }
.aw-vp-due { font-family: var(--aw-mono); font-size: 11px; color: var(--aw-faint); }
.aw-vp-late { font-weight: 400; color: var(--aw-red); }
.aw-vp-task:not(.is-overdue) .aw-vp-late { display: none; }
.aw-vp-note { display: block; max-width: 420px; }
.aw-vp-note input {
  width: 100%;
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--aw-text);
  font: inherit;
  font-size: 13px;
}
.aw-vp-note input::placeholder { color: var(--aw-faint); }
.aw-vp-note input:hover { border-bottom-color: var(--aw-hair); }
.aw-vp-note input:focus { outline: none; border-bottom-color: var(--aw-text); }
.aw-vp-task.is-done .aw-vp-note { display: none; }
.aw-vp-note-text { font-style: italic; }

/* ─── Yeni göreve başvur: the role selector island (scoped over main.css .vs-*) ─── */
.aw-vs { display: grid; gap: 28px; margin-top: 4px; }
.aw-vs-step { display: grid; gap: 14px; }
.aw-vs-step-h {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--aw-sans);
  font-size: 18px;
  font-weight: 500;
  color: var(--aw-text);
}
.aw-vs-step-h > span {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border: 1px solid var(--aw-hair-2);
  border-radius: 50%;
  font-family: var(--aw-mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--aw-dim);
}
.aw-vs-events { display: flex; flex-wrap: wrap; gap: 8px; }
.aw-vs-event {
  display: grid;
  gap: 3px;
  min-width: 180px;
  padding: 12px 16px;
  border: 1px solid var(--aw-hair);
  border-radius: 12px;
  background: var(--aw-ink-2);
  color: var(--aw-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.aw-vs-event b { font-weight: 500; font-size: 15px; }
.aw-vs-event span { font-size: 13px; color: var(--aw-dim); }
.aw-vs-event:hover { border-color: var(--aw-hair-2); }
.aw-vs-event[aria-pressed="true"] { border-color: var(--aw-text); background: #24212f; }
.aw-vs-event:focus-visible, .aw-vs-role:focus-visible { outline: 2px solid var(--aw-text); outline-offset: 2px; }

.aw-vs-roles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}
.aw-vs-roles li { display: flex; }
.aw-vs-role {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 210px;
  padding: 18px 20px 16px;
  border: 1px solid var(--aw-hair);
  border-radius: 16px;
  background: var(--aw-ink-2);
  color: var(--aw-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.aw-vs-role:hover { border-color: var(--aw-hair-2); background: #211e2c; transform: translateY(-2px); }
.aw-vs-role[aria-pressed="true"] {
  border-color: var(--aw-red);
  background: linear-gradient(160deg, rgba(244, 72, 43, 0.14), rgba(244, 72, 43, 0) 60%), var(--aw-ink-2);
  transform: none;
}
.aw-vs-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--aw-hair-2);
  border-radius: 12px;
  font-family: var(--aw-sans);
  font-size: 24px;
  font-weight: 200;
  color: #fff;
}
.aw-vs-role[aria-pressed="true"] .aw-vs-mark { border-color: transparent; background: var(--aw-cta); font-weight: 400; }
.aw-vs-role-title { font-size: 19px; font-weight: 600; line-height: 1.25; }
.aw-vs-role-desc {
  color: var(--aw-dim);
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.aw-vs-role-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--aw-hair);
  font-size: 12.5px;
  color: var(--aw-faint);
}
.aw-vs-role-pick { font-size: 13px; font-weight: 500; color: var(--aw-soft); }
.aw-vs-role[aria-pressed="true"] .aw-vs-role-pick { color: #fff; }

.aw-vs .aw-vs-form {
  display: grid;
  gap: 20px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--aw-hair-2);
  border-radius: 18px;
  background: var(--aw-ink-2);
  scroll-margin-top: calc(var(--nav-height, 64px) + 16px);
}
.aw-vs .vs-panel-desc { margin: 0; max-width: 70ch; color: var(--aw-soft); line-height: 1.6; }
.aw-vs .vs-form-identity { margin: 0; }
.aw-vs .vs-submit { justify-self: start; min-width: 220px; }
.aw-vs .vs-leadership { margin: 0; }
.aw-vs-email input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--aw-hair-2);
  border-radius: 10px;
  background: var(--aw-ink);
  color: var(--aw-text);
  font: inherit;
}
.aw-vs-email input:focus { outline: none; border-color: var(--aw-text); }
.aw-vs-email p { margin: 6px 0 0; font-size: 13px; color: var(--aw-dim); }
.aw-vs-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--aw-text);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.aw-vs-link:hover { color: #fff; }

@media (max-width: 720px) {
  .aw-pass-stats { grid-template-columns: 1fr 1fr; }
  .aw-pass-next { grid-column: 1 / -1; }
  .aw-vp-app { grid-template-columns: 64px minmax(0, 1fr); }
  .aw-vp-date { padding: 20px 0; }
  .aw-vp-date b { font-size: 30px; }
  .aw-vp-head { flex-direction: column; }
  .aw-vp-facts { grid-template-columns: 1fr; }
  .aw-vs .vs-submit { justify-self: stretch; }
}
@media (max-width: 460px) {
  .aw-pass-hole { display: none; }
  .aw-pass-actions { width: 100%; }
  .aw-tp-nav { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: 18px; }
  .aw-tp-nav a { text-align: center; border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .aw-tp-card, .aw-vs-role, .aw-vp-guide > summary::after { transition: none; }
  .aw-tp-card:hover, .aw-vs-role:hover { transform: none; }
}

/* Event cards: the title link covers the whole card; an open event's "Başvur" link sits
   above it, so the two links are never nested. */
.aw-em-card-link,
.aw-em-card-link:hover { color: inherit; text-decoration: none; }
.aw-em-card-link::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.aw-em-card-link:focus-visible { outline: none; }
.aw-em-card-link:focus-visible::before { outline: 1px solid rgba(246, 243, 241, 0.8); outline-offset: -6px; }
.aw-em-acts { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; }
.aw-em-apply { position: relative; z-index: 2; color: var(--aw-text); text-decoration: none; border-bottom-color: var(--aw-red); }
.aw-em-apply:hover,
.aw-em-apply:focus-visible { color: var(--aw-red-2); }

/* Programme (event page and apply page) */
.aw-prog { scroll-margin-top: calc(var(--nav-height, 64px) + 16px); }
.aw-prog-empty { margin: 12px 0 0; color: var(--aw-dim); }
.aw-prog-jump {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--aw-mono);
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--aw-dim);
  border-bottom: 1px solid var(--aw-hair-2);
  padding-bottom: 3px;
}
.aw-prog-jump:hover,
.aw-prog-jump:focus-visible { color: var(--aw-text); }
.aw-prog-panel { margin-bottom: 28px; border-top: 1px solid var(--aw-hair); border-bottom: 1px solid var(--aw-hair); }
.aw-prog-panel > summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
}
.aw-prog-panel > summary::-webkit-details-marker { display: none; }
.aw-prog-panel > summary::after { content: "+"; font-family: var(--aw-mono); color: var(--aw-faint); }
.aw-prog-panel[open] > summary::after { content: "−"; }
.aw-prog-panel > summary:focus-visible { outline: 1px solid var(--aw-text); outline-offset: 4px; }
.aw-prog-panel-meta { margin-left: auto; font-family: var(--aw-mono); font-size: 11px; color: var(--aw-dim); }
.aw-prog--compact { padding-bottom: 18px; }
.aw-prog--compact .aw-day:first-child { margin-top: 0; }
.aw-prog-full { display: inline-block; margin-top: 16px; font-size: 14px; color: var(--aw-dim); text-decoration: underline; text-underline-offset: 3px; }
.aw-prog-full:hover { color: var(--aw-text); }

/* Başvurular kapalı: the apply page of a closed event without a working special link */
/* /apply/:id when applications are closed: a short note on the left, the events anyone can
   apply to right now as photo cards on the right. */
.aw-closed {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  min-height: 70vh;
  padding-top: 9rem;
  padding-bottom: 5rem;
}
.aw-closed--alone { grid-template-columns: minmax(0, 1fr); }
.aw-closed-text { display: grid; gap: 1.25rem; justify-items: start; max-width: 620px; }
.aw-closed-text .aw-lbl, .aw-closed-text .aw-proof { margin: 0; }
.aw-closed h1 { margin: 0.25rem 0 0; font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.12; }
.aw-closed h1 b { display: block; margin-top: 0.35em; font-weight: 500; color: #fff; }
.aw-closed-text p {
  margin: 0; color: var(--aw-soft); font-size: 1.1rem; line-height: 1.6; max-width: 42ch;
}
.aw-closed-text .aw-closed-note { font-size: 0.92rem; max-width: 46ch; }
.aw-closed-note b { color: var(--aw-text); font-weight: 500; }
.aw-closed-acts { margin-top: 0.5rem; }

.aw-closed-side { display: grid; gap: 14px; }
.aw-closed-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.aw-closed-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 132px;
  border: 1px solid var(--aw-hair);
  border-radius: 4px;
  overflow: hidden;
  color: var(--aw-text);
  background: rgba(240, 236, 255, 0.02);
  transition: border-color 0.2s, transform 0.2s;
}
.aw-closed-card:hover { border-color: var(--aw-hair-2); color: #fff; transform: translateY(-2px); }
.aw-closed-card .art { background-size: cover; background-position: center; }
.aw-closed-card .info { display: grid; align-content: center; gap: 6px; padding: 16px 18px; }
.aw-closed-card b { font-size: 1.1rem; font-weight: 500; line-height: 1.25; }
.aw-closed-card .meta { font-family: var(--aw-mono); font-size: 11px; color: var(--aw-soft); }
.aw-closed-card .go {
  font-family: var(--aw-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--aw-red-2); margin-top: 4px;
}

@media (max-width: 900px) {
  .aw-closed { grid-template-columns: minmax(0, 1fr); align-items: start; min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .aw-closed-card { transition: none; }
  .aw-closed-card:hover { transform: none; }
}

/* Ekip paneli · Başvuru linkleri */
.aw-invite-form { display: grid; gap: 18px; max-width: 640px; margin-top: 20px; }
.aw-invite-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.aw-f input[type="number"] {
  font-family: var(--aw-sans); font-size: 16px; min-height: 50px; width: 100%;
  background: var(--aw-ink-2); border: 1px solid var(--aw-hair); color: var(--aw-text);
  padding: 13px 14px; border-radius: 0;
}
.aw-f input[type="number"]:focus {
  outline: none; border-color: var(--aw-red); box-shadow: 0 0 0 3px rgba(244, 72, 43, 0.2);
}
.aw-invite-opt { text-transform: none; letter-spacing: 0; color: var(--aw-dim); }
.aw-invite-form .aw-btn { justify-self: start; }
.aw-invite-made {
  display: grid; gap: 10px; margin-top: 20px; padding: 18px; max-width: 640px;
  border: 1px solid var(--aw-red);
}
.aw-invite-url {
  width: 100%; font-family: var(--aw-mono); font-size: 13px; padding: 10px 12px;
  background: var(--aw-ink-2); border: 1px solid var(--aw-hair); color: var(--aw-text);
}
.aw-invite-error { color: #ff7a66; margin: 16px 0 0; }
.aw-invite-list li { display: grid; gap: 8px; }
.aw-invite-head { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.aw-invite-head b { font-weight: 400; font-size: 17px; }
.aw-invite-state {
  font-family: var(--aw-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--aw-dim);
}
.aw-invite.is-active .aw-invite-state { color: var(--aw-red); }
.aw-invite:not(.is-active) { opacity: 0.6; }
.aw-invite form { justify-self: start; }
@media (max-width: 640px) { .aw-invite-row { grid-template-columns: 1fr; } }

/* Katılımcı listesi: a volunteer's attendee list from a flow stage (internal/attendee-list). */
.aw-al-back { margin: 0 0 14px; font-size: 14px; }
.aw-al-back a { color: var(--aw-dim); text-decoration: none; }
.aw-al-back a:hover, .aw-al-back a:focus-visible { color: var(--aw-text); }
.aw-al-note {
  margin: 0 0 22px;
  padding: 12px 16px;
  max-width: 70ch;
  border: 1px solid rgba(255, 212, 59, 0.35);
  border-radius: 12px;
  background: rgba(255, 212, 59, 0.06);
  color: var(--aw-soft);
  font-size: 14px;
  line-height: 1.5;
}
.aw-al-count {
  margin: 0 0 10px;
  font-family: var(--aw-mono);
  font-size: 12px;
  color: var(--aw-faint);
}
.aw-al-count b { color: var(--aw-text); }
.aw-al-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--aw-hair);
  border-radius: 16px;
  background: var(--aw-ink-2);
  overflow: hidden;
}
.aw-al-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 96px minmax(0, 1.6fr);
  gap: 4px 18px;
  align-items: baseline;
  padding: 14px 20px;
  border-top: 1px solid var(--aw-hair);
}
.aw-al-row:first-child { border-top: 0; }
.aw-al-name { font-weight: 500; color: #fff; overflow-wrap: anywhere; }
.aw-al-status {
  font-family: var(--aw-mono);
  font-size: 11px;
  color: var(--aw-faint);
  white-space: nowrap;
}
.aw-al-contact { display: flex; flex-wrap: wrap; gap: 4px 16px; min-width: 0; }
.aw-al-contact a { color: var(--aw-soft); text-decoration: none; overflow-wrap: anywhere; }
.aw-al-contact a:hover, .aw-al-contact a:focus-visible { color: #fff; text-decoration: underline; }
.aw-al-company { grid-column: 1 / -1; font-size: 13px; color: var(--aw-faint); }
@media (max-width: 640px) {
  .aw-al-row { grid-template-columns: minmax(0, 1fr) auto; }
  .aw-al-status { text-align: right; }
  .aw-al-contact { grid-column: 1 / -1; }
}

/* "Katılımcı listesi →" on a volunteer card while the list page is open. */
.aw-vp-list-link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--aw-hair-2);
  border-radius: 999px;
  color: var(--aw-text);
  font-size: 14px;
  text-decoration: none;
}
.aw-vp-list-link:hover, .aw-vp-list-link:focus-visible {
  border-color: var(--aw-text);
  background: rgba(255, 255, 255, 0.04);
}
