:root {
  --ink: #20271f;
  --action: #263c31;
  --gutter: clamp(18px,4.3vw,72px);
  --focus: #006954;
  color-scheme: light;
}

body {
  background: #f4f4ec;
  color: var(--ink);
  font: 400 1rem/1.45 "DM Sans",Arial,sans-serif;
}

.mast {
  padding: 12px var(--gutter);
  border-bottom: 1px solid #9caa96;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(22px,2.6vw,38px);
  font-weight: 750;
  letter-spacing: -.075em;
  text-decoration: none;
  line-height: 1;
}

.brand svg {
  width: 1.12em;
  height: 1.12em;
}

.mast nav {
  display: flex;
  gap: clamp(12px,3vw,44px);
  align-items: center;
}

.mast nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: .4em;
  font-size: .92rem;
  text-decoration: none;
  font-weight: 600;
}

.mast nav a:last-child {
  border-bottom: 1px solid currentColor;
}

.kicker {
  font: 500 .73rem/1.3 "IBM Plex Mono",monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lab {
  padding: clamp(23px,3vw,54px) var(--gutter) clamp(36px,5vw,74px);
}

.lab-title {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(215px,28%);
  align-items: end;
  gap: 4px 25px;
  margin-bottom: clamp(17px,2vw,32px);
}

.lab-title .kicker {
  grid-column: 1/-1;
}

.lab-title h1,.form-frame h1,.guide h1 {
  font-weight: 650;
  font-size: clamp(3rem,7.9vw,8rem);
  line-height: .97;
  letter-spacing: -.085em;
}

.lab-title>p:last-child {
  max-width: 30ch;
  margin-bottom: 3px;
  font-size: clamp(.96rem,1.55vw,1.35rem);
  line-height: 1.35;
}

.sample-board {
  border: 1px solid #596550;
  background: #d3e3bc;
}

.slab {
  position: relative;
  overflow: hidden;
  height: clamp(235px,27vw,440px);
  background: #a28c74;
}

.slab img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}

.slab .reveal {
  animation: skim .35s cubic-bezier(.2,.65,.2,1) both;
}

.board-tag {
  position: absolute;
  left: clamp(13px,2vw,28px);
  top: clamp(13px,2vw,28px);
  padding: 5px 10px;
  background: #f4f4ec;
  color: #282c25;
  font: 500 .75rem "IBM Plex Mono",monospace;
}

.sample-desk {
  border-top: 1px solid #596550;
  display: grid;
  grid-template-columns: minmax(285px,1fr) minmax(260px,.95fr) auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(15px,2vw,30px);
}

.pick legend {
  font-size: .78rem;
  font-weight: 650;
  margin-bottom: 5px;
}

.pick>div {
  display: flex;
  gap: 4px;
}

.pick label span {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #64715f;
  padding: 8px clamp(9px,1.4vw,22px);
  font-size: .9rem;
  font-weight: 600;
}

.pick label:has(input:checked) span {
  background: #263c31;
  color: #fff;
  border-color: #263c31;
}

.sample-caption h2 {
  font-size: 1.3rem;
  letter-spacing: -.055em;
}

.sample-caption p {
  max-width: 47ch;
  font-size: .93rem;
}

.sample-desk>.bar-link {
  font-weight: 600;
  font-size: .87rem;
}

.services,.guide {
  padding: clamp(30px,5vw,76px) var(--gutter);
}

.services {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  border-top: 1px solid #99a494;
}

.services h2,.guide h2 {
  font-size: clamp(2.1rem,4.8vw,4rem);
  letter-spacing: -.065em;
  line-height: 1.08;
}

.service-list article {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6px 22px;
  border-top: 1px solid #768871;
  padding: 15px 0 22px;
}

.service-list h3 {
  font-size: 1.4rem;
  letter-spacing: -.04em;
}

.service-list .bar-link {
  grid-column: 2;
}

.guide-lead {
  max-width: 70ch;
  margin-bottom: 24px;
}

.guide-lead>p:last-child {
  max-width: 50ch;
  margin-top: 16px;
}

.guide .pick {
  margin: 12px 0 32px;
}

.guide-rows article {
  display: grid;
  grid-template-columns: clamp(140px,26vw,350px) 1fr;
  gap: clamp(18px,4vw,68px);
  align-items: center;
  border-top: 1px solid #98a88f;
  padding: 24px 0;
}

.guide-rows img {
  width: 100%;
  aspect-ratio: 1.4;
  object-fit: cover;
}

.guide-rows section>*+* {
  margin-top: 10px;
}

.guide-rows p {
  max-width: 57ch;
}

.guide-rows .link-action {
  margin-top: 18px;
}

.foot {
  background: #d3e3bc;
}

.form-frame {
  max-width: 780px;
}

.form-frame h1 {
  font-size: clamp(3.2rem,6vw,6rem);
  margin-top: 8px;
}

.submit-row {
  margin-top: 12px;
}

@keyframes skim {
  from {
    clip-path: polygon(0 0,10% 0,0 100%,0 100%);
  }
  to {
    clip-path: polygon(0 0,112% 0,100% 100%,0 100%);
  }
}

@media(max-width:800px) {
  .sample-desk {
    grid-template-columns: 1fr 1fr;
  }
  .sample-desk>.bar-link {
    grid-column: 1/-1;
    min-height: 44px;
  }
  .services {
    grid-template-columns: 1fr;
  }
}

@media(max-width:600px) {
  .mast {
    padding-block: 7px;
  }
  .mast nav {
    gap: 11px;
  }
  .mast nav a {
    font-size: .83rem;
  }
  .lab-title {
    display: block;
  }
  .lab-title h1 {
    margin: 9px 0 12px;
  }
  .lab-title>p:last-child {
    max-width: 35ch;
  }
  .sample-desk {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .sample-caption {
    min-height: 74px;
  }
  .sample-desk .pick {
    width: 100%;
  }
  .sample-desk .pick label {
    flex: 1;
  }
  .slab {
    height: clamp(184px,49vw,280px);
  }
  .service-list article {
    display: block;
  }
  .service-list p {
    margin: 6px 0;
  }
  .guide-rows article {
    grid-template-columns: 1fr;
  }
  .guide-rows img {
    aspect-ratio: 2.1;
  }
  .service-list .bar-link {
    min-height: 44px;
  }
  .mast nav .token-arrow {
    display: none;
  }
}
