:root {
  color-scheme: light;
  --ink: #16181d;
  --slate: #5c6675;
  --stone: #f6f4ef;
  --white: #ffffff;
  --green: #1c473b;
  --green-dark: #14332a;
  --brass: #b08a3c;
  --shadow: 0 22px 50px rgba(22, 24, 29, 0.12);
  --radius: 18px;
}

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

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background: var(--stone);
  color: var(--ink);
  line-height: 1.6;
}

.page {
  min-height: 100vh;
  background: radial-gradient(
      circle at top left,
      rgba(42, 64, 48, 0.08),
      transparent 45%
    ),
    radial-gradient(
      circle at 20% 50%,
      rgba(176, 138, 60, 0.12),
      transparent 40%
    ),
    var(--stone);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.hero-section {
  background: var(--green-dark);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0 96px;
  gap: 80px;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 72px;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.top-nav nav {
  display: flex;
  gap: 24px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.top-nav nav a:hover {
  color: var(--white);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand img {
  height: 32px;
  width: 32px;
  object-fit: contain;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 18px 30px rgba(42, 64, 48, 0.2);
}

.button:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.button.ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: none;
}

.button.ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

main {
  background: var(--stone);
}

.hero-content {
  max-width: 1000px;
  padding: 0 72px;
  margin: 0 auto;
  width: 100%;
}

.hero-logo {
  height: 72px;
  width: auto;
  margin-bottom: 48px;
  display: block;
}

.hero-content h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.15;
  margin: 12px 0 20px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--brass);
  font-weight: 600;
}

.lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 32px 0 0;
  flex-wrap: wrap;
}

.hero-meta {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border-top: 1px solid rgba(22, 24, 29, 0.12);
  padding-top: 20px;
  font-size: 0.95rem;
}

.hero-meta .label,
.card-footer .label,
.metric,
.disclaimer,
.card .label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}


.card-footer {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  font-size: 0.95rem;
}

.section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 72px;
  max-width: 1200px;
  margin: 0 auto;
}

.section.muted {
  background: var(--white);
  border-radius: var(--radius);
  padding: 70px 52px;
  margin: 0;
  box-shadow: 0 30px 60px rgba(22, 24, 29, 0.08);
}

.section-header {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-header h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin: 16px 0 12px;
}

.section-header p {
  color: var(--slate);
}

.grid {
  display: grid;
  gap: 24px;
  justify-items: center;
}

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
  max-width: 100%;
  margin: 0 auto;
}

.card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(22, 24, 29, 0.08);
  box-shadow: 0 20px 40px rgba(22, 24, 29, 0.05);
}

.card h3 {
  font-family: "Space Grotesk", sans-serif;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.card p {
  color: var(--slate);
}

.card ul {
  list-style: none;
  margin-top: 16px;
  display: grid;
  gap: 10px;
  color: var(--slate);
}

.card ul li {
  padding-left: 20px;
  position: relative;
}

.card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--teal);
}

.stack h3 {
  margin-bottom: 16px;
}

.checklist,
.steps {
  display: grid;
  gap: 16px;
}

.checklist li {
  list-style: none;
  padding-left: 28px;
  position: relative;
}

.checklist li::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal);
  position: absolute;
  left: 0;
  top: 6px;
}

.steps {
  counter-reset: step;
  list-style: none;
}

.steps li {
  background: rgba(22, 24, 29, 0.04);
  border-radius: 16px;
  padding: 18px;
}

.steps li span {
  font-weight: 600;
  display: inline-block;
  margin-bottom: 8px;
}

.steps li span::before {
  counter-increment: step;
  content: counter(step) ". ";
  color: var(--brass);
}

.highlight {
  background: linear-gradient(
    135deg,
    rgba(14, 107, 111, 0.08),
    rgba(176, 138, 60, 0.08)
  );
}

.metric {
  margin-top: 20px;
  color: var(--teal-dark);
}

