:root {
  --ink: #1f1d1b;
  --ink-soft: #4a4744;
  --muted: #8a8580;
  --paper: #f7f5f1;
  --paper-alt: #ecebe8;
  --line: #d9d6d0;
  --accent: #b3201c;
  --accent-soft: #9a6a5c;
  --link: #3f5578;
  --max: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
a { color: var(--link); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 245, 241, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-top: 0.8rem; padding-bottom: 0.8rem; max-width: 1100px;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.brand-mark {
  font-family: "Source Sans 3", sans-serif; font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.1em; background: var(--accent); color: var(--paper);
  padding: 0.3rem 0.5rem; border-radius: 3px; white-space: nowrap;
}
.brand-text { font-family: "Source Sans 3", sans-serif; font-size: 0.85rem; font-weight: 500; color: var(--ink-soft); }
.site-nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.site-nav a {
  font-family: "Source Sans 3", sans-serif; font-size: 0.82rem; font-weight: 500;
  text-decoration: none; color: var(--ink-soft); transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--accent); }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--paper-alt) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  padding: 4rem 0 3.2rem;
}
.hero-head { display: flex; align-items: center; gap: 1.6rem; }
.hero-logo { flex: none; display: block; }
.hero-text { min-width: 0; }
.eyebrow {
  font-family: "Source Sans 3", sans-serif; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-soft); margin: 0 0 1rem;
}
.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.3rem); line-height: 1.1; font-weight: 700;
  margin: 0 0 0.8rem; letter-spacing: -0.01em;
}
.hero h1 .ai { color: var(--accent); font-style: italic; }
.hero-sub { font-size: 1.22rem; font-style: italic; color: var(--ink-soft); margin: 0.6rem 0 0; max-width: 46ch; }

/* Concept map */
.concept-map { margin: 2.4rem 0 2.2rem; }
.concept-map svg { display: block; width: 100%; height: auto; overflow: visible; }
.concept-map .edges line {
  stroke: #c9c6c1; stroke-width: 1.6; transition: stroke 0.2s ease, stroke-width 0.2s ease;
}
.concept-map .edges line.bridge { stroke: #c9c6c1; stroke-dasharray: 5 4; }
.concept-map text { text-anchor: middle; font-family: "Source Sans 3", sans-serif; fill: var(--ink); }
.concept-map .n { font-size: 20px; font-weight: 400; transition: fill 0.2s ease; }
.concept-map [data-key] { cursor: default; }
.concept-map .hub {
  font-size: 27px; font-weight: 700; fill: var(--accent); cursor: default;
  paint-order: stroke; stroke: var(--paper); stroke-width: 6px;
}
.concept-map .n { paint-order: stroke; stroke: var(--paper-alt); stroke-width: 5px; }
.concept-map figcaption {
  font-family: "Source Sans 3", sans-serif; font-size: 0.8rem; line-height: 1.5;
  color: var(--ink-soft); margin-top: 0.8rem; max-width: 70ch;
}

.hero-meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.4rem 1.6rem; border-top: 1px solid var(--line); padding-top: 1.8rem;
}
.hero-meta .label, .inst-rel {
  display: block; font-family: "Source Sans 3", sans-serif; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 0.25rem;
}
.hero-meta .value { display: block; font-size: 0.98rem; line-height: 1.45; }
.hero-meta .value a { color: var(--ink); text-decoration-color: var(--line); text-underline-offset: 3px; }
.hero-meta .value a:hover { text-decoration-color: var(--accent); }

/* Sections */
.section { padding: 3.8rem 0; }
.section-alt { background: var(--paper-alt); }
.section h2 {
  font-size: 1.8rem; font-weight: 600; margin: 0 0 1.2rem; letter-spacing: -0.01em;
  position: relative; padding-bottom: 0.6rem;
}
.section h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 3rem; height: 2px; background: var(--accent);
}
.section p { margin: 0 0 1.1rem; color: var(--ink-soft); }
.section p strong { color: var(--ink); }
.lead { font-size: 1.18rem; color: var(--ink) !important; line-height: 1.65; }

