:root {
  color-scheme: dark;
  --bg: #0d0d0d;
  --panel: #181818;
  --panel-soft: #202020;
  --text: #f6f3ee;
  --muted: #c9c3bc;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #8cf44a;
  --accent-strong: #6ee52e;
  --max: 1480px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  padding: 22px clamp(20px, 4vw, 48px);
  background: rgba(10, 10, 10, 0.96);
  border-bottom: 1px solid var(--line);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 78px;
  backdrop-filter: blur(18px);
}

.site-footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.brand,
.header-actions,
.nav,
.button-row,
.testimonial-dots,
.field-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: clamp(0.95rem, 1.7vw, 1.18rem);
  font-weight: 700;
  white-space: nowrap;
}

.brand span:last-child {
  overflow-wrap: anywhere;
}

.brand-mark,
.linkedin {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 6px;
  font-weight: 800;
}

.brand-mark {
  background: var(--accent);
  color: #071006;
  letter-spacing: 0;
}

.linkedin {
  background: #f2f2f2;
  color: #111;
  font-family: Georgia, serif;
}

.nav {
  gap: 28px;
  color: var(--muted);
}

.nav a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.header-actions {
  gap: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #071006;
}

.button-primary:hover {
  background: var(--accent-strong);
}

.button-outline {
  border: 2px solid rgba(255, 255, 255, 0.86);
  color: #fff;
}

.button-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(7, 7, 7, 0.82) 0%, rgba(7, 7, 7, 0.62) 44%, rgba(7, 7, 7, 0.46) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 clamp(90px, 12vh, 150px);
}

.hero h1,
.section h2 {
  margin: 0;
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
}

.hero p {
  max-width: 900px;
  margin: 24px 0 0;
  color: #f3eee9;
  font-size: clamp(1.08rem, 2vw, 1.45rem);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--accent);
  font-size: 0.95rem;
}

.supporting-line {
  color: var(--muted);
}

.button-row {
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.section {
  padding: clamp(78px, 10vw, 132px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.section > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.split,
.contact-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1fr);
  gap: clamp(48px, 8vw, 86px);
  align-items: center;
}

.copy {
  max-width: 680px;
}

.copy h2,
.section-heading h2,
.narrow h2 {
  font-size: clamp(2.3rem, 4vw, 4.4rem);
}

.copy h2,
.section-heading {
  margin-bottom: 28px;
}

.copy p,
.narrow p {
  color: var(--muted);
  font-size: 1.08rem;
}

.copy p + p {
  margin-top: 24px;
}

.section-heading p {
  max-width: 820px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading.compact {
  margin-bottom: 0;
}

.proof-band {
  background: #111;
}

.proof-grid,
.project-grid,
.framework-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.proof-grid article,
.project-card,
.framework-grid article,
.faq-grid article,
.definition-card,
.roadmap-card,
.comparison-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  padding: clamp(22px, 3vw, 32px);
}

.proof-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.proof-grid span,
.project-card p,
.framework-grid p,
.faq-grid p,
.definition-card p,
.definition-card li,
.roadmap-card li {
  color: var(--muted);
}

.copy .button {
  margin-top: 20px;
}

.portrait-wrap {
  min-height: 520px;
}

.portrait {
  width: 100%;
  height: clamp(460px, 58vw, 680px);
  object-fit: cover;
  border-radius: 8px;
}

.testimonials {
  background: #101010;
}

.testimonial-track {
  position: relative;
  min-height: 260px;
}

.testimonial {
  display: none;
  max-width: 1040px;
}

.testimonial.is-active {
  display: block;
}

.testimonial p {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 3rem);
  line-height: 1.18;
}

.testimonial footer {
  margin-top: 28px;
  color: var(--muted);
  font-size: 1.25rem;
}

.testimonial-dots {
  gap: 18px;
  margin-top: 34px;
}

.dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  cursor: pointer;
}

.dot.is-active {
  width: 16px;
  height: 16px;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.16);
}

.centered {
  text-align: center;
  background: var(--panel);
}

.narrow {
  max-width: 980px;
}

.large {
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 36px;
}

.service-card {
  text-align: left;
}

.focus-grid .service-card {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.service-card h3 a:hover,
.project-card h3 a:hover,
.definition-card a:hover {
  color: var(--accent);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 24px;
}

.service-card h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.15;
}

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.blog-preview {
  background: #111;
}

.project-section {
  background: var(--panel);
}

.project-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-card span,
.framework-grid span,
.blog-card span {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-card h3,
.framework-grid h3,
.faq-grid h3,
.definition-card h3,
.roadmap-card h3 {
  margin: 8px 0 10px;
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  line-height: 1.15;
}

.project-card p,
.framework-grid p,
.faq-grid p,
.definition-card p {
  margin: 0;
}

.project-link {
  margin-top: 28px;
}

.geo-block {
  grid-template-columns: minmax(320px, 0.8fr) minmax(360px, 1fr);
}

.definition-card ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 20px;
}

