/*
Theme Name: Inspikta
Theme URI: https://inspikta.com
Author: Inspikta Technologies Inc.
Description: Custom theme for Inspikta Technologies. Privacy-first edge-AI sensing for healthcare, agriculture and urban airspace. On activation it creates every page of the site, three starter news posts and the legal pages. Edit contact details and key wording under Appearance > Customize > Inspikta.
Version: 1.5.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: inspikta
*/

/* Layout concept: black "sensing field" heroes where only motion lights up in white, alternating with calm paper-white bands. Strictly monochrome. */
:root {
  --ink: #050505;
  --ink-2: #111111;
  --ink-3: #1f1f1f;
  --paper: #f2f2f0;
  --white: #ffffff;
  --text: #0a0a0a;
  --muted: #555555;
  --muted-d: #a6a6a6;
  --line: #e2e2e0;
  --line-d: rgba(255, 255, 255, 0.14);
  --spark: #ffffff;
  --spark-ink: #0a0a0a;
  --amber: #ffffff;
  --ph-bg: #fff4dc;
  --ph-fg: #7a4a00;

  --f-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --wrap: 1200px;
  --gut: max(20px, env(safe-area-inset-left, 0px));
  --gut-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { max-width: 100%; display: block; }
a { color: var(--spark-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid #000; outline-offset: 2px; box-shadow: 0 0 0 4px #fff; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.12; letter-spacing: -0.02em; margin: 0; text-wrap: balance; font-weight: 600; }
h1 { font-size: clamp(2.5rem, 6.2vw, 5rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: 1.28rem; letter-spacing: -0.01em; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--text); padding: 8px 14px; z-index: 100; border-radius: var(--r-sm); }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: calc(var(--wrap) + 40px); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: var(--white); }
.section--tight { padding-block: clamp(44px, 6vw, 72px); }

.eyebrow {
  font-family: var(--f-mono); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--spark-ink);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 1.5px; background: currentColor; box-shadow: 10px 0 0 -1.5px currentColor, 19px 0 0 -2.5px currentColor; margin-right: 18px; opacity: .9; }
.section--dark .eyebrow, .hero .eyebrow, .card--dark .eyebrow { color: var(--spark); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 62ch; }
.section--dark .lead, .hero .lead { color: var(--muted-d); }
.head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.head--center { margin-inline: auto; text-align: center; justify-items: center; }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-body); font-weight: 600; font-size: 0.98rem;
  padding: 14px 22px; border-radius: 999px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--spark { background: var(--spark); color: var(--ink); box-shadow: 0 8px 30px -12px rgba(255, 255, 255, 0.45); }
.btn--spark:hover { background: #dcdcdc; color: var(--ink); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.28); color: var(--white); background: rgba(255, 255, 255, 0.04); }
.btn--ghost:hover { border-color: var(--spark); color: var(--white); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--ink-3); color: var(--white); transform: translateY(-1px); }
.btn--line { border-color: var(--line); color: var(--text); background: var(--white); }
.btn--line:hover { border-color: var(--text); color: var(--text); }

