:root {
  color-scheme: light;
  --paper: #f7f5ec;
  --ink: #182d25;
  --muted: #465a4f;
  --forest: #1a4437;
  --green: #214f3e;
  --mint: #e7ede2;
  --cream: #fffbef;
  --yellow: #ffdf87;
  --brand-blue: #2537b8;
  --line: #c9cec0;
  --width: 68rem;
  --gutter: clamp(1rem, 5vw, 4rem);
  font: 100%/1.55 Inter, "Segoe UI", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

body, h1, h2, h3, p, dl, dd, figure {
  margin: 0;
}

a {
  color: inherit;
  text-underline-offset: 0.23em;
}

a:hover {
  text-decoration-thickness: 0.14em;
}

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

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

.skip {
  position: fixed;
  z-index: 2;
  inset: 0.8rem auto auto 0.8rem;
  padding: 0.65rem 0.9rem;
  background: var(--paper);
  translate: 0 calc(-100% - 1.6rem);
}

.skip:focus {
  translate: 0;
}

.header, .footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.2rem 1.1rem;
}

.header {
  padding-block: 0.72rem;
}

.brand {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.125rem;
  font-weight: 720;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand:hover {
  text-decoration: underline;
}

.brand-mark {
  display: grid;
  position: relative;
  width: 2.12rem;
  aspect-ratio: 1;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 0.42rem;
  background: var(--brand-blue);
  color: var(--yellow);
  forced-color-adjust: none;
}

.brand-mark span {
  width: 1.05rem;
  height: 2px;
  background: currentColor;
  rotate: -45deg;
}

.brand-mark::before, .brand-mark::after {
  position: absolute;
  content: "";
  width: 0.34rem;
  height: 0.34rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: var(--brand-blue);
}

.brand-mark::before {
  bottom: 0.4rem;
  left: 0.4rem;
}

.brand-mark::after {
  top: 0.4rem;
  right: 0.4rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(0.85rem, 3vw, 1.65rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.94rem;
  font-weight: 670;
  text-decoration: none;
}

.nav .nav-contact, .nav a:hover {
  text-decoration: underline;
}

.intro {
  background: var(--forest);
  color: var(--cream);
}

.intro-layout {
  display: grid;
  align-items: center;
  gap: 0.65rem;
  padding-block: clamp(2rem, 5.5vw, 3.5rem) 0.55rem;
}

.location {
  margin-bottom: 0.85rem;
  color: var(--yellow);
  font-size: 0.94rem;
  font-weight: 690;
}

h1 {
  font-size: clamp(2.1rem, 9.2vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.044em;
}

.lead {
  max-width: 39ch;
  margin-top: 1.2rem;
  color: #f1f4eb;
  font-size: clamp(1.02rem, 1.7vw, 1.19rem);
}

.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 100%;
  min-height: 3rem;
  padding: 0.62rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 750;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.intro .contact-button {
  margin-top: 1.35rem;
}

.contact-button:hover {
  background: #ffe9af;
  text-decoration: underline;
}

.intro :focus-visible {
  outline-color: var(--yellow);
}

.art {
  display: block;
  width: min(100%, 19rem);
  height: auto;
  margin-inline: auto;
}

.facts {
  display: grid;
  border-bottom: 1px solid var(--line);
}

.facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  flex-wrap: wrap;
  padding-block: 0.68rem;
}

.facts > div + div {
  border-top: 1px solid var(--line);
}

.facts dt, figcaption {
  color: var(--muted);
  font-size: 0.85rem;
}

.facts dd {
  margin-top: 0.16rem;
  color: var(--green);
  font-size: clamp(1.04rem, 2.4vw, 1.45rem);
  line-height: 1.2;
  font-weight: 770;
  letter-spacing: -0.038em;
}

h2 {
  font-size: clamp(1.55rem, 3.5vw, 2.25rem);
  font-weight: 770;
  letter-spacing: -0.043em;
  line-height: 1.15;
  text-wrap: balance;
}

h3 {
  font-size: 1.125rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

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

.workshop, .custom-layout, .questions, .contact {
  display: grid;
  gap: 1.3rem;
}

.workshop, .questions {
  padding-block: clamp(1.9rem, 4.3vw, 3rem);
}

.workshop p, .custom p, .questions p, .contact p {
  max-width: 53ch;
  margin-top: 0.55rem;
  color: var(--muted);
}

.steps {
  margin: 0;
  padding: 0;
  list-style-position: inside;
  border-top: 1px solid var(--line);
}

.steps li {
  padding: 0.82rem 0 0.9rem;
  border-bottom: 1px solid var(--line);
}

.steps li::marker {
  color: var(--green);
  font-weight: 750;
}

.steps h3 {
  display: inline;
  margin-left: 0.25rem;
}

.steps p {
  margin-top: 0.24rem;
  padding-left: 1.45rem;
}

.custom {
  border-radius: 0.38rem;
  background: var(--mint);
}

.custom-layout {
  align-items: center;
  padding: clamp(1.15rem, 4vw, 2.6rem);
}

.custom figure {
  width: min(100%, 24rem);
}

.custom img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #a9b7a8;
  border-radius: 0.25rem;
}

.custom figcaption {
  margin-top: 0.25rem;
}

.answers {
  border-top: 1px solid var(--line);
}

.answers details {
  border-bottom: 1px solid var(--line);
}

.answers summary {
  min-height: 2.75rem;
  padding: 0.72rem 0;
  font-weight: 700;
  cursor: pointer;
}

.answers summary::marker {
  color: var(--green);
}

.answers summary:hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.answers p {
  margin-top: 0;
  padding: 0 0 0.9rem 1rem;
}

.contact {
  align-items: center;
  gap: 0.9rem 2rem;
  padding: clamp(1.15rem, 3.8vw, 2.25rem);
  border-radius: 0.38rem;
  background: var(--mint);
}

.contact-email {
  justify-self: start;
}

.footer {
  padding-block: 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 36.99rem) {
  .nav li:not(:last-child) {
    display: none;
  }
}

@media (min-width: 37rem) {
  .header {
    padding-block: 0.95rem;
  }

  .facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .facts > div {
    display: block;
    padding-block: 1.15rem;
  }

  .facts > div + div {
    padding-inline: clamp(0.95rem, 3vw, 2.4rem) 0.55rem;
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}

@media (min-width: 45rem) {
  .intro-layout {
    grid-template-columns: minmax(0, 0.99fr) minmax(0, 1.01fr);
    gap: clamp(1.35rem, 4vw, 2.75rem);
    padding-block: clamp(1.5rem, 4vw, 2.6rem);
  }

  .intro-copy {
    padding-block: 0.7rem;
  }

  h1 {
    font-size: clamp(2.4rem, 5.6vw, 4.5rem);
  }

  .art {
    width: min(100%, 32rem);
  }

  .steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-block: 1px solid var(--line);
  }

  .steps li {
    padding: 0.9rem 1rem 1rem;
    border-bottom: 0;
  }

  .steps li:first-child {
    padding-left: 0;
  }

  .steps li + li {
    border-left: 1px solid var(--line);
  }

  .steps p {
    padding-left: 0;
    margin-top: 0.45rem;
  }

  .custom-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: clamp(1.6rem, 5vw, 4rem);
  }

  .custom figure, .contact-email {
    justify-self: end;
  }

  .contact {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (forced-colors: active) {
  .contact, .contact-button {
    border: 1px solid CanvasText;
  }
}
