/* VFS — Blue Marlin–inspired: full-bleed hero, numbered sections, navy/cyan, overlay nav */

:root {
  --bg-deep: #050a14;
  --bg-panel: #0c1524;
  --text: #e8eef6;
  --muted: #8a9bb0;
  --accent: #2b8cff;
  --accent-soft: rgba(43, 140, 255, 0.15);
  --line: rgba(255, 255, 255, 0.08);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-hover: 0.52s;
  --dur-hover-slow: 0.72s;
  --dur-overlay: 0.68s;
  --font-ja: "Noto Sans JP", system-ui, sans-serif;
  --font-en: "Syne", var(--font-ja);
}

html[data-vfs-lang="zh"] body {
  font-family: "Noto Sans SC", var(--font-ja);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ja);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-hover) var(--ease-out);
}

a:hover {
  color: var(--accent);
}

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: #fff;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.site-header__row {
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 2vw, 0.75rem);
  min-width: 0;
  flex: 1;
  pointer-events: auto;
}

.site-header .menu-btn {
  pointer-events: auto;
}

.lang-switch {
  display: inline-flex;
  flex-shrink: 0;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(6px);
}

.lang-switch__btn {
  font-family: var(--font-en);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.38rem 0.48rem;
  margin: 0;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  line-height: 1;
  transition: background var(--dur-hover) var(--ease-out), color var(--dur-hover) var(--ease-out);
}

.lang-switch__btn:last-child {
  border-right: none;
}

.lang-switch__btn.is-active {
  background: rgba(255, 255, 255, 0.26);
  color: #fff;
}

.lang-switch__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.brand {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand span {
  color: var(--accent);
}

.menu-btn {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem 0;
  position: relative;
}

.menu-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-hover) var(--ease-out);
}

.menu-btn:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

@media (max-width: 640px) {
  .site-header {
    padding: 0.72rem 1rem;
    gap: 0.5rem;
  }

  .site-header__row {
    gap: 0.45rem;
  }

  .brand {
    font-size: 0.66rem;
    letter-spacing: 0.04em;
    line-height: 1.2;
    max-width: min(54vw, 14rem);
  }

  .lang-switch__btn {
    font-size: 0.5rem;
    padding: 0.28rem 0.34rem;
  }
}

/* Overlay nav */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 10, 20, 0.97);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 8vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-overlay) var(--ease-out), visibility var(--dur-overlay);
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-overlay__close {
  position: absolute;
  top: 1.25rem;
  right: 1.75rem;
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  transition: color var(--dur-hover) var(--ease-out);
}

.nav-overlay__close:hover {
  color: #fff;
}

.nav-overlay ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-overlay li {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-hover-slow) var(--ease-out), transform var(--dur-hover-slow) var(--ease-out);
}

.nav-overlay.is-open li {
  opacity: 1;
  transform: translateY(0);
}

.nav-overlay.is-open li:nth-child(1) { transition-delay: 0.07s; }
.nav-overlay.is-open li:nth-child(2) { transition-delay: 0.14s; }
.nav-overlay.is-open li:nth-child(3) { transition-delay: 0.21s; }
.nav-overlay.is-open li:nth-child(4) { transition-delay: 0.29s; }
.nav-overlay.is-open li:nth-child(5) { transition-delay: 0.36s; }
.nav-overlay.is-open li:nth-child(6) { transition-delay: 0.43s; }
.nav-overlay.is-open li:nth-child(7) { transition-delay: 0.5s; }
.nav-overlay.is-open li:nth-child(8) { transition-delay: 0.57s; }
.nav-overlay.is-open li:nth-child(9) { transition-delay: 0.64s; }

.nav-overlay a {
  font-family: var(--font-en);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  display: block;
  padding: 0.35rem 0;
  letter-spacing: 0.02em;
}

.nav-overlay .nav-sub {
  margin: 0.5rem 0 1rem 1rem;
  border-left: 1px solid var(--line);
  padding-left: 1rem;
}

