@font-face {
  font-family: "Barlow";
  src: url("/assets/fonts/barlow-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("/assets/fonts/barlow-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans SC";
  src: url("/assets/fonts/noto-sans-sc-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans SC";
  src: url("/assets/fonts/noto-sans-sc-medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}

:root {
  --yf-color-bg-canvas: #061820;
  --yf-color-bg-surface: #0a2029;
  --yf-color-bg-surface-raised: #102d38;
  --yf-color-bg-subtle: #eaf0f2;
  --yf-color-bg-inverse: #041117;
  --yf-color-bg-brand-subtle: #3a2417;
  --yf-color-bg-brand-strong: #f97316;
  --yf-color-bg-light-canvas: #f5f7f7;
  --yf-color-bg-light-surface: #ffffff;
  --yf-color-bg-light-subtle: #e8eef0;
  --yf-color-text-primary: #f5fafb;
  --yf-color-text-secondary: #bfd0d5;
  --yf-color-text-tertiary: #8fa7ae;
  --yf-color-text-inverse: #10262e;
  --yf-color-text-inverse-secondary: #52676d;
  --yf-color-text-brand: #ff8a35;
  --yf-color-text-on-brand: #101618;
  --yf-color-border-subtle: #183742;
  --yf-color-border-default: #31505a;
  --yf-color-border-strong: #6d858c;
  --yf-color-border-light: #cad6d9;
  --yf-color-border-brand: #f97316;
  --yf-color-action-primary-default: #f97316;
  --yf-color-action-primary-hover: #ff8a35;
  --yf-color-action-primary-pressed: #d95a0b;
  --yf-color-action-primary-on-primary: #101618;
  --yf-color-action-secondary-default: #102d38;
  --yf-color-action-secondary-hover: #183d49;
  --yf-color-action-secondary-on-secondary: #f5fafb;
  --yf-color-focus-ring: #67c7df;
  --yf-color-selection-bg: #f97316;
  --yf-color-status-error-text: #ffb4ad;
  --yf-color-status-error-text-light: #a52720;
  --yf-color-status-info-bg: #153d4b;
  --yf-color-status-info-text: #d5f2fa;
  --yf-color-overlay-hero: rgba(2, 15, 20, 0.79);
  --yf-color-overlay-hero-clear: rgba(2, 15, 20, 0.18);
  --yf-color-overlay-black-20: rgba(0, 0, 0, 0.2);
  --yf-color-overlay-black-42: rgba(0, 0, 0, 0.42);

  --yf-spacing-none: 0;
  --yf-spacing-2xs: 2px;
  --yf-spacing-xs: 4px;
  --yf-spacing-sm: 8px;
  --yf-spacing-md: 12px;
  --yf-spacing-lg: 16px;
  --yf-spacing-xl: 20px;
  --yf-spacing-2xl: 24px;
  --yf-spacing-3xl: 32px;
  --yf-spacing-4xl: 40px;
  --yf-spacing-5xl: 48px;
  --yf-spacing-6xl: 64px;
  --yf-spacing-7xl: 80px;
  --yf-spacing-8xl: 96px;
  --yf-spacing-9xl: 120px;

  --yf-radius-none: 0;
  --yf-radius-sm: 2px;
  --yf-radius-md: 4px;
  --yf-radius-lg: 6px;
  --yf-radius-xl: 8px;
  --yf-radius-2xl: 12px;
  --yf-radius-3xl: 16px;
  --yf-radius-4xl: 24px;
  --yf-radius-full: 9999px;

  --yf-size-control-regular: 40px;
  --yf-size-control-large: 48px;
  --yf-border-width-default: 1px;
  --yf-border-width-strong: 2px;
  --yf-border-width-focus: 3px;
  --yf-shadow-low: 0 1px 2px var(--yf-color-overlay-black-20);
  --yf-shadow-medium: 0 12px 28px var(--yf-color-overlay-black-20);
  --yf-shadow-high: 0 24px 56px var(--yf-color-overlay-black-42);
  --yf-motion-fast: 120ms;
  --yf-motion-base: 180ms;
  --yf-motion-moderate: 240ms;
  --yf-ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --yf-ease-enter: cubic-bezier(0, 0, 0, 1);
  --yf-layout-wide: 1440px;
  --yf-layout-copy: 760px;
  --yf-layout-contact: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  /*scroll-padding-top: calc(var(--yf-spacing-7xl) + var(--yf-spacing-sm));*/
  scroll-padding-top: 69px;
}

body {
  margin: var(--yf-spacing-none);
  min-width: 320px;
  color: var(--yf-color-text-primary);
  background: var(--yf-color-bg-canvas);
  font-family: "Barlow", "Noto Sans SC", "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

html[lang^="zh"] body {
  font-family: "Noto Sans SC", "Noto Sans", sans-serif;
}

::selection {
  color: var(--yf-color-text-on-brand);
  background: var(--yf-color-selection-bg);
}

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

:focus-visible {
  outline: var(--yf-border-width-focus) solid var(--yf-color-focus-ring);
  outline-offset: var(--yf-spacing-xs);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: var(--yf-spacing-sm);
  left: var(--yf-spacing-sm);
  padding: var(--yf-spacing-md) var(--yf-spacing-lg);
  border-radius: var(--yf-radius-lg);
  color: var(--yf-color-text-on-brand);
  background: var(--yf-color-action-primary-default);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform var(--yf-motion-fast) var(--yf-ease-enter);
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: var(--yf-border-width-default) solid var(--yf-color-border-subtle);
  background: var(--yf-color-bg-inverse);
  box-shadow: var(--yf-shadow-low);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--yf-spacing-3xl);
  width: min(100%, calc(var(--yf-layout-wide) + var(--yf-spacing-5xl)));
  min-height: 68px;
  margin-inline: auto;
  padding: var(--yf-spacing-sm) var(--yf-spacing-2xl);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
  min-height: 52px;
}

.brand img {
  width: 154px;
  height: auto;
}

.brand-logo-zh,
html[lang^="zh"] .brand-logo-en {
  display: none;
}

html[lang^="zh"] .brand-logo-zh {
  display: block;
}

.site-nav,
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--yf-spacing-sm);
}

.site-nav {
  flex: 1;
  gap: var(--yf-spacing-2xl);
}

.nav-links {
  margin: var(--yf-spacing-none);
  padding: var(--yf-spacing-none);
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--yf-size-control-large);
  padding: var(--yf-spacing-sm) var(--yf-spacing-md);
  border-radius: var(--yf-radius-md);
  color: var(--yf-color-text-secondary);
  font-family: "Noto Sans SC", "Noto Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition:
    color var(--yf-motion-base) var(--yf-ease-standard),
    background-color var(--yf-motion-base) var(--yf-ease-standard);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--yf-color-text-primary);
  background: var(--yf-color-action-secondary-hover);
  text-decoration: underline;
  text-underline-offset: var(--yf-spacing-xs);
}

