/* ============================================
   Tokens
============================================ */
:root {
  --bg: #241e21;
  --bg-light: #2f292b;
  --cream: #fcf6ed;
  --gold: #efdfb4;
  --gold-dark: #61584d;
  --blue: #2036fd;
  --gray: rgba(252, 246, 237, 0.65);

  --font: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;

  --grid-step: 44px;
  --max-w: 1240px;
  --radius: 20px;
  --radius-sm: 10px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-overshoot: cubic-bezier(.34, 1.56, .64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

em { color: var(--gold); font-style: normal; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

section { position: relative; }

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

/* ============================================
   Background grid overlay
============================================ */
.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(to right, rgba(239, 223, 180, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(239, 223, 180, 0.05) 1px, transparent 1px);
  background-size: var(--grid-step) var(--grid-step);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 75%);
}

/* ============================================
   Header
============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(36, 30, 33, 0.9), rgba(36, 30, 33, 0));
  backdrop-filter: blur(6px);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: normal;
}
.brand .dot { color: var(--gold); }

.main-nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.main-nav a {
  opacity: 0.75;
  transition: opacity 0.25s var(--ease-out);
  position: relative;
}
.main-nav a:hover { opacity: 1; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0%;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}
.main-nav a:hover::after { width: 100%; }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  display: block;
}

/* ============================================
   Buttons
============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid rgba(252, 246, 237, 0.25);
}
.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(239, 223, 180, 0.08);
}

.btn-lg { padding: 16px 30px; font-size: 15px; }

.btn-link {
  padding: 0;
  border-radius: 0;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}
.btn-link:hover { border-color: var(--gold); color: var(--gold); }

/* ============================================
   Layout helpers
============================================ */
.eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 500;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
  padding: 0 32px;
}

h1, h2, h3 {
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.1;
}

.section-lede {
  margin-top: 20px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.5;
}

/* ============================================
   Hero
============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 32px 80px;
  z-index: 2;
}

.hero-inner {
  max-width: 860px;
  text-align: center;
}

.hero-brand-mark {
  color: var(--blue);
  text-align: center;
  margin-bottom: 40px;
}

.hero-title {
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--cream);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(252, 246, 237, 0.3);
  border-radius: 20px;
}
.scroll-cue span {
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scrollcue 1.6s infinite;
}
@keyframes scrollcue {
  0% { opacity: 1; top: 7px; }
  70% { opacity: 0; top: 18px; }
  100% { opacity: 0; top: 18px; }
}

/* ============================================
   Marquee
============================================ */
.marquee-section {
  padding: 48px 0;
  border-top: 1px solid rgba(239, 223, 180, 0.08);
  border-bottom: 1px solid rgba(239, 223, 180, 0.08);
  z-index: 2;
}

.marquee-label {
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray);
  margin-bottom: 28px;
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-reverse .marquee-track {
  animation-direction: reverse;
  animation-duration: 34s;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.logo-item {
  font-size: 20px;
  font-weight: 500;
  color: var(--cream);
  opacity: 0.9;
  letter-spacing: normal;
  transition: opacity 0.3s;
  flex-shrink: 0;
}
.logo-item:hover { opacity: 1; }

/* ============================================
   Why
============================================ */
.why {
  padding: 160px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
  z-index: 2;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(239, 223, 180, 0.12);
  border: 1px solid rgba(239, 223, 180, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
}

.why-card {
  background: var(--bg);
  padding: 44px 36px;
  transition: background 0.35s var(--ease-out);
}
.why-card:hover { background: var(--bg-light); }

.why-index {
  display: block;
  font-size: 13px;
  color: var(--gold-dark);
  margin-bottom: 24px;
  font-weight: 500;
}

.why-card h3 {
  font-size: 21px;
  margin-bottom: 14px;
}

.why-card p {
  color: var(--cream);
  font-size: 15px;
  line-height: 1.6;
}

.why-statement {
  margin-top: 64px;
  padding: 56px;
  border-radius: var(--radius);
  background: var(--bg-light);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.why-statement p {
  max-width: 640px;
  font-size: clamp(19px, 2.4vw, 26px);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: normal;
}

/* ============================================
   Process
============================================ */
.process {
  padding: 100px 32px 160px;
  max-width: var(--max-w);
  margin: 0 auto;
  z-index: 2;
}

.process-list {
  display: flex;
  flex-direction: column;
}

.process-step {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  padding: 44px 0;
  border-top: 1px solid rgba(239, 223, 180, 0.12);
  transition: padding-left 0.4s var(--ease-out);
}
.process-step:last-child { border-bottom: 1px solid rgba(239, 223, 180, 0.12); }
.process-step:hover { padding-left: 16px; }

.process-num {
  font-size: 15px;
  color: var(--gold);
  font-weight: 500;
  padding-top: 6px;
}

.process-body h3 {
  font-size: 26px;
  margin-bottom: 12px;
}

.process-body p {
  color: var(--gray);
  font-size: 16px;
  max-width: 620px;
  line-height: 1.65;
}

/* ============================================
   Contact
============================================ */
.contact {
  padding: 40px 32px 120px;
  max-width: var(--max-w);
  margin: 0 auto;
  z-index: 2;
}

.contact-card {
  background: var(--gold);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 64px;
}

.brand-mark {
  font-family: "Unbounded", var(--font);
  font-weight: 800;
  font-size: clamp(48px, 9vw, 128px);
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 48px;
}

.contact-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-copy h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  margin: 6px 0 20px;
  color: var(--bg);
}
.contact-copy .eyebrow { color: var(--bg); opacity: 0.6; }
.contact-copy p:last-child {
  max-width: 420px;
  font-size: 16px;
  opacity: 0.75;
  line-height: 1.6;
}

.contact-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.contact-action .btn-primary {
  background: var(--bg);
  color: var(--cream);
}
.contact-action .btn-primary:hover {
  background: var(--bg-light);
}

.contact-email {
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(36, 30, 33, 0.3);
}
.contact-email:hover { border-color: var(--bg); }

.team-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 40px;
}

.team-role {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

.team-name {
  font-size: 17px;
  font-weight: 500;
}

/* ============================================
   Footer
============================================ */
.site-footer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gray);
  z-index: 2;
  position: relative;
}

.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: var(--gold); }

/* ============================================
   Reveal-on-scroll
============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive
============================================ */
@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; gap: 20px; }
  .process-step { grid-template-columns: 60px 1fr; }
  .contact-card { padding: 40px; }
  .contact-row { align-items: flex-start; }
  .brand-mark { margin-bottom: 32px; }
}

@media (max-width: 720px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 70%;
    background: var(--bg);
    padding: 100px 40px;
    gap: 28px;
    font-size: 18px;
    border-left: 1px solid rgba(239, 223, 180, 0.12);
  }

  .why { padding: 100px 24px; }
  .process { padding: 60px 24px 100px; }
  .contact { padding: 20px 24px 80px; }
  .contact-card { padding: 32px; }
  .why-statement { padding: 32px; }
}
