/* RIKD site styles. Brand colors come from the current site: black, gold, navy, white. */

@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/source-serif-4-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/source-serif-4-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); }

:root {
  --black: #000000;
  --gold: #9F7E38;          /* brand gold */
  --gold-light: #D2B26A;    /* the same gold, lifted so it reads on black */
  --gold-deep: #7A5F25;     /* the same gold, darkened so it reads on white */
  --navy: #253551;
  --ink: #1C2538;
  --mist: #EEF0F3;
  --white: #FFFFFF;
  --muted: #4B5568;
  --display: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --text: "Source Serif 4", Georgia, "Times New Roman", serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--text); font-size: 1.125rem; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--gold-light); color: var(--black); font-family: var(--display); font-weight: 600; padding: 10px 16px; z-index: 50; }
.skip:focus { top: 12px; }

/* ---- Announcement bar and header -------------------------------------------------------- */
.notice { background: var(--gold); color: var(--black); font-family: var(--display); font-size: 0.9375rem; font-weight: 500; text-align: center; padding: 10px var(--gutter); }
.notice a { text-underline-offset: 3px; }

.site-header { background: var(--black); color: var(--white); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 64px; height: 64px; }
.brand span { font-family: var(--display); font-weight: 600; font-size: 0.875rem; line-height: 1.25; max-width: 8.5rem; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-family: var(--display); font-size: 0.9375rem; font-weight: 500; text-decoration: none; white-space: nowrap; padding: 10px 10px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--gold-light); }
.nav .cta { margin-left: 8px; background: var(--gold-light); color: var(--black); border-radius: 999px; padding: 11px 20px; border-bottom: 0; font-weight: 600; }
.nav .cta:hover { background: var(--white); }
.menu-toggle { display: none; background: none; border: 1px solid var(--gold); color: var(--white); font-family: var(--display); font-weight: 500; font-size: 0.9375rem; padding: 10px 16px; border-radius: 6px; cursor: pointer; }

/* ---- Hero ------------------------------------------------------------------------------- */
.hero { background: var(--black); color: var(--white); padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2.25rem, 5.4vw, 4.25rem); line-height: 1.08; letter-spacing: -0.02em; max-width: 14ch; }
.hero .lede { margin-top: 24px; font-size: 1.25rem; max-width: 34rem; color: #E4E1D8; }
.hero .actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.seal { position: relative; justify-self: center; width: min(100%, 420px); aspect-ratio: 1; }
.seal::before { content: ""; position: absolute; inset: -22px; border: 1px solid var(--gold); border-radius: 50%; }
.seal img { position: relative; width: 100%; height: 100%; }

.btn { display: inline-block; font-family: var(--display); font-weight: 600; font-size: 1rem; text-decoration: none; padding: 14px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; }
.btn-gold { background: var(--gold-light); color: var(--black); }
.btn-gold:hover { background: var(--white); }
.btn-line { border-color: var(--gold-light); color: var(--white); }
.btn-line:hover { background: var(--gold-light); color: var(--black); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--black); }

.mission-band { background: var(--gold); color: var(--black); }
.mission-band p { font-family: var(--display); font-weight: 600; font-size: clamp(1.125rem, 2.4vw, 1.625rem); line-height: 1.35; padding-top: 28px; padding-bottom: 28px; }

