/* Holloway & Pine — this build's own compositions on the Selva DNA (prefix hp-). Tokens only; load after type.css. */

/* ── Header b: links split either side of a centred wordmark ── */
.hp-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 26px; height: 100%; padding: 0 var(--gutter); }
.hp-nav .nav__list { gap: 26px; }
.hp-nav__r { display: flex; align-items: center; justify-content: flex-end; gap: 26px; }
.hp-nav .nav__brand { margin: 0; font-weight: 400; font-size: 24px; letter-spacing: .02em; white-space: nowrap; }
.hp-nav .nav__time { margin-left: 0; }
.hp-nav .nav__toggle { justify-self: end; }
.hp-nav .nav__list:hover .nav__link { color: var(--muted-ink); }
.hp-nav .nav__list .nav__link:hover, .hp-nav .nav__list .nav__link:focus-visible { color: var(--text); }

/* a narrow hairline box drops under "Pieces": three pieces with their from-price */
.hp-dd { position: relative; display: flex; align-items: center; }
.hp-dd__panel { position: absolute; z-index: 5; left: -15px; top: calc(100% - 4px); width: 330px; padding: 4px 14px; background: var(--bg); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity var(--dur-fast) var(--ease), transform .45s var(--ease-out), visibility 0s linear .45s; }
.hp-dd__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.hp-dd:hover .hp-dd__panel, .hp-dd:focus-within .hp-dd__panel { opacity: 1; visibility: visible; transform: none; transition: opacity var(--dur-fast) var(--ease), transform .45s var(--ease-out), visibility 0s; }
.hp-dd__panel a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0 12px; border-top: 1px solid var(--line-2); font-size: 17px; line-height: 1.2; letter-spacing: -.17px; color: var(--text); transition: color var(--dur-fast) var(--ease); }
.hp-dd__panel li:first-child a { border-top: 0; }
.hp-dd__panel a:hover, .hp-dd__panel a:focus-visible { color: var(--accent-ink); }
.hp-dd__panel span { font-size: 12px; letter-spacing: 0; color: var(--muted-ink); white-space: nowrap; }

/* ── Hero c: stone field, giant caps staggered over hairlines, one big number ── */
.hp-field { padding-top: 22px; padding-bottom: 44px; background: var(--surface-2); }
.hp-field__h { font-family: var(--font-display); font-weight: 400; font-size: 8.6vw; line-height: .96; letter-spacing: -.035em; text-transform: uppercase; }
.hp-field__row { display: block; padding: 20px 0 12px; border-top: 1px solid var(--line); white-space: nowrap; }
.hp-field__row--2 { padding-left: 22%; }
.hp-field__row--3 { text-align: right; border-bottom: 1px solid var(--line); }
.hp-field__foot { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: end; padding-top: 30px; }
.hp-field__num { display: flex; align-items: flex-end; gap: 18px; }
.hp-field__big { font-family: var(--font-display); font-weight: 400; font-size: 60px; line-height: .9; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hp-field__num .t-label { max-width: 220px; padding-bottom: 4px; }
.hp-field__note { max-width: 440px; color: var(--text-2); }
.hp-field__note .link { display: inline-block; margin-top: 14px; }

/* the plate: one finished piece, framed by the stone field */
.hp-field { padding-bottom: var(--gutter); }
.hp-field__plate { margin-top: 44px; aspect-ratio: 1408 / 563; }

/* ── Statement with two facts on the 50% line ── */
.hp-say { padding-top: var(--section); padding-bottom: var(--section); }
.hp-say__text { max-width: 1400px; text-wrap: pretty; }
.hp-say__facts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); margin: 56px 0 0 calc(50% + var(--gutter) / 2); padding-top: 14px; border-top: 1px solid var(--line); }
.hp-say__facts div { display: grid; gap: 6px; }
.hp-say__facts dt { color: var(--muted-ink); }
.hp-say__facts dd { margin: 0; }

