/* ============================================================
   Mjini Tech - shared stylesheet
   One font, flowing wave background, liquid-glass cards.
   Loaded by every page; page-specific blocks are grouped below.
   ============================================================ */

:root {
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* light theme (default): cool paper, not cream */
  --ground:      #DDDFD9;
  --surface:     #E8EAE4;
  --text:        #14181A;
  --text-dim:    #4B5854;
  --text-faint:  #7C867F;
  --line:        rgba(18,26,24,0.14);
  --line-strong: rgba(18,26,24,0.24);
  --accent:      #A05F00;
  --accent-fill: #E7A93B;
  --accent-weak: rgba(160,95,0,0.10);
  --live:        #17805A;
  --beta:        #A05F00;
  --oss:         #266C86;
  --danger:      #B3261E;
  --wave:        #7F8D86;
  --wave-crest:  #414D47;
  --wave-alpha:  1.7;
  /* liquid glass */
  --glass-bg:    rgba(240,242,236,0.13);
  --glass-brd:   rgba(18,26,24,0.16);
  --glass-hi:    rgba(255,255,255,0.60);
  --glass-sheen: rgba(255,255,255,0.20);
  --glass-shadow:0 30px 60px -34px rgba(18,26,24,0.55);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground:      #050708;
    --surface:     #0C1113;
    --text:        #ECF1EF;
    --text-dim:    #A2AEA9;
    --text-faint:  #6C7974;
    --line:        rgba(255,255,255,0.11);
    --line-strong: rgba(255,255,255,0.22);
    --accent:      #F2C14E;
    --accent-fill: #F2C14E;
    --accent-weak: rgba(242,193,78,0.14);
    --live:        #5BD0A0;
    --beta:        #F2C14E;
    --oss:         #74C4DC;
    --danger:      #FF7A70;
    --wave:        #5C6B7A;
    --wave-crest:  #AFC0CE;
    --wave-alpha:  1;
    --glass-bg:    rgba(11,16,19,0.07);
    --glass-brd:   rgba(255,255,255,0.17);
    --glass-hi:    rgba(255,255,255,0.09);
    --glass-sheen: rgba(255,255,255,0.05);
    --glass-shadow:0 34px 64px -34px rgba(0,0,0,0.80);
  }
}

:root[data-theme="light"] {
  --ground:#DDDFD9; --surface:#E8EAE4; --text:#14181A; --text-dim:#4B5854;
  --text-faint:#7C867F; --line:rgba(18,26,24,0.14); --line-strong:rgba(18,26,24,0.24);
  --accent:#A05F00; --accent-fill:#E7A93B; --accent-weak:rgba(160,95,0,0.10);
  --live:#17805A; --beta:#A05F00; --oss:#266C86; --danger:#B3261E;
  --wave:#7F8D86; --wave-crest:#414D47; --wave-alpha:1.7;
  --glass-bg:rgba(240,242,236,0.13); --glass-brd:rgba(18,26,24,0.16);
  --glass-hi:rgba(255,255,255,0.60); --glass-sheen:rgba(255,255,255,0.20);
  --glass-shadow:0 30px 60px -34px rgba(18,26,24,0.55);
}
:root[data-theme="dark"] {
  --ground:#050708; --surface:#0C1113; --text:#ECF1EF; --text-dim:#A2AEA9;
  --text-faint:#6C7974; --line:rgba(255,255,255,0.11); --line-strong:rgba(255,255,255,0.22);
  --accent:#F2C14E; --accent-fill:#F2C14E; --accent-weak:rgba(242,193,78,0.14);
  --live:#5BD0A0; --beta:#F2C14E; --oss:#74C4DC; --danger:#FF7A70;
  --wave:#5C6B7A; --wave-crest:#AFC0CE; --wave-alpha:1;
  --glass-bg:rgba(11,16,19,0.07); --glass-brd:rgba(255,255,255,0.17);
  --glass-hi:rgba(255,255,255,0.09); --glass-sheen:rgba(255,255,255,0.05);
  --glass-shadow:0 34px 64px -34px rgba(0,0,0,0.80);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* wave field: fixed behind everything, shows through the glass cards */
.bg-net { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
/* keep all real content above the field */
.nav, .hero, .page-hero, .metrics, .band, .cta-band, .foot { position: relative; z-index: 1; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent-fill); color: #191300; padding: 12px 18px;
  border-radius: 0 0 10px 0; font-weight: 700; font-size: .9rem;
}
.skip-link:focus { left: 0; }

.eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); margin: 0;
}

