:root {
  --bg: #f5f0e6;
  --bg-soft: #faf6ef;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #fffaf1;
  --surface-dark: #191714;
  --text: #181512;
  --text-soft: #5f584f;
  --line: rgba(24, 21, 18, 0.1);
  --line-strong: rgba(24, 21, 18, 0.18);
  --accent: #c79a3d;
  --accent-strong: #a7771e;
  --accent-soft: rgba(199, 154, 61, 0.14);
  --cyan: #56e2f3;
  --cyan-soft: rgba(86, 226, 243, 0.14);
  --shadow: 0 24px 60px rgba(32, 24, 16, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Instrument Sans", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(199, 154, 61, 0.24), transparent 32%),
    radial-gradient(circle at bottom right, rgba(25, 23, 20, 0.08), transparent 28%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-width: 320px;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.3), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 28%);
  z-index: -1;
}

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

.section {
  padding: 5.5rem 0;
}

.section--accent {
  background: rgba(255, 250, 241, 0.58);
  border-top: 1px solid rgba(24, 21, 18, 0.06);
  border-bottom: 1px solid rgba(24, 21, 18, 0.06);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(245, 240, 230, 0.72);
  border-bottom: 1px solid rgba(24, 21, 18, 0.06);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  object-fit: contain;
  box-shadow: 0 12px 28px rgba(199, 154, 61, 0.18);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-copy strong {
  font-family: "Sora", sans-serif;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.brand-copy span:last-child {
  color: var(--text-soft);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--text-soft);
  font-size: 0.95rem;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  color: var(--text);
  border-radius: 999px;
  padding: 0.7rem 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

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

.button--primary {
  background: var(--surface-dark);
  color: #fff6ea;
  box-shadow: 0 14px 32px rgba(25, 23, 20, 0.18);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #24211d;
}

.button--secondary,
.button--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.65);
  color: var(--text);
}

.button--secondary:hover,
.button--secondary:focus-visible,
.button--ghost:hover,
.button--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.95);
}

.button--small {
  min-height: 42px;
  padding: 0.75rem 1rem;
}

.button--full {
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.8rem, 5.4vw, 5.6rem);
  max-width: 13ch;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.3rem);
  max-width: 14ch;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0;
}

.lead,
.section-lead {
  font-size: 1.08rem;
  color: var(--text-soft);
}

.hero {
  padding-top: 4.6rem;
}

.hero-grid,
.split-grid,
.cta-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.9fr);
  align-items: start;
}

.hero-copy {
  display: grid;
  gap: 1.5rem;
}

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

.hero-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  padding: 0;
  margin: 0.2rem 0 0;
  list-style: none;
}

