@font-face {
  font-family: "Myriad Shine";
  src: url("fonts/MyriadPro-Regular.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Avenir Shine";
  src: url("fonts/Avenir.ttc") format("truetype-collection");
  font-display: swap;
}

:root {
  --black: #1d1d1d;
  --black-deep: #111;
  --ink: #f6f2ed;
  --gold: #ffd139;
  --gold-dark: #e1ad19;
  --muted: #d7d1c9;
  --line: rgba(255, 255, 255, 0.14);
  --max: 1096px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  font-family: "Avenir Shine", Avenir, "Avenir Next", "Myriad Shine", Arial, sans-serif;
  color: var(--ink);
  background: var(--black);
  font-size: 16px;
  line-height: 1.48;
}

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

a {
  color: inherit;
}

[id] {
  scroll-margin-top: 92px;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px clamp(24px, 5vw, 58px);
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));
}

.brand img {
  width: 220px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 42px);
  margin-left: auto;
}

.nav-links a,
.nav-links button {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links button:hover,
.nav-links button:focus-visible,
.phone-link:hover,
.phone-link:focus-visible {
  color: var(--gold);
  outline: none;
}

.nav-links a:focus-visible,
.nav-links button:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 6px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.phone-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hero {
  position: relative;
  min-height: 455px;
  height: clamp(455px, 30.4vw, 540px);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  --parallax-y: 0px;
  transform: translate3d(0, var(--parallax-y), 0) scale(1.36);
  will-change: transform;
}

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

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12, 12, 12, 0.74), rgba(12, 12, 12, 0.34) 48%, rgba(12, 12, 12, 0.74)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.48));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(900px, calc(100% - 40px));
  padding-top: 66px;
  text-align: center;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero h1 {
  text-transform: uppercase;
  font-size: clamp(34px, 3.7vw, 58px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.94);
}

.hero h1 span,
.hero h1 strong {
  display: block;
}

.hero h1 strong {
  font-weight: 950;
  color: #fff;
}

.hero-copy {
  max-width: 710px;
  margin: 16px auto 34px;
  color: #fff;
  font-size: clamp(12px, 1.12vw, 16px);
  font-weight: 900;
  line-height: 1.32;
}

.lead-form {
  display: grid;
  grid-template-columns: 240px 240px 240px;
  gap: 16px;
  align-items: stretch;
  width: min(760px, 100%);
  margin: 0 auto;
}

.lead-form label {
  position: relative;
  display: block;
}

.lead-form span {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  pointer-events: none;
}

.lead-form input {
  width: 100%;
  height: 50px;
  border: 1px solid rgba(255, 209, 57, 0.82);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.26);
  color: #fff;
  padding: 12px 14px 10px 74px;
  font: inherit;
  outline: none;
}

.lead-form input:focus {
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 209, 57, 0.26);
}

.lead-form button,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 0;
  border-radius: 0;
  background: var(--gold);
  color: #101010;
  padding: 12px 26px;
  font: inherit;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.05;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.lead-form button:hover,
.lead-form button:focus-visible,
.button-link:hover,
.button-link:focus-visible {
  background: #ffe16b;
  transform: translateY(-2px);
  outline: none;
}

.scroll-cue {
  position: absolute;
  right: clamp(42px, 5vw, 78px);
  bottom: 24px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #17497d;
  color: #fff;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.scroll-cue:hover {
  background: #1e5a98;
  transform: translateY(2px);
}

.scroll-cue svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hidden-field {
  position: absolute;
  left: -100vw;
  height: 1px;
  overflow: hidden;
}

.content-shell {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
}

.content-shell.narrow {
  max-width: 960px;
  text-align: center;
}

.trusted-section {
  padding: 34px 0 46px;
  background: var(--black);
}

.trusted-section h2 {
  margin-bottom: 28px;
  color: #fff;
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(110px, 1fr));
  gap: clamp(22px, 4.2vw, 60px);
  align-items: center;
}

.logo-row img {
  width: 100%;
  max-height: 110px;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.92;
  transform-origin: center;
}

.logo-row .logo-oc {
  transform: scale(1.08);
}

.logo-row .logo-ladera {
  transform: scale(1.44);
}

.logo-row .logo-laguna {
  transform: scale(1.28);
}

.logo-row .logo-seabreeze {
  transform: scale(1.42);
}

.logo-row .logo-ritz {
  transform: scale(1.36);
}

.split-section {
  padding: clamp(42px, 6vw, 82px) 0 58px;
  background: var(--black);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.76fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
}

