/* =============================================================
   HELLWORX — final mockup
   Mobile first · Poppins · black / blue / white
   Pass 1: base → header → mobile panel → hero → section skeleton
   ============================================================= */

/* ---------- fonts ---------- */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../assets/fonts/poppins-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/poppins-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/poppins-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/poppins-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/poppins-700.woff2') format('woff2');
}

/* ---------- tokens ---------- */
:root {
  --ink: #000000;
  --body: #14161a;
  --muted: #6b7280;
  --line: #e5e7eb;
  --paper: #ffffff;
  --surface: #f3f4f6;
  --accent: #0066ff;
  --accent-deep: #0048c8;
  --night: #050608;

  --font: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --shell: 1280px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --header-h: 68px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, dt, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.shell {
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: #fff;
  color: #000;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: none; }

/* ---------- shared type ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow__num {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.1em;
}
.eyebrow__num::after {
  content: '/';
  margin-left: 0.65rem;
  color: var(--line);
}
.eyebrow__mark {
  width: 18px;
  height: 2px;
  background: var(--accent);
  flex: none;
}
.eyebrow--light { color: rgba(255, 255, 255, .55); }
.eyebrow--light .eyebrow__num::after { color: rgba(255, 255, 255, .22); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.95rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s var(--ease);
}
.btn .i-arrow { width: 16px; height: 16px; flex: none; transition: transform .3s var(--ease); }
.btn:hover .i-arrow { transform: translateX(4px); }
.btn:disabled { opacity: .55; cursor: default; }

.btn--blue { background: var(--accent); color: #fff; }
.btn--blue:hover { background: var(--accent-deep); }
.btn--blue:active { transform: translateY(1px); }

.btn--ghost {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .03);
  color: #fff;
}
.btn--ghost:hover {
  border-color: var(--accent);
  background: rgba(0, 102, 255, .14);
}
.btn--ghost .btn__dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, .2);
}

.btn--sm {
  min-height: 40px;
  padding: 0.7rem 1.1rem;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
.site-header.is-scrolled {
  background: rgba(5, 6, 8, .96);
  border-bottom-color: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
@media (min-width: 900px) {
  :root { --header-h: 84px; }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
  flex: none;
}
.brand__mark { width: 27.6px; height: auto; }
.brand__rule {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, .25);
}
.brand__type { display: grid; gap: 0.23rem; }
.brand__word {
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand__word span { color: var(--accent); }
.brand__tag {
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  white-space: nowrap;
}
@media (max-width: 359px) { .brand__rule, .brand__tag { display: none; } }

.site-nav { display: none; gap: 2rem; }
.site-nav a {
  position: relative;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color .2s ease;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .3s var(--ease);
}
.site-nav a:hover, .site-nav a[aria-current] { color: #fff; }
.site-nav a:hover::after, .site-nav a[aria-current]::after { width: 100%; }

.site-header__actions { display: flex; align-items: center; gap: 0.75rem; }
.header-cta { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  padding: 0;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
}
.nav-toggle__label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 22px;
  height: 14px;
}
.nav-toggle__bars i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease), width .2s ease;
}
.nav-toggle__bars i:first-child { top: 2px; }
.nav-toggle__bars i:last-child { top: 10px; width: 65%; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:first-child { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:last-child { top: 6px; width: 100%; transform: rotate(-45deg); }

@media (min-width: 900px) {
  .site-nav { display: flex; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
}
.scroll-progress i {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--accent);
  transition: width .1s linear;
}

/* ---------- mobile panel ---------- */
.nav-panel {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 2.5rem) var(--gutter) 2rem;
  background:
    radial-gradient(ellipse 90% 60% at 80% 10%, rgba(0, 102, 255, .22), transparent 60%),
    linear-gradient(160deg, #06080f, #050608 55%, #04060c);
  color: #fff;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity .35s ease, transform .45s var(--ease), visibility .35s;
  overflow-y: auto;
}
.nav-panel.is-open { visibility: visible; opacity: 1; transform: none; }

.nav-panel__inner {
  flex: 1;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.nav-panel__label {
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .35);
  margin-bottom: 1.5rem;
}
.nav-panel nav {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.nav-panel nav a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-size: clamp(2rem, 9vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: #fff;
  text-decoration: none;
  transition: color .2s ease, padding-left .3s var(--ease);
}
.nav-panel nav a span {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.nav-panel nav a:hover { color: var(--accent); padding-left: 0.35rem; }

.nav-panel__cta {
  align-self: stretch;
  margin-top: 2rem;
  justify-content: space-between;
  padding-inline: 1.25rem;
}

.nav-panel__meta {
  margin-top: auto;
  padding-top: 2.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, .55);
  display: grid;
  gap: 1rem;
}
.nav-panel__meta a {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  align-self: start;
  padding-bottom: 0.15rem;
}
.nav-panel__meta p { line-height: 1.7; }

.nav-panel.is-open nav a,
.nav-panel.is-open .nav-panel__cta { animation: panel-in .5s var(--ease) both; }
.nav-panel.is-open nav a:nth-child(2) { animation-delay: .05s; }
.nav-panel.is-open nav a:nth-child(3) { animation-delay: .1s; }
.nav-panel.is-open nav a:nth-child(4) { animation-delay: .15s; }
.nav-panel.is-open .nav-panel__cta { animation-delay: .2s; }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 900px) {
  .nav-panel { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--night);
  color: #fff;
  padding-top: var(--header-h);
  isolation: isolate;
}

.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }

.hero__blueprint {
  position: absolute;
  inset: -1px;
  background-image:
    linear-gradient(rgba(255, 255, 255, .0625) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .0625) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .0375) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .0375) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  opacity: .91;
  mask-image: radial-gradient(ellipse 85% 70% at 55% 35%, #000 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 55% 35%, #000 10%, transparent 78%);
}

