@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/raleway-600.woff2") format("woff2");
}

@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/raleway-700.woff2") format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/opensans-400.woff2") format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/opensans-600.woff2") format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/opensans-700.woff2") format("woff2");
}

:root {
  --ink: #1c211f;
  --green: #316237;
  --green-dark: #214628;
  --slate: #2c3a46;
  --slate-dark: #1b2832;
  --paper: #f6f3ee;
  --sage: #d5e3e2;
  --sage-deep: #e7eeed;
  --line: #b7c9c6;
  --white: #fff;
  --focus: #1c211f;
  --wrap: 72rem;
  --font-body: "Open Sans", "Segoe UI", sans-serif;
  --font-display: "Raleway", "Trebuchet MS", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.8rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  border-left: 6px solid var(--green);
  padding-left: 0.75rem;
  margin-top: 0;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 1.3rem 0 0.45rem;
}

p,
ul,
ol,
dl,
figure,
blockquote {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 1.3rem;
}

li + li {
  margin-top: 0.35rem;
}

a {
  color: var(--green-dark);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 2px;
}

a:hover {
  text-decoration-thickness: 3px;
}

:focus {
  outline: none;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  background: var(--slate);
  color: var(--white);
  padding: 0.8rem 1rem;
  z-index: 20;
  text-decoration: underline;
}

.skip:focus {
  transform: none;
  top: 1rem;
}

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

.section {
  padding: 2.75rem 0;
}

.eyebrow {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prose > :last-child,
.stack > :last-child {
  margin-bottom: 0;
}

.note {
  margin: 0.5rem 0 0;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  padding: 0.7rem 0;
}

.logo {
  display: block;
  line-height: 0;
  flex: 0 0 auto;
}

.logo img {
  width: auto;
  height: 64px;
}

.nav-toggle {
  display: none;
  min-height: 48px;
  min-width: 48px;
  padding: 0.6rem 1rem;
  border: 2px solid var(--slate);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
}

.js .nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: inline-block;
  padding: 0.35rem 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration-thickness: 2px;
}

.site-nav a[aria-current="page"] {
  text-decoration-thickness: 4px;
  text-decoration-color: var(--green);
}

.hero {
  position: relative;
  background: var(--sage);
}

.hero-media {
  height: clamp(320px, 72vw, 520px);
}

.hero-media picture,
.page-hero picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media img,
.page-hero img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 42%;
}

.hero-panel {
  background: var(--white);
  border-left: 8px solid var(--green);
  padding: 1.4rem 1.2rem 1.5rem;
}

.hero-panel h1,
.hero-panel p:last-child {
  margin-bottom: 0;
}

.hero-panel h1 {
  font-size: clamp(2rem, 3vw, 2.75rem);
  overflow-wrap: break-word;
}

.hero-lead {
  margin: 0.85rem 0 0;
  font-size: 1.25rem;
}

.quick ul {
  display: grid;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}

.quick a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.25rem;
  padding: 0.9rem 1rem;
  text-align: center;
  background: var(--sage-deep);
  color: var(--ink);
  border: 2px solid var(--slate);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.quick a.is-primary {
  background: var(--slate);
  color: var(--white);
  border-color: var(--slate);
}

.quick a:hover {
  background: #d5e0df;
}

.quick a.is-primary:hover {
  background: var(--slate-dark);
}

.quick li + li a {
  border-top-width: 0;
}

.band-sage {
  background: var(--sage);
}

.band-paper {
  background: var(--paper);
}

.facts-line {
  font-size: 1.25rem;
  max-width: 65ch;
}

.split {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

.split figure,
.wide-figure {
  margin: 0;
}

.split img,
.wide-figure img,
.gallery img {
  display: block;
  width: 100%;
  height: auto;
}

figcaption {
  margin-top: 0.45rem;
  color: var(--ink);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.1rem;
  background: var(--slate);
  color: var(--white);
  border: 2px solid var(--slate);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 0.16em;
  cursor: pointer;
}

.button:hover {
  background: var(--slate-dark);
  border-color: var(--slate-dark);
  color: var(--white);
}

.button-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--slate);
}