.split-copy h2,
.return-section h2,
.property-section h2,
.about-section h2,
.easy-section h2,
.contact-section h2 {
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(34px, 3.4vw, 54px);
  font-weight: 950;
}

.split-copy p,
.return-section p,
.about-section p,
.contact-section p,
.easy-section p {
  max-width: 760px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(17px, 1.55vw, 20px);
  font-weight: 500;
}

.split-copy strong,
.return-section strong,
.easy-section strong {
  font-weight: 950;
}

.split-copy .button-link,
.about-copy .button-link,
.contact-section .button-link {
  margin-top: 22px;
}

.feature-image {
  --parallax-y: 0px;
  aspect-ratio: 548 / 516;
  width: min(100%, 548px);
  margin: 0;
  overflow: hidden;
  background: #2a2a2a;
}

.photo-button {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  overflow: hidden;
  background: #2a2a2a;
  color: inherit;
  cursor: zoom-in;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, calc(var(--parallax-y) * -0.35), 0) scale(1.06);
  will-change: transform;
}

.photo-button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}

.testimonial-section {
  position: relative;
  min-height: 462px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 54px 0 64px;
}

.testimonial-media,
.testimonial-shade {
  position: absolute;
  inset: 0;
}

.testimonial-media {
  --parallax-y: 0px;
  transform: translate3d(0, var(--parallax-y), 0) scale(1.04);
  will-change: transform;
}

.testimonial-media::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: url("assets/testimonial-starfish-bg.jpg") center / cover no-repeat;
  filter: blur(7px);
  opacity: 0.7;
}

.testimonial-media img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.84;
}

.testimonial-shade {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.22)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.22));
}

.testimonial-section .content-shell {
  position: relative;
  z-index: 2;
}

.testimonial-section h2 {
  margin-bottom: 28px;
  color: #fff;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 5vw, 72px);
}

.quote-card {
  position: relative;
  min-height: 220px;
  margin: 0;
  padding: 58px 42px 36px;
  border-radius: 22px;
  background: rgba(10, 10, 10, 0.92);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.34);
}

.quote-card::before,
.quote-card::after {
  position: absolute;
  color: var(--gold);
  font-size: 104px;
  font-weight: 950;
  line-height: 0.7;
}

.quote-card::before {
  content: open-quote;
  top: 26px;
  left: 26px;
}

.quote-card::after {
  content: close-quote;
  right: 22px;
  bottom: -2px;
  color: #ff8f4a;
}

.quote-card:nth-child(2)::before {
  color: #71a8df;
}

.quote-card:nth-child(3)::after {
  color: #b9e9ff;
}

.quote-card blockquote {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(13px, 1.15vw, 15px);
  font-weight: 900;
  line-height: 1.22;
}

.quote-card figcaption {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.quote-card figcaption::before {
  content: "- ";
}

.quote-card figcaption span {
  display: block;
  margin-left: 10px;
}

.return-section {
  padding: clamp(62px, 8vw, 94px) 0 clamp(66px, 7vw, 86px);
  background: var(--black);
}

.return-section .narrow p {
  margin-left: auto;
  margin-right: auto;
}

.return-section .narrow {
  max-width: 1120px;
}

.return-section h2 {
  font-size: clamp(36px, 3.1vw, 46px);
}

.installation-wrap {
  width: min(820px, calc(100% - 44px));
  margin: 46px auto 0;
}

.installation-wrap h3 {
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.installation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 36px);
}

.installation-grid article {
  min-width: 0;
}

.installation-grid button {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 0;
  padding: 0;
  overflow: hidden;
  background: #2a2a2a;
  cursor: zoom-in;
}

.installation-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.installation-grid button:hover img,
.installation-grid button:focus-visible img {
  transform: scale(1.045);
}

.installation-grid button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}

.installation-grid h4 {
  margin-top: 15px;
  color: #fff;
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 950;
}

.installation-grid p {
  margin: 0;
  color: #fff;
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 500;
  line-height: 1.1;
}

.property-section {
  border-top: 4px solid var(--gold);
  border-bottom: 4px solid var(--gold);
  padding: clamp(54px, 7vw, 78px) 0 0;
  background: var(--black);
  text-align: center;
}

.property-section h2 {
  margin-bottom: 10px;
}

.section-lede {
  max-width: 980px;
  margin: 0 auto 32px;
  color: #fff;
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 500;
  line-height: 1.22;
}

.section-kicker {
  margin: 0 0 38px;
  color: #fff;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 950;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(18px, 4vw, 52px);
  align-items: start;
}

