/* Thomas Elliott — standalone demo stylesheet.
   created: 2026-07-15  created_by: chaitanya (design delivery)
   updated: 2026-07-28  updated_by: tej-fd
   Last change: CR-TEJ-004 visual polish — edge padding (padding-inline on the
   unwrapped content containers) + all photo-band .eyebrow--invert set white
   (Mark ruling 2026-07-28). */
/* 2026-09-11: only Recoleta and Glacial Indifference.
   Google Inter / Cinzel / Cormorant / Parisienne are off. Weight 500–600
   used to miss both faces and pick Inter. Map those weights to the files
   we actually have. */
/* Recoleta Regular WEB — Fontspring order 134274437, 2026-09-22, Web Font EULA 2.0,
   licensee Thomas Elliott Fine Jewellery. Kit: Clients/thomasElliott/2026-09-22/recoleta-web/.
   Recoleta Alt was in the same zip and is not loaded. DEMO OTF must not reach a public host. */
@font-face {
  font-family: 'Recoleta';
  src: url('https://media.beargrassai.com/thomaselliott/fonts/Recoleta-Regular.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
/* EB Garamond, SIL OFL (licence beside the files on R2). Variable weight 400–800, Latin subset,
   body copy per Shannon's combo 2026-09-16. */
@font-face {
  font-family: 'EB Garamond';
  src: url('https://media.beargrassai.com/thomaselliott/fonts/EBGaramond-VF.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'EB Garamond';
  src: url('https://media.beargrassai.com/thomaselliott/fonts/EBGaramond-Italic-VF.woff2') format('woff2');
  font-weight: 400 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Glacial Indifference';
  src: url('https://media.beargrassai.com/thomaselliott/fonts/GlacialIndifference-Regular.otf') format('opentype');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Glacial Indifference';
  src: url('https://media.beargrassai.com/thomaselliott/fonts/GlacialIndifference-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: oklch(96% 0.014 85);
  --near-black: oklch(18% 0.035 155);
  --text: oklch(21% 0.02 150);
  --muted: oklch(48% 0.025 150);
  --line: oklch(21% 0.02 150 / 0.12);

  --gold: oklch(66% 0.13 80);
  --gold-bright: oklch(80% 0.11 85);
  --brand-green: oklch(31% 0.062 159);

  --tone-dark-1: oklch(29% 0.055 155);
  --tone-dark-2: oklch(18% 0.035 155);
  --tone-light-1: oklch(90% 0.03 85);
  --tone-light-2: oklch(78% 0.06 85);

  --serif-display: 'Recoleta', Georgia, serif;
  --serif: 'Recoleta', Georgia, serif;
  --script: 'Recoleta', Georgia, serif;
  --sans: 'Glacial Indifference', Helvetica, Arial, sans-serif;

  --container: 1360px;
  --gutter: 48px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, .duo-media, .philosophy-media, .product-media, .pair-media {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

em {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
}

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px;
}

/* CR-TEJ-004 (Mark ruling 2026-07-28): every --invert eyebrow sits over a photo/dark
   band, so all of them go white for contrast. One source of truth — no separate
   --light variant. Gold headings are unchanged (their AA finding is held). */
.eyebrow--invert { color: #fff; }

.heading-lg {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.3;
  margin: 0;
  max-width: 900px;
}

.heading-lg--center { margin: 0 auto; text-align: center; }
.heading-lg--invert { color: var(--gold-bright); max-width: 780px; }

.heading-md {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.3;
  margin: 0 0 20px;
}

.body-copy {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 380px;
  margin: 0;
}

/* ---------- Placeholder image slots ---------- */
/* Drop real photos into assets/images/ using the filenames below —
   layout, aspect ratio, and rounding are already sized to match. */

[class^="img-"], [class*=" img-"] {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.img-hero-bg {
  , none, linear-gradient(160deg, var(--tone-dark-1), var(--tone-dark-2));
}
.img-atelier-bench {
  , none, linear-gradient(160deg, var(--tone-dark-1), var(--tone-dark-2));
}
.img-ring-macro {
  , none, linear-gradient(160deg, var(--tone-light-1), var(--tone-light-2));
}
.img-workshop-tools {
  , none, linear-gradient(160deg, var(--tone-dark-1), var(--tone-dark-2));
}
.img-bridal-hands {
  , none, linear-gradient(160deg, var(--tone-light-2), var(--tone-dark-1));
}
.img-bride-portrait {
  , none, linear-gradient(160deg, var(--tone-dark-1), var(--tone-dark-2));
}
.img-collection-bridal {
  , none, linear-gradient(160deg, var(--tone-dark-1), oklch(15% 0.03 155));
}
.img-collection-bands {
  , none, linear-gradient(160deg, var(--tone-light-1), var(--tone-light-2));
}
.img-collection-necklaces {
  , none, linear-gradient(160deg, var(--tone-light-1), var(--tone-light-2));
}
.img-collection-restoration {
  , none, linear-gradient(160deg, var(--tone-dark-1), var(--tone-dark-2));
}
.img-setting-macro {
  , none, linear-gradient(160deg, var(--tone-dark-1), var(--tone-dark-2));
}
.img-hand-finishing {
  , none, linear-gradient(160deg, var(--tone-dark-1), var(--tone-dark-2));
}
.img-gold-detail {
  , none, linear-gradient(160deg, var(--tone-dark-1), var(--tone-dark-2));
}
.img-studio-interior {
  , none, linear-gradient(160deg, var(--tone-dark-1), var(--tone-dark-2));
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 28px 0;
  transition: background 0.35s ease, padding 0.35s ease, border-color 0.35s ease;
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav-link {
  font-family: var(--serif-display);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  transition: opacity 0.2s ease, color 0.35s ease;
}

.nav-link:hover { opacity: 0.7; }
.nav-link--center { justify-self: center; }
.nav-inner .nav-link:last-child { justify-self: end; }

.nav--solid {
  background: oklch(31% 0.062 159 / 1);
  backdrop-filter: none;
  padding: 18px 0;
  border-bottom: 1px solid rgba(228, 200, 124, 0.30);
}

.nav--solid .nav-link { color: rgba(244, 241, 234, 0.82); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, oklch(15% 0.03 155 / 0.45) 0%, oklch(15% 0.03 155 / 0.15) 35%, oklch(15% 0.03 155 / 0.55) 100%);
}

.hero-content {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 140px 24px 60px;
}

.wordmark {
  margin: 0;
  line-height: 0;
}
.wordmark img {
  display: block;
  width: min(520px, 86vw);
  height: auto;
  filter: drop-shadow(0 2px 28px rgba(8, 16, 12, 0.72));
}

.tagline {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(24px, 3.4vw, 44px);
  color: #fff;
  margin: 0 0 8px;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45);
}

.hero-sub { margin-top: 8px; }

.hero-sub::after {
  content: "";
  display: block;
  width: min(48px, 14vw);
  aspect-ratio: 20 / 22;
  margin: 24px auto 0;
  background: url('https://media.beargrassai.com/thomaselliott/te-flourish-landing-gold.svg') center / contain no-repeat;
  opacity: 0.9;
}

.eyebrow-sub {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.hero-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter) 48px;
}

.scroll-indicator {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.btn-pill {
  border: 1px solid var(--gold-bright);
  color: var(--gold-bright);
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease;
}

.btn-pill:hover {
  background: var(--gold-bright);
  color: var(--near-black);
}

/* ---------- Philosophy ---------- */

.philosophy {
  padding: 104px 0;
  text-align: center;
}

.philosophy-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 0.85fr 1.3fr 0.85fr;
  gap: 24px;
  align-items: stretch;
  text-align: left;
}

.philosophy-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding-inline: 28px;
}

.philosophy-text p {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
  text-align: right;
}

.philosophy-media {
  border-radius: 2px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.philosophy-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 0;
}

.philosophy-media--large { aspect-ratio: 4 / 5; }
.philosophy-media--wide { aspect-ratio: 16 / 9; flex: 0 0 auto; }
.philosophy-media--small { aspect-ratio: 3 / 4; align-self: stretch; flex: 1 1 auto; }

/* ---------- Stone band ---------- */

.stone-band {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.band-media {
  position: absolute;
  inset: 0;
}

.band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, oklch(15% 0.03 155 / 0.55) 0%, oklch(15% 0.03 155 / 0.8) 100%);
}

.band-content {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px clamp(28px, 7vw, 96px) 88px;
  box-sizing: border-box;
}
.band-content .heading-lg--invert {
  max-width: min(42rem, 100%);
  overflow-wrap: break-word;
}

/* ---------- Duo row ---------- */

.duo-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4px;
  height: 55vh;
}

.duo-media { height: 100%; }

/* ---------- Products / Collections ---------- */

.products {
  padding: 104px 0;
  text-align: center;
}

.product-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 30px;
  text-align: left;
}

.product-media {
  aspect-ratio: 4 / 5;
  margin-bottom: 20px;
  border-radius: 2px;
}

.product-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 8px;
}

