:root {
  --ink: #18201d;
  --muted: #5e6862;
  --paper: #fbfaf6;
  --mist: #eef1ec;
  --green: #315f4f;
  --green-dark: #15392f;
  --leaf: #6f8f78;
  --amber: #e7ad52;
  --coral: #a84832;
  --white: #ffffff;
  --line: rgba(24, 32, 29, 0.14);
  --shadow: 0 22px 70px rgba(21, 57, 47, 0.18);
  --type-hero: clamp(3.1rem, 6.2vw, 5.6rem);
  --type-section: clamp(2.45rem, 4.4vw, 4rem);
  --type-section-compact: clamp(2.2rem, 3.45vw, 3.35rem);
  --type-feature: clamp(2.1rem, 3.7vw, 3.35rem);
  --type-lead: clamp(1.08rem, 1.4vw, 1.22rem);
  --type-body-large: clamp(1.03rem, 1.1vw, 1.12rem);
  --type-item-title: clamp(1.12rem, 1.3vw, 1.3rem);
  --site-max: 1600px;
  --site-gutter: clamp(20px, 6vw, 86px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

:where(a, button, summary, input, textarea):focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 4px;
}

.hero :where(a, button):focus-visible,
.testimonial-band :where(a, button):focus-visible,
.contact-section :where(a, button):focus-visible {
  outline-color: var(--amber);
}

.button.primary:focus-visible {
  outline-color: var(--green-dark);
}

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

picture {
  display: block;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 50%;
  width: min(100%, var(--site-max));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
  transform: translateX(-50%);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(251, 250, 246, 0.94);
  box-shadow: 0 12px 36px rgba(24, 32, 29, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  position: relative;
  display: block;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
}

.brand-mark-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 180ms ease;
}

.brand-mark-image-dark {
  opacity: 0;
}

.site-header.is-scrolled .brand-mark-image-light,
.site-header.is-open .brand-mark-image-light,
.project-page .site-header .brand-mark-image-light,
.not-found-page .site-header .brand-mark-image-light {
  opacity: 0;
}

.site-header.is-scrolled .brand-mark-image-dark,
.site-header.is-open .brand-mark-image-dark,
.project-page .site-header .brand-mark-image-dark,
.not-found-page .site-header .brand-mark-image-dark {
  opacity: 1;
}

.site-nav {
  justify-self: center;
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a,
.header-phone {
  opacity: 0.9;
}

.site-nav a:hover,
.header-phone:hover {
  opacity: 1;
}

.header-phone {
  font-weight: 800;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: center;
  padding: clamp(112px, 12vh, 150px) 0 clamp(76px, 9vh, 118px);
  overflow: hidden;
  color: var(--white);
}

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

.hero-media {
  background:
    linear-gradient(130deg, #12241f 0%, #315f4f 62%, #b8863c 100%);
}

.hero-carousel {
  --carousel-radius: clamp(312px, 35.1vw, 507px);
  position: absolute;
  z-index: 2;
  top: 50%;
  right: max(clamp(-180px, -8vw, -96px), calc((100vw - var(--site-max)) / 2 - 140px));
  width: clamp(429px, 44.2vw, 728px);
  height: clamp(299px, 36.4vw, 481px);
  perspective: 1200px;
  transform: translateY(-50%);
}

.hero-carousel-track {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  animation: hero-carousel-spin 22s linear infinite;
}

.hero-carousel-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(299px, 29.9vw, 442px);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: #eef1ec;
  box-shadow: 0 30px 90px rgba(6, 17, 14, 0.48);
  transform:
    translate(-50%, -50%)
    rotateY(calc(var(--i) * 60deg))
    translateZ(var(--carousel-radius));
  backface-visibility: hidden;
  opacity: 0.86;
}

.hero-carousel-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes hero-carousel-spin {
  from {
    transform: rotateY(0deg);
  }

  to {
    transform: rotateY(-360deg);
  }
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(14, 28, 24, 0.96) 0%, rgba(14, 28, 24, 0.86) 34%, rgba(14, 28, 24, 0.36) 68%, rgba(14, 28, 24, 0.22) 100%),
    linear-gradient(0deg, rgba(24, 32, 29, 0.74), rgba(24, 32, 29, 0.08) 56%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(var(--site-max), calc(100% - (var(--site-gutter) * 2)));
  margin: clamp(30px, 6vh, 70px) auto 0;
}

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

.hero .eyebrow {
  color: var(--amber);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: var(--type-hero);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 650px;
}

h2 {
  margin-bottom: 18px;
  font-size: var(--type-section);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: var(--type-item-title);
  line-height: 1.15;
}

.hero-content p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--type-lead);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 19px;
  border: 1px solid transparent;
  font-weight: 850;
}

