/* Our Story only. Uses the established Homsef family, colours and controls. */
.he-story { --he-story-paper: #f4f1ed; }
.he-story .he-eyebrow { display: block; }
.he-story-hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 30px; padding: 36px; overflow: hidden; border-radius: var(--he-radius); background: var(--he-story-paper); }
.he-story-hero-copy { min-width: 0; padding: 8px 0; }
.he-story-hero h1 { font-size: clamp(36px, 4.2vw, 60px); line-height: 1.08; }
.he-story-hero h1 span { color: var(--he-red); }
.he-story-hero-copy > p { max-width: 34ch; margin: 22px 0 26px; color: #4f5357; font-size: 16px; line-height: 1.75; }
.he-story-hero .he-button { max-width: 100%; }
.he-story-collage { position: relative; min-width: 0; min-height: 410px; }
.he-story-photo { overflow: hidden; border-radius: var(--he-radius); background: #fff; }
.he-story-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.he-story-photo figcaption { padding: 12px 15px; color: #4f5357; font-size: 12px; line-height: 1.5; }
.he-story-photo-main { width: 82%; margin: 0 0 0 auto; }
.he-story-photo-detail { position: absolute; bottom: 0; left: 0; width: 43%; margin: 0; border: 6px solid var(--he-story-paper); }
.he-story-photo-detail figcaption { padding: 9px 12px 12px; }
.he-story-intro, .he-story-delivery { display: grid; grid-template-columns: .95fr 1.05fr; gap: 60px; margin: 64px 0; }
.he-story-intro h2, .he-story-delivery h2, .he-story-section-heading h2, .he-story-guide h2 { font-size: clamp(27px, 2.65vw, 37px); line-height: 1.2; }
.he-story-prose { max-width: 60ch; color: #4f5357; font-size: 16px; line-height: 1.8; }
.he-story-prose p { margin-bottom: 20px; }
.he-story-prose p:last-child { margin-bottom: 0; }
.he-story-section-heading { max-width: 650px; margin-bottom: 26px; }
.he-story-principles { margin: 64px 0; }
.he-story-principle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.he-story-principle-grid article { min-width: 0; padding-top: 20px; border-top: 1px solid var(--he-line); }
.he-story-number { display: block; margin-bottom: 22px; color: var(--he-red); font-size: 14px; font-weight: 700; }
.he-story-principle-grid h3, .he-story-collection h3, .he-story-steps h3 { margin-bottom: 12px; font-size: 21px; line-height: 1.3; }
.he-story-principle-grid p { margin: 0; color: #4f5357; font-size: 16px; line-height: 1.75; }
.he-story-collections { margin: 64px 0; }
.he-story-collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.he-story-collection { display: flex; flex-direction: column; min-width: 0; border-radius: var(--he-radius); }
.he-story-collection-image { overflow: hidden; border: 1px solid var(--he-line); border-radius: var(--he-radius); background: #fff; }
.he-story-collection-image img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.he-story-collection-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 20px 0 0; }
.he-story-collection-copy p { margin: 0 0 12px; color: #4f5357; font-size: 16px; line-height: 1.75; }
.he-story-text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--he-red); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.he-story-text-link .ph { font-size: 18px; }
.he-story-collection-copy .he-story-text-link { margin-top: auto; }
.he-story-collection:hover h3, .he-story-text-link:hover { color: var(--he-red-hover); }
.he-story-guide { display: grid; grid-template-columns: .95fr 1.05fr; gap: 60px; margin: 64px 0; padding: 36px; border-radius: var(--he-radius); background: var(--he-soft); }
.he-story-guide-heading > p { max-width: 34ch; margin: 18px 0 0; color: #4f5357; font-size: 16px; line-height: 1.75; }
.he-story-steps { margin: 0 0 0 25px; padding: 0; list-style: decimal-leading-zero; }
.he-story-steps li { padding: 0 0 20px 12px; }
.he-story-steps li:last-child { padding-bottom: 0; }
.he-story-steps li::marker { color: var(--he-red); font-size: 14px; font-weight: 700; }
.he-story-steps h3 { margin-bottom: 7px; }
.he-story-steps p { margin: 0; color: #4f5357; font-size: 16px; line-height: 1.75; }
.he-story-business { max-width: 38ch; margin: 20px 0 0; color: var(--he-muted); font-size: 14px; line-height: 1.75; }
.he-story-support { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 36px; border-radius: var(--he-radius); color: #fff; background: #101414; }
.he-story-support .he-eyebrow { color: #d8d9d9; }
.he-story-support h2 { max-width: 25ch; font-size: clamp(27px, 2.65vw, 37px); line-height: 1.2; }
.he-story-support p { max-width: 52ch; margin: 16px 0 0; color: #d8d9d9; font-size: 16px; line-height: 1.75; }
.he-story-support-actions { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-start; }
.he-story-support-email { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; color: #fff; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.he-story-support a:focus-visible { outline-color: #fff; }
@media (min-width: 768px) and (max-width: 1100px) {
  .he-story-hero { gap: 22px; padding: 28px; }
  .he-story-collage { min-height: 340px; }
  .he-story-hero h1 { font-size: 40px; }
  .he-story-intro, .he-story-delivery, .he-story-guide { gap: 32px; }
  .he-story-principle-grid, .he-story-collection-grid { gap: 20px; }
  .he-story-guide, .he-story-support { padding: 28px; }
  .he-story-support { align-items: flex-start; flex-direction: column; gap: 22px; }
}
@media (max-width: 767px) {
  .he-story-hero { grid-template-columns: 1fr; gap: 28px; padding: 24px 20px; }
  .he-story-hero-copy { padding: 0; }
  .he-story-hero h1 { font-size: clamp(34px, 9vw, 48px); }
  .he-story-hero-copy > p { max-width: 36ch; margin: 18px 0 22px; }
  .he-story-hero .he-button { padding-inline: 16px; }
  .he-story-collage { width: 100%; max-width: 460px; min-height: 340px; margin: 0 auto; }
  .he-story-photo-main { width: 84%; }
  .he-story-photo-detail { width: 45%; border-width: 5px; }
  .he-story-photo figcaption { padding: 10px 12px; font-size: 11px; }
  .he-story-intro, .he-story-delivery { grid-template-columns: 1fr; gap: 22px; margin: 42px 0; }
  .he-story-intro h2, .he-story-delivery h2, .he-story-section-heading h2, .he-story-guide h2, .he-story-support h2 { font-size: 28px; }
  .he-story-principles, .he-story-collections { margin: 42px 0; }
  .he-story-section-heading { margin-bottom: 22px; }
  .he-story-principle-grid { grid-template-columns: 1fr; gap: 22px; }
  .he-story-principle-grid article { padding-top: 18px; }
  .he-story-number { margin-bottom: 12px; }
  .he-story-collection-grid { grid-template-columns: 1fr; gap: 32px; }
  .he-story-collection-image img { aspect-ratio: 4 / 3; }
  .he-story-collection-copy { padding-top: 18px; }
  .he-story-guide { grid-template-columns: 1fr; gap: 26px; margin: 42px 0; padding: 24px 20px; }
  .he-story-guide-heading > p { margin-top: 14px; }
  .he-story-business { max-width: none; margin-top: 16px; }
  .he-story-support { align-items: flex-start; flex-direction: column; gap: 24px; padding: 26px 22px; }
  .he-story-support-actions { max-width: 100%; }
}


/* Contact and 404 additions. Existing logo, typography, colours and buttons are reused. */
.he-contact-page .he-info-hero { max-width: 760px; padding: 24px 0 32px; }
.he-contact-page .he-info-hero h1 { margin: 12px 0 20px; font-size: clamp(36px, 4.6vw, 62px); text-wrap: balance; }
.he-contact-page .he-info-lead { max-width: 600px; color: #4f5357; font-size: 17px; line-height: 1.8; text-wrap: pretty; }
.he-contact-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0 0 64px; }
.he-contact-method { min-width: 0; padding: 32px; border: 1px solid var(--he-line); border-radius: var(--he-radius); }
.he-contact-method:first-child { background: var(--he-soft); }
.he-contact-method-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 24px; border: 1px solid var(--he-line); border-radius: 12px; background: #fff; }
.he-contact-method-icon .ph { color: var(--he-red); font-size: 24px; }
.he-contact-method h2 { max-width: 360px; margin: 12px 0 16px; font-size: clamp(23px, 2.2vw, 29px); text-wrap: balance; }
.he-contact-method p { max-width: 440px; color: #4f5357; font-size: 14px; line-height: 1.8; text-wrap: pretty; }
.he-contact-action { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 48px; max-width: 100%; margin: 8px 0 12px; color: var(--he-red); font-size: clamp(20px, 2.1vw, 26px); font-weight: 700; overflow-wrap: anywhere; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.he-contact-action .ph { font-size: 22px; }
.he-contact-method .he-contact-note { margin-bottom: 0; font-size: 12px; }
.he-help-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; gap: 48px; padding: 0 0 64px; border-bottom: 1px solid var(--he-line); }
.he-help-checklist h2, .he-contact-office h2, .he-help-faq h2, .he-help-shopping h2 { margin: 12px 0 16px; font-size: clamp(25px, 2.6vw, 34px); text-wrap: balance; }
.he-help-checklist > p, .he-contact-office p, .he-help-faq p, .he-help-shopping p { color: #4f5357; font-size: 14px; line-height: 1.8; text-wrap: pretty; }
.he-help-steps { display: grid; gap: 24px; margin: 28px 0 0; padding: 0; list-style: none; }
.he-help-steps li { display: flex; align-items: flex-start; gap: 16px; }
.he-help-step-number { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--he-line); border-radius: 50%; color: var(--he-red); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.he-help-steps h3 { margin: 3px 0 8px; font-size: 17px; line-height: 1.45; text-wrap: balance; }
.he-help-steps p { margin: 0; color: #4f5357; font-size: 14px; line-height: 1.8; text-wrap: pretty; }
.he-contact-office { padding: 28px; border-radius: var(--he-radius); background: var(--he-soft); }
.he-contact-office > .ph { display: block; margin-bottom: 20px; color: var(--he-red); font-size: 28px; }
.he-contact-office h2 { font-size: 26px; }
.he-contact-office address { margin: 0 0 24px; font-size: 14px; font-style: normal; line-height: 1.9; }
.he-contact-office p { margin: 0; font-size: 12px; }
.he-help-faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; padding: 56px 0; }
.he-help-faq-heading p { max-width: 320px; }
.he-help-faq a, .he-help-empty-links a { color: var(--he-red); text-decoration: underline; text-underline-offset: 3px; }
.he-help-questions { border-top: 1px solid var(--he-line); }
.he-help-questions details { border-bottom: 1px solid var(--he-line); }
.he-help-questions summary { min-height: 56px; padding: 20px 4px; font-size: 15px; font-weight: 650; line-height: 1.6; cursor: pointer; }
.he-help-questions summary::marker { color: var(--he-red); }
.he-help-questions details > div { padding: 0 24px 20px; }
.he-help-questions details p:last-child { margin: 0; }
.he-help-shopping { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 32px; border-radius: var(--he-radius); background: var(--he-soft); }
.he-help-shopping > div { max-width: 600px; }
.he-help-shopping h2 { font-size: 28px; }
.he-help-shopping p { margin: 0; }
.he-help-shopping .he-button { flex-shrink: 0; }
.he-help-empty { max-width: 780px; margin: 0 auto; padding: 32px 0 40px; text-align: center; }
.he-help-code { display: block; margin-bottom: 20px; color: var(--he-red); font-size: clamp(72px, 12vw, 128px); font-weight: 750; line-height: 1; font-variant-numeric: tabular-nums; }
.he-help-empty h1 { margin: 12px 0 20px; font-size: clamp(32px, 4.4vw, 50px); text-wrap: balance; }
.he-help-empty .he-info-lead { max-width: 540px; margin: 0 auto 28px; color: #4f5357; font-size: 16px; line-height: 1.8; text-wrap: pretty; }
.he-help-search { max-width: 580px; margin: 40px auto 0; padding-top: 32px; border-top: 1px solid var(--he-line); text-align: left; }
.he-help-search label { display: block; margin-bottom: 12px; font-size: 14px; font-weight: 650; }
.he-help-search-row { display: flex; gap: 8px; }
.he-help-search input[type="search"] { flex: 1; min-width: 0; min-height: 48px; padding: 12px 14px; border: 1px solid var(--he-line); border-radius: 12px; background: #fff; font-size: 14px; }
.he-help-search .he-button { flex-shrink: 0; }
.he-help-empty-links { margin-top: 24px; color: #4f5357; font-size: 13px; }
@media (max-width: 1000px) {
  .he-help-layout, .he-help-faq { gap: 28px; }
  .he-contact-method { padding: 26px; }
  .he-help-shopping { align-items: flex-start; flex-direction: column; gap: 20px; }
}
@media (max-width: 767px) {
  .he-contact-page .he-info-hero { padding: 12px 0 24px; }
  .he-contact-page .he-info-hero h1 { font-size: 38px; }
  .he-contact-page .he-info-lead { font-size: 15px; }
  .he-contact-methods { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .he-contact-method { padding: 24px; }
  .he-contact-method-icon { margin-bottom: 20px; }
  .he-contact-action { font-size: 23px; }
  .he-help-layout, .he-help-faq { grid-template-columns: 1fr; gap: 28px; }
  .he-help-layout { padding-bottom: 40px; }
  .he-help-checklist h2, .he-help-faq h2 { font-size: 28px; }
  .he-contact-office { padding: 24px; }
  .he-help-faq { padding: 40px 0; }
  .he-help-faq-heading p { max-width: none; margin: 0; }
  .he-help-questions summary { font-size: 14px; }
  .he-help-questions details > div { padding-inline: 20px 4px; }
  .he-help-shopping { padding: 24px; }
  .he-help-shopping h2 { font-size: 25px; }
  .he-help-empty { padding-top: 20px; }
  .he-help-empty .he-info-lead { font-size: 14px; }
  .he-help-search-row { flex-direction: column; }
  .he-help-search .he-button { align-self: flex-start; }
}


/* Customer-information pages: layout and reading controls only. */
.he-info-page h1, .he-info-page h2, .he-info-page h3, .he-story h1, .he-story h2, .he-story h3 { text-wrap: balance; }
.he-info-page p, .he-story p { text-wrap: pretty; }
.he-info-page .he-eyebrow { display: block; }
.he-policy-page { max-width: 1240px; }
.he-info-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; color: var(--he-muted); font-size: 12px; }
.he-info-breadcrumb a { display: inline-flex; align-items: center; min-height: 36px; color: var(--he-ink); text-decoration: underline; text-underline-offset: 3px; }
.he-policy-hero { padding: 14px 0 32px; }
.he-policy-hero h1 { max-width: 800px; margin: 12px 0 20px; font-size: clamp(36px, 4.5vw, 58px); }
.he-policy-hero .he-info-lead { max-width: 620px; margin: 0; color: #4f5357; font-size: 17px; line-height: 1.8; }
.he-policy-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0 0 44px; padding: 24px 28px; border: 1px solid var(--he-line); border-radius: var(--he-radius); background: var(--he-soft); }
.he-policy-facts > div { min-width: 0; padding: 0 24px; }
.he-policy-facts > div:first-child { padding-left: 0; }
.he-policy-facts > div:last-child { padding-right: 0; }
.he-policy-facts > div + div { border-left: 1px solid #d7d8da; }
.he-policy-facts dt { margin: 0 0 8px; font-size: 20px; font-weight: 750; line-height: 1.4; font-variant-numeric: tabular-nums; }
.he-policy-facts dd { margin: 0; color: #4f5357; font-size: 12px; line-height: 1.6; }
.he-policy-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); align-items: start; gap: 64px; }
.he-policy-sidebar { position: sticky; top: 28px; min-width: 0; }
.admin-bar .he-policy-sidebar { top: 60px; }
.he-policy-index-desktop { max-height: min(620px, calc(100vh - 120px)); overflow-y: auto; scrollbar-width: thin; padding: 0 12px 4px 0; }
.he-policy-index-desktop h2 { margin: 0 0 14px; font-size: 16px; line-height: 1.5; }
.he-policy-index-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.he-policy-index-list a { display: block; min-height: 40px; padding: 8px 0; color: #4f5357; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.he-policy-index-list a:hover, .he-policy-index-list a:focus-visible { color: var(--he-red); text-decoration: underline; text-underline-offset: 3px; }
.he-policy-index-mobile { display: none; }
.he-policy-help { display: grid; gap: 12px; margin-top: 24px; padding: 22px; border-radius: var(--he-radius); background: var(--he-soft); }
.he-policy-help h2 { margin: 0; font-size: 19px; line-height: 1.4; }
.he-policy-help p { margin: 0; color: #4f5357; font-size: 12px; line-height: 1.75; }
.he-policy-help a { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; min-height: 36px; color: var(--he-red); font-size: 12px; font-weight: 650; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }
.he-policy-help .ph { font-size: 16px; }
.he-policy-body { max-width: 780px; min-width: 0; margin: 0; padding: 0; color: #4f5357; font-size: 15px; line-height: 1.9; overflow-wrap: anywhere; }
.he-policy-body > :first-child { margin-top: 0; }
.he-policy-body h2 { margin: 42px 0 18px; color: var(--he-ink); font-size: 24px; line-height: 1.4; scroll-margin-top: 36px; }
.he-policy-body h3 { margin: 26px 0 12px; color: var(--he-ink); font-size: 19px; line-height: 1.5; scroll-margin-top: 36px; }
.admin-bar .he-policy-body :is(h2,h3) { scroll-margin-top: 68px; }
.he-policy-body h2 :is(strong,b,u), .he-policy-body h3 :is(strong,b,u) { font-weight: inherit; text-decoration: none; }
.he-policy-body p { margin-bottom: 20px; }
.he-policy-body ul, .he-policy-body ol { padding-left: 22px; }
.he-policy-body li { padding-left: 3px; margin-bottom: 8px; }
.he-policy-body .he-policy-original-title { margin: 0 0 20px; color: var(--he-muted); font-size: 12px; }
.he-policy-related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--he-line); }
.he-policy-related a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 86px; padding: 22px; border: 1px solid var(--he-line); border-radius: var(--he-radius); font-size: 17px; font-weight: 700; }
.he-policy-related a:hover { color: var(--he-red); border-color: var(--he-red); }
@media (max-width: 1100px) {
  .he-policy-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 32px; }
  .he-policy-facts { padding: 22px; }
  .he-policy-facts > div { padding: 0 14px; }
  .he-policy-facts dt { font-size: 17px; }
  .he-policy-help { padding: 18px; }
}
@media (max-width: 900px) {
  .he-policy-layout { grid-template-columns: 1fr; gap: 28px; }
  .he-policy-sidebar { position: static; }
  .he-policy-index-desktop { display: none; }
  .he-policy-index-mobile { display: block; border: 1px solid var(--he-line); border-radius: 12px; }
  .he-policy-index-mobile summary { min-height: 52px; padding: 14px 18px; font-size: 14px; font-weight: 700; cursor: pointer; }
  .he-policy-index-mobile summary::marker { color: var(--he-red); }
  .he-policy-index-mobile nav { padding: 0 18px 12px; }
  .he-policy-help { display: none; }
  .he-policy-body { max-width: none; }
}
@media (max-width: 767px) {
  .he-info-breadcrumb { margin-bottom: 6px; font-size: 11px; }
  .he-policy-hero { padding: 12px 0 28px; }
  .he-policy-hero h1 { font-size: 36px; }
  .he-policy-hero .he-info-lead { font-size: 15px; }
  .he-policy-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; margin-bottom: 28px; padding: 22px; }
  .he-policy-facts > div { padding: 0; }
  .he-policy-facts > div + div { border-left: 0; }
  .he-policy-facts dt { margin-bottom: 5px; font-size: 19px; }
  .he-policy-body { font-size: 14px; line-height: 1.85; }
  .he-policy-body h2 { margin-top: 32px; font-size: 21px; }
  .he-policy-body h3 { font-size: 18px; }
  .he-policy-related { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; padding-top: 24px; }
  .he-policy-related a { min-height: 72px; padding: 18px; font-size: 16px; }
}

.he-sidebar-bottom a[aria-current="page"] { background: #202222; font-weight: 700; }

/* Keep the large photo caption clear of the overlapping detail card. */
.he-story-photo-main figcaption { padding-left: 38%; text-align: right; }
