:root {
  --bg: #f7f4ee;
  --surface: #ffffff;
  --surface-soft: #ebe4d7;
  --text: #101312;
  --muted: #59554d;
  --line: rgba(16, 19, 18, 0.14);
  --graphite: #111615;
  --petrol: #123f43;
  --petrol-soft: #dbe8e6;
  --accent: #c79236;
  --accent-deep: #9a641f;
  --shadow: 0 24px 80px rgba(16, 19, 18, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(199, 146, 54, 0.09) 0, rgba(247, 244, 238, 0) 360px),
    var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
}

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

.site-header,
.section,
.site-footer {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.text-link,
.secondary-link {
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--graphite);
  color: #fff;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--petrol);
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
}

.section {
  padding: 88px 0;
}

.section-muted {
  width: 100%;
  max-width: none;
  padding-inline: max(24px, calc((100vw - 1200px) / 2));
  background: var(--surface-soft);
}

.section-dark {
  width: 100%;
  max-width: none;
  padding-inline: max(24px, calc((100vw - 1200px) / 2));
  background:
    radial-gradient(circle at top right, rgba(199, 146, 54, 0.2), transparent 360px),
    linear-gradient(135deg, #101312, var(--petrol));
  color: #fff;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-dark .eyebrow {
  color: #f0bd63;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Manrope", "Inter", sans-serif;
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
}

h2 {
  max-width: 840px;
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

h3 {
  margin-bottom: 14px;
  font-size: 1.18rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 48px;
  align-items: center;
  padding-top: 28px;
}

.hero-text {
  max-width: 680px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
}

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

.hero-metrics div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.hero-metrics dt {
  margin-bottom: 6px;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.portrait-frame {
  position: absolute;
  inset: 0 24px 0 auto;
  width: min(100%, 430px);
  border-radius: 8px;
  background: linear-gradient(180deg, #d9d3c8, #b8b0a2);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 63, 67, 0.04), rgba(16, 19, 18, 0.16)),
    linear-gradient(90deg, rgba(199, 146, 54, 0.12), transparent 38%);
  pointer-events: none;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 63% center;
}

.portrait-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(17, 17, 17, 0.5);
  font-weight: 600;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.08)),
    linear-gradient(135deg, #ded8cf 0%, #b5ac9f 100%);
}

.visual-card {
  position: absolute;
  left: 0;
  width: 260px;
  padding: 20px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 40px rgba(16, 19, 18, 0.14);
}

.visual-card strong,
.visual-card span {
  display: block;
}

.visual-card strong {
  margin-bottom: 8px;
}

.visual-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.visual-card-top {
  top: 42px;
}

.visual-card-bottom {
  bottom: 42px;
}

.section-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 36px;
}

.section-heading.narrow {
  max-width: 760px;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  color: var(--muted);
  font-size: 1.05rem;
}

.story-grid,
.trajectory-grid,
.services-grid,
.proof-grid,
.process-grid {
  display: grid;
  gap: 18px;
}

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

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

.story-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(16, 19, 18, 0.05);
}

.trajectory-grid article {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.trajectory-grid p {
  margin: 0;
  color: var(--muted);
}

.story-index {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent-deep);
  font-weight: 700;
}

.story-card p,
.services-grid p,
.proof-card p,
.comparison li,
.process-grid p,
.contact-panel p {
  margin: 0;
  color: var(--muted);
}

.section-dark .services-grid p,
.section-dark .fit-list div {
  color: rgba(255, 255, 255, 0.72);
}

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

.services-grid article {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

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

.comparison-column {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.comparison-column.featured {
  border-color: rgba(18, 63, 67, 0.3);
  background: linear-gradient(180deg, var(--petrol-soft), #f8f4eb);
}

.comparison ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.comparison li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--accent);
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-grid li {
  padding: 24px;
  border-top: 1px solid var(--line);
}

.process-grid span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent-deep);
  font-weight: 700;
}

.proof-grid {
  grid-template-columns: 1.4fr repeat(3, minmax(0, 0.8fr));
}

.proof-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(16, 19, 18, 0.05);
}

.proof-main {
  min-height: 280px;
  background:
    linear-gradient(180deg, rgba(18, 63, 67, 0.15), rgba(17, 22, 21, 0.84)),
    linear-gradient(135deg, #9e7130, #123f43 55%, #111615);
  color: #fff;
}

.proof-main p {
  color: rgba(255, 255, 255, 0.78);
}

.proof-label {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(199, 146, 54, 0.18);
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
}

.proof-main .proof-label {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

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

.fit-list div {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-panel {
  padding: clamp(28px, 4vw, 48px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(219, 232, 230, 0.72), rgba(255, 255, 255, 0.92) 42%),
    var(--surface);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  margin-bottom: 18px;
}

.contact-panel p {
  max-width: 680px;
  margin-bottom: 28px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 36px;
  color: var(--muted);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (max-width: 960px) {
  .hero,
  .split-grid,
  .story-grid,
  .trajectory-grid,
  .comparison,
  .fit-list {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 32px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .portrait-frame {
    inset: 0 0 0 auto;
    width: min(100%, 400px);
  }

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

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

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

  .proof-main {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .site-header,
  .section,
  .site-footer {
    width: min(100% - 32px, 1200px);
  }

  .site-header {
    min-height: 76px;
  }

  .text-link {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .section-muted,
  .section-dark {
    padding-inline: 16px;
  }

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

  .hero-metrics,
  .services-grid,
  .process-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: grid;
    gap: 12px;
    min-height: 0;
  }

  .portrait-frame {
    position: relative;
    inset: auto;
    width: calc(100% - 24px);
    height: 420px;
    justify-self: center;
  }

  .visual-card {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: min(100%, 240px);
    padding: 16px;
    box-shadow: 0 12px 28px rgba(16, 19, 18, 0.1);
  }

  .visual-card-top {
    justify-self: start;
  }

  .visual-card-bottom {
    justify-self: end;
  }
}
