/* ─────────────────────────────────────────────────────────────
   Majoto AI · Site Stylesheet · DARK VARIANT
   Brand sheet v1.0 — ink-dominant surfaces, aurora accents
   ───────────────────────────────────────────────────────────── */

/* ─── Variables — canonical brand tokens ─── */
:root {
  --bg-base:        #0A0F0E;
  --bg-mid:         #111916;
  --bg-accent:      #182820;
  --primary:        #6FE3D3;
  --teal-soft:      #96EDE5;
  --teal-dim:       #2BA89A;
  --text-1:         #F4F1EA;
  --text-2:         #8A938E;
  --text-3:         #5C6862;
  --ease:           0.3s ease;
  --ease-out-expo:  cubic-bezier(0.2, 0.8, 0.2, 1);
  --font-display:   'Playfair Display', Georgia, serif;
  --font-body:      'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  background: var(--bg-base);
  color: var(--text-1);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ─── Scroll-fade animation ─── */
.fade {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }

/* ─── Focus ring ─── */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

/* ─── Layout ─── */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }

/* ─── Eyebrow ─── */
.eyebrow {
  display: flex; align-items: center; justify-content: center;
  gap: 0.75rem;
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.eyebrow.left { justify-content: flex-start; }

/* ─── Section heading ─── */
.sh {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 3.8vw, 2.85rem);
  line-height: 1.2;
  color: var(--text-1);
  text-align: center;
  margin-bottom: 3rem;
}
.sh em { font-style: italic; color: var(--primary); }

/* ─── Buttons ─── */
.btn-p {
  display: inline-block;
  background: var(--primary); color: var(--bg-base);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem; font-weight: 600;
  padding: 0.9rem 2rem; border-radius: 2px;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: background var(--ease), transform var(--ease);
}
.btn-p:hover { background: var(--teal-soft); transform: translateY(-1px); }

