/* Baath Gold & Diamonds — site stylesheet.
   Colors, fonts, and spacing tokens live in tokens.css (loaded before this file).
   Structure mirrors the page order in index.html: header, hero, collection,
   story, pop-ups, FAQ, contact, footer, dialogs.

   Editorial rhythm: each section carries deliberately different spacing,
   alignment, and scale (asymmetrical hero, split featured/supporting
   collection grid, centered pop-up block) rather than repeating one
   section template down the page. */

/* ===== Base / reset ===== */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}
body {
  margin: 0;
  background: var(--baath-ivory);
  color: var(--baath-ink);
  font-family: var(--baath-body);
  font-size: 16px;
  line-height: 1.7;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button {
  font: inherit;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid var(--baath-mauve);
  outline-offset: 5px;
}
.wrap {
  width: min(100% - var(--baath-gutter)*2,var(--baath-max-width));
  margin-inline: auto;
}
/* ===== Skip link ===== */
.skip {
  position: absolute;
  top: -80px;
  left: 20px;
  z-index: 30;
  background: var(--baath-ivory);
  padding: 12px;
}
.skip:focus {
  top: 12px;
}
/* ===== Header (sticky — stays full-width while .header-inner keeps the centered content width) ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--baath-ivory);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 114px;
  border-bottom: 1px solid var(--baath-line);
  gap: 32px;
}
.wordmark {
  display: block;
  width: 250px;
  height: auto;
}
.header nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
}
.header nav a {
  position: relative;
  padding-bottom: 5px;
  text-decoration: none;
}
.header nav a:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--baath-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--baath-motion);
}
.header nav a:hover:after,
.header nav a:focus-visible:after {
  transform: scaleX(1);
}
.button {
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid var(--baath-olive);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-decoration: none;
  background: var(--baath-olive);
  color: var(--baath-ivory);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 2px;
  transition: background-color var(--baath-motion), border-color var(--baath-motion), color var(--baath-motion);
}
.button:hover {
  background: var(--baath-ink);
  border-color: var(--baath-gold);
}
.button.outline {
  background: transparent;
  color: var(--baath-olive);
}
.button.outline:hover {
  background: var(--baath-olive);
  color: var(--baath-ivory);
}
.button.light {
  background: var(--baath-ivory);
  color: var(--baath-olive);
  border-color: var(--baath-ivory);
}
.button.light:hover {
  background: var(--baath-ivory);
  border-color: var(--baath-gold);
}
.header .button {
  padding-inline: 24px;
  min-height: 44px;
}
/* ===== Type scale ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .17em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--baath-olive);
  margin: 0 0 23px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  flex-shrink: 0;
  background: var(--baath-gold);
}
h1,
h2,
h3 {
  font-family: var(--baath-display);
  font-weight: 500;
  color: var(--baath-olive);
  margin: 0;
  line-height: 1.04;
}
h1 {
  font-size: clamp(54px,6vw,88px);
  letter-spacing: -.035em;
}
h2 {
  font-size: clamp(39px,4vw,56px);
  letter-spacing: -.02em;
}
h3 {
  font-size: 31px;
  line-height: 1.1;
}
p {
  margin: 0 0 20px;
}
.text-link {
  font-size: 13px;
  font-weight: 500;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.text-link span {
  display: inline-block;
  transition: transform var(--baath-motion);
}
.text-link:hover span {
  transform: translateX(4px);
}
/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  column-gap: 64px;
  align-items: start;
  padding-block: 32px 72px;
}
.hero-copy {
  padding-top: 28px;
}
.hero h1 {
  max-width: 480px;
}
.hero .intro {
  margin-top: 22px;
  max-width: 400px;
  font-size: 16px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 27px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
}
.popup-teaser {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: fit-content;
  max-width: 320px;
  margin-top: 28px;
  padding: 18px 24px;
  border: 1px solid var(--baath-mauve);
  border-radius: 2px;
  text-decoration: none;
  transition: background-color var(--baath-motion), border-color var(--baath-motion);
}
.popup-teaser-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--baath-gold);
}
.popup-teaser-city {
  font-family: var(--baath-display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--baath-olive);
}
.popup-teaser-date {
  font-size: 13px;
  line-height: 1.4;
  color: var(--baath-ink);
}
.popup-teaser-date:empty {
  display: none;
}
.popup-teaser:hover {
  background: var(--baath-mauve);
  border-color: var(--baath-mauve);
}
.popup-teaser:hover .popup-teaser-eyebrow {
  color: var(--baath-ivory);
  opacity: .8;
}
.popup-teaser:hover .popup-teaser-city,
.popup-teaser:hover .popup-teaser-date {
  color: var(--baath-ivory);
}
.hero-frame {
  position: relative;
}
.hero-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4/5;
  object-fit: contain;
  background: var(--baath-mauve);
}
.hero-note {
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-top: 13px;
  color: var(--baath-olive);
}
/* ===== Section rhythm (deliberately not uniform) ===== */
section {
  padding-block: var(--baath-section-space);
}
/* ===== Collection: two featured + four supporting ===== */
.collection {
  border-top: 1px solid var(--baath-line);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 48px;
}
.section-head h2 {
  max-width: 570px;
}
.section-head p:last-child {
  max-width: 345px;
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 2px;
}
.grid-featured {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: start;
  gap: 40px;
  margin-bottom: 72px;
}
.collection-card {
  display: flex;
  flex-direction: column;
}
.collection-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: contain;
  background: var(--baath-pale-mauve);
}
.collection-card .text-link {
  margin-top: auto;
}
.featured h3 {
  margin-top: 28px;
  font-size: 36px;
}
.featured p {
  font-size: 14px;
  line-height: 1.75;
  margin-top: 12px;
  max-width: 360px;
}
.featured.featured-offset {
  margin-top: 88px;
}
.grid-supporting {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 24px;
}
.grid-supporting h3 {
  margin-top: 18px;
  font-size: 21px;
}
.grid-supporting p {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 8px;
  margin-bottom: 0;
  color: var(--baath-ink);
}
.grid-supporting .text-link {
  font-size: 11px;
  margin-top: 10px;
  gap: 8px;
}
.range {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--baath-line);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  font-size: 14px;
}
.range p {
  margin-bottom: 10px;
}
.range small {
  display: block;
  font-size: 12px;
  margin-top: 6px;
}
/* ===== Indian yellow gold (a spotlight within the same Collection section — not a new section) ===== */
.yg-head {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--baath-line);
  margin-bottom: 40px;
  max-width: 560px;
}
.yg-head h3 {
  font-size: 32px;
  margin-bottom: 14px;
}
.yg-head p {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}
.yg-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
  margin-bottom: 56px;
}
.yg-display {
  margin-bottom: 8px;
}
.yg-display img {
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--baath-ink);
}
/* ===== Family story (quiet, centered pairing) ===== */
.story {
  background: var(--baath-pale-mauve);
  padding-block: 96px;
}
.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.story-quote {
  font-family: var(--baath-display);
  font-size: clamp(45px,4.8vw,67px);
  color: var(--baath-olive);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.025em;
  max-width: 450px;
}
.story-quote:before {
  content: '“';
  display: block;
  font-size: 104px;
  line-height: .6;
  margin-bottom: 20px;
  color: var(--baath-gold);
}
.story h2 {
  font-size: 44px;
  max-width: 400px;
  margin-bottom: 26px;
}
.story p {
  font-size: 14px;
  line-height: 1.9;
}
/* ===== Pop-ups: rich color, centered, full-width atmosphere image ===== */
.popups {
  background: var(--baath-olive);
  color: var(--baath-ivory);
}
.popups h2,
.popups h3,
.popups .eyebrow {
  color: var(--baath-ivory);
}
.popups-head {
  max-width: 620px;
  text-align: center;
  margin-inline: auto;
  margin-bottom: 64px;
}
.popups-head .eyebrow {
  text-align: center;
}
.popups-head p {
  margin-inline: auto;
  font-size: 15px;
  line-height: 1.9;
  margin-top: 24px;
}
.popups-image {
  margin-bottom: 56px;
}
.display-image {
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
  height: auto;
  display: block;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: var(--baath-ink);
}
.popups-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 36px;
}
.motif {
  width: 200px;
  display: block;
  opacity: .9;
}
#popup-cards {
  width: 100%;
  max-width: 520px;
}
.popup-card {
  border: 0;
  border-top: 1px solid rgba(245,239,227,.3);
  padding-top: 32px;
  transition: border-color var(--baath-motion);
}
.popup-card[open],
details.popup-card[open] {
  border-color: var(--baath-gold);
}
.popup-card h3 {
  font-size: 30px;
}
.popup-card p {
  margin-block: 16px 24px;
}
.popup-card .hero-actions,
.popup-card .button {
  justify-content: center;
}
/* ===== FAQ ===== */
.faq {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 100px;
}
.faq h2 {
  max-width: 340px;
}
.faq details {
  border-bottom: 1px solid var(--baath-line);
  padding: 19px 0;
  transition: border-color var(--baath-motion);
}
.faq details:first-child {
  border-top: 1px solid var(--baath-line);
}
.faq details[open] {
  border-bottom-color: var(--baath-gold);
}
.faq summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 28px;
}
.faq summary:after {
  content: '+';
  font-size: 23px;
  font-weight: 400;
}
.faq details[open] summary:after {
  content: '−';
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq details p {
  font-size: 14px;
  margin: 15px 30px 0 0;
  line-height: 1.85;
}
/* ===== Final contact invitation ===== */
.contact {
  padding-top: 0;
  text-align: center;
}
.contact .inner {
  padding-top: 80px;
  border-top: 1px solid var(--baath-line);
}
.contact h2 {
  font-size: clamp(44px,5vw,66px);
}
.contact p:not(.eyebrow) {
  max-width: 590px;
  margin: 24px auto 28px;
  font-size: 15px;
  line-height: 1.85;
}
.contact-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 27px;
}
.plain-button {
  padding: 12px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 5px;
  font-size: 13px;
  color: var(--baath-olive);
  min-height: 48px;
  transition: color var(--baath-motion);
}
.plain-button:hover {
  color: var(--baath-gold);
}
/* ===== Footer ===== */
.footer {
  background: var(--baath-olive);
  color: var(--baath-ivory);
  padding: 50px 0 25px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
}
.footer .wordmark {
  width: 250px;
}
.footer p {
  font-size: 12px;
  margin: 0;
}
.footer-bottom {
  border-top: 1px solid rgba(245,239,227,.22);
  margin-top: 35px;
  padding-top: 21px;
  font-size: 10px;
  letter-spacing: .02em;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.footer-links {
  display: flex;
  gap: 22px;
}
.footer a,
.footer button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--baath-ivory);
  background: none;
  border: 0;
  padding: 0;
  min-height: 44px;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--baath-motion);
}
.footer .icon {
  flex-shrink: 0;
}
.footer a:hover,
.footer button:hover {
  color: var(--baath-gold);
}
/* ===== Temporary-contact dialog ===== */
dialog {
  background: var(--baath-ivory);
  color: var(--baath-ink);
  border: 1px solid var(--baath-line);
  padding: 38px;
  max-width: min(450px,calc(100% - 36px));
  border-radius: 2px;
}
dialog::backdrop {
  background: #25281f77;
}
dialog h2 {
  font-size: 38px;
  margin-bottom: 18px;
}
dialog p {
  font-size: 15px;
}
dialog .button {
  margin-top: 8px;
}
/* ===== Responsive: large desktop ===== */
@media(min-width:1600px) {
  .hero {
    column-gap: 84px;
  }
}
/* ===== Responsive: tablet ===== */
@media(max-width:1000px) {
  .hero {
    column-gap: 36px;
  }
  .hero-copy {
    padding-top: 40px;
  }
  .header nav {
    gap: 22px;
  }
  .story-inner,
  .faq {
    gap: 50px;
  }
  .grid-featured {
    gap: 20px;
  }
  .featured.featured-offset {
    margin-top: 48px;
  }
  .grid-supporting {
    gap: 18px;
  }
  .section-head {
    gap: 32px;
  }
  .section-head p:last-child {
    max-width: 280px;
  }
  .hero-actions {
    gap: 16px;
  }
}
/* ===== Responsive: mobile ===== */
@media(max-width:760px) {
  html {
    scroll-padding-top: 160px;
  }
  .header-inner {
    min-height: 130px;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 0 14px;
  }
  .wordmark {
    width: 210px;
  }
  .header nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 16px;
    font-size: 12px;
  }
  .header nav a {
    min-height: 36px;
    display: flex;
    align-items: center;
  }
  .header-inner>.button {
    min-height: 42px;
    font-size: 12px;
    padding: 8px 18px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 38px 56px;
  }
  .hero-copy {
    padding: 0;
  }
  .hero h1 {
    font-size: 58px;
    max-width: 360px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: .13em;
    margin-bottom: 20px;
  }
  .hero .intro {
    margin-top: 23px;
    font-size: 15px;
    max-width: 440px;
  }
  .hero-actions {
    margin-top: 23px;
    gap: 25px;
  }
  .hero-image {
    width: 100%;
    max-height: none;
  }
  .hero-note {
    font-size: 9px;
    letter-spacing: .1em;
  }
  .section-head {
    display: block;
    margin-bottom: 31px;
  }
  .section-head h2 {
    max-width: 430px;
  }
  .section-head p:last-child {
    margin-top: 22px;
    max-width: 430px;
  }
  .grid-featured {
    grid-template-columns: 1fr;
    gap: 44px;
    margin-bottom: 48px;
  }
  .featured.featured-offset {
    margin-top: 0;
  }
  .featured h3 {
    font-size: 30px;
  }
  .grid-supporting {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 32px 18px;
  }
  .grid-supporting h3 {
    font-size: 19px;
  }
  .range {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 40px;
    padding-top: 25px;
  }
  .yg-head {
    margin-top: 48px;
    padding-top: 40px;
    margin-bottom: 31px;
    max-width: 100%;
  }
  .yg-head h3 {
    font-size: 28px;
  }
  .yg-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 32px 18px;
    margin-bottom: 36px;
  }
  .story {
    padding-block: 64px;
  }
  .story-inner,
  .faq {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .story-quote {
    font-size: 49px;
  }
  .story h2 {
    font-size: 39px;
  }
  .popups-head {
    margin-bottom: 40px;
  }
  .popups-head h2 {
    font-size: 44px;
  }
  .popups-image {
    margin-bottom: 40px;
  }
  .popup-card h3 {
    font-size: 27px;
  }
  .motif {
    width: 170px;
  }
  .faq {
    gap: 28px;
  }
  .faq h2 {
    max-width: 100%;
  }
  .contact .inner {
    padding-top: 48px;
  }
  .contact h2 {
    font-size: 46px;
  }
  .contact-actions {
    gap: 22px;
  }
  .contact p:not(.eyebrow) {
    font-size: 14px;
  }
  .footer-top {
    display: block;
  }
  .footer p {
    margin-top: 24px;
    max-width: 220px;
  }
  .footer-bottom {
    display: block;
  }
  .footer-links {
    margin-top: 12px;
  }
  .footer {
    padding-top: 34px;
  }
}
/* ===== Responsive: small mobile ===== */
@media(max-width:359px) {
  :root {
    --baath-gutter: 20px;
  }
  .hero h1 {
    font-size: 50px;
  }
  .header .wordmark {
    width: 180px;
  }
  .hero-actions {
    gap: 15px;
  }
  .button {
    padding-inline: 18px;
  }
  .story-quote {
    font-size: 44px;
  }
}
/* ===== Reduced motion ===== */
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition-duration: 0ms !important;
  }
}