.product-name {
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  font-size: 19px;
  margin: 0 0 6px;
}

.product-price {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* ---------- Full band ---------- */

.full-band {
  height: 55vh;
}

/* ---------- Craft pairs ---------- */

.toiletry-pair {
  max-width: var(--container);
  margin: 0 auto;
  padding: 92px var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.pair-media {
  aspect-ratio: 4 / 3;
  border-radius: 2px;
  height: 100%;
}

/* ---------- Quote ---------- */

.quote {
  padding: 96px var(--gutter);
  text-align: center;
}

.quote blockquote {
  max-width: 720px;
  margin: 0 auto;
}

.quote blockquote,
.quote p {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(20px, 2.6vw, 32px);
  line-height: 1.45;
  color: var(--text);
  margin: 0;
}

.quote cite {
  display: block;
  font-style: normal;
  margin-top: 24px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Contact ---------- */

.contact-band {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 62vh;
  align-items: stretch;
}

.contact-visual {
  position: relative;
  overflow: hidden;
}

.contact-media {
  position: absolute;
  inset: 0;
}

.contact-cards {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.mini-card {
  width: 220px;
  aspect-ratio: 3 / 4;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--gold);
}

.mini-card--dark { background: var(--near-black); color: var(--gold-bright); }
.mini-card--light { background: var(--cream); color: var(--near-black); }

.mini-eyebrow {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
  margin: 0;
}

.mini-wordmark {
  font-family: var(--serif-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 18px;
  margin: 0;
}

.contact-info {
  background: var(--cream);
  padding: 96px var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-lines {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.contact-line p:last-child {
  font-size: 14px;
  margin: 0;
}

/* ---------- Footer (business-card treatment: deep green, gold lettering, paisley) ---------- */

.site-footer {
  padding: 40px 0 0;
  background: var(--brand-green);
  color: var(--tone-light-1);
  text-align: center;
}

.site-footer::before {
  content: "";
  display: block;
  width: min(36px, 12vw);
  aspect-ratio: 20 / 22;
  margin: 0 auto 16px;
  background: url('https://media.beargrassai.com/thomaselliott/te-flourish-landing-gold.svg') center / contain no-repeat;
  opacity: 0.95;
}

.footer-wordmark {
  margin: 0;
  padding: 0 var(--gutter);
  line-height: 0;
}
.footer-wordmark img {
  display: block;
  width: min(280px, 70vw);
  height: auto;
  margin: 0 auto;
}

/* TEJ-FOOTER-CJA 2026-09-25
   The membership mark is the Shopify badge, white field removed.
   The file is the gold knockout; the filter paints that one mark white
   on the green. The Thomas Elliott wordmark stays gold.
   shell-cja-mark inside shell-cja-link.
   Listing: https://canadianjewellers.com/directory/#/action/Listing/value/3711/searchID/327279/cid/1912/id/34401/Thomas-Elliott-Fine-Jewellery-Inc
   Instagram is shell-footer-instagram, beside the email: https://www.instagram.com/thomaselliottfinejewellery/
   Credit line is shell-footer-by, under the copyright, linking https://beargrassai.com */
.footer-cja {
  display: block;
  width: min(220px, 58vw);
  margin: 20px auto 0;
  line-height: 0;
}
.footer-cja img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  display: none;
}

.footer-bottom {
  border-top: 1px solid rgba(228, 200, 124, 0.26);
  margin-top: 24px;
  padding: 16px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: rgba(244, 241, 234, 0.66);
  text-align: left;
}

.footer-bottom a { color: var(--gold-bright); }

.footer-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-bottom > .footer-by {
  flex: 1 0 100%;
  margin: 2px 0 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
}

.say-hi {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--gold-bright);
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  :root { --gutter: 24px; }

  .hero-media { background-position: right center; }

  .philosophy-grid {
    grid-template-columns: 1fr;
  }
  .philosophy-media--small { align-self: stretch; }
  .philosophy-stack { gap: 16px; }

  .duo-row {
    grid-template-columns: 1fr;
    height: auto;
  }
  .duo-media { aspect-ratio: 4 / 3; }

  .product-grid { gap: 32px 24px; }

  .toiletry-pair {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 80px var(--gutter);
  }
  .toiletry-pair--reverse .pair-media { order: -1; }
  .body-copy { max-width: none; }

  .contact-band {
    grid-template-columns: 1fr;
  }
  .contact-visual { min-height: 60vh; }
  .mini-card { width: 160px; }

  .nav-inner {
    grid-template-columns: auto auto auto;
    gap: 16px;
  }
}

@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
  .mini-card { width: 130px; padding: 16px; }
  .mini-wordmark { font-size: 14px; }
}

/* ============================================================
   Multi-page extensions (BgAI / tej, 2026-07-11)
   Built on Chaitanya's framework above. Same tokens, same voice.
   ============================================================ */

/* ---- Multi-page nav: brand left, links right ---- */
.nav-inner--multi {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}
.nav-brand img {
  display: block;
  height: 18px;
  width: auto;
}
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-link--inquiry {
  padding: 10px 16px;
  border: 1px solid currentColor;
  outline: 1px solid currentColor;
  outline-offset: -4px;
  line-height: 1;
}
:where(body[data-page="about"]) .nav-link[href="/about"]{ color: var(--gold-bright); }
:where(body[data-page="collections"],body[data-page="piece-byzantine-chain"],body[data-page="piece-crucifix-pendant"],body[data-page="piece-custom-diamond-ring"],body[data-page="piece-marquise-diamond-ring"],body[data-page="piece-moss-agate-ring"],body[data-page="piece-opal-bracelet"],body[data-page="piece-ruby-emerald-ring"],body[data-page="piece-sapphire-pendant"],body[data-page="piece-square-cut-diamond"],body[data-page="piece-yellow-diamond-ring"],body[data-page="piece-zircon-ring"]) .nav-link[href="/collections"]{ color: var(--gold-bright); }
:where(body[data-page="inquiry"]) .nav-link[href="/inquiry"]{ color: var(--gold-bright); }
:where(body[data-page="process"]) .nav-link[href="/process"]{ color: var(--gold-bright); }
:where(body[data-page="about"]) .nav--solid .nav-link[href="/about"]{ color: var(--gold-bright); }
:where(body[data-page="collections"],body[data-page="piece-byzantine-chain"],body[data-page="piece-crucifix-pendant"],body[data-page="piece-custom-diamond-ring"],body[data-page="piece-marquise-diamond-ring"],body[data-page="piece-moss-agate-ring"],body[data-page="piece-opal-bracelet"],body[data-page="piece-ruby-emerald-ring"],body[data-page="piece-sapphire-pendant"],body[data-page="piece-square-cut-diamond"],body[data-page="piece-yellow-diamond-ring"],body[data-page="piece-zircon-ring"]) .nav--solid .nav-link[href="/collections"]{ color: var(--gold-bright); }
:where(body[data-page="inquiry"]) .nav--solid .nav-link[href="/inquiry"]{ color: var(--gold-bright); }
:where(body[data-page="process"]) .nav--solid .nav-link[href="/process"]{ color: var(--gold-bright); }
/* 2026-09-25: phone drawer. The desktop row stays. A second <details> holds
   its own copy of the four links. A closed details hides that list natively,
   so no per-site script. Above 720px the drawer is not shown. */
.nav-drawer > summary { list-style: none; cursor: pointer; }
.nav-drawer > summary::-webkit-details-marker { display: none; }
.nav-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #fff;
}
.nav-toggle:focus { outline: none; }
.nav-toggle:focus-visible {
  outline: 2px solid rgba(228, 200, 124, 0.95);
  outline-offset: 2px;
}
.nav-toggle-glyph {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.nav-toggle::before {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor;
}
@media (min-width: 721px) {
  .nav-drawer { display: none; }
}
@media (max-width: 720px) {
  .nav { padding: 8px 0; }
  .nav-inner { padding-inline: 16px; }
  .nav-inner--multi { gap: 12px; }
  .nav-inner > .nav-links { display: none; }
  .nav-brand img { height: 16px; width: auto; max-width: 148px; }
  .nav-drawer { display: block; margin-left: auto; }
  .nav-drawer[open] .nav-drawer-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: flex;
    flex-direction: column;
    background: oklch(31% 0.062 159 / 1);
    border-bottom: 1px solid rgba(228, 200, 124, 0.30);
    padding: 8px 0 16px;
    z-index: 1;
  }
  .nav-drawer-links .nav-link {
    font-size: 16px;
    letter-spacing: 0.14em;
    line-height: 1.2;
    padding: 16px 24px;
  }
  .nav-drawer-links .nav-link--inquiry {
    margin: 8px 24px 4px;
    width: fit-content;
    padding: 14px 18px;
    text-align: center;
  }
  body:has(.nav-drawer[open]) { overflow: hidden; }
}

/* ---- Interior page hero (shorter than home) ---- */
.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-hero-media { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,30,26,0.45) 0%, rgba(20,30,26,0.2) 45%, rgba(20,30,26,0.72) 100%);
}
.page-hero-inner {
  position: relative;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter) 72px;
}
.page-hero-title {
  font-family: var(--serif);
  font-weight: 400;
  color: #fff;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.1;
  margin: 10px 0 0;
  max-width: 900px;
}

