:root {
  --bg: #f8f6f2;
  --surface: #ffffff;
  --surface-soft: #efebe4;
  --text: #111113;
  --muted: #60616a;
  --border: #ded8cf;
  --accent: #c6533f;
  --accent-strong: #9f3429;
  --accent-contrast: #ffffff;
  --deep: #151517;
  --deep-2: #242120;
  --teal: #466c67;
  --shadow: 0 24px 80px rgba(27, 24, 20, 0.14);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #101113;
  --surface: #18191d;
  --surface-soft: #232428;
  --text: #f5f2ec;
  --muted: #bbb8af;
  --border: rgba(255, 255, 255, 0.14);
  --accent: #f08a70;
  --accent-strong: #cf5a45;
  --accent-contrast: #161111;
  --deep: #060607;
  --deep-2: #111216;
  --teal: #8cb9b0;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button {
  cursor: pointer;
}

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

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 70%, white);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.safe-x {
  padding-left: max(0px, env(safe-area-inset-left));
  padding-right: max(0px, env(safe-area-inset-right));
}

.section-pad {
  padding-block: clamp(64px, 9vw, 104px);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: #ffffff;
  transition:
    background-color 220ms ease,
    box-shadow 220ms ease,
    transform 260ms ease,
    color 220ms ease;
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  color: var(--text);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(18px);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.nav-actions,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  position: relative;
  flex: 0 0 150px;
  min-width: 150px;
  height: 72px;
}

.brand-logo {
  position: absolute;
  left: -8px;
  top: 50%;
  width: 112px;
  height: 112px;
  background: currentColor;
  transform: translateY(-50%);
  -webkit-mask: url("public/Stored%20Video%20logo.svg") center / contain no-repeat;
  mask: url("public/Stored%20Video%20logo.svg") center / contain no-repeat;
}

.nav-links {
  gap: clamp(16px, 3vw, 32px);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a,
.mobile-menu a,
.footer-grid a {
  transition:
    color 160ms ease,
    opacity 160ms ease;
}

.nav-links a:hover,
.mobile-menu a:hover,
.footer-grid a:hover {
  color: var(--accent);
}

.nav-actions {
  gap: 10px;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: inherit;
  background: rgba(255, 255, 255, 0.13);
  display: inline-grid;
  place-items: center;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.site-header.is-scrolled .icon-button {
  background: color-mix(in srgb, var(--surface-soft) 80%, transparent);
}

.icon-button:hover {
  transform: translateY(-1px);
}

.theme-toggle {
  position: relative;
}

.theme-toggle svg {
  position: absolute;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

:root[data-theme="dark"] .sun-icon,
:root:not([data-theme="dark"]) .moon-icon {
  opacity: 0;
  transform: rotate(40deg) scale(0.72);
}

.menu-toggle {
  display: none;
  gap: 4px;
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.mobile-menu {
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(15, 15, 18, 0.88);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.mobile-menu a {
  display: flex;
  justify-content: space-between;
  padding: 16px;
  color: #ffffff;
  font-weight: 700;
}

.mobile-menu a + a {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-dark {
  background: var(--deep);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.button-dark:hover {
  background: #000000;
}

.button-light {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.button-light:hover {
  background: rgba(255, 255, 255, 0.24);
}

.button-accent {
  background: var(--accent);
  color: var(--accent-contrast);
  box-shadow: 0 14px 36px color-mix(in srgb, var(--accent) 32%, transparent);
}

.button-accent:hover {
  background: var(--accent-strong);
}

.button-outline {
  border-color: var(--border);
  background: transparent;
  color: var(--text);
}

.button-outline:hover {
  border-color: var(--text);
  background: var(--text);
  color: var(--bg);
}

.button-ghost {
  min-height: 38px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.hero {
  min-height: 92svh;
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #050505;
  color: #ffffff;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% center;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent 44%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 34%, rgba(0, 0, 0, 0.72)),
    linear-gradient(90deg, transparent 0 50%, rgba(0, 0, 0, 0.78) 72%);
}

.hero-content {
  padding-block: 112px 80px;
  display: flex;
  justify-content: flex-end;
}

.hero-panel {
  width: min(690px, 100%);
  display: grid;
  gap: 24px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-chips span,
.showcase-media span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.86);
  padding: 7px 11px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.eyebrow,
.card-label,
.modal-kicker,
.footer-heading {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.66);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 100%;
  margin-bottom: 0;
  font-size: clamp(2.65rem, 5.5vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 52ch;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.proof-band {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-grid div {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 24px;
  border-left: 1px solid var(--border);
}

.proof-grid div:last-child {
  border-right: 1px solid var(--border);
}

.proof-grid strong {
  font-size: 1.35rem;
}

.proof-grid span,
.section-header > p,
.showcase-copy p,
.drone-copy p,
.contact-copy p,
.faq-answer,
.site-footer p {
  color: var(--muted);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 40px;
}

.section-header > p {
  margin-bottom: 0;
  font-size: 0.98rem;
}

.showcases {
  background: var(--bg);
}

.showcase-list {
  display: grid;
  gap: 28px;
}

.showcase-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  min-height: 390px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.showcase-card.is-reversed .showcase-media {
  order: 2;
}

.showcase-media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: var(--deep);
}

.showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.46), transparent 55%);
}

.showcase-media span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
}

.showcase-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(24px, 5vw, 42px);
}

.showcase-copy p {
  margin-bottom: 0;
}

.card-label {
  margin-bottom: -8px;
  color: var(--teal);
}

.drone-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #ffffff;
  background: var(--deep);
}

.drone-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drone-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.12)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.46), transparent);
}