/* Placeholder chip: anything in amber needs Inspikta's real information before launch */
.ph {
  display: inline; background: var(--ph-bg); color: var(--ph-fg);
  border: 1px dashed #e0a43a; border-radius: 6px; padding: 1px 7px;
  font-family: var(--f-mono); font-size: 0.82em; font-weight: 500; letter-spacing: 0;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(5, 5, 5, 0.94); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-d); color: var(--white);
}
.admin-bar .site-header { top: 32px; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-family: var(--f-display); font-weight: 600; font-size: 1.32rem; letter-spacing: -0.03em; }
.brand:hover { color: var(--white); }
.brand { gap: 12px; }
.brand .mark { width: 34px; height: 34px; }
.brand .wm { height: 24px; width: auto; }
.brand .mark rect:nth-of-type(n+9) { animation: blip 3.6s ease-in-out infinite; }
.brand .mark rect:nth-of-type(13) { animation-delay: 0s; }
.brand .mark rect:nth-of-type(12) { animation-delay: .08s; }
.brand .mark rect:nth-of-type(11) { animation-delay: .16s; }
.brand .mark rect:nth-of-type(10) { animation-delay: .24s; }
.brand .mark rect:nth-of-type(9) { animation-delay: .32s; }
.brand .mark rect:nth-of-type(14) { animation-delay: .5s; }
@keyframes blip { 0%, 100% { opacity: 1; } 8% { opacity: .15; } 16% { opacity: 1; } }
.brand small { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.14em; color: var(--muted-d); font-weight: 500; text-transform: uppercase; margin-left: 2px; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a, .menu button {
  color: #d9d9d9; text-decoration: none; font-size: 0.95rem; font-weight: 500;
  padding: 10px 14px; border-radius: 999px; background: none; border: 0; cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; gap: 6px;
}
.menu a:hover, .menu button:hover, .menu a[aria-current="page"] { color: var(--white); background: rgba(255, 255, 255, 0.07); }
.menu .has-sub { position: relative; }
.menu .has-sub > button svg { width: 12px; height: 12px; transition: transform .2s; }
.sub {
  position: absolute; top: calc(100% + 10px); left: -12px; width: 340px;
  background: var(--ink-2); border: 1px solid var(--line-d); border-radius: var(--r-md);
  padding: 8px; list-style: none; margin: 0; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .18s ease;
}
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover > button svg, .has-sub.open > button svg { transform: rotate(180deg); }
.sub a { display: grid; grid-template-columns: 38px 1fr; gap: 2px 12px; padding: 12px; border-radius: 10px; }
.sub a .ico { grid-row: span 2; width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, 0.1); color: var(--spark); display: grid; place-items: center; }
.sub a .ico svg { width: 20px; height: 20px; }
.sub a strong { font-weight: 600; color: var(--white); }
.sub a span:last-child { font-size: 0.84rem; color: var(--muted-d); font-weight: 400; line-height: 1.4; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 10px 18px; font-size: 0.92rem; }
.burger { display: none; background: none; border: 1px solid var(--line-d); color: var(--white); width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }
.burger svg { width: 22px; height: 22px; margin: auto; }

@media (max-width: 980px) {
  .burger { display: grid; place-items: center; }
  .menu-wrap {
    position: fixed; inset: 72px 0 0 0; background: var(--ink); padding: 20px var(--gut-r) 40px var(--gut);
    overflow-y: auto; display: none;
  }
  .admin-bar .menu-wrap { top: 104px; }
  .nav-open .menu-wrap { display: block; }
  .menu { flex-direction: column; align-items: stretch; gap: 2px; }
  .menu a, .menu button { font-size: 1.15rem; padding: 14px 12px; width: 100%; justify-content: space-between; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; width: auto; box-shadow: none; background: transparent; border: 0; padding: 0 0 8px 8px; display: none; }
  .has-sub.open .sub { display: block; }
  .nav-cta .btn--spark { display: none; }
  .menu-wrap .btn--spark { display: inline-flex; margin-top: 18px; }
}
@media (min-width: 981px) { .menu-wrap .mobile-only { display: none; } }

/* Hero */
.hero { position: relative; background: var(--ink); color: var(--white); overflow: hidden; isolation: isolate; }
.hero canvas.field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 70% 80% at 18% 50%, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.55) 45%, rgba(5, 5, 5, 0) 75%),
              linear-gradient(to bottom, rgba(5, 5, 5, 0) 70%, var(--ink) 100%); }
