/* ═══════════════════════════════════════════════
   GEEGEE CO — Design System
   Warm monochrome · Typography-led · Premium
   ═══════════════════════════════════════════════ */

:root {
  color-scheme: dark;

  /* Palette — warm monochrome */
  --bg:          #0a0a0a;
  --bg-raised:   #131210;
  --bg-card:     #171614;
  --fg:          #f5f0eb;
  --fg-strong:   #faf8f6;
  --muted:       #a8a29e;
  --dim:         #6b6560;
  --faint:       #3d3835;
  --accent:      #c8a882;
  --accent-soft: rgba(200,168,130,.10);
  --line:        rgba(245,240,235,.08);
  --line-strong: rgba(245,240,235,.16);

  /* Layout */
  --max: 1200px;
  --gap: 24px;
  --radius: 14px;
  --radius-sm: 8px;

  /* Motion */
  --ease: cubic-bezier(.22,.68,0,1);
  --ease-out: cubic-bezier(0,.55,.45,1);
  --duration: .5s;

  /* Type */
  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;

  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; background: var(--bg); }
body { min-width: 320px; background: var(--bg); color: var(--fg); overflow-x: hidden; line-height: 1.6; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--bg); }

/* ── Fonts ── */
@font-face {
  font-family: 'Unbounded';
  src: url('../fonts/unbounded-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Inter Tight';
  src: url('../fonts/inter-tight-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

/* ── Layout ── */
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.section { padding: 120px 0; }
.section + .section { border-top: 1px solid var(--line); }

/* ── Typography ── */
.display {
  font-family: var(--font-display);
  font-size: clamp(44px, 8vw, 96px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.04em;
  color: var(--fg-strong);
}
.display em {
  font-style: normal;
  color: var(--muted);
}

.heading-lg {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.03em;
}

.heading-md {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.body-lg {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--muted);
  line-height: 1.7;
  font-weight: 380;
  max-width: 580px;
}

.label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--dim);
}

.label--accent {
  color: var(--accent);
}

/* ── Skip link ── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 16px;
  z-index: 999;
  padding: 8px 16px;
  background: var(--fg);
  color: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
}
.skip-link:focus { left: 16px; }

/* ── Focus ── */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ═══════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════ */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 24px;
  pointer-events: none;
}
.nav-shell {
  width: min(var(--max), 100%);
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(10,10,10,.82);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 28px;
  height: 28px;
  color: var(--fg);
}
.brand-word {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--fg);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 40px);
}
.primary-nav a {
  position: relative;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--muted);
  transition: color .3s ease;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] { color: var(--fg); }
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--accent);
  transition: right .35s var(--ease);
}
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after { right: 0; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--fg);
  color: var(--bg);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .02em;
  transition: transform .3s var(--ease), opacity .3s ease;
}
.nav-cta:hover { transform: translateY(-1px); opacity: .9; }
.nav-cta svg { width: 12px; height: 12px; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}
.menu-toggle svg { width: 20px; height: 20px; color: var(--fg); }

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 160px 0 80px;
  position: relative;
}
.hero-content {
  max-width: 900px;
}
.hero .label {
  margin-bottom: 28px;
}
.hero .display {
  margin-bottom: 28px;
}
.hero .body-lg {
  margin-bottom: 40px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-bottom {
  position: absolute;
  bottom: 40px;
  left: 0; right: 0;
}
.hero-bottom .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--dim);
  letter-spacing: .02em;
  transition: color .3s ease;
}
.hero-scroll:hover { color: var(--muted); }
.hero-scroll svg { width: 14px; height: 14px; }