.drone-copy {
  max-width: 720px;
}

.drone-copy .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.drone-copy p {
  max-width: 64ch;
  color: rgba(255, 255, 255, 0.78);
}

.pricing-section {
  background: var(--bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pricing-card {
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(22px, 4vw, 32px);
  box-shadow: var(--shadow);
}

.pricing-card.is-featured {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--border));
  box-shadow:
    var(--shadow),
    0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent);
}

.pricing-card h3 {
  margin: 4px 0 0;
  font-size: 1.35rem;
}

.pricing-amount {
  margin: 0;
  font-size: 1.05rem;
}

.pricing-amount strong {
  font-size: 1.5rem;
}

.pricing-note {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.pricing-features {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 4px 0 8px;
  list-style: none;
}

.pricing-features li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.pricing-card .button {
  justify-self: start;
  margin-top: auto;
}

.pricing-inclusions {
  margin-top: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(20px, 4vw, 28px);
}

.pricing-inclusions-title {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-inclusions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pricing-inclusions-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.pricing-inclusions-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 800;
}

.pricing-custom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(22px, 4vw, 32px);
  box-shadow: var(--shadow);
}

.pricing-custom h3 {
  margin: 4px 0 12px;
  font-size: 1.35rem;
}

.pricing-custom-copy p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  max-width: 62ch;
}

.pricing-custom-action {
  display: grid;
  gap: 14px;
  justify-items: start;
  text-align: left;
}

.pricing-custom-action .pricing-amount {
  margin: 0;
  white-space: nowrap;
}

.livestream-options {
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 82%, var(--bg));
  padding: clamp(22px, 4vw, 32px);
}

.livestream-header {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 1fr);
  gap: clamp(18px, 4vw, 36px);
  align-items: end;
  margin-bottom: 20px;
}

.livestream-header h3 {
  margin: 4px 0 0;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.08;
}

.livestream-header > p {
  margin: 0;
  color: var(--muted);
}

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

.contact-section {
  background: var(--surface-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 104px;
}

.lead-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 26px 0;
  list-style: none;
}

.lead-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
  font-weight: 700;
}

.lead-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-links a {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.inquiry-form {
  display: grid;
  gap: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(20px, 4vw, 32px);
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 7px;
}

label span,
legend {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 88%, var(--bg));
  color: var(--text);
  padding: 12px 13px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
  outline: none;
}

textarea {
  resize: vertical;
}

fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0;
}

legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.check-card {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 12px;
  background: color-mix(in srgb, var(--surface) 86%, var(--bg));
}

.check-card input {
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
}

.bot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-submit {
  justify-self: start;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.form-actions .button {
  flex: 0 1 auto;
}

.form-actions .form-submit {
  justify-self: auto;
}

#check-availability.is-checking {
  pointer-events: none;
}

#check-availability.is-available {
  border-color: #22c55e;
  background: color-mix(in srgb, #22c55e 14%, var(--surface));
  color: #16a34a;
}

#check-availability.is-unavailable {
  border-color: var(--accent-strong);
  background: color-mix(in srgb, var(--accent-strong) 12%, var(--surface));
  color: var(--accent-strong);
}