.hero .wrap { padding-block: clamp(80px, 12vw, 150px) clamp(64px, 9vw, 110px); }
.hero-inner { max-width: 780px; display: grid; gap: 26px; }
.hero h1 .spark { color: var(--white); }
@supports (-webkit-text-stroke: 1px #fff) {
  .hero h1 .spark { color: transparent; -webkit-text-stroke: 1.5px var(--white); }
}
.hero--home h1 { font-size: clamp(2.8rem, 7.4vw, 6rem); }
.hero-hint { font-family: var(--f-mono); font-size: 0.78rem; color: var(--muted-d); letter-spacing: 0.06em; display: inline-flex; align-items: center; gap: 10px; }
.hero-hint i { width: 22px; height: 1px; background: var(--spark); display: inline-block; }
.proofs { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 10px; padding: 0; list-style: none; }
.proofs li { display: inline-flex; align-items: center; gap: 9px; font-size: 0.95rem; color: #d4d4d4; }
.proofs svg { width: 18px; height: 18px; color: var(--spark); flex: none; }
.stage {
  display: inline-flex; align-items: center; gap: 8px; width: max-content; max-width: 100%;
  font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.35); color: var(--spark); padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.06);
}
.stage::before { content: ""; width: 6px; height: 6px; border-radius: 1px; background: currentColor; animation: pulse 2s infinite; }
.stage--light { color: var(--spark-ink); border-color: rgba(0, 0, 0, 0.3); background: rgba(255, 255, 255, 0.08); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.hero-inner > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-inner > *:nth-child(2) { animation-delay: .08s; }
.hero-inner > *:nth-child(3) { animation-delay: .16s; }
.hero-inner > *:nth-child(4) { animation-delay: .24s; }
.hero-inner > *:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { transform: translateY(18px); opacity: .001; } to { transform: none; opacity: 1; } }

/* Ticker */
.ticker { background: var(--ink-2); color: var(--muted-d); border-block: 1px solid var(--line-d); overflow: hidden; }
.ticker-track { display: flex; gap: 48px; width: max-content; padding-block: 18px; animation: tick 40s linear infinite; font-family: var(--f-mono); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }
.ticker-track span { display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.ticker-track span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--spark); }
@keyframes tick { to { transform: translateX(-50%); } }

/* Grids and cards */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); } }

.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 34px); display: grid; gap: 14px; align-content: start; min-width: 0;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.section--paper .card { border-color: transparent; }
.card p { color: var(--muted); }
.card--lift:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(5, 5, 5, 0.35); border-color: var(--line); }
.card--dark { background: var(--ink-2); border-color: var(--line-d); color: var(--white); }
.card--dark p { color: var(--muted-d); }
.ico-tile { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--spark); }
.ico-tile svg { width: 26px; height: 26px; }
.card--dark .ico-tile { background: rgba(255, 255, 255, 0.1); }
.kicker { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.card--dark .kicker { color: var(--muted-d); }
.more { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--spark-ink); }
.more svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .more svg, .more:hover svg { transform: translateX(4px); }
.card--dark .more, .section--dark .more { color: var(--spark); }

/* Problem cards */
.problem { border-top: 2px solid var(--ink); padding-top: 22px; display: grid; gap: 12px; align-content: start; }
.problem .stat { font-family: var(--f-display); font-size: 1.05rem; font-weight: 600; }
.problem p { color: var(--muted); }

/* Solutions feature */
.solutions { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; }
.solutions .side { display: grid; gap: 20px; }
@media (max-width: 900px) { .solutions { grid-template-columns: minmax(0, 1fr); } }
.sol { overflow: hidden; isolation: isolate; text-decoration: none; color: inherit; }
.sol:hover { color: inherit; }
.sol--flag { min-height: 520px; align-content: end; background: var(--ink); color: var(--white); border: 0; }
.sol--flag canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.sol--flag::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(5, 5, 5, 0.94) 24%, rgba(5, 5, 5, 0) 62%); }
.sol--flag p { color: var(--muted-d); max-width: 46ch; }
.sol--flag h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.sol--flag .more { color: var(--spark); }
.sol .tag { position: absolute; top: 22px; right: 22px; }

/* Steps (a real sequence) */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: s; position: relative; }
.steps.s4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { padding: 28px 28px 0 0; display: grid; gap: 12px; align-content: start; position: relative; min-width: 0; }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  font-family: var(--f-mono); font-size: 0.8rem; color: var(--spark-ink); font-weight: 500;
  border: 1px solid var(--line); border-radius: 999px; width: 46px; height: 46px; display: grid; place-items: center; background: var(--white);
  position: relative; z-index: 1;
}
.section--dark .step::before { background: var(--ink); border-color: var(--line-d); color: var(--spark); }
.step::after { content: ""; position: absolute; top: 51px; left: 46px; right: 0; height: 1px; background: linear-gradient(90deg, var(--text), var(--line) 60%); }
.section--dark .step::after { background: linear-gradient(90deg, var(--spark), var(--line-d) 60%); }
.step:last-child::after { display: none; }
.step p { color: var(--muted); }
.section--dark .step p { color: var(--muted-d); }
@media (max-width: 860px) {
  .steps, .steps.s4 { grid-template-columns: minmax(0, 1fr); }
  .step { padding: 0 0 28px 66px; }
  .step::before { position: absolute; left: 0; top: 0; }
  .step::after { top: 46px; left: 23px; bottom: 0; right: auto; width: 1px; height: auto; background: var(--line); }
  .section--dark .step::after { background: var(--line-d); }
  .step h3 { padding-top: 10px; }
}

