:root {
  color-scheme: light;
  --paper: #fbfaf6;
  --ink: #1e322d;
  --body: #354d44;
  --quiet: #50645a;
  --pine: #245b49;
  --pine-hover: #173f33;
  --mint: #dfede3;
  --wash: #f0f3ec;
  --rule: #cbd4c9;
  --route-mid: #83ad96;
  --route-light: #b0cdb7;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Times New Roman", Times, "Liberation Serif", serif;
  --gutter: clamp(1.25rem, 5.6vw, 5.5rem);
  --section-space: clamp(3rem, 5.6vw, 5.25rem);
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.6 var(--sans);
}

h1, h2, h3, p, ol {
  margin: 0;
}

h1, h2, h3 {
  text-wrap: balance;
}

a {
  color: var(--pine);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--pine-hover);
  text-decoration-thickness: 2px;
}

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

[id] {
  scroll-margin-block: 1rem;
}

[hidden] {
  display: none !important;
}

::selection {
  color: var(--paper);
  background: var(--pine);
}

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

.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: absolute;
  z-index: 1;
  top: 0.75rem;
  left: var(--gutter);
  padding: 0.65rem 1rem;
  background: var(--paper);
}

.masthead {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  font-size: 1.5rem;
  font-weight: 720;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.masthead-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(1rem, 2.8vw, 2.75rem);
}

.masthead-nav a, .home-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--body);
  font-size: 0.9375rem;
  font-weight: 550;
  text-decoration: none;
}

.masthead-nav a:hover, .home-link:hover {
  color: var(--pine);
  text-decoration: underline;
}

.opening {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(20rem, 1fr);
  align-items: center;
  gap: clamp(2rem, 5.5vw, 5.5rem);
  padding-block: var(--section-space);
}

.introduction h1, .legal h1 {
  font: 400 clamp(2.75rem, 1.55rem + 4.5vw, 5.5rem)/1.02 var(--serif);
  letter-spacing: -0.04em;
}

.introduction {
  container-type: inline-size;
}

.introduction h1 {
  font-size: clamp(2.375rem, min(12.6cqi, 1.55rem + 4.5vw), 5.5rem);
}

.introduction h1 em {
  display: block;
  color: var(--pine);
}

.lead {
  max-width: 44ch;
  margin-top: 1.5rem;
  font-size: clamp(1.125rem, 0.98rem + 0.5vw, 1.375rem);
  line-height: 1.5;
  color: var(--body);
}

.contact {
  --inset: clamp(1.375rem, 2.3vw, 2.125rem);
  min-width: 0;
  padding: 0 var(--inset) var(--inset);
  border-radius: 0.875rem;
  background: var(--mint);
}

.route-drawing {
  position: relative;
  height: 5.75rem;
  overflow: hidden;
  margin-inline: calc(-1 * var(--inset));
  margin-bottom: 1.25rem;
  border-radius: 0.875rem 0.875rem 0 0;
}

/* Three concentric bends meet the top edge. The long line ends at the address block. */
.route-drawing i {
  --offset: 0rem;
  position: absolute;
  inset: -1px calc(12% + var(--offset)) calc(0.5rem + var(--offset)) var(--inset);
  color: var(--pine);
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  border-bottom-right-radius: calc(5.3rem - var(--offset));
}

.route-drawing i:first-child::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3125rem;
  width: 0.5625rem;
  height: 0.5625rem;
  background: var(--mint);
  border: 2px solid currentColor;
  border-radius: 50%;
}

.route-drawing i:nth-child(2) {
  --offset: 0.8rem;
  left: calc(var(--inset) + 20%);
  color: var(--route-mid);
}

.route-drawing i:nth-child(3) {
  --offset: 1.6rem;
  left: calc(var(--inset) + 34%);
  color: var(--route-light);
}

.contact h2 {
  max-width: 17ch;
  font: 400 clamp(1.875rem, 1.45rem + 0.9vw, 2.375rem)/1.1 var(--serif);
  letter-spacing: -0.025em;
}

.address {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 550;
  overflow-wrap: anywhere;
  -webkit-user-select: all;
  user-select: all;
}

.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 0.625rem;
  margin-top: 1.25rem;
}

.email-action, .copy-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 2.875rem;
  border-radius: 0.5rem;
  font: 600 0.9375rem/1.3 var(--sans);
  cursor: pointer;
}

.email-action {
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border: 1px solid transparent;
  color: white;
  background: var(--pine);
  text-decoration: none;
}

.email-action:hover, .email-action:active {
  background: var(--pine-hover);
  color: white;
}

.arrow {
  position: relative;
  width: 0.9em;
  height: 0.75em;
  flex-shrink: 0;
}

.arrow::before, .arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1px;
}

