@font-face {
  font-family: 'Office Code Pro';
  src: url("/assets/fonts/officecodepro-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Office Code Pro';
  src: url("/assets/fonts/officecodepro-regular.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Office Code Pro';
  src: url("/assets/fonts/officecodepro-regular.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aileron';
  src: url("/assets/fonts/aileron/Aileron-Regular.otf") format("otf");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aileron';
  src: url("/assets/fonts/LTHoop-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aileron';
  src: url("/assets/fonts/Aileron-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins Bold';
  src: url("/assets/fonts/Poppins-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --cream:        #f6f4f1;
  --cream2:       #eceae6;
  --dark:         #1e1e1e;
  --dark2:        #2a2a2a;
  --orange:       #db4a2b;
  --orange2:      #e8694f;
  --text:         #1e1e1e;
  --muted:        #727068;
  --white:        #FFFFFF;
  --nav-h:        64px;
  --nav-bg:       rgba(247,244,238,0.92);
  --overlay:      rgba(0,0,0,0.85);
  --rule:         rgba(30,30,30,0.10);
  --rule-md:      rgba(30,30,30,0.12);
  --orange-20:    rgba(219,74,43,0.20);
  --orange-25:    rgba(219,74,43,0.25);
  --white-06:     rgba(255,255,255,0.06);
  --white-08:     rgba(255,255,255,0.08);
  --white-14:     rgba(255,255,255,0.14);
  --white-20:     rgba(255,255,255,0.20);
  --white-25:     rgba(255,255,255,0.25);
  --white-35:     rgba(255,255,255,0.35);
  --white-50:     rgba(255,255,255,0.50);
  --white-55:     rgba(255,255,255,0.55);
  --white-70:     rgba(255,255,255,0.70);
  --shadow-card:  0 12px 40px rgba(0,0,0,0.08);
  --shadow-photo: 0 8px 20px rgba(0,0,0,0.10);
}

body {
  font-family: 'Office Code Pro', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: 'Poppins Bold', Georgia, serif; line-height: 1.1; }
a { color: inherit; text-decoration: none; }
img { display: flex; max-width: 100%; }

nav .nav-links a,
.nav-cta,
.section-tag,
.gif-card-tag,
.footer-col a,
.footer-copy,
.footer-note,
.footer-desc { font-family: 'Aileron', system-ui, sans-serif; }

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.nav-logo-wrap { display: flex; align-items: center; text-decoration: none; }

.nav-links { display: flex; align-items: center; gap: 20px; list-style: none; }
.nav-links li:not(:last-child) { display: none; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0.2px; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  white-space: nowrap;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--orange2) !important; color: var(--white) !important; }

.progress-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  padding: 0 20px;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pb-label, .pb-count {
  font-family: 'Aileron', system-ui, sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}
.pb-label { font-weight: 600; letter-spacing: 2px; }
.pb-count { letter-spacing: 1.5px; }

.pb-track { flex: 1; height: 3px; background: var(--cream2); border-radius: 2px; overflow: hidden; }
.pb-fill { height: 100%; background: var(--orange); border-radius: 2px; width: 0%; transition: width 0.4s ease; }

.install-hero {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid var(--rule);
}

.install-hero-photo {
  position: relative;
  flex: 1;
  max-height: 50vh;
  overflow: hidden;
  background: var(--cream2);
}
.install-hero-photo img { width: 100%; height: 100%; object-fit: cover; cursor: none; }

.install-hero-text {
  background: var(--dark);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.install-hero-text h1 {
  font-size: clamp(32px, 9vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.04;
  color: var(--white);
  margin-bottom: 16px;
}
.install-hero-text p {
  font-size: 15px;
  color: var(--white-50);
  line-height: 1.75;
  margin-bottom: 32px;
  font-weight: 300;
}

.section-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-tag::before { content: ''; width: 16px; height: 1.5px; background: var(--orange); }
.install-hero-text .section-tag { color: var(--orange2); }
.install-hero-text .section-tag::before { background: var(--orange2); }

.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-pill {
  font-family: 'Aileron', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 100px;
  background: var(--white-08);
  border: 1px solid var(--white-14);
  color: var(--white-70);
}

.prereq-section {
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  padding: 48px 20px;
}
.prereq-section h2 {
  font-size: clamp(24px, 6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--text);
  margin-bottom: 20px;
}

.prereq-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 24px 20px;
}
.prereq-card p { font-size: 15px; color: var(--muted); line-height: 1.75; margin-bottom: 14px; }
.prereq-card p:last-child { margin-bottom: 0; }
.prereq-card a { color: var(--orange); font-weight: 600; }
.prereq-card a:hover { text-decoration: underline; }

.skip-callout {
  background: #fff4ee;
  border: 1.5px solid var(--orange-25);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 14px 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}
.skip-callout strong { color: var(--orange); }

.needs-section {
  padding: 48px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}
.needs-section h2 {
  font-size: clamp(24px, 6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--text);
  margin-bottom: 28px;
}

.needs-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

.needs-card {
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  background: var(--cream);
}
.needs-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: flex;
  cursor: zoom-in;
  transition: opacity 0.2s;
  border-bottom: 1px solid var(--rule);
}
.needs-card img:hover { opacity: 0.9; }

.needs-card-body { padding: 20px 22px; }
.needs-card-body h3 {
  font-family: 'Aileron', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.needs-card-body ul { list-style: none; }
.needs-card-body li {
  font-size: 13.5px;
  color: var(--muted);
  padding: 7px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.needs-card-body li:last-child { border-bottom: none; }
.needs-card-body li .q {
  font-family: 'Poppins Bold', Georgia, serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--orange);
  flex-shrink: 0;
  min-width: 22px;
}
.needs-card-body a { color: var(--orange); font-weight: 600; }
.needs-card-body a:hover { text-decoration: underline; }

.safety-notice {
  background: #fff8f5;
  border-left: 4px solid var(--orange);
  border-bottom: 1px solid var(--rule);
  padding: 14px 20px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}
.safety-notice strong {
  font-family: 'Aileron', system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-right: 8px;
}

.phase-intro { padding: 40px 20px 0; display: flex; align-items: center; gap: 16px; }

.phase-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Aileron', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.phase-text h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; color: var(--text); margin-bottom: 2px; }
.phase-text p { font-size: 13.5px; color: var(--muted); }

.timeline { position: relative; padding: 32px 20px 48px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 40px; top: 0; bottom: 0;
  width: 1px;
  background: var(--rule-md);
}

.tl-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0 16px;
  margin-bottom: 40px;
  position: relative;
  align-items: start;
}
.tl-step:last-child { margin-bottom: 0; }

.tl-dot-col {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 2;
  padding-top: 4px;
}

.tl-step.left .tl-content,
.tl-step.right .tl-content { grid-column: 2; grid-row: 1; text-align: left; padding: 0; }

.tl-step.left .tl-photos,
.tl-step.right .tl-photos { grid-column: 2; grid-row: 2; justify-content: flex-start; padding: 8px 0 0; }

.tl-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px var(--cream), 0 0 0 6px var(--orange);
}

.tl-num {
  font-family: 'Aileron', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--orange);
}

.tl-content h3 { font-size: 18px; font-weight: 800; letter-spacing: -0.3px; color: var(--text); margin-bottom: 8px; }
.tl-content p { font-size: 13.5px; color: var(--muted); line-height: 1.65; margin-bottom: 6px; }
.tl-content p:last-of-type { margin-bottom: 0; }
.tl-content .note { font-size: 12px; color: var(--muted); opacity: 0.7; font-style: italic; }

.tl-photos { display: flex; gap: 8px; flex-wrap: wrap; }
.tl-photos img {
  width: 100%; height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  cursor: zoom-in;
  border: 1px solid var(--rule);
  transition: transform 0.2s, box-shadow 0.2s;
}
.tl-photos img:hover { transform: scale(1.04); box-shadow: var(--shadow-photo); }

.phase-divider { display: flex; align-items: center; gap: 20px; padding: 0 20px; margin: 12px 0; }
.phase-divider::before, .phase-divider::after { content: ''; flex: 1; height: 1px; background: var(--rule); }
.phase-divider span {
  font-family: 'Aileron', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.completion {
  background: var(--dark);
  border-top: 1px solid var(--white-06);
  padding: 48px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.completion::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.08;
}
.completion .section-tag { color: var(--orange2); }
.completion .section-tag::before { background: var(--orange2); }
.completion h2 { font-size: clamp(28px, 7vw, 48px); font-weight: 800; letter-spacing: -1.5px; color: var(--white); margin-bottom: 14px; }
.completion p { font-size: 15px; color: var(--white-50); line-height: 1.75; }
.completion a { color: var(--orange2); font-weight: 600; }
.completion a:hover { text-decoration: underline; }

.maint {
  background: var(--cream);
  border-top: 1px solid var(--rule);
  padding: 40px 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.maint-col h4 {
  font-family: 'Aileron', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--orange-20);
}
.maint-col ul { list-style: none; }
.maint-col li {
  font-size: 14px;
  color: var(--muted);
  padding: 10px 0 10px 18px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  line-height: 1.55;
}
.maint-col li:last-child { border-bottom: none; }
.maint-col li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--orange);
  transform: translateY(-50%);
}
.maint-col a { color: var(--orange); font-weight: 600; }
.maint-col a:hover { text-decoration: underline; }

#video { background: var(--cream); padding: 40px 20px; }
.video-header { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }

.section-h2 {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--text);
}

.section-lead { font-size: 16px; color: var(--muted); line-height: 1.7; font-weight: 300; }

.gif-cards { display: flex; flex-direction: column; gap: 24px; }

.gif-card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--rule);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.gif-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }

