:root {
  --navy: #07182d;
  --blue: #1b75bb;
  --blue-dark: #064d85;
  --gold: #e4a72b;
  --ink: #111827;
  --muted: #667085;
  --paper: #f4f6f8;
  --line: #d9dee7;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(7, 24, 45, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  background: var(--white);
  line-height: 1.55;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 35;
  width: 100%;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 24, 45, .12);
}

.utility,
.main-nav,
.supply-alert {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.utility {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  padding: 10px 0 6px;
  color: #4b5563;
  font-size: 13px;
}

.lang-btn {
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  border-top: 1px solid var(--line);
}

.site-header.is-scrolled .main-nav { border-top-color: var(--line); }

.brand {
  display: flex;
  align-items: center;
  width: 340px;
  padding: 6px 0;
}

.brand img {
  width: 100%;
  height: auto;
  max-height: 78px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  font-weight: 700;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: block;
  padding: 32px 22px 29px;
  border-bottom: 4px solid transparent;
}

.nav-item:hover > a { border-bottom-color: var(--blue); }

.mega-panel {
  position: absolute;
  top: 100%;
  right: 0;
  display: none;
  width: 340px;
  padding: 24px;
  border-top: 4px solid var(--blue);
  background: #fff;
  box-shadow: var(--shadow);
}

.mega-panel strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 20px;
}

.mega-panel p {
  margin: 0;
}

.nav-item:hover .mega-panel { display: block; }

.supply-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 48px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: #1f2937;
  font-size: 14px;
}

.supply-alert a {
  flex: none;
  color: var(--blue-dark);
  font-weight: 900;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  color: currentColor;
  background: transparent;
}

.menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  padding: 118px 0 84px;
  color: #fff;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #06182c;
}

.motion-frame,
.motion-slide {
  position: absolute;
  inset: 0;
}

.motion-frame {
  overflow: hidden;
  background: #06182c;
}

.motion-slide {
  opacity: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.08);
  animation: heroMotion 18s infinite;
}

.motion-slide-1 {
  background-image: url("../images/hero-port.jpg");
}

.motion-slide-2 {
  background-image: url("../images/port-aerial.jpg");
  animation-delay: 6s;
}

.motion-slide-3 {
  background-image: url("../images/parcels.jpg");
  animation-delay: 12s;
}

.motion-frame::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 20, 38, .82), rgba(5, 20, 38, .28) 42%, rgba(5, 20, 38, .08)),
    linear-gradient(0deg, rgba(5, 20, 38, .35), rgba(5, 20, 38, .04));
}

.motion-frame::after {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 3;
  width: 22%;
  height: auto;
  content: "";
  background: linear-gradient(90deg, rgba(7, 24, 45, .92), rgba(7, 24, 45, 0));
}

.hero-static-panel {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 3;
  width: 56%;
  background: rgba(7, 24, 45, .82);
  clip-path: polygon(0 0, 79% 0, 100% 38%, 84% 100%, 0 100%);
  backdrop-filter: blur(2px);
}

.hero-static-panel::before {
  position: absolute;
  top: 0;
  right: 5%;
  width: 42%;
  height: 100%;
  content: "";
  background: linear-gradient(110deg, rgba(27, 117, 187, .24), rgba(27, 117, 187, 0));
  clip-path: polygon(38% 0, 100% 0, 72% 100%, 0 100%);
}

.hero-static-panel::after {
  position: absolute;
  right: 8%;
  bottom: 0;
  width: 36%;
  height: 34%;
  content: "";
  background: rgba(228, 167, 43, .12);
  clip-path: polygon(30% 0, 100% 0, 68% 100%, 0 100%);
  opacity: .88;
}

.motion-map {
  position: absolute;
  right: max(40px, calc((100vw - 1240px) / 2));
  bottom: 72px;
  z-index: 4;
  width: min(420px, 36vw);
  height: 180px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(6, 24, 44, .42);
  backdrop-filter: blur(8px);
  opacity: .9;
}