.arrow::before {
  width: 100%;
  border-top: 1.5px solid;
  transform: translateY(-50%);
}

.arrow::after {
  width: 0.5em;
  height: 0.5em;
  border: solid currentColor;
  border-width: 1.5px 1.5px 0 0;
  transform: translateY(-50%) rotate(45deg);
}

.copy-action {
  justify-content: flex-start;
  gap: 0.45rem;
  min-width: min(8.5rem, 100%);
  max-width: 100%;
  padding: 0.625rem 0.25rem;
  border: 0;
  color: var(--pine);
  background: transparent;
  font-size: 0.875rem;
}

.copy-action:hover, .copy-action:active {
  color: var(--pine-hover);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.copy-icon {
  position: relative;
  width: 0.85rem;
  height: 0.95rem;
  flex-shrink: 0;
}

.copy-icon::before, .copy-icon::after {
  content: "";
  position: absolute;
  width: 0.63rem;
  height: 0.73rem;
  border: 1.5px solid;
  border-radius: 2px;
  background: var(--mint);
}

.copy-icon::after {
  bottom: 0;
  right: 0;
}

.contact-hint {
  margin-top: 0.875rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--quiet);
}

.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.85fr);
  gap: clamp(2rem, 4vw, 4rem);
}

.services {
  padding-block: var(--section-space);
  border-top: 1px solid var(--rule);
}

.section-title {
  align-self: start;
  font: 400 clamp(2.125rem, 1.55rem + 1.85vw, 3.25rem)/1.1 var(--serif);
  letter-spacing: -0.035em;
}

.company-parts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  margin-block-start: clamp(1.5rem, 3vw, 2.5rem);
}

.company-part {
  padding-block-start: 1.125rem;
  border-top: 1px solid var(--rule);
  color: var(--body);
  text-wrap: pretty;
}

.company-part h3 {
  color: var(--ink);
}

.company-part h3, .legal-body h2 {
  font: 620 1.1875rem/1.4 var(--sans);
  letter-spacing: -0.02em;
}

.part-tag {
  margin-block: 0.125rem 1rem;
  color: var(--quiet);
  font-size: 0.875rem;
}

.company-part ul {
  margin-block: 1rem 0;
  padding-inline-start: 1.25rem;
}

.company-part li + li {
  margin-block-start: 0.5rem;
}

.company-part li::marker {
  color: var(--pine);
}

.list-label {
  margin-block-start: 1rem;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
}

.list-label + ul {
  margin-block-start: 0.375rem;
}

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

.start {
  padding-block: var(--section-space);
  background: var(--wash);
}

.steps {
  padding-inline-start: 1.5rem;
  font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem);
  color: var(--ink);
}

.steps li {
  padding-inline-start: 0.65rem;
}

.steps li + li {
  margin-top: 0.95rem;
}

.steps li::marker {
  color: var(--pine);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.data-note {
  margin-top: 2rem;
  padding-top: 1.125rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9375rem;
  color: var(--quiet);
}

.home-link {
  gap: 0.65rem;
}

.arrow-back {
  transform: rotate(180deg);
}

.legal {
  padding-block: var(--section-space);
}

.legal-heading p {
  margin-top: 1rem;
  color: var(--quiet);
  font-size: 0.9375rem;
}

.legal-body {
  max-width: 67ch;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.legal-body .legal-intro {
  color: var(--ink);
  font-size: 1.1875rem;
}

.legal-body h2 {
  margin-block: 2rem 0.55rem;
}

.legal-body a {
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 0.65rem;
  padding-block: 1.25rem;
  color: var(--quiet);
  font-size: 0.875rem;
}

.legal + .site-footer {
  border-top: 1px solid var(--rule);
}

.site-footer small {
  font-size: inherit;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
}

.site-footer [aria-current] {
  color: var(--ink);
  font-weight: 650;
}

@media (max-width: 48rem) {
  .opening, .two-columns, .company-parts {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .opening {
    padding-top: 2.75rem;
  }

  .masthead {
    min-height: 4.125rem;
  }

  .wordmark {
    font-size: 1.3125rem;
  }

  .masthead-nav a {
    font-size: 0.875rem;
  }

  .contact {
    --inset: 1.5rem;
  }

  .route-drawing {
    height: 4rem;
    margin-bottom: 1rem;
  }
}

@media (min-width: 36rem) and (max-width: 48rem) {
  .contact {
    position: relative;
    padding-top: var(--inset);
  }

  .contact h2 {
    max-width: 65%;
  }

  .route-drawing {
    position: absolute;
    top: 0;
    right: 0;
    width: 29%;
    height: 5.75rem;
    margin: 0;
  }
}

@media (forced-colors: active) {
  .email-action, .copy-action {
    border: 1px solid ButtonText;
  }
}
