:root {
  color-scheme: light;
  --bg: #f3ede2;
  --bg-soft: #fbf6ef;
  --surface: rgba(255, 252, 247, 0.68);
  --surface-strong: rgba(255, 251, 244, 0.86);
  --ink: #17201d;
  --muted: #5f695f;
  --line: rgba(23, 32, 29, 0.12);
  --gold: #af8a4a;
  --gold-soft: #d8bc7d;
  --forest: #10211d;
  --forest-soft: #1d312a;
  --shadow: 0 30px 80px rgba(26, 31, 27, 0.12);
  --radius: 28px;
  --radius-small: 18px;
  --max-width: 1200px;
  --sans: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  --serif: "Iowan Old Style", "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(214, 188, 126, 0.28), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(16, 33, 29, 0.08), transparent 28%),
    linear-gradient(180deg, #f7f1e7 0%, #f2ebdf 40%, #efe7da 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 88%);
  opacity: 0.18;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

.ambient {
  position: fixed;
  inset: auto;
  border-radius: 999px;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.ambient-one {
  top: 12%;
  left: -6rem;
  width: 15rem;
  height: 15rem;
  background: rgba(173, 141, 83, 0.18);
}

.ambient-two {
  right: -8rem;
  bottom: 12%;
  width: 18rem;
  height: 18rem;
  background: rgba(16, 33, 29, 0.12);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1rem 1.25rem;
  background: linear-gradient(180deg, rgba(247, 241, 231, 0.96), rgba(247, 241, 231, 0.84));
  border: 1px solid rgba(23, 32, 29, 0.08);
  border-top: 0;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 14px 34px rgba(26, 31, 27, 0.08);
  backdrop-filter: blur(18px);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 320ms ease;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: -1.4rem;
  height: 1.4rem;
  background: linear-gradient(180deg, rgba(247, 241, 231, 0.42), transparent);
  border-radius: 0 0 18px 18px;
  pointer-events: none;
  transition: opacity 320ms ease;
}

.site-header.is-hidden {
  opacity: 0;
  transform: translateY(calc(-100% - 1.5rem));
  pointer-events: none;
}

.site-header.is-hidden::after {
  opacity: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-weight: 600;
}

.brand-mark {
  width: clamp(2.4rem, 7vw, 3.35rem);
  height: clamp(2.4rem, 7vw, 3.35rem);
  padding: 0.28rem;
  object-fit: contain;
  border: 1px solid rgba(175, 138, 74, 0.28);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.92), rgba(247, 239, 227, 0.78));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 10px 24px rgba(16, 33, 29, 0.08);
  flex-shrink: 0;
}

.site-nav {
  display: none;
  gap: 1.4rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.2rem 0.1rem;
  transition: color 280ms ease, transform 280ms ease;
}

.site-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(175, 138, 74, 0.9), transparent);
  transform: scaleX(0.2);
  transform-origin: center;
  opacity: 0;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 320ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--forest);
  transform: translateY(-1px);
}

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

