/* Dhaatu: process page. Linked after site.css. */

/* ---------- Hero: the answer struck huge over the container door ---------- */
.p-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--bg); }
.p-hero__media { position: absolute; inset: 0; }
.p-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.p-hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(22,19,15,.94) 0%, rgba(22,19,15,.78) 38%, rgba(22,19,15,.25) 72%, rgba(22,19,15,.1) 100%),
    linear-gradient(0deg, rgba(22,19,15,.9) 0%, rgba(22,19,15,0) 45%);
}
.p-hero__inner { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--header-h) + 48px); padding-bottom: 56px; row-gap: 40px; }
.p-hero__h1 {
  grid-column: 1 / -1;
  font-weight: 700;
  font-size: clamp(56px, 10vw, 176px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-wrap: initial;
}
.p-line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.p-line__in { display: block; }
.p-brass { color: var(--accent); font-variant-numeric: lining-nums; }
.p-hero__copy { grid-column: 1 / -1; display: grid; gap: 22px; }
.p-hero__copy .eyebrow { margin: 0; }
.p-hero__copy .lede { color: var(--ink); max-width: 44ch; margin: 0; }
.p-hero__actions { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
@media (min-width: 900px) {
  .p-hero__inner { padding-bottom: clamp(140px, 13vw, 190px); }
  .p-hero__h1 { grid-column: 1 / span 11; }
  .p-hero__copy { grid-column: 5 / span 5; }
}
@media (min-width: 1300px) {
  .p-hero__h1 { grid-column: 1 / span 10; }
}

/* ---------- The Ash zone: packing, shipping and the FAQ ---------- */
.p-ash { position: relative; z-index: 1; }
.ground-ash .eyebrow, .p-ash .label { color: var(--ash-muted); }

.p-pack { padding-top: clamp(112px, 14vw, 200px); padding-bottom: clamp(64px, 8vw, 120px); row-gap: 48px; align-items: start; }
.p-pack__main { grid-column: 1 / -1; }
.p-pack__h { font-weight: 700; font-size: clamp(44px, 5vw, 76px); line-height: 0.96; margin-bottom: 32px; }
.p-pack__body { max-width: 62ch; color: var(--ash-ink); }
.p-pack__photos { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 20px; }
.p-pack__ph { margin: 0; overflow: hidden; }
.p-pack__ph img { width: 100%; height: 100%; object-fit: cover; }
.p-pack__ph--a { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.p-pack__ph--b { grid-column: 4 / -1; aspect-ratio: 4 / 3; }
.p-pack__facts { grid-column: 1 / -1; }
.p-facts { margin: 0; }
.p-facts__row { position: relative; display: grid; gap: 6px; padding-block: 18px; }
.p-facts__row::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ash-rule); transform-origin: 0 50%; transform: scaleX(var(--draw, 1)); }
.p-facts__row:last-child { border-bottom: 1px solid var(--ash-rule); }
.p-facts dt { color: var(--ash-muted); }
.p-facts dd { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(26px, 2.2vw, 32px); line-height: 1.05; color: var(--ash-ink); }
@media (min-width: 900px) {
  .p-pack__main { grid-column: 1 / span 7; }
  .p-pack__photos { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .p-pack__ph--a { grid-column: 1 / span 4; align-self: start; }
  .p-pack__ph--b { grid-column: 5 / span 3; margin-top: 22%; }
  .p-pack__facts { grid-column: 9 / span 4; position: sticky; top: calc(var(--header-h) + 32px); padding-top: 8px; }
}

.p-faq { padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(112px, 14vw, 200px); row-gap: 32px; align-items: start; }
.p-faq__head { grid-column: 1 / -1; }
.p-faq__h { font-weight: 700; font-size: clamp(44px, 5vw, 76px); line-height: 0.96; }
.p-faq__list { grid-column: 1 / -1; border-bottom: 1px solid var(--ash-rule); }
.p-faq__list > li { padding-block: 0; }
.p-faq details { width: 100%; }
.p-faq summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 40px 1fr 28px; align-items: baseline; gap: 12px;
  min-height: 56px; padding-block: 20px 14px;
}
.p-faq summary::-webkit-details-marker { display: none; }
.p-faq__n { color: var(--ash-muted); }
.p-faq__q { font-weight: 600; font-size: clamp(24px, 2.1vw, 30px); line-height: 1.1; text-wrap: pretty; }
.p-faq__mark { position: relative; width: 16px; height: 16px; justify-self: end; align-self: center; }
.p-faq__mark::before, .p-faq__mark::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--ash-ink); transition: transform var(--dur-quick) var(--ease-glow); }
.p-faq__mark::after { transform: rotate(90deg); }
.p-faq details[open] .p-faq__mark::after { transform: rotate(0deg); }
.p-faq summary:hover .p-faq__q { color: #6b5120; }
.p-faq__a { padding: 0 0 26px 52px; max-width: 62ch; color: var(--ash-ink); }
.p-faq__a .ph { color: var(--ash-muted); font-size: 13px; }
@supports (interpolate-size: allow-keywords) {
  .p-faq { interpolate-size: allow-keywords; }
  .p-faq details::details-content { height: 0; opacity: 0; overflow: hidden; transition: height var(--dur-quick) var(--ease-glow), opacity var(--dur-quick) var(--ease-glow), content-visibility var(--dur-quick) allow-discrete; }
  .p-faq details[open]::details-content { height: auto; opacity: 1; }
}
@media (min-width: 900px) {
  .p-faq__head { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 32px); }
  .p-faq__list { grid-column: 5 / span 8; }
  .p-faq summary { grid-template-columns: 64px 1fr 28px; gap: 16px; }
  .p-faq__a { padding-left: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .p-faq details::details-content { transition: none; }
}

/* ---------- Closing ask ---------- */
.p-ask__h { font-weight: 700; font-size: clamp(56px, 9vw, 150px); line-height: 0.92; }
.p-ask .ask__media img { object-position: 60% 50%; }
