/* 上海宇岽液压 — 2026 门户视觉 */
:root {
  --navy: #0a2744;
  --navy-mid: #123a5f;
  --navy-deep: #061828;
  --champagne: #c9a96a;
  --champagne-soft: #e2c58a;
  --steel: #8ba3b8;
  --paper: #f3f5f7;
  --ink: #0e1a24;
  --muted: #5c6f80;
  --line: rgba(201, 169, 106, 0.35);
  --glass: rgba(10, 39, 68, 0.72);
  --radius: 2px;
  --shell: min(1180px, calc(100% - 2.5rem));
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Syne", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(201, 169, 106, 0.12), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(18, 58, 95, 0.08), transparent 55%),
    var(--paper);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 46;
  height: var(--header-h);
  pointer-events: none;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), box-shadow 0.35s;
}

.site-header .brand,
.site-header .nav-toggle {
  pointer-events: auto;
}

.site-header.is-scrolled {
  background: rgba(6, 24, 40, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(201, 169, 106, 0.15);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  z-index: 2;
}

.brand-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(201, 169, 106, 0.25));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}

.brand-text small {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--champagne-soft);
  opacity: 0.85;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 47;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.4rem;
  width: var(--shell);
  height: var(--header-h);
  box-sizing: border-box;
  padding-left: 11rem;
  pointer-events: none;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  transition: color 0.25s;
  pointer-events: auto;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--champagne-soft);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--champagne);
}

.nav-cta {
  padding: 0.55rem 1rem;
  border: 1px solid var(--champagne);
  color: var(--champagne-soft) !important;
  transition: background 0.25s, color 0.25s !important;
}

.nav-cta:hover {
  background: var(--champagne);
  color: var(--navy-deep) !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 45;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  margin: 6px auto;
  background: #fff;
  transition: transform 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: end;
  padding: calc(var(--header-h) + 2rem) 0 2rem;
  color: #fff;
  background: var(--navy-deep);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.06);
  transition: transform 2.4s var(--ease);
}

.hero.is-ready .hero-img {
  transform: scale(1);
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(6, 24, 40, 0.92) 18%, rgba(6, 24, 40, 0.55) 52%, rgba(6, 24, 40, 0.35) 100%),
    linear-gradient(to top, rgba(6, 24, 40, 0.9), transparent 45%);
}

.hero-lines {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 40% at 80% 20%, transparent 40%, transparent),
    repeating-linear-gradient(
      115deg,
      transparent 0 18px,
      rgba(201, 169, 106, 0.045) 18px 19px
    );
  mask-image: linear-gradient(90deg, transparent 10%, #000 40%, #000 100%);
  opacity: 0.7;
  animation: lineDrift 18s linear infinite;
}

@keyframes lineDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 0, 80px 40px; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-bottom: 3rem;
}

.hero-brand {
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--champagne-soft);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 800;
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.1em;
}

.hero-title .accent {
  color: #fff;
  background: linear-gradient(90deg, #fff 20%, var(--champagne-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.hero-meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 169, 106, 0.25);
  font-size: 0.85rem;
}

.hero-meta span {
  display: block;
  color: var(--steel);
  margin-bottom: 0.25rem;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.hero-meta strong {
  font-weight: 500;
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--champagne);
  color: var(--navy-deep);
}

.btn-primary:hover {
  background: var(--champagne-soft);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--champagne);
  color: var(--champagne-soft);
}

.text-link {
  color: var(--navy-mid);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.text-link:hover {
  color: var(--champagne);
  border-color: var(--champagne);
}

.eyebrow {
  font-family: var(--font-display);
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--champagne);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

/* Sections */
.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section.alt {
  background: linear-gradient(180deg, #eef2f5, var(--paper));
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin: 0;
}

/* Manifesto */
.manifesto-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.manifesto-copy h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  margin-bottom: 1rem;
}

.manifesto-visual {
  margin: 0;
  max-width: 420px;
  width: 100%;
  justify-self: end;
}

/* Media frames — keep original photo proportions, no forced crop */
.media-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.65), transparent 55%),
    linear-gradient(155deg, #edf1f5 0%, #d8e0e8 100%);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.8s var(--ease);
}

.media-frame.media-cover img {
  object-fit: cover;
}

.media-frame:hover img {
  transform: scale(1.03);
}

