/*
Theme Name: DockFitter 2026
Theme URI: https://www.dockfitter.com
Author: DockFitter LLC
Description: Custom theme for DockFitter LLC - waterfront construction, Sunstream boat lifts (Sunstream Boat Lift Dealer for South Mississippi), piling protection and maintenance on the Mississippi and Alabama Gulf Coast. Activating it creates every page, the menu and the homepage automatically.
Version: 3.8.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: dockfitter
*/

/* ============ Tokens ============ */
:root {
  --navy-950: #031320;
  --navy-900: #051c2e;
  --navy-800: #0a2a44;
  --navy-700: #0f3a5c;
  --teal: #0c7a91;
  --teal-bright: #38bdd6;
  --aqua-50: #e8f6f9;
  --ink: #0b1b28;
  --slate: #52616d;
  --mute-on-dark: #a9bccb;
  --line: #dfe7eb;
  --bg-soft: #f4f7f9;
  --white: #ffffff;
  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1280px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 112px;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; }
h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--navy-900);
  line-height: 1.02;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 8.2vw, 7.4rem); font-stretch: 112%; letter-spacing: -0.04em; }
h2 { font-size: clamp(2.2rem, 4.8vw, 4.2rem); font-stretch: 108%; letter-spacing: -0.035em; }
h3 { font-size: clamp(1.3rem, 1.9vw, 1.6rem); line-height: 1.15; letter-spacing: -0.02em; }
h4 { font-size: 1.1rem; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--white); padding: 10px 14px; z-index: 2000; }
.skip-link:focus { left: 10px; top: 10px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

.label { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; color: var(--teal); margin-bottom: 18px; }
.label::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.on-dark .label, .label--light { color: var(--teal-bright); }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--slate); max-width: 60ch; line-height: 1.6; }
.on-dark { color: rgba(255,255,255,.82); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }
.on-dark .lede { color: rgba(255,255,255,.78); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  font-family: var(--font); font-weight: 700; font-size: 1rem; line-height: 1.1; white-space: nowrap;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .25s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn--accent { background: var(--teal-bright); color: var(--navy-900); box-shadow: 0 10px 30px rgba(56,189,214,.28); }
.btn--accent:hover { background: #5fd0e4; color: var(--navy-900); }
.btn--dark { background: var(--navy-900); color: var(--white); }
.btn--dark:hover { background: var(--navy-700); color: var(--white); }
.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: var(--navy-800); color: var(--white); }
.btn--glass { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.4); backdrop-filter: blur(10px); }
.btn--glass:hover { background: var(--white); color: var(--navy-900); }
.btn--ghost, .btn--outline { border-color: rgba(5,28,46,.25); color: var(--navy-900); background: transparent; }
.btn--ghost:hover, .btn--outline:hover { border-color: var(--navy-900); background: var(--navy-900); color: var(--white); }
.btn--light { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.4); }
.btn--light:hover { background: var(--white); color: var(--navy-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ============ Header ============ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  color: var(--white);
  transition: background-color .35s ease, box-shadow .35s ease, color .35s ease;
  view-transition-name: site-header;
}
.admin-bar .site-header { top: 32px; }
.topbar { font-size: .88rem; border-bottom: 1px solid rgba(255,255,255,.14); max-height: 44px; overflow: hidden; transition: max-height .35s ease, opacity .25s ease; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--teal-bright); }
.topbar strong { color: var(--teal-bright); font-weight: 700; }
.topbar__right { display: flex; gap: 22px; opacity: .85; }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 104px; transition: min-height .35s var(--ease); }
.brand { display: block; position: relative; flex: 0 0 auto; }
.brand img { height: 78px; width: auto; transition: height .35s var(--ease), opacity .3s ease; }
.brand .brand__dark { position: absolute; inset: 0; opacity: 0; }
.nav { display: flex; align-items: center; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.nav li { position: relative; }
.nav a { display: block; padding: 10px 14px; color: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; border-radius: 999px; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.nav a:hover { background: rgba(255,255,255,.12); color: inherit; }
.nav .nav-sunstream > a { color: var(--teal-bright); }
.nav .current-menu-item > a, .nav .current-page-ancestor > a { background: rgba(255,255,255,.12); }
.nav .sub-menu {
  position: absolute; top: calc(100% + 10px); left: -8px; min-width: 300px; padding: 10px;
  background: var(--white); border-radius: var(--r-md); box-shadow: 0 24px 60px rgba(3,19,32,.22);
  display: flex; flex-direction: column; align-items: stretch; gap: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .25s var(--ease), visibility .2s;
}
.nav .sub-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav li:hover > .sub-menu, .nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav .sub-menu a { color: var(--navy-900); font-weight: 500; padding: 10px 14px; border-radius: var(--r-sm); }
.nav .sub-menu a:hover { background: var(--bg-soft); color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { color: inherit; font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--teal-bright); }
.menu-toggle { display: none; width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; color: inherit; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 14px; right: 14px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span:first-child { top: 19px; }
.menu-toggle span:last-child { top: 27px; }
.nav-open .menu-toggle span:first-child { top: 23px; transform: rotate(45deg); }
.nav-open .menu-toggle span:last-child { top: 23px; transform: rotate(-45deg); }

/* Scrolled state: solid white bar, color logo, smaller */
.site-header.is-scrolled { background: rgba(255,255,255,.96); color: var(--navy-900); box-shadow: 0 10px 40px rgba(3,19,32,.08); backdrop-filter: saturate(1.4) blur(14px); }
.site-header.is-scrolled .topbar { max-height: 0; opacity: 0; border-color: transparent; }
.site-header.is-scrolled .nav-row { min-height: 80px; }
.site-header.is-scrolled .brand img { height: 58px; }
.site-header.is-scrolled .brand__light { opacity: 0; }
.site-header.is-scrolled .brand__dark { opacity: 1; }
.site-header.is-scrolled .nav a:hover, .site-header.is-scrolled .nav .current-menu-item > a { background: var(--bg-soft); }
.site-header.is-scrolled .nav .nav-sunstream > a { color: var(--teal); }
.site-header.is-scrolled .header-phone:hover { color: var(--teal); }

/* ============ Hero (home) ============ */
.hero { position: relative; min-height: 100svh; min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; background: var(--navy-950); color: var(--white); overflow: hidden; isolation: isolate; }
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: heroFade 21s infinite, heroZoom 21s infinite; }
.hero__slides img:nth-child(1) { animation-delay: 0s; }
.hero__slides img:nth-child(2) { animation-delay: 7s; }
.hero__slides img:nth-child(3) { animation-delay: 14s; }
@keyframes heroFade { 0% { opacity: 0; } 5% { opacity: 1; } 33% { opacity: 1; } 40% { opacity: 0; } 100% { opacity: 0; } }
@keyframes heroZoom { 0% { transform: scale(1.12); } 40% { transform: scale(1.0); } 100% { transform: scale(1.0); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(3,19,32,.72) 0%, rgba(3,19,32,.18) 28%, rgba(3,19,32,.2) 55%, rgba(3,19,32,.92) 100%),
  linear-gradient(90deg, rgba(3,19,32,.65) 0%, rgba(3,19,32,0) 65%); }
.hero__content { padding-top: calc(var(--header-h) + 60px); padding-bottom: 44px; }
.hero h1 { color: var(--white); margin-bottom: 26px; max-width: 10ch; }
.hero .lede { color: rgba(255,255,255,.88); max-width: 46ch; margin-bottom: 34px; }
.hero__bottom { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: stretch; margin-top: clamp(40px, 7vh, 80px); }
.glass { background: rgba(8,30,48,.55); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border-radius: var(--r-lg); }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 22px 8px; }
.hero-stats div { padding: 4px 22px; border-left: 1px solid rgba(255,255,255,.14); }
.hero-stats div:first-child { border-left: 0; }
.hero-stats strong { display: block; font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 800; font-stretch: 108%; letter-spacing: -0.03em; color: var(--white); line-height: 1.1; }
.hero-stats span { font-size: .9rem; color: var(--mute-on-dark); }
.dealer { display: flex; align-items: center; gap: 16px; padding: 14px; text-decoration: none; color: var(--white); transition: border-color .25s ease, transform .3s var(--ease); }
.dealer:hover { border-color: var(--teal-bright); color: var(--white); transform: translateY(-3px); }
.dealer img { width: 108px; height: 82px; object-fit: cover; border-radius: var(--r-sm); flex: 0 0 auto; }
.dealer small { display: block; color: var(--teal-bright); font-weight: 700; font-size: .85rem; }
.dealer strong { display: block; font-size: 1.08rem; line-height: 1.25; }
.dealer em { font-style: normal; font-size: .9rem; color: var(--mute-on-dark); }
.hero__dots { display: flex; gap: 8px; margin-top: 22px; }
.hero__dots span { width: 34px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; position: relative; }
.hero__dots span::after { content: ""; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; animation: dotFill 21s infinite linear; }
.hero__dots span:nth-child(2)::after { animation-delay: 7s; }
.hero__dots span:nth-child(3)::after { animation-delay: 14s; }
@keyframes dotFill { 0% { transform: scaleX(0); } 33.3% { transform: scaleX(1); } 33.4% { transform: scaleX(0); } 100% { transform: scaleX(0); } }

/* ============ Sections ============ */
.section { padding-block: clamp(80px, 11vw, 150px); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy-900); }
.section--deep { background: var(--navy-950); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--slate); font-size: 1.12rem; }
.on-dark .section-head p { color: var(--mute-on-dark); }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }

