@font-face {
  font-family: "Harbor Display";
  src: url("assets/fonts/chart-display-subset.ttf") format("truetype");
  font-display: swap;
}

:root {
  --abyss: #06161f;
  --navy: #0a2635;
  --navy-soft: #123849;
  --paper: #eee4cc;
  --paper-deep: #ded0af;
  --ink: #10232b;
  --sea: #57dac5;
  --sea-dark: #077168;
  --amber: #d49448;
  --silver: #b8c8c8;
  --white: #f7f3e8;
  --header-height: 82px;
  --edge: clamp(22px, 4.6vw, 76px);
  --display: "Harbor Display", "Microsoft YaHei", sans-serif;
  --body: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  scrollbar-color: var(--sea-dark) var(--paper);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background: var(--abyss);
  font-family: var(--body);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--abyss);
  background: var(--sea);
}

img,
svg {
  display: block;
}

img {
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--sea);
  outline-offset: 4px;
  box-shadow: 0 0 0 2px var(--abyss);
}

:focus:not(:focus-visible) {
  outline: none;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 14px;
  padding: 10px 16px;
  color: var(--abyss);
  background: var(--sea);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.06;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px var(--edge);
  border-bottom: 1px solid rgb(238 228 204 / 18%);
  background: rgb(6 22 31 / 88%);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--sea);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 15px;
  letter-spacing: .04em;
}

.brand-copy small {
  margin-top: 6px;
  color: var(--silver);
  font-size: 10px;
  letter-spacing: .16em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 38px);
}

.site-nav a {
  position: relative;
  min-height: 44px;
  padding: 10px 0;
  color: var(--white);
  font-size: 13px;
  letter-spacing: .08em;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: var(--sea);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  min-width: 76px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgb(238 228 204 / 34%);
  border-radius: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.menu-label {
  font-size: 12px;
  letter-spacing: .1em;
}

.menu-lines {
  display: grid;
  width: 18px;
  gap: 5px;
}

.menu-lines i {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--sea);
  transition: transform 180ms ease;
}

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

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

.hero {
  position: relative;
  min-height: min(940px, 100svh);
  overflow: hidden;
  background: var(--navy);
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(6 22 31 / 92%) 0%, rgb(6 22 31 / 66%) 42%, rgb(6 22 31 / 10%) 76%),
    linear-gradient(0deg, rgb(6 22 31 / 70%) 0%, transparent 36%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(850px, 70vw);
  min-height: min(940px, 100svh);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: calc(var(--header-height) + 72px) var(--edge) 100px;
}

.hero-location {
  margin-bottom: 24px;
  color: var(--sea);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 830px;
  margin-bottom: 30px;
  font-size: clamp(50px, 6.7vw, 104px);
  letter-spacing: -.035em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 640px;
  margin-bottom: 36px;
  color: #d7e0dc;
  font-size: clamp(16px, 1.25vw, 20px);
}

.primary-action,
.form-submit {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 12px 20px;
  border: 1px solid var(--sea);
  color: var(--abyss);
  background: var(--sea);
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.primary-action svg,
.form-submit svg,
.text-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.primary-action:hover,
.form-submit:hover {
  color: var(--sea);
  background: var(--abyss);
}

.hero-coordinate {
  position: absolute;
  z-index: 2;
  right: var(--edge);
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--silver);
  font-size: 9px;
  letter-spacing: .2em;
}

.hero-coordinate i {
  width: clamp(55px, 8vw, 124px);
  height: 1px;
  background: var(--sea);
}

.paper-section {
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgb(16 35 43 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(16 35 43 / 5%) 1px, transparent 1px);
  background-size: 32px 32px;
}

.positioning {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(50px, 8vw, 130px);
  padding: clamp(84px, 10vw, 160px) var(--edge);
}

.positioning h2,
.materials-intro h2,
.contact-copy h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(42px, 5.3vw, 82px);
  letter-spacing: -.03em;
}

.positioning-copy {
  align-self: end;
  padding-top: 22px;
  border-top: 2px solid var(--ink);
  font-size: clamp(15px, 1.25vw, 19px);
}