.availability-spinner {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: availability-spin 0.7s linear infinite;
}

.availability-label {
  line-height: 1.2;
}

@keyframes availability-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.form-status {
  min-height: 1.4em;
  margin: -6px 0 0;
  font-size: 0.92rem;
  font-weight: 750;
}

.form-status.is-success {
  color: var(--teal);
}

.form-status.is-error {
  color: var(--accent-strong);
}

.faq-section {
  background: var(--bg);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 760px;
}

.faq-header-copy {
  display: grid;
  gap: 18px;
}

.faq-header-copy p {
  margin-bottom: 0;
}

.faq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.faq-toggle {
  width: 100%;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 18px;
  text-align: left;
  font-weight: 850;
}

.faq-toggle:hover {
  background: color-mix(in srgb, var(--surface-soft) 54%, transparent);
}

.faq-toggle strong {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 1.2rem;
}

.faq-answer {
  padding: 0 18px 18px;
  font-size: 0.95rem;
}

.faq-answer p {
  margin: 0;
}

.site-footer {
  background: var(--deep);
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(2, minmax(160px, 0.4fr));
  gap: 32px;
  padding-block: 48px;
}

.footer-grid p {
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid .eyebrow,
.footer-heading {
  color: rgba(255, 255, 255, 0.62);
}

.footer-grid a {
  display: block;
  width: fit-content;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 20px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(940px, 100%);
  max-height: min(86vh, 780px);
  display: grid;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #101113;
  color: #ffffff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 18px;
}

.modal-header h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
}

.modal-kicker {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.56);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.modal-panel.gallery-panel {
  width: min(1040px, 100%);
  height: min(86vh, 780px);
  max-height: min(86vh, 780px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.gallery-panel .modal-header {
  flex-shrink: 0;
}

.gallery-layout {
  --gallery-body-height: calc(min(86vh, 780px) - 72px);
  display: grid;
  grid-template-columns: minmax(220px, 0.76fr) minmax(280px, 1fr);
  align-items: start;
  gap: 22px;
  flex: 1;
  min-height: 0;
  padding: 22px;
  overflow: hidden;
}

.gallery-copy {
  align-self: start;
  max-height: var(--gallery-body-height);
  overflow-y: auto;
  overscroll-behavior: contain;
  color: rgba(255, 255, 255, 0.74);
}

.gallery-copy strong {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 1.12rem;
}

.gallery-note {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  margin-top: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: var(--gallery-body-height);
  overflow-y: auto;
  overscroll-behavior: contain;
  align-content: start;
}

.gallery-images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 900px) {
  .quote-button,
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .hero-content {
    justify-content: flex-start;
    align-items: end;
    min-height: 92svh;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.76)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.24), transparent);
  }

  h1 {
    max-width: 12ch;
  }

  .proof-grid,
  .section-header,
  .showcase-card,
  .contact-grid,
  .pricing-grid,
  .pricing-custom,
  .livestream-header,
  .livestream-grid,
  .faq-grid,
  .footer-grid,
  .gallery-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    --gallery-body-height: calc(min(86vh, 780px) - 72px);
  }

  .gallery-copy {
    max-height: min(34vh, 220px);
  }

  .gallery-images {
    min-height: 0;
    max-height: none;
    height: 100%;
  }

  .showcase-card.is-reversed .showcase-media {
    order: 0;
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 24px, 1180px);
  }

  .nav {
    min-height: 66px;
  }

  .brand {
    flex-basis: 104px;
    min-width: 104px;
    height: 66px;
  }

  .brand-logo {
    left: -6px;
    width: 96px;
    height: 96px;
  }

  .hero-content {
    padding-block: 88px 64px;
  }

  .hero-panel {
    gap: 18px;
  }

  .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .nav-actions .button {
    width: auto;
  }

  .button-row {
    width: 100%;
  }

  .proof-grid div {
    min-height: 98px;
    border-right: 1px solid var(--border);
  }

  .form-row,
  fieldset,
  .gallery-images {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form-actions .button {
    width: 100%;
  }

  .showcase-media {
    min-height: 260px;
  }

  .modal {
    padding: 12px;
  }

  .modal-header {
    align-items: flex-start;
  }

  .modal-header .button {
    width: auto;
    flex: 0 0 auto;
  }

}

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