/* Eclipse Landscape Lighting
   Organizing idea: each page darkens as you scroll, from daylight to night,
   the way a yard does in the hour its lights come on. */

:root {
  /* the evening, top to bottom */
  --sky-1: #eef1f6;
  --sky-2: #d9dfea;
  --sky-3: #2d3653;
  --sky-4: #171d31;
  --sky-5: #0c101d;

  --ink: #1b2135;
  --ink-soft: #465069;
  --paper: #f3f5fa;
  --paper-soft: #b9c2d8;

  --lamp: #f2b75b;
  --lamp-deep: #d9952e;
  --lamp-ink: #1b1608;
  --lamp-glow: rgba(242, 183, 91, 0.32);
  --lamp-haze: rgba(242, 183, 91, 0.10);

  --line-light: rgba(27, 33, 53, 0.14);
  --line-dark: rgba(243, 245, 250, 0.16);
  --nav-bg: rgba(238, 241, 246, 0.86);
  --shadow: rgba(12, 16, 29, 0.22);

  --diagram-ground: #4b5677;
  --diagram-subject: #8c97b5;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Avenir Next", "Avenir", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--sky-5);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-light);
}
.head-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}
.head-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.head-phone:hover { background: var(--sky-3); }
.wordmark {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  line-height: 1.1;
}
.wordmark span { display: block; font-weight: 500; font-size: 0.78rem; color: var(--ink-soft); }
.site-nav { margin-left: auto; display: flex; gap: 6px; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  color: var(--ink-soft);
}
.site-nav a:hover { color: var(--ink); background: var(--sky-2); }
.site-nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--lamp-deep); }

/* ---------- section skies ---------- */
.sky-1 { background: var(--sky-1); color: var(--ink); }
.sky-2 { background: var(--sky-2); color: var(--ink); }
.sky-3 { background: var(--sky-3); color: var(--paper); }
.sky-4 { background: var(--sky-4); color: var(--paper); }
.sky-5 { background: var(--sky-5); color: var(--paper); }
.sky-3 .muted, .sky-4 .muted, .sky-5 .muted { color: var(--paper-soft); }
.muted { color: var(--ink-soft); }

section { padding: 96px 0; }

h1, h2, h3 { line-height: 1.05; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.9rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; }

/* heading + its own explanation stay one unit */
.pair > * + p { margin-top: 14px; }
.pair { max-width: 640px; }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.2s, box-shadow 0.2s;
}
.btn-lamp { background: var(--lamp); color: var(--lamp-ink); box-shadow: 0 6px 26px var(--lamp-glow); }
.btn-lamp:hover { background: var(--lamp-deep); }
.btn-line { border-color: currentColor; }
.btn-line:hover { background: var(--line-light); }
.sky-3 .btn-line:hover, .sky-4 .btn-line:hover, .sky-5 .btn-line:hover { background: var(--line-dark); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 88px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero .lede { font-size: 1.2rem; max-width: 34ch; }
.rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 0.95rem;
}
.rating b { color: var(--lamp-deep); letter-spacing: 2px; font-size: 1.05rem; }
.sky-3 .rating b, .sky-4 .rating b, .sky-5 .rating b { color: var(--lamp); }

figure.photo img {
  border-radius: 22px;
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 24px 60px var(--shadow);
}
figure.photo figcaption { margin-top: 10px; font-size: 0.92rem; }
figure.photo .stock {
  display: block;
  font-size: 0.78rem;
  margin-top: 2px;
  opacity: 0.85;
}
.hero figure img { aspect-ratio: 4 / 3.4; }

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.facts { list-style: none; border-top: 1px solid var(--line-light); }
.facts li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
}
.facts dt, .facts .k { font-weight: 700; }
.facts a { display: inline-flex; align-items: center; min-height: 34px; font-weight: 600; }
.facts li { align-items: center; }
.sky-3 .facts, .sky-4 .facts, .sky-5 .facts,
.sky-3 .facts li, .sky-4 .facts li, .sky-5 .facts li { border-color: var(--line-dark); }
.rating-inline { margin: 0; }
.about-copy p + p { margin-top: 16px; }

