:root {
  color-scheme: light;
  --paper: #f7f8f4;
  --sage: #eef3ea;
  --ink: #17251f;
  --forest: #264a3a;
  --line: #b2c1af;
  --trail: #995032;
  --space: clamp(2.5rem, 5vw, 4.75rem);
  color: var(--ink);
  background: var(--paper);
  font: 100%/1.55 Inter, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ol, dl, dt, dd { margin: 0; }
.wrap { width: min(100% - 2.5rem, 66rem); margin-inline: auto; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid #714025; outline-offset: 5px; }
.skip { position: absolute; top: -6rem; left: 1rem; z-index: 2; background: white; padding: .8rem 1.2rem; }
.skip:focus { top: .75rem; }
.masthead { position: relative; isolation: isolate; background: var(--sage); border-bottom: 1px solid var(--line); }
.masthead::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; inset: 0 0 0 auto;
  width: min(61%, 78rem); background: url("atlas.svg") center / 100% 100% no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 27%);
}
.mast .wrap, footer {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem 1.5rem; padding-block: 1.4rem;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 700; text-decoration: none; }
.mark {
  width: 2.3rem; height: 1.7rem; background: currentColor;
  clip-path: polygon(0 4%, 24% 4%, 32% 53%, 45% 22%, 54% 22%, 66% 53%, 76% 4%, 100% 4%, 80% 97%, 64% 97%, 50% 65%, 36% 97%, 19% 97%);
}
footer a:hover { color: var(--forest); text-decoration: underline; }
.hero .wrap {
  padding-block: clamp(1.8rem, 3.8vw, 3.6rem) clamp(2.1rem, 4vw, 4rem);
}
h1, h2, h3, dt { text-wrap: balance; }
h1 { font-size: clamp(3.55rem, 7vw, 6rem); font-weight: 600; letter-spacing: -.065em; line-height: .94; }
h1 span { display: block; color: var(--forest); }
.intro p { max-width: 31ch; margin-block: 1.4rem 1.7rem; font-size: clamp(1.06rem, 1.65vw, 1.27rem); }
.button {
  display: inline-block; padding: .85rem 1.25rem; border-radius: 2rem;
  color: white; background: var(--forest); font-weight: 650; text-decoration: none;
}
.button:hover { background: #19392b; }
.button:active { background: #11281d; box-shadow: inset 0 2px 3px rgb(7 28 18 / 32%); }
@media (prefers-reduced-motion: no-preference) {
  .button { transition: background-color 120ms ease-out; }
}
h2 { font-size: clamp(2rem, 3.6vw, 3.35rem); font-weight: 600; letter-spacing: -.06em; line-height: 1.04; }
dt, h3 { font-size: clamp(1.2rem, 1.85vw, 1.55rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.2; }
.section, .process, .contact { padding-block: var(--space); }
.services, .process ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(1.65rem, 3.2vw, 2.9rem); }
.services { gap: clamp(1.5rem, 3.3vw, 3.4rem); }
.services > div { border-top: 1px solid var(--line); padding-top: 1rem; }
dd, li p, .contact p { color: #34463b; }
dd, li p { margin-top: .55rem; }
.process { background: #e5eddf; }
.process ol { padding: 0; list-style: none; }
.process li { position: relative; padding: 1.3rem clamp(.75rem, 1.6vw, 1.5rem) 0; text-align: center; }
.process li:not(:last-child)::before, .process li::after { content: ""; position: absolute; top: 0; left: 50%; }
.process li:not(:last-child)::before { width: 100%; border-top: 1px solid #af775b; }
.process li::after { width: .5rem; height: .5rem; background: #e5eddf; border: 2px solid var(--trail); border-radius: 50%; transform: translate(-50%, -50%); }
.contact { display: grid; grid-template-columns: .95fr 1.05fr; gap: 2rem; }
.contact p { max-width: 50ch; }
.contact a { display: inline-block; max-width: 100%; margin-top: .75rem; color: var(--forest); font-size: clamp(1.1rem, 1.8vw, 1.45rem); overflow-wrap: anywhere; }
footer { border-top: 1px solid var(--line); }
footer a { padding-block: .35rem; }
/* Anchor the route to the centred text column on wide screens. */
@media (min-width: 68.5rem) {
  .masthead::before {
    left: calc(50% - 7.5rem);
    right: 0;
    width: auto;
    background-size: 72rem 100%;
    background-position: -15rem center;
    mask-image: linear-gradient(90deg, transparent, #000 11.25rem, #000 48rem, transparent 57rem);
  }
}
@media (max-width: 42rem) {
  .masthead::before {
    width: 52%; background-size: max(28rem, 100%) 100%;
    mask-image: linear-gradient(90deg, transparent, #0008 48%, #000d);
  }
  .intro p { max-width: min(26ch, 80%); }
  .services, .contact, .process ol { grid-template-columns: 1fr; }
  .services { gap: 1.3rem; }
  .process h2 { text-align: center; }
  .process ol { --step-gap: 2rem; row-gap: var(--step-gap); }
  .process li p { max-width: 36ch; margin-inline: auto; text-wrap: balance; }
  .process li:not(:last-child)::before {
    top: calc(100% + .5rem); height: calc(var(--step-gap) - .5rem); width: 1px;
    border: 0; background: #af775b; transform: translateX(-50%);
  }
  .contact { gap: 1.2rem; }
}
@media print {
  .skip, .button, footer a { display: none; }
  .masthead, .process { background: white; }
  .masthead::before { display: none; }
  .hero .wrap, .section, .process, .contact { padding-block: 1.2rem; }
}