.property-grid svg {
  width: 92px;
  height: 72px;
  margin: 0 auto 22px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.property-grid h3 {
  color: #fff;
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 950;
}

.property-cta {
  position: relative;
  bottom: -28px;
  min-width: 196px;
  margin-top: 38px;
}

.about-section {
  padding: clamp(92px, 8vw, 116px) 0 clamp(66px, 8vw, 92px);
  background: var(--black);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  gap: clamp(42px, 8vw, 106px);
  align-items: start;
}

.about-copy {
  max-width: 740px;
}

.founder-card {
  margin: 0;
}

.founder-image {
  position: relative;
  width: min(100%, 342px);
  height: auto;
  aspect-ratio: 322 / 350;
  margin: 0 0 24px auto;
  overflow: visible;
  background: transparent;
}

.founder-image::before {
  content: "";
  position: absolute;
  inset: -24px -30px 28px 28px;
  z-index: 0;
  background: var(--gold);
}

.founder-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 43% center;
}

.founder-card figcaption {
  width: min(100%, 340px);
  margin-left: auto;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.founder-card figcaption::before {
  content: "- ";
}

.founder-card span {
  display: block;
}

.easy-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.82fr);
  gap: clamp(42px, 7vw, 68px);
  align-items: center;
  padding: 0 clamp(22px, 5vw, calc((100vw - var(--max)) / 2 + 22px)) 76px 0;
  background: var(--black);
}

.easy-panel {
  background: var(--gold);
  color: #111;
  padding: clamp(38px, 6vw, 62px) clamp(32px, 9vw, 202px);
}

.easy-panel h2,
.easy-panel p {
  color: #111;
}

.easy-panel h2 {
  font-size: clamp(31px, 3vw, 44px);
}

.easy-panel p {
  max-width: 560px;
}

.easy-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 144px;
  gap: 8px;
}

.easy-mosaic .photo-button,
.easy-mosaic img {
  width: 100%;
  height: 100%;
}

.easy-mosaic img {
  object-fit: cover;
}


.contact-section {
  padding: clamp(36px, 5vw, 62px) 0 90px;
  background: var(--black);
}

.contact-section .narrow {
  text-align: left;
}

.contact-section .narrow p {
  max-width: 980px;
}

.site-footer {
  background: var(--black);
  padding: 48px 0 74px;
}

.footer-inner {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px minmax(220px, 1fr) minmax(210px, 0.58fr) auto;
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
}

.footer-inner img {
  width: 315px;
  height: auto;
}

.footer-inner p,
.footer-inner address {
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.27;
  font-style: normal;
}

.footer-inner a {
  color: var(--ink);
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--gold);
}

.social-links {
  display: flex;
  gap: 8px;
}

.social-links a {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  text-decoration: none;
}

.social-links svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-links a:nth-child(2) svg {
  fill: currentColor;
  stroke: none;
}

.form-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 54px);
  background: rgba(10, 10, 10, 0.84);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.form-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.form-modal-panel {
  position: relative;
  width: min(520px, 100%);
  background: #1d1d1d;
  border: 1px solid rgba(255, 209, 57, 0.34);
  padding: clamp(28px, 5vw, 46px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.52);
}

.eyebrow {
  margin: 0 0 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 950;
}

.form-modal-panel h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 950;
}

.form-modal-panel p:not(.eyebrow):not(.hidden-field) {
  margin: 0 0 24px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.36;
}

.modal-lead-form {
  display: grid;
  gap: 14px;
}

.modal-lead-form label {
  display: grid;
  gap: 7px;
}

.modal-lead-form span {
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.modal-lead-form em {
  font-style: normal;
  font-weight: 700;
  opacity: 0.78;
}

.modal-lead-form input {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(255, 209, 57, 0.78);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  padding: 11px 14px;
  font: inherit;
  outline: none;
}

.modal-lead-form input:focus {
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 209, 57, 0.26);
}

.modal-lead-form button {
  min-height: 48px;
  border: 0;
  background: var(--gold);
  color: #101010;
  padding: 12px 20px;
  font: inherit;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.05;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.modal-lead-form button:hover,
.modal-lead-form button:focus-visible {
  background: #ffe16b;
  transform: translateY(-2px);
  outline: none;
}

.form-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}

.form-modal-close::before,
.form-modal-close::after,
.lightbox-close::before,
.lightbox-close::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  background: currentColor;
}

.form-modal-close::before,
.lightbox-close::before {
  transform: rotate(45deg);
}

.form-modal-close::after,
.lightbox-close::after {
  transform: rotate(-45deg);
}