.button.primary {
  color: var(--ink);
  background: var(--amber);
}

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

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, calc(var(--site-max) / 3)));
  justify-content: center;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.proof-strip > div {
  padding: 24px clamp(20px, 4vw, 56px);
  border-left: 1px solid var(--line);
  background: var(--paper);
}

.proof-strip > div:first-child {
  border-left: 0;
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  margin-bottom: 3px;
  font-size: var(--type-item-title);
  line-height: 1.1;
}

.proof-strip span {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.35;
}

.section {
  padding: clamp(72px, 10vw, 130px) var(--site-gutter);
}

main section[id] {
  scroll-margin-top: 84px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, 520px) minmax(420px, 900px);
  justify-content: center;
  gap: clamp(34px, 7vw, 110px);
  align-items: center;
  padding-top: clamp(48px, 6vw, 76px);
  padding-bottom: clamp(28px, 4vw, 52px);
}

.intro-grid h2 {
  max-width: 520px;
  margin-bottom: 0;
  font-size: var(--type-section-compact);
}

.lead-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: var(--type-body-large);
  line-height: 1.48;
}

.lead-copy p {
  margin-bottom: 18px;
}

.lead-copy p:last-child {
  margin-bottom: 0;
}

.process,
.pain-points,
.services {
  display: grid;
  grid-template-columns: minmax(260px, 520px) minmax(420px, 900px);
  justify-content: center;
  gap: clamp(34px, 7vw, 110px);
  align-items: start;
  padding-top: clamp(56px, 7vw, 92px);
  padding-bottom: clamp(62px, 8vw, 104px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
}

.pain-points {
  padding-top: clamp(56px, 7vw, 92px);
}

.process-intro,
.pain-points .section-heading,
.services .section-heading {
  position: sticky;
  top: 100px;
}

.process-intro h2,
.pain-points .section-heading h2,
.services .section-heading h2 {
  max-width: 520px;
  margin-bottom: 18px;
  font-size: var(--type-section-compact);
}

.process-intro-text {
  max-width: 470px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: var(--type-body-large);
}

.process-steps {
  display: grid;
  border-top: 1px solid var(--line);
}

.contact-panel {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 40px rgba(24, 32, 29, 0.05);
}

.process article {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
  padding: clamp(22px, 2.6vw, 30px) 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
}

.pain-grid,
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.pain-grid article,
.service-grid article {
  padding: clamp(22px, 2.6vw, 30px) 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
}

.pain-grid h3,
.service-grid h3 {
  max-width: 780px;
  margin-bottom: 8px;
  font-size: var(--type-item-title);
}

.pain-grid p,
.service-grid p {
  max-width: 860px;
}

.service-icon {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  color: var(--green-dark);
  background: currentColor;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.service-icon-website {
  mask-image: url("assets/icons/website.svg");
  -webkit-mask-image: url("assets/icons/website.svg");
}

.service-icon-ai {
  mask-image: url("assets/icons/ai-toepassingen.svg");
  -webkit-mask-image: url("assets/icons/ai-toepassingen.svg");
}

.service-icon-beheer {
  mask-image: url("assets/icons/beheer-onderhoud.svg");
  -webkit-mask-image: url("assets/icons/beheer-onderhoud.svg");
}

.process span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin: 0;
  border: 1px solid rgba(49, 95, 79, 0.26);
  border-radius: 999px;
  background: rgba(49, 95, 79, 0.08);
  color: var(--green-dark);
  font-size: 0.88rem;
  font-weight: 900;
}

.process h3 {
  margin-bottom: 8px;
}

.process p,
.pain-grid p,
.service-grid p,
.work-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--green-dark);
  font-weight: 850;
}

