@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap");

/* ============================================================
   SHT PRO — tokens
   ============================================================ */
:root {
  --background: #000000;
  --foreground: #ffffff;
  --tint: #06080e;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;

  --hairline: rgba(255, 255, 255, 0.10);
  --hairline-strong: rgba(255, 255, 255, 0.22);
  --muted: rgba(255, 255, 255, 0.56);
  --muted-2: rgba(255, 255, 255, 0.38);

  --shell: min(1280px, 100% - 3rem);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

::selection { background: #ffffff; color: #000000; }

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

:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============================================================
   Glass primitives
   ============================================================ */
.liquid-glass {
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.15) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.15) 80%,
    rgba(255, 255, 255, 0.45) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* ============================================================
   Metallic fill — chrome with a travelling specular sweep.
   The PNGs supply only alpha; colour comes from CSS, so every
   mark stays crisp at any size and on any background.
   ============================================================ */
.metal {
  --metal-sweep-duration: 5.5s;
  display: block;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
  background-repeat: no-repeat;
  background-image:
    linear-gradient(115deg,
      rgba(255, 255, 255, 0) 18%,
      rgba(255, 255, 255, 0.55) 33%,
      rgba(255, 255, 255, 0.95) 41%,
      rgba(255, 255, 255, 0.45) 49%,
      rgba(255, 255, 255, 0) 64%),
    linear-gradient(178deg,
      #7f8a99 0%, #dfe5ee 18%, #ffffff 30%, #a7b2c1 44%,
      #626c7a 55%, #b9c3d1 70%, #ffffff 84%, #8b95a4 100%);
  background-size: 260% 100%, 100% 100%;
  background-position: -160% 0, 0 0;
  animation: metal-sweep var(--metal-sweep-duration) ease-in-out infinite;
}

@keyframes metal-sweep {
  0%   { background-position: -160% 0, 0 0; }
  55%  { background-position:  260% 0, 0 0; }
  100% { background-position:  260% 0, 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .metal { background-position: 46% 0, 0 0; animation: none; }
}

/* Per-icon masks — all six cut from the company logo */
[data-ico="tv"]      { -webkit-mask-image: url("../img/icons/tv.png");      mask-image: url("../img/icons/tv.png"); }
[data-ico="laptop"]  { -webkit-mask-image: url("../img/icons/laptop.png");  mask-image: url("../img/icons/laptop.png"); }
[data-ico="laundry"] { -webkit-mask-image: url("../img/icons/laundry.png"); mask-image: url("../img/icons/laundry.png"); }
[data-ico="audio"]   { -webkit-mask-image: url("../img/icons/audio.png");   mask-image: url("../img/icons/audio.png"); }
[data-ico="speaker"] { -webkit-mask-image: url("../img/icons/speaker.png"); mask-image: url("../img/icons/speaker.png"); }
[data-ico="camera"]  { -webkit-mask-image: url("../img/icons/camera.png");  mask-image: url("../img/icons/camera.png"); }

.brand__mark {
  width: 1.75rem; height: 1.75rem; flex-shrink: 0;
  -webkit-mask-image: url("../img/logo-mark.png");
          mask-image: url("../img/logo-mark.png");
}

/* Footer lockup uses the artwork's own blue metal rather than the CSS
   chrome: at this size the bevel and highlights actually read. A sheen
   masked to the same shape keeps the shimmer the flat marks get. */
.footer__lockup {
  position: relative;
  width: min(330px, 80vw);
  aspect-ratio: 900 / 575;
  background-image: url("../img/logo-metal-lockup.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
}

.footer__lockup::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(115deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.5) 44%,
    rgba(255, 255, 255, 0) 58%);
  background-size: 280% 100%;
  background-repeat: no-repeat;
  background-position: -180% 0;
  -webkit-mask-image: url("../img/logo-metal-lockup.png");
          mask-image: url("../img/logo-metal-lockup.png");
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: left center;
          mask-position: left center;
  animation: sheen-sweep 7s ease-in-out infinite;
}

@keyframes sheen-sweep {
  0%   { background-position: -180% 0; }
  55%  { background-position:  280% 0; }
  100% { background-position:  280% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .footer__lockup::after { animation: none; background-position: 46% 0; }
}

/* ============================================================
   Hero shell
   ============================================================ */
.hero-shell {
  position: relative;
  background: #000;
  height: 100svh;
  min-height: 620px;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

/* Slow crossfading facility footage — self-contained, no external stream */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.40) saturate(0.55) contrast(1.08);
  opacity: 0;
  will-change: opacity, transform;
  animation: hero-ken 27s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 9s; }
.hero-slide:nth-child(3) { animation-delay: 18s; }

@keyframes hero-ken {
  0%   { opacity: 0; transform: scale(1.03); }
  4%   { opacity: 1; }
  30%  { opacity: 1; }
  36%  { opacity: 0; transform: scale(1.13); }
  100% { opacity: 0; transform: scale(1.13); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; opacity: 0; }
  .hero-slide:nth-child(1) { opacity: 1; }
}

/* Optional video layer — revealed only once it actually plays */
.hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
  filter: brightness(0.45) saturate(0.6);
}
.hero-bg.video-ready video { opacity: 1; }
.hero-bg.video-ready .hero-slide { opacity: 0; animation: none; }

/* Faint engineering grid — gives the black some structure */
.hero-grid {
  position: absolute;
  inset: -10%;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 78px 78px;
  -webkit-mask-image: radial-gradient(72% 62% at 50% 42%, #000 0%, transparent 78%);
          mask-image: radial-gradient(72% 62% at 50% 42%, #000 0%, transparent 78%);
  animation: grid-drift 34s linear infinite;
}

@keyframes grid-drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(78px, 78px, 0); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.66) 0%,
    rgba(0, 0, 0, 0.30) 28%,
    rgba(0, 0, 0, 0.48) 64%,
    rgba(0, 0, 0, 0.95) 100%);
}

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
  position: relative;
  z-index: 20;
  padding: 1.5rem;
  width: 100%;
  opacity: 0;
  transform: translateY(-20px);
  animation: nav-in 0.7s var(--ease-out-expo) 0.05s forwards;
}

