/* ── TOKENS ── */
:root {
  --base:        oklch(26.59% 0.0023 325.64);
  --primary:     oklch(69.82% 0.1499 241.87);
  --accent:      oklch(88.13% 0.1104 91.94);
  --accent-warm: oklch(85.74% 0.1048 82.58);
  --surface:     oklch(94.75% 0.0131 82.4);
  --white:       oklch(100% 0 0);
  --base-60:     oklch(26.59% 0.0023 325.64 / 0.6);
  --base-12:     oklch(26.59% 0.0023 325.64 / 0.12);
  --base-06:     oklch(26.59% 0.0023 325.64 / 0.06);
  --primary-15:  oklch(69.82% 0.1499 241.87 / 0.15);
  --primary-hover: oklch(62.67% 0.1423 242.33);
  --nav-h:       4.5rem;
}

/* ── MANROPE (variable, 200–800) ── */
@font-face {
  font-family: 'Manrope';
  src: url('fonts/Manrope.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', sans-serif;
  font-size: 100%;
  line-height: 1.75;
  color: var(--base);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── HELIORA ── */
@font-face {
  font-family: 'Heliora';
  src: url('fonts/Heliora.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
.display {
  font-family: 'Heliora', 'Georgia', 'Times New Roman', serif;
  font-weight: normal;
  letter-spacing: -0.02em;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--base-12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  z-index: 100;
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 0.125rem 1.5rem oklch(26.59% 0.0023 325.64 / 0.08); }
.nav-logo img { height: 2.25rem; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--base-60);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--base); }
.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 0.625rem 1.375rem;
  border-radius: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.nav-cta:hover { background: var(--primary-hover); transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  background: var(--surface);
  overflow: hidden;
}
.hero-text {
  padding: 5rem 4rem 5rem 5rem;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.75rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 1.75rem;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.hero-h1 {
  font-size: clamp(3rem, 5.5vw, 4.75rem);
  line-height: 1.05;
  margin-bottom: 1.75rem;
  color: var(--base);
}
.hero-h1 em {
  font-style: normal;
  color: var(--primary);
}
.hero-sub {
  font-size: clamp(1rem, 0.9rem + 0.25vw, 1.0625rem);
  color: var(--base-60);
  max-width: 28.75rem;
  margin-bottom: 2.75rem;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 0.875rem 1.875rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn-outline {
  border: 1.5px solid var(--base-12);
  color: var(--base);
  padding: 0.875rem 1.875rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--base); }

.hero-visual {
  position: relative;
  height: 100%;
  min-height: 100vh;
  background: var(--base);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 60% 40%, oklch(69.82% 0.1499 241.87 / 0.18) 0%, transparent 70%);
}
.hero-badge-wrap {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem;
}
.hero-logo-large {
  width: 10rem;
  opacity: 0.92;
  filter: invert(1) brightness(2);
  margin: 0 auto 3rem;
}
.hero-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.stat {
  text-align: center;
}
.stat-num {
  font-size: clamp(2rem, 1.5rem + 1.5vw, 2.625rem);
  font-weight: normal;
  color: var(--white);
  line-height: 1;
  font-family: 'Heliora', 'Georgia', serif;
}
.stat-num span { color: var(--primary); }
.stat-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(100% 0 0 / 0.45);
  margin-top: 0.375rem;
}
.stat-divider {
  width: 1px;
  background: oklch(100% 0 0 / 0.12);
  align-self: stretch;
}

/* ── SECTION WRAPPER ── */
section { scroll-margin-top: var(--nav-h); }
.container { max-width: 75rem; margin: 0 auto; padding: 0 3rem; }
.section-pad { padding: clamp(4.5rem, 4rem + 2vw, 6.25rem) 0; }

/* ── SECTION LABEL ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.section-title {
  font-size: clamp(1.875rem, 1.5rem + 1.5vw, 2.875rem);
  line-height: 1.12;
  color: var(--base);
  margin-bottom: 1.25rem;
}
.section-lead {
  font-size: clamp(1rem, 0.9rem + 0.25vw, 1.0625rem);
  color: var(--base-60);
  max-width: 35rem;
  line-height: 1.8;
}

/* ── ABOUT ── */
#about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}
.about-card {
  background: var(--surface);
  border-radius: 0.5rem;
  padding: 2.5rem;
  border: 1px solid var(--base-12);
}
.about-name {
  font-size: clamp(1.5rem, 1.25rem + 0.75vw, 1.75rem);
  color: var(--base);
  margin-bottom: 0.25rem;
}
.about-title {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.about-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--base-60);
  border-top: 1px solid var(--base-12);
  padding-top: 1.5rem;
}
.about-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.about-meta-label { font-weight: 600; color: var(--base); font-size: 0.8125rem; }
.about-body p { color: var(--base-60); margin-bottom: 1.25rem; line-height: 1.85; }
.about-body p:last-child { margin-bottom: 0; }
.highlight { color: var(--primary); font-weight: 600; }