.service-link span {
  transition: transform 160ms ease;
}

.service-link:hover span {
  transform: translateX(4px);
}

.process .eyebrow {
  color: var(--coral);
}

.work-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.work-section .work-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 0.7fr);
  max-width: var(--site-max);
  align-items: end;
  gap: clamp(32px, 7vw, 110px);
  margin-right: auto;
  margin-bottom: clamp(38px, 5vw, 64px);
  margin-left: auto;
  text-align: left;
}

.work-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

.work-heading > * {
  min-width: 0;
}

.work-intro {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: var(--type-body-large);
}

.section-heading {
  display: flex;
  max-width: 1120px;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 720px;
}

.pain-points .section-heading,
.services .section-heading {
  display: block;
  max-width: 520px;
  margin-bottom: 0;
}

.pain-points .section-heading {
  align-self: start;
}

.work-list {
  max-width: var(--site-max);
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

.work-item {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(300px, 0.76fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
  padding: clamp(52px, 7vw, 96px) 0;
  border-bottom: 1px solid var(--line);
}

.work-item:nth-child(even) .work-shot {
  grid-column: 2;
  grid-row: 1;
}

.work-item:nth-child(even) .work-copy {
  grid-column: 1;
  grid-row: 1;
}

.work-shot {
  position: relative;
  aspect-ratio: 36 / 25;
  overflow: hidden;
  border: 1px solid rgba(49, 95, 79, 0.15);
  border-radius: 10px;
  background: #e5f0ec;
  box-shadow: 0 28px 70px rgba(21, 57, 47, 0.13);
}

.work-shot::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 32%),
    linear-gradient(0deg, rgba(7, 63, 64, 0.08), transparent 40%);
}

.work-shot picture,
.work-shot img {
  width: 100%;
  height: 100%;
}

.work-shot img {
  aspect-ratio: 36 / 25;
  object-fit: cover;
  transition: transform 420ms ease;
}

.work-copy {
  max-width: 540px;
  padding: 0;
}

.work-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.work-number {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.work-type {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.work-item h3 {
  margin-bottom: 18px;
  font-size: var(--type-feature);
  line-height: 0.98;
}

.work-item p {
  font-size: var(--type-body-large);
  line-height: 1.55;
}

.work-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 22px;
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.work-details span + span::before {
  margin: 0 10px;
  color: rgba(49, 95, 79, 0.42);
  content: "·";
}

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding-bottom: 4px;
  color: var(--green-dark);
  border-bottom: 1px solid rgba(49, 95, 79, 0.34);
  font-weight: 900;
}

.work-link span {
  transition: transform 220ms ease;
}

.work-item:hover .work-shot img {
  transform: scale(1.025);
}

.work-item:hover .work-link span {
  transform: translateX(5px);
}

.work-more {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(320px, 1.28fr);
  max-width: var(--site-max);
  align-items: start;
  gap: clamp(32px, 7vw, 110px);
  margin-inline: auto;
  padding-top: clamp(42px, 6vw, 76px);
}

.work-more h3 {
  max-width: 320px;
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.work-more-list {
  border-top: 1px solid var(--line);
}

.work-more-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.work-more-list a > span:first-child {
  display: grid;
  gap: 3px;
}

.work-more-list strong {
  font-size: var(--type-item-title);
}

.work-more-list small {
  color: var(--muted);
  font-size: 0.93rem;
}

.work-more-list a > span:last-child {
  color: var(--green);
  font-size: 1.35rem;
  transition: transform 220ms ease;
}

.work-more-list a:hover {
  color: var(--green);
}

.work-more-list a:hover > span:last-child {
  transform: translateX(5px);
}

.reveal-card {
  opacity: 0;
  transform: translateY(22px);
}

.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-card.is-visible:nth-child(2) {
  transition-delay: 70ms;
}

.reveal-card.is-visible:nth-child(3) {
  transition-delay: 120ms;
}

.reveal-card.is-visible:nth-child(4) {
  transition-delay: 170ms;
}

.reveal-card.is-visible:nth-child(5) {
  transition-delay: 220ms;
}

.social-proof-section {
  padding: clamp(72px, 9vw, 112px) var(--site-gutter);
  color: var(--white);
  background: var(--green-dark);
}

.social-proof-heading {
  display: grid;
  grid-template-columns: minmax(280px, 760px) minmax(260px, 520px);
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  width: min(100%, var(--site-max));
  margin: 0 auto clamp(38px, 5vw, 62px);
}

.social-proof-heading .eyebrow {
  color: var(--amber);
}

.social-proof-heading h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: var(--type-section-compact);
}

.social-proof-heading > p {
  max-width: 500px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--type-body-large);
}