.form-modal-close:hover,
.form-modal-close:focus-visible {
  border-color: var(--gold);
  background: rgba(255, 209, 57, 0.16);
  outline: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(54px, 1fr) minmax(0, 1180px) minmax(54px, 1fr);
  place-items: center;
  gap: clamp(10px, 2vw, 24px);
  padding: clamp(18px, 4vw, 54px);
  background: rgba(10, 10, 10, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-frame {
  grid-column: 2;
  margin: 0;
  max-width: min(1180px, 100%);
  max-height: calc(100vh - 108px);
}

.lightbox-frame img {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 148px);
  margin: 0 auto;
  object-fit: contain;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

.lightbox-frame figcaption {
  margin-top: 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  border-color: var(--gold);
  background: rgba(255, 209, 57, 0.16);
  outline: none;
}

.lightbox-close {
  position: absolute;
  top: clamp(18px, 3vw, 34px);
  right: clamp(18px, 3vw, 34px);
  width: 46px;
  height: 46px;
}

.lightbox-close::before,
.lightbox-close::after {
  width: 18px;
}

.lightbox-nav {
  width: 52px;
  height: 52px;
}

.lightbox-prev {
  grid-column: 1;
}

.lightbox-next {
  grid-column: 3;
}

.lightbox-prev::before,
.lightbox-next::before {
  content: "";
  width: 13px;
  height: 13px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
}

.lightbox-prev::before {
  transform: translateX(2px) rotate(-135deg);
}

.lightbox-next::before {
  transform: translateX(-2px) rotate(45deg);
}

body.lightbox-open,
body.form-modal-open {
  overflow: hidden;
}

.js .reveal {
  opacity: 0;
  transition: opacity 620ms ease, transform 620ms ease;
}

.js .reveal:not([data-parallax]) {
  transform: translateY(24px);
}

.js .reveal.visible:not([data-parallax]) {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal.visible {
  opacity: 1;
}

.thank-you-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.88), rgba(17, 17, 17, 0.5)),
    url("assets/hero-joy.jpg") center / cover no-repeat;
}

.thank-you-wrap {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 46px;
  width: min(720px, calc(100% - 44px));
  margin: 0 auto;
  padding: 80px 0;
}

.thank-you-logo img {
  width: 170px;
  height: auto;
}

.thank-you-card {
  max-width: 620px;
}

.thank-you-card h1 {
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 950;
}

.thank-you-card p:not(.eyebrow) {
  margin: 0 0 28px;
  color: var(--ink);
  font-size: 19px;
}

@media (max-width: 1060px) {
  .testimonial-grid {
    gap: 20px;
  }

  .quote-card {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 18px 22px;
  }

  .nav-links {
    display: flex;
    gap: 0;
  }

  .hero {
    height: auto;
    min-height: 700px;
    align-items: end;
    padding: 130px 0 54px;
  }

  .hero-media img {
    object-position: center 60%;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.84)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.46));
  }

  .scroll-cue {
    display: none;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

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

  .logo-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .split,
  .about-grid,
  .easy-section,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .testimonial-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    width: min(520px, 100%);
    margin: 0 auto;
  }

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

  .property-grid article:last-child {
    grid-column: span 2;
  }

  .founder-image,
  .founder-card figcaption {
    margin-left: 0;
  }

  .easy-section {
    padding: 0 22px 66px;
  }

  .easy-panel {
    margin: 0 -22px;
    padding-left: 22px;
    padding-right: 22px;
  }

  .easy-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .contact-section .narrow {
    text-align: left;
  }

  .lightbox {
    grid-template-columns: 54px minmax(0, 1fr) 54px;
    gap: 8px;
    padding: 18px 12px;
  }

  .lightbox-frame {
    max-height: calc(100vh - 92px);
  }

  .lightbox-frame img {
    max-height: calc(100vh - 140px);
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .brand img {
    width: 116px;
  }

  .phone-link {
    padding-left: 16px;
    font-size: 12px;
  }

  .phone-link span {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    width: min(100% - 28px, 880px);
  }

  .hero h1 {
    font-size: 34px;
  }

  .trusted-section {
    padding-top: 28px;
  }

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

  .logo-row img {
    max-height: 74px;
  }

  .installation-grid,
  .property-grid {
    grid-template-columns: 1fr;
  }

  .property-grid article:last-child {
    grid-column: auto;
  }

  .property-cta {
    width: min(100%, 260px);
  }

  .founder-image::before {
    inset: -18px -20px 22px 22px;
  }

  .easy-mosaic {
    grid-auto-rows: 132px;
  }

  .footer-inner {
    align-items: start;
  }
}

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

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

  [data-parallax] {
    transform: none !important;
  }
}
