/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: hsl(160 10% 6%);
  --fg: hsl(60, 20%, 92%);
  --card: hsl(160, 8%, 10%);
  --primary: hsl(158, 64%, 42%);
  --primary-fg: hsl(160, 10%, 6%);
  --secondary: hsl(160, 6%, 14%);
  --secondary-fg: hsl(60, 15%, 85%);
  --muted: hsl(160, 5%, 16%);
  --muted-fg: hsl(160, 8%, 55%);
  --border: hsl(156, 8%, 24%);
  --border-half: hsla(160, 8%, 18%, 0.5);
  --primary-20: hsla(158, 64%, 42%, 0.2);
  --primary-10: hsla(158, 64%, 42%, 0.1);
  --primary-5: hsla(158, 64%, 42%, 0.05);
  --primary-8: hsla(158, 64%, 42%, 0.08);
  --hero-gradient: linear-gradient(
    135deg,
    hsl(158, 64%, 42%),
    hsl(165, 60%, 35%)
  );
  --text-gradient: linear-gradient(
    135deg,
    hsl(60, 20%, 92%),
    hsl(158, 64%, 60%)
  );
  --glass: hsla(160, 8%, 10%, 0.6);
  --radius: 0.75rem;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: serif;
}

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

/* ===== Utilities ===== */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-gradient {
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-in-right {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.delay-1 {
  transition-delay: 0.15s;
}
.delay-2 {
  transition-delay: 0.3s;
}
.delay-3 {
  transition-delay: 0.45s;
}
.delay-4 {
  transition-delay: 0.6s;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-half);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}
.nav-logo {
  height: 12px;
  width: auto;
  filter: brightness(0) invert(1);
}
.nav-links {
  display: none;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-fg);
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--fg);
}
.nav-cta-wrap {
  display: none;
}
.nav-cta {
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.5rem;
  background: var(--hero-gradient);
  color: var(--primary-fg);
  transition: opacity 0.3s;
}
.nav-cta:hover {
  opacity: 0.9;
}

.mobile-toggle {
  display: flex;
  background: none;
  color: var(--fg);
  padding: 0.5rem;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-top: 1px solid var(--border-half);
  background: var(--glass);
  backdrop-filter: blur(20px);
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--muted-fg);
  padding: 0.5rem 0;
  transition: color 0.3s;
}
.mobile-menu a:hover {
  color: var(--fg);
}
.mobile-menu .nav-cta {
  margin-top: 0.5rem;
  text-align: center;
  padding: 0.75rem 1.5rem;
  color: var(--primary-fg);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 128px;
  padding-bottom: 3rem;
  min-height: auto;
}
.hero-bg-orb1 {
  position: absolute;
  top: 25%;
  left: 25%;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: var(--primary-5);
  filter: blur(120px);
}
.hero-bg-orb2 {
  position: absolute;
  bottom: 25%;
  right: 25%;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: var(--primary-8);
  filter: blur(100px);
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(var(--fg) 1px, transparent 1px),
    linear-gradient(90deg, var(--fg) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 90rem;
  margin: 0 auto;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--primary-20);
  background: var(--glass);
  margin-bottom: 3rem;
}
.hero-badge svg {
  color: var(--primary);
}
.hero-badge span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-fg);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.015em;
  margin-bottom: 3rem;
}
.hero-spacing {
  margin: 12px 0 0;
}
.hero-sub {
  font-size: 1.125rem;
  color: var(--muted-fg);
  max-width: 42rem;
  margin: 0 auto 3rem;
  font-weight: 300;
  line-height: 1.5;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  background: var(--hero-gradient);
  color: var(--primary-fg);
  font-weight: 500;
  font-size: 1rem;
  transition: opacity 0.3s;
}
.hero-cta:hover {
  opacity: 0.9;
}
.hero-cta svg {
  transition: transform 0.3s;
}
.hero-cta:hover svg {
  transform: translateX(4px);
}
.hero-trust {
  margin-top: 1rem;
  padding-top: 2rem;
}
.hero-trust p {
  font-size: 0.875rem;
  color: var(--muted-fg);
  margin-bottom: 1.5rem;
}
.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 3rem;
  flex-wrap: wrap;
}
.trust-items span {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsla(160, 8%, 55%, 0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===== Section Shared ===== */
.section {
  padding: 5rem 0;
  position: relative;
}
.section-label {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}
.section-heading {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--fg);
}
.section-heading-h2 {
  font-family: "Inter", serif;
  margin: 2rem 0 2rem;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--fg);
}
.section-sub {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--muted-fg);
  line-height: 1.5;
  max-width: 48rem;
}
.section-header {
  max-width: 48rem;
}

