:root {
  --bg: #f6f3e9;
  --surface: rgba(255, 255, 255, 0.68);
  --surface-strong: #173321;
  --surface-dark: #102418;
  --text: #17231d;
  --muted: #5c675f;
  --line: rgba(23, 35, 29, 0.12);
  --green: #74b816;
  --green-deep: #4a940b;
  --lime: #d9e021;
  --orange: #ff8f1f;
  --orange-deep: #f46a27;
  --shadow: 0 24px 90px rgba(16, 36, 24, 0.11);
  --font-sans: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(116, 184, 22, 0.2), transparent 22%),
    radial-gradient(circle at 80% 0%, rgba(255, 143, 31, 0.2), transparent 26%),
    linear-gradient(180deg, #f9f7ef 0%, #f4efe1 48%, #eef6e8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(23, 35, 29, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 35, 29, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: -2;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(249, 247, 239, 0.82);
  border: 1px solid rgba(23, 35, 29, 0.08);
  backdrop-filter: blur(16px);
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(23, 35, 29, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(23, 35, 29, 0.08);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 0.98rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.85rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a,
.nav-toggle {
  color: inherit;
  font: inherit;
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--green-deep), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

body[data-page="home"] .site-nav a[data-nav="home"]::after,
body[data-page="services"] .site-nav a[data-nav="services"]::after,
body[data-page="work"] .site-nav a[data-nav="work"]::after,
body[data-page="case-studies"] .site-nav a[data-nav="case-studies"]::after,
body[data-page="about"] .site-nav a[data-nav="about"]::after,
body[data-page="contact"] .site-nav a[data-nav="contact"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
}

main {
  display: grid;
  gap: 36px;
  padding-top: 28px;
}

.page-hero {
  padding: 40px 44px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 143, 31, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(116, 184, 22, 0.08), rgba(255, 255, 255, 0.76));
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
  align-items: stretch;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
}

.hero-copy,
.hero-panel,
.metrics-strip,
.content-card,
.quote-panel,
.model-card,
.contact-panel,
.contact-form,
.spotlight-section {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy,
.content-card,
.quote-panel,
.model-card,
.contact-panel,
.contact-form,
.spotlight-section {
  background: var(--surface);
  backdrop-filter: blur(10px);
  border-radius: 32px;
}

.hero-copy {
  padding: 48px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-deep);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-kicker {
  margin: 0 0 18px;
  color: var(--surface-dark);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  max-width: 52ch;
}

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

h1,
h2 {
  line-height: 0.96;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(3.4rem, 9vw, 6.4rem);
  max-width: 10.4ch;
}

h1 span,
h2 {
  font-family: var(--font-serif);
  font-weight: 400;
}

h1 span {
  display: inline-block;
  color: var(--orange-deep);
  font-style: italic;
}

.hero-text,
.section-heading p:last-child,
.content-card p,
.timeline p,
.quote-panel p,
.model-card p,
.contact-panel p,
.contact-points span,
label span {
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-signals span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(16, 36, 24, 0.06);
  border: 1px solid rgba(23, 35, 29, 0.08);
  color: var(--surface-dark);
  font-size: 0.88rem;
}

.hero-copy-note {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(116, 184, 22, 0.08), rgba(255, 143, 31, 0.08)),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 35, 29, 0.08);
}

.hero-copy-note div {
  display: grid;
  gap: 6px;
}

.hero-copy-note strong {
  color: var(--surface-dark);
}

.hero-copy-note span {
  color: var(--muted);
  line-height: 1.6;
}

.hero-stage-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.hero-stage-list div {
  padding: 14px 14px;
  border-radius: 18px;
  background: rgba(16, 36, 24, 0.04);
  border: 1px solid rgba(23, 35, 29, 0.08);
  display: grid;
  gap: 6px;
}

.hero-stage-list strong {
  color: var(--orange-deep);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
}

.hero-stage-list span {
  color: var(--surface-dark);
  font-weight: 600;
}