main {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.hero,
.story-step,
.services,
.cta-section {
  padding: 4.5rem 0;
}

.hero {
  min-height: calc(100svh - 4rem);
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy,
.story-copy,
.services-heading,
.cta-section {
  max-width: 42rem;
}

.eyebrow,
.step-index,
.mini-label,
.service-card span {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  line-height: 0.96;
  font-weight: 600;
}

h1 {
  margin-top: 0.8rem;
  font-size: clamp(3.7rem, 11vw, 7rem);
  max-width: 12ch;
}

.hero-text,
.story-copy p,
.service-card p,
.cta-section p,
.site-footer p {
  color: var(--muted);
  font-size: 1rem;
}

.hero-text {
  max-width: 36rem;
  margin: 1.4rem 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  transition: transform 260ms ease, box-shadow 260ms ease, background-color 260ms ease;
}

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

.brand:focus-visible,
.site-nav a:focus-visible,
.button:focus-visible {
  outline: 2px solid rgba(175, 138, 74, 0.65);
  outline-offset: 4px;
}

.button-primary {
  color: #f8f3ea;
  background: linear-gradient(135deg, var(--forest) 0%, #213730 100%);
  box-shadow: 0 20px 44px rgba(16, 33, 29, 0.22);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 252, 247, 0.62);
  border: 1px solid rgba(23, 32, 29, 0.1);
}

.hero-metrics {
  display: grid;
  gap: 0.95rem;
  margin: 2rem 0 0;
}

.hero-metrics div,
.service-card,
.story-visual > div,
.cta-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 250, 244, 0.52));
  border: 1px solid rgba(23, 32, 29, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero-metrics div {
  padding: 1rem 1.2rem;
}

.hero-metrics dt {
  margin-bottom: 0.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-metrics dd {
  margin: 0;
  color: var(--ink);
}

.hero-visual {
  position: relative;
  pointer-events: none;
}

.hero-stage {
  position: relative;
  min-height: 32rem;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  padding: 1.25rem;
  background:
    radial-gradient(circle at top, rgba(216, 188, 125, 0.24), transparent 28%),
    linear-gradient(160deg, #132722 0%, #081210 100%);
  box-shadow: 0 40px 90px rgba(16, 33, 29, 0.28);
}

.signature-lines {
  position: absolute;
  inset: 8% 10% auto auto;
  width: 86%;
  height: 86%;
  stroke: rgba(232, 211, 170, 0.38);
  stroke-width: 1;
  stroke-dasharray: 1100;
  stroke-dashoffset: 1100;
  animation: draw 2.5s ease forwards 0.3s;
}

.hero-orbit {
  position: absolute;
  inset: 14% 18%;
  border: 1px solid rgba(216, 188, 125, 0.2);
  border-radius: 50%;
  animation: slow-spin 18s linear infinite;
}

.hero-device {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 1;
  will-change: transform;
  padding: 1rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(250, 245, 235, 0.1), rgba(248, 242, 230, 0.04));
  border: 1px solid rgba(255, 251, 242, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.window-chrome {
  display: flex;
  gap: 0.4rem;
}

.window-chrome span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 247, 229, 0.38);
}

.device-copy {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
  color: #f5f0e4;
}

.device-copy h2 {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  max-width: 10ch;
}

.device-grid {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.device-card {
  padding: 1rem;
  border-radius: 20px;
  min-height: 6rem;
  background: rgba(255, 251, 243, 0.08);
  border: 1px solid rgba(255, 250, 240, 0.14);
  color: #f8f1e2;
}

.device-card strong,
.draft-note strong,
.metric-card strong,
.launch-phone strong,
.ui-surface strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.05;
  margin-top: 0.45rem;
}

.floating-note {
  position: absolute;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 246, 228, 0.12);
  border: 1px solid rgba(255, 246, 228, 0.16);
  color: #f8f1e2;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.note-top {
  top: 1.4rem;
  right: 1.4rem;
}

.note-bottom {
  left: 1.4rem;
  bottom: 8.25rem;
  z-index: 0;
}

.journey-intro {
  display: grid;
  gap: 1.5rem;
  padding: 3.25rem 0 2rem;
  max-width: none;
  align-items: end;
}

.journey-intro__copy {
  max-width: 46rem;
}

.journey-intro__detail {
  max-width: 28rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid rgba(23, 32, 29, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 250, 244, 0.28));
  box-shadow: 0 22px 46px rgba(26, 31, 27, 0.08);
  backdrop-filter: blur(14px);
}

.journey-intro__kicker {
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.journey-intro__detail p:last-child {
  margin: 0;
  color: var(--muted);
}

.journey-intro h2,
.story-copy h2,
.services-heading h2,
.cta-section h2 {
  margin-top: 0.8rem;
  font-size: clamp(2.35rem, 7vw, 4.5rem);
}

.journey-intro h2 {
  max-width: 10ch;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.92;
}

.story-step {
  position: relative;
  padding: 3rem 0;
  --story-progress: 0.5;
}

.story-step::before {
  content: "";
  position: absolute;
  inset: 1rem 0 1rem;
  border-radius: calc(var(--radius) + 10px);
  background:
    radial-gradient(circle at 10% 18%, rgba(216, 188, 125, 0.16), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.02));
  opacity: 0.38;
  pointer-events: none;
  transform: scale(0.985);
  transition: opacity 720ms ease, transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.story-stage {
  position: relative;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.story-copy {
  position: relative;
  z-index: 1;
  padding: 1.1rem 0;
  opacity: 0.72;
  transform: translate3d(0, 1rem, 0);
  transition: opacity 720ms ease, transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.story-copy h2 {
  margin: 0.7rem 0 1rem;
}

.step-highlight {
  color: var(--ink);
  font-weight: 600;
}

.story-visual > div {
  position: relative;
  min-height: 24rem;
  padding: 1.25rem;
  overflow: hidden;
  opacity: 0.78;
  transform: translate3d(0, 1.4rem, 0) scale(0.975);
  transition:
    opacity 720ms ease,
    transform 950ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 720ms ease,
    border-color 720ms ease;
}

.story-step.is-current::before {
  opacity: 0.54;
  transform: scale(1);
}

.story-step.is-current .story-copy {
  opacity: 1;
  transform: none;
}

.story-step.is-current .story-visual > div {
  opacity: 1;
  transform: none;
  border-color: rgba(175, 138, 74, 0.16);
  box-shadow: 0 36px 82px rgba(26, 31, 27, 0.14);
}

.story-cms-image-frame > *:not(.story-cms-image) {
  position: relative;
  z-index: 2;
  transition: opacity 360ms ease, transform 520ms ease, filter 520ms ease;
}

.story-cms-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.03);
  transition:
    opacity 420ms ease,
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.story-cms-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(16, 24, 21, 0.08), rgba(16, 24, 21, 0.22)),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.12), transparent 42%);
  transition: opacity 420ms ease;
}

