@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/barlow-condensed.woff2") format("woff2");
  font-weight: 600 800;
  font-display: swap;
}

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

:root {
  color-scheme: light;
  --ink: #182b2d;
  --muted: #3f5658;
  --paper: #f8f9f5;
  --surface: #edf1ed;
  --line: #c5d2d0;
  --dark: #09232a;
  --dark-deep: #061a20;
  --light: #f8f7ef;
  --light-muted: #d2e0de;
  --accent: #f6ad55;
  --accent-hover: #ffc17d;
  --green: #155760;
  --focus: #126571;
  --page-margin: clamp(20px, 7vw, 106px);
  --section-space: clamp(48px, 7vw, 102px);
  --ease-out: cubic-bezier(.22, 1, .36, 1);

  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-padding-top: 91px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { color: var(--dark-deep); background: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.hero :focus-visible, .delivery :focus-visible, .contact :focus-visible { outline-color: var(--accent); }

h1, h2, h3, p, ul, dl, dd { margin: 0; }
p { line-height: 1.55; }
h1, h2, h3, .work-title {
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: .98;
}
h1 { font-size: clamp(3.6rem, 6vw, 6rem); }
h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
h3, .work-title { font-size: clamp(1.7rem, 2.9vw, 2.2rem); }

.shell { width: min(1250px, calc(100% - var(--page-margin) * 2)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.section-head { display: grid; gap: 16px; max-width: 780px; margin-bottom: 32px; }
.section-head p { max-width: 58ch; color: var(--muted); }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 12px 16px;
  color: var(--dark-deep);
  background: var(--accent);
  font-weight: 700;
}

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

.header {
  position: sticky;
  z-index: 5;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-row {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 49px;
  gap: 10px;
  align-items: center;
  text-decoration: none;
}

.brand-main {
  display: inline-block;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 2.55rem;
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.04em;
  color: var(--green);
}

.brand-name {
  padding-left: 10px;
  border-left: 1px solid var(--line);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.13;
}

.desktop-nav, .footer nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 28px); }

.desktop-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-underline-offset: 5px;
  text-decoration: none;
  color: var(--muted);
  font-size: .94rem;
  font-weight: 600;
}

.desktop-nav a:hover { color: var(--ink); text-decoration: underline; }

.button, .inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 12px;
  font-size: .96rem;
  font-weight: 700;
  line-height: 1.22;
  text-decoration: none;
}

.button {
  min-height: 50px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: background-color 150ms, color 150ms;
}

.button-dark { color: var(--light); background: var(--dark); }
.button-dark:hover { background: var(--green); }
.button-accent { color: var(--dark-deep); background: var(--accent); }
.button-accent:hover { background: var(--accent-hover); }
.inline-link { justify-content: flex-start; width: fit-content; color: var(--green); text-underline-offset: 5px; }
.inline-link:hover { text-decoration: underline; }
.inline-light { color: var(--light); }
.arrow { display: inline-block; flex: 0 0 15px; width: 15px; height: 15px; position: relative; }
.arrow::before, .arrow::after { content: ""; position: absolute; }
.arrow::before { height: 1.5px; width: 11px; background: currentColor; top: 7px; left: 2px; transform: rotate(-45deg); }
.arrow::after { border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; width: 7px; height: 7px; right: 2px; top: 2px; }
.arrow-down { rotate: 135deg; }
.arrow-up { rotate: -45deg; }

.mobile-menu { display: none; }

.hero {
  position: relative;
  background: var(--dark);
  color: var(--light);
  padding-block: clamp(34px, 5vw, 70px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
}

.hero-copy { display: grid; align-content: center; justify-items: start; gap: 25px; }
.hero-copy p { max-width: 45ch; color: var(--light-muted); font-size: clamp(1rem, 1.5vw, 1.13rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; }

.hero-media {
  position: relative;
  isolation: isolate;
  align-self: stretch;
  overflow: hidden;
  aspect-ratio: 1.15;
  min-width: 0;
  min-height: 290px;
  border-radius: 5px;
  background: var(--dark-deep);
}

.hero-media-scroll { position: absolute; inset: -13% 0 -3%; }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: 47% 100%; }

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

.service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(18px, 2.5vw, 32px);
  background: var(--surface);
  border-radius: 5px;
}

.service p { color: var(--muted); }
.service .inline-link { margin-top: auto; }

.quote {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.quote-grid, .faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 6vw, 94px);
}

.quote-grid p, .faq-grid p { margin-top: 16px; color: var(--muted); max-width: 44ch; }
.quote-grid .button { margin-top: 23px; }
.quote-list { border-top: 1px solid var(--line); }

