/* Deluxe Details, Lubbock TX */
:root {
  --indigo: #2B3BC4;      /* logo blue */
  --indigo-deep: #2230A6;
  --night: #0F1535;       /* shop after hours: bars, steps, contact */
  --night-2: #182052;
  --night-3: #1F2A6B;
  --peri: #B4C0FF;        /* light end of the logo gradient, LED tubes */
  --mist: #EEF1FA;
  --white: #FFFFFF;
  --ink: #12163A;
  --ink-2: #4A5072;
  --line: #D5DAEC;
  --on-dark: #E3E7FB;
  --font: "Lexend", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1200px;
  --gutter: 32px;
  --hex: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font); font-weight: 300; font-size: 18px; line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--indigo); text-underline-offset: 3px; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.022em; line-height: 1.08; }
h2 { font-size: clamp(32px, 3.6vw, 48px); }
h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.015em; }
strong { font-weight: 700; }

:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; }
.topbar :focus-visible, .hero :focus-visible, .levels :focus-visible, .contact__info :focus-visible,
.footer :focus-visible, .sticky-book :focus-visible, .lightbox :focus-visible, .mobile-menu :focus-visible { outline-color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 16px; top: -80px; z-index: 200; background: var(--night); color: #fff; padding: 12px 16px; font-weight: 500; }
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 12px 28px; border: 2px solid transparent; border-radius: 999px;
  font-family: var(--font); font-weight: 700; font-size: 18px; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--peri); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--indigo { background: var(--indigo); color: #fff; }
.btn--indigo:hover { background: var(--indigo-deep); }

/* Top bar */
.topbar { background: var(--night); color: #fff; }
.topbar__in { display: flex; align-items: center; gap: 36px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand__mark { width: 40px; height: 28px; color: var(--peri); flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-weight: 800; font-size: 23px; letter-spacing: .06em; text-transform: uppercase; }
.brand__sub { font-weight: 400; font-size: 11.5px; letter-spacing: .5em; text-transform: uppercase; color: var(--peri); margin-top: 5px; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { color: var(--on-dark); text-decoration: none; font-weight: 400; font-size: 17px; padding: 12px 0; }
.nav a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--peri); text-decoration-thickness: 2px; }
.topbar__phone { color: #fff; font-weight: 700; font-size: 19px; text-decoration: none; white-space: nowrap; padding: 12px 0; }
.topbar__phone:hover { color: var(--peri); }
.menu-btn { display: none; width: 48px; height: 48px; padding: 0; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.menu-btn span { display: block; width: 26px; height: 2.5px; background: #fff; border-radius: 2px; }

.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(8, 11, 30, .6); }
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(86vw, 360px);
  background: var(--night); color: #fff; padding: 76px 24px 24px; display: flex; flex-direction: column; overflow-y: auto;
}
.mobile-menu[hidden], .scrim[hidden] { display: none; }
.mobile-menu a { color: #fff; text-decoration: none; font-size: 21px; font-weight: 500; padding: 15px 0; border-bottom: 1px solid var(--night-3); }
.mobile-menu__phone { margin-top: 18px; border-bottom: 0 !important; color: var(--peri) !important; font-weight: 700 !important; }
.mobile-menu__close { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border: 0; background: transparent; color: #fff; font-size: 36px; line-height: 1; cursor: pointer; }

/* Hero */
.hero { background: var(--indigo); color: #fff; overflow: hidden; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(38px, 4.5vw, 64px); line-height: 1.04; letter-spacing: -0.03em; }
.hero__lede { margin-top: 24px; font-size: 20px; line-height: 1.55; max-width: 31em; color: #fff; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hexes { position: relative; width: 100%; max-width: 620px; aspect-ratio: 612 / 518; justify-self: end; }
.hex { position: absolute; aspect-ratio: 1.1547; clip-path: var(--hex); background: var(--night); }
.hex img { width: 100%; height: 100%; object-fit: cover; }
.hex--big { left: 0; top: 11.58%; width: 75.16%; }
.hex--a { left: 62.48%; top: 1.01%; width: 37.58%; }
.hex--b { left: 62.48%; top: 60.56%; width: 37.58%; }
.hexes__tubes { position: absolute; left: -15%; top: -9%; width: 52%; height: auto; overflow: visible; }
.hexes__tubes polygon { fill: none; stroke: #fff; stroke-width: 3.5; stroke-linejoin: round; opacity: .9; filter: drop-shadow(0 0 7px rgba(255, 255, 255, .75)); }

.hero__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 56px; border-top: 1px solid rgba(255, 255, 255, .28); padding: 22px 0 26px; }
.hero__facts li { display: flex; flex-direction: column; font-size: 17px; line-height: 1.4; }
.hero__facts strong { font-weight: 700; font-size: 18px; }
.hero__facts span { color: var(--on-dark); }

/* Three levels: a real staircase */
.levels { background: var(--night); color: #fff; padding: 96px 0 88px; }
.levels__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.levels__head p { color: var(--on-dark); max-width: 30em; }
.stairs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; margin-top: 40px; counter-reset: none; }
.step { padding: 30px 30px 34px; display: flex; flex-direction: column; }
.step--1 { margin-top: 136px; background: var(--night-2); }
.step--2 { margin-top: 68px; background: var(--night-3); }
.step--3 { margin-top: 0; background: var(--indigo); }
.step__num { width: 62px; aspect-ratio: 1.1547; clip-path: var(--hex); background: #fff; color: var(--night); display: grid; place-items: center; font-weight: 800; font-size: 24px; margin-bottom: 20px; }
.step h3 { font-size: 30px; font-weight: 800; }
.step > p { margin-top: 12px; color: #fff; }
.step__fig, .step__pair { margin-top: auto; padding-top: 26px; }
.step__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.step figcaption, .step__note { font-size: 15.5px; font-weight: 400; line-height: 1.4; color: var(--on-dark); margin-top: 10px; }
.step--3 figcaption { color: #fff; }
.step__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.step__pair figure { position: relative; }
.step__pair img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.step__pair figcaption { position: absolute; left: 0; bottom: 0; margin: 0; background: var(--night); color: #fff; font-size: 14.5px; font-weight: 500; padding: 5px 12px; }
.step__quote { margin-top: 18px; padding-left: 16px; border-left: 3px solid var(--peri); }
.step__quote p { font-weight: 400; font-size: 17px; line-height: 1.5; }
.step__quote footer { margin-top: 6px; font-size: 15px; font-weight: 400; color: var(--on-dark); }
.levels__foot { margin-top: 36px; color: var(--on-dark); max-width: 44em; }
.levels__foot a { color: #fff; font-weight: 500; }

/* West Texas jobs */
.wt { background: var(--mist); padding: 96px 0; }
.wt__head { max-width: 980px; }
.wt__head p { margin-top: 16px; font-size: 20px; color: var(--ink-2); }
.wt__road { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 44px; }
.wt__truck img { width: 100%; }
.wt__roadcopy p { margin-top: 14px; }
.wt__quote { margin-top: 24px; padding-left: 20px; border-left: 4px solid var(--indigo); }
.wt__quote p { margin: 0; font-weight: 400; }
.wt__quote footer { margin-top: 10px; font-size: 16px; color: var(--ink-2); font-weight: 400; }
.wt__pairs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 24px minmax(0, 1fr) minmax(0, 1fr); gap: 6px; margin-top: 44px; }
.wt__pairs figure:nth-child(3) { grid-column: 4; }
.wt__pairs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.wt__pairs figcaption { font-size: 16px; font-weight: 400; color: var(--ink-2); margin-top: 8px; }
.wt__more { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--line); }
.wt__water { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.wt__water p { margin-top: 12px; }
.wt__dust .wt__quote { margin-top: 16px; }

/* Gallery */
.work { padding: 96px 0; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 36px; }
.gallery__item { position: relative; padding: 0; border: 0; background: var(--mist); cursor: zoom-in; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery__item--big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery__item:hover img { transform: scale(1.03); }

/* Reviews */
.reviews { background: var(--mist); padding: 96px 0; }
.reviews__in { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 72px; align-items: start; }
.reviews__side { position: sticky; top: 32px; }
.reviews__side h2 { font-size: clamp(30px, 3vw, 40px); }
.reviews__score { margin-top: 28px; line-height: 1; }
.reviews__score span { display: inline-grid; place-items: center; width: 190px; aspect-ratio: 1.1547; clip-path: var(--hex); background: var(--indigo); color: #fff; font-weight: 800; font-size: 60px; letter-spacing: -0.03em; }
.reviews__count { margin-top: 14px; font-weight: 400; }
.reviews__count + .reviews__count { margin-top: 4px; color: var(--ink-2); }
.quote p { font-weight: 300; }
.quote footer { margin-top: 12px; font-size: 16px; font-weight: 500; color: var(--ink-2); }
.quote--lead p { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.4; font-weight: 400; letter-spacing: -0.01em; }
.quote--lead { padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.reviews__cols { columns: 2; column-gap: 48px; margin-top: 36px; }
.reviews__cols .quote { break-inside: avoid; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }

/* Shop */
.shop { padding: 96px 0; }
.shop__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.shop__photos { display: grid; grid-template-columns: 2.6fr 1fr; gap: 8px; align-items: stretch; }
.shop__main, .shop__sign { width: 100%; height: 100%; object-fit: cover; }
.shop__copy p { margin-top: 18px; }
.shop__facts { margin-top: 28px; border-top: 1px solid var(--line); }
.shop__facts div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.shop__facts dt { font-weight: 700; }
.shop__facts dd { font-weight: 400; }

/* Contact */
.contact { background: var(--night); color: #fff; padding: 96px 0; }
.contact__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: start; }
.contact__info > p { margin-top: 16px; color: var(--on-dark); max-width: 28em; }
.contact__phone { display: inline-block; margin-top: 26px; color: #fff; font-weight: 800; font-size: clamp(34px, 4vw, 50px); letter-spacing: -0.02em; text-decoration: none; line-height: 1.15; }
.contact__phone:hover { color: var(--peri); }
.contact__mail a { color: var(--peri); font-weight: 400; overflow-wrap: anywhere; }
.contact__info > .contact__mail { margin-top: 6px; }
.hours { margin-top: 36px; width: 100%; max-width: 400px; border-collapse: collapse; font-size: 17px; }
.hours caption { text-align: left; font-weight: 700; font-size: 20px; padding-bottom: 10px; }
.hours th, .hours td { text-align: left; font-weight: 300; padding: 9px 0; border-top: 1px solid var(--night-3); color: var(--on-dark); }
.hours td { text-align: right; }
.hours .is-today th, .hours .is-today td { font-weight: 700; color: #fff; }
.form { background: #fff; color: var(--ink); padding: 36px; border-top: 8px solid var(--indigo); }
.form__row { margin-bottom: 18px; }
.form label { display: block; font-weight: 500; font-size: 17px; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid #9AA2C4; border-radius: 6px;
  background: #fff; color: var(--ink); font-family: var(--font); font-weight: 400; font-size: 18px; line-height: 1.4;
}
.form textarea { resize: vertical; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--indigo); outline-offset: 1px; border-color: var(--indigo); }
.form__send { width: 100%; margin-top: 6px; }
.form__err { color: #B3122B; font-weight: 500; margin-bottom: 12px; }
.form__hint { margin-top: 12px; font-size: 16px; font-weight: 400; color: var(--ink-2); }

/* Footer */
.footer { background: #0A0F28; color: var(--on-dark); padding: 36px 0 44px; font-size: 16.5px; font-weight: 400; }
.footer__in { display: flex; flex-wrap: wrap; gap: 8px 36px; align-items: baseline; }
.footer__brand { font-weight: 800; color: #fff; font-size: 18px; }
.footer a { color: var(--on-dark); }
.footer__copy { margin-left: auto; }

.sticky-book { display: none; }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 14, 38, .97); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox img { max-width: min(92vw, 1280px); max-height: 80vh; width: auto; height: auto; object-fit: contain; }
.lightbox__cap { position: absolute; left: 16px; right: 16px; bottom: 22px; text-align: center; font-size: 17px; font-weight: 400; color: var(--on-dark); }
.lightbox__close, .lightbox__nav { position: absolute; width: 56px; height: 56px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--indigo); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Laptop */
@media (max-width: 1280px) {
  .nav { gap: 22px; }
  .topbar__in { gap: 24px; }
  .step { padding: 26px 24px 30px; }
  .reviews__in { gap: 48px; }
}

/* Tablet */
@media (max-width: 1000px) {
  :root { --gutter: 24px; }
  .nav, .topbar__phone { display: none; }
  .menu-btn { display: flex; margin-left: auto; }
  .hero__in { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; padding-bottom: 40px; }
  .hexes { justify-self: center; max-width: 560px; }
  .hexes__tubes { left: -6%; }
  .levels, .wt, .work, .reviews, .shop, .contact { padding: 72px 0; }
  .levels__head { grid-template-columns: 1fr; gap: 16px; }
  .stairs { grid-template-columns: 1fr; }
  .step--1, .step--2, .step--3 { margin-top: 0; }
  .step--2 { margin-left: 20px; }
  .step--3 { margin-left: 40px; }
  .step__fig, .step__pair { margin-top: 0; max-width: 560px; }
  .step__pair img { aspect-ratio: 4 / 3; }
  .wt__road, .wt__more { grid-template-columns: 1fr; gap: 32px; }
  .wt__pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .wt__pairs figure:nth-child(3) { grid-column: auto; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews__in { grid-template-columns: 1fr; gap: 36px; }
  .reviews__side { position: static; }
  .shop__in, .contact__in { grid-template-columns: 1fr; gap: 40px; }
}

/* Phone */
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 18px; padding-bottom: 0; }
  .topbar__in { min-height: 64px; }
  .brand__name { font-size: 20px; }
  .hero__in { padding-top: 36px; padding-bottom: 28px; gap: 32px; }
  .hero h1 { font-size: 35px; letter-spacing: -0.025em; }
  .hero__lede { font-size: 18px; margin-top: 18px; }
  .hero__cta { margin-top: 24px; }
  .hero__cta .btn { width: 100%; }
  .hexes__tubes { left: -4%; top: -6%; width: 46%; }
  .hero__facts { grid-template-columns: 1fr; row-gap: 14px; padding: 20px 0 26px; }
  .levels, .wt, .work, .reviews, .shop, .contact { padding: 60px 0; }
  .step { padding: 24px 20px 26px; }
  .step--2 { margin-left: 10px; }
  .step--3 { margin-left: 20px; }
  .step h3 { font-size: 27px; }
  .wt__head p { font-size: 18px; }
  .wt__water { grid-template-columns: 1fr; gap: 18px; }
  .wt__pairs { column-gap: 4px; }
  .wt__pairs figcaption { font-size: 15px; line-height: 1.3; }
  .gallery { gap: 4px; margin-top: 28px; }
  .reviews__score span { width: 150px; font-size: 48px; }
  .reviews__cols { columns: 1; }
  .shop__photos { grid-template-columns: 1fr; }
  .shop__sign { display: none; }
  .shop__facts div { grid-template-columns: 92px 1fr; }
  .form { padding: 24px 18px; }
  .footer { padding-bottom: 110px; }
  .footer__copy { margin-left: 0; width: 100%; }
  .sticky-book {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(15, 21, 53, .97); border-top: 3px solid var(--indigo);
    transform: translateY(110%); transition: transform .3s ease;
  }
  .sticky-book.is-visible { transform: none; }
  .sticky-book .btn { flex: 1; min-height: 50px; padding: 10px 12px; }
  .lightbox__nav { top: auto; bottom: 104px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .gallery__item:hover img { transform: none; }
}