.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 72% 18%, rgba(0, 102, 255, .28), transparent 70%),
    radial-gradient(ellipse 60% 55% at 15% 105%, rgba(0, 30, 110, .35), transparent 70%),
    linear-gradient(180deg, #06070b 0%, #050608 55%, #04060c 100%);
}

.hero__ribbon {
  position: absolute;
  top: -38%;
  right: -30%;
  width: 88%;
  height: 176%;
  background: linear-gradient(
    112deg,
    rgba(0, 102, 255, 0) 30%,
    rgba(0, 102, 255, .18) 42%,
    rgba(0, 102, 255, .52) 50%,
    rgba(0, 58, 176, .26) 58%,
    rgba(0, 102, 255, 0) 68%
  );
  transform: rotate(7deg);
  filter: blur(18px);
  opacity: .78;
  mask-image: radial-gradient(ellipse 68% 62% at 50% 48%, #000 18%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 68% 62% at 50% 48%, #000 18%, transparent 76%);
}

.hero__vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 8, .2) 0%, transparent 25%, transparent 62%, rgba(5, 6, 8, .92) 100%);
}

.hero__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(3rem, 10vh, 7rem);
  padding-bottom: clamp(3rem, 10vh, 7rem);
}

.hero__grid {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.hero__copy { position: relative; z-index: 2; min-width: 0; }
.hero__copy .eyebrow { font-size: 0.58rem; font-weight: 400; }

/* illustration sits within the gutters on every screen */
.hero__media {
  order: -1;
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.hero__media img {
  width: 100%;
  height: auto;
  opacity: 1;
}

/* ---------- hero packet flow ---------- */
/* the svg box always matches the img box, so 1 canvas unit = 1 canvas unit */
.hero__packets {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.pk__core { r: 13px; }
.pk__halo { r: 44px; }

@media (min-width: 640px) and (max-width: 1023px) {
  .hero__media img { height: 42vh; object-fit: contain; }
}

.hero__title {
  margin-top: clamp(1.5rem, 4vh, 2.5rem);
  font-size: clamp(3.5rem, 14vw, 8.75rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.hero__accent { color: var(--accent); }

.hero__lede {
  margin-top: clamp(1.75rem, 4vh, 2.75rem);
  display: grid;
  gap: 2rem;
  max-width: 980px;
}
.hero__lede p {
  max-width: 44ch;
  font-size: clamp(0.8rem, 1.36vw, 0.95rem);
  font-weight: 300;
  line-height: 1.72;
  color: rgba(255, 255, 255, .68);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 479px) {
  .hero__cta .btn { flex: 1 1 100%; }
}

@media (min-width: 1024px) {
  .hero__grid {
    display: grid;
    /* 40vw == 768px at 1920: past FHD the art column stops eating the 1280px shell */
    grid-template-columns: minmax(0, 1fr) min(40vw, 768px);
    align-items: center;
    gap: clamp(2rem, 4vw, 4.5rem);
  }
  .hero__media {
    order: 0;
    justify-self: end;
  }
  /* art runs wider than its column and sits behind the copy */
  .hero__media img {
    width: auto;
    height: min(44vh, 475px); /* 44vh == 475px at 1080: frozen at FHD and above */
    max-width: none;
    margin-inline-start: auto;
    opacity: .88;
  }
  /* the packet overlay rides along with the art */
  .hero__media img,
  .hero__packets { transform: translate(2rem, -4rem); }
  /* copy settles below the art's optical centre */
  .hero__copy {
    min-width: 0;
    transform: translateY(4rem);
  }
  .hero__title {
    font-size: clamp(4.2rem, 7.44vw, 6.7rem);
    white-space: nowrap;
  }
  .hero__copy .eyebrow { font-size: 0.7rem; }
  .hero__lede p { font-size: clamp(0.95rem, 1.63vw, 1.15rem); }
  .hero__cta .btn { font-size: 0.9rem; padding-inline: 1.35rem; }
}

@media (max-width: 639px) {
  /* the art is ~335px wide here, so the dots need to be bigger in canvas units */
  .pk__core { r: 26px; }
  .pk__halo { r: 88px; }
}

/* ---------- section skeleton ---------- */
.section {
  padding-block: clamp(5rem, 14vh, 9rem);
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.section--paper { background: var(--paper); color: var(--body); }
.section--surface { background: var(--surface); color: var(--body); }
.section--dark { background: var(--night); color: #fff; }

.section__title {
  margin-top: 1.25rem;
  max-width: 20ch;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.section__title::after {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 1.75rem;
  background: var(--accent);
}
.section--dark .section__title { color: #fff; }

/* section header: title left, lead right on wide screens */
.section__head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.section__head .section__title { margin-top: 0; }

.section__lead {
  max-width: 44ch;
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  line-height: 1.7;
  color: #454b55;
}

@media (min-width: 900px) {
  .section__head {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    align-items: end;
    column-gap: 3rem;
  }
  .section__head .eyebrow { grid-column: 1 / -1; }
}

/* ---------- services ---------- */
.services {
  display: grid;
  border-top: 1px solid rgba(0, 0, 0, .1);
  border-left: 1px solid rgba(0, 0, 0, .1);
}

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-right: 1px solid rgba(0, 0, 0, .1);
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  transition: background .3s ease;
}
.service::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .4s var(--ease);
}
.service:hover { background: var(--paper); }
.service:hover::after { width: 100%; }

.service__num {
  position: absolute;
  top: 1.4rem;
  right: 1.5rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(0, 0, 0, .3);
}

.service__icon {
  width: 34px;
  height: 34px;
  color: var(--body);
  transition: transform .4s var(--ease);
}
.service:hover .service__icon { transform: translateY(-2px); }

.service h3 {
  padding-right: 1.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.service p {
  max-width: 34ch;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #4b5563;
}

@media (min-width: 640px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service { min-height: 250px; }
}

/* ---------- about ---------- */
.about__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }

.about__head .section__title {
  max-width: 14ch;
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
}
.about__head { align-self: start; }

.about__copy {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}
.about__copy p {
  max-width: 62ch;
  font-size: clamp(0.9375rem, 1.3vw, 1.0625rem);
  line-height: 1.78;
  color: #2b2f36;
}

.about__facts {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.about__facts dt {
  margin-bottom: 0.25rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.about__facts dd { font-size: 0.9375rem; font-weight: 600; }

@media (min-width: 640px) {
  .about__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
}
@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    column-gap: clamp(2.5rem, 6vw, 6rem);
  }
}

/* ---------- product card ---------- */
.product {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding: clamp(1.75rem, 4.5vw, 3.5rem);
  color: #fff;
  background:
    radial-gradient(ellipse 55% 65% at 24% 50%, rgba(0, 102, 255, .22), transparent 72%),
    linear-gradient(160deg, #0a0d15, #050608 55%, #04060c);
  border: 1px solid rgba(255, 255, 255, .09);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
}

.product__media {
  position: relative;
  display: flex;
  justify-content: center;
}

/* blue halo behind the device, echoes the hero */
.product__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(520px, 100%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 102, 255, .42), rgba(0, 102, 255, 0) 62%);
  pointer-events: none;
}

.product__media img {
  position: relative;
  width: auto;
  height: clamp(400px, 60vh, 620px);
  max-width: none;
  transform: rotate(-5deg);
  filter: drop-shadow(0 34px 50px rgba(0, 0, 0, .55));
}

.product__kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}
.product__kicker i {
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, .2);
}

.product__name {
  margin-top: 1.1rem;
  font-size: clamp(2.5rem, 4.4vw, 4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
}
.product__name span { color: var(--accent); }

.product__sub {
  margin-top: 0.7rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}

.product__desc {
  margin-top: 1.35rem;
  max-width: 52ch;
  font-size: clamp(0.9375rem, 1.3vw, 1.0625rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, .64);
}
.product__desc + .product__desc { margin-top: 1rem; }

.product__meta {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 0.8125rem;
}
.product__meta dt {
  margin-bottom: 0.3rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .38);
}
.product__meta dd { color: rgba(255, 255, 255, .85); }

.product__cta { margin-top: 2rem; }

.product__note {
  margin-top: 0.9rem;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, .42);
}

@media (min-width: 900px) {
  .product__meta > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1.5rem;
  }
  .product__meta dt { margin-bottom: 0; }
}
@media (min-width: 1280px) {
  .product__meta { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
  .product__meta > div { display: block; }
  .product__meta dt { margin-bottom: 0.3rem; }
}
@media (min-width: 900px) {
  .product {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
  }
}

/* ---------- contact ---------- */
.contact__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.contact__intro { min-width: 0; }

.contact__details {
  display: grid;
  align-content: start;
  gap: 2rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 0.875rem;
  line-height: 1.7;
}

.contact__label {
  margin-bottom: 0.6rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
}

.contact__address {
  font-style: normal;
  color: rgba(255, 255, 255, .78);
}

.contact__mail {
  display: inline-block;
  padding-bottom: 0.15rem;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 102, 255, .5);
  transition: color .2s ease, border-color .2s ease;
}
.contact__mail:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- footer ---------- */
.site-footer {
  background: #050608;
  color: rgba(255, 255, 255, .45);
  border-top: 1px solid rgba(255, 255, 255, .09);
}
.site-footer__copy {
  padding: 1.5rem 0;
  font-size: 0.6875rem;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-align: center;
}

/* form panel — angular cut echoes the bolt */
.form {
  display: grid;
  align-content: start;
  gap: 1.5rem;
  padding: clamp(1.35rem, 3.5vw, 2.5rem);
  background: linear-gradient(160deg, #0b0d14, #070910);
  border: 1px solid rgba(255, 255, 255, .1);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
}
/* wrap to one field per row only while a field would get too narrow */
.form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.form__row .field {
  flex: 1 1 150px;
  min-width: 0;
}
.field { display: grid; gap: 0.55rem; }
.field label {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.field label span[aria-hidden] { color: var(--accent); }
.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 0;
  font: inherit;
  font-size: 1rem; /* 16px keeps iOS from zooming on focus */
  color: #fff;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  border-radius: 0;
  transition: border-color .25s ease;
}
.field textarea { resize: vertical; min-height: 200px; line-height: 1.6; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, .26); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
  box-shadow: 0 1px 0 var(--accent);
}
.field.has-error input,
.field.has-error textarea { border-bottom-color: #ff5a5f; }
.field__error { font-size: 0.6875rem; color: #ff8a8d; }
.field__error:empty { display: none; }

.form__note {
  max-width: 52ch;
  font-size: 0.6875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .35);
}
.form__status {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #7fb2ff;
}
.form__status:empty { display: none; }

.socials { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .62);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.socials a:hover {
  color: #fff;
  border-color: var(--accent);
  background: rgba(0, 102, 255, .14);
}
.socials svg { width: 18px; height: 18px; fill: currentColor; }

@media (min-width: 900px) {
  .contact__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* ---------- reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease var(--d, 0s), transform .8s var(--ease) var(--d, 0s);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .nav-panel.is-open nav a,
  .nav-panel.is-open .nav-panel__cta { animation: none; }
  .hero__packets { display: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