.positioning-copy p:last-child {
  margin-bottom: 0;
}

.route-section {
  position: relative;
  padding-top: clamp(92px, 10vw, 160px);
  background: var(--navy);
}

.route-heading {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .55fr);
  gap: 60px;
  align-items: end;
  padding: 0 var(--edge) clamp(70px, 8vw, 120px);
}

.route-heading h2,
.responsibility-panel h2 {
  max-width: 920px;
  margin-bottom: 0;
  font-size: clamp(44px, 6vw, 90px);
  letter-spacing: -.035em;
}

.route-heading p {
  margin-bottom: 8px;
  color: var(--silver);
}

.route-line {
  position: absolute;
  z-index: 3;
  top: 290px;
  left: 50%;
  width: 120px;
  height: calc(100% - 400px);
  overflow: visible;
  pointer-events: none;
  transform: translateX(-50%);
}

.route-line path {
  fill: none;
  stroke: var(--sea);
  stroke-dasharray: 1 10;
  stroke-linecap: round;
  stroke-width: 2;
}

@supports (stroke-dashoffset: 1) {
  .route-line path {
    stroke-dasharray: 1800;
    stroke-dashoffset: 1800;
  }

  .route-section.is-drawn .route-line path {
    animation: chart-route-draw 1600ms cubic-bezier(.25, .85, .3, 1) forwards;
  }
}

@keyframes chart-route-draw {
  to { stroke-dashoffset: 0; }
}

.route-stop {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  align-items: stretch;
}

.route-stop--paper {
  color: var(--ink);
  background: var(--paper);
}

.route-stop--dark {
  background: var(--abyss);
}

.route-stop--reverse figure {
  order: 2;
}

.route-stop--reverse .route-copy {
  order: 1;
}

.route-stop figure {
  min-height: 100%;
  margin: 0;
  overflow: hidden;
}

.route-stop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.route-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(60px, 8vw, 130px) clamp(34px, 6vw, 94px);
}

.route-node {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  color: var(--sea-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
}

.route-stop--dark .route-node {
  color: var(--sea);
}

.route-node::before {
  width: 36px;
  height: 1px;
  background: currentColor;
  content: "";
}

.route-copy h3,
.metal-copy h3 {
  margin-bottom: 26px;
  font-size: clamp(36px, 4vw, 62px);
  letter-spacing: -.025em;
}

.route-copy p {
  max-width: 600px;
  margin-bottom: 0;
  font-size: clamp(15px, 1.15vw, 18px);
}

.route-stop--dark .route-copy p {
  color: #c7d2d0;
}

.materials-section {
  padding: clamp(90px, 11vw, 170px) var(--edge);
}

.materials-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
  gap: 72px;
  align-items: end;
  margin-bottom: clamp(72px, 9vw, 135px);
}

.materials-intro p {
  margin-bottom: 8px;
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.metal-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
  align-items: end;
}

.metal-feature figure,
.application-figure {
  margin: 0;
  overflow: hidden;
}

.metal-feature figure {
  min-height: 650px;
}

.metal-feature img {
  height: 100%;
  min-height: 650px;
  object-fit: cover;
}

.metal-copy {
  margin: 0 0 74px -56px;
  padding: clamp(38px, 5vw, 70px);
  color: var(--white);
  background: var(--navy);
}

.metal-copy p {
  color: #cfdbd7;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 16px;
  color: var(--sea);
  font-weight: 700;
}

.application-figure {
  position: relative;
  min-height: 420px;
  margin-top: clamp(72px, 9vw, 135px);
}

.application-figure img {
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.application-figure figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 22px 28px;
  color: var(--white);
  background: rgb(6 22 31 / 90%);
  backdrop-filter: blur(10px);
}

.application-figure figcaption strong {
  color: var(--sea);
  letter-spacing: .16em;
}

.application-figure figcaption span {
  text-align: right;
}

.responsibility-section {
  position: relative;
  min-height: 850px;
  background: var(--navy);
}

