/* DracoinLabs — Enterprise Design System */

:root {
  --ink: #09111f;
  --ink-soft: #1a2332;
  --ink-muted: #3d4f63;
  --text: #243044;
  --text-muted: #5c6b7e;
  --text-light: #8b97a8;
  --white: #ffffff;
  --surface: #fafbfc;
  --surface-raised: #f4f6f8;
  --border: #e4e8ee;
  --border-subtle: #eef1f5;
  --accent: #0051d5;
  --accent-hover: #003da8;
  --accent-muted: rgba(0, 81, 213, 0.08);
  --success: #0d7a55;
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --header-h: 68px;
  --container: 1200px;
  --container-narrow: 720px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-subtle: 0 1px 2px rgba(9, 17, 31, 0.04);
  --shadow-md: 0 8px 32px rgba(9, 17, 31, 0.07);
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --section-y: clamp(80px, 10vw, 128px);
  --overlay: linear-gradient(
    105deg,
    rgba(9, 17, 31, 0.88) 0%,
    rgba(9, 17, 31, 0.72) 45%,
    rgba(9, 17, 31, 0.55) 100%
  );
  --overlay-heavy: linear-gradient(
    105deg,
    rgba(9, 17, 31, 0.92) 0%,
    rgba(9, 17, 31, 0.78) 50%,
    rgba(9, 17, 31, 0.65) 100%
  );
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  font-size: 16px;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.container--narrow { max-width: var(--container-narrow); }

/* ─── Header ─── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.header--dark { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.header--dark .logo-name { color: #fff; }
.header--dark .logo-tagline { color: rgba(255, 255, 255, 0.55); }
.header--dark .nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}
.header--dark .nav-links a:hover { color: #fff; }
.header--dark .nav-links a.active { color: #fff; font-weight: 600; }
.header--dark .nav-toggle span { background: #fff; }

.header--solid {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
}
.header--solid .logo-name { color: var(--ink); }
.header--solid .logo-tagline { color: var(--text-light); }
.header--solid .nav-links a { color: var(--ink-muted); }
.header--solid .nav-links a:hover { color: var(--ink); }
.header--solid .nav-links a.active { color: var(--ink); font-weight: 600; }
.header--solid .nav-toggle span { background: var(--ink); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 81, 213, 0.22);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  gap: 1px;
}

.logo-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.logo-tagline {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  position: relative;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
}

.header--dark .nav-links a.active::after { background: #fff; }
.header--solid .nav-links a.active::after { background: var(--accent); }

.nav-cta {
  margin-left: 8px;
  padding: 9px 18px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  letter-spacing: -0.01em;
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: var(--radius);
  transition: background 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--accent-hover) !important; }

.header--dark .nav-cta {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.header--dark .nav-cta:hover {
  background: rgba(255, 255, 255, 0.2) !important;
}

.nav-book {
  margin-left: 8px;
  padding: 9px 20px !important;
  font-family: inherit;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff !important;
  background: linear-gradient(135deg, #00A3FF 0%, #0051D5 55%, #003DA8 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(0, 163, 255, 0.15), 0 6px 20px rgba(0, 81, 213, 0.38);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.2s !important;
}

.nav-book:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 0 0 1px rgba(0, 163, 255, 0.25), 0 10px 28px rgba(0, 81, 213, 0.45);
}

.header--solid .nav-book {
  border-color: rgba(0, 81, 213, 0.2);
  box-shadow: 0 0 0 1px rgba(0, 81, 213, 0.1), 0 6px 18px rgba(0, 81, 213, 0.28);
}

/* Booking modal */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(9, 17, 31, 0.62);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.booking-modal.open {
  opacity: 1;
  visibility: visible;
}

.booking-dialog {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 920px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.3s var(--ease);
}

.booking-modal.open .booking-dialog {
  transform: none;
}

.booking-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.booking-head h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.booking-head p {
  font-size: 14px;
  color: var(--text-muted);
}

.booking-close {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
  margin: -4px -6px 0 0;
}

.booking-close:hover { color: var(--ink); }

.booking-calendar {
  height: min(72vh, 680px);
  background: var(--surface);
}

.booking-calendar iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero--short {
  min-height: clamp(420px, 52vh, 560px);
  align-items: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
}
.hero-overlay--heavy { background: var(--overlay-heavy); }

.hero-body {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: calc(var(--header-h) + 48px) 0 clamp(64px, 8vw, 96px);
  color: #fff;
}

.hero--short .hero-body {
  padding: calc(var(--header-h) + 40px) 0 56px;
  max-width: 680px;
}

.hero-inner {
  max-width: 640px;
}

.hero-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.125rem, 4.8vw, 3.375rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: clamp(1rem, 1.8vw, 1.1875rem);
  line-height: 1.65;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}