/* ===== Card Grid ===== */
.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card {
  padding: 2rem 2.5rem;
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid var(--border-half);
  overflow: hidden;
}
.card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.card-icon svg {
  color: var(--primary);
}
.card h3 {
  font-family: "Inter", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.card p {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tag {
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: var(--secondary);
  color: var(--secondary-fg);
  font-weight: 500;
}

/* ===== Process ===== */
.process-bg,
.founder-bg {
  position: absolute;
  inset: 0;
  background: hsla(160, 6%, 14%, 0.3);
}
.process-grid {
  display: grid;
  gap: 2rem;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.step-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  border: 1px solid var(--primary-20);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon svg {
  color: var(--primary);
}
.step-number {
  font-family: "Inter", serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--border);
}
.step h3 {
  font-family: "Inter", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.step p {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.7;
}

/* ===== About ===== */
.about-bg {
  position: absolute;
  inset: 0;
  background: hsla(160, 6%, 14%, 0.2);
}
.about-grid {
  display: grid;
  gap: 4rem;
  align-items: start;
}
.about-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 0.75;
  letter-spacing: -0.015em;
  margin-bottom: 3rem;
}
.about-story h2 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 2rem;
}
.about-story .prose {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.about-story .prose p {
  color: var(--muted-fg);
  line-height: 1.5;
}

.value-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid var(--border-half);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.value-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--primary-10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.25rem;
}
.value-icon svg {
  color: var(--primary);
}
.value-card h3 {
  font-family: "Inter", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.5rem;
}
.value-card p {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.7;
}
.values-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ===== CTA ===== */
.cta-section {
  text-align: center;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 37.5rem;
  height: 37.5rem;
  border-radius: 50%;
  background: var(--primary-5);
  filter: blur(150px);
}
.cta-section h2 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 2rem;
}
.cta-section .section-sub {
  max-width: 40rem;
  margin: 0 auto 3rem;
}
.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1rem;
  border-radius: 0.75rem;
  background: var(--hero-gradient);
  color: var(--primary-fg);
  font-weight: 600;
  font-size: 1rem;
  transition: opacity 0.3s;
}
.cta-primary:hover {
  opacity: 0.9;
}
.cta-primary svg:last-child {
  transition: transform 0.3s;
}
.cta-primary:hover svg:last-child {
  transform: translateX(4px);
}
.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  color: var(--fg);
  font-weight: 600;
  font-size: 1em;
  transition: background 0.3s;
}
.cta-secondary:hover {
  background: var(--secondary);
}

/* ===== Footer ===== */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border-half);
}
.footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.7;
  max-width: 17rem;
}
.footer-brand img {
  width: 60%;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.footer-links h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--muted-fg);
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--fg);
}

.footer-newsletter h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer-newsletter > p {
  font-size: 0.875rem;
  color: var(--muted-fg);
  margin-bottom: 1rem;
}
.newsletter-form {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}
.newsletter-form input {
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  background: var(--secondary);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--fg);
  outline: none;
}
.newsletter-form input::placeholder {
  color: var(--muted-fg);
}
.newsletter-form input:focus {
  box-shadow: 0 0 0 1px var(--primary-20);
}
.newsletter-form button {
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  background: var(--hero-gradient);
  color: var(--primary-fg);
  font-size: 0.875rem;
  font-weight: 500;
  transition: opacity 0.3s;
}
.newsletter-form button:hover {
  opacity: 0.9;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid hsla(160, 8%, 18%, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--muted-fg);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: var(--primary-fg);
  border-radius: 0.25rem;
  z-index: 100;
  font-size: 0.875rem;
}
.skip-link:focus {
  top: 1rem;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    display: flex;
  }
  .nav-cta-wrap {
    display: flex;
  }
  .mobile-toggle {
    display: none;
  }
  .card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .section {
    padding: 10rem 0;
    position: relative;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .newsletter-form {
    flex-direction: row;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
  .hero {
    padding-top: 5rem;
    padding-bottom: 0;
    min-height: 100vh;
  }
  .hero h1 {
    font-size: 4.5rem;
    line-height: 1;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
  }
  .hero-spacing {
    margin: 0;
  }
  .hero-sub {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  .hero-trust {
    margin-top: 4rem;
  }
  .hero-badge {
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
  }
  .section-heading {
    font-size: 3rem;
    line-height: 1.41;
  }
  .about-story h2 {
    font-size: 3rem;
    line-height: 1.1;
  }
  .cta-section h2 {
    font-size: 3rem;
    line-height: 1;
  }
  .cta-buttons {
    flex-direction: row;
  }
  .cta-primary,
  .cta-secondary {
    padding: 1.25rem 2.5rem;
    width: auto;
  }
  .trust-items {
    gap: 3rem;
  }
  .card h3 {
    line-height: 1.6;
  }
}
@media (min-width: 1024px) {
  .container {
    padding: 0 3rem;
  }
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }
  .hero h1 {
    font-size: 6rem;
  }
  .section-heading {
    font-size: 3.75rem;
    line-height: 1;
  }
  .cta-section h2 {
    font-size: 4.5rem;
  }
}
@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }
}