.quote-list div {
  display: grid;
  grid-template-columns: minmax(108px, .55fr) minmax(0, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.quote-list dt { font-size: 1rem; font-weight: 700; }
.quote-list dd { color: var(--muted); line-height: 1.5; }

.delivery { background: var(--green); color: var(--light); }
.delivery-inner, .contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(19px, 4.5vw, 65px);
}

.delivery-inner { padding-block: clamp(35px, 5vw, 64px); }
.delivery-inner h2 { font-size: clamp(2.25rem, 4.5vw, 3.35rem); }
.delivery-inner p, .contact-inner p { max-width: 64ch; color: var(--light-muted); margin-top: 13px; }
.delivery-inner .button, .contact-inner .button { flex: 0 0 auto; }

.work-list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.work-list li { border-bottom: 1px solid var(--line); }

.work-list a {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.2fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 78px;
  padding: 12px 9px;
  text-decoration: none;
  transition: background-color 150ms;
}

.work-list a:hover { background-color: var(--surface); }
.work-description { color: var(--muted); line-height: 1.45; }
.work-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green); }
.work-list a:hover .work-link { text-decoration: underline; text-underline-offset: 5px; }

.faq { background: var(--surface); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  min-height: 58px;
  padding-block: 12px;
  list-style: none;
  font-weight: 700;
}

.faq summary::-webkit-details-marker, .mobile-menu > summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-bottom: 2px solid var(--green);
  border-right: 2px solid var(--green);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 150ms var(--ease-out);
}

.faq details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.faq details p { padding-bottom: 18px; margin-top: 0; max-width: 64ch; }
.contact { background: var(--dark); color: var(--light); }
.footer { background: var(--paper); }

.footer-inner {
  display: flex;
  min-height: 106px;
  align-items: center;
  justify-content: space-between;
  gap: 20px 24px;
}

@media (max-width: 1000px) {
  :root { --page-margin: clamp(20px, 5vw, 50px); }
  .hero-grid { gap: 28px; }
}

@media (max-width: 830px) {
  :root { scroll-padding-top: 75px; }
  .header-row { min-height: 66px; gap: 10px; }
  .desktop-nav { display: none; }
  .header-cta { margin-left: auto; min-height: 44px; }
  .mobile-menu { display: block; }

  .mobile-menu > summary {
    display: flex;
    min-height: 44px;
    padding-inline: 11px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    border: 1px solid var(--line);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
  }

  .menu-icon {
    position: relative;
    flex: 0 0 14px;
    width: 14px;
    height: 11px;
  }

  .menu-icon::before, .menu-icon::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    height: 1.5px;
    top: 2px;
    background: currentColor;
  }

  .menu-icon::after { top: 8px; }
  .mobile-menu[open] .menu-icon::before { transform: translateY(3px) rotate(45deg); }
  .mobile-menu[open] .menu-icon::after { transform: translateY(-3px) rotate(-45deg); }

  .mobile-menu nav {
    position: absolute;
    inset-inline: var(--page-margin);
    top: calc(100% + 4px);
    display: grid;
    padding: 12px;
    gap: 3px;
    max-height: 68dvh;
    overflow: auto;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 4px;
    box-shadow: 0 9px 26px #071d2429;
  }

  .mobile-menu nav a:not(.button) {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 6px 9px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
  }

  .mobile-menu nav a:not(.button):hover { background: var(--surface); }
  .mobile-menu nav .button { margin-top: 4px; }
}

@media (max-width: 690px) {
  .hero-grid, .quote-grid, .faq-grid, .service-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { gap: 17px; }
  h1 { font-size: clamp(2.7rem, 10.9vw, 4.5rem); }
  .hero-media { min-height: 0; aspect-ratio: 1.31; }
  .hero-actions { gap: 4px 16px; }
  .delivery-inner, .contact-inner { align-items: flex-start; flex-direction: column; }
  .section-head { margin-bottom: 24px; }
  .quote-list div { grid-template-columns: minmax(83px, .5fr) minmax(0, 1fr); }
  .work-list a { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 15px 6px; }
  .footer-inner { padding-block: 16px; flex-wrap: wrap; }
  .footer nav { gap: 17px; flex-wrap: wrap; }
}

@media (max-width: 525px) {
  .header-cta { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  :root { scroll-behavior: smooth; }

  .hero-image {
    animation: hero-arrival 660ms var(--ease-out) both;
  }

  @keyframes hero-arrival {
    from { transform: scale(1.065); opacity: .86; }
    to { transform: scale(1); opacity: 1; }
  }

  @supports (animation-timeline: view()) {
    .hero { view-timeline: --hero-exit block; }
    .hero-media-scroll {
      --photo-shift: 6%;
      animation: photo-depth linear both;
      animation-timeline: --hero-exit;
      animation-range: exit 0% exit 100%;
    }

    @keyframes photo-depth {
      from { transform: translateY(0); }
      to { transform: translateY(var(--photo-shift)); }
    }
  }

  @media (max-width: 690px) {
    .hero-media-scroll { --photo-shift: 3%; }
  }
}

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