:root {
  --red: #a91f18;
  --red-bright: #cf3025;
  --copper: #c77932;
  --gold: #efb66d;
  --ink: #090a0c;
  --panel: #141518;
  --panel2: #1b1c20;
  --bronze: #c77932;
  --bronze2: #efb66d;
  --line: #303238;
}

body {
  background:
    radial-gradient(circle at 15% 20%, rgba(169, 31, 24, .07), transparent 28rem),
    var(--ink);
}

.spartan-shield-watermark {
  position: fixed;
  left: 50%;
  top: 52%;
  width: clamp(340px, 43vw, 620px);
  height: auto;
  transform: translate(-50%, -50%);
  opacity: .085;
  filter: saturate(.8) contrast(1.25);
  mix-blend-mode: screen;
  border-radius: 50%;
  pointer-events: none;
  user-select: none;
  z-index: 2;
}

main,
footer {
  position: relative;
  z-index: 1;
}

.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 12;
  height: 38px;
  background: linear-gradient(90deg, #71140f, var(--red) 45%, #6f2e12);
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  color: #fff5ec;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.topbar > div {
  width: min(calc(100% - 3rem), var(--max));
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar nav { display: flex; gap: 1.5rem; }
.topbar a { transition: color .2s ease; }
.topbar a:hover { color: var(--gold); }

.site-header {
  top: 38px;
  height: 112px;
  border-bottom-color: rgba(239, 182, 109, .22);
}

.brand {
  width: 250px;
  height: 121px;
  flex: 0 0 250px;
  padding: 0;
  overflow: visible;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.brand img,
.footer-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.footer-brand {
  width: 148px;
  height: 72px;
  padding: 4px;
  background: #0d0f12;
  border-radius: 4px;
}

.site-header nav a:not(.nav-cta) { position: relative; }
.site-header nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -.45rem;
  height: 2px;
  background: var(--red-bright);
  transition: right .22s ease;
}
.site-header nav a:not(.nav-cta):hover::after { right: 0; }

.nav-cta {
  border-color: var(--red-bright);
  background: rgba(169, 31, 24, .14);
  border-radius: 3px;
}
.nav-cta:hover { background: var(--red); color: #fff; }

.hero {
  min-height: 820px;
  padding-top: 198px;
  background:
    radial-gradient(circle at 84% 34%, rgba(185, 72, 30, .26), rgba(14, 14, 15, .82) 26%, transparent 56%),
    linear-gradient(135deg, #090a0c 52%, #171312);
}

.hero::before {
  content: none;
}

@media (max-width: 900px) {
  .brand {
    width: 196px;
    height: 95px;
    flex-basis: 196px;
  }

  .spartan-shield-watermark {
    width: min(92vw, 520px);
    opacity: .075;
  }
}

@media (max-width: 600px) {
  .site-header {
    height: 96px;
  }

  .brand {
    width: 174px;
    height: 84px;
    flex-basis: 174px;
  }

  .hero {
    padding-top: 170px;
  }
}

.eyebrow { color: var(--gold); }
.eyebrow span { background: linear-gradient(90deg, var(--red-bright), var(--gold)); }
h1 em { -webkit-text-stroke-color: var(--gold); }

.button-primary {
  background: linear-gradient(135deg, var(--red-bright), #8d1712);
  color: #fff;
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 12px 30px rgba(169, 31, 24, .28);
}
.button-primary:hover { filter: brightness(1.12); }
.button-ghost:hover { border-color: var(--gold); color: var(--gold); }

.trust-strip strong { color: #fff; }
.trust-strip li { border-right-color: rgba(199, 121, 50, .28); }

.hero-mark { min-height: 510px; }
.hero-card-frame {
  width: min(100%, 590px);
  padding: .65rem;
  background: linear-gradient(145deg, rgba(239, 182, 109, .55), rgba(86, 39, 18, .35));
  border: 1px solid rgba(239, 182, 109, .5);
  border-radius: 8px;
  box-shadow: 0 34px 100px rgba(0, 0, 0, .7), 0 0 60px rgba(169, 31, 24, .12);
  transform: rotate(1deg);
}
.hero-card-frame > img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
.hero-contact-row {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 1px;
  margin-top: .6rem;
  background: rgba(239, 182, 109, .23);
}
.hero-contact-row a {
  min-width: 0;
  padding: .8rem .9rem;
  background: #111215;
  transition: background .2s ease;
}
.hero-contact-row a:hover { background: #251310; }
.hero-contact-row span {
  display: block;
  color: var(--gold);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-contact-row strong {
  display: block;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: .78rem;
  margin-top: .2rem;
}

.services { background: linear-gradient(180deg, #0b0c0e, #101114); }
.service-grid article { border-top: 2px solid transparent; }
.service-grid article:hover {
  border-top-color: var(--red-bright);
  background: linear-gradient(145deg, rgba(169, 31, 24, .12), #17181b);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .25);
}
.service-icon { color: var(--gold); }

.work {
  background:
    radial-gradient(circle at 100% 18%, rgba(169, 31, 24, .1), transparent 35rem),
    #0d0f11;
}
.transformation-card {
  border-radius: 5px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .22);
}
.project-copy { border-top: 3px solid var(--red); }
.project-photo span { border-left-color: var(--red-bright); }
.project-gallery figure { border-radius: 4px; }

.why {
  background:
    linear-gradient(110deg, rgba(169, 31, 24, .1), transparent 45%),
    #111316;
}
.checks i { color: var(--gold); }
.why blockquote { border-left-color: var(--red-bright); }

.process li { border-top: 2px solid transparent; }
.process li:hover { border-top-color: var(--copper); background: #141518; }
.process li > span { border-color: var(--red-bright); color: var(--gold); }

.estimate {
  background:
    radial-gradient(circle at 9% 65%, rgba(169, 31, 24, .26), transparent 38%),
    linear-gradient(135deg, #0e0f11, #15100e);
}
.estimate form {
  border-top: 3px solid var(--red-bright);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
  border-radius: 5px;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
.service-picker { border: 0; padding: 0; margin: 0 0 1rem; }
.service-picker legend {
  width: 100%;
  margin-bottom: .7rem;
  color: #c7c9cc;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.service-picker legend span { color: #8f949a; font-weight: 500; margin-left: .45rem; text-transform: none; letter-spacing: 0; }
.service-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.service-options label { margin: 0; cursor: pointer; }
.service-options input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.service-options span {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .7rem .85rem;
  border: 1px solid #3a3d42;
  background: #0d0f11;
  color: #c7c9cc;
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color .2s, background .2s, color .2s;
}
.service-options span::before { content: ""; width: 17px; height: 17px; flex: 0 0 17px; border: 1px solid #646970; }
.service-options input:checked + span { border-color: var(--gold); background: rgba(169, 31, 24, .12); color: #fff; }
.service-options input:checked + span::before { content: "✓"; display: grid; place-items: center; border-color: var(--gold); background: var(--gold); color: #111; font-size: .75rem; font-weight: 900; }
.service-options input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.service-error { margin: .65rem 0 0; color: #ffaaa3; font-size: .82rem; }
.form-result { border-color: var(--red-bright); }

.reviews {
  scroll-margin-top: 24px;
  background:
    radial-gradient(circle at 82% 45%, rgba(169, 31, 24, .18), transparent 32%),
    #0b0c0e;
  border-top: 1px solid var(--line);
}
.review-invite {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2.2rem;
  border: 1px solid #383b40;
  border-left: 3px solid var(--red-bright);
  background: linear-gradient(135deg, #15171a, #101113);
}
.review-form {
  min-width: 250px;
  padding: 1rem;
  background: rgba(0, 0, 0, .2);
  border-color: rgba(239, 182, 109, .28);
}
.review-form fieldset { margin: 0 0 .8rem; padding: 0; border: 0; }
.review-form legend {
  margin-bottom: .45rem;
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.star-rating { display: flex; gap: .2rem; }
.star-rating button {
  padding: .1rem;
  border: 0;
  background: transparent;
  color: #5b5d62;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color .15s ease, transform .15s ease;
}
.star-rating button.selected,
.star-rating button:hover { color: var(--gold); transform: translateY(-1px); }
.star-rating button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.rating-status { min-height: 1.2em; margin: .35rem 0 0; color: var(--muted); font-size: .75rem; }
.review-field { margin-bottom: .7rem; color: #d7d9dc; font-size: .72rem; }
.review-field input,
.review-field textarea { margin-top: .3rem; padding: .65rem .75rem; font-size: .9rem; text-transform: none; }
.review-form .button { width: 100%; }
.review-email-fallback {
  display: block;
  margin-top: .65rem;
  color: var(--gold);
  font-size: .75rem;
  text-align: center;
  text-decoration: underline;
}
.review-mark { color: var(--gold); font: 700 6rem/1 "Barlow Condensed", sans-serif; text-align: center; }
.review-kicker { margin: 0 0 .4rem; color: var(--gold); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.review-invite h3 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.review-invite div > p:last-child { max-width: 650px; margin: .65rem 0 0; color: var(--muted); font-size: .9rem; }
.review-invite .button { white-space: nowrap; }

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

@media (max-width: 900px) {
  .review-invite { grid-template-columns: 60px 1fr; }
  .review-form { grid-column: 2; }
  .review-invite .button { grid-column: 2; justify-self: start; }
  .topbar > div { width: calc(100% - 2rem); }
  .topbar > div > span { display: none; }
  .topbar nav { width: 100%; justify-content: space-between; gap: .8rem; }
  .site-header nav { top: 92px; }
  .hero { padding-top: 158px; }
  .hero-card-frame { transform: none; }
}

@media (max-width: 600px) {
  .review-invite { grid-template-columns: 1fr; gap: 1rem; padding: 1.4rem; }
  .review-mark { display: none; }
  .review-form { grid-column: 1; min-width: 0; }
  .review-invite .button { grid-column: 1; width: 100%; }
  .service-options { grid-template-columns: 1fr; }
  .topbar { height: 40px; }
  .topbar nav a:last-child { display: none; }
  .topbar nav { justify-content: center; }
  .site-header { top: 40px; height: 84px; }
  .site-header nav { top: 84px; }
  .hero { padding-top: 145px; }
  .hero h1 { font-size: clamp(3.7rem, 18vw, 4.3rem); }
  .hero-card-frame { padding: .4rem; }
  .hero-contact-row { grid-template-columns: 1fr; }
  .hero-contact-row a { padding: .7rem .8rem; }
}