.disclaimer {
  margin-top: 16px;
}

.cta {
  padding: 80px 0 40px;
}

.cta-card {
  background: var(--ink);
  color: var(--white);
  padding: 42px;
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.7);
}

.cta-card .button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 72px;
  background: rgba(246, 244, 239, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(22, 24, 29, 0.08);
  gap: 12px;
  z-index: 50;
  text-align: center;
}

.footer-contact {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--slate);
}

.footer-icon {
  color: var(--brass);
  flex-shrink: 0;
}

.footer-item a {
  color: var(--slate);
  transition: color 0.2s ease;
}

.footer-item a:hover {
  color: var(--ink);
}

.footer-legal {
  font-size: 0.9rem;
  color: var(--slate);
}

.footer-legal a {
  color: var(--brass);
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--green);
}

.services-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 72px 40vh;
  max-width: 1200px;
  margin: 0 auto;
}

.services-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
  align-items: center;
}

.services-cta {
  margin-top: 64px;
}


.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}

.why-founder {
  text-align: left;
}

.why-founder h3 {
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.why-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 0 20px 0;
  border: 2px solid rgba(255,255,255,0.15);
}

.why-role {
  color: var(--brass);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  font-weight: 500;
}

.why-bio {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.7;
}

.why-claims {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.why-claim {
  border-left: 2px solid var(--brass);
  padding-left: 20px;
}

.claim-lead {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.claim-body {
  display: block;
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .why-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 0 28px;
  }
}

.ai-native-section,
.expertise-section,
.engage-section,
.partners-section,
.how-we-work-section {
  width: 100%;
}

.ai-native-section .section-header,
.expertise-section .section-header,
.engage-section .section-header,
.partners-section .section-header,
.how-we-work-section .section-header {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}

.ai-native-section .grid.two,
.expertise-section .grid.two,
.engage-section .grid.three,
.frameworks-section .grid.three,
.how-we-work-section .grid.three {
  max-width: 100%;
  margin: 0 auto;
}

.card .eyebrow {
  margin-bottom: 12px;
}

.card-description {
  margin-top: 12px;
  color: var(--slate);
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

/* Founder block */
.founder-block {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-top: 48px;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 20px 40px rgba(22, 24, 29, 0.05);
}

.founder-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.founder-text h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.founder-role {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brass);
  margin-bottom: 12px;
  font-weight: 500;
}

.founder-text p:last-child {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.6;
}

.partners-prose,
.expertise-prose {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.7;
}

.expertise-prose p + p {
  margin-top: 20px;
}

/* Proof point */
.proof-point {
  text-align: center;
  margin: 0 auto 48px;
  max-width: 700px;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(22, 24, 29, 0.05);
}

.proof-point .eyebrow {
  margin-bottom: 16px;
  color: var(--brass);
}

.proof-point .claim {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.5;
}

@media (max-width: 600px) {
  .founder-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}



@media (max-width: 960px) {
  .grid.three {
    grid-template-columns: repeat(2, 1fr);
  }

  .top-nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 28px;
  }

  .top-nav nav {
    flex-wrap: wrap;
  }

  .hero-section {
    padding: 60px 0 64px;
    gap: 56px;
  }

  .hero-content {
    padding: 0 28px;
  }

  .hero-logo {
    height: 56px;
    margin-bottom: 32px;
  }

  .section {
    min-height: 0;
    padding: 60px 28px 100px;
  }

  .services-section {
    min-height: 0;
    padding: 60px 28px 100px;
  }

  .section.muted {
    padding: 60px 32px;
    margin: 0;
  }
}