/* Goals */
.goals {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: 0.5rem;
}
.goal { padding: 1.4rem 1.4rem 0.4rem 0; }
.goal + .goal { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.goal-num {
  font-family: "Source Sans 3", sans-serif; font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.1em; color: var(--accent);
}
.goal h3 { font-size: 1.08rem; line-height: 1.35; margin: 0.3rem 0 0.6rem; font-weight: 600; }
.goal p { font-size: 0.93rem; margin: 0; }

/* Pillars */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin: 1.5rem 0 0; }
.step {
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--accent);
  border-radius: 4px; padding: 1.5rem 1.4rem 1.4rem;
}
.step-num {
  font-family: "Source Sans 3", sans-serif; font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-soft);
}
.step-icon { display: block; margin: 0.4rem 0 0.2rem; }
.step h3 { font-size: 1.15rem; margin: 0.2rem 0 0.4rem; font-weight: 600; }
.step .method, .project .tags span {
  font-family: "Source Sans 3", sans-serif; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent);
}
.step .method { display: block; margin-bottom: 0.5rem; }
.step p { margin: 0; font-size: 0.95rem; }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 1.5rem; }
.project {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 4px; padding: 1.4rem 1.5rem 1.2rem;
}
.project-head h3 { margin: 0 0 0.15rem; font-size: 1.22rem; font-weight: 600; font-style: italic; }
.role {
  font-family: "Source Sans 3", sans-serif; font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.03em; color: var(--accent-soft) !important; margin: 0 0 0.8rem !important;
  text-transform: uppercase;
}
.project-points { margin: 0 0 1rem; padding-left: 1.1rem; font-size: 0.95rem; color: var(--ink-soft); }
.project-points li { margin-bottom: 0.4rem; }
.project-points li::marker { color: var(--accent); }
.project .tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.projects { align-items: stretch; }
.project .tags span {
  font-size: 0.66rem; color: var(--ink-soft); background: var(--paper-alt);
  border: 1px solid var(--line); border-radius: 999px; padding: 0.15rem 0.6rem;
}

/* Team */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.3rem; margin-top: 1.5rem; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--accent);
  border-radius: 4px; padding: 1.4rem;
}
.card h3 { margin: 0 0 0.2rem; font-size: 1.12rem; font-weight: 600; }
.card p:last-child { margin: 0 !important; }
.card .role { margin: 0 0 0.15rem !important; }
.card .role-sub { font-size: 0.9rem; color: var(--ink-soft); }
.card h3 a, .project .role a { color: inherit; text-decoration: none; }
.card h3 a:hover, .project .role a:hover { color: var(--accent); text-decoration: underline; }
.card h3 a::after { content: " \2197"; font-size: 0.8em; color: var(--accent); }
.cards-small { margin-top: 1.3rem; grid-template-columns: repeat(3, 1fr); }
.cards-small .card { border-top-color: var(--muted); padding: 1.1rem 1.4rem; }
.cards-small .card h3 { margin-bottom: 0.1rem; }
.subhead {
  font-family: "Source Sans 3", sans-serif; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin: 2.2rem 0 0;
}