/* ---- Section rhythm ---- */
.section { padding: 76px 0; }
.section--tight { padding: 52px 0; }
.section-lead {
  max-width: 720px;
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

/* ---- Long-form prose (About / Process) ---- */
.prose { max-width: 720px; margin: 0 auto; padding-inline: var(--gutter); } /* CR-TEJ-004: edge padding */
.prose p {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.85;
  color: var(--text);
  margin: 0 0 22px;
}
.prose .lead {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.5;
  color: var(--near-black);
}
.prose h3:where(:not([class*="was-h"])) ,
.prose :is(h1,h2,h3,h4,h5,h6):where(.was-h3) {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 52px 0 18px;
}

/* ---- Editorial alternating image/text rows ---- */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin: 0 auto;
  max-width: var(--container);
  padding-inline: var(--gutter); /* CR-TEJ-004: edge padding (same-class defect found in sweep) */
}
.editorial--reverse .editorial-media { order: 2; }
.editorial-media { aspect-ratio: 4/5; border-radius: 2px; background-size: cover; background-position: center; background-repeat: no-repeat; }
.editorial-media--wide { aspect-ratio: 3/4; }
.editorial-text h2:where(:not([class*="was-h"])) {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.25;
  margin: 14px 0 22px;
}
.editorial-text p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 18px;
}
@media (max-width: 820px) {
  .editorial { grid-template-columns: 1fr; gap: 32px; }
  .editorial--reverse .editorial-media { order: 0; }
}