.btn-g {
  display: inline-block;
  background: transparent; color: var(--text-2);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem; font-weight: 500;
  padding: 0.9rem 2rem; border-radius: 2px;
  border: 1px solid var(--teal-dim);
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: border-color var(--ease), color var(--ease), transform var(--ease);
}
.btn-g:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.2rem 0;
  border-bottom: 1px solid transparent;
  transition: background var(--ease), backdrop-filter var(--ease), border-color var(--ease);
}
#nav.scrolled {
  background: rgba(10, 15, 14, 0.93);
  backdrop-filter: blur(18px);
  border-bottom-color: rgba(43, 168, 154, 0.4);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: flex; align-items: baseline; gap: 0.05rem; flex-shrink: 0;
}
.logo-word {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400; font-size: 1.6rem;
  color: var(--text-1); letter-spacing: -0.01em;
}
.logo-ai {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic; font-weight: 400;
  font-size: 0.58rem;
  color: var(--primary); letter-spacing: 0.02em;
  position: relative; top: -0.65rem;
}
.nav-links {
  display: flex; align-items: center; gap: 2.25rem;
}
.nav-links a {
  font-size: 0.78rem; font-weight: 400;
  color: var(--text-2); letter-spacing: 0.06em;
  transition: color var(--ease);
}
.nav-links a:hover { color: var(--text-1); }
.nav-cta {
  font-size: 0.72rem !important; font-weight: 500 !important;
  color: var(--primary) !important;
  border: 1px solid var(--primary) !important;
  padding: 0.5rem 1.2rem; border-radius: 2px;
  letter-spacing: 0.06em !important; text-transform: uppercase;
  transition: background var(--ease), color var(--ease) !important;
}
.nav-cta:hover { background: var(--primary) !important; color: var(--bg-base) !important; }
.nav-toggle {
  display: none; padding: 0.4rem; color: var(--text-1);
  align-items: center; justify-content: center;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 8rem 2rem 6rem;
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 38%, var(--bg-accent) 0%, var(--bg-base) 68%);
}
#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
/* hero-glow removed — replaced by .hero-aurora (pulsing) + .hero-grid (drifting) */
/* Corner brackets */
.cb, .cb-b { position: absolute; inset: 1.75rem; pointer-events: none; }
.cb::before, .cb::after, .cb-b::before, .cb-b::after {
  content: '';
  position: absolute;
  width: 36px; height: 36px;
  border-color: rgba(43,168,154,0.5); border-style: solid;
}
.cb::before  { top: 0;    left: 0;  border-width: 1px 0 0 1px; }
.cb::after   { top: 0;    right: 0; border-width: 1px 1px 0 0; }
.cb-b::before { bottom: 0; left: 0;  border-width: 0 0 1px 1px; }
.cb-b::after  { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

.hero-content {
  position: relative; z-index: 5;
  display: flex; flex-direction: column; align-items: center;
}
.hero-mono { width: 82px; height: 82px; margin-bottom: 0.75rem; }
.hero-wm {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(5rem, 13vw, 9.5rem);
  line-height: 1; letter-spacing: -0.02em;
  color: var(--text-1);
  display: flex; align-items: flex-start; gap: 0.08rem;
  margin-bottom: 0.5rem;
}
.hero-wm-ai {
  font-family: var(--font-display);
  font-style: italic; font-weight: 400;
  font-size: 0.32em;
  color: var(--primary);
  vertical-align: super;
  margin-left: 0.08em;
  letter-spacing: 0;
  position: relative; top: -0.18em;
}
.hero-tag {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic; font-weight: 400;
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  color: var(--text-2);
  margin-bottom: 0.5rem;
}
.hero-sub {
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1.6rem;
}
.hero-pos {
  font-size: 0.88rem; color: var(--text-2);
  max-width: 460px; line-height: 1.8;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-ctas {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
}

/* ══════════════════════════════════════
   STRIP
══════════════════════════════════════ */
#strip {
  border-top: 1px solid rgba(43,168,154,0.4);
  border-bottom: 1px solid rgba(43,168,154,0.4);
  padding: 1.2rem 2rem;
  background: var(--bg-mid);
  text-align: center;
}
#strip p {
  font-size: 0.72rem; font-weight: 500;
  color: var(--text-2); letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ══════════════════════════════════════
   WHY MAJOTO
══════════════════════════════════════ */
#why { padding: 7rem 0; background: var(--bg-base); }
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem;
}
.why-card {
  padding: 2.25rem 1.75rem;
  border: 1px solid rgba(43,168,154,0.3);
  border-radius: 2px;
  background: rgba(17,25,22,0.6);
  position: relative;
}
.why-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(43,168,154,0.6), transparent);
}
.why-icon { width: 34px; height: 34px; color: var(--primary); margin-bottom: 1.1rem; }
.why-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400; font-size: 1.2rem;
  color: var(--text-1); margin-bottom: 0.65rem;
}
.why-card p { font-size: 0.84rem; color: var(--text-2); line-height: 1.78; font-weight: 300; }

/* ══════════════════════════════════════
   SERVICES
══════════════════════════════════════ */
#services { padding: 7rem 0; background: var(--bg-mid); }
.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.svc-card {
  padding: 1.85rem 1.6rem;
  border: 1px solid rgba(43,168,154,0.35);
  border-radius: 2px;
  background: rgba(10,15,14,0.6);
  position: relative; overflow: hidden;
  transition: border-color var(--ease), transform var(--ease), background var(--ease);
}
.svc-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.svc-card:hover {
  border-color: rgba(111,227,211,0.5);
  background: rgba(24,40,32,0.55);
  transform: translateY(-2px);
}
.svc-card:hover::before { transform: scaleX(1); }
.svc-num {
  display: block;
  font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.18em; color: var(--teal-dim);
  margin-bottom: 0.9rem;
}
.svc-icon { width: 30px; height: 30px; color: var(--primary); margin-bottom: 0.9rem; }
.svc-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400; font-size: 1.1rem;
  color: var(--text-1); margin-bottom: 0.65rem; line-height: 1.3;
}
.svc-card p { font-size: 0.82rem; color: var(--text-2); line-height: 1.78; font-weight: 300; }

