:root{ --ease:cubic-bezier(.22,.61,.36,1); }

body{
  background:var(--bg);
  background-image:
    radial-gradient(120% 70% at 50% -10%, color-mix(in srgb,var(--panel) 55%, transparent), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg));
}

.section:nth-of-type(even){
  background:linear-gradient(180deg, transparent, color-mix(in srgb,var(--panel) 30%, transparent), transparent);
}

/* ---------- Headings: Bodoni, ivory, calm ---------- */
.hero-title,.section h2,.article h2{
  color:var(--text);
  font-weight:600;
  letter-spacing:.03em;
}
.hero-title{ letter-spacing:.04em; line-height:1.05; }
.section h2{
  position:relative;
  padding-bottom:.5rem;
}
.section h2::after{
  content:"";
  position:absolute; left:0; bottom:0;
  width:64px; height:1px;
  background:var(--accent);
}
.badge{
  background:transparent;
  border:1px solid var(--line);
  color:var(--accent);
  border-radius:999px;
  letter-spacing:.14em;
  text-transform:uppercase;
}

/* ---------- Hero ---------- */
.hero{
  border-bottom:1px solid var(--line);
}
.fact{
  border:1px solid var(--line);
  background:var(--panel);
  border-radius:var(--radius);
  transition:border-color .5s var(--ease);
}
.fact:hover{ border-color:var(--accent); }
.fact b{ color:var(--accent); font-weight:600; }

/* ---------- Cards & features ---------- */
.card,.feature,.faq-item{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  transition:border-color .55s var(--ease), background .55s var(--ease), transform .55s var(--ease);
}
.card:hover,.feature:hover{
  border-color:var(--accent);
  background:var(--panel-2);
  transform:translateY(-3px);
}
.feature .icon{
  color:var(--accent);
  background:transparent;
  border:1px solid var(--line);
  border-radius:var(--radius);
  transition:border-color .5s var(--ease);
}
.feature:hover .icon{ border-color:var(--accent); }

/* ---------- Buttons: thin gold outline CTA ---------- */
.btn{
  border-radius:var(--radius);
  letter-spacing:.06em;
  transition:background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.btn-primary{
  background:var(--accent);
  color:var(--on-accent);
  border:1px solid var(--accent);
}
.btn-primary:hover{
  background:transparent;
  color:var(--accent);
}
.btn-ghost{
  background:transparent;
  color:var(--text);
  border:1px solid var(--line);
}
.btn-ghost:hover{ border-color:var(--accent); color:var(--accent); }

/* ---------- Tiles: calm imagery, gold hairline ---------- */
.tile{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  transition:border-color .55s var(--ease), transform .55s var(--ease);
}
.tile:hover{ border-color:var(--accent); transform:translateY(-2px); }
.tile img{ transition:transform 1.2s var(--ease), filter .6s var(--ease); }
.tile:hover img{ transform:scale(1.04); }
.tile .gp{ color:var(--accent); letter-spacing:.08em; text-transform:uppercase; }
.tile .nm{ color:var(--text); letter-spacing:.02em; }
.tile.noimg{
  background:linear-gradient(160deg, var(--panel), var(--panel-2));
}
.tile.noimg .nm{ font-weight:600; }

/* ---------- Tabs ---------- */
.tab{
  background:transparent;
  border:1px solid var(--line);
  color:var(--text-2);
  border-radius:999px;
  letter-spacing:.04em;
  transition:border-color .4s var(--ease), color .4s var(--ease);
}
.tab:hover{ color:var(--text); border-color:var(--accent); }
.tab.active{ color:var(--on-accent); background:var(--accent); border-color:var(--accent); }

/* ---------- Article & table ---------- */
.article p,.article li{ color:var(--prose); }
.article a{ color:var(--accent); text-underline-offset:3px; }
.table{ border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.table th{ background:var(--panel-2); color:var(--text); letter-spacing:.04em; }
.table td,.table th{ border-color:var(--line); }

/* ---------- FAQ ---------- */
.faq-item{ background:var(--panel); }
.faq-item:hover{ border-color:var(--accent); }
.faq-q{ color:var(--text); font-weight:600; }
.faq-a{ color:var(--prose); }

/* ---------- Header & footer ---------- */
.site-header{
  background:color-mix(in srgb,var(--bg) 88%, transparent);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.site-footer{ border-top:1px solid var(--line); }

/* ---------- Slow fade-in reveals ---------- */
@keyframes onyxFade{ from{opacity:0; transform:translateY(14px);} to{opacity:1; transform:none;} }
.section .card,.section .feature,.tile,.fact{
  animation:onyxFade .9s var(--ease) both;
}