.motion-map::before {
  position: absolute;
  inset: 22px;
  content: "";
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 34px 34px;
}

.map-icon {
  position: absolute;
  z-index: 2;
  width: 76px;
  height: 60px;
  overflow: visible;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.24));
}

.map-icon path {
  fill: rgba(228, 167, 43, .9);
  stroke: rgba(255,255,255,.86);
  stroke-width: 4;
  stroke-linejoin: round;
}

.map-icon .tasmania,
.map-icon .hainan {
  stroke-width: 3;
}

.china-map {
  left: 20px;
  top: 38px;
}

.australia-map {
  right: 18px;
  bottom: 24px;
}

.route-line {
  position: absolute;
  left: 72px;
  top: 78px;
  z-index: 1;
  width: calc(100% - 142px);
  height: 68px;
  border-top: 2px dashed rgba(255,255,255,.7);
  border-radius: 50%;
  transform: rotate(13deg);
}

.route-vessel {
  position: absolute;
  left: 72px;
  top: 70px;
  z-index: 3;
  width: 58px;
  height: 30px;
  animation: vesselMove 5.8s ease-in-out infinite;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.28));
}

.ship-hull {
  fill: #fff;
}

.ship-cabin,
.ship-stack {
  fill: rgba(255,255,255,.92);
}

.ship-box {
  stroke: rgba(255,255,255,.86);
  stroke-width: 1.5;
}

.box-1 { fill: var(--blue); }
.box-2 { fill: var(--gold); }
.box-3 { fill: #7daed8; }

.container-stack {
  position: absolute;
  right: max(42px, calc((100vw - 1240px) / 2 + 32px));
  top: 116px;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 64px);
  gap: 8px;
  transform: perspective(600px) rotateY(-12deg);
}

.container-stack span {
  display: grid;
  place-items: center;
  height: 38px;
  border: 1px solid rgba(255,255,255,.32);
  background: rgba(27,117,187,.75);
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.06);
  color: rgba(255,255,255,.88);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(0,0,0,.35);
  animation: containerPulse 2.8s ease-in-out infinite;
}

.container-stack span:nth-child(2),
.container-stack span:nth-child(5) {
  background: rgba(228,167,43,.8);
  animation-delay: .5s;
}

.container-stack span:nth-child(3) {
  grid-column: span 1;
  animation-delay: 1s;
}

@keyframes heroMotion {
  0% { opacity: 0; transform: scale(1.08); }
  8% { opacity: 1; }
  32% { opacity: 1; }
  42% { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}

@keyframes vesselMove {
  0% { transform: translate(0, 0) rotate(12deg); opacity: 0; }
  12% { opacity: 1; }
  50% { transform: translate(135px, 34px) rotate(12deg); opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translate(260px, 62px) rotate(12deg); opacity: 0; }
}

@keyframes containerPulse {
  0%, 100% { transform: translateY(0); opacity: .78; }
  50% { transform: translateY(-8px); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 5;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  max-width: 1240px;
}

.hero-content > * {
  max-width: 610px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2, h3, h4, p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  font-size: clamp(36px, 4.7vw, 62px);
  line-height: 1.08;
  letter-spacing: 0;
}
h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3.7vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}
h3 { margin-bottom: 10px; font-size: 22px; line-height: 1.25; }
p { color: var(--muted); }
.hero p { color: rgba(255,255,255,.84); font-size: 18px; }

html:lang(zh-CN) body {
  line-height: 1.68;
}

html:lang(zh-CN) h1 {
  max-width: 580px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.16;
}

html:lang(zh-CN) h2 {
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.22;
}

html:lang(zh-CN) h3 {
  font-size: 20px;
  line-height: 1.34;
}

html:lang(zh-CN) p {
  font-size: 15px;
}

html:lang(zh-CN) .hero p {
  max-width: 560px;
  font-size: 16px;
  line-height: 1.72;
}

html:lang(zh-CN) .section-label {
  font-size: 28px;
  line-height: 1.2;
}

html:lang(zh-CN) .quick-actions h2 {
  font-size: clamp(22px, 2.4vw, 32px);
}

html:lang(zh-CN) .glance-grid article,
html:lang(zh-CN) .service-grid article,
html:lang(zh-CN) .tech-cards article {
  padding-top: 26px;
  padding-bottom: 26px;
}

html:lang(zh-CN) .glance-grid article {
  padding: 22px;
}

.text-link,
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 900;
}

