@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Barlow:ital,wght@0,300;0,400;0,500;1,300;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --bg: #030303;
  --bg-raised: #0a0a0a;
  --border: #1a1a1a;
  --border-mid: #2a2a2a;
  --text: #f5f5f4;
  --text-muted: #4a4845;
  --accent: #e05500;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── HEADER / NAV ─── */

header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(3, 3, 3, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.35rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.15s;
}

.logo:hover { opacity: 0.6; }

.logo-dot { color: var(--accent); }

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

nav ul a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

nav ul a:hover,
nav ul a.active {
  color: var(--text);
}

/* ─── LAYOUT ─── */

main { flex: 1; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* ─── HERO ─── */

.hero {
  padding: 8rem 0 7rem;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.5rem;
  display: block;
  opacity: 0;
  animation: appear 0.2s ease forwards 0.05s;
}

h1.display {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(5rem, 12vw, 13rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 3rem;
  max-width: 1100px;
}

h1.display em {
  font-style: normal;
  color: var(--accent);
}

/* Line reveal — wipe from left */
.reveal-line {
  display: block;
  overflow: hidden;
}

.reveal-inner {
  display: block;
  clip-path: inset(0 100% 0 0);
  animation: wipeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-line:nth-child(1) .reveal-inner { animation-delay: 0.08s; }
.reveal-line:nth-child(2) .reveal-inner { animation-delay: 0.22s; }

@keyframes wipeIn {
  to { clip-path: inset(0 0% 0 0); }
}

.lead {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 3rem;
  font-weight: 400;
}

.lead strong {
  color: var(--text);
  font-weight: 500;
}

/* ─── BUTTONS ─── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 2rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: color 0.25s ease;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn:hover::before { transform: scaleX(1); }
.btn:hover { color: #fff; }

/* ─── CAPABILITIES ─── */

.capabilities {
  padding-bottom: 0;
}

.cap-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem;
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  transition: background 0.15s;
  cursor: default;
}

.cap-row:hover {
  background: rgba(255, 255, 255, 0.018);
}

.cap-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 0.2rem;
}

.cap-body h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.65rem;
  line-height: 1.15;
}

.cap-body p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 600px;
}

/* ─── PAGE HEADER ─── */

.page-header {
  padding: 6rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

h1.page-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text);
  max-width: 900px;
  margin-top: 1.5rem;
}

h1.page-title em {
  font-style: normal;
  color: var(--accent);
}

/* ─── ABOUT ─── */

.about-body {
  padding-bottom: 7rem;
}

.about-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.about-row-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 0.3rem;
}

.about-row-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-muted);
  font-weight: 300;
}

.about-row-body h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.about-row-body p + p {
  margin-top: 0.85rem;
}

.founder-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border-mid);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

/* ─── CONTACT ─── */

.contact-body {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 7rem;
  padding: 4rem 0 7rem;
  align-items: start;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.form-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 2rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.field label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field input,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-mid);
  padding: 0.7rem 0;
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  border-radius: 0;
  -webkit-appearance: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--accent);
}

.field textarea {
  min-height: 120px;
  resize: none;
  line-height: 1.65;
}

.form-success {
  display: none;
  padding: 1.25rem 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.form-error {
  display: none;
  padding: 1.25rem 0;
  font-size: 0.9rem;
  color: #c07060;
}

.contact-info-panel { padding-top: 0.5rem; }

.contact-info-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 3rem;
  line-height: 1.2;
}

.contact-detail { margin-bottom: 2.25rem; }

.contact-detail dt {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.45rem;
}

.contact-detail dd {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 300;
}

.contact-detail dd a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.contact-detail dd a:hover { color: var(--text); }

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.linkedin-link svg { flex-shrink: 0; }

/* ─── LEGAL ─── */

.tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4rem;
}

.tab-trigger {
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  padding: 0.9rem 0;
  margin-right: 3rem;
  margin-bottom: -1px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.tab-trigger.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.tab-panel { display: none; padding-bottom: 7rem; }
.tab-panel.active { display: block; }

.legal-prose { max-width: 680px; }

.legal-effective {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3rem;
  display: block;
}

.legal-prose h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin: 3rem 0 0.85rem;
  line-height: 1.2;
}

.legal-prose h2:first-child { margin-top: 0; }

.legal-prose p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-weight: 300;
}

.legal-prose ul { margin: 0.5rem 0 1rem 1.5rem; }

.legal-prose ul li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
  font-weight: 300;
}

/* ─── FOOTER ─── */

footer { border-top: 1px solid var(--border); }

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.75rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-copy {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.footer-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-links a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover { color: var(--text); }

/* ─── ANIMATIONS ─── */

@keyframes appear {
  to { opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

[data-animate] {
  opacity: 0;
  animation: fadeUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

[data-delay="1"] { animation-delay: 0.08s; }
[data-delay="2"] { animation-delay: 0.2s;  }
[data-delay="3"] { animation-delay: 0.34s; }
[data-delay="4"] { animation-delay: 0.48s; }
[data-delay="5"] { animation-delay: 0.62s; }

/* ─── RESPONSIVE ─── */

@media (max-width: 960px) {
  nav { padding: 1.3rem 1.5rem; }
  .container { padding: 0 1.5rem; }
  .footer-inner { padding: 1.5rem 1.5rem; }

  h1.display { font-size: clamp(3.5rem, 12vw, 6rem); }
  .hero { padding: 5rem 0 5rem; }

  .cap-row,
  .about-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .page-header { padding: 4.5rem 0 2.5rem; }

  .contact-body {
    grid-template-columns: 1fr;
    gap: 4rem;
    padding-top: 3rem;
  }

  h1.page-title { font-size: clamp(2.5rem, 10vw, 4.5rem); }
}

@media (max-width: 600px) {
  nav ul { gap: 1.5rem; }
  .hero { padding: 3.5rem 0 4rem; }
  h1.display { font-size: 3rem; line-height: 0.95; }
}
