/* HWD · Home Designs: site/home-designs/, every page written by tools/home-designs.mjs.
   Everything is hd- prefixed: these pages load hwd-auth.css, whose sign-in card uses short generic
   names, and a bare .card or .cap here would land inside it. */

.hd-page { margin: 0; background: #EDEFF1; color: #171B1F; font-family: Jost, Futura, 'Century Gothic', sans-serif; font-weight: 300; -webkit-font-smoothing: antialiased; }
.hd-page .mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; }
.hd { --ink: #171B1F; --ink-2: #4A535A; --mute: #8A949B; --paper: #EDEFF1; --paper-2: #E3E7EA; --white: #F8F9F9; --gold: #C69A2B; --gold-t: #8A6914; --line: rgba(23,27,31,.14);
  max-width: 1480px; margin: 0 auto; padding: 0 clamp(20px, 4.5vw, 64px) clamp(56px, 7vw, 96px); box-sizing: border-box; }
.hd *, .hd-box *, .hd-card-dlg * { box-sizing: border-box; }
.hd h1, .hd h2, .hd h3, .hd p { margin: 0; }
.hd a:not(.hd-btn) { color: inherit; text-decoration: none; }
.hd h2 { font-weight: 200; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.08; letter-spacing: -.015em; text-wrap: balance; }