/* ============ Sunstream feature ============ */
.sun { position: relative; overflow: hidden; }
.sun::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -300px; background: radial-gradient(closest-side, rgba(56,189,214,.16), transparent); pointer-events: none; }
.sun__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; position: relative; }
.sun__mark { height: 18px; width: auto; filter: brightness(0) invert(1); margin-bottom: 26px; }
.sun h2 { font-size: clamp(2.1rem, 4.2vw, 3.7rem); }
.sun__features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 34px 0 36px; }
.sun__features div { padding: 18px 20px; border-radius: var(--r-md); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.sun__features strong { display: block; color: var(--white); font-size: 1.05rem; margin-bottom: 4px; }
.sun__features span { font-size: .95rem; color: var(--mute-on-dark); line-height: 1.5; display: block; }
.sun__features div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.sun__media { position: relative; }
.sun__media > img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--r-lg); }
.sun__phone { position: absolute; left: -44px; bottom: 44px; width: 38%; border-radius: 22px; overflow: hidden; border: 6px solid var(--navy-900); box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.sun__phone img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 36% 50%; }
.sun__tag { position: absolute; top: 22px; right: 22px; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--white); }
.lineup { margin-top: clamp(64px, 8vw, 110px); position: relative; }
.lineup__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 26px; }
.lineup__head h3 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--white); }
.lineup__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.lineup__card { display: block; text-decoration: none; color: inherit; border-radius: var(--r-md); overflow: hidden; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: transform .35s var(--ease), border-color .25s ease; }
.lineup__card:hover { transform: translateY(-6px); border-color: rgba(56,189,214,.6); color: inherit; }
.lineup__card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s var(--ease); }
.lineup__card:hover img { transform: scale(1.05); }
.lineup__body { padding: 18px 20px 22px; }
.lineup__body h4 { color: var(--white); margin: 0 0 6px; }
.lineup__body p { margin: 0; font-size: .95rem; color: var(--mute-on-dark); line-height: 1.5; }

