/* ============================================================
   EIGENSPACE — homepage layout
   ============================================================ */

/* ---------- vector-arrow mark (decorative) ---------- */
.vecmark{ display:inline-block; width:50px; height:24px;
  background:var(--accent);
  -webkit-mask:var(--vec-arrow) no-repeat center / contain;
          mask:var(--vec-arrow) no-repeat center / contain; }
.vecmark.big{ width:78px; height:38px; }
.surface-ink .vecmark{ background:var(--purple-bright); }
.surface-purple .vecmark{ background:#fff; }

/* ===================== NAV ===================== */
.nav{ position:sticky; top:0; z-index:60; background:color-mix(in srgb,var(--paper) 88%, transparent);
  backdrop-filter:saturate(1.4) blur(10px); border-bottom:var(--stroke) solid transparent;
  transition:border-color .25s ease, background .25s ease; }
.nav.is-stuck{ border-color:var(--line-strong); background:color-mix(in srgb,var(--paper) 96%, transparent); }
.nav-in{ display:flex; align-items:center; gap:32px; height:84px; }
.nav .wordmark{ font-size:26px; }
.nav-links{ display:flex; gap:30px; margin-left:auto; }
.nav-links a{ font-weight:600; font-size:15.5px; letter-spacing:-0.01em; color:var(--ink);
  padding:6px 0; border-bottom:2px solid transparent; transition:border-color .18s; }
.nav-links a:hover{ border-color:var(--purple); }
.nav-links a.active{ color:var(--purple); }
.nav-cta{ padding:11px 20px; font-size:13px; }
.burger{ display:none; width:44px; height:44px; flex-direction:column; gap:5px; align-items:center; justify-content:center; margin-left:auto; }
.burger span{ width:24px; height:2px; background:var(--ink); transition:transform .25s, opacity .2s; }
body.menu-open .burger span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
body.menu-open .burger span:nth-child(2){ opacity:0; }
body.menu-open .burger span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

.mobile-menu{ position:fixed; inset:84px 0 auto 0; z-index:55; background:var(--paper);
  border-bottom:var(--stroke) solid var(--line-strong);
  display:flex; flex-direction:column; gap:4px; padding:18px var(--pad-x) 28px;
  transform:translateY(-120%); transition:transform .32s cubic-bezier(.2,.8,.2,1); }
body.menu-open .mobile-menu{ transform:none; }
.mobile-menu a{ font-family:var(--display); font-size:26px; font-weight:600; letter-spacing:-0.02em; padding:10px 0; border-bottom:1px solid var(--line); }
.mobile-menu a:last-child{ border:none; margin-top:14px; }
.mobile-menu .btn{ justify-content:center; }

/* ===================== HERO ===================== */
.hero{ padding-block:clamp(48px,6vw,84px) var(--sec-y); overflow:hidden; }
.hero .wrap{ position:relative; z-index:1; }
.hero-grid{ display:grid; grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr); gap:clamp(32px,5vw,72px); align-items:center; }
.hero-copy .kicker{ margin-bottom:22px; }
.hero .h1{ margin-bottom:24px; font-size:clamp(34px,4.6vw,60px); }
.hero .lead{ margin-bottom:34px; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-bottom:42px; }
.hero-facts{ list-style:none; margin:0; padding:24px 0 0; border-top:var(--stroke) solid var(--hairline);
  display:flex; flex-wrap:wrap; gap:14px 40px; }
.hero-facts li{ display:flex; flex-direction:column; gap:4px; font-weight:600; font-size:15px; }
.fk{ font-family:var(--mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--fg-soft); font-weight:500; }

.hero-media{ position:relative; }
.hero-photo{ aspect-ratio:4/5; box-shadow:0 30px 60px -30px rgba(20,10,20,.5); }
.hero-badge{ position:absolute; left:-14px; bottom:34px; max-width:248px; background:var(--paper);
  color:var(--ink); border:var(--stroke) solid var(--line-strong); border-radius:var(--radius-lg);
  padding:18px 20px; box-shadow:0 16px 30px -18px rgba(0,0,0,.4); }
.hero-badge .kicker{ color:var(--purple); margin-bottom:8px; }
.hero-badge .vecmark{ margin-bottom:10px; }
.hero-badge p{ margin:0; font-size:13.5px; line-height:1.5; color:var(--grey-1); }
.hero-badge em{ color:var(--purple); font-style:italic; font-weight:600; }

