/* index-v2.css — Portfolio v2 design system per site_design_brief.md */

:root {
  /* Color system */
  --color-bg: #0A0A0F;
  --color-surface: #111118;
  --color-border: #1E1E2E;
  --color-text-primary: #F0F0F5;
  --color-text-secondary: #8888A0;
  --color-text-muted: #4A4A60;
  --color-accent: #2563EB;
  --color-accent-glow: rgba(37, 99, 235, 0.15);
  /* Secondary accent: cyan, analogous to blue — use sparingly (e.g. secondary links, alternate badges, supporting UI) */
  --color-accent-secondary: #0EA5E9;
  --color-accent-secondary-glow: rgba(14, 165, 233, 0.12);
  --color-highlight: #F59E0B;

  /* Type scale */
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-nav: 'Instrument Sans', sans-serif;
  --text-display: 72px;
  --text-h1: 48px;
  --text-h2: 32px;
  --text-h3: 22px;
  --text-body: 16px;
  --text-small: 12px;
  --leading-body: 1.7;
  --tracking-tight: -0.03em;
  --tracking-label: 0.08em;

  /* Spacing */
  --space-section: 120px;
  --space-container: 24px;
  --card-padding: 32px;
}

@media (min-width: 768px) {
  :root {
    --text-display: 84px;
    --text-h1: 52px;
    --text-h2: 36px;
  }
}

@media (min-width: 1024px) {
  :root {
    --text-display: 96px;
    --text-h1: 56px;
    --space-container: 32px;
  }
}

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

html {
  scroll-behavior: smooth;
}

body.v2 {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-text-primary);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

/* Utility */
.v2-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--space-container);
  padding-right: var(--space-container);
}

.v2-section {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.v2-eyebrow {
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 8px 0;
}

.v2-eyebrow.v2-eyebrow-secondary {
  color: var(--color-accent-secondary);
}

.v2-h2 {
  font-family: var(--font-nav);
  font-size: var(--text-h2);
  font-weight: 600;
  margin: 0 0 2rem 0;
  letter-spacing: var(--tracking-tight);
}

.v2-h3 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.v2-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: var(--card-padding);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.v2-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent-glow);
}

.v2-btn {
  display: inline-block;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.v2-btn-primary {
  background: var(--color-accent);
  color: #fff;
  border: 1px solid var(--color-accent);
}

.v2-btn-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
}

.v2-btn-outline {
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-accent);
}

.v2-btn-outline:hover {
  background: var(--color-accent-glow);
  color: var(--color-accent);
}

/* ---- Nav ---- */
.v2-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.2s ease, backdrop-filter 0.2s ease;
}

.v2-nav.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
}

.v2-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px var(--space-container);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.v2-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-text-primary);
}

.v2-logo img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.v2-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: var(--tracking-tight);
}

.v2-nav-links {
  display: none;
}

@media (min-width: 1024px) {
  .v2-nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .v2-nav-links a {
    font-family: var(--font-nav);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--color-text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .v2-nav-links a:hover {
    color: var(--color-accent);
  }

  .v2-nav-links .v2-btn-primary,
  .v2-nav-links .v2-btn-outline {
    padding: 8px 16px;
    font-size: 12px;
  }

  .v2-nav-links .v2-btn-primary:hover {
    color: #fff;
  }
}

.v2-mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-primary);
}

.v2-mobile-toggle span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (min-width: 1024px) {
  .v2-mobile-toggle {
    display: none;
  }
}

.v2-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.v2-mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.v2-mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.v2-mobile-menu-inner a {
  font-size: 18px;
  color: var(--color-text-primary);
  text-decoration: none;
}

.v2-mobile-menu-inner a:hover {
  color: var(--color-accent);
}

/* ---- Hero ---- */
.v2-hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  position: relative;
  overflow: hidden;
  padding-top: 72px; /* clear fixed nav */
  box-sizing: border-box;
}