/* ---- Piece grid (Collections) ---- */
.piece-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 34px;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter); /* CR-TEJ-004: edge padding */
}
/* TEJ-PIECE-LINKS-PAUSED 2026-09-25
   Reuben: collection photos must not open the piece pages while the words are still the draft.
   The piece pages stay published. These ten cards were <a class="piece-card">. They are
   <div class="piece-card piece-card--paused"> until the words are his.
   Restore a card in the editor store: groupTag "a", groupClass "piece-card", href as written here.
   collections-22-piece-card  /piece-marquise-diamond-ring
   collections-26-piece-card  /piece-ruby-emerald-ring
   collections-30-piece-card  /piece-yellow-diamond-ring
   collections-34-piece-card  /piece-zircon-ring
   collections-38-piece-card  /piece-square-cut-diamond
   collections-42-piece-card  /piece-custom-diamond-ring
   collections-46-piece-card  /piece-sapphire-pendant
   collections-50-piece-card  /piece-crucifix-pendant
   collections-54-piece-card  /piece-byzantine-chain
   collections-58-piece-card  /piece-opal-bracelet
*/
.piece-card--paused { cursor: default; }
.piece-card { text-align: left; }
.piece-media { aspect-ratio: 4/5; border-radius: 2px; margin-bottom: 18px; background-size: cover; background-position: center; background-repeat: no-repeat; }
.piece-name {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  margin: 0 0 6px;
}
.piece-meta {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}
@media (max-width: 900px) { .piece-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; } }
@media (max-width: 560px) { .piece-grid { grid-template-columns: 1fr; } }

