* {
  box-sizing: border-box;
}
:root {
  --paper: #faf8f2;
  --ink: #22372b;
  --muted: #59645b;
  --line: #dedfd4;
  --accent: #2c4a37;
  --rust: #a4492e;
  --serif: "Haus Serif", Georgia, serif;
  --sans: "Haus Sans", "Segoe UI", Arial, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
@font-face {
  font-family: "Haus Serif";
  src: url(assets/serif.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Haus Sans";
  src: url(assets/sans.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:active,
.tile:active,
.category:active {
  transform: scale(0.98);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
select {
  border: 0;
  background: none;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #aa582e;
  outline-offset: 3px;
}
button,
a {
  touch-action: manipulation;
}
button {
  transition:
    background 0.15s,
    transform 0.15s;
}
svg.icon {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
}
#mast {
  border-bottom: 1px solid var(--line);
}
.mast-inner,
main,
.nav-inner {
  width: min(100%, 1080px);
  margin: auto;
}
.mast-inner {
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 400 36px/0.95 var(--serif);
  letter-spacing: -1.5px;
}
.brand img {
  width: 36px;
  height: 36px;
}
.mast-tools {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}
.language {
  display: flex;
  position: relative;
  align-items: center;
  gap: 4px;
}
.language select {
  appearance: none;
  position: absolute;
  inset: 0;
  cursor: pointer;
  width: 100%;
  opacity: 0;
}
.language:focus-within {
  outline: 2px solid var(--accent);
  border-radius: 20px;
}
.language .icon {
  width: 13px;
}
.round,
.language {
  border: 1px solid var(--line);
  border-radius: 30px;
  min-height: 42px;
  min-width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.language {
  padding: 0 11px;
  font-size: 12px;
  font-weight: 700;
}
.round .icon {
  width: 18px;
}
.member-control { position: relative; }
.member-avatar {
  width: 42px;
  height: 42px;
  padding: 0;
  overflow: hidden;
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  font-size: 16px;
  font-weight: 700;
}
.member-avatar img { width: 100%; height: 100%; object-fit: cover; }
.member-avatar[aria-expanded="true"] { box-shadow: 0 0 0 3px #dae5d7; }
.member-menu {
  position: absolute;
  z-index: 10;
  inset-block-start: calc(100% + 8px);
  inset-inline-end: 0;
  width: max-content;
  min-width: 198px;
  max-width: calc(100vw - 28px);
  padding: 5px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 9px 32px #22382b26;
  animation: member-menu-in 160ms ease-out;
  transform-origin: top right;
}
@keyframes member-menu-in {
  from { opacity: 0; transform: translateY(-4px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.member-menu :is(a, button) {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 44px;
  padding: 9px 13px;
  border-radius: 10px;
  text-align: start;
  font-size: 15px;
  font-weight: 600;
}
.member-menu :is(a, button):is(:hover, :focus-visible, [aria-current="page"]) {
  background: #eaf0e6;
}
.member-menu .icon { width: 19px; height: 19px; }
.member-menu button { margin-top: 3px; color: #84452f; }
.member-menu button:disabled { opacity: .6; }
.member-error {
  max-width: 220px;
  margin: 4px 10px 8px;
  color: #84452f;
  font-size: 14px;
}
#sync-message:not([hidden]) {
  position: fixed;
  z-index: 8;
  bottom: calc(80px + env(safe-area-inset-bottom));
  inset-inline: 12px;
  width: fit-content;
  max-width: min(90vw, 500px);
  margin-inline: auto;
  padding: 9px 14px;
  border-radius: 12px;
  color: #fff;
  background: #304638;
}
main {
  padding: 26px 32px 110px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.03;
}
h2 {
  font-size: clamp(28px, 3.3vw, 38px);
  line-height: 1.1;
}
.block {
  margin-top: 32px;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.link {
  color: var(--accent);
  display: inline-flex;
  gap: 4px;
  align-items: center;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}
.link .icon {
  width: 14px;
  height: 14px;
}
.rail {
  display: flex;
  gap: 12px;
  overflow: auto;
  scroll-snap-type: x mandatory;
  border-radius: 20px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar,
.chips::-webkit-scrollbar {
  display: none;
}
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
  flex: 0 0 100%;
  min-height: 350px;
  scroll-snap-align: start;
  color: #fff;
  border-radius: 20px;
  background: #344230;
}
.hero:before,
.tile:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero img,
.tile img,
.article-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero img {
  z-index: -2;
  object-position: 50% 54%;
}
.hero:before {
  background:
    linear-gradient(90deg, #151c14b8, transparent 82%),
    linear-gradient(0deg, #16201698, transparent 76%);
  z-index: -1;
}
.hero-copy {
  padding: 34px 40px;
  max-width: 80%;
}
.kicker {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 750;
}
.hero .kicker {
  color: #f7eacd;
}
.hero h2 {
  font-size: clamp(44px, 5.7vw, 74px);
  line-height: 0.99;
  margin: 12px 0 22px;
  max-width: 13ch;
  text-wrap: balance;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #f9f5e8;
  color: #21382b;
  border-radius: 24px;
  padding: 10px 15px;
  font-weight: 700;
  font-size: 13px;
}
.hero-cta .icon {
  width: 15px;
  height: 15px;
}
.dots {
  display: flex;
  gap: 2px;
  justify-content: center;
  margin-top: 2px;
}
.dots button {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  padding: 0;
}
.dots i {
  width: 6px;
  height: 6px;
  border-radius: 100px;
  background: #c2c4b7;
}
.dots [aria-current="true"] i {
  width: 20px;
  background: #426044;
}
.dots + .block {
  margin-top: 12px;
}
.categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.category {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 13px;
  background: #fffdf8;
  font-size: 15px;
  font-weight: 650;
}
.glyph {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
}
.clean {
  background: #e4ebdf;
  color: #3c6446;
}
.kitchen {
  background: #f6e6d9;
  color: #944c32;
}
.order {
  background: #f2eacf;
  color: #79652e;
}
.laundry {
  background: #e3e9ee;
  color: #4e6479;
}
.glyph .icon {
  width: 25px;
  height: 25px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 0.89;
  background: #415044;
  border-radius: 16px;
  color: white;
}
.tile:after {
  background: linear-gradient(
    0deg,
    rgba(14, 24, 17, 0.9),
    rgba(12, 20, 14, 0.38) 36%,
    transparent 72%
  );
  z-index: -1;
}
.tile img {
  z-index: -2;
  transition: transform 0.3s;
}
.tile:hover img {
  transform: scale(1.035);
}
.tile > a {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 15px;
}
.tile h3 {
  font: 400 clamp(21px, 2.1vw, 31px) / 1.04 var(--serif);
  letter-spacing: -0.025em;
  text-wrap: pretty;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.micro {
  font-size: 11px;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 650;
  margin-bottom: 7px;
  color: #fff7e5;
}
.micro .icon {
  width: 12px;
  height: 12px;
}
.bookmark {
  position: absolute;
  right: 8px;
  top: 8px;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #16221c87;
  color: white;
  backdrop-filter: blur(6px);
}
.bookmark .icon {
  width: 17px;
  height: 17px;
}
.bookmark[aria-pressed="true"] {
  background: #f3ebd6;
  color: var(--accent);
}
[aria-pressed="true"] .bookmark-shape {
  fill: currentColor;
}
.resume,
.note {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 17px;
  border-radius: 14px;
  background: #e8eee1;
}
.resume small {
  display: block;
  color: var(--muted);
  margin-bottom: 2px;
}
.resume .end {
  margin-left: auto;
}
.page-intro {
  padding: 10px 0 22px;
}
.page-intro p,
.count {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #bfc7b9;
  border-radius: 13px;
  background: #fffefa;
  padding: 0 12px;
}
.search input {
  border: 0;
  background: none;
  width: 100%;
  height: 48px;
  min-width: 0;
  outline: 0;
}
.search:focus-within {
  outline: 2px solid #57775b;
}
.search input:focus-visible {
  outline: none;
}
.chips {
  display: flex;
  gap: 7px;
  overflow: auto;
  scrollbar-width: none;
  margin: 14px 0;
}
.chip {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 25px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 650;
}
.chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.count {
  margin: 13px 0;
}
.empty {
  border: 1px dashed #c4cbbb;
  border-radius: 15px;
  text-align: center;
  padding: 32px 15px;
  color: var(--muted);
}
.empty p {
  margin-bottom: 14px;
}
.solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 23px;
  background: var(--accent);
  padding: 11px 18px;
  color: white;
  font-weight: 650;
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 650;
  font-size: 14px;
  margin: 0 0 15px;
  min-height: 32px;
}
.back .icon {
  width: 16px;
}
.article {
  max-width: 750px;
  margin: auto;
}
.article-cover {
  height: clamp(220px, 30vw, 330px);
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #dee4d9;
}
.article-cover .bookmark {
  top: 13px;
  right: 13px;
}
.article .byline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 10px;
  font-size: 13px;
  color: var(--muted);
}
.article .result-intro .byline {
  margin-top: 0;
}
.result-intro + .article-cover {
  margin-bottom: 24px;
}
.pill {
  border-radius: 18px;
  padding: 5px 11px;
  font-weight: 700;
  font-size: 12px;
}
.article h1 {
  font-size: clamp(35px, 5vw, 53px);
  max-width: 22ch;
}
.lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
  margin: 12px 0 22px;
}
.materials {
  background: #efece0;
  padding: 20px 24px;
  border-radius: 17px;
}
.materials h2,
.steps h2 {
  font-size: 28px;
}
.materials ul {
  padding-left: 20px;
  line-height: 1.7;
  margin: 10px 0 0;
}
.steps {
  margin-top: 26px;
}
.steps .section-head {
  align-items: center;
}
.progress-text {
  white-space: nowrap;
  color: var(--muted);
  font-size: 13px;
}
.step {
  border-top: 1px solid var(--line);
  padding: 17px 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.step button {
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #eeeade;
  border-radius: 50%;
  font-weight: 700;
}
.step button[aria-pressed="true"] {
  background: var(--accent);
  color: white;
}
.step h3 {
  font-size: 17px;
  line-height: 1.35;
  margin: 0 0 4px;
}
.step p,
.note p,
.refs {
  line-height: 1.55;
  font-size: 15px;
  color: var(--muted);
}
.note {
  align-items: flex-start;
  margin: 12px 0 20px;
}
.note strong {
  display: block;
  margin-bottom: 4px;
}
.refs {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.refs summary {
  cursor: pointer;
  font-weight: 650;
}
.refs a,
.video-link {
  display: block;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin: 9px 0;
}
.video-link {
  color: var(--accent);
  font-weight: 650;
}
.complete {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  font-weight: 650;
  color: var(--accent);
  margin: 4px 0 15px;
}
.complete .icon {
  width: 17px;
}
#nav {
  position: fixed;
  z-index: 10;
  bottom: 0;
  left: 0;
  width: 100%;
  border-top: 1px solid var(--line);
  background: rgba(250, 248, 242, 0.97);
  padding-bottom: env(safe-area-inset-bottom);
}
.nav-inner {
  display: flex;
  justify-content: center;
}
.nav-item {
  min-width: 125px;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #687168;
  font-weight: 600;
  font-size: 13px;
}
.nav-item[aria-current="page"] {
  color: #224733;
}
.nav-item[aria-current="page"] .nav-symbol {
  background: #e3eadb;
}
.nav-symbol {
  padding: 5px 10px;
  border-radius: 18px;
}
.nav-symbol svg {
  width: 21px;
  height: 21px;
}
@media (max-width: 760px) {
  .mast-inner {
    padding: 12px 18px;
  }
  .brand {
    font-size: 32px;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  main {
    padding: 17px 17px 95px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .hero {
    min-height: 306px;
  }
  .hero-copy {
    padding: 23px 21px;
    max-width: 93%;
  }
  .hero h2 {
    font-size: 48px;
    max-width: 10ch;
  }
  .hero img {
    object-position: 61% center;
  }
  .categories {
    gap: 7px;
  }
  .category {
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 9px 2px 10px;
    font-size: 12px;
    border: none;
    background: transparent;
  }
  .glyph {
    width: 52px;
    height: 49px;
  }
  .block {
    margin-top: 23px;
  }
  .section-head {
    margin-bottom: 12px;
  }
  .tile > a {
    padding: 12px;
  }
  .tile h3 {
    font-size: 23px;
  }
  .nav-item {
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 1px;
    min-height: 64px;
    font-size: 11px;
  }
  .round,
  .language {
    min-height: 38px;
    min-width: 38px;
  }
  .article-cover {
    height: 235px;
  }
  .materials {
    padding: 17px 18px;
  }
}
@media (max-width: 355px) {
  .mast-inner { padding-inline: 12px; gap: 6px; }
  .mast-tools { gap: 4px; }
  .member-avatar { width: 38px; height: 38px; }
  main {
    padding-inline: 12px;
  }
  .hero {
    min-height: 270px;
  }
  .hero h2 {
    font-size: 41px;
  }
  .tile h3 {
    font-size: 20px;
  }
  .category {
    font-size: 11px;
  }
  .brand {
    font-size: 29px;
  }
}
.tile, .category, .hero-cta {
  transition: transform 180ms ease-out;
}
.hero:active .hero-cta {
  transform: scale(.97);
}
.dots i {
  transition: width 240ms ease-out, background-color 200ms ease;
}
[hidden] {
  display: none !important;
}
.result-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 4px 0 12px;
}
.result-meta .count {
  margin: 0;
}
.sort select {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 6px;
  border-radius: 8px;
  max-width: 155px;
}
.how-photo {
  display: block;
  width: 100%;
  max-height: 245px;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 12px;
}
.how-detail {
  object-fit: contain;
}
.related {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 520px;
}
.empty p {
  margin-top: 9px;
}
.step > div {
  min-width: 0;
}
.garden {
  background: #e2ecd7;
  color: #49623d;
}
.step h3,
.materials li {
  overflow-wrap: anywhere;
}
.video-block {
  padding: 8px 0;
}
.video-block p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.video-link {
  overflow-wrap: anywhere;
}
.tile h3 {
  line-height: 1.08;
}
.tile {
  background: #334738;
}
.tile:after {
  background: linear-gradient(
    0deg,
    rgba(14, 24, 17, 0.93),
    rgba(14, 24, 17, 0.51) 39%,
    transparent 82%
  );
}
.categories {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
@media (max-width: 760px) {
  .categories {
    gap: 3px;
  }
  .category {
    font-size: clamp(10px, 3.1vw, 12px);
  }
  .glyph {
    width: min(48px, 100%);
  }
}