/* ── SERVICES ── */
#services { background: var(--surface); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--base-12);
  border: 1px solid var(--base-12);
  border-radius: 0.5rem;
  overflow: hidden;
  margin-top: 4rem;
}
.service-card {
  background: var(--white);
  padding: 2.5rem 2.25rem;
  transition: background 0.25s;
  position: relative;
}
.service-card:hover { background: var(--surface); }
.service-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.375rem;
  background: var(--primary-15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-icon svg { width: 1.25rem; height: 1.25rem; stroke: var(--primary); fill: none; stroke-width: 1.8; }
.service-name {
  font-size: 1rem;
  font-weight: normal;
  color: var(--base);
  margin-bottom: 0.75rem;
  font-family: 'Heliora', 'Georgia', serif;
  letter-spacing: 0;
}
.service-desc {
  font-size: 0.875rem;
  color: var(--base-60);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}
.tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.25em 0.625em;
  border-radius: 0.1875rem;
  background: var(--base-06);
  color: var(--base-60);
  text-transform: uppercase;
}

/* ── PLATFORMS ── */
#platforms { background: var(--base); }
#platforms .section-label { color: var(--accent-warm); }
#platforms .section-label::before { background: var(--accent-warm); }
#platforms .section-title { color: var(--white); }
#platforms .section-lead { color: oklch(100% 0 0 / 0.5); }
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: oklch(100% 0 0 / 0.08);
  border: 1px solid oklch(100% 0 0 / 0.08);
  border-radius: 0.5rem;
  overflow: hidden;
  margin-top: 4rem;
}
.platform-item {
  background: var(--base);
  padding: 2rem 1.75rem;
  transition: background 0.2s;
}
.platform-item:hover { background: oklch(100% 0 0 / 0.04); }
.platform-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.375rem;
}
.platform-desc {
  font-size: 0.8125rem;
  color: oklch(100% 0 0 / 0.4);
  line-height: 1.6;
}
.platform-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--primary);
  margin-bottom: 1rem;
}

/* ── WHO I SERVE ── */
#clients { background: var(--surface); }
.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.client-card {
  background: var(--white);
  border-radius: 0.5rem;
  padding: 2.25rem;
  border: 1px solid var(--base-12);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.client-num {
  font-size: clamp(1.75rem, 1.5rem + 0.75vw, 2.25rem);
  font-weight: normal;
  color: var(--accent-warm);
  line-height: 1;
  font-family: 'Heliora', 'Georgia', serif;
  min-width: 2.5rem;
}
.client-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--base);
  margin-bottom: 0.5rem;
}
.client-desc {
  font-size: 0.875rem;
  color: var(--base-60);
  line-height: 1.7;
}

/* ── PROCESS ── */
#process { background: var(--surface); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 4rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 1.75rem;
  left: 14%;
  right: 14%;
  height: 1px;
  background: var(--base-12);
  z-index: 0;
}
.process-step { text-align: center; padding: 0 1.25rem; position: relative; z-index: 1; }
.step-circle {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  position: relative;
}
.step-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--base);
  margin-bottom: 0.625rem;
}
.step-desc {
  font-size: 0.8125rem;
  color: var(--base-60);
  line-height: 1.7;
}