/* captions under photos: type in caps at the left, title from the photo's half, a grey third line */
.hp-under { display: grid; grid-template-columns: 1fr 1fr; gap: 3px var(--gutter); padding-top: 10px; font-size: 12px; line-height: 1.3; letter-spacing: -.12px; }
.hp-under .cap__type { text-transform: uppercase; letter-spacing: .5px; }
.hp-under__more { grid-column: 2; color: var(--muted-ink); }

/* ── Pieces: three portraits, the middle one dropped, its head in the gap ── */
.hp-pieces { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); padding-bottom: var(--section); }
.hp-pieces__mid { display: flex; flex-direction: column; }
.hp-pieces__mid > h2 { margin-bottom: 10px; }
.hp-pieces__note { max-width: 330px; margin-bottom: 64px; color: var(--muted-ink); }
.hp-pieces .tile { aspect-ratio: 454 / 591; }

/* ── Timber: a photo left, the timbers as large names on hairlines from the 50% line ── */
.hp-timber { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding-bottom: var(--section); }
.hp-timber::before, .hp-kitchen::before { content: ""; grid-column: 1 / -1; height: 1px; background: var(--line); margin-bottom: 40px; }
.hp-timber .tile { aspect-ratio: 689 / 515; }
.hp-timber__text > h2 { margin-bottom: 14px; }
.hp-timber__lead { max-width: 640px; margin-bottom: 40px; }
.hp-timber__list li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--gutter); padding: 12px 0 14px; border-top: 1px solid var(--line); }
.hp-timber__list li:last-child { border-bottom: 1px solid var(--line); }
.hp-timber__name { font-family: var(--font-display); font-weight: 400; font-size: 38px; line-height: 1.1; letter-spacing: -.02em; }
.hp-timber__from { font-size: 12px; line-height: 1.3; letter-spacing: .5px; text-transform: uppercase; color: var(--muted-ink); text-align: right; }

/* ── The making: four squares in a row, numbered steps under each ── */
.hp-making { padding-bottom: var(--section); }
.hp-making__head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding-top: 14px; border-top: 1px solid var(--line); margin-bottom: 40px; }
.hp-making__head p { max-width: 520px; color: var(--muted-ink); }
.hp-making__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.hp-making__row .tile { aspect-ratio: 1; }
.hp-step { display: grid; grid-template-columns: 30px 1fr; gap: 4px 8px; padding-top: 12px; }
.hp-step__n { grid-row: span 2; font-size: 12px; line-height: 1.6; color: var(--muted-ink); font-variant-numeric: tabular-nums; }
.hp-step__t { font-size: 17px; line-height: 1.3; letter-spacing: -.17px; }
.hp-step__d { font-size: 14px; line-height: 1.32; color: var(--muted-ink); }