.service-journey {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 26px 20px 34px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(116, 184, 22, 0.08), rgba(255, 143, 31, 0.08)),
    rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(23, 35, 29, 0.08);
  min-height: 400px;
  align-content: start;
}

.service-journey-label {
  margin-bottom: 0;
  color: var(--green-deep);
}

.service-journey-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.service-journey-title {
  margin: 0;
  color: var(--surface-dark);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.service-journey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}

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

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

.service-journey-grid div {
  display: grid;
  gap: 6px;
  padding: 16px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 35, 29, 0.08);
}

.service-journey-grid strong {
  color: var(--orange-deep);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.service-journey-grid span {
  color: var(--surface-dark);
  font-weight: 600;
  line-height: 1.45;
}

.service-journey-foot {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 18px 16px 6px;
  border-top: 1px solid rgba(23, 35, 29, 0.08);
}

.service-journey-foot div {
  display: grid;
  gap: 6px;
}

.service-journey-foot strong {
  color: var(--surface-dark);
}

.service-journey-foot span {
  color: var(--muted);
  line-height: 1.6;
}

.home-journey {
  min-height: auto;
}

.hero-links a {
  color: var(--surface-dark);
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.hero-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--green-deep), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.hero-links a:hover::after,
.hero-links a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--surface-strong), var(--green-deep));
  color: #f8fbf4;
  box-shadow: 0 18px 32px rgba(23, 51, 33, 0.22);
  border: 0;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.58);
  color: var(--text);
  border: 1px solid var(--line);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  display: grid;
  gap: 20px;
  grid-template-rows: auto 1fr auto;
  flex: 1;
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(116, 184, 22, 0.28), transparent 28%),
    radial-gradient(circle at 75% 18%, rgba(255, 143, 31, 0.34), transparent 24%),
    linear-gradient(180deg, rgba(16, 36, 24, 0.96), rgba(28, 56, 30, 0.92));
  color: #f8fbf4;
}

.hero-side-card {
    padding: 22px 22px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow);
  }

.hero-side > .hero-side-card:last-child {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-side-card-accent {
  background:
    linear-gradient(135deg, rgba(116, 184, 22, 0.1), rgba(255, 143, 31, 0.1)),
    rgba(255, 255, 255, 0.78);
}

.hero-side-points {
    display: grid;
    gap: 14px;
  }

.hero-side-points strong {
    display: block;
    margin-bottom: 8px;
    color: var(--surface-dark);
  }

.hero-side-points span {
  color: var(--muted);
  line-height: 1.6;
}

.signal-card {
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

.signal-label {
  margin-bottom: 18px;
  color: rgba(248, 251, 244, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.signal-grid {
  display: grid;
  gap: 14px;
}

.signal-grid article strong {
  display: block;
  font-size: 1.45rem;
  margin-bottom: 4px;
}

.signal-grid article span {
  color: rgba(248, 251, 244, 0.8);
  line-height: 1.55;
}

.orbit-panel {
    position: relative;
    min-height: 285px;
    display: grid;
    place-items: center;
  }

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(248, 251, 244, 0.18);
}

.ring-a {
  width: 280px;
  height: 280px;
  animation: spin 16s linear infinite;
}

.ring-b {
  width: 180px;
  height: 180px;
  border-style: dashed;
  animation: spin-reverse 10s linear infinite;
}

.orbit-core {
  position: relative;
  z-index: 1;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 28px;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 179, 79, 0.95), rgba(255, 143, 31, 0.92) 58%, rgba(244, 106, 39, 0.88));
  color: #fffaf1;
  border: 1px solid rgba(248, 251, 244, 0.16);
  box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.05);
}

.orbit-core span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.orbit-core strong {
  font-family: "Instrument Serif", serif;
  font-size: 2rem;
  font-weight: 400;
}

.hero-panel-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.hero-panel-footer span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(248, 251, 244, 0.08);
  border: 1px solid rgba(248, 251, 244, 0.16);
  color: rgba(248, 251, 244, 0.9);
  font-size: 0.82rem;
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--line);
}

.metrics-strip article {
  padding: 28px;
  background: rgba(255, 255, 255, 0.62);
}

