/**
 * Tile Match Relax — tropical key-art style (sky blue, orange title, red ribbon, white 3D tiles)
 * Palette aligned with brand graphic: #4FB7F4 #FF7F27 #EF4123 #66CC33 #FFD700 #FFFFFF
 */

:root {
  --sky: #4fb7f4;
  --sky-light: #7fd4ff;
  --sky-deep: #2a9fe0;
  --orange: #ff7f27;
  --orange-dark: #e86812;
  --ribbon: #ef4123;
  --ribbon-dark: #c9341c;
  --leaf: #66cc33;
  --leaf-dark: #4caf2a;
  --sun: #ffd700;
  --white: #ffffff;
  --ink: #1a2d3d;
  --ink-muted: #3d5a6e;
  --mountain-far: #9bb5d9;
  --mountain-mid: #6b8cc4;
  --font-display: "Varela Round", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;
  --radius-lg: 1.35rem;
  --radius-xl: 1.85rem;
  --radius-tile: 1.65rem;
  --shadow-tile:
    0 4px 0 rgba(0, 0, 0, 0.06),
    0 12px 28px rgba(25, 80, 120, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  --shadow-tile-hover:
    0 6px 0 rgba(0, 0, 0, 0.05),
    0 20px 40px rgba(25, 80, 120, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  --shadow-ribbon: 0 6px 0 #9c2412, 0 14px 28px rgba(180, 40, 20, 0.35);
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body.theme-tropical {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: linear-gradient(180deg, var(--sky-light) 0%, var(--sky) 42%, #5fc0f5 100%);
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* --- Shared “3D tile plate” surface --- */
.tile-plate {
  background: var(--white);
  border-radius: var(--radius-tile);
  box-shadow: var(--shadow-tile);
  border: 2px solid rgba(255, 255, 255, 0.85);
  transition: box-shadow var(--transition), transform var(--transition);
}

.tile-plate:hover {
  box-shadow: var(--shadow-tile-hover);
}

.tile-plate--sm {
  border-radius: 999px;
}

/* --- Sky scene --- */
.sky-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.sky-layer__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 70% at 50% -10%, rgba(255, 255, 255, 0.55) 0%, transparent 55%),
    linear-gradient(180deg, rgba(127, 212, 255, 0.9) 0%, var(--sky) 45%, transparent 100%);
}

.mountain {
  position: absolute;
  bottom: 18%;
  width: 55%;
  height: 28%;
  border-radius: 40% 50% 0 0 / 100% 100% 0 0;
  opacity: 0.55;
}

.mountain--far {
  left: -8%;
  background: linear-gradient(180deg, var(--mountain-far), #7a93b8);
  transform: scaleX(-1);
}

.mountain--mid {
  right: -12%;
  width: 48%;
  height: 22%;
  bottom: 16%;
  background: linear-gradient(180deg, var(--mountain-mid), #4a6fa5);
  opacity: 0.65;
}

.cloud {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 20px rgba(60, 140, 200, 0.2);
  animation: drift 42s ease-in-out infinite;
}

.cloud--a {
  width: 200px;
  height: 64px;
  top: 14%;
  left: 6%;
  animation-duration: 50s;
}

.cloud--b {
  width: 280px;
  height: 78px;
  top: 20%;
  right: 4%;
  animation-duration: 58s;
  animation-delay: -14s;
}

.cloud--c {
  width: 120px;
  height: 48px;
  top: 32%;
  left: 44%;
  animation-duration: 44s;
  animation-delay: -22s;
  opacity: 0.88;
}

@keyframes drift {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(18px);
  }
}

/* Simple palm frond hint (organic, not emoji) */
.palm {
  position: absolute;
  bottom: 12%;
  width: 80px;
  height: 120px;
  background: radial-gradient(ellipse at 30% 100%, var(--leaf) 0%, var(--leaf-dark) 55%, transparent 56%);
  border-radius: 60% 70% 0 0;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.12));
  transform: rotate(-8deg);
}

.palm--left {
  left: 2%;
}

.hills-layer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 22vh;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    to top,
    var(--leaf-dark) 0%,
    var(--leaf) 35%,
    rgba(102, 204, 51, 0.25) 70%,
    transparent 100%
  );
  opacity: 0.85;
}

