:root {
  --ink: #0f1b2d;
  --ink-soft: #3a4a5c;
  --steel: #1e4d7b;
  --steel-mid: #2a6aa3;
  --amber: #c47a2c;
  --amber-soft: #e8a04a;
  --paper: #f3f6f9;
  --paper-deep: #e4ebf2;
  --white: #ffffff;
  --line: rgba(15, 27, 45, 0.12);
  --shadow: 0 18px 40px rgba(15, 27, 45, 0.12);
  --font-display: "Noto Serif SC", "Songti SC", serif;
  --font-body: "Outfit", "PingFang SC", "Microsoft YaHei", sans-serif;
  --wrap: min(1120px, calc(100% - 2.5rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(42, 106, 163, 0.12), transparent 55%),
    radial-gradient(900px 500px at 100% 20%, rgba(196, 122, 44, 0.08), transparent 50%),
    linear-gradient(180deg, #eef3f8 0%, var(--paper) 40%, #f7f9fb 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(243, 246, 249, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--steel);
}

.nav-cta {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--steel);
  color: var(--white) !important;
}

.nav-cta:hover {
  background: var(--steel-mid);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 1.35rem;
  background: var(--ink);
  margin-inline: auto;
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroDrift 22s ease-in-out infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15, 27, 45, 0.35) 0%, rgba(15, 27, 45, 0.55) 45%, rgba(15, 27, 45, 0.82) 100%),
    linear-gradient(90deg, rgba(15, 27, 45, 0.45), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0 4.5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
  margin-bottom: 0.85rem;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  font-family: var(--font-body);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 600;
  line-height: 1.35;
  max-width: 18ch;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.95);
}

.hero-lead {
  max-width: 34rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--amber);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--amber-soft);
  color: var(--ink);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.contact .btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.contact .btn-ghost:hover {
  background: var(--paper-deep);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-head {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.5rem;
}

.section-head p {
  color: var(--ink-soft);
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-mid);
  margin-bottom: 0.4rem;
}

.warehouse-alt {
  background: linear-gradient(180deg, rgba(228, 235, 242, 0.7), transparent);
}

/* Services */
.service-rail {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.75rem;
}

.service-rail li {
  font-size: 0.98rem;
  font-weight: 500;
  padding: 0.55rem 0.95rem;
  border-bottom: 2px solid var(--amber);
  color: var(--ink);
  background: transparent;
}

/* Galleries */
.gallery {
  display: grid;
  gap: 0.85rem;
}

.gallery-uk {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-de {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
  display: block;
  overflow: hidden;
  background: var(--paper-deep);
  aspect-ratio: 3 / 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-de .gallery-item:nth-child(1),
.gallery-de .gallery-item:nth-child(2) {
  grid-column: span 1;
}

.gallery-uk .gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 100%;
}

/* Canada */
.ca-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.ca-card {
  margin: 0;
}

.ca-card picture,
.ca-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--paper-deep);
}

.ca-card figcaption {
  padding: 0.85rem 0.1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ca-card strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.ca-card span {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

/* Contact */
.contact {
  padding-bottom: 5.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem;
  background:
    linear-gradient(135deg, rgba(30, 77, 123, 0.06), rgba(196, 122, 44, 0.05)),
    var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  margin-bottom: 0.75rem;
}

.contact-intro {
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  max-width: 36rem;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.contact-list li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
}

.contact-list span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-mid);
}

.contact-list a,
.contact-list strong {
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-list a:hover {
  color: var(--amber);
}

.qr-panel {
  margin: 0;
  text-align: center;
}

.qr-panel img {
  width: min(100%, 320px);
  margin-inline: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--white);
}

.qr-panel figcaption {
  margin-top: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* Footer */
.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.site-footer .muted {
  margin-top: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img { animation: none; transform: none; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .gallery-item img,
  .btn {
    transition: none;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .gallery-uk,
  .gallery-de,
  .ca-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-uk .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 16 / 9;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    padding: 1.75rem;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(243, 246, 249, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1rem;
  }

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

  .nav a {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
    border-bottom: 0 !important;
  }

  .hero {
    min-height: 85vh;
  }

  .hero-content {
    padding: 4rem 0 3.25rem;
  }

  .gallery-uk,
  .gallery-de,
  .ca-grid {
    grid-template-columns: 1fr;
  }

  .gallery-uk .gallery-item:nth-child(1) {
    grid-column: auto;
  }

  .section {
    padding: 3.5rem 0;
  }
}