.steps--v, .steps--v.s4 { grid-template-columns: minmax(0, 1fr); }
.steps--v .step { padding: 0 0 26px 66px; }
.steps--v .step:last-child { padding-bottom: 0; }
.steps--v .step::before { position: absolute; left: 0; top: 0; }
.steps--v .step::after { display: block; top: 46px; left: 23px; bottom: 0; right: auto; width: 1px; height: auto; background: var(--line-d); }
.steps--v .step:last-child::after { display: none; }
.steps--v .step h3 { padding-top: 10px; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.stack { display: grid; gap: 20px; align-content: start; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.checks li svg { width: 22px; height: 22px; color: var(--spark-ink); margin-top: 3px; }
.section--dark .checks li svg { color: var(--spark); }
.checks strong { display: block; }
.checks span { color: var(--muted); }
.section--dark .checks span { color: var(--muted-d); }

/* Visual panel (abstract) */
.panel { position: relative; aspect-ratio: 5 / 4; max-width: 100%; border-radius: var(--r-lg); background: var(--ink); overflow: hidden; isolation: isolate; }
.section--dark .panel { border: 1px solid var(--line-d); }
.panel canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.panel .badge {
  position: absolute; left: 20px; bottom: 20px; right: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between;
  background: rgba(17, 17, 17, 0.82); border: 1px solid var(--line-d); color: var(--white); border-radius: 14px; padding: 14px 16px; backdrop-filter: blur(8px);
  font-size: 0.92rem;
}
.panel .badge b { font-family: var(--f-mono); font-weight: 500; color: var(--spark); font-size: 0.78rem; letter-spacing: .1em; text-transform: uppercase; }
.panel .alert { color: var(--amber); }

/* Promise block */
.promise { background: var(--ink); border: 1px solid var(--line-d); color: var(--white); border-radius: var(--r-lg); padding: clamp(32px, 5vw, 64px); display: grid; gap: 22px; position: relative; overflow: hidden; }
.promise q { font-family: var(--f-display); font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.3; letter-spacing: -0.02em; quotes: none; max-width: 30ch; }
.promise .sig { font-family: var(--f-mono); font-size: 0.8rem; color: var(--muted-d); letter-spacing: .1em; text-transform: uppercase; }

/* Comparison table */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 0.95rem; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--f-mono); font-weight: 500; font-size: 0.74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--paper); }
.compare thead th.us { background: var(--ink); color: var(--spark); }
.compare td.us { background: rgba(255, 255, 255, 0.07); font-weight: 600; }
.compare tbody th { font-weight: 600; width: 22%; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.dot { border: 1.5px solid var(--text); } .dot--g { background: var(--text); } .dot--y { background: linear-gradient(90deg, var(--text) 50%, transparent 50%); } .dot--r { background: transparent; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.85rem; color: var(--muted); margin-top: 14px; }
.note { font-size: 0.85rem; color: var(--muted); margin-top: 14px; }

/* Team */
.person { display: grid; gap: 12px; align-content: start; }
.avatar { aspect-ratio: 1; max-width: 100%; border-radius: var(--r-md); background: repeating-linear-gradient(135deg, var(--paper) 0 10px, #e9e9e7 10px 20px); display: grid; place-items: center; color: var(--muted); font-family: var(--f-mono); font-size: 0.78rem; border: 1px dashed #c9c9c7; }
.person h3 { font-size: 1.1rem; }
.person .role { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.person.join { text-decoration: none; color: inherit; }
.avatar--join { background: var(--white); border: 1px dashed #c9c9c7; font-family: var(--f-display); font-size: 3rem; color: var(--text); transition: background .25s, color .25s; }
.person.join:hover .avatar--join { background: var(--ink); color: var(--white); }
.founder { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--white); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); }
.founder h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.founder p { color: var(--muted); font-size: 1.05rem; max-width: 60ch; }
.founder .role { font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) { .founder { grid-template-columns: minmax(0, 1fr); } }
.avatar--photo { position: relative; overflow: hidden; border: 0; background: var(--ink); color: var(--muted-d); text-align: center; padding: 20px; }
.avatar--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12) brightness(1.03); transition: transform .6s ease; }
.avatar--photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1.5px); background-size: 9px 9px;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 42%); mask-image: linear-gradient(to top, #000 0%, transparent 42%); transition: opacity .4s ease; }
.founder:hover .avatar--photo img { transform: scale(1.03); }
.founder:hover .avatar--photo::after { opacity: .5; }
.person p { color: var(--muted); font-size: 0.95rem; }

/* Logos placeholder */
.logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.logos div { height: 74px; border: 1px dashed var(--line-d); border-radius: var(--r-md); display: grid; place-items: center; color: var(--muted-d); font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: .1em; text-transform: uppercase; text-align: center; padding: 6px; }
@media (max-width: 760px) { .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* CTA band */
.cta { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: var(--white); }
.cta canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 90% at 50% 50%, rgba(5, 5, 5, .9), rgba(5, 5, 5, .35)); }
.cta .wrap { padding-block: clamp(80px, 10vw, 130px); display: grid; gap: 24px; justify-items: center; text-align: center; }
.cta h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 18ch; }
.cta p { color: var(--muted-d); max-width: 56ch; font-size: 1.1rem; }