/* ============ Marquee ============ */
.marquee { padding: 34px 0; border-bottom: 1px solid var(--line); overflow: hidden; background: var(--white); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 64px; padding-right: 64px; }
.marquee__group span { font-weight: 800; font-stretch: 110%; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--navy-900); white-space: nowrap; }
.marquee__group img { height: 44px; width: auto; }
.marquee__group .m-sun { height: 20px; }
.marquee__group i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-bright); display: block; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ Services bento ============ */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 290px; grid-auto-flow: dense; gap: 18px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--white); isolation: isolate; background: var(--navy-800); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3,19,32,0) 30%, rgba(3,19,32,.86) 100%); transition: background .4s ease; }
.tile:hover { color: var(--white); }
.tile:hover img { transform: scale(1.06); }
.tile:hover::after { background: linear-gradient(180deg, rgba(3,19,32,.15) 0%, rgba(3,19,32,.9) 100%); }
.tile h3 { color: var(--white); margin: 0 0 6px; font-size: clamp(1.35rem, 2vw, 1.75rem); }
.tile p { margin: 0; font-size: .96rem; color: rgba(255,255,255,.82); line-height: 1.5; max-width: 42ch; }
.tile__arrow { position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px); transition: background .25s ease, transform .35s var(--ease); }
.tile__arrow svg { width: 18px; height: 18px; }
.tile:hover .tile__arrow { background: var(--teal-bright); color: var(--navy-900); transform: rotate(-45deg); }
.tile--tall { grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile__badge { position: absolute; top: 22px; left: 22px; padding: 7px 14px; border-radius: 999px; background: var(--teal-bright); color: var(--navy-900); font-weight: 700; font-size: .82rem; }

/* ============ Before / after ============ */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.big-stat { display: flex; align-items: baseline; gap: 14px; margin: 26px 0 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.big-stat strong { font-size: clamp(3rem, 6vw, 5rem); font-weight: 800; font-stretch: 112%; letter-spacing: -0.045em; line-height: 1; color: var(--navy-900); }
.big-stat span { color: var(--slate); max-width: 20ch; line-height: 1.4; }
.ba { position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 16 / 10; background: var(--line); user-select: none; box-shadow: 0 30px 70px rgba(3,19,32,.18); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; margin-left: -1px; background: var(--white); pointer-events: none; }
.ba__handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23051c2e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 24px no-repeat; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.ba__tag { position: absolute; top: 18px; padding: 7px 14px; border-radius: 999px; background: rgba(3,19,32,.7); backdrop-filter: blur(8px); color: var(--white); font-size: .85rem; font-weight: 700; }
.ba__tag--before { left: 18px; } .ba__tag--after { right: 18px; }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.check-list { list-style: none; padding: 0; margin: 20px 0 28px; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--aqua-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c7a91' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* ============ Journey ============ */
.journey { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; }
.journey__step { position: relative; }
.journey__step figure { margin: 0 0 22px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; }
.journey__step img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.journey__step:hover img { transform: scale(1.05); }
.journey__num { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-weight: 800; color: var(--teal-bright); font-size: .95rem; }
.journey__num::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.2); }
.journey__step h3 { font-size: 1.3rem; margin-bottom: 6px; }
.journey__step p { margin: 0; color: var(--mute-on-dark); font-size: .97rem; line-height: 1.55; }

/* ============ Materials ============ */
.feature-photo { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.feature-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.feature-photo__note { position: absolute; left: 20px; bottom: 20px; right: 20px; padding: 16px 20px; color: var(--white); font-weight: 600; }
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.chips div { padding: 18px 20px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); transition: border-color .2s ease, transform .3s var(--ease); }
.chips div:hover { border-color: var(--teal); transform: translateY(-3px); }
.chips strong { display: block; color: var(--navy-900); font-size: 1.05rem; }
.chips span { font-size: .93rem; color: var(--slate); line-height: 1.45; display: block; margin-top: 3px; }

/* ============ Areas ============ */
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; }
.areas h3 { font-size: 1.25rem; margin-bottom: 18px; }
.areas ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.areas a { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--navy-900); font-weight: 600; text-decoration: none; font-size: .96rem; transition: all .2s ease; }
.areas a:hover { border-color: var(--navy-900); background: var(--navy-900); color: var(--white); }