/* ---- What is ADTKD ---------------------------------------------------------------------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.75rem, 3.6vw, 2.5rem); line-height: 1.15; letter-spacing: -0.015em; }
.what { background: var(--mist); padding-bottom: clamp(24px, 3vw, 40px); }
.subtypes { padding-top: clamp(24px, 3vw, 40px); }
.what .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vw, 40px); align-items: start; }
.what h2 { grid-column: 1 / -1; }
.signs { font-family: var(--display); font-weight: 500; font-size: clamp(1.25rem, 2.3vw, 1.625rem); line-height: 1.4; padding-left: 24px; border-left: 4px solid var(--gold); color: var(--ink); }
.subtypes .definition { max-width: none; }

/* ---- Subtypes --------------------------------------------------------------------------- */
.subtypes { background: var(--mist); }
.subtypes .cols { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.subtype { padding: 0 clamp(20px, 3vw, 40px); border-left: 1px solid #BFC5CF; }
.subtype:first-child { padding-left: 0; border-left: 0; }
.subtype:last-child { padding-right: 0; }
.subtype .gene { font-family: var(--display); font-weight: 700; font-size: clamp(2.25rem, 4.4vw, 3.25rem); letter-spacing: -0.02em; line-height: 1; color: var(--gold-deep); }
.subtype h3 { margin-top: 12px; font-family: var(--display); font-weight: 600; font-size: 1.125rem; line-height: 1.3; }
.subtype p { margin-top: 12px; font-size: 1.0625rem; }
.subtype a.more { display: inline-block; margin-top: 16px; font-family: var(--display); font-weight: 600; font-size: 0.9375rem; color: var(--navy); text-underline-offset: 4px; }

/* ---- Tools band ------------------------------------------------------------------------- */
.tools { background: var(--navy); color: var(--white); }
.tools .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.tools h2 { color: var(--white); }
.tools .intro p { margin-top: 16px; font-size: 1.25rem; max-width: 30rem; color: #E1E6EF; }
.tools .choices { display: grid; gap: 20px; }
.choice { display: block; text-decoration: none; padding: 22px 26px; border: 1px solid #5B6B8A; border-left: 6px solid var(--gold-light); background: rgba(255,255,255,0.04); }
.choice:hover { background: rgba(255,255,255,0.1); }
.choice strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.25rem; }
.choice span { display: block; margin-top: 4px; font-size: 1.0625rem; color: #D4DBE8; }

/* ---- Team photo ------------------------------------------------------------------------- */
.team-photo { background: var(--black); color: var(--white); }
.team-photo figure { margin: 0; }
.team-photo img { width: 100%; max-height: 640px; object-fit: cover; object-position: 50% 30%; }
.team-photo .caption { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; padding-top: 36px; padding-bottom: 48px; }
.team-photo blockquote { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.375rem, 3vw, 2.125rem); line-height: 1.25; max-width: 26ch; }
.team-photo small { display: block; margin-top: 12px; font-size: 1rem; color: #CFCBC0; }

/* ---- Facts ------------------------------------------------------------------------------ */
.facts .list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.fact { border-top: 4px solid var(--gold); padding-top: 18px; }
.fact p { font-family: var(--display); font-weight: 500; font-size: clamp(1.125rem, 2vw, 1.375rem); line-height: 1.4; }
.fact small { display: block; margin-top: 8px; font-size: 1rem; color: var(--muted); }

/* ---- Footer ----------------------------------------------------------------------------- */
.site-footer { background: var(--black); color: var(--white); padding: 56px 0 40px; }
.site-footer .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.site-footer img { width: 96px; height: 96px; }
.site-footer h2 { font-family: var(--display); font-weight: 600; font-size: 1.125rem; line-height: 1.3; }
.site-footer p, .site-footer address { margin-top: 10px; font-style: normal; font-size: 1rem; color: #D5D2C8; }
.site-footer a { text-underline-offset: 3px; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 10px; font-family: var(--display); font-size: 0.9375rem; }

/* ---- Small screens ---------------------------------------------------------------------- */
@media (max-width: 960px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--black); border-top: 1px solid #333; padding: 12px var(--gutter) 24px; z-index: 20; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid #222; }
  .nav .cta { margin: 16px 0 0; text-align: center; border-bottom: 0; }
  .site-header { position: relative; }
  .hero .wrap, .what .wrap, .tools .wrap, .site-footer .wrap { grid-template-columns: 1fr; }
  .seal { width: min(78%, 340px); order: -1; justify-self: start; }
  .subtypes .cols, .facts .list { grid-template-columns: 1fr; gap: 40px; }
  .subtype, .subtype:first-child, .subtype:last-child { padding: 0; border-left: 0; border-top: 1px solid #BFC5CF; padding-top: 28px; }
  .subtype:first-child { border-top: 0; padding-top: 0; }
  .team-photo .caption { grid-template-columns: 1fr; }
}

/* ---- Inner pages ------------------------------------------------------------------------ */
.page-head { background: var(--black); color: var(--white); padding: clamp(36px, 6vw, 72px) 0 clamp(32px, 5vw, 56px); border-bottom: 6px solid var(--gold); }
.page-head h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4.6vw, 3.25rem); line-height: 1.1; letter-spacing: -0.02em; }
.page-head p { margin-top: 14px; font-size: 1.25rem; max-width: 36rem; color: #E4E1D8; }

.prose { max-width: 40rem; }
.prose p + p, .prose p + ol, .prose ol + p { margin-top: 1.1em; }
.prose ol { margin: 1.1em 0 0; padding-left: 1.4em; }
.prose li + li { margin-top: 0.4em; }
.section.tint { background: var(--mist); }
.section h3.sub { font-family: var(--display); font-weight: 600; font-size: 1.375rem; line-height: 1.3; }

.story { display: flow-root; }
.story + .story { margin-top: clamp(40px, 6vw, 72px); }
.story .prose { max-width: none; }
.story figure { float: right; width: 38%; margin: 6px 0 20px clamp(28px, 4vw, 56px); }
.story.flip figure { float: left; margin: 6px clamp(28px, 4vw, 56px) 20px 0; }
.story.portrait figure { width: 30%; }
.story figcaption, .photo-caption { margin-top: 10px; font-size: 1rem; font-style: italic; color: var(--muted); }
.story img { width: 100%; height: auto; }

.impact { font-family: var(--display); font-weight: 500; font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.45; max-width: 46rem; padding-left: 24px; border-left: 4px solid var(--gold); }
.quote { margin: 0; max-width: 46rem; }
.quote p { font-size: 1.375rem; line-height: 1.5; font-style: italic; }
.quote footer { margin-top: 14px; font-family: var(--display); font-weight: 600; font-size: 1rem; }
.btn-ink { background: var(--navy); color: var(--white); }
.btn-ink:hover { background: var(--black); }
.contact-line { margin-top: 28px; font-size: 1.125rem; max-width: 40rem; }
.contact-line a { color: var(--navy); font-weight: 600; text-underline-offset: 3px; }

/* Team */
.person { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.person img { width: 220px; height: auto; }
.person h3 { font-family: var(--display); font-weight: 700; font-size: 1.75rem; line-height: 1.2; }
.person .role { margin-top: 6px; font-size: 1.0625rem; color: var(--muted); }
.person dl { margin: 22px 0 0; display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 10px 20px; font-size: 1rem; line-height: 1.5; }
.person dt { font-family: var(--display); font-weight: 600; font-size: 0.9375rem; }
.person dd { margin: 0; }
.person .profile { display: inline-block; margin-top: 18px; font-family: var(--display); font-weight: 600; font-size: 0.9375rem; color: var(--navy); text-underline-offset: 4px; }
.roster { margin: 40px 0 0; display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 0; }
.roster dt, .roster dd { padding: 16px 0; border-top: 1px solid #BFC5CF; margin: 0; }
.roster dt { font-family: var(--display); font-weight: 600; font-size: 1rem; padding-right: 20px; }
.roster dd { font-size: 1.0625rem; }
.roster dd span { display: block; }
.faculty { margin: 0; padding: 0; list-style: none; columns: 3 15rem; column-gap: 32px; }
.faculty li { break-inside: avoid; padding: 3px 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-grid h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.details { margin-top: 24px; font-style: normal; display: grid; gap: 18px; }
.details a.big { font-family: var(--display); font-weight: 600; font-size: 1.375rem; color: var(--navy); text-underline-offset: 4px; overflow-wrap: anywhere; }
.details .phone { font-family: var(--display); font-weight: 600; font-size: 1.375rem; }
.info-links { margin-top: 36px; }
.info-links h3 { font-family: var(--display); font-weight: 600; font-size: 1.125rem; }
.info-links ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.info-links a { color: var(--navy); font-weight: 600; text-underline-offset: 3px; }
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-family: var(--display); font-weight: 500; font-size: 0.9375rem; margin-bottom: 6px; }
.form input, .form textarea { font: inherit; font-size: 1.0625rem; width: 100%; padding: 12px 14px; border: 1px solid #7C8596; border-radius: 6px; background: var(--white); color: var(--ink); }
.form textarea { min-height: 170px; resize: vertical; }
.form button { justify-self: start; border: 0; }
.form .status { font-family: var(--display); font-size: 0.9375rem; color: var(--gold-deep); font-weight: 500; min-height: 1.5em; }

/* Tools overview */
.stages { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 1rem; }
.stages caption { text-align: left; font-family: var(--display); font-weight: 600; font-size: 1.125rem; padding-bottom: 12px; }
.stages th { text-align: left; font-family: var(--display); font-weight: 600; font-size: 0.9375rem; padding: 10px 12px; border-bottom: 2px solid var(--ink); }
.stages td { padding: 12px; border-bottom: 1px solid #BFC5CF; vertical-align: middle; }
.stages td:first-child { font-family: var(--display); font-weight: 700; color: var(--gold-deep); white-space: nowrap; }
.stages .bar { display: block; width: 100%; max-width: 220px; height: 12px; background: #D9DDE4; border-radius: 6px; overflow: hidden; }
.stages .bar i { display: block; height: 100%; background: var(--gold); }
.table-scroll { overflow-x: auto; }
.choices-light { display: grid; gap: 18px; margin-top: 28px; max-width: 40rem; }
.choices-light .choice { background: var(--white); color: var(--ink); border: 1px solid #BFC5CF; border-left: 6px solid var(--gold); }
.choices-light .choice:hover { background: var(--mist); }
.choices-light .choice span { color: var(--muted); }

@media (max-width: 960px) {
  .contact-grid, .person { grid-template-columns: 1fr; }
  .story, .story.flip { display: flex; flex-direction: column-reverse; }
  .story figure, .story.flip figure, .story.portrait figure { float: none; width: 100%; max-width: 32rem; margin: 24px 0 0; }
  .person img { width: 180px; }
  .person dl { grid-template-columns: 1fr; gap: 2px; }
  .person dd { margin-bottom: 12px; }
  .roster { grid-template-columns: 1fr; }
  .roster dt { border-bottom: 0; padding-bottom: 0; }
  .roster dd { border-top: 0; padding-top: 4px; }
  .form .row { grid-template-columns: 1fr; }
}

/* About dropdown */
.has-sub { position: relative; display: flex; }
.has-sub .sub { display: none; list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0; min-width: 12rem; background: var(--black); border: 1px solid #333; border-top: 2px solid var(--gold-light); z-index: 30; }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.has-sub .sub a { display: block; padding: 12px 18px; border-bottom: 0; }
.has-sub .sub a:hover { background: #1a1a1a; }
@media (max-width: 900px) {
  .has-sub { display: block; }
  .has-sub .sub { display: block; position: static; border: 0; padding: 0 0 0 16px; min-width: 0; }
  .has-sub .sub a { padding: 12px 4px; border-bottom: 1px solid #222; font-size: .9rem; }
}

/* Dropdown sections (Resources) */
.drop { border-top: 1px solid rgba(37,53,81,.25); margin-top: 40px; }
.drop details { border-bottom: 1px solid rgba(37,53,81,.25); }
.drop summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-family: var(--display); font-weight: 600; font-size: 1.25rem; line-height: 1.35; color: var(--ink); }
.drop summary::-webkit-details-marker { display: none; }
.drop summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--gold-deep); color: var(--gold-deep); display: grid; place-items: center; font-size: 1.4rem; line-height: 1; }
.drop details[open] summary::after { content: "\2212"; background: var(--gold-deep); color: var(--white); }
.drop summary:hover { color: var(--gold-deep); }
.drop summary:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 2px; }
.drop .prose { padding: 0 0 28px; max-width: 42rem; }
.drop .prose p + p { margin-top: 1rem; }

/* History: timeline */
.timeline { margin-top: 40px; display: grid; gap: 0; }
.chapter { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 0 40px; padding: 40px 0; border-top: 1px solid rgba(37,53,81,.25); }
.chapter:first-child { border-top: 0; }
.chapter .year { font-family: var(--display); font-weight: 700; font-size: 1.75rem; color: var(--gold-deep); line-height: 1.2; }
.chapter h3 { font-size: 1.375rem; line-height: 1.3; margin-bottom: 16px; }
.chapter .prose p + p { margin-top: 1rem; }
.chapter .prose { max-width: 40rem; }
.chapter figure { margin: 28px 0 0; max-width: 34rem; }
.chapter figure img { width: 100%; height: auto; display: block; }
.chapter figcaption { margin-top: 8px; font-size: .9rem; color: var(--muted); }
.chapter ol { margin: 16px 0 0; padding-left: 1.4rem; }
.chapter ol li + li { margin-top: 8px; }
@media (max-width: 700px) { .chapter { grid-template-columns: 1fr; gap: 8px; padding: 32px 0; } }

/* About: key-facts block between the story rows (same font sizes as the body text) */
.facts { background: var(--white); border-left: 4px solid var(--gold); padding: 32px 36px; margin: 0 0 72px; }
.facts > * + * { margin-top: 24px; }
.facts p { font-size: 1.0625rem; line-height: 1.65; max-width: 46rem; }
.facts .naming { font-weight: 600; }
.boxes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.boxes li { border: 1px solid rgba(37,53,81,.25); border-top: 4px solid var(--gold); background: var(--mist); padding: 18px 20px; }
.boxes .n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--white); font-family: var(--display); font-weight: 600; font-size: 1rem; margin-bottom: 10px; }
.boxes p { font-size: 1.0625rem; line-height: 1.55; }
.boxes strong { font-weight: 700; color: var(--navy); }
.facts .third { border-left: 0; padding: 16px 20px; background: var(--navy); color: var(--white); max-width: none; }
.facts .third p { max-width: none; }
.facts .third strong { color: var(--gold-light); }

/* About: team results as side-by-side boxes */
.results { margin-top: 56px; }
.results p { font-size: 1.0625rem; line-height: 1.65; max-width: 46rem; }
.results p.full { max-width: none; }
.results p + .figures { margin-top: 24px; }
.figures { display: grid; gap: 16px; margin: 0; padding: 0; }
.figures.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.figures.five { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 16px; }
.figures div { background: var(--white); border: 1px solid rgba(37,53,81,.25); border-top: 4px solid var(--gold); padding: 16px 20px; display: flex; flex-direction: column; }
.figures dd { order: 1; margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.75rem; line-height: 1.15; color: var(--navy); }
.figures dt { order: 2; margin-top: 4px; font-size: 1rem; line-height: 1.4; color: var(--muted); }
.results .goal { margin-top: 28px; }
@media (max-width: 800px) {
  .boxes { grid-template-columns: 1fr; }
  .figures.two { grid-template-columns: 1fr 1fr; }
  .figures.five { grid-template-columns: 1fr 1fr; }
  .figures.five div:last-child { grid-column: 1 / -1; }
  .facts { padding: 24px 20px; }
}

/* Publications */
.pub-intro { max-width: 46rem; }
.pub-year { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 0 40px; padding: 32px 0; border-top: 1px solid rgba(37,53,81,.25); }
.pub-year > h2 { font-size: 1.75rem; color: var(--gold-deep); line-height: 1.2; }
.pub-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; max-width: 46rem; }
.pub-title { font-family: var(--display); font-weight: 600; font-size: 1.125rem; line-height: 1.4; }
.pub-title a { text-decoration: none; color: var(--ink); background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 2px no-repeat; transition: background-size .2s; }
.pub-title a:hover, .pub-title a:focus-visible { background-size: 100% 2px; color: var(--gold-deep); }
.pub-meta { margin-top: 6px; font-size: 1rem; line-height: 1.5; color: var(--muted); }
.pub-meta em { color: var(--ink); }
.pub-tags { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.pub-tags li { font-family: var(--display); font-weight: 500; font-size: .8125rem; padding: 3px 12px; border-radius: 999px; background: var(--mist); border: 1px solid rgba(37,53,81,.2); color: var(--navy); }
.pub-note { margin-top: 40px; max-width: 46rem; font-size: .9375rem; color: var(--muted); }
@media (max-width: 700px) { .pub-year { grid-template-columns: 1fr; gap: 12px; } }

/* IRIKDS */
.society { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 18rem); gap: 48px 72px; align-items: start; }
.society .goal { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.125rem); line-height: 1.3; color: var(--ink); margin-top: 16px; }
.society .about-us { margin-top: 40px; max-width: 40rem; }
.society .about-us p + p { margin-top: 1rem; }
.society .seal-large { width: 100%; max-width: 18rem; height: auto; background: var(--black); border-radius: 50%; padding: 12px; }
@media (max-width: 800px) { .society { grid-template-columns: 1fr; } .society .seal-large { max-width: 12rem; order: -1; } }

/* Form validation messages */
.form .error { margin-top: 6px; font-family: var(--display); font-size: 0.9375rem; font-weight: 500; color: #A12B1E; }
.form input[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-color: #A12B1E; box-shadow: 0 0 0 1px #A12B1E; }

/* Webinar video stand-in */
.webinar { margin-top: 48px; max-width: 46rem; }
.webinar h2 { font-size: 1.5rem; margin-bottom: 20px; }
.video-slot { position: relative; aspect-ratio: 16 / 9; width: 100%; background: var(--navy); color: var(--white); display: grid; place-items: center; align-content: center; gap: 16px; border-bottom: 4px solid var(--gold); }
.video-slot iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-slot .play { width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--gold-light); position: relative; }
.video-slot .play::after { content: ""; position: absolute; left: 28px; top: 20px; border-left: 20px solid var(--gold-light); border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.video-slot p { font-family: var(--display); font-weight: 500; font-size: 1.125rem; }

/* Publications filter */
.pub-filter { margin-top: 48px; max-width: 46rem; }
.pub-filter-label { font-family: var(--display); font-weight: 600; font-size: 1rem; margin-bottom: 12px; }
.pub-filter-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-family: var(--display); font-weight: 500; font-size: .9375rem; padding: 9px 18px; border-radius: 999px; border: 1px solid #7C8596; background: var(--white); color: var(--ink); cursor: pointer; }
.chip:hover { background: var(--mist); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 2px; }
.pub-count { margin-top: 14px; font-size: .9375rem; color: var(--muted); min-height: 1.4em; }
.pub-year[hidden], .pub-list li[hidden] { display: none; }

/* Home: the three signs */
.signs-rows { margin: 0; padding: 0; border-top: 2px solid var(--gold); }
.signs-rows > div { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 8px 40px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid #BFC5CF; }
.signs-rows dt { font-family: var(--display); font-weight: 500; font-size: 1rem; color: var(--gold-deep); }
.signs-rows dd { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 2.2vw, 1.625rem); line-height: 1.35; color: var(--ink); }
.signs-rows dd span { font-weight: 500; color: var(--muted); font-size: .8em; }
.signs-rows .end { border-bottom: 0; }
.signs-rows .end dd { font-weight: 700; color: var(--gold-deep); }
@media (max-width: 700px) { .signs-rows > div { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; } }

/* Home: toggled subtypes + plain signs list */
.what { background: var(--white); padding-bottom: clamp(40px, 5vw, 64px); }
.subtypes { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(56px, 8vw, 104px); }
.subtypes .definition { margin-top: 24px; max-width: none; }
.subtypes .cols { margin-top: 40px; }
.what .lead { margin-top: 28px; font-family: var(--display); font-weight: 500; font-size: 1.25rem; line-height: 1.5; color: var(--ink); max-width: none; }
.what .lead.end { font-weight: 700; margin-top: 28px; }
.signs-cols { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); }
.signs-cols li { border-top: 2px solid var(--gold-deep); padding-top: 16px; font-family: var(--display); font-weight: 500; font-size: 1.25rem; line-height: 1.45; color: var(--ink); }
@media (max-width: 700px) { .signs-cols { grid-template-columns: 1fr; gap: 20px 0; } }
.what .wrap { gap: 0; } .what .lead { margin-top: 20px; } .what .lead.end { margin-top: 32px; }
.signs-cols { margin-top: 32px; }

/* Wordmark logo (header and footer) */
.brand img { width: auto; height: 68px; max-width: 70vw; }
.site-footer img { width: min(100%, 300px); height: auto; }
.site-footer h2 { margin-top: 0; }
@media (max-width: 700px) { .brand img { height: 52px; max-width: 60vw; } .site-footer img { width: min(100%, 260px); } }
@media (max-width: 1180px) { .brand img { height: 52px; } }
