/* ==========================================================================
   Home page (index.html)
   Builds on css/base.css: tokens, .sec-head, .pgrid, .pcard, .check, .opt,
   .chip, .acc, .spec and the dialogs come from there.

   Contents
     01 Shared bits         05 Choosing a size     09 Common questions
     02 Hero                06 Engraving           10 Recently viewed, closing line
     03 Shop by size        07 Our craft
     04 The collection      08 Words from families
   ========================================================================== */

/* 01 Shared bits ----------------------------------------------------------- */
.page-home {
  --home-soft: color-mix(in srgb, var(--paper) 78%, var(--deep));   /* body text on the deep bands */
  --home-hair: rgba(255, 255, 255, 0.18);                           /* hairline on the deep bands */
  --home-urn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 40'%3E%3Ccircle cx='16' cy='3.5' r='2.3'/%3E%3Cpath d='M9 11c0-3.5 3.5-4.5 7-4.5s7 1 7 4.5z'/%3E%3Cpath d='M8.5 14.5c-4 2.5-5 7.5-3 12.5 1.5 4 4 6.5 5 9.5h11c1-3 3.5-5.5 5-9.5 2-5 1-10-3-12.5z'/%3E%3C/svg%3E");
}

.page-home .band-deep .lede { color: var(--home-soft); }
.page-home .band-deep .link-arrow { color: var(--paper); }
.page-home .band-deep .link-arrow:hover { color: var(--brass-pale); }
.page-home button.link-arrow { cursor: pointer; }
.page-home .link-arrow:hover { color: var(--verdigris); }

/* keep the italic phrase of a section title on one line */
.page-home h2:not([data-collection-title]) em { white-space: nowrap; }

/* A heading that receives focus after an in-page jump should not draw a box around itself. */
.page-home h2[tabindex="-1"]:focus { outline: none; }

/* An image that has not been rendered yet leaves its tile and nothing else. */
.page-home [data-tile].is-missing img { visibility: hidden; }

/* 02 Hero ------------------------------------------------------------------ */
.home-hero {
  container-type: inline-size;
  overflow: hidden;
  /* how far the content edge sits from the edge of the band (negative, for bleeds) */
  --bleed: calc((min(100cqw - 2 * var(--gutter), var(--maxw)) - 100cqw) / 2);
}

.home-hero__grid {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
  display: grid;
  gap: 2rem;
  padding-top: clamp(2.5rem, 8vw, 4rem);
}

.home-hero__copy .eyebrow { margin-bottom: 1.25rem; }
.home-hero__copy h1 { margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem); }
.home-hero__copy h1 em { display: block; color: var(--brass-pale); }
.home-hero__copy .lede { max-width: 33rem; }

.home-hero__actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.home-hero__scene {
  position: relative;
  margin-inline: calc(var(--gutter) * -1);
}
.home-hero__scene picture { display: block; aspect-ratio: 4 / 5; }
.home-hero__scene img { width: 100%; height: 100%; object-fit: contain; }
.home-hero__scene.is-missing picture {
  background: var(--deep-2);
  -webkit-mask: var(--home-urn) center / auto 46% no-repeat;
          mask: var(--home-urn) center / auto 46% no-repeat;
}
.home-hero__scene.is-missing .home-hero__label { display: none; }

.home-hero__label {
  display: grid; gap: 0.375rem; justify-items: start;
  max-width: 19rem;
  margin: 0.5rem var(--gutter) 0;
  padding-top: 0.75rem;
  border-top: 1px solid color-mix(in srgb, var(--brass-pale) 45%, transparent);
  font-size: 0.8125rem; line-height: 1.45;
  color: var(--home-soft);
}
.home-hero__label .link { color: var(--paper); }