/* Institutions */
.inst { border-top: 1px solid var(--line); margin-top: 1.5rem; }
.inst-row {
  display: grid; grid-template-columns: 11rem 1fr; column-gap: 1.5rem;
  padding: 1.2rem 0.5rem; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink); transition: background 0.15s ease;
}
.inst-row:hover { background: var(--paper-alt); }
.inst-rel { align-self: center; margin: 0; }
.inst-name { font-size: 1.1rem; font-weight: 600; }
.inst-name::after { content: " \2197"; color: var(--accent); font-weight: 400; }
.inst-note { font-size: 0.93rem; color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); padding: 3rem 0; }
.footer-title { font-size: 1.05rem; font-weight: 600; margin: 0 0 0.6rem; }
.footer-meta { font-family: "Source Sans 3", sans-serif; font-size: 0.85rem; color: #bdb8b1; margin: 0; }
.footer-meta a { color: #e6e2dc; }

@media (max-width: 760px) {
  .steps, .projects { grid-template-columns: 1fr; }
  .inst-row { grid-template-columns: 1fr; }
  .inst-rel { grid-row: auto; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .site-nav { display: none; }
  .hero { padding: 3rem 0 2.5rem; }
  .concept-map { overflow-x: auto; margin-left: -1.5rem; margin-right: -1.5rem; padding: 0 1.5rem; }
  .concept-map svg { min-width: 640px; }
  .concept-map figcaption { position: sticky; left: 0; }
}

/* Logos */
.brand-logo { display: block; flex: none; }
.brand-text strong { display: block; font-weight: 600; color: var(--ink); font-size: 0.92rem; line-height: 1.15; }
.brand-sub { display: block; font-size: 0.68rem; letter-spacing: 0.08em; color: var(--accent-soft); line-height: 1.2; }
.hero-lockup { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.hero-logo { flex: none; display: block; }
.hero-lockup .eyebrow { margin: 0; }
.meta-logo { display: flex; align-items: center; height: 48px; text-decoration: none; }
.meta-logo img { display: block; height: 44px; width: auto; }
.huma-lockup {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: "Source Sans 3", sans-serif; font-weight: 600; font-size: 0.82rem; line-height: 1.15;
  letter-spacing: 0.06em; text-transform: uppercase; color: #003366;
}
.huma-lockup img { display: block; height: 40px; width: auto; }
.inst-row { grid-template-columns: 9rem 19rem 1fr; align-items: center; }
.inst-logo { display: flex; align-items: center; height: 48px; }
.inst-logo img { display: block; height: 40px; width: auto; }
.unplugged-lockup { display: inline-flex; align-items: center; gap: 0.55rem; }
.unplugged-lockup img { display: block; height: 34px; width: auto; }
.unplugged-mark {
  font-family: "Source Sans 3", sans-serif; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.06em;
  background: #9c3b1b; color: #faf6ee; padding: 0.3rem 0.5rem; border-radius: 3px; white-space: nowrap;
}
div.inst-row:hover { background: none; }
div.inst-row .inst-name::after { content: none; }

/* Team faces */
.person { display: flex; gap: 1.1rem; align-items: flex-start; }
.face {
  flex: none; width: 96px; height: 120px; object-fit: cover; object-position: 50% 20%;
  border-radius: 3px; border: 1px solid var(--line); filter: grayscale(15%);
}
.cards-small .face { width: 72px; height: 90px; }

/* Footer */
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 1rem; align-items: center; }
.footer-brand svg { flex: none; }
.footer-logos { display: flex; align-items: center; gap: 1.8rem; }
.footer-logos a { display: flex; align-items: center; height: 48px; }
.footer-logos img { display: block; height: 44px; width: auto; opacity: 0.9; }
.footer-logos a:hover img { opacity: 1; }

@media (max-width: 760px) {
  .inst-row { grid-template-columns: 1fr; row-gap: 0.5rem; }
}

/* Project figures */
.project-fig { margin: 1.2rem -1.5rem -1.2rem; border-top: 1px solid var(--line); background: var(--paper-alt); }
.project-fig img { display: block; width: 100%; height: 230px; object-fit: cover; object-position: 50% 30%; }
.face-initials {
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-alt); color: var(--muted);
  font-family: "Source Sans 3", sans-serif; font-weight: 600; font-size: 1.2rem; letter-spacing: 0.05em;
}
.cards-small .card h3 a::after { content: " \2197"; }

/* Publications */
.biblio { margin: 0; padding-left: 1.4rem; font-size: 0.95rem; line-height: 1.6; }
.biblio li { margin-bottom: 0.8rem; color: var(--ink-soft); padding-left: 0.3rem; }
.biblio em { color: var(--ink); }
.cards-small .card .role { margin: 0 0 0.1rem !important; }
@media (max-width: 640px) {
  .hero-logo { width: 72px; height: 72px; }
  .hero-head { gap: 1rem; }
}
@media (max-width: 760px) { .cards-small { grid-template-columns: 1fr; } }
.inst-row + .inst-row .inst-rel:empty { visibility: hidden; }
.u2kh-mark {
  font-family: "Source Sans 3", sans-serif; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.06em;
  background: #1c1a17; color: #faf8f4; padding: 0.3rem 0.5rem; border-radius: 3px; white-space: nowrap;
}

/* Institutions v2 */
.inst-group {
  display: grid; grid-template-columns: 9rem 1fr; column-gap: 1.5rem; align-items: start;
  border-bottom: 1px solid var(--line); padding: 0.6rem 0;
}
.inst-group { align-items: center; }
.inst-group > .inst-rel { padding: 0 0 0 0.5rem; align-self: center; }
.inst-items { display: flex; flex-direction: column; }
.inst-item {
  display: grid; grid-template-columns: 22rem 1fr; column-gap: 1.5rem; align-items: center;
  padding: 0.6rem 0.5rem; text-decoration: none; color: var(--ink); border-radius: 3px;
}
a.inst-item:hover { background: var(--paper); }
.inst-item .inst-logo { gap: 1rem; }
div.inst-item .inst-name::after { content: none; }
.tag-mark {
  font-family: "Source Sans 3", sans-serif; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.06em;
  background: #003366; color: #f7f5f1; padding: 0.3rem 0.5rem; border-radius: 3px; white-space: nowrap;
}
.inst-logo img.shss-logo { height: 46px; }
.inst-logo .huma-lockup { font-size: 0.78rem; }
.inst-logo .huma-lockup img { height: 36px; }
em.cjk { font-style: normal; }

/* Projects v2 */
.project-stack { display: flex; flex-direction: column; gap: 1.4rem; }
.project-stack .project { flex: 1; }
@media (max-width: 760px) {
  .cards-small { grid-template-columns: 1fr; }
  .inst-group, .inst-item { grid-template-columns: 1fr; }
  .inst-group > .inst-rel { padding-top: 0.8rem; align-self: start; }
}

/* v5 */
.host-lockup { display: inline-flex; align-items: center; height: 40px; }
.host-div { align-self: stretch; width: 1px; background: #003366; margin: 0 14px; }
.inst-logo .host-lockup img.shss-logo { height: 40px; }
.inst-logo .host-lockup .huma-lockup img { height: 36px; }

.project-fig img { filter: grayscale(1); transition: filter 0.3s ease; }
.project-fig img:hover { filter: none; }

.hero-meta .meta-box, .hero-meta .meta-logo { display: flex; align-items: center; height: 48px; }

.goals { grid-template-columns: 1fr; gap: 0.9rem; margin-top: 0.5rem; }
.goal, .goal + .goal { display: flex; align-items: baseline; gap: 1.2rem; padding: 0; border: none; }
.goal h3 { margin: 0; font-size: 1.15rem; }
.goal-num { flex: none; width: 1.6rem; }

.cards .person { height: 190px; align-items: center; }
.cards .person .face { align-self: center; }
@media (max-width: 760px) { .cards .person { height: auto; min-height: 150px; } }

/* v6 */
.face { filter: grayscale(1); transition: filter 0.3s ease; }
.face:hover { filter: none; }

.host-lockup { display: grid; grid-template-columns: 150px 1px 150px; column-gap: 14px; align-items: center; height: 40px; }
.host-lockup .host { justify-self: end; }
.host-lockup .proj { justify-self: start; }
.host-lockup img.host { height: 40px; width: auto; }
.host-lockup img.proj { height: 36px; width: auto; }
.host-div { width: 1px; height: 40px; margin: 0; background: #003366; }

.goals { list-style: none; margin: 0.5rem 0 0; padding: 0; display: block; }
.goals li {
  position: relative; padding-left: 1.4rem; margin-bottom: 0.7rem;
  font-size: 1.15rem; font-weight: 600; color: var(--ink);
}
.goals li::before {
  content: ""; position: absolute; left: 0; top: 0.62em; width: 0.5rem; height: 0.5rem;
  border-radius: 50%; background: var(--accent);
}

.concept-map .hits line { stroke: transparent; stroke-width: 14; cursor: default; }
.concept-map text[data-id] { cursor: default; }
.concept-map .edges line.on { stroke: var(--accent); stroke-width: 2.2; stroke-dasharray: none; }
.concept-map text.on { fill: var(--accent); }

/* v7 */
.section { padding: 2.4rem 0 2.8rem; }
.hero { padding-bottom: 2.4rem; }
.host-lockup { grid-template-columns: 130px 1px auto; column-gap: 14px; justify-content: start; }
.host-lockup .host { justify-self: start; }

/* no tags: push images to card bottom */
.project-points { margin-bottom: 0; }
.project-fig { margin-top: auto; }
.project-fig { border-top: 1px solid var(--line); }
.project > .project-points + .project-fig { margin-top: auto; padding-top: 0; }
.project > .project-points { margin-bottom: 1.2rem; }

/* v8 */
.footer-title { margin: 0 0 0.2rem; line-height: 1.3; }
.inst-group > .inst-rel { align-self: start; padding-top: 1.5rem; }

/* v9: tighter vertical rhythm */
.hero { padding: 2.2rem 0 1.6rem; }
.concept-map { margin: 0.6rem 0 0.8rem; }
.hero-meta { padding-top: 1.1rem; gap: 1rem 1.6rem; }
.section { padding: 1.8rem 0 2rem; }
.section h2 { margin-bottom: 0.9rem; }
.goals li { margin-bottom: 0.4rem; }
.goals li:last-child { margin-bottom: 0; }
.concept-map { margin-top: 1.2rem; }

/* v10: middle-ground spacing */
.hero { padding: 3.1rem 0 2rem; }
.concept-map { margin: 1.8rem 0 1.5rem; }
.hero-meta { padding-top: 1.45rem; gap: 1.2rem 1.6rem; }
.section { padding: 2.1rem 0 2.4rem; }
.section h2 { margin-bottom: 1.05rem; }
.goals li { margin-bottom: 0.55rem; }
.concept-map { margin-top: 3rem; }

/* v11: friends project marks as plain blue wordmarks (like DHI) */
.tag-mark {
  background: none; color: #003366; padding: 0; border-radius: 0;
  font-family: "Source Sans 3", sans-serif; font-weight: 400; font-size: 15px;
  letter-spacing: 0.3em; line-height: 1.1;
}
.tag-mark { font-size: 13.5px; letter-spacing: 0.28em; line-height: 1.05; white-space: nowrap; }

/* v12 duotone */
.duo { position: relative; }
.duo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: #b3201c; mix-blend-mode: color; opacity: 0.55;
  transition: opacity 0.3s ease;
}
.duo:hover::after { opacity: 0; }
.duo img { filter: grayscale(1) contrast(1.05); transition: filter 0.3s ease; }
.duo:hover img { filter: none; }
.face-wrap { display: block; flex: none; align-self: center; line-height: 0; border-radius: 3px; overflow: hidden; }
.face-wrap::after { border-radius: 3px; }
.face-wrap .face:hover { filter: grayscale(1) contrast(1.05); }
.face-wrap:hover .face { filter: none; }
.project-fig.duo { overflow: hidden; }

/* v13: single-crimson duotone (crimson shadows, paper highlights) */
.duo::after { content: none; }
.duo img, .face-wrap .face:hover { filter: url(#duo-crimson); }
.duo:hover img, .face-wrap:hover .face { filter: none; }

/* v14: greyscale + single crimson accents (pre-rendered), full colour on hover */
.duo img, .face-wrap .face:hover { filter: grayscale(1); }
.duo:hover img, .face-wrap:hover .face { filter: none; }
.project-fig.duo { position: relative; }
.project-fig.duo img.accent {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  filter: none !important; transition: opacity 0.3s ease;
}
.project-fig.duo:hover img.accent { opacity: 0; }
.project-fig.duo img:not(.accent) { filter: none !important; }

/* v15 */
.hero-sub { max-width: none; }
@media (min-width: 900px) { .hero-sub { white-space: nowrap; } }

/* v16 gate */
.gate-card {
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem; width: min(360px, calc(100vw - 32px));
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 4px;
  padding: 2rem 1.8rem 1.6rem; box-shadow: 0 12px 40px rgba(31, 29, 27, 0.18); text-align: center;
}
.gate-logo { display: block; }
.gate-title { font-family: "Lora", Georgia, serif; font-weight: 700; font-size: 1.35rem; margin: 0.2rem 0 0; color: var(--ink); }
.gate-title .ai { color: var(--accent); font-style: italic; }
.gate-note { font-family: "Source Sans 3", sans-serif; font-size: 0.85rem; color: var(--ink-soft); margin: 0 0 0.4rem; }
.gate-card input {
  width: 100%; font: inherit; font-family: "Source Sans 3", sans-serif; font-size: 1rem;
  padding: 0.55rem 0.7rem; border: 1px solid var(--line); border-radius: 3px; background: #fff; color: var(--ink);
}
.gate-card input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.gate-card button {
  width: 100%; font-family: "Source Sans 3", sans-serif; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.04em;
  padding: 0.55rem 0.7rem; border: 0; border-radius: 3px; background: var(--accent); color: var(--paper); cursor: pointer;
}
.gate-card button:hover { background: #9a1a17; }
.gate-error { min-height: 1.2em; margin: 0; font-family: "Source Sans 3", sans-serif; font-size: 0.85rem; color: var(--accent); }
