:root {
  --ink: #0b1117;
  --ink-2: #151d26;
  --panel: #1b2530;
  --line: rgba(255, 255, 255, 0.1);
  --sand: #f3ece1;
  --paper: #f7f3ec;
  --muted: #6f7b87;
  --text: #d7dde4;
  --orange: #ef6a12;
  --orange-deep: #c84f08;
  --white: #fffaf4;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius: 18px;
  --header: 76px;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Barlow Condensed", "Outfit", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--orange);
  color: white;
  padding: 0.7rem 1rem;
  border-radius: 999px;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 17, 23, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--white);
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--orange);
  background: rgba(239, 106, 18, 0.12);
  border: 1px solid rgba(239, 106, 18, 0.35);
  border-radius: 10px;
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong {
  font-family: var(--display);
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.brand-text em {
  font-style: normal;
  font-size: 0.72rem;
  color: #b7c0c9;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  color: #d5dde5;
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: white;
}

.nav-phone {
  color: var(--orange) !important;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-header,
.btn-primary {
  background: var(--orange);
  color: white;
}

.btn-header:hover,
.btn-primary:hover {
  background: var(--orange-deep);
}

.btn-ghost {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 10px;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: white;
  margin: 5px 0;
}

.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 17, 23, 0.88) 8%, rgba(11, 17, 23, 0.38) 58%, rgba(11, 17, 23, 0.2)),
    linear-gradient(180deg, rgba(11, 17, 23, 0.15), rgba(11, 17, 23, 0.72));
}

.hero-copy {
  position: relative;
  padding: 7rem 0 4.5rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin: 0 0 0.8rem;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.2rem);
  max-width: 11ch;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  text-transform: uppercase;
  max-width: 16ch;
}

h3 {
  font-size: 2rem;
  text-transform: uppercase;
}

.lede,
.section-head p {
  max-width: 38rem;
  font-size: 1.08rem;
}

.lede {
  color: #e4e8ed;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.8rem 0 1.4rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: #c4ccd4;
  font-size: 0.95rem;
}

.hero-meta li {
  position: relative;
  padding-left: 1rem;
}

.hero-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.trust {
  background: var(--ink-2);
  color: var(--text);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  padding: 1.6rem 0;
}

.trust article strong {
  display: block;
  color: white;
  margin-bottom: 0.25rem;
}

.trust article p {
  margin: 0;
  color: #9aa6b2;
  font-size: 0.95rem;
}

.section,
.hero,
.trust {
  scroll-margin-top: calc(var(--header) + 12px);
}

.section {
  padding: 5.2rem 0;
}

.section-alt {
  background: #efe7db;
}

.section-head {
  margin-bottom: 2.4rem;
}

.section-head a {
  color: var(--orange-deep);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  background: white;
  border: 1px solid #e4d9cb;
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.3rem;
  box-shadow: 0 10px 30px rgba(28, 18, 8, 0.05);
}

.card.featured {
  background: var(--ink);
  color: var(--text);
  border-color: var(--ink);
}

.card.featured h3,
.card.featured .card-num {
  color: white;
}

.card-num {
  display: block;
  color: var(--orange);
  font-family: var(--display);
  letter-spacing: 0.12em;
  margin-bottom: 1.2rem;
}

.card p,
.card li {
  color: inherit;
}

.card p {
  color: var(--muted);
}

.card.featured p,
.card.featured li {
  color: #c5ced6;
}

.card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}

.gallery-item {
  padding: 0;
  border: 0;
  background: #d7cbbd;
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  min-height: 240px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
  transition: transform 0.35s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
}

.gallery-item.wide {
  grid-column: span 2;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.about p {
  color: #4d5863;
  max-width: 38rem;
}

.facts {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
}

.facts div {
  border-top: 1px solid #d8cdc0;
  padding-top: 0.8rem;
}

.facts dt {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
  font-weight: 700;
}

.facts dd {
  margin: 0.2rem 0 0;
}

.about-photo {
  margin: 0;
}

.about-photo img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.about-photo figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
}

.contact-cards {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.contact-card {
  display: grid;
  gap: 0.15rem;
  text-decoration: none;
  background: white;
  border: 1px solid #e2d7c9;
  border-radius: 14px;
  padding: 1rem 1.1rem;
}

.contact-card span {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card strong {
  overflow-wrap: anywhere;
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  background: white;
  border-radius: 22px;
  padding: 1.3rem;
  border: 1px solid #e4d9cb;
  box-shadow: var(--shadow);
}

.quote-form label,
.quote-form .full {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.quote-form .full {
  grid-column: 1 / -1;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  border: 1px solid #d8cdc0;
  border-radius: 12px;
  padding: 0.8rem 0.85rem;
  background: #fffdf9;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 2px solid var(--orange);
  border-color: var(--orange);
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.92rem;
}

.form-note a {
  color: var(--orange-deep);
}

.site-footer {
  background: var(--ink);
  color: #b7c0c9;
  padding: 2.4rem 0 2.2rem;
}

.footer-inner {
  display: grid;
  gap: 0.6rem;
}

.brand-footer {
  color: white;
}

.site-footer a {
  color: white;
  text-decoration: none;
}

.copyright {
  margin-top: 0.6rem;
  font-size: 0.88rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 12, 0.92);
  display: grid;
  place-items: center;
  z-index: 90;
  padding: 2rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 88vh;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: white;
  font-size: 1.8rem;
  cursor: pointer;
}

.thanks {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
  background:
    radial-gradient(circle at top left, rgba(239, 106, 18, 0.18), transparent 32%),
    var(--ink);
  color: white;
  text-align: center;
}

.thanks-card {
  width: min(560px, 100%);
}

.thanks h1 {
  max-width: none;
  margin-bottom: 1rem;
}

.thanks p {
  color: #d5dde5;
}

@media (max-width: 900px) {
  .btn-header {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: #101821;
    padding: 1rem 1.2rem 1.3rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .trust-grid,
  .cards,
  .about-grid,
  .contact-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery-item.wide {
    grid-column: auto;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 5.5rem;
  }
}

@media (min-width: 701px) and (max-width: 1100px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .gallery-item img {
    transition: none;
  }
}
