/* NexaCloudHub — shared design system. No third-party styles or fonts. */
:root {
  color-scheme: dark;
  --bg: #090a0b;
  --surface: #101113;
  --surface-raised: #161719;
  --text: #f1f2f3;
  --muted: #92969b;
  --quiet: #7f858b;
  --line: #25272a;
  --line-soft: #1b1d20;
  --font: "Inter", Arial, Helvetica, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --radius: 14px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection {
  color: #090a0b;
  background: #e1e5e8;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
img,
svg {
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.1;
}
a,
button {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #edf1f4;
  outline-offset: 6px;
}
a,
button {
  transition:
    color 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}
.container {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}
.mono,
.eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.08em;
}
.eyebrow {
  color: #a4a8ad;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.muted {
  color: var(--muted);
}
.section-index {
  color: #8a9299;
}
.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;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 20px;
  background: #fff;
  color: #090a0b;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
/* Navigation remains opaque to avoid continuous blur/compositing while scrolling. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #090a0b;
  border-bottom: 1px solid var(--line-soft);
}
.nav-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  font-size: 16px;
  letter-spacing: -0.05em;
  font-weight: 700;
}
.brand-dot {
  color: #8b9298;
}
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #3a3c3f;
  border-radius: 8px;
  background: #151618;
  font-size: 20px;
  letter-spacing: -0.09em;
  font-weight: 800;
}
.brand-mark > span {
  position: absolute;
  right: 3px;
  top: 0;
  font-size: 10px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.3vw, 34px);
}
.main-nav > a {
  font-size: 12px;
  color: #a8adb2;
  font-weight: 500;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 22px;
}
.main-nav > a:hover,
.main-nav > a[aria-current="location"],
.main-nav > a[aria-current="page"] {
  color: #fff;
}
.main-nav > a.nav-contact {
  border: 1px solid #35383b;
  background: #131517;
  color: #f1f2f3;
  border-radius: 7px;
  padding: 0 17px;
}
.nav-contact:hover {
  border-color: #6f747a !important;
  background: #202225 !important;
}
.menu-toggle {
  display: none;
}
/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  column-gap: 45px;
  align-items: center;
  min-height: 730px;
  padding-top: 66px;
  padding-bottom: 86px;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d7dce0;
  box-shadow: 0 0 0 4px #ffffff08;
  flex-shrink: 0;
}
.hero h1 {
  font-size: clamp(76px, 8.35vw, 120px);
  letter-spacing: -0.075em;
  line-height: 0.98;
  font-weight: 750;
  margin: 31px 0 24px;
}
.hero-period {
  color: #7c8287;
}
.hero-outline {
  color: #969b9f;
}
.hero-role {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #b3b7bb;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-role > span {
  color: #4d5358;
}
.hero-intro {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  max-width: 440px;
}
.hero-intro > p:first-child {
  font-size: 18px;
  color: #e3e5e7;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.hero-intro > p + p {
  color: #a3a9af;
  font-size: 14px;
  margin-top: 5px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 48px;
  padding: 0 21px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 12px;
  border: 1px solid transparent;
}
.button-primary {
  background: #edeeef;
  color: #111214;
}
.button-primary:hover {
  background: #fff;
  transform: translateY(-2px);
}
.button-secondary {
  border-color: #3b3e42;
  background: #131517;
  color: #dfe2e5;
}
.button-secondary:hover {
  border-color: #82888e;
  background: #202326;
}
.text-link {
  font-size: 12px;
  color: #a7adb2;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
}
.text-link:hover {
  color: #fff;
}
.mobile-break {
  display: none;
}
.hero-art {
  position: relative;
  padding: 10px 0;
  max-width: 470px;
  width: 100%;
  justify-self: end;
}
.diagram-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: #727980;
  line-height: 1.8;
}
.diagram-label-top {
  padding: 0 25px 0 21px;
}
.diagram-label-bottom {
  padding: 0 24px 0 21px;
}
.tiny-cross {
  font-size: 20px;
  color: #8c9399;
}
.orbit-diagram {
  width: 100%;
  display: block;
}
.orbit-track {
  transform-origin: 240px 240px;
  animation: orbit 80s linear infinite;
  animation-play-state: paused;
}
.is-in-view .orbit-track {
  animation-play-state: running;
}
.page-hidden .orbit-track {
  animation-play-state: paused;
}
.hero-footer {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  color: #81878e;
}
.hero-footer .mono {
  font-size: 8px;
}
.scroll-link {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 40px;
}
.scroll-link > span {
  font-size: 22px;
  color: #b4b9bd;
}
.disciplines {
  border-block: 1px solid var(--line);
  background: #0d0e10;
}
.discipline-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #a9adb1;
  font-size: 12px;
  font-weight: 500;
}
.discipline-inner > span:nth-child(even) {
  color: #686f75;
  font-size: 18px;
}
/* Selected projects */
.section {
  padding-block: 110px 100px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 42px;
}
.section-heading h2 {
  margin-top: 22px;
  font-size: clamp(38px, 4vw, 55px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.08;
}
.section-description {
  color: #a3a9af;
  font-size: 14px;
  line-height: 1.8;
  padding-bottom: 5px;
}
.project-grid {
  display: grid;
  grid-template-columns: 1.16fr 1fr;
  gap: 24px;
}
.project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #303236;
  border-radius: var(--radius);
  background: #101113;
  transition: border-color 0.2s;
}
.project-card:hover {
  border-color: #555b61;
}
.project-preview {
  position: relative;
  height: 295px;
  overflow: hidden;
  border-bottom: 1px solid #2a2d30;
  background-color: #141618;
}
.preview-topline {
  position: absolute;
  top: 22px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #92999f;
  font-family: var(--mono);
  font-size: 9px;
}
.preview-topline .mono {
  font-size: 8px;
}
.mail-preview {
  background-image: radial-gradient(
    ellipse at 40% 95%,
    #252b30 0%,
    transparent 75%
  );
}
.mail-window {
  position: absolute;
  width: 90%;
  left: 6%;
  top: 66px;
  border: 1px solid #4b5055;
  border-radius: 9px 9px 0 0;
  background: #171a1e;
  box-shadow: 0 15px 40px #0005;
  transform: rotate(-3deg);
  transform-origin: 50% 80%;
  transition: transform 0.3s ease;
}
.project-card:hover .mail-window {
  transform: rotate(-1deg) translateY(-3px);
}
.window-top {
  height: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #202328;
  border-radius: 9px 9px 0 0;
  padding: 0 11px;
  font-size: 9px;
  color: #b9bec4;
}
.window-dots {
  display: flex;
  gap: 4px;
}
.window-dots i {
  width: 5px;
  height: 5px;
  display: block;
  border-radius: 50%;
  background: #626a73;
}
.window-control {
  font-size: 8px;
  color: #858e98;
}
.mail-app {
  display: grid;
  grid-template-columns: 113px 1fr;
  height: 230px;
}
.mail-sidebar {
  position: relative;
  padding: 14px 9px;
  background: #121519;
  border-right: 1px solid #30343a;
}
.mail-app-brand {
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
  margin: 0 0 12px 3px;
  color: #e0e4e9;
}
.mail-app-brand > span {
  color: #798da1;
}
.mini-compose {
  font-size: 8px;
  background: #e3e8ec;
  color: #20262d;
  padding: 6px 5px;
  border-radius: 4px;
  margin-bottom: 10px;
  font-weight: 600;
}
.mail-folder {
  font-size: 8px;
  padding: 5px 6px;
  color: #9099a3;
  display: flex;
  align-items: center;
  white-space: pre;
}
.mail-folder.selected {
  background: #272e36;
  color: #e6e9ed;
  border-radius: 4px;
}
.mail-folder > span {
  margin-left: auto;
  font-size: 7px;
}
.mail-profile {
  position: absolute;
  bottom: 13px;
  font-size: 7px;
  color: #b8bec6;
  display: flex;
  gap: 5px;
  align-items: center;
}
.mail-profile > span {
  background: #323b45;
  border-radius: 4px;
  padding: 3px 6px;
  font-size: 7px;
}
.mail-list {
  padding: 15px 13px;
}
.mail-list-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #e0e5eb;
  padding: 0 0 11px;
}
.mail-list-title > span {
  font-size: 7px;
  font-weight: 400;
  color: #939da8;
}
.mail-item {
  display: flex;
  gap: 8px;
  align-items: center;
  border-top: 1px solid #2c3239;
  padding: 12px 0;
}
.mail-avatar {
  display: grid;
  place-items: center;
  font-size: 9px;
  color: #c0cad4;
  background: #2c353f;
  border: 1px solid #3b454f;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.mail-item strong {
  display: block;
  font-size: 8px;
  font-weight: 500;
  color: #dce1e7;
  line-height: 1.5;
}
.mail-item div > span {
  display: block;
  font-size: 7px;
  line-height: 1.8;
  color: #87939f;
}
.mail-item > i {
  width: 4px;
  height: 4px;
  background: #9baec1;
  border-radius: 50%;
  margin-left: auto;
  flex-shrink: 0;
}
.mail-empty-lines {
  display: grid;
  gap: 6px;
  margin-top: 4px;
}
.mail-empty-lines > span {
  height: 3px;
  width: 70%;
  background: #272d34;
  border-radius: 4px;
}
.mail-empty-lines > span:nth-child(2) {
  width: 45%;
}
.mail-empty-lines > span:nth-child(3) {
  width: 60%;
}
.preview-caption {
  position: absolute;
  left: 19px;
  bottom: 12px;
  font-size: 7px;
  letter-spacing: 0.1em;
  background: #161a1e;
  color: #c0c8d0;
  padding: 3px 7px;
  border: 1px solid #3b434b;
  border-radius: 3px;
}
.project-info {
  padding: 26px 26px 22px;
}
.project-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.project-title-row h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.045em;
}
.project-title-row h3 > a {
  display: flex;
  align-items: center;
  gap: 9px;
}
.project-title-row h3 > a > span {
  font-size: 18px;
  color: #969da4;
}
.project-badge {
  border: 1px solid #3a3e42;
  border-radius: 4px;
  padding: 3px 7px;
  font-family: var(--mono);
  font-size: 7px;
  color: #a6afb7;
  white-space: nowrap;
}
.project-info > p {
  margin-top: 14px;
  color: #aab1b8;
  font-size: 14px;
  line-height: 1.85;
  max-width: 450px;
  min-height: 82px;
}
.project-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 21px;
  padding-top: 18px;
  border-top: 1px solid #292d31;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.tags > span {
  font-family: var(--mono);
  font-size: 8px;
  color: #929ca5;
  background: #1b1f23;
  padding: 4px 7px;
  border-radius: 3px;
}
.project-link {
  font-size: 11px;
  color: #d3d8dd;
  display: flex;
  gap: 16px;
  min-height: 35px;
  align-items: center;
}
.project-link:hover {
  color: #fff;
}
.projects-note {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  color: #7f878f;
  font-size: 8px;
}
/* About and contact */
.about-section {
  border-block: 1px solid var(--line);
  background: #0c0d0f;
  padding: 100px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.65fr;
  gap: 80px;
}
.about-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.about-symbol {
  font-size: 135px;
  line-height: 1;
  margin: 40px 0 29px;
  color: #b6bcc2;
  font-family: Arial, sans-serif;
}
.about-label > .mono {
  font-size: 7px;
  color: #727c86;
}
.about-copy h2 {
  font-size: clamp(32px, 3.4vw, 47px);
  font-weight: 550;
  letter-spacing: -0.05em;
  line-height: 1.15;
  margin-bottom: 28px;
}
.about-copy > p {
  color: #aab3bb;
  font-size: 15px;
  line-height: 1.9;
  max-width: 610px;
}
.about-copy > p + p {
  margin-top: 18px;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding-top: 23px;
}
.principles .mono {
  color: #78838c;
  font-size: 9px;
}
.principles h3 {
  font-size: 14px;
  font-weight: 550;
  margin: 13px 0 6px;
  letter-spacing: -0.01em;
}
.principles p {
  font-size: 12px;
  line-height: 1.8;
  color: #8c98a1;
}
.contact-section {
  padding-block: 98px 93px;
}
.contact-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.contact-top > .mono {
  color: #78838c;
  font-size: 7px;
}
.contact-section h2 {
  position: relative;
  margin-top: 33px;
  max-width: 900px;
  font-size: clamp(54px, 7.1vw, 94px);
  letter-spacing: -0.065em;
  font-weight: 550;
  line-height: 1.05;
}
.contact-star {
  position: absolute;
  right: 0;
  top: 8px;
  color: #e2e6e9;
  font-size: 100px;
  font-weight: 300;
}
.contact-bottom {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 39px;
}
.contact-email {
  font-size: clamp(17px, 2.2vw, 27px);
  font-weight: 450;
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 9px;
  border-bottom: 1px solid #626a71;
  overflow-wrap: anywhere;
}
.contact-email:hover {
  color: #fff;
  border-color: #fff;
}
.contact-email > span {
  color: #aeb8c0;
}
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid #353b40;
  border-radius: 5px;
  background: #121518;
  color: #aeb8c0;
  font-size: 10px;
  flex-shrink: 0;
}
.copy-button:hover {
  background: #20262b;
  border-color: #6e7d88;
  color: #fff;
}
.contact-helper {
  margin-top: 17px;
  font-size: 13px;
  color: #85919b;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 100px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: #8f9aa3;
}
.footer-brand {
  font-weight: 650;
  font-size: 13px;
  letter-spacing: -0.045em;
  color: #d3dae0;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}
.footer-links a:hover {
  color: #fff;
}
/* Shared detail pages */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8e99a2;
  font-size: 10px;
  padding-top: 35px;
}
.breadcrumb a {
  min-height: 40px;
  display: flex;
  align-items: center;
}
.breadcrumb a:hover {
  color: #fff;
}
.detail-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 75px;
  padding-block: 60px 85px;
}
.detail-hero h1 {
  font-size: clamp(50px, 6vw, 80px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.02;
  margin: 24px 0;
}
.detail-hero h1 > span {
  color: #a4adb5;
}
.detail-lead {
  font-size: 15px;
  color: #a4afb8;
  line-height: 1.85;
  max-width: 500px;
}
.detail-hero .hero-actions {
  gap: 12px;
  flex-wrap: wrap;
}
.detail-image-link {
  display: block;
  min-width: 0;
  border: 1px solid #363e46;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  cursor: zoom-in;
}
.detail-image-link:hover {
  border-color: #68798d;
}
.detail-image-link img {
  display: block;
  width: 100%;
  height: auto;
}
.detail-visual {
  border: 1px solid #363e46;
  background: #11161b;
  min-height: 320px;
  border-radius: var(--radius);
  padding: 35px;
  position: relative;
  overflow: hidden;
}
.detail-visual .mail-window {
  top: 70px;
  width: 94%;
  left: 8%;
  transform: rotate(-5deg);
}
.detail-tag {
  font-family: var(--mono);
  font-size: 8px;
  color: #929eaa;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.detail-section {
  padding-block: 65px 80px;
  border-top: 1px solid var(--line);
}
.detail-section h2 {
  font-size: clamp(28px, 3.3vw, 44px);
  font-weight: 550;
  letter-spacing: -0.04em;
  margin-top: 17px;
  max-width: 650px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 45px;
}
.feature {
  border-top: 1px solid #3a424a;
  padding-top: 23px;
}
.feature-icon {
  display: grid;
  place-items: center;
  border: 1px solid #3e4953;
  width: 38px;
  height: 38px;
  background: #161e25;
  border-radius: 9px;
  font-size: 18px;
  color: #d2dee8;
}
.feature h3 {
  font-size: 16px;
  margin: 20px 0 12px;
  font-weight: 550;
  letter-spacing: -0.025em;
}
.feature p {
  color: #a9b6c1;
  font-size: 14px;
  line-height: 1.9;
}
.info-band {
  border: 1px solid #333e47;
  padding: 32px;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  background: #11171c;
  margin-bottom: 80px;
}
.info-band h2 {
  font-size: 24px;
  letter-spacing: -0.035em;
  font-weight: 550;
}
.info-band p {
  font-size: 14px;
  color: #9cacb9;
  line-height: 1.9;
  margin-top: 12px;
}
.info-band .hero-actions {
  margin-top: 0;
  align-content: center;
  justify-content: flex-end;
}
.faq-section {
  max-width: 850px;
  margin: 0 auto 85px;
}
.faq-section h2 {
  font-size: 30px;
  letter-spacing: -0.04em;
  font-weight: 550;
  margin-bottom: 28px;
}
.faq-section details {
  border-top: 1px solid #323d46;
  padding: 0 3px;
}
.faq-section details:last-child {
  border-bottom: 1px solid #323d46;
}
.faq-section summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  cursor: pointer;
  min-height: 65px;
  font-size: 14px;
  color: #dce4eb;
  gap: 20px;
  padding-block: 18px;
}
.faq-section summary::-webkit-details-marker {
  display: none;
}
.faq-section summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 20px;
  color: #8ea1b1;
  flex-shrink: 0;
}
.faq-section details[open] summary::after {
  content: "−";
}
.faq-section details p {
  font-size: 14px;
  color: #9aafbf;
  line-height: 1.9;
  padding-bottom: 24px;
  max-width: 720px;
}
.faq-section details a {
  color: #d1e0ec;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.detail-contact {
  border-top: 1px solid var(--line);
  padding-block: 55px 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}
