:root {
  --ink: #162022;
  --muted: #5d6a6d;
  --paper: #f4f6f7;
  --white: #ffffff;
  --line: #d6dee0;
  --forest: #102f32;
  --forest-2: #17646b;
  --copper: #9d6237;
  --ochre: #d5b35f;
  --mist: #e7eef1;
  --steel: #28465a;
  --shadow: 0 20px 60px rgba(16, 47, 50, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease, padding 180ms ease;
}

.site-header.scrolled,
.site-header.solid {
  background: rgba(244, 246, 247, 0.96);
  color: var(--ink);
  box-shadow: 0 12px 32px rgba(23, 32, 27, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-weight: 800;
  line-height: 1;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  margin-top: 3px;
  color: currentColor;
  opacity: 0.72;
  font-size: 0.74rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 30px);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
  opacity: 0.82;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
  color: var(--ochre);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: transparent;
  color: currentColor;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: min(760px, 78vh);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-itad-control-room.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(13, 24, 20, 0.92) 0%, rgba(13, 24, 20, 0.72) 42%, rgba(13, 24, 20, 0.22) 100%),
    linear-gradient(0deg, rgba(13, 24, 20, 0.74) 0%, rgba(13, 24, 20, 0.08) 52%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  padding: 150px clamp(18px, 5vw, 72px) 76px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--ochre);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 6vw, 6.8rem);
  font-weight: 850;
}

h2 {
  max-width: 820px;
  font-size: clamp(2rem, 3.4vw, 4rem);
  font-weight: 820;
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
}

.hero-copy {
  max-width: 710px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.2;
}

.button.primary {
  background: var(--ochre);
  color: #101713;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.58);
  color: var(--white);
}

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

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--forest);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.trust-strip div {
  padding: 22px clamp(18px, 4vw, 56px);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  font-size: 1rem;
}

.trust-strip span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.section {
  padding: clamp(72px, 9vw, 132px) clamp(18px, 5vw, 72px);
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}

.intro-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 34px;
}

.section-summary {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.visual-section {
  background: var(--white);
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.visual-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(23, 32, 27, 0.06);
}

.visual-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e9eef0;
}

.visual-card figcaption {
  display: grid;
  gap: 5px;
  padding: 18px;
}

.visual-card strong,
.visual-card span {
  display: block;
}

.visual-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.services-section {
  background: var(--mist);
}

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

.service-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(23, 32, 27, 0.06);
}

.service-index {
  color: var(--copper);
  font-size: 0.88rem;
  font-weight: 900;
}

.service-card h3 {
  margin-top: 34px;
}

.service-card p {
  margin: 20px 0 0;
  color: var(--muted);
}

.process-section {
  background: var(--paper);
}

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

.process-grid article {
  min-height: 250px;
  padding: 28px;
  background: var(--white);
}

.process-grid span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
}

.process-grid p {
  margin: 16px 0 0;
  color: var(--muted);
}

.standards-section {
  background: var(--forest);
  color: var(--white);
}

.standards-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.74fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
}

.standards-panel p {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
}

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

.check-list li {
  position: relative;
  padding: 18px 18px 18px 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 24px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--ochre);
  border-bottom: 2px solid var(--ochre);
  transform: rotate(-45deg);
}

.logistics-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 78px);
  align-items: center;
  background: var(--paper);
}

.logistics-image {
  min-height: 520px;
  border-radius: 8px;
  background-image: url("assets/hong-kong-logistics-hub.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.logistics-content p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.metric-row div {
  padding: 18px;
  border-left: 3px solid var(--copper);
  background: var(--white);
}

.metric-row strong,
.metric-row span {
  display: block;
}

.metric-row span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.categories-section {
  background: var(--white);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.category-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--steel);
  border-radius: 8px;
  background: var(--paper);
}

.category-grid p {
  margin: 16px 0 0;
  color: var(--muted);
}

.diligence-section {
  background: var(--mist);
}

.diligence-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.74fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
}

.diligence-panel p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
}

.document-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.document-list li {
  padding: 16px 18px;
  border-left: 4px solid var(--copper);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(23, 32, 27, 0.05);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.82fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background: var(--white);
}

.contact-copy p {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-copy .notice {
  padding: 16px 18px;
  border-left: 4px solid var(--copper);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.96rem;
}

.contact-card {
  padding: 10px 0 0;
  font-style: normal;
}

.contact-card dl {
  margin: 0;
}

.contact-card div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-card dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card dd {
  margin: 0;
  font-weight: 740;
}

.contact-card a {
  color: var(--forest-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 22px;
  padding: 34px clamp(18px, 5vw, 72px);
  background: #111a15;
  color: var(--white);
}

.site-footer strong,
.site-footer span,
.site-footer small {
  display: block;
}

.site-footer span,
.site-footer small {
  color: rgba(255, 255, 255, 0.62);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-footer small {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.legal-page {
  padding-top: 82px;
}

.legal-hero {
  padding: clamp(76px, 9vw, 122px) clamp(18px, 5vw, 72px) 44px;
  background: var(--forest);
  color: var(--white);
}

.legal-hero h1 {
  font-size: clamp(2.6rem, 5vw, 5rem);
}

.legal-hero p:last-child {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
}

.legal-content {
  max-width: 900px;
  padding: 56px clamp(18px, 5vw, 72px) 96px;
}

.legal-content h2 {
  margin-top: 38px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

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

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content a {
  color: var(--forest-2);
}

.compliance-content ul {
  padding-left: 22px;
}

@media (max-width: 920px) {
  .site-header {
    padding: 14px 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav.open,
  .site-nav.always-visible {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding: 142px 18px 58px;
  }

  .trust-strip,
  .intro-section,
  .visual-grid,
  .service-grid,
  .process-grid,
  .standards-panel,
  .category-grid,
  .logistics-section,
  .metric-row,
  .diligence-panel,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .section-heading {
    display: block;
  }

  .service-card {
    min-height: auto;
  }

  .process-grid article,
  .category-grid article {
    min-height: auto;
  }

  .logistics-image {
    min-height: 360px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .brand strong {
    max-width: 190px;
    font-size: 0.9rem;
  }

  .brand small {
    font-size: 0.68rem;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    min-height: 48px;
  }

  .section {
    padding: 58px 18px;
  }

  .legal-content {
    padding-bottom: 70px;
  }
}