.media-frame.ratio-portrait {
  aspect-ratio: 3 / 4;
}

.media-frame.ratio-square {
  aspect-ratio: 1 / 1;
}

.media-frame.ratio-landscape {
  aspect-ratio: 4 / 3;
}

.media-frame.ratio-wide {
  aspect-ratio: 16 / 9;
}

.media-frame figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.85rem;
  font-size: 0.8rem;
  color: #fff;
  background: linear-gradient(to top, rgba(6, 24, 40, 0.78), transparent);
  pointer-events: none;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  align-items: start;
}

.product-grid.home-grid,
.product-grid.compact {
  grid-template-columns: repeat(3, 1fr);
}

.product-card {
  background: #fff;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(10, 39, 68, 0.08);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(6, 24, 40, 0.1);
}

.product-card .media-frame {
  border-bottom: 1px solid rgba(10, 39, 68, 0.06);
}

.product-card-body {
  padding: 1.15rem 1.2rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--champagne);
  margin-bottom: 0.45rem;
}

.product-card-body h2,
.product-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.product-card-body p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
  flex: 1;
}

/* Capability */
.capability-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.check-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.65rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid var(--champagne);
  border-radius: 50%;
}

.capability-mosaic {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0.75rem;
  align-items: start;
}

.capability-mosaic .mosaic-main {
  grid-row: 1 / span 2;
  height: 100%;
  min-height: 280px;
  aspect-ratio: auto;
}

.capability-mosaic .mosaic-main.ratio-wide {
  aspect-ratio: auto;
  align-self: stretch;
}

.capability-mosaic .mosaic-main img {
  object-fit: cover;
}

/* Cases */
.case-strip,
.cases-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: start;
}

.cases-masonry {
  grid-template-columns: repeat(3, 1fr);
}

.case-card,
.case-item {
  background: #e8eef3;
}

/* CTA */
.cta-band {
  background:
    linear-gradient(120deg, rgba(10, 39, 68, 0.94), rgba(6, 24, 40, 0.88)),
    url("../img/workshop.jpg") center / cover;
  color: #fff;
  padding: 4.5rem 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-inner h2 {
  margin-bottom: 0.4rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.cta-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

/* Page hero */
.page-hero {
  padding: calc(var(--header-h) + 3.5rem) 0 2.5rem;
  background:
    linear-gradient(180deg, var(--navy-deep), var(--navy-mid));
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    115deg,
    transparent 0 22px,
    rgba(201, 169, 106, 0.05) 22px 23px
  );
  pointer-events: none;
}

.page-hero .shell {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 0.5rem;
}

.page-lead {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* About */
.about-intro {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2.5rem;
}

.about-facts {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.about-facts > div {
  padding: 1rem 0;
  border-top: 1px solid rgba(10, 39, 68, 0.12);
}

.about-facts span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.about-facts strong {
  font-weight: 500;
  font-size: 1rem;
}

.muted {
  color: var(--muted);
  font-size: 0.92rem;
}

.reality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: start;
}

.scope-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.scope-chips span {
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(10, 39, 68, 0.15);
  font-size: 0.9rem;
  background: #fff;
}

/* Product detail */
.detail-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.detail-hero-media.media-frame {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.12), transparent 55%),
    rgba(0, 0, 0, 0.22);
  max-height: 520px;
}

.detail-hero-media.ratio-portrait {
  max-width: 380px;
  justify-self: end;
  width: 100%;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 1.5rem;
}

.pill {
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(201, 169, 106, 0.45);
  color: var(--champagne-soft);
  font-size: 0.8rem;
}

.detail-body {
  display: grid;
  gap: 2.5rem;
}

.note {
  font-size: 0.85rem;
  color: var(--muted);
}

.table-scroll {
  overflow-x: auto;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: #fff;
}

.spec-table th,
.spec-table td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(10, 39, 68, 0.1);
  text-align: left;
  white-space: nowrap;
}

.spec-table th {
  background: var(--navy);
  color: #fff;
  font-weight: 500;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
  align-items: start;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
}

.contact-info dl {
  margin: 1.5rem 0;
}