@keyframes nav-in { to { opacity: 1; transform: translateY(0); } }

.navbar__inner {
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 64rem;
  margin: 0 auto;
}

.navbar__left { display: flex; align-items: center; gap: 2rem; min-width: 0; }

.brand { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.brand__name { color: #fff; font-weight: 600; font-size: 1.125rem; letter-spacing: 0.02em; }

.navlinks { display: none; align-items: center; gap: 2rem; }
.navlinks a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem; font-weight: 500;
  transition: color 0.3s ease; white-space: nowrap;
}
.navlinks a:hover { color: #fff; }

.navbar__right { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }

.lang-toggle {
  display: flex; align-items: center; gap: 0.125rem;
  padding: 0.1875rem; border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
}
.lang-toggle button {
  appearance: none; border: 0; background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em;
  padding: 0.3125rem 0.625rem; border-radius: 9999px; cursor: pointer;
  transition: color 0.25s ease, background-color 0.25s ease;
}
.lang-toggle button:hover { color: rgba(255, 255, 255, 0.85); }
.lang-toggle button[aria-pressed="true"] { color: #000; background: #fff; }

.btn-glass {
  border-radius: 9999px; padding: 0.5rem 1.5rem;
  font-size: 0.875rem; font-weight: 500; color: #fff;
  cursor: pointer; transition: opacity 0.3s ease; white-space: nowrap;
}
.btn-glass:hover { opacity: 0.9; }

@media (min-width: 768px) { .navlinks { display: flex; } }

/* ============================================================
   Hero content
   ============================================================ */
.hero {
  position: relative;
  flex: 1 1 auto;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 0 1.5rem 1.5rem;
  min-height: 0;
}

.hero__content {
  position: relative; z-index: 10;
  text-align: center; max-width: 64rem; margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  width: 100%; gap: clamp(1.75rem, 4vh, 3rem);
}

.hero__block { width: 100%; }

.eyebrow {
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  margin: 0 0 1rem;
  opacity: 0; animation: fade-up 0.8s var(--ease-out-expo) 0.1s forwards;
}

.hero__title {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(2.25rem, 7vw, 64px);
  letter-spacing: -0.01em; line-height: 1.1;
  margin: 0 auto 1.5rem; max-width: 56rem;
  text-wrap: balance;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.95) 45%, rgba(255,255,255,0.70) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; animation: fade-up 1s var(--ease-out-expo) 0.18s forwards;
}
.hero__title em { font-style: italic; }

.hero__sub {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.9375rem; font-weight: 300; line-height: 1.65;
  max-width: 38rem; margin: 0 auto;
  opacity: 0; animation: fade-up 0.9s var(--ease-out-expo) 0.3s forwards;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Icon strip — the six categories, straight from the logo */
.hero__strip {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(1.25rem, 4vw, 2.75rem);
  opacity: 0; animation: fade-up 0.9s var(--ease-out-expo) 0.62s forwards;
}
.hero__ico {
  width: clamp(22px, 3.4vw, 30px);
  aspect-ratio: 1;
  opacity: 0.66;
  transition: opacity 0.4s ease;
}
.hero__ico:nth-child(1) { --metal-sweep-duration: 5.2s; }
.hero__ico:nth-child(2) { --metal-sweep-duration: 5.8s; }
.hero__ico:nth-child(3) { --metal-sweep-duration: 6.4s; }
.hero__ico:nth-child(4) { --metal-sweep-duration: 5.5s; }
.hero__ico:nth-child(5) { --metal-sweep-duration: 6.1s; }
.hero__ico:nth-child(6) { --metal-sweep-duration: 6.7s; }
.hero__strip:hover .hero__ico { opacity: 1; }

/* CTA */
.cta {
  min-height: 50px; display: flex;
  align-items: center; justify-content: center; width: 100%;
  opacity: 0; animation: fade-up 0.8s var(--ease-out-expo) 0.45s forwards;
}

.cta__button {
  padding: 0.75rem 2.5rem; font-size: 14px; font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 9999px;
  background: rgba(255, 255, 255, 0.02); color: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  cursor: pointer; animation: pop-in 0.2s ease;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.cta__button:hover { border-color: rgba(255,255,255,0.36); background: rgba(255,255,255,0.06); }


@keyframes pop-in { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }



.hero__cue {
  background: none; border: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  cursor: pointer; transition: color 0.3s ease;
  display: inline-flex; align-items: center; gap: 0.5rem;
  opacity: 0; animation: fade-up 0.8s var(--ease-out-expo) 0.8s forwards;
}
.hero__cue:hover { color: #fff; }
.hero__cue svg { width: 14px; height: 14px; animation: bob 2.4s ease-in-out infinite; }

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: clamp(2.75rem, 4.5vw, 4rem) 0; position: relative; }
.section--tinted { background: var(--tint); border-block: 1px solid var(--hairline); }
.shell { width: var(--shell); margin: 0 auto; }

.section-head { max-width: 46rem; margin-bottom: clamp(1.75rem, 2.8vw, 2.25rem); }

.section-label {
  font-size: 10px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted-2);
  margin: 0 0 1.25rem; display: flex; align-items: center; gap: 0.75rem;
}
.section-label::before { content: ""; width: 28px; height: 1px; background: var(--hairline-strong); }

.section-title {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(1.875rem, 4.2vw, 2.875rem);
  line-height: 1.15; letter-spacing: -0.01em;
  margin: 0 0 1.25rem; color: #fff; text-wrap: balance;
}
.section-title em { font-style: italic; color: rgba(255, 255, 255, 0.68); }

.section-lede {
  margin: 0; color: var(--muted);
  font-weight: 300; font-size: 1rem; line-height: 1.7; max-width: 40rem;
}

/* --- Product categories --- */
/* Six cards: the column count must always divide 6, or the last row
   leaves visible empty cells. Explicit breakpoints, never auto-fit. */
.pcats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  overflow: hidden;
}
@media (min-width: 620px) { .pcats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .pcats { grid-template-columns: repeat(3, 1fr); } }

.pcat {
  background: #000;
  display: flex; flex-direction: column;
  transition: background-color 0.45s ease;
}
.pcat:hover { background: rgba(255, 255, 255, 0.03); }

/* Catalogue shots are already lit on black, so the card bottom can
   simply dissolve into the tile instead of ending on a hard edge. */
.pcat__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #000;
}
.pcat__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 1.2s var(--ease-out-expo), opacity 0.7s ease;
}
.pcat__media::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 34%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 92%);
  pointer-events: none;
}
.pcat:hover .pcat__media img { transform: scale(1.05); }