/* ══════════════════════════════════════
   APPROACH
══════════════════════════════════════ */
#approach { padding: 7rem 0; background: var(--bg-base); }
.appr-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; margin-top: 3.5rem; position: relative;
}
.appr-grid::before {
  content: '';
  position: absolute; top: 1.75rem; left: 12.5%; right: 12.5%; height: 1px;
  background: linear-gradient(90deg, rgba(43,168,154,0.4), var(--teal-dim), var(--teal-dim), rgba(43,168,154,0.4));
}
.appr-step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.appr-num {
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%; border: 1px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-base);
  position: relative; z-index: 1;
  margin-bottom: 1.35rem; flex-shrink: 0;
}
.appr-num span {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic; font-size: 1rem; font-weight: 400;
  color: var(--primary);
}
.appr-step h3 {
  font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-1); margin-bottom: 0.65rem;
}
.appr-step p { font-size: 0.82rem; color: var(--text-2); line-height: 1.72; font-weight: 300; }

/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
#about { padding: 7rem 0; background: var(--bg-mid); position: relative; overflow: hidden; }
.about-glow {
  position: absolute;
  width: 500px; height: 350px;
  background: radial-gradient(circle, rgba(111,227,211,0.045) 0%, transparent 70%);
  top: 50%; right: -60px; transform: translateY(-50%);
  pointer-events: none;
}
.about-inner { max-width: 700px; }
.about-inner .sh { text-align: left; }
.about-inner p {
  font-size: 0.92rem; color: var(--text-2);
  line-height: 1.88; margin-bottom: 1.2rem; font-weight: 300;
}
.stat-row {
  display: flex; gap: 3rem;
  margin-top: 2.25rem; padding-top: 1.75rem;
  border-top: 1px solid rgba(43,168,154,0.25);
}
.stat h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem; font-weight: 400;
  color: var(--primary); line-height: 1; margin-bottom: 0.2rem;
}
.stat p {
  font-size: 0.7rem !important;
  color: var(--text-3) !important;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 0 !important; font-weight: 500 !important;
}

