@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  --bg: #080a0f;
  --panel: #0d1018;
  --panel2: #111622;
  --text: #f2f4f8;
  --muted: #9299a8;
  --faint: #5d6574;
  --line: rgba(210, 220, 245, 0.12);
  --blue: #8b9cff;
  --cyan: #73e0e7;
  --violet: #b69cff;
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
  --max: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
  overflow-x: hidden;
}
body.modal-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}
.section-shell {
  width: min(var(--max), calc(100% - 64px));
  margin-inline: auto;
}
.section-pad {
  padding-block: 125px;
}
.mono,
.eyebrow,
.section-kicker,
.overline,
.hero-meta,
.scroll-cue,
.strip-number,
.tag-list,
.filter-btn,
.form-note,
.footer-note {
  font-family: var(--mono);
  letter-spacing: 0.08em;
}
.site-header {
  height: 82px;
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(32px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid transparent;
  background: rgba(8, 10, 15, 0.72);
  backdrop-filter: blur(18px);
  transition: border-color 0.3s;
}
.site-header.scrolled {
  border-color: var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 500 11px var(--mono);
  letter-spacing: 0.13em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 100px;
  height: 50px;
  border: 1px solid rgba(139, 156, 255, 0.55);
  padding: 10px;
  border-radius: 10px;
  color: #b8c4ff;
  font: 700 15px var(--sans);
  box-shadow: 0 0 22px rgba(116, 132, 255, 0.12);
}
.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-link {
  font-size: 11px;
  color: var(--muted);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 7px;
}
.nav-link:hover,
.nav-link.active {
  color: var(--text);
}
.nav-contact {
  color: var(--text);
  border: 1px solid var(--line);
  padding: 9px 13px;
  border-radius: 4px;
}
.nav-contact svg {
  width: 13px;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: white;
}
.hero {
  min-height: 790px;
  height: min(900px, 100svh);
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 90px;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: linear-gradient(
      rgba(140, 155, 200, 0.08) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(140, 155, 200, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, transparent, #000 50%, #000);
}
#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.72;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 57%;
  padding-bottom: 30px;
}
.eyebrow,
.section-kicker {
  font-size: 9px;
  color: #a7afc2;
  display: flex;
  align-items: center;
  gap: 11px;
}
.status-dot,
.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #83dfc4;
  box-shadow: 0 0 12px #83dfc4;
}
.eyebrow-line {
  height: 1px;
  width: 38px;
  background: var(--line);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(48px, 6.1vw, 82px);
  line-height: 1.09;
  letter-spacing: -0.065em;
  font-weight: 600;
  margin: 30px 0 24px;
  max-width: 750px;
}
.gradient-text {
  background: linear-gradient(105deg, #d9e0ff 5%, #8b9cff 48%, #8de4e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy {
  color: #a6adbb;
  font-size: 15px;
  line-height: 1.9;
  max-width: 510px;
}
.hero-actions {
  display: flex;
  gap: 13px;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 13px 17px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  transition: transform 0.25s, background 0.25s, border-color 0.25s;
}
.button:hover {
  transform: translateY(-3px);
}
.button svg,
.text-link svg {
  width: 15px;
  height: 15px;
}
.button-primary {
  background: #dfe5ff;
  color: #10131d;
}
.button-primary:hover {
  background: white;
}
.button-quiet {
  border: 1px solid var(--line);
  color: #d4d8e2;
}
.button-quiet:hover {
  border-color: rgba(190, 200, 255, 0.5);
}
.hero-meta {
  display: flex;
  gap: 25px;
  margin-top: 68px;
  font-size: 8px;
  color: #858d9c;
}
.hero-meta span:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
}
.pulse {
  width: 5px;
  height: 5px;
}
.hero-art {
  position: absolute;
  right: -3%;
  top: 18%;
  width: 53%;
  height: 66%;
  display: grid;
  place-items: center;
  opacity: 0.9;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}
.orb-one {
  width: 270px;
  height: 270px;
  background: radial-gradient(
    circle at 40% 35%,
    rgba(139, 156, 255, 0.22),
    rgba(90, 101, 190, 0.06) 42%,
    transparent 70%
  );
  box-shadow: inset 0 0 55px rgba(127, 146, 255, 0.12);
}
.orb-two {
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(99, 223, 229, 0.13),
    transparent 68%
  );
  transform: translate(100px, -90px);
}
.orbit {
  position: absolute;
  border: 1px solid rgba(157, 172, 255, 0.18);
  border-radius: 50%;
  transform: rotate(-25deg);
}
.orbit-a {
  width: 490px;
  height: 190px;
}
.orbit-b {
  width: 400px;
  height: 300px;
  transform: rotate(58deg);
  border-color: rgba(119, 222, 226, 0.14);
}
.core {
  width: 130px;
  height: 130px;
  border: 1px solid rgba(181, 195, 255, 0.32);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    circle,
    rgba(23, 31, 56, 0.9),
    rgba(8, 10, 15, 0.75)
  );
  box-shadow: 0 0 65px rgba(115, 133, 255, 0.16),
    inset 0 0 30px rgba(124, 145, 255, 0.12);
  z-index: 2;
}
.core > span {
  font-size: 54px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.1em;
}
.core-dot {
  color: #8c9cff;
}
.subtitle {
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  display: block;
}
.core small {
  font: 30px var(--mono);
  letter-spacing: 0.15em;
  color: #a5b2d5;
  text-align: center;
  margin-top: 9px;
}
.art-label {
  position: absolute;
  font-size: 10px;
  color: #758098;
  letter-spacing: 0.13em;
}
.label-top {
  top: 12%;
  right: 10%;
}
.label-bottom {
  bottom: 9%;
  left: 15%;
}
.label-bottom span {
  color: var(--cyan);
}
.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 0;
  font-size: 8px;
  color: #737b8b;
  display: flex;
  align-items: center;
  gap: 12px;
}
.scroll-cue span {
  height: 32px;
  width: 1px;
  background: linear-gradient(var(--blue), transparent);
}
.section-kicker {
  color: #8d98ad;
}
.intro-layout {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 12%;
  margin-top: 48px;
}
.overline {
  font-size: 9px;
  color: #9ca9c5;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-heading h2,
.section-title-row h2,
.research-copy h2,
.contact-copy h2 {
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.17;
  letter-spacing: -0.06em;
  font-weight: 600;
  margin: 0;
}
.muted {
  color: #697181;
}
.intro-copy {
  padding-top: 9px;
  color: #9ca4b3;
  max-width: 440px;
}
.large-copy {
  font-size: 19px;
  line-height: 1.65;
  color: #e4e7ef;
}
.intro-copy > p:not(.large-copy) {
  font-size: 13px;
  line-height: 1.95;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(160, 174, 255, 0.4);
  padding: 0 0 8px;
  margin-top: 19px;
  font-size: 11px;
  color: #dce2ff;
}
.text-link:hover {
  color: var(--cyan);
}
.about-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 88px;
  border-block: 1px solid var(--line);
}
.about-strip > div {
  padding: 22px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #778091;
  font: 8px var(--mono);
  letter-spacing: 0.1em;
}
.about-strip > div + div {
  border-left: 1px solid var(--line);
  padding-left: 30px;
}
.strip-number {
  font-size: 25px;
  color: #e2e6f5;
  letter-spacing: -0.06em;
}
.section-topline,
.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.subtle {
  font-size: 8px;
  color: #667080;
}
.section-title-row {
  margin-top: 42px;
  margin-bottom: 42px;
}
.section-title-row p {
  max-width: 320px;
  color: #929aaa;
  font-size: 12px;
  line-height: 1.9;
  margin: 0 0 5px;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 27px;
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: #8790a1;
  padding: 8px 12px;
  border-radius: 3px;
  font-size: 9px;
  cursor: pointer;
  transition: 0.2s;
}
.filter-btn span {
  font-size: 8px;
  color: #6b7485;
  margin-left: 5px;
}
.filter-btn:hover,
.filter-btn.active {
  background: #dfe5ff;
  color: #10131d;
  border-color: #dfe5ff;
}
.filter-btn.active span {
  color: #515a75;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}
.project-card {
  border: 1px solid var(--line);
  background: #0b0e15;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s, border-color 0.35s, background 0.35s;
  min-width: 0;
}
.project-card:hover {
  transform: translateY(-7px);
  border-color: rgba(151, 168, 255, 0.45);
  background: #101521;
}
.project-art {
  height: 210px;
  position: relative;
  overflow: hidden;
  background: #111827;
  display: grid;
  place-items: center;
}
.project-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8, 10, 15, 0.35));
}
.project-art .art-index {
  position: absolute;
  top: 14px;
  left: 15px;
  z-index: 2;
  font: 8px var(--mono);
  color: rgba(235, 240, 255, 0.65);
}
.project-art .art-glyph {
  font-size: 66px;
  font-weight: 600;
  letter-spacing: -0.1em;
  color: rgba(231, 236, 255, 0.8);
  z-index: 1;
  text-shadow: 0 0 40px rgba(149, 168, 255, 0.4);
}
.art-web {
  background: radial-gradient(
    ellipse at 50% 40%,
    #2b3c68,
    #111a2b 42%,
    #0c111c 78%
  );
}
.art-ai {
  background: radial-gradient(circle at 50% 50%, #3a2c68, #15152c 48%, #0c101a);
}
.art-research {
  background: repeating-linear-gradient(
      0deg,
      transparent 0 22px,
      rgba(145, 167, 220, 0.08) 23px
    ),
    repeating-linear-gradient(90deg, #101b26 0 22px, #1a2a39 23px);
}
.art-art {
  background: radial-gradient(circle at 30% 40%, #5b3b68, #1c1830 43%, #10121d);
}
.art-cards {
  background: radial-gradient(ellipse at 50% 50%, #344a55, #101a20 70%);
}
.art-code {
  background: linear-gradient(135deg, #172c39, #10131d 55%, #272144);
}
.project-card-body {
  padding: 19px 19px 18px;
}
.project-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.project-category {
  font: 8px var(--mono);
  color: #8f9cbb;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.project-card-top svg {
  width: 14px;
  color: #727d91;
}
.project-card h3 {
  font-size: 17px;
  letter-spacing: -0.04em;
  margin: 0 0 8px;
  font-weight: 600;
}
.project-card p {
  font-size: 11px;
  line-height: 1.8;
  color: #8992a2;
  margin: 0 0 17px;
  min-height: 40px;
}
.project-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.project-tags span,
.tag-list span {
  font: 8px var(--mono);
  color: #929bad;
  border: 1px solid var(--line);
  padding: 5px 7px;
  border-radius: 2px;
}
/* ---------- View all projects button + empty filter state ---------- */
.project-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 60px 20px;
  text-align: center;
  font-size: 9px;
  color: #697183;
  border: 1px dashed var(--line);
  border-radius: 5px;
}
.view-all-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  gap: 16px;
  width: 100%;
  margin-top: 17px;
  padding: 19px 24px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: linear-gradient(90deg, rgba(130, 148, 255, 0.08), rgba(130, 148, 255, 0.02) 60%, transparent);
  color: #dce2ff;
  font: 500 11px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.7s ease, transform 0.7s ease, background 0.25s, color 0.25s, border-color 0.25s;
}
.view-all-btn svg {
  position: absolute;
  right: 24px;
  top: 50%;
  margin-top: -8px;
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform 0.25s;
}
.view-all-btn:hover,
.view-all-btn:focus-visible {
  background: #dfe5ff;
  color: #10131d;
  border-color: #dfe5ff;
  outline: none;
}
.view-all-btn:hover svg,
.view-all-btn:focus-visible svg {
  transform: translate(3px, -3px);
}
.modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 19px;
}
.modal-actions .text-link {
  margin-top: 0;
}
.view-all-btn.modal-view-btn {
  width: auto;
  margin: 0 0 0 auto;
  padding: 13px 44px 13px 20px;
  font-size: 10px;
  white-space: nowrap;
}
.view-all-btn.modal-view-btn svg {
  right: 16px;
  width: 14px;
  height: 14px;
  margin-top: -7px;
}
.projects-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 27px;
  color: #677183;
  font-size: 8px;
}
.tiny-cross {
  font-size: 19px;
  color: #9ba9db;
}
.discipline-list {
  border-top: 1px solid var(--line);
  margin-top: 55px;
}
.discipline-item {
  display: grid;
  grid-template-columns: 70px 1fr 170px 30px;
  align-items: center;
  gap: 20px;
  padding: 29px 8px;
  border-bottom: 1px solid var(--line);
  transition: padding 0.25s, background 0.25s;
}
.discipline-item:hover {
  padding-inline: 18px;
  background: linear-gradient(90deg, rgba(130, 148, 255, 0.06), transparent);
}
.discipline-index {
  font-size: 9px;
  color: #6c778d;
}
.discipline-main h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin: 0 0 5px;
}
.discipline-main p {
  font-size: 11px;
  color: #8f98a8;
  margin: 0 0 13px;
  max-width: 520px;
}
.tag-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.discipline-symbol {
  justify-self: center;
  color: #b1bce9;
}
.cards-symbol {
  display: flex;
  gap: 3px;
  font-size: 38px;
  transform: rotate(-9deg);
}
.cards-symbol span:nth-child(2) {
  color: #85d8d8;
  transform: translateY(-12px);
}
.cards-symbol span:nth-child(3) {
  color: #b9a2ff;
}
.code-symbol {
  font-size: 38px;
  letter-spacing: -0.1em;
}
.art-symbol {
  position: relative;
  width: 76px;
  height: 62px;
}
.art-symbol span {
  position: absolute;
  width: 43px;
  height: 43px;
  border: 1px solid #9e9ee5;
  border-radius: 50%;
  top: 8px;
  left: 17px;
}
.art-symbol span:nth-child(2) {
  transform: translateX(-14px);
  border-color: #6bcfd4;
}
.art-symbol span:nth-child(3) {
  transform: translateX(14px);
  border-color: #b69cff;
}
.research-symbol svg {
  width: 42px;
  height: 42px;
  stroke-width: 1;
}
.discipline-arrow {
  color: #68748b;
  width: 16px;
}
.research-panel {
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: linear-gradient(110deg, #101521, #0c1018 65%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.research-copy {
  padding: 55px 55px 50px;
}
.research-copy .overline {
  margin-top: 55px;
}
.research-copy h2 {
  font-size: clamp(36px, 4vw, 52px);
  margin-bottom: 22px;
}
.research-copy > p:not(.overline) {
  font-size: 12px;
  line-height: 1.95;
  color: #939dad;
  max-width: 430px;
}
.research-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 390px;
  overflow: hidden;
  background: radial-gradient(
    ellipse at center,
    rgba(88, 105, 177, 0.16),
    transparent 60%
  );
}
.research-rings {
  width: 270px;
  height: 270px;
  border-radius: 50%;
  border: 1px solid rgba(151, 170, 255, 0.25);
  position: relative;
  box-shadow: 0 0 0 28px rgba(141, 159, 255, 0.025),
    0 0 0 58px rgba(141, 159, 255, 0.02);
}
.research-rings:before,
.research-rings:after {
  content: "";
  position: absolute;
  inset: 35px;
  border: 1px dashed rgba(141, 222, 230, 0.3);
  border-radius: 50%;
  transform: rotate(45deg);
}
.research-rings:after {
  inset: 80px;
  border-style: solid;
  border-color: rgba(180, 159, 255, 0.35);
  transform: rotate(-25deg);
}
.research-cross {
  position: absolute;
  font-size: 40px;
  color: #9eb1ff;
  font-weight: 200;
}
.research-coordinates,
.research-caption {
  position: absolute;
  font-size: 8px;
  color: #7f8aa6;
  line-height: 1.8;
}
.research-coordinates {
  top: 45px;
  right: 45px;
}
.research-caption {
  bottom: 32px;
  left: 32px;
  letter-spacing: 0.12em;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 15%;
  margin-top: 55px;
}
.contact-copy h2 {
  font-size: clamp(44px, 5.3vw, 68px);
}
.contact-copy > p:not(.overline) {
  color: #949dad;
  font-size: 12px;
  max-width: 360px;
  margin: 24px 0;
}
.email-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #cbd5ff;
  font-size: 14px;
  border-bottom: 1px solid rgba(155, 171, 255, 0.4);
  padding-bottom: 8px;
  margin-top: 10px;
}
.email-link svg {
  width: 15px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-form label {
  font: 8px var(--mono);
  letter-spacing: 0.13em;
  color: #929cb0;
  margin-top: 7px;
}
.contact-form input,
.contact-form textarea {
  background: #0d111a;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 13px 14px;
  color: #f2f4f8;
  outline: none;
  font-size: 11px;
  resize: vertical;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(146, 164, 255, 0.7);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #596273;
}
.form-submit {
  align-self: flex-start;
  margin-top: 8px;
  border: 0;
  cursor: pointer;
}
.form-note {
  font-size: 8px;
  color: #697386;
  line-height: 1.7;
  margin-top: 4px;
}
.site-footer {
  border-top: 1px solid var(--line);
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-note {
  font-size: 8px;
  color: #677184;
}
.social-links {
  display: flex;
  gap: 17px;
}
.social-links a {
  color: #8993a6;
  transition: color 0.2s;
}
.social-links a:hover {
  color: #dce3ff;
}
.social-links svg {
  width: 16px;
  height: 16px;
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.project-modal.open {
  display: flex;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 8, 0.82);
  backdrop-filter: blur(10px);
}
.modal-card {
  position: relative;
  z-index: 1;
  width: min(850px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #0d111a;
  border: 1px solid rgba(169, 182, 230, 0.2);
  border-radius: 6px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
  animation: modalIn 0.3s ease;
}
.modal-art {
  min-height: 450px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, #29385e, #111827 60%, #0c1018);
}
.modal-art span {
  font-size: 100px;
  color: #d6ddff;
  text-shadow: 0 0 60px rgba(153, 169, 255, 0.5);
}
.modal-content {
  padding: 55px 42px;
}
.modal-content h2 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.05em;
  margin: 18px 0;
}
.modal-content > p {
  font-size: 12px;
  line-height: 1.9;
  color: #a0a9b8;
}
.modal-detail {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 20px;
}
.modal-detail span {
  font-size: 8px;
  color: #8190af;
}
.modal-detail p {
  font-size: 11px;
  color: #8f99a9;
  line-height: 1.9;
  margin: 12px 0;
}
.modal-close {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: #111722;
  color: white;
  border-radius: 50%;
  cursor: pointer;
}
.modal-close svg {
  width: 15px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  z-index: 80;
  background: #e2e8ff;
  color: #10131d;
  padding: 10px 16px;
  border-radius: 3px;
  font-size: 11px;
  transition: 0.25s;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 900px) {
  .hero-content {
    width: 65%;
  }
  .hero-art {
    right: -22%;
    opacity: 0.65;
  }
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .intro-layout {
    gap: 7%;
  }
  .discipline-item {
    grid-template-columns: 45px 1fr 100px 20px;
  }
  .contact-layout {
    gap: 8%;
  }
  .section-pad {
    padding-block: 95px;
  }
}
@media (max-width: 680px) {
  .section-shell {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 70px;
    padding-inline: 20px;
  }
  .menu-toggle {
    display: block;
    z-index: 3;
  }
  .nav {
    display: none;
    position: absolute;
    top: 69px;
    left: 0;
    right: 0;
    padding: 20px;
    background: rgba(8, 10, 15, 0.97);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav.open {
    display: flex;
  }
  .nav-link {
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .nav-contact {
    margin-top: 10px;
    justify-content: space-between;
  }
  .hero {
    height: auto;
    min-height: 780px;
    padding-top: 130px;
    padding-bottom: 90px;
    align-items: flex-start;
  }
  .hero-content {
    width: 100%;
    padding-bottom: 0;
  }
  .hero-art {
    width: 100%;
    height: 380px;
    top: auto;
    bottom: 35px;
    right: -30%;
    opacity: 0.38;
  }
  .hero-grid {
    background-size: 45px 45px;
  }
  .eyebrow {
    font-size: 7px;
    flex-wrap: wrap;
  }
  .eyebrow-line {
    width: 20px;
  }
  h1 {
    font-size: clamp(43px, 12vw, 62px);
    margin-top: 25px;
  }
  .hero-copy {
    font-size: 13px;
    max-width: 420px;
  }
  .hero-actions {
    flex-wrap: wrap;
  }
  .hero-meta {
    flex-direction: column;
    gap: 10px;
    margin-top: 38px;
    font-size: 7px;
  }
  .scroll-cue {
    bottom: 17px;
  }
  .section-pad {
    padding-block: 78px;
  }
  .intro-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .section-heading h2,
  .section-title-row h2 {
    font-size: 39px;
  }
  .intro-copy {
    padding: 0;
  }
  .about-strip {
    margin-top: 55px;
  }
  .about-strip > div {
    padding: 16px 4px;
    gap: 8px;
    flex-direction: column;
    align-items: flex-start;
    font-size: 6px;
  }
  .about-strip > div + div {
    padding-left: 13px;
  }
  .strip-number {
    font-size: 22px;
  }
  .section-topline {
    align-items: flex-start;
    gap: 15px;
  }
  .section-topline .subtle {
    font-size: 6px;
    text-align: right;
  }
  .section-title-row {
    display: block;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .section-title-row p {
    margin-top: 17px;
  }
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .filter-btn {
    white-space: nowrap;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .project-art {
    height: 220px;
  }
  .discipline-list {
    margin-top: 35px;
  }
  .discipline-item {
    grid-template-columns: 28px 1fr 35px 15px;
    gap: 8px;
    padding: 23px 0;
  }
  .discipline-main h3 {
    font-size: 18px;
  }
  .discipline-main p {
    font-size: 10px;
  }
  .discipline-symbol {
    transform: scale(0.65);
  }
  .discipline-arrow {
    width: 13px;
  }
  .tag-list span {
    font-size: 7px;
  }
  .research-panel {
    grid-template-columns: 1fr;
  }
  .research-copy {
    padding: 35px 25px;
  }
  .research-copy .overline {
    margin-top: 35px;
  }
  .research-visual {
    min-height: 280px;
  }
  .research-rings {
    width: 200px;
    height: 200px;
  }
  .research-coordinates {
    top: 20px;
    right: 20px;
  }
  .research-caption {
    bottom: 20px;
    left: 20px;
    font-size: 6px;
  }
  .contact-layout {
    margin-top: 35px;
  }
  .contact-copy h2 {
    font-size: 50px;
  }
  .site-footer {
    min-height: 130px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding-block: 23px;
  }
  .footer-note {
    text-align: right;
    font-size: 6px;
  }
  .social-links {
    grid-column: 1/-1;
  }
  .modal-card {
    grid-template-columns: 1fr;
    max-height: 88vh;
  }
  .modal-art {
    min-height: 180px;
  }
  .modal-art span {
    font-size: 65px;
  }
  .modal-content {
    padding: 28px 23px;
  }
  .modal-content h2 {
    font-size: 26px;
  }
  .modal-close {
    position: sticky;
    float: right;
    margin-bottom: -34px;
  }
  .project-modal {
    padding: 12px;
  }
}
/* ---------- About: the two quotes sit side by side (same size/font as before) ---------- */
.quote-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0 40px;
  align-items: flex-start;
}
.quote-row p {
  flex: 1 1 240px;
}

/* ---------- Hero portrait (replaces the heading text, centered, larger) ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hero-portrait {
  --portrait-h: calc(clamp(48px, 6.1vw, 82px) * 5.3);
  position: relative;
  display: block;
  height: var(--portrait-h);
  width: calc(var(--portrait-h) * 400 / 508);
  max-width: 100%;
  margin: 30px auto calc(24px - var(--portrait-h) * 0.17);
}
/* text that follows must stay above the faded lower part of the photo */
.hero-portrait ~ .hero-copy,
.hero-portrait ~ .hero-actions,
.hero-portrait ~ .hero-meta {
  position: relative;
}
/* soft glow + two orbit-style rings (same ring colors as the hero orbits) */
.hero-portrait::before {
  content: "";
  position: absolute;
  inset: -22% -70% -10%;
  pointer-events: none;
  background: radial-gradient(
    closest-side ellipse at 50% 46%,
    rgba(139, 156, 255, 0.22),
    rgba(90, 101, 190, 0.07) 55%,
    transparent 100%
  );
}
.hero-portrait::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 4%;
  width: 118%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border: 1px solid rgba(157, 172, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 calc(var(--portrait-h) * 0.09) rgba(139, 156, 255, 0.025);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 85%);
  mask-image: linear-gradient(to bottom, #000 40%, transparent 85%);
}
.hero-portrait picture {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}
.hero-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 5%, #000 50%, transparent 92%),
    linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0, #000 5%, #000 50%, transparent 92%),
    linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-composite: intersect;
  filter: saturate(0.88) contrast(1.05) brightness(0.92);
}
/* Keep the modal's X visible on short screens: only the text column scrolls (mobile keeps its own sticky X) */
@media (min-width: 681px) {
  .modal-card {
    overflow: hidden;
  }
  .modal-content {
    max-height: 90vh;
    overflow-y: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