/* Second catalogue shot revealed on hover; touch devices keep the first. */
.pcat__alt { opacity: 0; }
.pcat:hover .pcat__alt { opacity: 1; }

/* Sits above the media: .pcat__media is positioned, so a static
   sibling would be painted over and clipped. */
.pcat__body {
  position: relative;
  z-index: 1;
  padding: 0.625rem clamp(1.75rem, 2.8vw, 2.25rem) clamp(1.75rem, 2.8vw, 2.25rem);
  display: flex; flex-direction: column; gap: 0.625rem;
}

.pcat__title { font-size: 1.125rem; font-weight: 500; margin: 0; color: #fff; }
.pcat__text {
  margin: 0; font-size: 0.875rem; font-weight: 300;
  line-height: 1.65; color: var(--muted);
}

/* --- Ordering routes: wholesale account vs retail shop ---
   Gated: hidden unless the document carries .shop-live (set from
   SHOP_ENABLED in app.js). Hidden by default in CSS rather than by
   script, so a JS failure cannot leak the shop before it is ready. */
html:not(.shop-live) [data-shop] { display: none !important; }

.routes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  overflow: hidden;
}
@media (min-width: 800px) { .routes { grid-template-columns: repeat(2, 1fr); } }

.route {
  background: var(--tint);
  padding: clamp(1.875rem, 3vw, 2.5rem);
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 0.875rem;
  transition: background-color 0.45s ease;
}
.route--shop { background: rgba(255, 255, 255, 0.035); }
.route:hover { background: rgba(255, 255, 255, 0.055); }