.v2-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.v2-hero-glow {
  position: absolute;
  width: 80%;
  max-width: 600px;
  height: 80%;
  max-height: 500px;
  left: -20%;
  top: 10%;
  background: radial-gradient(ellipse, var(--color-accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.v2-hero-content {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px var(--space-container) 60px;
  max-width: 640px;
  z-index: 1;
}

.v2-hero-content.v2-reveal .v2-hero-eyebrow { opacity: 1; transform: translateY(0); }
.v2-hero-content.v2-reveal .v2-hero-line1 { opacity: 1; transform: translateY(0); }
.v2-hero-content.v2-reveal .v2-hero-line2 { opacity: 1; transform: translateY(0); }
.v2-hero-content.v2-reveal .v2-hero-rotating { opacity: 1; transform: translateY(0); }
.v2-hero-content.v2-reveal .v2-hero-body { opacity: 1; transform: translateY(0); }
.v2-hero-content.v2-reveal .v2-hero-ctas { opacity: 1; transform: translateY(0); }
.v2-hero-content.v2-reveal .v2-hero-stats { opacity: 1; transform: translateY(0); }

.v2-hero-eyebrow,
.v2-hero-line1,
.v2-hero-line2,
.v2-hero-rotating,
.v2-hero-body,
.v2-hero-ctas,
.v2-hero-stats {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.v2-hero-eyebrow { transition-delay: 0ms; margin-bottom: 12px; }
.v2-hero-line1 { transition-delay: 80ms; }
.v2-hero-line2 { transition-delay: 160ms; }
.v2-hero-rotating { transition-delay: 240ms; }
.v2-hero-body { transition-delay: 320ms; }
.v2-hero-ctas { transition-delay: 400ms; }
.v2-hero-stats { transition-delay: 480ms; }

.v2-hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 8vw, var(--text-display));
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  margin: 0 0 12px 0;
  line-height: 1.1;
}

.v2-hero-line1,
.v2-hero-line2 {
  display: block;
}

.v2-hero-line2 {
  color: var(--color-accent);
  margin-top: 0.05em;
  font-size: 1.12em;
}

.v2-hero-rotating {
  font-size: 1rem;
  color: var(--color-text-primary);
  margin: 0 0 20px 0;
  min-height: 1.5em;
  opacity: 0.95;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  line-height: 1.5;
}

.v2-rotating-wrap {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  height: 1.5em;
  position: relative;
  vertical-align: baseline;
  margin-left: 0.35em;
}

.v2-rotating-word {
  display: inline-block;
  animation: v2-rotate-in 0.5s ease forwards;
  white-space: nowrap;
  line-height: 1.5;
}

.v2-rotating-word.leave {
  animation: v2-rotate-out 0.5s ease forwards;
}

@keyframes v2-rotate-out {
  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}

@keyframes v2-rotate-in {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.v2-hero-body {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text-primary);
  margin: 0 0 28px 0;
  max-width: 52ch;
}

.v2-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.v2-hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-bottom: 0;
}

.v2-hero-stat {
  position: relative;
  padding-left: 24px;
  padding-right: 24px;
  display: flex;
  flex-direction: column;
}

.v2-hero-stat:first-child {
  padding-left: 0;
  padding-right: 24px;
}

.v2-hero-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 28px;
  background: var(--color-border);
}

.v2-hero-stat:first-child::before {
  display: none;
}

.v2-hero-stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-accent);
}

.v2-hero-stat-label {
  font-size: 12px;
  color: var(--color-text-muted);
}

.v2-hero-photo {
  display: none;
}

@media (min-width: 1024px) {
  .v2-hero {
    grid-template-columns: 60% 40%;
  }

  .v2-hero-content {
    padding: 120px 0 80px 10%;
    max-width: none;
  }

  .v2-hero-photo {
    display: block;
    grid-column: 2;
    grid-row: 1;
    position: relative;
    z-index: 0;
    align-self: center;
  }

  .v2-hero-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--color-bg) 0%, transparent 30%);
    z-index: 1;
  }

  .v2-hero-photo img {
    width: 100%;
    height: 100%;
    max-height: 72vh;
    object-fit: cover;
    object-position: center top;
    filter: saturate(0.85);
  }
}

