:root {
  --ink: #171717;
  --muted: #62615c;
  --line: #ded8cb;
  --paper: #fffaf0;
  --soft: #f3efe6;
  --teal: #0d6c70;
  --teal-dark: #07484b;
  --coral: #d85c3a;
  --gold: #c2902f;
  --violet: #7654a6;
  --white: #ffffff;
  --shadow: 0 16px 44px rgba(23, 23, 23, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img,
svg {
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: 100%;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 240, 0.93);
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  top: 7px;
  width: 13px;
  height: 9px;
  border: 2px solid var(--coral);
  border-bottom: 0;
}

.brand-mark::before {
  right: 10px;
  border-radius: 12px 12px 0 12px;
  transform: rotate(-25deg);
}

.brand-mark::after {
  left: 10px;
  border-radius: 12px 12px 12px 0;
  transform: rotate(25deg);
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.header-cta {
  padding: 0 16px;
  color: var(--white);
  background: var(--ink);
}

.header-cta svg,
.primary-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

.hero {
  min-height: min(680px, 72svh);
  display: grid;
  align-items: center;
  padding: clamp(52px, 8vw, 96px) clamp(20px, 6vw, 88px);
  background-color: #f7f5ef;
  background-image: url("assets/images/butterfly-flight.jpg");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 250, 240, 0.48);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(3.4rem, 8vw, 7.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.2vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: #34322f;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.primary-button {
  padding: 0 20px;
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 12px 28px rgba(13, 108, 112, 0.22);
}

.primary-button:hover,
.primary-button:focus-visible {
  background: var(--teal-dark);
}

.secondary-button {
  padding: 0 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(23, 23, 23, 0.18);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 570px;
  margin: 40px 0 0;
}

.hero-stats div {
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 23, 23, 0.1);
  border-radius: var(--radius);
}

.hero-stats dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-stats dd {
  margin: 4px 0 0;
  font-size: 1.35rem;
  font-weight: 900;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--ink);
  color: var(--white);
}

.trust-strip span {
  display: grid;
  place-items: center;
  min-height: 70px;
  padding: 14px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 800;
  background: var(--ink);
}

.section {
  padding: clamp(72px, 9vw, 128px) clamp(20px, 6vw, 88px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: 42px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.feature-card,
.scene-item,
.operator-panel,
.quote-form,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.feature-card {
  min-height: 230px;
  padding: 24px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  color: var(--teal);
  background: #e9f3f0;
  border-radius: var(--radius);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

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

.media-band,
.specs-section,
.faq-section {
  background: var(--soft);
}

.scene-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 16px;
}

.scene-item {
  overflow: hidden;
}

.scene-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.scene-item div {
  padding: 22px;
}

.scene-item p {
  margin: 10px 0 0;
  color: var(--muted);
}

.gallery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 22px;
  align-items: start;
}

.gallery-preview {
  margin: 0;
  min-height: 520px;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  padding: clamp(22px, 4vw, 50px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.gallery-preview img {
  width: min(780px, 100%);
  max-height: 540px;
  object-fit: contain;
}

.gallery-preview figcaption {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.thumb {
  min-height: 132px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.thumb:hover,
.thumb:focus-visible,
.thumb.is-active {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 108, 112, 0.14);
}

.thumb img {
  width: 100%;
  height: 116px;
  object-fit: contain;
}

.spec-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 20px;
  align-items: start;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.spec-table tr + tr {
  border-top: 1px solid var(--line);
}

.spec-table th,
.spec-table td {
  padding: 18px 20px;
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 32%;
  color: var(--teal-dark);
  font-size: 0.92rem;
  text-transform: uppercase;
}

.spec-table td {
  color: #35332f;
}

.operator-panel {
  padding: 24px;
  border-color: #d9cbb2;
  background: #fff4d8;
}

.operator-panel ul,
.kit-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.operator-panel li,
.kit-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  margin-top: 12px;
  color: #35332f;
}

.operator-panel li::before,
.kit-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 8px;
  background: var(--coral);
  border-radius: 50%;
}

.kit-section,
.order-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
}

.kit-image,
.order-media {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
}

.kit-image img,
.order-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.kit-content p {
  color: var(--muted);
}

.kit-list {
  columns: 2;
  column-gap: 26px;
}

.kit-list li {
  break-inside: avoid;
}

.order-section {
  background: #f9f1df;
}

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

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

.video-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(23, 23, 23, 0.08);
}

.video-shell {
  position: relative;
  background: #0f1414;
}

.video-shell::before {
  content: "";
  display: block;
  aspect-ratio: 16 / 9;
}

.video-shell video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-copy {
  padding: clamp(20px, 3vw, 28px);
}

.video-copy span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-copy p {
  margin: 10px 0 0;
  color: var(--muted);
}

.video-note {
  display: none;
  padding: 12px;
  color: #6b4d0d;
  background: #fff4d8;
  border: 1px solid #e1c67d;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 800;
}