/* ============ FAQ ============ */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-layout > div:first-child { position: sticky; top: 120px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 56px 24px 0; position: relative; font-weight: 700; color: var(--navy-900); font-size: 1.12rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%; border: 1px solid var(--line); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23051c2e' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .3s var(--ease), background-color .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--aqua-50); }
.faq details p { color: var(--slate); padding: 0 56px 24px 0; margin: 0; }

/* ============ Assessment ============ */
.assess { position: relative; overflow: hidden; }
.assess::before { content: ""; position: absolute; width: 800px; height: 800px; left: -300px; bottom: -400px; background: radial-gradient(closest-side, rgba(56,189,214,.14), transparent); pointer-events: none; }
.assess__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; position: relative; }
.assess__phone { display: inline-block; font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; font-stretch: 110%; letter-spacing: -0.03em; color: var(--white); text-decoration: none; margin-top: 6px; }
.assess__phone:hover { color: var(--teal-bright); }
.assess__points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.assess__points li { display: flex; gap: 14px; align-items: flex-start; color: rgba(255,255,255,.82); }
.assess__points b { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(56,189,214,.16); color: var(--teal-bright); font-size: .85rem; }
.form { background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 3.6vw, 44px); box-shadow: 0 40px 80px rgba(0,0,0,.3); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form__field { display: flex; flex-direction: column; }
.form__field--full { grid-column: 1 / -1; }
.form label { font-weight: 600; color: var(--navy-900); font-size: .93rem; margin-bottom: 7px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 13px 15px; background: var(--bg-soft); min-height: 52px; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); background: var(--white); box-shadow: 0 0 0 4px rgba(12,122,145,.14); }
.form input[type=file] { padding: 12px; border-style: dashed; }
.form .btn { width: 100%; min-height: 58px; }
.form__note { font-size: .86rem; color: var(--slate); margin-top: 8px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: var(--r-sm); margin-bottom: 20px; font-weight: 600; }
.notice--ok { background: #e2f4ea; color: #145233; }
.notice--err { background: #fbe7e5; color: #7a1d14; }

/* ============ Inner page hero ============ */
.page-hero { position: relative; min-height: 70vh; display: flex; align-items: flex-end; background: var(--navy-900); color: var(--white); overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoomOnce 1.8s var(--ease) both; }
@keyframes heroZoomOnce { from { transform: scale(1.1); } to { transform: scale(1); } }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3,19,32,.75) 0%, rgba(3,19,32,.25) 40%, rgba(3,19,32,.9) 100%); }
.page-hero--plain { min-height: 52vh; }
.page-hero--plain::before { background: radial-gradient(circle at 80% 0%, rgba(56,189,214,.22), transparent 55%); }
.page-hero__content { padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(48px, 7vw, 90px); }
.page-hero h1 { color: var(--white); font-size: clamp(2.6rem, 6vw, 5.4rem); max-width: 16ch; margin-bottom: 20px; }
.page-hero .lede { color: rgba(255,255,255,.86); margin-bottom: 30px; }
.crumbs { font-size: .9rem; margin-bottom: 20px; color: rgba(255,255,255,.7); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: rgba(255,255,255,.9); text-decoration: none; }
.crumbs a:hover { color: var(--teal-bright); }

