:root {
  --bg:#0b1118;
  --surface:#101922;
  --text:#eef1f2;
  --muted:#94a3af;
  --accent:#8ed8cf;
  --line:#ffffff16;
  --max:1160px;
  color-scheme:dark
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:100px
}
body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,"Pretendard","Noto Sans KR",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  word-break:keep-all;
  -webkit-font-smoothing:antialiased
}
a {
  color:inherit;
  text-decoration:none
}
button,a { -webkit-tap-highlight-color: transparent; }
a:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:6px
}
::selection {
  background:#8ed8cf;
  color:#0b1118
}
.wrap {
  width:min(var(--max),calc(100% - 96px));
  margin-inline:auto
}
.accent {
  color:var(--accent)
}
.header {
  height:88px;
  padding:0 48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:10;
  border-bottom:1px solid var(--line)
}
.wordmark {
  font-size:27px;
  font-weight:800;
  letter-spacing:-2px
}
.header nav {
  display:flex;
  gap:38px
}
.header nav a,.header-contact {
  font-size:13px
}
.header nav a {
  color:#b7c0c8;
  transition:color .2s
}
.header nav a:hover,.footer a:hover {
  color:var(--accent)
}
.header-contact span {
  margin-left:22px;
  color:var(--accent)
}
.hero {
  min-height:850px;
  height:calc(100svh - 12px);
  max-height:1100px;
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:center
}
.hero-content {
  position:relative;
  z-index:2;
  padding-top:4px;
  padding-bottom:160px;
  pointer-events:none
}
.hero-content a {
  pointer-events:auto
}
.eyebrow {
  font-size:11px;
  font-weight:600;
  letter-spacing:2.2px;
  color:var(--accent);
  margin:0 0 28px;
  line-height:1.8
}
.hero .eyebrow {
  color:#b3bdc5;
  display:flex;
  align-items:center;
  gap:12px;
  letter-spacing:2px
}
.status-dot {
  display:inline-block;
  width:6px;
  height:6px;
  background:var(--accent);
  border-radius:50%;
  box-shadow:0 0 12px #8ed8cf60;
  flex-shrink:0
}
h1,h2,h3,p {
  margin-top:0
}
h1 {
  font-size:clamp(44px,5vw,72px);
  letter-spacing:-3.4px;
  line-height:1.3;
  font-weight:650;
  margin-bottom:28px
}
h1>span {
  color:var(--accent)
}
.hero-description {
  color:#aab7c2;
  line-height:1.95;
  font-size:16px;
  margin-bottom:32px
}
.text-link {
  display:inline-flex;
  align-items:center;
  gap:50px;
  font-size:13px;
  border-bottom:1px solid #ffffff50;
  padding:0 0 13px
}
.text-link span {
  color:var(--accent);
  font-size:20px;
  transition:transform .2s
}
.text-link:hover span {
  transform:translateY(4px)
}
.mobile-break {
  display:none
}
.city {
  position:absolute;
  bottom:20px;
  left:0;
  width:100%;
  height:460px;
  z-index:0;
  mask-image:linear-gradient(transparent,#000 25%)
}
.city svg {
  width:100%;
  height:100%;
  display:block
}
.hero-bottom {
  position:absolute;
  bottom:30px;
  left:0;
  right:0;
  display:flex;
  justify-content:space-between;
  z-index:2;
  font-size:9px;
  letter-spacing:2px;
  color:#71818f
}
.section {
  padding-block:112px
}
.section-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  margin-bottom:52px;
  gap:32px
}
h2 {
  font-size:clamp(30px,3.2vw,44px);
  line-height:1.4;
  letter-spacing:-1.7px;
  font-weight:600;
  margin-bottom:0
}
.section-heading>p,.career-intro>p:last-child {
  font-size:13px;
  line-height:1.9;
  color:var(--muted);
  margin-bottom:5px
}
.project {
  min-width:0
}
.featured {
  display:grid;
  grid-template-columns:1.25fr 1fr;
  margin-bottom:56px;
  background:var(--surface)
}
.project-visual {
  min-height:300px;
  position:relative;
  overflow:hidden;
  padding:24px;
  display:flex;
  flex-direction:column;
  justify-content:space-between
}
.featured .project-visual {
  min-height:440px
}
.visual-top,.visual-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-size:8px;
  letter-spacing:1.6px;
  font-weight:600;
  position:relative;
  z-index:1
}
.visual-top {
  color:#b8cbc9
}
.visual-top>span:first-child {
  font-size:10px;
  letter-spacing:1px
}
.visual-bottom {
  color:#8bada7;
  font-size:7px
}
.commerce {
  background:radial-gradient(ellipse at 70% 30%,#33564a 0%,#1c3931 45%,#142923 100%)
}
.commerce:before {
  content:"";
  position:absolute;
  inset:0;
  background-image:linear-gradient(#adcabd09 1px,transparent 1px),linear-gradient(90deg,#adcabd09 1px,transparent 1px);
  background-size:42px 42px;
  transform:perspective(500px) rotateY(-12deg) scale(1.2)
}
.commerce-center {
  position:relative;
  margin-left:24px;
  padding:30px 0
}
.mini-label {
  font-size:8px;
  letter-spacing:2px;
  color:#9bb9a9
}
.commerce-center strong {
  font-size:52px;
  letter-spacing:-2px;
  font-weight:500;
  line-height:1.05;
  display:block;
  margin:20px 0 30px;
  color:#e5ead8
}
.flow {
  display:flex;
  gap:14px;
  align-items:center
}
.flow>span {
  font-size:11px;
  border:1px solid #c1d7bf38;
  border-radius:4px;
  padding:12px 20px;
  color:#cedbcf;
  background:#1a332d
}
.flow i {
  font-style:normal;
  color:#a9c9b37d
}
.project-body {
  padding:30px 28px 24px
}
.featured .project-body {
  padding:44px 38px;
  align-self:center
}
.project-category {
  font-size:9px;
  letter-spacing:1.5px;
  color:var(--accent);
  margin-bottom:15px
}
.project h3 {
  font-size:26px;
  letter-spacing:-.7px;
  font-weight:600;
  margin-bottom:14px
}
.project-summary {
  font-size:19px;
  line-height:1.6;
  letter-spacing:-.5px;
  color:#d4dce1;
  margin-bottom:16px
}
.project-body>p:not(.project-category):not(.project-summary):not(.project-prompt) {
  font-size:13px;
  line-height:1.9;
  color:var(--muted);
  max-width:440px
}
.tags {
  list-style:none;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:24px 0
}
.tags li {
  font-size:10px;
  padding:6px 10px;
  border:1px solid var(--line);
  border-radius:3px;
  color:#aebdc8
}
.project-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px 40px
}
.desktop {
  background:radial-gradient(ellipse at 50% 40%,#28384a,#192432 70%)
}
.desktop-window {
  background:#17212de8;
  border:1px solid #94a9c137;
  width:82%;
  margin:25px auto;
  border-radius:8px;
  box-shadow:0 24px 40px #0003;
  transform:rotate(-4deg)
}
.window-bar {
  display:flex;
  align-items:center;
  gap:5px;
  padding:13px;
  border-bottom:1px solid #ffffff0c
}
.window-bar i {
  width:5px;
  height:5px;
  border-radius:50%;
  background:#536271
}
.window-bar span {
  font-size:8px;
  color:#8896a7;
  margin-left:15px
}
.desktop-content {
  display:flex;
  gap:23px;
  align-items:center;
  padding:23px
}
.app-symbol {
  background:linear-gradient(135deg,#9abec7,#647eab);
  color:#122134;
  font-size:40px;
  font-weight:700;
  padding:8px 18px;
  border-radius:12px;
  position:relative
}
.app-symbol>span {
  font-size:16px;
  position:absolute;
  right:7px;
  top:5px
}
.task-lines {
  display:grid;
  gap:12px;
  font-size:9px;
  color:#acb9ca
}
.task-lines span {
  display:flex;
  gap:8px;
  align-items:center
}
.task-lines i {
  height:5px;
  width:5px;
  background:#88bdc1;
  border-radius:1px
}
.window-status {
  border-top:1px solid #ffffff0c;
  font-size:8px;
  color:#8599a8;
  padding:11px 16px
}
.window-status i {
  display:inline-block;
  width:4px;
  height:4px;
  border-radius:50%;
  background:#83bfa5;
  margin-right:6px
}
.data {
  background:radial-gradient(ellipse at 40% 70%,#233a47,#142731 80%)
}
.data-art {
  display:flex;
  align-items:center;
  position:relative;
  justify-content:center;
  gap:38px;
  padding:20px 0 46px
}
.data-sources {
  display:grid;
  gap:10px
}
.data-sources>span {
  border:1px solid #759ead40;
  padding:11px 17px;
  border-radius:4px;
  background:#19323d;
  font-size:9px;
  color:#b6cbd5
}
.data-core {
  border:1px solid #86bdc363;
  background:#23414c;
  padding:32px 20px;
  border-radius:50%;
  font-size:23px;
  font-weight:700;
  letter-spacing:-1px;
  box-shadow:0 0 40px #6aafb813
}
.data-core>span {
  font-weight:300
}
.data-path {
  position:absolute;
  width:39px;
  height:85px;
  border:1px solid #729dab50;
  border-left:0;
  left:calc(50% - 19px);
  top:40px
}
.data-path:after {
  content:"";
  width:40px;
  height:1px;
  background:#729dab50;
  position:absolute;
  right:-40px;
  top:50%
}
.data-output {
  position:absolute;
  bottom:18px;
  font-size:8px;
  letter-spacing:1px;
  color:#91b7c1;
  display:flex;
  gap:8px;
  align-items:center
}
.data-output .status-dot {
  width:4px;
  height:4px
}
.company {
  background:radial-gradient(ellipse,#343342,#22222f 70%)
}
.company-art {
  position:relative;
  height:210px;
  display:grid;
  place-items:center
}
.company-core {
  font-size:55px;
  font-weight:650;
  letter-spacing:-4px;
  position:relative
}
.company-core span {
  color:#b2add6
}
.orbit {
  position:absolute;
  width:250px;
  height:115px;
  border:1px solid #ac9fc331;
  border-radius:50%;
  transform:rotate(-25deg)
}
.orbit-two {
  transform:rotate(35deg);
  width:230px
}
.orbit-label {
  position:absolute;
  background:#2b2b3b;
  font-size:8px;
  letter-spacing:.8px;
  color:#b7b4cc;
  padding:6px 10px;
  border:1px solid #ac9fc32b;
  border-radius:20px
}
.label-one {
  left:17%;
  top:50px
}
.label-two {
  right:17%;
  top:65px
}
.label-three {
  bottom:28px;
  left:42%
}
.mill {
  background:#c7c6b5;
  color:#2e3a31
}
.mill .visual-top,.mill .visual-bottom {
  color:#556357
}
.mill-art {
  text-align:center;
  padding:20px 0
}
.mill-stamp {
  font-family:serif;
  display:block;
  font-size:14px;
  letter-spacing:2px;
  border:1px solid #66735a;
  width:35px;
  margin:0 auto 15px;
  padding:5px 2px;
  color:#5b694c
}
.mill-art strong {
  display:block;
  font-family:Georgia,"Batang",serif;
  font-size:27px;
  letter-spacing:1px;
  font-weight:500
}
.mill-sub {
  display:block;
  font-size:10px;
  letter-spacing:1.2px;
  margin-top:11px;
  color:#66705c
}
.mill-line {
  width:28px;
  height:1px;
  background:#89917b;
  margin:19px auto 12px
}
.mill .mini-label {
  color:#6d7862;
  font-size:7px
}
.career {
  background:#0e161e;
  border-block:1px solid var(--line)
}
.career-layout {
  display:grid;
  grid-template-columns:.85fr 1.6fr;
  gap:80px
}
.career-intro h2 {
  margin-bottom:24px
}
.career-item {
  display:grid;
  grid-template-columns:145px 1fr;
  gap:24px;
  padding:28px 16px;
  border-top:1px solid var(--line)
}
.career-item:first-child {
  border-top:0
}

.career-date {
  font-size:10px;
  letter-spacing:.4px;
  color:#8494a2;
  padding-top:6px;
  margin-bottom:0
}
.career-item h3 {
  font-size:17px;
  font-weight:500;
  line-height:1.7;
  letter-spacing:-.4px;
  margin-bottom:8px
}
.career-item h3 span {
  font-size:10px;
  color:#90a3b0;
  display:block;
  font-weight:400;
  letter-spacing:0;
  margin-top:3px
}
.career-item div>p {
  font-size:12px;
  color:var(--muted);
  line-height:1.95;
  margin-bottom:0
}
.about-layout {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:100px
}
.about-lead {
  font-size:22px;
  line-height:1.65;
  letter-spacing:-.6px;
  margin-bottom:25px
}
.about-copy>p:not(.about-lead) {
  font-size:13px;
  line-height:2.1;
  color:var(--muted)
}
.capabilities {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  margin-top:65px;
  border-top:1px solid var(--line)
}
.capabilities article {
  padding:30px 26px 26px;
  border-right:1px solid var(--line)
}
.capabilities article:first-child {
  padding-left:26px
}
.capabilities article:last-child {
  border-right:0
}
.capabilities article>span {
  font-size:9px;
  color:var(--accent)
}
.capabilities h3 {
  font-size:18px;
  letter-spacing:-.5px;
  font-weight:500;
  margin:20px 0 13px
}
.capabilities p {
  font-size:13px;
  color:var(--muted);
  line-height:1.9
}
.capabilities small {
  font-size:9px;
  color:#708391;
  letter-spacing:.4px
}
.contact {
  border-top:1px solid var(--line);
  background:radial-gradient(ellipse at 90% 100%,#18303577,transparent 60%)
}
.contact-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:30px
}
.contact h2 {
  font-size:clamp(35px,4vw,58px);
  letter-spacing:-2.5px;
  line-height:1.4
}
.contact-row p {
  font-size:13px;
  color:var(--muted);
  margin-top:23px
}
.contact-arrow {
  border:1px solid #8ed8cf55;
  border-radius:50%;
  height:102px;
  width:102px;
  display:grid;
  place-items:center;
  font-size:48px;
  font-weight:200;
  color:var(--accent);
  transition:background .2s,transform .2s;
  flex-shrink:0
}
.contact-arrow:hover {
  background:#8ed8cf15;
  transform:translate(3px,-3px)
}
.email-link {
  display:inline-block;
  font-size:16px;
  letter-spacing:.2px;
  border-bottom:1px solid #8ed8cf50;
  padding-bottom:12px;
  margin-top:25px
}
.email-link span {
  color:var(--accent);
  margin-left:24px
}
.footer {
  display:flex;
  align-items:center;
  gap:30px;
  border-top:1px solid var(--line);
  padding-block:30px
}
.footer .wordmark {
  font-size:23px;
  margin-right:5px
}
.footer>span {
  font-size:10px;
  color:#71818e;
  margin-right:auto
}
.footer>a:not(.wordmark) {
  font-size:10px;
  color:#a3b1bc
}
.skip-link {
  position:fixed;
  left:20px;
  top:-100px;
  background:var(--accent);
  padding:14px;
  color:var(--bg);
  z-index:100
}
.skip-link:focus {
  top:10px
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
@media(min-width:1500px) {
  .hero-content {
    padding-bottom:140px
  }
  .city {
    height:520px
  }
}
@media(max-width:1000px) {
  .wrap {
    width:calc(100% - 64px)
  }
  .header {
    padding-inline:32px
  }
  .hero {
    min-height:780px
  }
  .featured {
    grid-template-columns:1fr 1fr
  }
  .featured .project-body {
    padding:30px 25px
  }
  .commerce-center {
    margin-left:0
  }
  .commerce-center strong {
    font-size:44px
  }
  .flow {
    gap:9px
  }
  .flow>span {
    padding:10px 14px
  }
  .career-layout {
    gap:40px;
    grid-template-columns:.8fr 1.5fr
  }
  .career-item {
    grid-template-columns:115px 1fr;
    gap:15px
  }
  .about-layout {
    gap:50px
  }
  .project-grid {
    gap:46px 28px
  }
  .desktop-window {
    width:94%
  }
  .desktop-content {
    padding:20px 15px;
    gap:16px
  }
  .orbit-label.label-one {
    left:7%
  }
  .orbit-label.label-two {
    right:6%
  }
  .section-heading>p {
    max-width:300px
  }
}
@media(max-width:700px) {
  html {
    scroll-padding-top:24px
  }
  .wrap {
    width:calc(100% - 40px)
  }
  .header {
    height:72px;
    padding-inline:20px
  }
  .header nav {
    gap:20px
  }
  .header nav a {
    font-size:11px
  }
  .header-contact {
    font-size:11px
  }
  .header-contact span {
    margin-left:7px
  }
  .wordmark {
    font-size:24px
  }
  .hero {
    height:820px;
    min-height:0;
    max-height:none
  }
  .hero-content {
    padding-top:0;
    padding-bottom:170px
  }
  .hero .eyebrow {
    font-size:8px;
    letter-spacing:1.3px;
    margin-bottom:25px;
    gap:8px
  }
  h1 {
    font-size:clamp(27px,8.4vw,40px);
    letter-spacing:-2.4px;
    line-height:1.35;
    margin-bottom:24px
  }
  .hero-description {
    font-size:13px;
    line-height:1.9
  }
  .mobile-break {
    display:block
  }
  .text-link {
    font-size:12px;
    gap:32px
  }
  .city {
    height:350px;
    bottom:20px
  }
  .hero-bottom {
    font-size:7px;
    letter-spacing:1.1px;
    bottom:28px
  }
  .section {
    padding-block:76px
  }
  .section-heading {
    display:block;
    margin-bottom:35px
  }
  .eyebrow {
    font-size:9px;
    margin-bottom:20px
  }
  h2 {
    font-size:31px;
    letter-spacing:-1.3px
  }
  .section-heading>p {
    margin-top:22px;
    font-size:12px;
    max-width:none
  }
  .featured {
    display:block;
    margin-bottom:40px
  }
  .featured .project-visual {
    min-height:330px
  }
  .commerce-center {
    margin-left:15px;
    padding:20px 0
  }
  .commerce-center strong {
    font-size:48px
  }
  .featured .project-body {
    padding:30px 24px
  }
  .project-grid {
    grid-template-columns:1fr;
    gap:38px
  }
  .project-visual {
    min-height:300px;
    padding:22px
  }
  .project-body {
    padding:27px 24px 24px
  }
  .project h3 {
    font-size:25px
  }
  .project-summary { font-size:18px; }
  .project-body>p:not(.project-category):not(.project-summary):not(.project-prompt) {
    max-width:none
  }
  .desktop-window {
    max-width:330px;
    width:90%
  }
  .desktop-content {
    padding:23px;
    gap:24px
  }
  .task-lines {
    font-size:9px
  }
  .orbit-label.label-one {
    left:17%
  }
  .orbit-label.label-two {
    right:16%
  }
  .career-layout,.about-layout {
    grid-template-columns:1fr;
    gap:35px
  }
  .career-intro>p:last-child {
    font-size:12px
  }
  .career-item {
    grid-template-columns:105px 1fr;
    gap:15px;
    padding:24px 16px
  }
  .career-date {
    font-size:9px
  }
  .career-item h3 {
    font-size:15px
  }
  .career-item div>p {
    font-size:12px
  }
  .about-lead {
    font-size:21px
  }
  .capabilities {
    grid-template-columns:1fr;
    margin-top:30px
  }
  .capabilities article,.capabilities article:first-child {
    padding:26px 20px;
    display:grid;
    grid-template-columns:25px 1fr;
    border-bottom:1px solid var(--line);
    border-right:0;
    gap:0 15px
  }
  .capabilities article>span {
    grid-row:1/4;
    padding-top:5px
  }
  .capabilities h3 {
    margin:0 0 10px;
    font-size:17px
  }
  .capabilities p {
    margin-bottom:14px;
    font-size:12px
  }
  .capabilities p br {
    display:none
  }
  .capabilities small {
    grid-column:2
  }
  .capabilities article:last-child {
    border-bottom:0;
    padding-bottom:26px
  }
  .contact h2 {
    font-size:34px;
    letter-spacing:-1.7px
  }
  .contact-arrow {
    width:64px;
    height:64px;
    font-size:34px
  }
  .contact-row {
    gap:12px
  }
  .contact-row p {
    font-size:12px;
    line-height:1.8;
    max-width:190px
  }
  .email-link {
    font-size:13px;
    margin-top:20px
  }
  .email-link span {
    margin-left:12px
  }
  .footer {
    gap:17px;
    flex-wrap:wrap;
    padding-block:24px
  }
  .footer>span {
    font-size:8px
  }
  .footer>a:not(.wordmark) {
    font-size:9px
  }
}
@media(max-width:360px) {
  .header nav {
    gap:13px
  }
  .header-contact {
    font-size:10px
  }
  h1 {
    font-size:27px
  }
  .hero .eyebrow {
    font-size:7px
  }
  .contact h2 {
    font-size:29px
  }
  .career-item {
    grid-template-columns:1fr;
    gap:9px
  }
  .contact-arrow {
    width:54px;
    height:54px
  }
  .hero-bottom {
    letter-spacing:.5px
  }
  .flow>span {
    padding:10px 13px
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*:before,*:after {
    animation:none!important;
    transition:none!important
  }
}



/* A native button stretches across each card, including its visual. */
.project {
  position: relative;
  isolation: isolate;
  border-radius: 4px;
}
.project-trigger {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  cursor: pointer;
}
.project-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 4px;
  transition: box-shadow .2s, background .2s;
}
.project-trigger:hover::after {
  box-shadow: 0 0 0 1px #8ed8cf55;
  background: #8ed8cf03;
}
.project-trigger:focus-visible { outline: none; }
.project-trigger:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 7px; }
.project-prompt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 25px 0 0;
  border-top: 1px solid var(--line);
  padding: 17px 0 4px;
  color: #c4cdd4;
  font-size: 11px;
}
.project-prompt span { color: var(--accent); font-size: 18px; }
html { scrollbar-gutter: stable; }
body.modal-open { overflow: hidden; }
.project-dialog {
  color: var(--text);
  background: var(--surface);
  border: 1px solid #8ed8cf30;
  border-radius: 16px;
  width: min(880px, calc(100% - 64px));
  max-width: none;
  max-height: calc(100svh - 80px);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 35px 100px #0009;
}
.project-dialog[open] { display: flex; flex-direction: column; }
.project-dialog::backdrop { background: #03090ed9; backdrop-filter: blur(8px); }
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 27px 36px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.dialog-header .eyebrow { margin-bottom: 6px; font-size: 9px; }
.dialog-header h2 { font-size: 30px; letter-spacing: -1px; }
.dialog-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid #ffffff26;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 30px;
  font-weight: 300;
  cursor: pointer;
}
.dialog-close:hover { color: var(--accent); border-color: var(--accent); }
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.dialog-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  min-height: 0;
  padding: 32px 36px 44px;
  scrollbar-width: thin;
  scrollbar-color: #516a76 transparent;
}
.dialog-scroll:focus-visible { outline: 1px solid var(--accent); outline-offset: -4px; }
.dialog-lead { font-size: 21px; line-height: 1.7; letter-spacing: -.5px; color: #dde7eb; margin-bottom: 24px; }
.project-facts { margin: 0 0 35px; padding: 20px 24px; background: #ffffff04; border: 1px solid var(--line); border-radius: 8px; }
.project-facts>div { display: grid; grid-template-columns: 85px 1fr; gap: 16px; padding: 7px 0; }
.project-facts dt { font-size: 11px; color: #96acb9; line-height: 1.9; }
.project-facts dd { margin: 0; font-size: 13px; color: #d1dce2; line-height: 1.9; }
.project-service { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 18px 22px; margin-bottom: 24px; border: 1px solid #8ed8cf55; border-radius: 8px; color: var(--accent); background: #8ed8cf07; font-size: 13px; }
.project-service:hover { background: #8ed8cf12; }
.project-service small { display: block; color: #a3bbbF; margin-top: 7px; overflow-wrap: anywhere; word-break: break-all; font-size: 11px; }
.project-service>span:nth-child(2) { font-size: 25px; }
.dialog-section { margin-top: 30px; }
.dialog-section h3 { font-size: 17px; font-weight: 600; margin-bottom: 13px; letter-spacing: -.3px; }
.dialog-section p,.dialog-section>ul:not(.tags) { color: #abbcc8; font-size: 14px; line-height: 2; }
.dialog-section p { margin-bottom: 0; }
.dialog-section>ul:not(.tags) { padding-left: 19px; margin: 0; }
.dialog-section li+li { margin-top: 10px; }
.dialog-section strong { color: #dbe5ea; font-weight: 500; }
.dialog-section .tags { margin-bottom: 0; }
.dialog-section .tags li { margin-top: 0; font-size: 11px; }
@media(max-width:700px) {
  .project-dialog { width: calc(100% - 24px); max-height: calc(100svh - 32px); border-radius: 12px; }
  .dialog-header { padding: 20px; gap: 12px; }
  .dialog-header h2 { font-size: 24px; }
  .dialog-header .eyebrow { font-size: 8px; }
  .dialog-scroll { padding: 24px 20px 32px; }
  .dialog-lead { font-size: 18px; }
  .project-facts { padding: 15px; }
  .project-facts>div { grid-template-columns: 1fr; gap: 2px; }
  .project-facts dd { font-size: 12px; }
  .dialog-section p,.dialog-section>ul:not(.tags) { font-size: 13px; }
  .project-service { padding: 16px; }
}
.project-body>.project-prompt { max-width: none; font-size: 11px; color: #c4cdd4; }

/* Keep paired cards and their footer rows aligned at every width. */
.project-grid>.project {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
}
.project-grid .project-visual { flex-shrink: 0; }
.project-grid .project-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.project-grid .tags { margin-top: auto; padding-top: 8px; }
.project-grid .project-prompt { margin-top: 0; }
.project-body>.project-prompt { width: 100%; max-width: none; }
.project-grid .project-visual { height: 320px; min-height: 320px; }
@media(max-width:700px) {
  .project-grid .project-visual { height: 300px; min-height: 300px; }
}

.career-item { position: relative; isolation: isolate; }
.career-trigger {
  font: inherit; letter-spacing: inherit; color: inherit; text-align: left;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.career-trigger::after { content: ""; position: absolute; inset: 0; border-radius: 6px; }
.career-trigger:hover::after { background: #8ed8cf06; }
.career-trigger:hover { color: var(--accent); }
.career-trigger:focus-visible { outline: none; }
.career-trigger:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 3px; }
.career-item div>.career-prompt { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; color: var(--accent); font-size: 10px; }
.career-prompt span { font-size: 16px; }
.career-intro>.career-guide { margin-top: 28px; color: var(--accent); font-size: 11px; line-height: 1.9; }
.research { border-bottom: 1px solid var(--line); }
.research-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.research-grid article { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.research-grid .eyebrow { font-size: 8px; margin-bottom: 16px; }
.research-grid h3 { font-size: 21px; font-weight: 500; margin-bottom: 14px; }
.research-grid p:not(.eyebrow) { color: var(--muted); font-size: 12px; line-height: 1.9; }
.research-grid a { font-size: 11px; color: var(--accent); margin-top: auto; padding-top: 18px; }
@media(max-width:700px) { .research-grid { grid-template-columns: 1fr; gap: 16px; } }

/* Shared motion language: soft entrances, crisp feedback, a quiet living city. */
:root { --ease-out: cubic-bezier(.2,.7,.2,1); }
a,button { touch-action: manipulation; }
a { transition: color .2s, background .2s, border-color .2s, transform .3s var(--ease-out); }
.header nav a,.header-contact,.footer>a:not(.wordmark),.research-grid a { position: relative; }
.header nav a::after,.header-contact::after,.footer>a:not(.wordmark)::after,.research-grid a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px;
  height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.header nav a:hover::after,.header nav a:focus-visible::after,.header-contact:hover::after,
.footer>a:hover::after,.research-grid a:hover::after { transform: scaleX(1); }
.wordmark { transition: color .2s, transform .3s var(--ease-out); }
.wordmark:hover { transform: translateY(-2px); color: var(--accent); }
.text-link:hover { border-color: var(--accent); color: var(--accent); }
.email-link:hover { color: var(--accent); transform: translateX(4px); }
.project { transition: box-shadow .35s var(--ease-out), border-color .3s, translate .35s var(--ease-out); }
.project-prompt span,.career-prompt span,.project-service>span:nth-child(2) { transition: transform .3s var(--ease-out); }
.project:has(.project-trigger:focus-visible) .project-prompt span { transform: translate(3px,-3px); }
.project:active { translate: 0 1px; }
.career-trigger::after { transition: background .3s; }
.career-trigger { transition: color .2s; }
.career-item:has(.career-trigger:focus-visible) .career-prompt span { transform: translate(3px,-3px); }
.research-grid article { transition: border-color .3s, translate .3s var(--ease-out), background .3s; }
.capabilities article { transition: background .3s; }
.dialog-close { transition: color .2s, border-color .2s, background .2s, transform .3s var(--ease-out); }
.dialog-close:hover { transform: rotate(90deg); background: #8ed8cf0c; }
.dialog-close:active { transform: rotate(90deg) scale(.92); }
.project-service:hover>span:nth-child(2) { transform: translate(3px,-3px); }
.project-dialog[open]::backdrop { animation: backdrop-in .3s var(--ease-out) both; }
.project-dialog.is-closing::backdrop { animation: backdrop-out .18s ease both; }
.hero { --pointer-x: 0px; --pointer-y: 0px; }
.hero::before,.hero::after {
  content: ""; position: absolute; pointer-events: none;
  width: 80%; height: 90%; right: -20%; top: 5%;
  background: radial-gradient(ellipse, #5bada81b, transparent 65%);
  border-radius: 50%; animation: sky-drift 18s ease-in-out infinite alternate;
}
.hero::after { width: 70%; height: 65%; top: 30%; right: 15%; background: radial-gradient(ellipse, #6296c112, transparent 65%); animation-delay: -9s; }
.hero-content>.eyebrow { animation: hero-enter .8s var(--ease-out) both; }
.hero-content>h1 { animation: hero-enter .9s .1s var(--ease-out) both; }
.hero-description { animation: hero-enter .9s .2s var(--ease-out) both; }
.hero-content>.text-link { animation: hero-enter .9s .3s var(--ease-out) both; }
.hero .status-dot { animation: beacon 4s ease-in-out infinite; }
.city { pointer-events: none; }
.city-far { transform: translate(calc(var(--pointer-x) * -.4),calc(var(--pointer-y) * -.4)); transition: transform 1.3s var(--ease-out); }
.city-near { transform: translate(var(--pointer-x),var(--pointer-y)); transition: transform 1.1s var(--ease-out); }
#skyline-far>path[fill],#skyline-near>path[fill] { animation: window-glow 7s ease-in-out infinite alternate; }
#skyline-near>path[fill] { animation-delay: -3s; }
.city-signal { stroke: #b8f1df; stroke-width: 2; stroke-dasharray: 35 1600; animation: signal-flow 12s linear infinite; }
.city-network circle { animation: beacon 4s ease-in-out infinite; }
.city-network circle:nth-of-type(2) { animation-delay: -1.3s; }
.city-network circle:nth-of-type(3) { animation-delay: -2.6s; }
.hero-paused::before,.hero-paused::after,.hero-paused .city-network *, .hero-paused .status-dot { animation-play-state: paused; }
@media(hover:hover) and (pointer:fine) {
  .project:hover { translate: 0 -5px; box-shadow: 0 18px 45px #0003; }
  .project:hover .project-prompt span,.career-item:hover .career-prompt span { transform: translate(3px,-3px); }
  .research-grid article:hover { translate: 0 -4px; border-color: #8ed8cf55; }
  .capabilities article:hover { background: #8ed8cf03; }
}
@keyframes hero-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sky-drift { from { transform: translate(-3%,3%) scale(.95); opacity: .55; } to { transform: translate(5%,-4%) scale(1.08); opacity: 1; } }
@keyframes window-glow { from { opacity: .45; } to { opacity: 1; } }
@keyframes beacon { 0%,100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes signal-flow { from { stroke-dashoffset: 1635; } to { stroke-dashoffset: 0; } }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes backdrop-out { from { opacity: 1; } to { opacity: 0; } }
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
  .city-far,.city-near { transform: none; }
  .project:hover,.research-grid article:hover,.project:active { translate: none; }
}

/* Ambient code belongs to the sky, below the existing skyline and text. */
.hero { isolation: isolate; }
.hero-content { z-index: 3; }
.hero-bottom { z-index: 3; }
.code-sky { position: absolute; inset: 72px 0 0; z-index: 0; pointer-events: none; overflow: hidden; mask-image: linear-gradient(transparent, #000 14%, #000 85%, transparent); }
.code-sky pre { position: absolute; left: calc(var(--lane) * 13% - 2%); bottom: -340px; margin: 0; color: #8ed8cf; font: 11px/2.1 Consolas, "SFMono-Regular", monospace; letter-spacing: .3px; white-space: pre; animation: code-rise var(--duration) var(--delay) linear infinite; }
.city { z-index: 1; }
.hero::before,.hero::after { z-index: 2; }
.hero-paused .code-sky pre { animation-play-state: paused; }

/* Low-contrast grids and drifting light carry the city mood down the page. */
main>.section { position: relative; isolation: isolate; }
main>.section::before,main>.section::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; }
main>.section::before { background-image: linear-gradient(#8ed8cf04 1px,transparent 1px),linear-gradient(90deg,#8ed8cf04 1px,transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(transparent,#000 35%,transparent); }
main>.section::after { background: radial-gradient(ellipse at 12% 35%,#65b5ae0a,transparent 55%),radial-gradient(ellipse at 90% 70%,#658db60a,transparent 50%); animation: section-light 22s ease-in-out infinite alternate; }
main>.career::after,main>.contact::after { animation-delay: -11s; }
@keyframes section-light { from { opacity: .4; transform: translateY(-12px); } to { opacity: 1; transform: translateY(12px); } }
.project-grid .tags { margin-bottom: 0; }
@media(max-width:700px) { .code-sky pre { font-size: 9px; } .code-sky pre:nth-child(even) { display: none; } }
@media(prefers-reduced-motion:reduce) { .code-sky pre { animation: none; opacity: .08; bottom: auto; top: calc(var(--lane) * 10%); } main>.section::after { animation: none; } }
.archive { border-top: 1px solid var(--line); }
.archive-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.archive-item { position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0; padding: 28px; background: #101922db; border: 1px solid var(--line); border-radius: 6px; transition: border-color .3s, translate .3s var(--ease-out), box-shadow .3s; }
.archive-item h3 { font-size: 20px; font-weight: 500; letter-spacing: -.6px; margin-bottom: 14px; line-height: 1.5; }
.archive-item>p:not(.project-category) { font-size: 12px; line-height: 1.9; color: var(--muted); }
.archive-item .project-category { font-size: 8px; letter-spacing: 1px; }
.archive-item .tags { margin-top: auto; padding-top: 12px; margin-bottom: 0; }
.archive-trigger { border: 0; padding: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-align: left; cursor: pointer; }
.archive-trigger::after { content: ""; position: absolute; inset: 0; border-radius: 6px; }
.archive-trigger:focus-visible { outline: none; }
.archive-trigger:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 4px; }
@media(hover:hover) and (pointer:fine) { .archive-item:hover { translate: 0 -4px; border-color: #8ed8cf55; box-shadow: 0 15px 35px #0002; } }
@media(max-width:1000px) { .archive-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:700px) { .archive-grid { grid-template-columns: 1fr; gap: 16px; } .archive-item { padding: 24px; } }
@media(prefers-reduced-motion:reduce) { .archive-item:hover { translate: none; } }
.code-sky { mask-image: linear-gradient(transparent,#000 14%,#000 85%,transparent),linear-gradient(90deg,#0005,#0007 38%,#000 62%); mask-composite: intersect; }
@keyframes code-rise {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: .3; }
  75% { opacity: .22; }
  100% { transform: translateY(calc(-100svh - 420px)); opacity: 0; }
}

/* EROOM shares exactly the same card geometry as DOOGO and the other work. */
.eroom { background: radial-gradient(ellipse at 75% 30%,#4a4a40,#292f2b 75%); }
.eroom .visual-top,.eroom .visual-bottom { color: #c5c6ad; }
.eroom-art { display: flex; align-items: center; justify-content: center; gap: 32px; padding: 18px 5px; }
.floorplan { width: 180px; height: 150px; position: relative; border: 1px solid #d5d0ac77; transform: perspective(600px) rotateY(-12deg); background: #ffffff03; }
.plan-room { position: absolute; display: grid; place-items: center; border: 1px solid #c8c3a452; color: #c8c3a4; font: 7px/1.5 monospace; letter-spacing: .8px; }
.room-one { top: 8px; left: 8px; width: 65px; height: 82px; }
.room-two { top: 8px; right: 8px; width: 85px; height: 54px; }
.room-three { top: 69px; right: 8px; width: 66px; height: 71px; }
.plan-hall { position: absolute; bottom: 20px; left: 10px; font: 6px monospace; letter-spacing: .5px; color: #969b87; }
.eroom-wordmark { font-size: 40px; letter-spacing: -2px; color: #eeebda; font-weight: 500; }
.eroom-wordmark span { display: block; font-size: 8px; letter-spacing: 4px; margin-top: 10px; }
@media(max-width:1000px) { .eroom-art { gap: 18px; } .floorplan { width: 150px; } .room-two { width: 62px; } .room-three { width: 55px; } .eroom-wordmark { font-size: 32px; } }

/* Stronger full-width atmosphere, with circuit traces visible around the content. */
#main { position: relative; isolation: isolate; overflow: clip; }
#main::before {
  content: ""; position: absolute; inset: 850px 0 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 65% 650px at 100% 500px,#22545655,transparent 80%),radial-gradient(ellipse 65% 800px at 0 2100px,#263c6155,transparent 80%),repeating-linear-gradient(90deg,transparent 0 119px,#85c8ca0a 119px 120px);
}
main>.section::before {
  background-image: linear-gradient(#8ed8cf0e 1px,transparent 1px),linear-gradient(90deg,#8ed8cf0e 1px,transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(transparent,#000 20%,#000 80%,transparent);
}
main>.section::after {
  background: radial-gradient(ellipse at 10% 25%,#398c8826,transparent 55%),radial-gradient(ellipse at 95% 70%,#456b9e26,transparent 50%);
}
main>.work::before,main>.archive::before,main>.about::before { left: calc((min(1160px,100vw - 96px) - 100vw)/2); right: calc((min(1160px,100vw - 96px) - 100vw)/2); }
.section-heading { position: relative; }
.section-heading::after { content: ""; position: absolute; left: 0; bottom: -24px; width: 100%; height: 1px; background: linear-gradient(90deg,#8ed8cf60,transparent 75%); }
.career { background: linear-gradient(120deg,#102125e8,#0e161ef5 60%); }
.contact { background: radial-gradient(ellipse at 85% 100%,#24504e66,transparent 75%); }
@media(max-width:700px) { main>.work::before,main>.archive::before,main>.about::before { left: -20px; right: -20px; } .eroom-art { gap: 25px; } .floorplan { width: 170px; } }

/* One continuous viewport-sized atmosphere: no content-width background panels. */
#main::before {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(ellipse at 5% 25%,#2e77732b,transparent 58%),radial-gradient(ellipse at 95% 80%,#344e7a2e,transparent 60%);
}
main>.section::before,main>.section::after { content: none; }
main>.career,main>.contact,main>.archive { background: transparent; border: 0; }
.hero { background: linear-gradient(var(--bg) 0%,#0b1118f0 55%,#0b111800 100%); }
.career-list { min-width: 0; }
.career-item:first-child { padding-top: 28px; }
.career-item:last-child { padding-bottom: 28px; }

/* Opening sequence: far skyline, near skyline, then the introduction. */
.city-building {
  transform-box: view-box;
  transform-origin: 50% 100%;
  animation: building-rise var(--building-duration) var(--build-delay) var(--building-ease) both;
}
.code-sky { animation: code-emerge 2.5s ease-out both; }
.hero-content { animation: none; }
.hero-content>.eyebrow,.hero-content>h1,.hero-description { animation: none; }
.hero-bottom { animation: introduction-in .8s 2.8s var(--ease-out) both; }
@keyframes building-rise {
  from { transform: scaleY(0); opacity: .15; }
  to { transform: scaleY(1); opacity: 1; }
}
@keyframes code-emerge {
  from { opacity: 0; transform: translateY(90px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes introduction-in {
  from { opacity: 0; transform: translateY(22px); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@media(max-width:700px) {
  .career-item,.career-item:first-child,.career-item:last-child { padding: 24px 16px; }
}
@media(prefers-reduced-motion:reduce) {
  .city-building,.code-sky,.hero-content,.hero-bottom { animation: none; transform: none; opacity: 1; filter: none; }
}

.header { background: #0b1118cc; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.signal-field { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.signal-field svg { width: 100%; height: 100%; }
.signal-bundle { animation: signal-drift 24s ease-in-out infinite alternate; }
.signal-track,.signal-pulse { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.signal-track { stroke: #8ed8cf; stroke-width: 1; opacity: .1; }
.signal-pulse { stroke: #9ae3dc; stroke-width: 1.5; opacity: .32; stroke-dasharray: 24 976; animation: ambient-travel var(--travel) var(--offset) linear infinite; }
.signal-bundle>g:nth-child(2n) .signal-track { stroke: #8eafd4; }
.signal-bundle>g:nth-child(3n) .signal-pulse { stroke: #96bbd5; opacity: .24; }
@keyframes ambient-travel { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
@keyframes signal-drift { from { transform: translate(-12px,-9px); } to { transform: translate(12px,9px); } }




@keyframes soft-introduction {
  0% { opacity: 0; transform: translateY(14px); filter: blur(3px); }
  45% { opacity: .4; transform: translateY(5px); filter: blur(1px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@media(max-width:700px) {
  html { scroll-padding-top: 92px; }
  .signal-track { opacity: .075; }
  .signal-pulse { opacity: .22; }
}
@media(prefers-reduced-motion:reduce) {
  .hero-content>.eyebrow,.hero-content>h1,.hero-content>.hero-description,.hero-bottom { animation: none; opacity: 1; transform: none; filter: none; }
  .signal-bundle,.signal-pulse { animation: none; }
}
.signal-bundle>g { animation: route-weave var(--travel) var(--offset) ease-in-out infinite alternate; }
.signal-bundle>g:nth-child(even) { animation-direction: alternate-reverse; }
@keyframes route-weave { from { transform: translate(-14px,-28px); } to { transform: translate(20px,32px); } }

:root {
  --building-duration: 1000ms;
  --building-ease: cubic-bezier(.16,1,.3,1);
  /* Last building starts at 1260ms and finishes at 2260ms. */
  --skyline-complete: 2260ms;
  --introduction-start: 1260ms;
  --introduction-duration: 2000ms;
}
.hero-content>.eyebrow,.hero-content>h1,.hero-content>.hero-description,.hero-bottom {
  animation: introduction-settle var(--introduction-duration) var(--introduction-start) var(--building-ease) both;
}
@keyframes introduction-settle {
  from { opacity: 0; transform: translateY(12px); filter: blur(2px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
/* Below the skyline: quiet utility tunnels, shafts and passing signals. */
.signal-bundle,.signal-bundle>g { animation: none; }
.underground-structure { fill: #0f242b20; stroke: #6d8d9512; stroke-width: 1; }
.tunnel-wall,.tunnel-channel { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.tunnel-wall { stroke: #7f9da11c; stroke-width: 13; }
.tunnel-channel { stroke: #0b171e; stroke-width: 10; }
.signal-track { stroke: #86bcb9; stroke-width: .8; opacity: .13; }
.signal-pulse { stroke: #9ae3dc; stroke-width: 1.4; opacity: .38; stroke-dasharray: 16 984; }
#main::before { background-image: radial-gradient(ellipse at 8% 25%,#234b4c24,transparent 58%),radial-gradient(ellipse at 90% 85%,#263c5729,transparent 65%); }
@media(max-width:700px) { .tunnel-wall { stroke-width: 9; } .tunnel-channel { stroke-width: 7; } }
@media(prefers-reduced-motion:reduce) {
  .hero-content>.eyebrow,.hero-content>h1,.hero-content>.hero-description,.hero-bottom { animation: none; transform: none; opacity: 1; filter: none; }
}

/* The city's underground is a runtime: code travels through its infrastructure. */
.tunnel-wall { stroke-width: 7; opacity: .65; }
.tunnel-channel { stroke-width: 4; }
.underground-code { font-family: Consolas,"SFMono-Regular",monospace; pointer-events: none; }
.route-code { fill: #8ed8cf; font-size: 10px; letter-spacing: .7px; opacity: .2; animation: runtime-glow 9s var(--code-delay) ease-in-out infinite alternate; }
.code-chamber { fill: #81b6bd; font-size: 10px; opacity: .3; }
.code-chamber tspan { fill: #a4d7b9; }
.code-symbols { fill: #8ed8cf; font-size: 26px; opacity: .08; }
@keyframes runtime-glow { from { opacity: .1; } to { opacity: .28; } }
@media(max-width:700px) { .tunnel-wall { stroke-width: 6; } .tunnel-channel { stroke-width: 3; } .code-chamber { opacity: .23; } }
@media(prefers-reduced-motion:reduce) { .route-code { animation: none; } }

/* Keep all six sections reachable, including on narrow screens. */
.header nav { margin-left: auto; gap: 30px; }
@media(max-width:1000px) { .header nav { gap: 24px; } }
@media(max-width:700px) {
  .header { height: 106px; display: grid; grid-template-columns: 1fr; grid-template-rows: 32px 1fr; gap: 8px; padding: 12px 20px; }
  .header .wordmark { justify-self: start; align-self: center; }
  .header nav { width: 100%; margin-left: 0; justify-content: space-between; gap: 10px; align-items: center; }
  .header nav a { font-size: 11px; }
  html { scroll-padding-top: 126px; }
}
@media(max-width:360px) { .header nav a { font-size: 10px; } .header nav { gap: 8px; } }

/* Translucent surfaces retain the underground backdrop behind each section. */
main > .section {
 width: min(var(--max), calc(100% - 64px)); margin: 32px auto; padding: 64px 40px;
 border: 1px solid rgba(142,216,207,.13); border-radius: 28px;
 background: rgba(11,18,25,.75); box-shadow: 0 16px 48px rgba(0,0,0,.1);
}
main > .section > .wrap { width: 100%; }
html { scrollbar-width: thin; scrollbar-color: #598b89 #0b1219; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: #0b1219; }
::-webkit-scrollbar-thumb { background: #598b89; border: 2px solid #0b1219; border-radius: 12px; }
::-webkit-scrollbar-thumb:hover { background: #8ed8cf; }
@media(max-width:700px) {
 main > .section { width: calc(100% - 28px); margin-block: 20px; padding: 36px 20px; border-radius: 20px; }
}

button.email-link { display: inline-block; padding: 0; background: none; border: 0; border-bottom: 1px solid var(--line); color: inherit; font-family: inherit; text-align: left; cursor: pointer; }
.copy-toast { position: fixed; z-index: 1000; bottom: max(28px, env(safe-area-inset-bottom)); left: 50%; transform: translate(-50%,12px); opacity: 0; pointer-events: none; width: max-content; max-width: calc(100% - 40px); padding: 14px 22px; border: 1px solid #8ed8cf55; border-radius: 14px; background: #10252bf2; color: #c5eee7; box-shadow: 0 12px 36px #0005; font-size: 14px; transition: opacity .25s, transform .25s; }
.copy-toast.is-visible { opacity: 1; transform: translate(-50%,0); }
@media(prefers-reduced-motion:reduce) { .copy-toast { transition: none; } }