/* ---------- liquid glass utility ---------- */
.glass {
  background:
    linear-gradient(180deg, var(--glass-sheen), transparent 44%),
    var(--glass-bg);
  -webkit-backdrop-filter: blur(9px) saturate(135%);
  backdrop-filter: blur(9px) saturate(135%);
  border: 1px solid var(--glass-brd);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--glass-shadow);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  backdrop-filter: saturate(150%) blur(16px);
  background: color-mix(in srgb, var(--ground) 66%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 20px; height: 66px; }

.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.logo-mark { width: 33px; height: 44px; color: var(--accent); flex: none; }
.brand-name {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.14rem; font-weight: 700; letter-spacing: 0.09em;
}

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-dim); transition: color .18s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--accent); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.theme-btn, .menu-btn {
  display: grid; place-items: center; width: 36px; height: 36px;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 9px;
  color: var(--text); cursor: pointer; transition: border-color .18s, background .18s;
}
.theme-btn:hover, .menu-btn:hover { border-color: var(--accent); background: var(--accent-weak); }
.theme-btn svg, .menu-btn svg { width: 17px; height: 17px; }
.menu-btn { display: none; }

.nav-quote { padding: 10px 18px; font-size: 0.82rem; }

/* mobile drawer.
   .nav-cta .nav-quote outranks the later `.btn { display: inline-flex }`,
   which would otherwise win on source order and keep the CTA visible. */
@media (max-width: 920px) {
  .nav-links, .nav-cta .nav-quote { display: none; }
  .menu-btn { display: grid; }
}
.nav-drawer {
  position: fixed; inset: 66px 0 auto 0; z-index: 49;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--ground) 97%, transparent);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  backdrop-filter: saturate(150%) blur(18px);
  padding: 8px clamp(20px,5vw,56px) 28px;
  max-height: calc(100vh - 66px); overflow-y: auto;
}
.nav-drawer a {
  display: block; padding: 15px 0; font-size: 1.02rem; font-weight: 600;
  border-bottom: 1px solid var(--line); color: var(--text);
}
.nav-drawer a[aria-current="page"] { color: var(--accent); }
.nav-drawer .btn { margin-top: 22px; width: 100%; }
@media (min-width: 921px) { .nav-drawer { display: none !important; } }

.avail { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: pulse 2.6s infinite; flex: none; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--live) 55%,transparent);} 70%{box-shadow:0 0 0 8px transparent;} 100%{box-shadow:0 0 0 0 transparent;} }
@media (prefers-reduced-motion: reduce){ .dot{ animation: none; } }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.01em; font-family: inherit;
  padding: 13px 22px; border-radius: 11px; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .16s ease, background .18s, border-color .18s, color .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent-fill); color: #191300; border-color: var(--accent-fill); }
.btn-primary:hover { box-shadow: 0 14px 32px -12px color-mix(in srgb, var(--accent-fill) 70%, transparent); }
.btn-ghost { color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-wa { background: #25D366; color: #06251A; border-color: #25D366; }
.btn-wa:hover { box-shadow: 0 14px 32px -12px rgba(37,211,102,0.6); }
.btn-wa svg { width: 18px; height: 18px; }
.btn .arw { transition: transform .16s ease; }
.btn:hover .arw { transform: translate(2px,-2px); }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* floating WhatsApp */
.wa-fab {
  position: fixed; right: clamp(16px,3vw,26px); bottom: clamp(16px,3vw,26px);
  z-index: 60; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  box-shadow: 0 10px 26px -6px rgba(37,211,102,0.55), 0 2px 6px rgba(0,0,0,0.3);
  transition: transform .18s ease, box-shadow .18s ease;
}
.wa-fab svg { width: 28px; height: 28px; }
.wa-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 34px -8px rgba(37,211,102,0.7), 0 2px 6px rgba(0,0,0,0.3); }
.wa-fab::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37,211,102,0.5); animation: waPulse 2.8s infinite;
}
@keyframes waPulse { 0%{box-shadow:0 0 0 0 rgba(37,211,102,0.45);} 70%{box-shadow:0 0 0 16px rgba(37,211,102,0);} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0);} }
@media (prefers-reduced-motion: reduce){ .wa-fab::after{ animation:none; } .wa-fab:hover{ transform:none; } }