.testimonial-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, var(--site-max));
  margin: 0 auto;
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.quote {
  min-width: 0;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.5vw, 48px);
  background: rgba(255, 255, 255, 0.045);
}

.quote-featured {
  background: rgba(255, 255, 255, 0.1);
}

.quote blockquote {
  margin: 0 0 34px;
  font-size: 1.38rem;
  line-height: 1.34;
  text-wrap: pretty;
}

.quote-detailed blockquote {
  font-size: 1.22rem;
  line-height: 1.32;
}

.quote-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.quote-meta strong {
  color: var(--amber);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-meta small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  white-space: nowrap;
}

.quote-person {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
}

.quote-person strong,
.quote-person span {
  display: block;
}

.quote-person strong {
  font-size: 1.02rem;
}

.quote-person div > span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
}

.quote-person a {
  color: var(--amber);
  font-size: 0.88rem;
  font-weight: 850;
  white-space: nowrap;
}

.quote-person a span {
  display: inline;
  transition: margin-left 180ms ease;
}

.quote-person a:hover span {
  margin-left: 4px;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(260px, 520px) minmax(420px, 900px);
  justify-content: center;
  gap: clamp(34px, 7vw, 110px);
  align-items: center;
  background: var(--paper);
}

.about-copy {
  max-width: 520px;
}

.about-copy h2 {
  font-size: var(--type-section-compact);
}

.about-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: var(--type-body-large);
}

.about-portrait {
  display: flex;
  min-height: 420px;
  align-items: end;
  justify-content: center;
  overflow: hidden;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0) 46%),
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0) 38%),
    linear-gradient(145deg, #edf0ea 0%, #dfe6dc 58%, #cbd8d0 100%);
  border: 1px solid var(--line);
  box-shadow: inset 0 -80px 120px rgba(49, 95, 79, 0.16);
}

.about-portrait img {
  display: block;
  width: min(100%, 620px);
  height: auto;
}