.home-ledger {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--home-hair);
}
.home-ledger li {
  padding: 1.125rem 1rem 1.25rem 0;
  font: 400 1.0625rem/1.3 var(--font-display);
  letter-spacing: -0.008em;
  text-wrap: balance;
}
.home-ledger .eyebrow { display: block; margin-bottom: 0.5rem; }
.home-ledger li:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--home-hair); }
.home-ledger li:nth-child(n + 3) { border-top: 1px solid var(--home-hair); }

@media (min-width: 721px) {
  .home-hero__scene picture { aspect-ratio: 1680 / 1280; }
  /* the object label runs as one line under the plate, never over the picture */
  .home-hero__label {
    grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 1rem;
    max-width: none; width: min(100% - 2 * var(--gutter), 42rem);
    margin: 0 var(--gutter) 0 auto;
  }
}

@media (min-width: 860px) {
  .home-ledger { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-ledger li { padding: 1.25rem 1.5rem 1.5rem 0; }
  .home-ledger li:nth-child(n + 3) { border-top: 0; }
  .home-ledger li + li { padding-left: 1.5rem; border-left: 1px solid var(--home-hair); }
}

@media (min-width: 960px) {
  .home-hero__grid {
    grid-template-columns: minmax(min-content, 5fr) minmax(0, 6fr);
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3rem);
    padding-top: clamp(1.5rem, 3vw, 3rem);
  }
  .home-hero__copy h1 { white-space: nowrap; }
  .home-hero__scene { margin-inline: 0 max(var(--bleed), -14rem); }
  .home-hero__label { width: min(100% + max(var(--bleed), -14rem), 42rem); margin-right: calc(-1 * max(var(--bleed), -14rem)); }
  .home-ledger { margin-top: clamp(1rem, 2vw, 2rem); }
}

/* 03 Shop by size ---------------------------------------------------------- */
.home-sizes__list { display: grid; }

.home-size__link {
  display: grid; grid-template-columns: 6.5rem minmax(0, 1fr);
  align-items: center; gap: 1rem 1.25rem;
  height: 100%;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}
.home-size:last-child .home-size__link { border-bottom: 0; }
.home-size__tile { aspect-ratio: 4 / 5; }
.home-size__text { display: grid; gap: 0.375rem; align-content: center; }
.home-size__label { font: 400 1.375rem/1.15 var(--font-display); letter-spacing: -0.015em; }
.home-size__note { font-size: 0.875rem; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.home-size__blurb { display: none; font-size: 0.9375rem; line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.home-size__count {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 0.25rem;
  font: 600 0.6875rem/1.2 var(--font-ui); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass-ink);
}
.home-size__count::after { content: "\2192"; font-size: 0.875rem; letter-spacing: 0; transition: transform 0.25s var(--ease-out); }

.home-size__link:hover .home-size__label { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.home-size__link:hover .home-size__count::after { transform: translateX(4px); }
@media (hover: hover) {
  .home-size__link:hover .pcard__img { transform: scale(1.035); }
}

/* the first size leads: a full-width plate with its label underneath */
.home-size--lead .home-size__link { grid-template-columns: minmax(0, 1fr); align-items: start; padding-top: 0; }
.home-size--lead .home-size__tile { aspect-ratio: 5 / 4; }
.home-size--lead .home-size__label { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.125rem); }
.home-size--lead .home-size__blurb { display: block; }

@media (min-width: 600px) {
  .home-size__link { grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem 1.75rem; }
  .home-size--lead .home-size__tile { aspect-ratio: 16 / 9; }
}

@media (min-width: 960px) {
  .home-sizes__list {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: repeat(3, auto);
    column-gap: clamp(1rem, 2vw, 1.75rem);
  }
  .home-size { grid-column: 8 / -1; padding-left: clamp(0rem, 2vw, 2rem); }
  .home-size--lead { grid-column: 1 / 8; grid-row: 1 / -1; padding-left: 0; }
  .home-size__link { grid-template-columns: 9.5rem minmax(0, 1fr); padding-block: 1.25rem; }
  .home-size:nth-child(2) .home-size__link { padding-top: 0; }
  .home-size:last-child .home-size__link { padding-bottom: 0; }
  .home-size--lead .home-size__link { grid-template-rows: minmax(0, 1fr) auto; padding-block: 0; border-bottom: 0; }
  .home-size--lead .home-size__tile { aspect-ratio: auto; height: 100%; min-height: 24rem; }
  .home-size--lead .home-size__text {
    grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 2rem;
  }
  .home-size--lead .home-size__note,
  .home-size--lead .home-size__blurb { grid-column: 1; }
  .home-size--lead .home-size__count { grid-column: 2; grid-row: 1; margin-top: 0; }
}

/* 04 The collection -------------------------------------------------------- */
.home-collection { padding-top: 0; }

.home-shop { display: grid; gap: 2rem clamp(2rem, 4vw, 3.5rem); }
.home-shop__rail { display: none; }
.home-shop__main { min-width: 0; }

/* filters (the same form sits in the rail and in the drawer) */
.home-filters { display: grid; gap: 1.375rem; }
.home-facet { padding-top: 1rem; border-top: 1px solid var(--line-2); }
.home-facet:first-child { padding-top: 0; border-top: 0; }
/* a floated legend sits inside the fieldset box, so the rule above it and the padding behave */
.home-facet__title {
  float: left; width: 100%; margin-bottom: 0.625rem;
  font: 600 0.6875rem/1.2 var(--font-ui); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-2);
}
.home-facet__list { display: grid; clear: both; }
.home-facet .check { align-items: center; min-height: 2rem; font-size: 0.9375rem; line-height: 1.3; }
.home-facet .check input { margin: 0; }
.home-facet__n { margin-left: auto; padding-left: 0.5rem; font-size: 0.8125rem; color: var(--ink-3); }
.home-facet .check:has(input:disabled) { color: var(--ink-3); cursor: default; }
.home-facet .check input:disabled { background: transparent; cursor: default; }
.home-facet .check:has(input:checked) { font-weight: 600; }
.home-facet .check:has(input:checked) .home-facet__n { font-weight: 400; }