@media (max-width: 768px) {
  .grid.three {
    grid-template-columns: 1fr;
  }

  .grid.two {
    grid-template-columns: 1fr;
  }

  footer {
    position: static;
    padding: 32px 20px;
    background: var(--stone);
    border-top: 1px solid rgba(22, 24, 29, 0.1);
  }

  .footer-contact {
    flex-direction: column;
    gap: 12px;
  }

  .footer-item {
    font-size: 0.9rem;
  }

  .hero-content {
    padding: 0 20px;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .hero-logo {
    height: 48px;
  }

  .section {
    padding: 60px 20px;
  }

  .services-section {
    padding: 60px 20px;
  }

  .card {
    padding: 24px;
  }

}


@media (max-width: 640px) {
  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
    text-align: center;
  }

  .top-nav nav {
    gap: 16px;
  }

  .cta-card {
    padding: 24px;
    margin: 0 10px;
  }

  .lead {
    font-size: 1.1rem;
  }

  .modal-content {
    max-width: 95%;
    margin: 20px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .section-header h2 {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }

  .card-title {
    font-size: 1.1rem;
  }

  .card-description {
    font-size: 0.95rem;
  }
}

/* Modern Side Navigation */
html {
  scroll-behavior: auto;
}

.side-nav {
  position: fixed;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(22, 24, 29, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 16px 12px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(22, 24, 29, 0.2);
}

.side-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.side-nav a {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
}

.side-nav a.active {
  background: var(--brass);
  border-color: var(--white);
  transform: scale(1.4);
  box-shadow: 0 0 0 4px rgba(176, 138, 60, 0.2);
}

.side-nav a:hover {
  background: var(--white);
  transform: scale(1.3);
}

.side-nav a:hover::after,
.side-nav a.active:hover::after {
  content: attr(data-title);
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(22, 24, 29, 0.25);
  pointer-events: none;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(22, 24, 29, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 48px;
  box-shadow: 0 40px 80px rgba(22, 24, 29, 0.3);
  animation: slideUp 0.3s ease;
}

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

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--slate);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  background: rgba(22, 24, 29, 0.08);
  color: var(--ink);
}

.modal-header {
  margin-bottom: 32px;
}

.modal-header h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  margin: 12px 0 16px;
}

.modal-header p {
  color: var(--slate);
  line-height: 1.6;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border: 1px solid rgba(22, 24, 29, 0.15);
  border-radius: 12px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(28, 71, 59, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.form-actions .button {
  flex: 1;
}

@media (max-width: 640px) {
  .modal-content {
    padding: 32px 24px;
  }

  .modal-header h2 {
    font-size: 1.6rem;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .button {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .side-nav {
    display: none;
  }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(28, 71, 59, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 99;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: var(--green-dark);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(28, 71, 59, 0.4);
}

.scroll-to-top svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
  }
}

/* Legal Pages */
.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-header {
  padding: 32px 72px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.back-link {
  color: var(--slate);
  font-weight: 500;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--ink);
}

.legal-logo {
  height: 40px;
  max-width: 200px;
  width: auto;
  object-fit: contain;
}

.legal-content {
  flex: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 72px 80px;
  width: 100%;
}

.legal-content h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 48px;
  color: var(--ink);
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--ink);
}

.legal-section p {
  color: var(--slate);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-section ul {
  list-style: none;
  margin: 16px 0;
  padding: 0;
}

.legal-section ul li {
  color: var(--slate);
  line-height: 1.8;
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
}

.legal-section ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brass);
  font-weight: 600;
}

/* Spotlight nav effect */
.hero-section,
.engage-section,
.expertise-section,
.partners-section,
.how-we-work-section {
  transition: opacity 0.5s ease, filter 0.5s ease, transform 0.5s ease;
  will-change: opacity, filter, transform;
}

.spotlight-dim {
  opacity: 0.15;
  filter: blur(3px);
}

.spotlight-focus {
  transform: scale(1.015);
  transform-origin: center center;
}

.legal-section a {
  color: var(--green);
  transition: color 0.2s ease;
}

.legal-section a:hover {
  color: var(--green-dark);
}

@media (max-width: 960px) {
  .legal-header {
    padding: 24px 28px;
  }

  .legal-content {
    padding: 32px 28px 60px;
  }
}