.text-link::after,
.card-link::after { content: "›"; font-size: 28px; line-height: 1; }
.text-link.dark { color: var(--blue-dark); }

.quick-actions {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  background: #fff;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(7, 24, 45, .08);
}

.quick-actions article {
  min-height: 232px;
  padding: 30px 32px;
  border-right: 1px solid var(--line);
}

.quick-actions article:last-child { border-right: 0; }
.quick-actions span,
.glance-grid span {
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.inline-form {
  display: flex;
  min-height: 46px;
  margin-top: 20px;
  border: 1px solid var(--line);
}

.inline-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 0 14px;
}

.inline-form button {
  border: 0;
  padding: 0 18px;
  color: #fff;
  background: var(--blue);
  font-weight: 800;
  cursor: pointer;
}

.inline-form button:disabled {
  cursor: wait;
  opacity: .68;
}

.quick-actions .card-link { color: var(--blue-dark); }

.track-result {
  display: none;
  margin-top: 16px;
  padding: 14px;
  border-left: 4px solid var(--blue);
  background: #f8fafc;
  color: var(--ink);
  font-size: 13px;
}

.track-result.is-loading,
.track-result.is-success,
.track-result.is-error {
  display: block;
}

.track-result.is-error {
  border-left-color: #dc2626;
}

.track-result strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-dark);
}

.track-result dl {
  display: grid;
  gap: 7px;
  margin: 0;
}

.track-result div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
}

.track-result dt {
  color: var(--muted);
}

.track-result dd {
  margin: 0;
  font-weight: 800;
  word-break: break-word;
}

.track-result small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.at-glance,
.split-section,
.technology,
.resources,
.about-contact {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0;
}

.at-glance {
  padding: 68px 0;
}

.section-label {
  margin-bottom: 22px;
  color: var(--blue-dark);
  font-size: 30px;
  font-weight: 900;
}

.glance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.glance-grid article {
  position: relative;
  min-height: 214px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}

.glance-grid .feature-tile {
  grid-row: span 2;
  min-height: 428px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background: var(--navy);
}

.tile-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(5,20,38,.9), rgba(5,20,38,.18)),
    url("../images/port-aerial.jpg") center / cover;
}

.feature-tile span,
.feature-tile h3,
.feature-tile p,
.feature-tile a {
  position: relative;
  z-index: 1;
  color: #fff;
}

.glance-grid a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--blue-dark);
  font-weight: 900;
}

.feature-tile a {
  color: #fff;
}

.glance-grid a::after {
  content: "›";
  margin-left: 8px;
  font-size: 24px;
  line-height: 1;
}

.split-section {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 58px;
  border-top: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service-grid article,
.tech-cards article,
.resource-grid article {
  border: 1px solid var(--line);
  background: #fff;
}

.service-grid article {
  min-height: 318px;
  padding: 28px;
  transition: background .2s ease, color .2s ease;
}

.service-grid article:hover {
  color: #fff;
  background: var(--blue-dark);
}

.service-grid article:hover p,
.service-grid article:hover span,
.service-grid article:hover .service-points li {
  color: rgba(255,255,255,.78);
}

.service-grid span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-points {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.service-grid article:hover .service-points {
  border-top-color: rgba(255,255,255,.24);
}

.service-points li {
  position: relative;
  padding-left: 17px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.service-points li::before {
  position: absolute;
  left: 0;
  top: .68em;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--gold);
  transform: rotate(45deg);
}

.service-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--blue-dark);
  font-weight: 900;
}

