:root {
  --color-paper: #fbfbfb;
  --color-white: #fdfdfd;
  --color-cream: #f4f3f2;
  --color-evergreen: #04281b;
  --color-green: #1c3d2b;
  --color-muted: #b0b0a3;
  --color-gold: #c8840a;
  --color-gold-light: #e0a321;
  --color-border: #dfddd8;
  --font-heading: "DM Serif Display", Georgia, serif;
  --font-body: "Lato", Arial, sans-serif;
  --shadow-soft: 0 14px 34px rgba(4, 40, 27, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow-x: hidden;
  color: var(--color-evergreen);
  background: var(--color-paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-gold-light);
  outline-offset: 4px;
}

h1,
h2,
h3,
p,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.12;
}

h2 {
  margin-bottom: 36px;
  font-size: clamp(2rem, 3.1vw, 2.5rem);
  text-align: center;
}

h3 {
  font-size: 1.2rem;
}

.container {
  width: min(100% - 40px, 1200px);
  margin-inline: auto;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 24px;
  border: 1px solid var(--color-evergreen);
  border-radius: 7px;
  color: var(--color-white);
  background: var(--color-evergreen);
  box-shadow: 0 7px 15px rgba(4, 40, 27, 0.18);
  font-size: 15px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--color-green);
  box-shadow: 0 10px 22px rgba(4, 40, 27, 0.22);
}

.button svg {
  width: 19px;
  height: 19px;
}

.button-small {
  min-height: 44px;
  padding: 10px 20px;
}

.button-gold {
  border-color: var(--color-gold);
  background: var(--color-gold);
}

.button-gold:hover {
  background: #a96d04;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid #e8e6e2;
  background: rgba(253, 253, 253, 0.98);
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 255px;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.4vw, 32px);
  font-size: 15px;
  font-weight: 600;
}

.primary-nav > a:not(.button) {
  position: relative;
  padding-block: 28px;
  white-space: nowrap;
}

.primary-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--color-gold);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.primary-nav > a:not(.button):hover::after,
.primary-nav > a.active::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 40%, rgba(200, 132, 10, 0.08), transparent 18%),
    linear-gradient(115deg, #ffffff 0%, #fbfbfa 60%, #f4f3f2 100%);
}

.hero-grid {
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.25fr);
  align-items: center;
  gap: 48px;
  padding-block: 42px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  padding: 5px 12px;
  border: 1px solid #8a9b91;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.eyebrow svg {
  width: 14px;
  height: 14px;
}

.hero h1 {
  margin-bottom: 20px;
  color: var(--color-evergreen);
  font-size: clamp(2.75rem, 4.7vw, 4rem);
}

.hero h1 span,
.connected h2 span {
  color: var(--color-gold);
}

.hero-intro {
  max-width: 640px;
  margin-bottom: 28px;
  color: #26372f;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
}

.tour-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
}

.play-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-green);
  border-radius: 50%;
}

.play-icon svg {
  width: 17px;
  height: 17px;
}

.hero-product {
  position: relative;
}

.hero-product::before {
  position: absolute;
  inset: 8% -5% -8% 8%;
  z-index: -1;
  border-radius: 50%;
  content: "";
  background: rgba(28, 61, 43, 0.08);
  filter: blur(30px);
}

.hero-product img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.workflow {
  padding: 72px 0 66px;
  border-top: 1px solid #ebe9e5;
  background: var(--color-white);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}

.workflow-item {
  position: relative;
  text-align: center;
}

.workflow-item:not(:last-child)::after {
  position: absolute;
  top: 50px;
  left: calc(50% + 42px);
  width: calc(100% - 60px);
  border-top: 1px dashed #547064;
  content: "";
}

.step {
  position: relative;
  z-index: 2;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  margin: 0 auto -8px;
  border-radius: 50%;
  color: white;
  background: var(--color-evergreen);
  font-size: 13px;
  font-weight: 700;
}

.workflow-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border: 1px solid #ded8cd;
  border-radius: 50%;
  background: white;
}

.workflow-icon img {
  width: 42px;
  max-height: 42px;
  object-fit: contain;
}

.workflow-item h3 {
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
}

.workflow-item p {
  margin-bottom: 0;
  color: #435249;
  font-size: 14px;
  line-height: 1.45;
}