/* ============ Content pages ============ */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.prose { max-width: 780px; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-top: 1.7em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose figure { margin: 2.2em 0; }
.prose figure img { border-radius: var(--r-lg); width: 100%; }
.prose figcaption { font-size: .9rem; color: var(--slate); margin-top: 10px; }
.aside-card { position: sticky; top: 110px; background: var(--navy-900); color: rgba(255,255,255,.8); border-radius: var(--r-lg); padding: 30px; }
.aside-card h3 { color: var(--white); font-size: 1.4rem; }
.aside-card .btn { width: 100%; margin-top: 10px; }
.aside-card ul { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid rgba(255,255,255,.14); }
.aside-card li { border-bottom: 1px solid rgba(255,255,255,.14); margin: 0; }
.aside-card li a { display: block; padding: 11px 0; text-decoration: none; color: rgba(255,255,255,.88); font-weight: 500; transition: color .2s ease, padding .25s var(--ease); }
.aside-card li a:hover { color: var(--teal-bright); padding-left: 6px; }
.photo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 2.2em 0; }
.photo-pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
.photo-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 2.2em 0; }
.photo-trio img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); }
.feature-box { background: var(--bg-soft); border-radius: var(--r-lg); padding: 30px 32px; margin: 2.2em 0; }
.feature-box h3 { margin-top: 0; }
.product-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 2.2em 0; }
.product-row > div { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--white); }
.product-row img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.product-row h3 { font-size: 1.1rem; margin: 16px 18px 4px; }
.product-row p { margin: 0 18px 18px; font-size: .96rem; color: var(--slate); }
.prose .wide { width: min(100vw - 2 * var(--gutter), 1100px); max-width: none; }

/* ============ Gallery ============ */
.gallery-group { margin-bottom: 72px; }
.gallery-group h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.gallery { columns: 3 300px; column-gap: 16px; }
.gallery button { display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--r-md); overflow: hidden; break-inside: avoid; }
.gallery img { width: 100%; transition: transform .6s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; background: rgba(3,19,32,.95); display: flex; align-items: center; justify-content: center; z-index: 2000; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1400px, 100%); max-height: 86vh; width: auto; border-radius: var(--r-md); }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: var(--white); border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; margin-top: -26px; } .lightbox__next { right: 18px; top: 50%; margin-top: -26px; }

/* ============ CTA band ============ */
.cta-band { padding-block: 0 clamp(80px, 10vw, 130px); }
.cta-band__inner { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(40px, 6vw, 80px); color: var(--white); isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 30px; align-items: center; }
.cta-band__inner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band__inner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3,19,32,.92), rgba(3,19,32,.55)); }
.cta-band h2 { color: var(--white); margin: 0 0 10px; font-size: clamp(2rem, 3.8vw, 3.2rem); }
.cta-band p { margin: 0; color: rgba(255,255,255,.82); }