/* ---- Process movements ---- */
.movement {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto 72px;
  align-items: start;
  padding-inline: var(--gutter); /* CR-TEJ-004: edge padding */
}
.movement-num {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 44px;
  color: var(--gold);
  line-height: 1;
}
.movement-cond {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-green);
  margin: 6px 0 0;
}
.movement h2:where(:not([class*="was-h"])) {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 34px);
  margin: 0 0 8px;
}
.movement .stage {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-green);
  margin: 18px 0 6px;
}
.movement p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 14px;
}
@media (max-width: 620px) {
  .movement { grid-template-columns: 1fr; gap: 12px; }
}

/* ---- Accompanies list ---- */
.accompanies {
  max-width: 720px; margin: 0 auto; list-style: none; padding: 0;
  padding-inline: var(--gutter); /* CR-TEJ-004: edge padding (keeps vertical padding at 0) */
  border-top: 1px solid var(--line);
}
.accompanies li {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--text);
  padding: 18px 0 18px 32px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.accompanies li::before {
  content: "\25C6";
  font-size: 11px;
  position: absolute; left: 0; top: 22px; color: var(--gold);
}

/* ---- Inquiry form (mockup) ---- */
.inquiry-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px;
  max-width: var(--container); margin: 0 auto; align-items: start;
  /* Every other content block gets its gutter from .section-inner. The form does not use
     .section-inner, so without this it renders flush at x=0 while the paragraph above it
     sits at x=48, and the field labels and the submit button clip at the viewport edge.
     Caught by MeatCheck 2026-08-20. */
  padding: 0 var(--gutter);
}
.field { margin-bottom: 26px; }
.field label {
  display: block; font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.field input, .field textarea {
  width: 100%; background: transparent;
  border: none; border-bottom: 1px solid var(--line);
  padding: 10px 0; font-family: var(--serif); font-size: 18px;
  color: var(--text);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: oklch(60% 0.02 150); }
.btn-solid {
  display: inline-block; background: var(--near-black); color: var(--cream);
  border: none; padding: 16px 40px; border-radius: 999px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer; font-weight: 600;
}
.btn-solid:disabled { opacity: 0.55; cursor: wait; }
.inquiry-status {
  font-family: var(--serif); font-size: 16px; line-height: 1.5;
  color: var(--muted); min-height: 1.5em; margin: 16px 0 0;
}
.contact-detail { margin-bottom: 30px; }
.contact-detail .eyebrow { margin-bottom: 8px; }
.contact-detail p { font-family: var(--serif); font-size: 18px; color: var(--text); margin: 0; }
.contact-detail a { border-bottom: 1px solid var(--gold); }
@media (max-width: 820px) { .inquiry-wrap { grid-template-columns: 1fr; gap: 40px; } }

/* ---- Simple CTA band ---- */
.cta-band {
  background: var(--near-black); color: var(--cream);
  text-align: center; padding: 110px var(--gutter);
}
.cta-band h2:where(:not([class*="was-h"])) {
  font-family: var(--serif); font-weight: 400; color: var(--gold-bright);
  font-size: clamp(28px, 3.4vw, 46px); line-height: 1.25;
  max-width: 760px; margin: 0 auto 32px;
}
.cta-band .eyebrow { color: var(--gold-bright); }

/* mockup banner */
.mockup-flag {
  position: fixed; bottom: 12px; right: 12px; z-index: 200;
  background: rgba(20,30,26,0.82); color: var(--gold-bright);
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 7px 12px; border-radius: 999px;
  pointer-events: none;
}

/* ============================================================
   Per-piece detail pages (tej, 2026-07-12)
   The fullness engine: each piece breathes across its whole
   approved Cloudflare frame set. Same tokens, same voice.
   ============================================================ */

.detail-hero {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.detail-hero-media { position: absolute; inset: 0; background-size: cover; background-position: center; }
.detail-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,30,26,0.30) 0%, rgba(20,30,26,0.06) 42%, rgba(20,30,26,0.66) 100%);
}
.detail-hero-inner {
  position: relative;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter) 64px;
}
.detail-title {
  font-family: var(--serif);
  font-weight: 400;
  color: #fff;
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 1.08;
  margin: 12px 0 0;
  max-width: 900px;
}

