:root {
  color-scheme: light;
  --paper: #f5f3eb;
  --ink: #182c28;
  --muted: #52665b;
  --teal: #006d59;
  --line: #cecfc0;
  --peach: #ee825e;
  --cream: #fffdf5;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 var(--sans);
}
a {
  color: var(--teal);
  text-underline-offset: 0.23em;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid #ca5839;
  outline-offset: 4px;
}
.mast {
  border-bottom: 1px solid var(--line);
  padding: 16px max(5vw, calc((100vw - 1220px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--cream);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.57em;
  color: var(--ink);
  text-decoration: none;
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.055em;
  white-space: nowrap;
}
.brand small {
  font-size: 12px;
  letter-spacing: 0.005em;
  font-weight: 600;
  border-left: 1px solid var(--line);
  padding-left: 12px;
  margin-left: 3px;
  line-height: 1.25;
}
.brandmark {
  font: bold 22px/32px Georgia, serif;
  background: var(--teal);
  color: #f7e4ac;
  border-radius: 8px 8px 3px 3px;
  box-shadow: inset 0 -4px #004c41;
  text-align: center;
  width: 32px;
  height: 34px;
  display: inline-block;
}
.mast nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3.5vw, 40px);
}
.mast nav a {
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
  font-weight: 650;
}
.mast nav a:hover,
.mast nav a[aria-current="page"] {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.wrap {
  width: min(90%, 1220px);
  margin-inline: auto;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 43px;
  padding: 9px 17px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.35;
}
.btn.primary {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}
.btn:hover {
  box-shadow: 0 2px 0 #183b2929;
  filter: brightness(0.96);
}
.hero {
  padding: 50px 0 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5%;
}
.hero h1,
.guide-intro h1 {
  font: normal clamp(54px, 7.3vw, 104px) / 0.94 var(--serif);
  margin: 0;
  letter-spacing: -0.065em;
}
.hero h1 em {
  display: block;
  color: var(--teal);
  font-weight: normal;
}
.hero p {
  max-width: 41ch;
  font-size: clamp(16px, 1.6vw, 20px);
  margin: 24px 0;
  color: var(--muted);
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.room-plate {
  display: block;
  position: relative;
  text-decoration: none;
  margin: 0;
  overflow: hidden;
  border: 1px solid #c1ccba;
  border-radius: 14px;
  background-color: #e2e8d7;
  background-image: radial-gradient(#b7c4ac 0.8px, transparent 0.8px);
  background-size: 10px 10px;
}
.room-plate img {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: pixelated;
  margin: -7% 0 -2%;
}
.platebar {
  padding: 12px 18px;
  border-top: 1px solid #bfccb7;
  background: #eaf0df;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: #355545;
  font-size: 13px;
  font-weight: 700;
}
.workbench {
  border-top: 1px solid var(--line);
  padding: 30px 0 45px;
}
.sechead {
  display: flex;
  align-items: baseline;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 18px;
}
.sechead h2,
.guidebook h2 {
  font: normal clamp(32px, 4vw, 52px) / 1.05 var(--serif);
  letter-spacing: -0.05em;
  margin: 0;
}
.sechead a,
.textlink {
  font-weight: 650;
  font-size: 14px;
}
.kitgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.kitcard {
  display: block;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  background: var(--cream);
}
.kitcard:hover {
  border-color: var(--teal);
}
.swatch {
  height: 134px;
  display: grid;
  place-content: center;
  overflow: hidden;
  background: #d9e5d8;
}
.swatch img {
  image-rendering: pixelated;
  object-fit: contain;
  width: 120px;
  height: 130px;
  display: block;
}
.swatch.floor {
  background: #e9d8bc;
}
.swatch.wall {
  background: #e3d8cb;
}
.swatch.floor img {
  width: 120px;
  height: auto;
}
.swatch.wall img {
  height: 95px;
}
.cardlabel {
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.cardlabel strong {
  font: normal 24px/1.1 var(--serif);
  letter-spacing: -0.035em;
}
.cardlabel span {
  font: 12px/1.4 var(--sans);
  color: var(--muted);
}
.footer {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding: 21px 0 30px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer a {
  color: var(--muted);
}
.guide-intro {
  padding: 52px 0 26px;
}
.guide-intro h1 {
  font-size: clamp(52px, 7vw, 82px);
}
.guide-intro p {
  max-width: 62ch;
  color: var(--muted);
  font-size: 18px;
}
.guidebook {
  display: grid;
  grid-template-columns: 190px minmax(0, 760px);
  gap: clamp(24px, 6vw, 86px);
  border-top: 1px solid var(--line);
  padding: 32px 0;
}
.guidebook aside {
  align-self: start;
  position: sticky;
  top: 24px;
  display: grid;
  gap: 10px;
}
.guidebook aside a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.guidebook section {
  scroll-margin-top: 20px;
  border-bottom: 1px solid var(--line);
  padding: 4px 0 28px;
  margin-bottom: 30px;
}
.guidebook h2 {
  font-size: 38px;
}
.guidebook h3 {
  font-size: 19px;
  margin: 24px 0 6px;
}
.guidebook p {
  margin: 12px 0;
}
.guidebook ul,
.guidebook ol {
  padding-inline-start: 22px;
}
.guidebook li + li {
  margin-top: 8px;
}
.recipe {
  margin: 12px 0;
  padding: 15px 20px;
  background: #e7ecdf;
  color: #294738;
  border-left: 3px solid var(--teal);
  border-radius: 0 5px 5px 0;
}
.recipe p {
  margin: 0;
}
.details-link {
  margin-left: auto;
}
@media (max-width: 740px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
  }
  .hero h1 {
    font-size: clamp(52px, 10vw, 72px);
  }
  .hero h1 em {
    display: inline;
  }
  .hero p {
    margin: 16px 0;
  }
  .room-plate {
    width: min(100%, 520px);
  }
  .room-plate img {
    margin: -10% 0 -6%;
  }
  .kitgrid {
    gap: 10px;
  }
  .cardlabel {
    display: grid;
    padding: 12px;
  }
  .swatch {
    height: 104px;
  }
  .swatch img {
    height: 100px;
  }
  .guidebook {
    display: block;
  }
  .guidebook aside {
    position: static;
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 24px;
  }
  .brand small {
    display: none;
  }
}
@media (max-width: 490px) {
  .mast {
    gap: 8px;
    padding: 12px 5%;
  }
  .brand {
    font-size: 17px;
  }
  .brandmark {
    width: 26px;
    height: 29px;
    line-height: 27px;
    font-size: 18px;
  }
  .mast nav {
    gap: 14px;
  }
  .mast nav a {
    font-size: 12px;
  }
  .kitgrid {
    grid-template-columns: 1fr;
  }
  .kitcard {
    display: grid;
    grid-template-columns: 90px 1fr;
  }
  .swatch {
    height: 80px;
  }
  .swatch img,
  .swatch.wall img {
    height: 80px;
  }
  .swatch.floor img {
    width: 76px;
    height: auto;
  }
  .cardlabel {
    display: flex;
    flex-wrap: wrap;
  }
  .cardlabel strong {
    font-size: 22px;
  }
  .sechead {
    align-items: end;
  }
  .sechead a {
    max-width: 120px;
  }
  .footer {
    flex-wrap: wrap;
  }
}
.copy-recipe {
  margin-bottom: 8px;
}
#copy-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.guide-example {
  margin: 16px 0 16px 20px;
  float: right;
  width: 140px;
  text-align: center;
  background: #e2e8d7;
  border: 1px solid #c1ccba;
  border-radius: 7px;
  overflow: hidden;
}
.guide-example img {
  max-width: 100%;
  height: 78px;
  object-fit: contain;
  image-rendering: pixelated;
  display: block;
  margin: auto;
}
.guide-example figcaption {
  font-size: 11px;
  padding: 4px 6px;
  background: #ebefdf;
  color: #355545;
}
.guidebook .recipe {
  clear: both;
}
.swatch:not(.floor):not(.wall) img {
  transform: translateY(-18%) scale(1.25);
}
@media (max-width: 740px) {
  .hero h1 em {
    display: block;
  }
  .room-plate img {
    margin-bottom: -2%;
  }
  .mast nav a {
    display: flex;
    align-items: center;
    min-height: 40px;
  }
}
@media (max-width: 490px) {
  .brand {
    display: grid;
    grid-template-columns: 26px auto;
    gap: 0 6px;
    grid-template-rows: 17px 12px;
  }
  .brandmark {
    grid-row: 1/3;
  }
  .brand small {
    display: block;
    grid-column: 2;
    border: 0;
    padding: 0;
    margin: 0;
    font-size: 8px;
    letter-spacing: 0.01em;
  }
  .mast {
    padding-block: 7px;
  }
  .guide-example {
    width: 108px;
    margin: 10px 0 10px 12px;
  }
}