/* ===== Contact Page ===== */
.contact-hero {
  padding-top: 8rem;
  padding-bottom: 2rem;
  text-align: center;
}
.contact-hero .section-label {
  margin-bottom: 1.25rem;
}
.contact-hero h1 {
  font-family: serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.contact-hero h1 em {
  font-style: italic;
  color: var(--primary);
}
.contact-label {
  color: var(--primary);
  font-family: "Inter", serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1rem;
  letter-spacing: 0.3em;
}
.contact-hero .sub {
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--muted-fg);
}

.contact-body {
  padding: 3rem 0 6rem;
}
.contact-grid {
  display: grid;
  gap: 4rem;
  align-items: start;
}

/* Left column */
.contact-info h2 {
  font-family: "Inter", serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  color: var(--fg);
}
.contact-info h2 em {
  font-style: italic;
  color: var(--primary);
}
.contact-info .intro-text {
  font-size: 0.9rem;
  color: var(--muted-fg);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.contact-info .highlight {
  font-size: 0.9rem;
  color: var(--muted-fg);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.contact-info .highlight em {
  color: var(--primary);
  font-style: italic;
}

.help-section h3 {
  font-family: "Inter", serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.875rem;
  letter-spacing: 0.01em;
}
.help-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.help-list li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
}
.help-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.meet-us h3 {
  font-family: "Inter", serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.875rem;
}
.location-block {
  margin-bottom: 0.75rem;
}
.location-row {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.375rem;
}
.location-icon {
  flex-shrink: 0;
  margin-top: 2px;
}
.location-row .loc-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.125rem;
}
.location-row .loc-name {
  font-size: 0.8125rem;
  color: var(--primary);
  font-weight: 500;
}
.location-row .loc-address {
  font-size: 0.8125rem;
  color: var(--muted-fg);
  line-height: 1.5;
}
.remote-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 0.75rem;
}
.remote-row span {
  font-size: 0.8125rem;
  color: var(--muted-fg);
}

.direct-contact {
  margin-top: 2rem;
}
.direct-contact h3 {
  font-family: "Inter", serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.875rem;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contact-link-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.contact-link-row a {
  font-size: 0.875rem;
  color: var(--primary);
  transition: opacity 0.2s;
}
.contact-link-row a:hover {
  opacity: 0.75;
}

.contact-quote {
  margin-top: 2rem;
  padding-left: 1rem;
  border-left: 2px solid var(--border);
  font-size: 0.8125rem;
  color: var(--muted-fg);
  font-style: italic;
  line-height: 1.6;
}

/* Right column — Form card */
.contact-form-wrap {
  background: var(--card);
  border: 1px solid var(--border-half);
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
}
.contact-form-wrap h2 {
  font-family: "Inter", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 1.75rem;
}

/* Form layout — gap is the single source of spacing truth */
#contactForm {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 0;
  max-width: 100%;
}
.form-group:last-child {
  margin-bottom: 0;
}
.form-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--fg);
}
.form-input,
.form-textarea,
.form-select {
  background: var(--secondary);
  border: 1px solid var(--border-half);
  border-radius: 0.5rem;
  padding: 0.625rem 0.875rem;
  font-size: 1rem;
  color: var(--fg);
  font-family: "Inter", sans-serif;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  width: 100%;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted-fg);
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary);
}
.form-input:valid,
.form-textarea:valid,
.form-select:valid {
  background: var(--secondary);
  color: white;
}
/* Example to change the background to white and text to black */
.form-input:autofill,
.form-input:-webkit-autofill,
.form-input:-webkit-autofill:hover,
.form-input:-webkit-autofill:focus,
.form-input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px var(--secondary) inset !important;
  transition: background-color 5000s ease-in-out 0s; /* smooth transition workaround */
  -webkit-text-fill-color: var(--fg) !important;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
  color: var(--muted-fg);
}
.form-select option {
  background: var(--secondary);
  color: var(--fg);
}
.form-textarea {
  resize: vertical;
  min-height: 7rem;
  line-height: 1.6;
}

