:root {
  --ink: #111312;
  --black: #070909;
  --soft-black: #151716;
  --paper: #fff9e6;
  --yellow: #ffe52f;
  --yellow-deep: #f5c400;
  --red: #f53926;
  --steel: #d8ded8;
  --muted: #6d746f;
  --line: rgba(17, 19, 18, 0.14);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #faf7eb;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: white;
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(7, 9, 9, 0.92);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 229, 47, 0.35);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-nav a {
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.84);
}

.main-nav a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.12);
}

.main-nav .nav-cta {
  color: var(--black);
  background: var(--yellow);
}

.main-nav .nav-cta:hover {
  color: var(--black);
  background: #fff06a;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--yellow);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--black);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: end;
  gap: clamp(20px, 4vw, 48px);
  padding: 120px clamp(20px, 5vw, 72px) 58px;
  overflow: hidden;
  color: white;
  background: var(--black);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 9, 9, 0.92) 0%, rgba(7, 9, 9, 0.66) 47%, rgba(7, 9, 9, 0.18) 100%),
    linear-gradient(0deg, rgba(7, 9, 9, 0.86) 0%, rgba(7, 9, 9, 0.08) 52%);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.03);
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 790px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 8px 14px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(0, 0, 0, 0.28);
}

.hero-kicker img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.hero h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3.6rem, 8.4vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero p {
  max-width: 690px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 52px;
  display: inline-grid;
  place-items: center;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  color: var(--black);
  background: var(--yellow);
}

.button.primary:hover {
  background: #fff06a;
}

.button.secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary:hover {
  border-color: white;
}

.button.dark {
  color: var(--ink);
  border-color: var(--line);
  background: white;
}