.nav-link:active {
  color: var(--yf-color-text-brand);
  background: var(--yf-color-bg-surface-raised);
}

.button.navigation-toggle {
  display: none;
}

.language-switch {
  display: flex;
  align-items: center;
  margin-left: auto;
  color: var(--yf-color-text-tertiary);
  font-size: 12px;
  line-height: 16px;
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--yf-size-control-large);
  min-height: var(--yf-size-control-large);
  padding: var(--yf-spacing-xs) var(--yf-spacing-sm);
  border: 0;
  border-radius: var(--yf-radius-none);
  color: var(--yf-color-text-secondary);
  background: transparent;
  font-family: "Noto Sans SC", "Noto Sans", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.5px;
  text-underline-offset: var(--yf-spacing-xs);
  cursor: pointer;
  transition: color var(--yf-motion-base) var(--yf-ease-standard);
}

.language-switch a:hover,
.language-switch a:focus-visible,
.language-switch a[aria-current="page"] {
  color: var(--yf-color-text-primary);
  text-decoration: underline;
}

.language-switch a:active {
  color: var(--yf-color-text-brand);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--yf-size-control-large);
  padding: var(--yf-spacing-md) var(--yf-spacing-xl);
  border: var(--yf-border-width-default) solid transparent;
  border-radius: var(--yf-radius-lg);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition:
    background-color var(--yf-motion-base) var(--yf-ease-standard),
    border-color var(--yf-motion-base) var(--yf-ease-standard),
    color var(--yf-motion-base) var(--yf-ease-standard),
    transform var(--yf-motion-fast) var(--yf-ease-standard);
}

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

.button:active {
  transform: translateY(0);
}

.button-primary {
  color: var(--yf-color-action-primary-on-primary);
  background: var(--yf-color-action-primary-default);
}

.button-primary:hover {
  background: var(--yf-color-action-primary-hover);
}

.button-primary:active {
  background: var(--yf-color-action-primary-pressed);
}

.button-secondary {
  border-color: var(--yf-color-border-default);
  color: var(--yf-color-action-secondary-on-secondary);
  background: var(--yf-color-action-secondary-default);
}

.button-secondary:hover {
  background: var(--yf-color-action-secondary-hover);
}

.section-inner {
  width: min(100%, calc(var(--yf-layout-wide) + var(--yf-spacing-5xl)));
  margin-inline: auto;
  padding-inline: var(--yf-spacing-2xl);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--yf-spacing-md);
  margin: 0 0 var(--yf-spacing-lg);
  color: var(--yf-color-text-brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: var(--yf-spacing-4xl);
  height: var(--yf-border-width-strong);
  background: var(--yf-color-bg-brand-strong);
  content: "";
}

.section-heading {
  max-width: var(--yf-layout-copy);
  margin: 0;
  font-family: "Barlow", "Noto Sans SC", "Noto Sans", sans-serif;
  font-size: clamp(40px, 5.2vw, 64px);
  font-weight: 700;
  letter-spacing: -1.6px;
  line-height: 1.05;
  text-transform: uppercase;
}