.metrics-strip span {
  display: block;
  margin-bottom: 18px;
  color: var(--orange-deep);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.metrics-strip p {
  margin: 0;
  line-height: 1.65;
}

.content-section {
  display: grid;
  gap: 24px;
}

.section-heading {
  display: grid;
  gap: 8px;
  max-width: 780px;
}

.section-heading h2 {
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  margin-bottom: 0;
}

.card-grid {
  display: grid;
  gap: 20px;
}

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

.process-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.process-card-featured {
  background:
    linear-gradient(135deg, rgba(116, 184, 22, 0.14), rgba(255, 143, 31, 0.12)),
    rgba(255, 255, 255, 0.76);
}

.process-card span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--orange-deep);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.process-card h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.process-stage-band {
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at top, rgba(116, 184, 22, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(16, 36, 24, 0.96), rgba(36, 74, 28, 0.94));
  box-shadow: var(--shadow);
}

.process-stage-track {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 16px;
}

.stage-dot {
  position: relative;
  padding: 20px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid rgba(244, 106, 39, 0.72);
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.stage-dot strong {
  color: var(--green-deep);
  font-size: 1rem;
}

.stage-dot span {
  color: var(--surface-dark);
  font-weight: 600;
  line-height: 1.35;
}

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

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

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

.content-card {
  padding: 28px;
}

.service-feature {
  background:
    linear-gradient(135deg, rgba(116, 184, 22, 0.14), rgba(255, 143, 31, 0.12)),
    rgba(255, 255, 255, 0.72);
}

.card-index,
.model-duration {
  color: var(--orange-deep);
  font-weight: 700;
}

.content-card h3,
.timeline h3,
.model-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.split-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline article {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.timeline span {
  display: inline-block;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(116, 184, 22, 0.12);
  color: var(--green-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

.quote-panel {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  background:
    radial-gradient(circle at top, rgba(255, 143, 31, 0.28), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(240, 247, 235, 0.88));
}

.quote-panel p {
  font-family: "Instrument Serif", serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.06;
  color: var(--surface-dark);
}

.quote-panel span {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-size: 0.8rem;
}

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

.model-card {
  padding: 28px;
}

.model-card.featured {
  background:
    radial-gradient(circle at top, rgba(255, 143, 31, 0.2), transparent 38%),
    linear-gradient(180deg, rgba(16, 36, 24, 0.96), rgba(36, 74, 28, 0.94));
  color: #f8fbf4;
}

.model-card.featured p {
  color: rgba(248, 251, 244, 0.82);
}

.spotlight-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(116, 184, 22, 0.12), rgba(255, 143, 31, 0.12)),
    rgba(255, 255, 255, 0.72);
}

.pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.pillars div {
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(16, 36, 24, 0.94);
  color: #f8fbf4;
}

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

.text-link {
  color: var(--surface-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(244, 106, 39, 0.35);
}

.text-link:hover,
.text-link:focus-visible {
  border-bottom-color: var(--orange-deep);
}

.contact-section {
  padding-bottom: 24px;
}

.portfolio-grid,
.case-study-list,
.review-widget-list,
.project-gallery {
  display: grid;
  gap: 20px;
}

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

.review-widget-list {
  grid-template-columns: 1fr;
}

.review-widget {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.review-widget-head {
  padding: 24px 28px;
  border-bottom: 1px solid rgba(23, 35, 29, 0.08);
}

.review-widget-head h3 {
  margin: 6px 0 0;
  font-size: 2rem;
  line-height: 1.05;
}

.review-widget-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.85fr 1.35fr 0.9fr;
}

.review-project,
.review-score,
.review-copy,
.reviewer-panel {
  padding: 28px;
}

.review-project,
.review-score,
.review-copy {
  border-right: 1px solid rgba(23, 35, 29, 0.08);
}

.review-label {
  margin-bottom: 18px;
  color: var(--surface-dark);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
}

.review-meta-list {
  margin: 0 0 20px;
  padding-left: 18px;
  color: var(--surface-dark);
  display: grid;
  gap: 10px;
}

.review-score {
  display: grid;
  align-content: start;
  gap: 14px;
}

.review-score > strong {
  font-size: 3.3rem;
  line-height: 1;
}

.review-score > span {
  color: #ff4f2c;
  letter-spacing: 0.18em;
  font-size: 1.2rem;
}

.review-score-breakdown {
  display: grid;
  gap: 12px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(23, 35, 29, 0.08);
}

.review-score-breakdown p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  color: var(--surface-dark);
}

.review-score-breakdown span {
  color: var(--muted);
}

.review-copy blockquote {
  margin: 0 0 18px;
  font-size: 2rem;
  line-height: 1.18;
  color: var(--surface-dark);
  font-family: "Instrument Serif", serif;
}

.reviewer-panel {
  display: grid;
  align-content: start;
  gap: 10px;
}

.reviewer-panel strong {
  color: var(--surface-dark);
  font-size: 1.1rem;
}

.reviewer-panel span {
  color: var(--muted);
}

.verified-pill {
  width: fit-content;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(116, 184, 22, 0.14);
  color: var(--green-deep) !important;
  font-weight: 700;
}

.review-details {
  border-top: 1px solid rgba(23, 35, 29, 0.08);
  background: rgba(250, 248, 241, 0.8);
}

.review-details summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 28px;
  font-weight: 700;
  color: var(--surface-dark);
}

.review-details summary::-webkit-details-marker {
  display: none;
}

.review-details[open] summary {
  border-bottom: 1px solid rgba(23, 35, 29, 0.08);
}

.review-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
  padding: 22px 28px 28px;
}

