/* =========================================================
   AMBAR — global refinements (loaded after main.css)
   Editorial look: light/bold headings, pill buttons,
   spaced uppercase labels, refined cards.
   ========================================================= */

:root{
  --ambar-cream:#f4ede4;
  --ambar-ink:#2c1d14;
  --ambar-wine:#2a1114;
  --ambar-line:color-mix(in srgb, currentColor 14%, transparent);
}

body{
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* ---------- Section headings ---------- */
[ui-slot=head] .heading{
  font-weight:300;
  letter-spacing:-.02em;
  line-height:1.05;
}
[ui-slot=head] .heading strong,
[ui-slot=head] .heading b{
  font-weight:800;
}
[ui-slot=head] .description{
  font-weight:300;
  line-height:1.6;
  opacity:.85;
}
@media (max-width: 769px){
  [ui-slot=head] .heading{
    font-weight:300;
    font-size:calc(34px * var(--font-heading-scale));
    line-height:1.08;
  }
}

/* ---------- Announcement bar & scrolling banner ---------- */
[ui-section=announcement-bar],
[ui-section=scrolling-banner]{
  letter-spacing:.06em;
}

/* ---------- Multicolumn → refined cards with numbers ---------- */
[ui-section=multicolumn] .items-area{
  counter-reset:ambar-col;
}
[ui-section=multicolumn] .items-area [ui-block=column]{
  counter-increment:ambar-col;
  justify-content:flex-start;
  height:100%;
  padding:28px 26px;
  border:1px solid var(--ambar-line);
  border-radius:20px;
  background:color-mix(in srgb, currentColor 3%, transparent);
  transition:transform .3s ease, border-color .3s ease;
}
[ui-section=multicolumn] .items-area [ui-block=column]:hover{
  transform:translateY(-3px);
  border-color:color-mix(in srgb, currentColor 28%, transparent);
}
[ui-section=multicolumn] .items-area [ui-block=column] .content{
  gap:10px;
}
[ui-section=multicolumn] .items-area [ui-block=column] .content::before{
  content:counter(ambar-col, decimal-leading-zero);
  font-size:12px;
  font-weight:500;
  letter-spacing:.3em;
  opacity:.55;
}
[ui-section=multicolumn] .items-area [ui-block=column] .content .heading{
  font-size:20px;
  font-weight:600;
  line-height:1.25;
  letter-spacing:-.01em;
  -webkit-text-decoration:none;
  text-decoration:none;
}
[ui-section=multicolumn] .items-area [ui-block=column] .content .description{
  font-weight:300;
  line-height:1.6;
  opacity:.8;
}
[ui-section=multicolumn] .items-area [ui-block=column] .media{
  max-width:72px;
}

/* ---------- Image with text ---------- */
[ui-section=image-with-text] .heading,
[ui-section=image-with-text] h2{
  font-weight:300;
  letter-spacing:-.02em;
}

/* ---------- FAQ ---------- */
[ui-section=faqs] summary,
[ui-section=faqs] .title{
  font-weight:500;
  letter-spacing:-.005em;
}

/* ---------- Footer: logo + tagline ---------- */
[ui-layout=footer] .brand-card .brand-top{
  display:flex;
  flex-direction:column;
  gap:18px;
}
[ui-layout=footer] .brand-card .brand-logo{
  display:inline-block;
  width:fit-content;
}
[ui-layout=footer] .brand-card .brand-logo img{
  display:block;
  max-width:100%;
  height:auto;
}
[ui-layout=footer] .brand-card .brand-logo img[data-light]{
  filter:brightness(0) invert(.94) sepia(.18);
}
[ui-layout=footer] .brand-card .brand-tagline{
  margin:0;
  font-size:13px;
  font-weight:400;
  letter-spacing:.32em;
  text-transform:uppercase;
  opacity:.75;
}
