:root {
  --bg: #0c0e10;
  --bg-low: #1a1c1e;
  --bg-card: #1e2022;
  --text: #e2e2e5;
  --text-muted: #c5c7ca;
  --accent: #7cff00;
  --accent-hover: #81ff1e;
  --on-accent: #0a2100;
  --border: rgba(62, 74, 52, 0.35);
  --max: 1360px;
  --header: 4.25rem;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html {
  scroll-behavior: smooth;
}

#home,
#why-lena,
#services,
#about,
#process,
#contact {
  scroll-margin-top: calc(var(--header) + env(safe-area-inset-top, 0px));
}

body {
  margin: 0;
  font-family: Poppins, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--accent);
}

.wrap {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .wrap {
    width: min(100% - 3rem, var(--max));
  }
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fffff7;
}

h1 {
  font-size: clamp(1.75rem, 8vw, 3.25rem);
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.45rem, 6vw, 2.25rem);
  line-height: 1.25;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.4;
}

.muted {
  color: var(--text-muted);
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.85rem 1.25rem;
  border-radius: 0.125rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0 0;
  transition: background-size 0.5s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    background-size: 280% 280%;
  }
}

.btn-primary {
  background-color: var(--accent);
  background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.18) 38%, rgba(255, 255, 255, 0) 68%);
  color: var(--on-accent);
}

.btn-primary:hover {
  color: var(--on-accent);
  background-color: var(--accent);
}

.btn-ghost {
  background-color: transparent;
  background-image: radial-gradient(circle at center, rgba(124, 255, 0, 0.42) 0%, rgba(124, 255, 0, 0.12) 42%, rgba(124, 255, 0, 0) 70%);
  color: #fffff7;
  border-color: var(--border);
  font-weight: 500;
}