.home-facet__colors { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0.75rem; }
.home-swatch {
  position: relative;
  display: flex; align-items: center; gap: 0.75rem;
  min-height: 2rem; padding-left: 5px;
  font-size: 0.875rem; cursor: pointer;
}
.home-swatch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.home-swatch input:focus-visible + .swatch { outline: 2px solid var(--verdigris); outline-offset: 6px; }
.home-swatch input:checked ~ .home-swatch__label { font-weight: 600; }
.home-swatch:hover .swatch::after { border-color: var(--line-2); }
.home-swatch input:checked + .swatch::after { border-color: var(--ink); }
.home-swatch:has(input:disabled) { opacity: 0.38; cursor: default; }
.home-swatch input:disabled { cursor: default; }

.home-facet--single { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; }

@media (pointer: coarse) {
  .home-facet .check, .home-swatch { min-height: 2.75rem; }
}

/* in the drawer */
#dlg-filters .drawer__body { padding-top: 1.25rem; }
#dlg-filters .home-facet .check, #dlg-filters .home-swatch { min-height: 2.75rem; }
.home-filters__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.home-filters__foot .text-btn { min-height: 44px; padding-inline: 0.25rem; }
.home-filters__foot .btn { flex: 1; max-width: 16rem; }

/* toolbar */
.home-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}
.home-toolbar__filter { min-height: 44px; gap: 0.5rem; }
.home-toolbar__n {
  min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--paper);
  border-radius: 2px;
  font-size: 0.6875rem; letter-spacing: 0;
  transition: background-color 0.18s, color 0.18s;
}
.home-toolbar__filter:hover .home-toolbar__n { background: var(--paper); color: var(--ink); }
.home-toolbar__count { order: 3; flex-basis: 100%; font-size: 0.9375rem; color: var(--ink-2); }
.home-toolbar__count strong { font-weight: 600; color: var(--ink); }
.home-toolbar__sort {
  display: flex; align-items: center; gap: 0.625rem; flex: 1; min-width: 0;
  font-size: 0.8125rem; color: var(--ink-2);
}
.home-toolbar__sort label { flex: none; white-space: nowrap; }
.home-toolbar__sort .select { min-height: 44px; padding-block: 0.375rem; font-size: 0.875rem; }