.detail-intro { max-width: 760px; margin: 0 auto; padding: 88px var(--gutter) 0; text-align: center; }
.detail-lead {
  font-family: var(--serif);
  font-style: normal;
  font-size: clamp(21px, 2.4vw, 30px);
  line-height: 1.45;
  color: var(--near-black);
  margin: 0;
}
.detail-desc {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.85;
  color: var(--muted);
  margin: 26px 0 0;
}

.gallery {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px var(--gutter);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.gallery-item { aspect-ratio: 4/5; border-radius: 2px; background-size: cover; background-position: center; background-repeat: no-repeat; }
.gallery-item--wide { grid-column: 1 / -1; aspect-ratio: 16/9; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr; padding: 48px var(--gutter); } }

.specs { max-width: 860px; margin: 0 auto; padding: 0 var(--gutter) 40px; }
.spec-list { border-top: 1px solid var(--line); }
.spec-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.spec-label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin: 6px 0 0; }
.spec-value { font-family: var(--serif); font-size: 18px; line-height: 1.7; color: var(--text); margin: 0; }
@media (max-width: 620px) { .spec-row { grid-template-columns: 1fr; gap: 8px; } }

.detail-foot { text-align: center; padding: 40px var(--gutter) 120px; }
.detail-back {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-top: 28px;
}
.detail-back:hover { color: var(--gold); }

/* ============================================================
   2026-07-30 DEMO: video snippets wired into image slots (tej)
   Working copy only. Muted autoplay loops; poster = static fallback.
   ============================================================ */
.slot-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block; border: 0;
}
.hero-video {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.hero-video.is-on { opacity: 1; }
/* pair-media is not otherwise positioned; contain the absolute video + clip radius */
.pair-media { position: relative; overflow: hidden; }

/* Accessibility: honour reduced-motion — hide video, poster/background-image shows through */
@media (prefers-reduced-motion: reduce) {
  .slot-video { display: none; }
}

/* Hero legibility over bright motion: the gold-bright wordmark needs help the
   dark static image did not. Stronger centre scrim + a soft text shadow.
   (Verified in pixels before shipping; see 2026-07-30 pass.) */
.hero-overlay {
  background: linear-gradient(180deg,
    oklch(15% 0.03 155 / 0.55) 0%,
    oklch(15% 0.03 155 / 0.42) 42%,
    oklch(15% 0.03 155 / 0.68) 100%);
}
.hero-content .tagline,
.hero-content .eyebrow,
.hero-content .eyebrow-sub {
  text-shadow: 0 2px 28px rgba(8,16,12,0.72), 0 1px 5px rgba(8,16,12,0.60);
}

/* Collections grid (interim, 2026-07-30): the 11 piece photos carry mixed baked
   grounds (cream, green boxes, black velvet, one lifestyle) — a photography-coherence
   gap CSS cannot truly close (the grounds are IN the photos, not the card). The real
   cure is cut-outs / a one-ground reshoot (in the Reuben ask). Honest interim: keep
   full-bleed fill and add one consistent hairline frame so the cards read as a matched
   set. Scoped to .piece-grid; detail galleries untouched. */
.piece-grid .piece-media {
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(20,30,26,0.10);
}
/* H-4 lowered headings, TEJ build 1 */
:where(:is(h1,h2,h3,h4,h5,h6).was-h3){font-size:1.17em;margin-block-start:1em;margin-block-end:1em}



/* ══ ADDITIONS, TEJ build 1, 2026-09-12 ═══════════════════════════════════════════════════════════════════ */

.ln { display: block }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0 }