.button-secondary:hover {
  background: var(--sage-deep);
  color: var(--ink);
  border-color: var(--slate);
}

.price-block + .price-block {
  margin-top: 2.5rem;
}

.price-block h3 {
  margin-bottom: 0.75rem;
}

.conditions {
  max-width: 68ch;
}

.table-scroll {
  overflow-x: auto;
  margin: 0 0 1rem;
}

.table-scroll:focus-visible {
  outline-offset: 2px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.cols-3 {
  min-width: 36rem;
}

caption {
  caption-side: top;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  padding: 0 0 0.7rem;
  color: var(--ink);
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--line);
}

thead th {
  background: #1f3a38;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
}

tbody th {
  background: var(--sage-deep);
  font-weight: 700;
  width: 42%;
}

td.num,
th.num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.scroll-hint {
  display: none;
  margin: 0 0 1rem;
}

.fact-grid {
  display: grid;
  gap: 1.5rem 2rem;
}

.fact-grid h3 {
  margin-bottom: 0.35rem;
}

.fact-grid ul {
  margin: 0;
}

.pair {
  display: grid;
  gap: 2rem;
}

.gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem 1rem;
}

.gallery figure {
  margin: 0;
}

.gallery button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.page-hero {
  background: var(--sage);
  height: clamp(200px, 38vw, 420px);
}

.page-hero img {
  object-position: center 55%;
}

.contact-lines {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.contact-lines a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
}

.form {
  display: grid;
  gap: 0.35rem;
  max-width: 40rem;
}

.form label {
  font-weight: 700;
  margin-top: 0.6rem;
}

.form input,
.form textarea {
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--slate);
  padding: 0.75rem 0.8rem;
  width: 100%;
  border-radius: 0;
}

.form .button {
  justify-self: start;
  margin-top: 0.4rem;
}

#form-status:empty {
  margin: 0;
}

address {
  font-style: normal;
}

.site-footer {
  background: var(--sage);
  padding: 2.5rem 0;
  border-top: 8px solid var(--green);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: var(--ink);
  font-weight: 700;
}

dialog {
  width: min(60rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 1rem;
  border: 3px solid var(--ink);
  background: var(--white);
  color: var(--ink);
}

dialog::backdrop {
  background: rgba(28, 33, 31, 0.75);
}

dialog img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(68dvh, 40rem);
  margin-inline: auto;
  background: #1c211f;
}

dialog figcaption {
  margin-top: 0.75rem;
}

.lightbox-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

@media (min-width: 700px) {
  .quick ul,
  .gallery,
  .fact-grid,
  .pair,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .quick ul {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .quick li + li a {
    border-top-width: 2px;
    border-left-width: 0;
  }
}

@media (min-width: 900px) {
  .section {
    padding: 4.25rem 0;
  }

  .hero-media {
    height: 760px;
  }

  .hero-media img {
    object-position: 70% 40%;
  }

  .hero-panel {
    position: absolute;
    left: max(1.25rem, calc((100% - 72rem) / 2));
    bottom: 2rem;
    width: min(40rem, 48vw);
    padding: 1.75rem 1.75rem 1.55rem;
  }

  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    align-items: center;
  }

  .split-flip > figure {
    order: 2;
  }

  .fact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .nav-toggle,
  .js .nav-toggle {
    display: none;
  }

  .header-inner {
    flex-wrap: nowrap;
  }

  .site-nav {
    display: block;
    margin-left: auto;
  }

  .site-nav ul {
    justify-content: flex-end;
  }

  .gallery {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 1099px) {
  .js .site-nav {
    display: none;
    flex: 1 0 100%;
    padding-bottom: 0.4rem;
  }

  .js .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .js .site-nav.is-open {
    display: block;
  }

  .js .site-nav a {
    display: block;
    padding: 0.85rem 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .scroll-hint {
    display: block;
  }
}

@media (forced-colors: active) {
  :focus-visible {
    outline: 3px solid Highlight;
  }

  .button,
  .quick a,
  .nav-toggle,
  .form input,
  .form textarea {
    border: 2px solid ButtonText;
  }

  .hero-panel,
  thead th {
    forced-color-adjust: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