.route__badge {
  padding: 0.3125rem 0.75rem;
  border: 1px solid var(--hairline-strong);
  border-radius: 9999px;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.route__title {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(1.3125rem, 2.4vw, 1.625rem);
  line-height: 1.2; margin: 0.25rem 0 0; color: #fff;
}
.route__text {
  margin: 0; flex: 1 1 auto;
  font-size: 0.9375rem; font-weight: 300; line-height: 1.7; color: var(--muted);
}

.route__cta {
  margin-top: 0.875rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.625rem;
  border: 1px solid var(--hairline-strong);
  border-radius: 9999px;
  background: transparent; color: rgba(255, 255, 255, 0.92);
  font-size: 0.875rem; font-weight: 500; cursor: pointer;
  transition: border-color 0.3s ease, background-color 0.3s ease, opacity 0.25s ease;
}
.route__cta:hover { border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.05); }
.route__cta svg { width: 15px; height: 15px; }

.route__cta--solid {
  background: #fff; color: #000; border-color: #fff;
}
.route__cta--solid:hover { background: #fff; border-color: #fff; opacity: 0.86; }

.navlinks__shop { display: inline-flex; align-items: center; gap: 0.3125rem; }
.navlinks__shop svg { width: 12px; height: 12px; opacity: 0.7; }

/* --- Warehouse grid ---
   Three equal frames in a row: the facilities are one set of evidence,
   so no single shot gets to dominate. Three items divide 1 or 3 columns
   exactly, so no orphan cell at any width. */
.net-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }

@media (min-width: 760px) {
  .net-grid { grid-template-columns: repeat(3, 1fr); }
}

.net-figure {
  position: relative; margin: 0;
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--hairline);
  background: #06080d;
  aspect-ratio: 4 / 3;
}

.net-figure img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.55) contrast(1.06) brightness(0.72);
  transform: scale(1.02);
  transition: transform 1.1s var(--ease-out-expo), filter 0.7s ease;
}
.net-figure:hover img { transform: scale(1.06); filter: saturate(0.85) contrast(1.03) brightness(0.84); }

.net-figure figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: clamp(1rem, 1.7vw, 1.5rem);
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 75%);
}
.net-figure__title { display: block; font-size: 0.9375rem; font-weight: 500; color: #fff; margin-bottom: 0.25rem; }
.net-figure__meta { display: block; font-size: 0.75rem; font-weight: 300; color: rgba(255,255,255,0.55); line-height: 1.5; }

/* --- Process steps (a real sequence, hence the numbering) --- */
/* Four steps: 1 / 2 / 4 columns — every layout divides 4 exactly. */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: 20px; overflow: hidden;
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  background: #000;
  padding: clamp(1.75rem, 2.6vw, 2.125rem);
  display: flex; flex-direction: column; gap: 0.75rem;
  min-height: 190px;
}

