/* Schams Advisory & Ventures — "Contour" */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/space-grotesk-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2');
}

/* ---------- Tokens & reset ---------- */
:root {
  --bg: #0E1117;
  --bg-alt: #121824;
  --line: #1E2A3E;
  --accent: #C6A87E;
  --text: #E7ECF3;
  --muted: #8FA0B5;
  --max: 1100px;
  --pad: clamp(20px, 5vw, 48px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(14, 17, 23, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(30, 42, 62, 0.6);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}
.nav-logo img { height: 38px; width: auto; }
.nav-links {
  display: flex;
  gap: clamp(14px, 2.5vw, 30px);
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.active { color: var(--accent); }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-inner { justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 16vh, 170px) 0 clamp(80px, 14vh, 150px);
}
#contour {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  max-width: 15ch;
}
.hero-sub {
  margin-top: 26px;
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
}
.btn {
  display: inline-block;
  margin-top: 40px;
  padding: 13px 30px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 2px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn:hover {
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
}
.accent-dot { color: var(--accent); }

/* ---------- Sections ---------- */
section { padding: clamp(70px, 10vh, 120px) 0; }
.section-alt { background: var(--bg-alt); }

.overline {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: clamp(36px, 6vh, 64px);
}

/* ---------- What I do ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 5vw, 64px);
}
.service h3 { font-size: 1.25rem; margin-bottom: 14px; }
.service p { color: var(--muted); font-size: 15.5px; }

@media (max-width: 820px) {
  .services { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- Track record (timeline) ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  position: relative;
  padding-top: 26px;
  list-style: none;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  height: 1px;
  background: linear-gradient(90deg, rgba(198,168,126,0.15), rgba(198,168,126,0.75), rgba(198,168,126,0.15));
}
.timeline li { position: relative; }
.timeline li::before {
  content: '';
  position: absolute;
  top: -26px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: var(--bg-alt);
}
.tl-year {
  display: block;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.tl-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  margin-bottom: 8px;
}
.timeline p { color: var(--muted); font-size: 13.5px; line-height: 1.55; }

@media (max-width: 900px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 0;
    padding-left: 28px;
  }
  .timeline::before {
    top: 6px;
    bottom: 6px;
    left: 4px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(198,168,126,0.15), rgba(198,168,126,0.75), rgba(198,168,126,0.15));
  }
  .timeline li::before {
    top: 5px;
    left: -28px;
    background: var(--bg-alt);
  }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}
.about-grid img {
  width: 200px;
  height: auto;
  border-radius: 6px;
}
.about-grid p { color: var(--muted); max-width: 62ch; }

@media (max-width: 720px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-grid img { width: 180px; }
}

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  max-width: 26ch;
  margin: 0 auto 34px;
}
.contact-links {
  display: flex;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
  font-size: 16px;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 44px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-inner img { height: 26px; width: auto; opacity: 0.75; }
.footer-meta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13.5px;
}
.footer-meta a { color: var(--muted); }
.footer-meta a:hover { color: var(--text); }

/* ---------- Legal pages ---------- */
.legal { padding: 60px 0 100px; }
.legal h1 { font-size: 1.9rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.15rem; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--muted); font-size: 15.5px; max-width: 68ch; }
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal .back { display: inline-block; margin-top: 56px; font-size: 14.5px; }
.draft-note {
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  padding: 14px 18px;
  margin-bottom: 36px;
  font-size: 14px !important;
  color: var(--muted);
}