.checkbox-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.625rem;
  display: block;
}
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.625rem;
  margin-bottom: 0;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
.checkbox-item input[type="checkbox"] {
  appearance: none;
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--primary);
  border-radius: 3px;
  background: var(--card);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.checkbox-item input[type="checkbox"]:checked {
  border-color: var(--primary);
  background: var(--primary);
}
.checkbox-item input[type="checkbox"]:checked::after {
  content: "\2713";
  color: var(--secondary);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.checkbox-item span {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.4;
}

/* ===== Form Validation Styles ===== */
.input-error {
  border-color: hsl(0, 70%, 55%) !important;
  box-shadow: 0 0 0 2px hsla(0, 70%, 55%, 0.2) !important;
}
.field-error {
  font-size: 0.75rem;
  color: hsl(0, 70%, 60%);
  margin-top: 0.25rem;
  display: block;
  line-height: 1.4;
}

.form-submit {
  width: 100%;
  padding: 0.875rem 1.5rem;
  border-radius: 0.625rem;
  background: var(--hero-gradient);
  color: var(--primary-fg);
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  transition: opacity 0.3s;
  margin-top: 0;
  text-align: center;
}
.form-submit:hover {
  opacity: 0.9;
}

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}
.form-success.visible {
  display: block;
}
.form-success .success-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--primary-20);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--primary);
}
.form-success h3 {
  font-family: "Inter", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.form-success p {
  font-size: 0.9rem;
  color: var(--muted-fg);
}

.contact-bg-orb1 {
  position: fixed;
  top: 10%;
  right: 10%;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: var(--primary-5);
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.contact-bg-orb2 {
  position: fixed;
  bottom: 20%;
  left: 5%;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: var(--primary-8);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
/* ===== Founder ===== */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
}
@media (max-width: 768px) {
  .founder-grid {
    grid-template-columns: 1fr;
  }
}
.founder-img-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.founder-img-inner {
  position: relative;
  display: inline-block;
  line-height: 0;
  padding-bottom: 16px;
  padding-right: 16px;
}
.founder-img {
  border-radius: 1rem;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: var(--card-shadow);
}
.founder-badge-box {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 96px;
  height: 96px;
  border-radius: var(--radius);
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cambo", serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}
.founder-quote {
  position: relative;
  font-family: "Cambo", serif;
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.6;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}
.founder-quote::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='hsl(165, 60%, 35%, 0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z'%3E%3C/path%3E%3Cpath d='M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z'%3E%3C/path%3E%3C/svg%3E");
  position: absolute;
  left: 0;
  top: -20px;
  font-size: 2rem;
  color: var(--primary-10);
}
.founder-text {
  color: var(--muted-fg);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.founder-highlight {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  margin-top: 1rem;
}
.founder-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.founder-info-item {
  background: var(--card);
  border-radius: 8px;
  padding: 0.75rem;
  text-align: center;
  box-shadow: var(--card-shadow);
}
.founder-info-item strong {
  display: block;
  font-size: 0.875rem;
}
.founder-info-item span {
  font-size: 0.75rem;
  line-height: 1.4;
  display: block;
  color: var(--muted-fg);
}

@media (min-width: 768px) {
  .contact-hero h1 {
    font-size: 4rem;
  }
  .contact-hero {
    padding-top: 8rem;
  }
}
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 5fr 7fr;
    gap: 5rem;
  }
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
  .checkbox-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-hero h1 {
    font-size: 4.5rem;
  }
}

/* ===== About Page ===== */

/* --- Tagline Section --- */
.about-tagline-section {
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.about-tagline-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-half) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-half) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.35;
}
.about-tagline-orb {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  background: var(--primary-5);
  filter: blur(130px);
  pointer-events: none;
}
.about-tagline-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}
.about-tagline-inner .section-label {
  margin-bottom: 2rem;
}
.about-tagline-inner h1 {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 3rem;
}
.about-tagline-inner h1 em {
  font-style: italic;
  color: var(--primary);
}
.about-tagline-inner .tagline-sub {
  font-size: 1.125rem;
  color: var(--muted-fg);
  line-height: 1.75;
  max-width: 42rem;
  margin: 0 auto 3rem;
  font-weight: 300;
}
.about-stats-row {
  display: grid;
  margin-top: 3.5rem;
  border: 1px solid var(--border-half);
  border-radius: 1rem;
  background: var(--card);
  overflow: hidden;
}
.about-stat {
  padding: 1.5rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border-half);
  border-bottom: 1px solid var(--border-half);
}
/* Remove right border on every 2nd cell (right column) */
.about-stat:nth-child(2n) {
  border-right: none;
}
/* Remove bottom border on last two cells */
.about-stat:nth-last-child(-n + 2) {
  border-bottom: none;
}
.about-stat-number {
  font-family: serif;
  font-size: clamp(1.5rem, 6vw, 2.5rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  word-break: break-word;
}
.about-stat-label {
  font-size: 0.8125rem;
  color: var(--muted-fg);
  font-weight: 400;
  line-height: 1.4;
}
/* 4-column layout from 640px up */
@media (min-width: 640px) {
  .about-stats-row {
    grid-template-columns: repeat(4, 1fr);
  }
  .about-stat {
    border-bottom: none;
    border-right: 1px solid var(--border-half);
    padding: 2rem 1.5rem;
  }
  .about-stat:nth-child(2n) {
    border-right: 1px solid var(--border-half);
  }
  .about-stat:last-child {
    border-right: none;
  }
}

/* --- Values Strip --- */
.about-values-strip {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}
.about-value-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.125rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--secondary);
  font-size: 0.8125rem;
  color: var(--secondary-fg);
  font-weight: 500;
}