/* ══════════════════════════════════════
   CTA BAND
══════════════════════════════════════ */
#cta-band {
  padding: 6rem 2rem; text-align: center;
  border-top: 1px solid rgba(43,168,154,0.35);
  border-bottom: 1px solid rgba(43,168,154,0.35);
  background: radial-gradient(ellipse 80% 120% at 50% 50%, rgba(24,40,32,0.95) 0%, var(--bg-base) 78%);
  position: relative; overflow: hidden;
}
.cta-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 90% at 50% 50%, rgba(111,227,211,0.05) 0%, transparent 70%);
  pointer-events: none;
}
#cta-band > * { position: relative; z-index: 1; }
#cta-band h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400; font-style: italic;
  font-size: clamp(1.65rem, 3.6vw, 2.55rem);
  color: var(--text-1); max-width: 560px;
  margin: 0 auto 0.9rem; line-height: 1.3;
}
#cta-band p {
  font-size: 0.86rem; color: var(--text-2);
  max-width: 460px; margin: 0 auto 2.25rem;
  line-height: 1.78; font-weight: 300;
}

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
#contact { padding: 7rem 0; background: var(--bg-base); }
.contact-grid {
  display: grid; grid-template-columns: 3fr 2fr;
  gap: 5rem; margin-top: 2.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fg { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.9rem; }
.fg label {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-3);
}
.fg input, .fg select, .fg textarea {
  background: rgba(17,25,22,0.7);
  border: 1px solid rgba(43,168,154,0.35);
  border-radius: 2px;
  padding: 0.72rem 0.9rem;
  color: var(--text-1);
  font-family: 'Montserrat', sans-serif; font-size: 0.85rem; font-weight: 300;
  outline: none; width: 100%;
  transition: border-color var(--ease);
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--primary);
}
.fg input::placeholder, .fg textarea::placeholder { color: var(--text-3); }
.fg select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236FE3D3' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center;
  padding-right: 2.25rem;
}
.fg select option { background: var(--bg-mid); }
.fg textarea { resize: vertical; min-height: 110px; }
.fg-err { font-size: 0.7rem; color: #E57373; display: none; margin-top: -0.1rem; }
.fg.err input, .fg.err select, .fg.err textarea { border-color: #E57373; }
.fg.err .fg-err { display: block; }
.form-ok {
  display: none; padding: 2rem;
  border: 1px solid var(--primary); border-radius: 2px;
  background: rgba(111,227,211,0.04); text-align: center;
}
.form-ok.show { display: block; }
.form-ok h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic; font-size: 1.5rem;
  color: var(--primary); margin-bottom: 0.4rem;
}
.form-ok p { font-size: 0.875rem; color: var(--text-2); font-weight: 300; }
.form-fail {
  display: none; padding: 1rem 1.25rem; margin-top: 1rem;
  border: 1px solid #E57373; border-radius: 2px;
  background: rgba(229,115,115,0.06);
  font-size: 0.82rem; color: #E57373; font-weight: 400;
}
.form-fail.show { display: block; }
button[disabled] { opacity: 0.6; cursor: not-allowed; }
.contact-info h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400; font-size: 1.4rem;
  color: var(--text-1); margin-bottom: 0.75rem;
}
.contact-info p { font-size: 0.86rem; color: var(--text-2); line-height: 1.78; margin-bottom: 0.75rem; font-weight: 300; }
.c-div { width: 36px; height: 1px; background: rgba(43,168,154,0.4); margin: 1.4rem 0; }
.c-detail {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.83rem; color: var(--text-2); margin-bottom: 0.65rem; font-weight: 300;
}
.c-detail svg { color: var(--primary); flex-shrink: 0; }
.c-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic; font-size: 0.95rem;
  color: var(--text-3); line-height: 1.7; margin-top: 1.5rem;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  border-top: 1px solid rgba(43,168,154,0.35);
  padding: 2.25rem 0 1.75rem;
  background: var(--bg-base);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.footer-left { display: flex; flex-direction: column; gap: 0.2rem; }