/* ============================================================
   HERO (home) + PAGE HERO (interior)
   ============================================================ */
.hero { border-bottom: 1px solid var(--line); }
.hero-inner { padding-top: clamp(58px, 11vh, 124px); padding-bottom: clamp(50px, 9vh, 100px); }
.hero h1 {
  font-weight: 800; font-size: clamp(2.1rem, 5.4vw, 4.4rem);
  line-height: 1.03; letter-spacing: -0.035em; text-wrap: balance;
  margin: 18px 0 0; max-width: 18ch; color: var(--text);
}
.hero .lead {
  margin: 24px 0 0; max-width: 58ch;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--text); line-height: 1.62;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { margin: 28px 0 0; font-size: .86rem; color: var(--text-faint); }

.page-hero { border-bottom: 1px solid var(--line); }
.page-hero-inner { padding-top: clamp(46px, 9vh, 92px); padding-bottom: clamp(40px, 7vh, 74px); }
.page-hero h1 {
  font-weight: 800; font-size: clamp(1.95rem, 4.6vw, 3.4rem);
  line-height: 1.05; letter-spacing: -0.032em; text-wrap: balance;
  margin: 16px 0 0; max-width: 20ch;
}
.page-hero .lead { margin: 20px 0 0; max-width: 62ch; font-size: clamp(1rem, 1.5vw, 1.12rem); color: var(--text-dim); }

@media (max-width: 700px) {
  .page-hero-inner { text-align: center; }
  .page-hero-inner h1 { margin-left: auto; margin-right: auto; }
  .page-hero-inner .lead { margin-left: auto; margin-right: auto; }
}

.crumb { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); margin: 0; }
.crumb a:hover { color: var(--accent); }

/* ============================================================
   METRICS
   ============================================================ */
.metrics { padding: clamp(26px, 5vw, 46px) 0; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 20px; overflow: hidden; }
.metric { padding: 26px clamp(14px,2.4vw,28px); border-left: 1px solid var(--line); }
.metric:first-child { border-left: none; }
.metric .num { font-weight: 800; font-size: clamp(1.9rem, 4.2vw, 2.9rem); letter-spacing: -0.03em; line-height: 1; }
.metric .lbl { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-top: 10px; }
@media (max-width: 680px){
  .metrics-grid{ grid-template-columns: repeat(2,1fr); }
  .metric:nth-child(3){ border-left: none; }
  .metric:nth-child(n+3){ border-top: 1px solid var(--line); }
}

/* ============================================================
   SECTION FRAME
   ============================================================ */
.band { padding: clamp(58px, 10vh, 108px) 0; }
.band.hair { border-top: 1px solid var(--line); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.sec-head h2 { font-weight: 800; font-size: clamp(1.7rem, 3.6vw, 2.4rem); letter-spacing: -0.025em; margin: 10px 0 0; text-wrap: balance; }
.sec-head p { margin: 12px 0 0; color: var(--text-dim); max-width: 52ch; }
.sec-index { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em; color: var(--text-faint); text-transform: uppercase; white-space: nowrap; }
.sec-link { font-size: .86rem; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; transition: gap .16s; white-space: nowrap; }
.sec-link:hover { gap: 12px; }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 940px){ .svc-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .svc-grid{ grid-template-columns: 1fr; } }
.svc {
  border-radius: 18px; padding: 30px 28px; display: flex; flex-direction: column;
  transition: transform .22s ease, border-color .22s, box-shadow .22s;
}
.svc:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--accent) 45%, var(--glass-brd)); }
.svc-ico {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line-strong); color: var(--accent); background: var(--accent-weak); margin-bottom: 20px; flex: none;
}
.svc-ico svg { width: 20px; height: 20px; }
.svc h3 { font-weight: 800; font-size: 1.16rem; letter-spacing: -0.02em; margin: 0 0 10px; }
.svc p { margin: 0; color: var(--text-dim); font-size: .95rem; line-height: 1.6; }
.svc-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 7px; }
.svc-list li { position: relative; padding-left: 18px; font-size: .88rem; color: var(--text-faint); line-height: 1.5; }
.svc-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .6; }

