/* Editorial Bronze — modelled on 62jamieson.com: Playfair Display + Inter, warm paper, bronze
   pill buttons, a full-bleed photo collage hero and dark alternating bands. */
.theme-editorial {
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-ui: "Inter", system-ui, sans-serif;
  --color-bg: #f7f5f1;
  --color-bg-alt: #1a1a1a;
  --color-surface: #fbfaf7;
  --color-text: #14110d;
  --color-muted: rgba(20, 17, 13, 0.62);
  --color-rule: rgba(20, 17, 13, 0.14);
  --color-accent: #8c6a3f;
  --color-accent-hover: #14110d;
  --color-accent-contrast: #ffffff;
  --color-dark: #1a1a1a;
  --radius-sm: 2px;
  --radius-md: 3px;
  --radius-lg: 6px;
  --radius-btn: 999px;
  --photo-radius: 0;
  --heading-weight: 500;
  --heading-tracking: -0.015em;
  --title-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.3rem);
  --label-size: 0.7rem;
  --label-tracking: 0.3em;
  --btn-case: uppercase;
  --btn-tracking: 0.16em;
  --btn-weight: 600;
  --btn-pad: 0.95rem 1.8rem;
  --nav-font-size: 0.72rem;
  --nav-tracking: 0.14em;
  --nav-height: 76px;
  --gallery-gap: 4px;
  --gallery-radius: 0;
  --field-radius: 0;
  --footer-bg: #14110d;
}
.theme-editorial body { line-height: 1.6; }
.theme-editorial .btn { font-size: 0.74rem; }
.theme-editorial .btn--outline { border-color: color-mix(in srgb, currentColor 60%, transparent); }