.hero-trust {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 48px);
}

.hero-trust-item {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: -0.01em;
}
.hero-trust-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2px;
  letter-spacing: -0.02em;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-white {
  background: #fff;
  color: var(--ink);
}
.btn-white:hover { background: rgba(255, 255, 255, 0.92); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-full { width: 100%; }
.btn.loading { opacity: 0.65; pointer-events: none; }

/* ─── Sections ─── */
.section {
  padding: var(--section-y) 0;
}
.section--alt { background: var(--surface); }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }

.section-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.625rem, 3vw, 2.125rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 540px;
  font-weight: 400;
}

.section-header { margin-bottom: clamp(40px, 5vw, 64px); }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin: 0 auto; }

/* ─── Editorial statement ─── */
.statement {
  padding: clamp(64px, 8vw, 96px) 0;
  border-bottom: 1px solid var(--border-subtle);
}
.statement-text {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.025em;
  color: var(--ink-soft);
  max-width: 820px;
}

/* ─── Link rows (replaces icon cards) ─── */
.link-rows {
  border-top: 1px solid var(--border);
}

.link-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: clamp(28px, 3.5vw, 40px) 0;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.2s;
}
.link-row:hover { opacity: 0.75; }
.link-row:hover .link-row-arrow { transform: translateX(4px); }

.link-row-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}
.link-row-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 560px;
}

.link-row-arrow {
  font-size: 20px;
  color: var(--text-light);
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}

/* ─── Capability grid (replaces pill tags) ─── */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}

.capability-item {
  padding: clamp(24px, 3vw, 32px) clamp(24px, 3vw, 36px);
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.capability-item:nth-child(2n) { border-right: none; }
.capability-item:nth-last-child(-n+2) { border-bottom: none; }

.capability-item h4 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 6px;
}
.capability-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ─── Cards ─── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 36px);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.card:hover {
  border-color: #cdd3dc;
  box-shadow: var(--shadow-subtle);
}
.card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}
.card p + p { margin-top: 12px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.card-grid .card {
  border: none;
  border-radius: 0;
  margin: 0;
}
.card-grid .card:hover {
  box-shadow: none;
  background: var(--surface);
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ─── CTA band ─── */
.cta-band {
  padding: clamp(72px, 9vw, 104px) 0;
  background: var(--ink);
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.cta-band p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* ─── Contact ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(48px, 6vw, 80px);
  align-items: start;
}

.contact-details { margin-top: 40px; }

.contact-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.contact-item:first-child { padding-top: 0; }
.contact-item:last-child { border-bottom: none; }

.contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--text-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 4px;
}
.contact-item a {
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}
.contact-item a:hover { color: var(--accent); }
.contact-item span { color: var(--text); font-size: 15px; }

.contact-address {
  font-style: normal;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

.contact-map {
  margin-top: clamp(48px, 6vw, 72px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}

.contact-map-frame {
  position: relative;
  height: 380px;
  line-height: 0;
}

.contact-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 2px 6px rgba(9, 17, 31, 0.3));
}

.contact-map-link {
  display: block;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  background: var(--white);
  transition: background 0.2s, color 0.2s;
}

.contact-map-link:hover {
  background: var(--accent-muted);
  color: var(--accent-hover);
}

.contact-form {
  padding: clamp(32px, 4vw, 44px);
  background: var(--surface);
  border-color: var(--border-subtle);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 7px;
  letter-spacing: -0.01em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-muted);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238b97a8' stroke-width='1.5'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-status { margin-top: 14px; font-size: 14px; text-align: center; }
.form-status.success { color: var(--success); }
.form-status.error { color: #c53030; }

/* ─── Footer ─── */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.65);
  padding: clamp(56px, 7vw, 80px) 0 0;
}
.footer .logo-name { color: #fff; }
.footer .logo-tagline { color: rgba(255, 255, 255, 0.4); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 56px);
}