.home-chips { margin-bottom: 1.5rem; }
.home-chips__list { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.home-chips .chip button { position: relative; }
.home-chips .chip button::after { content: ""; position: absolute; inset: -9px -10px; }
.home-chips .text-btn { margin-left: 0.5rem; min-height: 32px; }
@media (pointer: coarse) {
  .home-chips .chip { height: 40px; }
  .home-chips .chip button::after { inset: -13px -12px; }
  .home-chips .text-btn { min-height: 44px; }
}

.home-grid > .pcard { animation: fade 0.45s var(--ease) both; }
.home-grid > .empty { grid-column: 1 / -1; border-block: 1px solid var(--line); }
.home-grid > .empty .serif { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }

.home-shop__after { margin-top: clamp(2rem, 4vw, 3rem); }
.home-shop__after:empty { display: none; }

@media (min-width: 640px) {
  .home-toolbar__count { order: 0; flex-basis: auto; margin-right: auto; }
  .home-toolbar__sort { flex: none; }
  .home-toolbar__sort .select { width: auto; }
}

@media (min-width: 1000px) {
  .home-shop { grid-template-columns: 15rem minmax(0, 1fr); align-items: start; }
  .home-shop__rail {
    display: block;
    position: sticky; top: calc(var(--header-h) + 1.5rem);
    max-height: calc(100dvh - var(--header-h) - 3rem);
    margin-left: -6px; padding: 2px 0.75rem 2px 6px;
    overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
  }
  .home-toolbar__filter { display: none; }
  .home-toolbar { min-height: 44px; }
  .home-toolbar__sort .select { min-height: 40px; }
}

/* 05 Choosing a size ------------------------------------------------------- */
.home-sizing__grid { display: grid; gap: 3rem; }
.home-sizing__text h2 { margin: 0.875rem 0 1.5rem; }
.home-sizing__text .prose { max-width: 58ch; }

.home-sizetable { margin-top: 2rem; font-size: 0.9375rem; }
.home-sizetable caption { text-align: left; }
.home-sizetable th, .home-sizetable td {
  padding: 0.75rem 1rem 0.75rem 0;
  border-bottom: 1px solid var(--line-2);
  text-align: left; vertical-align: baseline;
}
.home-sizetable thead th {
  padding-block: 0 0.625rem;
  font: 600 0.6875rem/1.2 var(--font-ui); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
}
.home-sizetable tbody th { font-weight: 400; }
.home-sizetable tbody th a { font: 400 1.1875rem/1.2 var(--font-display); letter-spacing: -0.012em; }
.home-sizetable tbody th a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.home-sizetable tbody th span { display: block; margin-top: 0.125rem; font-size: 0.8125rem; color: var(--ink-3); }
.home-sizetable td { white-space: nowrap; color: var(--ink-2); }
.home-sizetable th:last-child, .home-sizetable td:last-child { padding-right: 0; text-align: right; }
.home-sizing__foot { margin-top: 1rem; max-width: 62ch; font-size: 0.875rem; color: var(--ink-3); }

.home-sizing__calc {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--brass);
}
.home-sizing__calc h3 { margin-bottom: 0.375rem; }
.home-sizing__calc > p { margin-bottom: 1.5rem; }

@media (min-width: 960px) {
  .home-sizing__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(3rem, 7vw, 6.5rem); align-items: start; }
}

/* 06 Engraving ------------------------------------------------------------- */
.home-engrave__grid { display: grid; gap: 2.5rem; }
.home-engrave__body h2 { margin: 0.875rem 0 1.25rem; }
.home-engrave__body .lede { max-width: 36rem; }

