/* Home page, the quiet pass (22 Nov 2026), after the way the jewellery houses' home pages read:
   one idea to a section, one body size, one heading style, more air between sections, and a
   short ending. Loaded after the other home stylesheets and before brand.css. */

/* Air between sections instead of rules: about 160px on a desktop and 96px on a phone. */
.index-page.home-editorial .home-section { padding-block: clamp(96px, 11vw, 160px); }
.index-page.home-editorial .home-section + .home-section { border-top: 0; }

/* One body size: about 18px on a desktop and 17px on a phone, with generous line spacing. */
.index-page.home-editorial { --home-quiet-body: clamp(17px, 1.25vw, 18px); }
.index-page.home-editorial :is(.home-body-copy, .home-service-text, .home-section-heading > p) { font-size: var(--home-quiet-body); line-height: 1.7; }

/* The studio: the services without numbers, one short line each on a desktop. */
.index-page.home-editorial .home-vision .home-service { grid-template-columns: minmax(0, 1fr) 1.25rem; column-gap: 1.5rem; padding-block: 1.25rem; }
.index-page.home-editorial .home-vision :is(.home-service-title, .home-service-text) { grid-column: 1; }
.index-page.home-editorial .home-vision .home-service .home-arrow { grid-column: 2; grid-row: 1 / span 2; }

/* The commission invitation: the painting, the title, one line and the button. */
.index-page.home-editorial .home-commission-copy .home-button { margin-top: .5rem; }

/* Reviews, one at a time. Without the script all three stand side by side as before. */
.index-page.home-editorial .home-review-grid.is-one-at-a-time { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 44rem; margin-inline: auto; text-align: center; }
.index-page.home-editorial .home-review-grid.is-one-at-a-time .home-review {
  grid-area: 1 / 1; align-self: center; padding-top: 0; border-top: 0;
  visibility: hidden; opacity: 0;
  transition: opacity var(--hui-motion-quick) var(--hui-motion-ease), visibility 0s linear var(--hui-motion-quick);
}
.index-page.home-editorial .home-review-grid.is-one-at-a-time .home-review.is-shown {
  visibility: visible; opacity: 1;
  transition: opacity var(--hui-motion-quick) var(--hui-motion-ease) .1s, visibility 0s;
}
.index-page.home-editorial .home-review-grid.is-one-at-a-time .home-review p { margin-bottom: 1.25rem; font-size: clamp(21px, 2vw, 26px); line-height: 1.5; }
.index-page.home-editorial .home-review-nav { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 2.25rem; }
.index-page.home-editorial .home-review-nav[hidden] { display: none; }
.index-page.home-editorial .home-review-step {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(var(--hui-ink-rgb, 38, 23, 31), .28); border-radius: 50%;
  background: transparent; color: var(--hui-ink, #26171F); cursor: pointer; transition: border-color var(--hui-motion-quick) var(--hui-motion-ease);
}
.index-page.home-editorial .home-review-step:is(:hover, :focus-visible) { border-color: var(--hui-ink, #26171F); }
.index-page.home-editorial .home-review-step:focus-visible { outline: 2px solid var(--hui-ink, #26171F); outline-offset: 3px; }
.index-page.home-editorial .home-review-count { min-width: 4.5ch; margin: 0; color: var(--hui-stone, #67565E); font-size: 13px; letter-spacing: .14em; text-align: center; text-transform: uppercase; }

/* The ending: three short assurances on a Vellum band, then the closing card. */
.index-page.home-editorial .home-section.home-assurance { padding-block: clamp(56px, 6vw, 80px); background: var(--hui-vellum, #EDE9E1); }
.index-page.home-editorial .home-assurance-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); margin: 0; padding: 0; list-style: none; text-align: center; }
.index-page.home-editorial .home-assurance-list a { display: flex; flex-direction: column; align-items: center; gap: .625rem; color: inherit; text-decoration: none; }
.index-page.home-editorial .home-assurance-title { color: var(--hui-ink, #26171F); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.index-page.home-editorial .home-assurance-text { max-width: 30ch; color: var(--hui-stone, #67565E); font-size: 16px; line-height: 1.6; }
.index-page.home-editorial .home-assurance-list a:is(:hover, :focus-visible) .home-assurance-title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.index-page.home-editorial .home-assurance-list a:focus-visible { outline: 2px solid var(--hui-ink, #26171F); outline-offset: 6px; }
/* The newsletter keeps only its title, the field and the privacy note. */
.index-page.home-editorial :is(.collector-card__label, .collector-card__sub) { display: none; }

@media (max-width: 699px) {
  .index-page.home-editorial .home-section { padding-block: 96px; }
  /* On a phone the services are titles alone. */
  .index-page.home-editorial .home-vision .home-service-text { display: none; }
  .index-page.home-editorial .home-vision .home-service .home-arrow { grid-row: 1; }
  .index-page.home-editorial .home-assurance-list { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .index-page.home-editorial .home-review-grid.is-one-at-a-time .home-review,
  .index-page.home-editorial .home-review-step { transition: none; }
}

/* One heading style: section titles are capitals throughout; the italic turn is kept for the
   opening alone. This sits in brand.css's layer so it outranks the italic rule there. */
@layer hui-brand-roles {
  body.home-editorial :is(.home-section, .collector-card) h2 :is(em, i) {
    font-family: inherit !important; font-style: normal !important; font-weight: inherit !important; font-size: 1em !important;
    text-transform: inherit !important; letter-spacing: inherit !important; line-height: inherit !important;
    font-size-adjust: cap-height .375 !important; color: inherit !important;
  }
}
