:root {
  --ink: #14221F;
  --cream: #F6F1E6;
  --teal: #0F6E6A;
  --sand: #E3C48A;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Archivo", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
}

svg {
  display: block;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--sand);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-120%);
}

.skip-link:focus {
  transform: translateY(0);
}

.top-band {
  background: var(--ink);
  color: var(--cream);
  border-bottom: 8px solid var(--sand);
}

.top-inner,
.band-inner,
.footer-inner {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.top-inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.05;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.brand strong {
  color: var(--sand);
  font-size: 20px;
}

.brand svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: var(--sand);
  stroke-width: 3;
  stroke-linejoin: bevel;
  stroke-linecap: square;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-left: auto;
}

nav a,
.social-links a,
.footer-band a {
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

nav a {
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible,
.footer-band a:hover,
.footer-band a:focus-visible {
  color: var(--sand);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 3px solid var(--ink);
  border-radius: 0;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.button-sand {
  background: var(--sand);
  color: var(--ink);
  border-color: var(--sand);
}

.button-ink {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.band {
  position: relative;
  border-bottom: 8px solid var(--ink);
}

.band-inner {
  padding-block: clamp(72px, 9vw, 128px);
}

.hero-band {
  background: var(--sand);
  color: var(--ink);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  align-items: center;
  gap: clamp(36px, 7vw, 100px);
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .94;
}

h1 {
  max-width: 900px;
  margin-bottom: 28px;
  font-size: clamp(54px, 7.5vw, 112px);
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(42px, 5.2vw, 76px);
}

.lead {
  max-width: 690px;
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 600;
  line-height: 1.35;
}

.action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 36px;
}

.text-link {
  font-weight: 900;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.cabinet-drawing svg {
  width: 100%;
  height: auto;
}

.stroke-ink,
.line-ink {
  stroke: var(--ink);
  stroke-width: 12;
  stroke-linejoin: bevel;
}

.line-ink {
  fill: none;
}

.fill-cream {
  fill: var(--cream);
}

.fill-teal {
  fill: var(--teal);
}

.fill-sand {
  fill: var(--sand);
}

.fill-ink {
  fill: var(--ink);
}

.service-band {
  min-height: 550px;
  display: flex;
  align-items: center;
}

.service-one {
  background: var(--teal);
  color: var(--cream);
}

.service-two {
  background: var(--cream);
  color: var(--ink);
}

.service-three {
  background: var(--sand);
  color: var(--ink);
}

.service-four {
  background: var(--ink);
  color: var(--cream);
}

.service-content {
  width: 100%;
  display: flex;
  align-items: center;
  gap: clamp(40px, 8vw, 130px);
}

.service-copy {
  width: min(100%, 760px);
}

.service-copy p:last-child {
  max-width: 670px;
  margin-bottom: 0;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 600;
}

.align-left {
  justify-content: flex-start;
  text-align: left;
}

.align-right {
  justify-content: flex-end;
  text-align: right;
}

.align-right .service-copy p:last-child {
  margin-left: auto;
}

.service-icon {
  flex: 0 0 clamp(110px, 15vw, 190px);
}

.service-icon svg {
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linejoin: bevel;
  stroke-linecap: square;
}

.proof-band {
  background: var(--cream);
  color: var(--ink);
}

.proof-band h2 {
  max-width: 900px;
}

.proof-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 60px;
  border-top: 6px solid var(--ink);
  border-bottom: 6px solid var(--ink);
}

.proof-columns > div {
  padding: 34px 32px;
}

.proof-columns > div + div {
  border-left: 6px solid var(--ink);
}

.proof-columns strong {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(25px, 3vw, 39px);
  font-weight: 900;
  line-height: 1;
}

.proof-columns p {
  margin-bottom: 0;
}

.cta-band {
  background: var(--teal);
  color: var(--cream);
}

.cta-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(380px, 1.1fr);
  gap: clamp(50px, 8vw, 130px);
  align-items: start;
}

.cta-layout > div > p:not(.eyebrow) {
  max-width: 590px;
  font-size: 20px;
}

.contact-line {
  padding-top: 24px;
  border-top: 5px solid var(--cream);
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  padding: 32px;
  border: 6px solid var(--cream);
}

.quote-form label {
  align-self: end;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.quote-form input,
.quote-form select {
  width: 100%;
  min-height: 52px;
  padding: 10px 12px;
  background: var(--cream);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 0;
}

.quote-form label:nth-of-type(3),
.quote-form label:nth-of-type(4),
.quote-form input:nth-of-type(3),
.quote-form select,
.quote-form .button,
.form-status {
  grid-column: 1 / -1;
}

.quote-form .button {
  margin-top: 12px;
}

.form-status {
  min-height: 26px;
  margin: 4px 0 0;
  font-weight: 800;
}

.footer-band {
  background: var(--ink);
  color: var(--cream);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-block: 54px;
}

.footer-inner strong {
  color: var(--sand);
  font-size: 18px;
  text-transform: uppercase;
}

.footer-inner p {
  margin: 12px 0 0;
}

.social-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
}

.privacy-title-band {
  background: var(--sand);
  color: var(--ink);
}

.privacy-title-band h1 {
  font-size: clamp(54px, 8vw, 108px);
}

.privacy-copy-band {
  background: var(--cream);
  color: var(--ink);
}

.policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.policy-grid section {
  padding: 42px;
  border-top: 5px solid var(--ink);
}

.policy-grid section:nth-child(even) {
  border-left: 5px solid var(--ink);
}

.policy-grid h2 {
  font-size: clamp(30px, 3vw, 45px);
}

.policy-grid p {
  margin-bottom: 0;
}

:focus-visible {
  outline: 4px solid var(--sand);
  outline-offset: 4px;
}

.hero-band :focus-visible,
.service-three :focus-visible,
.proof-band :focus-visible,
.privacy-title-band :focus-visible,
.privacy-copy-band :focus-visible {
  outline-color: var(--teal);
}

@media (max-width: 900px) {
  .top-inner {
    flex-wrap: wrap;
    padding-block: 22px;
  }

  nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero-layout,
  .cta-layout {
    grid-template-columns: 1fr;
  }

  .cabinet-drawing {
    max-width: 560px;
    margin-inline: auto;
  }

  .service-content {
    gap: 36px;
  }

  .service-icon {
    flex-basis: 120px;
  }

  .proof-columns,
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .proof-columns > div:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 6px solid var(--ink);
    border-left: 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .top-inner,
  .band-inner,
  .footer-inner {
    width: min(100% - 30px, var(--max));
  }

  .top-cta {
    padding-inline: 14px;
    font-size: 14px;
  }

  nav {
    gap: 20px;
    font-size: 14px;
  }

  .band-inner {
    padding-block: 68px;
  }

  h1 {
    font-size: clamp(48px, 15vw, 72px);
  }

  h2 {
    font-size: clamp(39px, 12vw, 58px);
  }

  .service-band {
    min-height: 0;
  }

  .service-content,
  .align-right {
    flex-direction: column;
    align-items: stretch;
  }

  .align-right {
    text-align: right;
  }

  .align-right .service-icon {
    order: -1;
    align-self: flex-end;
  }

  .service-icon {
    width: 100px;
    flex-basis: auto;
  }

  .proof-columns,
  .footer-inner,
  .policy-grid,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .proof-columns > div + div,
  .proof-columns > div:nth-child(3) {
    grid-column: auto;
    border-top: 6px solid var(--ink);
    border-left: 0;
  }

  .policy-grid section {
    padding: 34px 0;
  }

  .policy-grid section:nth-child(even) {
    border-left: 0;
  }

  .quote-form {
    padding: 22px;
  }

  .quote-form label,
  .quote-form input,
  .quote-form select,
  .quote-form .button,
  .form-status {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}