.home-engrave__plate { container-type: inline-size; aspect-ratio: 4 / 5; }
.home-engrave__text {
  position: absolute;
  left: calc((var(--cx) - var(--w) / 2) * 100%);
  top: calc((var(--cy) - var(--h) / 2) * 100%);
  width: calc(var(--w) * 100%);
  height: calc(var(--h) * 100%);
  display: grid; place-items: center;
  overflow: hidden;
  /* the type is sized from the width of the plate, then scaled to fit the zone (--fit is set in home.js) */
  font-size: calc(min(5.4cqw, var(--h) * 62cqw) * var(--fit, 1));
  line-height: 1;
  white-space: nowrap;
  color: color-mix(in srgb, var(--ink) 62%, var(--brass-ink));
  text-shadow:
    0 0.05em 0 color-mix(in srgb, var(--white) 60%, transparent),
    0 -0.025em 0 color-mix(in srgb, var(--ink) 35%, transparent);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}
.home-engrave__figure figcaption {
  display: grid; gap: 0.25rem;
  margin-top: 0.875rem; padding-top: 0.75rem;
  border-top: 1px solid var(--line-2);
  font-size: 0.8125rem; line-height: 1.5; color: var(--ink-3);
}
.home-engrave__figure figcaption strong { font: italic 400 0.9375rem/1.3 var(--font-display); color: var(--ink-2); }

.home-engrave__form { display: grid; gap: 1.25rem; margin-top: 2rem; max-width: 36rem; }
.home-engrave__form .hint { text-align: right; }
.home-engrave__fonts .label { display: block; margin-bottom: 0.375rem; }
.home-engrave__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.home-engrave__opts .opt__box { place-items: center; min-height: 52px; padding: 0.5rem; text-align: center; }
.home-engrave__opts .opt__title { font-size: 1.1875rem; font-weight: 500; line-height: 1.1; }
.home-engrave__opts [data-font="script"] { font-size: 1.625rem; font-weight: 400; }
.home-engrave__opts [data-font="block"] { font-size: 1rem; font-weight: 600; letter-spacing: 0.02em; }

.home-engrave__facts { margin-top: 2rem; max-width: 36rem; border-top: 1px solid var(--line-2); }
.home-engrave__facts th { width: 8.5rem; }
.home-engrave__links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 1.75rem; }

@media (min-width: 520px) {
  .home-engrave__opts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .home-engrave__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 7vw, 6.5rem); align-items: start; }
  .home-engrave__figure { position: sticky; top: calc(var(--header-h) + 1.5rem); max-width: 31rem; }
}

/* 07 Our craft ------------------------------------------------------------- */
.home-craft__grid { display: grid; gap: 3rem; }
.home-craft__head h2 { margin: 0.875rem 0 1.5rem; }
.home-craft__head .lede { max-width: 34rem; }

.home-craft__steps li {
  display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: 0 0.5rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--home-hair);
}
.home-craft__steps li:last-child { padding-bottom: 0; }
.home-craft__no { font: italic 300 1.625rem/1 var(--font-display); color: var(--brass-pale); }
.home-craft__steps h3 { margin-bottom: 0.375rem; }
.home-craft__steps p { max-width: 52ch; font-size: 0.9375rem; color: var(--home-soft); }

/* three close views, stepped down the column and overlapping at the corners */
.home-craft__fig { position: relative; }
.home-craft__img { aspect-ratio: 4 / 3; background: var(--deep-2); outline: 8px solid var(--deep); }
.home-craft__img img { width: 100%; height: 100%; object-fit: cover; }
.home-craft__fig figcaption {
  max-width: 30ch; margin-top: 0.75rem;
  font-size: 0.8125rem; line-height: 1.45; color: var(--home-soft);
}
.home-craft__fig .eyebrow { display: block; margin-bottom: 0.25rem; }
.home-craft__fig--a { width: 78%; z-index: 1; }
.home-craft__fig--b { width: 58%; margin: -9% 0 0 42%; z-index: 2; }
.home-craft__fig--c { width: 50%; margin: -11% 0 0 6%; z-index: 3; }
.home-craft__fig--b figcaption { margin-left: auto; }