.about-value-pill:nth-child(2n) {
  display: none;
}

.about-value-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* --- Image Slider Section --- */
.about-slider-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.about-slider-section .section-label {
  text-align: center;
  margin-bottom: 0.75rem;
}
.about-slider-heading {
  font-family: serif;
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.about-slider-heading em {
  font-style: italic;
  color: var(--primary);
}
.about-slider-sub {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--muted-fg);
  max-width: 36rem;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.slider-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.slider-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.slide-card {
  flex: 0 0 calc(100% - 0px);
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border-half);
  position: relative;
}
.slide-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.slide-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  position: relative;
  overflow: hidden;
}
.slide-img-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-10), var(--primary-5));
}
.slide-img-placeholder svg {
  position: relative;
  z-index: 1;
  color: var(--primary);
  opacity: 0.4;
}
.slide-caption {
  padding: 1.5rem 1.75rem;
}
.slide-caption-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.375rem;
}
.slide-caption h3 {
  font-family: "Inter", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.375rem;
}
.slide-caption p {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.6;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.slider-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    border-color 0.2s;
  flex-shrink: 0;
}
.slider-btn:hover {
  background: var(--secondary);
  border-color: var(--primary-20);
}
.slider-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.slider-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  transition:
    background 0.2s,
    width 0.2s;
  cursor: pointer;
}
.slider-dot.active {
  background: var(--primary);
  width: 20px;
  border-radius: 3px;
}

/* --- Founder Section overrides for about page --- */
.section-alt {
  background: hsla(160, 6%, 14%, 0.2);
}
.founder-highlight {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  margin-top: 1rem;
}

/* Responsive */
@media (min-width: 640px) {
  .slide-card {
    flex: 0 0 calc(50% - 0.625rem);
  }
}
@media (min-width: 768px) {
  .about-tagline-inner h1 {
    font-size: 4.5rem;
    line-height: 1;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
  }
  .about-value-pill:nth-child(2n) {
    display: inline-flex;
  }
  .about-slider-heading {
    font-size: 2.5rem;
  }
  .checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
    margin-bottom: 1rem;
  }
}
@media (min-width: 1024px) {
  .about-tagline-inner h1 {
    font-size: 6rem;
  }
  .slide-card {
    flex: 0 0 calc(33.333% - 0.833rem);
  }
  .about-tagline-section {
    padding: 10rem 0 6rem;
  }
  .about-slider-section {
    padding: 8rem 0;
  }
}
