@font-face {
  font-family: 'Barlow Semi Condensed';
  src: url('assets/barlow-semi-condensed-700.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('assets/dm-sans.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #081f34;
  --body: #253d50;
  --muted: #495f71;
  --rule: #c6cfd3;
  --paper: #f4f6f3;
  --white: #fff;
  --yellow: #ffcf30;
  --yellow-hover: #f4ba13;
  --heading: 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
  --page-width: 76rem;
  --gutter: clamp(1.125rem, 5vw, 5rem);
  --section-space: clamp(3.125rem, 6.3vw, 6rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font: 400 1rem/1.55 'DM Sans', system-ui, sans-serif;
}

[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, p, ul { margin: 0; }
button { font: inherit; }
a { color: inherit; }

h1, h2 {
  font-family: var(--heading);
  font-weight: 700;
  letter-spacing: -.028em;
}

h1 { font-size: clamp(2.7rem, 14.25cqi, 5.5rem); line-height: .95; }
h1 span { display: block; }
h2 { font-size: clamp(2.65rem, 4.7vw, 4.125rem); line-height: .99; }

:focus-visible {
  outline: 3px solid #1765a5;
  outline-offset: 4px;
}

.price-sheet :focus-visible,
.quote-section :focus-visible { outline-color: var(--yellow); }

section[id] { scroll-margin-block-start: 1.5rem; }

.wrap {
  width: min(var(--page-width), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 3;
  top: .5rem;
  left: .5rem;
  padding: .7rem 1rem;
  background: var(--yellow);
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--rule); }

.header-inner {
  min-height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.brand { display: block; flex: 0 0 auto; }
.brand img { width: clamp(9.75rem, 17vw, 13.75rem); }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.125rem, 3vw, 2.75rem);
  font-weight: 700;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
  text-underline-offset: .25em;
}

.site-nav a:hover { text-decoration: underline; }

.nav-phone {
  padding-inline-start: clamp(1.125rem, 3vw, 2.75rem);
  border-inline-start: 1px solid var(--rule);
  white-space: nowrap;
}

.menu-toggle { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.11fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3rem);
  padding-block: clamp(2.6rem, 5.25vw, 5rem);
}

.hero-copy {
  container-type: inline-size;
  padding-block-end: 1.125rem;
}

.paint-line {
  display: block;
  width: min(80%, 23rem);
  height: clamp(.45rem, 1.2vw, .9rem);
  margin-block: clamp(.9rem, 2.6vw, 1.8rem) clamp(1rem, 2.75vw, 1.875rem);
  background: var(--yellow);
  clip-path: polygon(0 73%, 9% 49%, 34% 19%, 66% 0, 88% 9%, 100% 35%, 84% 40%, 62% 49%, 31% 72%, 9% 91%, 0 100%);
}

.hero-copy p {
  max-width: 25ch;
  color: var(--body);
  font-size: clamp(1.125rem, 2.1vw, 1.625rem);
  line-height: 1.33;
}

.button {
  display: inline-flex;
  min-height: 3.375rem;
  justify-content: center;
  align-items: center;
  padding: .75rem 1.5rem;
  border-radius: .2rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease;
}

.button-yellow { color: var(--ink); background: var(--yellow); }
.button-yellow:hover { background: var(--yellow-hover); }
.button-yellow:active { background: #edb00d; }

.hero .button {
  min-width: 13rem;
  margin-block-start: clamp(1.25rem, 2.4vw, 1.875rem);
  font-size: 1.0625rem;
}

.hero-figure img { width: 100%; background: #e4d1bc; }

.hero-figure figcaption {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-block-start: .6rem;
  color: var(--muted);
  font-size: .875rem;
}

.hero-figure figcaption::after {
  content: '';
  flex: 1;
  border-top: 1px solid var(--rule);
}

.service-sheet {
  border-block: 1px solid #dce2de;
  background: var(--paper);
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6.25rem);
  padding-block: var(--section-space);
}

.service-list, .industry-list {
  list-style: none;
  padding: 0;
}

.service-list { margin-top: 1.375rem; }

.service-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  gap: .25rem 1rem;
  padding-block: .87rem;
  border-bottom: 1px solid var(--rule);
  line-height: 1.4;
}

.service-list li:first-child { border-top: 1px solid var(--rule); }
.service-list span { color: var(--body); }

.price-sheet {
  padding: clamp(1.4rem, 3.4vw, 2.8rem);
  color: var(--white);
  background: var(--ink);
}

.price-sheet h2 { font-size: clamp(2.6rem, 4.2vw, 3.75rem); }

.price-sheet table {
  width: 100%;
  margin-top: 1rem;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  text-align: left;
}

.price-sheet th, .price-sheet td {
  padding: .65rem .25rem .65rem 0;
  border-bottom: 1px solid #496072;
}

.price-sheet thead { color: #c6d3dc; font-size: .875rem; }
.price-sheet thead th { font-weight: 500; }
.price-sheet tbody th { font-weight: 500; }

.price-sheet td, .price-sheet thead th:last-child {
  padding-inline: .25rem 0;
  text-align: right;
}

.price-sheet td {
  font-family: var(--heading);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.price-sheet p { margin-top: 1rem; color: #e0e8ed; }

.text-link {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .24em;
}

.text-link:hover { text-decoration-thickness: 2px; }

.price-sheet .text-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  margin-block: .25rem -.5rem;
  color: var(--yellow);
}

.coverage {
  display: grid;
  grid-template-columns: minmax(0, 1.11fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6.25rem);
  padding-block: var(--section-space);
}

.coast-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #a8cddd;
}

.coast-figure figcaption {
  margin-top: .375rem;
  color: var(--muted);
  font-size: .8125rem;
}

.coast-figure a {
  display: inline-flex;
  min-height: 1.5rem;
  align-items: center;
  text-underline-offset: .2em;
}

.coverage p, .quote-section p {
  margin-top: 1rem;
  max-width: 40ch;
  color: var(--body);
  font-size: 1.0625rem;
}

.industry-list { margin-top: 1rem; }

.industry-list li {
  position: relative;
  padding: .45rem 0 .45rem 1rem;
  border-bottom: 1px solid var(--rule);
}

.industry-list li::before {
  position: absolute;
  inset: .99em auto auto 0;
  width: .33rem;
  height: .33rem;
  background: var(--ink);
  content: '';
}

.faq-section { border-top: 1px solid var(--rule); }

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(1.5rem, 6vw, 6.25rem);
  padding-block: var(--section-space);
}

.questions { border-top: 1px solid var(--rule); }
.questions details { border-bottom: 1px solid var(--rule); }

.questions summary {
  position: relative;
  display: block;
  padding: 1rem 2.5rem 1rem 0;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

.questions summary::-webkit-details-marker { display: none; }

.questions summary::before,
.questions summary::after {
  position: absolute;
  top: 1.75rem;
  right: .5rem;
  width: .875rem;
  height: 2px;
  background: currentColor;
  content: '';
}

.questions summary::after {
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

.questions [open] summary::after { transform: rotate(0); }
.questions summary:hover { color: #0e5688; }

.questions p {
  max-width: 60ch;
  padding: 0 1.75rem 1.25rem 0;
  color: var(--body);
}

.quote-section { color: var(--white); background: var(--ink); }
.quote-section p { color: #e0e8ed; }

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.75rem, 6vw, 6.25rem);
  padding-block: clamp(2.75rem, 5.5vw, 5rem);
}

.quote-contact {
  display: grid;
  justify-items: start;
  font-style: normal;
}

.quote-contact .button { margin-bottom: .75rem; }

.quote-contact .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

.quote-email { overflow-wrap: anywhere; }

.site-footer { color: var(--muted); font-size: .875rem; }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .25rem 1rem;
  min-height: 4.25rem;
  padding-block: .4rem;
}

.footer-inner a { display: inline-flex; align-items: center; min-height: 2.75rem; }

@media (max-width: 63rem) {
  .service-list li { grid-template-columns: 1fr; }
}

@media (max-width: 53rem) and (min-width: 43.001rem) {
  .hero { gap: 1rem; }
  .service-layout { gap: 1.75rem; }
  .coverage { gap: 1.75rem; }
}

@media (max-width: 43rem) {
  .header-inner { flex-wrap: wrap; gap: 0 1rem; min-height: 4.375rem; }
  .brand { margin-block: .8rem; }

  .menu-toggle {
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    padding: .5rem 0 .5rem .5rem;
    border: 0;
    min-height: 2.75rem;
    color: var(--ink);
    background: none;
    cursor: pointer;
    font-weight: 700;
  }

  .menu-icon {
    position: relative;
    width: 1rem;
    height: .75rem;
    border-block: 2px solid currentColor;
  }

  .menu-icon::after {
    position: absolute;
    inset: calc(50% - 1px) 0 auto;
    border-top: 2px solid currentColor;
    content: '';
  }

  .site-nav {
    display: grid;
    gap: 0;
    flex-basis: 100%;
    padding-block: .375rem .75rem;
    border-top: 1px solid var(--rule);
  }

  .site-nav a { padding-inline: .125rem; }
  .nav-phone { border: 0; }

  .hero, .service-layout, .coverage, .faq-layout, .quote-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    gap: 1.375rem;
    padding-block: clamp(1.6rem, 5.5vw, 2.25rem) 1.875rem;
  }

  .hero-copy { padding: 0; }

  h1 { font-size: clamp(2.55rem, 10.8vw, 4.85rem); }

  .hero .button { width: min(100%, 25rem); min-width: 0; }
  .hero-figure img { max-height: 27rem; object-fit: cover; object-position: 50% 56%; }
  .coverage > div { grid-row: 1; }
  .service-list { margin-top: 1.125rem; }
  .price-sheet { padding: clamp(1.25rem, 5vw, 2.2rem); }
}

@media (max-width: 22rem) {
  h1 { font-size: clamp(2.15rem, 10.4vw, 2.55rem); }
  .header-inner { gap: 0 .5rem; }
  .brand img { width: 9.375rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.guides-section {
  border-top: 1px solid var(--rule);
  background: var(--paper);
}

.guides-layout {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: clamp(1.5rem, 6vw, 6.25rem);
  padding-block: var(--section-space);
}

.guide-list {
  padding: 0;
  border-top: 1px solid var(--rule);
  list-style: none;
}

.guide-list li {
  padding-block: 1rem;
  border-bottom: 1px solid var(--rule);
}

.guide-list h3 {
  margin: 0 0 .25rem;
  font-size: 1.125rem;
  line-height: 1.35;
}

.guide-list p { color: var(--body); }

.guide-page {
  max-width: 47rem;
  padding-block: var(--section-space);
}

.guide-page h1 {
  font-size: clamp(2.75rem, 6.7vw, 5rem);
  line-height: 1;
}

.guide-back {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  margin-block: -.65rem 1rem;
}

.guide-lead {
  margin-top: 1.3rem;
  color: var(--body);
  font-size: clamp(1.125rem, 2.1vw, 1.375rem);
}

.guide-byline {
  margin-top: 1rem;
  color: var(--muted);
  font-size: .875rem;
}

.guide-prose {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--rule);
  color: var(--body);
}

.guide-prose h2, .guide-quote h2 {
  font-size: clamp(1.9rem, 4vw, 2.875rem);
  line-height: 1.04;
  color: var(--ink);
}

.guide-prose section + section { margin-top: 2.125rem; }
.guide-prose h2 + :is(p, ul), .guide-prose p + :is(p, ul) { margin-top: .75rem; }
.guide-prose ul { padding-inline-start: 1.25em; }
.guide-prose li + li { margin-top: .45rem; }

.guide-quote {
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border-top: 4px solid var(--yellow);
  background: var(--paper);
}

.guide-quote p { margin-block: .65rem 1rem; }
.guide-page > .button { margin-top: 1.5rem; }

@media (max-width: 43rem) {
  .guides-layout { grid-template-columns: minmax(0, 1fr); }
}