.footer-cr { font-size: 0.7rem; color: var(--text-3); margin-top: 0.2rem; font-weight: 400; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a {
  font-size: 0.76rem; color: var(--text-3);
  letter-spacing: 0.06em;
  transition: color var(--ease);
}
.footer-links a:hover { color: var(--primary); }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
.footer-tag {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic; font-size: 0.85rem; color: var(--text-3);
}
.f-bracket {
  width: 20px; height: 20px;
  border-right: 1px solid rgba(43,168,154,0.4);
  border-bottom: 1px solid rgba(43,168,154,0.4);
}

/* ─── Hero entrance — exact brand keyframes & timing from majoto.css ─── */
@keyframes brand-mark-in {
  from { opacity: 0; transform: scale(0.85) rotate(-8deg); }
  to   { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes brand-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes brand-fade-only {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes brand-spike-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 0.95; transform: translateY(0); }
}
@keyframes brand-letter-in {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes brand-grid-drift {
  0%   { background-position: 0 0, 0 0; }
  100% { background-position: 80px 80px, 80px 80px; }
}
@keyframes brand-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(1.05); }
}
@keyframes brand-rule-grow {
  from { opacity: 0; transform: scaleX(0); }
  to   { opacity: 1; transform: scaleX(1); }
}

/* Animation classes — delays match brand CSS exactly */
.h-meta    { opacity: 0; animation: brand-fade-in 1.2s var(--ease-out-expo) 0.3s  forwards; }
.h-mark    { opacity: 0; animation: brand-mark-in 1.2s var(--ease-out-expo) 0.5s  forwards; }
.h-wm      { opacity: 0; animation: brand-fade-in 1.2s var(--ease-out-expo) 1.0s  forwards; }
.h-rule    { opacity: 0; animation: brand-rule-grow 1.0s var(--ease-out-expo) 1.6s forwards; transform-origin: center; }
.h-tag     { opacity: 0; animation: brand-fade-in 1.2s var(--ease-out-expo) 1.8s  forwards; }
.h-sub     { opacity: 0; animation: brand-fade-in 1.2s var(--ease-out-expo) 2.2s  forwards; }
.h-ctas    { opacity: 0; animation: brand-fade-in 1.2s var(--ease-out-expo) 2.8s  forwards; }
.h-bracket { opacity: 0; animation: brand-fade-only 1.2s var(--ease-out-expo) 0.1s forwards; }

/* SVG sub-element animations inside the compass mark */
.hero-mono .ring,
.hero-mono .axis,
.hero-mono .diagonal { animation: brand-fade-only 1.6s var(--ease-out-expo) 0.7s backwards; }
.hero-mono .spike    { animation: brand-spike-in  1.0s var(--ease-out-expo) 1.4s backwards; }
.hero-mono .letter   { animation: brand-letter-in 1.0s ease-out             1.6s backwards; }

/* Animated grid layer inside hero */
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(111,227,211,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111,227,211,0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center center;
  animation: brand-grid-drift 60s linear infinite;
}

/* Aurora glow — pulsing, top-right */
.hero-aurora {
  position: absolute; pointer-events: none; z-index: 0;
  top: -10%; right: -15%; width: 70%; height: 70%;
  background: radial-gradient(circle, rgba(111,227,211,0.10) 0%, transparent 60%);
  animation: brand-pulse 8s ease-in-out infinite;
}

/* Film grain overlay */
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.04; mix-blend-mode: overlay;
  background-image:
    radial-gradient(circle at 23% 47%, rgba(255,255,255,0.5) 1px, transparent 1px),
    radial-gradient(circle at 74% 23%, rgba(255,255,255,0.5) 1px, transparent 1px),
    radial-gradient(circle at 53% 78%, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px, 7px 7px;
}

/* Full border frame (brand-frame equivalent) */
.hero-frame {
  position: absolute; z-index: 2; pointer-events: none;
  top: 24px; left: 24px; right: 24px; bottom: 24px;
  border: 1px solid rgba(111,227,211,0.18);
}

/* Hero corner metadata */
.hero-corner-tl, .hero-corner-tr {
  position: absolute; z-index: 5;
  top: 5.25rem;
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-3); line-height: 1.6;
}
.hero-corner-tl { left: 2.75rem; }
.hero-corner-tr { right: 2.75rem; text-align: right; }
.hero-corner-tl em, .hero-corner-tr em { font-style: normal; color: var(--text-2); }

/* Decorative rule — brand spec: 56px lines, rotated diamond star */
.hero-rule {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin: 4px auto 14px;
}
.hero-rule .line {
  display: block; width: 56px; height: 1px;
  background: var(--primary); opacity: 0.6;
}
.hero-rule .star {
  color: var(--primary); font-size: 8px;
  display: block; transform: rotate(45deg);
  line-height: 1;
}

/* Discipline line — brand spec: 11px, 0.42em tracking */
.hero-disc {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 1rem;
}

/* Corner brackets — brand spec: 24px, aurora, 0.7 opacity, 24px inset */
.cb::before, .cb::after, .cb-b::before, .cb-b::after {
  width: 24px; height: 24px;
  border-color: var(--primary);
  opacity: 0.7;
}
.cb, .cb-b { inset: 24px; z-index: 5; }

