:root {
  --paper: #f2ece2;
  --paper-deep: #e9dfd0;
  --cream: #fbf8f1;
  --ink: #17211c;
  --ink-soft: #546057;
  --ink-faint: #7a827b;
  --forest: #15352a;
  --forest-deep: #0a1f18;
  --moss: #809284;
  --brass: #b48a5c;
  --brass-soft: #d8bd98;
  --line: rgba(23, 33, 28, 0.16);
  --line-strong: rgba(23, 33, 28, 0.28);
  --line-light: rgba(247, 240, 228, 0.2);
  --serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
  --header-h: 88px;
  --page-pad: clamp(20px, 4.2vw, 68px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 22px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open,
body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--forest);
  color: var(--cream);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  margin: 0;
  color: inherit;
  font: inherit;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
p,
blockquote,
figure,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 400;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 4px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.shell {
  width: min(1280px, calc(100% - var(--page-pad) * 2));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--cream);
  color: var(--ink);
  font-size: 13px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- Shared type ---------- */

.display-title {
  max-width: 13em;
  margin-top: 22px;
  font-family: var(--serif);
  font-size: clamp(38px, 4.65vw, 66px);
  line-height: 1.3;
  letter-spacing: 0.015em;
  text-wrap: balance;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--brass);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-kicker span {
  color: var(--ink-faint);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.section-kicker::after {
  width: 38px;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.55;
}

.section-kicker-light {
  color: var(--brass-soft);
}

.section-kicker-light span {
  color: rgba(247, 240, 228, 0.52);
}

.section {
  padding-block: clamp(94px, 11.5vw, 158px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.58fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: end;
  margin-bottom: clamp(44px, 5.6vw, 72px);
}

.section-head-dark {
  color: var(--cream);
}

.section-head-copy {
  max-width: 390px;
  justify-self: end;
  padding-bottom: 8px;
}

.section-head-copy p {
  color: rgba(247, 240, 228, 0.62);
  font-size: 13.5px;
  line-height: 2;
}

.head-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--brass-soft);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.head-note::before {
  width: 24px;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.6;
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.07em;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-light {
  background: var(--cream);
  color: var(--ink);
}

.btn-light:hover {
  background: var(--brass-soft);
}

.btn-dark {
  background: var(--forest);
  color: var(--cream);
}

.btn-dark:hover {
  background: var(--forest-deep);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: none;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.text-link svg {
  width: 17px;
  height: 17px;
  transition: transform 0.35s var(--ease);
}

.text-link:hover svg {
  transform: translateX(4px);
}

.text-link-light {
  color: var(--cream);
}

.text-link-line {
  display: block;
  width: 44px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
  transition: width 0.35s var(--ease);
}

.text-link:hover .text-link-line {
  width: 62px;
}

.text-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 12px;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.text-button svg {
  width: 16px;
  height: 16px;
}

.text-button-light {
  color: rgba(247, 240, 228, 0.78);
}

.text-button-light:hover {
  color: var(--cream);
}

.circle-button {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.circle-button svg {
  width: 18px;
  height: 18px;
}

.circle-button:hover:not(:disabled) {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--cream);
}

.circle-button:disabled {
  cursor: default;
  opacity: 0.28;
}

/* ---------- Demo banner ---------- */

.demo-banner {
  position: relative;
  z-index: 70;
  background: #e7d5ba;
  color: #3f3528;
}

.demo-banner-inner {
  display: flex;
  width: min(1280px, calc(100% - var(--page-pad) * 2));
  min-height: 38px;
  align-items: center;
  gap: 14px;
  margin-inline: auto;
  padding-block: 7px;
}

.demo-badge {
  flex: 0 0 auto;
  padding: 3px 8px;
  border: 1px solid rgba(63, 53, 40, 0.35);
  border-radius: 2px;
  font-size: 9px;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.demo-banner p {
  flex: 1;
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.demo-close {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  opacity: 0.7;
}

.demo-close:hover {
  background: rgba(63, 53, 40, 0.1);
  opacity: 1;
}

.demo-close svg {
  width: 14px;
  height: 14px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
  height: var(--header-h);
  margin-bottom: calc(var(--header-h) * -1);
  color: var(--cream);
  transition:
    background-color 0.45s var(--ease),
    color 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(248, 244, 236, 0.94);
  box-shadow: 0 1px 0 rgba(23, 33, 28, 0.08);
  color: var(--ink);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.site-header.menu-is-open {
  background: transparent;
  box-shadow: none;
  color: var(--cream);
}

.header-inner {
  display: flex;
  width: min(1280px, calc(100% - var(--page-pad) * 2));
  height: 100%;
  align-items: center;
  gap: 30px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-flex;
  width: 43px;
  height: 43px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(247, 240, 228, 0.38);
  border-radius: 50%;
  color: var(--brass-soft);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1;
  transition: border-color 0.4s ease;
}

.brand-type {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-type strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.25;
}

.brand-type small {
  font-size: 7px;
  letter-spacing: 0.26em;
  line-height: 1.4;
  opacity: 0.62;
}

.is-scrolled .brand-mark {
  border-color: var(--line-strong);
  color: var(--brass);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.6vw, 40px);
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  padding-block: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  opacity: 0.76;
  transition: opacity 0.3s ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  opacity: 1;
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 22px;
  margin-left: 12px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.header-phone svg {
  width: 14px;
  height: 14px;
}

.menu-toggle {
  display: none;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 10px 0 10px 10px;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-toggle-label {
  font-size: 10px;
  letter-spacing: 0.14em;
}

.menu-toggle-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 12px;
}

.menu-toggle-icon i {
  position: absolute;
  left: 0;
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition:
    transform 0.35s var(--ease),
    top 0.35s var(--ease);
}

.menu-toggle-icon i:first-child {
  top: 2px;
}

.menu-toggle-icon i:last-child {
  top: 9px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon i:first-child {
  top: 6px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon i:last-child {
  top: 6px;
  transform: rotate(-45deg);
}

/* ---------- Mobile menu ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 50px) var(--page-pad) calc(34px + env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 100% 0%, rgba(147, 177, 148, 0.16), transparent 38%),
    var(--forest-deep);
  color: var(--cream);
  opacity: 0;
  transition: opacity 0.38s var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--serif);
  font-size: clamp(31px, 8vw, 44px);
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.mobile-menu nav a span {
  color: var(--brass);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.mobile-menu nav a:focus-visible {
  outline-color: var(--brass-soft);
  outline-offset: -2px;
}

.mobile-menu-foot {
  padding-top: 32px;
}

.mobile-menu-label {
  color: var(--brass-soft);
  font-size: 9px;
  letter-spacing: 0.2em;
}

.mobile-menu-phone {
  display: inline-block;
  margin: 4px 0 9px;
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: 0.04em;
}

.mobile-menu-foot > p:last-child {
  color: rgba(247, 240, 228, 0.55);
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  height: 100svh;
  min-height: 760px;
  max-height: 980px;
  align-items: flex-start;
  overflow: hidden;
  background: var(--forest-deep);
  color: var(--cream);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  z-index: 0;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  transform: scale(1.015);
  animation: hero-settle 2.2s var(--ease) both;
}

.hero-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 16, 11, 0.92) 0%, rgba(5, 18, 13, 0.75) 34%, rgba(6, 18, 13, 0.18) 68%, rgba(7, 17, 13, 0.32) 100%),
    linear-gradient(0deg, rgba(5, 15, 11, 0.8) 0%, transparent 36%),
    linear-gradient(180deg, rgba(4, 13, 10, 0.62) 0%, transparent 26%);
}

@keyframes hero-settle {
  from {
    opacity: 0.4;
    transform: scale(1.07);
  }
  to {
    opacity: 1;
    transform: scale(1.015);
  }
}

.hero-inner {
  position: relative;
  z-index: 3;
  padding-top: calc(var(--header-h) + clamp(72px, 11vh, 130px));
  padding-bottom: 180px;
}

.hero-copy {
  max-width: 720px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 15px;
  color: rgba(247, 240, 228, 0.72);
  font-size: 11px;
  letter-spacing: 0.22em;
}

.eyebrow-line {
  display: block;
  width: 46px;
  height: 1px;
  background: var(--brass-soft);
  opacity: 0.8;
}

.hero h1 {
  max-width: 100%;
  margin-top: clamp(22px, 3vh, 34px);
  overflow-wrap: break-word;
  font-family: var(--serif);
  font-size: clamp(52px, 6.25vw, 90px);
  letter-spacing: 0.025em;
  line-height: 1.16;
  white-space: pre-line;
}

.hero-lead {
  max-width: 480px;
  margin-top: 28px;
  color: rgba(247, 240, 228, 0.65);
  font-size: 14.5px;
  letter-spacing: 0.025em;
  line-height: 2;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 38px;
}

.hero-hours {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  color: rgba(247, 240, 228, 0.5);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.hero-hours svg {
  width: 14px;
  height: 14px;
}

.hero-foot {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 0.7fr;
  gap: 36px;
  padding-block: 24px 27px;
  border-top: 1px solid rgba(247, 240, 228, 0.17);
}

.hero-foot-item {
  min-width: 0;
}

.hero-foot-label {
  display: block;
  margin-bottom: 4px;
  color: var(--brass-soft);
  font-size: 9px;
  letter-spacing: 0.2em;
}

.hero-foot-item p,
.hero-foot-item a {
  color: rgba(247, 240, 228, 0.72);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  line-height: 1.7;
}

.hero-foot-item a:hover {
  color: var(--cream);
}

.hero-foot-contact {
  text-align: right;
}

.hero-scroll {
  position: absolute;
  right: var(--page-pad);
  bottom: 110px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(247, 240, 228, 0.55);
  font-size: 8px;
  letter-spacing: 0.22em;
}

.hero-scroll svg {
  width: 18px;
  height: 18px;
  animation: nudge-down 2.6s ease-in-out infinite;
}

@keyframes nudge-down {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

/* ---------- Intro ---------- */

.intro {
  position: relative;
  overflow: hidden;
}

.intro::before {
  position: absolute;
  bottom: -0.2em;
  left: -0.08em;
  color: var(--forest);
  content: "足";
  font-family: var(--serif);
  font-size: clamp(300px, 36vw, 560px);
  line-height: 1;
  opacity: 0.025;
  pointer-events: none;
}

.intro-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(40px, 8.5vw, 124px);
  align-items: start;
}

.intro-aside {
  position: sticky;
  top: calc(var(--header-h) + 46px);
}

.intro-aside .display-title {
  max-width: 9.8em;
}

.intro-aside-foot {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: clamp(44px, 6vw, 78px);
}

.vertical-rule {
  display: block;
  width: 1px;
  height: 72px;
  background: var(--brass);
  opacity: 0.65;
}

.intro-aside-foot p {
  color: var(--ink-faint);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.18em;
  line-height: 2.1;
}

.intro-body {
  padding-top: clamp(4px, 3vw, 44px);
}

.intro-copy p {
  color: var(--ink-soft);
  font-size: 15.5px;
  letter-spacing: 0.02em;
  line-height: 2.2;
}

.intro-copy p + p {
  margin-top: 24px;
}

.intro-copy p:first-child {
  color: var(--ink);
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 2.05;
}

.highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 40px;
}

.highlights span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 248, 241, 0.35);
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.intro-signoff {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: start;
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.intro-signoff > svg {
  width: 24px;
  height: 24px;
  margin-top: 4px;
  color: var(--brass);
}

.intro-signoff p {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.04em;
  line-height: 1.9;
}

.intro-signoff small {
  padding-top: 8px;
  color: var(--ink-faint);
  font-size: 7.5px;
  letter-spacing: 0.19em;
}

/* ---------- Team ---------- */

.team {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 6%, rgba(157, 181, 158, 0.14), transparent 33%),
    linear-gradient(145deg, #193c2f 0%, #102b22 62%, #0d251c 100%);
  color: var(--cream);
}

.team::after {
  position: absolute;
  top: 0;
  right: 8%;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(247, 240, 228, 0.1) 30%, transparent 76%);
  content: "";
  pointer-events: none;
}

.team-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: rgba(198, 172, 136, 0.08);
  filter: blur(90px);
  pointer-events: none;
}

.team .shell {
  position: relative;
  z-index: 2;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(36px, 4.2vw, 54px) clamp(16px, 2vw, 26px);
}

.tech-card {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.tech-photo {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 48% 48% 3px 3px / 31% 31% 3px 3px;
  background: #0b2119;
  box-shadow: inset 0 0 0 1px rgba(247, 240, 228, 0.12);
}

.tech-photo::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(7, 20, 15, 0.58));
  content: "";
  pointer-events: none;
}

.tech-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
  transition: transform 0.9s var(--ease), filter 0.9s var(--ease);
}

.tech-card:hover .tech-photo img {
  filter: saturate(1.06);
  transform: scale(1.045);
}

.tech-number {
  position: absolute;
  top: 20px;
  left: 24px;
  z-index: 2;
  color: rgba(247, 240, 228, 0.76);
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.tech-number::after {
  display: inline-block;
  width: 22px;
  height: 1px;
  margin: 0 0 3px 9px;
  background: currentColor;
  content: "";
  opacity: 0.5;
}

.tech-view {
  position: absolute;
  bottom: 20px;
  left: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(247, 240, 228, 0.72);
  font-size: 9px;
  letter-spacing: 0.13em;
}

.tech-view svg {
  width: 13px;
  height: 13px;
  transition: transform 0.4s var(--ease);
}

.tech-card:hover .tech-view svg {
  transform: translate(2px, -2px);
}

.tech-info {
  display: block;
  padding-top: 16px;
  border-top: 1px solid rgba(247, 240, 228, 0.17);
}

.tech-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tech-name {
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 28px);
  letter-spacing: 0.05em;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.tech-card:hover .tech-name {
  color: var(--brass-soft);
}

.tech-arrow {
  display: inline-flex;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(247, 240, 228, 0.23);
  border-radius: 50%;
  color: rgba(247, 240, 228, 0.7);
  transition:
    background-color 0.35s ease,
    color 0.35s ease,
    transform 0.35s var(--ease);
}

.tech-arrow svg {
  width: 13px;
  height: 13px;
}

.tech-card:hover .tech-arrow {
  background: var(--brass-soft);
  color: var(--forest-deep);
  transform: rotate(45deg);
}

.tech-title {
  display: block;
  margin-top: 2px;
  color: var(--brass-soft);
  font-size: 10.5px;
  letter-spacing: 0.12em;
}

.tech-tags {
  display: flex;
  overflow: hidden;
  flex-wrap: nowrap;
  gap: 0;
  margin-top: 13px;
  color: rgba(247, 240, 228, 0.48);
  font-size: 10.5px;
  letter-spacing: 0.035em;
  white-space: nowrap;
}

.tech-tag + .tech-tag::before {
  margin: 0 7px;
  content: "·";
  opacity: 0.55;
}

.tech-card:focus-visible {
  outline: none;
}

.tech-card:focus-visible .tech-photo {
  outline: 2px solid var(--brass-soft);
  outline-offset: 5px;
}

.tech-skeleton {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 48% 48% 3px 3px / 31% 31% 3px 3px;
  background: rgba(247, 240, 228, 0.055);
}

.tech-skeleton::after,
.gallery-skeleton::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(247, 240, 228, 0.07) 48%, transparent 76%);
  content: "";
  transform: translateX(-100%);
  animation: skeleton-shimmer 1.8s ease-in-out infinite;
}

@keyframes skeleton-shimmer {
  to {
    transform: translateX(100%);
  }
}

.tech-empty,
.tech-error {
  display: flex;
  min-height: 240px;
  grid-column: 1 / -1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border: 1px solid var(--line-light);
  color: rgba(247, 240, 228, 0.62);
  text-align: center;
}

.tech-empty p,
.tech-error p {
  font-size: 13px;
  line-height: 1.9;
}

.retry-button {
  min-height: 42px;
  margin-top: 18px;
  padding: 0 20px;
  border: 1px solid rgba(247, 240, 228, 0.36);
  border-radius: 999px;
  background: transparent;
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.team-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(46px, 5vw, 68px);
  padding-top: 26px;
  border-top: 1px solid var(--line-light);
}

.team-foot > p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(247, 240, 228, 0.42);
  font-size: 10px;
  letter-spacing: 0.03em;
}

.team-foot > p svg {
  width: 14px;
  height: 14px;
  color: var(--brass-soft);
}

/* ---------- Gallery ---------- */

.gallery {
  overflow: hidden;
}

.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.gallery-head-side {
  width: min(360px, 38%);
  flex: 0 0 auto;
  padding-bottom: 5px;
}

.gallery-head-side > p {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 2;
}

.gallery-controls {
  display: flex;
  gap: 9px;
  margin-top: 24px;
}

.gallery-track {
  display: grid;
  overflow-x: auto;
  grid-auto-columns: calc((100% - 48px) / 3);
  grid-auto-flow: column;
  gap: 24px;
  margin-top: 8px;
  padding-bottom: 6px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery-track[data-count="1"] {
  grid-auto-columns: 100%;
}

.gallery-track[data-count="2"] {
  grid-auto-columns: calc((100% - 24px) / 2);
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 2px;
  aspect-ratio: 4 / 3;
  background: var(--paper-deep);
  cursor: zoom-in;
  scroll-snap-align: start;
}

.gallery-card::after {
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(180deg, transparent, rgba(6, 18, 13, 0.62));
  content: "";
  pointer-events: none;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.gallery-card:hover img {
  transform: scale(1.035);
}

.gallery-no {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  color: rgba(247, 240, 228, 0.75);
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.gallery-caption {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 17px;
  left: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.08em;
  text-align: left;
}

.gallery-caption svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  opacity: 0.72;
}

.gallery-skeleton {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-deep);
}

.gallery-hint {
  margin-top: 20px;
  color: var(--ink-faint);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-align: center;
}

.gallery-hint span {
  margin-inline: 5px;
  opacity: 0.6;
}

/* ---------- Visit ---------- */

.visit {
  padding-top: clamp(60px, 7vw, 96px);
}

.visit-card {
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  background: var(--forest);
  color: var(--cream);
}

.visit-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(38px, 5.2vw, 72px);
}

.visit-info .display-title {
  font-size: clamp(36px, 4vw, 56px);
}

.visit-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 27px 30px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
}