.nav-overlay .nav-sub a {
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font-ja);
  padding: 0.25rem 0;
}

/* —— Hero —— */
.hero {
  min-height: 100vh;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--bg-deep) center / cover no-repeat;
  transform: scale(1.04);
  animation: heroKen 18s ease-in-out infinite alternate;
  filter: brightness(1.22) saturate(1.05);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    160deg,
    rgba(247, 250, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.12) 42%,
    rgba(246, 250, 255, 0.94) 100%
  );
}

@keyframes heroKen {
  from {
    transform: scale(1.04) translate(0, 0);
  }
  to {
    transform: scale(1.08) translate(-1%, 1%);
  }
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 7rem 8vw 4rem;
  max-width: 1200px;
}

.hero__label {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #155dfc;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 0.2s forwards;
}

.hero__title {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(2.1rem, 6.85vw, 4.65rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.hero__title .line {
  display: block;
  overflow: hidden;
}

.hero__title .line span {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  animation: riseIn 1s var(--ease-out) forwards;
  color: #0a1628;
}

.hero__title .line:nth-child(1) span { animation-delay: 0.35s; }
.hero__title .line:nth-child(2) span { animation-delay: 0.5s; }

.hero__title em {
  font-style: normal;
  color: #155dfc;
}

.hero__tagline {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: #334155;
  max-width: 36em;
  margin: 0 0 2.5rem;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 0.85s forwards;
}

.scroll-hint {
  font-family: var(--font-en);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 1.2s forwards;
}

.scroll-hint__bar {
  width: 1px;
  height: 48px;
  background: linear-gradient(transparent, rgba(21, 93, 252, 0.85));
  animation: scrollBar 2s ease-in-out infinite;
}

@keyframes scrollBar {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.6);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg {
    animation: none;
    filter: brightness(1.15) saturate(1.02);
  }
}

/* Partner / references strip — flat logos; scroll (.reveal) shows each row */
.partner-strip {
  background: var(--bg-panel);
  padding: clamp(3.25rem, 8vw, 5.75rem) 8vw;
}

.partner-strip__inner {
  max-width: 1240px;
  margin: 0 auto;
  isolation: isolate;
}

.partner-strip__title {
  font-family: var(--font-en);
  font-size: clamp(1.05rem, 2.4vw, 1.55rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  text-align: center;
  line-height: 1.15;
}

.partner-strip__logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.75rem, 4vw, 3rem);
}

.partner-strip__logos > li {
  flex: 0 1 auto;
}

.partner-strip__logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  background: none;
  transition: opacity var(--dur-hover) var(--ease-out);
}

.partner-strip__logo-link:hover {
  opacity: 0.82;
}

.partner-strip__logo-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  opacity: 1;
}

.partner-strip__logo-link img {
  height: clamp(44px, 6.5vw, 72px);
  width: auto;
  max-width: min(100vw - 4rem, 200px);
  object-fit: contain;
  display: block;
}

/* White / light marks only: hides leftover black matte on the dark strip without touching navy + black logos */
.partner-strip__logo-link--knockout-dark img {
  mix-blend-mode: lighten;
}