/* Nav compass mark — hidden until scrolled */
.logo-mark {
  width: 26px; height: 26px; flex-shrink: 0;
  opacity: 0;
  transform: scale(0.85) rotate(-8deg);
  transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
  margin-right: 0.5rem;
}
#nav.scrolled .logo-mark {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
.logo-mark .lm-ring     { fill: none; stroke: var(--primary); stroke-width: 2; opacity: 0.6; }
.logo-mark .lm-axis     { stroke: var(--primary); stroke-width: 1.5; opacity: 0.7; }
.logo-mark .lm-diagonal { stroke: var(--primary); stroke-width: 1; opacity: 0.4; }
.logo-mark .lm-spike    { fill: var(--primary); }

/* prefers-reduced-motion — kill all brand animations */
@media (prefers-reduced-motion: reduce) {
  .h-bracket, .h-meta, .h-mark, .h-wm, .h-rule,
  .h-tag, .h-sub, .h-ctas,
  .hero-mono .ring, .hero-mono .axis, .hero-mono .diagonal,
  .hero-mono .spike, .hero-mono .letter,
  .hero-grid, .hero-aurora {
    animation: none; opacity: 1; transform: none;
  }
}

/* ══════════════════════════════════════
   FOUNDERS
══════════════════════════════════════ */
.founders-block {
  margin-top: 4.5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(43,168,154,0.25);
  position: relative;
}
.founders-block .eyebrow { margin-bottom: 2.25rem; }
.founder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.founder-card {
  padding: 2.25rem 1.6rem 1.6rem;
  border: 1px solid rgba(43,168,154,0.3);
  border-radius: 2px;
  background: rgba(10,15,14,0.6);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: border-color var(--ease), transform var(--ease), background var(--ease);
}
.founder-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(43,168,154,0.6), transparent);
}
.founder-card:hover {
  border-color: rgba(111,227,211,0.5);
  background: rgba(24,40,32,0.55);
  transform: translateY(-2px);
}
.founder-photo-wrap {
  width: 132px; height: 132px;
  border-radius: 50%;
  padding: 4px;
  margin-bottom: 1.25rem;
  background: var(--bg-base);
  border: 1px solid var(--primary);
  position: relative;
  flex-shrink: 0;
}
.founder-photo {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.founder-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--text-1);
  margin-bottom: 0.4rem;
  line-height: 1.25;
}
.founder-role {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-dim);
  margin-bottom: 1.15rem;
}
.founder-bio {
  font-size: 0.84rem;
  color: var(--text-2);
  line-height: 1.78;
  font-weight: 300;
  text-align: left;
  margin-bottom: 1.5rem;
  flex: 1;
}
.founder-bio em { font-style: italic; color: var(--text-1); }
.founder-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  color: var(--primary);
  border: 1px solid rgba(43,168,154,0.3);
  border-radius: 50%;
  margin-top: auto;
  transition: color var(--ease), border-color var(--ease), transform var(--ease), background var(--ease);
}
.founder-linkedin:hover {
  color: var(--bg-base);
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .appr-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .appr-grid::before { display: none; }
  .founder-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,15,14,0.97); backdrop-filter: blur(18px);
    flex-direction: column; padding: 1.75rem 2rem; gap: 1.25rem;
    border-top: 1px solid rgba(43,168,154,0.35);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta { align-self: flex-start; }
  .why-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .appr-grid { grid-template-columns: 1fr; gap: 0; margin-top: 2rem; }
  .appr-step {
    flex-direction: row; text-align: left; align-items: flex-start;
    gap: 1.25rem; padding: 1.35rem 0;
    border-bottom: 1px solid rgba(43,168,154,0.2);
  }
  .appr-step:last-child { border-bottom: none; }
  .appr-num { flex-shrink: 0; margin-bottom: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .stat-row { flex-wrap: wrap; gap: 1.5rem; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { justify-content: center; }
  .footer-right { align-items: center; }
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .btn-p, .btn-g { text-align: center; }
}