/* ============ Family band + footer ============ */
.family { background: var(--bg-soft); padding: 48px 0; }
.family__label { text-align: center; color: var(--slate); margin-bottom: 26px; }
.family__label strong { color: var(--navy-900); }
.family__logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 52px; }
.family__logos img { height: 78px; width: auto; transition: transform .3s var(--ease); }
.family__logos img:hover { transform: translateY(-4px); }
.site-footer { background: var(--navy-950); color: var(--mute-on-dark); font-size: .98rem; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-block: clamp(64px, 8vw, 100px) 56px; }
.footer__logo { height: 76px; width: auto; margin-bottom: 22px; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; transition: color .2s ease; }
.site-footer a:hover { color: var(--teal-bright); }
.footer__phone { display: inline-block; font-size: 1.9rem; font-weight: 800; font-stretch: 110%; letter-spacing: -0.03em; color: var(--white) !important; margin-top: 6px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 24px; font-size: .88rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ============ 404 / index ============ */
.not-found .btn-row { margin-top: 10px; }

/* ============ Motion: page transitions + scroll reveal ============ */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .32s var(--ease) both; }
::view-transition-new(root) { animation: vtIn .55s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(18px); } }
body { animation: pageIn .6s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="zoom"] { transform: scale(.96); }
.hero__content > * { animation: rise 1s var(--ease) both; }
.hero__content > *:nth-child(2) { animation-delay: .12s; }
.hero__content > *:nth-child(3) { animation-delay: .24s; }
.hero__content > *:nth-child(4) { animation-delay: .36s; }
.hero__content > *:nth-child(5) { animation-delay: .5s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__slides img:first-child { opacity: 1; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* ============ Responsive ============ */
@media (max-width: 1280px) {
  .header-phone { display: none; }
  .nav a { padding: 10px 11px; }
}
@media (max-width: 1100px) {
  :root { --header-h: 92px; }
  .menu-toggle { display: block; }
  .header-actions .btn { display: none; }
  .nav-row { min-height: 88px; }
  .brand img { height: 64px; }
  .nav { position: fixed; inset: 0; z-index: -1; background: var(--navy-950); color: var(--white); display: block; padding: calc(var(--header-h) + 40px) var(--gutter) 40px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .35s ease, transform .4s var(--ease), visibility .35s; }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open .site-header { background: transparent; box-shadow: none; color: var(--white); backdrop-filter: none; }
  .nav-open .site-header .brand__light { opacity: 1; }
  .nav-open .site-header .brand__dark { opacity: 0; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li > a { font-size: 1.7rem; font-weight: 800; font-stretch: 108%; letter-spacing: -0.02em; padding: 14px 0; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.1); color: var(--white) !important; background: none !important; }
  .nav .nav-sunstream > a { color: var(--teal-bright) !important; }
  .nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; min-width: 0; padding: 8px 0 14px 0; }
  .nav .sub-menu::before { display: none; }
  .nav .sub-menu a { color: rgba(255,255,255,.8); padding: 8px 0; font-size: 1.05rem; }
  .nav .sub-menu a:hover { background: none; color: var(--teal-bright); }
  .hero__bottom { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--wide { grid-column: span 2; }
  .journey, .lineup__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .content-layout { grid-template-columns: minmax(0, 1fr); }
  .aside-card { position: static; }
  .faq-layout > div:first-child { position: static; }
}
@media (max-width: 860px) {
  .section-head, .sun__grid, .split, .split--flip, .assess__grid, .faq-layout, .areas, .cta-band__inner { grid-template-columns: minmax(0, 1fr); }
  .split--flip > :first-child { order: 2; }
  .sun__phone { left: 14px; bottom: 14px; width: 34%; }
  .topbar__right { display: none; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .hero-stats div:nth-child(3) { border-left: 0; }
}
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  :root { --header-h: 84px; }
  .brand img { height: 56px; }
  .site-header.is-scrolled .brand img { height: 48px; }
  .site-header.is-scrolled .nav-row { min-height: 70px; }
  .topbar { font-size: .8rem; }
  .hero__content { padding-top: calc(var(--header-h) + 70px); }
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 250px; }
  .tile--tall { grid-row: span 1; }
  .tile--wide { grid-column: span 1; }
  .journey { grid-template-columns: minmax(0, 1fr); }
  .journey__step figure { aspect-ratio: 4 / 3; }
  .lineup__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .lineup__grid::-webkit-scrollbar { display: none; }
  .lineup__card { flex: 0 0 78%; scroll-snap-align: start; }
  .sun__features, .chips, .form__grid, .footer__top, .product-row, .photo-pair { grid-template-columns: minmax(0, 1fr); }
  .photo-trio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .btn-row .btn { flex: 1 1 100%; white-space: normal; text-align: center; }
  .family__logos img { height: 60px; }
  .dealer img { width: 88px; height: 70px; }
}

/* v3.1: larger headlines */
.hero h1 { font-size: clamp(3.3rem, 10.5vw, 10rem); line-height: .94; letter-spacing: -0.045em; }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 6.4rem); line-height: .98; }

