/* Private label: page-only pieces. Builds on tokens.css and site.css. */

@media (min-width: 900px) { .pl-c1-9 { grid-column: 1 / 9; } }

/* ---------- intro ---------- */
.pl-hero {
  position: relative; overflow: hidden;
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: flex-end;
  background: var(--ground-dark); color: var(--on-dark);
}
.pl-hero-img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; object-position: 50% 45%; }
.pl-hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(90, 58, 38, .9) 0%, rgba(90, 58, 38, .72) 48%, rgba(90, 58, 38, 0) 82%);
}
.pl-hero [data-fx="arrive.raking-light"] { --fx-raking-colour: rgba(90, 58, 38, .5); --fx-raking-angle: 112deg; --fx-raking-penumbra: 20%; }
.pl-hero-text { position: relative; width: 100%; padding-block: 120px clamp(36px, 5vw, 72px); align-items: end; }
.pl-h1 { font-size: clamp(44px, 5.6vw, 88px); color: var(--on-dark); max-width: 13ch; }
.pl-hero-answer .label { color: color-mix(in srgb, var(--on-dark) 80%, transparent); }
.pl-answer { font-size: 17px; line-height: 1.6; max-width: 40ch; }
@media (min-width: 900px) {
  .pl-hero-shade { background: linear-gradient(to top, rgba(90, 58, 38, .85) 0%, rgba(90, 58, 38, .6) 34%, rgba(90, 58, 38, 0) 64%); }
}

/* ---------- how: the marking line ---------- */
.pl-how { row-gap: 56px; }
@media (min-width: 900px) {
  .pl-how-head { position: sticky; top: calc(var(--header-h) + 12svh); align-self: start; }
}
.pl-how-head .h2 { margin-top: 16px; max-width: 9ch; }
.pl-steps { list-style: none; margin: 0; padding: 0; position: relative; --x: 6px; }
.pl-line { position: absolute; top: 6px; bottom: 6px; left: var(--x); width: 1.5px; margin-left: -.75px; }
.pl-line-ink { position: absolute; inset: 0; background: var(--ink); transform-origin: 50% 0; }
.pl-line-head {
  position: absolute; left: 50%; top: 100%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px;
  background: var(--kiln); border-radius: 50%;
}
.pl-step { position: relative; padding: 0 0 clamp(48px, 7vw, 88px) 40px; }
.pl-step:last-child { padding-bottom: 0; }
.pl-step::before {
  content: ""; position: absolute; top: .55em; width: 22px; height: 1px; background: var(--ink);
  left: calc(var(--x) + 6px);
}
.pl-step-t { color: var(--ink); }
.pl-step-l { font-size: 18px; line-height: 1.55; max-width: 34ch; margin-top: 10px; }
.pl-step-l a { text-underline-offset: 4px; overflow-wrap: anywhere; }
.pl-fig { color: var(--ink); font-size: 40px; margin-bottom: 14px; }
.pl-fig-rule { width: 96px; margin-bottom: 16px; }
@media (min-width: 900px) {
  .pl-steps { --x: 50%; }
  .pl-step { width: 50%; padding-left: 0; padding-bottom: clamp(28px, 3vw, 48px); }
  .pl-step:nth-of-type(odd) { margin-right: auto; padding-right: clamp(40px, 4vw, 72px); text-align: right; }
  .pl-step:nth-of-type(odd) .pl-step-l, .pl-step:nth-of-type(odd) .pl-fig-rule { margin-left: auto; }
  .pl-step:nth-of-type(even) { margin-left: 50%; padding-left: clamp(40px, 4vw, 72px); }
  .pl-step::before { width: clamp(24px, 2.6vw, 48px); }
  .pl-step:nth-of-type(odd)::before { left: auto; right: 0; }
  .pl-step:nth-of-type(even)::before { left: 0; }
}

/* ---------- joinery: ink fill ---------- */
.pl-joinery { position: relative; height: 220svh; }
.pl-joinery-stage {
  position: sticky; top: 0; height: 100svh; width: 100%;
  display: flex; align-items: center;
}
.pl-joinery-grid { width: 100%; row-gap: 28px; }
.pl-joinery-label { color: var(--muted); }
.pl-joinery-body {
  font-size: clamp(24px, 2.7vw, 40px); line-height: 1.38; letter-spacing: -0.005em;
  max-width: 34ch; color: var(--ink);
}
@media (min-width: 900px) {
  .pl-joinery-grid { padding-top: var(--header-h); }
  .pl-joinery-label { grid-column: 2 / 8; }
  .pl-joinery-body { grid-column: 2 / 12; max-width: 40ch; }
}
.pl-joinery-body .w { transition: none; }