.hero-notes li {
  padding: 1rem 1.05rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(24, 21, 18, 0.08);
  border-radius: var(--radius-md);
  color: var(--text-soft);
  box-shadow: var(--shadow);
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.panel-card,
.info-card,
.service-card,
.logo-card,
.stack-item,
.cta-card {
  border: 1px solid rgba(24, 21, 18, 0.08);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.panel-card {
  padding: 1.4rem;
}

.panel-card--intro {
  padding: 1.6rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(248, 239, 222, 0.84)),
    var(--surface);
}

.panel-card--intro h2 {
  max-width: 11ch;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  margin-bottom: 0.85rem;
}

.panel-label {
  display: inline-flex;
  margin-bottom: 0.8rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.proof-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.proof-tags span {
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(24, 21, 18, 0.08);
  color: var(--text-soft);
  font-size: 0.92rem;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}

.section-copy {
  display: grid;
  gap: 1rem;
  color: var(--text-soft);
  font-size: 1.04rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

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

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

.info-card,
.service-card,
.stack-item {
  padding: 1.5rem;
}

.info-card p,
.service-card p,
.stack-item p,
.panel-card p,
.cta-card,
.site-footer p {
  color: var(--text-soft);
}

.info-card--emphasis {
  background:
    linear-gradient(145deg, rgba(255, 247, 232, 0.95), rgba(255, 255, 255, 0.84)),
    var(--surface);
  border-color: rgba(199, 154, 61, 0.24);
}

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

.vortex-section {
  position: relative;
  overflow: hidden;
  padding-top: 3.8rem;
}

.vortex-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(86, 226, 243, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 36%);
  pointer-events: none;
}

.vortex-frame {
  position: relative;
  display: grid;
  gap: 2rem;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border: 1px solid rgba(24, 21, 18, 0.08);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(251, 248, 242, 0.86)),
    rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.vortex-header {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.8fr);
  gap: 1.4rem 2rem;
  align-items: start;
}

.vortex-copy {
  display: grid;
  gap: 1rem;
}

.vortex-copy h2 {
  max-width: 11ch;
}

.vortex-copy__support {
  max-width: 62ch;
  color: var(--text-soft);
}

.vortex-side {
  display: grid;
  gap: 1rem;
}

.vortex-metric,
.vortex-card,
.vortex-footer {
  position: relative;
  border: 1px solid rgba(24, 21, 18, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.vortex-metric {
  padding: 1.35rem 1.45rem;
}

.vortex-metric__value {
  display: block;
  margin: 0.25rem 0 0.7rem;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.vortex-metric__value {
  color: var(--text);
}

.vortex-metric__value[data-counter-target="0"] {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.vortex-metric__label,
.vortex-footer__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vortex-metric--accent {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(240, 251, 253, 0.92)),
    rgba(255, 255, 255, 0.8);
  border-color: rgba(86, 226, 243, 0.24);
}

.vortex-metric__value--cyan {
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(86, 226, 243, 0.18);
}

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

.vortex-card {
  display: grid;
  gap: 0.9rem;
  min-height: 100%;
  padding: 1.6rem;
}

.vortex-card__index {
  display: inline-flex;
  width: fit-content;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  background: rgba(24, 21, 18, 0.06);
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.vortex-card__lead {
  color: var(--text);
  font-weight: 600;
}

.vortex-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 1.4rem 1.5rem;
}

.vortex-footer__copy {
  display: grid;
  gap: 0.4rem;
  max-width: 760px;
}

.stack-list {
  display: grid;
  gap: 1rem;
}

.stack-item {
  position: relative;
  overflow: hidden;
}

.stack-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), rgba(199, 154, 61, 0.2));
}

.stack-item h3 {
  margin-bottom: 0.55rem;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  margin-bottom: 1.25rem;
}

.logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  padding: 1.2rem 1.35rem;
  background: rgba(255, 255, 255, 0.94);
}

.logo-card img {
  max-height: 72px;
  max-width: 88%;
  width: auto;
  object-fit: contain;
  filter: none !important;
  opacity: 1;
  transform: translateZ(0);
}

.logo-card--wide img {
  max-width: 78%;
}

.logo-card--tall img {
  max-height: 84px;
  max-width: 62%;
}

.cta-section {
  padding-bottom: 6rem;
}

.cta-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
}

.cta-copy {
  display: grid;
  gap: 1rem;
}

.cta-card {
  display: grid;
  gap: 0.9rem;
  padding: 1.4rem;
  background:
    linear-gradient(145deg, rgba(255, 250, 241, 0.94), rgba(255, 255, 255, 0.88)),
    var(--surface);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  min-height: 54px;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(24, 21, 18, 0.08);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.contact-link::after {
  content: "\2192";
  color: var(--accent-strong);
}

.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(199, 154, 61, 0.4);
  background: rgba(255, 255, 255, 0.92);
}

.site-footer {
  border-top: 1px solid rgba(24, 21, 18, 0.08);
  padding: 1.5rem 0 2.5rem;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-shell strong {
  font-family: "Sora", sans-serif;
}

@media (max-width: 1080px) {
  .hero-grid,
  .section-intro,
  .split-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .vortex-header,
  .vortex-grid {
    grid-template-columns: 1fr;
  }

  .hero-notes,
  .card-grid--three,
  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .section {
    padding: 4.4rem 0;
  }

  .brand-copy span:last-child {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.85rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 24px;
    border: 1px solid rgba(24, 21, 18, 0.08);
    background: rgba(250, 246, 239, 0.96);
    box-shadow: 0 24px 48px rgba(24, 21, 18, 0.12);
  }

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

  .site-nav a {
    padding: 0.35rem 0;
  }

  .hero {
    padding-top: 3.4rem;
  }

  h1 {
    max-width: 11ch;
  }

  .platform-grid,
  .card-grid--two {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .nav-shell {
    min-height: 76px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-notes,
  .card-grid--three,
  .logo-grid,
  .vortex-grid {
    grid-template-columns: 1fr;
  }

  .logo-card {
    min-height: 116px;
  }

  .logo-card img {
    max-height: 60px;
    max-width: 82%;
  }

  .logo-card--tall img {
    max-height: 70px;
    max-width: 56%;
  }
}
