.hhi-local-page { --hhi-muted: #6b6b6b; --hhi-tint: #f5f5f5; --hhi-accent: #666; }
/* Give the hero the full content column beside the desktop directory. */
.hhi-layout { display: grid; grid-template-columns: 180px minmax(0, 1fr); column-gap: 32px; padding-inline: 24px 0; border-bottom: 1px solid var(--rule); }
.hhi-sidebar { min-width: 0; padding-top: 56px; }
.hhi-toc { position: sticky; top: calc(var(--header-height) + 32px); padding: 0 0 32px; }
.hhi-toc-title { margin: 38px 0 14px; color: var(--hhi-muted); font: 400 16px/1.5 "Geist", sans-serif; letter-spacing: .05em; text-transform: none; }
.hhi-toc-toggle, .hhi-directory-project { display: none; }
.hhi-toc ol { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.hhi-toc ol a { display: block; padding: 9px 10px; margin-left: -10px; border-radius: 6px; color: var(--hhi-muted); font: 400 16px/1.5 "Geist", sans-serif; }
.hhi-toc ol a:hover { color: var(--ink); background: #f5f5f5; }
.hhi-toc ol a[aria-current="location"] { color: var(--ink); background: #ededed; }
.hhi-back { position: relative; top: -20px; display: inline-flex; align-items: center; gap: 9px; min-height: 24px; color: var(--hhi-muted); font: 400 16px/1.5 "Geist", sans-serif; }
.hhi-back:hover { color: var(--ink); }
.hhi-article { --project-ink: #505050; min-width: 0; border-inline-start: 1px solid var(--rule); }
.hhi-inset { padding-inline: 32px; }
.hhi-intro { padding-top: 56px; padding-bottom: 48px; }
.hhi-overview { scroll-margin-top: 24px; }
.hhi-eyebrow { margin: 0 0 16px; color: var(--hhi-muted); font: 500 12px/1.6 "Geist", Arial, sans-serif; letter-spacing: .045em; text-transform: uppercase; }
.hhi-intro h1 { margin-top: 0; font: 300 clamp(32px, 2.6vw, 38px)/1.2 "Averia Serif Libre", Georgia, serif; letter-spacing: -.025em; text-wrap: balance; }
.hhi-overview-copy.hhi-copy { max-width: none; margin-top: 24px; }
.hhi-project-meta { margin-top: 24px; }
.hhi-project-meta dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; border-block: 1px solid var(--rule); }
.hhi-project-meta dl > div { min-width: 0; padding: 22px 18px; }
.hhi-project-meta dl > div + div { border-left: 1px solid var(--rule); }
.hhi-project-meta dt { margin-bottom: 10px; color: var(--ink); font: 500 14px/1.5 "Geist", Arial, sans-serif; }
.hhi-project-meta dd { margin: 0; color: var(--hhi-muted); font: 400 14px/1.5 "Geist", sans-serif; }
.hhi-cover { position: relative; width: 100%; aspect-ratio: 7 / 2; margin: 0 0 40px; overflow: hidden; border: 0; border-radius: 24px; background: var(--hhi-tint); }
.hhi-cover img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
/* Section labels stay small; the existing lead statements carry the hierarchy. */
.hhi-section { padding-block: 48px; border-top: 1px solid var(--rule); scroll-margin-top: 24px; }
.hhi-section#design { scroll-margin-top: 0; }
.hhi-section:last-child { padding-bottom: 80px; }
.hhi-section-heading { margin-bottom: 20px; }
.hhi-section-heading h2 { font: 400 17px/1.5 "Geist", Arial, sans-serif; color: var(--hhi-muted); letter-spacing: normal; text-transform: none; }
.hhi-section h3 { margin: 0; font: 500 30px/1.22 "Geist", Arial, sans-serif; letter-spacing: -.02em; text-wrap: pretty; }
.hhi-section h4 { margin: 0; font: 500 23px/1.25 "Geist", Arial, sans-serif; letter-spacing: -.015em; }
.hhi-copy { max-width: 68ch; }
.hhi-copy p { margin-top: 18px; color: var(--project-ink); font: 400 16px/1.75 "Geist", Arial, sans-serif; text-wrap: pretty; }
.hhi-copy > p:first-child { margin-top: 0; }
.hhi-copy p + p { margin-top: 16px; }
.hhi-copy strong { font-weight: 600; color: var(--ink); }
.hhi-summary { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px 20px; margin: 28px 0 0; padding: 24px; background: var(--hhi-tint); font: 400 15px/1.65 "Geist", Arial, sans-serif; }
.hhi-summary dt { color: var(--ink); font-weight: 500; }
.hhi-summary strong { color: var(--ink); font-weight: 600; }
.hhi-summary dd { margin: 0; color: var(--project-ink); }
.hhi-jump-design { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 16px; padding: 8px 0; border: 0; background: transparent; color: var(--ink); font: 400 14px/1.5 "Geist", Arial, sans-serif; }
.hhi-jump-design::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; opacity: 1; }
.hhi-jump-design:hover { opacity: .65; }
.hhi-guest-quote { margin: 24px 0; padding: 4px 0 4px 24px; border-left: 2px solid #d6d6d6; }
.hhi-copy .hhi-guest-quote p, .hhi-iteration-feedback p { margin: 0; color: var(--project-ink); font: 400 21px/1.55 "Source Serif 4", Georgia, serif; }
.hhi-guest-quote cite { display: block; margin-top: 14px; color: var(--hhi-muted); font: 400 12px/1.5 "Geist", Arial, sans-serif; }
.hhi-touchpoint-reasons { margin: 22px 0 0; padding-left: 22px; color: var(--project-ink); font: 400 16px/1.75 "Geist", Arial, sans-serif; }
.hhi-touchpoint-reasons li + li { margin-top: 12px; }
.hhi-small-label { font: 400 12px/1.5 "Geist Mono", monospace; color: var(--hhi-muted); }
.hhi-email-preview { display: block; position: relative; width: 100%; padding: 0; border: 1px solid var(--rule); overflow: hidden; background: #fff; text-align: left; }
.hhi-email-preview img { display: block; width: 100%; height: auto; }
.hhi-email-before { aspect-ratio: 4680 / 9668; }
.hhi-email-before img { height: 100%; object-fit: contain; }
/* Reuse the prototype button while keeping its overlay legible on email artwork. */
.case-page .hhi-enlarge.case-jump-design { position: absolute; right: 12px; bottom: 12px; width: max-content; max-width: calc(100% - 24px); min-height: 34px; gap: 8px; margin: 0; padding: 0 10px; background: var(--paper); font-size: 13px; }
.case-page .hhi-enlarge.case-jump-design svg { width: 18px; height: 18px; }
.case-page .hhi-email-preview:is(:hover, :focus-visible) .hhi-enlarge { border-color: #9bafbd; background: #f1f4f6; }
.case-page .hhi-email-preview:is(:hover, :focus-visible) .hhi-enlarge svg { transform: translateX(3px); }
.hhi-before { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, .65fr); align-items: center; gap: 40px; }
.hhi-before h3, .hhi-final-intro h3, .hhi-iteration h3 { font-size: 27px; }
.hhi-final-intro { margin-top: 64px; }
.hhi-final-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.hhi-final-panel { display: grid; grid-template-rows: subgrid; grid-row: span 2; gap: 20px; min-width: 0; margin: 0; }
.hhi-final-panel figcaption { padding: 0; }
.hhi-design-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, auto); grid-auto-flow: column; gap: 24px 40px; margin: 32px 0 0; padding-left: 22px; color: var(--project-ink); font: 400 15px/1.75 "Geist", Arial, sans-serif; }
.hhi-design-notes li { min-width: 0; padding-left: 4px; }
.hhi-design-notes li::marker { color: var(--hhi-muted); }
.hhi-design-notes strong { font-weight: 600; color: var(--ink); }
.hhi-iteration { margin-top: 48px; scroll-margin-top: calc(var(--header-height) + 24px); }
.hhi-iteration-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.hhi-iteration-compare figure { min-width: 0; margin: 0; }
.hhi-iteration-compare figcaption { margin-bottom: 16px; }
.hhi-iteration-compare .hhi-email-preview { background: var(--hhi-tint); }
.hhi-guest-quote.hhi-iteration-feedback { margin: 24px 0 0; padding-inline: 0; border-left: 0; }
.hhi-iteration-feedback p { font-size: 16px; line-height: 1.65; }
.hhi-iteration-after { padding: 12px; }
.hhi-iteration-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hhi-iteration-card { position: relative; display: block; aspect-ratio: 2144 / 1456; overflow: hidden; background: #fff; }
/* Show only each card from the unchanged full-resolution email artwork. */
.hhi-iteration-card img { position: absolute; top: 0; left: -6.716418%; width: 113.432836%; max-width: none; height: auto; }
.hhi-iteration-venue img { transform: translateY(-37.281602%); }
.hhi-iteration-parking img { transform: translateY(-46.832059%); }
.hhi-email-final { aspect-ratio: 2432 / 5400; border: 12px solid var(--hhi-tint); box-sizing: content-box; width: calc(100% - 24px); }
.hhi-email-final img { position: absolute; left: 0; top: 0; }
.hhi-email-arrival img { transform: translateY(-35.44115%); }
.hhi-prototype-outro { margin-top: 36px; }
.hhi-copy.hhi-prototype-outro p { font-size: 16px; line-height: 1.7; }
.hhi-prototype-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; padding: 0 0 1px; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; background: transparent; color: var(--hhi-muted); font: 400 14px/1.5 "Geist", sans-serif; }
/* Fit the longer label and arrow inside the shared button's padding. */
.case-page .hhi-prototype-link.case-jump-design { width: max-content; max-width: 100%; gap: 16px; white-space: nowrap; }
.hhi-prototype-link svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hhi-prototype-link:hover { color: var(--ink); }
.hhi-impact { display: grid; grid-template-columns: .65fr 1.35fr; column-gap: 40px; align-items: center; padding: 36px; border: 1px solid var(--rule); background: #f7f7f7; }
.hhi-impact-number { grid-column: 1; grid-row: 1 / 3; margin: 0; font: 300 clamp(80px, 7vw, 110px)/1 "Geist", Arial, sans-serif; letter-spacing: -.05em; }
.hhi-impact-number span { font-size: .6em; letter-spacing: -.04em; }
.hhi-impact-conclusion { font: 400 15px/1.7 "Geist", Arial, sans-serif; }
.hhi-impact-detail { grid-column: 2; margin-top: 16px; color: var(--project-ink); font: 400 15px/1.7 "Geist", Arial, sans-serif; }
.hhi-impact-detail strong { font-weight: 600; color: var(--ink); }
.hhi-results-copy { margin-top: 24px; }
.hhi-reflection-copy { max-width: none; }
.hhi-reflection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.hhi-reflection-card { min-width: 0; padding: 24px; border: 1px solid var(--rule); background: var(--hhi-tint); }
.hhi-section .hhi-reflection-card h3 { font-size: 24px; line-height: 1.3; }
.hhi-copy .hhi-research-note { margin-top: 32px; color: var(--hhi-muted); font-size: 13px; }
.hhi-email-viewer { width: min(980px, calc(100vw - 48px)); max-width: none; height: calc(100dvh - 48px); max-height: none; margin: auto; padding: 0; border: 1px solid var(--rule); background: #fff; color: var(--ink); overflow: hidden; }
.hhi-email-viewer[open] { display: flex; flex-direction: column; }
.hhi-email-viewer::backdrop { background: rgb(20 20 20 / 65%); }
.hhi-viewer-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-shrink: 0; min-height: 58px; border-bottom: 1px solid var(--rule); }
.hhi-viewer-toolbar h2 { padding: 12px 20px; font: 400 16px/1.4 "Geist", sans-serif; }
.hhi-viewer-close { display: inline-flex; justify-content: center; align-items: center; gap: 16px; align-self: stretch; padding: 12px 20px; border: 0; border-left: 1px solid var(--rule); background: #fff; font-size: 14px; }
.hhi-viewer-close span { font-size: 24px; line-height: 1; }
.hhi-email-scroll { min-height: 0; overflow: auto; overscroll-behavior: contain; }
.hhi-email-scroll > img, .hhi-viewer-detail > img { display: block; width: 100%; height: auto; }
.hhi-email-viewer.hhi-detail-viewer { height: auto; max-height: calc(100dvh - 48px); }
.hhi-detail-viewer .hhi-email-scroll { padding: 16px; background: var(--hhi-tint); }
.hhi-viewer-detail .hhi-iteration-cards { gap: 16px; }
.hhi-local-page.hhi-viewer-open { overflow: hidden; }
@media (max-width: 1279px) {
  .hhi-project-meta dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hhi-project-meta dl > div:nth-child(2n + 1) { border-left: 0; }
  .hhi-project-meta dl > div:nth-child(n + 3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 1279px) and (min-width: 1024px) {
  .hhi-layout { grid-template-columns: 180px minmax(0, 1fr); column-gap: 32px; }
  .hhi-before { gap: 28px; }
  .hhi-impact { padding: 28px; gap: 18px 28px; }
  .hhi-impact-number { font-size: 80px; }
}
@media (max-width: 1023px) {
  .hhi-local-page { --hhi-directory-height: 56px; padding-bottom: calc(var(--hhi-directory-height) + 1px + env(safe-area-inset-bottom)); }
  .hhi-local-page .copy-status { bottom: calc(var(--hhi-directory-height) + env(safe-area-inset-bottom) + 16px); }
  .hhi-layout { display: block; padding-inline: 0; }
  .hhi-article { border-inline: 0; }
  .hhi-inset { padding-inline: 36px; }
  .hhi-sidebar { position: fixed; top: auto; bottom: 0; left: 0; right: 0; z-index: 25; padding: 0 0 env(safe-area-inset-bottom); margin: 0; border-top: 1px solid var(--rule); background: #fff; }
  .hhi-toc { position: relative; top: auto; display: flex; align-items: stretch; justify-content: space-between; width: calc(100% - var(--gutter) * 2); max-width: var(--rail-width); min-height: var(--hhi-directory-height); margin-inline: auto; padding: 0; border-inline: 1px solid var(--rule); background: #fff; }
  .hhi-toc-title, .hhi-back { display: none; }
  .hhi-toc-toggle { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-shrink: 0; min-width: 170px; min-height: var(--hhi-directory-height); padding: 0 24px; border: 0; border-right: 1px solid var(--rule); background: #fff; text-align: left; font: 400 14px/1.4 "Geist", sans-serif; }
  .hhi-toc-toggle:hover, .hhi-toc-toggle[aria-expanded="true"] { background: #f5f5f5; }
  .hhi-toc-toggle:focus-visible { outline-offset: -4px; }
  .hhi-directory-project { display: flex; align-items: center; justify-content: flex-end; flex: 1; min-width: 0; padding: 8px 24px; font: 300 18px/1.3 "Averia Serif Libre", Georgia, serif; text-align: right; text-wrap: pretty; }
  .hhi-toc-toggle svg { width: 17px; height: 17px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; }
  .hhi-toc-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .hhi-toc ol { position: absolute; bottom: 100%; left: -1px; display: none; width: min(340px, calc(100% + 2px)); max-height: min(65dvh, calc(100dvh - var(--header-height) - var(--hhi-directory-height) - env(safe-area-inset-bottom) - 24px)); overflow-y: auto; overscroll-behavior: contain; padding: 8px 12px; border: 1px solid var(--rule); background: #fff; box-shadow: 0 -10px 18px rgb(0 0 0 / 5%); }
  .hhi-toc.is-open ol { display: grid; }
  .hhi-toc ol a { min-height: 44px; margin-left: 0; padding: 11px 12px; font-size: 14px; }
  .hhi-intro { padding-top: 44px; }
  .hhi-section { padding-block: 36px; }
}
@media (max-width: 767px) {
  .hhi-local-page { --hhi-directory-height: 80px; }
  .hhi-inset { padding-inline: 22px; }
  .hhi-toc-toggle { min-width: 112px; gap: 8px; padding-inline: 12px; }
  .hhi-directory-project { padding: 6px 12px; font-size: 13px; }
  .hhi-intro { padding-top: 36px; }
  .hhi-intro h1 { font-size: clamp(28px, 6.8vw, 32px); }
  .hhi-eyebrow { font-size: 11px; }
  .hhi-summary { grid-template-columns: 1fr; gap: 6px; padding: 20px; font-size: 14px; }
  .hhi-summary dd + dt { margin-top: 12px; }
  .hhi-project-meta { margin-top: 24px; }
  .hhi-project-meta dl > div { padding: 18px 12px; }
  .hhi-project-meta dd { font-size: 13px; }
  .hhi-project-meta dt { font-size: 13px; }
  .hhi-cover { margin-bottom: 32px; border-radius: 16px; }
  .hhi-section { padding-block: 28px; }
  .hhi-section:last-child { padding-bottom: 56px; }
  .hhi-section-heading { margin-bottom: 18px; }
  .hhi-section-heading h2 { font-size: 16px; }
  .hhi-section h3 { font-size: 27px; }
  .hhi-copy p { font-size: 16px; line-height: 1.7; }
  .hhi-guest-quote { padding-left: 18px; }
  .hhi-copy .hhi-guest-quote p { font-size: 19px; }
  .hhi-touchpoint-reasons { font-size: 16px; line-height: 1.7; }
  .hhi-before { grid-template-columns: 1fr; gap: 26px; }
  .hhi-final-grid { grid-template-columns: 1fr; gap: 22px; }
  .hhi-final-panel { gap: 18px; }
  .hhi-final-panel + .hhi-final-panel { margin-top: 16px; }
  .hhi-final-intro { margin-top: 44px; }
  .hhi-design-notes { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; gap: 20px; font-size: 15px; }
  .hhi-iteration { margin-top: 36px; }
  .hhi-iteration-compare { grid-template-columns: 1fr; gap: 24px; }
  .hhi-reflection-grid { grid-template-columns: 1fr; gap: 20px; }
  .hhi-reflection-card { padding: 20px; }
  .hhi-email-before { width: min(100%, 300px); justify-self: center; }
  .hhi-impact { display: block; padding: 26px; }
  .hhi-impact-number { font-size: 88px; }
  .hhi-impact-conclusion { margin-top: 18px; }
  .hhi-impact-detail { font-size: 15px; }
  .hhi-email-viewer { width: calc(100vw - 20px); height: calc(100dvh - 20px); }
  .hhi-email-viewer.hhi-detail-viewer { max-height: calc(100dvh - 20px); }
  .hhi-viewer-toolbar { gap: 10px; }
  .hhi-viewer-toolbar h2 { padding: 12px; font-size: 14px; }
  .hhi-viewer-close { padding: 12px; gap: 10px; }
}
