:root {
  --bg: #f5efe4;
  --bg-soft: rgba(255, 252, 247, 0.8);
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: #fffdf9;
  --ink: #17181d;
  --muted: #5d5c60;
  --line: rgba(23, 24, 29, 0.08);
  --accent: #ff7846;
  --accent-deep: #e83f61;
  --accent-soft: #ffe3d8;
  --dark: #121521;
  --shadow: 0 22px 70px rgba(48, 30, 18, 0.12);
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 181, 129, 0.22), transparent 28%),
    linear-gradient(180deg, #fff9ef 0%, #f5efe4 52%, #efe6d9 100%);
}

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

.ambient {
  position: fixed;
  z-index: 0;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  opacity: 0.34;
}

.ambient-left {
  top: -8rem;
  left: -8rem;
  background: rgba(255, 127, 76, 0.35);
}

.ambient-right {
  top: 6rem;
  right: -10rem;
  background: rgba(232, 63, 97, 0.18);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 48px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border-radius: 24px;
  background: rgba(255, 251, 245, 0.75);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 50px rgba(46, 30, 18, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 56px;
  height: 56px;
  display: inline-flex;
  flex-shrink: 0;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong,
.hero h1,
.section-heading h2,
.contact-copy h2,
.service-card h3,
.project-card h3,
.benefit-list h3,
.process-grid h3 {
  font-family: "Space Grotesk", sans-serif;
}

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

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

.site-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  color: #2c2d31;
}

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

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

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.header-cta {
  padding: 12px 18px;
  background: var(--dark);
  color: #fff9f4;
}

.button {
  padding: 14px 22px;
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff8f2;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 14px 30px rgba(232, 63, 97, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(23, 24, 29, 0.09);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: 30px;
  align-items: center;
  padding: 74px 0 36px;
}

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

.hero h1,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  line-height: 0.98;
}

.hero h1 {
  max-width: 10.5ch;
  font-size: clamp(2.9rem, 6vw, 5.6rem);
}

.hero h1 span {
  display: block;
  color: #444348;
}

.hero-text,
.section-heading p,
.service-card p,
.project-card p,
.benefit-list p,
.process-grid p,
.contact-copy p,
.stage-highlight p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-text {
  max-width: 61ch;
  margin: 20px 0 0;
  font-size: 1.08rem;
}

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

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
}

.hero-metrics li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-metrics strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
}

.hero-metrics span {
  color: var(--muted);
}

.hero-stage {
  position: relative;
  min-height: 640px;
  width: 100%;
}

.stage-card,
.trust-strip div,
.service-card,
.project-card,
.benefit-list article,
.process-grid article,
.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: var(--surface);
  backdrop-filter: blur(16px);
}

.stage-card {
  position: absolute;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.stage-primary {
  inset: 0 72px 220px 0;
  padding: 30px;
  overflow: hidden;
}

.stage-highlight {
  right: 0;
  bottom: 0;
  width: min(300px, 74%);
  padding: 24px;
  background: var(--dark);
  color: #fffaf5;
}

.stage-highlight p {
  color: rgba(255, 249, 243, 0.8);
  margin-bottom: 0;
}

.stage-label {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent-deep);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stage-highlight .stage-label {
  color: #ffb8ae;
}

.stage-highlight strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.55rem;
  line-height: 1.2;
}

.stage-list {
  display: grid;
  gap: 16px;
}

.stage-list div {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  min-width: 0;
}

.stage-list div:first-child {
  border-top: none;
  padding-top: 0;
}

.stage-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.08rem;
  word-break: break-word;
}

.stage-list span {
  color: var(--muted);
  line-height: 1.65;
  display: block;
  max-width: 25ch;
  word-break: break-word;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 10px 0 52px;
}

.trust-strip div {
  padding: 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(44, 31, 20, 0.05);
}

.section {
  padding: 46px 0;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 28px;
}

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

.section-heading h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.service-grid,
.project-grid,
.process-grid,
.benefit-list,
.split-layout {
  display: grid;
  gap: 18px;
}

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

.service-card,
.project-card,
.benefit-list article,
.process-grid article {
  padding: 26px;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(44, 31, 20, 0.06);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: #8e2746;
  font-weight: 800;
}

.service-card h3,
.project-card h3,
.benefit-list h3,
.process-grid h3 {
  margin: 0 0 12px;
  font-size: 1.36rem;
}

.showcase-section {
  padding-top: 54px;
}

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

.project-card {
  grid-column: span 4;
  min-height: 230px;
}

.project-logo {
  display: block;
  width: auto;
  max-width: 200px;
  height: 56px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 18px;
}

.project-featured {
  grid-column: span 6;
  background:
    radial-gradient(circle at top right, rgba(255, 128, 83, 0.2), transparent 34%),
    var(--surface);
}

.project-tag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  background: var(--accent-soft);
  color: #8e2746;
  font-size: 0.8rem;
  font-weight: 800;
}

.project-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  font-weight: 800;
  color: var(--accent-deep);
}

.project-link:hover,
.project-link:focus-visible {
  text-decoration: underline;
}

.split-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
}

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

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

.process-grid article span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

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

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px 22px;
  }

  .hero,
  .split-layout {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 620px;
  }

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

  .project-card,
  .project-featured {
    grid-column: span 6;
  }

  .trust-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 1320px) {
  .hero-stage {
    min-height: auto;
    display: grid;
    gap: 18px;
  }

  .stage-card {
    position: static;
    width: 100%;
  }

  .stage-primary {
    inset: auto;
  }

  .stage-highlight {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
  }

  .site-header {
    position: static;
  }

  .brand-copy span {
    display: none;
  }

  .site-nav,
  .header-cta {
    width: 100%;
  }

  .site-nav {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-cta {
    justify-content: center;
  }

  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.7rem, 14vw, 4.6rem);
  }

  .hero-stage {
    gap: 16px;
  }

  .stage-card {
    position: static;
    width: 100%;
  }

  .trust-strip,
  .service-grid,
  .benefit-list,
  .process-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-featured {
    grid-column: auto;
  }

  .contact-actions {
    width: 100%;
  }

  .contact-actions .button {
    width: 100%;
  }
}