/* --- Icons --- */
.icon {
  display: inline-block;
  vertical-align: middle;
}

.icon--sm {
  width: 16px;
  height: 16px;
}

.icon--md {
  width: 22px;
  height: 22px;
}

.icon--lg {
  width: 24px;
  height: 24px;
}

.theme-tropical .site-nav .icon,
.theme-tropical .nav-toggle .icon {
  color: var(--ink);
}

/* --- Navigation --- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 24px rgba(40, 120, 180, 0.12);
  transition: box-shadow var(--transition);
}

.site-nav.is-scrolled {
  box-shadow: 0 10px 32px rgba(40, 120, 180, 0.2);
}

.site-nav__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.site-nav__ribbon-edge {
  height: 6px;
  background: linear-gradient(90deg, transparent, rgba(239, 65, 35, 0.35), transparent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  transition: opacity var(--transition);
}

.brand:hover {
  opacity: 0.92;
}

.brand:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
  border-radius: 12px;
}

.brand__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: var(--shadow-tile);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--orange);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.brand__tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(26, 45, 61, 0.12);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-tile);
  transition: border-color var(--transition), transform var(--transition);
}

.nav-toggle:hover {
  border-color: var(--orange);
}

.nav-toggle:focus-visible {
  outline: 3px solid var(--leaf);
  outline-offset: 2px;
}

.nav-primary {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-primary a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
  transition: color var(--transition);
}

.nav-primary a:hover {
  color: var(--orange);
}

.nav-primary a:focus-visible {
  outline: 3px solid var(--sky-deep);
  outline-offset: 4px;
  border-radius: 6px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--white) !important;
  background: linear-gradient(180deg, var(--ribbon) 0%, var(--ribbon-dark) 100%);
  box-shadow: var(--shadow-ribbon);
  border: none;
  cursor: pointer;
  transition: filter var(--transition), transform var(--transition);
}

.nav-cta:hover {
  filter: brightness(1.05);
}

.nav-cta .icon {
  color: var(--white);
}

/* --- Main --- */
main {
  position: relative;
  z-index: 1;
}

/* --- Hero --- */
.hero {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.25rem 1.25rem 3.5rem;
  overflow: hidden;
}

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

.tile-chip {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--white);
  opacity: 0.55;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-tile);
}

.tile-chip--1 {
  top: 16%;
  right: 10%;
  animation: chip-bob-a 7s ease-in-out infinite;
}

.tile-chip--2 {
  bottom: 26%;
  left: 5%;
  background: linear-gradient(145deg, #fff, #e8f7ff);
  animation: chip-bob-b 9s ease-in-out infinite 1s;
}

.tile-chip--3 {
  top: 44%;
  left: 14%;
  width: 38px;
  height: 38px;
  animation: chip-bob-c 8s ease-in-out infinite 0.5s;
}

@keyframes chip-bob-a {
  0%,
  100% {
    transform: rotate(-10deg) translateY(0);
  }
  50% {
    transform: rotate(-10deg) translateY(-10px);
  }
}

@keyframes chip-bob-b {
  0%,
  100% {
    transform: rotate(8deg) translateY(0);
  }
  50% {
    transform: rotate(8deg) translateY(-12px);
  }
}

@keyframes chip-bob-c {
  0%,
  100% {
    transform: rotate(16deg) translateY(0);
  }
  50% {
    transform: rotate(16deg) translateY(-8px);
  }
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero__logo-board {
  padding: 0.75rem 1rem 1rem;
  margin-bottom: 1.25rem;
  max-width: 440px;
}

.hero__keyart {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 0.75rem;
}

.hero__eyebrow .icon {
  color: var(--sun);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  color: var(--orange);
  text-shadow:
    0 1px 0 #ffb876,
    0 2px 0 #ff9f4d,
    0 4px 0 var(--orange-dark),
    0 8px 18px rgba(0, 0, 0, 0.12);
}

.hero__accent {
  color: var(--orange);
}

.hero__lead {
  margin: 0 0 1.5rem;
  font-size: 1.02rem;
  color: var(--ink);
  max-width: 36rem;
  font-weight: 500;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero__note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
  max-width: 34rem;
  font-weight: 600;
}

/* Buttons */
button,
.nav-toggle,
.nav-cta,
[data-download-trigger],
.modal__close,
.modal__backdrop {
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 400;
  border: none;
  cursor: pointer;
  transition: filter var(--transition), transform var(--transition), box-shadow var(--transition);
}

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

.btn:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

.btn--ribbon {
  background: linear-gradient(180deg, var(--ribbon) 0%, var(--ribbon-dark) 100%);
  color: var(--white);
  box-shadow: var(--shadow-ribbon);
}

.btn--ribbon:hover {
  filter: brightness(1.06);
}

.btn--ribbon .icon {
  color: var(--white);
}

.btn--orange-outline {
  background: var(--white);
  color: var(--orange-dark);
  border: 3px solid var(--orange);
  box-shadow: var(--shadow-tile);
}

.btn--orange-outline:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--orange-dark);
}

