/* ============================================
   ANSHU VERMA — Editorial Technical Portfolio
   ============================================ */

:root {
  /* Warm off-white palette */
  --bg: #f6f3ec;
  --bg-elevated: #fbf9f3;
  --bg-card: #ffffff;
  --bg-dark: #14161d;
  --bg-dark-2: #1c1f29;

  /* Ink */
  --ink: #14161d;
  --ink-2: #2a2d38;
  --ink-3: #5a5d68;
  --ink-4: #8a8d96;
  --ink-5: #b8b9bd;

  /* Lines */
  --line: #e6e1d4;
  --line-2: #d8d2c0;
  --line-dark: #2a2d38;

  /* Single accent — warm clay/terracotta, refined */
  --accent: #c2410c;
  --accent-2: #ea580c;
  --accent-bg: #fdf3ed;

  /* Secondary accent (used sparingly) */
  --ink-accent: #1e3a5f;

  /* Type */
  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Geist', 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Layout */
  --max: 1240px;
  --pad: clamp(20px, 4vw, 56px);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ===== TYPOGRAPHY ===== */
.serif { font-family: var(--serif); font-feature-settings: 'ss01'; }
.mono { font-family: var(--mono); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  transform: translateY(-1px);
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; }
h1 { font-size: clamp(48px, 8vw, 112px); }
h2 { font-size: clamp(36px, 5vw, 64px); }
h3 { font-size: clamp(22px, 2.4vw, 32px); }

.italic { font-style: italic; font-variation-settings: 'SOFT' 100; }

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

section { position: relative; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.section-head .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.1em;
}
.section-head h2 .italic { color: var(--accent); }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: rgba(251, 249, 243, 0.78);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 6px 6px 18px;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 24px rgba(20, 22, 29, 0.04);
  white-space: nowrap;
}
.nav-cta { white-space: nowrap; }
.nav-brand {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-brand::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.nav-links { display: flex; gap: 2px; }
.nav-links a {
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-3);
  transition: all 0.2s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--line); }
.nav-cta {
  background: var(--ink);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s var(--ease);
  margin-left: 8px;
}
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }
.nav-cta::after { content: ' →'; opacity: 0.7; }

/* Ventures dropdown */
.nav-ventures { position: relative; }
.nav-ventures-btn {
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s var(--ease);
  font-family: inherit;
}
.nav-ventures-btn:hover { color: var(--ink); background: var(--line); }
.nav-caret { font-size: 9px; opacity: 0.6; transition: transform 0.2s var(--ease); }
.nav-ventures.open .nav-ventures-btn { color: var(--ink); background: var(--line); }
.nav-ventures.open .nav-caret { transform: rotate(180deg); }

