/* Homepage body, warm editorial (#111). Header, hero and footer are unchanged.
   Uses the theme tokens from styles.css (--ink, --gold, --serif, --sans, --wrap, --gutter, --radius-img). */

.he {
  --he-paper: #f6f5f3;
  --he-linen: #eeebe6;
  --he-sand: #efe8df;
  --he-warm: #f4efe7;
  --he-stone: #ebe7e0;
  --he-ink: #282521;
  --he-muted: #655f57;
  --he-gold: #926f42;
  --he-rule: #d8d1c7;
  --he-pad: clamp(4rem, 7vw, 7.5rem);
  color: var(--he-ink);
}

.he-section { padding-block: var(--he-pad); background: var(--he-paper); }
.he-section--linen { background: var(--he-linen); }
.he-section--sand { background: var(--he-sand); }
.he-section--warm { background: var(--he-warm); }
.he-section--stone { background: var(--he-stone); }

/* Chapter label: "01 / THE SELECTION" + hairline */
.he-label { display: flex; align-items: center; gap: 1.5rem; margin: 0 0 clamp(2rem, 4vw, 3.5rem); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--he-gold); }
.he-label::after { content: ""; flex: 1; height: 1px; background: var(--he-rule); }

/* Display headline: Mulish, tight, with one Cormorant italic accent */
.he-title { margin: 0; font-family: var(--sans); font-weight: 500; font-size: clamp(2.6rem, 5.2vw, 5.4rem); line-height: 1.02; letter-spacing: -.035em; color: var(--he-ink); }
.he-title em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.02em; font-size: 1.08em; }
.he-copy { max-width: 34rem; margin: 1.5rem 0 0; font-size: clamp(1rem, .95rem + .2vw, 1.12rem); line-height: 1.65; color: var(--he-muted); }
.he-kicker { margin: 0 0 .9rem; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--he-gold); }
.he-note { margin: 2rem 0 0; font-size: .95rem; color: var(--he-muted); }
.he-note a { color: inherit; text-underline-offset: .2em; }

/* Underlined uppercase link with a diagonal arrow */
.he-link { display: inline-flex; align-items: center; gap: 1.6rem; margin-top: 2rem; padding-bottom: .65rem; border-bottom: 1px solid var(--he-ink); color: var(--he-ink); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: color .3s var(--ease), border-color .3s var(--ease); }
.he-link::after { content: ""; width: .95rem; height: .95rem; background: var(--he-gold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 13 13 3M5 3h8v8' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 13 13 3M5 3h8v8' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .3s var(--ease); }
.he-link:hover { color: var(--he-gold); border-color: var(--he-gold); }
.he-link:hover::after { transform: translate(2px, -2px); }

/* Heading row: title left, link right */
.he-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.he-head .he-link { margin-top: 0; }

/* Figures: image + small caps caption row */
.he figure { margin: 0; }
.he figure img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-img, 9px); }
.he figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: .85rem; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--he-muted); }

/* 01 selection */
.he-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.he-selection .he-figure img { aspect-ratio: 16 / 11.5; }