.faq {
  display: grid;
  grid-template-columns: minmax(260px, 520px) minmax(420px, 900px);
  justify-content: center;
  gap: clamp(34px, 7vw, 110px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.faq .section-heading {
  display: block;
  max-width: 520px;
  margin-bottom: 0;
}

.faq .section-heading h2 {
  font-size: var(--type-section-compact);
}

.faq-list {
  display: grid;
  width: 100%;
  gap: 12px;
}

.faq-list details {
  padding: 0 24px;
  border: 1px solid var(--line);
  background: var(--white);
}

.faq-list summary {
  padding: 22px 34px 22px 0;
  font-size: 1.12rem;
  font-weight: 850;
  cursor: pointer;
}

.faq-list p {
  max-width: 760px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.05rem;
}

.faq-list details[open] summary {
  color: var(--green);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 780px) minmax(280px, 560px);
  justify-content: center;
  gap: clamp(30px, 7vw, 90px);
  padding: clamp(72px, 10vw, 130px) var(--site-gutter);
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(21, 57, 47, 0.94), rgba(49, 95, 79, 0.9)),
    url("assets/joris-paardekooper.webp") right 12% bottom / min(42vw, 520px) auto no-repeat,
    linear-gradient(135deg, #15392f, #315f4f);
}

.project-page {
  background: var(--paper);
}

.project-page .site-header {
  color: var(--ink);
  background: rgba(251, 250, 246, 0.94);
  box-shadow: 0 12px 36px rgba(24, 32, 29, 0.08);
}

.project-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(320px, 880px);
  justify-content: center;
  gap: clamp(34px, 7vw, 90px);
  align-items: center;
  overflow: hidden;
  padding: clamp(120px, 15vw, 180px) var(--site-gutter) clamp(62px, 8vw, 110px);
}

.project-hero-has-carousel::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: min(76%, 980px);
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(251, 250, 246, 0.98) 0%, rgba(251, 250, 246, 0.94) 55%, rgba(251, 250, 246, 0.66) 78%, rgba(251, 250, 246, 0) 100%);
}

.project-hero > div {
  min-width: 0;
}

.project-hero-has-carousel > div:first-child {
  position: relative;
  z-index: 2;
}

.project-hero h1 {
  color: var(--ink);
  font-size: clamp(3rem, 6.2vw, 5.8rem);
  overflow-wrap: anywhere;
}

.project-hero-overlap-title > div {
  position: relative;
  z-index: 2;
}

.project-hero-overlap-title h1 {
  max-width: none;
  width: max-content;
  font-size: clamp(4rem, 7.4vw, 6.8rem);
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: manual;
}

.project-hero p {
  position: relative;
  z-index: 2;
  color: #46524d;
  font-size: clamp(1.08rem, 1.55vw, 1.25rem);
  text-shadow: 0 1px 0 rgba(251, 250, 246, 0.8), 0 0 18px rgba(251, 250, 246, 0.9);
}

.project-hero > img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: contain;
  object-position: center;
  padding: clamp(14px, 2vw, 24px);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.project-hero-carousel {
  --screen-radius: clamp(230px, 29vw, 430px);
  position: relative;
  z-index: 0;
  min-height: clamp(360px, 43vw, 570px);
  margin-left: clamp(-70px, -4vw, -24px);
  perspective: 1200px;
}

.project-screen-track {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  animation: project-screen-spin 20s linear infinite;
}

.project-screen-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(250px, 31vw, 460px);
  margin: 0;
  transform:
    translate(-50%, -50%)
    rotateY(calc(var(--i) * var(--screen-angle)))
    translateZ(var(--screen-radius));
  backface-visibility: hidden;
}

.project-screen-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 28px 78px rgba(6, 17, 14, 0.44);
}

.project-screen-panel.is-tall {
  width: clamp(150px, 19vw, 230px);
}

.project-screen-panel.is-tall img {
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #0f1728;
}

.project-screen-panel figcaption {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 12px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
  background: rgba(251, 250, 246, 0.86);
  border: 1px solid var(--line);
  box-shadow: 0 14px 35px rgba(21, 57, 47, 0.12);
}

@keyframes project-screen-spin {
  from {
    transform: rotateY(0deg);
  }

  to {
    transform: rotateY(-360deg);
  }
}

.project-meta {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--site-max);
  gap: 1px;
  margin: 30px auto 0;
  background: var(--line);
}

.project-meta div {
  padding: 18px;
  background: var(--white);
}

.project-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.project-meta strong {
  display: block;
  margin-top: 4px;
}

.case-section {
  display: grid;
  grid-template-columns: minmax(260px, 560px) minmax(280px, 860px);
  justify-content: center;
  gap: clamp(32px, 7vw, 90px);
  padding: clamp(62px, 9vw, 110px) var(--site-gutter);
  border-top: 1px solid var(--line);
}

