:root {
  --bg: #f4f7f8;
  --surface: #ffffff;
  --ink: #101820;
  --muted: rgba(16, 24, 32, 0.68);
  --line: rgba(16, 24, 32, 0.1);
  --green: #0f8f54;
  --green-dark: #075f3a;
  --green-soft: #dff7e8;
  --gold: #d39b2a;
  --gold-soft: #fff4d8;
  --steel: #e6edf1;
  --blue-soft: #e8f1ff;
  --charcoal: #101820;
  --shadow: 0 24px 70px rgba(8, 26, 18, 0.12);
  --shadow-strong: 0 34px 90px rgba(6, 31, 20, 0.2);
  --max: 1400px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(15, 143, 84, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 24, 32, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #fbfcfb 0%, var(--bg) 48%, #eef3f5 100%);
  background-size: 44px 44px, 44px 44px, auto;
  overflow-x: hidden;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

img,
svg {
  display: block;
}

main {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.brand-mark {
  font-family: "Manrope", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: 0.08em;
}

.brand-text {
  color: var(--muted);
  font-weight: 700;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 30px rgba(8, 26, 18, 0.07);
}

.topbar-nav a,
.topbar-cta {
  border-radius: 999px;
  font-weight: 800;
}

.topbar-nav a {
  padding: 10px 14px;
  color: rgba(16, 24, 32, 0.72);
}

.topbar-nav a:hover {
  color: var(--green-dark);
  background: var(--green-soft);
}

.topbar-cta {
  padding: 12px 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 16px 34px rgba(15, 143, 84, 0.24);
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  overflow: hidden;
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(420px, 0.86fr) minmax(560px, 1.14fr);
  align-items: center;
  padding: clamp(34px, 5vw, 82px);
  background:
    radial-gradient(circle at 78% 34%, rgba(143, 240, 181, 0.34), transparent 25%),
    radial-gradient(circle at 58% 76%, rgba(200, 164, 93, 0.18), transparent 26%),
    linear-gradient(100deg, rgba(4, 27, 18, 0.95) 0%, rgba(6, 45, 29, 0.88) 42%, rgba(236, 246, 239, 0.72) 76%, rgba(250, 253, 250, 0.94) 100%);
  box-shadow: var(--shadow-strong);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 48%, rgba(255, 255, 255, 0.2) 48% 48.2%, transparent 48.2%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 96px);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.9) 54%, transparent 95%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(180deg, transparent, rgba(243, 247, 242, 0.88));
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-media::before {
  content: "";
  position: absolute;
  right: 2%;
  top: 9%;
  width: min(57vw, 770px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 35%, rgba(255, 255, 255, 0.9), transparent 19%),
    radial-gradient(circle at 50% 50%, rgba(143, 240, 181, 0.28), rgba(255, 255, 255, 0.58) 56%, transparent 68%);
  filter: blur(2px);
  opacity: 0.92;
  animation: heroGlow 7s ease-in-out infinite alternate;
}

.hero-media__hinge {
  position: absolute;
  right: clamp(18px, 4vw, 70px);
  top: 47%;
  width: min(49vw, 690px);
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.98), rgba(235, 244, 239, 0.92) 58%, rgba(223, 247, 232, 0.66) 100%);
  transform: translateY(-50%) rotate(2deg);
  filter:
    drop-shadow(0 34px 54px rgba(0, 0, 0, 0.24))
    drop-shadow(0 0 28px rgba(255, 255, 255, 0.36))
    saturate(1.08)
    contrast(1.05);
}

.hero-media__pack {
  position: absolute;
  right: clamp(-76px, 1vw, 4px);
  bottom: clamp(-34px, 1vw, 8px);
  width: min(34vw, 470px);
  filter: drop-shadow(0 28px 48px rgba(4, 30, 18, 0.18));
}

.hero-copy {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 680px;
  padding-bottom: 54px;
}

.hero-productline {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: #8ff0b5;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  min-height: 1.86em;
  max-width: 10ch;
  margin: 0 0 16px;
  font-family: "Manrope", "Be Vietnam Pro", sans-serif;
  font-size: clamp(3.6rem, 7.4vw, 8.4rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
}

.typing-title.typing-cursor::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 0.9em;
  margin-left: 8px;
  vertical-align: -0.08em;
  background: #8ff0b5;
  animation: cursorBlink 0.9s steps(1) infinite;
}

.typing-subtitle {
  margin: 0 0 18px;
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  color: #dff7e8;
  font-weight: 800;
}

.lead {
  max-width: 60ch;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.06rem;
  line-height: 1.75;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #16c878, var(--green-dark));
  box-shadow: 0 20px 42px rgba(15, 143, 84, 0.32);
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
}

.hero-panel {
  position: absolute;
  left: clamp(34px, 5vw, 82px);
  right: clamp(34px, 5vw, 82px);
  bottom: 24px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
}

.hero-ambient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.ambient-icon,
.contact-orbit {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(143, 240, 181, 0.26);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 18px 38px rgba(4, 30, 18, 0.16);
  backdrop-filter: blur(14px);
  animation: ambientFloat 8s ease-in-out infinite;
}