.story-cms-image-frame.has-cms-image::after {
  opacity: 1;
}

.story-cms-image-frame.has-cms-image .story-cms-image {
  opacity: 1;
  transform: scale(1);
}

.story-cms-image-frame.has-cms-image > *:not(.story-cms-image) {
  opacity: 0;
  transform: scale(0.985);
  filter: blur(6px);
}

.draft-board.has-cms-image {
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(246, 238, 226, 0.9));
}

.draft-board.has-cms-image .story-cms-image {
  inset: 1rem;
  z-index: 1;
  object-fit: contain;
  object-position: center;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    0 18px 38px rgba(16, 33, 29, 0.08);
}

.draft-board.has-cms-image::after {
  background:
    linear-gradient(180deg, rgba(255, 251, 245, 0.1), rgba(16, 24, 21, 0.08)),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.26), transparent 46%);
}

.draft-board.has-cms-image > *:not(.story-cms-image) {
  opacity: 1;
  transform: none;
  filter: none;
}

.draft-board.has-cms-image .draft-note {
  background: rgba(255, 252, 246, 0.9);
  backdrop-filter: blur(14px);
}

.draft-board.has-cms-image .draft-path {
  border-color: rgba(175, 138, 74, 0.28);
}

.draft-board {
  background:
    linear-gradient(transparent 95%, rgba(16, 33, 29, 0.07) 95%),
    linear-gradient(90deg, transparent 95%, rgba(16, 33, 29, 0.07) 95%),
    linear-gradient(180deg, rgba(255, 252, 246, 0.95), rgba(246, 238, 226, 0.88));
  background-size: 44px 44px, 44px 44px, 100% 100%;
}

.draft-note {
  position: absolute;
  padding: 1rem;
  border-radius: 20px;
  background: var(--surface-strong);
  border: 1px solid rgba(23, 32, 29, 0.08);
  box-shadow: 0 14px 34px rgba(16, 33, 29, 0.08);
}

.draft-note-large {
  top: 18%;
  left: 8%;
  width: min(18rem, 72%);
  transform: rotate(-5deg);
}

.draft-note-small {
  right: 10%;
  bottom: 16%;
  width: min(13rem, 52%);
  transform: rotate(6deg);
}

.draft-path {
  position: absolute;
  inset: 18% 16% 18% 16%;
  border: 1px dashed rgba(175, 138, 74, 0.42);
  border-radius: 45% 55% 53% 47% / 42% 38% 62% 58%;
}

.path-dot {
  position: absolute;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(175, 138, 74, 0.13);
}

.dot-one {
  top: 10%;
  left: 12%;
}

.dot-two {
  top: 44%;
  right: 18%;
}

.dot-three {
  bottom: 8%;
  left: 42%;
}

.build-stage {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top, rgba(216, 188, 125, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(242, 233, 220, 0.88));
}

.wireframe-shell,
.ui-surface,
.launch-browser,
.chart-card {
  border-radius: 24px;
  border: 1px solid rgba(23, 32, 29, 0.08);
}

.wireframe-shell {
  position: absolute;
  inset: 12% 22% 16% 10%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.7);
  opacity: 0.65;
}