.video-card.is-missing .video-note {
  display: block;
}

.order-card {
  padding: clamp(22px, 4vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.order-copy {
  color: var(--muted);
  font-size: 1.03rem;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 22px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.price {
  color: var(--teal-dark);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 950;
  line-height: 1;
}

.price-line span:last-child {
  color: var(--muted);
  font-weight: 800;
}

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

.checkout-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.checkout-form .full {
  grid-column: 1 / -1;
  width: 100%;
  border: 0;
}

.paypal-container {
  min-height: 48px;
}

.paypal-container.is-disabled {
  min-height: 54px;
  background: #f2eadb;
  border: 1px dashed #d2c3a5;
  border-radius: var(--radius);
}

.checkout-form input,
.checkout-form select {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fbf8f0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
}

.checkout-form input:focus,
.checkout-form select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 108, 112, 0.13);
}

.checkout-note {
  grid-column: 1 / -1;
}

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.payment-badges span {
  padding: 7px 10px;
  color: var(--teal-dark);
  background: #e9f3f0;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 900;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  background: #102f31;
  color: var(--white);
}

.quote-section .section-kicker {
  color: #9fd6d3;
}

.quote-copy p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.quote-points {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.quote-points span {
  padding: 12px 14px;
  color: #e9ffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(20px, 3vw, 30px);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.quote-form .full {
  grid-column: 1 / -1;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fbf8f0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 108, 112, 0.13);
}

.quote-form button {
  width: 100%;
  border: 0;
}

.form-note {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: -4px 0 0;
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.faq-section h2 {
  max-width: 900px;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
  background: transparent;
  border: 0;
}

.faq-list details {
  padding: 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 14px 0 0;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 36px clamp(20px, 6vw, 88px);
  color: var(--white);
  background: var(--ink);
}

.footer-brand {
  color: var(--white);
}

.site-footer p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.footer-links {
  display: flex;
  gap: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.policy-page {
  background: var(--paper);
}

.policy-hero {
  max-width: 1120px;
  margin: 0 auto;
}

.policy-hero h1 {
  max-width: 900px;
  font-size: clamp(2.6rem, 6vw, 5.5rem);
}

.policy-hero p {
  max-width: 780px;
  margin: 24px 0 0;
  color: #34322f;
  font-size: 1.12rem;
}

.policy-content {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.policy-content article {
  padding: 28px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.policy-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.policy-content p {
  color: #46433e;
}

@media (max-width: 980px) {
  .site-header {
    display: flex;
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }

  .header-cta {
    justify-self: end;
  }

  .hero {
    min-height: 74svh;
    background-position: center center;
  }

  .section-head,
  .gallery-layout,
  .spec-wrap,
  .kit-section,
  .order-section,
  .quote-section,
  .policy-content {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .trust-strip,
  .scene-grid,
  .video-grid,
  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scene-grid {
    gap: 14px;
  }

  .gallery-preview {
    min-height: 430px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
    width: 100vw;
    padding: 12px 14px;
    gap: 12px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .header-cta {
    width: 44px;
    min-height: 40px;
    padding: 0;
    font-size: 0;
  }

  .header-cta svg {
    display: block;
    width: 18px;
    height: 18px;
  }

  .hero {
    padding: 54px 18px 44px;
    background-position: 58% center;
  }

  .hero::before {
    background: rgba(255, 250, 240, 0.66);
  }

  h1 {
    font-size: clamp(2.75rem, 12vw, 3.75rem);
  }

  .hero-content,
  .hero-copy {
    max-width: calc(100vw - 36px);
  }

  .hero-copy {
    font-size: 1.03rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-actions .primary-button,
  .hero-actions .secondary-button {
    width: 100%;
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
    white-space: normal;
    text-align: center;
  }

  .hero-stats,
  .feature-grid,
  .trust-strip,
  .scene-grid,
  .video-grid,
  .thumb-grid,
  .faq-list,
  .checkout-form,
  .quote-form {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 64px 18px;
  }

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

  .gallery-preview {
    min-height: 360px;
    padding: 18px;
  }

  .thumb {
    min-height: 116px;
  }

  .thumb img {
    height: 100px;
  }

  .spec-table,
  .spec-table tbody,
  .spec-table tr,
  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
  }

  .spec-table th {
    padding-bottom: 4px;
  }

  .spec-table td {
    padding-top: 4px;
  }

  .kit-list {
    columns: 1;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: clamp(2.55rem, 11.5vw, 3.1rem);
  }

  .hero-actions .primary-button,
  .hero-actions .secondary-button {
    min-height: 46px;
  }
}

.status-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #102f31;
}

.status-card {
  width: min(720px, 100%);
  padding: clamp(24px, 6vw, 56px);
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.status-card h1 {
  margin-top: 24px;
  font-size: clamp(2.8rem, 8vw, 5.6rem);
}

.status-card p:not(.section-kicker) {
  color: var(--muted);
  font-size: 1.1rem;
}