/* ===================== STATEMENT ===================== */
.statement .coord{ display:block; margin-bottom:26px; }
.big-statement{ font-family:var(--display); font-weight:500; letter-spacing:-0.03em; line-height:1.12;
  font-size:clamp(28px,4.1vw,52px); margin:0 0 30px; text-wrap:balance; }
.big-statement .hl{ color:var(--purple); }
.big-statement .dim{ color:var(--grey-2); }
.surface-ink .big-statement .dim{ color:var(--fg-soft); }

/* ===================== SERVICES ===================== */
.services .sec-head{ margin-bottom:54px; }
.svc-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:0;
  border-top:var(--stroke) solid var(--line-strong); border-left:var(--stroke) solid var(--line-strong); }
.svc{ border-right:var(--stroke) solid var(--line-strong); border-bottom:var(--stroke) solid var(--line-strong);
  padding:clamp(26px,3vw,44px); display:flex; flex-direction:column; min-height:300px;
  transition:background .25s ease, color .25s ease; }
.svc:hover{ background:var(--purple); color:#fff; }
.svc-top{ display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:auto; }
.svc-no{ font-family:var(--mono); font-size:14px; letter-spacing:.05em; color:var(--purple); white-space:nowrap; }
.svc:hover .svc-no{ color:#fff; }
.svc-arr{ width:42px; height:42px; border:var(--stroke) solid currentColor; border-radius:50%;
  display:grid; place-items:center; color:var(--ink); transition:transform .2s, background .2s, color .2s; }
.svc-arr svg{ width:18px; height:18px; }
.svc:hover .svc-arr{ background:#fff; color:var(--purple); transform:rotate(0) translate(2px,-2px); }
.svc h3{ margin:18px 0 12px; }
.svc > p{ color:var(--fg-soft); margin:0 0 20px; max-width:42ch; }
.svc:hover > p, .svc:hover .svc-list li{ color:rgba(255,255,255,.92); }
.svc-list{ list-style:none; margin:0; padding:18px 0 0; border-top:1px solid var(--line);
  display:flex; flex-direction:column; gap:8px; font-size:14.5px; color:var(--grey-1); }
.svc:hover .svc-list{ border-top-color:rgba(255,255,255,.3); }
.svc-list li{ position:relative; padding-left:20px; }
.svc-list li::before{ content:"{"; position:absolute; left:0; color:var(--purple); font-family:var(--mono); font-weight:600; }
.svc:hover .svc-list li::before{ color:#fff; }

/* ===================== APPROACH ===================== */
.approach{ overflow:hidden; }
.approach-in{ display:grid; grid-template-columns:1fr; gap:54px; }
.approach-head{ max-width:760px; display:flex; flex-direction:column; gap:18px; }
.approach-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.approach-card{ border:var(--stroke) solid var(--hairline); border-radius:var(--radius-lg); padding:30px 28px;
  background:color-mix(in srgb, var(--purple) 8%, transparent); }
.approach-card .ac-no{ font-family:var(--mono); font-size:13px; color:var(--purple-bright); letter-spacing:.1em; }
.approach-card h4{ font-size:24px; margin:14px 0 10px; }
.approach-card p{ margin:0; color:var(--fg-soft); font-size:15.5px; }

/* ===================== PROJECT TYPES ===================== */
.ptypes .sec-head{ margin-bottom:46px; }
.ptypes-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.ptype .media{ aspect-ratio:4/3; margin-bottom:20px; }
.ptype h3{ margin:0 0 10px; }
.ptype p{ color:var(--fg-soft); margin:0; font-size:15.5px; }

/* ===================== CTA / FORM ===================== */
.cta{ overflow:hidden; }
.cta-grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(36px,5vw,72px); align-items:start; }
.cta-tagline{ font-size:clamp(40px,5.2vw,72px); margin:18px 0 26px; color:var(--brace); letter-spacing:-0.04em; }
[data-motif="subtle"] .cta-tagline{ color:inherit; }
.cta-copy .lead{ margin-bottom:30px; }
.cta-contact{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:18px; }
.cta-contact li{ display:flex; flex-direction:column; gap:5px; font-weight:600; }

.form-card{ position:relative; background:var(--paper); color:var(--ink);
  border:var(--stroke) solid var(--line-strong); border-radius:var(--radius-lg);
  padding:clamp(24px,3vw,38px); }
.contact-form{ display:flex; flex-direction:column; gap:20px; }
.field{ display:flex; flex-direction:column; gap:8px; }
.field label{ font-family:var(--mono); font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--grey-1); font-weight:500; }
.field label span{ color:var(--purple); }
.field input, .field textarea{ font-family:var(--body); font-size:16px; color:var(--ink);
  background:var(--white); border:var(--stroke) solid var(--line); border-radius:var(--radius);
  padding:13px 15px; transition:border-color .18s, box-shadow .18s; resize:vertical; }
.field input::placeholder, .field textarea::placeholder{ color:var(--grey-3); }
.field input:focus, .field textarea:focus{ outline:none; border-color:var(--purple); box-shadow:0 0 0 3px color-mix(in srgb,var(--purple) 18%, transparent); }
.chips{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{ font-family:var(--body); font-weight:600; font-size:13.5px; padding:9px 15px; border-radius:100px;
  border:var(--stroke) solid var(--line); color:var(--grey-1); transition:all .16s; }
.chip:hover{ border-color:var(--purple); color:var(--purple); }
.chip.on{ background:var(--purple); border-color:var(--purple); color:#fff; }
.form-submit{ align-self:flex-start; margin-top:4px; }

.form-sent{ display:none; flex-direction:column; align-items:flex-start; gap:14px; text-align:left; }
.form-sent .vecmark{ background:var(--purple); }
.form-sent p{ margin:0; color:var(--grey-1); }
.form-card.sent .contact-form{ display:none; }
.form-card.sent .form-sent{ display:flex; }

/* ===================== REGION STRIP ===================== */
.region{ padding-block:46px; border-top:var(--stroke) solid var(--line); }
.region .kicker{ margin-bottom:18px; display:block; }
.region-row{ display:flex; flex-wrap:wrap; gap:12px 14px; }
.region-row span{ font-family:var(--display); font-weight:500; font-size:clamp(18px,2vw,26px);
  letter-spacing:-0.02em; color:var(--ink); padding:6px 16px; border:var(--stroke) solid var(--line-strong);
  border-radius:100px; transition:background .2s,color .2s; }
.region-row span:hover{ background:var(--ink); color:var(--paper); }

/* ===================== FOOTER ===================== */
.footer{ padding-block:64px 30px; }
.footer-in{ display:grid; grid-template-columns:1.6fr 1fr 1fr; gap:40px; padding-bottom:48px; border-bottom:var(--stroke) solid var(--hairline); }
.footer .wordmark{ font-size:34px; margin-bottom:18px; }
.footer-tag{ font-family:var(--display); font-size:22px; font-weight:500; margin:0 0 14px; color:var(--purple-bright); }
[data-motif="subtle"] .footer-tag{ color:var(--fg); }
.footer-desc{ margin:0; color:var(--fg-soft); max-width:42ch; font-size:15px; }
.footer-nav, .footer-contact{ display:flex; flex-direction:column; gap:12px; }
.footer-nav .fk, .footer-contact .fk{ margin-bottom:6px; }
.footer-nav a{ font-weight:600; width:fit-content; border-bottom:2px solid transparent; }
.footer-nav a:hover{ border-color:var(--purple-bright); }
.footer-contact p{ margin:0; color:var(--fg-soft); font-size:15px; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
  padding-top:26px; font-family:var(--mono); font-size:12.5px; letter-spacing:.03em; color:var(--fg-soft); }
.footer-legal{ display:flex; gap:24px; }
.footer-legal a:hover{ color:var(--purple-bright); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px){
  .nav-links, .nav-cta{ display:none; }
  .burger{ display:flex; }
  .hero-grid{ grid-template-columns:1fr; }
  .hero-media{ order:-1; max-width:480px; }
  .hero-photo{ aspect-ratio:16/11; }
  .approach-grid{ grid-template-columns:1fr; }
  .ptypes-grid{ grid-template-columns:1fr; gap:34px; }
  .cta-grid{ grid-template-columns:1fr; }
  .footer-in{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 620px){
  .svc-grid{ grid-template-columns:1fr; }
  .footer-in{ grid-template-columns:1fr; gap:32px; }
  .hero-badge{ position:static; margin-top:16px; max-width:none; }
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1; transform:none; transition:none; }
}
