:root {
  --night: #06131d;
  --night-soft: #0a1d2a;
  --night-card: #0e2635;
  --paper: #f1f0ec;
  --paper-bright: #f8f7f3;
  --white: #ffffff;
  --ink: #101a20;
  --muted: #68747c;
  --line: rgba(16, 26, 32, 0.16);
  --line-light: rgba(255, 255, 255, 0.18);
  --cyan: #00bfff;
  --cyan-soft: #79dfff;
  --content: 1600px;
  --gutter: clamp(22px, 5.6vw, 108px);
  --section-space: clamp(96px, 11vw, 190px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.025em;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

a,
button,
summary {
  -webkit-tap-highlight-color: rgba(0, 191, 255, 0.18);
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

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

figure,
p,
h1,
h2,
h3,
ol,
ul {
  margin: 0;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: var(--night);
  background: var(--white);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.section-shell {
  width: 100%;
  max-width: var(--content);
  margin-inline: auto;
  padding: var(--section-space) var(--gutter);
}

.heading-line {
  display: block;
}

.eyebrow,
.section-index {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: #007dac;
}

.section-index {
  color: #5b6971;
}

.section-index-light {
  color: rgba(255, 255, 255, 0.46);
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -0.02em;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

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

.button-primary {
  color: #00141d;
  background: var(--cyan);
}

.button-primary:hover {
  background: #4bd1ff;
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(6, 19, 29, 0.16);
  backdrop-filter: blur(10px);
}

.button-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.button-dark {
  color: var(--white);
  background: var(--night);
}

.button-outline-dark {
  color: var(--night);
  border-color: rgba(6, 19, 29, 0.45);
}

.button-outline-dark:hover {
  color: var(--white);
  background: var(--night);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: 92px 1fr auto;
  min-height: 94px;
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
  padding: 0 var(--gutter);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: min-height 0.35s var(--ease), color 0.35s ease, background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(3, 12, 18, 0.46), rgba(3, 12, 18, 0));
  pointer-events: none;
}

.site-header.is-scrolled {
  min-height: 76px;
  color: var(--ink);
  border-color: var(--line);
  background: rgba(248, 247, 243, 0.94);
  box-shadow: 0 8px 30px rgba(5, 18, 28, 0.08);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled::before {
  opacity: 0;
}

.wordmark {
  position: relative;
  display: block;
  width: 78px;
  height: 72px;
  justify-self: start;
}

.brand-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.brand-logo-default {
  opacity: 0;
}

.site-header.is-scrolled .brand-logo-reverse {
  opacity: 0;
}

.site-header.is-scrolled .brand-logo-default {
  opacity: 1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 40px);
}

.desktop-nav a {
  position: relative;
  padding-block: 10px;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

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

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

.header-contact {
  display: flex;
  min-width: 132px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding-inline: 20px;
  color: #00141d;
  background: var(--cyan);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  transition: background 0.25s ease, transform 0.25s ease;
}

.header-contact:hover {
  background: #4bd1ff;
  transform: translateY(-1px);
}

.header-contact-short,
.menu-toggle,
.mobile-menu {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  min-height: 760px;
  height: 100svh;
  max-height: 1120px;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--night);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: left center;
  transform-origin: left center;
  transform: scale(1.08);
  animation: heroZoom 11s var(--ease) both;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 13, 20, 0.86) 0%, rgba(3, 13, 20, 0.44) 43%, rgba(3, 13, 20, 0.12) 72%),
    linear-gradient(0deg, rgba(3, 13, 20, 0.76) 0%, transparent 48%),
    linear-gradient(180deg, rgba(3, 13, 20, 0.26), transparent 36%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - var(--gutter) * 2));
  margin: 0 0 clamp(112px, 13vh, 164px) var(--gutter);
}

.hero .eyebrow {
  margin-bottom: 22px;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(54px, 6.2vw, 106px);
  font-weight: 760;
  line-height: 0.99;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero-description {
  max-width: 600px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 1.45vw, 23px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
}

.hero-caption {
  position: absolute;
  z-index: 1;
  right: var(--gutter);
  bottom: 42px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.scroll-cue {
  position: absolute;
  z-index: 1;
  bottom: 38px;
  left: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: 52px;
  margin-left: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
}

.scroll-cue i::after {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--cyan);
  transform: translateY(-100%);
  animation: scrollLine 2.2s ease-in-out infinite;
}

@keyframes heroZoom {
  from { transform: scale(1.13); }
  to { transform: scale(1.08); }
}

@keyframes scrollLine {
  0%, 18% { transform: translateY(-100%); }
  70%, 100% { transform: translateY(100%); }
}

/* Statement */
.statement {
  display: grid;
  grid-template-columns: minmax(150px, 0.45fr) minmax(420px, 1.55fr);
  column-gap: clamp(40px, 8vw, 150px);
  align-items: start;
  background: var(--paper);
}

.statement-copy {
  font-size: clamp(38px, 4.8vw, 82px);
  font-weight: 720;
  line-height: 1.14;
  letter-spacing: -0.06em;
}

.statement-line {
  display: block;
  color: #778188;
}

.statement-line-primary {
  color: var(--ink);
}

.statement-description {
  grid-column: 2;
  max-width: 720px;
  margin-top: 38px;
  color: #526069;
  font-size: clamp(16px, 1.35vw, 20px);
}

.statement-points {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 70px;
  border-top: 1px solid var(--line);
}

.statement-points li {
  display: flex;
  min-height: 118px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 22px 20px 0;
  border-right: 1px solid var(--line);
}

.statement-points li + li {
  padding-left: 22px;
}

.statement-points li:last-child {
  border-right: 0;
}

.statement-points span {
  color: #778188;
  font-size: 11px;
  font-weight: 700;
}

.statement-points strong {
  font-size: 16px;
  font-weight: 700;
}

/* Applications */
.applications {
  max-width: none;
  color: var(--ink);
  background: var(--paper-bright);
}

.applications > * {
  width: 100%;
  max-width: calc(var(--content) - var(--gutter) * 2);
  margin-inline: auto;
}

.section-heading,
.products-heading,
.faq-heading {
  display: grid;
  grid-template-columns: minmax(150px, 0.48fr) minmax(420px, 1.52fr);
  column-gap: clamp(40px, 7vw, 130px);
  align-items: start;
}

.section-heading .eyebrow,
.products-heading .section-index,
.faq-heading .section-index {
  grid-row: 1 / span 2;
}

.section-heading h2,
.products-heading h2,
.faq-heading h2 {
  grid-column: 2;
  max-width: 900px;
  font-size: clamp(38px, 4.4vw, 72px);
  font-weight: 720;
  line-height: 1.1;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.section-heading > p:last-child,
.products-heading > p:last-of-type,
.faq-heading > p:last-child {
  grid-column: 2;
  max-width: 650px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 17px;
}

.application-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(330px, 0.58fr);
  gap: clamp(34px, 5vw, 92px);
  align-items: stretch;
  margin-top: clamp(56px, 7vw, 110px);
}

.application-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #d6d8d7;
}

.application-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 0.55s ease, transform 0.85s var(--ease);
}