.modules {
  padding: 26px 0 78px;
  background: var(--color-white);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.module-card {
  min-height: 205px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 28px 18px 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.module-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  color: var(--color-evergreen);
}

.module-icon img,
.module-icon svg {
  max-width: 44px;
  max-height: 44px;
}

.module-card h3 {
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
}

.module-card p {
  margin-bottom: 0;
  color: #4c5952;
  font-size: 14px;
}

.results {
  position: relative;
  overflow: hidden;
  padding: 62px 0;
  color: white;
  background:
    radial-gradient(circle at 5% 18%, rgba(224, 163, 33, 0.65) 0 2px, transparent 3px),
    radial-gradient(circle at 91% 23%, rgba(224, 163, 33, 0.8) 0 2px, transparent 3px),
    radial-gradient(circle at 20% 85%, rgba(224, 163, 33, 0.7) 0 1px, transparent 3px),
    linear-gradient(110deg, #063f2c, #003524 70%, #064331);
  background-size: 180px 160px, 220px 190px, 250px 220px, auto;
}

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

.result-card {
  min-width: 0;
  padding: 0 34px;
  text-align: center;
}

.result-card + .result-card {
  border-left: 1px solid rgba(224, 163, 33, 0.65);
}

.result-number {
  margin-bottom: 4px;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 1;
}

.result-label {
  max-width: 190px;
  min-height: 48px;
  margin: 0 auto 10px;
  font-size: 15px;
  line-height: 1.35;
}

.rating {
  width: 82px;
  margin: 0 auto 14px;
}

.result-card blockquote {
  margin-bottom: 7px;
  font-size: 14px;
  line-height: 1.45;
}

.result-card cite {
  color: #e4e7e5;
  font-size: 13px;
  font-style: normal;
}

.connected {
  padding: 76px 0 70px;
  background: var(--color-white);
}

.connected-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.35fr;
  align-items: center;
  gap: 60px;
}

.connected h2 {
  margin-bottom: 14px;
  text-align: left;
}

.connected-copy > p {
  margin-bottom: 22px;
  color: #46554d;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.check-list svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  margin-top: 2px;
}

.network {
  display: grid;
  grid-template-columns: 145px 1fr 142px 1fr 160px;
  align-items: center;
  gap: 8px;
}

.network-column {
  display: grid;
  gap: 12px;
}

.network-column span {
  padding: 8px 12px;
  border: 1px solid #d8d8d2;
  border-radius: 999px;
  background: white;
  box-shadow: 0 3px 8px rgba(4, 40, 27, 0.05);
  font-size: 13px;
  text-align: center;
}

.network-lines {
  height: 145px;
  background: repeating-linear-gradient(to bottom, transparent 0 17px, #7f958b 18px 19px, transparent 20px 36px);
  clip-path: polygon(0 0, 100% 27%, 100% 73%, 0 100%);
  opacity: 0.8;
}

.network-lines.reverse {
  transform: scaleX(-1);
}

.network-badge {
  width: 142px;
  filter: drop-shadow(0 10px 12px rgba(4, 40, 27, 0.2));
}

.platform-action {
  padding: 0 0 72px;
  background: var(--color-white);
}

.platform-action h2 {
  margin-bottom: 24px;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.action-grid figure {
  margin-bottom: 0;
}

.action-grid img {
  width: 100%;
  aspect-ratio: 2.55 / 1;
  object-fit: cover;
  border: 1px solid #d7dbd8;
  border-radius: 7px;
  box-shadow: 0 6px 12px rgba(4, 40, 27, 0.14);
}

.action-grid figcaption {
  padding-top: 10px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.case-study {
  padding: 46px 0;
  border-top: 1px solid #e6e3de;
  background: linear-gradient(110deg, #fbfaf8, #fff);
}

.case-study-inner {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 170px;
  align-items: center;
  gap: 34px;
}

.portrait {
  width: 150px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}

.customer-quote {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.quote-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  color: var(--color-gold);
  fill: currentColor;
  stroke: none;
}

.customer-quote blockquote {
  margin-bottom: 7px;
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.45;
}

.customer-quote cite {
  font-size: 13px;
  font-style: normal;
}

.customer-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.customer-logo {
  width: 160px;
  justify-self: end;
}

.closing-cta {
  padding: 28px 0;
  color: white;
  background: linear-gradient(105deg, #00452f, #003423);
}

.cta-inner {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.cta-inner > img {
  width: 56px;
}

.cta-copy h2 {
  margin-bottom: 4px;
  color: white;
  font-size: 28px;
  text-align: left;
}

.cta-copy p,
.cta-action p {
  margin-bottom: 0;
}

.cta-copy p {
  max-width: 600px;
  color: #e0e9e4;
  font-size: 14px;
}

.cta-action {
  text-align: center;
}

.cta-action p {
  margin-top: 7px;
  color: #dfe7e3;
  font-size: 13px;
}

.site-footer {
  color: #dbe3df;
  background: #022b1e;
}

.footer-inner {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 10px;
  font-size: 13px;
}

.footer-inner a {
  color: white;
  font-family: var(--font-heading);
  font-size: 17px;
}

.footer-inner p {
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 1100px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 14px;
  }

  .primary-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px 22px;
  }

  .primary-nav > a:not(.button) {
    padding-block: 8px;
  }

  .primary-nav > a:not(.button)::after {
    bottom: 2px;
  }

  .hero-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 30px;
  }

  .workflow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 24px;
  }

  .workflow-item::after {
    visibility: hidden;
  }

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

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

  .network {
    max-width: 760px;
    width: 100%;
    margin-inline: auto;
  }
}

@media (max-width: 850px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding-block: 64px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-product {
    width: 100%;
  }

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

  .result-card {
    padding: 28px;
  }

  .result-card + .result-card {
    border-left: 0;
  }

  .result-card:nth-child(even) {
    border-left: 1px solid rgba(224, 163, 33, 0.65);
  }

  .result-card:nth-child(n + 3) {
    border-top: 1px solid rgba(224, 163, 33, 0.65);
  }

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

  .case-study-inner {
    grid-template-columns: 120px 1fr;
  }

  .portrait {
    width: 120px;
  }

  .customer-logo {
    grid-column: 2;
    justify-self: start;
  }

  .cta-inner {
    grid-template-columns: 56px 1fr;
  }

  .cta-action {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1200px);
  }

  h2 {
    margin-bottom: 28px;
    font-size: 2rem;
  }

  .brand img {
    width: 220px;
  }

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

  .primary-nav .button {
    grid-column: 1 / -1;
  }

  .hero-grid {
    min-height: auto;
    padding-block: 52px;
  }

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

  .hero-intro {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .tour-link {
    justify-content: center;
  }

  .workflow {
    padding-block: 58px;
  }

  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .workflow-item p {
    max-width: 330px;
    margin-inline: auto;
  }

  .modules {
    padding-bottom: 58px;
  }

  .module-grid,
  .results-grid,
  .action-grid {
    grid-template-columns: 1fr;
  }

  .module-card {
    min-height: 0;
  }

  .result-card:nth-child(even) {
    border-left: 0;
  }

  .result-card + .result-card {
    border-top: 1px solid rgba(224, 163, 33, 0.65);
  }

  .connected {
    padding-block: 58px;
  }

  .network {
    grid-template-columns: 1fr 108px 1fr;
    gap: 12px;
  }

  .network-lines {
    display: none;
  }

  .network-badge {
    width: 108px;
  }

  .network-column span {
    padding: 7px 6px;
    font-size: 11px;
  }

  .platform-action {
    padding-bottom: 58px;
  }

  .case-study-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .portrait,
  .customer-logo {
    justify-self: center;
  }

  .customer-logo {
    grid-column: auto;
  }

  .customer-quote {
    flex-direction: column;
    align-items: center;
  }

  .customer-stats {
    justify-content: center;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-inner > img,
  .cta-action {
    grid-column: auto;
    justify-self: center;
  }

  .cta-copy h2 {
    text-align: center;
  }

  .cta-action {
    text-align: center;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
.results-page {
  background: var(--color-paper);
}

.stories-hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 48px;
  border-bottom: 1px solid var(--color-border);
  background:
    radial-gradient(circle at 2% 45%, rgba(200, 132, 10, 0.08), transparent 19%),
    linear-gradient(115deg, #fff 0%, #fbfbfa 62%, #f4f3f2 100%);
}

.stories-hero-pine { position:absolute; top:30px; left:-8px; width:68px; height:auto; z-index:0; opacity:0.92; pointer-events:none; }

.stories-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(560px, 1.08fr);
  align-items: center;
  gap: 48px;
}

.stories-hero-copy h1 {
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.stories-hero-copy h1 span {
  display: inline-block;
  margin-top: 0.14em;
  color: var(--color-gold);
  font-size: 0.72em;
  line-height: 1.1;
  white-space: nowrap;
}

.stories-hero-copy > p {
  max-width: 570px;
  margin-bottom: 28px;
  color: #304239;
  font-size: 16px;
  line-height: 1.6;
}

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

.hero-benefit {
  min-width: 0;
  padding: 4px 13px;
  text-align: center;
}

.hero-benefit + .hero-benefit {
  border-left: 1px solid var(--color-border);
}

.hero-benefit img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin: 0 auto 13px;
}

.hero-benefit strong {
  display: block;
  font-size: 13px;
  line-height: 1.4;
}

.success-showcase {
  padding: 28px 24px 24px;
  border: 1px solid #174c39;
  border-radius: 18px;
  color: white;
  background:
    radial-gradient(circle at 12% 21%, rgba(224, 163, 33, 0.8) 0 2px, transparent 3px),
    radial-gradient(circle at 87% 16%, rgba(224, 163, 33, 0.8) 0 2px, transparent 3px),
    linear-gradient(130deg, #003425, #00291e 75%, #064431);
  box-shadow: var(--shadow-soft);
}

.success-showcase h2 {
  margin-bottom: 24px;
  color: var(--color-gold-light);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.success-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.success-company {
  overflow: hidden;
  border-radius: 8px;
  background: white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.success-house {
  width: 100%;
  aspect-ratio: 1.28 / 1;
  object-fit: cover;
  object-position: center;
}

.success-company-info {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 12px 8px 11px;
  color: var(--color-evergreen);
  text-align: center;
}

.success-company-info img {
  width: 118px;
  height: 34px;
  object-fit: contain;
}

.success-company-info p {
  margin: 5px 0 0;
  color: #415048;
  font-size: 12px;
}

.featured-studies,
.depth-stories,
.advantage,
.customer-voices {
  padding: 34px 0;
}

.featured-studies {
  background: #fff;
}

.depth-stories {
  border-top: 1px solid #ebe8e3;
  background: linear-gradient(110deg, #f8f7f5, #fff);
}

.ornament-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.results-page .ornament-heading {
  margin-bottom: 22px;
}

.ornament-heading::before,
.ornament-heading::after {
  width: 52px;
  height: 1px;
  flex: 0 0 52px;
  content: "";
  background: var(--color-gold);
}

.featured-grid,
.depth-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.featured-card,
.depth-card {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 9px;
  background: white;
  box-shadow: 0 9px 22px rgba(4, 40, 27, 0.08);
}

.featured-image {
  position: relative;
  height: 168px;
  overflow: hidden;
  background: var(--color-evergreen);
}

.featured-image > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to bottom, rgba(0, 25, 18, 0.2), transparent 45%, rgba(0, 25, 18, 0.42));
}

.featured-image .featured-logo {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 50%;
  width: 185px;
  height: 54px;
  padding: 8px 12px;
  object-fit: contain;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-50%);
}

.location-pill {
  position: absolute;
  z-index: 2;
  bottom: 14px;
  left: 50%;
  padding: 7px 15px;
  border-radius: 999px;
  color: white;
  background: rgba(4, 40, 27, 0.88);
  font-size: 13px;
  white-space: nowrap;
  transform: translateX(-50%);
}

.featured-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 18px 12px 14px;
}

.featured-metrics div {
  min-width: 0;
  padding: 0 8px;
  text-align: center;
}

.featured-metrics div + div {
  border-left: 1px solid var(--color-border);
}

.featured-metrics strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-heading);
  font-size: 22px;
}

.featured-metrics span {
  display: block;
  color: #45544c;
  font-size: 12px;
  line-height: 1.35;
}

.study-link {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 20px 18px;
  border: 1px solid var(--color-gold);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease;
}

.study-link:hover {
  color: white;
  background: var(--color-evergreen);
}

.study-link svg {
  width: 18px;
  height: 18px;
}

.depth-card {
  display: flex;
  flex-direction: column;
  padding: 20px 20px 0;
}

.depth-logo {
  width: 160px;
  height: 40px;
  margin-bottom: 14px;
  object-fit: contain;
  object-position: left center;
}

.depth-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 14px;
}

.depth-copy h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.depth-copy p {
  color: #425148;
  font-size: 14px;
  line-height: 1.5;
}

.depth-copy h4 {
  margin: 14px 0 8px;
  font-family: var(--font-heading);
  font-size: 17px;
}

.result-list {
  display: grid;
  gap: 6px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  color: #34463d;
  font-size: 13px;
}

.result-list li {
  position: relative;
  padding-left: 21px;
}

.result-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  border: 1px solid #789486;
  border-radius: 50%;
  content: "✓";
  color: var(--color-gold);
  font-size: 9px;
  font-weight: 900;
}

.owner {
  align-self: center;
  justify-self: stretch;
  text-align: center;
}

.owner img {
  width: 88px;
  height: 88px;
  max-width: none;
  margin: 0 auto 8px;
  border: 3px solid white;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 5px 14px rgba(4, 40, 27, 0.2);
}

.owner figcaption strong {
  white-space: nowrap;
}

.owner figcaption strong,
.owner figcaption span {
  display: block;
}

.owner figcaption strong {
  font-family: var(--font-heading);
  font-size: 17px;
}

.owner figcaption span {
  font-size: 12px;
}

.depth-card .study-link {
  width: 175px;
  margin-top: auto;
  margin-right: 0;
  margin-left: auto;
}

.advantage {
  border-top: 1px solid var(--color-border);
  background: white;
}

.advantage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(330px, 0.8fr);
  align-items: stretch;
  gap: 38px;
}

