:root {
  --background: 6 9 17;
  --foreground: 247 247 248;
  --card: 11 14 24;
  --muted-foreground: 158 158 163;
  --gold: 193 152 58;
  --gold-light: 215 188 127;
  --gold-dark: 135 106 41;
  --charcoal: 14 18 29;
  --gold-solid: rgb(193 152 58);
}

* { border-color: rgba(255, 255, 255, 0.08); }

html { scroll-behavior: smooth; }

body {
  background-color: rgb(var(--background));
  color: rgb(var(--foreground));
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
}
footer img, header img {
  max-width: 200px;
}
.font-serif { font-family: "EB Garamond", ui-serif, Georgia, serif; }

.text-balance { text-wrap: balance; }

.container-site { width: 100%; max-width: 80rem; margin-left: auto; margin-right: auto; }

.section-padding { padding-left: 1.5rem; padding-right: 1.5rem; }
@media (min-width: 768px) {
  .section-padding { padding-left: 3rem; padding-right: 3rem; }
}

.gold-underline { position: relative; }
.gold-underline::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--gold-solid);
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.gold-underline:hover::after { width: 100%; }

.frame-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgb(var(--card));
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.5s ease, box-shadow 0.5s ease;
}
.frame-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklch, var(--gold-solid) 40%, transparent);
  box-shadow: 0 20px 40px -15px color-mix(in oklch, var(--gold-solid) 15%, transparent);
}

::selection { background: var(--gold-solid); color: rgb(var(--background)); }

.case-img { filter: grayscale(1); opacity: 0.7; transition: opacity 0.7s ease; }
.case-img:hover { opacity: 0.9; }

.doc-panel { display: none; }
.doc-panel.open { display: block; }
.chev { transition: transform 0.3s ease; }
.chev.open { transform: rotate(180deg); }
