/* The existing clay palette and type carry from the directory into the journey. */
.clay-home .clay-bar {
  background: #fbf4ea; border-bottom: 1px solid #d9c8b6;
  padding-inline: max(var(--pad), calc((100% - 1400px) / 2));
}
.clay-home .clay-enter { color: var(--cream); }
.tool-home {
  --rule: #cbb9a7; --paper: #fbf4ea;
  background: var(--paper); padding: 68px max(var(--pad), calc((100% - 1400px) / 2)) clamp(38px, 6vw, 86px);
}
.tool-feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(24px, 5vw, 82px); padding-block: clamp(30px, 4vw, 64px); }
.feature-copy { min-width: 0; }
.feature-kicker,.tool-kind { font: 600 11px/1.4 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.feature-kicker { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0; color: var(--red); }
.feature-dot { background: var(--red); width: 7px; height: 7px; border-radius: 100%; }
.feature-name { color: var(--ink-2); padding-left: 11px; border-left: 1px solid var(--rule); }
.feature-title { font: 500 clamp(64px, 6.9vw, 107px)/.95 var(--serif); letter-spacing: -.042em; margin: .24em 0 .19em; }
.feature-title em { display: block; color: var(--red); font-weight: 400; letter-spacing: -.045em; }
.feature-description { color: var(--ink-2); font-size: clamp(16px,1.25vw,19px); line-height: 1.55; max-width: 39ch; margin: 0; }
.feature-actions { display: flex; align-items: center; gap: 22px; margin-top: 25px; }
.clay-home .feature-open,.clay-home .tool-open { font: 600 14px var(--sans); color: var(--cream); background: var(--red); text-decoration: none; display: inline-flex; align-items: center; min-height: 46px; border-radius: 4px; padding: 0 17px; gap: 22px; }
.feature-open i { font: 22px/1 var(--sans); }
.clay-home .feature-open:hover,.clay-home .tool-open:hover { background: #8c1925; }
.feature-directory { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; font-size: 14px; font-weight: 600; text-underline-offset: 4px; }
.feature-view { position: relative; isolation: isolate; aspect-ratio: 1.66; overflow: hidden; background: #b89871; border-radius: 48% 48% 3px 3px / 64% 64% 3px 3px; }
.feature-land { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 63%; }
.feature-rim { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px #46281d55,inset 0 0 0 8px #f6dbb136,inset 0 0 0 9px #34191142; }
.tool-directory { border-top: 1px solid var(--rule); scroll-margin-top: 76px; }
.tool-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0 19px; }
.tool-heading h2 { font: 500 clamp(28px,3.2vw,45px)/1.08 var(--serif); letter-spacing: -.05em; margin: 0; }
.tool-heading .network-line { position: static; display: inline-flex; margin: 0; font-size: 11px; }
.tool-doors { display: flex; align-items: flex-start; gap: clamp(12px,2vw,31px); }
.tool-door { flex: 1 1 0; min-width: 0; }
.tool-door[open] { flex-grow: 1.65; }
.tool-door summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 4px; min-height: 48px; }
.tool-door summary::-webkit-details-marker { display: none; }
.tool-window { width: 100%; height: clamp(96px,10.8vw,156px); display: block; position: relative; isolation: isolate; overflow: hidden; grid-column: 1/-1; background: #402d26; }
.tool-window img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tool-screen { opacity: 0; transition: opacity .22s; }
details[open] .tool-screen { opacity: 1; }
.door-swap .tool-window { border-radius: 50% 50% 0 0 / 88% 88% 0 0; }
.door-pay .tool-window { clip-path: polygon(0 100%,0 34%,25% 34%,25% 18%,40% 18%,40% 0,60% 0,60% 18%,75% 18%,75% 34%,100% 34%,100% 100%); }
.door-launch .tool-window { clip-path: polygon(0 100%,0 57%,12% 35%,33% 18%,50% 0,67% 18%,88% 35%,100% 57%,100% 100%); }
.door-collect .tool-window { border-radius: 48% 14% 0 0 / 62% 20% 0 0; }
.door-play .tool-window { clip-path: polygon(0 100%,0 26%,22% 0,78% 0,100% 26%,100% 100%); }
.door-build .tool-window { border-radius: 4px 58% 0 0 / 4px 76% 0 0; }
.tool-label { display: grid; gap: 4px; }
.tool-label b { font: 550 clamp(21px,2vw,30px)/1.06 var(--serif); letter-spacing: -.045em; }
.tool-label small { color: var(--ink-2); font-size: 12px; line-height: 1.35; }
.tool-plus { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 100%; border: 1px solid var(--rule); }
.tool-plus::before,.tool-plus::after { content: ''; background: currentColor; width: 8px; height: 1px; grid-area: 1/1; }
.tool-plus::after { transform: rotate(90deg); }
.tool-door[open] .tool-plus { color: var(--cream); background: var(--red); border-color: var(--red); }
.tool-door[open] .tool-plus::after { display: none; }
.tool-door summary:hover b { color: var(--red); }
.tool-detail { margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 14px; line-height: 1.5; }
.tool-detail p { margin: 0 0 10px; }
.tool-kind { color: var(--red); }
.tool-cost { color: var(--ink-2); }
.tool-cost strong { color: var(--ink); }
.clay-home .tool-open { min-height: 44px; padding-inline: 13px; gap: 10px; font-size: 13px; }
@media (max-width: 980px) and (min-width: 701px) {
  .feature-title { font-size: clamp(56px,7vw,76px); }
  .tool-doors { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
  .tool-window { height: 125px; }
}
@media (max-width: 700px) {
  .tool-home { padding-top: 70px; }
  .tool-feature { grid-template-columns: 1fr; gap: 22px; padding-block: 22px 23px; }
  .feature-title { font-size: clamp(52px,11.4vw,72px); line-height: .96; margin: .25em 0 .22em; }
  .feature-title em { display: inline; white-space: nowrap; }
  .feature-description { font-size: 15px; max-width: 44ch; }
  .feature-actions { margin-top: 17px; gap: 18px; }
  .feature-view { aspect-ratio: 2.65; border-radius: 43% 43% 2px 2px / 78% 78% 2px 2px; }
  .tool-heading { margin: 19px 0 8px; }
  .tool-heading .network-line { font-size: 9px; gap: 5px; }
  .tool-heading .network-line b { font-size: inherit; }
  .tool-doors { display: block; }
  .tool-door { border-bottom: 1px solid var(--rule); }
  .tool-door summary { grid-template-columns: 72px 1fr 32px; gap: 15px; min-height: 70px; padding: 8px 0; }
  .tool-window { width: 72px; height: 52px; grid-column: auto; }
  .tool-door[open] .tool-window { width: 100%; height: auto; aspect-ratio: 2.1; grid-column: 1/-1; grid-row: 2; }
  .tool-door[open] summary { grid-template-columns: 1fr 32px; }
  .tool-door[open] .tool-label { grid-column: 1; }
  .tool-door[open] .tool-plus { grid-column: 2; }
  .tool-label b { font-size: 23px; }
  .tool-label small { font-size: 12px; }
  .tool-detail { border-top: 0; padding: 5px 0 16px; margin: 0; max-width: 50ch; }
}
@media (prefers-reduced-motion: reduce) { .tool-screen { transition: none; } }