.icon { display: inline-block; vertical-align: baseline; -webkit-mask: var(--glyph) center / contain no-repeat; mask: var(--glyph) center / contain no-repeat }

/* H-13: v1 background-image divs -> <img.bg-photo> inside .media-fill. display:contents keeps grid/flex
   children aligned with v1; object-fit carries background-size:cover on sized boxes.
   2026-09-22: product/piece cards cannot use display:contents — height:100% on the photo
   then fills the whole article and paints over the caption. */
.media-fill { display: contents }
img.bg-photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center }
.page-hero .media-fill,
.detail-hero .media-fill,
.stone-band .media-fill,
.page-hero-media.bg-photo,
.detail-hero-media.bg-photo,
.band-media.bg-photo { position: absolute; inset: 0; width: 100%; height: 100% }
.product-card,
.piece-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.product-card .media-fill,
.piece-card .media-fill {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 18px;
  aspect-ratio: 4 / 5;
}
.product-card .media-fill img.bg-photo,
.piece-card .media-fill img.bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* 2026-09-23 (Reuben): the Home approach stack. height:100% above beat the ring's 16/9, so the ring
   took the whole column and pushed the third photo out of the grid, under the stone band. */
.philosophy-stack img.bg-photo { height: auto; min-height: 0 }
.philosophy-stack img.philosophy-media--small { flex: 1 1 0 }
@media (max-width: 960px) {
  .philosophy-stack img.philosophy-media--small { flex: 0 0 auto }
}
.product-card .product-media,
.piece-card .piece-media { margin-bottom: 0; height: 100%; }
/* Wedding Bands tile: product frame (gold woven band in box). Poster is 16:9;
   4:5 product-media cover crops the sides — keep the band centered, no lifestyle zoom. */
.product-card .img-collection-bands {
  object-position: 50% 45%;
  transform: none;
}
/* 2026-09-25: Collections hero is landscape, ring on the right. A phone
   cover-crop at center shows the dark ground and a sliver of the piece. */
@media (max-width: 720px) {
  body[data-page="collections"] .page-hero-media {
    object-position: 85% center;
  }
}

/* INLINE STYLES, generated by extract-v1.py 2026-09-12. */
.u-86c222{background-image:url('https://media.beargrassai.com/thomaselliott/video/hero-hands-earrings-poster.webp') !important;background-position:30% center !important}
.u-34040f{background-image:url('https://media.beargrassai.com/thomaselliott/video/team-three-sketching-poster.webp') !important}
.u-bf4d1a{margin-top:56px !important}
.u-e1853b{border-color:var(--gold) !important;color:var(--gold) !important}
.u-8b9347{background-image:url('https://media.beargrassai.com/thomaselliott/images/copy-of-edit-ruby-420c0f55.webp') !important}
.u-9e00cc{background-image:url('https://media.beargrassai.com/thomaselliott/video/product-ruby-setting-macro-poster.webp') !important}
.u-f9af2f{background-image:url('https://media.beargrassai.com/thomaselliott/video/process-sketch-reveal-poster.webp') !important}
.u-a47fbf{background-image:url('https://media.beargrassai.com/thomaselliott/video/product-gold-woven-ring-poster.webp') !important}
.u-811a13{padding-top:0 !important}
.u-fc04a7{border-color:var(--gold-bright) !important;color:var(--gold-bright) !important}
.u-905008{text-align:center !important}
.u-107e7e{display:grid !important;grid-template-columns:repeat(3,1fr) !important;gap:48px !important;max-width:1000px !important;margin:56px auto 0 !important;text-align:left !important}
.u-49d89b{font-size:34px !important}
.u-ad932d{font-family:var(--serif) !important;font-weight:400 !important;font-size:24px !important;margin:12px 0 10px !important}
.u-4c7978{font-family:var(--serif) !important;font-size:16px !important;line-height:1.75 !important;color:var(--muted) !important;margin:0 !important}
.u-29e360{margin-top:28px !important}
.u-78c899{padding-top:0 !important;padding-bottom:56px !important}
.u-fa769a{margin-bottom:0 !important}
.u-881a31{height:46vh !important;background-image:url('https://media.beargrassai.com/thomaselliott/images/process-drawing.webp') !important;background-position:center 40% !important}
.u-ab3644{padding:64px 0 !important}
.u-916afa{height:46vh !important;background-image:url('https://media.beargrassai.com/thomaselliott/images/opal-bracelet-2-3c364c56.webp') !important;background-position:center 58% !important}
.u-b5565e{height:46vh !important;background-image:url('https://media.beargrassai.com/thomaselliott/images/copy-of-diamond-marquise3-6a4c20ac.webp') !important}
.u-5563c5{margin-bottom:48px !important}
.u-f752cd{font-size:16px !important;line-height:1.75 !important;color:var(--muted) !important}
@media (max-width: 700px) {
  .u-107e7e { grid-template-columns: 1fr !important; gap: 28px !important; }
}