/* ── Bench ledger (signature): every piece numbered, five on the bench now ── */
.hp-ledger { padding-bottom: var(--section); }
.hp-ledger__head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding-top: 14px; border-top: 1px solid var(--line); margin-bottom: 36px; }
.hp-ledger__note { max-width: 520px; color: var(--muted-ink); }
.hp-ledger__t { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13px; line-height: 1.3; letter-spacing: -.1px; }
.hp-ledger__t th:nth-child(1), .hp-ledger__t th:nth-child(2) { width: calc(25% - 4px); }
.hp-ledger__t th:nth-child(3) { width: 19%; } .hp-ledger__t th:nth-child(4) { width: 18%; }
.hp-ledger__t th { text-align: left; font-weight: 400; color: var(--muted-ink); padding: 0 12px 10px 0; border-bottom: 1px solid var(--line); }
.hp-ledger__t td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line-2); vertical-align: baseline; }
.hp-ledger__t td:nth-child(2) { text-transform: uppercase; letter-spacing: .5px; font-size: 12px; }
.hp-ledger__t tbody tr { transition: background-color var(--dur-fast) var(--ease); }
.hp-ledger__t tbody tr:hover { background: var(--accent-soft); }
.hp-ledger__no { font-family: var(--font-display); font-weight: 400; font-size: 60px; line-height: .9; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hp-ledger__no small { font-family: var(--font); font-size: 12px; letter-spacing: .5px; vertical-align: top; margin-right: 6px; color: var(--muted-ink); }
.hp-dot { display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-radius: var(--r-pill); background: var(--accent); vertical-align: middle; }

/* ── Kitchens: a tall photo left; text and a wide photo from the 50% line ── */
.hp-kitchen { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding-bottom: var(--section); }
.hp-kitchen .tile--tall { aspect-ratio: 689 / 861; }
.hp-kitchen__text { display: flex; flex-direction: column; }
.hp-kitchen__text > h2 { margin-bottom: 14px; }
.hp-kitchen__text .t-lead { max-width: 640px; }
.hp-kitchen__price { margin-top: 18px; color: var(--muted-ink); max-width: 520px; }
.hp-kitchen__text .link { display: inline-block; margin-top: 22px; align-self: flex-start; }
.hp-kitchen__text .tile { margin-top: auto; aspect-ratio: 689 / 515; }

/* ── CTA d: one line and a link on a hairline, the back-to-top arrow at the end ── */
.hp-cta__in { margin-bottom: 72px; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.hp-cta__line { max-width: 900px; }
.hp-cta__end { display: flex; align-items: baseline; gap: 28px; flex: none; }
.hp-cta__in .totop { padding: 0; }

/* ── Footer b: minimal, one row ── */
.hp-foot { padding: 0 var(--gutter) 28px; }
.hp-foot__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 32px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.32; }
.hp-foot__mark { font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.hp-foot__end { margin-left: auto; color: var(--text-2); }

/* ═════ Workshop page ═════ */
.hp-intro { padding-top: 56px; padding-bottom: var(--section); }
.hp-intro__meta { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding-top: 14px; border-top: 1px solid var(--line); margin-bottom: 48px; }
.hp-intro__meta p:last-child { color: var(--muted-ink); }
.hp-intro__h { max-width: 1240px; }
.hp-intro__lead { margin: 48px 0 0 calc(50% + var(--gutter) / 2); max-width: 650px; }
.hp-intro__plate { margin-top: 84px; aspect-ratio: 1408 / 563; }

.hp-crew { padding-bottom: var(--section); }
.hp-crew__strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); margin-top: 24px; }
.hp-crew__cell { display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.hp-crew__cell p { font-size: 14px; line-height: 1.32; color: var(--text-2); }
.hp-crew__cell p + p { color: var(--muted-ink); }

.hp-runs { padding-bottom: var(--section); }
.hp-runs::before { content: ""; display: block; height: 1px; background: var(--line); margin-bottom: 56px; }
.hp-runs__h { margin-bottom: 56px; max-width: 1100px; }
.hp-runs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: start; }
.hp-runs__fig { position: sticky; top: calc(var(--head-h) + 20px); }
.hp-runs__list li { display: grid; grid-template-columns: 34px 1fr auto; gap: 4px 12px; padding: 16px 0 18px; border-top: 1px solid var(--line); }
.hp-runs__list li:last-child { border-bottom: 1px solid var(--line); }
.hp-runs__n { font-size: 12px; line-height: 2; color: var(--muted-ink); font-variant-numeric: tabular-nums; }
.hp-runs__wk { font-size: 12px; line-height: 2; letter-spacing: .5px; text-transform: uppercase; color: var(--muted-ink); white-space: nowrap; }
.hp-runs__list .t-small { grid-column: 2 / 4; max-width: 520px; color: var(--text-2); }

.hp-prices { padding-bottom: var(--section); }
.hp-prices__head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding-top: 14px; border-top: 1px solid var(--line); margin-bottom: 36px; }
.hp-prices__head p { max-width: 560px; color: var(--muted-ink); }
.hp-prices__t { width: 100%; border-collapse: collapse; table-layout: fixed; }
.hp-prices__t th { text-align: left; font-weight: 400; font-size: 12px; color: var(--muted-ink); padding: 0 12px 10px 0; border-bottom: 1px solid var(--line); }
.hp-prices__t td { padding: 14px 12px 16px 0; border-bottom: 1px solid var(--line-2); vertical-align: baseline; font-size: 14px; line-height: 1.32; }
.hp-prices__t td:first-child { font-size: 12px; letter-spacing: .5px; text-transform: uppercase; }
.hp-prices__t td:last-child { font-size: 24px; line-height: 1.2; letter-spacing: -.48px; }
.hp-prices__t tbody tr { transition: background-color var(--dur-fast) var(--ease); }
.hp-prices__t tbody tr:hover { background: var(--accent-soft); }