.nav-ventures-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translate(-50%, -6px);
  width: min(360px, 92vw);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 12px 40px -8px rgba(20, 22, 29, 0.18), 0 4px 12px -4px rgba(20, 22, 29, 0.08);
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-ventures.open .nav-ventures-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav-ventures-menu a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 10px;
  transition: background 0.15s var(--ease);
}
.nav-ventures-menu a:hover { background: var(--bg); }
.nav-ventures-menu a:hover .v-arrow { color: var(--accent); transform: translate(2px, -2px); }
.v-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.v-name {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.v-meta {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.v-arrow { color: var(--ink-4); transition: all 0.2s var(--ease); display: inline-block; }
.v-desc {
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.45;
  text-wrap: pretty;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-toggle:hover { background: var(--accent); }
.nav-toggle svg { width: 16px; height: 16px; }
.nav-toggle .bar { stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; transition: all 0.25s var(--ease); transform-origin: center; }

@media (max-width: 860px) {
  .nav {
    top: 12px;
    left: 12px;
    right: 12px;
    transform: none;
    border-radius: 18px;
    padding: 8px 8px 8px 16px;
    width: auto;
    max-width: none;
    flex-wrap: wrap;
  }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav-links {
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 4px;
    margin-top: 8px;
    border-top: 1px solid var(--line);
    display: none;
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a, .nav-ventures-btn {
    width: 100%;
    text-align: left;
    justify-content: flex-start;
    padding: 12px 12px;
    border-radius: 10px;
    font-size: 14px;
  }
  .nav-ventures { width: 100%; }
  .nav-ventures-menu {
    position: static;
    transform: none !important;
    width: 100%;
    box-shadow: none;
    border: none;
    background: var(--bg);
    border-radius: 10px;
    padding: 4px;
    margin-top: 4px;
    display: none;
  }
  .nav-ventures.open .nav-ventures-menu { display: flex; }
  .nav.is-open .nav-cta-mobile {
    display: flex;
    order: 4;
    flex-basis: 100%;
    margin: 8px 0 4px;
    justify-content: center;
    padding: 12px;
    background: var(--ink);
    color: var(--bg);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
  }
  .nav-cta-mobile { display: none; }
}

@media (min-width: 861px) {
  .nav-cta-mobile { display: none; }
}

/* ===== HERO ===== */
.hero {
  padding: 140px var(--pad) 80px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  position: relative;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  text-transform: uppercase;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.hero-meta .live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-meta .live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #16a34a;
  position: relative;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
}

.hero-headline {
  font-size: clamp(56px, 10vw, 144px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  margin-top: 32px;
  position: relative;
}
.hero-headline .row { display: block; }
.hero-headline .italic { color: var(--accent); font-weight: 300; }
.hero-headline .ampersand {
  font-style: italic;
  font-weight: 300;
  color: var(--ink-4);
  font-size: 0.85em;
  vertical-align: baseline;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1.1fr auto 1fr;
  gap: 56px;
  align-items: end;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.hero-bio {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 52ch;
  text-wrap: pretty;
}
.hero-bio strong { color: var(--ink); font-weight: 600; }

.hero-portrait {
  width: 220px; height: 280px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #c4a574 0%, #8b6f4a 100%);
  box-shadow:
    0 1px 0 rgba(0,0,0,0.04),
    0 20px 40px -12px rgba(20, 22, 29, 0.18),
    0 8px 16px -8px rgba(20, 22, 29, 0.1);
  transform: rotate(1.5deg);
  transition: transform 0.4s var(--ease);
}
.hero-portrait:hover { transform: rotate(0deg) scale(1.02); }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.02) saturate(0.95); }
.hero-portrait::after {
  content: 'ANSHU / 2026';
  position: absolute;
  bottom: 10px; left: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.3);
  padding: 4px 8px;
  border-radius: 3px;
  backdrop-filter: blur(6px);
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
}
.stat .num {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
}
.stat .num .italic { color: var(--accent); }
.stat .label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-top: 8px;
  display: block;
}

@media (max-width: 900px) {
  .hero-bottom { grid-template-columns: 1fr; gap: 32px; }
  .hero-portrait { width: 180px; height: 220px; transform: rotate(0deg); justify-self: start; }
}

@media (max-width: 600px) {
  .hero { padding-top: 110px; padding-bottom: 56px; }
  .hero-meta { flex-wrap: wrap; gap: 8px 16px; font-size: 10px; }
  .hero-meta > span { flex: 0 0 auto; }
  .hero-headline { margin-top: 20px; letter-spacing: -0.02em; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .stat .num { font-size: 36px; }
  .stat .label { font-size: 9.5px; }
  .hero-bio { font-size: 15.5px; }
}

/* Hero decorative grid lines */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(20, 22, 29, 0.04) 1px, transparent 1px);
  background-size: calc((100vw - 2 * var(--pad)) / 12) 100%;
  background-position: var(--pad) 0;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
  opacity: 0.5;
}
@media (max-width: 600px) {
  .hero::before { display: none; }
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}
.hero-tag {
  font-family: var(--mono);
  font-size: 11px;
  padding: 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--ink-3);
  background: rgba(255,255,255,0.4);
  transition: all 0.2s var(--ease);
}
.hero-tag:hover { border-color: var(--ink); color: var(--ink); }
.hero-tag::before { content: '+ '; color: var(--accent); }

/* ===== ACCOMPLISHMENTS ===== */
.accomplishments { padding: 100px var(--pad) 80px; }