/* ---------- techniques (home + services) ---------- */
.tech-list { margin-top: 44px; display: grid; gap: 18px; }
.tech {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: center;
  padding: 22px;
  border-radius: 20px;
  background: var(--sky-4);
}
.tech .pair p { margin-top: 8px; }
.tech svg { width: 100%; height: auto; border-radius: 14px; background: var(--sky-5); }

/* diagram parts: fixture position and beam direction are the information */
.d-ground { stroke: var(--diagram-ground); stroke-width: 3; }
.d-subject { fill: var(--diagram-subject); }
.d-fixture { fill: var(--lamp); }
.d-beam { fill: var(--lamp-glow); }
.d-pool { fill: var(--lamp-haze); }

/* ---------- considerations (numbered — order of a real walk-through) ---------- */
.steps { margin-top: 44px; display: grid; gap: 0; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line-dark);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: var(--lamp);
  color: var(--lamp-ink);
}
.step h3 + p { margin-top: 8px; }

/* ---------- path photo band ---------- */
.band-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.band-grid figure img { aspect-ratio: 3 / 4; max-height: 560px; }

/* ---------- close ---------- */
.close { text-align: left; padding: 110px 0 88px; position: relative; overflow: hidden; }
.close::before {
  /* the lit patch: where the call to action sits, the light falls */
  content: "";
  position: absolute;
  left: -10%;
  top: -40%;
  width: 70%;
  height: 160%;
  background: radial-gradient(closest-side, var(--lamp-haze), transparent);
  pointer-events: none;
}
.close .wrap { position: relative; }
.big-phone {
  display: inline-block;
  margin-top: 22px;
  font-size: clamp(2.2rem, 7vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--lamp);
  text-decoration: none;
  line-height: 1.1;
  padding: 4px 0;
}
.big-phone:hover { text-decoration: underline; text-underline-offset: 8px; }

/* ---------- contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.panel {
  background: var(--sky-1);
  color: var(--ink);
  border-radius: 24px;
  padding: 32px;
}
form label { display: block; font-weight: 600; margin-top: 18px; font-size: 0.95rem; }
form label:first-of-type { margin-top: 0; }
form input, form textarea, form select {
  display: block;
  width: 100%;
  margin-top: 6px;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line-light);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
form textarea { min-height: 120px; resize: vertical; }
form input:focus, form textarea:focus, form select:focus { outline: 3px solid var(--lamp); outline-offset: 1px; }
form .btn { margin-top: 22px; width: 100%; border: 0; cursor: pointer; font: inherit; font-weight: 700; }

/* ---------- footer ---------- */
.site-foot { background: var(--sky-5); color: var(--paper-soft); padding: 28px 0 40px; border-top: 1px solid var(--line-dark); font-size: 0.92rem; }
.foot-row { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.foot-row nav { display: flex; gap: 4px; flex-wrap: wrap; }
.foot-row a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 10px; text-decoration: none; color: var(--paper); }
.foot-row a:hover { background: var(--line-dark); }

/* ---------- reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .about-grid, .band-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .band-grid figure { order: -1; }
  .band-grid figure img { max-height: 420px; aspect-ratio: 4 / 3; }
  section { padding: 72px 0; }
  .hero { padding: 48px 0 64px; }
  .close { padding: 80px 0 64px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .head-row { flex-wrap: wrap; gap: 4px 12px; padding: 8px 0 0; }
  .wordmark { margin-left: auto; text-align: right; }
  .site-nav { margin-left: 0; width: 100%; justify-content: space-between; border-top: 1px solid var(--line-light); }
  .site-nav a { padding: 0 10px; }
  .head-phone { padding: 0 14px; font-size: 0.95rem; }
  .tech { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
  .tech svg { max-width: 320px; }
  .facts li { grid-template-columns: 1fr; gap: 2px; }
  .step { grid-template-columns: 52px 1fr; gap: 12px; }
  .panel { padding: 22px; }
}