.responsibility-section > figure {
  position: absolute;
  inset: 0;
  margin: 0;
}

.responsibility-section > figure::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(6 22 31 / 95%) 0%, rgb(6 22 31 / 72%) 50%, rgb(6 22 31 / 16%) 100%);
  content: "";
}

.responsibility-section > figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.responsibility-panel {
  position: relative;
  z-index: 2;
  width: min(830px, 70vw);
  min-height: 850px;
  padding: clamp(100px, 12vw, 190px) var(--edge);
}

.responsibility-panel h2 {
  margin-bottom: 34px;
}

.responsibility-panel > p {
  max-width: 660px;
  color: #d1dcda;
  font-size: clamp(15px, 1.2vw, 18px);
}

.record-lines {
  display: grid;
  max-width: 660px;
  margin-top: 48px;
  border-top: 1px solid rgb(87 218 197 / 55%);
}

.record-lines span {
  padding: 14px 0;
  border-bottom: 1px solid rgb(87 218 197 / 28%);
  color: var(--sea);
  font-size: 13px;
  letter-spacing: .08em;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, .78fr);
  gap: clamp(60px, 9vw, 150px);
  padding: clamp(90px, 11vw, 170px) var(--edge);
}

.contact-copy > p {
  max-width: 720px;
  margin-top: 32px;
  font-size: clamp(15px, 1.2vw, 18px);
}

.contact-copy dl {
  margin: 50px 0 0;
  border-top: 2px solid var(--ink);
}

.contact-copy dl > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgb(16 35 43 / 30%);
}