.detail-contact h2 {
  font-size: 32px;
  letter-spacing: -0.04em;
  font-weight: 550;
}
.detail-contact p {
  font-size: 14px;
  color: #95a7b5;
  margin-top: 10px;
}
@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}
/* Tablet */
@media (min-width: 1600px) {
  .hero {
    min-height: 800px;
  }
  .hero h1 {
    font-size: 128px;
  }
  .hero-art {
    max-width: 490px;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 64px);
  }
  .hero {
    column-gap: 20px;
    min-height: 680px;
  }
  .hero h1 {
    font-size: clamp(68px, 8.8vw, 98px);
  }
  .hero-art {
    max-width: 390px;
  }
  .hero-role {
    font-size: 9px;
    gap: 10px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .project-preview {
    height: 265px;
  }
  .mail-window {
    width: 96%;
    left: 4%;
  }
  .mail-app {
    grid-template-columns: 95px 1fr;
  }
  .project-info {
    padding: 23px 20px 20px;
  }
  .project-badge {
    font-size: 6px;
  }
  .tags {
    gap: 5px;
  }
  .tags > span {
    font-size: 7px;
    padding: 3px 5px;
  }
  .project-link {
    gap: 8px;
  }
  .about-grid {
    gap: 50px;
  }
  .contact-top > .mono {
    max-width: 240px;
    text-align: right;
  }
  .contact-star {
    right: 40px;
  }
  .detail-hero {
    gap: 35px;
  }
  .detail-visual {
    padding: 22px;
  }
}
@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1.2fr 0.85fr;
    min-height: 650px;
    column-gap: 12px;
  }
  .hero h1 {
    font-size: clamp(65px, 9.4vw, 80px);
  }
  .hero-art {
    margin-top: 20px;
  }
  .diagram-label {
    font-size: 6px;
  }
  .hero-intro > p:first-child {
    font-size: 16px;
  }
  .hero-intro > p + p {
    font-size: 13px;
  }
  .hero-actions {
    gap: 20px;
  }
  .hero .button {
    padding-inline: 15px;
    gap: 13px;
  }
  .hero-role {
    font-size: 8px;
    gap: 9px;
  }
  .hero .eyebrow {
    font-size: 7px;
    gap: 8px;
  }
  .discipline-inner {
    gap: 15px;
    min-height: 66px;
    font-size: 10px;
  }
  .discipline-inner > span:nth-child(even) {
    font-size: 13px;
  }
  .section {
    padding-block: 80px 70px;
  }
  .project-grid {
    gap: 18px;
    grid-template-columns: 1fr 1fr;
  }
  .project-preview {
    height: 235px;
  }
  .preview-topline {
    top: 17px;
    left: 17px;
    right: 17px;
  }
  .mail-window {
    top: 58px;
    min-width: 310px;
  }
  .mail-app {
    grid-template-columns: 90px 1fr;
  }
  .project-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .project-title-row h3 {
    font-size: 23px;
  }
  .project-info > p {
    font-size: 13px;
    min-height: 105px;
  }
  .project-bottom {
    align-items: flex-start;
    gap: 10px;
    flex-direction: column;
  }
  .project-badge {
    font-size: 7px;
  }
  .about-section {
    padding-block: 75px;
  }
  .about-grid {
    grid-template-columns: 0.8fr 1.5fr;
    gap: 40px;
  }
  .about-symbol {
    font-size: 110px;
  }
  .about-copy h2 {
    font-size: 32px;
  }
  .about-copy > p {
    font-size: 14px;
  }
  .principles {
    gap: 12px;
  }
  .principles h3 {
    font-size: 12px;
  }
  .principles p {
    font-size: 11px;
  }
  .about-label > .mono {
    font-size: 6px;
  }
  .contact-section {
    padding-block: 75px;
  }
  .contact-star {
    font-size: 80px;
    right: 25px;
  }
  .contact-email {
    gap: 16px;
  }
  .contact-bottom {
    gap: 22px;
  }
  .footer-links {
    gap: 15px;
  }
  .site-footer {
    font-size: 9px;
  }
  .detail-hero {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .detail-hero h1 {
    font-size: 48px;
  }
  .detail-lead {
    font-size: 14px;
  }
  .detail-hero .button {
    font-size: 10px;
    gap: 12px;
    padding-inline: 13px;
  }
  .detail-visual {
    min-height: 290px;
  }
  .feature-grid {
    gap: 24px;
  }
  .info-band {
    gap: 25px;
    padding: 25px;
  }
  .info-band .button {
    font-size: 10px;
    gap: 10px;
    padding-inline: 12px;
  }
  .info-band .hero-actions {
    gap: 10px;
  }
  .detail-contact h2 {
    font-size: 27px;
  }
}
/* Phone: content is always visible if JavaScript is unavailable. */
@media (max-width: 600px) {
  html {
    scroll-padding-top: 85px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .nav-wrap {
    min-height: 72px;
    gap: 14px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 14px;
    gap: 9px;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
  .menu-toggle:not([hidden]) {
    display: flex;
    width: 44px;
    height: 44px;
    border: 1px solid #353b40;
    border-radius: 6px;
    background: #111518;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 12px;
  }
  .menu-toggle > span {
    display: block;
    width: 17px;
    height: 1px;
    background: #e8eef3;
    transition: transform 0.18s;
  }
  .menu-toggle[aria-expanded="true"] > span:first-child {
    transform: translateY(3px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] > span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }
  .main-nav {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 18px;
    border-top: 1px solid #262f36;
    padding-block: 12px 17px;
  }
  .main-nav > a {
    font-size: 12px;
    min-height: 44px;
  }
  .js .main-nav {
    display: none;
  }
  .js .main-nav.is-open {
    display: flex;
  }
  .main-nav > a.nav-contact {
    padding: 0 13px;
    gap: 15px;
  }
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 56px;
    padding-bottom: 80px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 0.05em;
    gap: 9px;
  }
  .hero h1 {
    font-size: clamp(66px, 17.3vw, 101px);
    margin: 29px 0 23px;
  }
  .hero-role {
    font-size: 10px;
    letter-spacing: 0.02em;
    gap: 12px;
  }
  .hero-intro {
    margin-top: 28px;
    padding-top: 22px;
    max-width: none;
  }
  .hero-intro > p:first-child {
    font-size: 17px;
  }
  .hero-intro > p + p {
    font-size: 14px;
    line-height: 1.9;
    margin-top: 7px;
  }
  .hero .hero-actions {
    gap: 24px;
    margin-top: 24px;
  }
  .hero .button {
    padding-inline: 18px;
    gap: 22px;
    min-height: 47px;
  }
  .text-link {
    font-size: 11px;
    gap: 11px;
  }
  .hero-art {
    justify-self: center;
    max-width: 340px;
    margin-top: 40px;
    display: none;
  }
  .hero-footer {
    bottom: 20px;
  }
  .hero-footer .mono {
    font-size: 6px;
  }
  .scroll-link {
    gap: 12px;
  }
  .scroll-link > span {
    font-size: 18px;
  }
  .discipline-inner {
    display: grid;
    grid-template-columns: 1fr 20px 1fr;
    gap: 12px;
    padding-block: 19px;
    text-align: center;
    font-size: 10px;
  }
  .discipline-inner > span:nth-child(4) {
    display: none;
  }
  .discipline-inner > span:nth-child(6) {
    grid-row: 2;
    grid-column: 2;
  }
  .discipline-inner > span:nth-child(5) {
    grid-row: 2;
    grid-column: 1;
  }
  .discipline-inner > span:nth-child(7) {
    grid-row: 2;
    grid-column: 3;
  }
  .section {
    padding-block: 65px 58px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 29px;
  }
  .section-heading h2 {
    font-size: 40px;
    margin-top: 19px;
  }
  .section-description {
    font-size: 13px;
    max-width: 290px;
  }
  .desktop-break {
    display: none;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .project-preview {
    height: 265px;
  }
  .mail-window {
    width: 92%;
    left: 6%;
    top: 64px;
    min-width: 0;
  }
  .mail-app {
    grid-template-columns: 90px 1fr;
  }
  .mail-list {
    padding-inline: 10px;
  }
  .mail-list-title {
    font-size: 13px;
  }
  .mail-item strong {
    font-size: 7px;
  }
  .mail-item div > span {
    font-size: 6px;
  }
  .mail-item {
    gap: 6px;
  }
  .mail-avatar {
    width: 22px;
    height: 22px;
    font-size: 8px;
  }
  .project-info {
    padding: 23px 21px 20px;
  }
  .project-title-row {
    align-items: center;
    flex-direction: row;
    gap: 10px;
  }
  .project-title-row h3 {
    font-size: 25px;
  }
  .project-badge {
    font-size: 6px;
  }
  .project-info > p {
    min-height: 0;
    font-size: 14px;
    line-height: 1.85;
  }
  .project-bottom {
    align-items: center;
    flex-direction: row;
    gap: 10px;
    margin-top: 18px;
    padding-top: 14px;
  }
  .tags > span {
    font-size: 7px;
    padding: 4px 6px;
  }
  .project-link {
    font-size: 10px;
    gap: 9px;
  }
  .projects-note {
    font-size: 6px;
    gap: 12px;
  }
  .about-section {
    padding-block: 55px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about-label {
    display: block;
  }
  .about-symbol,
  .about-label > .mono {
    display: none;
  }
  .about-copy h2 {
    font-size: 34px;
    line-height: 1.17;
    margin-bottom: 24px;
  }
  .about-copy > p {
    font-size: 14px;
    line-height: 1.95;
  }
  .principles {
    margin-top: 31px;
    gap: 14px;
    padding-top: 19px;
  }
  .principles h3 {
    font-size: 12px;
    line-height: 1.5;
    margin-top: 10px;
  }
  .principles p {
    font-size: 11px;
    line-height: 1.8;
  }
  .contact-section {
    padding-block: 57px 60px;
  }
  .contact-top > .mono {
    display: none;
  }
  .contact-section h2 {
    font-size: clamp(48px, 12vw, 70px);
    margin-top: 26px;
  }
  .contact-star {
    display: none;
  }
  .contact-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-top: 28px;
  }
  .contact-email {
    font-size: clamp(17px, 4.65vw, 25px);
    gap: 15px;
    max-width: 100%;
  }
  .copy-button {
    font-size: 11px;
    min-height: 44px;
    padding-inline: 13px;
  }
  .contact-helper {
    font-size: 12px;
    line-height: 1.85;
    max-width: 310px;
    margin-top: 18px;
  }
  .site-footer {
    padding-block: 26px;
    gap: 9px 18px;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 11px;
  }
  .footer-brand {
    font-size: 12px;
  }
  .footer-links {
    width: 100%;
    gap: 25px;
    margin-top: 5px;
    justify-content: space-between;
  }
  .footer-links > a {
    min-height: 40px;
  }
  .breadcrumb {
    padding-top: 18px;
    font-size: 9px;
  }
  .detail-hero {
    grid-template-columns: 1fr;
    padding-block: 35px 50px;
    gap: 38px;
  }
  .detail-hero h1 {
    font-size: clamp(44px, 11.6vw, 67px);
    margin-block: 23px;
  }
  .detail-lead {
    font-size: 14px;
    line-height: 1.95;
  }
  .detail-hero .hero-actions {
    margin-top: 25px;
  }
  .detail-hero .button {
    font-size: 11px;
    gap: 15px;
    padding-inline: 16px;
  }
  .detail-visual {
    min-height: 290px;
    padding: 23px;
  }
  .detail-visual .mail-window {
    width: 96%;
    left: 5%;
    top: 70px;
  }
  .detail-section {
    padding-block: 48px 55px;
  }
  .detail-section h2 {
    font-size: 33px;
    margin-top: 18px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 29px;
    margin-top: 32px;
  }
  .feature {
    padding-top: 23px;
  }
  .feature h3 {
    margin-top: 16px;
    font-size: 18px;
  }
  .feature p {
    font-size: 14px;
  }
  .info-band {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 25px 23px;
    margin-bottom: 55px;
  }
  .info-band h2 {
    font-size: 23px;
  }
  .info-band .hero-actions {
    justify-content: flex-start;
    gap: 10px;
  }
  .faq-section {
    margin-bottom: 50px;
  }
  .faq-section h2 {
    font-size: 28px;
  }
  .faq-section summary {
    font-size: 14px;
    line-height: 1.7;
    min-height: 65px;
  }
  .detail-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    padding-block: 40px 55px;
  }
  .detail-contact h2 {
    font-size: 30px;
  }
  .detail-contact p {
    font-size: 13px;
  }
  .detail-contact .button {
    font-size: 11px;
  }
}
@media (max-width: 350px) {
  .container {
    width: calc(100% - 32px);
  }
  .hero .eyebrow {
    font-size: 7px;
  }
  .hero-role {
    gap: 8px;
    font-size: 8px;
  }
  .hero .hero-actions {
    gap: 18px;
  }
  .hero .button {
    font-size: 11px;
    gap: 14px;
    padding-inline: 15px;
  }
  .project-info {
    padding-inline: 17px;
  }
  .project-badge {
    font-size: 5px;
  }
  .tags > span {
    font-size: 6px;
    padding: 4px;
  }
  .project-title-row h3 {
    font-size: 22px;
  }
  .contact-email {
    font-size: 16px;
    gap: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .project-card:hover .mail-window {
    transform: rotate(-3deg);
  }
  .button-primary:hover {
    transform: none;
  }
}