.contact-info dt {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.contact-info dd {
  margin: 0 0 1.1rem;
  font-size: 1.05rem;
}

.contact-map-note {
  padding: 1rem 0 0;
  border-top: 1px solid rgba(10, 39, 68, 0.12);
  color: var(--muted);
}

.contact-form-wrap {
  background: #fff;
  border: 1px solid rgba(10, 39, 68, 0.08);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  position: relative;
}

.contact-form .hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.contact-form label.full,
.contact-form .btn {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(10, 39, 68, 0.18);
  background: var(--paper);
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--champagne);
  box-shadow: 0 0 0 3px rgba(201, 169, 106, 0.2);
}

.form-error {
  color: #a33;
  margin-bottom: 1rem;
}

.form-success {
  padding: 1rem 0;
}

.form-success h3 {
  color: var(--navy);
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(201, 169, 106, 0.18);
}

.footer-brand {
  display: flex;
  align-items: center;
}

.footer-brand img {
  width: min(200px, 100%);
  height: auto;
  object-fit: contain;
}

.site-footer h4 {
  color: var(--champagne-soft);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: var(--champagne-soft);
}

.footer-values {
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-tag {
  color: var(--steel);
  font-size: 0.9rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--steel);
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.06s);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Mobile dock — hidden on desktop */
.mobile-dock {
  display: none;
}