@media (prefers-reduced-motion: reduce) {
  .partner-strip .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* —— Sections —— */
.section {
  padding: 5rem 8vw;
  position: relative;
}

.section--alt {
  background: var(--bg-panel);
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1rem 2rem;
  margin-bottom: 2.5rem;
}

.section__num {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
}

.section__title {
  font-family: var(--font-en);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* One “paper” band per page — white field, blue-forward type (apply to an existing block) */
.section--paper {
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 48%, #e8f1ff 100%);
  --paper-heading: #0c2668;
  --paper-body: #2563eb;
  --paper-link: #155dfc;
  --paper-soft: rgba(21, 93, 252, 0.12);
}

.section--paper .section__num {
  color: var(--paper-link);
}

.section--paper .section__title {
  color: var(--paper-heading);
}

.section--paper .card {
  background: transparent;
  border: none;
  box-shadow: none;
}

.section--paper .card__label {
  color: var(--paper-link);
}

.section--paper .card h3 {
  color: var(--paper-heading);
}

.section--paper .card p {
  color: var(--paper-body);
}

.section--paper .card__link {
  color: var(--paper-link);
}

.section--paper .strength-list li {
  border-bottom-color: rgba(21, 93, 252, 0.15);
}

.section--paper .strength-list strong {
  color: var(--paper-link);
}

.section--paper .strength-list li > div {
  color: var(--paper-body);
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.grid-3 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: transparent;
  border: none;
  overflow: visible;
}

.card__img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  display: block;
}

.card__body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.card__label {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}

.card h3 {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.card__link {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* List strengths */
.strength-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.strength-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.strength-list strong {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  min-width: 4rem;
}

/* News strip */
.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-list li {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  align-items: baseline;
}

.news-list time {
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: var(--muted);
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 4rem 8vw;
  background: linear-gradient(180deg, var(--bg-panel) 0%, var(--bg-deep) 100%);
  border-top: 1px solid var(--line);
}

.cta-band h2 {
  font-family: var(--font-en);
  font-size: clamp(1.25rem, 3vw, 2rem);
  margin: 0 0 1rem;
}

.btn {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 2.25rem;
  border: 1px solid var(--accent);
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transition: background var(--dur-hover) var(--ease-out), color var(--dur-hover) var(--ease-out);
}

.btn:hover {
  background: var(--accent);
  color: #fff;
}

/* —— Footer —— */
.site-footer {
  padding: 3rem 8vw 2rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 2rem;
}

.site-footer h4 {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: var(--muted);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.footer-brand {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.copy {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2rem;
}

/* —— Inner page layout —— */
.page-hero {
  min-height: 45vh;
  display: flex;
  align-items: flex-end;
  padding: 8rem 8vw 3rem;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-family: var(--font-en);
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.page-hero p {
  color: var(--muted);
  margin: 0.5rem 0 0;
  max-width: 40em;
}

.page-hero--photo {
  position: relative;
  overflow: hidden;
  min-height: min(52vh, 640px);
  background: var(--bg-deep);
}

.page-hero--photo .page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero--photo .page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Subject (e.g. helicopter) sits high in frame — pin top so it is not clipped */
.page-hero--photo-subject-top {
  min-height: min(58vh, 720px);
}

.page-hero--photo-subject-top .page-hero__media img {
  object-position: center top;
}

.page-hero--photo .page-hero__scrim {
  display: none;
}

.page-hero--photo .page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-hero--photo h1 {
  color: var(--text);
  text-shadow: none;
}

.page-hero--photo p {
  color: var(--muted);
  text-shadow: none;
}

.works-case__figure {
  margin: 0.65rem 0 1.35rem;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-panel);
}

.works-case__figure img {
  width: 100%;
  display: block;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

/* —— About: video hero —— */
.about-hero {
  position: relative;
  min-height: min(75vh, 880px);
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.about-hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-hero__scrim {
  display: none;
}

.about-hero__inner {
  position: relative;
  z-index: 2;
  padding: 9rem 8vw 3.5rem;
  max-width: 900px;
}

.about-hero h1 {
  font-family: var(--font-en);
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 2px 28px rgba(0, 0, 0, 0.5);
}

.about-hero__lead {
  color: rgba(236, 244, 252, 0.95);
  margin: 0.5rem 0 0;
  max-width: 40em;
  line-height: 1.7;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8), 0 1px 18px rgba(0, 0, 0, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .about-hero__video {
    display: none;
  }

  .about-hero {
    min-height: 45vh;
    background: var(--bg-panel);
  }

  .about-hero .about-hero__scrim {
    display: none;
  }

  .about-hero h1,
  .about-hero__lead {
    color: var(--text);
    text-shadow: none;
  }

  .about-hero .about-hero__lead {
    color: var(--muted);
  }
}

.content-block {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 8vw 5rem;
}

.content-block h2 {
  font-family: var(--font-en);
  font-size: 1.25rem;
  margin: 2.5rem 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block h3 {
  font-size: 1.05rem;
  margin: 1.75rem 0 0.5rem;
}

.content-block ul,
.content-block ol {
  padding-left: 1.25rem;
  color: var(--muted);
}

.content-block li {
  margin-bottom: 0.35rem;
}

.content-block.content-block--paper {
  position: relative;
  z-index: 0;
  --text: #0c2668;
  --muted: #2563eb;
  color: #2563eb;
}

.content-block.content-block--paper::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 48%, #e8f1ff 100%);
  pointer-events: none;
}

.content-block.content-block--paper h2,
.content-block.content-block--paper h3 {
  color: #0c2668;
}

.content-block.content-block--paper a:not(.btn) {
  color: #155dfc;
}

.content-block.content-block--paper .faq-item {
  border-bottom-color: rgba(21, 93, 252, 0.18);
}

.content-block.content-block--paper .faq-item summary::after {
  color: #155dfc;
}

.content-block.content-block--paper .faq-item .answer {
  color: #2563eb;
}

.content-block.content-block--paper .form-row label {
  color: #1d4ed8;
}

.content-block.content-block--paper .form-row input,
.content-block.content-block--paper .form-row textarea,
.content-block.content-block--paper .form-row select {
  background: #ffffff;
  border-color: rgba(21, 93, 252, 0.28);
  color: #0c2668;
}

.content-block.content-block--paper .form-note {
  color: #2563eb;
}

.content-block.content-block--paper ul,
.content-block.content-block--paper ol {
  color: #2563eb;
}

.two-col {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.detail-visual {
  margin: 2rem 0;
  border: none;
  overflow: hidden;
}

.detail-visual img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

/* Sales — infinite hardware strip */
.page-sales .sales-marquee {
  margin: 2rem calc(50% - 50vw);
  padding: 0.5rem 0 1rem;
  width: 100vw;
  position: relative;
}

.page-sales .sales-marquee__viewport {
  overflow: hidden;
  position: relative;
  padding: 0.75rem 0 1rem;
}

.page-sales .sales-marquee__fade {
  pointer-events: none;
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(48px, 8vw, 120px);
  z-index: 2;
}

.page-sales .sales-marquee__fade--start {
  left: 0;
  background: linear-gradient(to right, var(--bg-deep) 0%, transparent 100%);
}

.page-sales .sales-marquee__fade--end {
  right: 0;
  background: linear-gradient(to left, var(--bg-deep) 0%, transparent 100%);
}

.page-sales .content-block--paper .sales-marquee__fade--start {
  background: linear-gradient(to right, #f5f9ff 0%, transparent 100%);
}

.page-sales .content-block--paper .sales-marquee__fade--end {
  background: linear-gradient(to left, #f5f9ff 0%, transparent 100%);
}

.page-sales .sales-marquee__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: max-content;
  animation: sales-marquee-slide 75s linear infinite;
  will-change: transform;
}

.page-sales .sales-marquee__row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--sales-marquee-gap, clamp(1rem, 2.5vw, 1.75rem));
  flex: 0 0 auto;
}

.page-sales .sales-marquee__row .sales-marquee__thumb:last-child {
  margin-inline-end: var(--sales-marquee-gap, clamp(1rem, 2.5vw, 1.75rem));
}

.page-sales .sales-marquee__thumb {
  flex: 0 0 auto;
  width: clamp(200px, 24vw, 300px);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-panel);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.35),
    0 18px 42px rgba(0, 0, 0, 0.55),
    0 2px 0 rgba(255, 255, 255, 0.04) inset;
  transform: translateZ(0);
}

.page-sales .sales-marquee__thumb img {
  width: 100%;
  height: clamp(130px, 15vw, 190px);
  object-fit: cover;
  display: block;
  max-width: none;
}

@keyframes sales-marquee-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-sales .sales-marquee__track {
    animation: none;
    transform: translateX(0);
  }
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  padding: 1.25rem 0;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.faq-item summary::after {
  content: "+";
  font-family: var(--font-en);
  color: var(--accent);
  font-size: 1.25rem;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .answer {
  padding: 0 0 1.25rem;
  color: var(--muted);
}

/* Form */
.form-grid {
  display: grid;
  gap: 1.25rem;
}

.form-row label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--dur-hover) var(--ease-out);
}

.form-row textarea {
  min-height: 160px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-errors {
  list-style: none;
  margin: 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid #dc2626;
  background: rgba(220, 38, 38, 0.06);
  color: #b91c1c;
  font-size: 0.9rem;
}

.form-errors li + li {
  margin-top: 0.35rem;
}

.content-block.content-block--paper .form-errors {
  border-left-color: #dc2626;
  background: rgba(220, 38, 38, 0.08);
  color: #991b1b;
}

.works-coming-soon {
  text-align: center;
  padding-top: 0.5rem;
  padding-bottom: 2rem;
}

.works-coming-soon__label {
  font-family: var(--font-display, "Syne", sans-serif);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent, #155dfc);
  margin: 0;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .site-header {
    padding: 1rem 1.25rem;
  }
}


/* —— Smartphone: compact square-ish heroes —— */
@media (max-width: 640px) {
  .hero {
    min-height: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    max-height: min(100vh, 100vw);
    max-height: min(100svh, 100dvh);
    align-items: flex-end;
    overflow: hidden;
  }

  .hero__inner {
    padding: 5.75rem 1.35rem 1.35rem;
    max-width: none;
  }

  .hero__label {
    font-size: 0.5rem;
    margin-bottom: 0.42rem;
    letter-spacing: 0.22em;
  }

  .hero__title {
    font-size: clamp(1.06rem, 6.65vw, 1.58rem);
    margin-bottom: 0.65rem;
    line-height: 1.06;
    letter-spacing: -0.01em;
  }

  .hero__tagline {
    font-size: 0.85rem;
    line-height: 1.62;
    margin: 0 0 1rem;
    max-width: 36ch;
  }

  .hero .scroll-hint {
    margin-top: 0;
    font-size: 0.58rem;
  }

  .page-hero {
    min-height: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    max-height: min(100vh, 100vw);
    max-height: min(100svh, 100dvh);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    padding: 6.5rem 1.35rem 1.5rem;
    overflow: hidden;
  }

  .page-hero h1 {
    font-size: clamp(1.35rem, 9vw, 1.95rem);
    line-height: 1.08;
  }

  .page-hero p {
    margin-top: 0.4rem;
    font-size: 0.86rem;
    line-height: 1.58;
    max-width: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Photo heroes with subject near top of bitmap — avoid 1:1 square cropping off rotor */
  .page-hero.page-hero--photo-subject-top {
    aspect-ratio: 3 / 4;
    max-height: min(130vw, 92svh);
    max-height: min(130vw, 92dvh);
  }

  .about-hero {
    min-height: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    max-height: min(100vh, 100vw);
    max-height: min(100svh, 100dvh);
    align-items: flex-end;
    box-sizing: border-box;
    overflow: hidden;
  }

  .about-hero__inner {
    padding: 6.75rem 1.35rem 1.35rem;
    max-width: none;
    width: 100%;
    box-sizing: border-box;
  }

  .about-hero h1 {
    font-size: clamp(1.35rem, 9vw, 2rem);
    line-height: 1.06;
  }

  .about-hero__lead {
    font-size: 0.86rem;
    line-height: 1.62;
    margin-top: 0.45rem;
    max-width: 38ch;
  }
}

.lang-note {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
  margin: 0.25rem 0 0;
}