/* detailed service block (services page) */
.svc-detail { display: grid; grid-template-columns: .9fr 1.3fr; gap: clamp(24px, 5vw, 60px); padding: clamp(28px,4vw,42px); border-radius: 22px; }
@media (max-width: 880px){ .svc-detail{ grid-template-columns: 1fr; gap: 26px; } }
.svc-detail h3 { font-weight: 800; font-size: clamp(1.35rem, 2.6vw, 1.72rem); letter-spacing: -0.025em; margin: 14px 0 0; }
.svc-detail .sd-lead { margin: 14px 0 0; color: var(--text-dim); font-size: 1rem; line-height: 1.62; }
.sd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 560px){ .sd-cols{ grid-template-columns: 1fr; } }

/* ============================================================
   PROJECT RECORDS
   ============================================================ */
.records { display: flex; flex-direction: column; gap: 26px; }
.rec { position: relative; border-radius: 22px; padding: clamp(22px, 3vw, 34px); transition: transform .24s ease, box-shadow .24s, border-color .24s; }
.rec::before {
  content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 3px;
  border-radius: 3px; background: var(--rec-accent, var(--accent)); opacity: 0; transition: opacity .24s;
}
.rec:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--rec-accent, var(--accent)) 45%, var(--glass-brd)); }
.rec:hover::before { opacity: .95; }

.rec-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.rec-idx { font-size: 0.85rem; font-weight: 700; color: var(--text-faint); letter-spacing: 0.06em; }
.rec-title { font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.05rem); letter-spacing: -0.025em; line-height: 1.05; margin: 0; }
.rec-cat { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); }
.rec-status { margin-left: auto; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.live { color: var(--live); }
.pill.beta { color: var(--beta); }
.pill.oss  { color: var(--oss); }

.rec-body { display: grid; grid-template-columns: 1.05fr 1.2fr; gap: clamp(24px, 4vw, 52px); margin-top: 26px; }
@media (max-width: 780px){ .rec-body{ grid-template-columns: 1fr; gap: 26px; } }

.rec-overview p { margin: 0; color: var(--text); font-size: 1.04rem; line-height: 1.62; }
.rec-role { margin-top: 20px; font-size: 0.86rem; color: var(--text-dim); letter-spacing: 0.01em; }
.rec-role b { color: var(--text); font-weight: 700; }
.rec-link {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 22px;
  font-size: 0.9rem; font-weight: 600; color: var(--accent);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  padding-bottom: 2px; transition: gap .16s, border-color .18s;
}
.rec-link:hover { gap: 13px; border-color: var(--accent); }
.rec-link.disabled { color: var(--text-faint); border-color: transparent; cursor: default; }
.rec-link.disabled:hover { gap: 9px; }

.feat-h { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-faint); margin: 0 0 14px; }
.feats { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.feats li { position: relative; padding-left: 22px; font-size: 0.97rem; color: var(--text-dim); line-height: 1.5; }
.feats li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px;
  border: 1.5px solid var(--rec-accent, var(--accent)); border-radius: 2px; transform: rotate(45deg);
}
.stack { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 0.78rem; font-weight: 500; color: var(--text-dim);
  padding: 5px 11px; border: 1px solid var(--glass-brd); border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 40%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

/* compact work card (home teaser) */
.work-teaser { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
@media (max-width: 940px){ .work-teaser{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .work-teaser{ grid-template-columns: 1fr; } }
.wt { border-radius: 18px; padding: 26px; display: flex; flex-direction: column; transition: transform .22s ease, border-color .22s; }
.wt:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--rec-accent, var(--accent)) 45%, var(--glass-brd)); }
.wt-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.wt h3 { font-weight: 800; font-size: 1.22rem; letter-spacing: -0.022em; margin: 0 0 5px; }
.wt-cat { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
.wt p { margin: 0 0 18px; color: var(--text-dim); font-size: .94rem; line-height: 1.58; flex: 1; }

/* ============================================================
   VALUES / PROCESS / INDUSTRIES / ENGAGEMENT
   ============================================================ */
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 800px){ .approach-grid{ grid-template-columns: 1fr; } }
.ap { border-radius: 18px; padding: 28px; }
.ap .n { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; color: var(--accent); }
.ap h3 { font-weight: 800; font-size: 1.24rem; letter-spacing: -0.02em; margin: 14px 0 10px; }
.ap p { margin: 0; color: var(--text-dim); font-size: 0.96rem; line-height: 1.6; }

