@font-face {
  font-family: Plex;
  src: url("fonts/plex-cond-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url("fonts/plex-cond-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
:root {
  color-scheme: light dark;
  --ground: #f7f4ef;
  --ink: #1a1815;
  --muted: #6d655c;
  --rule: #ddd4c7;
  --brass: #8a5a2b;
  --line: #b9863f;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #1a1815;
    --ink: #f7f4ef;
    --muted: #a1968a;
    --rule: #3d3833;
    --brass: #d8a763;
  }
}
* { box-sizing: border-box; }
:root[data-theme="light"] {
  color-scheme: light;
  --ground: #fafafa;
  --ink: #1a1815;
  --muted: #62666b;
  --rule: #d9dde1;
  --brass: #8a5a2b;
}
:root[data-theme="grey"] {
  color-scheme: light;
  --ground: #c4c9cf;
  --ink: #202327;
  --muted: #454d56;
  --rule: #a3acb5;
  --brass: #8a5a2b;
}
:root[data-theme="grey"] .project { background: rgb(226 230 234 / .88); }
:root[data-theme="grey"] .project:hover,
:root[data-theme="grey"] .project:focus-visible { background: rgb(237 240 243 / .94); }
:root[data-theme="grey"] .topbar { border-bottom-color: #8d98a3; }
.pointer-halo {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
}
.pointer-halo::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(255 255 255 / .65) 0%, rgb(247 250 255 / .3) 25%, rgb(238 244 251 / .1) 48%, transparent 70%);
  transform: translate3d(var(--halo-x, 0px), var(--halo-y, 0px), 0);
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .pointer-halo { transition: opacity .3s ease; }
  .pointer-halo::before { transition: transform .4s ease-out; }
  :root[data-theme="grey"][data-motion="running"] .pointer-halo[data-visible="true"] { opacity: 1; }
}
.ambient {
  position: fixed;
  inset: -100px;
  z-index: 0;
  pointer-events: none;
  background: url("geometry.svg") center top / 1100px 1100px repeat;
  opacity: .28;
}
.appearance { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; }
.appearance[hidden] { display: none; }
.theme-options { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; border: 0; }
.theme-options legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.theme-options label { position: relative; cursor: pointer; }
.theme-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.theme-options span { display: block; padding: 8px 12px; border: 1px solid transparent; border-radius: 3px; color: var(--muted); font-size: 13px; }
.theme-options input:checked + span { border-color: var(--rule); color: var(--ink); background: var(--ground); }
.theme-options input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 3px; }
.motion-toggle { padding: 8px 0 8px 12px; border: 0; color: var(--muted); background: none; font: inherit; font-size: 13px; cursor: pointer; }
.motion-toggle:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.motion-toggle:disabled { cursor: default; }
html[data-motion="paused"] .ambient { animation-play-state: paused; }
html { scroll-padding-top: 2rem; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: Plex, "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: .25em; text-decoration-color: var(--line); }
a:focus-visible { outline: 2px solid var(--brass); outline-offset: 6px; border-radius: 2px; }
.shell { position: relative; z-index: 1; max-width: 1168px; margin: auto; padding-inline: 32px; }
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 26px;
  border-bottom: 1px solid var(--rule);
}
.brand { font-size: 22px; font-weight: 600; letter-spacing: -.04em; text-decoration: none; }
.label { font-size: 11px; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.topbar nav { display: flex; gap: 28px; }
.topbar nav a { font-size: 14px; text-decoration: none; }
.topbar nav a:hover { color: var(--brass); }
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  min-height: 430px;
  padding-block: 64px;
  gap: 40px;
}
.hero-copy { position: relative; z-index: 1; }
.hero-copy .label { margin: 0 0 24px; }
h1 { font-size: clamp(54px, 7.8vw, 94px); font-weight: 600; line-height: 1; letter-spacing: -.045em; margin: 0 0 24px; }
.intro { font-size: 21px; line-height: 1.5; color: var(--muted); max-width: 360px; margin: 0; }
.hero-link { display: inline-flex; align-items: center; gap: 24px; margin-top: 28px; font-size: 15px; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.hero-link:hover { color: var(--brass); }
.macro { width: 100%; height: auto; overflow: visible; }
.macro .construction { fill: none; stroke: var(--rule); stroke-width: 1; }
.macro .signature { fill: none; stroke: var(--line); stroke-width: 2; stroke-linejoin: miter; }
.macro .anchor { fill: var(--ground); stroke: var(--line); stroke-width: 1.5; }
.section-top { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 20px; }
.section-top h2 { font-size: 26px; letter-spacing: -.02em; font-weight: 400; margin: 0; }
.projects { padding-bottom: 72px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.project {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 276px;
  padding: 26px 28px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  text-decoration: none;
  overflow: hidden;
  background: var(--ground);
}
.project::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--line); transform: scaleY(0); transform-origin: bottom; }
.project-art { display: block; width: 240px; max-width: 100%; height: 86px; fill: none; stroke: var(--muted); stroke-width: 1; opacity: .7; }
.project-art .art-accent { stroke: var(--brass); stroke-width: 1.3; }
.project--committee { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; column-gap: 20px; }
.project--committee h3, .project--committee .project-action { grid-column: 1 / -1; }
.project-note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.project-action { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: auto; font-size: 14px; color: var(--muted); }
.project .arrow { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--rule); border-radius: 50%; font-size: 20px; color: var(--brass); }
.project h3 { max-width: 390px; margin: 0; font-size: 26px; font-weight: 400; line-height: 1.2; letter-spacing: -.015em; }
.project:last-child { grid-column: 1 / -1; min-height: 190px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.project:last-child .project-art { grid-column: 2; grid-row: 1 / 3; justify-self: center; width: 280px; height: 100px; }
.project:last-child h3 { grid-column: 1; grid-row: 1; }
.project:last-child .project-action { grid-column: 1; grid-row: 2; }
.project:hover .project-art, .project:focus-visible .project-art { opacity: 1; }
.project:hover, .project:focus-visible { border-color: var(--line); background: color-mix(in srgb, var(--ground) 96%, var(--line)); }
.project:hover::before, .project:focus-visible::before { transform: scaleY(1); }
.project:hover .arrow, .project:focus-visible .arrow { background: var(--ink); color: var(--ground); border-color: var(--ink); transform: rotate(-35deg); }
.identity { border-top: 1px solid var(--rule); padding-top: 30px; padding-bottom: 32px; }
.identity-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 24px; }
.identity h2 { margin: 0; font-size: 16px; font-weight: 400; }
.identity-head p { margin: 0; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--rule); }
.fact { padding: 18px 24px 18px 0; min-width: 0; border-bottom: 1px solid var(--rule); }
.fact dt { margin-bottom: 7px; }
.fact dd { margin: 0; font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.identity-note { color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 590px; margin: 24px 0 0; }
.endline { margin-top: 28px; display: flex; justify-content: space-between; gap: 20px; }
.endline span { font-size: 11px; letter-spacing: .08em; color: var(--muted); }
.skip { position: absolute; top: 12px; left: 24px; z-index: 5; padding: 10px; background: var(--ground); transform: translateY(-200%); }
.skip:focus { transform: none; }
.detail-page { min-height: 65vh; padding-block: 80px; }
.back { display: inline-block; margin-bottom: 48px; font-size: 15px; }
.detail-page h1 { max-width: 850px; font-size: clamp(38px, 6vw, 72px); line-height: 1.1; }
.placeholder { margin-top: 40px; padding: 28px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); max-width: 650px; }
.placeholder h2 { font-size: 22px; font-weight: 400; margin: 0 0 12px; }
.placeholder p { font-size: 17px; line-height: 1.5; color: var(--muted); margin: 0; }
.committee-access .access-instruction { margin-top: 16px; }
.access-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding: 14px 20px; border: 1px solid var(--ink); border-radius: 3px; background: var(--ink); color: var(--ground); font: inherit; font-size: 17px; line-height: 1.4; text-align: left; text-decoration: none; }
.access-button:hover { background: var(--muted); border-color: var(--muted); }
.committee-access .access-hint { margin-top: 10px; font-size: 13px; }
.login-panel { max-width: 480px; margin-top: 40px; padding: 28px; border: 1px solid var(--rule); border-radius: 4px; background: color-mix(in srgb, var(--ground) 88%, var(--ink) 12%); }
:root[data-theme="grey"] .login-panel { background: #e2e6ea; }
.login-panel > .label { margin: 0 0 12px; }
.login-panel h2 { font-size: 25px; font-weight: 400; margin: 0 0 16px; }
.login-message { font-size: 16px; line-height: 1.5; color: var(--muted); margin: 0 0 28px; }
.login-panel fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.login-panel legend { font-size: 17px; margin-bottom: 16px; }
.login-panel label { display: block; font-size: 15px; margin-bottom: 8px; }
.login-panel input { width: 100%; padding: 12px; margin-bottom: 18px; border: 1px solid var(--rule); border-radius: 3px; background: var(--ground); color: var(--muted); font: inherit; opacity: 1; }
.login-panel input::placeholder { color: var(--muted); opacity: 1; }
.login-panel .access-button { width: 100%; justify-content: center; margin-top: 4px; }
.login-panel :disabled { cursor: not-allowed; }
.login-panel button:disabled { opacity: .55; }
@media (prefers-reduced-motion: no-preference) {
  .ambient { animation: ambient-drift 24s ease-in-out infinite alternate; }
  html { scroll-behavior: smooth; }
  .hero-copy { animation: arrive .8s both; }
  .macro .signature { stroke-dasharray: 1; stroke-dashoffset: 1; animation: trace 1.8s .15s ease-in-out forwards; }
  .macro .construction { animation: arrive 1.2s both; }
  .project { animation: arrive .7s both; transition: transform .25s, border-color .25s, background .25s; }
  .project:nth-child(2) { animation-delay: .06s; }
  .project:nth-child(3) { animation-delay: .12s; }
  .project:nth-child(4) { animation-delay: .18s; }
  .project:nth-child(5) { animation-delay: .24s; }
  .project::before, .arrow { transition: transform .25s, background .25s, color .25s; }
  .project:hover { transform: translateY(-3px); }
}
@keyframes arrive { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes ambient-drift { from { transform: translate(-30px, -20px); } to { transform: translate(30px, 20px); } }
@media (max-width: 700px) {
  .shell { padding-inline: 24px; }
  .topbar { padding-block: 20px; }
  .topbar nav { gap: 20px; }
  .hero { grid-template-columns: 1fr; gap: 16px; padding-block: 44px 32px; min-height: 0; }
  .hero-copy .label { margin-bottom: 18px; }
  .intro { font-size: 19px; max-width: 310px; }
  .macro { max-width: 390px; justify-self: end; height: 190px; }
  .project-grid { grid-template-columns: 1fr; gap: 12px; }
  .project { min-height: 260px; padding: 22px; gap: 20px; }
  .project h3 { font-size: 25px; max-width: 290px; }
  .project--committee { display: flex; align-items: stretch; }
  .project--committee h3 { order: 1; }
  .project-note { order: 2; }
  .project--committee .project-action { order: 3; }
  .project:last-child { min-height: 260px; display: flex; flex-direction: column; align-items: stretch; }
  .project:last-child .project-art { width: 240px; height: 86px; }
  .projects { padding-bottom: 48px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .identity-head { align-items: start; flex-direction: column; gap: 8px; }
  .section-top h2 { font-size: 24px; }
  .detail-page { padding-block: 44px; }
  .back { margin-bottom: 36px; }
}
@media (max-width: 420px) {
  .facts { grid-template-columns: 1fr; }
  .fact { padding-block: 14px; }
  .topbar nav a { font-size: 13px; }
  .brand { font-size: 20px; }
}