/* ---- What I Build ---- */
.v2-build .v2-build-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .v2-build .v2-build-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .v2-build .v2-build-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.v2-build-card .v2-build-icon {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--color-accent-secondary);
}

.v2-build-card .v2-build-icon svg {
  width: 24px;
  height: 24px;
}

.v2-build-card p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 15px;
}

/* ---- Experience ---- */
.v2-experience-dl {
  margin-bottom: 2rem;
}

.v2-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.v2-tabs button {
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.v2-tabs button:hover {
  color: var(--color-text-primary);
}

.v2-tabs button[aria-selected="true"] {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.v2-tab-panel {
  animation: v2-tab-in 0.2s ease;
}

.v2-tab-panel[hidden] {
  display: none !important;
}

.v2-tab-panel-active {
  display: block;
}

@keyframes v2-tab-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.v2-timeline {
  position: relative;
  padding-left: 24px;
  border-left: 1px solid var(--color-border);
}

.v2-timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.v2-timeline-item:last-child {
  padding-bottom: 0;
}

.v2-timeline-dot {
  position: absolute;
  left: -24px;
  top: 8px;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-text-muted);
}

.v2-timeline-item-current .v2-timeline-dot {
  background: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.v2-timeline-card {
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
}

.v2-timeline-logo {
  max-width: 140px;
  height: auto;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.v2-timeline-company {
  color: var(--color-accent);
  font-size: 14px;
  margin: 0 0 4px 0;
}

.v2-timeline-date {
  font-size: 12px;
  color: var(--color-text-muted);
  margin: 0 0 12px 0;
}

.v2-timeline-desc {
  margin: 0 0 12px 0;
  color: var(--color-text-secondary);
  font-size: 15px;
}

.v2-detail-toggle {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-accent);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.v2-detail-toggle:hover {
  color: #60a5fa;
}

.v2-detail-content {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.v2-detail-content[hidden] {
  display: none;
}

.v2-detail-content ul {
  margin: 0 0 12px 0;
  padding-left: 1.25rem;
  color: var(--color-text-secondary);
}

.v2-detail-content li {
  margin-bottom: 6px;
}

.v2-highlight {
  color: var(--color-highlight);
  font-weight: 600;
  margin: 12px 0 !important;
}

.v2-detail-content a {
  color: var(--color-accent);
}

/* Skills pills */
.v2-skills {
  max-width: 720px;
}

.v2-skills .v2-h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.v2-skills .v2-h3:first-child {
  margin-top: 0;
}

.v2-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1rem;
}

.v2-pills span {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 999px;
}

.v2-pills-outline span {
  border: 1px solid var(--color-accent-secondary);
  color: var(--color-accent-secondary);
}

.v2-pills-filled span {
  background: var(--color-accent);
  color: #fff;
}

.v2-certs {
  display: grid;
  gap: 16px;
  margin-top: 1rem;
}

.v2-certs .v2-card h4 {
  margin: 0 0 4px 0;
  font-size: 18px;
}

/* ---- Numbers ---- */
.v2-numbers {
  background: var(--color-surface);
  padding: 80px var(--space-container);
}

.v2-numbers-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  justify-items: center;
}

@media (min-width: 768px) {
  .v2-numbers-inner {
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 0;
  }
}

.v2-stat {
  text-align: center;
}

.v2-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(48px, 10vw, 72px);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  color: var(--color-accent);
  margin-bottom: 4px;
}

.v2-stat-num.v2-stat-range {
  font-size: clamp(32px, 6vw, 48px);
}

.v2-stat-label {
  font-size: 12px;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
}

.v2-stat-divider {
  display: none;
  width: 1px;
  height: 60px;
  background: var(--color-border);
}

@media (min-width: 768px) {
  .v2-stat-divider {
    display: block;
  }
}

/* ---- Brands ---- */
.v2-brands-intro {
  color: var(--color-text-secondary);
  margin: -0.5rem 0 2rem 0;
  font-size: 14px;
}

.v2-brands-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .v2-brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .v2-brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.v2-brand-card .v2-brand-logo {
  max-width: 160px;
  max-height: 48px;
  object-fit: contain;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.v2-brand-card .v2-h3 {
  font-family: var(--font-nav);
}

.v2-brand-tier {
  display: inline-block;
  font-size: 12px;
  color: var(--color-accent-secondary);
  margin-bottom: 8px;
}

.v2-brand-pill {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--color-border);
  border-radius: 4px;
  margin-left: 8px;
}

.v2-brand-card p {
  margin: 12px 0 0 0;
  font-size: 14px;
  color: var(--color-text-secondary);
}

/* ---- Case Studies ---- */
.v2-case-featured {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 48px;
  max-width: 800px;
}

.v2-case-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-accent-secondary);
  margin-bottom: 12px;
}