.btn--wide {
  min-width: 176px;
}

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

.device-frame {
  position: relative;
  width: min(270px, 76vw);
  padding: 11px;
  transform: rotate(2deg);
  transition: transform var(--transition);
}

.device-frame:hover {
  transform: rotate(1deg) translateY(-4px);
}

.device-frame__ear {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 20px;
  background: #0f172a;
  border-radius: 10px;
  z-index: 2;
}

.device-frame__screen {
  border-radius: 22px;
  overflow: hidden;
  border: 3px solid #1e293b;
  background: #0f172a;
}

.hero__badge {
  position: absolute;
  bottom: 10%;
  right: 2%;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink);
  box-shadow: var(--shadow-tile);
}

.hero__badge .icon {
  color: var(--leaf-dark);
}

/* Wave */
.wave-separator {
  color: rgba(255, 255, 255, 0.92);
  line-height: 0;
  margin-top: -1px;
}

.wave-separator svg {
  display: block;
  width: 100%;
  height: clamp(44px, 7vw, 72px);
}

.wave-separator--flip {
  transform: scaleY(-1);
  margin-bottom: -1px;
}

/* Sections */
.section {
  padding: 3rem 1.25rem 3.5rem;
  position: relative;
}

.section--tiles {
  background: linear-gradient(180deg, #e8f7ff 0%, #d4f0ff 50%, #c8ebff 100%);
}

.section--sky {
  background: linear-gradient(180deg, #bfe9ff 0%, var(--sky-light) 55%, var(--sky) 100%);
}

.section__head {
  max-width: 640px;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
  margin: 0 0 0.65rem;
  color: var(--orange);
  text-shadow: 0 1px 0 #ffd4b0, 0 3px 0 rgba(232, 104, 18, 0.35);
}

.section__head p {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 600;
}

.inline-code {
  font-family: ui-monospace, monospace;
  font-size: 0.88em;
  background: rgba(79, 183, 244, 0.2);
  padding: 0.12em 0.4em;
  border-radius: 8px;
  color: var(--ink);
}

.feature-rack {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1040px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem 1.4rem;
}

.feature-card {
  padding: 1.45rem 1.3rem 1.5rem;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card--offset {
  transform: translateY(14px);
}

.feature-card--offset:hover {
  transform: translateY(10px);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 215, 0, 0.35), rgba(255, 127, 39, 0.15));
  color: var(--orange-dark);
  margin-bottom: 0.9rem;
  border: 2px solid rgba(255, 127, 39, 0.25);
}

.feature-card__icon .icon {
  color: var(--ribbon);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  margin: 0 0 0.45rem;
  color: var(--ink);
}

.feature-card p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--ink-muted);
  font-weight: 600;
}

