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

:root {
  --green-600: #2d6a4f;
  --green-400: #52b788;
  --green-300: #74c69d;
  --bg: #0a1a10;
  --bg-card: #0f2318;
  --bg-elevated: #152d1e;
  --border: rgba(82, 183, 136, 0.15);
  --border-strong: rgba(82, 183, 136, 0.3);
  --text-primary: #f0faf3;
  --text-secondary: #a8d8b8;
  --text-muted: #6aaa84;
}

html { font-size: 16px; }
body {
  min-height: 100vh;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
}

.contact-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px clamp(18px, 4vw, 36px);
  border-bottom: 1px solid var(--border);
  background: rgba(10, 26, 16, 0.9);
  backdrop-filter: blur(12px);
}

.contact-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
  color: var(--text-primary);
  text-decoration: none;
}

.contact-brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 10px;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--green-600), var(--green-400));
}

.contact-brand-copy { display: grid; }
.contact-brand-name {
  font: 700 16px/1.25 "Space Grotesk", sans-serif;
  letter-spacing: -0.3px;
}
.contact-brand-tagline { color: var(--text-muted); font-size: 11px; }

.contact-header-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 20px);
  margin-left: auto;
}

.contact-header-nav a {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color 160ms ease;
}

.contact-header-nav a:hover { color: var(--text-primary); text-decoration: underline; }

.contact-main {
  width: min(100% - 40px, 820px);
  margin: 0 auto;
  padding: clamp(42px, 7vw, 70px) 0 58px;
}

.contact-eyebrow,
.contact-founder-label {
  margin-bottom: 10px;
  color: var(--green-400);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-main h1,
.contact-main h2 { font-family: "Space Grotesk", sans-serif; }

.contact-main h1 {
  margin-bottom: 10px;
  color: var(--text-primary);
  font-size: clamp(36px, 8vw, 50px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.08;
}

.contact-intro {
  margin-bottom: 27px;
  color: var(--text-secondary);
  font-size: clamp(15px, 2.5vw, 17px);
  line-height: 1.65;
}

.contact-social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.contact-social-link {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 13px;
  color: var(--text-primary);
  background: var(--bg-card);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.contact-social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(82, 183, 136, 0.48);
  background: var(--bg-elevated);
}

.contact-social-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 11px;
  color: var(--green-300);
  background: rgba(82, 183, 136, 0.07);
}

.contact-social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-social-icon svg rect,
.contact-social-icon svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.contact-social-icon svg .contact-social-dot { fill: currentColor; stroke: none; }
.contact-social-icon svg .contact-social-play { fill: var(--bg-card); }
.contact-social-name { font-size: 14px; font-weight: 600; }
.contact-social-arrow { margin-left: auto; color: var(--text-muted); font-size: 17px; }
.contact-social-link:hover .contact-social-arrow { color: var(--green-300); }

.contact-founder {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: center;
  gap: clamp(19px, 4vw, 30px);
  margin-top: 34px;
  padding: clamp(19px, 4vw, 27px);
  border: 1px solid var(--border);
  border-radius: 17px;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
}

.contact-founder-portrait {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--bg-card);
}

.contact-founder-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 34%;
}

.contact-founder-label { margin-bottom: 6px; font-size: 10px; }
.contact-founder-copy h2 {
  margin-bottom: 7px;
  color: var(--text-primary);
  font-size: clamp(20px, 4vw, 24px);
  letter-spacing: -0.55px;
}

.contact-founder-copy h2 a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
}
.contact-founder-copy h2 a:hover { color: var(--green-300); text-decoration: underline; }

.contact-founder-copy > p:not(.contact-founder-label) {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.7;
}

.contact-founder-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  color: var(--green-300);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 4px;
}

.contact-founder-link:hover { color: var(--text-primary); text-decoration: underline; }
.contact-founder-link span { transition: transform 160ms ease; }
.contact-founder-link:hover span { transform: translateX(3px); }

.contact-home-note {
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
}

.contact-home-note a {
  color: var(--green-300);
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 3px;
}
.contact-home-note a:hover { color: var(--text-primary); text-decoration: underline; }

.contact-main a:focus-visible,
.contact-header a:focus-visible {
  outline: 2px solid var(--green-400);
  outline-offset: 4px;
  border-radius: 3px;
}

@media (max-width: 600px) {
  .contact-header { padding: 14px 17px; }
  .contact-brand-tagline { font-size: 10px; }
  .contact-header-nav { gap: 12px; }
  .contact-header-nav a { font-size: 12px; }
  .contact-main { width: min(100% - 34px, 520px); padding-top: 38px; }
  .contact-intro { margin-bottom: 21px; }
  .contact-social-grid { gap: 9px; }
  .contact-social-link { min-height: 62px; gap: 10px; padding: 11px; }
  .contact-social-icon { width: 34px; height: 34px; flex-basis: 34px; }
  .contact-social-name { font-size: 13px; }
  .contact-founder { grid-template-columns: 92px minmax(0, 1fr); gap: 16px; margin-top: 27px; padding: 16px; }
  .contact-founder-copy > p:not(.contact-founder-label) { font-size: 12px; line-height: 1.65; }
}

@media (max-width: 370px) {
  .contact-brand-name { font-size: 14px; }
  .contact-social-link { gap: 8px; padding: 9px; }
  .contact-social-icon { width: 30px; height: 30px; flex-basis: 30px; }
  .contact-social-name { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-header-nav a,
  .contact-social-link,
  .contact-founder-link span { transition: none; }
}