/* 02 stone library */
.he-index { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.he-index__preview { position: sticky; top: 7rem; display: grid; }
.he-index__img { grid-area: 1 / 1; opacity: 0; transition: opacity .45s var(--ease); }
.he-index__img.is-active { opacity: 1; }
.he-index__img img { aspect-ratio: 1 / 1.05; }
.he-index__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--he-rule); }
.he-index__row { display: grid; grid-template-columns: 3rem 1fr auto; align-items: center; gap: 1rem; padding: 1rem .75rem 1rem .5rem; border-bottom: 1px solid var(--he-rule); color: var(--he-ink); text-decoration: none; transition: background-color .3s var(--ease); }
.he-index__row:hover, .he-index__row:focus-visible, .he-index__row.is-active { background: #e5ded2; }
.he-index__num { font-size: .74rem; font-weight: 700; letter-spacing: .12em; color: var(--he-gold); }
.he-index__name { font-size: clamp(1.1rem, 1.4vw, 1.3rem); font-weight: 600; line-height: 1.25; }
.he-index__name small { display: block; margin-top: .2rem; font-size: .85rem; font-weight: 400; color: var(--he-muted); }
.he-index__count { display: inline-flex; align-items: center; gap: 1rem; font-size: .85rem; color: var(--he-muted); white-space: nowrap; }
.he-index__count::after { content: ""; width: .95rem; height: .95rem; background: var(--he-gold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 13 13 3M5 3h8v8' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 13 13 3M5 3h8v8' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat; }

/* 03 from the yard */
.he-lots__stage { position: relative; }
.he-lot { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.he-lot[hidden] { display: none; }
/* Zoom into the slab so the yard around it drops out of frame */
.he-lot__img a { display: block; overflow: hidden; border-radius: var(--radius-img, 9px); aspect-ratio: 16 / 10; }
.he-lot__img img { transform: scale(1.32); transition: transform 1.2s var(--ease); }
.he-lot__img a:hover img { transform: scale(1.38); }
.he-lot__name { margin: 0 0 1.5rem; font-family: var(--sans); font-weight: 500; font-size: clamp(1.9rem, 3vw, 2.9rem); letter-spacing: -.03em; line-height: 1.05; }
.he-specs { margin: 0; border-top: 1px solid var(--he-rule); }
.he-specs > div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--he-rule); font-size: .95rem; }
.he-specs dt { color: var(--he-muted); }
.he-specs dd { margin: 0; font-weight: 600; text-align: right; }
.he-lot__img figcaption { align-items: center; }
.he-lot__step { display: inline-flex; align-items: center; gap: .6rem; }
.he-lots__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.25rem; }
.he-lot-tab { display: flex; align-items: center; gap: 1rem; padding: 1rem 0 0; border: 0; border-top: 1px solid var(--he-rule); background: none; color: var(--he-ink); font: inherit; text-align: left; cursor: pointer; }
.he-lot-tab.is-active { border-top: 2px solid var(--he-gold); padding-top: calc(1rem - 1px); }
.he-lot-tab img { flex: none; width: 4.25rem; height: 3.25rem; object-fit: cover; border-radius: 6px; }
.he-lot-tab span { font-size: 1rem; font-weight: 600; line-height: 1.3; }
.he-lot-tab small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--he-gold); }
.he-lot__count { color: var(--he-ink); }

/* round arrow buttons (lots + reviews) */
.he-arrow { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--he-rule); border-radius: 50%; background: transparent; cursor: pointer; transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.he-arrow::before { content: ""; width: 1rem; height: .7rem; background: var(--he-ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Cpath d='M11.5 1 17 6l-5.5 5M17 6H1' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Cpath d='M11.5 1 17 6l-5.5 5M17 6H1' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat; }
.he-arrow--prev::before { transform: scaleX(-1); }
.he-arrow:hover { border-color: var(--he-gold); background: #fff; }

/* 04 numbers */
.he-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--he-rule); }
.he-stat { padding: 1.75rem 1.5rem 0 0; }
.he-stat + .he-stat { padding-left: 1.75rem; border-left: 1px solid var(--he-rule); }
.he-stat__num { margin: 0; font-weight: 500; font-size: clamp(3rem, 6vw, 5.6rem); line-height: 1; letter-spacing: -.05em; }
.he-stat__label { margin: .9rem 0 0; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--he-muted); }

/* 05 seasonal edit */
.he-season__grid { display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(0, 1fr); gap: 1.5rem; align-items: end; }
.he-season__img--1 img { aspect-ratio: 4 / 3; }
.he-season__img--2 img { aspect-ratio: 4 / 4.2; }

/* 06 two ways in */
.he-ways__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem); margin-top: clamp(2rem, 4vw, 3rem); }
.he-way { padding-top: 2rem; border-top: 1px solid var(--he-rule); }
.he-way__title { margin: 0; font-family: var(--sans); font-weight: 500; font-size: clamp(1.8rem, 2.8vw, 2.8rem); letter-spacing: -.03em; line-height: 1.08; }
.he-way .he-copy { margin-top: 1rem; }

/* 07 reviews */
.he-reviews__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.he-quote[hidden] { display: none; }
.he-quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.45rem, 2.1vw, 2.05rem); font-weight: 500; line-height: 1.35; color: var(--he-ink); }
.he-quote blockquote::before { content: "“"; }
.he-quote blockquote::after { content: "”"; }
.he-quote figcaption { justify-content: flex-start; flex-direction: column; gap: .3rem; margin-top: 1.5rem; }
.he-quote figcaption strong { color: var(--he-ink); }
.he-quote figcaption span { font-weight: 600; letter-spacing: .08em; }
.he-reviews__nav { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 2rem; }
.he-reviews__count { margin-right: .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .12em; }
.he-reviews__nav .he-link { margin: 0 0 0 auto; }

/* 08 inspiration */
.he-insp__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 1.5rem; }
.he-insp__img a { display: block; overflow: hidden; border-radius: var(--radius-img, 9px); }
.he-insp__img img { aspect-ratio: 4 / 3.1; transition: transform 1.2s var(--ease); }
.he-insp__img a:hover img { transform: scale(1.03); }

