/* The House's information pages and the size guide
   (tools/build-house-pages.mjs). Built on pages.css. */

.hp { display: grid; gap: clamp(56px, 8vw, 112px); max-width: 1180px; margin: 0 auto; }
.hp p { font-weight: 300; font-size: 16px; line-height: 1.75; color: var(--ink-soft, #2b2620); }
.hp .pg-section-title { margin: 0 0 18px; }

.hp-split { display: grid; gap: 28px; align-items: center; }
.hp-split-img { margin: 0; }
.hp-split-img img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.hp-split-copy p { margin: 0 0 14px; max-width: 52ch; }
@media (min-width: 860px) {
  .hp-split { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
  .hp-split--flip .hp-split-img { order: 2; }
}

.hp-text { max-width: 720px; }
.hp-text p { margin: 0 0 14px; }

.hp-figures { text-align: center; }
.hp-figures ul {
  list-style: none; margin: 32px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px;
}
@media (min-width: 760px) { .hp-figures ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hp-figures li { display: grid; gap: 4px; }
.hp-fig-n { font-family: var(--serif, "EB Garamond", Georgia, serif); font-size: clamp(34px, 4vw, 48px); line-height: 1; }
.hp-fig-u { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted, #8a8279); }
.hp-fig-name { font-family: var(--serif, "EB Garamond", Georgia, serif); font-style: italic; font-size: 18px; }

.hp-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
@media (min-width: 760px) { .hp-steps ol { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.hp-steps li { padding-top: 18px; border-top: 1px solid var(--rule, #e3ddd0); }
.hp-steps h3 { margin: 0 0 8px; font-family: var(--serif, "EB Garamond", Georgia, serif); font-weight: 500; font-size: 20px; }
.hp-steps p { margin: 0; }

.hp-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.hp-table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; }
.hp-table th, .hp-table td { padding: 12px 14px; text-align: center; border-bottom: 1px solid var(--rule, #e3ddd0); }
.hp-table th { font-weight: 500; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted, #8a8279); }
.hp-table td { font-weight: 300; }
.hp-table tbody tr:nth-child(odd) td { background: rgba(0, 0, 0, 0.02); }
.hp-table .pg-note { margin-top: 14px; }

.hp-timeline ol { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 1px solid var(--rule, #e3ddd0); display: grid; gap: 44px; max-width: 760px; }
.hp-timeline li { position: relative; }
.hp-timeline li::before {
  content: ""; position: absolute; left: -31px; top: 6px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink, #17140f);
}
.hp-when { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted, #8a8279); }
.hp-timeline h2 { margin: 8px 0 8px; font-family: var(--serif, "EB Garamond", Georgia, serif); font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); }
.hp-timeline p { margin: 0; }

.hp-icons .pg-lede { margin: -8px 0 24px; }
.hp-icons-more { margin-top: clamp(48px, 6vw, 80px) !important; }
.hp-icons-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
@media (min-width: 900px) { .hp-icons-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 20px; } }
@media (min-width: 900px) { .hp-icons-grid--set { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hp-icon { display: grid; gap: 6px; justify-items: start; }
.hp-icon-shot { position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; background: #f2f2f2; }
.hp-icon-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.4s ease; }
.hp-icon-worn { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) { .hp-icon-shot:hover .hp-icon-worn { opacity: 1; } }
.hp-icon-kind { margin: 10px 0 0 !important; font-family: var(--serif, "EB Garamond", Georgia, serif); font-size: 18px !important; line-height: 1.2 !important; color: var(--ink, #17140f) !important; }
.hp-icon-ref { margin: 0 !important; font-size: 12px !important; letter-spacing: 0.08em; color: var(--muted, #8a8279) !important; }

.hp-cta { text-align: center; padding-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--rule, #e3ddd0); }
.hp-cta .pg-actions { justify-content: center; }