.wireframe-header,
.wireframe-block,
.wireframe-columns span {
  display: block;
  border-radius: 999px;
  background: rgba(16, 33, 29, 0.11);
}

.wireframe-header {
  width: 36%;
  height: 0.9rem;
}

.wireframe-block {
  margin-top: 1.5rem;
  height: 6rem;
}

.wireframe-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.wireframe-columns span {
  height: 7rem;
}

.ui-surface {
  position: absolute;
  inset: 18% 8% 10% 28%;
  padding: 1rem;
  background: linear-gradient(180deg, #182c27, #10211d);
  color: #f7f0e2;
  box-shadow: 0 25px 55px rgba(16, 33, 29, 0.22);
}

.ui-surface-top {
  display: grid;
  gap: 0.35rem;
}

.ui-panels {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 0.85fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

.ui-panels article {
  min-height: 8rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 251, 243, 0.12), rgba(255, 251, 243, 0.04));
  border: 1px solid rgba(255, 251, 243, 0.1);
}

.code-ribbon {
  position: absolute;
  left: 12%;
  bottom: 10%;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: rgba(255, 251, 243, 0.7);
  border: 1px solid rgba(23, 32, 29, 0.08);
  color: var(--forest);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.launch-stage {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(216, 188, 125, 0.24), transparent 22%),
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(242, 233, 220, 0.9));
}

.launch-browser {
  position: absolute;
  inset: 12% 16% 18% 6%;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(251, 245, 234, 0.76));
}

.launch-hero-line {
  height: 8.5rem;
  margin-top: 1rem;
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(16, 33, 29, 0.94), rgba(26, 46, 40, 0.8));
}

.launch-panels {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.8rem;
  margin-top: 0.9rem;
}

.launch-panels article {
  min-height: 6rem;
  border-radius: 18px;
  background: rgba(16, 33, 29, 0.08);
}

.launch-phone {
  position: absolute;
  right: 8%;
  bottom: 10%;
  width: min(11rem, 34vw);
  padding: 0.65rem;
  border-radius: 32px;
  background: linear-gradient(180deg, #162925, #09110f);
  box-shadow: 0 24px 56px rgba(16, 33, 29, 0.28);
}

.phone-screen {
  min-height: 18rem;
  padding: 1rem;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 251, 244, 0.12), rgba(255, 251, 244, 0.04));
  color: #f8f2e8;
}

.growth-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  align-content: center;
  background:
    radial-gradient(circle at 82% 12%, rgba(216, 188, 125, 0.22), transparent 18%),
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(242, 233, 220, 0.9));
}

.chart-card {
  position: relative;
  grid-column: 1 / -1;
  min-height: 14rem;
  background: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}

.chart-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(16, 33, 29, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 33, 29, 0.08) 1px, transparent 1px);
  background-size: 52px 52px;
}

.chart-line {
  position: absolute;
  inset: 20% 8% 14%;
}

.chart-line::before {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom: 2px solid rgba(175, 138, 74, 0.24);
  border-left: 2px solid rgba(175, 138, 74, 0.24);
}

.chart-line span {
  position: absolute;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--forest), var(--gold));
  box-shadow: 0 0 0 10px rgba(175, 138, 74, 0.12);
}

.chart-line span:nth-child(1) {
  bottom: 18%;
  left: 10%;
}

.chart-line span:nth-child(2) {
  bottom: 34%;
  left: 34%;
}

.chart-line span:nth-child(3) {
  bottom: 46%;
  left: 57%;
}

.chart-line span:nth-child(4) {
  bottom: 68%;
  right: 8%;
}

.chart-line::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 8%;
  bottom: 22%;
  height: 2px;
  background: linear-gradient(90deg, rgba(175, 138, 74, 0.32), rgba(16, 33, 29, 0.72));
  transform: skewY(-16deg);
  transform-origin: left center;
}

.metric-card {
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 32, 29, 0.08);
}

.metric-card-primary {
  background: linear-gradient(180deg, #182d27, #10211d);
  color: #f8f2e8;
}

.metric-card-primary span {
  color: rgba(248, 242, 232, 0.72);
}

.services {
  padding-top: 5rem;
}

.services-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.service-card {
  padding: 1.4rem;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(175, 138, 74, 0.26);
  box-shadow: 0 28px 58px rgba(26, 31, 27, 0.16);
}

.service-card h3 {
  margin-top: 0.8rem;
  font-size: 1.8rem;
}

.cta-section {
  margin: 5rem 0 2rem;
  padding: 2rem;
}

.site-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 0 0 2rem;
  display: grid;
  gap: 0.45rem;
}

