:root {
  color-scheme: only light;
  --bg: #f7f4ef;
  --bg-alt: #f1eee8;
  --surface-card:
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.3));
  --surface-panel:
    linear-gradient(145deg, rgba(255, 255, 255, 0.64), rgba(247, 244, 239, 0.26));
  --ink: #101010;
  --muted: #505050;
  --line: rgba(0, 0, 0, 0.15);
  --accent: #1c1c1c;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.1);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.08);
  --shadow-panel: 0 24px 58px rgba(0, 0, 0, 0.1);
  --max-width: 1120px;
  --focus-ring: 0 0 0 3px rgba(16, 16, 16, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  letter-spacing: 0.01em;
  background-image:
    radial-gradient(circle at 10% 10%, rgba(0, 0, 0, 0.035), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(0, 0, 0, 0.03), transparent 50%),
    radial-gradient(circle at 30% 80%, rgba(0, 0, 0, 0.025), transparent 50%),
    repeating-linear-gradient(
      120deg,
      rgba(0, 0, 0, 0.024),
      rgba(0, 0, 0, 0.024) 1px,
      transparent 1px,
      transparent 132px
    );
}

:where(a, button, input, textarea):focus-visible {
  outline: 2px solid transparent;
  outline-offset: 3px;
  box-shadow: var(--focus-ring);
}

.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 30;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 12px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.page {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  padding-top: 72px;
}

.page::before,
.page::after {
  content: "";
  position: fixed;
  inset: -30% 0 auto 40%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.08), transparent 65%);
  opacity: 0.12;
  pointer-events: none;
}

.page::after {
  inset: auto 55% -35% -10%;
  width: 50vw;
  height: 50vw;
}

.abstract-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.abstract-shape {
  position: absolute;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 48% 52% 60% 40% / 45% 55% 45% 55%;
  opacity: 0.42;
  filter: blur(0.2px);
}

.shape-one {
  width: 38vw;
  height: 38vw;
  top: -8vw;
  left: -10vw;
  transform: rotate(-12deg);
}

.shape-two {
  width: 30vw;
  height: 30vw;
  top: 18vw;
  right: -8vw;
  transform: rotate(22deg);
}

.shape-three {
  width: 26vw;
  height: 26vw;
  bottom: -10vw;
  left: 25vw;
  transform: rotate(-18deg);
}

.container {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: fixed;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background:
    linear-gradient(
      180deg,
      rgba(247, 244, 239, 0.88) 0%,
      rgba(247, 244, 239, 0.7) 42%,
      rgba(247, 244, 239, 0.22) 78%,
      rgba(247, 244, 239, 0) 100%
    );
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  width: 100%;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.site-header.header-hidden {
  opacity: 0;
  transform: translateY(-18px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
  pointer-events: none;
}

.logo img {
  display: block;
}

.logo {
  display: inline-flex;
  align-items: flex-end;
  gap: 8px;
}

.logo-mark {
  display: inline-flex;
}

.logo-mark img {
  display: block;
}

.logo-domain {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 16px;
  transform: translate(-14px, 0);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 300;
  transition: opacity 0.2s ease;
}

.nav a:hover {
  opacity: 0.6;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: inherit;
}

.hero {
  padding: 156px 0 132px;
  position: relative;
}

.hero-grid {
  display: grid;
  gap: 60px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 200;
  margin-bottom: 16px;
  line-height: 1.1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 16px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.btn {
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn.primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.btn.ghost {
  color: var(--ink);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.hero-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-lines span {
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.hero-visual {
  display: grid;
  gap: 24px;
  justify-items: center;
}

.hero-visual-shell {
  position: relative;
  display: grid;
  place-items: center;
  padding: 24px;
  border-radius: 32px;
  z-index: 0;
  min-height: 320px;
  transform: translateZ(0);
  isolation: isolate;
}

.hero-visual-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.28), transparent 58%),
    radial-gradient(circle at 82% 82%, rgba(0, 0, 0, 0.045), transparent 50%),
    var(--surface-panel);
  box-shadow: var(--shadow-panel);
  opacity: 0.72;
  z-index: -1;
}

.hero-visual-shell > * {
  position: relative;
  z-index: 1;
}

.logo-frame {
  --logo-size: 280px;
  --logo-static-scale: 1.0;
  --logo-static-x: 0px;
  --logo-static-y: 0px;
  --logo-anim-scale: 1;
  position: relative;
  width: min(var(--logo-size), 42vw);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background: transparent;
  border: none;
  padding: 6px;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.1));
  transform: translateZ(0);
}

.logo-frame img {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.0s ease;
  will-change: opacity;
}

.logo-static {
  transform: translate(var(--logo-static-x), var(--logo-static-y))
    scale(var(--logo-static-scale));
  will-change: opacity, transform;
  transition: none;
}

.logo-anim {
  transform: scale(var(--logo-anim-scale));
  will-change: opacity, transform;
}

.logo-static.is-visible,
.logo-anim.is-visible {
  opacity: 1;
}

.logo-frame.is-hidden .logo-static {
  opacity: 0;
  transition: opacity 0.4s ease;
}


.section {
  padding: 88px 0;
  position: relative;
  scroll-margin-top: 110px;
}

.section-alt {
  background: transparent;
}

.section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(241, 238, 232, 0.18) 0%,
    rgba(241, 238, 232, 0.56) 18%,
    rgba(241, 238, 232, 0.6) 82%,
    rgba(241, 238, 232, 0.2) 100%
  );
}

