:root {
  --color-bg: #ebf3ee;
  --color-surface: #ffffff;
  --color-surface-soft: #edf3ef;
  --color-heading: #19352d;
  --color-body: #7a7a7a;
  --color-brand: #196164;
  --color-brand-dark: #154f52;
  --color-accent: #c4f500;
  --color-shadow: rgba(25, 53, 45, 0.08);
  --color-line: rgba(23, 59, 52, 0.06);
  --radius-xl: 30px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --container-width: 1320px;
  --transition-fast: 180ms ease;
  --transition-slow: 500ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--color-bg);
  color: var(--color-heading);
  font-family: "Geist", "Inter", "Segoe UI", Arial, sans-serif;
}

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

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

p,
h1,
h2,
h3 {
  margin: 0;
}

.site-main {
  overflow-x: clip;
}

.container {
  width: min(calc(100% - 3rem), var(--container-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--color-line);
  background: rgba(235, 243, 238, 0.9);
  backdrop-filter: blur(20px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5.5rem;
}

.site-branding {
  min-width: 0;
}

.site-branding__home-link {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-logo img,
.site-logo__image {
  width: auto;
  max-width: 11.5rem;
  max-height: 3.5rem;
}

.site-branding__text {
  display: inline-flex;
  flex-direction: column;
  gap: 0.12rem;
}

.site-branding__title {
  color: var(--color-heading);
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.1;
}

.site-branding__tagline {
  color: var(--color-body);
  font-size: 0.82rem;
  line-height: 1.3;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.site-navigation {
  min-width: 0;
}

.site-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-menu a {
  color: var(--color-heading);
  font-size: 0.96rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.site-menu a:hover,
.site-menu a:focus-visible,
.site-menu .current-menu-item > a,
.site-menu .current-menu-ancestor > a {
  color: var(--color-brand);
}

.site-header__cta {
  padding-inline: 1.5rem;
  white-space: nowrap;
}

.site-header__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(25, 97, 100, 0.18);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.55);
  color: var(--color-heading);
  cursor: pointer;
}

.site-header__toggle span {
  display: block;
  width: 1.05rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform var(--transition-fast),
    opacity var(--transition-fast);
}

.site-header.is-open .site-header__toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-open .site-header__toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .site-header__toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(237, 243, 239, 0.88), rgba(237, 243, 239, 0.9)),
    url("../images/hero/hero-background.webp") center / cover no-repeat;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: auto -12% -32% auto;
  width: 34rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25, 97, 100, 0.14), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 3rem;
  min-height: 820px;
  padding-block: 4.5rem 2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-brand);
  font-size: 1.125rem;
  font-weight: 500;
}

.eyebrow-mark {
  font-size: 1.35rem;
  line-height: 1;
}