.proc { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.proc-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px){ .proc, .proc-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 680px){ .proc, .proc-4 { grid-template-columns: 1fr; } }
.step { border-radius: 16px; padding: 24px 22px; }
.step .sn {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  border: 1px solid var(--line-strong); color: var(--accent); font-weight: 800; font-size: .82rem; margin-bottom: 16px;
}
.step h3 { font-weight: 800; font-size: 1.02rem; letter-spacing: -0.018em; margin: 0 0 8px; }
.step p { margin: 0; color: var(--text-dim); font-size: .89rem; line-height: 1.55; }

.ind-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
@media (max-width: 820px){ .ind-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .ind-grid{ grid-template-columns: 1fr; } }
.ind { background: color-mix(in srgb, var(--surface) 42%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 26px 24px; }
.ind h3 { font-weight: 700; font-size: 1rem; letter-spacing: -0.015em; margin: 0 0 8px; display: flex; align-items: center; gap: 10px; }
.ind h3 svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.ind p { margin: 0; color: var(--text-dim); font-size: .89rem; line-height: 1.55; }

.eng-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
@media (max-width: 880px){ .eng-grid{ grid-template-columns: 1fr; } }
.eng { border-radius: 18px; padding: 30px 28px; display: flex; flex-direction: column; }
.eng h3 { font-weight: 800; font-size: 1.18rem; letter-spacing: -0.02em; margin: 0 0 6px; }
.eng-for { font-size: .76rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }
.eng p { margin: 0 0 18px; color: var(--text-dim); font-size: .94rem; line-height: 1.6; flex: 1; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; font-size: 1.01rem; letter-spacing: -0.015em; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.5rem; color: var(--accent); line-height: 1; flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 22px; color: var(--text-dim); font-size: .95rem; line-height: 1.62; max-width: 76ch; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { border-top: 1px solid var(--line); }
.cta-inner { padding-top: clamp(58px, 11vh, 118px); padding-bottom: clamp(58px, 11vh, 118px); }
.cta-inner h2 { font-weight: 800; font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.035em; line-height: 1.03; margin: 16px 0 0; text-wrap: balance; max-width: 20ch; }
.cta-inner h2 .hl { color: var(--accent); }
.cta-inner p { color: var(--text-dim); margin: 22px 0 0; max-width: 52ch; font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ============================================================
   CONTACT / FORM
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.25fr .8fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
@media (max-width: 920px){ .contact-grid{ grid-template-columns: 1fr; } }

.form-card { border-radius: 22px; padding: clamp(26px, 4vw, 40px); }
.form-card h2 { font-weight: 800; font-size: clamp(1.4rem,3vw,1.9rem); letter-spacing: -0.025em; margin: 10px 0 26px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
.field label .req { color: var(--accent); }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: .98rem; color: var(--text);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  border: 1px solid var(--line-strong); border-radius: 11px; padding: 13px 15px; width: 100%;
  transition: border-color .18s, background .18s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); background: color-mix(in srgb, var(--surface) 78%, transparent); }
.field textarea { min-height: 150px; resize: vertical; }
.field select { cursor: pointer; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px){ .field-row{ grid-template-columns: 1fr; } }
.field .err { font-size: .82rem; color: var(--danger); font-weight: 600; display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--danger); }
.form-note { font-size: .84rem; color: var(--text-faint); margin: 4px 0 0; line-height: 1.55; }
.form-status { margin-top: 18px; font-size: .93rem; font-weight: 600; color: var(--live); display: none; line-height: 1.55; }
.form-status.show { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-side { display: grid; gap: 14px; }
.cinfo { border-radius: 16px; padding: 24px; }
.cinfo h3 { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); margin: 0 0 12px; }
.cinfo a, .cinfo p { font-size: 1rem; color: var(--text); margin: 0; line-height: 1.55; word-break: break-word; }
.cinfo a:hover { color: var(--accent); }
.cinfo .sub { font-size: .87rem; color: var(--text-dim); margin-top: 6px; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
@media (max-width: 900px){ .about-grid{ grid-template-columns: 1fr; } }
.prose p { color: var(--text-dim); font-size: 1.03rem; line-height: 1.7; margin: 0 0 18px; max-width: 68ch; }
.prose p strong { color: var(--text); font-weight: 700; }
.prose h3 { font-weight: 800; font-size: 1.28rem; letter-spacing: -0.022em; margin: 34px 0 14px; color: var(--text); }

.facts { border-radius: 18px; padding: 28px; margin: 0; }
.fact { padding: 16px 0; border-top: 1px solid var(--line); }
.fact:first-of-type { border-top: none; padding-top: 0; }
.fact dt { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); margin: 0 0 6px; }
.fact dd { margin: 0; font-size: .97rem; color: var(--text); font-weight: 600; }

.people { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
@media (max-width: 740px){ .people{ grid-template-columns: 1fr; } }
.person { border-radius: 18px; padding: 28px; display: flex; gap: 18px; align-items: flex-start; }
.person img, .person .ph { width: 62px; height: 62px; border-radius: 50%; flex: none; border: 1px solid var(--line-strong); }
.person img { object-fit: cover; }
.person .ph { display: grid; place-items: center; background: var(--accent-weak); color: var(--accent); font-weight: 800; font-size: 1.15rem; }
.person h3 { font-weight: 800; font-size: 1.08rem; letter-spacing: -0.02em; margin: 0 0 3px; }
.person .role { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.person p { margin: 0; color: var(--text-dim); font-size: .92rem; line-height: 1.58; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot { border-top: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; padding: clamp(40px,7vh,66px) 0 40px; }
@media (max-width: 900px){ .foot-top{ grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 520px){ .foot-top{ grid-template-columns: 1fr; } }
.foot-brand p { margin: 16px 0 0; color: var(--text-dim); font-size: .91rem; line-height: 1.6; max-width: 36ch; }
.foot-col h3 { font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--text-faint); margin: 0 0 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a { font-size: .91rem; color: var(--text-dim); }
.foot-col a:hover { color: var(--accent); }
.foot-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 22px 0 30px; border-top: 1px solid var(--line); font-size: 0.82rem; font-weight: 500; color: var(--text-faint); }
.foot-bar a:hover { color: var(--accent); }
.foot-legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ============================================================
   LEGAL / LONG-FORM
   ============================================================ */
.legal { max-width: 78ch; }
.legal h2 { font-weight: 800; font-size: 1.36rem; letter-spacing: -0.022em; margin: 42px 0 14px; color: var(--text); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--text-dim); font-size: 1rem; line-height: 1.7; }
.legal ul { padding-left: 22px; display: grid; gap: 8px; margin: 0 0 18px; }
.legal a { color: var(--accent); border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.legal .meta { margin-top: 34px; color: var(--text-faint); font-size: .92rem; border: 0; }

/* ============================================================
   404
   ============================================================ */
.nf { text-align: center; padding: clamp(70px,16vh,170px) 0; }
.nf .code { font-weight: 800; font-size: clamp(4rem, 14vw, 8.5rem); letter-spacing: -0.05em; line-height: 1; color: var(--accent); }
.nf h1 { font-weight: 800; font-size: clamp(1.5rem, 4vw, 2.3rem); letter-spacing: -0.03em; margin: 12px 0 0; }
.nf p { color: var(--text-dim); margin: 16px auto 0; max-width: 48ch; }
.nf .cta-actions { justify-content: center; }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none; } }