.accomp-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.accomp-card {
  background: var(--bg-elevated);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: background 0.3s var(--ease);
  min-height: 240px;
}
.accomp-card:hover { background: #fff; }
.accomp-card:hover .accomp-arrow { opacity: 1; transform: translate(0, 0); }

.accomp-card.size-lg { grid-column: span 6; }
.accomp-card.size-md { grid-column: span 4; }
.accomp-card.size-sm { grid-column: span 4; }
.accomp-card.size-half { grid-column: span 6; }

@media (max-width: 900px) {
  .accomp-card.size-lg, .accomp-card.size-md, .accomp-card.size-sm, .accomp-card.size-half { grid-column: span 6; }
}
@media (max-width: 600px) {
  .accomp-card.size-lg, .accomp-card.size-md, .accomp-card.size-sm, .accomp-card.size-half { grid-column: span 12; }
  .accomp-card { min-height: 200px; padding: 24px 22px; }
}

.accomp-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--ink-4);
}
.accomp-card h3 {
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.accomp-card h3 .italic { color: var(--accent); }
.accomp-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-3);
  margin-top: auto;
}
.accomp-metric {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  margin-top: 8px;
}
.accomp-metric .small { font-size: 0.5em; color: var(--ink-3); margin-left: 4px; }
.accomp-metric .italic { color: var(--accent); }

.accomp-arrow {
  position: absolute;
  top: 28px; right: 28px;
  font-family: var(--mono);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: all 0.3s var(--ease);
  color: var(--accent);
}

/* ===== TOOLS ===== */
.tools {
  padding: 100px var(--pad);
  background: var(--bg-dark);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.tools::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 0%, rgba(234, 88, 12, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(30, 58, 95, 0.15) 0%, transparent 50%);
  pointer-events: none;
}
.tools .container { position: relative; z-index: 1; }
.tools .section-head { border-bottom-color: var(--line-dark); }
.tools .section-head h2 { color: var(--bg-elevated); }
.tools .section-head h2 .italic { color: var(--accent-2); }
.tools .section-head .num { color: var(--ink-5); }

.tools-intro {
  max-width: 56ch;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(246, 243, 236, 0.7);
  margin-bottom: 56px;
  margin-top: -32px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
@media (max-width: 900px) { .tools-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .tools { padding-top: 72px; padding-bottom: 72px; }
  .tool-card { min-height: auto; padding: 24px; }
  .tools-quote-banner { padding: 22px; }
  .tools-quote-banner .qb-text { font-size: 18px; }
  .tools-quote-banner a { width: 100%; justify-content: center; }
}

.tool-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: all 0.3s var(--ease);
  overflow: hidden;
  min-height: 380px;
}
.tool-card:hover {
  background: rgba(255,255,255,0.045);
  border-color: rgba(234, 88, 12, 0.4);
  transform: translateY(-2px);
}
.tool-card:hover .tool-window-glow { opacity: 1; }

.tool-window-glow {
  position: absolute;
  inset: -1px;
  border-radius: 8px;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(234, 88, 12, 0.18), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.tool-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.tool-badge {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--accent-2);
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid rgba(234, 88, 12, 0.3);
  border-radius: 3px;
  background: rgba(234, 88, 12, 0.05);
}
.tool-badge.free {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.3);
  background: rgba(74, 222, 128, 0.05);
}
.tool-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-5);
  opacity: 0.6;
}

.tool-icon {
  width: 48px; height: 48px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.15), rgba(234, 88, 12, 0.04));
  border: 1px solid rgba(234, 88, 12, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-2);
  letter-spacing: -0.02em;
}
.tool-card.free .tool-icon {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.15), rgba(74, 222, 128, 0.04));
  border-color: rgba(74, 222, 128, 0.2);
  color: #4ade80;
}

.tool-card h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--bg-elevated);
}
.tool-card h3 .italic { color: var(--accent-2); }
.tool-card.free h3 .italic { color: #4ade80; }

.tool-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(246, 243, 236, 0.65);
  flex: 1;
}

.tool-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.tool-features li {
  font-family: var(--mono);
  font-size: 11.5px;
  color: rgba(246, 243, 236, 0.55);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.tool-features li::before {
  content: '→';
  color: var(--accent-2);
  flex-shrink: 0;
}
.tool-card.free .tool-features li::before { color: #4ade80; }

.tool-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  margin-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--bg-elevated);
}
.tool-cta .arrow { transition: transform 0.3s var(--ease); }
.tool-card:hover .tool-cta .arrow { transform: translateX(4px); }
.tool-cta .price-label { color: rgba(246, 243, 236, 0.5); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; }

