:root {
  --ink: #0e0d0b;
  --muted: #6d6a64;
  --line: #dedbd5;
  --paper: #fbfaf7;
  --white: #fff;
  --stone: #8c8a87;
  --charcoal: #4d4b49;
  --gold: #bda661;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Source Sans Pro", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  min-height: 74px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 2px solid #1c9aa1;
  backdrop-filter: blur(12px);
}

.brand {
  color: #050505;
  font-family: var(--sans);
  font-size: clamp(1.55rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-decoration: none;
}

.hero {
  min-height: 82vh;
  display: grid;
  place-items: end center;
  padding: 0 10vw 18vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18)),
    url("/assets/hero-night.jpg") center / cover no-repeat;
}

.hero__line {
  width: min(770px, 64vw);
  height: 1px;
  background: rgba(255, 255, 255, 0.62);
}

.section {
  padding: clamp(42px, 8vw, 78px) 0;
}

.container {
  width: min(1110px, calc(100% - 48px));
  margin: 0 auto;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  font-weight: 400;
}

h1,
h2 {
  font-family: var(--serif);
}

h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

h2 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
}

.intro {
  background: var(--white);
}

.media-stack {
  display: grid;
  gap: clamp(34px, 7vw, 72px);
  justify-items: center;
  margin-top: 42px;
}

.media-stack > img:first-child {
  width: min(728px, 88vw);
  max-height: 486px;
  object-fit: cover;
}

.logo-mark {
  width: min(670px, 78vw);
}

.application {
  padding: clamp(62px, 10vw, 96px) 0;
  background: var(--stone);
  color: var(--white);
  text-align: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 106px;
  min-height: 56px;
  margin-top: 22px;
  border: 0;
  border-radius: 0;
  padding: 16px 28px;
  background: #747170;
  color: var(--white);
  font: 700 1rem var(--sans);
  cursor: pointer;
  text-decoration: none;
}

.button--dark {
  background: var(--charcoal);
}

.button:disabled {
  cursor: default;
  opacity: 1;
}

.contact {
  background: var(--white);
}

.contact h2 {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
}

.contact-form {
  width: min(730px, 100%);
  margin: 42px auto 34px;
  text-align: center;
}

.contact-form h3 {
  font-size: 1.5rem;
}

.contact-form label:not(.checkbox) {
  display: block;
  margin: 16px 0;
  text-align: left;
}

.contact-form label > span:not(.checkbox span) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input:not([type]) {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  padding: 0 16px;
  color: #3e3d3b;
  font: 1rem var(--sans);
}

.checkbox {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  margin: 24px 0 8px;
  text-align: left;
}

.checkbox input {
  width: 22px;
  height: 22px;
}

.fine-print {
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.78rem;
}

.customer-note,
.sms-note {
  text-align: center;
}

.sms-note {
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  width: min(640px, 100%);
  margin: 72px auto 0;
}

.contact-grid h3 {
  font-size: 1.55rem;
}

.hours {
  margin: 0;
}

.hours div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
}

.hours dt {
  font-weight: 700;
}

.hours dd {
  margin: 0;
}

.site-footer {
  display: grid;
  gap: 22px;
  place-items: center;
  padding: 42px 24px 58px;
  background: var(--white);
  border-top: 1px solid var(--line);
  color: #2e2d2b;
  text-align: center;
}

.site-footer a {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.consent {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.58);
}

.consent.is-visible {
  display: grid;
}

.consent__card {
  position: relative;
  width: min(516px, 100%);
  border-radius: 12px;
  padding: clamp(28px, 5vw, 42px);
  background: var(--white);
  color: #66635f;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  text-align: center;
}

.consent__card h2 {
  color: #74706c;
  font-family: var(--sans);
  font-size: clamp(1.8rem, 5vw, 2.2rem);
}

.consent__close {
  position: absolute;
  top: 16px;
  right: 18px;
  border: 0;
  background: transparent;
  color: #353535;
  font-size: 1.3rem;
  cursor: pointer;
}

.policy-page {
  background: var(--white);
}

.policy {
  padding: clamp(44px, 8vw, 78px) 0;
}

.policy h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
}

.policy h2 {
  margin-top: 34px;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.eyebrow {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .site-header {
    min-height: 62px;
  }

  .hero {
    min-height: 70vh;
    padding-bottom: 12vh;
  }

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

  .hours div {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
