/* Zhejiang Haicheng Commodities — pure front-end corporate website */
:root {
  --red: #d20a26;
  --red-deep: #ae001b;
  --gold: #efb400;
  --gold-soft: #fff5d8;
  --ink: #17191d;
  --ink-soft: #262a30;
  --text: #30343a;
  --muted: #747980;
  --line: #e6e6e2;
  --paper: #ffffff;
  --off-white: #f6f6f3;
  --radius: 28px;
  --shadow: 0 24px 70px rgba(20, 24, 30, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  color: var(--text);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: #fff;
  background: var(--red);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

.container {
  width: min(1200px, calc(100% - 80px));
  margin-inline: auto;
}

.section {
  padding: 140px 0;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 18px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: 84px;
  border-bottom: 1px solid transparent;
  transition: height 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled,
.site-header.menu-active {
  height: 72px;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(20, 24, 30, 0.07);
  box-shadow: 0 8px 30px rgba(20, 24, 30, 0.03);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}

.nav-wrap {
  display: flex;
  align-items: center;
  height: 100%;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
}

.brand-logo {
  width: 47px;
  height: 40px;
  object-fit: contain;
}

.brand-divider {
  width: 1px;
  height: 26px;
  margin: 0 13px 0 8px;
  background: #d8d9d6;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: 0.14em;
}

.brand-text small {
  margin-top: 5px;
  color: #898b8d;
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-left: auto;
  margin-right: 44px;
}

.desktop-nav a {
  position: relative;
  padding: 8px 0;
  color: #4f5358;
  font-size: 14px;
  transition: color 0.25s ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--ink);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  color: #fff;
  background: var(--ink);
  border-radius: 100px;
  font-size: 13px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav-contact svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.nav-contact:hover {
  background: var(--red);
  transform: translateY(-1px);
}

.menu-toggle,
.mobile-nav {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 160px 0 0;
  background: var(--off-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: -240px;
  right: -160px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(239, 180, 0, 0.08), rgba(239, 180, 0, 0) 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 72px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #555960;
  font-size: 14px;
  font-weight: 550;
  letter-spacing: 0.22em;
}

.eyebrow-mark {
  position: relative;
  width: 24px;
  height: 7px;
  background: var(--red);
}

.eyebrow-mark::after {
  position: absolute;
  top: 0;
  right: -8px;
  width: 5px;
  height: 7px;
  background: var(--gold);
  content: "";
}

.hero h1 {
  margin: 28px 0 30px;
  color: var(--ink);
  font-size: clamp(58px, 5.4vw, 82px);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.16;
}

.hero h1 span {
  position: relative;
  display: inline-block;
}

.hero h1 span::after {
  position: absolute;
  right: 2px;
  bottom: -8px;
  width: 50px;
  height: 6px;
  background: linear-gradient(90deg, var(--red) 0 58%, var(--gold) 58% 100%);
  content: "";
}

.hero-intro {
  max-width: 520px;
  color: #656a70;
  font-size: 17px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 52px;
  font-size: 14px;
  font-weight: 550;
}

.button-primary {
  padding: 0 24px;
  color: #fff;
  background: var(--red);
  border-radius: 100px;
  box-shadow: 0 10px 24px rgba(210, 10, 38, 0.16);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.button-primary svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 0.25s ease;
}

.button-primary:hover {
  background: var(--red-deep);
  box-shadow: 0 14px 30px rgba(210, 10, 38, 0.22);
  transform: translateY(-2px);
}

.button-primary:hover svg {
  transform: translateX(3px);
}

.button-text {
  gap: 10px;
  color: var(--ink);
}

.button-text span {
  color: var(--red);
  font-size: 20px;
  transition: transform 0.25s ease;
}

.button-text:hover span {
  transform: translate(2px, -2px);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 38px;
  color: #888b8e;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.meta-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(239, 180, 0, 0.12);
}

.hero-art {
  position: relative;
  justify-self: end;
  width: min(100%, 510px);
  aspect-ratio: 1 / 1;
  perspective: 1000px;
}

.art-grid {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image: linear-gradient(rgba(22, 25, 29, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(22, 25, 29, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 72%);
  mask-image: radial-gradient(circle, #000 20%, transparent 72%);
}

.art-orbit {
  position: absolute;
  border: 1px solid;
  border-radius: 50%;
}

.orbit-red {
  inset: 5% 8% 10% 5%;
  border-color: rgba(210, 10, 38, 0.15);
  transform: rotate(-18deg);
}

.orbit-red::before {
  position: absolute;
  top: 15%;
  right: 8%;
  width: 11px;
  height: 11px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(210, 10, 38, 0.08);
  content: "";
}

.orbit-gold {
  inset: 13% 0 1% 13%;
  border-color: rgba(239, 180, 0, 0.24);
  transform: rotate(24deg);
}

.orbit-gold::before {
  position: absolute;
  bottom: 10%;
  left: 13%;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  content: "";
}

.logo-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 68%;
  height: 76%;
  padding: 28px 28px 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 32px;
  box-shadow: 0 35px 80px rgba(35, 31, 22, 0.13), 0 4px 12px rgba(35, 31, 22, 0.04);
  transform: translate(-50%, -50%) rotate(3deg);
  transition: transform 0.25s ease-out;
}

.stage-kicker {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 9px;
  color: #96989a;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.stage-kicker span {
  width: 16px;
  height: 4px;
  background: var(--red);
}

.hero-logo {
  width: 94%;
  max-height: 240px;
  object-fit: contain;
}

.stage-bottom {
  display: flex;
  align-items: center;
  align-self: stretch;
  justify-content: center;
  gap: 15px;
  padding-top: 18px;
  border-top: 1px solid #eeeeeb;
  color: #666a6f;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.stage-bottom i {
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
}

.art-label {
  position: absolute;
  z-index: 2;
  color: #8c8e8f;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
}

.label-top {
  top: 2%;
  left: 16%;
}

.label-side {
  right: -50px;
  bottom: 31%;
  transform: rotate(90deg);
}

.art-chip {
  position: absolute;
  z-index: 3;
  padding: 9px 15px;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(30, 30, 30, 0.12);
  font-size: 11px;
  font-weight: 550;
  letter-spacing: 0.08em;
}

.chip-red {
  top: 22%;
  left: 0;
  background: var(--red);
  transform: rotate(-7deg);
}

.chip-gold {
  right: -1%;
  bottom: 20%;
  color: #332800;
  background: var(--gold);
  transform: rotate(5deg);
}

.hero-media {
  position: relative;
  justify-self: end;
  width: min(100%, 540px);
  height: 550px;
  background: #25465c;
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(25, 43, 56, 0.18);
  overflow: hidden;
}

.hero-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-media:hover > img {
  transform: scale(1.07);
}

.hero-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 24, 38, 0.32) 0%, rgba(6, 24, 38, 0.02) 40%, rgba(6, 24, 38, 0.82) 100%);
}

.media-topline {
  position: absolute;
  top: 28px;
  right: 30px;
  left: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.82);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.media-topline span:last-child {
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 100px;
  letter-spacing: 0.08em;
}

.hero-media figcaption {
  position: absolute;
  right: 36px;
  bottom: 34px;
  left: 36px;
  color: #fff;
}

.media-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f5cc5c;
  font-size: 11px;
  font-weight: 550;
  letter-spacing: 0.16em;
}

.media-kicker::before {
  width: 22px;
  height: 3px;
  background: var(--red);
  content: "";
}

.hero-media figcaption strong {
  display: block;
  margin: 16px 0 24px;
  font-size: 38px;
  font-weight: 550;
  letter-spacing: -0.035em;
  line-height: 1.35;
}

.media-location {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
  color: rgba(255, 255, 255, 0.66);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.media-location span {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.stats-wrap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 92px;
  padding: 34px 0 38px;
  border-top: 1px solid #deded9;
}

.stat-item {
  padding-left: 38px;
  border-left: 1px solid #deded9;
}

.stat-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.stat-item strong {
  color: var(--ink);
  font-size: 36px;
  font-weight: 550;
  letter-spacing: -0.045em;
  line-height: 1.25;
}

.stat-item strong span {
  margin-left: 7px;
  color: #50545a;
  font-size: 13px;
  font-weight: 450;
  letter-spacing: 0;
}

.stat-item p {
  margin-top: 8px;
  color: #85898e;
  font-size: 12px;
}

/* Shared section typography */
.section-index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-index::before {
  width: 20px;
  height: 3px;
  background: currentColor;
  content: "";
}

.section-index.light {
  color: var(--gold);
}

.section-heading,
.business-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 100px;
}

.section h2,
.contact-card h2 {
  margin-top: 24px;
  color: var(--ink);
  font-size: clamp(42px, 4vw, 58px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.25;
}

.heading-copy {
  padding-bottom: 4px;
}

.heading-copy p {
  color: #74787e;
  font-size: 14px;
  line-height: 2;
}

.heading-copy .lead {
  margin-bottom: 18px;
  color: #33373d;
  font-size: 18px;
  line-height: 1.85;
}

/* About */
.about {
  background: #fff;
}

.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle {
  position: relative;
  min-height: 300px;
  padding: 32px 28px 36px;
  border-left: 1px solid var(--line);
  transition: background 0.3s ease, transform 0.3s ease;
}

.principle:first-child {
  border-left: 0;
}

.principle:hover {
  background: var(--off-white);
  transform: translateY(-4px);
}

.principle-no {
  color: #a0a3a7;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.principle-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 28px 0 26px;
  border-radius: 14px;
}

.principle-icon svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.red-icon {
  color: var(--red);
  background: rgba(210, 10, 38, 0.07);
}

.gold-icon {
  color: #b17f00;
  background: rgba(239, 180, 0, 0.12);
}

.principle h3 {
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
}

.principle p {
  margin-top: 12px;
  color: #85898e;
  font-size: 13px;
  line-height: 1.85;
}

.group-note {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 30px;
  max-width: 900px;
  margin: 50px auto 0;
}

.group-mark {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  color: var(--red);
  background: linear-gradient(135deg, rgba(210, 10, 38, 0.07), rgba(239, 180, 0, 0.1));
  border-radius: 50%;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.05em;
}

.group-note span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.group-note p {
  margin-top: 6px;
  color: #85898e;
  font-size: 12px;
  line-height: 1.9;
}

/* Business */
.business {
  background: var(--off-white);
}

.business-heading > p {
  padding-bottom: 8px;
  color: #797d82;
  font-size: 14px;
  line-height: 2;
}

.commodity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 68px;
}

.commodity-card {
  position: relative;
  padding: 28px 28px 30px;
  background: #fff;
  border: 1px solid rgba(30, 30, 30, 0.05);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.commodity-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--card-color);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.commodity-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.commodity-card:hover::before {
  transform: scaleX(1);
}

.chemical { --card-color: var(--red); }
.ferrous { --card-color: #343b43; }
.rubber { --card-color: var(--gold); }
.renewable { --card-color: #2f7f73; }

.card-topline {
  display: flex;
  justify-content: space-between;
  color: #a1a4a8;
  font-size: 9px;
  font-weight: 550;
  letter-spacing: 0.18em;
}

.commodity-visual {
  position: relative;
  margin: 25px 0 22px;
  padding: 0;
  background: #e9ecec;
  border-radius: 16px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.commodity-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(10, 18, 24, 0.12));
  content: "";
  pointer-events: none;
}

.commodity-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.commodity-card:hover .commodity-visual img {
  transform: scale(1.06);
}

.commodity-visual svg {
  width: 100%;
  height: auto;
}

.visual-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visual-line.faint {
  stroke: #ecece8;
  stroke-width: 1;
}

.visual-line.main {
  stroke: var(--card-color);
  stroke-width: 2;
}

.visual-fill {
  fill: var(--card-color);
}

.commodity-card h3 {
  color: var(--ink);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.commodity-card > p {
  min-height: 98px;
  margin-top: 12px;
  color: #7b7f84;
  font-size: 13px;
  line-height: 1.9;
}

.card-tags {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}

.card-tags span {
  padding: 5px 11px;
  color: #676b70;
  background: #f5f5f2;
  border-radius: 100px;
  font-size: 10px;
}

.service-block {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  margin-top: 90px;
  padding-top: 60px;
  border-top: 1px solid #dddeda;
}

.mini-label {
  color: var(--red);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.service-title h3 {
  margin-top: 16px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 550;
  letter-spacing: -0.03em;
  line-height: 1.45;
}

.service-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid #dddeda;
}

.service-list article:first-child {
  padding-top: 0;
}

.service-list article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.service-number {
  padding-top: 3px;
  color: var(--red);
  font-size: 11px;
  font-weight: 600;
}

.service-list h4 {
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
}

.service-list p {
  margin-top: 6px;
  color: #85898e;
  font-size: 12px;
}

/* Business model */
.model {
  position: relative;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}

.model::before {
  position: absolute;
  top: -250px;
  right: -150px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(210, 10, 38, 0.13), transparent 66%);
  content: "";
  pointer-events: none;
}

.model-heading {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
}

.model-heading .section-index {
  grid-column: 1 / -1;
}

.model-heading h2 {
  color: #fff;
}

.model-heading > p {
  justify-self: end;
  padding-bottom: 8px;
  color: #92979e;
  font-size: 14px;
  line-height: 2;
}

.model-shell {
  position: relative;
  display: grid;
  grid-template-columns: 330px 1fr;
  min-height: 550px;
  margin-top: 68px;
  background: #22262c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  overflow: hidden;
}

.model-tabs {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.model-tab {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr 24px;
  grid-template-rows: auto auto;
  align-items: center;
  flex: 1;
  padding: 24px 18px;
  color: #fff;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  cursor: pointer;
  transition: background 0.25s ease;
}

.model-tab:last-child {
  border-bottom: 0;
}

.model-tab > span {
  grid-row: 1 / 3;
  align-self: start;
  padding-top: 5px;
  color: #70767f;
  font-size: 10px;
}

.model-tab strong {
  font-size: 18px;
  font-weight: 550;
}

.model-tab small {
  margin-top: 5px;
  color: #7e858e;
  font-size: 11px;
}

.model-tab svg {
  grid-column: 3;
  grid-row: 1 / 3;
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.model-tab:hover {
  background: rgba(255, 255, 255, 0.03);
}

.model-tab.active {
  background: var(--red);
  border-color: transparent;
  border-radius: 14px;
}

.model-tab.active > span,
.model-tab.active small {
  color: rgba(255, 255, 255, 0.68);
}

.model-tab.active svg {
  opacity: 1;
  transform: translateX(0);
}

.model-panels {
  margin: 12px 12px 12px 0;
  background: #fff;
  border-radius: 22px;
}

.model-panel {
  min-height: 100%;
  padding: 48px 52px 36px;
  color: var(--text);
  animation: panelIn 0.45s ease both;
}

.model-panel[hidden] {
  display: none;
}

.panel-kicker {
  color: var(--red);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.model-panel h3 {
  margin-top: 12px;
  color: var(--ink);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.panel-intro {
  max-width: 670px;
  margin-top: 18px;
  color: #73787f;
  font-size: 14px;
  line-height: 1.95;
}

.model-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
}

.model-points article {
  padding: 24px;
  background: var(--off-white);
  border-radius: 16px;
}

.model-points article > span {
  display: inline-block;
  padding: 4px 10px;
  color: #9b7000;
  background: var(--gold-soft);
  border-radius: 100px;
  font-size: 10px;
}

.model-points h4 {
  margin-top: 16px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.model-points p {
  margin-top: 9px;
  color: #7b7f85;
  font-size: 12px;
  line-height: 1.85;
}

.panel-footer {
  margin-top: 28px;
  padding-top: 22px;
  color: #666b71;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.panel-footer span {
  margin-right: 14px;
  color: var(--red);
  font-weight: 600;
}

/* Chain */
.strength {
  background: #fff;
}

.strength-heading {
  text-align: center;
}

.strength-heading .section-index {
  justify-content: center;
}

.strength-heading > p {
  margin-top: 24px;
  color: #81858a;
  font-size: 14px;
}

.chain-flow {
  display: grid;
  grid-template-columns: 1fr 44px 1fr 44px 1fr 44px 1fr;
  align-items: center;
  margin-top: 70px;
  padding: 50px 34px;
  background: var(--off-white);
  border-radius: var(--radius);
}

.chain-flow article {
  position: relative;
  text-align: center;
}

.flow-index {
  position: absolute;
  top: -12px;
  right: 16%;
  color: #c4c5c3;
  font-size: 9px;
}

.flow-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 22px;
  color: var(--red);
  background: #fff;
  border: 1px solid #ecece8;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(20, 24, 30, 0.04);
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.chain-flow article:hover .flow-icon {
  color: #fff;
  background: var(--red);
  transform: translateY(-4px);
}

.chain-flow article:nth-of-type(even) .flow-icon {
  color: #b27e00;
}

.chain-flow article:nth-of-type(even):hover .flow-icon {
  color: #302500;
  background: var(--gold);
}

.flow-icon svg {
  width: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.chain-flow h3 {
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
}

.chain-flow p {
  margin-top: 9px;
  color: #898d91;
  font-size: 11px;
  line-height: 1.85;
}

.flow-arrow svg {
  width: 32px;
  margin: auto;
  fill: none;
  stroke: #c9cbc8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2;
}

.team-note {
  position: relative;
  max-width: 840px;
  margin: 64px auto 0;
  text-align: center;
}

.team-quote {
  display: none;
  height: 40px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 64px;
  line-height: 1;
}

.team-note p {
  color: var(--ink);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.7;
}

.team-note::before {
  display: block;
  width: 44px;
  height: 4px;
  margin: 0 auto 28px;
  background: linear-gradient(90deg, var(--red) 0 60%, var(--gold) 60% 100%);
  content: "";
}

.team-note > span {
  display: block;
  margin-top: 20px;
  color: #a0a3a7;
  font-size: 10px;
  letter-spacing: 0.16em;
}

/* Contact */
.contact-section {
  padding: 0 0 80px;
  background: #fff;
}

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  padding: 76px 80px;
  color: #fff;
  background: var(--ink);
  border-radius: 32px;
  overflow: hidden;
}

.contact-copy,
.contact-details {
  position: relative;
  z-index: 2;
}

.contact-card h2 {
  color: #fff;
  font-size: clamp(40px, 4vw, 54px);
}

.contact-copy > p {
  max-width: 430px;
  margin-top: 24px;
  color: #969ba2;
  font-size: 14px;
}

.contact-details {
  align-self: center;
}

.contact-item {
  position: relative;
  display: block;
  padding: 24px 45px 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.25s ease;
}

.contact-item:first-child {
  padding-top: 0;
}

.contact-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-item > span {
  display: block;
  margin-bottom: 8px;
  color: #838991;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.contact-item strong {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
}

.contact-item svg {
  position: absolute;
  top: 50%;
  right: 0;
  width: 24px;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
  transform: translateY(-50%);
  transition: transform 0.25s ease;
}

.contact-item:hover {
  border-color: rgba(239, 180, 0, 0.5);
}

.contact-item:hover svg {
  transform: translate(3px, calc(-50% - 3px));
}

.contact-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-decoration img {
  position: absolute;
  right: -90px;
  bottom: -170px;
  width: 480px;
  opacity: 0.025;
  transform: rotate(-12deg);
}

.deco-block {
  position: absolute;
  top: 0;
  width: 110px;
  height: 5px;
}

.deco-red {
  left: 80px;
  background: var(--red);
}

.deco-gold {
  left: 190px;
  width: 42px;
  background: var(--gold);
}

/* Footer */
.site-footer {
  padding: 10px 0 28px;
  background: #fff;
}

.footer-main {
  display: flex;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.footer-slogan {
  margin-left: 44px;
  color: #8a8e92;
  font-size: 11px;
  letter-spacing: 0.15em;
}

.footer-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.footer-nav a {
  color: #777b80;
  font-size: 11px;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--red);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  color: #a0a3a6;
  border-top: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.icp-link {
  color: inherit;
  transition: color 0.2s ease;
}

.icp-link:hover {
  color: var(--red);
}

.back-to-top {
  position: fixed;
  z-index: 50;
  right: 26px;
  bottom: 26px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(20, 24, 30, 0.18);
  opacity: 0;
  cursor: pointer;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--red);
}

.back-to-top svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

/* Motion */
.hero-enter {
  animation: heroIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal.delay-small { transition-delay: 0.08s; }
.js .reveal.delay-medium { transition-delay: 0.16s; }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Focus */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

/* Responsive */
@media (max-width: 1100px) {
  .container {
    width: min(100% - 56px, 1120px);
  }

  .desktop-nav {
    gap: 25px;
    margin-right: 28px;
  }

  .hero-grid {
    gap: 32px;
  }

  .hero h1 {
    font-size: 60px;
  }

  .hero-art {
    max-width: 440px;
  }

  .hero-media {
    height: 500px;
  }

  .commodity-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .commodity-card > p {
    min-height: 74px;
  }

  .section-heading,
  .business-heading {
    gap: 60px;
  }

  .principle {
    padding-inline: 20px;
  }

  .model-shell {
    grid-template-columns: 280px 1fr;
  }

  .model-panel {
    padding: 40px 36px 30px;
  }

  .contact-card {
    padding: 64px 56px;
    gap: 56px;
  }

  .deco-red { left: 56px; }
  .deco-gold { left: 166px; }
}

@media (max-width: 900px) {
  .section {
    padding: 100px 0;
  }

  .desktop-nav,
  .nav-contact {
    display: none;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 42px;
    height: 42px;
    margin-left: auto;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    transition: transform 0.25s ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4.25px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4.25px) rotate(-45deg);
  }

  .mobile-nav {
    position: fixed;
    z-index: 99;
    top: 72px;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    height: calc(100vh - 72px);
    padding: 24px 28px 40px;
    background: rgba(255, 255, 255, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .mobile-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-nav a {
    padding: 18px 4px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    font-size: 21px;
    font-weight: 500;
  }

  .hero {
    min-height: auto;
    padding-top: 140px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-copy {
    max-width: 660px;
  }

  .hero-intro {
    max-width: 580px;
  }

  .hero-art {
    justify-self: center;
    width: min(100%, 500px);
  }

  .hero-media {
    justify-self: center;
    width: min(100%, 680px);
    height: 480px;
  }

  .stats-wrap {
    margin-top: 60px;
  }

  .stat-item {
    padding-left: 22px;
  }

  .stat-item strong {
    font-size: 30px;
  }

  .section-heading,
  .business-heading {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .heading-copy {
    max-width: 650px;
  }

  .principles {
    grid-template-columns: 1fr 1fr;
  }

  .principle:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .principle:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .commodity-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .commodity-card > p {
    min-height: 74px;
  }

  .service-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .model-heading {
    grid-template-columns: 1fr;
  }

  .model-heading > p {
    justify-self: start;
    margin-top: 24px;
  }

  .model-shell {
    grid-template-columns: 1fr;
  }

  .model-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 12px;
  }

  .model-tab {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    min-height: 100px;
    padding: 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 0;
  }

  .model-tab > span {
    padding: 0;
  }

  .model-tab small,
  .model-tab svg {
    display: none;
  }

  .model-panels {
    margin: 0 12px 12px;
  }

  .chain-flow {
    grid-template-columns: 1fr 1fr;
    gap: 40px 20px;
  }

  .flow-arrow {
    display: none;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-slogan {
    display: none;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 40px);
  }

  .section {
    padding: 82px 0;
  }

  .site-header,
  .site-header.scrolled,
  .site-header.menu-active {
    height: 68px;
  }

  .brand-logo {
    width: 40px;
    height: 34px;
  }

  .brand-divider {
    height: 22px;
    margin-right: 10px;
    margin-left: 4px;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .brand-text small {
    font-size: 6px;
  }

  .mobile-nav {
    top: 68px;
    height: calc(100vh - 68px);
  }

  .hero {
    padding-top: 120px;
  }

  .eyebrow {
    font-size: 12px;
    letter-spacing: 0.16em;
  }

  .hero h1 {
    margin-top: 24px;
    margin-bottom: 26px;
    font-size: clamp(47px, 14vw, 62px);
    letter-spacing: -0.06em;
  }

  .hero h1 span::after {
    bottom: -7px;
    width: 42px;
    height: 5px;
  }

  .hero-intro {
    font-size: 15px;
    line-height: 1.9;
  }

  .hero-actions {
    gap: 22px;
    margin-top: 30px;
  }

  .button {
    min-height: 48px;
    font-size: 13px;
  }

  .button-primary {
    gap: 15px;
    padding-inline: 20px;
  }

  .hero-meta {
    margin-top: 30px;
    font-size: 10px;
  }

  .hero-grid {
    gap: 42px;
  }

  .hero-art {
    width: 100%;
    max-width: 390px;
  }

  .logo-stage {
    width: 70%;
    height: 74%;
    padding: 20px 20px 18px;
    border-radius: 24px;
  }

  .hero-logo {
    max-height: 180px;
  }

  .stage-kicker {
    font-size: 8px;
  }

  .stage-bottom {
    gap: 10px;
    padding-top: 12px;
    font-size: 9px;
  }

  .label-side {
    right: -46px;
  }

  .art-chip {
    padding: 7px 11px;
    font-size: 9px;
  }

  .chip-red { left: -2%; }
  .chip-gold { right: -2%; }

  .hero-media {
    width: 100%;
    height: 410px;
    border-radius: 24px;
  }

  .media-topline {
    top: 22px;
    right: 22px;
    left: 22px;
    font-size: 8px;
  }

  .hero-media figcaption {
    right: 26px;
    bottom: 26px;
    left: 26px;
  }

  .hero-media figcaption strong {
    margin: 13px 0 20px;
    font-size: 32px;
  }

  .media-kicker {
    font-size: 10px;
  }

  .stats-wrap {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 42px;
    padding: 12px 0 28px;
  }

  .stat-item,
  .stat-item:first-child {
    padding: 22px 10px;
    border-top: 0;
    border-left: 1px solid #deded9;
  }

  .stat-item:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .stat-item strong {
    font-size: 26px;
  }

  .stat-item strong span {
    display: block;
    margin: 6px 0 0;
    font-size: 11px;
  }

  .stat-item p {
    margin-top: 5px;
    font-size: 10px;
  }

  .section h2,
  .contact-card h2 {
    margin-top: 18px;
    font-size: 38px;
    line-height: 1.3;
  }

  .section-heading,
  .business-heading {
    gap: 28px;
  }

  .heading-copy .lead {
    font-size: 16px;
  }

  .heading-copy p,
  .business-heading > p {
    font-size: 13px;
  }

  .desktop-only {
    display: none;
  }

  .principles {
    grid-template-columns: 1fr;
    margin-top: 50px;
  }

  .principle {
    display: grid;
    grid-template-columns: 52px 1fr;
    min-height: 0;
    padding: 26px 8px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .principle:first-child {
    border-top: 0;
  }

  .principle-no {
    display: none;
  }

  .principle-icon {
    grid-row: 1 / 3;
    width: 40px;
    height: 40px;
    margin: 0;
    border-radius: 12px;
  }

  .principle-icon svg {
    width: 22px;
  }

  .principle h3 {
    font-size: 17px;
  }

  .principle p {
    margin-top: 5px;
    font-size: 12px;
  }

  .group-note {
    grid-template-columns: 48px 1fr;
    align-items: start;
    gap: 16px;
    margin-top: 38px;
  }

  .group-mark {
    width: 46px;
    height: 46px;
    font-size: 14px;
  }

  .group-note p {
    font-size: 11px;
  }

  .commodity-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 44px;
  }

  .commodity-card {
    display: block;
    padding: 24px;
    border-radius: 22px;
  }

  .commodity-visual {
    margin: 22px 0 18px;
  }

  .commodity-card h3 {
    font-size: 24px;
  }

  .commodity-card > p {
    min-height: 0;
    font-size: 12px;
  }

  .service-block {
    gap: 32px;
    margin-top: 60px;
    padding-top: 44px;
  }

  .service-title h3 {
    font-size: 26px;
  }

  .service-list article {
    grid-template-columns: 32px 1fr;
    gap: 10px;
  }

  .service-list h4 {
    font-size: 15px;
  }

  .model-shell {
    margin-top: 44px;
    border-radius: 22px;
  }

  .model-tabs {
    gap: 4px;
    padding: 8px;
  }

  .model-tab {
    align-items: center;
    min-height: 78px;
    padding: 10px 6px;
    text-align: center;
  }

  .model-tab strong {
    font-size: 14px;
  }

  .model-tab > span {
    font-size: 8px;
  }

  .model-panels {
    margin: 0 8px 8px;
    border-radius: 16px;
  }

  .model-panel {
    padding: 28px 22px 24px;
  }

  .model-panel h3 {
    font-size: 27px;
  }

  .panel-intro {
    font-size: 13px;
  }

  .model-points {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }

  .model-points article {
    padding: 20px;
  }

  .panel-footer {
    font-size: 11px;
  }

  .strength-heading > p {
    font-size: 13px;
  }

  .chain-flow {
    gap: 32px 12px;
    margin-top: 46px;
    padding: 32px 14px;
    border-radius: 22px;
  }

  .flow-index {
    right: 8%;
  }

  .flow-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
    border-radius: 16px;
  }

  .flow-icon svg {
    width: 26px;
  }

  .chain-flow h3 {
    font-size: 15px;
  }

  .chain-flow p {
    font-size: 10px;
  }

  .team-note {
    margin-top: 44px;
  }

  .team-note p {
    font-size: 17px;
  }

  .contact-section {
    padding-bottom: 50px;
  }

  .contact-card {
    gap: 40px;
    padding: 44px 26px;
    border-radius: 24px;
  }

  .contact-copy > p {
    font-size: 13px;
  }

  .contact-item strong {
    font-size: 17px;
  }

  .deco-red { left: 26px; }
  .deco-gold { left: 136px; }

  .footer-main {
    flex-wrap: wrap;
    gap: 28px;
  }

  .footer-nav {
    justify-content: space-between;
    width: 100%;
    margin-left: 0;
    gap: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    font-size: 8px;
  }

  .back-to-top {
    right: 18px;
    bottom: 18px;
    width: 40px;
    height: 40px;
  }
}

/* Full-screen maritime hero */
.site-header:not(.scrolled):not(.menu-active) .brand-text strong {
  color: #fff;
}

.site-header:not(.scrolled):not(.menu-active) .brand-text small {
  color: rgba(255, 255, 255, 0.62);
}

.site-header:not(.scrolled):not(.menu-active) .brand-divider {
  background: rgba(255, 255, 255, 0.28);
}

.site-header:not(.scrolled):not(.menu-active) .desktop-nav a {
  color: rgba(255, 255, 255, 0.78);
}

.site-header:not(.scrolled):not(.menu-active) .desktop-nav a:hover,
.site-header:not(.scrolled):not(.menu-active) .desktop-nav a.active {
  color: #fff;
}

.site-header:not(.scrolled):not(.menu-active) .nav-contact {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.site-header:not(.scrolled):not(.menu-active) .nav-contact:hover {
  background: var(--red);
  border-color: var(--red);
}

.site-header:not(.scrolled):not(.menu-active) .menu-toggle span {
  background: #fff;
}

.hero {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  background: #102c3c;
}

.hero-bg {
  display: none;
}

.hero-grid {
  z-index: 2;
  grid-template-columns: minmax(0, 660px) 1fr;
  flex: 1;
}

.hero-copy {
  max-width: 640px;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.hero h1 {
  color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.14);
}

.hero-intro {
  color: rgba(255, 255, 255, 0.76);
}

.hero .button-text {
  color: #fff;
}

.hero .button-text span {
  color: var(--gold);
}

.hero-meta {
  color: rgba(255, 255, 255, 0.62);
}

.hero-media {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  background: #16384c;
  border-radius: 0;
  box-shadow: none;
  pointer-events: none;
}

.hero-media > img,
.hero-media:hover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.01);
}

.hero-media-overlay {
  background: linear-gradient(90deg, rgba(5, 17, 27, 0.88) 0%, rgba(5, 17, 27, 0.7) 36%, rgba(5, 17, 27, 0.2) 72%, rgba(5, 17, 27, 0.3) 100%), linear-gradient(0deg, rgba(5, 17, 27, 0.8) 0%, rgba(5, 17, 27, 0.04) 48%, rgba(5, 17, 27, 0.28) 100%);
}

.hero-side-note {
  position: absolute;
  z-index: 2;
  right: max(40px, calc((100vw - 1200px) / 2));
  bottom: 190px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-right: 18px;
  color: #fff;
  border-right: 3px solid var(--gold);
  text-align: right;
}

.hero-side-note > span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.hero-side-note strong {
  margin-top: 12px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-side-note small {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.stats-wrap {
  z-index: 2;
  margin-top: 50px;
  border-color: rgba(255, 255, 255, 0.25);
}

.stat-item,
.stat-item:first-child {
  border-color: rgba(255, 255, 255, 0.22);
}

.stat-item strong {
  color: #fff;
}

.stat-item strong span {
  color: rgba(255, 255, 255, 0.76);
}

.stat-item p {
  color: rgba(255, 255, 255, 0.58);
}

@media (max-width: 900px) {
  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    flex: 1;
  }

  .hero-copy {
    max-width: 660px;
  }

  .hero-media {
    width: 100%;
    height: 100%;
  }

  .hero-media > img,
  .hero-media:hover > img {
    object-position: 62% center;
  }

  .hero-media-overlay {
    background: linear-gradient(90deg, rgba(5, 17, 27, 0.88) 0%, rgba(5, 17, 27, 0.66) 60%, rgba(5, 17, 27, 0.38) 100%), linear-gradient(0deg, rgba(5, 17, 27, 0.78) 0%, transparent 55%, rgba(5, 17, 27, 0.3) 100%);
  }

  .hero-side-note {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 120px;
  }

  .hero-grid {
    flex: initial;
  }

  .hero-media {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .hero-media > img,
  .hero-media:hover > img {
    object-position: 64% center;
  }

  .hero-media-overlay {
    background: linear-gradient(90deg, rgba(5, 17, 27, 0.9) 0%, rgba(5, 17, 27, 0.72) 72%, rgba(5, 17, 27, 0.52) 100%), linear-gradient(0deg, rgba(5, 17, 27, 0.82) 0%, transparent 58%, rgba(5, 17, 27, 0.36) 100%);
  }

  .stats-wrap {
    margin-top: 60px;
    padding-bottom: 30px;
  }
}

/* WeChat QR code in the contact card */
.contact-details {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}

.contact-info .contact-item:first-child {
  padding-top: 0;
}

.contact-info .contact-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.qr-card {
  margin: 0;
  padding: 16px;
  text-align: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.qr-card img {
  width: 132px;
  height: 132px;
  padding: 5px;
  object-fit: cover;
  background: #fff;
  border-radius: 10px;
}

.qr-card figcaption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  letter-spacing: 0.1em;
}

@media (max-width: 1100px) {
  .contact-details {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .qr-card {
    display: flex;
    align-items: center;
    justify-self: start;
    gap: 18px;
    padding: 14px 18px 14px 14px;
    text-align: left;
  }

  .qr-card figcaption {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