.advantage-main .ornament-heading {
  margin-bottom: 30px;
  font-size: clamp(1.8rem, 2.6vw, 2.25rem);
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.advantage-grid article {
  position: relative;
  text-align: center;
}

.advantage-grid article:not(:last-child)::after {
  position: absolute;
  top: 38px;
  left: calc(50% + 50px);
  width: calc(100% - 82px);
  border-top: 1px dashed #5e8170;
  content: "";
}

.advantage-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin: 0 auto 17px;
  border: 1px solid #dbd8d1;
  border-radius: 50%;
  background: #fbfbf8;
}

.advantage-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.advantage-grid h3 {
  margin-bottom: 9px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
}

.advantage-grid p {
  margin-bottom: 0;
  color: #48574f;
  font-size: 13px;
  line-height: 1.45;
}

.melissa-quote {
  position: relative;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 24px 118px 24px 34px;
  border-radius: 12px;
  color: white;
  background:
    radial-gradient(circle at 13% 15%, rgba(224, 163, 33, 0.9) 0 2px, transparent 3px),
    radial-gradient(circle at 87% 20%, rgba(224, 163, 33, 0.65) 0 2px, transparent 3px),
    linear-gradient(125deg, #064532, #003223);
  box-shadow: var(--shadow-soft);
}

.large-quote {
  display: block;
  height: 40px;
  color: var(--color-gold-light);
  font-family: Georgia, serif;
  font-size: 68px;
  line-height: 0.9;
}

.melissa-quote blockquote {
  margin: 10px 0 18px;
  font-size: 17px;
  line-height: 1.55;
}

.melissa-quote cite {
  font-size: 13px;
  font-style: normal;
}

.melissa-quote img {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 84px;
  height: 84px;
  border: 2px solid var(--color-gold-light);
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  transform: translateY(-50%);
}

.customer-voices {
  border-top: 1px solid #e9e6e0;
  background: #fbfbfa;
}

.customer-logo-carousel {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}

.carousel-arrow {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #6f7d74;
}

.carousel-arrow svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}