.v2-case-featured .v2-h2 {
  margin-bottom: 16px;
}

.v2-case-featured p {
  color: var(--color-text-secondary);
  margin: 0 0 20px 0;
}

.v2-case-link {
  font-weight: 500;
  color: var(--color-accent-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--color-accent-secondary);
}

.v2-case-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* ---- Testimonials ---- */
.v2-testimonials-carousel {
  position: relative;
  min-height: 280px;
}

.v2-testimonials-track {
  position: relative;
}

.v2-testimonials-track .v2-testimonial-card {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

.v2-testimonials-track .v2-testimonial-card.v2-testimonial-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.v2-testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.v2-testimonials-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-accent-secondary);
  cursor: pointer;
  transition: background 0.2s ease;
}

.v2-testimonials-dots button:hover {
  background: var(--color-text-muted);
}

.v2-testimonials-dots button[aria-selected="true"] {
  background: var(--color-accent);
}

.v2-testimonial-card blockquote {
  margin: 0 0 20px 0;
  font-size: 17px;
  font-style: italic;
  color: var(--color-text-primary);
  line-height: 1.6;
}

.v2-testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.v2-testimonial-meta img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.v2-testimonial-meta strong {
  display: block;
  font-size: 15px;
}

.v2-testimonial-meta span {
  font-size: 13px;
  color: var(--color-text-secondary);
}

.v2-stars {
  display: flex;
  gap: 2px;
  margin-top: 8px;
}

.v2-stars span {
  width: 16px;
  height: 16px;
  background: var(--color-highlight);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* ---- Contact ---- */
.v2-contact-inner {
  max-width: 480px;
}

.v2-contact-intro {
  color: var(--color-text-secondary);
  margin: -0.5rem 0 1.5rem 0;
  font-size: 15px;
}

.v2-contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
  margin-top: 16px;
}

.v2-contact-form label:first-of-type {
  margin-top: 0;
}

/* Honeypot: hidden from humans; bots that fill it get rejected by Formspree */
.v2-contact-gotcha {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.v2-contact-form input,
.v2-contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text-primary);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  transition: border-color 0.2s ease;
}

.v2-contact-form input:focus,
.v2-contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.v2-contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.v2-contact-form button {
  margin-top: 20px;
}

/* ---- Footer ---- */
.v2-footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 48px var(--space-container) 24px;
}

.v2-footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .v2-footer-inner {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.v2-footer-logo img {
  border-radius: 50%;
  display: block;
  margin-bottom: 8px;
}

.v2-footer-tagline {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 0;
}

.v2-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.v2-footer-nav a,
.v2-footer-col a {
  font-size: 14px;
  color: var(--color-accent-secondary);
  text-decoration: none;
}

.v2-footer-col a:hover {
  color: var(--color-accent);
}

.v2-footer-col:last-child {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.v2-footer-copy {
  text-align: center;
  font-size: 12px;
  color: var(--color-text-muted);
  margin: 0;
}

/* Scroll reveal */
.v2-reveal-section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.v2-reveal-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Focus visible */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