.ambient-icon svg,
.contact-orbit svg,
.contact-box__icon svg {
  width: 54%;
  height: 54%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ambient-icon--a {
  width: 84px;
  height: 84px;
  right: 45%;
  top: 12%;
}

.ambient-icon--b {
  width: 118px;
  height: 118px;
  right: 8%;
  top: 14%;
  animation-delay: -1.6s;
}

.ambient-icon--c {
  width: 66px;
  height: 66px;
  right: 34%;
  bottom: 27%;
  animation-delay: -3.1s;
}

.ambient-icon--d {
  width: 96px;
  height: 96px;
  right: 19%;
  bottom: 16%;
  animation-delay: -4.4s;
}

.ambient-icon--e {
  width: 58px;
  height: 58px;
  right: 4%;
  bottom: 43%;
  animation-delay: -5.2s;
}

.hero-panel div {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-panel span,
.proof-item span,
.gallery-caption span,
.contact-box span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-panel strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: clamp(1rem, 1.5vw, 1.32rem);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0 44px;
}

.proof-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  align-items: start;
  padding: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.proof-icon,
.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--charcoal);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 244, 216, 0.92)),
    var(--gold-soft);
  border: 1px solid rgba(211, 155, 42, 0.24);
  box-shadow: 0 14px 26px rgba(211, 155, 42, 0.15);
  transition: transform 0.28s ease, color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.proof-icon svg,
.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.proof-item:hover .proof-icon,
.feature:hover .feature-icon,
.contact-box:hover .contact-box__icon {
  color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--green-dark));
  box-shadow: 0 18px 36px rgba(15, 143, 84, 0.24);
  transform: translateY(-3px) scale(1.04);
}

.proof-item strong {
  align-self: end;
  font-size: 1.04rem;
}

.proof-item > span:last-child {
  grid-column: 2;
  color: var(--muted);
  line-height: 1.55;
}

.section {
  padding: 48px 0 18px;
}

.section-head {
  display: grid;
  gap: 7px;
  max-width: 780px;
  margin-bottom: 22px;
}

.section-kicker {
  color: var(--green);
}

.section-head h2,
.sales-band h2 {
  margin: 0;
  font-family: "Manrope", "Be Vietnam Pro", sans-serif;
  font-size: clamp(1.9rem, 3.6vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(2, 0.875fr);
  grid-auto-rows: 310px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.96), rgba(232, 241, 255, 0.78) 58%, rgba(16, 24, 32, 0.08) 100%);
  border: 1px solid rgba(16, 24, 32, 0.12);
  box-shadow: var(--shadow);
}

.gallery-item--large {
  grid-row: span 2;
  background:
    radial-gradient(circle at 48% 45%, rgba(255, 255, 255, 0.98), rgba(255, 244, 216, 0.68) 54%, rgba(223, 247, 232, 0.38) 100%);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 18px;
  transition: transform 0.5s ease;
}

.gallery-item img[src$="transparent.png"] {
  object-fit: contain;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.92), rgba(223, 247, 232, 0.56) 48%, transparent 68%),
    linear-gradient(135deg, #0d1b16, #f5faf6);
}

.gallery-item--large img {
  object-fit: contain;
  padding: 30px;
}

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

.gallery-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, rgba(6, 40, 27, 0.84), rgba(6, 40, 27, 0.46));
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.gallery-caption strong {
  display: block;
  margin-top: 4px;
  font-size: 1.04rem;
}

.spec-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
  align-items: stretch;
}

.spec-stage {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(6, 40, 27, 0.92), rgba(16, 24, 32, 0.82)),
    #0f1915;
  box-shadow: var(--shadow-strong);
}

.spec-stage::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(143, 240, 181, 0.22);
  border-radius: 8px;
}

.spec-stage__pack {
  position: absolute;
  inset: auto 5% 5% auto;
  width: 72%;
  filter: drop-shadow(0 26px 42px rgba(0, 0, 0, 0.25));
}

.spec-stage__hinge {
  position: absolute;
  left: 5%;
  top: 6%;
  width: 54%;
  transform: rotate(-4deg);
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.26));
}

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

.feature,
.contact-form,
.contact-box {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feature:nth-child(2n) {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(232, 241, 255, 0.66));
}

.feature:nth-child(3n) {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 244, 216, 0.7));
}

.feature {
  padding: 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature:hover,
.contact-box:hover,
.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 143, 84, 0.24);
}

.feature h3,
.contact-box h3 {
  margin: 16px 0 8px;
  font-size: 1.08rem;
}

.feature p,
.contact-box p,
.muted {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.sales-band {
  margin: 54px 0 18px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6, 40, 27, 0.92), rgba(15, 143, 84, 0.74)),
    url("/assets/hero-poster.jpg") center 42% / cover;
  box-shadow: var(--shadow-strong);
}

.sales-band .section-kicker {
  color: #8ff0b5;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 16px;
}