.footer-brand p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.65;
  max-width: 260px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 16px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

/* ─── About ─── */
.mission-quote {
  max-width: var(--container-narrow);
  margin: 0 auto;
  text-align: center;
}
.mission-quote p {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
  font-weight: 500;
}

.about-intro p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.about-intro p:last-child { margin-bottom: 0; }
.about-intro strong {
  color: var(--ink);
  font-weight: 600;
}

.values-grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

.timeline { max-width: var(--container-narrow); margin: 0 auto; }
.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(24px, 3vw, 32px) 0;
  border-bottom: 1px solid var(--border-subtle);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-year {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: -0.01em;
  padding-top: 2px;
}
.timeline-item h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}
.timeline-item p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
.value-item h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.value-item p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── Technology ─── */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 32px);
}

.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.5vw, 28px);
}
.process-step {
  padding: clamp(24px, 3vw, 32px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.process-num {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.process-step h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.process-step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.solutions-intro {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── Careers / Job ─── */
.job-card { display: block; }
.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 10px;
}
.job-card h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.job-badge {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--success);
  background: rgba(13, 122, 85, 0.08);
  border-radius: var(--radius);
  flex-shrink: 0;
}
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
  margin: 14px 0 18px;
}
.job-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.job-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: clamp(40px, 5vw, 64px);
  padding: clamp(48px, 6vw, 72px) 0 var(--section-y);
}

.job-section { margin-bottom: clamp(36px, 4vw, 48px); }
.job-section h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 18px;
  letter-spacing: -0.015em;
}
.job-section p,
.job-list-items li {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 15px;
}
.job-list-items li {
  position: relative;
  padding: 5px 0 5px 16px;
}
.job-list-items li::before {
  content: '';
  position: absolute;
  left: 0; top: 13px;
  width: 4px; height: 4px;
  background: var(--text-light);
  border-radius: 50%;
}

.resp-group { margin-bottom: 22px; }
.resp-group h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.skills-block { margin-bottom: 24px; }
.skills-block h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}
.apply-checklist h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 28px 0 12px;
}

.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tags span {
  padding: 7px 12px;
  font-size: 13px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  color: var(--ink-muted);
}

.scope-grid,
.deliverables-grid,
.compensation-cards { display: grid; gap: 16px; }
.scope-grid { grid-template-columns: 1fr 1fr; }
.deliverables-grid { grid-template-columns: repeat(2, 1fr); }
.compensation-cards { grid-template-columns: 1fr 1fr; margin: 24px 0 12px; }
.compensation-cards--3 { grid-template-columns: repeat(3, 1fr); }
.compensation-cards--single { grid-template-columns: 1fr; margin-top: 12px; }
.hero-subtitle {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.job-list { display: flex; flex-direction: column; gap: 16px; }

.apply-notice {
  padding: 16px 20px;
  margin-bottom: 24px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.6;
}
.apply-notice strong { color: var(--ink); font-weight: 600; }

.comp-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
}
.comp-value {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin: 6px 0;
  letter-spacing: -0.02em;
}
.comp-note { font-size: 13px; color: var(--text-muted); }
.comp-disclaimer { font-size: 14px; color: var(--text-muted); }

.job-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.job-tag {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
}

.breadcrumb {
  display: inline-block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
  transition: color 0.2s;
}
.breadcrumb:hover { color: #fff; }

.hero-body .comp-card {
  background: rgba(255, 255, 255, 0.97);
  border-color: transparent;
}
.hero-body .comp-disclaimer { color: rgba(255, 255, 255, 0.55); }

.hiring-steps li {
  position: relative;
  padding: 14px 0 14px 36px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 15px;
  color: var(--text-muted);
}
.hiring-steps li::before {
  content: '';
  position: absolute;
  left: 0; top: 18px;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.hiring-steps li strong { color: var(--ink); font-weight: 600; }

.sidebar-sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.sidebar-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
}
.sidebar-details li {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
}
.sidebar-details svg {
  width: 18px;
  height: 18px;
  color: var(--text-light);
  flex-shrink: 0;
  margin-top: 1px;
}
.sidebar-details strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-light);
  margin-bottom: 2px;
}