.case-section > div {
  min-width: 0;
}

.case-section p,
.case-section li {
  color: var(--muted);
  font-size: 1.08rem;
}

.case-section ul {
  margin: 0;
  padding-left: 22px;
}

.case-result {
  margin: 30px 0;
  padding: 24px;
  background: rgba(232, 178, 76, 0.13);
  border-left: 4px solid var(--amber);
}

.case-result .eyebrow {
  margin-bottom: 8px;
  color: var(--green);
}

.case-result h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

.case-result p:last-child {
  margin-bottom: 0;
}

.case-testimonial {
  margin: 32px 0;
  padding: clamp(24px, 4vw, 36px);
  color: var(--white);
  background: var(--green-dark);
}

.case-testimonial figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.case-testimonial figcaption .eyebrow {
  margin: 0;
  color: var(--amber);
}

.case-testimonial figcaption > span:last-child {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

.case-testimonial blockquote {
  margin: 0 0 24px;
  font-size: clamp(1.18rem, 2vw, 1.48rem);
  line-height: 1.38;
  text-wrap: pretty;
}

.case-testimonial-person strong,
.case-testimonial-person span {
  display: block;
}

.case-testimonial-person span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.case-actions .button.ghost {
  color: var(--ink);
  border-color: var(--line);
}

.contact-section .eyebrow {
  color: var(--amber);
}

.contact-section p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.18rem;
}

.contact-section .contact-promise {
  margin: 20px 0 0;
  color: var(--amber);
  font-size: 1rem;
  font-weight: 850;
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--white);
  font-weight: 800;
}

.contact-form label > span {
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 0;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .field-error {
  color: #ffd98f;
  font-size: 0.9rem;
  font-weight: 750;
}

.contact-form :is(input, textarea)[aria-invalid="true"] {
  border-color: #ffd98f;
  box-shadow: 0 0 0 2px rgba(255, 217, 143, 0.3);
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.contact-form .form-consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  font-size: 0.95rem;
  font-weight: 500;
}

.form-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.form-consent a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form .form-consent-error {
  grid-column: 2;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form.has-success > :not(.form-status) {
  display: none;
}

.contact-section .form-status {
  margin: 0;
  padding: 14px 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow: 0 22px 55px rgba(6, 31, 25, 0.18);
  font-size: 1rem;
}

.contact-section .form-status:focus {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.contact-section .form-status.is-success {
  display: grid;
  min-height: 330px;
  align-content: center;
  justify-items: start;
  gap: 12px;
  padding: clamp(30px, 5vw, 52px);
  background:
    radial-gradient(circle at 100% 0, rgba(232, 178, 76, 0.18), transparent 40%),
    var(--paper);
  border-left: 6px solid var(--amber);
  animation: form-success-in 420ms ease-out both;
}

.form-status-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 8px;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(49, 95, 79, 0.22);
  font-size: 1.7rem;
  font-weight: 900;
}

.form-status-kicker {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-section .form-status.is-success strong {
  max-width: 520px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.05;
}

.contact-section .form-status.is-success > span:last-child {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.contact-section .form-status.is-error {
  background: #ffe0dc;
  border-color: rgba(161, 54, 43, 0.22);
  box-shadow: none;
}

@keyframes form-success-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-panel {
  padding: 30px;
  color: var(--ink);
}

.contact-panel a {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-panel span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-panel strong {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.contact-panel p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.site-footer {
  display: flex;
  max-width: var(--site-max);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-inline: auto;
  padding: 26px var(--site-gutter);
  color: var(--muted);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 750;
}

.legal-hero {
  max-width: var(--site-max);
  margin-inline: auto;
  padding: clamp(122px, 15vw, 180px) var(--site-gutter) clamp(34px, 5vw, 58px);
  border-bottom: 1px solid var(--line);
}

.legal-hero p {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.55vw, 1.25rem);
}

.legal-hero h1 {
  font-size: clamp(2.8rem, 7vw, 6.2rem);
  overflow-wrap: normal;
}

.legal-content {
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(48px, 7vw, 88px) var(--site-gutter);
}

.legal-content section + section {
  margin-top: 34px;
}

.legal-content h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.4rem);
}

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

.legal-content ul {
  margin: 0;
  padding-left: 22px;
}

.ai-hero {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(300px, 540px);
  justify-content: center;
  gap: clamp(42px, 8vw, 120px);
  align-items: center;
  min-height: 760px;
  padding: clamp(132px, 15vw, 190px) var(--site-gutter) clamp(72px, 9vw, 120px);
  color: var(--white);
  background:
    radial-gradient(circle at 78% 24%, rgba(231, 173, 82, 0.23), transparent 27%),
    linear-gradient(125deg, var(--green-dark), #244f42 66%, #315f4f);
}

.ai-hero-copy h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: var(--type-hero);
  line-height: 0.97;
  text-wrap: balance;
}

.ai-hero-copy > p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--type-lead);
}

.ai-hero-actions,
.ai-contact-actions {
  margin-top: 30px;
}

.ai-hero .button.ghost,
.ai-page .contact-section .button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.46);
}