@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover {
    color: #fffff7;
    background-color: transparent;
    border-color: rgba(124, 255, 0, 0.45);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }

  .btn:hover {
    background-size: 0 0;
  }

  .btn-primary:hover {
    background-color: var(--accent-hover);
  }
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: calc(var(--header) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(12, 14, 16, 0.94);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.logo img {
  height: 2.75rem;
  width: auto;
  object-fit: contain;
}

.nav-desktop,
.header-phone {
  display: none;
}

.nav-desktop {
  align-items: center;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.nav-desktop a {
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
}

.nav-desktop a:hover {
  color: #fffff7;
}

.nav-desktop a.is-active {
  color: #fffff7;
  border-bottom-color: var(--accent);
}

.nav-mobile a.is-active {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  padding: 0 0.9rem;
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  font-size: 0.875rem;
  color: #fffff7;
}

.menu-open:hover,
.menu-open[aria-expanded="true"] {
  color: #fffff7;
  background: #282a2c;
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: calc(var(--header) + env(safe-area-inset-top, 0px)) 0 0;
  z-index: 60;
  background: var(--bg);
  padding: 0.75rem 1rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
}

.nav-mobile:target,
.nav-mobile.is-open {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-mobile a {
  min-height: 2.75rem;
  padding: 0.75rem 0.5rem;
  color: var(--text-muted);
}

.nav-mobile a:hover {
  color: #fffff7;
}

.nav-mobile .btn-primary {
  margin-top: 0.5rem;
  color: var(--on-accent);
}

main {
  padding-top: calc(var(--header) + env(safe-area-inset-top, 0px));
  padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
}

.hero,
.section {
  padding: 2.25rem 0;
}

.hero-grid,
.why-grid,
.about-grid,
.services-head,
.process-head,
.cta-bar,
.contact-head {
  display: grid;
  gap: 1.5rem;
}

.hero-copy h1 + .muted {
  margin: 1.25rem 0 1.5rem;
  max-width: 36rem;
}

.lead {
  max-width: 36rem;
}

.contact-actions {
  margin-top: 2.5rem;
}

.about-copy h2 {
  margin-bottom: 1rem;
}

.media {
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media {
  aspect-ratio: 16 / 10;
}

.why {
  background: var(--bg-low);
  border-block: 1px solid var(--border);
}

.why-points {
  display: grid;
  gap: 2rem;
}

.cards {
  display: grid;
  gap: 1.5rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem;
  flex: 1;
}

.card-body p {
  margin: 0.5rem 0 0;
}

.card-body ul {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
}

.card-body li + li {
  margin-top: 0.4rem;
}

.card-link {
  color: var(--accent);
  font-size: 0.875rem;
}

.card-link:hover {
  text-decoration: underline;
}

.about {
  background: var(--bg-low);
  border-top: 1px solid var(--border);
}

.about-media {
  aspect-ratio: 4 / 3;
}

.about-copy p + p {
  margin-top: 1rem;
}

.timeline {
  display: flex;
  flex-direction: column;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  padding: 0.1rem 0 1.65rem 2.65rem;
  text-align: left;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: 1.5rem;
  bottom: 0;
  left: 0.7rem;
  width: 2px;
  background: rgba(124, 255, 0, 0.35);
}

.timeline li:last-child::before {
  display: none;
}

.timeline-marker {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--bg);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
}

.timeline h3 {
  margin-bottom: 0.4rem;
}

.timeline .muted {
  margin: 0;
  font-size: 0.8125rem;
  overflow-wrap: break-word;
}

.cta {
  background: var(--bg-low);
  border-block: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  gap: 1.5rem 4rem;
  max-width: 48rem;
}

.contact-grid h3 {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-grid a,
.footer-contact a {
  overflow-wrap: anywhere;
}

.site-footer {
  background: var(--bg-low);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 calc(5.75rem + env(safe-area-inset-bottom, 0px));
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

.footer-logo img {
  height: 4rem;
  width: auto;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hours {
  display: grid;
  gap: 0.25rem;
}

.hours div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.25rem 0;
}

.hours .open {
  color: #fffff7;
  font-weight: 500;
}

.footer-contact p {
  margin: 0.35rem 0 0;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(62, 74, 52, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: center;
}

.dock {
  position: fixed;
  inset: auto 0 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: rgba(12, 14, 16, 0.96);
  border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.dock a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.7rem 0.4rem;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.dock a:hover {
  color: var(--accent);
}

.dock .dock-book {
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}

.dock .dock-book:hover {
  color: var(--on-accent);
}

@media (min-width: 640px) {
  :root {
    --header: 5.25rem;
  }

  .wrap {
    width: min(100% - 2rem, var(--max));
  }

  .logo img {
    height: 4.25rem;
  }

  .hero,
  .section {
    padding: 3.25rem 0;
  }

  .why-points {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .btn {
    width: auto;
    padding: 0.85rem 2.25rem;
  }
}

@media (min-width: 768px) {
  .hero-media {
    aspect-ratio: 5 / 4;
  }

  .hero-grid,
  .why-grid,
  .about-grid,
  .services-head,
  .process-head,
  .cta-bar,
  .contact-head {
    gap: 2.5rem;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .card-body {
    padding: 1.5rem;
  }

  .services-head,
  .process-head,
  .cta-bar,
  .contact-head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .cta-bar {
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-logo img {
    height: 5rem;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .timeline {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    padding-bottom: 0.5rem;
  }

  .timeline li {
    flex: 1 0 8.5rem;
    min-width: 8.5rem;
    padding: 2.75rem 0.75rem 0.5rem;
    text-align: center;
    scroll-snap-align: start;
  }

  .timeline li:last-child {
    padding-bottom: 0.5rem;
  }

  .timeline li::before {
    display: block;
    top: 0.7rem;
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    height: 2px;
  }

  .timeline li:first-child::before {
    left: 50%;
  }

  .timeline li:last-child::before {
    display: block;
    right: 50%;
  }

  .timeline-marker {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (min-width: 1024px) {
  :root {
    --header: 6rem;
  }

  .logo img {
    height: 4.75rem;
  }

  .hero,
  .section {
    padding: 4rem 0;
  }

  .header-phone {
    display: inline;
    font-size: 0.875rem;
    color: var(--text-muted);
  }

  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .why-grid {
    grid-template-columns: 1fr 2fr;
  }

  .timeline {
    overflow: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
  }
}

@media (min-width: 1280px) {
  .nav-desktop {
    display: flex;
  }

  .menu-open {
    display: none;
  }

  main {
    padding-bottom: 0;
  }

  .site-footer {
    padding-bottom: 4rem;
  }

  .dock {
    display: none;
  }

  .cards,
  .why-points {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-logo img {
    height: 6rem;
  }
}