.apply-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 5vw, 64px);
}

.about-list li {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  font-size: 15px;
  color: var(--ink-muted);
}
.about-list li svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 4px;
}

.deliverable-num {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 8px;
  display: block;
}

.comp-card { padding: 24px; }

.scope-card h3,
.deliverable-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.ideal-card p { margin-bottom: 12px; }
.ideal-card p:last-child { margin-bottom: 0; }
.section-intro { margin-bottom: 20px; color: var(--text-muted); }
.section--flush-top { padding-top: 0; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─── Portfolio ─── */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.portfolio-filter-btn {
  padding: 9px 18px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.portfolio-filter-btn:hover {
  color: var(--ink);
  border-color: #cdd3dc;
}

.portfolio-filter-btn.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card--portfolio {
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(16px);
  animation: cardFadeIn 0.5s var(--ease) forwards;
}

@keyframes cardFadeIn {
  to { opacity: 1; transform: none; }
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.card-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.status-badge {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 100px;
  flex-shrink: 0;
}

.status-badge--production { background: rgba(13, 122, 85, 0.1); color: var(--success); }
.status-badge--beta { background: var(--accent-muted); color: var(--accent); }
.status-badge--development { background: rgba(217, 119, 6, 0.1); color: #b45309; }
.status-badge--soon { background: var(--surface-raised); color: var(--text-muted); }

.card-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0;
}

.tech-tag {
  padding: 4px 10px;
  font-size: 11px;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
}

.card-highlight {
  font-size: 13px;
  color: var(--ink-muted);
  padding: 12px 14px;
  background: var(--accent-muted);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 20px;
  line-height: 1.55;
}

.card--portfolio .btn { margin-top: auto; align-self: flex-start; }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(9, 17, 31, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
  transform: scale(0.96);
  transition: transform 0.3s var(--ease);
}

.modal-overlay.open .modal-dialog { transform: scale(1); }

.modal-close {
  float: right;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  margin: -4px -4px 8px 8px;
}

.modal-close:hover { color: var(--ink); }

.modal-title {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  clear: both;
}

.modal-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ─── Reviews ─── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  background: var(--white);
  text-align: center;
  padding: clamp(24px, 3vw, 36px) 16px;
}

.stat-value {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card--review {
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: #d97706;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 24px;
  flex: 1;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}

.reviewer-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.reviewer-role {
  font-size: 12px;
  color: var(--text-muted);
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px 40px;
}

.partner-logo {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.partner-logo:hover { color: var(--ink-muted); }

/* ─── Scroll reveal ─── */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
[data-reveal].visible {
  opacity: 1;
  transform: none;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .values-grid, .values-grid--5 { grid-template-columns: repeat(2, 1fr); }
  .card-grid .card:nth-child(2n) { border-right: none; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-row { grid-template-columns: repeat(2, 1fr); }
  .compensation-cards--3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .job-layout { grid-template-columns: 1fr; }
  .sidebar-sticky { position: static; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-item { border-right: none !important; }
  .capability-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .capability-item:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 12px 8px;
    color: var(--ink) !important;
  }
  .nav-links a.active::after { display: none; }
  .nav-cta { margin: 8px 0 0 !important; text-align: center; }
  .nav-book {
    margin: 8px 0 0 !important;
    width: 100%;
    text-align: center;
  }

  .card-grid, .tech-grid, .values-grid, .values-grid--5, .process-row { grid-template-columns: 1fr; }
  .card-grid { gap: 0; }
  .portfolio-grid, .reviews-grid, .stats-grid { grid-template-columns: 1fr; }
  .contact-map-frame { height: 300px; }
  .contact-grid, .apply-grid, .form-row,
  .scope-grid, .deliverables-grid, .compensation-cards,
  .compensation-cards--3 { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
  .link-row { grid-template-columns: 1fr; gap: 12px; }
  .hero-trust { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-img { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .card--portfolio { animation: none; opacity: 1; transform: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