.hp-visit { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding-bottom: var(--section); }
.hp-visit::before { content: ""; grid-column: 1 / -1; height: 1px; background: var(--line); margin-bottom: 40px; }
.hp-visit .tile--tall { aspect-ratio: 689 / 861; }
.hp-visit__text { display: flex; flex-direction: column; }
.hp-visit__text > h2 { margin-bottom: 14px; }
.hp-visit__text .t-lead { max-width: 640px; }
.hp-visit__lines { display: grid; gap: 4px; margin-top: 28px; }
.hp-visit__lines li { padding: 8px 0 9px; border-top: 1px solid var(--line-2); font-size: 17px; line-height: 1.3; letter-spacing: -.17px; }
.hp-visit__text .link { display: inline-block; margin-top: 22px; align-self: flex-start; }
.hp-visit__text .tile { margin-top: auto; aspect-ratio: 689 / 515; }

/* ── Tablet ── */
@media (max-width: 1100px) {
  .hp-field__h { font-size: 8.4vw; }
  .hp-timber__name { font-size: 30px; }
  .hp-ledger__no { font-size: 46px; }
}
/* ── Phone menu ── */
@media (max-width: 900px) {
  .hp-nav { display: flex; }
  .hp-nav .nav__brand { margin-right: auto; font-size: 20px; }
  .hp-nav__r .nav__link { display: none; }
  .hp-say__facts { margin-left: 0; }
  .hp-timber, .hp-kitchen, .hp-runs__grid, .hp-visit, .hp-field__foot, .hp-ledger__head, .hp-making__head, .hp-prices__head, .hp-intro__meta { grid-template-columns: 1fr; }
  .hp-making__row, .hp-crew__strip { grid-template-columns: 1fr 1fr; }
  .hp-kitchen__text .tile, .hp-visit__text .tile { margin-top: 32px; }
  .hp-runs__fig { position: static; margin-bottom: 24px; }
  .hp-intro__lead { margin-left: 0; }
  .hp-cta__in { flex-direction: column; }
}
@media (max-width: 640px) {
  .hp-field { padding-top: 14px; padding-bottom: var(--gutter); }
  .hp-field__h { font-size: 8.8vw; }
  .hp-field__row { padding: 6px 0 3px; }
  .hp-field__row--2 { padding-left: 10%; }
  .hp-field__big, .hp-ledger__no { font-size: 40px; }
  .hp-field__plate, .hp-intro__plate { aspect-ratio: 4 / 3; margin-top: 28px; }
  .hp-intro { padding-top: 56px; }
  .hp-pieces { grid-template-columns: 1fr; }
  .hp-pieces__note { margin-bottom: 24px; }
  .hp-pieces__mid { order: -1; }
  .hp-timber__name { font-size: 26px; white-space: nowrap; }
  .hp-timber__list li { flex-direction: column; gap: 4px; }
  .hp-timber__from { text-align: left; }
  .hp-making__row { gap: 10px; }
  .hp-ledger__t th:nth-child(1) { width: 30%; } .hp-ledger__t th:nth-child(2) { width: 40%; }
  .hp-ledger__t th:nth-child(3), .hp-ledger__t td:nth-child(3), .hp-ledger__t th:nth-child(4), .hp-ledger__t td:nth-child(4) { display: none; }
  .hp-prices__t th:nth-child(2), .hp-prices__t td:nth-child(2) { display: none; }
  .hp-prices__t td:last-child { font-size: 19px; }
  .hp-foot__end { margin-left: 0; }
}