.visit-list > div:first-child,
.visit-list > div:nth-child(2) {
  grid-column: 1 / -1;
}

.visit-list > div:nth-child(2) {
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
}

.visit-list dt {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--brass-soft);
  font-size: 9.5px;
  letter-spacing: 0.16em;
}

.visit-list dt svg {
  width: 14px;
  height: 14px;
}

.visit-list dd {
  margin-top: 5px;
  color: rgba(247, 240, 228, 0.92);
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.045em;
  line-height: 1.65;
}

.visit-list dd a:hover {
  color: var(--brass-soft);
}

.visit-list div > p {
  margin-top: 2px;
  color: rgba(247, 240, 228, 0.45);
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1.8;
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: auto;
  padding-top: 38px;
}

.visit-map {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #e7ddca;
}

.map-art {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  stroke: none;
}

.map-topline {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(22, 53, 43, 0.12);
  border-radius: 999px;
  background: rgba(251, 248, 241, 0.86);
  color: var(--forest);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.map-pulse {
  position: relative;
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #50745b;
}

.map-pulse::after {
  position: absolute;
  inset: -4px;
  border: 1px solid #50745b;
  border-radius: 50%;
  content: "";
  animation: map-pulse 2.4s ease-out infinite;
}

@keyframes map-pulse {
  from {
    opacity: 0.65;
    transform: scale(0.55);
  }
  to {
    opacity: 0;
    transform: scale(1.35);
  }
}

.map-card {
  position: absolute;
  right: 24px;
  bottom: 48px;
  left: 24px;
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  background: rgba(251, 248, 241, 0.94);
  color: var(--ink);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.map-card small {
  color: var(--brass);
  font-size: 7.5px;
  letter-spacing: 0.19em;
}

.map-card strong {
  margin-top: 2px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.map-card span {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 9.5px;
  line-height: 1.6;
}

.map-disclaimer {
  position: absolute;
  right: 24px;
  bottom: 18px;
  left: 24px;
  color: rgba(23, 33, 28, 0.44);
  font-size: 8px;
  letter-spacing: 0.03em;
  text-align: center;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 70px 0 26px;
  background: var(--forest-deep);
  color: var(--cream);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 54px;
}

.brand-footer .brand-mark {
  width: 46px;
  height: 46px;
}

.brand-footer .brand-type strong {
  font-size: 23px;
}

.footer-brand > p {
  margin-top: 17px;
  color: rgba(247, 240, 228, 0.42);
  font-size: 10px;
  letter-spacing: 0.09em;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 5px;
}

.footer-nav a {
  width: fit-content;
  color: rgba(247, 240, 228, 0.55);
  font-size: 11px;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}

.footer-nav a:hover {
  color: var(--brass-soft);
}

.footer-contact {
  justify-self: end;
  padding-top: 4px;
  text-align: right;
}

.footer-contact > a {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 0.04em;
}

.footer-contact > a:hover {
  color: var(--brass-soft);
}

.footer-contact p {
  margin-top: 4px;
  color: rgba(247, 240, 228, 0.42);
  font-size: 10px;
  letter-spacing: 0.02em;
  line-height: 1.75;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(247, 240, 228, 0.12);
  color: rgba(247, 240, 228, 0.3);
  font-size: 8.5px;
  letter-spacing: 0.03em;
}

.footer-bottom div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.footer-admin {
  color: rgba(247, 240, 228, 0.48);
}

.footer-admin:hover {
  color: var(--brass-soft);
}

/* ---------- Mobile dock ---------- */

.mobile-dock {
  display: none;
}

/* ---------- Dialogs ---------- */

dialog {
  color: var(--ink);
}

dialog::backdrop {
  background: rgba(4, 15, 11, 0.72);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.tech-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.tech-dialog[open] {
  display: block;
}

.tech-sheet {
  position: absolute;
  inset: 0;
  display: grid;
  overflow: hidden;
  width: min(1110px, calc(100vw - 84px));
  height: min(790px, calc(100dvh - 84px));
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  margin: auto;
  background: var(--cream);
  box-shadow: 0 40px 100px rgba(3, 12, 8, 0.42);
  animation: sheet-in 0.55s var(--ease) both;
}

@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal-close {
  position: absolute;
  z-index: 8;
  top: 20px;
  right: 20px;
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(251, 248, 241, 0.9);
  color: var(--ink);
  cursor: pointer;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.modal-close:hover {
  background: var(--forest);
  color: var(--cream);
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.tech-modal-gallery {
  display: flex;
  min-height: 0;
  flex-direction: column;
  background: #162f25;
}

.tech-modal-photo {
  position: relative;
  overflow: hidden;
  min-height: 0;
  flex: 1;
  background: #162f25;
}

.tech-modal-thumbs {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
  overflow-x: auto;
  padding: 9px 12px;
  background: #0e2119;
  scrollbar-color: rgba(247, 240, 228, 0.3) transparent;
  scrollbar-width: thin;
}

.tech-modal-thumbs[hidden] {
  display: none;
}

.tech-modal-thumb {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 2px;
  background: #162f25;
  cursor: pointer;
  opacity: 0.6;
  transition:
    border-color 0.2s ease,
    opacity 0.2s ease;
}

.tech-modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tech-modal-thumb:hover,
.tech-modal-thumb.is-active {
  border-color: var(--brass-soft);
  opacity: 1;
}

.tech-modal-thumb:focus-visible {
  outline: 2px solid var(--brass-soft);
  outline-offset: 2px;
}

.tech-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.tech-modal-photo::after {
  position: absolute;
  inset: 62% 0 0;
  background: linear-gradient(180deg, transparent, rgba(5, 17, 12, 0.5));
  content: "";
  pointer-events: none;
}

.tech-modal-number {
  position: absolute;
  z-index: 2;
  bottom: 24px;
  left: 28px;
  color: rgba(247, 240, 228, 0.7);
  font-family: var(--serif);
  font-size: 66px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}

.tech-modal-body {
  overflow-y: auto;
  padding: clamp(36px, 5vw, 68px);
  scrollbar-color: rgba(23, 33, 28, 0.2) transparent;
  scrollbar-width: thin;
}

.modal-kicker {
  color: var(--brass);
  font-size: 9px;
  letter-spacing: 0.2em;
}

.tech-modal-name {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: clamp(40px, 4.8vw, 62px);
  letter-spacing: 0.05em;
  line-height: 1.25;
}

.tech-modal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 11.5px;
  letter-spacing: 0.06em;
}

.tech-modal-meta i {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--brass);
  opacity: 0.65;
}

.tech-quote {
  margin-top: 26px;
  padding-left: 18px;
  border-left: 1px solid var(--brass);
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(18px, 1.9vw, 22px);
  letter-spacing: 0.02em;
  line-height: 1.75;
}

.tech-specialty-block {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 28px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}

.detail-label {
  flex: 0 0 auto;
  padding-top: 4px;
  color: var(--ink-faint);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.tech-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tech-modal-tags span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.03em;
}

.tech-modal-intro {
  margin-top: 26px;
  color: var(--ink-soft);
  font-size: 13.5px;
  letter-spacing: 0.015em;
  line-height: 2.05;
}

.tech-modal-intro p + p {
  margin-top: 14px;
}

.tech-demo-note {
  margin-top: 20px;
  padding: 10px 13px;
  border-left: 2px solid var(--brass);
  background: var(--paper);
  color: var(--ink-faint);
  font-size: 10px;
  line-height: 1.8;
}

.tech-modal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.tech-modal-actions .btn {
  min-height: 48px;
  padding-inline: 20px;
  font-size: 12px;
}

.tech-modal-foot {
  margin-top: 14px;
  color: var(--ink-faint);
  font-size: 9px;
  letter-spacing: 0.02em;
}

/* Lightbox */

.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox-close {
  top: 24px;
  right: 24px;
  background: rgba(251, 248, 241, 0.95);
}

.lightbox figure {
  width: min(1100px, calc(100vw - 72px));
  max-height: calc(100dvh - 72px);
  animation: sheet-in 0.4s var(--ease) both;
}

.lightbox img {
  width: 100%;
  max-height: calc(100dvh - 140px);
  object-fit: contain;
  background: #101f18;
}

.lightbox figcaption {
  padding-top: 14px;
  color: rgba(247, 240, 228, 0.7);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-align: center;
}

/* Toast */

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  z-index: 150;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--forest);
  box-shadow: 0 10px 32px rgba(3, 12, 8, 0.24);
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 0.04em;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition:
    opacity 0.3s ease,
    transform 0.3s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.noscript-note {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 120;
  padding: 13px 18px;
  background: var(--forest);
  color: var(--cream);
  font-size: 12px;
  text-align: center;
}

/* ---------- Reveal ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease);
}

html.js .reveal[data-delay="1"] {
  transition-delay: 0.12s;
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  :root {
    --header-h: 78px;
  }

  .desktop-nav {
    gap: 22px;
  }

  .tech-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-track {
    grid-auto-columns: calc((100% - 24px) / 2);
  }

  .gallery-track[data-count="3"] {
    grid-auto-columns: calc((100% - 24px) / 2);
  }

  .intro-grid {
    gap: 6vw;
  }

  .visit-card {
    grid-template-columns: 1fr 0.8fr;
  }

  .visit-map {
    min-height: 500px;
  }
}

@media (max-width: 980px) {
  .desktop-nav,
  .header-phone {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-actions {
    margin-left: auto;
  }

  .section-head {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr);
    gap: 40px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .intro-aside {
    position: static;
  }

  .intro-aside .display-title {
    max-width: 12em;
  }

  .intro-aside-foot {
    display: none;
  }

  .intro-body {
    padding-top: 0;
  }

  .tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visit-card {
    grid-template-columns: 1fr;
  }

  .visit-map {
    min-height: 420px;
  }

  .visit-info {
    padding-bottom: 46px;
  }

  .visit-list {
    grid-template-columns: 1fr 1fr;
  }

  .visit-list > div:nth-child(2) {
    grid-column: auto;
    padding-top: 0;
    border-top: 0;
  }

  .visit-list > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 72px;
    --page-pad: 20px;
  }

  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }

  .demo-banner-inner {
    gap: 9px;
    padding-block: 8px;
  }

  .demo-badge {
    padding: 3px 6px;
    font-size: 8px;
  }

  .demo-banner p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 10px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .demo-close {
    width: 24px;
    height: 24px;
  }

  .header-inner {
    gap: 16px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }

  .brand-type strong {
    font-size: 19px;
  }

  .brand-type small {
    font-size: 6px;
  }

  .menu-toggle {
    gap: 8px;
  }

  .section {
    padding-block: 82px;
  }

  .display-title {
    margin-top: 16px;
    font-size: clamp(35px, 10vw, 48px);
    line-height: 1.34;
  }

  .section-kicker {
    gap: 9px;
    font-size: 9px;
  }

  .section-kicker::after {
    width: 26px;
  }

  .section-head {
    display: block;
    margin-bottom: 38px;
  }

  .section-head-copy {
    max-width: none;
    margin-top: 22px;
    padding-bottom: 0;
  }

  .section-head-copy p {
    font-size: 12.5px;
    line-height: 1.95;
  }

  .head-note {
    margin-top: 14px;
  }

  .hero {
    height: 100svh;
    min-height: 680px;
    max-height: 860px;
  }

  .hero-media img {
    object-position: 64% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 16, 11, 0.88) 0%, rgba(5, 18, 13, 0.56) 54%, rgba(6, 18, 13, 0.28) 100%),
      linear-gradient(0deg, rgba(5, 15, 11, 0.92) 0%, rgba(5, 15, 11, 0.18) 52%, rgba(4, 13, 10, 0.55) 100%);
  }

  .hero-inner {
    padding-top: calc(var(--header-h) + 84px);
    padding-bottom: 76px;
  }

  .hero-copy {
    max-width: 96%;
  }

  .hero-eyebrow {
    gap: 11px;
    font-size: 9.5px;
  }

  .eyebrow-line {
    width: 30px;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: clamp(38px, 11.4vw, 52px);
    line-height: 1.24;
  }

  .hero-lead {
    max-width: 94%;
    margin-top: 20px;
    font-size: 13px;
    line-height: 1.9;
  }

  .hero-actions {
    gap: 20px;
    margin-top: 29px;
  }

  .hero-actions .btn {
    min-height: 50px;
    padding-inline: 20px;
    font-size: 12px;
  }

  .hero-actions .text-link {
    font-size: 11px;
  }

  .hero-actions .text-link-line {
    display: none;
  }

  .hero-hours {
    display: flex;
  }

  .hero-foot,
  .hero-scroll {
    display: none;
  }

  .intro::before {
    font-size: 68vw;
  }

  .intro-grid {
    gap: 34px;
  }

  .intro-copy p {
    font-size: 14.5px;
    line-height: 2.1;
  }

  .intro-copy p:first-child {
    font-size: 17.5px;
    line-height: 2;
  }

  .highlights {
    gap: 7px;
    margin-top: 30px;
  }

  .highlights span {
    min-height: 33px;
    padding: 5px 13px;
    font-size: 10px;
  }

  .intro-signoff {
    grid-template-columns: auto 1fr;
    gap: 14px;
    margin-top: 38px;
    padding-top: 22px;
  }

  .intro-signoff p {
    font-size: 16px;
  }

  .intro-signoff small {
    display: none;
  }

  .tech-grid {
    gap: 28px 12px;
  }

  .tech-photo {
    border-radius: 48% 48% 2px 2px / 30% 30% 2px 2px;
  }

  .tech-number {
    top: 14px;
    left: 15px;
    font-size: 9px;
  }

  .tech-number::after {
    width: 13px;
    margin-left: 6px;
  }

  .tech-view {
    bottom: 13px;
    left: 15px;
    font-size: 8px;
  }

  .tech-view svg {
    width: 11px;
    height: 11px;
  }

  .tech-info {
    padding-top: 11px;
  }

  .tech-name {
    font-size: 20px;
  }

  .tech-title {
    font-size: 9px;
  }

  .tech-tags {
    margin-top: 8px;
    font-size: 9px;
  }

  .tech-tag + .tech-tag::before {
    margin: 0 4px;
  }

  .tech-arrow {
    width: 25px;
    height: 25px;
  }

  .team-foot {
    display: block;
    margin-top: 38px;
    padding-top: 22px;
  }

  .team-foot .text-link {
    margin-top: 18px;
  }

  .gallery-head {
    display: block;
  }

  .gallery-head-side {
    width: 100%;
    margin-top: 22px;
    padding-bottom: 0;
  }

  .gallery-head-side > p {
    font-size: 12.5px;
  }

  .gallery-controls {
    display: none;
  }

  .gallery-track,
  .gallery-track[data-count] {
    grid-auto-columns: 84%;
    gap: 13px;
    margin-top: 26px;
  }

  .gallery-caption {
    font-size: 14px;
  }

  .gallery-hint {
    margin-top: 16px;
  }

  .visit {
    padding-top: 30px;
  }

  .visit-card {
    margin-inline: calc(var(--page-pad) * -1);
  }

  .visit-info {
    padding: 38px var(--page-pad) 40px;
  }

  .visit-info .display-title {
    font-size: 36px;
  }

  .visit-list {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 30px;
    padding-top: 23px;
  }

  .visit-list > div:first-child {
    grid-column: auto;
  }

  .visit-list dd {
    font-size: 16px;
  }

  .visit-actions {
    gap: 16px;
    padding-top: 30px;
  }

  .visit-actions .btn {
    min-height: 50px;
    padding-inline: 20px;
  }

  .visit-map {
    min-height: 360px;
  }

  .map-card {
    right: 16px;
    bottom: 44px;
    left: 16px;
    padding: 15px 16px;
  }

  .map-disclaimer {
    right: 16px;
    left: 16px;
  }

  .site-footer {
    padding: 50px 0 calc(20px + env(safe-area-inset-bottom));
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 36px;
  }

  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding-top: 0;
  }

  .footer-contact {
    justify-self: start;
    padding-top: 0;
    text-align: left;
  }

  .footer-bottom {
    display: block;
    padding-top: 18px;
  }

  .footer-bottom > p {
    line-height: 1.9;
  }

  .footer-bottom > div {
    margin-top: 8px;
  }

  .mobile-dock {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(23, 33, 28, 0.1);
    background: rgba(249, 245, 237, 0.95);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .mobile-dock a {
    display: inline-flex;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--forest);
    border-radius: 999px;
    color: var(--forest);
    font-size: 12px;
    letter-spacing: 0.05em;
  }

  .mobile-dock a:first-child {
    background: var(--forest);
    color: var(--cream);
  }

  .mobile-dock svg {
    width: 16px;
    height: 16px;
  }

  .tech-sheet {
    width: 100%;
    height: 100dvh;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(250px, 42dvh) minmax(0, 1fr);
    animation: none;
  }

  .tech-modal-photo {
    height: auto;
  }

  .tech-modal-photo img {
    object-position: center 18%;
  }

  .tech-modal-number {
    bottom: 13px;
    left: 20px;
    font-size: 46px;
  }

  .tech-modal-body {
    padding: 26px 22px calc(34px + env(safe-area-inset-bottom));
  }

  .modal-close {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
  }

  .tech-modal-name {
    font-size: 40px;
  }

  .tech-quote {
    margin-top: 20px;
    font-size: 18px;
  }

  .tech-specialty-block {
    margin-top: 22px;
    padding-top: 18px;
  }

  .tech-modal-intro {
    font-size: 13px;
    line-height: 2;
  }

  .tech-modal-actions {
    gap: 17px;
    margin-top: 24px;
    padding-top: 20px;
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
  }

  .lightbox figure {
    width: calc(100vw - 28px);
    max-height: calc(100dvh - 28px);
  }

  .lightbox img {
    max-height: calc(100dvh - 100px);
  }

  .toast {
    bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .header-inner,
  .demo-banner-inner {
    width: calc(100% - 32px);
  }

  .shell {
    width: calc(100% - 40px);
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 38px;
  }

  .hero-actions {
    display: block;
  }

  .hero-actions .text-link {
    margin-top: 18px;
  }

  .tech-name {
    font-size: 18px;
  }

  .tech-arrow {
    display: none;
  }

  .tech-tags {
    font-size: 8.5px;
  }

  .tech-tag:nth-child(n + 3) {
    display: none;
  }

  .tech-modal-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}