/* v3.2: manufacturer logos */
.marquee__group img { height: 52px; width: auto; }
.marquee__group .m-sun { height: 24px; }
.marquee__group .m-thru { height: 40px; }
.marquee__group .m-eco { height: 50px; }
.marquee__group .m-seal { height: 58px; }
.marquee__group .m-dt { height: 64px; }
.brand-badge { display: flex; align-items: center; gap: 22px; padding: 18px 24px; margin-bottom: 36px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); box-shadow: 0 10px 30px rgba(3,19,32,.06); }
.brand-badge img { height: 46px; width: auto; max-width: 48%; object-fit: contain; }
.brand-badge span { font-weight: 700; color: var(--navy-900); line-height: 1.3; }
@media (max-width: 600px) { .brand-badge { flex-direction: column; align-items: flex-start; gap: 12px; } .brand-badge img { max-width: 80%; } }

/* v3.4: BBB accreditation */
.bbb-seal { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy-900); }
.bbb-seal img { height: 54px; width: auto; }
.bbb-seal span { font-size: .92rem; line-height: 1.3; max-width: 16ch; }
.bbb-seal strong { display: block; font-size: 1.05rem; }
.bbb-seal--card { background: var(--white); padding: 12px 18px 12px 14px; border-radius: var(--r-md); box-shadow: 0 10px 30px rgba(0,0,0,.18); transition: transform .3s var(--ease); }
.bbb-seal--card:hover { transform: translateY(-3px); color: var(--navy-900); }
.site-footer .bbb-seal { margin-top: 18px; color: var(--navy-900); }
.site-footer .bbb-seal:hover { color: var(--navy-900); }

/* v3.5: LiftBar, SwiftShield steps, platform, phone app */
.lineup__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.lineup__card img { aspect-ratio: 4 / 3; }
.sun__media { overflow: visible; }
.sun__hand { position: absolute; left: -84px; bottom: -56px; width: 46%; max-width: 330px; height: auto; aspect-ratio: auto !important; border-radius: 0 !important; object-fit: contain !important; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); pointer-events: none; }
.sun-extras { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; margin-top: 22px; align-items: stretch; }
.swift { padding: 30px; border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.swift h3 { color: var(--white); font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-bottom: 8px; }
.swift > p { color: var(--mute-on-dark); margin-bottom: 22px; max-width: 52ch; }
.swift__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.swift__steps figure { margin: 0; }
.swift__steps img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-sm); }
.swift__steps figcaption { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 700; font-size: .95rem; }
.swift__steps figcaption b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; background: var(--teal-bright); color: var(--navy-900); }
.prose .swift__steps { margin: 1.6em 0 2.2em; }
.prose .swift__steps figcaption { color: var(--navy-900); }
.platform { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; min-height: 420px; text-decoration: none; color: var(--white); isolation: isolate; }
.platform img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: -1; transition: transform .8s var(--ease); }
.platform:hover { color: var(--white); }
.platform:hover img { transform: scale(1.05); }
.platform__body { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 18px 20px; display: block; }
.platform__body strong { display: block; font-size: 1.2rem; margin-bottom: 4px; }
.platform__body span { font-size: .95rem; color: rgba(255,255,255,.85); line-height: 1.5; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 1.6em 0 2.2em; }
.feature-grid > div { background: var(--bg-soft); border-radius: var(--r-md); padding: 22px 24px; border-top: 3px solid var(--teal); }
.feature-grid h3 { margin: 0 0 6px; font-size: 1.2rem; }
.feature-grid p { margin: 0; color: var(--slate); font-size: .97rem; }
.product-row { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
@media (max-width: 1100px) {
  .lineup__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sun-extras { grid-template-columns: minmax(0, 1fr); }
  .sun__hand { left: -20px; bottom: -30px; width: 38%; }
}
@media (max-width: 600px) {
  .sun__hand { left: -8px; bottom: -24px; width: 44%; }
  .swift { padding: 20px; }
  .swift__steps { gap: 8px; }
  .swift__steps figcaption { font-size: .82rem; gap: 6px; }
  .swift__steps figcaption b { width: 22px; height: 22px; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .platform { min-height: 380px; }
}
/* v3.5 hand placement: arm enters from the photo's bottom-right corner */
.sun__media { overflow: hidden; border-radius: var(--r-lg); }
.sun__media > img:first-child { border-radius: 0; }
.sun__hand { left: auto !important; right: -1px; bottom: -1px; width: 56% !important; max-width: 380px; filter: drop-shadow(-12px 16px 24px rgba(0,0,0,.4)); }
.sun__tag { right: auto; left: 22px; }
@media (max-width: 1100px) { .sun__hand { width: 48% !important; } }
@media (max-width: 600px) { .sun__hand { width: 58% !important; } }

/* v3.6: videos, video pop-up, dock add-ons */
.video { margin: 2em 0 2.4em; }
.video__play { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-900); color: var(--white); text-decoration: none; box-shadow: 0 20px 50px rgba(3,19,32,.18); }
.video__play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s ease; opacity: .88; }
.video__play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,19,32,0) 45%, rgba(3,19,32,.75) 100%); }
.video__play:hover img { transform: scale(1.04); opacity: 1; }
.video__icon { position: absolute; z-index: 2; top: 50%; left: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 12px 30px rgba(0,0,0,.35); transition: transform .3s var(--ease); }
.video__icon::before { content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%); border-style: solid; border-width: 15px 0 15px 25px; border-color: transparent transparent transparent var(--navy-900); }
.video__play:hover .video__icon { transform: scale(1.08); }
.video__title { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 18px; font-weight: 700; font-size: 1.08rem; }
.video iframe, .video-modal iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video.is-playing .video__play { display: none; }
.video.is-playing { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #000; }
.play-dot { width: 22px; height: 22px; border-radius: 50%; background: currentColor; position: relative; flex: 0 0 auto; }
.play-dot::after { content: ""; position: absolute; top: 50%; left: 55%; transform: translate(-50%, -50%); border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--navy-900); }
.btn--ghost .play-dot::after { border-left-color: var(--white); }
.btn--ghost .play-dot { background: var(--navy-900); }
.btn--ghost:hover .play-dot { background: var(--white); }
.btn--ghost:hover .play-dot::after { border-left-color: var(--navy-900); }
.video-modal { position: fixed; inset: 0; z-index: 2100; background: rgba(3,19,32,.92); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s; }
.video-modal.is-open { opacity: 1; visibility: visible; }
.video-modal__inner { position: relative; width: min(1100px, 100%); }
.video-modal__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: #000; }
.video-modal__close { position: absolute; top: -58px; right: 0; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: var(--white); font-size: 1.8rem; cursor: pointer; }
.addon { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 26px; align-items: center; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-soft); margin: 1.4em 0 1.2em; }
.addon__logo { width: 100%; height: auto; border-radius: 0 !important; }
.addon h3 { margin-top: 0; }
.addon p:last-child { margin-bottom: 0; }
.marquee__group .m-kd { height: 54px; }
@media (max-width: 600px) { .addon { grid-template-columns: minmax(0, 1fr); } .addon__logo { width: 160px; } .video__icon { width: 64px; height: 64px; margin: -32px 0 0 -32px; } .video__icon::before { border-width: 12px 0 12px 20px; } }