/* Posts */
.post-card { text-decoration: none; color: inherit; }
.post-card:hover { color: inherit; }
.post-card .thumb { aspect-ratio: 16 / 10; max-width: 100%; border-radius: var(--r-md); background: var(--ink); overflow: hidden; position: relative; }
.post-card .thumb canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.post-card h3 { font-size: 1.2rem; }
.meta { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.article { max-width: 720px; margin: 0 auto; }
.article .meta { margin-bottom: 14px; display: block; }
.prose { font-size: 1.08rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.7rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--spark); font-family: var(--f-display); font-size: 1.3rem; line-height: 1.4; }
.notice { background: var(--ph-bg); border: 1px dashed #e0a43a; color: var(--ph-fg); border-radius: var(--r-md); padding: 14px 18px; font-size: 0.95rem; }

/* Forms */
.form { display: grid; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); color: var(--text); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form .row { grid-template-columns: minmax(0, 1fr); } }
.form label { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 600; min-width: 0; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--text); background: var(--paper);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; min-width: 0;
}
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--text); outline-offset: 0; border-color: transparent; background: var(--white); }
.form .hp { position: absolute; left: -9999px; }
.form .fine { font-size: 0.82rem; color: var(--muted); font-weight: 400; }
.form-ok { background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(0, 0, 0, .35); color: var(--text); padding: 14px 18px; border-radius: 12px; }
.form-err { background: #fdecec; border: 1px solid #f2b4b4; color: #8a1f1f; padding: 14px 18px; border-radius: 12px; }

.contact-aside { display: grid; gap: 22px; align-content: start; }
.contact-aside dl { margin: 0; display: grid; gap: 18px; }
.contact-aside dt { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); }
.contact-aside dd { margin: 4px 0 0; font-size: 1.05rem; }
.contact-aside a { color: var(--spark); }

/* Footer */
.site-footer { background: var(--ink); color: var(--muted-d); border-top: 1px solid var(--line-d); font-size: 0.95rem; }
.site-footer .wrap { padding-block: 64px 32px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
.site-footer h4 { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white); font-weight: 500; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted-d); text-decoration: none; }
.site-footer a:hover { color: var(--spark); }
.foot-brand { display: grid; gap: 16px; max-width: 360px; }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-d); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 0.85rem; }
.maple { display: inline-flex; align-items: center; gap: 8px; }
.maple svg { width: 16px; height: 16px; color: var(--white); }

.center { text-align: center; }
.mt { margin-top: clamp(36px, 5vw, 56px); }
.muted { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
