:root {
  --black: #0B0B0B;
  --charcoal: #1A1A1A;
  --gold: #D4AF37;
  --white: #F8F9FA;
  --grey: #A0A0A0;
  --line: rgba(160, 160, 160, 0.22);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
.wrap { width: min(1120px, 100% - 3rem); margin-inline: auto; }
.muted { color: var(--grey); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Scroll progress (progressive enhancement) */
.progress { display: none; }
@supports (animation-timeline: scroll()) {
  .progress {
    display: block; position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60;
    background: var(--gold); transform-origin: left; transform: scaleX(0);
    animation: grow linear both; animation-timeline: scroll(root);
  }
  @keyframes grow { to { transform: scaleX(1); } }
}

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 11, 11, 0.88);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: .7rem; font-family: var(--display); font-weight: 600; font-size: 1.25rem; }
.logo-mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  border: 1.5px solid var(--gold); border-radius: 50%;
  color: var(--gold); font-size: 1rem;
}
.nav { display: flex; gap: 2.25rem; }
.nav a { position: relative; color: var(--white); font-weight: 500; font-size: .98rem; padding: .25rem 0; transition: color .25s; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--gold); }
.nav a:hover::after { transform: scaleX(1); }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--white);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero {
  min-height: 100svh; display: flex; align-items: center; padding: 8rem 0 5rem;
  background:
    radial-gradient(60rem 36rem at 85% 15%, rgba(212, 175, 55, 0.13), transparent 60%),
    var(--black);
  overflow: hidden;
}
.hero h1 { font-size: clamp(2.8rem, 8.5vw, 6.5rem); line-height: 1.02; letter-spacing: -0.03em; }
.line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.line > span { display: block; animation: rise 1.1s var(--ease) both; }
.line:nth-child(2) > span { animation-delay: .15s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }

.hero-rule {
  display: block; width: 120px; height: 2px; margin: 2.2rem 0 1.8rem; background: var(--gold);
  transform-origin: left; animation: draw 1s var(--ease) .6s both;
}
@keyframes draw { from { transform: scaleX(0); } to { transform: none; } }
.hero-sub { max-width: 34rem; color: var(--grey); font-size: 1.2rem; margin-bottom: 2.4rem; animation: fade .9s ease .8s both; }
.hero .btn { animation: fade .9s ease 1s both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Buttons */
.btn {
  display: inline-block; padding: .9rem 1.8rem; border-radius: 6px;
  background: var(--gold); color: var(--black); font-weight: 600; font-size: 1rem;
  border: 1.5px solid var(--gold);
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(212, 175, 55, 0.3); }
.btn-ghost { background: transparent; color: var(--gold); padding: .7rem 1.4rem; font-size: .96rem; }
.btn-ghost:hover { background: var(--gold); color: var(--black); }

/* Sections */
.section { padding: clamp(5rem, 12vw, 9rem) 0; }
.section h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }

.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.about-body p { font-size: 1.15rem; max-width: 36rem; }
.values { list-style: none; margin: 2.4rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.values li { display: flex; gap: 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--grey); }
.values strong { flex: 0 0 6.5rem; color: var(--gold); font-weight: 600; }

/* Cards */
#brands h2 { margin-bottom: 3rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card {
  display: flex; flex-direction: column; align-items: flex-start; gap: .9rem;
  padding: 2.2rem 2rem; background: var(--charcoal);
  border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s;
}
.card:hover { border-color: var(--gold); transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); }
.card h3 { font-size: 1.7rem; }
.card p { color: var(--grey); }
.card .tag { color: var(--white); font-size: .92rem; font-weight: 500; }
.card .btn { margin-top: auto; }
.card > p:nth-of-type(2) { margin-bottom: 1.2rem; }
.icon { width: 44px; height: 44px; color: var(--gold); margin-bottom: .6rem; }
.card-open { background: transparent; border-style: dashed; }

/* Footer */
.site-footer { background: var(--charcoal); padding-top: 4rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.4fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-title { font-family: var(--display); font-weight: 600; font-size: 1.15rem; margin-bottom: .7rem; }
.site-footer a { transition: color .25s; }
.site-footer a:hover { color: var(--gold); }
.legal { border-top: 1px solid var(--line); padding: 1.5rem 0 2rem; font-size: .92rem; }

/* Scroll reveal (only hides content when JS is running) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .card.reveal.in { transition: opacity .8s ease var(--d, 0s), transform .8s var(--ease) var(--d, 0s), border-color .3s, box-shadow .4s; }
.js .card.reveal.in:hover { transform: translateY(-6px); transition-delay: 0s; }

/* Responsive */
@media (max-width: 820px) {
  .about { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(11, 11, 11, 0.97); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .4s var(--ease), visibility .4s;
  }
  .nav.open { max-height: 300px; visibility: visible; }
  .nav a { padding: 1rem 1.5rem; }
  .nav a::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