/* v3.7: lift sizes */
.lineup__cap { display: inline-block; margin-bottom: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(56,189,214,.16); color: var(--teal-bright); font-size: .78rem; font-weight: 700; }
.table-wrap { overflow-x: auto; margin: 1.4em 0 1.6em; border: 1px solid var(--line); border-radius: var(--r-md); }
.spec-table { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 520px; }
.spec-table th { text-align: left; background: var(--navy-900); color: var(--white); font-weight: 700; padding: 14px 16px; }
.spec-table td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.spec-table tbody tr:nth-child(even) td { background: var(--bg-soft); }

/* v3.8: Videos page */
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 32px; }
.video-card .video { margin: 0 0 18px; }
.video-card h2 { font-size: clamp(1.35rem, 2vw, 1.7rem); margin-bottom: 6px; }
.video-card p { color: var(--slate); margin-bottom: 10px; }
.video-card--feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.video-card--feature .video { margin: 0; }
.video-card--feature h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
@media (max-width: 1350px) { .nav a { padding: 10px 10px; font-size: .97rem; } }
@media (max-width: 860px) { .video-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } .video-card--feature { grid-template-columns: minmax(0, 1fr); gap: 18px; } }

/* v3.8: keyword H1 on the homepage, big tagline kept as display text */
.hero h1.hero__h1 { font-size: clamp(.92rem, 1.2vw, 1rem); font-weight: 600; font-stretch: 100%; letter-spacing: 0; line-height: 1.4; color: var(--teal-bright); max-width: 60ch; margin: 0 0 18px; text-wrap: balance; }
.hero__title { font-size: clamp(3.3rem, 10.5vw, 10rem); font-weight: 800; font-stretch: 112%; line-height: .94; letter-spacing: -0.045em; color: var(--white); max-width: 10ch; margin: 0 0 26px; text-wrap: balance; }
/* v3.8: room for the Videos menu item (phone number stays in the top bar) */
@media (max-width: 1480px) { .header-phone { display: none; } }
@media (max-width: 1260px) { .nav a { padding: 10px 8px; font-size: .94rem; } .brand img { height: 66px; } .header-actions .btn { padding: 0 20px; } }
@media (min-width: 1101px) and (max-width: 1240px) { .header-actions .btn { display: none; } }