/* ── CONTACT ── */
#contact { background: var(--base); }
#contact .section-label { color: var(--accent); }
#contact .section-label::before { background: var(--accent); }
#contact .section-title { color: var(--white); }
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-top: 3.5rem;
}
.contact-copy p {
  color: oklch(100% 0 0 / 0.55);
  line-height: 1.85;
  margin-bottom: 2.25rem;
  font-size: 1rem;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.875rem;
  color: oklch(100% 0 0 / 0.6);
}
.contact-row-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.375rem;
  background: oklch(100% 0 0 / 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-row-icon svg { width: 1rem; height: 1rem; stroke: var(--accent-warm); fill: none; stroke-width: 1.8; }
.contact-row a { color: oklch(100% 0 0 / 0.6); text-decoration: none; transition: color 0.2s; }
.contact-row a:hover { color: var(--white); }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(100% 0 0 / 0.4);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: oklch(100% 0 0 / 0.06);
  border: 1px solid oklch(100% 0 0 / 0.12);
  border-radius: 0.25rem;
  padding: 0.75rem 1rem;
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  color: var(--white);
  transition: border-color 0.2s;
  outline: none;
  resize: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: oklch(100% 0 0 / 0.25); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); }
.form-group select { color: oklch(100% 0 0 / 0.55); cursor: pointer; }
.form-group select option { background: var(--base); color: var(--white); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-submit {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 0.25rem;
  padding: 0.9375rem 1.75rem;
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  align-self: flex-start;
}
.btn-submit:hover { background: var(--primary-hover); transform: translateY(-2px); }

/* ── FOOTER ── */
footer {
  background: oklch(21.5% 0.0025 325.66);
  padding: 1.75rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
footer img { height: 1.5rem; filter: invert(1) brightness(0.5); }
footer p {
  font-size: 0.75rem;
  color: oklch(100% 0 0 / 0.25);
  letter-spacing: 0.04em;
}

/* ── HONEYPOT ── */
.hp-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
  opacity: 0;
}

/* ── FORM STATUS ── */
.form-status {
  padding: 1rem 1.25rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
}
.form-status--success {
  background: oklch(90% 0.08 145);
  color: oklch(30% 0.05 145);
  border: 1px solid oklch(75% 0.1 145);
}
.form-status--error {
  background: oklch(90% 0.06 25);
  color: oklch(35% 0.08 25);
  border: 1px solid oklch(75% 0.1 25);
}
.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ── HAMBURGER TOGGLE (hidden on desktop) ── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-right: -0.5rem;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.3125rem;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle-bar {
  display: block;
  width: 1.375rem;
  height: 2px;
  background: var(--base);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(0.5125rem) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-0.5125rem) rotate(-45deg);
}

/* ── FOCUS VISIBLE ── */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.btn-primary:focus-visible,
.btn-submit:focus-visible,
.nav-cta:focus-visible {
  outline-color: var(--white);
  outline-offset: 3px;
}

/* ── TABLET (max-width: 56.25rem / 900px) ── */
@media (max-width: 56.25rem) {
  nav { padding: 0 1.5rem; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    padding: 1rem 0;
    border-top: 1px solid var(--base-12);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--base-06); }
  .nav-links a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 0.9375rem;
    min-height: 3rem;
  }
  .nav-links .nav-cta {
    margin: 1rem 1.5rem;
    text-align: center;
    padding: 1rem;
    border-radius: 0.25rem;
  }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-text { padding: 3.75rem 1.5rem 3rem; }
  .hero-visual { min-height: 18.75rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-aside { order: 2; }
  .about-body { order: 1; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .process-steps::before { display: none; }
  .contact-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .container { padding: 0 1.5rem; }
  .section-pad { padding: clamp(3rem, 2.5rem + 2vw, 4.5rem) 0; }
  footer { flex-direction: column; gap: 0.75rem; text-align: center; padding: 1.75rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── SMALL PHONE (max-width: 30rem / 480px) ── */
@media (max-width: 30rem) {
  .hero-text { padding: 2.5rem 1.25rem 2rem; }
  .hero-h1 { font-size: clamp(2.25rem, 8vw, 3rem); }
  .hero-sub { margin-bottom: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { text-align: center; }
  .hero-visual { min-height: 14rem; }
  .hero-badge-wrap { padding: 1.5rem; }
  .hero-logo-large { width: 6rem; margin-bottom: 1.5rem; }
  .hero-stats { gap: 1.25rem; }
  .stat-divider { display: none; }
  .container { padding: 0 1rem; }
  .about-card { padding: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 1.75rem 1.25rem; }
  .platforms-grid { grid-template-columns: 1fr; }
  .platform-item { padding: 1.5rem 1.25rem; }
  .client-card { padding: 1.5rem; gap: 1rem; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { padding: 0 0.5rem; }
  .contact-wrap { gap: 2rem; }
  .btn-submit { width: 100%; text-align: center; }
  footer { padding: 1.5rem 1rem; }
}