.footer-phone {
  width: fit-content;
  color: var(--forest);
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: color 240ms ease, transform 240ms ease;
}

.footer-phone:hover,
.footer-phone:focus-visible {
  color: var(--gold);
  transform: translateY(-1px);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 850ms ease, transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal="left"] {
  transform: translateX(-42px);
}

[data-reveal="right"] {
  transform: translateX(42px);
}

[data-reveal="zoom"] {
  transform: scale(0.92);
}

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

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes hero-breathe {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, -0.35rem, 0) scale(1.01);
  }
}

@media (min-width: 720px) {
  .device-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .growth-stage {
    grid-template-columns: 1.1fr 0.9fr 0.9fr;
  }

  .chart-card {
    grid-column: 1 / 3;
  }
}

@media (max-width: 959px) {
  .hero-device {
    animation: hero-breathe 7s ease-in-out infinite;
  }

  .story-step {
    padding: 4rem 0;
  }

  .story-step::before {
    inset: 1.25rem 0;
  }
}

@media (max-width: 480px) {
  .hero {
    gap: 1.75rem;
  }

  .hero-stage {
    min-height: 29rem;
    padding: 0.9rem;
    border-radius: 30px;
  }

  .signature-lines {
    inset: 13% 6% auto auto;
    width: 94%;
    height: 78%;
  }

  .hero-orbit {
    inset: 18% 12%;
  }

  .hero-device {
    right: 0.9rem;
    bottom: 0.9rem;
    left: 0.9rem;
    padding: 0.85rem;
    border-radius: 22px;
  }

  .device-copy {
    gap: 0.55rem;
    margin-top: 0.75rem;
  }

  .device-copy h2 {
    font-size: clamp(1.5rem, 7.4vw, 1.95rem);
    max-width: 7ch;
  }

  .device-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 1rem;
  }

  .device-card:first-child {
    grid-column: 1 / -1;
  }

  .device-card {
    min-height: auto;
    padding: 0.85rem;
    border-radius: 18px;
  }

  .device-card strong {
    font-size: 1.05rem;
  }
}

@media (max-width: 360px) {
  .hero-stage {
    min-height: 27.5rem;
  }

  .device-copy h2 {
    font-size: 1.38rem;
  }

  .device-card strong {
    font-size: 0.98rem;
  }
}

@media (min-width: 960px) {
  .site-nav {
    display: inline-flex;
  }

  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 2.5rem;
  }

  .hero {
    padding-top: 3rem;
  }

  .journey-intro {
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.7fr);
    gap: 3rem;
  }

  .story-step {
    min-height: 130svh;
    padding: 0;
  }

  .story-stage {
    position: sticky;
    top: 6.8rem;
    min-height: calc(100svh - 8.2rem);
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 3.2rem;
    align-items: center;
  }

  .story-copy {
    max-width: 32rem;
    padding-right: 1.25rem;
    opacity: 0.84;
    transform: translate3d(0, calc((0.5 - var(--story-progress)) * 2.5rem), 0);
  }

  .story-visual {
    align-self: center;
    pointer-events: none;
  }

  .story-visual > div {
    min-height: min(72svh, 42rem);
    opacity: 0.82;
    transform: translate3d(0, calc((var(--story-progress) - 0.5) * 3rem), 0) scale(0.965);
  }

  .story-step.is-current .story-copy {
    opacity: 1;
    transform: translate3d(0, calc((0.5 - var(--story-progress)) * 1.2rem), 0);
  }

  .story-step.is-current .story-visual > div {
    opacity: 1;
    transform: translate3d(0, calc((var(--story-progress) - 0.5) * 1.6rem), 0) scale(1);
    border-color: rgba(175, 138, 74, 0.2);
    box-shadow: 0 42px 90px rgba(26, 31, 27, 0.14);
  }

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

  .cta-section {
    padding: 3rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

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

  .story-copy,
  .story-visual > div {
    opacity: 1;
    transform: none;
  }

  .story-step::before {
    opacity: 0.38;
    transform: none;
  }

  .site-header {
    transition: none;
  }

  .site-header::after {
    transition: none;
  }
}