/* Screenshots: preserve full frame (no 16:10 crop) — portrait phone assets use contain + max-height */
.gallery__strip {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.gallery__shot {
  margin: 0;
  padding: 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  overflow: visible;
  cursor: default;
}

.gallery__shot:hover {
  transform: translateY(-3px);
}

.gallery__shot-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.5rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92) 0%, rgba(223, 243, 255, 0.95) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(79, 183, 244, 0.2);
  min-height: 12rem;
}

.gallery__shot img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(72vh, 720px);
  object-fit: contain;
  object-position: center;
  border-radius: calc(var(--radius-lg) - 6px);
  box-shadow: 0 12px 32px rgba(25, 80, 120, 0.14);
}

.gallery__shot figcaption {
  padding: 0.35rem 0.35rem 0.15rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-muted);
  text-align: center;
}

.download {
  padding-bottom: 4.5rem;
}

.download__panel {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.35rem;
}

.download__ribbon {
  border: 3px solid rgba(239, 65, 35, 0.35);
  box-shadow:
    var(--shadow-tile),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.download__copy {
  flex: 1 1 260px;
}

.download__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  margin: 0 0 0.45rem;
  color: var(--orange);
}

.download__copy p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1rem;
  font-weight: 600;
}

.download__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 2.25rem 1.25rem 1.75rem;
  background: linear-gradient(180deg, #2d8bc9 0%, var(--sky-deep) 100%);
  color: var(--white);
  border-top: 3px solid rgba(255, 255, 255, 0.25);
}

.site-footer__inner {
  max-width: 1040px;
  margin: 0 auto 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.35rem;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
  color: var(--white);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
}

.site-footer__blurb {
  margin: 0;
  max-width: 380px;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: flex-start;
}

.site-footer__links a {
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color var(--transition);
}

.site-footer__links a:hover {
  color: var(--sun);
}

.site-footer__links a:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 4px;
  border-radius: 4px;
}

.site-footer__meta {
  text-align: center;
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

/* Modal */
body.modal-open {
  overflow: hidden;
}

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

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 45, 61, 0.45);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.modal__card {
  position: relative;
  max-width: 400px;
  width: 100%;
  padding: 2rem 1.65rem 1.5rem;
  color: var(--ink);
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: rgba(79, 183, 244, 0.2);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.modal__close:hover {
  background: rgba(79, 183, 244, 0.35);
}

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

.modal__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 215, 0, 0.45), rgba(255, 255, 255, 0.9));
  margin-bottom: 0.85rem;
  border: 2px solid rgba(255, 215, 0, 0.6);
}

.modal__icon .icon {
  color: #c9a000;
}

.modal__card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.45rem;
  color: var(--orange);
}

.modal__card p {
  margin: 0 0 1.15rem;
  color: var(--ink-muted);
  font-size: 0.98rem;
  font-weight: 600;
}

.modal__ok {
  width: 100%;
}

/* Responsive */
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__logo-board {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__lead,
  .hero__note {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .device-frame {
    transform: rotate(0deg);
    width: min(250px, 72vw);
  }

  .device-frame:hover {
    transform: translateY(-4px);
  }

  .hero__badge {
    right: 8%;
  }

  .feature-rack {
    grid-template-columns: 1fr;
  }

  .feature-card--offset {
    transform: none;
  }

  .feature-card--offset:hover {
    transform: translateY(-4px);
  }

  .gallery__strip {
    grid-template-columns: 1fr;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
  }

  .gallery__shot img {
    max-height: min(78vh, 680px);
  }

  .download__panel {
    flex-direction: column;
    text-align: center;
  }

  .download__actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-drawer {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0 1.25rem 0.75rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 2px solid rgba(79, 183, 244, 0.25);
    box-shadow: 0 16px 32px rgba(40, 120, 180, 0.15);
  }

  .nav-drawer.is-open {
    max-height: 340px;
  }

  .nav-primary {
    flex-direction: column;
    align-items: stretch;
    padding: 0.85rem 0 0.35rem;
    gap: 0.55rem;
  }

  .nav-primary a {
    padding: 0.45rem 0;
  }

  .nav-cta {
    justify-content: center;
  }
}