.gif-wrap { width: 100%; background: var(--dark2); overflow: hidden; position: relative; }
.gif-wrap video { width: 100%; height: 100%; object-fit: scale-down; display: flex; }

.gif-card-body { padding: 20px 24px 24px; }
.gif-card-tag { font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.gif-card-title { font-family: 'Poppins Bold', Georgia, serif; font-size: 18px; font-weight: 800; letter-spacing: -0.4px; color: var(--text); margin-bottom: 8px; }
.gif-card-desc { font-size: 14px; color: var(--muted); line-height: 1.7; }

footer {
  background: var(--dark);
  padding: 48px 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  border-top: 1px solid var(--white-06);
}
.footer-logo-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-desc { font-size: 13px; color: var(--white-35); line-height: 1.75; }

.footer-meta { display: flex; gap: 16px; margin-top: 12px; }
.footer-meta span {
  font-family: 'Aileron', system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white-25);
}

.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--white-35); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: var(--white-55); transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  background: var(--dark);
  border-top: 1px solid var(--white-06);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.footer-copy { font-size: 12px; color: var(--white-25); }
.footer-note { font-size: 11px; color: var(--white-20); line-height: 1.6; }

.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img { max-width: 90vw; max-height: 90vh; border-radius: 8px; }

@media (min-width: 820px) {
  nav { padding: 0 48px; }
  .nav-links { gap: 36px; }
  .nav-links li:not(:last-child) { display: list-item; }

  .progress-bar { padding: 0 80px; gap: 20px; }

  .install-hero { grid-template-columns: 1fr 1fr; min-height: 520px; }
  .install-hero-photo { height: auto; max-height: 700px; }
  .install-hero-text { padding: 72px 64px; }
  .install-hero-text p { max-width: 360px; }

  .prereq-section { padding: 64px 80px; }
  .prereq-card { padding: 28px 32px; max-width: 720px; }

  .needs-section { padding: 72px 80px; }
  .needs-section h2 { margin-bottom: 36px; }
  .needs-grid { grid-template-columns: repeat(3, 1fr); }

  .safety-notice { padding: 14px 80px; }

  .phase-intro { padding: 64px 64px 0; gap: 20px; }
  .phase-text h2 { font-size: 26px; }

  .timeline { padding: 48px 80px 64px; }
  .timeline::before { left: 50%; transform: translateX(-50%); }

  .tl-step {
    display: grid;
    grid-template-columns: 1fr 40px 1fr;
    gap: 0 20px;
    align-items: start;
    margin-bottom: 52px;
  }

  .tl-dot-col,
  .tl-step.left .tl-content,
  .tl-step.left .tl-photos,
  .tl-step.right .tl-content,
  .tl-step.right .tl-photos { grid-column: unset; grid-row: unset; padding: 0; }

  .tl-step.left .tl-content  { text-align: left; }
  .tl-step.left .tl-photos   { justify-content: flex-end; }
  .tl-step.right .tl-content { text-align: right; }
  .tl-step.right .tl-photos  { justify-content: flex-start; }

  .tl-photos img { width: 230px; height: 230px; aspect-ratio: unset; }

  .phase-divider { padding: 0 80px; }

  .completion { flex-direction: row; justify-content: space-around; align-items: center; padding: 80px; }
  .completion p { max-width: 460px; }

  .maint { grid-template-columns: 1fr 1fr; padding: 56px 80px; gap: 60px; }

  #video { padding: 40px 80px; }
  .video-header { flex-direction: row; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; gap: 0; }
  .section-lead { font-size: 17px; max-width: 540px; }
  .gif-cards { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .gif-card { max-width: 400px; }

  footer { padding: 56px 80px; grid-template-columns: 1fr 1fr 1fr; gap: 48px; }
  .footer-desc { max-width: 240px; }

  .footer-bottom { padding: 20px 80px; flex-direction: row; justify-content: space-between; align-items: center; gap: 0; }
  .footer-note { text-align: right; max-width: 420px; }
}