/* custom.html: built on tokens.css and site.css */

/* ---------- Hero: the drawing becomes the hands (static layout = no script or reduced motion) ---------- */
.chero { position: relative; background: var(--bg); padding: calc(var(--header-h, 64px) + 40px) var(--pad) 96px; }
.chero__stage { display: grid; gap: 32px; }
.chero__eyebrow { margin: 0; }
.chero__h1 { font-weight: 700; font-size: clamp(52px, 8vw, 136px); line-height: 0.94; max-width: 12ch; }
.chero__plate { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); max-width: 1100px; }
.chero__sheet { background: var(--ash); aspect-ratio: 4 / 5; padding: 6%; display: grid; place-items: center; }
.chero__sheet .draw { width: 100%; height: 100%; }
.chero__photo { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.chero__scrim { display: none; }
.chero__answer { display: grid; gap: 18px; max-width: 46ch; justify-items: start; }
.chero__answer p { margin: 0; }

.motion .chero { height: 220svh; padding: 0; }
.motion .chero__stage { position: sticky; top: 0; height: 100svh; width: 100%; overflow: hidden; display: block; }
.motion .chero__plate { position: absolute; left: 50%; top: 58%; width: min(64vw, 40svh); aspect-ratio: 4 / 5; display: block; max-width: none; transform: translate(-50%, -50%) rotate(2deg); will-change: transform; z-index: 1; box-shadow: 0 0 0 1px rgba(237, 230, 216, 0.06); }
.motion .chero__sheet, .motion .chero__photo { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.motion .chero__eyebrow { position: absolute; left: var(--pad); top: calc(var(--header-h, 64px) + 20px); z-index: 3; }
.motion .chero__h1 { position: absolute; left: var(--pad); right: var(--pad); top: calc(var(--header-h, 64px) + 52px); z-index: 3; }
.motion .chero__scrim { display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(22,19,15,.82) 0%, rgba(22,19,15,.2) 38%, rgba(22,19,15,.2) 52%, rgba(22,19,15,.9) 100%); opacity: 0; }
.motion .chero__answer { position: absolute; left: var(--pad); right: var(--pad); bottom: 76px; z-index: 3; }

@media (min-width: 900px) {
  .chero__stage { grid-template-columns: 7fr 5fr; align-items: end; column-gap: var(--gap); }
  .chero__h1, .chero__eyebrow { grid-column: 1 / -1; }
  .motion .chero__plate { left: 72%; top: 50%; width: min(30vw, 56svh); }
  .motion .chero__h1 { top: auto; bottom: 17svh; right: auto; max-width: 9.6ch; }
  .motion .chero__eyebrow { top: auto; bottom: calc(17svh + 4 * 0.94 * clamp(52px, 8vw, 136px) + 20px); }
  .motion .chero__answer { left: auto; right: var(--pad); bottom: 17svh; width: min(30vw, 440px); }
  .motion .chero__scrim { background: linear-gradient(90deg, rgba(22,19,15,.8) 0%, rgba(22,19,15,.15) 55%, rgba(22,19,15,.75) 100%), linear-gradient(0deg, rgba(22,19,15,.7) 0%, rgba(22,19,15,0) 45%); }
}

/* ---------- Who: three kinds of buyer ---------- */
.cwho__grid { display: grid; gap: 48px; }
.cwho__title { font-size: clamp(40px, 4.6vw, 64px); line-height: 1; max-width: 12ch; margin-bottom: 20px; }
.cwho__head .lede { margin: 0; }
.cwho__rows > li { padding-block: 28px 32px; }
.cwho__rows > li:last-child { border-bottom: 1px solid var(--rule); }
.cwho__k { font-size: clamp(30px, 2.6vw, 40px); line-height: 1; }
.cwho__rows p { margin: 0; max-width: 52ch; color: var(--ink); }
@media (min-width: 900px) {
  .cwho__grid { grid-template-columns: 5fr 7fr; column-gap: calc(var(--gap) * 3); align-items: start; }
  .cwho__head { position: sticky; top: calc(var(--header-h, 76px) + 40px); }
  .cwho__rows > li { grid-template-columns: 5fr 7fr; align-items: baseline; gap: var(--gap); }
}

/* ---------- Projects: two orders, off-grid ---------- */
.cproj { overflow: hidden; }
.cproj__head { display: grid; gap: 18px; margin-bottom: clamp(48px, 8vw, 120px); }
.cproj__head .lede { margin: 0; }
.cproj__field { position: relative; padding-inline: var(--pad); display: grid; gap: 72px; }
.cproj__item { margin: 0; display: grid; gap: 20px; }
.cproj__img { aspect-ratio: 3 / 4; }
.cproj__item--b .cproj__img { aspect-ratio: 4 / 3; }
.cproj__img img { height: 116%; }
.cproj__item--a { width: 82%; }
.cproj__item--b { width: 74%; justify-self: end; }
.cproj__cap { display: grid; gap: 10px; max-width: 34ch; }
.cproj__cap p { margin: 0; }
.cproj__t { font-size: 32px; line-height: 1; }
@media (min-width: 900px) {
  .cproj__field { display: block; min-height: 64vw; }
  .cproj__item--a { position: absolute; left: var(--pad); top: 0; width: 36vw; }
  .cproj__item--b { position: absolute; right: calc(var(--pad) + 6vw); top: 22vw; width: 28vw; }
  .cproj__head { grid-template-columns: 7fr 5fr; align-items: end; column-gap: var(--gap); }
  .cproj__head .lede { padding-bottom: 12px; }
}

/* ---------- What to send: the light ground ---------- */
.csend { position: relative; isolation: isolate; }
.csend__night { position: absolute; inset: 0; background: var(--bg); z-index: 1; pointer-events: none; opacity: 0; }
.csend__grid { position: relative; z-index: 0; display: grid; gap: 56px; }
.csend__copy { display: grid; gap: 28px; align-content: start; }
.csend__copy p { margin: 0; font-size: 19px; line-height: 1.55; }
.csend__rows { margin: 0; border-top: 1px solid var(--ash-rule); }
.csend__row { display: grid; gap: 8px; padding-block: 20px; border-bottom: 1px solid var(--ash-rule); }
.csend__row dt { color: var(--ash-muted); }
.csend__v { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(32px, 2.8vw, 40px); line-height: 1; overflow-wrap: normal; }
.csend__v.ember { color: #B8431F; }
.csend__v .ph { font-size: 13px; color: var(--ash-muted); }
.csend__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.csend .mail { color: var(--ash-ink); }
@media (min-width: 900px) {
  .csend__grid { grid-template-columns: 6fr 5fr; column-gap: calc(var(--gap) * 3); align-items: start; }
  .csend__row { grid-template-columns: 9rem 1fr; align-items: baseline; }
}