.ai-process-card {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 90px rgba(6, 24, 19, 0.24);
  backdrop-filter: blur(16px);
}

.ai-process-card .eyebrow {
  color: var(--amber);
}

.ai-process-card ol {
  display: grid;
  gap: 0;
  margin: 22px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.ai-process-card li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.ai-process-card li span {
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 900;
}

.ai-process-card > p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.ai-offers {
  display: grid;
  grid-template-columns: minmax(260px, 520px) minmax(420px, 900px);
  justify-content: center;
  gap: clamp(34px, 7vw, 110px);
  align-items: start;
}

.ai-offers .section-heading {
  position: sticky;
  top: 100px;
  display: block;
  text-align: left;
}

.ai-offers .section-heading h2 {
  font-size: var(--type-section-compact);
}

.ai-offers .section-heading p:last-child {
  max-width: 500px;
  color: var(--muted);
  font-size: var(--type-body-large);
}

.ai-offer-list {
  border-top: 1px solid var(--line);
}

.ai-offer {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 32px);
  padding: clamp(24px, 3vw, 34px) 0;
  border-bottom: 1px solid var(--line);
}

.ai-offer-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(49, 95, 79, 0.25);
  border-radius: 50%;
  color: var(--green-dark);
  background: rgba(49, 95, 79, 0.08);
  font-size: 0.8rem;
  font-weight: 900;
}

.ai-offer h3 {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

.ai-offer p {
  margin: 0;
  color: var(--muted);
}

.ai-references {
  display: grid;
  grid-template-columns: minmax(260px, 520px) minmax(420px, 900px);
  justify-content: center;
  gap: clamp(34px, 7vw, 110px);
  background: var(--mist);
  border-block: 1px solid var(--line);
}

.ai-references h2 {
  max-width: 520px;
  font-size: var(--type-section-compact);
}

.ai-reference-copy > p {
  color: var(--muted);
  font-size: var(--type-body-large);
}

.ai-reference-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 32px;
  border: 1px solid var(--line);
  background: var(--line);
}