.service-download::after {
  content: "›";
  font-size: 24px;
  line-height: 1;
}

.service-grid article:hover .service-download {
  color: #fff;
}

.image-band {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  min-height: 560px;
  color: #fff;
  background: var(--blue-dark);
}

.image-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-band div {
  align-self: center;
  padding: 64px min(7vw, 96px);
}

.image-band p { color: rgba(255,255,255,.76); }

.technology {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 54px;
}

.tech-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tech-cards article {
  min-height: 278px;
  padding: 24px;
  background: var(--paper);
}

.tech-points {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.tech-points li {
  position: relative;
  padding-left: 17px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.tech-points li::before {
  position: absolute;
  left: 0;
  top: .68em;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--blue);
  transform: rotate(45deg);
}

.price-compare {
  display: grid;
  grid-template-columns: 1fr;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.price-board {
  border: 1px solid var(--line);
  background: #fff;
}

.price-status {
  display: flex;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.price-status span {
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
}

.price-board > p {
  margin: 0;
  padding: 22px;
}

.price-notes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.price-notes div {
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}

.price-notes div:last-child {
  border-right: 0;
}

.price-notes span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.price-notes strong {
  display: block;
  line-height: 1.45;
}

.price-table-wrap {
  overflow-x: auto;
}

.price-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.price-table th {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  background: #fff;
}

.price-table a {
  color: var(--blue-dark);
  font-weight: 900;
}

.price-table small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.price-empty {
  color: var(--muted);
  font-weight: 800;
}

.resources {
  border-top: 1px solid var(--line);
}

.resources-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.resource-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.resource-grid article h3,
.resource-grid article p {
  padding: 0 22px;
}

.resource-grid article h3 { margin-top: 22px; }
.resource-grid article p { margin-bottom: 24px; }

.resource-points {
  display: grid;
  gap: 11px;
  margin: -6px 22px 24px;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.resource-points li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.resource-points li::before {
  position: absolute;
  left: 0;
  top: .68em;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--blue);
  transform: rotate(45deg);
}

.import-notices {
  margin: 0 22px 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.notice-meta {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.import-notices ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.import-notices li {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.import-notices li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.import-notices a {
  display: grid;
  gap: 4px;
  color: var(--blue-dark);
}

.import-notices span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.import-notices strong {
  font-size: 15px;
  line-height: 1.35;
}

.import-notices p {
  margin: 8px 0 0;
  padding: 0;
  font-size: 13px;
}

.sustainability {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  min-height: 520px;
  color: #fff;
  background: var(--blue-dark);
}

.sustainability-copy {
  align-self: center;
  padding: 72px max(24px, calc((100vw - 1240px) / 2));
}

.sustainability p {
  color: rgba(255,255,255,.76);
}

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

.about-contact {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 58px;
  border-top: 1px solid var(--line);
}

.contact-card {
  padding: 32px;
  color: #fff;
  background: var(--blue-dark);
}

.contact-card a,
.contact-card p {
  display: block;
  color: #fff;
  font-weight: 800;
}

.contact-card p { opacity: .82; font-weight: 500; }

.site-footer {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 46px;
  padding: 62px max(24px, calc((100vw - 1240px) / 2));
  color: #fff;
  background: var(--navy);
}

.footer-brand img {
  width: 280px;
  padding: 12px;
  background: #fff;
}

.footer-brand p {
  margin-top: 22px;
  color: rgba(255,255,255,.74);
  font-size: 18px;
  font-weight: 900;
}
.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.footer-columns h4 { margin-bottom: 12px; color: var(--gold); }
.footer-columns a { display: block; color: rgba(255,255,255,.72); }

.simple-header {
  position: relative;
}

.simple-header .main-nav {
  border-top: 0;
}

.nav-links.is-static {
  display: flex;
}

.file-library {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.file-hero {
  padding: 88px 0 38px;
  border-bottom: 1px solid var(--line);
}

.file-hero h1,
.file-hero p {
  max-width: 760px;
}

.file-hero p {
  font-size: 17px;
}

.file-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  padding: 34px 0 92px;
}

.file-grid article {
  min-height: 360px;
  padding: 30px;
  border: 1px solid var(--line);
  background: #fff;
}

.file-grid article > span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.file-grid h2 {
  font-size: 30px;
}

.file-grid ul {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.file-grid a {
  display: inline-flex;
  color: var(--blue-dark);
  font-weight: 900;
  line-height: 1.4;
}

.file-grid a::after {
  content: "↗";
  margin-left: 8px;
  color: var(--gold);
}

.admin-body { background: var(--paper); }
.admin-shell {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 100vh;
}
.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px;
  color: #fff;
  background: var(--navy);
}
.admin-brand { margin-bottom: 36px; }
.admin-brand {
  width: 210px;
  padding: 12px;
  background: #fff;
}
.admin-sidebar nav {
  display: grid;
  gap: 8px;
  margin-bottom: 30px;
}
.admin-sidebar nav a {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.admin-sidebar p { color: rgba(255,255,255,.68); font-size: 14px; }
.admin-main { padding: 34px; }
.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.admin-top h1 { margin-bottom: 0; color: var(--ink); font-size: 42px; }
.admin-actions,
.data-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.admin-actions button,
.data-actions button,
.file-input,
.admin-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-weight: 800;
}
.admin-actions [data-save] {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}
.admin-panel {
  margin-bottom: 22px;
  padding: 26px;
  border: 1px solid var(--line);
  background: #fff;
}
.language-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.language-tabs button {
  border: 1px solid var(--line);
  padding: 9px 18px;
  background: #fff;
  cursor: pointer;
}
.language-tabs .is-active {
  color: #fff;
  border-color: var(--blue-dark);
  background: var(--blue-dark);
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.admin-grid.compact { grid-template-columns: repeat(3, 1fr); }
.admin-panel label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.admin-panel input,
.admin-panel textarea,
.json-output {
  width: 100%;
  border: 1px solid var(--line);
  padding: 12px;
  color: var(--ink);
  background: #fff;
}
.admin-panel textarea { min-height: 120px; resize: vertical; }
.repeater {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.repeater-row {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.repeater-row label { margin-bottom: 10px; }
.file-input input { display: none; }
.json-output {
  min-height: 220px;
  margin-top: 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

@media (max-width: 980px) {
  .utility { display: none; }
  .site-header { background: #fff; }
  .supply-alert { display: none; }
  .main-nav { min-height: 72px; border-top: 0; }
  .menu-btn { display: block; }
  .nav-links {
    position: absolute;
    top: 72px;
    right: 24px;
    display: none;
    width: min(320px, calc(100vw - 48px));
    padding: 18px;
    color: var(--ink);
    background: #fff;
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: grid; gap: 8px; }
  .nav-links.is-static {
    position: static;
    display: flex;
    width: auto;
    padding: 0;
    box-shadow: none;
  }
  .nav-item > a { padding: 10px 0; }
  .mega-panel { display: none !important; }
  .quick-actions,
  .glance-grid,
  .split-section,
  .image-band,
  .technology,
  .price-compare,
  .price-notes,
  .about-contact,
  .sustainability,
  .site-footer,
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .glance-grid .feature-tile {
    grid-row: auto;
    min-height: 300px;
  }
  .quick-actions article { border-right: 0; border-bottom: 1px solid var(--line); }
  .service-grid,
  .tech-cards,
  .resource-grid,
  .file-grid,
  .footer-columns,
  .admin-grid,
  .admin-grid.compact,
  .repeater {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: static;
    height: auto;
  }
  .sustainability-copy { padding: 60px 24px; }
  .sustainability img { min-height: 300px; }
  .hero-bg {
    inset: 0;
  }
  .motion-frame {
    clip-path: none;
  }
  .hero-static-panel {
    width: 72%;
    background: rgba(7, 24, 45, .86);
    clip-path: polygon(0 0, 84% 0, 100% 45%, 84% 100%, 0 100%);
  }
  .hero-static-panel::before,
  .hero-static-panel::after {
    display: none;
  }
  .motion-map {
    right: 24px;
    bottom: 30px;
    width: 300px;
    height: 132px;
    opacity: .55;
  }
  .container-stack {
    right: 24px;
    top: 96px;
    grid-template-columns: repeat(3, 46px);
  }
  .container-stack span {
    height: 28px;
  }
}

@media (max-width: 640px) {
  .utility, .main-nav, .hero-content, .quick-actions, .at-glance, .split-section, .technology, .price-compare, .resources, .about-contact {
    width: calc(100% - 28px);
  }
  .brand { width: 230px; }
  .main-nav {
    min-height: 64px;
  }
  .nav-links {
    top: 64px;
    right: 14px;
    width: calc(100vw - 28px);
    padding: 12px 16px;
  }
  .nav-item > a {
    padding: 11px 0;
    font-size: 15px;
  }
  .hero { min-height: 520px; padding: 76px 0 52px; }
  h1 { font-size: 32px; line-height: 1.16; }
  h2 { font-size: 27px; line-height: 1.2; }
  .hero p {
    font-size: 15px;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-static-panel {
    width: 100%;
    background: linear-gradient(90deg, rgba(7, 24, 45, .92), rgba(7, 24, 45, .78));
    clip-path: none;
  }
  .motion-map,
  .container-stack {
    display: none;
  }
  .quick-actions { margin-top: 0; }
  .at-glance, .split-section, .technology, .price-compare, .resources, .about-contact { padding: 68px 0; }
  .at-glance { padding: 52px 0; }
  .price-compare {
    gap: 0;
  }
  .price-board {
    border-left: 0;
    border-right: 0;
  }
  .price-status {
    padding: 16px 0;
    background: #fff;
  }
  .price-status span {
    font-size: 23px;
  }
  .price-board > p {
    padding: 14px 0 16px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
  }
  .price-notes {
    gap: 10px;
    border: 0;
  }
  .price-notes div {
    padding: 14px;
    border: 1px solid var(--line);
    background: var(--paper);
  }
  .price-notes div:last-child {
    border-right: 1px solid var(--line);
  }
  .price-notes strong {
    font-size: 13px;
  }
  .price-table-wrap {
    margin-top: 14px;
    overflow: visible;
  }
  .price-table {
    display: block;
    min-width: 0;
  }
  .price-table thead {
    display: none;
  }
  .price-table tbody {
    display: grid;
    gap: 12px;
  }
  .price-table tr {
    display: grid;
    gap: 0;
    border: 1px solid var(--line);
    background: #fff;
  }
  .price-table td {
    display: grid;
    grid-template-columns: minmax(88px, 32%) 1fr;
    gap: 12px;
    align-items: start;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }
  .price-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.4;
    text-transform: uppercase;
  }
  .price-table td:first-child {
    display: block;
    padding: 14px 12px;
    background: var(--paper);
  }
  .price-table td:first-child::before {
    display: block;
    margin-bottom: 5px;
  }
  .price-table td:last-child {
    border-bottom: 0;
    color: var(--blue-dark);
    font-weight: 900;
  }
  .price-table a {
    font-size: 14px;
    line-height: 1.35;
  }
  .price-table small {
    font-size: 12px;
    line-height: 1.4;
  }
  .price-empty {
    display: block !important;
  }
  .image-band div { padding: 52px 20px; }
  .admin-main { padding: 20px; }
  .admin-top { display: grid; }
}

@media (max-width: 420px) {
  .brand { width: 205px; }
  h1 { font-size: 29px; }
  h2 { font-size: 24px; }
  .hero { min-height: 500px; }
  .quick-actions article,
  .split-copy,
  .technology > div:first-child,
  .resources-head {
    gap: 14px;
  }
  .price-table td {
    grid-template-columns: 82px 1fr;
    gap: 10px;
    padding: 9px 10px;
  }
}