.contact-copy dt {
  color: var(--sea-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.contact-copy dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.contact-copy dd a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.contact-form {
  align-self: start;
  padding: clamp(32px, 4.5vw, 60px);
  color: var(--white);
  background: var(--navy);
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--silver);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgb(238 228 204 / 55%);
  border-radius: 0;
  color: var(--white);
  background: transparent;
  letter-spacing: normal;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form select {
  color-scheme: dark;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--sea);
}

.form-submit {
  width: 100%;
  border-radius: 0;
  cursor: pointer;
}

.form-status {
  min-height: 58px;
  margin: 18px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgb(238 228 204 / 16%);
  color: var(--sea);
  font-size: 13px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  align-items: center;
  gap: 28px;
  padding: 34px var(--edge);
  border-top: 1px solid rgb(238 228 204 / 16%);
  background: var(--abyss);
}

.site-footer p {
  margin: 0;
  color: var(--silver);
  font-size: 11px;
  letter-spacing: .08em;
  text-align: right;
}

.footer-brand {
  font-size: 13px;
}

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

@media (max-width: 1100px) {
  :root {
    --header-height: 76px;
  }

  .brand-copy small {
    display: none;
  }

  .site-nav {
    gap: 18px;
  }

  .positioning,
  .route-heading,
  .materials-intro {
    gap: 44px;
  }

  .route-stop {
    min-height: 560px;
  }

  .route-copy {
    padding: 56px 42px;
  }

  .contact-section {
    gap: 54px;
  }
}

@media (max-width: 900px) {
  .site-header {
    background: var(--abyss);
    backdrop-filter: none;
  }

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

  .site-nav {
    position: fixed;
    z-index: 99;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 30px var(--edge);
    background:
      linear-gradient(rgb(87 218 197 / 7%) 1px, transparent 1px),
      linear-gradient(90deg, rgb(87 218 197 / 7%) 1px, transparent 1px),
      var(--abyss);
    background-size: 36px 36px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    display: flex;
    min-height: 76px;
    align-items: center;
    border-bottom: 1px solid rgb(238 228 204 / 22%);
    font-family: var(--display);
    font-size: clamp(30px, 6vw, 50px);
    letter-spacing: -.015em;
  }

  .site-nav a::after {
    display: none;
  }

  .hero-copy {
    width: 88vw;
  }

  .positioning,
  .route-heading,
  .materials-intro,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .positioning-copy,
  .materials-intro p {
    max-width: 680px;
  }

  .route-heading {
    align-items: start;
  }

  .route-heading p {
    max-width: 600px;
  }

  .route-line {
    display: none;
  }

  .route-stop {
    min-height: auto;
    grid-template-columns: 1fr 1fr;
  }

  .route-stop figure {
    min-height: 480px;
  }

  .route-copy {
    padding: 52px 34px;
  }

  .metal-feature {
    grid-template-columns: 1fr;
  }

  .metal-copy {
    width: calc(100% - 48px);
    margin: -70px 24px 0;
  }

  .contact-section {
    gap: 70px;
  }

  .contact-form {
    max-width: 680px;
  }

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

  .site-footer p:last-child {
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 70px;
    --edge: 20px;
  }

  .site-header {
    padding-block: 10px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-copy strong {
    max-width: 128px;
    font-size: 12px;
    line-height: 1.3;
  }

  .menu-toggle {
    min-width: 70px;
    min-height: 46px;
  }

  .hero {
    min-height: 840px;
  }

  .hero > img {
    object-position: 61% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgb(6 22 31 / 92%) 0%, rgb(6 22 31 / 60%) 72%, rgb(6 22 31 / 18%) 100%),
      linear-gradient(0deg, rgb(6 22 31 / 82%) 0%, transparent 55%);
  }

  .hero-copy {
    width: 100%;
    min-height: 840px;
    justify-content: flex-end;
    padding: 126px var(--edge) 110px;
  }

  .hero-location {
    max-width: 300px;
    margin-bottom: 18px;
    font-size: 10px;
  }

  .hero h1 {
    margin-bottom: 24px;
    font-size: clamp(43px, 13.3vw, 58px);
    letter-spacing: -.03em;
  }

  .hero-lead {
    margin-bottom: 28px;
    font-size: 15px;
  }

  .hero-coordinate {
    right: auto;
    bottom: 26px;
    left: var(--edge);
  }

  .positioning {
    padding-block: 84px;
  }

  .positioning h2,
  .materials-intro h2,
  .contact-copy h2,
  .route-heading h2,
  .responsibility-panel h2 {
    font-size: clamp(39px, 11vw, 52px);
  }

  .route-heading {
    padding-bottom: 64px;
  }

  .route-stop,
  .route-stop--reverse {
    grid-template-columns: 1fr;
  }

  .route-stop figure,
  .route-stop--reverse figure {
    order: 1;
    min-height: 330px;
  }

  .route-stop .route-copy,
  .route-stop--reverse .route-copy {
    order: 2;
    padding: 52px var(--edge) 68px;
  }

  .route-copy h3,
  .metal-copy h3 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .materials-section {
    padding-block: 84px;
  }

  .materials-intro {
    margin-bottom: 70px;
  }

  .metal-feature figure,
  .metal-feature img {
    min-height: 390px;
  }

  .metal-copy {
    width: calc(100% - 24px);
    margin: -40px 12px 0;
    padding: 34px 26px;
  }

  .application-figure {
    min-height: 440px;
    margin-top: 72px;
  }

  .application-figure img {
    min-height: 440px;
  }

  .application-figure figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
  }

  .application-figure figcaption span {
    text-align: left;
  }

  .responsibility-section,
  .responsibility-panel {
    min-height: 780px;
  }

  .responsibility-section > figure::after {
    background: linear-gradient(0deg, rgb(6 22 31 / 97%) 0%, rgb(6 22 31 / 70%) 70%, rgb(6 22 31 / 28%) 100%);
  }

  .responsibility-panel {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: flex-end;
    padding: 90px var(--edge) 70px;
  }

  .contact-section {
    padding-block: 84px;
  }

  .contact-copy dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-form {
    margin-inline: calc(var(--edge) * -1);
    padding: 38px var(--edge);
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .site-footer p,
  .site-footer p:last-child {
    grid-column: 1;
    text-align: left;
  }
}

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

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

  .route-line path {
    stroke-dasharray: 1 10;
    stroke-dashoffset: 0;
  }
}
