/* ---------- Tokens (from the logo: black, white, slate, gold) ---------- */
:root {
  --black: #08090b;
  --charcoal: #15171b;
  --slate: #4b515b;
  --slate-lt: #6b717c;
  --silver: #c9ccd2;
  --mist: #e6e7ea;
  --white: #f6f7f8;
  --gold: #d9b26a;
  --gold-lt: #f0d9a3;
  --gold-dk: #a67c34;
  --gold-grad: linear-gradient(180deg, var(--gold-lt), var(--gold) 55%, var(--gold-dk));
  --gold-line: rgba(217, 178, 106, .38);

  /* shape */
  --r-lg: 36px;
  --r-md: 24px;

  /* depth */
  --shadow-sm: 0 1px 2px rgba(8, 9, 11, .12), 0 2px 6px rgba(8, 9, 11, .08);
  --shadow-md: 0 2px 4px rgba(8, 9, 11, .08), 0 14px 30px -8px rgba(8, 9, 11, .3);
  --shadow-lg: 0 4px 8px rgba(8, 9, 11, .1), 0 30px 54px -14px rgba(8, 9, 11, .45);
  --edge-light: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -1px 0 rgba(8, 9, 11, .1);
  --edge-dark: inset 0 1px 0 rgba(240, 217, 163, .22), inset 0 -1px 0 rgba(0, 0, 0, .5);

  --serif: 'Cinzel', 'Times New Roman', serif;
  --sans: 'Montserrat', system-ui, sans-serif;
  --gutter: clamp(.75rem, 2vw, 1.25rem);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--black);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
}

/* fine grain across the page */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .1 0 0 0 0 .12 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--gold); color: var(--black); }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: .01em; line-height: 1.1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.7rem;
  font: inherit; font-size: .95rem; font-weight: 500; letter-spacing: .02em;
  border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--small { padding: .6rem 1.2rem; font-size: .88rem; font-weight: 600; color: var(--black); background: var(--gold-grad); box-shadow: var(--shadow-sm), var(--edge-light); }