@media (min-width: 960px) {
  .home-craft__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    grid-template-areas: "head figs" "steps figs";
    grid-template-rows: auto 1fr;
    gap: 2.5rem clamp(3rem, 7vw, 6.5rem);
  }
  .home-craft__head { grid-area: head; }
  .home-craft__figs { grid-area: figs; padding-top: 0.5rem; }
  .home-craft__steps { grid-area: steps; align-self: end; }
  .home-craft__fig--a { width: 68%; }
  .home-craft__fig--b { width: 52%; margin: -16% 0 0 48%; }
  .home-craft__fig--c { width: 44%; margin: -14% 0 0 8%; }
}

/* 08 Words from families ---------------------------------------------------- */
.home-words .sec-head .preview-flag { align-self: flex-end; }
.home-words__grid { display: grid; gap: 2.5rem; }
.home-quote blockquote { font-family: var(--font-display); letter-spacing: -0.015em; text-wrap: pretty; }
.home-quote blockquote p::before { content: "\201C"; }
.home-quote blockquote p::after { content: "\201D"; }
.home-quote figcaption {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem;
  margin-top: 1.25rem;
  font-size: 0.875rem; color: var(--ink-3);
}
.home-quote figcaption strong { font-weight: 600; color: var(--ink); }
.home-quote figcaption .link { color: var(--ink-2); }
.home-quote figcaption .link:hover { color: var(--verdigris); }

.home-quote--lead blockquote { font-size: clamp(1.75rem, 1.15rem + 2.5vw, 3rem); line-height: 1.14; letter-spacing: -0.024em; }
.home-quote--lead blockquote p { text-indent: -0.42em; }
.home-quote--lead figcaption { margin-top: 1.75rem; }
.home-words__side { display: grid; gap: 0; align-content: start; }
.home-words__side .home-quote { padding-block: 1.5rem; border-top: 1px solid var(--line-2); }
.home-words__side .home-quote:last-child { padding-bottom: 0; }
.home-words__side blockquote { font-size: 1.25rem; line-height: 1.35; }
.home-words__side figcaption { margin-top: 0.875rem; }

@media (min-width: 900px) {
  .home-words__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(3rem, 8vw, 7.5rem); align-items: start; }
  .home-words__side .home-quote:first-child { padding-top: 0; border-top: 0; }
}

/* 09 Common questions ------------------------------------------------------ */
.home-faq__grid { display: grid; gap: 2rem; }
.home-faq__head { display: grid; gap: 1rem; justify-items: start; align-content: start; }
.home-faq__head h2 { margin-top: -0.125rem; }
.home-faq__head p { max-width: 34ch; }
.home-faq .acc__item > summary { min-height: 3.5rem; }

@media (min-width: 900px) {
  .home-faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(3rem, 7vw, 6.5rem); align-items: start; }
  .home-faq__head { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* 10 Recently viewed, closing line ----------------------------------------- */
.home-recent { padding-bottom: 0; }

.home-close { padding-block: clamp(3.5rem, 2rem + 5vw, 6rem); }
.home-close__inner {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem 3rem;
}
.home-recent:not([hidden]) + .home-close .home-close__inner { padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line-2); }
.home-close__line {
  max-width: 27ch;
  font-size: clamp(1.875rem, 1.2rem + 2.6vw, 3.25rem); line-height: 1.08; letter-spacing: -0.024em;
  text-wrap: balance;
}
.home-close__line a {
  font-style: italic; font-weight: 300;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.14em;
  text-decoration-color: var(--brass);
  transition: color 0.15s;
}
.home-close__line a:hover { color: var(--verdigris); }