/* Responsive */
@media (max-width: 980px) {
  .manifesto-grid,
  .capability-grid,
  .about-intro,
  .detail-hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .manifesto-visual {
    justify-self: start;
    max-width: 360px;
  }

  .product-grid,
  .product-grid.compact,
  .product-grid.home-grid,
  .case-strip,
  .reality-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cases-masonry {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-meta {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1rem;
  }

  .hero-meta > div:last-child {
    grid-column: 1 / -1;
  }

  .capability-mosaic {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .capability-mosaic .mosaic-main {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .detail-hero-media.ratio-portrait {
    max-width: 100%;
    justify-self: start;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 1.2rem, 1180px);
    --header-h: 58px;
    --dock-h: 64px;
  }

  body {
    overflow-x: hidden;
    padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px));
  }

  .section {
    padding: 2.75rem 0;
  }

  .site-header {
    background: rgba(6, 24, 40, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .site-header.is-scrolled {
    background: rgba(6, 24, 40, 0.97);
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-text strong {
    font-size: 0.95rem;
  }

  .brand-text small {
    font-size: 0.52rem;
    letter-spacing: 0.1em;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: -6px;
    z-index: 45;
  }

  .site-nav {
    display: none;
    position: fixed;
    inset: 0;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    transform: none;
    width: 100%;
    height: 100%;
    z-index: 45;
    margin: 0;
    padding: calc(var(--header-h) + 2rem) 1.5rem calc(var(--dock-h) + 2.5rem);
    padding-left: 1.5rem;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    background: #061828;
    pointer-events: auto;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    font-size: 1.2rem;
    padding: 1rem 1rem;
    width: min(280px, 100%);
    text-align: center;
    border-bottom: 1px solid rgba(201, 169, 106, 0.14);
    color: rgba(255, 255, 255, 0.9);
  }

  .site-nav a.is-active::after {
    display: none;
  }

  .site-nav a.is-active {
    color: var(--champagne-soft);
  }

  .site-nav .nav-cta {
    width: min(280px, 100%);
    margin-top: 1.5rem;
    border-bottom: 0;
    padding: 0.95rem 1rem;
    text-align: center;
    background: var(--champagne);
    color: var(--navy-deep) !important;
    border-color: var(--champagne);
  }

  body.nav-open {
    overflow: hidden;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-h) + 1.5rem) 0 1.5rem;
    align-content: end;
  }

  .hero-media {
    min-height: 100%;
  }

  .hero-img {
    object-position: center 35%;
  }

  .hero-content {
    padding-bottom: 1.25rem;
  }

  .hero-brand {
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    margin-bottom: 0.55rem;
    line-height: 1.4;
  }

  .hero-title {
    font-size: clamp(1.7rem, 8vw, 2.25rem);
    margin-bottom: 0.55rem;
  }

  .hero-lead {
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 0;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1.25rem;
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
  }

  .hero-meta {
    display: none;
  }

  .manifesto-copy h2 {
    font-size: 1.4rem;
  }

  .manifesto-visual {
    max-width: 100%;
    max-height: none;
  }

  .manifesto-visual.ratio-portrait {
    aspect-ratio: 3 / 4;
    max-width: 280px;
  }

  .section-head h2,
  .page-hero h1 {
    font-size: clamp(1.55rem, 6.8vw, 2rem);
  }

  .page-hero {
    padding: calc(var(--header-h) + 2rem) 0 1.5rem;
  }

  .page-lead {
    font-size: 0.92rem;
  }

  .product-grid,
  .product-grid.compact,
  .product-grid.home-grid,
  .case-strip,
  .cases-masonry,
  .reality-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0.95rem;
  }

  .product-card .media-frame.ratio-portrait,
  .case-card.ratio-portrait,
  .case-item.ratio-portrait {
    aspect-ratio: 3 / 4;
    max-height: 68vh;
  }

  .product-card .media-frame.ratio-square,
  .case-card.ratio-square,
  .case-item.ratio-square {
    aspect-ratio: 1 / 1;
    max-height: 70vw;
  }

  .product-card .media-frame.ratio-landscape,
  .case-card.ratio-landscape,
  .case-item.ratio-landscape,
  .reality-grid .ratio-landscape {
    aspect-ratio: 4 / 3;
  }

  .product-card .media-frame.ratio-wide,
  .case-card.ratio-wide,
  .case-item.ratio-wide,
  .reality-grid .ratio-wide {
    aspect-ratio: 16 / 9;
  }

  .product-card-body {
    padding: 0.95rem 1rem 1.1rem;
  }

  .product-card-body h2,
  .product-card-body h3 {
    font-size: 1.08rem;
  }

  .product-card-body p {
    font-size: 0.86rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .capability-mosaic {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .capability-mosaic .mosaic-main {
    aspect-ratio: 16 / 9;
  }

  .capability-mosaic .ratio-landscape {
    aspect-ratio: 4 / 3;
  }

  .cta-band {
    padding: 2.75rem 0;
  }

  .cta-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1.15rem;
  }

  .cta-inner .btn {
    width: 100%;
    min-height: 48px;
  }

  .pill-row {
    gap: 0.4rem;
  }

  .pill {
    font-size: 0.72rem;
  }

  .detail-hero-media.media-frame {
    max-height: none;
    max-width: 100%;
  }

  .detail-hero-media.ratio-portrait {
    aspect-ratio: 3 / 4;
    max-width: 320px;
    margin-inline: auto;
  }

  .detail-hero-media.ratio-wide {
    aspect-ratio: 16 / 9;
  }

  .detail-hero-media.ratio-landscape {
    aspect-ratio: 4 / 3;
  }

  .detail-hero-media.ratio-square {
    aspect-ratio: 1 / 1;
    max-width: 360px;
    margin-inline: auto;
  }

  .gallery-grid .media-frame {
    max-height: 70vh;
  }

  .contact-form-wrap {
    padding: 1.1rem;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form .btn {
    font-size: 16px;
  }

  .contact-form .btn {
    width: 100%;
    min-height: 48px;
  }

  .about-facts > div {
    padding: 0.8rem 0;
  }

  .scope-chips span {
    font-size: 0.8rem;
    padding: 0.42rem 0.65rem;
  }

  .footer-brand img {
    width: min(168px, 70vw);
  }

  .footer-grid {
    gap: 1.35rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.35rem;
  }

  .site-footer {
    padding-bottom: 1.25rem;
  }

  .table-scroll {
    margin: 0 -0.2rem;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
  }

  .spec-table {
    font-size: 0.78rem;
  }

  .spec-table th,
  .spec-table td {
    padding: 0.55rem 0.6rem;
  }

  .mobile-dock {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 46;
    height: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px));
    padding: 0.35rem 0.25rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
    background: rgba(6, 24, 40, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(201, 169, 106, 0.22);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.25);
  }

  .mobile-dock a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    min-height: 48px;
    transition: color 0.2s;
  }

  .mobile-dock a.is-active,
  .mobile-dock a.dock-primary {
    color: var(--champagne-soft);
  }

  .mobile-dock .dock-ico {
    font-size: 1.05rem;
    line-height: 1;
    opacity: 0.95;
  }
}

@media (max-width: 400px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .brand-text small {
    display: none;
  }

  .product-grid,
  .case-strip,
  .cases-masonry {
    gap: 0.85rem;
  }
}

@supports (padding: max(0px)) {
  .site-header .header-inner {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-lines { animation: none; }
  .hero-img { transition: none; transform: none; }
  .media-frame:hover img { transform: none; }
}