.btn--small:hover { box-shadow: var(--shadow-md), var(--edge-light); }
.btn--light { color: var(--black); font-weight: 600; background: var(--gold-grad); box-shadow: var(--shadow-md), var(--edge-light); }
.btn--light:hover { box-shadow: var(--shadow-lg), var(--edge-light); }
.btn--outline { color: var(--white); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1.5px var(--gold-line); }
.btn--outline:hover { background: rgba(217, 178, 106, .16); }
.btn--dark { color: var(--black); font-weight: 600; background: var(--gold-grad); box-shadow: var(--shadow-md), var(--edge-light); }
.btn--dark:hover { box-shadow: var(--shadow-lg), var(--edge-light); }
.btn--large { padding: 1.2rem 2.1rem; font-size: clamp(.95rem, 1.8vw, 1.15rem); }
.btn span { transition: transform .3s var(--ease); }
.btn:hover span { transform: translateX(4px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: var(--gutter); z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  width: min(1200px, calc(100% - var(--gutter) * 2)); margin: var(--gutter) auto 0;
  padding: .45rem .55rem .45rem 1.1rem;
  color: var(--white);
  background: rgba(8, 9, 11, .9);
  border: 1px solid var(--gold-line);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-radius: 999px;
  box-shadow: var(--shadow-md), var(--edge-dark);
}
.nav__links { display: flex; align-items: center; gap: 1.5rem; font-size: .9rem; font-weight: 500; letter-spacing: .03em; }
.nav__links > a:not(.btn) { padding: .5rem .25rem; color: var(--silver); transition: color .2s; }
.nav__links > a:not(.btn):hover { color: var(--gold-lt); }

.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__mark { height: 30px; width: auto; }
.brand__name { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Hero ---------- */
.hero {
  --pad: clamp(1.75rem, 6vw, 4.5rem);
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  width: min(1200px, calc(100% - var(--gutter) * 2)); margin: var(--gutter) auto 0;
  padding: clamp(1rem, 3vw, 2rem) var(--pad) var(--pad);
  color: var(--white);
  background: radial-gradient(ellipse 60% 45% at 50% 30%, rgba(217, 178, 106, .12), transparent 70%), #000;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg), var(--edge-dark), inset 0 0 0 1px var(--gold-line);
}
.hero__logo { width: min(700px, 100%); height: auto; mix-blend-mode: lighten; }
.hero__copy { position: relative; z-index: 2; max-width: 44rem; margin-top: clamp(-3rem, -4vw, -1rem); }
.hero h1 { font-size: clamp(2rem, 5vw, 3.7rem); }
.hero p { margin: 1.5rem auto 0; max-width: 32rem; font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--silver); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2rem; }

/* ---------- Peaks ---------- */
.peaks, .contact { width: min(1200px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.peaks { padding: clamp(4rem, 9vw, 7rem) 0 clamp(2rem, 4vw, 3rem); }

.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .75rem 2rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.section-head h2::after { content: ""; display: block; width: 3.5rem; height: 3px; margin-top: .9rem; border-radius: 2px; background: var(--gold-grad); }
.section-head p { max-width: 22rem; color: var(--slate); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }

.card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 3rem;
  min-height: 420px; padding: clamp(1.4rem, 2.4vw, 2rem);
  border-radius: var(--r-lg);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card:hover { transform: translateY(-8px); }

.card--black { --lit: var(--gold-lt); --dim: rgba(255, 255, 255, .26); --tile: rgba(255, 255, 255, .08); --line: rgba(255, 255, 255, .18);
  color: var(--white); background: linear-gradient(160deg, #20242a, var(--black) 75%); box-shadow: var(--shadow-md), var(--edge-dark); }
.card--slate { --lit: var(--gold-lt); --dim: rgba(255, 255, 255, .3); --tile: rgba(255, 255, 255, .12); --line: rgba(255, 255, 255, .24);
  color: var(--white); background: linear-gradient(160deg, #6c727d, #444953); box-shadow: var(--shadow-md), var(--edge-dark); }
.card--silver { --lit: var(--gold-dk); --dim: rgba(8, 9, 11, .22); --tile: rgba(8, 9, 11, .07); --line: rgba(8, 9, 11, .16);
  color: var(--black); background: linear-gradient(160deg, #eef0f2, #bfc3ca); box-shadow: var(--shadow-md), var(--edge-light); }
.card--black:hover, .card--slate:hover { box-shadow: var(--shadow-lg), var(--edge-dark); }
.card--silver:hover { box-shadow: var(--shadow-lg), var(--edge-light); }

.card__top { display: flex; align-items: center; justify-content: space-between; }
.badge {
  display: grid; place-items: center; width: 68px; height: 68px;
  border-radius: var(--r-md);
  background: var(--tile);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.badge svg { --c1: var(--dim); --c2: var(--dim); --c3: var(--dim); width: 36px; height: 29px; }
/* the card's own peak lights up */
.card[style*="--c1"] .badge svg { --c1: var(--lit); }
.card[style*="--c2"] .badge svg { --c2: var(--lit); }
.card[style*="--c3"] .badge svg { --c3: var(--lit); }

.card--black .chip, .card--slate .chip { color: var(--gold-lt); }
.card--silver .chip { color: var(--gold-dk); }
.card--black, .card--slate { border: 1px solid var(--gold-line); }
.card--silver { border: 1px solid rgba(166, 124, 52, .45); }
.card h3 { background: none; }
.chip { display: inline-flex; align-items: center; padding: .35rem .85rem; font-size: .85rem; font-weight: 500; border-radius: 999px; background: var(--tile); }

.card h3 { font-size: clamp(1.7rem, 2.7vw, 2.3rem); margin-bottom: .85rem; }
.card p { max-width: 24rem; opacity: .85; font-size: .98rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.chips li { padding: .4rem .95rem; font-size: .85rem; font-weight: 500; border-radius: 999px; background: var(--tile); box-shadow: inset 0 0 0 1.5px var(--line); }

/* ---------- Contact (brushed-metal panel) ---------- */
.contact {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem;
  margin-top: var(--gutter); padding: clamp(2rem, 6vw, 4.5rem);
  color: var(--white);
  background: radial-gradient(ellipse 55% 90% at 100% 50%, rgba(217, 178, 106, .16), transparent 70%), linear-gradient(160deg, #1b1e23, #000 75%);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md), var(--edge-dark), inset 0 0 0 1px var(--gold-line);
}
.contact h2 { font-size: clamp(2.4rem, 6.4vw, 4.8rem); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact p { margin-top: 1rem; max-width: 22rem; color: var(--silver); }

/* ---------- Footer ---------- */
.footer {
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
  width: min(1200px, calc(100% - var(--gutter) * 2)); margin: var(--gutter) auto var(--gutter);
  padding: clamp(2rem, 5vw, 3.5rem) 1.5rem 1.75rem;
  color: var(--gold); font-size: .85rem; text-align: center;
  background: var(--black);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg), var(--edge-dark), inset 0 0 0 1px var(--gold-line);
}
.footer__logo { width: min(460px, 90%); height: auto; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .45s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .card.reveal.is-visible:hover { transform: translateY(-8px); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
  .card { min-height: 300px; gap: 2.5rem; }
}
@media (max-width: 560px) {
  .nav__links > a:not(.btn) { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .contact .btn { width: 100%; padding-inline: 1rem; font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}