/* dark alternating bands: every token flips so components follow */
.theme-editorial .section--alt {
  --color-bg: #1a1a1a;
  --color-surface: #222120;
  --color-text: #f3efe7;
  --color-muted: rgba(243, 239, 231, 0.66);
  --color-rule: rgba(255, 255, 255, 0.16);
  --color-bg-alt: #2a2826;
  --color-accent: #b58c58;
  --color-accent-contrast: #14110d;
  background: #1a1a1a;
  color: #f3efe7;
}
.theme-editorial .section--alt .btn--outline:hover { background: #f3efe7; color: #1a1a1a; border-color: #f3efe7; }

/* heading column + content column on wide screens for the practical sections */
@media (min-width: 1000px) {
  .theme-editorial :is(.section--resources, .section--area) > .container {
    display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(2.5rem, 5vw, 5rem);
  }
  .theme-editorial :is(.section--resources, .section--area) > .container > .section-head { grid-column: 1; grid-row: 1 / span 20; align-self: start; position: sticky; top: calc(var(--nav-height) + 2rem); }
  .theme-editorial :is(.section--resources, .section--area) > .container > :not(.section-head) { grid-column: 2; }
  .theme-editorial .section--resources .resource-list { grid-template-columns: 1fr; }
}

/* underline-only form fields */
.theme-editorial .field__input { border: 0; border-bottom: 1px solid color-mix(in srgb, var(--color-text) 30%, transparent); background: transparent; padding-inline: 0; }
.theme-editorial .field__input:focus { box-shadow: none; border-bottom-color: var(--color-accent); }
.theme-editorial .form-card { background: transparent; border-color: var(--color-rule); }

/* nav: transparent over the hero until scrolled */
html.theme-editorial:not(.is-scrolled):not(.menu-open) .site--homes-show .site-nav { --nav-bg: transparent; --nav-color: #ffffff; --nav-rule: transparent; }
html.theme-editorial:not(.is-scrolled):not(.menu-open) .site--homes-show :is(.site-nav__brand, .site-nav__links > li > a, .site-nav__more-toggle) { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45); }
html.theme-editorial:not(.is-scrolled):not(.menu-open) .site--homes-show .site-nav .site-nav__cta { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.7); color: #ffffff; }
.theme-editorial .site-nav__brand-street { font-size: 1.25rem; }

/* hero: full-screen collage; text over a local gradient at the foot of the photograph */
.hero--editorial { min-height: max(100svh, 640px); display: grid; color: #fff; overflow: hidden; background: #111; isolation: isolate; }
.hero--editorial .hero__collage { position: absolute; inset: 0; display: grid; gap: 4px; grid-template-columns: 1fr; z-index: -2; }
.hero--editorial .hero__collage-item { position: relative; overflow: hidden; min-height: 0; }
.hero--editorial .hero__collage-item:not(.hero__collage-item--main) { display: none; }
.hero--editorial .hero__collage-item :is(img, video, .hero__placeholder) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .hero--editorial .hero__collage-item:not(.hero__collage-item--main) { display: block; }
  .hero--editorial .hero__collage--2 { grid-template-columns: 2fr 1fr; }
  .hero--editorial .hero__collage--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
  .hero--editorial .hero__collage--4 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr 1fr; }
  .hero--editorial .hero__collage-item--main { grid-row: 1 / -1; }
}
.hero--editorial .hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.42), transparent calc(var(--nav-height) + 5rem)),
              linear-gradient(to top, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.2) 34%, transparent 52%);
}
.hero--editorial .hero__content { align-self: end; padding-top: calc(var(--nav-height) + 3rem); padding-bottom: clamp(2.5rem, 7vh, 4.5rem); }
.hero--editorial .hero__eyebrow { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin: 0 0 1rem; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255, 255, 255, 0.88); }
.hero--editorial .hero__status { color: #e8cfa6; }
.hero--editorial .hero__title { font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.4rem); line-height: 1.04; max-width: 13ch; margin: 0; font-weight: 500; color: #fff; }
.hero--editorial .hero__address { margin: 1rem 0 0; color: rgba(255, 255, 255, 0.86); }
.hero--editorial .hero__actions { margin-top: 1.75rem; }
.hero--editorial .btn--outline { color: #fff; }
.hero--editorial .btn--outline:hover { background: #fff; color: #14110d; border-color: #fff; }
.hero__tour-pill { position: absolute; right: var(--gutter); bottom: clamp(2.5rem, 7vh, 4.5rem); display: inline-flex; gap: 0.6rem; align-items: center; padding: 0.75rem 1.2rem; border-radius: 999px; background: rgba(255, 255, 255, 0.94); color: #14110d; text-decoration: none; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }
.hero__tour-pill span { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0; text-transform: none; }
.hero__tour-pill:hover { background: #fff; color: #6f5331; }
@media (max-width: 899px) { .hero__tour-pill { position: static; margin: 0 var(--gutter) 2rem; justify-self: start; } }
/* phones: the 3:4 crop of the house, then the headline on a dark panel beneath it */
@media (max-width: 699px) {
  .hero--editorial { min-height: 0; background: #14110d; }
  .hero--editorial .hero__collage { position: relative; inset: auto; z-index: 0; aspect-ratio: 4 / 5; max-height: 74svh; }
  .hero--editorial .hero__shade { bottom: auto; height: calc(var(--nav-height) + 5rem); background: linear-gradient(to bottom, rgba(0, 0, 0, 0.42), transparent); }
  .hero--editorial .hero__content { padding-top: 1.75rem; padding-bottom: 2.25rem; }
  .hero--editorial .hero__actions .btn { flex: 1 1 auto; }
}

/* pull quotes, chips */
.theme-editorial .pull-quote { border-left-color: var(--color-accent); font-size: 1.5rem; }
.theme-editorial .chip.is-active, .theme-editorial .chip[aria-pressed="true"] { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-contrast); }
.theme-editorial .page-header { background: #ece8e0; }
.theme-editorial .stat__value { font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.95rem); }
.theme-editorial .story-block__label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-accent); }