.comparison-wrap {
  grid-column: 1 / -1;
  width: 100%;
  padding: 0;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.comparison-table caption {
  padding: 18px 22px 0;
  color: var(--accent);
  font-weight: 800;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  color: var(--text);
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
  border-bottom: 0;
}

.framework-section {
  background: #0f0f0f;
}

.framework-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.roadmap-card {
  margin-top: 34px;
}

.roadmap-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 0;
  padding-left: 20px;
}

.faq-section {
  background: var(--panel);
}

.blog-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.blog-category-list li,
.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.pillar-page .section-heading {
  max-width: 980px;
}

.pillar-hero {
  padding-top: clamp(86px, 12vw, 150px);
}

.pillar-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(360px, 1fr);
  gap: clamp(32px, 6vw, 76px);
}

.pillar-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.pillar-list strong {
  color: var(--text);
}

.blog-list-page {
  min-height: calc(100vh - 174px);
}

.blog-list-page .section-heading h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  line-height: 1.04;
}

.pillar-page h1,
.pillar-hero h1 {
  margin: 0;
  max-width: 1040px;
  font-size: clamp(2.8rem, 5.2vw, 5.6rem);
  line-height: 1.04;
  letter-spacing: 0;
}

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

.blog-card a {
  display: grid;
  gap: 14px;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.blog-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.blog-card h2,
.blog-card h3 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 2.35rem);
  line-height: 1.12;
}

.blog-card a:hover h2,
.blog-card a:hover h3,
.back-link:hover {
  color: var(--accent);
}

.post {
  background: var(--bg);
}

.post-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
  padding: clamp(58px, 8vw, 106px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.post-hero > * {
  max-width: 760px;
}

.post-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.post-hero h1 {
  margin: 14px 0 18px;
  font-size: clamp(2.5rem, 5.4vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.post-hero p,
.back-link {
  color: var(--muted);
  font-weight: 700;
}

.post-content {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.post-content h2,
.post-content h3,
.post-content p,
.post-content ul {
  margin-top: 0;
}

.post-content h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.08;
}

.post-content h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.post-content p,
.post-content li {
  color: var(--muted);
  font-size: 1.1rem;
}

.post-content p + h2,
.post-content ul + h2 {
  margin-top: 54px;
}

.post-content p + h3,
.post-content ul + h3 {
  margin-top: 30px;
}

.post-content li + li {
  margin-top: 14px;
}

.schedule-section {
  background: #101010;
}

.calendly-inline-widget {
  width: 100%;
  min-width: 0;
  height: 760px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.contact-section {
  background: var(--panel);
}

.contact-form {
  display: grid;
  gap: 18px;
  max-width: 720px;
}

.field-row {
  gap: 18px;
  align-items: stretch;
}

label {
  display: grid;
  gap: 8px;
  width: 100%;
  color: var(--text);
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #333;
  border-radius: 8px;
  background: #2a2a2a;
  color: var(--text);
  font: inherit;
  padding: 14px 16px;
}

textarea {
  resize: vertical;
}

.contact-form .button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .site-header {
    gap: 18px;
  }

  .nav {
    gap: 18px;
  }

  .header-actions {
    gap: 12px;
  }

  .header-actions .button {
    min-height: 42px;
    padding: 0 18px;
  }

  .split,
  .contact-section,
  .service-grid,
  .blog-grid,
  .post-hero,
  .proof-grid,
  .project-grid,
  .framework-grid,
  .faq-grid,
  .pillar-grid {
    grid-template-columns: 1fr;
  }

  .portrait-wrap {
    min-height: auto;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 14px 18px;
  }

  .header-actions .linkedin {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 14px;
    min-height: 58px;
    padding: 10px 14px;
  }

  .site-footer,
  .field-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-end;
    gap: 14px;
    order: 0;
    width: auto;
    font-size: 0.95rem;
  }

  .brand {
    min-width: 0;
    font-size: 0.95rem;
    white-space: nowrap;
  }

  .site-header .brand span:last-child {
    max-width: 34vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-actions {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 58px);
    align-items: center;
  }

  .hero-content {
    width: min(var(--max), calc(100% - 28px));
    padding: 58px 0 42px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 4.15rem);
  }

  .hero p {
    margin-top: 18px;
    font-size: 1.02rem;
  }

  .button {
    width: 100%;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .calendly-inline-widget {
    height: 720px;
  }

  .section {
    padding: 58px 16px;
  }

  .copy h2,
  .section-heading h2,
  .narrow h2,
  .blog-list-page .section-heading h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .portrait {
    height: min(112vw, 520px);
  }

  .testimonial-track {
    min-height: 360px;
  }

  .testimonial p {
    font-size: clamp(1.35rem, 8vw, 2.15rem);
  }

  .post-hero {
    gap: 24px;
    padding: 34px 16px 42px;
  }

  .post-hero h1 {
    font-size: clamp(2.05rem, 11vw, 3.4rem);
  }

  .post-content {
    padding: 46px 16px 64px;
  }

  .roadmap-card ul {
    grid-template-columns: 1fr;
  }

  .proof-grid,
  .project-grid,
  .framework-grid,
  .faq-grid {
    gap: 16px;
  }
}

@media (max-width: 420px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .site-header .brand span:last-child {
    display: none;
  }

  .nav {
    gap: 12px;
  }
}