.customer-logo-row {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 26px;
}

.customer-logo-row img {
  width: 100%;
  height: 40px;
  object-fit: contain;
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.voice-card {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  padding: 14px 37% 14px 16px;
  border-radius: 10px;
  color: white;
  background:
    radial-gradient(circle at 10% 15%, rgba(224, 163, 33, 0.7) 0 2px, transparent 3px),
    linear-gradient(125deg, #064632, #002f22);
  box-shadow: 0 8px 20px rgba(4, 40, 27, 0.17);
}

.star-rating {
  margin-bottom: 10px;
  color: var(--color-gold-light);
  font-size: 13px;
  letter-spacing: 1px;
}

.voice-card blockquote {
  position: relative;
  z-index: 2;
  margin-bottom: 10px;
  font-size: 12px;
  font-style: italic;
  line-height: 1.45;
}

.voice-card cite {
  position: relative;
  z-index: 2;
  color: #e2ebe6;
  font-size: 11px;
  font-style: normal;
}

.voice-card > img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  mask-image: linear-gradient(to left, black 82%, transparent 100%);
}

.play-badge {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 20%;
  transform: translate(50%, -50%);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid white;
  border-radius: 50%;
  background: rgba(4, 40, 27, 0.72);
}

.play-badge svg {
  width: 20px;
  height: 20px;
}

.results-cta {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 18px 0;
  color: white;
  background: linear-gradient(105deg, #00503a, #003324);
}

.cta-decoration {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.cta-decoration-left {
  left: 0;
  width: 240px;
  object-fit: cover;
  object-position: left center;
  -webkit-mask-image: linear-gradient(to right, black 55%, transparent 100%);
  mask-image: linear-gradient(to right, black 55%, transparent 100%);
}

.results-cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.cta-calendar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--color-gold-light);
}

.cta-calendar svg {
  width: 40px;
  height: 40px;
}

.results-cta-copy h2 {
  margin-bottom: 4px;
  color: white;
  font-size: clamp(1.4rem, 2.1vw, 1.7rem);
  line-height: 1.15;
  text-align: left;
}

.results-cta-copy p {
  margin-bottom: 0;
  color: #e3ece7;
  font-size: 14px;
}

.results-cta-action {
  text-align: center;
}

.results-cta-action p {
  margin: 9px 0 0;
  color: #dce8e2;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .stories-hero-grid {
    grid-template-columns: 1fr;
  }

  .stories-hero-copy {
    max-width: 800px;
  }

  .success-showcase {
    width: 100%;
  }

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

  .advantage-layout {
    grid-template-columns: 1fr;
  }

  .melissa-quote {
    min-height: 260px;
  }

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

@media (max-width: 850px) {
  .featured-studies,
  .depth-stories,
  .advantage,
  .customer-voices {
    padding: 72px 0;
  }

  .success-showcase-grid,
  .featured-grid,
  .depth-grid {
    grid-template-columns: 1fr;
  }

  .success-company {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
  }

  .success-house {
    height: 100%;
    aspect-ratio: auto;
  }

  .advantage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
  }

  .advantage-grid article::after {
    display: none;
  }

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

  .results-cta-inner {
    grid-template-columns: 64px 1fr;
  }

  .results-cta-action {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .stories-hero {
    padding: 58px 0 64px;
  }

  .stories-hero-copy h1 {
    font-size: clamp(2.65rem, 13vw, 3.65rem);
  }

  .hero-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 0;
  }

  .hero-benefit:nth-child(3) {
    border-left: 0;
  }

  .success-showcase {
    padding: 24px 16px 16px;
  }

  .success-showcase-grid {
    gap: 16px;
  }

  .success-company {
    display: block;
  }

  .success-house {
    aspect-ratio: 1.7 / 1;
  }

  .ornament-heading {
    gap: 12px;
  }

  .ornament-heading::before,
  .ornament-heading::after {
    width: 24px;
    flex-basis: 24px;
  }

  .featured-image {
    height: 220px;
  }

  .featured-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 0;
  }

  .featured-metrics div:nth-child(3) {
    border-left: 0;
  }

  .depth-card-body {
    grid-template-columns: 1fr;
  }

  .owner {
    order: -1;
  }

  .depth-card .study-link {
    width: auto;
    margin-left: 0;
  }

  .advantage-grid,
  .voice-grid {
    grid-template-columns: 1fr;
  }

  .melissa-quote {
    padding: 34px 28px 170px;
  }

  .melissa-quote img {
    right: 50%;
    bottom: 28px;
    transform: translateX(50%);
  }

  .customer-logo-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .voice-card {
    min-height: 240px;
  }

  .results-cta {
    padding: 72px 0;
  }

  .results-cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-calendar,
  .results-cta-action {
    grid-column: auto;
    justify-self: center;
  }

  .results-cta-copy h2,
  .results-cta-action {
    text-align: center;
  }
}
/* === hero consistency: match mockups (H1 ~43px + pine) === */
[class*="hero"] h1 { font-size: clamp(2.25rem, 3vw, 2.75rem) !important; line-height: 1.12 !important; }