.hero-copy h1 {
  margin-top: 2rem;
  font-size: clamp(3.4rem, 5.2vw, 5.1rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-description {
  max-width: 44rem;
  margin-top: 2rem;
  color: var(--color-body);
  font-size: 1.18rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.5rem;
  padding: 0.95rem 2rem;
  border-radius: 0.9rem;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 600;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

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

.button:focus-visible {
  outline: 2px solid transparent;
  box-shadow: 0 0 0 3px rgba(25, 97, 100, 0.18);
}

.button-primary {
  background: var(--color-brand);
  color: #ffffff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--color-brand-dark);
}

.button-secondary {
  border-color: rgba(25, 97, 100, 0.55);
  background: rgba(255, 255, 255, 0.18);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.55);
}

.button-dark {
  background: #060b24;
  color: #ffffff;
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--color-heading);
}

.button-outline {
  border-color: rgba(25, 53, 45, 0.28);
  color: var(--color-heading);
}

.button-outline:hover,
.button-outline:focus-visible {
  background: var(--color-heading);
  color: #f7ffd7;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.hero-figure-wrap {
  position: relative;
  height: 100%;
  min-height: 620px;
}

.hero-figure {
  position: absolute;
  inset: 0 0 7rem 0;
  width: 100%;
  height: calc(100% - 7rem);
  object-fit: contain;
  object-position: bottom center;
}

.hero-highlights {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 1.4rem;
  max-width: 39.4rem;
  margin-inline: auto;
  padding: 1.5rem;
  border: 1px solid rgba(25, 97, 100, 0.18);
  border-radius: 1.5rem;
  background: rgba(237, 243, 239, 0.95);
  box-shadow: 0 8px 28px rgba(25, 53, 45, 0.08);
  backdrop-filter: blur(12px);
}

.highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.highlight-icon {
  display: grid;
  place-items: center;
  width: 3.75rem;
  height: 3.75rem;
  flex-shrink: 0;
  border-radius: 1.25rem;
  background: var(--color-surface-soft);
  box-shadow: inset 0 0 0 1px rgba(25, 97, 100, 0.12);
}

.highlight-icon img {
  width: 100%;
  height: 100%;
  padding: 0.75rem;
  object-fit: contain;
}

.highlight-card h2 {
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.15;
}

.highlight-card p {
  margin-top: 0.45rem;
  color: var(--color-body);
  font-size: 1.125rem;
  line-height: 1.45;
}

.services-section {
  background: linear-gradient(180deg, #fcfcf8 0%, #ffffff 28%, #faf8f2 100%);
  padding-block: 6rem 4rem;
}

.section-heading {
  max-width: 48.75rem;
}

.section-heading-centered {
  margin-inline: auto;
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.35rem 1rem;
  color: var(--color-brand);
  font-size: 0.95rem;
  font-weight: 500;
}

.section-tag-left {
  padding-inline: 0;
  justify-content: flex-start;
}

.section-tag-caps {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-tag img {
  width: 1.25rem;
  height: 1.3125rem;
}

.section-heading h2,
.about-copy h2 {
  margin-top: 1.5rem;
  font-size: clamp(2.5rem, 4.4vw, 4.875rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-heading h2 span,
.about-copy h2 span {
  display: block;
}

.service-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 4rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: 0 24px 64px var(--color-shadow);
}

.service-image {
  width: 100%;
  height: 15rem;
  object-fit: cover;
  background: var(--color-surface-soft);
}

.service-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 1.75rem 1.5rem;
}

.service-content h3 {
  font-size: clamp(1.85rem, 2vw, 1.95rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.service-content p {
  max-width: 38ch;
  margin-top: 1rem;
  color: var(--color-body);
  font-size: 1rem;
  line-height: 1.85;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.cta-section {
  padding-bottom: 6rem;
  background: linear-gradient(180deg, #faf8f2 0%, #fcfcf8 100%);
}

.cta-banner {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: 0 26px 60px rgba(25, 53, 45, 0.1);
}

.cta-panel {
  display: flex;
  align-items: center;
  padding: 2rem 1.75rem;
}

.cta-panel-dark {
  background: var(--color-heading);
}

.cta-panel-dark h2 {
  color: var(--color-accent);
  font-size: clamp(2.2rem, 3vw, 2.875rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.cta-panel-dark p {
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.7;
}

.cta-panel-accent {
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: var(--color-accent);
}

.cta-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.avatar-stack {
  display: flex;
  margin-right: 0.25rem;
}

.avatar-stack img {
  width: 3rem;
  height: 3rem;
  margin-left: -0.75rem;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(25, 53, 45, 0.12);
  border: 2px solid #ffffff;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.cta-stat {
  font-size: clamp(1.75rem, 2.3vw, 2.4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.cta-caption {
  margin-top: 0.25rem;
  color: rgba(25, 53, 45, 0.72);
  font-size: 0.95rem;
}

.about-section {
  padding-bottom: 6rem;
  background: linear-gradient(180deg, #fcfcf8 0%, #ffffff 24%, #faf8f2 100%);
}

.about-grid {
  display: grid;
  gap: 3.5rem;
}

.about-description {
  max-width: 40ch;
  margin-top: 1.75rem;
  color: var(--color-body);
  font-size: 1.1rem;
  line-height: 1.8;
}

.checklist {
  display: grid;
  gap: 1.25rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 2.6rem;
  color: var(--color-body);
  font-size: 1.125rem;
  line-height: 1.55;
}

.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.1rem;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: #1f706e;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
}

.about-emphasis {
  max-width: 18ch;
  margin-top: 2.25rem;
  font-size: clamp(2rem, 2.7vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.about-copy .button {
  margin-top: 2.5rem;
}

.about-philosophy-label {
  margin-top: 2rem;
  color: var(--color-heading);
  font-size: 1.15rem;
  font-weight: 600;
}

.about-visual {
  display: grid;
  gap: 1.5rem;
}

.about-column {
  display: grid;
  gap: 1.5rem;
}

.stats-card {
  padding: 1.8rem;
  border-radius: 1.625rem;
  background: #1f706e;
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(25, 53, 45, 0.14);
}

.stats-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.stats-icon {
  display: grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  flex-shrink: 0;
  border-radius: 1rem;
  background: #ffffff;
}

.stats-icon img {
  width: 2rem;
  height: 2rem;
}

.stats-value {
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
}

.stats-label {
  margin-top: 0.35rem;
  font-size: 1.2rem;
}

.stats-copy {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.7;
}

.about-image {
  overflow: hidden;
  border-radius: 1.625rem;
  background: var(--color-surface-soft);
  box-shadow: 0 22px 52px rgba(25, 53, 45, 0.1);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-tall {
  aspect-ratio: 270 / 450;
}

.about-image-full {
  aspect-ratio: 300 / 610;
}

.process-section {
  padding-block: 6rem;
  background: linear-gradient(180deg, #edf3ef 0%, #e5ede8 100%);
}

.process-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 4rem;
}

.process-card {
  padding: 1.75rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: 0 22px 52px rgba(25, 53, 45, 0.07);
}

.process-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.process-icon {
  width: 5.75rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1.375rem;
  background: var(--color-surface-soft);
  box-shadow: inset 0 0 0 1px rgba(25, 53, 45, 0.06);
}

.process-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process-step {
  color: #d3dbd6;
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.06em;
}

.process-label {
  margin-top: 2rem;
  color: var(--color-body);
  font-size: 0.95rem;
}

.process-card h3 {
  margin-top: 1rem;
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.entry-content {
  color: var(--color-body);
  font-size: 1rem;
  line-height: 1.8;
}

.entry-content > * + * {
  margin-top: 1rem;
}

@media (min-width: 700px) {
  .hero-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    flex-direction: row;
  }

  .service-image {
    width: 14.5rem;
    height: auto;
    flex-shrink: 0;
  }

  .about-visual {
    grid-template-columns: minmax(0, 270px) minmax(0, 300px);
    justify-content: end;
  }

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

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.5rem;
    padding-block: 3rem 0;
  }

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

  .cta-banner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 11.3rem;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: start;
    gap: 5rem;
  }

  .about-column {
    margin-top: -3.5rem;
  }

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

@media (max-width: 899px) {
  .site-header__inner {
    min-height: 5rem;
  }

  .site-branding__tagline {
    display: none;
  }

  .site-header__toggle {
    display: inline-flex;
  }

  .site-header__nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.1rem;
    border: 1px solid rgba(25, 97, 100, 0.12);
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 50px rgba(25, 53, 45, 0.14);
  }

  .site-header.is-open .site-header__nav {
    display: flex;
  }

  .site-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .site-header__cta {
    width: 100%;
  }

  .hero-visual {
    min-height: 42rem;
  }
}

@media (max-width: 699px) {
  .container {
    width: min(calc(100% - 2rem), var(--container-width));
  }

  .hero-grid {
    min-height: auto;
    padding-block: 4rem 2rem;
  }

  .hero-copy h1 {
    font-size: 3.25rem;
  }

  .hero-visual,
  .hero-figure-wrap {
    min-height: 33rem;
  }

  .hero-figure {
    inset: 0;
    height: 100%;
  }

  .hero-highlights {
    position: relative;
    margin-top: 20rem;
    padding: 1.25rem;
  }

  .section-heading h2,
  .about-copy h2 {
    font-size: 2.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

}

:root {
  --color-heading-deep: #183042;
  --color-body-deep: #5d6f6c;
  --color-line-strong: rgba(25, 97, 100, 0.18);
  --container-wide: 1880px;
  --radius-sm: 16px;
}

body.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity var(--transition-slow),
    transform var(--transition-slow);
}

body.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.container-wide {
  max-width: var(--container-wide);
}

.portfolio-section {
  background:
    radial-gradient(circle at top, rgba(231, 239, 234, 0.85) 0%, rgba(246, 248, 243, 0) 46%),
    linear-gradient(180deg, #f7f8f4 0%, #f4f5f1 100%);
  padding-block: 6.25rem 6.75rem;
}

.portfolio-heading {
  font-size: clamp(2.7rem, 4.3vw, 4rem);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.05rem;
  margin-top: 3.8rem;
  padding: 0;
  list-style: none;
}

.portfolio-item-wide {
  grid-column: span 3;
}

.portfolio-item-compact {
  grid-column: span 2;
}

.portfolio-card {
  position: relative;
  min-height: 19.5rem;
  overflow: hidden;
  border-radius: 1.9rem;
  perspective: 1000px;
  cursor: pointer;
}

.portfolio-card-compact {
  min-height: 17rem;
}

.portfolio-card-inner {
  display: grid;
  min-height: inherit;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
  will-change: transform;
}

.portfolio-face {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(25, 53, 45, 0.07);
  border-radius: inherit;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8f4 100%);
  box-shadow: 0 18px 48px rgba(24, 52, 44, 0.06);
  padding: 1.35rem;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.portfolio-face-front {
  transform: rotateY(0deg);
}

.portfolio-face-back {
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top, rgba(230, 241, 235, 0.95) 0%, rgba(247, 248, 244, 0.92) 52%),
    linear-gradient(180deg, #f8faf6 0%, #eff4ef 100%);
  transform: rotateY(180deg);
}

.portfolio-card.is-flipped .portfolio-card-inner,
.portfolio-card:focus-visible .portfolio-card-inner {
  transform: rotateY(180deg);
}

@media (hover: hover) and (pointer: fine) {
  .portfolio-card:hover .portfolio-card-inner {
    transform: rotateY(180deg);
  }
}

.portfolio-logo-stage {
  display: flex;
  flex: 1;
  min-height: 12.2rem;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border: 1px solid rgba(25, 53, 45, 0.05);
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(237, 243, 239, 0.72) 100%);
}

.portfolio-logo-stage-wide {
  min-height: 14.2rem;
}

.portfolio-logo-media {
  position: relative;
  width: min(72%, 11.5rem);
  height: 5.9rem;
}

.portfolio-logo-media-wide {
  width: min(70%, 16.25rem);
  height: 7.25rem;
}

.portfolio-logo-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: saturate(0.98) contrast(1.02);
}

.portfolio-fallback-logo {
  display: inline-flex;
  width: 6.6rem;
  height: 6.6rem;
  align-items: center;
  justify-content: center;
  border-radius: 1.7rem;
  background: linear-gradient(145deg, #204941 0%, #163530 100%);
  box-shadow:
    0 18px 40px rgba(22, 53, 48, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #f5f7f4;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.07em;
}

.portfolio-fallback-logo-wide {
  width: 7.9rem;
  height: 7.9rem;
  border-radius: 2rem;
  font-size: 2.2rem;
}

.portfolio-card-body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.portfolio-card-body h3 {
  max-width: 14ch;
  color: #1a342c;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.portfolio-card-hint {
  color: #5f726b;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.portfolio-back-content {
  display: flex;
  max-width: 24rem;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.portfolio-back-content h3 {
  color: #1a342c;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.portfolio-back-content p {
  max-width: 28ch;
  margin-top: 1rem;
  color: #5f726b;
  font-size: 0.98rem;
  line-height: 1.75;
}

.portfolio-pill {
  display: inline-flex;
  min-height: 2.85rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.55rem;
  padding-inline: 1.25rem;
  border: 1px solid rgba(25, 97, 100, 0.18);
  border-radius: 999px;
  background: #19352d;
  color: #f7f8f4;
  font-size: 0.92rem;
  font-weight: 600;
}

.flywheel-section {
  background: #f4f6f3;
  padding-block: 6rem 6.5rem;
}

.flywheel-intro {
  display: grid;
  gap: 2rem;
}

.flywheel-kicker {
  color: #6d8191;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.flywheel-copy h2 {
  max-width: 15ch;
  margin-top: 1.25rem;
  color: var(--color-heading-deep);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.flywheel-summary {
  max-width: 34ch;
  color: #73889a;
  font-size: 1.08rem;
  line-height: 1.95;
}

.flywheel-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 3.75rem;
  padding: 0;
  list-style: none;
}

.flywheel-card {
  display: flex;
  min-height: 22rem;
  flex-direction: column;
  border: 1px solid #dbe4e8;
  border-radius: var(--radius-xl);
  background: #fafbf8;
  padding: 1.85rem;
  box-shadow: 0 24px 60px rgba(18, 39, 57, 0.06);
}

.flywheel-step {
  display: inline-flex;
  width: 2.7rem;
  height: 2.7rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #8fbc52;
  border-radius: 999px;
  color: #7cad3c;
  font-size: 0.95rem;
  font-weight: 600;
}

.flywheel-card h3 {
  max-width: 12ch;
  margin-top: 2rem;
  color: var(--color-heading-deep);
  font-size: clamp(1.9rem, 2.5vw, 2.15rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.flywheel-card p {
  max-width: 24ch;
  margin-top: 1.5rem;
  color: #6f8496;
  font-size: 1rem;
  line-height: 1.9;
}

.partners-section {
  background:
    radial-gradient(circle at top, rgba(231, 239, 234, 0.72) 0%, rgba(246, 248, 243, 0) 48%),
    linear-gradient(180deg, #f7f8f4 0%, #faf8f2 100%);
  padding-block: 5.25rem 5.5rem;
}

.partners-heading {
  max-width: 16.4ch;
  margin-inline: auto;
  font-size: clamp(2.8rem, 5vw, 4.9rem);
}

.partner-strip-shell {
  overflow: hidden;
  margin-top: 2.4rem;
  border: 1px solid rgba(25, 53, 45, 0.08);
  border-radius: var(--radius-xl);
  background: var(--color-accent);
  box-shadow:
    0 24px 64px rgba(25, 53, 45, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.partner-strip-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  padding: 0;
  list-style: none;
}

.partner-item {
  position: relative;
  display: flex;
  min-height: 118px;
  align-items: center;
  justify-content: center;
  padding: 1.35rem 1.5rem;
}

.partner-item + .partner-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24%;
  bottom: 24%;
  width: 1px;
  background: rgba(25, 53, 45, 0.08);
}

.partner-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--color-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-align: center;
}

.partner-chip img {
  width: 2.35rem;
  height: 2.35rem;
  object-fit: contain;
  border-radius: 999px;
}

.partner-initials {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  place-items: center;
  border-radius: 999px;
  background: rgba(25, 53, 45, 0.08);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.founder-section,
.insights-section,
.about-section,
.why-section,
.contact-section {
  background: linear-gradient(180deg, #fcfcf8 0%, #ffffff 24%, #faf8f2 100%);
}

.founder-section,
.insights-section,
.proof-section,
.contact-section,
.about-section,
.why-section {
  padding-block: 5.75rem 6rem;
}

.founder-grid,
.why-grid {
  display: grid;
  gap: 2.75rem;
}

.founder-grid {
  align-items: center;
}

.why-grid {
  align-items: start;
}

.founder-copy {
  max-width: 44rem;
}

.why-copy {
  max-width: 43rem;
}

.founder-copy h2 {
  max-width: 10.4ch;
  font-size: clamp(3rem, 5.5vw, 4.9rem);
  text-wrap: balance;
}

.founder-copy-group,
.why-copy-group {
  display: grid;
  gap: 1.35rem;
  margin-top: 2rem;
  max-width: 40rem;
}

.founder-copy-group p,
.why-copy-group p {
  color: var(--color-body-deep);
  font-size: 1.1rem;
  line-height: 1.9;
}

.founder-panel {
  width: 100%;
  max-width: 53.5rem;
  justify-self: end;
  border-radius: 2.95rem;
  background: var(--color-heading);
  padding: 2rem;
  box-shadow: 0 28px 72px rgba(25, 53, 45, 0.16);
}

.founder-panel-label {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding-inline: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-accent);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.founder-highlight-list {
  display: grid;
  gap: 1.05rem;
  margin-top: 1.7rem;
  padding: 0;
  list-style: none;
}

.founder-highlight-item {
  padding: 1.6rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.55rem;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-size: 1.1rem;
  line-height: 1.6;
  letter-spacing: -0.02em;
}

.insights-header {
  max-width: 54rem;
}

.insights-header h2 {
  max-width: 13.6ch;
  font-size: clamp(2.85rem, 5vw, 4.8rem);
  text-wrap: balance;
}

.insights-description {
  max-width: 44rem;
  margin-top: 1.6rem;
  color: var(--color-body);
  font-size: 1.05rem;
  line-height: 1.9;
}

.insights-grid {
  display: grid;
  gap: 1.4rem;
  margin-top: 3.6rem;
}

.insight-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: 1.6rem;
  border: 1px solid rgba(23, 59, 52, 0.08);
  border-radius: 1.9rem;
  background: #ffffff;
  box-shadow: 0 22px 52px rgba(25, 53, 45, 0.07);
  text-align: center;
}

.insight-card h3 {
  max-width: 12ch;
  margin-inline: auto;
  color: var(--color-heading);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.insight-card p {
  max-width: 24ch;
  margin: 1.3rem auto 0;
  color: var(--color-body);
  font-size: 0.98rem;
  line-height: 1.82;
}

.proof-section {
  background: linear-gradient(180deg, #edf3ef 0%, #f4f7f2 100%);
}

.proof-header h2 {
  font-size: clamp(2.75rem, 5vw, 4.35rem);
}

.proof-intro {
  max-width: 41rem;
  margin: 1.45rem auto 0;
  color: #6a7b79;
  font-size: 1rem;
  line-height: 1.9;
}

.proof-grid {
  display: grid;
  gap: 1.4rem;
  margin-top: 4rem;
}

.proof-row {
  display: grid;
  gap: 1.4rem;
}

.proof-card {
  min-height: 100%;
  padding: 1.6rem 1.45rem 1.55rem;
  border: 1px solid rgba(25, 97, 100, 0.18);
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(25, 53, 45, 0.06);
}

.proof-icon-shell {
  display: inline-flex;
  width: 3.4rem;
  height: 3.4rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(237, 243, 239, 0.92);
  box-shadow: inset 0 0 0 1px rgba(25, 97, 100, 0.12);
}

.proof-icon-shell img {
  width: 2.05rem;
  height: 2.05rem;
  object-fit: contain;
}

.proof-metric {
  margin-top: 1.35rem;
  color: var(--color-heading);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.proof-card h3 {
  margin-top: 0.8rem;
  color: var(--color-heading);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.proof-eyebrow {
  margin-top: 1.2rem;
  color: var(--color-brand);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-transform: uppercase;
}

.proof-card p:last-child,
.proof-card p + p {
  color: #6a7b79;
  font-size: 0.98rem;
  line-height: 1.8;
}

.proof-card h3 + p,
.proof-eyebrow + p {
  margin-top: 1rem;
}

.contact-card {
  max-width: 1160px;
  margin-inline: auto;
  padding: 4rem 1.5rem;
  border: 1px solid rgba(23, 59, 52, 0.08);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(25, 53, 45, 0.08);
}

.contact-content {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.contact-content h2 {
  font-size: clamp(2.7rem, 5vw, 4.9rem);
}

.contact-description {
  max-width: 44ch;
  margin: 1.8rem auto 0;
  color: var(--color-body);
  font-size: 1.12rem;
  line-height: 1.9;
}

.contact-button {
  margin-top: 2.4rem;
}

.contact-form-shell {
  max-width: 760px;
  margin: 2.4rem auto 0;
  text-align: left;
}

.contact-form-shell form {
  display: grid;
  gap: 1rem;
}

.contact-form-shell label {
  display: block;
  color: var(--color-heading);
  font-weight: 600;
  line-height: 1.5;
}

.contact-form-shell input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.contact-form-shell select,
.contact-form-shell textarea {
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(25, 97, 100, 0.18);
  border-radius: 1rem;
  background: #f8faf7;
  color: var(--color-heading);
  font: inherit;
}

.contact-form-shell textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form-shell input[type="submit"],
.contact-form-shell button,
.contact-form-shell .wpcf7-submit,
.contact-form-shell .wpforms-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.95rem 2rem;
  border: 1px solid transparent;
  border-radius: 0.9rem;
  background: var(--color-brand);
  color: #ffffff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color var(--transition-fast),
    transform var(--transition-fast);
}

.contact-form-shell input[type="submit"]:hover,
.contact-form-shell button:hover,
.contact-form-shell .wpcf7-submit:hover,
.contact-form-shell .wpforms-submit:hover,
.contact-form-shell input[type="submit"]:focus-visible,
.contact-form-shell button:focus-visible,
.contact-form-shell .wpcf7-submit:focus-visible,
.contact-form-shell .wpforms-submit:focus-visible {
  background: var(--color-brand-dark);
  transform: translateY(-1px);
}

.contact-form-shell .wpcf7-response-output,
.contact-form-shell .wpforms-confirmation-container-full,
.contact-form-shell .wpforms-error-container {
  margin: 1rem 0 0;
  border-radius: 1rem;
}

.why-copy h2 {
  max-width: 11ch;
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.faq-panel {
  padding: 1.5rem;
  border: 1px solid rgba(23, 59, 52, 0.08);
  border-radius: var(--radius-xl);
  background: #edf3ef;
  box-shadow: 0 22px 52px rgba(25, 53, 45, 0.07);
}

.faq-panel-label {
  padding: 0.4rem 0.5rem 0.8rem;
  color: var(--color-brand);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.faq-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 0.4rem;
}

.faq-card {
  padding: 1.7rem 1.5rem;
  border: 1px solid rgba(23, 59, 52, 0.06);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(25, 53, 45, 0.06);
}

.faq-card h3 {
  color: var(--color-heading);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.faq-card p {
  max-width: 38ch;
  margin-top: 1rem;
  color: var(--color-body);
  font-size: 1rem;
  line-height: 1.85;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--color-heading);
  color: #ffffff;
}

.site-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-block: 1.6rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (min-width: 700px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .portfolio-item-wide,
  .portfolio-item-compact {
    grid-column: span 1;
  }

  .portfolio-card,
  .portfolio-card-compact {
    min-height: 18rem;
  }
}

@media (min-width: 1024px) {
  .flywheel-intro {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    align-items: end;
    gap: 4rem;
  }

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

  .founder-grid,
  .why-grid {
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
    gap: 2.5rem;
  }

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

  .insight-card {
    min-height: 18rem;
  }

  .proof-row-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .proof-row-narrative {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-card {
    min-height: 23rem;
  }

  .proof-card-wide {
    min-height: 20rem;
  }

  .site-footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1200px) {
  .portfolio-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .portfolio-item-wide {
    grid-column: span 3;
  }

  .portfolio-item-compact {
    grid-column: span 2;
  }

  .portfolio-card {
    min-height: 21rem;
  }

  .portfolio-card-compact {
    min-height: 17rem;
  }
}

@media (max-width: 1023px) {
  .founder-section,
  .insights-section,
  .proof-section,
  .contact-section,
  .about-section,
  .why-section {
    padding-block: 5rem 5.3rem;
  }

  .flywheel-section,
  .partners-section,
  .portfolio-section {
    padding-block: 5rem 5.3rem;
  }

  .founder-panel {
    max-width: 100%;
    justify-self: stretch;
    border-radius: 2.35rem;
    padding: 1.65rem;
  }

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

  .insights-grid > :last-child {
    grid-column: 1 / -1;
  }

  .proof-row-metrics,
  .proof-row-narrative {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-row-metrics .proof-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 699px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    margin-top: 2.6rem;
  }

  .portfolio-card,
  .portfolio-card-compact {
    min-height: 16.5rem;
    border-radius: 1.6rem;
  }

  .portfolio-face {
    padding: 1.1rem;
  }

  .portfolio-logo-stage,
  .portfolio-logo-stage-wide {
    min-height: 10.75rem;
    padding: 1.15rem;
    border-radius: 1.25rem;
  }

  .portfolio-logo-media,
  .portfolio-logo-media-wide {
    width: min(72%, 12rem);
    height: 5.1rem;
  }

  .portfolio-fallback-logo,
  .portfolio-fallback-logo-wide {
    width: 5.85rem;
    height: 5.85rem;
    border-radius: 1.5rem;
    font-size: 1.6rem;
  }

  .flywheel-copy h2 {
    font-size: clamp(2.2rem, 10vw, 3.35rem);
    line-height: 0.99;
  }

  .flywheel-card {
    min-height: 18rem;
    padding: 1.45rem;
  }

  .partner-strip-track {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }

  .partner-strip-track::-webkit-scrollbar {
    display: none;
  }

  .partner-item {
    min-width: 180px;
    min-height: 90px;
    flex: 0 0 auto;
    padding: 1rem 1.05rem;
    scroll-snap-align: start;
  }

  .partner-chip {
    gap: 0.7rem;
    font-size: 0.95rem;
  }

  .partner-item + .partner-item::before {
    top: 22%;
    bottom: 22%;
  }

  .founder-highlight-item,
  .faq-card {
    border-radius: 1.3rem;
  }

  .insights-grid,
  .proof-row-metrics,
  .proof-row-narrative {
    grid-template-columns: 1fr;
  }

  .insights-grid > :last-child,
  .proof-row-metrics .proof-card:last-child {
    grid-column: auto;
  }

  .about-grid,
  .founder-grid,
  .why-grid {
    gap: 2rem;
  }
}