/* 09 journal */
.he-journal__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.he-journal__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--he-rule); }
.he-journal__list a { display: grid; grid-template-columns: 7.5rem 1fr auto; align-items: center; gap: 1.25rem; padding: 1.25rem 0; border-bottom: 1px solid var(--he-rule); color: var(--he-ink); text-decoration: none; transition: color .3s var(--ease); }
.he-journal__list a::after { content: ""; width: .95rem; height: .95rem; background: var(--he-gold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 13 13 3M5 3h8v8' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 13 13 3M5 3h8v8' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat; }
.he-journal__list a:hover { color: var(--he-gold); }
.he-journal__list time { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--he-gold); }
.he-journal__list span { font-size: clamp(1.05rem, 1.3vw, 1.25rem); font-weight: 600; line-height: 1.35; }

/* 10 visit */
.he-visit__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.he-visit__info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; margin: 0; }
.he-visit__info > div { padding: 1.25rem 0; border-top: 1px solid var(--he-rule); }
.he-visit__info dt { margin-bottom: .6rem; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--he-gold); }
.he-visit__info dd { margin: 0; line-height: 1.6; color: var(--he-muted); }
.he-visit__info > div:nth-child(3) { grid-column: 1 / -1; }
.he-visit__info > div:nth-child(3) dd { max-width: 32rem; }
.he-visit__cta { grid-column: 1 / -1; border-top: 0 !important; padding-top: .25rem !important; }
.he-visit__cta .he-link { margin-top: 0; }

/* Tablet / mobile */
@media (max-width: 1024px) {
  .he-split, .he-index, .he-lot, .he-reviews__grid, .he-journal__grid, .he-visit__grid { grid-template-columns: 1fr; }
  .he-index__preview { position: relative; top: 0; max-width: 34rem; }
  .he-lots__tabs { grid-template-columns: 1fr; gap: .25rem; }
  .he-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .he-stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .he-stat:nth-child(n+3) { margin-top: 1.5rem; border-top: 1px solid var(--he-rule); }
}
@media (max-width: 700px) {
  .he-label { gap: 1rem; }
  .he-index__preview { display: none; }
  .he-index__row { grid-template-columns: 2.25rem 1fr auto; padding-inline: 0; }
  .he-season__grid, .he-ways__grid, .he-insp__grid { grid-template-columns: 1fr; }
  .he-journal__list a { grid-template-columns: 1fr auto; gap: .35rem 1rem; }
  .he-journal__list time { grid-column: 1; }
  .he-journal__list span { grid-column: 1; }
  .he-journal__list a::after { grid-column: 2; grid-row: 1 / span 2; }
  .he-visit__info { grid-template-columns: 1fr; }
  .he-lot__img a { aspect-ratio: 4 / 3.4; }
}
@media (prefers-reduced-motion: reduce) {
  .he-index__img, .he-lot__img img, .he-insp__img img { transition: none; }
}

/* Long reviews: excerpt + "Read more" */
.he-quote blockquote.is-clamped::after { content: none; }
.he-quote blockquote.is-open::after { content: "”"; }
.he-quote__more { margin-top: 1rem; padding: 0 0 .3rem; border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--he-gold); font: inherit; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.he-quote__more:hover { color: var(--he-ink); }
.he-quote.is-open blockquote { font-size: clamp(1.2rem, 1.6vw, 1.55rem); }

/* Large screens (4K at 100% scaling, ultrawides): scale the whole body up in steps
   so a 3840px screen shows the same composition as a 1920px one instead of a
   narrow column of small type under the full-width hero. */
@media (min-width: 2200px) { .he { zoom: 1.15; } }
@media (min-width: 2560px) { .he { zoom: 1.33; } }
@media (min-width: 3000px) { .he { zoom: 1.6; } }
@media (min-width: 3600px) { .he { zoom: 1.9; } }

/* Caption link under renders: the stone's fullest lot in Live Inventory. */
.he figcaption .he-stock { flex: none; display: inline-flex; align-items: center; gap: .6rem; color: var(--he-ink); text-decoration: none; border-bottom: 1px solid var(--he-rule); padding-bottom: .2rem; transition: color .3s var(--ease), border-color .3s var(--ease); }
.he-stock::after { content: ""; width: .8rem; height: .8rem; background: var(--he-gold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 13 13 3M5 3h8v8' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 13 13 3M5 3h8v8' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat; }
.he figcaption .he-stock:hover { color: var(--he-gold); border-color: var(--he-gold); }