.ai-reference-list span {
  display: grid;
  min-height: 92px;
  place-items: center;
  padding: 18px;
  text-align: center;
  background: var(--paper);
  font-weight: 850;
}

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

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav,
  .header-phone {
    display: none;
  }

  .site-header.is-open .site-nav {
    grid-column: 1 / -1;
    display: grid;
    justify-self: stretch;
    gap: 0;
    padding-top: 12px;
  }

  .site-header.is-open .site-nav a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .hero {
    min-height: 940px;
    align-items: start;
    padding-top: 86px;
  }

  .hero-carousel {
    --carousel-radius: clamp(250px, 39vw, 360px);
    top: 340px;
    left: 50%;
    right: auto;
    width: min(620px, 82vw);
    height: 330px;
    transform: translateX(-50%);
  }

  .hero-carousel-panel {
    opacity: 0.76;
  }

  .hero-carousel-panel {
    width: clamp(250px, 40vw, 360px);
  }

  .hero-content {
    width: min(700px, calc(100% - 40px));
    margin: 0 auto 44px;
    padding-top: 34px;
  }

  .hero-actions {
    margin-top: 380px;
  }

  .proof-strip,
  .intro-grid,
  .pain-points,
  .process,
  .services,
  .faq,
  .pain-grid,
  .social-proof-heading,
  .testimonial-band,
  .service-grid,
  .about-section,
  .contact-section,
  .project-hero,
  .project-meta,
  .case-section,
  .ai-hero,
  .ai-offers,
  .ai-references {
    grid-template-columns: 1fr;
  }

  .ai-hero {
    min-height: 0;
    padding-top: 128px;
  }

  .ai-offers .section-heading {
    position: static;
  }

  .ai-reference-list {
    grid-template-columns: 1fr;
  }

  .process-intro,
  .pain-points .section-heading,
  .services .section-heading {
    position: static;
  }

  .process article {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .work-section .work-heading,
  .work-item,
  .work-more {
    grid-template-columns: 1fr;
  }

  .work-item {
    gap: 30px;
  }

  .work-item:nth-child(even) .work-shot,
  .work-item:nth-child(even) .work-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .work-copy {
    max-width: 680px;
  }

  .project-hero-overlap-title h1 {
    white-space: normal;
  }

  .project-hero-has-carousel::before {
    display: none;
  }

  .project-hero-carousel {
    --screen-radius: clamp(230px, 36vw, 330px);
    min-height: 360px;
    margin: 6px auto 0;
    width: min(650px, 100%);
  }

  .project-screen-panel {
    width: clamp(250px, 52vw, 360px);
  }

  .project-screen-panel.is-tall {
    width: clamp(138px, 28vw, 190px);
  }

  .section-heading {
    display: block;
  }

  .social-proof-heading {
    align-items: start;
  }

  .quote {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .work-heading h2 {
    font-size: clamp(2rem, 10vw, 2.45rem);
    line-height: 1.02;
  }

  .hero {
    min-height: 850px;
    padding-top: 82px;
  }

  .hero-carousel {
    --carousel-radius: 184px;
    top: 435px;
    left: 50%;
    right: auto;
    width: 300px;
    height: 180px;
    transform: translateX(-50%);
  }

  .hero-carousel-panel {
    opacity: 0.62;
  }

  .hero-carousel-panel {
    width: 160px;
    border-radius: 10px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(14, 28, 24, 0.9) 0%, rgba(14, 28, 24, 0.72) 62%, rgba(14, 28, 24, 0.3) 100%),
      linear-gradient(0deg, rgba(24, 32, 29, 0.66), rgba(24, 32, 29, 0.06) 58%);
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px 42px;
    padding-top: 24px;
  }

  .hero-actions {
    margin-top: 215px;
  }

  .ai-hero-actions,
  .ai-contact-actions {
    margin-top: 28px;
  }

  .ai-offer {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.65rem);
  }

  .project-hero {
    padding-top: 112px;
  }

  .project-hero-carousel {
    --screen-radius: 175px;
    min-height: 260px;
    width: 100%;
  }

  .project-screen-panel {
    width: 210px;
  }

  .project-screen-panel.is-tall {
    width: 118px;
  }

  .legal-hero h1 {
    font-size: clamp(2rem, 8.8vw, 2.45rem);
  }

  .project-hero-overlap-title h1 {
    font-size: clamp(2rem, 8.8vw, 2.45rem);
    white-space: nowrap;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .quote-person,
  .case-testimonial figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .reveal-card,
  .reveal-card.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .form-status.is-success {
    animation: none;
  }

  .hero-carousel-track {
    animation: none;
    transform: rotateY(-24deg);
  }

  .project-screen-track {
    animation: none;
    transform: rotateY(-20deg);
  }
}