.hero-panel {
  align-self: end;
  display: block;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(17, 19, 18, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.proof-link {
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.proof-link:hover {
  transform: translateY(-3px);
  border-color: var(--yellow);
  background: rgba(17, 19, 18, 0.84);
}

.panel-label,
.eyebrow {
  display: block;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-top: 10px;
  color: var(--yellow);
  font-size: 1.9rem;
  line-height: 1;
  text-transform: uppercase;
}

.hero-panel p {
  margin-top: 14px;
  font-size: 0.98rem;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--yellow);
}

.quick-strip div {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 24px clamp(18px, 4vw, 44px);
  border-right: 1px solid rgba(17, 19, 18, 0.22);
}

.quick-strip div:last-child {
  border-right: 0;
}

.quick-strip strong {
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.quick-strip span {
  color: rgba(17, 19, 18, 0.74);
  font-weight: 800;
}

.section {
  padding: clamp(70px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  background: #faf7eb;
}

h2,
h3,
p {
  margin-top: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.3rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.intro > p {
  max-width: 760px;
  margin: 28px 0 0;
  color: #333936;
  font-size: clamp(1.08rem, 1.8vw, 1.38rem);
  line-height: 1.55;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-note {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.5;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: white;
  cursor: pointer;
  font-weight: 850;
}

.filter.active,
.filter:hover {
  color: white;
  border-color: var(--ink);
  background: var(--ink);
}

.properties {
  background: white;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.property-card {
  display: grid;
  min-height: 520px;
  grid-template-rows: minmax(270px, 1fr) auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf3;
  transition: transform 180ms ease, opacity 180ms ease;
}

.property-card.is-hidden {
  display: none;
}

.property-card:hover {
  transform: translateY(-4px);
}

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

.property-card div {
  padding: 22px;
}

.property-card span,
.service-list span {
  color: var(--red);
  font-weight: 950;
  text-transform: uppercase;
}

.property-card h3,
.service-list h3 {
  margin: 8px 0 10px;
  font-size: 1.45rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.property-card p,
.service-list p,
.comparison-card p,
.location-copy p,
.contact p {
  color: var(--muted);
  line-height: 1.5;
}

.property-card.featured {
  box-shadow: 0 0 0 4px var(--yellow);
}

.before-after {
  background: #faf7eb;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 18px;
}

.comparison-card {
  min-height: 440px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.comparison-card img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.comparison-card div {
  padding: 22px;
}

.comparison-card:not(.placeholder-card) {
  display: grid;
  grid-template-rows: minmax(300px, 1fr) auto;
}

.comparison-card span {
  color: var(--red);
  font-weight: 950;
  text-transform: uppercase;
}

.comparison-card h3 {
  margin: 8px 0 10px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.placeholder-card {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 24px;
  color: white;
  background:
    linear-gradient(0deg, rgba(7, 9, 9, 0.92), rgba(7, 9, 9, 0.18)),
    url("assets/grading-placeholder.png") center / cover;
}

.placeholder-card p {
  color: rgba(255, 255, 255, 0.78);
}

.services {
  color: white;
  background: var(--black);
}

.services .eyebrow {
  color: var(--yellow);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.service-list article {
  min-height: 290px;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.service-list p {
  color: rgba(255, 255, 255, 0.68);
}

.location {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
  gap: 22px;
  align-items: stretch;
  background: var(--yellow);
}

.location-copy {
  padding: clamp(4px, 2vw, 20px) 0;
}

.map-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.22) 25%, transparent 25% 50%, rgba(255, 255, 255, 0.22) 50% 75%, transparent 75%),
    #292d2b;
  background-size: 44px 44px;
  box-shadow: inset 0 0 0 1px rgba(17, 19, 18, 0.18);
}

.map-roads span {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: #f8f1d7;
  box-shadow: 0 0 0 8px rgba(248, 241, 215, 0.16);
}

.map-roads span:nth-child(1) {
  width: 92%;
  height: 36px;
  left: 4%;
  top: 52%;
  transform: rotate(-12deg);
}

.map-roads span:nth-child(2) {
  width: 36px;
  height: 120%;
  left: 62%;
  top: -10%;
  transform: rotate(23deg);
}

.map-roads span:nth-child(3) {
  width: 58%;
  height: 28px;
  right: 3%;
  top: 28%;
  transform: rotate(18deg);
}

.pin {
  position: absolute;
  left: 49%;
  top: 43%;
  width: 86px;
  height: 86px;
  transform: translate(-50%, -50%) rotate(45deg);
  border: 10px solid var(--black);
  border-radius: 50% 50% 50% 0;
  background: var(--red);
  box-shadow: var(--shadow);
}

.pin span {
  position: absolute;
  inset: 17px;
  border-radius: 50%;
  background: var(--yellow);
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(24px, 6vw, 84px);
  padding: clamp(70px, 9vw, 118px) clamp(20px, 5vw, 72px);
  background: #fffdf3;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 850;
}

.contact-form .wide {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px 14px;
  color: var(--ink);
  background: white;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(255, 229, 47, 0.7);
  border-color: var(--black);
}

.contact-form .button {
  border: 0;
}

.request-output {
  display: none;
  padding: 16px;
  border: 1px solid rgba(17, 19, 18, 0.16);
  border-radius: 8px;
  color: var(--ink);
  background: white;
  line-height: 1.45;
}

.request-output.visible {
  display: block;
}

.request-output a {
  color: var(--red);
  font-weight: 900;
  text-decoration: underline;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: white;
  background: var(--black);
}

.site-footer span,
.site-footer a {
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .hero,
  .intro,
  .location,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  .quick-strip,
  .property-grid,
  .comparison-grid,
  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .site-header {
    padding: 12px 16px;
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(7, 9, 9, 0.96);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    justify-content: start;
  }

  .hero {
    padding: 104px 18px 36px;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 16vw, 5.4rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .quick-strip,
  .property-grid,
  .comparison-grid,
  .service-list,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .quick-strip div {
    min-height: 92px;
    border-right: 0;
    border-bottom: 1px solid rgba(17, 19, 18, 0.22);
  }

  .property-card {
    min-height: 460px;
  }

  .comparison-card,
  .comparison-card img {
    min-height: 360px;
  }

  .map-card {
    min-height: 300px;
  }

  .site-footer {
    flex-direction: column;
  }
}
