:root {
  --paper: #EEECE3;
  --card: #F6F4EC;
  --highway: #36533A;
  --highway-deep: #2B4430;
  --asphalt: #1E271F;
  --verge: #8DB381;
  --line: #CFCCBE;
  --ink: #1E271F;
  --ink-soft: #4C574C;

  --font-sign: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-text: 'Schibsted Grotesk', system-ui, sans-serif;

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 72rem;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

a { color: inherit; }

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

/* Route marker: the logo mark */
.marker {
  display: inline-grid;
  place-items: center;
  background: var(--highway);
  color: var(--card);
  font-family: var(--font-sign);
  font-weight: 700;
  line-height: 1;
  position: relative;
  flex-shrink: 0;
}
.marker::after {
  content: "";
  position: absolute;
  border: 1.5px solid rgba(246, 244, 236, .35);
}
.marker--sm {
  width: 2.5rem; height: 2.5rem;
  border-radius: .6rem;
  font-size: 1.45rem;
}
.marker--sm::after { inset: 3px; border-radius: .45rem; border-width: 1px; }
.marker--xl {
  width: min(22rem, 70vw);
  aspect-ratio: 1;
  border-radius: 18%;
  font-size: min(13rem, 42vw);
  letter-spacing: -.01em;
  box-shadow: 0 1px 0 var(--highway-deep), 0 24px 48px -24px rgba(30, 39, 31, .45);
}
.marker--xl::after { inset: 5%; border-radius: 14%; border-width: 3px; }
.marker > span { transform: translateY(.03em); }

/* Header */
.site-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.brand__name {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -.01em;
  line-height: 1.1;
}
.brand__name small {
  display: block;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--highway);
}
.header-link {
  font-weight: 500;
  text-decoration-color: var(--verge);
  text-underline-offset: .25em;
  text-decoration-thickness: 2px;
}
.header-link:hover { color: var(--highway); }

/* Hero */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 9vw, 7rem) var(--gutter) clamp(4rem, 10vw, 8rem);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  font-weight: 700;
  max-width: 18ch;
}
.lede {
  margin-top: 1.5rem;
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 34rem;
}
.hero__sign { display: flex; justify-content: center; }

.button {
  display: inline-block;
  margin-top: 2rem;
  padding: .85rem 1.3rem;
  background: var(--highway);
  color: var(--card);
  font-weight: 500;
  text-decoration: none;
  border-radius: .6rem;
  overflow-wrap: anywhere;
}
.button:hover { background: var(--highway-deep); }

/* Services */
.services {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(4rem, 9vw, 7rem);
}
.services h2 {
  font-size: 1.5rem;
  letter-spacing: -.01em;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--highway);
}
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 5vw, 4rem);
}
.service-list li {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}
.service-list h3 {
  font-size: 1.2rem;
  letter-spacing: -.01em;
  margin-bottom: .4rem;
}
.service-list p {
  color: var(--ink-soft);
  max-width: 32rem;
}

/* Contact */
.contact {
  background: var(--asphalt);
  color: var(--card);
}
.contact__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 6.5rem) var(--gutter);
}
.contact h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.contact p {
  margin-top: 1rem;
  color: #C9CFC4;
  max-width: 34rem;
}
.contact__email {
  display: inline-block;
  margin-top: 2rem;
  font-size: clamp(1.25rem, 3.4vw, 2.2rem);
  font-weight: 700;
  color: var(--verge);
  text-decoration-thickness: 2px;
  text-underline-offset: .2em;
  overflow-wrap: anywhere;
}
.contact__email:hover { color: var(--card); }

/* Footer */
.site-footer {
  background: var(--asphalt);
  color: #8E978C;
  border-top: 1px solid #334034;
}
.site-footer p {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem var(--gutter);
  font-size: .9rem;
}

/* Small screens */
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero__sign { order: -1; justify-content: flex-start; }
  .marker--xl { width: 7rem; font-size: 4.2rem; border-radius: 1.2rem; }
  .marker--xl::after { border-width: 2px; border-radius: .9rem; }
  .service-list { grid-template-columns: 1fr; }
  .header-link { font-size: .95rem; }
}