.review-details-grid > div {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(23, 35, 29, 0.07);
}

.review-detail-label {
  margin-bottom: 10px;
  color: var(--surface-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
}

.review-count {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.project-thumb-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.project-thumb-card-featured {
  background:
    linear-gradient(135deg, rgba(116, 184, 22, 0.12), rgba(255, 143, 31, 0.12)),
    rgba(255, 255, 255, 0.82);
}

.project-thumb {
  position: relative;
  height: 190px;
  margin-bottom: 14px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(23, 35, 29, 0.08);
  background: rgba(255, 255, 255, 0.9);
}

.project-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-chatteach {
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 143, 31, 0.18), transparent 24%),
    linear-gradient(135deg, #f7efe4, #e4f2de);
}

.thumb-swiftpay {
  background:
    radial-gradient(circle at 55% 25%, rgba(255, 143, 31, 0.22), transparent 24%),
    linear-gradient(135deg, #dcecfb, #8fc4f6 55%, #f7fbff);
}

.thumb-sehgal,
.thumb-hotel {
  background:
    linear-gradient(180deg, #223350 0 24%, #fbfbfb 24% 100%);
}

.thumb-transfer {
  background:
    linear-gradient(180deg, #2e4373 0 22%, #f8f8f8 22% 100%);
}

.thumb-logistics {
  background:
    linear-gradient(180deg, #3b4f8e 0 18%, #eef3ff 18% 100%);
}

.thumb-allergy {
  background:
    linear-gradient(180deg, #c1b7ef, #f0dce1 48%, #f7f2ea);
}

.thumb-reflection {
  background:
    linear-gradient(180deg, #d9dcff, #f4f0ff 50%, #eef6ff);
}

.thumb-screen {
  position: absolute;
  border-radius: 16px;
  border: 1px solid rgba(23, 35, 29, 0.08);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 28px rgba(16, 36, 24, 0.12);
}

.thumb-phone {
  width: 110px;
  height: 160px;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.thumb-wallet {
  width: 168px;
  height: 132px;
  right: 18px;
  bottom: 16px;
}

.thumb-browser {
  inset: 12px;
}

.thumb-dashboard {
  inset: 14px;
}

.thumb-browser::before,
.thumb-dashboard::before,
.thumb-wallet::before,
.thumb-phone::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 24px;
  background: linear-gradient(90deg, rgba(35, 52, 80, 0.88), rgba(59, 79, 142, 0.88));
}

.thumb-browser::after,
.thumb-dashboard::after,
.thumb-wallet::after,
.thumb-phone::after {
  content: "";
  position: absolute;
  inset: 34px 14px 14px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(116, 184, 22, 0.12), rgba(255, 143, 31, 0.08)),
    repeating-linear-gradient(180deg, rgba(23, 35, 29, 0.08) 0 10px, transparent 10px 24px);
}

.project-thumb-card h3 {
  margin-bottom: 6px;
  font-size: 1.32rem;
}

.project-subtitle {
  margin-bottom: 12px;
  color: var(--surface-dark);
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.45;
}

.project-thumb-card p:last-of-type {
  color: var(--muted);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.project-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(16, 36, 24, 0.06);
  color: var(--surface-dark);
  font-size: 0.8rem;
}

.portfolio-card,
.case-study-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.portfolio-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 180px;
  margin-bottom: 18px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(23, 35, 29, 0.08);
  overflow: hidden;
}

.visual-health {
  background:
    radial-gradient(circle at 20% 20%, rgba(116, 184, 22, 0.28), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(232, 245, 228, 0.9));
}

.visual-education {
  background:
    radial-gradient(circle at 75% 25%, rgba(255, 143, 31, 0.28), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(249, 239, 225, 0.92));
}

.visual-marketing {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 143, 31, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(232, 245, 228, 0.9), rgba(255, 255, 255, 0.9));
}

.visual-window {
  width: 100%;
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(23, 35, 29, 0.08);
  box-shadow: 0 14px 30px rgba(16, 36, 24, 0.08);
}

.visual-badge {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(116, 184, 22, 0.12);
  color: var(--green-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.visual-window strong {
  color: var(--surface-dark);
  font-size: 1rem;
  line-height: 1.2;
}

.visual-meta {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.portfolio-card span,
.case-study-card span {
  color: var(--green-deep);
  font-size: 0.92rem;
}

.contact-panel,
.contact-form {
  padding: 32px;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.contact-points {
  display: grid;
  gap: 16px;
}

.contact-points div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.contact-points strong,
label {
  display: grid;
  gap: 10px;
}

.contact-points strong {
  color: var(--surface-dark);
}

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

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

input,
select,
textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(23, 35, 29, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  font: inherit;
  color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(116, 184, 22, 0.22);
  border-color: rgba(116, 184, 22, 0.42);
}

.form-notice {
  margin: 0;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(116, 184, 22, 0.12);
  color: var(--surface-dark);
}

.hero-copy[data-reveal],
.hero-side[data-reveal] {
  opacity: 1;
  transform: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes spin-reverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

@media (max-width: 980px) {
  .hero,
  .split-layout,
  .spotlight-section,
  .model-grid,
  .metrics-strip,
  .contact-layout,
  .portfolio-grid,
  .project-gallery,
  .review-widget-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-stage-track,
  .hero-stage-list,
  .service-journey-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .review-details-grid {
    grid-template-columns: 1fr;
  }

  .pillars {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  body::before {
    display: none;
  }

  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 12px;
  }

  .site-header {
    flex-wrap: wrap;
    border-radius: 20px;
    backdrop-filter: none;
    background: rgba(249, 247, 239, 0.96);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(23, 35, 29, 0.08);
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 8px;
  }

  .site-nav.open {
    display: flex;
  }

  .services-grid,
  .services-grid-expanded,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-panel,
  .hero-side-card,
  .page-hero,
  .content-card,
  .timeline article,
  .quote-panel,
  .model-card,
  .contact-panel,
  .contact-form,
  .spotlight-section,
  .portfolio-card,
  .case-study-card {
    padding: 24px;
    border-radius: 24px;
  }

  .hero-copy,
  .content-card,
  .quote-panel,
  .model-card,
  .contact-panel,
  .contact-form,
  .spotlight-section {
    backdrop-filter: none;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.8rem);
  }

  .orbit-panel {
    min-height: 220px;
  }

  .ring-a {
    width: 220px;
    height: 220px;
  }

  .ring-b {
    width: 140px;
    height: 140px;
  }

  .hero-panel-footer {
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