/* ---------- proof: the sideboard held alone ---------- */
.pl-proof { padding-top: clamp(72px, 9vw, 140px); }
.pl-object { margin: 0 auto; height: 64svh; max-height: 760px; width: auto; aspect-ratio: 1760 / 2352; max-width: 100%; }
.pl-object img { width: 100%; height: 100% !important; object-fit: cover; }
.pl-proof-text { margin-top: clamp(40px, 5vw, 72px); row-gap: 24px; }
.pl-proof-meta .label + .label { margin-top: 6px; }
.pl-proof-meta .hair, .pl-proof-copy .hair { margin-bottom: 16px; }
.pl-proof-h { font-size: clamp(30px, 2.6vw, 40px); line-height: 1.1; max-width: 18ch; margin-bottom: 18px; }
.pl-proof-copy .lede { max-width: 42ch; }
.pl-proof-line { margin-top: 14px; color: var(--muted); }
@media (max-width: 899px) { .pl-proof-meta .hair { display: none; } .pl-object { height: auto; width: 82%; } }

/* ---------- faq ---------- */
:root { interpolate-size: allow-keywords; }
.pl-faq-h { margin-top: 16px; max-width: 10ch; }
.pl-faq { border-top: 1px solid color-mix(in srgb, var(--on-dark) 22%, transparent); }
.pl-q { border-bottom: 1px solid color-mix(in srgb, var(--on-dark) 22%, transparent); transition: border-color var(--dur-quick) var(--ease-settle); }
.pl-q:hover, .pl-q[open] { border-bottom-color: var(--kiln); }
.pl-q summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 88px; padding: 20px 0;
}
.pl-q summary::-webkit-details-marker { display: none; }
.pl-q-t { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.2; font-weight: 300; }
.pl-plus { position: relative; flex: none; width: 22px; height: 22px; transition: transform var(--dur-standard) var(--ease-plane); }
.pl-plus::before, .pl-plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; }
.pl-plus::after { transform: rotate(90deg); }
.pl-q[open] .pl-plus { transform: rotate(45deg); }
.pl-q::details-content {
  block-size: 0; overflow: clip;
  transition: block-size var(--dur-standard) var(--ease-plane), content-visibility var(--dur-standard) allow-discrete;
}
.pl-q[open]::details-content { block-size: auto; }
.pl-a { padding: 0 0 28px; }
.pl-a p { font-size: 17px; line-height: 1.6; max-width: 46ch; color: color-mix(in srgb, var(--on-dark) 90%, transparent); }
.pl-q[open] .pl-a p { animation: pl-fade var(--dur-quick) var(--ease-settle) var(--dur-quick) both; }
@keyframes pl-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- ask ---------- */
.pl-ask { min-height: 70svh; display: flex; align-items: center; padding-block: clamp(88px, 10vw, 160px); }
.pl-ask-grid { width: 100%; align-items: end; }
.pl-ask-h { font-size: clamp(48px, 5.6vw, 88px); color: var(--accent-ink); max-width: 9ch; }
.pl-ask .lede { max-width: 36ch; }
.pl-wipe {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  min-height: 132px; padding: 22px 24px; width: 100%; max-width: 440px;
  background: var(--surface); color: var(--accent);
  font-family: var(--font-display), Georgia, serif; font-weight: 300;
  font-size: clamp(30px, 2.6vw, 40px); line-height: 1.05; letter-spacing: -0.01em;
  text-decoration: none; border-radius: var(--radius-control); overflow: hidden;
}
.pl-wipe-a { width: 28px; height: 28px; flex: none; margin-bottom: 6px; }
.pl-wipe-clone {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding: 22px 24px; background: var(--ink); color: var(--surface);
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  transition: clip-path var(--dur-standard) var(--ease-plane);
}
.pl-wipe:hover .pl-wipe-clone, .pl-wipe:focus-visible .pl-wipe-clone { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.pl-ask-mail { color: color-mix(in srgb, var(--accent-ink) 82%, transparent); }
.pl-ask-mail a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent-ink); text-underline-offset: 4px; text-transform: none; letter-spacing: .02em; }