.tools-quote-banner {
  margin-top: 24px;
  padding: 28px 32px;
  border: 1px solid rgba(234, 88, 12, 0.25);
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.08), rgba(234, 88, 12, 0.02));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.tools-quote-banner .qb-text {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--bg-elevated);
}
.tools-quote-banner .qb-text .italic { color: var(--accent-2); }
.tools-quote-banner .qb-text .mono { font-family: var(--mono); font-size: 14px; color: rgba(246, 243, 236, 0.7); display: block; margin-top: 6px; }
.tools-quote-banner a {
  background: var(--accent);
  color: var(--bg);
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tools-quote-banner a:hover { background: var(--accent-2); transform: translateY(-1px); }

/* SchoolKit free tile responsive override */
@media (max-width: 700px) {
  .tool-card.free[style] {
    grid-template-columns: 1fr !important;
    text-align: left;
  }
  .tool-card.free[style] > a {
    justify-self: start;
  }
}

/* ===== JOURNEY ===== */
.journey { padding: 120px var(--pad); }

.journey-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .journey-layout { grid-template-columns: 1fr; gap: 40px; }
}

.journey-aside {
  position: sticky;
  top: 100px;
}
.journey-aside h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  margin-bottom: 24px;
}
.journey-aside h2 .italic { color: var(--accent); }
.journey-aside p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-3);
  margin-bottom: 32px;
  max-width: 38ch;
}

.journey-totals {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.journey-totals .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}
.journey-totals .row:last-child { border-bottom: none; }
.journey-totals .label { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase; }
.journey-totals .val { font-family: var(--serif); font-size: 28px; font-weight: 300; }
.journey-totals .val .italic { color: var(--accent); }

.journey-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.journey-item {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: all 0.3s var(--ease);
  align-items: baseline;
}
.ji-main { display: flex; flex-direction: column; gap: 4px; }
.ji-company {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  text-transform: none;
}
.ji-company .sub { color: var(--ink-4); }
.journey-item:hover {
  background: linear-gradient(90deg, rgba(194, 65, 12, 0.04), transparent);
}
.journey-item:hover .ji-arrow { opacity: 0; }
.journey-item:hover .ji-role { color: var(--ink); }
.journey-item.current::before {
  content: '';
  position: absolute;
  left: -12px; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 4px;
  background: #16a34a;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15);
}
.ji-date {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ji-role {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: color 0.3s var(--ease);
}
.ji-role .italic { color: var(--accent); }
.ji-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  text-align: right;
  letter-spacing: 0.04em;
}
.ji-arrow {
  font-family: var(--mono);
  color: var(--accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.3s var(--ease);
  font-size: 14px;
}

@media (max-width: 700px) {
  .journey-item { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .ji-meta { text-align: left; }
  .ji-role { font-size: 20px; }
}
@media (max-width: 600px) {
  .journey { padding-top: 80px; padding-bottom: 80px; }
  .journey-aside { position: static; }
}

/* ===== CONTACT ===== */
.contact {
  padding: 120px var(--pad);
  background: var(--bg-dark);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(234, 88, 12, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 600px) {
  .contact { padding-top: 80px; padding-bottom: 80px; }
  .contact-card { padding: 24px; }
  .cc-row { grid-template-columns: 80px 1fr auto; gap: 12px; padding: 14px 0; }
  .cc-val { font-size: 16px; }
  .cc-label { font-size: 10px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 36px; }
}

.contact-left h2 {
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--bg-elevated);
  margin-bottom: 32px;
}
.contact-left h2 .italic { color: var(--accent-2); font-weight: 300; }
.contact-left p {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(246, 243, 236, 0.7);
  max-width: 44ch;
  margin-bottom: 40px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.cc-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  align-items: center;
  transition: all 0.2s var(--ease);
}
.cc-row:hover { padding-left: 8px; }
.cc-row:hover .cc-val { color: var(--accent-2); }
.cc-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(246, 243, 236, 0.5);
  text-transform: uppercase;
}
.cc-val {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--bg-elevated);
  transition: color 0.2s var(--ease);
}
.cc-arrow { font-family: var(--mono); color: rgba(246, 243, 236, 0.5); }