/* ═══════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .015em;
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s ease, border-color .3s ease, color .3s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }

.btn--primary {
  background: var(--fg);
  color: var(--bg);
}
.btn--primary:hover { opacity: .9; }

.btn--outline {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--fg);
}
.btn--outline:hover {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.24);
}

.btn--ghost {
  padding: 0;
  height: auto;
  border: none;
  color: var(--accent);
  background: transparent;
  font-weight: 600;
}
.btn--ghost:hover { color: var(--fg); }

/* ═══════════════════════════════════════════════
   TICKER
   ═══════════════════════════════════════════════ */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  gap: 48px;
  animation: ticker 30s linear infinite;
  width: max-content;
}
.ticker-track span {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .06em;
  color: var(--dim);
  white-space: nowrap;
  text-transform: uppercase;
}
.ticker-track span::before {
  content: "◆";
  margin-right: 48px;
  font-size: 5px;
  vertical-align: middle;
  opacity: .4;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════ */
.section-header {
  margin-bottom: 64px;
}
.section-header .label {
  margin-bottom: 20px;
}
.section-header .body-lg {
  margin-top: 20px;
}

/* ═══════════════════════════════════════════════
   WORK GRID
   ═══════════════════════════════════════════════ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color .4s ease, transform .4s var(--ease);
}
.work-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}
.work-card__status {
  position: absolute;
  top: 24px;
  right: 24px;
}
.work-card__status span {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .03em;
  background: rgba(200,168,130,.12);
  color: var(--accent);
}
.work-card__label {
  margin-bottom: 16px;
}
.work-card__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 400;
  letter-spacing: -.02em;
  margin-bottom: 10px;
  color: var(--fg-strong);
}
.work-card__desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 400px;
}
.work-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  transition: gap .3s var(--ease);
}
.work-card:hover .work-card__link { gap: 12px; }
.work-card__link svg { width: 14px; height: 14px; }

/* Large featured card */
.work-card--feature {
  grid-column: 1 / -1;
  min-height: 360px;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

/* ═══════════════════════════════════════════════
   VENTURES
   ═══════════════════════════════════════════════ */
.ventures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.venture-card {
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
  transition: border-color .4s ease;
}
.venture-card:hover { border-color: var(--line-strong); }
.venture-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-soft);
  margin-bottom: 24px;
}
.venture-card__icon svg { width: 22px; height: 22px; color: var(--accent); }
.venture-card__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 450;
  letter-spacing: -.01em;
  margin-bottom: 4px;
}
.venture-card__type {
  font-size: 12px;
  color: var(--dim);
  margin-bottom: 16px;
}
.venture-card__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   CAPABILITIES
   ═══════════════════════════════════════════════ */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.cap-item {
  padding: 40px 28px;
  background: var(--bg);
}
.cap-item__number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 300;
  color: var(--faint);
  margin-bottom: 24px;
}
.cap-item__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 450;
  letter-spacing: -.01em;
  margin-bottom: 10px;
  color: var(--fg);
}
.cap-item__desc {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   STATS ROW
   ═══════════════════════════════════════════════ */
.stats-row {
  display: flex;
  gap: 64px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat__number {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: -.03em;
  color: var(--fg-strong);
}
.stat__label {
  font-size: 12px;
  color: var(--dim);
  letter-spacing: .02em;
}

/* ═══════════════════════════════════════════════
   CTA PANEL
   ═══════════════════════════════════════════════ */
.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
}
.cta-panel__content { max-width: 580px; }
.cta-panel .heading-md { margin-bottom: 12px; }
.cta-panel .body-lg { margin-top: 0; font-size: 15px; }

/* ═══════════════════════════════════════════════
   QUOTE
   ═══════════════════════════════════════════════ */
.quote-section {
  padding: 100px 0;
  text-align: center;
}
.quote-section blockquote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 350;
  line-height: 1.25;
  letter-spacing: -.025em;
  color: var(--fg);
  max-width: 800px;
  margin: 20px auto 0;
}
.quote-section blockquote em {
  font-style: normal;
  color: var(--accent);
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
}
.footer-intro { max-width: 320px; }
.footer-intro .brand { margin-bottom: 16px; }
.footer-intro p {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.7;
}
.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color .3s ease;
}
.footer-links a:hover { color: var(--fg); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--dim);
}
.footer-bottom a { transition: color .3s ease; }
.footer-bottom a:hover { color: var(--muted); }

/* ═══════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-block h3 {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 10px;
}
.contact-block p,
.contact-block a {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}
.contact-block a:hover { color: var(--fg); }

/* Contact form */
.contact-form {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-card);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(10,10,10,.5);
  color: var(--fg);
  font-size: 13px;
  transition: border-color .2s ease;
}
.field textarea { min-height: 140px; resize: vertical; padding: 14px 16px; line-height: 1.6; }
.field input::placeholder,
.field textarea::placeholder { color: var(--faint); }
.field input:focus,
.field textarea:focus { border-color: var(--accent); outline: none; }
.form-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
}
.form-response {
  display: none;
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-raised);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.form-response.is-visible { display: block; }

/* ═══════════════════════════════════════════════
   WORK PAGE
   ═══════════════════════════════════════════════ */
.case-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.case-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: border-color .4s ease;
}
.case-card:hover { border-color: var(--line-strong); }
.case-card__meta { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.case-card__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  letter-spacing: -.025em;
  margin-bottom: 12px;
}
.case-card__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.case-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.case-card__tags span {
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid var(--line);
  font-size: 11px;
  color: var(--dim);
  font-weight: 500;
}
.case-card__visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.case-card__visual-inner {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--faint);
  text-align: center;
  padding: 24px;
}

/* ═══════════════════════════════════════════════
   PAGE HERO (sub-pages)
   ═══════════════════════════════════════════════ */
.page-hero {
  padding: 180px 0 80px;
}
.page-hero .label { margin-bottom: 20px; }
.page-hero .display {
  font-size: clamp(40px, 7vw, 80px);
  margin-bottom: 20px;
}

/* ═══════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .wrap { width: calc(100% - 32px); }
  .section { padding: 80px 0; }

  .primary-nav { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }

  /* Mobile menu */
  body.menu-open .primary-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(10,10,10,.97);
    backdrop-filter: blur(20px);
    padding: 120px 32px 40px;
    gap: 24px;
    align-items: flex-start;
  }
  body.menu-open .primary-nav a {
    font-size: 28px;
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--fg);
    letter-spacing: -.02em;
  }
  body.menu-open .menu-toggle {
    position: fixed;
    z-index: 300;
    top: 28px;
    right: 28px;
  }

  .hero { min-height: 90svh; padding: 140px 0 60px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card--feature { flex-direction: column; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { flex-wrap: wrap; gap: 32px; }
  .cta-panel { flex-direction: column; padding: 40px 28px; text-align: center; }
  .cta-panel .body-lg { margin: 0 auto; }
  .footer-main { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .case-card { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
  .section-header { margin-bottom: 40px; }
}

@media (max-width: 600px) {
  .display { font-size: clamp(36px, 10vw, 52px); }
  .cap-grid { grid-template-columns: 1fr; }
  .stats-row { flex-direction: column; gap: 24px; }
  .hero-bottom { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
}

/* ═══════════════════════════════════════════════
   UTILITY
   ═══════════════════════════════════════════════ */
button:disabled { opacity: .6; cursor: wait; }