.section-header {
  max-width: 620px;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 200;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--muted);
}

.cap-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 18px;
}

.cap-card {
  display: grid;
  align-content: start;
  gap: 10px;
  border: none;
  padding: 22px;
  border-radius: 18px;
  min-height: 188px;
  background: var(--surface-card);
  box-shadow: var(--shadow-soft);
}

.cap-card h3 {
  font-weight: 300;
  margin-bottom: 12px;
}

.cap-card p {
  color: var(--muted);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
}

.card-tags span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.focus-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.focus-list div {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.focus-list {
  margin-top: 70px;
}

.focus-list .line {
  width: 24px;
  height: 1px;
  margin-top: 10px;
  background: var(--ink);
  flex-shrink: 0;
}

.industry-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.industry {
  display: grid;
  align-content: start;
  border: none;
  padding: 28px;
  border-radius: 18px;
  background: var(--surface-card);
  box-shadow: var(--shadow-soft);
}

.industry h3 {
  font-weight: 300;
  margin-bottom: 12px;
}

.stats {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-bottom: 18px;
}

.stat {
  padding: 22px;
  border-radius: 18px;
  background: var(--surface-card);
  box-shadow: var(--shadow-soft);
}

.stat h3 {
  font-size: 1.8rem;
  font-weight: 200;
  margin-bottom: 6px;
}

.stat p {
  color: var(--muted);
  font-size: 0.9rem;
}

.proof-notes {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.proof-note {
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.22));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
}

.proof-note h3 {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 6px;
}

.proof-note p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.cta {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(460px, 520px);
  gap: 18px 32px;
  align-items: stretch;
  border: none;
  padding: 42px 40px;
  border-radius: 24px;
  background: var(--surface-panel);
  box-shadow: var(--shadow-panel);
}

.cta-copy {
  max-width: 420px;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  align-content: start;
}

.cta-copy p:last-of-type {
  margin-bottom: 10px;
}

.cta h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 200;
  margin-bottom: 12px;
}

.cta-actions {
  display: grid;
  gap: 14px;
  width: 100%;
  min-width: 0;
  align-content: start;
}

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

.form-field {
  display: grid;
  gap: 6px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.form-field input,
.form-field textarea {
  border: none;
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: "Nunito", "Helvetica Neue", Arial, sans-serif;
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
  outline: none;
  resize: vertical;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-status {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  color: var(--muted);
  min-height: 1.2em;
}

.form-field input:focus,
.form-field textarea:focus {
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.12);
}

.contact-form .btn {
  justify-self: start;
}

.cta-links {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-self: end;
  margin-top: 18px;
}

.cta-links .btn {
  white-space: nowrap;
}

.site-footer {
  padding: 40px 0;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(16px);
  background:
    linear-gradient(
      180deg,
      rgba(247, 244, 239, 0.12) 0%,
      rgba(247, 244, 239, 0.5) 34%,
      rgba(247, 244, 239, 0.72) 100%
    );
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-enabled .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}


@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .nav {
    display: none;
    width: 100%;
    order: 3;
    flex-wrap: wrap;
    gap: 10px 14px;
    padding-top: 6px;
  }

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

  .nav a {
    font-size: 0.78rem;
    letter-spacing: 0.09em;
  }

  .hero {
    padding: 124px 0 88px;
  }

  .focus-list {
    margin-top: 20px;
  }

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

  .cta-copy {
    display: block;
    max-width: none;
  }

  .cta-links {
    margin-top: 14px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 18px;
  }

  .page {
    padding-top: 64px;
  }

  .hero {
    padding: 104px 0 68px;
  }

  .hero-copy h1 {
    font-size: clamp(2.1rem, 10vw, 2.7rem);
  }

  .lead {
    font-size: 1rem;
  }

  .hero-visual-shell {
    min-height: 260px;
    padding: 18px;
  }

  .logo-frame {
    --logo-size: 210px;
  }

  .hero-lines {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-lines span {
    border-left: none;
    padding-left: 0;
  }

  .cta {
    padding: 28px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-field.full {
    grid-column: auto;
  }

  .cta-actions {
    min-width: 100%;
  }

  .cta-links {
    flex-wrap: wrap;
    margin-top: 12px;
  }
}

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

  .site-header,
  .js-enabled .reveal,
  .logo-frame img,
  .logo-frame.is-hidden .logo-static {
    transition: none !important;
  }

  .js-enabled .reveal {
    opacity: 1;
    transform: none;
  }
}