.contact {
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 42px -4% auto;
  height: 72%;
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 22%, rgba(232, 241, 255, 0.6), transparent 27%),
    radial-gradient(circle at 82% 34%, rgba(255, 244, 216, 0.62), transparent 24%),
    radial-gradient(circle at 50% 80%, rgba(223, 247, 232, 0.5), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.64), rgba(230, 237, 241, 0.34));
  pointer-events: none;
}

.contact > *:not(.contact-orbits) {
  position: relative;
  z-index: 1;
}

.contact-orbits {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.contact-orbit {
  color: var(--green-dark);
  border-color: rgba(15, 143, 84, 0.18);
  background: rgba(255, 255, 255, 0.62);
  animation-name: contactFloat;
}

.contact-orbit--call {
  width: 82px;
  height: 82px;
  right: 30%;
  top: 70px;
}

.contact-orbit--mail {
  width: 94px;
  height: 94px;
  right: 5%;
  top: 172px;
  animation-delay: -2s;
}

.contact-orbit--call-small {
  width: 56px;
  height: 56px;
  left: 44%;
  bottom: 64px;
  animation-delay: -4s;
}

.contact-orbit--mail-small {
  width: 66px;
  height: 66px;
  left: 8%;
  top: 178px;
  animation-delay: -5.2s;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.contact-form label:nth-of-type(4),
.contact-form .submit-button,
.form-note {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(15, 143, 84, 0.5);
  box-shadow: 0 0 0 4px rgba(15, 143, 84, 0.12);
}

.contact-form textarea {
  resize: vertical;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.submit-button {
  width: 100%;
  border: none;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.8;
}

.submit-button__spinner {
  display: none;
  width: 18px;
  height: 18px;
  margin-left: 10px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.is-submitting .submit-button__spinner {
  display: inline-block;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.form-note[data-state="success"] {
  color: var(--green-dark);
}

.form-note[data-state="error"] {
  color: #b42318;
}

.contact-side {
  display: grid;
  gap: 14px;
}

.contact-box {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-box__icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  padding: 0;
  border-radius: 8px;
  color: var(--charcoal);
  background: linear-gradient(135deg, var(--blue-soft), var(--gold-soft));
  border: 1px solid rgba(16, 24, 32, 0.1);
  line-height: 1;
  transition: transform 0.28s ease, color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.contact-box__icon svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin: auto;
}

.contact-box > span:not(.contact-box__icon) {
  color: var(--muted);
  font-size: 0.86rem;
}

.contact-box--hotline {
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 244, 216, 0.22), transparent 32%),
    linear-gradient(135deg, #0f8f54, #08442e 62%, #101820);
}

.contact-box--hotline .contact-box__icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

.contact-box--hotline > span:not(.contact-box__icon) {
  color: rgba(255, 255, 255, 0.74);
}

.contact-box--hotline strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.28rem, 1.8vw, 1.72rem);
  line-height: 1.12;
}

.contact-box code {
  padding: 3px 7px;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-family: inherit;
  font-weight: 800;
}

.footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 42px auto 0;
  padding: 24px 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes cursorBlink {
  50% {
    opacity: 0;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes heroGlow {
  to {
    transform: translate3d(-2%, 1%, 0) scale(1.04);
    opacity: 1;
  }
}

@keyframes ambientFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(-12px, 16px, 0) rotate(4deg);
  }
}

@keyframes contactFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-3deg);
  }

  50% {
    transform: translate3d(12px, -14px, 0) rotate(5deg);
  }
}

@media (max-width: 980px) {
  .topbar-nav {
    display: none;
  }

  .hero {
    min-height: 820px;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-media__hinge {
    width: min(88vw, 560px);
    top: auto;
    right: 6%;
    bottom: 168px;
    transform: rotate(-3deg);
  }

  .ambient-icon--a,
  .ambient-icon--c {
    display: none;
  }

  .hero-media__pack {
    width: min(68vw, 410px);
    right: -8%;
    bottom: 64px;
  }

  .proof-strip,
  .spec-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-item--large {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  main,
  .topbar,
  .footer {
    width: min(100% - 20px, var(--max));
  }

  .topbar {
    padding: 12px 0;
  }

  .brand-text {
    display: none;
  }

  .topbar-cta {
    padding: 10px 13px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 780px;
    padding: 24px 18px;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 17vw, 4.45rem);
  }

  .lead {
    font-size: 0.98rem;
  }

  .hero-actions {
    display: grid;
  }

  .hero-panel {
    left: 12px;
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    padding: 12px 14px;
  }

  .hero-media__hinge {
    width: 92vw;
    right: -2%;
    bottom: 180px;
  }

  .hero-media__pack {
    width: 82vw;
    right: -22%;
    bottom: 56px;
  }

  .proof-strip,
  .feature-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .proof-item > span:last-child,
  .contact-form label:nth-of-type(4),
  .contact-form .submit-button,
  .form-note {
    grid-column: auto;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 300px;
  }

  .spec-stage {
    min-height: 520px;
  }

  .spec-stage__hinge {
    width: 72%;
  }

  .spec-stage__pack {
    width: 92%;
    right: -14%;
  }

  .sales-band {
    display: grid;
  }

  .footer {
    display: grid;
  }
}