.application-visual img.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.application-visual img[data-application-image="1"] {
  object-position: center 50%;
}

.application-visual img[data-application-image="2"] {
  object-position: center 48%;
}

.application-visual img[data-application-image="3"] {
  object-position: center 46%;
}

.application-visual figcaption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  display: flex;
  min-width: min(440px, 68%);
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  color: var(--white);
  background: rgba(6, 19, 29, 0.88);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 650;
}

.application-visual figcaption span {
  color: var(--cyan);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.application-options {
  border-top: 1px solid var(--line);
}

.application-options button {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 142px;
  grid-template-columns: 36px 1fr 24px;
  gap: 16px;
  align-items: start;
  padding: 24px 0;
  text-align: left;
  border-bottom: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.application-options button::before {
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  content: "";
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.application-options button.is-active::before {
  transform: scaleX(1);
  transform-origin: left;
}

.option-number {
  margin-top: 5px;
  color: #8b959b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.option-copy {
  display: grid;
  gap: 9px;
}

.option-copy strong {
  font-size: clamp(20px, 1.65vw, 27px);
  font-weight: 720;
  letter-spacing: -0.04em;
}

.option-copy span {
  max-width: 360px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.option-arrow {
  color: #8b959b;
  font-size: 17px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.application-options button.is-active .option-number,
.application-options button.is-active .option-arrow {
  color: #008fc3;
}

.application-options button:hover .option-arrow {
  transform: translate(2px, -2px);
}

/* Scope */
.scope {
  max-width: none;
  color: var(--white);
  background: var(--night);
}

.scope > * {
  width: 100%;
  max-width: calc(var(--content) - var(--gutter) * 2);
  margin-inline: auto;
}

.scope-heading,
.projects-heading {
  display: grid;
  grid-template-columns: minmax(520px, 1.5fr) minmax(280px, 0.5fr);
  gap: clamp(40px, 8vw, 140px);
  align-items: end;
}

.scope-heading .eyebrow,
.projects-heading .eyebrow {
  margin: 34px 0 18px;
}

.scope-heading h2,
.projects-heading h2 {
  font-size: clamp(42px, 5vw, 80px);
  font-weight: 720;
  line-height: 1.08;
  letter-spacing: -0.058em;
}

.scope-heading > p,
.projects-heading > p {
  padding-bottom: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
}

.scope-capabilities {
  margin-top: clamp(54px, 6vw, 94px);
  border-block: 1px solid var(--line-light);
}

.scope-capability-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.scope-capability-list > li {
  display: flex;
  min-width: 0;
  min-height: 364px;
  flex-direction: column;
  padding: 32px clamp(22px, 2vw, 36px);
  border-right: 1px solid var(--line-light);
}

.scope-capability-list > li:first-child {
  padding-left: 0;
}

.scope-capability-list > li:last-child {
  padding-right: 0;
  border-right: 0;
}

.scope-capability-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.scope-capability-title span {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.scope-capability-title h3 {
  color: var(--white);
  font-size: clamp(20px, 1.6vw, 26px);
  font-weight: 720;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.scope-capability-kicker {
  margin: 12px 0 28px 38px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 650;
}

.scope-capability-details {
  display: grid;
  gap: 15px;
}

.scope-capability-detail {
  display: grid;
  min-width: 0;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.scope-capability-detail strong {
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.scope-capability-detail span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.62;
}

.scope-capability-meta {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  line-height: 1.6;
}

.scope-capability-meta span {
  color: var(--cyan-soft);
  font-weight: 720;
}

.scope-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: clamp(14px, 2vw, 32px);
  align-items: stretch;
  margin-top: clamp(62px, 8vw, 122px);
}

.scope-capabilities + .scope-media-grid {
  margin-top: clamp(50px, 6vw, 84px);
}

.scope-media-grid figure {
  position: relative;
  overflow: hidden;
}

.scope-main-photo {
  aspect-ratio: 16 / 9;
}

.scope-detail-photo {
  aspect-ratio: 4 / 5;
}

.scope-media-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.scope-media-grid figure:hover img {
  transform: scale(1.025);
}

.scope-media-grid figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 11px 15px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(5, 17, 25, 0.8);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.scope-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 62px;
  border-top: 1px solid var(--line-light);
}

.scope-list li {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px clamp(16px, 1.6vw, 28px) 28px 0;
  border-right: 1px solid var(--line-light);
}

.scope-list li + li {
  padding-left: clamp(16px, 1.6vw, 28px);
}

.scope-list li:last-child {
  border-right: 0;
}

.scope-list > li > span {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.scope-list strong {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.35;
}

.scope-list p {
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
  line-height: 1.65;
}

.scope-note {
  margin-top: 0;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.43);
  border-top: 1px solid var(--line-light);
  font-size: 12px;
}

/* Products */
.products {
  max-width: none;
  background: #e9e8e3;
}

.products > * {
  width: 100%;
  max-width: calc(var(--content) - var(--gutter) * 2);
  margin-inline: auto;
}

.products-heading .eyebrow {
  grid-column: 1;
  grid-row: 2;
  margin-top: 34px;
}

.products-heading h2 {
  grid-row: 1 / span 2;
}

.products-heading > p:last-of-type {
  grid-row: 3;
}

.products-actions {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(370px, 0.9fr);
  gap: clamp(38px, 7vw, 130px);
  align-items: center;
  margin-top: clamp(62px, 8vw, 120px);
}

.product-visual {
  position: relative;
  aspect-ratio: 1 / 0.82;
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 191, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 191, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 50% 42%, #16384b, var(--night) 62%);
  background-size: 44px 44px, 44px 44px, auto;
}

.product-visual::after {
  position: absolute;
  inset: 12% 10% 14%;
  content: "";
  border: 1px solid rgba(0, 191, 255, 0.2);
  pointer-events: none;
}

.product-visual img {
  position: absolute;
  z-index: 1;
  inset: 7% 8% 17%;
  width: 84%;
  height: 76%;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.34));
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  transition: opacity 0.45s ease, transform 0.65s var(--ease);
}

.product-visual img.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.product-visual figcaption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 21px 24px;
  color: rgba(255, 255, 255, 0.58);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(6, 19, 29, 0.76);
  backdrop-filter: blur(12px);
  font-size: 12px;
}

.product-visual figcaption span {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
}

.product-options {
  border-top: 1px solid var(--line);
}

.product-options button {
  display: grid;
  width: 100%;
  min-height: 154px;
  grid-template-columns: 34px 1fr 22px;
  gap: 18px;
  align-items: start;
  padding: 24px 0;
  text-align: left;
  border-bottom: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.product-options button > span {
  padding-top: 4px;
  color: #7b868c;
  font-size: 10px;
  font-weight: 800;
}

.product-options button > div {
  display: grid;
}

.product-options small {
  color: #78858d;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.product-options strong {
  margin-top: 2px;
  font-size: clamp(23px, 2vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.product-options p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
}

.product-options i {
  color: #879198;
  font-size: 17px;
  font-style: normal;
  transition: transform 0.25s ease;
}

.product-options button.is-active > span,
.product-options button.is-active i {
  color: #008fc3;
}

.product-options button:hover i {
  transform: translate(2px, -2px);
}

.estimate-guide {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
  gap: 30px clamp(42px, 6vw, 96px);
  align-items: start;
  margin-top: clamp(76px, 8vw, 118px);
  padding: clamp(38px, 5vw, 68px);
  color: var(--white);
  background: var(--night);
}

.estimate-guide-intro {
  max-width: 430px;
}

.estimate-guide-intro .eyebrow {
  color: var(--cyan);
}

.estimate-guide-intro h3 {
  margin-top: 24px;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.estimate-guide-intro > p:last-child {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  line-height: 1.75;
}

.estimate-guide-list {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.estimate-guide-list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 19px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.estimate-guide-list li > span {
  padding-top: 3px;
  color: var(--cyan);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.estimate-guide-list li > div {
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.estimate-guide-list strong {
  font-size: 15px;
  line-height: 1.5;
}

.estimate-guide-list p {
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
  line-height: 1.65;
}

.estimate-guide-notes {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.estimate-guide-notes p {
  position: relative;
  padding-left: 16px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
  line-height: 1.7;
}

.estimate-guide-notes p::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--cyan);
  content: "※";
}

.replace-link {
  display: flex;
  min-height: 124px;
  align-items: center;
  justify-content: space-between;
  margin-top: 70px;
  padding: 24px 34px;
  color: var(--white);
  background: var(--night);
  transition: background 0.25s ease;
}

.replace-link:hover {
  background: var(--night-soft);
}

.replace-link span {
  display: grid;
  gap: 8px;
}

.replace-link small {
  color: var(--cyan);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.replace-link strong {
  font-size: clamp(19px, 2vw, 30px);
  letter-spacing: -0.04em;
}

.replace-link i {
  font-size: 27px;
  font-style: normal;
}

/* Projects */
.projects {
  max-width: none;
  color: var(--white);
  background: #081923;
}

.projects > * {
  width: 100%;
  max-width: calc(var(--content) - var(--gutter) * 2);
  margin-inline: auto;
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.45fr);
  margin-top: clamp(60px, 8vw, 122px);
  background: #0d2230;
}

.project-feature figure {
  min-height: 610px;
}

.project-feature figure,
.project-pair figure {
  overflow: hidden;
}

.project-feature img,
.project-pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.project-feature:hover img,
.project-pair article:hover img {
  transform: scale(1.025);
}

.project-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.project-feature .project-meta {
  justify-content: flex-end;
  padding: clamp(30px, 4vw, 64px);
}

.project-meta > span {
  color: var(--cyan);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.project-meta h3 {
  margin-top: 15px;
  font-size: clamp(28px, 3.2vw, 50px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.project-meta p {
  max-width: 390px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.project-meta a {
  margin-top: 38px;
  padding-bottom: 5px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 12px;
  font-weight: 700;
}

.project-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 50px);
  margin-top: clamp(22px, 3vw, 48px);
}

.project-pair article {
  border-top: 1px solid var(--line-light);
}

.project-pair figure {
  aspect-ratio: 16 / 9;
  margin-top: 18px;
}

.project-pair .project-meta {
  min-height: 190px;
  padding-top: 24px;
}

.project-pair .project-meta h3 {
  font-size: clamp(24px, 2.3vw, 36px);
}

.project-pair-single {
  grid-template-columns: 1fr;
}

.project-pair-single article {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr);
  background: #0d2230;
  border-top: 0;
}

.project-pair-single figure {
  min-height: 390px;
  margin-top: 0;
}

.project-pair-single .project-meta {
  justify-content: flex-end;
  min-height: 0;
  padding: clamp(30px, 4vw, 58px);
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 58px;
}

/* FAQ */
.faq {
  background: var(--paper-bright);
}

.faq-heading h2 {
  grid-row: 1 / span 2;
}

.faq-heading .eyebrow {
  grid-column: 1;
  grid-row: 2;
  margin-top: 34px;
}

.faq-list {
  margin-top: clamp(60px, 8vw, 116px);
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: grid;
  min-height: 104px;
  grid-template-columns: 54px 1fr 32px;
  gap: 20px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  color: #7d888e;
  font-size: 10px;
  font-weight: 800;
}

.faq-list summary strong {
  font-size: clamp(18px, 1.65vw, 24px);
  font-weight: 680;
}

.faq-list summary i {
  position: relative;
  width: 22px;
  height: 22px;
}

.faq-list summary i::before,
.faq-list summary i::after {
  position: absolute;
  top: 10px;
  left: 4px;
  width: 14px;
  height: 1px;
  content: "";
  background: var(--ink);
  transition: transform 0.25s ease;
}

.faq-list summary i::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary i::after {
  transform: rotate(0);
}

.faq-list details > p {
  max-width: 820px;
  margin: -8px 54px 0 74px;
  padding-bottom: 38px;
  color: var(--muted);
  font-size: 16px;
}

/* Contact */
.contact {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: var(--white);
  background: #06131d;
}

.contact-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  background:
    radial-gradient(circle at 76% 34%, rgba(0, 191, 255, 0.24), transparent 25%),
    repeating-linear-gradient(90deg, transparent 0 89px, rgba(255, 255, 255, 0.025) 89px 90px),
    repeating-linear-gradient(0deg, transparent 0 89px, rgba(255, 255, 255, 0.025) 89px 90px),
    linear-gradient(135deg, #071925 0%, #06131d 58%);
}

.contact-pattern::after {
  position: absolute;
  right: -10vw;
  bottom: -42vw;
  width: 72vw;
  height: 72vw;
  content: "";
  border: 1px solid rgba(0, 191, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 8vw rgba(0, 191, 255, 0.025), 0 0 0 16vw rgba(0, 191, 255, 0.018);
}

.contact-content {
  position: relative;
  z-index: 1;
  width: min(1150px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding: clamp(112px, 12vw, 188px) 0;
}

.contact-content .eyebrow {
  margin-top: 30px;
}

.contact h2 {
  margin-top: 24px;
  font-size: clamp(46px, 5.8vw, 92px);
  font-weight: 710;
  line-height: 1.08;
  letter-spacing: -0.062em;
}

.contact-content > p:not(.eyebrow):not(.section-index) {
  max-width: 660px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 17px;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 12px;
  max-width: 840px;
  margin-top: 54px;
}

.contact-option {
  display: grid;
  min-height: 132px;
  grid-template-columns: 1fr auto;
  align-content: center;
  padding: 25px 28px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.contact-option:hover {
  border-color: var(--cyan);
  background: rgba(0, 191, 255, 0.08);
  transform: translateY(-2px);
}

.contact-option > span {
  grid-column: 1;
  color: var(--cyan-soft);
  font-size: 11px;
  font-weight: 750;
}

.contact-option strong {
  grid-column: 1;
  margin-top: 8px;
  font-size: clamp(19px, 2vw, 28px);
  letter-spacing: -0.03em;
}

.contact-option i {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 22px;
  font-style: normal;
}

.contact-home-button {
  margin-top: 12px;
}

/* Footer */
.site-footer {
  display: grid;
  min-height: 230px;
  grid-template-columns: 96px minmax(320px, 1fr) auto;
  grid-template-rows: 1fr auto;
  gap: 24px 38px;
  align-items: center;
  padding: 50px var(--gutter) 34px;
  color: rgba(255, 255, 255, 0.62);
  background: #02090e;
}

.footer-wordmark {
  width: 90px;
  height: 88px;
}

.footer-brand-logo {
  opacity: 0.78;
}

.footer-company {
  display: grid;
  gap: 2px;
  font-size: 11px;
  line-height: 1.55;
}

.footer-company strong {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.footer-company address {
  max-width: 720px;
  font-style: normal;
}

.footer-contact {
  display: flex;
  gap: 28px;
  font-size: 13px;
}

.site-footer > p {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 9px;
  letter-spacing: 0.12em;
}

/* Consultation dialog */
.consultation-modal {
  width: min(1000px, calc(100vw - 40px));
  max-width: none;
  padding: 0;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  background: var(--night);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.consultation-modal::backdrop {
  background: rgba(0, 7, 11, 0.76);
  backdrop-filter: blur(10px);
}

.consultation-modal[open] {
  animation: modalIn 0.4s var(--ease) both;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.consultation-modal-shell {
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 191, 255, 0.17), transparent 28%),
    var(--night);
}

.consultation-modal-header {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  border-bottom: 1px solid var(--line-light);
}

.consultation-modal-header > span {
  color: var(--cyan);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.consultation-modal-close {
  position: relative;
  width: 38px;
  height: 38px;
  background: transparent;
  cursor: pointer;
}

.consultation-modal-close span {
  position: absolute;
  top: 18px;
  left: 8px;
  width: 22px;
  height: 1px;
  background: var(--white);
}

.consultation-modal-close span:first-child { transform: rotate(45deg); }
.consultation-modal-close span:last-child { transform: rotate(-45deg); }

.consultation-modal-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.consultation-modal-intro,
.consultation-modal-contact {
  min-height: 450px;
  padding: clamp(34px, 5vw, 66px);
}

.consultation-modal-intro {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line-light);
}

.consultation-modal-eyebrow,
.consultation-modal-contact > p:first-child {
  color: var(--cyan);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.consultation-modal h2 {
  margin-top: 22px;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 710;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

#consultation-modal-description {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
}

.consultation-modal-proof {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
}

.consultation-modal-proof span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.consultation-modal-proof strong {
  font-size: 14px;
}

.consultation-modal-contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.025);
}

.consultation-modal-contact > strong {
  margin-top: 18px;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.04em;
}

.consultation-modal-contact > span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
}

.consultation-modal-actions {
  display: grid;
  gap: 8px;
  margin-top: 30px;
}

.consultation-modal-actions button,
.consultation-modal-actions a {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.consultation-modal-actions button:first-child {
  color: #00141d;
  border-color: var(--cyan);
  background: var(--cyan);
}

.consultation-copy-status {
  min-height: 22px;
  margin-top: 10px;
  color: var(--cyan-soft);
  font-size: 12px;
}

.consultation-modal-footer {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 26px;
  border-top: 1px solid var(--line-light);
}

.consultation-modal-footer p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
}

.consultation-modal-footer a {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 700;
}

.mobile-contact-bar {
  display: none;
}

/* Scroll reveal */
[data-reveal] {
  opacity: 1;
  transform: none;
}

body.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

body.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 78px 1fr auto;
  }

  .desktop-nav {
    gap: 18px;
  }

  .desktop-nav a {
    font-size: 12px;
  }

  .application-visual {
    min-height: 540px;
  }

  .scope-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .scope-list li {
    min-height: 220px;
    border-bottom: 1px solid var(--line-light);
  }

  .scope-list li:nth-child(3) {
    border-right: 0;
  }

  .scope-list li:nth-child(n + 4) {
    padding-top: 28px;
  }

  .estimate-guide {
    grid-template-columns: minmax(230px, 0.58fr) minmax(0, 1.42fr);
    column-gap: 44px;
  }

  .estimate-guide-list li > div {
    grid-template-columns: minmax(140px, 0.38fr) minmax(0, 1fr);
  }
}

@media (max-width: 920px) {
  :root {
    --section-space: 100px;
  }

  .site-header {
    grid-template-columns: 72px 1fr auto auto;
    min-height: 78px;
    gap: 14px;
  }

  .site-header.is-scrolled {
    min-height: 68px;
  }

  .wordmark {
    width: 62px;
    height: 58px;
  }

  .desktop-nav {
    display: none;
  }

  .header-contact {
    grid-column: 3;
    min-width: 92px;
    min-height: 40px;
    padding-inline: 14px;
  }

  .header-contact-full {
    display: none;
  }

  .header-contact-short {
    display: inline;
  }

  .menu-toggle {
    position: relative;
    z-index: 102;
    display: block;
    grid-column: 4;
    width: 42px;
    height: 42px;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    position: absolute;
    left: 9px;
    width: 24px;
    height: 1px;
    background: currentColor;
    transition: transform 0.3s var(--ease), top 0.3s var(--ease);
  }

  .menu-toggle span:first-child { top: 16px; }
  .menu-toggle span:last-child { top: 25px; }

  .menu-toggle.is-active span:first-child { top: 21px; transform: rotate(45deg); }
  .menu-toggle.is-active span:last-child { top: 21px; transform: rotate(-45deg); }

  .mobile-menu {
    position: fixed;
    z-index: 90;
    inset: 0;
    display: flex;
    align-items: flex-start;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 98px var(--gutter) max(40px, env(safe-area-inset-bottom));
    color: var(--white);
    background: rgba(5, 17, 25, 0.98);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    -webkit-overflow-scrolling: touch;
  }

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

  .mobile-menu nav {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .mobile-menu a {
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 20px;
    font-weight: 650;
  }

  .hero {
    min-height: 700px;
  }

  .hero-content {
    margin-bottom: 128px;
  }

  .statement,
  .section-heading,
  .products-heading,
  .faq-heading,
  .scope-heading,
  .projects-heading {
    grid-template-columns: 1fr;
  }

  .statement-copy,
  .statement-description,
  .statement-points,
  .section-heading h2,
  .section-heading > p:last-child,
  .products-heading h2,
  .products-heading > p:last-of-type,
  .products-actions,
  .faq-heading h2,
  .faq-heading > p:last-child {
    grid-column: 1;
  }

  .statement-copy,
  .section-heading h2,
  .products-heading h2,
  .faq-heading h2 {
    margin-top: 30px;
  }

  .products-heading .eyebrow,
  .faq-heading .eyebrow,
  .products-heading .section-index,
  .faq-heading .section-index,
  .products-heading h2,
  .faq-heading h2,
  .products-heading > p:last-of-type {
    grid-row: auto;
  }

  .products-heading .eyebrow,
  .faq-heading .eyebrow {
    display: none;
  }

  .application-layout,
  .product-layout,
  .project-feature {
    grid-template-columns: 1fr;
  }

  .application-visual {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .application-options,
  .product-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .application-options button,
  .product-options button {
    padding: 22px 16px 22px 0;
    border-right: 1px solid var(--line);
  }

  .application-options button {
    min-height: 148px;
  }

  .product-options button {
    min-height: 148px;
  }

  .application-options button:nth-child(even),
  .product-options button:nth-child(even) {
    padding-left: 16px;
    border-right: 0;
  }

  .scope-heading,
  .projects-heading {
    align-items: start;
  }

  .scope-heading > p,
  .projects-heading > p {
    max-width: 650px;
    margin-top: 26px;
  }

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

  .scope-capability-list > li,
  .scope-capability-list > li:first-child,
  .scope-capability-list > li:last-child {
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1fr);
    gap: 14px 36px;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .scope-capability-list > li:last-child {
    border-bottom: 0;
  }

  .scope-capability-title {
    grid-column: 1;
    grid-row: 1;
  }

  .scope-capability-kicker {
    grid-column: 1;
    grid-row: 2;
    margin: 0 0 0 38px;
  }

  .scope-capability-details {
    grid-column: 2;
    grid-row: 1;
  }

  .scope-capability-meta {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
    padding-top: 16px;
  }

  .scope-media-grid {
    grid-template-columns: 1.3fr 0.7fr;
  }

  .scope-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .scope-list li:nth-child(3) {
    border-right: 1px solid var(--line-light);
  }

  .scope-list li:nth-child(even) {
    border-right: 0;
  }

  .product-layout {
    gap: 28px;
  }

  .product-visual {
    max-height: 650px;
  }

  .estimate-guide {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .estimate-guide-intro {
    max-width: 650px;
  }

  .estimate-guide-notes {
    grid-column: 1;
  }

  .project-feature figure {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .project-feature .project-meta {
    min-height: 310px;
  }

  .project-pair-single article {
    grid-template-columns: 1fr;
  }

  .project-pair-single figure {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .project-pair-single .project-meta {
    min-height: 240px;
  }

  .consultation-modal-body {
    grid-template-columns: 1fr;
  }

  .consultation-modal-intro,
  .consultation-modal-contact {
    min-height: auto;
  }

  .consultation-modal-intro {
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .consultation-modal-proof {
    margin-top: 50px;
  }
}

@media (max-width: 920px) and (max-height: 500px) {
  :root {
    --section-space: 76px;
  }

  .hero {
    height: 100svh;
    min-height: 360px;
    max-height: 500px;
  }

  .hero-content {
    width: min(620px, calc(100% - var(--gutter) * 2));
    margin: 0 0 28px var(--gutter);
  }

  .hero .eyebrow {
    margin-bottom: 12px;
  }

  .hero h1 {
    max-width: 560px;
    font-size: clamp(38px, 5.5vw, 48px);
    line-height: 1;
  }

  .hero-description {
    max-width: 520px;
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.45;
  }

  .hero-actions {
    margin-top: 16px;
  }

  .hero-actions .button {
    min-height: 44px;
  }

  .hero-caption,
  .scroll-cue {
    display: none;
  }

  .application-layout,
  .product-layout {
    display: block;
    margin-top: 40px;
  }

  .application-options,
  .product-options {
    grid-template-columns: 1fr;
  }

  .application-options > .application-visual,
  .product-options > .product-visual {
    width: 100%;
    margin: 0;
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
    border-bottom: 1px solid var(--line);
  }

  .application-options button,
  .application-options button:nth-child(even),
  .product-options button,
  .product-options button:nth-child(even) {
    min-height: 108px;
    padding: 18px 0;
    border-right: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 20px;
    --section-space: clamp(72px, 19vw, 82px);
  }

  html {
    scroll-padding-top: calc(72px + env(safe-area-inset-top));
  }

  body {
    padding-bottom: calc(58px + env(safe-area-inset-bottom));
    font-size: 15px;
  }

  .site-header {
    grid-template-columns: 58px 1fr auto auto;
    min-height: calc(72px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 16px 0;
  }

  .site-header.is-scrolled {
    min-height: calc(66px + env(safe-area-inset-top));
  }

  .wordmark {
    width: 54px;
    height: 54px;
  }

  .header-contact {
    min-width: 72px;
    min-height: 44px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .mobile-menu {
    align-items: flex-start;
    overflow-y: auto;
    padding: calc(86px + env(safe-area-inset-top)) 20px calc(28px + env(safe-area-inset-bottom));
  }

  .mobile-menu a {
    min-height: 62px;
    font-size: 18px;
  }

  .hero {
    display: grid;
    height: auto;
    min-height: 100svh;
    max-height: none;
    grid-template-rows: clamp(340px, 48svh, 460px) auto;
    align-items: stretch;
  }

  .hero-media {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: 100%;
    grid-column: 1;
    grid-row: 1;
  }

  .hero-media img {
    position: absolute;
    inset: 0;
    object-position: 50% 45%;
    transform-origin: center;
    transform: none;
    animation: none;
  }

  .hero-shade {
    inset: 0 0 auto;
    height: clamp(340px, 48svh, 460px);
    background: linear-gradient(180deg, rgba(3, 13, 20, 0.38) 0%, rgba(3, 13, 20, 0.04) 38%, rgba(3, 13, 20, 0.18) 100%);
  }

  .hero-content {
    width: 100%;
    margin: 0;
    padding: 30px 20px 48px;
    grid-column: 1;
    grid-row: 2;
    background: var(--night);
  }

  .hero .eyebrow {
    margin-bottom: 17px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 52px);
    line-height: 1.03;
  }

  .hero-description {
    max-width: 390px;
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.6;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-actions .button {
    flex: 1 1 calc(50% - 6px);
    min-width: 145px;
    min-height: 50px;
    gap: 10px;
    padding-inline: 14px;
    font-size: 13px;
  }

  .scroll-cue {
    display: none;
  }

  .hero-caption {
    display: none;
  }

  .statement-copy,
  .section-heading h2,
  .products-heading h2,
  .faq-heading h2 {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.16;
  }

  .statement-description {
    margin-top: 24px;
  }

  .statement-points {
    grid-template-columns: 1fr;
    margin-top: 46px;
  }

  .statement-points li,
  .statement-points li + li {
    min-height: 86px;
    padding: 15px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .statement-points li:last-child {
    border-bottom: 0;
  }

  .section-heading > p:last-child,
  .products-heading > p:last-of-type,
  .faq-heading > p:last-child {
    font-size: 15px;
  }

  .application-layout {
    display: block;
    margin-top: 44px;
  }

  .application-options > .application-visual {
    width: 100%;
    margin: 0;
    aspect-ratio: 4 / 3;
    border-bottom: 1px solid var(--line);
  }

  .application-visual figcaption {
    right: 0;
    left: 0;
    min-width: 0;
    padding: 14px 16px;
    font-size: 11px;
  }

  .application-options,
  .product-options {
    grid-template-columns: 1fr;
  }

  .application-options button,
  .application-options button:nth-child(even),
  .product-options button,
  .product-options button:nth-child(even) {
    padding: 20px 0;
    border-right: 0;
  }

  .application-options button,
  .application-options button:nth-child(even) {
    min-height: 112px;
  }

  .product-options button,
  .product-options button:nth-child(even) {
    min-height: 116px;
  }

  .option-copy strong {
    font-size: 21px;
  }

  .scope-heading h2,
  .projects-heading h2,
  .contact h2 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .scope-capabilities {
    margin-top: 40px;
  }

  .scope-capability-list > li,
  .scope-capability-list > li:first-child,
  .scope-capability-list > li:last-child {
    display: flex;
    min-height: 0;
    padding: 26px 0;
  }

  .scope-capability-title h3 {
    font-size: 22px;
  }

  .scope-capability-kicker {
    margin: 10px 0 24px 38px;
    font-size: 15px;
  }

  .scope-capability-details {
    gap: 16px;
  }

  .scope-capability-detail {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 12px;
  }

  .scope-capability-detail span {
    font-size: 14px;
  }

  .scope-capability-meta {
    margin-top: 24px;
    padding-top: 18px;
  }

  .scope-media-grid {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .scope-main-photo,
  .scope-detail-photo {
    aspect-ratio: 4 / 3;
  }

  .scope-detail-photo {
    display: none;
  }

  .scope-list {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .scope-list li,
  .scope-list li + li,
  .scope-list li:nth-child(n + 4),
  .scope-list li:nth-child(3),
  .scope-list li:nth-child(even) {
    min-height: 0;
    flex-direction: row;
    gap: 22px;
    justify-content: flex-start;
    padding: 24px 0;
    border-right: 0;
  }

  .scope-list > li > span {
    flex: 0 0 24px;
    padding-top: 3px;
  }

  .scope-list strong {
    font-size: 18px;
  }

  .scope-note {
    font-size: 12px;
    line-height: 1.7;
  }

  .products-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .products-actions .button {
    width: 100%;
  }

  .product-layout {
    display: block;
    margin-top: 46px;
  }

  .product-visual {
    aspect-ratio: 5 / 4;
  }

  .product-options > .product-visual {
    width: 100%;
    margin: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-visual img {
    inset: 6% 7% 21%;
    width: 86%;
    height: 73%;
  }

  .product-visual figcaption {
    display: grid;
    gap: 2px;
    padding: 15px 16px;
  }

  .product-visual figcaption span {
    font-size: 16px;
  }

  .product-options button {
    grid-template-columns: 28px 1fr 20px;
  }

  .estimate-guide {
    gap: 32px;
    margin-top: 54px;
    padding: 28px 18px;
  }

  .estimate-guide-intro h3 {
    margin-top: 18px;
    font-size: 30px;
  }

  .estimate-guide-intro > p:last-child {
    margin-top: 16px;
  }

  .estimate-guide-list li {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 0;
  }

  .estimate-guide-list li > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .estimate-guide-list strong {
    font-size: 16px;
  }

  .estimate-guide-list p {
    font-size: 13px;
  }

  .estimate-guide-notes {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .replace-link {
    min-height: 108px;
    margin-top: 50px;
    padding: 20px;
  }

  .project-feature {
    margin-top: 48px;
  }

  .project-feature figure,
  .project-pair figure {
    aspect-ratio: 4 / 3;
  }

  .project-feature .project-meta {
    min-height: 250px;
    padding: 28px 22px;
  }

  .project-pair {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .project-pair .project-meta {
    min-height: 0;
  }

  .project-pair-single .project-meta {
    min-height: 0;
    padding: 28px 22px;
  }

  .project-actions {
    display: grid;
  }

  .project-actions .button {
    width: 100%;
  }

  .faq-list {
    margin-top: 48px;
  }

  .faq-list summary {
    min-height: 88px;
    grid-template-columns: 28px 1fr 24px;
    gap: 10px;
  }

  .faq-list summary strong {
    font-size: 17px;
  }

  .faq-list details > p {
    margin: -3px 24px 0 38px;
    padding-bottom: 30px;
    font-size: 14px;
  }

  .contact {
    min-height: 0;
  }

  .contact-content {
    width: calc(100% - 40px);
    padding: 86px 0 96px;
  }

  .contact-actions {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .contact-option {
    min-height: 106px;
    padding: 20px;
  }

  .contact-home-button {
    width: 100%;
  }

  .site-footer {
    min-height: 260px;
    grid-template-columns: 1fr;
    padding: 34px 20px 28px;
  }

  .footer-contact {
    flex-direction: column;
    gap: 4px;
  }

  .site-footer > p {
    grid-column: 1;
  }

  .consultation-modal {
    width: calc(100vw - 20px);
    max-height: calc(100svh - 20px);
  }

  .consultation-modal-header {
    min-height: 58px;
    padding-inline: 18px;
  }

  .consultation-modal-body {
    max-height: calc(100svh - 150px);
    overflow-y: auto;
  }

  .consultation-modal-intro,
  .consultation-modal-contact {
    padding: 28px 22px;
  }

  .consultation-modal h2 {
    font-size: 36px;
  }

  .consultation-modal-proof {
    margin-top: 34px;
  }

  .consultation-modal-footer {
    display: none;
  }

  .mobile-contact-bar {
    position: fixed;
    z-index: 80;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    min-height: calc(58px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    color: var(--white);
    background: var(--night);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s var(--ease);
    will-change: transform;
  }

  .mobile-contact-bar.is-hidden {
    transform: translateY(110%);
  }

  .mobile-contact-bar a {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 750;
  }

  .mobile-contact-bar a:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.18);
  }

  .mobile-contact-bar a:last-child {
    color: #00141d;
    background: var(--cyan);
  }
}

@media (max-width: 360px) {
  .hero {
    min-height: 0;
    grid-template-rows: clamp(240px, 44svh, 320px) auto;
  }

  .hero-shade {
    height: clamp(240px, 44svh, 320px);
  }

  .hero-content {
    margin: 0;
    padding: 24px 20px 34px;
  }

  .hero h1 {
    font-size: clamp(34px, 11.5vw, 39px);
  }

  .hero-description {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.55;
  }

  .hero-actions {
    flex-wrap: nowrap;
    gap: 7px;
    margin-top: 18px;
  }

  .hero-actions .button {
    min-width: 0;
    min-height: 46px;
    padding-inline: 8px;
    font-size: 12px;
  }

  .scope-heading h2,
  .projects-heading h2,
  .contact h2 {
    font-size: 36px;
  }

  .hero-caption {
    display: none;
  }
}

@media (orientation: landscape) and (max-width: 920px) and (max-height: 500px) {
  .hero {
    position: relative;
    display: flex;
    height: 100svh;
    min-height: 360px;
    max-height: 500px;
    align-items: flex-end;
  }

  .hero-media,
  .hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero-media img {
    position: absolute;
    inset: 0;
    object-position: left center;
    transform: none;
    animation: none;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(3, 13, 20, 0.9) 0%, rgba(3, 13, 20, 0.54) 48%, rgba(3, 13, 20, 0.16) 78%),
      linear-gradient(0deg, rgba(3, 13, 20, 0.68), transparent 58%);
  }

  .hero-content {
    position: relative;
    z-index: 1;
    width: min(620px, calc(100% - var(--gutter) * 2));
    margin: 0 0 24px var(--gutter);
    padding: 0;
    background: transparent;
  }

  .hero .eyebrow {
    margin-bottom: 10px;
  }

  .hero h1 {
    max-width: 540px;
    font-size: clamp(34px, 5.4vw, 46px);
  }

  .hero-description {
    max-width: 500px;
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.45;
  }

  .hero-actions {
    margin-top: 14px;
  }

  .hero-actions .button {
    flex: 0 1 auto;
    min-width: 138px;
    min-height: 44px;
  }
}

@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;
  }

  body.reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