/* Shannon's type combo — gallery 2026-09-16, screenshot
   Clients/thomasElliott/2026-09-21/shannon-font-combo-2026-09-16.png.
   Faces stay: Nav/Eyebrow Glacial · Heading Recoleta · Body EB Garamond.
   2026-09-22 Mark: not italics everywhere. Shannon's gallery had body italic;
   that rule painted every paragraph, price, field, and caption italic on the
   gated preview (measured 2026-09-22: live site.css sha 1783c9a2… == a18d062).
   Body is Garamond roman. Italic is only <em> inside running copy (Latin
   terms). Recoleta DEMO is off; licensed Regular woff2 is the heading face.
   Fontspring's kit strips OpenType features — fi/fl draw as letter pairs, not
   a DEMO mark. font-synthesis none so the browser cannot fake-oblique. */
:root { --body: 'EB Garamond', Garamond, "Times New Roman", serif; }
html, body { font-style: normal; }

.nav-link { font-family: var(--sans); font-style: normal; }
.eyebrow, .eyebrow-sub { font-family: var(--sans); font-style: normal; }
.eyebrow:empty { display: none; }
:is(.contact-detail, .editorial-text, .movement, .prose, .philosophy-text) p.eyebrow {
  font-family: var(--sans); font-style: normal; font-size: 11px;
}
.btn-pill, .btn-solid, .field label, .piece-meta, .product-tag, .scroll-indicator,
.spec-label, .mini-eyebrow, .footer-credit, .footer-copy, .footer-by, .footer-instagram, .say-hi {
  font-family: var(--sans);
  font-style: normal;
}
.movement p.movement-cond {
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-green);
}
.movement p.stage {
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-green);
}

.heading-lg, .heading-md, .page-hero-title, .detail-title, .wordmark,
.product-name, .piece-name, .movement-num, .cta-band h2, .movement h2,
.mini-wordmark, .u-ad932d, .lead, .prose .lead, .section-lead, .detail-lead,
.quote blockquote, .quote p, .editorial-text h2 {
  font-family: var(--serif);
  font-style: normal;
  font-synthesis: none;
}
:is(h1, h2, h3, h4, .heading-lg, .heading-md, .page-hero-title, .detail-title,
    .cta-band h2, .movement h2, .editorial-text h2, .product-name, .piece-name) em {
  font-family: var(--serif);
  font-style: normal;
  font-synthesis: none;
}

.body-copy,
.philosophy-text p,
.prose p:not(.lead):not(.eyebrow),
.editorial-text p:not(.eyebrow),
.movement p:not(.movement-cond):not(.stage),
.accompanies li,
.inquiry-status,
.field input,
.field textarea,
.detail-desc,
.spec-value,
.contact-detail p,
.contact-line p:last-child,
.product-price,
.u-4c7978 {
  font-family: var(--body);
  font-style: normal;
}
.u-4c7978 { font-family: var(--body) !important; font-style: normal !important; }
:is(.body-copy, .philosophy-text p, .prose p, .editorial-text p, .movement p,
    .accompanies li, .detail-desc, .contact-detail p, .product-price, .u-4c7978) em {
  font-family: inherit;
  font-style: italic;
}

.body-copy { font-size: 16px; }
.philosophy-text p { font-size: 16px; }
.prose p { font-size: 17px; }
.editorial-text p, .movement p { font-size: 17px; }
.accompanies li, .spec-value, .contact-detail p, .field input, .field textarea { font-size: 17px; }
.detail-desc { font-size: 17px; }
.inquiry-status { font-size: 16px; }
.product-price { font-size: 15px; line-height: 1.5; }
.u-4c7978 { font-size: 16px !important; }
.contact-line p:last-child { font-size: 16px; }