html[lang^="zh"] .section-heading {
  letter-spacing: -0.8px;
  text-transform: none;
}

.section-intro {
  max-width: 680px;
  margin: var(--yf-spacing-2xl) 0 0;
  color: var(--yf-color-text-secondary);
  font-size: 18px;
  line-height: 1.55;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 790px;
  overflow: hidden;
  background: var(--yf-color-bg-canvas);
}

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

.hero-media {
  z-index: -2;
}

.hero-media img {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  z-index: -1;
  background: linear-gradient(90deg, var(--yf-color-overlay-hero) 0%, var(--yf-color-overlay-hero) 43%, var(--yf-color-overlay-hero-clear) 78%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: min(100%, calc(var(--yf-layout-wide) + var(--yf-spacing-5xl)));
  min-height: 790px;
  margin-inline: auto;
  padding: var(--yf-spacing-8xl) var(--yf-spacing-2xl) var(--yf-spacing-5xl);
}

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

.hero-series {
  margin: 0 0 var(--yf-spacing-xl);
  color: var(--yf-color-text-secondary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: "Barlow", "Noto Sans SC", "Noto Sans", sans-serif;
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 700;
  letter-spacing: -2.5px;
  line-height: 0.93;
  text-transform: uppercase;
}

html[lang^="zh"] .hero h1 {
  letter-spacing: -1.5px;
  line-height: 1.06;
  text-transform: none;
  white-space: nowrap;
}

.hero-summary {
  max-width: 650px;
  margin: var(--yf-spacing-2xl) 0 0;
  color: var(--yf-color-text-secondary);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--yf-spacing-md);
  margin-top: var(--yf-spacing-3xl);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--yf-spacing-md);
  margin-top: var(--yf-spacing-6xl);
}

.feature-card {
  min-height: 132px;
  padding: var(--yf-spacing-xl);
  border-top: var(--yf-border-width-strong) solid var(--yf-color-border-brand);
  background: var(--yf-color-bg-surface);
  box-shadow: var(--yf-shadow-low);
}

.feature-value {
  margin: 0;
  color: var(--yf-color-text-primary);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1.2;
  text-transform: uppercase;
}

.feature-label {
  margin: var(--yf-spacing-sm) 0 0;
  color: var(--yf-color-text-secondary);
  font-size: 14px;
  line-height: 1.45;
}

.light-section {
  --yf-color-text-primary: var(--yf-color-text-inverse);
  --yf-color-text-secondary: var(--yf-color-text-inverse-secondary);
  --yf-color-border-subtle: var(--yf-color-border-light);
  color: var(--yf-color-text-primary);
  background: var(--yf-color-bg-light-canvas);
}

.fleet-section {
  padding-block: var(--yf-spacing-9xl) var(--yf-spacing-5xl);
}

.fleet-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--yf-spacing-5xl);
  margin-bottom: var(--yf-spacing-6xl);
}

.fleet-header .section-intro {
  max-width: 500px;
  margin: 0 0 var(--yf-spacing-sm);
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--yf-spacing-md);
  overflow-x: auto;
  padding-bottom: var(--yf-spacing-sm);
  scrollbar-color: var(--yf-color-border-strong) var(--yf-color-bg-light-subtle);
}

.vessel-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: var(--yf-border-width-default) solid var(--yf-color-border-subtle);
  border-top: var(--yf-border-width-strong) solid var(--yf-color-border-brand);
  border-radius: var(--yf-radius-2xl);
  background: var(--yf-color-bg-light-surface);
  box-shadow: var(--yf-shadow-low);
}

.vessel-visual {
  position: relative;
}

.vessel-visual > img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: center 44%;
  background: var(--yf-color-bg-subtle);
}

.motor-badge {
  position: absolute;
  top: var(--yf-spacing-sm);
  right: var(--yf-spacing-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--yf-spacing-xs);
  width: var(--yf-spacing-8xl);
  padding: var(--yf-spacing-xs) var(--yf-spacing-sm);
  border: var(--yf-border-width-default) solid transparent;
  border-radius: var(--yf-radius-lg);
  color: var(--yf-color-action-secondary-on-secondary);
  background: var(--yf-color-bg-inverse);
  pointer-events: none;
}

.motor-badge-icon {
  display: block;
  width: var(--yf-spacing-6xl);
  height: var(--yf-spacing-5xl);
  color: var(--yf-color-action-secondary-on-secondary);
  fill: currentColor;
  stroke: var(--yf-color-bg-inverse);
  stroke-width: var(--yf-border-width-default);
  stroke-linejoin: round;
  paint-order: stroke fill;
  flex: none;
}

.motor-badge-label {
  color: var(--yf-color-action-secondary-on-secondary);
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.5px;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-text-fill-color: currentColor;
}

.vessel-content {
  padding: var(--yf-spacing-lg);
}