.contact-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 36px;
  backdrop-filter: blur(20px);
  min-width: 0;
}
.contact-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.contact-card-head .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.6);
}
.contact-card-head .status {
  font-family: var(--mono);
  font-size: 11px;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: 6px;
}
.contact-card-head .status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.55);
  margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--bg-elevated);
  font-family: var(--sans);
  font-size: 14px;
  transition: all 0.2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent-2);
  background: rgba(234, 88, 12, 0.04);
}
.field textarea { resize: vertical; min-height: 100px; }

@keyframes ccPulse {
  0%   { box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.45); border-color: var(--accent-2); }
  60%  { box-shadow: 0 0 0 10px rgba(234, 88, 12, 0);   border-color: var(--accent-2); }
  100% { box-shadow: 0 0 0 0 rgba(234, 88, 12, 0);     }
}
.field textarea.pulse,
.field input.pulse {
  animation: ccPulse 1.4s var(--ease);
  border-color: var(--accent-2);
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  font-family: var(--mono);
  font-size: 11.5px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  color: rgba(246, 243, 236, 0.7);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  user-select: none;
}
.chip:hover { border-color: var(--accent-2); color: var(--accent-2); }
.chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.contact-submit {
  width: 100%;
  background: var(--accent);
  color: var(--bg);
  padding: 14px 20px;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.2s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.contact-submit:hover { background: var(--accent-2); transform: translateY(-1px); }
.contact-submit:active { transform: translateY(0); }
.contact-submit:disabled, .contact-submit.loading { opacity: 0.7; cursor: progress; transform: none; }
.contact-submit.success {
  background: #16a34a;
  color: #fff;
  cursor: default;
  pointer-events: none;
}
.contact-submit.loading .cs-arrow {
  animation: cs-spin 0.9s linear infinite;
}
@keyframes cs-spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.form-feedback {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  min-height: 0;
  margin: 4px 0 -4px;
  padding: 0 14px;
  border-radius: 6px;
  border: 1px solid transparent;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s var(--ease);
}
.form-feedback.ok {
  background: rgba(22, 163, 74, 0.1);
  border-color: rgba(22, 163, 74, 0.35);
  color: #4ade80;
  padding: 12px 14px;
  max-height: 80px;
  opacity: 1;
}
.form-feedback.err {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.35);
  color: #f87171;
  padding: 12px 14px;
  max-height: 100px;
  opacity: 1;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-dark);
  color: rgba(246, 243, 236, 0.5);
  padding: 32px var(--pad);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
}
.footer-inner a:hover { color: var(--accent-2); }
.footer-links { display: flex; gap: 20px; }

/* ===== Marquee ===== */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-elevated);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee-track .sep { color: var(--accent); }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Animations ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
  .reveal.in { opacity: 1; transform: translateY(0); }
}

/* ===== Selection ===== */
::selection { background: var(--accent); color: var(--bg); }

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: auto;
  max-width: 440px;
  width: calc(100vw - 48px);
  background: var(--bg-elevated);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 22px 24px;
  box-shadow: 0 24px 48px rgba(20, 22, 29, 0.14), 0 4px 10px rgba(20, 22, 29, 0.06);
  z-index: 1000;
  font-family: var(--sans);
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.cookie-banner.show { transform: translateY(0); opacity: 1; }
.cookie-banner[hidden] { display: none; }
.cookie-banner .cb-eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
  font-weight: 500;
}
.cookie-banner .cb-eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  transform: translateY(-1px);
}
.cookie-banner p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.cookie-banner .cb-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.cookie-banner button {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.cookie-banner .cb-accept {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.cookie-banner .cb-accept:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.cookie-banner .cb-decline {
  background: transparent;
  color: var(--ink-3);
  border-color: var(--line-2);
}
.cookie-banner .cb-decline:hover { color: var(--ink); border-color: var(--ink-3); }
@media (max-width: 540px) {
  .cookie-banner {
    left: 16px;
    bottom: 16px;
    width: calc(100vw - 32px);
    padding: 18px 20px;
  }
  .cookie-banner .cb-actions button { flex: 1; }
}