.step__num {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.32);
  font-variant-numeric: tabular-nums;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--hairline);
}
.step__title { font-size: 1rem; font-weight: 500; margin: 0; color: #fff; }
.step__text { margin: 0; font-size: 0.875rem; font-weight: 300; line-height: 1.65; color: var(--muted); }

/* Tinted sections need their panels to match the tinted ground */
.section--tinted .pcat,
.section--tinted .step { background: var(--tint); }
.section--tinted .pcat:hover { background: rgba(255, 255, 255, 0.03); }

/* --- Why --- */
.whys {
  display: grid; gap: clamp(1.75rem, 3vw, 2.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .whys { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .whys { grid-template-columns: repeat(4, 1fr); } }
.why { display: flex; flex-direction: column; gap: 0.75rem; }
.why__title {
  font-size: 1rem; font-weight: 500; margin: 0; color: #fff;
  padding-top: 1.25rem; border-top: 1px solid var(--hairline-strong);
}
.why__text { margin: 0; font-size: 0.9375rem; font-weight: 300; line-height: 1.7; color: var(--muted); }

/* --- Partnership callout --- */
#company { padding-top: clamp(1.75rem, 2.6vw, 2.25rem); }

.partner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem 3rem;
  align-items: start;
  padding: 0 0 clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--hairline);
}
@media (min-width: 880px) { .partner { grid-template-columns: 1fr 1fr; } }

.partner__left { display: flex; flex-direction: column; align-items: flex-start; gap: 0.875rem; }

.partner__badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  border: 1px solid var(--hairline-strong);
  border-radius: 9999px;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.partner__title {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  line-height: 1.2; letter-spacing: -0.01em;
  margin: 0; color: #fff; text-wrap: balance;
}

.partner__text {
  margin: 0; color: var(--muted);
  font-size: 0.9375rem; font-weight: 300; line-height: 1.7;
}

/* --- Contact --- */
.contact-card {
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid; gap: 2.5rem; align-items: start;
}
@media (min-width: 860px) { .contact-card { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }

.contact-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
.contact-list li { display: flex; gap: 0.875rem; align-items: flex-start; }
.contact-list svg { width: 16px; height: 16px; margin-top: 3px; color: rgba(255,255,255,0.45); flex-shrink: 0; }
.contact-list span { display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 0.25rem; }
.contact-list a, .contact-list p { margin: 0; font-size: 0.9375rem; color: rgba(255,255,255,0.86); font-weight: 300; }
.contact-list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.form { display: grid; gap: 0.875rem; }
.form label { display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 0.5rem; }
.form input, .form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline);
  border-radius: 12px; padding: 0.8125rem 1rem;
  color: #fff; font-size: 0.9375rem; font-weight: 300;
  outline: none; resize: vertical;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.form input::placeholder, .form textarea::placeholder { color: rgba(255,255,255,0.3); }
.form input:focus, .form textarea:focus { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.05); }

.form__submit {
  justify-self: start; margin-top: 0.5rem;
  padding: 0.8125rem 2rem; border-radius: 9999px; border: 0;
  background: #fff; color: #000;
  font-size: 0.875rem; font-weight: 500; cursor: pointer;
  transition: opacity 0.25s ease;
}
.form__submit:hover { opacity: 0.86; }
.form__status { margin: 0; font-size: 0.8125rem; color: rgba(255,255,255,0.6); min-height: 1.2em; }

/* --- Footer --- */
.footer { border-top: 1px solid var(--hairline); padding: 2.75rem 0 2rem; }

/* Four columns so the width is actually used — a two-block footer
   with space-between leaves a dead band across the middle. */
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  padding-bottom: 2.25rem;
}
@media (min-width: 700px) {
  .footer__top { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 3rem; }
}
@media (min-width: 1040px) {
  .footer__top { grid-template-columns: 1.5fr 0.85fr 1.15fr 0.9fr; gap: 3rem; }
}

.footer__brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer__tag {
  margin: 1rem 0 0; font-size: 0.8125rem; font-weight: 300;
  color: var(--muted-2); max-width: 24rem; line-height: 1.6;
}

.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6875rem; }
.footer__head {
  margin: 0 0 0.25rem;
  font-size: 10px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted-2);
}
.footer__col a { font-size: 0.8125rem; color: var(--muted); transition: color 0.25s ease; }
.footer__col a:hover { color: #fff; }
.footer__meta {
  margin: 0; font-size: 0.75rem; font-weight: 300;
  color: var(--muted-2); line-height: 1.55;
}
.footer__meta span:first-child {
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 0.08em; text-transform: uppercase; font-size: 10px;
}

.footer__icons { display: flex; flex-wrap: wrap; gap: 0.875rem; }
.footer__ico { width: 22px; aspect-ratio: 1; opacity: 0.55; }
.footer__ico:nth-child(2n) { --metal-sweep-duration: 6.3s; }
.footer__ico:nth-child(3n) { --metal-sweep-duration: 7.1s; }

.footer__bottom {
  border-top: 1px solid var(--hairline); padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 0.625rem 2rem; justify-content: space-between;
}
.footer__bottom p { margin: 0; font-size: 11px; color: rgba(255,255,255,0.3); line-height: 1.6; }

/* --- Utilities --- */
[data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

.hide-sm { display: none; }
@media (min-width: 768px) { .hide-sm { display: block; } }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