.vessel-kicker {
  display: inline-flex;
  margin: 0;
  padding: var(--yf-spacing-2xs) var(--yf-spacing-sm);
  border-radius: var(--yf-radius-full);
  color: var(--yf-color-text-on-brand);
  background: var(--yf-color-action-primary-default);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.vessel-title {
  position: relative;
  margin: var(--yf-spacing-xs) 0 var(--yf-spacing-lg);
  padding-bottom: var(--yf-spacing-md);
  font-family: "Barlow", "Noto Sans SC", "Noto Sans", sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
  text-transform: uppercase;
}

.vessel-title::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: var(--yf-spacing-4xl);
  height: var(--yf-spacing-2xs);
  background: var(--yf-color-bg-brand-strong);
  content: "";
}

.vessel-specs {
  display: grid;
  gap: var(--yf-spacing-sm);
  margin: 0;
}

.vessel-specs div {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--yf-spacing-2xs);
  padding-top: var(--yf-spacing-sm);
  border-top: var(--yf-border-width-default) solid var(--yf-color-border-subtle);
}

.vessel-specs dt {
  color: var(--yf-color-text-secondary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.vessel-specs dd {
  margin: 0;
  font-family: "Barlow", "Noto Sans SC", "Noto Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
}

.fleet-scroll-hint {
  display: none;
  margin: calc(var(--yf-spacing-3xl) * -1) 0 var(--yf-spacing-lg);
  color: var(--yf-color-text-secondary);
  font-size: 13px;
}

/* Figma Specification Table: Light mode, zebra rows, 20px cell insets. */
.specifications-section {
  --yf-color-bg-surface: var(--yf-color-bg-light-surface);
  --yf-color-bg-subtle: #f7f8f8;
  --yf-color-text-primary: #0d1113;
  --yf-color-text-secondary: #4d575b;
  --yf-color-text-brand: #b5430b;
  --yf-color-border-subtle: #eceeef;
  --yf-color-border-default: #d8dcde;
  --yf-color-focus-ring: #1e879c;
  padding-bottom: var(--yf-spacing-9xl);
}

.specifications-header {
  padding-top: var(--yf-spacing-5xl);
  margin-bottom: var(--yf-spacing-3xl);
  border-top: var(--yf-border-width-default) solid var(--yf-color-border-default);
}

.specifications-header .eyebrow {
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.5px;
}

.specifications-title {
  margin: 0;
  font-family: "Noto Sans SC", "Noto Sans", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
}

.specifications-intro,
.spec-scroll-hint {
  margin: var(--yf-spacing-md) 0 0;
  color: var(--yf-color-text-secondary);
  font-family: "Noto Sans SC", "Noto Sans", sans-serif;
  font-size: 14px;
  line-height: 20px;
}

.spec-scroll-hint {
  display: none;
}

.spec-group + .spec-group {
  margin-top: var(--yf-spacing-4xl);
}

.spec-group-heading {
  display: flex;
  align-items: baseline;
  gap: var(--yf-spacing-lg);
  margin: 0 0 var(--yf-spacing-lg);
  font-family: "Noto Sans SC", "Noto Sans", sans-serif;
  font-size: 20px;
  line-height: 28px;
}

.spec-group-number {
  color: var(--yf-color-text-brand);
  font-family: "Barlow", sans-serif;
}

.spec-table-scroll {
  overflow-x: auto;
  border: var(--yf-border-width-default) solid var(--yf-color-border-default);
  border-radius: var(--yf-radius-lg);
  background: var(--yf-color-bg-surface);
  overscroll-behavior-inline: contain;
  scrollbar-color: var(--yf-color-border-strong) var(--yf-color-bg-subtle);
}

.spec-table-scroll:focus-visible {
  outline-offset: var(--yf-spacing-xs);
}

.spec-table {
  width: 100%;
  min-width: var(--yf-layout-copy);
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-family: "Noto Sans SC", "Noto Sans", sans-serif;
  font-size: 14px;
  line-height: 20px;
}

.spec-table col:first-child {
  width: 24%;
}

.spec-table th,
.spec-table td {
  padding: var(--yf-spacing-md) var(--yf-spacing-xl);
  border-right: var(--yf-border-width-default) solid var(--yf-color-border-subtle);
  border-bottom: var(--yf-border-width-default) solid var(--yf-color-border-subtle);
  background: var(--yf-color-bg-surface);
  text-align: left;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

.spec-table tr > :last-child {
  border-right: 0;
}

.spec-table tbody:last-child tr:last-child > * {
  border-bottom: 0;
}

.spec-table thead th {
  padding-block: var(--yf-spacing-2xl);
  border-top: var(--yf-border-width-strong) solid var(--yf-color-border-brand);
}

.spec-model strong {
  display: block;
  font-family: "Barlow", sans-serif;
  font-size: 24px;
  line-height: 32px;
}

.spec-model-subtitle {
  display: block;
  margin-top: var(--yf-spacing-xs);
  color: var(--yf-color-text-secondary);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.5px;
}

.spec-table .spec-category th {
  padding-block: var(--yf-spacing-sm);
  background: var(--yf-color-bg-subtle);
  font-weight: 700;
}

.spec-category span {
  position: sticky;
  left: var(--yf-spacing-xl);
}

.spec-table .spec-parameter {
  position: sticky;
  z-index: 1;
  left: 0;
  color: var(--yf-color-text-secondary);
  font-weight: 500;
}

.spec-table .spec-data-row:nth-child(odd) > * {
  background: var(--yf-color-bg-subtle);
}

.spec-value-key {
  font-family: "Barlow", "Noto Sans SC", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  font-variant-numeric: tabular-nums;
}

.spec-status {
  display: inline-block;
  min-width: var(--yf-spacing-5xl);
  padding: var(--yf-spacing-2xs) var(--yf-spacing-sm);
  border: var(--yf-border-width-default) solid var(--yf-color-border-default);
  border-radius: var(--yf-radius-md);
  font-weight: 500;
  text-align: center;
}

.engineering-section {
  padding-block: var(--yf-spacing-9xl);
  background: var(--yf-color-bg-light-subtle);
}

.engineering-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--yf-spacing-2xl);
  margin-top: var(--yf-spacing-6xl);
}

.engineering-card {
  min-height: 340px;
  padding: var(--yf-spacing-5xl);
  border: var(--yf-border-width-default) solid var(--yf-color-border-subtle);
  border-radius: var(--yf-radius-2xl);
  background: var(--yf-color-bg-light-surface);
}

.engineering-number {
  margin: 0 0 var(--yf-spacing-4xl);
  color: var(--yf-color-text-brand);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.engineering-card h3 {
  margin: 0;
  font-family: "Barlow", "Noto Sans SC", "Noto Sans", sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1.2;
  text-transform: uppercase;
}

html[lang^="zh"] .engineering-card h3 {
  text-transform: none;
}

.engineering-card p:last-child {
  margin: var(--yf-spacing-2xl) 0 0;
  color: var(--yf-color-text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

.architecture-section {
  position: relative;
  overflow: hidden;
  padding-block: var(--yf-spacing-9xl);
  background: var(--yf-color-bg-canvas);
}

.architecture-section::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--yf-spacing-sm);
  background: var(--yf-color-bg-brand-strong);
  content: "";
}

.architecture-header {
  max-width: 760px;
  margin-left: auto;
  text-align: right;
}

.architecture-header .eyebrow {
  justify-content: flex-end;
}

.architecture-header .eyebrow::before {
  order: 2;
}

.architecture-header .section-heading {
  margin-left: auto;
  font-size: clamp(40px, 4.8vw, 64px);
}

.architecture-header .section-intro {
  margin-left: auto;
}

.architecture-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(247px, 300px) minmax(200px, 240px) minmax(247px, 300px);
  grid-template-rows: repeat(4, minmax(240px, auto));
  column-gap: var(--yf-spacing-2xl);
  row-gap: var(--yf-spacing-3xl);
  align-items: start;
  justify-content: center;
  margin-top: var(--yf-spacing-5xl);
}

.architecture-ghost {
  position: absolute;
  z-index: 0;
  top: var(--yf-spacing-3xl);
  left: 0;
  display: grid;
  gap: var(--yf-spacing-3xl);
  color: transparent;
  font-family: "Barlow", sans-serif;
  font-size: clamp(48px, 5.5vw, 80px);
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
  opacity: 0.72;
  pointer-events: none;
  text-transform: uppercase;
  -webkit-text-stroke: var(--yf-border-width-default) var(--yf-color-border-default);
}

.architecture-connectors {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.architecture-connectors path {
  fill: none;
  stroke: var(--yf-color-border-brand);
  stroke-width: var(--yf-border-width-default);
  vector-effect: non-scaling-stroke;
}

.detail-card {
  position: relative;
  z-index: 3;
  width: min(100%, 247px);
  overflow: hidden;
  background: transparent;
}

.detail-card::before {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: var(--yf-spacing-3xl);
  height: var(--yf-spacing-xs);
  background: var(--yf-color-bg-brand-strong);
  content: "";
}

.detail-card img {
  width: 100%;
  aspect-ratio: 800 / 507;
  border: var(--yf-border-width-strong) solid var(--yf-color-border-default);
  object-fit: cover;
  background: var(--yf-color-bg-surface-raised);
}

.detail-copy {
  padding: var(--yf-spacing-md) var(--yf-spacing-none) var(--yf-spacing-none);
}

.detail-heading {
  display: grid;
  grid-template-columns: var(--yf-spacing-3xl) 1fr;
  align-items: baseline;
  gap: var(--yf-spacing-sm);
  margin: 0;
}

.detail-number {
  flex: 0 0 auto;
  color: var(--yf-color-text-brand);
  font-family: "Barlow", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.detail-card h3 {
  margin: 0;
  font-family: "Barlow", "Noto Sans SC", "Noto Sans", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.2px;
  line-height: 1.25;
  text-transform: uppercase;
}

html[lang^="zh"] .detail-card h3 {
  text-transform: none;
}

.detail-card ol {
  margin: var(--yf-spacing-md) 0 0;
  padding-left: calc(var(--yf-spacing-3xl) + var(--yf-spacing-sm));
  color: var(--yf-color-text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.detail-card li + li {
  margin-top: var(--yf-spacing-xs);
}

.detail-gps {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.detail-shaft {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
}

.detail-assembly {
  grid-column: 3;
  grid-row: 3;
  justify-self: end;
}

.detail-thrust {
  grid-column: 1;
  grid-row: 4;
  justify-self: start;
}

.product-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 2;
  grid-row: 1 / 5;
  align-self: stretch;
  min-height: calc(960px + var(--yf-spacing-8xl));
  margin: 0;
  padding: var(--yf-spacing-2xl) var(--yf-spacing-none);
}

.product-figure {
  position: relative;
  width: auto;
  height: 876px;
  max-width: 100%;
  aspect-ratio: 600 / 2616;
}

.product-visual img {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 28px 28px var(--yf-color-overlay-black-42));
}

.product-point {
  position: absolute;
  z-index: 4;
  left: var(--point-x);
  top: var(--point-y);
  width: var(--yf-spacing-md);
  height: var(--yf-spacing-md);
  border: var(--yf-border-width-strong) solid var(--yf-color-text-primary);
  border-radius: var(--yf-radius-full);
  background: var(--yf-color-bg-brand-strong);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.safety-note {
  display: flex;
  align-items: center;
  gap: var(--yf-spacing-xl);
  margin: var(--yf-spacing-7xl) 0 0;
  padding: var(--yf-spacing-3xl) var(--yf-spacing-none);
  border-bottom: var(--yf-spacing-sm) solid var(--yf-color-border-brand);
  color: var(--yf-color-text-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.safety-label {
  flex: 0 0 auto;
  color: var(--yf-color-text-brand);
}

.company-section {
  padding-block: var(--yf-spacing-9xl);
}

.company-header {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: var(--yf-spacing-7xl);
  align-items: start;
  margin-bottom: var(--yf-spacing-4xl);
}

.company-header .eyebrow {
  color: var(--yf-color-text-secondary);
}

.company-description {
  color: var(--yf-color-text-secondary);
  font-size: 18px;
  line-height: 28px;
}

.company-description p {
  margin: 0;
}

.company-description p + p {
  margin-top: var(--yf-spacing-lg);
}

.company-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--yf-spacing-2xl);
}

.company-photo {
  min-width: 0;
  margin: 0;
}

.company-photo img {
  width: 100%;
  height: auto;
  border-radius: var(--yf-radius-2xl);
}

.company-photo figcaption {
  margin-top: var(--yf-spacing-md);
  color: var(--yf-color-text-secondary);
  font-size: 14px;
  line-height: 20px;
}

/* Remove inquiry-disabled from body to restore the section and its entry points. */
.inquiry-disabled .inquiry-section,
.inquiry-disabled [data-inquiry-entry] {
  display: none;
}

.inquiry-section {
  padding-block: var(--yf-spacing-9xl);
  background: var(--yf-color-bg-surface);
}

.inquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: var(--yf-spacing-7xl);
  width: min(100%, calc(var(--yf-layout-contact) + var(--yf-spacing-5xl)));
  margin-inline: auto;
  padding-inline: var(--yf-spacing-2xl);
}

.inquiry-copy .section-heading {
  font-size: clamp(40px, 4.5vw, 56px);
}

.inquiry-form {
  min-width: 0;
  margin: 0;
  padding: var(--yf-spacing-4xl);
  border: var(--yf-border-width-default) solid var(--yf-color-border-default);
  border-radius: var(--yf-radius-2xl);
  background: var(--yf-color-bg-surface-raised);
  box-shadow: var(--yf-shadow-medium);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--yf-spacing-2xl);
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  margin-bottom: var(--yf-spacing-sm);
  color: var(--yf-color-text-primary);
  font-family: "Noto Sans SC", "Noto Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.5px;
}

.required-mark {
  margin-left: var(--yf-spacing-xs);
  color: var(--yf-color-text-brand);
}

.form-field input,
.form-field textarea {
  display: block;
  width: 100%;
  min-height: var(--yf-size-control-large);
  padding: var(--yf-spacing-md) var(--yf-spacing-lg);
  border: var(--yf-border-width-default) solid var(--yf-color-border-default);
  border-radius: var(--yf-radius-lg);
  color: var(--yf-color-text-primary);
  background: var(--yf-color-bg-canvas);
  font-size: 16px;
  line-height: 24px;
  transition: border-color var(--yf-motion-base) var(--yf-ease-standard);
}

.form-field textarea {
  min-height: calc(var(--yf-size-control-large) * 3);
  resize: vertical;
}

.form-field input:hover,
.form-field textarea:hover {
  border-color: var(--yf-color-border-strong);
}

.form-field [aria-invalid="true"] {
  border-color: var(--yf-color-status-error-text);
}

.field-error {
  margin: var(--yf-spacing-sm) 0 0;
  color: var(--yf-color-status-error-text);
  font-size: 14px;
  line-height: 20px;
}

.field-error:empty,
.form-status:empty {
  display: none;
}

.form-actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: var(--yf-spacing-lg);
  margin-top: var(--yf-spacing-2xl);
}

.inquiry-form .button:disabled {
  color: var(--yf-color-text-tertiary);
  background: var(--yf-color-action-secondary-default);
  border-color: var(--yf-color-border-default);
  cursor: not-allowed;
  transform: none;
}

.form-note,
.form-status {
  margin: 0;
  color: var(--yf-color-text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.inquiry-email {
  display: inline-flex;
  align-items: center;
  min-height: var(--yf-size-control-large);
  margin-top: var(--yf-spacing-2xl);
  overflow-wrap: anywhere;
}

.inquiry-email,
.footer-contact a {
  text-decoration: underline;
  text-underline-offset: var(--yf-spacing-xs);
}

.inquiry-email:hover,
.footer-contact a:hover {
  color: var(--yf-color-text-brand);
}

.inquiry-email:active,
.footer-contact a:active {
  color: var(--yf-color-focus-ring);
}

.site-footer {
  border-top: var(--yf-border-width-default) solid var(--yf-color-border-subtle);
  background: var(--yf-color-bg-inverse);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  align-items: start;
  gap: var(--yf-spacing-2xl);
  width: min(100%, calc(var(--yf-layout-wide) + var(--yf-spacing-5xl)));
  min-height: 112px;
  margin-inline: auto;
  padding: var(--yf-spacing-4xl) var(--yf-spacing-2xl);
  color: var(--yf-color-text-tertiary);
  font-size: 14px;
  line-height: 20px;
}

.footer-brand {
  display: grid;
  gap: var(--yf-spacing-lg);
}

.footer-contact {
  display: grid;
  gap: var(--yf-spacing-md);
  margin: 0;
  color: var(--yf-color-text-secondary);
  font-style: normal;
  overflow-wrap: anywhere;
}

.footer-address {
  margin: 0;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: var(--yf-size-control-large);
}

.footer-tagline,
.footer-copyright {
  margin: 0;
}

.footer-copyright {
  font-family: "Barlow", sans-serif;
  letter-spacing: 0.4px;
}

@media (max-width: 1024px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav {
    flex-basis: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: var(--yf-spacing-lg);
    padding-block: var(--yf-spacing-sm) var(--yf-spacing-lg);
  }

  .nav-links {
    align-items: stretch;
    flex-direction: column;
    gap: var(--yf-spacing-xs);
  }

  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding-inline: var(--yf-spacing-lg);
  }

  .site-nav .language-switch {
    align-self: flex-start;
    margin-left: 0;
  }

  .site-header[data-navigation-ready] .navigation-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-header[data-navigation-ready] .site-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    max-height: calc(100dvh - var(--yf-spacing-7xl));
    overflow-y: auto;
    padding: var(--yf-spacing-lg) var(--yf-spacing-2xl) var(--yf-spacing-2xl);
    border-bottom: var(--yf-border-width-default) solid var(--yf-color-border-subtle);
    background: var(--yf-color-bg-inverse);
    box-shadow: var(--yf-shadow-medium);
  }

  .site-header[data-navigation-ready] .site-nav.is-open {
    display: flex;
  }

  .spec-scroll-hint {
    display: block;
  }

  .hero,
  .hero-inner {
    min-height: 760px;
  }

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

  .fleet-header {
    display: block;
  }

  .fleet-header .section-intro {
    max-width: 680px;
    margin-top: var(--yf-spacing-2xl);
  }

  .fleet-grid {
    grid-template-columns: repeat(6, minmax(220px, 1fr));
    scroll-snap-type: x proximity;
  }

  .vessel-card {
    scroll-snap-align: start;
  }

  .fleet-scroll-hint {
    display: block;
  }

  .architecture-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    column-gap: var(--yf-spacing-3xl);
    align-items: stretch;
  }

  .architecture-connectors {
    display: none;
  }

  .product-point {
    display: none;
  }

  .product-visual {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: calc(588px + var(--yf-spacing-5xl));
  }

  .product-figure {
    height: 588px;
  }

  .detail-card {
    width: min(100%, 247px);
    justify-self: center;
  }

  .detail-gps {
    grid-column: 1;
    grid-row: 2;
  }

  .detail-shaft {
    grid-column: 2;
    grid-row: 2;
  }

  .detail-assembly {
    grid-column: 1;
    grid-row: 3;
  }

  .detail-thrust {
    grid-column: 2;
    grid-row: 3;
  }

  .inquiry-layout {
    grid-template-columns: 1fr;
    gap: var(--yf-spacing-5xl);
  }
}

@media (max-width: 768px) {
  .specifications-section {
    padding-bottom: var(--yf-spacing-7xl);
  }

  .specifications-header {
    padding-top: var(--yf-spacing-4xl);
  }

  .spec-table col:first-child {
    width: calc(var(--yf-spacing-7xl) * 2);
  }

  .header-inner,
  .section-inner,
  .hero-inner,
  .inquiry-layout,
  .footer-inner {
    padding-inline: var(--yf-spacing-lg);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand {
    min-height: 44px;
  }

  .brand img {
    width: 132px;
  }

  .site-header[data-navigation-ready] .site-nav {
    padding-inline: var(--yf-spacing-lg);
  }

  .hero,
  .hero-inner {
    min-height: 820px;
  }

  .hero-inner {
    padding-top: var(--yf-spacing-7xl);
  }

  .hero-shade {
    background: linear-gradient(90deg, var(--yf-color-overlay-hero) 0%, var(--yf-color-overlay-hero) 62%, var(--yf-color-overlay-hero-clear) 100%);
  }

  .hero h1 {
    font-size: clamp(52px, 14vw, 72px);
  }

  html[lang^="zh"] .hero h1 {
    font-size: 40px;
    line-height: 48px;
    letter-spacing: 0;
  }

  .fleet-section,
  .engineering-section,
  .architecture-section,
  .company-section,
  .inquiry-section {
    padding-block: var(--yf-spacing-7xl);
  }

  .company-header,
  .company-gallery {
    grid-template-columns: 1fr;
    gap: var(--yf-spacing-3xl);
  }

  .company-description {
    font-size: 16px;
    line-height: 24px;
  }

  .fleet-header,
  .engineering-grid,
  .architecture-layout {
    margin-top: 0;
  }

  .fleet-header {
    margin-bottom: var(--yf-spacing-5xl);
  }

  .fleet-grid {
    grid-template-columns: repeat(6, 220px);
  }

  .engineering-grid {
    grid-template-columns: 1fr;
    margin-top: var(--yf-spacing-5xl);
  }

  .engineering-card {
    min-height: 0;
    padding: var(--yf-spacing-3xl);
  }

  .architecture-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    margin-top: var(--yf-spacing-5xl);
  }

  .architecture-header {
    max-width: none;
    margin-left: 0;
    text-align: left;
  }

  .architecture-header .eyebrow {
    justify-content: flex-start;
  }

  .architecture-header .eyebrow::before {
    order: 0;
  }

  .architecture-header .section-heading,
  .architecture-header .section-intro {
    margin-left: 0;
  }

  .architecture-ghost {
    top: var(--yf-spacing-2xl);
    font-size: 52px;
    opacity: 0.46;
  }

  .product-visual {
    grid-column: 1;
    grid-row: 1;
    min-height: calc(533px + var(--yf-spacing-5xl));
  }

  .product-figure {
    height: 533px;
  }

  .detail-gps,
  .detail-shaft,
  .detail-assembly,
  .detail-thrust {
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
    width: min(100%, 247px);
  }

  .safety-note {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--yf-spacing-sm);
    margin-top: var(--yf-spacing-5xl);
  }

  .inquiry-form {
    padding: var(--yf-spacing-2xl);
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .specifications-title {
    font-size: 24px;
    line-height: 32px;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: var(--yf-spacing-sm);
  }

  .brand img {
    width: 108px;
  }

  .hero,
  .hero-inner {
    min-height: 880px;
  }

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

  .hero-inner {
    padding-top: var(--yf-spacing-6xl);
    padding-bottom: var(--yf-spacing-3xl);
  }

  .hero-series {
    font-size: 12px;
  }

  .hero h1 {
    font-size: 50px;
  }

  html[lang^="zh"] .hero h1 {
    font-size: 32px;
    line-height: 40px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-summary,
  .section-intro {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--yf-spacing-sm);
    margin-top: var(--yf-spacing-4xl);
  }

  .feature-card {
    min-height: 110px;
    padding: var(--yf-spacing-lg);
  }

  .feature-value {
    font-size: 20px;
  }

  .feature-label {
    font-size: 12px;
  }

  .section-heading {
    font-size: 40px;
  }

  .vessel-title {
    font-size: 32px;
  }

  .engineering-card {
    padding: var(--yf-spacing-2xl);
  }

  .engineering-card h3 {
    font-size: 24px;
  }

  .product-visual {
    min-height: calc(425px + var(--yf-spacing-5xl));
    padding-inline: var(--yf-spacing-none);
  }

  .product-figure {
    height: 425px;
  }

}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
.spec-page-link {
  display: inline-flex;
  align-items: center;
  min-height: var(--yf-size-control-large);
  color: var(--yf-color-text-inverse);
  text-decoration: underline;
  text-underline-offset: var(--yf-spacing-xs);
}
.spec-page-link:hover { text-decoration-thickness: var(--yf-border-width-strong); }

.product-point[data-point="gps"] { --point-x: 65.833%; --point-y: 5.619%; }
.product-point[data-point="shaft"] { --point-x: 44.833%; --point-y: 35.833%; }
.product-point[data-point="assembly"] { --point-x: 58.333%; --point-y: 64.182%; }
.product-point[data-point="thrust"] { --point-x: 56.667%; --point-y: 92.393%; }
