:root {
  --ink: #15261f;
  --ink-soft: #4a5c53;
  --paper: #f3f0e8;
  --paper-deep: #e8e2d6;
  --acid: #d7ff3f;
  --aqua: #74dfce;
  --sky: #8fc3ff;
  --orange: #ff8b5b;
  --line: rgba(21, 38, 31, 0.18);
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
  --serif: "Newsreader", serif;
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body[data-language="th"] .hero h1 {
  font-size: clamp(54px, 5.4vw, 80px);
  line-height: 1.22;
  letter-spacing: 0;
}
body[data-language="th"] .hero h1 em {
  line-height: 1.24;
}
body[data-language="th"] .faculty-hero h1,
body[data-language="th"] .services-hero h1,
body[data-language="th"] .faculty-profile-hero h1 {
  font-size: clamp(48px, 5vw, 76px);
  line-height: 1.24;
  letter-spacing: 0;
}
body[data-language="th"] .section-heading h2,
body[data-language="th"] .access h2 {
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 1.24;
  letter-spacing: 0;
}
body[data-language="th"] .contact h2 {
  font-size: clamp(48px, 6.4vw, 96px);
  line-height: 1.2;
  letter-spacing: 0;
}
body[data-language="th"] .services-coming-soon h3 {
  line-height: 1.2;
  letter-spacing: 0;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid #0b62d6; outline-offset: 4px; }

.skip-link {
  position: fixed; left: 1rem; top: 1rem; z-index: 99;
  transform: translateY(-200%); background: white; padding: .75rem 1rem;
}
.skip-link:focus { transform: none; }
.prototype-note {
  min-height: 38px; padding: 9px 5vw; color: #f5f3ec; background: var(--ink);
  text-align: center; font: 400 10px/1.5 var(--mono); letter-spacing: .04em;
}
#public-data-status {
  display: inline-block; margin-right: .65rem; padding: 1px 6px;
  color: var(--ink); background: var(--acid); text-transform: uppercase; font-weight: 500;
}
#public-data-message { color: inherit; background: transparent; text-transform: none; }
.prototype-note > a { margin-left: 1rem; color: var(--acid); font-weight: 500; text-underline-offset: 3px; }

.site-header, .site-footer {
  width: min(100%, var(--max)); margin: 0 auto; padding: 24px clamp(22px, 5vw, 72px);
  display: flex; align-items: center; justify-content: space-between;
}
.site-header {
  position: relative; z-index: 20; border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: max-content max-content minmax(0, 1fr);
  grid-template-areas: "identity identity identity" "language nav nav";
  align-items: start; justify-content: stretch; column-gap: 28px; row-gap: 10px;
}
.identity { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.identity > span:last-child { display: flex; flex-direction: column; }
.identity strong { font-size: 12px; letter-spacing: .02em; }
.identity small { margin-top: 1px; color: var(--ink-soft); font: 9px var(--mono); text-transform: uppercase; }
.identity-mark { position: relative; width: 42px; height: 42px; display: inline-block; flex: 0 0 auto; }
.identity-mark i { position: absolute; inset: 6px; border: 1px solid currentColor; border-radius: 50%; }
.identity-mark i:nth-child(2) { transform: rotate(60deg) scaleX(1.65); }
.identity-mark i:nth-child(3) { transform: rotate(-60deg) scaleX(1.65); }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.site-header .identity { grid-area: identity; }
.site-header .site-nav { grid-area: nav; justify-self: start; align-self: center; }
.site-nav a { font-size: 12px; font-weight: 600; text-decoration: none; }
.site-nav a:not(.nav-cta):hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-cta { padding: 12px 16px; color: var(--paper); background: var(--ink); }
.nav-cta span { margin-left: 14px; }
.language-switch {
  grid-area: language; justify-self: start; margin-left: 90px;
  display: inline-flex; align-items: center; gap: 2px; padding: 3px;
  border: 1px solid var(--line); background: rgba(255,255,255,.34);
}
.language-switch button {
  min-width: 40px; min-height: 32px; padding: 6px 8px; border: 0;
  color: var(--ink-soft); background: transparent; cursor: pointer; font: 700 11px/1 var(--sans);
}
.language-switch button.is-active { color: var(--paper); background: var(--ink); }
.menu-toggle { display: none; grid-area: menu; }

.hero {
  width: min(100%, var(--max)); min-height: 750px; margin: 0 auto;
  display: grid; grid-template-columns: 1.04fr .96fr; align-items: center;
  padding: clamp(70px, 9vw, 130px) clamp(22px, 5vw, 72px) 80px; overflow: hidden;
}
.eyebrow { margin: 0 0 34px; display: flex; gap: 28px; font: 10px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.eyebrow span:first-child::before { content: ""; display: inline-block; width: 34px; height: 1px; margin: 0 10px 3px 0; background: var(--ink); }
.hero h1, .section-heading h2, .access h2, .contact h2 {
  margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.055em;
}
.hero h1 { max-width: 720px; font-size: clamp(62px, 7.4vw, 116px); line-height: .83; }
.hero h1 em, .section-heading h2 em, .access h2 em { color: var(--ink-soft); font-weight: 400; }
.hero-intro { max-width: 570px; margin: 38px 0 0; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.65; color: var(--ink-soft); }
.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; min-width: 226px; padding: 17px 18px; text-decoration: none; font-size: 12px; font-weight: 700; }
.button-primary { color: var(--paper); background: var(--ink); }
.button-primary:hover { background: #263e34; }
.text-link { font-size: 12px; font-weight: 700; text-underline-offset: 5px; }

.hero-instrument { position: relative; justify-self: end; width: min(44vw, 590px); aspect-ratio: 1; }
.scope-ring, .crosshair { position: absolute; pointer-events: none; }
.scope-ring { border: 1px solid var(--line); border-radius: 50%; }
.ring-outer { inset: 0; animation: slow-spin 30s linear infinite; }
.ring-outer::before, .ring-outer::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.ring-outer::before { left: 50%; top: -5px; }.ring-outer::after { left: 50%; bottom: -5px; }
.ring-middle { inset: 13%; border-style: dashed; }
.ring-inner { inset: 28%; background: var(--acid); border-color: var(--ink); box-shadow: 0 0 0 15px rgba(215,255,63,.13); }
.crosshair-x { left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.crosshair-y { top: 0; bottom: 0; left: 50%; width: 1px; background: var(--line); }
.scope-core { position: absolute; inset: 35%; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: center; border-radius: 50%; color: var(--paper); background: var(--ink); }
.scope-core span { font: 500 clamp(42px, 5vw, 76px)/.85 var(--serif); }
.scope-core small { margin-top: 12px; text-align: center; font: 8px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.scope-label { position: absolute; z-index: 3; padding: 6px 8px; background: var(--paper); font: 9px var(--mono); text-transform: uppercase; }
.scope-label span { font-weight: 500; }.label-a { left: 4%; top: 23%; }.label-b { right: 0; top: 45%; }.label-c { left: 11%; bottom: 13%; }
.orbit-dot { position: absolute; z-index: 4; width: 14px; height: 14px; border: 3px solid var(--paper); border-radius: 50%; background: var(--orange); }
.dot-a { left: 21%; top: 15%; }.dot-b { right: 8%; bottom: 28%; background: var(--sky); }.dot-c { left: 15%; bottom: 25%; width: 9px; height: 9px; background: var(--aqua); }

.signal-strip { color: var(--paper); background: var(--ink); padding: 30px max(22px, calc((100vw - var(--max)) / 2 + clamp(22px, 5vw, 72px))) 46px; }
.section-index { margin: 0; font: 9px var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.signal-strip .section-index { padding-bottom: 22px; color: #9fb0a7; border-bottom: 1px solid rgba(255,255,255,.16); }
.signal-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.8fr; gap: 30px; align-items: end; padding-top: 30px; }
.signal-grid div { display: flex; align-items: baseline; gap: 10px; }
.signal-grid strong { font: 400 clamp(34px, 4vw, 58px)/1 var(--serif); }
.signal-grid span { max-width: 80px; color: #b4c1ba; font: 9px/1.5 var(--mono); text-transform: uppercase; }
.signal-grid > p { margin: 0; color: #d4ddd7; font-size: 14px; line-height: 1.6; }
.faculty-profile-hero + .signal-strip .signal-grid { grid-template-columns: repeat(4, 1fr) 1.6fr; }

.section-shell { width: min(100%, var(--max)); margin: 0 auto; padding: 110px clamp(22px, 5vw, 72px); }
.section-heading { display: grid; grid-template-columns: .38fr 1fr; gap: 30px; align-items: start; }
.section-heading h2, .access h2 { font-size: clamp(48px, 6vw, 82px); line-height: .95; }
.section-heading > div > p { max-width: 540px; margin: 28px 0 0; color: var(--ink-soft); font-size: 16px; line-height: 1.7; }

.spectrum { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 86px; border-top: 1px solid var(--ink); }
.spectrum-axis { position: absolute; left: 0; right: 0; top: -27px; display: flex; justify-content: space-between; color: var(--ink-soft); font: 9px var(--mono); text-transform: uppercase; }
.spectrum-item { min-height: 430px; padding: 20px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.spectrum-item:first-of-type { border-left: 1px solid var(--line); }
.spectrum-item-1 { background: rgba(116,223,206,.18); }.spectrum-item-2 { background: rgba(143,195,255,.18); }.spectrum-item-3 { background: rgba(255,139,91,.15); }.spectrum-item-4 { background: rgba(215,255,63,.18); }
.spectrum-number { font: 9px var(--mono); }
.spectrum-glyph { position: relative; height: 190px; margin: 20px 0 28px; }
.spectrum-item h3 { margin: auto 0 8px; font: 400 34px var(--serif); }
.spectrum-item p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.6; }
.glyph-wave { display: flex; align-items: center; justify-content: center; gap: 10px; }
.glyph-wave i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); animation: pulse 1.8s ease-in-out infinite; }
.glyph-wave i:nth-child(2) { width: 18px; height: 18px; animation-delay: .15s; }.glyph-wave i:nth-child(3) { width: 35px; height: 35px; animation-delay: .3s; }.glyph-wave i:nth-child(4) { width: 18px; height: 18px; animation-delay: .45s; }.glyph-wave i:nth-child(5) { animation-delay: .6s; }
.glyph-layers i { position: absolute; left: 18%; right: 18%; height: 50px; border: 1px solid var(--ink); transform: skewY(-8deg); }
.glyph-layers i:nth-child(1) { top: 25px; background: var(--sky); }.glyph-layers i:nth-child(2) { top: 70px; background: var(--paper); }.glyph-layers i:nth-child(3) { top: 115px; background: var(--ink); }
.glyph-pulse::before, .glyph-pulse::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid var(--ink); inset: 22%; }
.glyph-pulse::after { inset: 37%; background: var(--orange); }.glyph-pulse i { position: absolute; left: 8%; right: 8%; top: 50%; z-index: 2; height: 1px; background: var(--ink); transform: rotate(-18deg); }
.glyph-grid { background-image: radial-gradient(var(--ink) 1.6px, transparent 1.6px); background-size: 20px 20px; mask-image: radial-gradient(circle, #000 30%, transparent 70%); }

.facilities { border-top: 1px solid var(--line); }
.public-facility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 62px; }
.public-facility-card { min-width: 0; min-height: 430px; padding: 25px; display: flex; flex-direction: column; background: color-mix(in srgb, var(--facility-bg) 23%, var(--paper)); border: 1px solid var(--line); overflow: hidden; }
.facility-map-visual { position: relative; height: 150px; margin: -25px -25px 24px; background: var(--facility-bg, var(--aqua)); overflow: hidden; }
.facility-map-visual::before, .facility-map-visual::after { content: ""; position: absolute; border: 1px solid var(--ink); border-radius: 50%; }
.facility-map-visual::before { width: 180px; height: 180px; right: -42px; top: -62px; box-shadow: 0 0 0 22px rgba(255,255,255,.15); }
.facility-map-visual::after { width: 86px; height: 86px; left: 25px; bottom: 22px; background: rgba(243,240,232,.45); }
.facility-map-visual span { position: absolute; z-index: 2; left: 24px; top: 21px; font: 500 13px var(--mono); }
.facility-map-visual i { position: absolute; z-index: 2; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.facility-map-visual i:nth-child(2) { right: 25%; top: 28%; }
.facility-map-visual i:nth-child(3) { right: 17%; bottom: 28%; background: var(--paper); border: 1px solid var(--ink); }
.facility-map-visual i:nth-child(4) { left: 45%; bottom: 18%; width: 14px; height: 14px; background: var(--orange); }
.facility-map-meta { display: flex; justify-content: space-between; gap: 20px; color: var(--ink-soft); font: 9px var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.public-facility-card h3 { margin: 21px 0 10px; font: 400 31px/1.05 var(--serif); letter-spacing: -.025em; }
.public-facility-card p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.65; }
.facility-capabilities { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.facility-capabilities span { padding: 6px 8px; border: 1px solid var(--line); background: rgba(243,240,232,.45); font: 9px/1.3 var(--mono); text-transform: uppercase; }
.facility-map-foot { margin-top: auto; padding-top: 22px; display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); font: 9px/1.45 var(--mono); text-transform: uppercase; }
.facility-map-foot strong { font: 400 32px/1 var(--serif); }
.facility-map-foot b { font-family: var(--sans); font-size: 11px; text-transform: none; }

.equipment { background: var(--paper-deep); max-width: none; padding-left: max(22px, calc((100vw - var(--max)) / 2 + clamp(22px, 5vw, 72px))); padding-right: max(22px, calc((100vw - var(--max)) / 2 + clamp(22px, 5vw, 72px))); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 60px 0 26px; }
.filter { padding: 11px 14px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink); background: transparent; cursor: pointer; font: 600 11px var(--sans); }
.filter span { margin-left: 8px; color: var(--ink-soft); font: 9px var(--mono); }
.filter:hover, .filter.is-active { color: var(--paper); background: var(--ink); }.filter.is-active span { color: var(--acid); }
.equipment-grid { width: 100%; display: grid; grid-template-columns: repeat(3, calc((100% - 32px) / 3)); grid-auto-rows: auto; gap: 16px; align-items: start; justify-items: stretch; }
.equipment-card { position: relative; width: 100%; min-width: 0; max-width: none; height: fit-content; justify-self: stretch; padding: 25px; display: flex; flex-direction: column; background: var(--paper); overflow: visible; transition: transform .25s ease, opacity .25s ease; }
.equipment-card[hidden] { display: none; }
.equipment-card:hover { transform: translateY(-4px); }
.card-top { display: flex; justify-content: space-between; font: 9px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.card-top span:last-child { padding: 4px 6px; border: 1px solid var(--line); }
.equipment-visual { position: relative; height: 220px; margin: 20px -25px 0; overflow: hidden; background: var(--visual-bg, var(--aqua)); }
.equipment-visual svg { width: 100%; height: 100%; }
.equipment-feature-photo { width: 100%; height: 100%; padding: 10px; object-fit: contain; background: color-mix(in srgb, var(--visual-bg) 22%, #ece9e1); }
.equipment-icon { position: absolute; z-index: 3; right: 16px; top: 16px; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; color: var(--ink); background: rgba(243,240,232,.9); backdrop-filter: blur(4px); }
.equipment-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.public-gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; margin-top: 7px; }
.public-gallery.is-empty { display: none; }
.public-gallery button { display: block; min-width: 0; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.public-gallery img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); }
.public-gallery button:hover img, .public-gallery button:focus-visible img { border-color: var(--ink); }
.public-empty { grid-column: 1 / -1; padding: 70px 25px; text-align: center; border: 1px solid var(--line); background: var(--paper); }
.public-empty h3 { margin: 0 0 8px; font: 400 30px var(--serif); }
.public-empty p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.equipment-card h3 { margin: 22px 0 10px; overflow-wrap: anywhere; font: 400 28px/1.08 var(--serif); }
.equipment-card > p { max-width: 460px; margin: 0; overflow-wrap: anywhere; color: var(--ink-soft); font-size: 12px; line-height: 1.65; }
.equipment-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--line); font: 9px/1.4 var(--mono); text-transform: uppercase; }
.equipment-meta span { min-width: 0; overflow-wrap: anywhere; }

.access { display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; }
.access-intro > p:not(.section-index) { max-width: 530px; margin: 30px 0 0; color: var(--ink-soft); line-height: 1.75; }
.access-intro h2 { margin-top: 42px; }
.access-steps { margin: 46px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.access-steps li { display: grid; grid-template-columns: 60px 1fr; gap: 25px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.access-steps li > span { font: 10px var(--mono); }
.access-steps h3 { margin: 0 0 8px; font: 400 25px var(--serif); }.access-steps p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.6; }

.contact { position: relative; min-height: 700px; padding: 90px max(22px, calc((100vw - var(--max)) / 2 + clamp(22px, 5vw, 72px))); color: var(--paper); background: var(--ink); overflow: hidden; }
.contact .section-index { color: #9fb0a7; }
.contact-copy { position: relative; z-index: 2; margin-left: 30%; padding-top: 60px; }
.contact h2 { font-size: clamp(64px, 9vw, 140px); line-height: .78; }
.contact h2 em { color: #c3cec8; font-weight: 400; }
.contact-copy p { max-width: 540px; margin: 42px 0 30px; color: #c3cec8; line-height: 1.65; }
.button-light { color: var(--ink); background: var(--acid); }.button-light:hover { background: white; }
.button-light { border: 0; cursor: pointer; }
.contact-copy small { display: block; margin-top: 14px; color: #9fb0a7; font: 9px var(--mono); }
.contact-orbit { position: absolute; width: 640px; height: 640px; left: -200px; top: 100px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.contact-orbit::before, .contact-orbit::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }.contact-orbit::before { inset: 12%; }.contact-orbit::after { inset: 29%; background: var(--acid); }
.contact-orbit i { position: absolute; z-index: 2; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); left: 75%; top: 10%; }
.contact-orbit i:nth-child(2) { left: 88%; top: 62%; background: var(--sky); }.contact-orbit i:nth-child(3) { left: 38%; top: 89%; background: var(--aqua); }
.site-footer { min-height: 130px; }.site-footer p, .site-footer > a { font: 9px var(--mono); text-transform: uppercase; }.site-footer > a { text-underline-offset: 5px; }

.services-hero {
  width: min(100%, var(--max)); min-height: 700px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 42px;
  padding: clamp(70px, 9vw, 124px) clamp(22px, 5vw, 72px) 86px; overflow: hidden;
}
.services-hero-copy { min-width: 0; max-width: 100%; }
.services-hero h1 {
  max-width: 850px; margin: 0; font: 400 clamp(58px, 7vw, 108px)/.86 var(--serif);
  letter-spacing: -.055em;
}
.services-hero h1 em { color: var(--ink-soft); font-weight: 400; }
.services-orbit {
  position: relative; justify-self: end; width: min(43vw, 590px); aspect-ratio: 1;
  border: 1px solid var(--line); border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(215,255,63,.45) 0 18%, transparent 18.5%),
    radial-gradient(circle at 24% 70%, rgba(116,223,206,.3), transparent 29%),
    radial-gradient(circle at 78% 24%, rgba(255,139,91,.22), transparent 24%);
}
.services-orbit::before,
.services-orbit::after { content: ""; position: absolute; border: 1px dashed var(--line); border-radius: 50%; }
.services-orbit::before { inset: 14%; animation: slow-spin 34s linear infinite; }
.services-orbit::after { inset: 31%; border-style: solid; animation: slow-spin 24s linear infinite reverse; }
.service-core {
  position: absolute; inset: 34%; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--paper); background: var(--ink);
}
.service-core span { font: 400 clamp(40px, 5vw, 74px)/.86 var(--serif); }
.service-core small { margin-top: 10px; text-align: center; font: 8px/1.45 var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.service-pulse {
  position: absolute; z-index: 3; width: 18px; height: 18px; border: 3px solid var(--paper);
  border-radius: 50%; background: var(--orange); animation: service-pulse 2.7s ease-in-out infinite;
}
.pulse-a { left: 20%; top: 18%; }
.pulse-b { right: 12%; top: 32%; background: var(--sky); animation-delay: .35s; }
.pulse-c { right: 24%; bottom: 18%; background: var(--aqua); animation-delay: .7s; }
.pulse-d { left: 16%; bottom: 28%; width: 12px; height: 12px; background: var(--acid); animation-delay: 1.05s; }
.services-strip .signal-grid { grid-template-columns: repeat(4, 1fr) 1.4fr; }
.services-directory { border-top: 1px solid var(--line); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.service-card {
  min-width: 0; min-height: 480px; padding: 25px; display: flex; flex-direction: column;
  border: 1px solid var(--line); background: var(--paper); overflow: hidden;
}
.service-card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--ink-soft); font: 9px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.service-card-top span:first-child { color: var(--ink); }
.service-card h3 { margin: 46px 0 13px; font: 400 34px/1.02 var(--serif); letter-spacing: -.025em; overflow-wrap: anywhere; }
.service-card p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.service-detail { margin-top: 13px !important; padding-top: 13px; border-top: 1px solid var(--line); }
.service-meta { margin: 26px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.service-meta div { min-width: 0; padding-top: 9px; border-top: 1px solid var(--line); }
.service-meta dt { color: var(--ink-soft); font: 9px/1.4 var(--mono); text-transform: uppercase; }
.service-meta dd { margin: 4px 0 0; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.service-card-foot {
  margin-top: auto; padding-top: 20px; display: flex; align-items: end; justify-content: space-between; gap: 20px;
  border-top: 1px solid var(--line); font: 9px/1.45 var(--mono); text-transform: uppercase;
}
.service-card-foot b { font: 600 12px/1.35 var(--sans); text-transform: none; }
.student-select-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 24px; }
.student-select-filters label { display: grid; gap: 7px; color: var(--ink-soft); font: 9px var(--mono); text-transform: uppercase; }
.student-select-filters select { min-height: 42px; padding: 0 12px; color: var(--ink); border: 1px solid var(--line); background: var(--paper); font: 12px var(--sans); }
.student-public-card { min-height: 430px; }
.student-public-card .faculty-tags { margin-bottom: 24px; }
.services-coming-soon {
  grid-column: 1 / -1; min-height: 520px; padding: clamp(34px, 6vw, 76px); position: relative;
  display: grid; align-content: center; overflow: hidden; border: 1px solid var(--line); background: var(--ink); color: var(--paper);
}
.services-coming-soon .section-index { color: #9fb0a7; }
.services-coming-soon h3 { max-width: 640px; margin: 24px 0 16px; font: 400 clamp(48px, 7vw, 96px)/.88 var(--serif); letter-spacing: -.045em; }
.services-coming-soon p:not(.section-index) { max-width: 560px; margin: 0; color: #c3cec8; line-height: 1.7; }
.coming-soon-animation {
  position: absolute; width: min(52vw, 560px); aspect-ratio: 1; right: -90px; top: 50%; transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.18); border-radius: 50%;
}
.coming-soon-animation::before,
.coming-soon-animation::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.coming-soon-animation::before { inset: 15%; animation: slow-spin 30s linear infinite; }
.coming-soon-animation::after { inset: 33%; background: var(--acid); animation: slow-spin 20s linear infinite reverse; }
.coming-soon-animation span {
  position: absolute; z-index: 2; width: 18px; height: 18px; border: 3px solid var(--ink); border-radius: 50%;
  background: var(--orange); animation: service-pulse 2.4s ease-in-out infinite;
}
.coming-soon-animation span:nth-child(1) { left: 50%; top: -9px; }
.coming-soon-animation span:nth-child(2) { right: 10%; top: 31%; background: var(--sky); animation-delay: .3s; }
.coming-soon-animation span:nth-child(3) { left: 20%; bottom: 10%; background: var(--aqua); animation-delay: .6s; }
.coming-soon-animation span:nth-child(4) { right: 28%; bottom: 4%; background: var(--paper); animation-delay: .9s; }
.coming-soon-categories { position: relative; z-index: 2; margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.coming-soon-categories span { padding: 8px 10px; border: 1px solid rgba(255,255,255,.2); color: var(--paper); background: rgba(255,255,255,.06); font: 9px var(--mono); text-transform: uppercase; }
.service-survey { border-top: 1px solid var(--line); background: var(--paper-deep); max-width: none; padding-left: max(22px, calc((100vw - var(--max)) / 2 + clamp(22px, 5vw, 72px))); padding-right: max(22px, calc((100vw - var(--max)) / 2 + clamp(22px, 5vw, 72px))); }
.service-survey-form {
  margin-top: 58px; display: grid; gap: 16px; padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--line); background: var(--paper);
}
.survey-block { margin: 0; padding: 0 0 24px; border: 0; border-bottom: 1px solid var(--line); }
.survey-block legend { margin-bottom: 8px; font: 400 28px/1.05 var(--serif); letter-spacing: -.02em; }
.survey-block p { margin: 0 0 18px; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.survey-choice-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.survey-choice-grid label {
  min-height: 64px; padding: 13px; display: grid; grid-template-columns: 18px 1fr; align-items: center; gap: 10px;
  border: 1px solid var(--line); background: rgba(255,255,255,.45); cursor: pointer;
}
.survey-choice-grid input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.survey-choice-grid span { font-size: 12px; font-weight: 700; line-height: 1.35; }
.survey-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 14px; }
.survey-grid label { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.survey-grid label > span { font-size: 12px; font-weight: 700; }
.survey-grid b { color: var(--orange); }
.survey-grid input,
.survey-grid select,
.survey-grid textarea {
  width: 100%; min-height: 46px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 0;
  color: var(--ink); background: white; font: 14px/1.5 var(--sans);
}
.survey-grid textarea { resize: vertical; }
.survey-span { grid-column: 1 / -1; }
.survey-foot {
  min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: 18px; border-top: 1px solid var(--line);
}
.survey-foot p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
.survey-foot p.is-error { color: #9d3e25; }
.survey-foot p.is-success { color: #176244; }

.inquiry-dialog { width: min(760px, calc(100vw - 30px)); max-height: 92vh; padding: 0; border: 0; color: var(--ink); background: var(--paper); box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.inquiry-dialog::backdrop, .gallery-dialog::backdrop { background: rgba(9,24,18,.72); backdrop-filter: blur(4px); }
.inquiry-dialog form { max-height: 92vh; display: flex; flex-direction: column; }
.inquiry-head { flex: 0 0 auto; padding: 27px 30px; display: flex; align-items: flex-start; justify-content: space-between; border-bottom: 1px solid var(--line); }
.inquiry-head h2 { margin: 7px 0 0; font: 400 38px/1 var(--serif); letter-spacing: -.025em; }
.inquiry-close { width: 38px; height: 38px; border: 1px solid var(--line); color: var(--ink); background: transparent; cursor: pointer; font-size: 22px; }
.inquiry-body { padding: 28px 30px; overflow-y: auto; }
.inquiry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 14px; }
.inquiry-field { display: flex; flex-direction: column; gap: 7px; }
.inquiry-field > span { font-size: 12px; font-weight: 700; }
.inquiry-field b { color: var(--orange); }
.inquiry-field input, .inquiry-field select, .inquiry-field textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: white; font: 14px/1.5 var(--sans); }
.inquiry-field select { min-height: 48px; }
.inquiry-field textarea { resize: vertical; }
.inquiry-span { grid-column: 1 / -1; }
.inquiry-recipient { margin: 12px 0 23px; padding: 13px 15px; color: var(--ink-soft); border-left: 3px solid var(--sky); background: white; font-size: 13px; line-height: 1.55; }
.inquiry-recipient.is-ready { border-left-color: var(--aqua); }
.inquiry-recipient.is-unavailable { border-left-color: var(--orange); }
.inquiry-foot { flex: 0 0 auto; min-height: 80px; padding: 15px 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); background: var(--paper); }
.inquiry-foot p { max-width: 390px; margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.5; }
.inquiry-foot .button:disabled { cursor: not-allowed; opacity: .45; }
.gallery-dialog { width: min(1100px, calc(100vw - 30px)); max-height: 94vh; padding: 0; border: 0; color: var(--ink); background: var(--paper); box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.gallery-dialog-shell { max-height: 94vh; display: flex; flex-direction: column; }
.gallery-dialog-head { flex: 0 0 auto; padding: 22px 26px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.gallery-dialog-head h2 { margin: 7px 0 0; font: 400 32px/1.05 var(--serif); letter-spacing: -.02em; }
.gallery-dialog-figure { min-height: 0; margin: 0; padding: 18px; display: grid; gap: 13px; }
.gallery-dialog-figure img { max-width: 100%; max-height: min(72vh, 780px); justify-self: center; object-fit: contain; background: #111; }
.gallery-dialog-figure figcaption { color: var(--ink-soft); font-size: 12px; line-height: 1.55; text-align: center; }

.faculty-hero {
  width: min(100%, var(--max)); min-height: 700px; margin: 0 auto;
  display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 42px;
  padding: clamp(70px, 9vw, 124px) clamp(22px, 5vw, 72px) 86px; overflow: hidden;
}
.faculty-hero h1 {
  max-width: 820px; margin: 0; font: 400 clamp(58px, 7vw, 108px)/.86 var(--serif);
  letter-spacing: -.055em;
}
.faculty-hero h1 em { color: var(--ink-soft); font-weight: 400; }
.faculty-constellation {
  position: relative; justify-self: end; width: min(43vw, 590px); aspect-ratio: 1;
  border: 1px solid var(--line); border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(215,255,63,.42) 0 18%, transparent 18.5%),
    radial-gradient(circle at 28% 72%, rgba(116,223,206,.28), transparent 28%),
    radial-gradient(circle at 78% 26%, rgba(143,195,255,.32), transparent 25%);
}
.faculty-constellation::before,
.faculty-constellation::after {
  content: ""; position: absolute; border: 1px dashed var(--line); border-radius: 50%;
}
.faculty-constellation::before { inset: 15%; }
.faculty-constellation::after { inset: 31%; border-style: solid; }
.faculty-node {
  position: absolute; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 34%; aspect-ratio: 1; border-radius: 50%; color: var(--paper); background: var(--ink);
}
.faculty-node span { font: 400 clamp(38px, 5vw, 72px)/.85 var(--serif); }
.faculty-node small { margin-top: 11px; text-align: center; font: 8px/1.45 var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.node-main { left: 33%; top: 33%; }
.node-a { left: 5%; bottom: 13%; width: 24%; background: var(--orange); color: var(--ink); }
.node-b { right: 4%; top: 12%; width: 27%; background: var(--sky); color: var(--ink); }
.faculty-constellation .link {
  position: absolute; left: 50%; top: 50%; width: 1px; height: 43%; background: var(--line); transform-origin: top;
}
.faculty-constellation .link-a { transform: rotate(42deg); }
.faculty-constellation .link-b { transform: rotate(165deg); }
.faculty-constellation .link-c { transform: rotate(286deg); }
.faculty-directory { border-top: 1px solid var(--line); }
.faculty-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 34px;
}
.faculty-card {
  min-width: 0; min-height: 390px; padding: 25px; display: flex; flex-direction: column;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--faculty-color) 18%, var(--paper));
}
.faculty-card-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.faculty-avatar {
  width: 74px; height: 74px; display: grid; place-items: center; border-radius: 50%;
  color: var(--ink); background: var(--faculty-color); border: 1px solid var(--ink);
  font: 500 18px var(--mono); overflow: hidden;
}
.faculty-avatar img { width: 100%; height: 100%; object-fit: cover; }
.faculty-state {
  padding: 6px 8px; border: 1px solid var(--line); background: rgba(243,240,232,.48);
  font: 9px var(--mono); text-transform: uppercase; letter-spacing: .06em;
}
.faculty-card h3 {
  margin: 28px 0 8px; overflow-wrap: anywhere; font: 400 34px/1.02 var(--serif); letter-spacing: -.025em;
}
.faculty-card p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.faculty-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.faculty-tags span {
  padding: 6px 8px; border: 1px solid var(--line); background: rgba(243,240,232,.58);
  font: 9px/1.3 var(--mono); text-transform: uppercase;
}
.faculty-meta {
  margin: auto 0 0; padding-top: 24px; display: grid; gap: 14px; border-top: 1px solid var(--line);
}
.faculty-meta div { display: grid; grid-template-columns: 86px 1fr; gap: 16px; }
.faculty-meta dt { color: var(--ink-soft); font: 9px/1.4 var(--mono); text-transform: uppercase; }
.faculty-meta dd { margin: 0; font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.faculty-email {
  margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 12px; font-weight: 700; text-underline-offset: 4px; overflow-wrap: anywhere;
}
.faculty-email.is-missing { color: var(--ink-soft); text-decoration: none; }
.faculty-expertise {
  max-width: none; background: var(--paper-deep);
  padding-left: max(22px, calc((100vw - var(--max)) / 2 + clamp(22px, 5vw, 72px)));
  padding-right: max(22px, calc((100vw - var(--max)) / 2 + clamp(22px, 5vw, 72px)));
}
.expertise-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 62px;
}
.expertise-card {
  min-height: 360px; padding: 24px; display: flex; flex-direction: column;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--facility-bg) 22%, var(--paper));
}
.expertise-index { font: 10px var(--mono); }
.expertise-card h3 { margin: 24px 0 10px; font: 400 30px/1.04 var(--serif); letter-spacing: -.02em; }
.expertise-card p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.65; }
.expertise-foot {
  margin-top: auto; padding-top: 20px; display: flex; justify-content: space-between; gap: 18px;
  border-top: 1px solid var(--line); font: 9px/1.45 var(--mono); text-transform: uppercase;
}
.expertise-foot strong { display: block; color: var(--ink); font: 400 30px/1 var(--serif); }
.faculty-contact .button-light { text-decoration: none; }
.faculty-profile-hero {
  width: min(100%, var(--max)); min-height: 710px; margin: 0 auto;
  display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 48px;
  padding: clamp(70px, 9vw, 124px) clamp(22px, 5vw, 72px) 86px; overflow: hidden;
}
.faculty-profile-hero h1 {
  max-width: 840px; margin: 0; font: 400 clamp(58px, 7vw, 112px)/.86 var(--serif);
  letter-spacing: -.055em;
}
.profile-bio { max-width: 690px; margin: 28px 0 0; color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.profile-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.profile-orbit {
  position: relative; justify-self: end; width: min(42vw, 560px); aspect-ratio: 1;
  display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%;
  background: color-mix(in srgb, var(--faculty-color) 36%, var(--paper));
}
.profile-orbit::before,
.profile-orbit::after {
  content: ""; position: absolute; border-radius: 50%; border: 1px solid var(--line);
}
.profile-orbit::before { inset: 13%; border-style: dashed; }
.profile-orbit::after { inset: 30%; background: var(--ink); }
.profile-orbit span {
  position: relative; z-index: 2; width: 33%; aspect-ratio: 1; display: grid; place-items: center;
  border-radius: 50%; color: var(--ink); background: var(--faculty-color); border: 1px solid var(--ink);
  font: 500 clamp(24px, 4vw, 46px) var(--mono);
}
.profile-orbit img {
  position: relative; z-index: 2; width: 52%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--ink); background: var(--paper); object-fit: cover;
}
.profile-orbit.has-photo::after { inset: 25%; background: color-mix(in srgb, var(--faculty-color) 50%, var(--paper)); }
.profile-orbit i {
  position: absolute; z-index: 3; width: 16px; height: 16px; border-radius: 50%;
  background: var(--orange); border: 3px solid var(--paper);
}
.profile-orbit i:nth-child(2) { left: 18%; top: 22%; }
.profile-orbit i:nth-child(3) { right: 12%; top: 48%; background: var(--sky); }
.profile-orbit i:nth-child(4) { left: 34%; bottom: 10%; background: var(--aqua); }
.profile-sections { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; border-top: 1px solid var(--line); }
.profile-panel {
  min-height: 330px; padding: 24px; border: 1px solid var(--line); background: var(--paper);
}
.profile-panel ul { margin: 24px 0 0; padding: 0; display: grid; gap: 14px; list-style: none; }
.profile-panel li { padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; line-height: 1.55; }
.profile-metrics { padding-top: 0; }
.profile-metric-grid {
  margin-top: 42px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 1.4fr; gap: 14px; align-items: stretch;
}
.profile-metric-grid article {
  min-height: 150px; padding: 22px; border: 1px solid var(--line); background: color-mix(in srgb, var(--faculty-color) 16%, var(--paper));
}
.profile-metric-grid article span { color: var(--ink-soft); font: 9px var(--mono); text-transform: uppercase; }
.profile-metric-grid article strong { display: block; margin-top: 28px; font: 400 clamp(38px, 4vw, 58px)/1 var(--serif); }
.profile-metric-grid > p {
  min-height: 150px; margin: 0; padding: 22px; display: flex; align-items: end;
  border: 1px solid var(--line); background: var(--ink); color: var(--paper); font: 12px/1.6 var(--mono);
}
.profile-link-grid {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 56px;
}
.profile-link-grid a,
.profile-link-grid > span {
  min-height: 46px; padding: 8px 13px; border: 1px solid var(--line); background: var(--paper);
  color: var(--ink); font-size: 12px; font-weight: 700; text-decoration: none;
}
.profile-link-grid a {
  display: inline-grid; grid-template-columns: 24px auto 18px; align-items: center; gap: 9px;
}
.profile-platform-mark {
  width: 24px; height: 24px; display: inline-grid; place-items: center; border: 1px solid rgba(23,37,31,.14);
  background: #edf0e8; color: var(--ink); font: 800 8px/1 var(--sans); letter-spacing: 0; text-transform: none;
}
.profile-platform-academic { background: #17251f; color: white; }
.profile-platform-scopus { background: #f36f21; color: white; }
.profile-platform-researchgate { background: #00ccbb; color: #082521; }
.profile-platform-googlescholar { background: #4285f4; color: white; }
.profile-platform-orcid { border-radius: 50%; background: #a6ce39; color: white; }
.profile-platform-label { min-width: 0; overflow-wrap: anywhere; }
.profile-link-arrow { color: var(--ink-soft); font-size: 13px; line-height: 1; }
.profile-link-grid a:hover .profile-link-arrow { color: var(--ink); transform: translate(1px, -1px); }
.profile-equipment-grid,
.profile-advisee-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px;
}
.profile-equipment-grid article,
.profile-advisee-grid article {
  min-height: 210px; padding: 22px; border: 1px solid var(--line); background: var(--paper);
}
.profile-equipment-grid span,
.profile-advisee-grid span { font: 9px var(--mono); text-transform: uppercase; color: var(--ink-soft); }
.profile-equipment-grid h3,
.profile-advisee-grid h3 { margin: 38px 0 10px; font: 400 28px/1.04 var(--serif); }
.profile-equipment-grid p,
.profile-advisee-grid p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.profile-advisee-meta {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
  margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--line);
}
.profile-advisee-meta dt { margin: 0 0 4px; color: var(--ink-soft); font: 9px var(--mono); text-transform: uppercase; }
.profile-advisee-meta dd { margin: 0; font-size: 12px; line-height: 1.35; }
.profile-advisee-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.profile-advisee-tags small {
  padding: 5px 7px; border: 1px solid var(--line); background: #edf0e8;
  color: var(--ink-soft); font: 9px/1.2 var(--mono); text-transform: uppercase;
}

@keyframes slow-spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: translateY(-9px); opacity: .55; } }
@keyframes service-pulse { 0%, 100% { transform: scale(.82); opacity: .72; } 50% { transform: scale(1.2); opacity: 1; } }

@media (max-width: 1340px) {
  .site-header {
    grid-template-columns: max-content max-content minmax(0, 1fr);
    grid-template-areas: "identity identity identity" "language menu .";
    column-gap: 16px; row-gap: 10px; padding-block: 18px;
  }
  .menu-toggle { display: flex; align-items: center; align-self: center; justify-self: start; gap: 8px; padding: 10px; border: 0; background: transparent; font: 600 11px var(--sans); }
  .menu-toggle i { display: block; width: 16px; height: 9px; border-top: 1px solid; border-bottom: 1px solid; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 20px 22px 28px; align-items: stretch; flex-direction: column; background: var(--paper); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 8px 0; }
  .nav-cta { padding: 15px !important; }
  .site-header > .language-switch { order: 4; margin: 8px 0 0 72px; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 70px; padding-top: 75px; }
  .hero-instrument { justify-self: center; width: min(88vw, 570px); }
  .signal-grid { grid-template-columns: repeat(3, 1fr); }.signal-grid > p { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); }
  .section-heading { grid-template-columns: 1fr; gap: 32px; }
  .spectrum { grid-template-columns: repeat(2, 1fr); }.spectrum-axis { display: none; }
  .spectrum-item { min-height: 360px; border-top: 1px solid var(--line); }
  .public-facility-grid { grid-template-columns: repeat(2, 1fr); }
  .equipment-grid { grid-template-columns: repeat(2, calc((100% - 16px) / 2)); grid-auto-rows: auto; }
  .equipment-card { height: fit-content; }
  .access { grid-template-columns: 1fr; }
  .contact-copy { margin-left: 12%; }.contact-orbit { opacity: .5; }
  .faculty-hero { min-height: auto; grid-template-columns: 1fr; gap: 70px; padding-top: 75px; }
  .faculty-constellation { justify-self: center; width: min(88vw, 570px); }
  .services-hero { min-height: auto; grid-template-columns: 1fr; gap: 70px; padding-top: 75px; }
  .services-orbit { justify-self: center; width: min(88vw, 570px); }
  .services-strip .signal-grid { grid-template-columns: repeat(2, 1fr); }
  .services-strip .signal-grid > p { grid-column: 1 / -1; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .survey-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coming-soon-animation { opacity: .45; right: -180px; }
  .faculty-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .expertise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faculty-profile-hero { min-height: auto; grid-template-columns: 1fr; gap: 70px; padding-top: 75px; }
  .profile-orbit { justify-self: center; width: min(88vw, 560px); }
  .faculty-profile-hero + .signal-strip .signal-grid { grid-template-columns: repeat(2, 1fr); }
  .faculty-profile-hero + .signal-strip .signal-grid > p { grid-column: 1 / -1; }
  .profile-sections, .profile-equipment-grid, .profile-advisee-grid, .profile-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 800px) and (max-width: 1340px) {
  .site-header {
    grid-template-columns: max-content max-content minmax(0, 1fr);
    grid-template-areas: "identity identity identity" "language nav nav";
    column-gap: 20px;
  }
  .menu-toggle { display: none; }
  .site-header .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-self: start;
    gap: clamp(9px, 1.2vw, 18px);
    padding: 0;
    border-bottom: 0;
    background: transparent;
  }
  .site-header .site-nav a {
    padding: 0;
    white-space: nowrap;
    font-size: 12px;
  }
  .site-header .nav-cta { padding: 10px 12px !important; }
  .site-header .identity { max-width: min(560px, 42vw); }
  .site-header .identity strong { font-size: clamp(42px, 3.6vw, 46px); }
}

@media (max-width: 580px) {
  .prototype-note { padding-inline: 16px; text-align: left; }
  #public-data-status { margin-bottom: 2px; }
  .prototype-note > a { display: block; margin: 5px 0 0; }
  .hero { padding-top: 58px; padding-bottom: 60px; gap: 50px; }
  .eyebrow { justify-content: space-between; gap: 10px; }.eyebrow span:first-child::before { display: none; }
  .hero h1 { font-size: clamp(54px, 17vw, 78px); }
  .hero-intro { margin-top: 28px; font-size: 15px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 20px; }.button { width: 100%; }.text-link { align-self: flex-start; }
  .signal-grid { grid-template-columns: 1fr; gap: 24px; }.signal-grid > p { grid-column: auto; }.signal-grid div { justify-content: space-between; }
  .section-shell { padding-top: 78px; padding-bottom: 78px; }
  .section-heading h2, .access h2 { font-size: 48px; }
  .spectrum { grid-template-columns: 1fr; margin-top: 58px; }.spectrum-item { min-height: 320px; }.spectrum-glyph { height: 140px; }
  .faculty-hero { padding-top: 58px; padding-bottom: 60px; gap: 50px; }
  .faculty-hero h1 { font-size: clamp(52px, 16vw, 76px); }
  .services-hero { padding-top: 58px; padding-bottom: 60px; gap: 50px; }
  .services-hero h1 { font-size: clamp(42px, 13vw, 58px); letter-spacing: -.04em; }
  .services-hero .button { min-width: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 430px; }
  .student-select-filters { grid-template-columns: 1fr; }
  .service-meta { grid-template-columns: 1fr; }
  .services-coming-soon { min-height: 520px; }
  .coming-soon-animation { width: 560px; right: -300px; opacity: .3; }
  .service-survey-form { margin-top: 42px; padding: 18px; }
  .survey-choice-grid, .survey-grid { grid-template-columns: 1fr; }
  .survey-span { grid-column: auto; }
  .survey-foot { align-items: stretch; flex-direction: column; }
  .faculty-grid, .expertise-grid { grid-template-columns: 1fr; }
  .faculty-meta div { grid-template-columns: 1fr; gap: 4px; }
  .faculty-node small { font-size: 7px; }
  .faculty-profile-hero { padding-top: 58px; padding-bottom: 60px; gap: 50px; }
  .faculty-profile-hero h1 { font-size: clamp(52px, 16vw, 76px); }
  .profile-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .profile-sections, .profile-equipment-grid, .profile-advisee-grid, .profile-metric-grid { grid-template-columns: 1fr; }
  .profile-advisee-meta { grid-template-columns: 1fr; }
  .public-facility-grid { grid-template-columns: 1fr; margin-top: 42px; }
  .public-facility-card { min-height: 390px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; }.filter { flex: 0 0 auto; }
  .equipment-grid { display: grid; grid-template-columns: 100%; grid-auto-rows: auto; }.equipment-card { width: 100%; height: fit-content; margin-bottom: 0; }
  .access-steps { margin-top: 18px; }
  .contact { min-height: 620px; padding-top: 70px; }.contact-copy { margin-left: 0; padding-top: 90px; }.contact h2 { font-size: 68px; }.contact-orbit { width: 460px; height: 460px; left: -280px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 24px; }.site-footer p { order: 3; }
  .inquiry-head, .inquiry-body, .inquiry-foot { padding-left: 20px; padding-right: 20px; }
  .inquiry-grid { grid-template-columns: 1fr; }
  .inquiry-span { grid-column: auto; }
  .inquiry-foot { align-items: stretch; flex-direction: column; }
  .inquiry-foot .button { width: 100%; }
}

@media (max-width: 580px) {
  body[data-language="th"] .hero h1,
  body[data-language="th"] .faculty-hero h1,
  body[data-language="th"] .services-hero h1,
  body[data-language="th"] .faculty-profile-hero h1 {
    font-size: clamp(38px, 11.5vw, 52px);
    line-height: 1.28;
    letter-spacing: 0;
  }
  body[data-language="th"] .section-heading h2,
  body[data-language="th"] .access h2 {
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.28;
    letter-spacing: 0;
  }
  body[data-language="th"] .contact h2 {
    font-size: clamp(42px, 12vw, 56px);
    line-height: 1.24;
    letter-spacing: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Readability scale for labels, metadata, and supporting copy. */
.prototype-note,
.identity small,
.section-index,
.eyebrow,
.scope-label,
.spectrum-axis,
.spectrum-number,
.facility-map-meta,
.facility-capabilities span,
.facility-map-foot,
.card-top,
.equipment-meta,
.contact-copy small,
.site-footer p,
.site-footer > a { font-size: 11px; line-height: 1.5; }

.identity strong,
.site-nav a,
.language-switch button,
.button,
.text-link,
.filter,
.spectrum-item p,
.public-facility-card p,
.equipment-card p,
.access-steps p { font-size: 13px; line-height: 1.6; }

.signal-grid span { font-size: 11px; }
.signal-grid > p { font-size: 15px; }
.section-heading > div > p,
.access-intro > p:not(.section-index),
.contact-copy p { font-size: 17px; }

.identity strong { font-size: 24px; line-height: 1.1; }
.identity small { margin-top: 5px; font-size: 18px; line-height: 1.2; }
.identity { gap: 18px; }
.identity .identity-institute {
  display: flex;
  flex-direction: column;
  margin-top: 6px;
  color: var(--ink-soft);
  font: 600 13px/1.35 var(--sans);
  letter-spacing: .01em;
  text-transform: none;
}
.site-header { align-items: start; column-gap: 28px; row-gap: 10px; }
.site-header .identity {
  max-width: min(760px, 58vw);
  gap: 22px;
}
.site-header .identity strong {
  font-size: 48px;
  line-height: .96;
  letter-spacing: -.035em;
}
.site-header .identity small:not(.identity-institute) {
  margin-top: 9px;
  font-size: 18px;
  letter-spacing: .14em;
}
.site-header .identity .identity-institute { font-size: 15px; }
.site-header .identity-mark {
  width: 68px;
  height: 68px;
}
.site-header .identity-mark i {
  inset: 12px;
  border-width: 1.5px;
}

@media (max-width: 900px) {
  .site-header { align-items: start; }
  .site-header .identity {
    max-width: calc(100vw - 128px);
    gap: 16px;
  }
  .site-header > .language-switch { margin-left: 72px; }
  .site-header .identity strong { font-size: clamp(36px, 5vw, 42px); }
  .site-header .identity small:not(.identity-institute) { font-size: 14px; }
  .site-header .identity .identity-institute { font-size: 12px; }
  .site-header .identity-mark {
    width: 56px;
    height: 56px;
  }
  .site-header .identity-mark i { inset: 10px; }
}

@media (max-width: 580px) {
  .prototype-note,
  .section-index,
  .eyebrow,
  .card-top,
  .equipment-meta { font-size: 10px; }
  .equipment-card p,
  .spectrum-item p,
  .access-steps p { font-size: 14px; }
  .identity strong { font-size: 20px; }
  .identity small { font-size: 14px; }
  .identity .identity-institute { font-size: 11px; }
  .site-header .identity {
    max-width: calc(100vw - 98px);
    gap: 12px;
  }
  .site-header > .language-switch { margin-left: 58px; }
  .site-header .identity strong { font-size: clamp(30px, 8.4vw, 34px); }
  .site-header .identity small:not(.identity-institute) {
    margin-top: 5px;
    font-size: 12px;
    letter-spacing: .1em;
  }
  .site-header .identity .identity-institute { font-size: 10px; }
  .site-header .identity-mark {
    width: 46px;
    height: 46px;
  }
  .site-header .identity-mark i { inset: 8px; }
}