/* the opening */
.hd-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 3vw, 34px); }
.hd-hero.one { padding-top: clamp(28px, 4vw, 48px); }
.hd-kick { display: flex; align-items: center; gap: 14px; color: var(--gold-t); }
.hd-kick::after { content: ""; width: 48px; height: 1px; background: var(--gold); }
.hd-kick a:hover { color: var(--ink); }
.hd-hero h1 { margin-top: 16px; font-weight: 200; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -.025em; text-wrap: balance; }
.hd-hero p { margin-top: 16px; font-size: clamp(16.5px, 1.4vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.hd-count { text-align: right; color: var(--mute); display: flex; flex-direction: column; gap: 6px; white-space: nowrap; }
.hd-count b { font-family: Jost, sans-serif; font-weight: 200; font-size: 44px; letter-spacing: -.02em; color: var(--ink); text-transform: none; line-height: 1; }

/* labels on a picture: what it is, and where it came from */
.hd-src { position: absolute; left: 10px; top: 10px; height: 20px; padding: 0 7px; display: inline-flex; align-items: center; gap: 6px; background: rgba(248,249,249,.9); color: #4A535A;
  font-family: 'IBM Plex Mono', monospace; font-size: 8.5px; letter-spacing: .16em; text-transform: uppercase; pointer-events: none; }
.hd-src.built { background: #171B1F; color: #F8F9F9; }
.hd-src.built::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #C69A2B; }
.hd-src.hwd { background: rgba(198,154,43,.94); color: #171B1F; }
.hd-src.guide { background: rgba(23,27,31,.7); color: #F8F9F9; }
.hd-room { position: absolute; left: 10px; bottom: 10px; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.5); font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; pointer-events: none; }
.hd-shot { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #20252A; cursor: zoom-in; overflow: hidden; }
.hd-shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.1,1); }
.hd-shot:hover img { transform: scale(1.03); }

/* buttons */
.hd-btn { font: inherit; height: 48px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
  background: var(--ink, #171B1F); color: var(--white, #F8F9F9); border: 0; font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; text-decoration: none; }
.hd-btn:hover { background: #22282D; }
.hd-btn.line { background: var(--white, #F8F9F9); color: var(--ink, #171B1F); box-shadow: inset 0 0 0 1px rgba(23,27,31,.3); }
.hd-btn.line:hover { box-shadow: inset 0 0 0 1px #171B1F; }
.hd-btn.light { background: #F8F9F9; color: #171B1F; }
.hd-btn.light:hover { background: #fff; }
.hd-btn .hd-free { font-size: 8.5px; opacity: .6; }
.hd-btn:focus-visible, .hd-shot:focus-visible, .hd-link:focus-visible, .hd-tile:focus-visible, .hd-zone:focus-visible, .hd-story:focus-visible { outline: 2px solid #C69A2B; outline-offset: 2px; }
.hd-btn[disabled] { opacity: .55; cursor: default; }
.hd-pill { font-family: 'IBM Plex Mono', monospace; font-size: 8.5px; letter-spacing: .14em; padding: 3px 6px; box-shadow: inset 0 0 0 1px #C69A2B; color: #8A6914; }
.hd-pill.b { box-shadow: inset 0 0 0 1px rgba(23,27,31,.3); color: #4A535A; }
.hd-lock { flex: none; }
.hd-link { font: inherit; font-size: 13.5px; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; background: none; border: 0; padding: 4px 0; color: var(--ink-2, #4A535A); cursor: pointer; }
.hd-link:hover { color: var(--ink, #171B1F); }
.hd-acts { display: flex; flex-direction: column; gap: 8px; }
.hd-acts small { font-size: 12.5px; line-height: 1.4; color: var(--mute, #8A949B); }
.hd-acts .hd-btn { width: 100%; justify-content: space-between; }
/* Apply carries a lock, its words and a tag; in a narrow column they wrap rather than run out of the button */
.hd-acts .hd-btn.line { white-space: normal; height: auto; min-height: 48px; padding: 10px 14px; gap: 10px; line-height: 1.35; text-align: left; }
.hd-acts .hd-btn.line > span:not(.hd-pill) { flex: 1 1 auto; min-width: 0; }
.hd-pill { flex: none; white-space: nowrap; }
.hd-note { margin-top: 28px !important; font-size: 13.5px; line-height: 1.55; color: var(--mute); max-width: 80ch; }
.hd-more { color: var(--ink-2); border-bottom: 1px solid var(--gold); padding-bottom: 3px; white-space: nowrap; }
.hd-more:hover { color: var(--ink); }
.hd-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 0 0 20px; }
.hd-row p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: 60ch; }
.hd-sec { padding-top: clamp(36px, 5vw, 56px); }
.hd-k { color: var(--gold-t); }

/* ---------- the hub ---------- */
.hd-feat { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1px; background: var(--line); box-shadow: 0 0 0 1px var(--line); margin-top: 8px; }
.hd-featpic img { aspect-ratio: 3 / 2; height: 100%; }
.hd-feattx { background: var(--white); padding: 34px 34px 30px; display: flex; flex-direction: column; gap: 14px; }
.hd-feattx h2 { font-size: clamp(26px, 2.4vw, 32px); }
.hd-feattx h2 a:hover { color: var(--gold-t); }
.hd-feattx p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.hd-facts-row { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; padding: 8px 0 4px; }
.hd-facts-row div { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.hd-facts-row dt { color: var(--mute); font-size: 9px; }
.hd-facts-row dd { margin: 0; }
.hd-feattx .hd-btn { align-self: flex-start; margin-top: auto; }
.hd-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.hd-tile { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px var(--line); display: block; }
.hd-tile img, .hd-tile .hd-blank { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.1,1); background: var(--paper-2); }
.hd-tile:hover img { transform: scale(1.03); }
.hd-tile .hd-lb { position: absolute; inset: auto 0 0 0; padding: 40px 12px 12px; background: linear-gradient(180deg, rgba(23,27,31,0), rgba(23,27,31,.72)); color: #F8F9F9; display: flex; flex-direction: column; gap: 2px; }
.hd-tile .hd-lb b { font-weight: 400; font-size: 16px; }
.hd-tile .hd-lb .mono { font-size: 9px; opacity: .75; }
.hd-zones { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); box-shadow: 0 0 0 1px var(--line); }
.hd-zone { background: var(--white); padding: 18px 16px 20px; display: flex; flex-direction: column; gap: 8px; min-height: 150px; }
.hd-zone:hover { background: #fff; }
.hd-zone b { font-weight: 400; font-size: 15.5px; }
.hd-zone .hd-w { font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.hd-zone .mono { color: var(--mute); font-size: 9.5px; }
.hd-zone .hd-bar { margin-top: auto; width: 100%; height: 4px; background: var(--paper-2); position: relative; display: block; }
.hd-zone .hd-bar i { position: absolute; inset: 0 auto 0 0; background: var(--gold); }
.hd-stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hd-story { background: var(--white); box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.hd-story:hover b { color: var(--gold-t); }
.hd-story .hd-im { position: relative; display: block; overflow: hidden; }
.hd-story .hd-im img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.hd-story .hd-cp { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.hd-story .hd-k { font-size: 9.5px; }
.hd-story b { font-weight: 400; font-size: 17px; line-height: 1.3; }
.hd-story .hd-blurb { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.hd-story .hd-meta { font-size: 9px; color: var(--mute); margin-top: 4px; }
.hd-stories.hd-all { padding-top: 8px; }
.hd-news { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 36px 40px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.hd-news h2 { font-size: 26px; }
.hd-news p { margin-top: 10px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); max-width: 48ch; }
.hd-newsform { display: flex; flex-direction: column; gap: 8px; }
.hd-newsform label { color: var(--ink-2); }
.hd-newsrow { display: flex; gap: 8px; }
.hd-field { height: 48px; width: 100%; padding: 0 14px; font: inherit; font-size: 15px; color: #171B1F; background: #EDEFF1; border: 0; box-shadow: inset 0 0 0 1px rgba(23,27,31,.2); min-width: 0; }
.hd-field:focus { outline: none; box-shadow: inset 0 0 0 1px #171B1F, 0 0 0 3px rgba(198,154,43,.28); background: #fff; }
.hd-msg { font-size: 14px; padding: 10px 12px; border-left: 2px solid #A8452F; background: rgba(168,69,47,.07); color: #171B1F; }
.hd-msg.ok { border-left-color: #5C7A4A; background: rgba(92,122,74,.09); }
.hd-msg:empty { display: none; }

/* ---------- the wall ---------- */
.hd-tabs { display: flex; gap: 22px; padding: 14px 0 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); overflow-x: auto; scrollbar-width: none; }
.hd-tabs::-webkit-scrollbar { display: none; }
.hd-tabs a { padding-bottom: 12px; white-space: nowrap; border-bottom: 2px solid transparent; }
.hd-tabs a:hover { color: var(--ink); }
.hd-tabs a.on { color: var(--ink); border-bottom-color: var(--gold); }
.hd-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hd-filters label { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px 0 12px; background: var(--white); box-shadow: inset 0 0 0 1px rgba(23,27,31,.18); color: var(--ink-2); }
.hd-filters label.on { box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
.hd-filters label .mono { font-size: 9.5px; color: var(--mute); }
.hd-filters select { font: inherit; font-size: 13.5px; color: inherit; background: transparent; border: 0; padding: 0; height: 36px; cursor: pointer; max-width: 180px; }
.hd-filters select:focus-visible { outline: 2px solid #C69A2B; outline-offset: 2px; }
.hd-clear { font: inherit; font-size: 13px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; cursor: pointer; padding: 0 4px; }
.hd-clear[hidden] { display: none; }
.hd-n { margin-left: auto; color: var(--mute); }
.hd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding-top: 20px; }
.hd-card { position: relative; background: var(--white); box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.hd-card[hidden] { display: none; }
.hd-card .hd-shot img { aspect-ratio: 4 / 3; }
.hd-card .hd-cp { padding: 11px 12px 12px; display: flex; flex-direction: column; gap: 4px; }
.hd-card .hd-cp a { font-weight: 400; font-size: 14.5px; }
.hd-card .hd-cp a:hover { color: var(--gold-t); }
.hd-card .hd-cp .mono { font-size: 9.5px; color: var(--mute); }
.hd-none { padding: 40px 0; font-size: 16px; color: var(--ink-2); }
.hd-none a { text-decoration: underline; }
.hd-none[hidden] { display: none; }

/* ---------- a home's story ---------- */
.hd-back { display: inline-block; margin-top: 28px; color: var(--ink-2); }
.hd-back:hover { color: var(--ink); }
.hd-cover { position: relative; margin-top: 18px; }
.hd-coverpic { cursor: zoom-in; }
.hd-coverpic img { height: clamp(360px, 52vw, 640px); }
.hd-coverpic .hd-room { display: none; }
.hd-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,13,15,.78) 0%, rgba(10,13,15,.2) 50%, rgba(10,13,15,0) 100%); pointer-events: none; }
.hd-covertx { position: absolute; left: clamp(20px, 3vw, 40px); right: clamp(20px, 3vw, 40px); bottom: clamp(22px, 3vw, 36px); color: #F8F9F9; z-index: 1; pointer-events: none; text-shadow: 0 1px 14px rgba(0,0,0,.5), 0 0 2px rgba(0,0,0,.35); }
.hd-covertx .hd-kick { color: #C69A2B; }
.hd-covertx h1 { margin-top: 12px; font-weight: 200; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -.025em; max-width: 20ch; text-wrap: balance; }
.hd-covertx p { margin-top: 12px; font-size: clamp(15px, 1.3vw, 17px); line-height: 1.5; color: rgba(248,249,249,.84); max-width: 60ch; }
.hd-cs { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 4vw, 56px); padding-top: clamp(28px, 4vw, 44px); }
.hd-body p { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); margin-top: 18px; max-width: 66ch; }
.hd-body > p:first-child { margin-top: 0; }
.hd-body h2 { margin-top: 38px; font-size: 28px; }
.hd-body h2 + p { margin-top: 12px; }
.hd-body ul { margin: 14px 0 0; padding-left: 20px; font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 66ch; }
.hd-body li { margin-top: 6px; }
.hd-body a { text-decoration: underline; text-underline-offset: 3px; }
.hd-body blockquote { margin: 34px 0 6px; padding-left: 22px; border-left: 2px solid var(--gold); max-width: 32ch; }
.hd-body blockquote p { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 300; font-size: 27px; line-height: 1.3; color: var(--ink); }
.hd-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 34px; }
.hd-fig { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.hd-fig .hd-shot img { aspect-ratio: 4 / 3; }
.hd-fig figcaption { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.hd-here { margin-top: 40px; padding: 24px 26px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.hd-here h2 { font-size: 24px; }
.hd-here p { margin-top: 12px; font-size: 15.5px; max-width: 70ch; }
.hd-here p b { font-weight: 400; color: var(--ink); }
.hd-here .hd-foot { font-size: 13px; color: var(--mute); }
.hd-end { margin-top: 40px; padding: 34px 36px; background: var(--ink); color: #F8F9F9; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.hd-end h2 { font-size: 28px; }
.hd-end p { margin-top: 8px; font-size: 14.5px; color: rgba(248,249,249,.72); max-width: 52ch; line-height: 1.55; }
.hd-facts { background: var(--white); box-shadow: 0 0 0 1px var(--line); padding: 22px 22px 24px; position: sticky; top: 96px; display: flex; flex-direction: column; gap: 14px; align-self: start; }
.hd-facts dl { margin: 0; display: flex; flex-direction: column; }
.hd-facts dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.hd-facts dt { color: var(--mute); }
.hd-facts dd { margin: 0; text-align: right; }
.hd-facts .hd-note { margin-top: 4px !important; font-size: 12.5px; }
.hd-credit { display: flex; gap: 12px; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); }
.hd-credit .hd-av { width: 44px; height: 44px; flex: none; background: var(--paper-2); display: grid; place-items: center; font-family: Michroma, monospace; font-size: 10px; color: var(--ink-2); }
.hd-credit b { display: block; font-weight: 400; font-size: 14px; }
.hd-credit span { display: block; font-size: 12.5px; color: var(--mute); }
.hd-others { margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }

/* ---------- a guide ---------- */
.hd-art { max-width: 780px; padding-top: 32px; }
.hd-art h1 { margin-top: 16px; font-weight: 200; font-size: clamp(34px, 4.2vw, 52px); line-height: 1.04; letter-spacing: -.025em; max-width: 20ch; text-wrap: balance; }
.hd-art .hd-lead { margin-top: 14px; font-size: clamp(16.5px, 1.4vw, 19px); line-height: 1.55; color: var(--ink-2); }
.hd-art .hd-meta { display: flex; gap: 18px; margin-top: 16px; color: var(--mute); }
.hd-artcover { margin: 28px 0 0; }
.hd-artcover .hd-shot img { aspect-ratio: 16 / 9; }
.hd-artcover .hd-room { display: none; }
.hd-artcover figcaption { font-size: 13px; color: var(--mute); padding-top: 8px; }
.hd-artcover figcaption a { text-decoration: underline; text-underline-offset: 3px; }
.hd-art .hd-body { margin-top: 28px; }
.hd-inline { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 20px 22px; background: var(--white); box-shadow: 0 0 0 1px var(--gold); }
.hd-inline b { display: block; font-weight: 400; font-size: 16px; }
.hd-inline span { display: block; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; margin-top: 4px; }

/* ---------- the opened picture ---------- */
.hd-box { position: fixed; inset: 0; z-index: 100; display: flex; background: rgba(15,18,21,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px)); font-family: Jost, Futura, sans-serif; font-weight: 300; color: #171B1F; }
.hd-box[hidden] { display: none; }
.hd-panel { margin: auto; width: min(1320px, 100%); max-height: 100%; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); background: #F8F9F9; box-shadow: 0 30px 80px rgba(0,0,0,.4); overflow: hidden; }
.hd-pic { position: relative; background: #1E2327; display: flex; align-items: center; justify-content: center; min-height: 0; }
.hd-pic img { display: block; width: 100%; height: 100%; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); object-fit: contain; }
.hd-ctl { position: absolute; width: 40px; height: 40px; display: grid; place-items: center; border: 0; cursor: pointer; background: rgba(248,249,249,.92); color: #171B1F; font-size: 18px; line-height: 1; }
.hd-ctl:hover { background: #fff; }
.hd-ctl:focus-visible { outline: 2px solid #C69A2B; outline-offset: 2px; }
.hd-x { left: 14px; top: 14px; }
.hd-prev { right: 60px; top: 14px; }
.hd-next { right: 14px; top: 14px; }
.hd-count2 { position: absolute; left: 14px; bottom: 14px; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.hd-aside { padding: 30px 32px; display: flex; flex-direction: column; gap: 16px; overflow-y: auto; }
.hd-aside .hd-kick { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; }
.hd-aside .hd-kick::after { display: none; }
.hd-aside h2 { margin: 0; font-weight: 200; font-size: 32px; line-height: 1.08; letter-spacing: -.02em; }
.hd-aside p { margin: 0; font-size: 15.5px; line-height: 1.55; color: #4A535A; }
.hd-aside dl { margin: 0; border-top: 1px solid rgba(23,27,31,.14); }
.hd-aside dl div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(23,27,31,.14); font-size: 14.5px; }
.hd-aside dt { color: #8A949B; padding-top: 3px; font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.hd-aside dd { margin: 0; }
.hd-aside .hd-acts { gap: 6px; }
.hd-aside .hd-story-link { font-size: 14px; color: #4A535A; text-decoration: underline; text-underline-offset: 3px; }
.hd-aside .hd-story-link:hover { color: #171B1F; }
.hd-aside .hd-note { margin-top: auto !important; padding-top: 12px; border-top: 1px solid rgba(23,27,31,.14); font-size: 12.5px; }

/* the cards a locked button opens */
.hd-card-dlg { position: fixed; inset: 0; z-index: 110; display: flex; padding: 16px; background: rgba(15,18,21,.5); font-family: Jost, Futura, sans-serif; font-weight: 300; color: #171B1F; }
.hd-card-dlg[hidden] { display: none; }
.hd-cbox { position: relative; margin: auto; width: min(440px, 100%); max-height: 100%; overflow-y: auto; background: #F8F9F9; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.hd-cbox .hd-cimg { height: 150px; width: 100%; object-fit: cover; display: block; }
.hd-cin { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 14px; }
.hd-cin h3 { margin: 0; font-weight: 200; font-size: 26px; line-height: 1.1; letter-spacing: -.01em; }
.hd-cin p { margin: 0; font-size: 15px; line-height: 1.55; color: #4A535A; }
.hd-cin ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 5px; font-size: 14.5px; color: #4A535A; }
.hd-cin .hd-kick { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; }
.hd-cin .hd-kick::after { display: none; }
.hd-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.hd-price b { font-weight: 200; font-size: 40px; letter-spacing: -.02em; }
.hd-price span { font-size: 13.5px; color: #8A949B; }
.hd-cin .hd-btn { width: 100%; }
.hd-cin small { font-size: 12.5px; line-height: 1.45; color: #8A949B; }
.hd-cin small a { color: #4A535A; text-decoration: underline; }
.hd-cx { position: absolute; right: 8px; top: 8px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: rgba(248,249,249,.92); cursor: pointer; font-size: 18px; color: #4A535A; }
.hd-homes { display: flex; flex-direction: column; border-top: 1px solid rgba(23,27,31,.14); }
.hd-home { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid rgba(23,27,31,.14); font-size: 15px; cursor: pointer; }
.hd-home input { margin: 0; accent-color: #171B1F; width: 16px; height: 16px; }
.hd-home small { display: block; }
.hd-home.off { color: #8A949B; cursor: default; }
.hd-diff { background: #EDEFF1; padding: 12px 14px; font-size: 14px; line-height: 1.7; color: #4A535A; }
.hd-diff b { font-weight: 400; color: #171B1F; }
body.hd-lock-scroll { overflow: hidden; }

@media (max-width: 1180px) { .hd-tiles { grid-template-columns: repeat(3, 1fr); } .hd-zones { grid-template-columns: repeat(3, 1fr); } .hd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 980px) {
  .hd-panel { grid-template-columns: minmax(0, 1fr); overflow-y: auto; }
  .hd-pic img { max-height: 58vh; }
  .hd-aside { padding: 22px 20px 26px; overflow: visible; }
  .hd-cs { grid-template-columns: minmax(0, 1fr); }
  .hd-facts { position: static; }
}
@media (max-width: 900px) {
  .hd-hero { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hd-count { text-align: left; flex-direction: row; align-items: baseline; gap: 10px; }
  .hd-count b { font-size: 30px; }
  .hd-feat { grid-template-columns: minmax(0, 1fr); }
  .hd-feattx { padding: 24px 22px 26px; }
  .hd-stories { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hd-news { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 26px 22px; }
  .hd-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hd-end, .hd-inline { grid-template-columns: minmax(0, 1fr); }
  .hd-coverpic img { height: clamp(300px, 60vw, 460px); }
}
@media (max-width: 560px) {
  .hd-tiles, .hd-zones { grid-template-columns: repeat(2, 1fr); }
  .hd-stories, .hd-strip { grid-template-columns: minmax(0, 1fr); }
  .hd-grid { grid-template-columns: minmax(0, 1fr); }
  .hd-filters label { flex: 1 1 45%; }
  .hd-newsrow { flex-direction: column; }
  .hd-covertx h1 { font-size: 30px; }
  .hd-body blockquote p { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) { .hd-shot img, .hd-tile img { transition: none; } .hd-shot:hover img, .hd-tile:hover img { transform: none; } }
