/* ============================================================
   UPTED — Design system
   Light/editorial base, grotesque type, dual-accent (IA / SEO)
   ============================================================ */

:root {
  /* Type */
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Inter Tight", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* Light theme (default) */
  --bg:        oklch(0.987 0.004 95);
  --bg-2:      oklch(0.965 0.006 95);
  --surface:   oklch(1 0 0);
  --ink:       oklch(0.20 0.012 270);
  --ink-soft:  oklch(0.42 0.012 270);
  --ink-mute:  oklch(0.58 0.010 270);
  --line:      oklch(0.90 0.006 270);
  --line-soft: oklch(0.94 0.005 270);

  /* Dual accents — same chroma & lightness, hue varies */
  --acc-ia:    oklch(0.60 0.17 285);   /* Automatisation IA  */
  --acc-seo:   oklch(0.62 0.15 215);   /* SEO / GEO          */
  --acc:       var(--acc-ia);
  --acc-ink:   oklch(0.42 0.17 285);
  --on-acc:    oklch(0.99 0 0);

  --radius:    18px;
  --radius-sm: 11px;
  --maxw:      1240px;
  --gutter:    clamp(20px, 5vw, 64px);

  --shadow-sm: 0 1px 2px oklch(0.2 0.02 270 / 0.05), 0 2px 8px oklch(0.2 0.02 270 / 0.04);
  --shadow-md: 0 4px 14px oklch(0.2 0.02 270 / 0.07), 0 18px 50px oklch(0.2 0.02 270 / 0.08);
  --shadow-lg: 0 10px 30px oklch(0.2 0.02 270 / 0.10), 0 40px 90px oklch(0.2 0.02 270 / 0.12);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .4s ease, color .4s ease;
}

/* ---------- primitives ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
a { color: inherit; text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.85em 1.5em;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.3,1), background .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn svg { transition: transform .25s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-acc { background: var(--acc); color: var(--on-acc); }
.btn-acc:hover { transform: translateY(-2px); box-shadow: 0 12px 30px oklch(0.6 0.17 285 / 0.35); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo {
  height: 80px;
  width: auto;
  display: block;
}
.footer .brand-logo { height: 56px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-size: 0.92rem; color: var(--ink-soft); padding: 0.5em 0.85em; border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-2); }
.nav-cta { display: flex; align-items: center; gap: 0.9rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px auto; transition: .3s; }

@media (max-width: 920px) {
  .nav-links {
    position: fixed; inset: 96px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: var(--gutter); transform: translateY(-120%); visibility: hidden;
    transition: transform .4s cubic-bezier(.3,.8,.3,1), visibility .4s;
  }
  .nav-links.open { transform: none; visibility: visible; transition: transform .4s cubic-bezier(.3,.8,.3,1), visibility 0s; }
  .nav-links a { padding: 0.9em 0; font-size: 1.1rem; border-bottom: 1px solid var(--line-soft); }
  .nav-toggle { display: block; }
  .nav-cta .btn-primary { display: none; }
}

/* ---------- Floating CTA (mobile) ---------- */
.cta-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 150;
  display: none;
  align-items: center;
  gap: 0.5em;
  padding: 0.95em 1.35em;
  border-radius: 100px;
  background: var(--acc);
  color: var(--on-acc);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 28px oklch(0.6 0.17 285 / 0.42), 0 2px 8px oklch(0.2 0.02 270 / 0.22);
  transition: transform .2s cubic-bezier(.2,.8,.3,1), box-shadow .2s;
}
.cta-float svg { flex: none; }
.cta-float:active { transform: scale(0.95); }
@media (max-width: 920px) {
  .cta-float.show { display: inline-flex; }
}
@media (prefers-reduced-motion: no-preference) {
  .cta-float.show { animation: ctaPop .45s both cubic-bezier(.2,1.1,.4,1); }
}
@keyframes ctaPop { from { opacity: 0; transform: translateY(16px) scale(.9); } to { opacity: 1; transform: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: clamp(28px, 4.5vw, 64px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  margin: 0.5em 0 0;
}
.hero h1 .l2 { color: var(--acc-ink); }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-soft); max-width: 38ch; margin-top: 1.5rem; }
.hero-cta { display: flex; gap: 0.9rem; margin-top: 2.2rem; flex-wrap: wrap; }
.hero-tags { display: flex; gap: 1.4rem; margin-top: 2.4rem; flex-wrap: wrap; }
.hero-tag { display: flex; align-items: center; gap: 0.5em; font-size: 0.88rem; color: var(--ink-soft); }
.dot { width: 8px; height: 8px; border-radius: 100px; }
.dot.ia { background: var(--acc-ia); } .dot.seo { background: var(--acc-seo); }

/* automation node graph */
.viz { position: relative; aspect-ratio: 1/1; width: 100%; }
.viz svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.node {
  position: absolute; transform: translate(-50%,-50%);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 0.55em 0.8em; font-size: 0.78rem; font-family: var(--font-mono);
  box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 0.5em; white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.node .nd { width: 7px; height: 7px; border-radius: 100px; }
.node.n1 { top: 12%; left: 24%; } .node.n2 { top: 8%; left: 74%; animation-delay: -1.2s; }
.node.n3 { top: 44%; left: 50%; animation-delay: -2.4s; }
.node.n4 { top: 80%; left: 26%; animation-delay: -3.6s; } .node.n5 { top: 84%; left: 76%; animation-delay: -4.8s; }
.node.big { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; padding: 0.7em 1em; }
@keyframes float { 0%,100% { transform: translate(-50%,calc(-50% - 6px)); } 50% { transform: translate(-50%,calc(-50% + 6px)); } }
.flow-line { stroke: var(--line); stroke-width: 1.5; fill: none; stroke-dasharray: 5 5; }
.flow-pulse { stroke: var(--acc); stroke-width: 2; fill: none; stroke-dasharray: 7 200; animation: dash 3.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -207; } }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .viz { max-width: 440px; margin: 0 auto; order: -1; }
}

/* ============================================================
   MARQUEE / TOOLS
   ============================================================ */
.tools { border-block: 1px solid var(--line); padding: 1.5rem 0; }
.tools-in { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); flex-wrap: wrap; justify-content: center; }
.tools-lab { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }
.tool-chip { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; color: var(--ink-soft); opacity: 0.85; transition: opacity .2s, color .2s; }
.tool-chip:hover { opacity: 1; color: var(--ink); }

/* ============================================================
   STATS
   ============================================================ */
.stats { padding: clamp(48px,7vw,96px) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg); padding: clamp(1.4rem,3vw,2.4rem); }
.stat .n { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem,4vw,3.4rem); letter-spacing: -0.03em; }
.stat .n .u { color: var(--acc); }
.stat .lab { color: var(--ink-soft); font-size: 0.92rem; margin-top: 0.3rem; }
@media (max-width: 720px) { .stats-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.sec { padding: clamp(56px,9vw,128px) 0; }
.sec-head { max-width: 720px; margin-bottom: clamp(2.4rem,5vw,4rem); }
.sec-head h2 { font-size: clamp(2rem,4.4vw,3.4rem); margin-top: 0.8rem; }
.sec-head p { color: var(--ink-soft); font-size: clamp(1.02rem,1.4vw,1.18rem); margin-top: 1.1rem; max-width: 56ch; }

/* ============================================================
   DUAL SERVICES
   ============================================================ */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px,2.4vw,28px); }
.pane {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.8rem,3vw,2.8rem); overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.3,1), box-shadow .35s, border-color .35s;
}
.pane:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pane::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--pane-acc); }
.pane.ia { --pane-acc: var(--acc-ia); } .pane.seo { --pane-acc: var(--acc-seo); }
.pane-glow { position: absolute; top: -40%; right: -20%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: var(--pane-acc); opacity: 0.08; filter: blur(50px); pointer-events: none; }
.pane-tag { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pane-acc); display: inline-flex; align-items: center; gap: 0.5em; }
.pane h3 { font-size: clamp(1.5rem,2.6vw,2.1rem); margin: 1rem 0 0.7rem; }
.pane > p { color: var(--ink-soft); margin-bottom: 1.6rem; max-width: 42ch; }
.sub-list { display: flex; flex-direction: column; gap: 2px; margin-bottom: 1.8rem; }
.sub {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.95rem 0; border-top: 1px solid var(--line-soft);
  transition: padding-left .25s; cursor: pointer;
}
.sub:hover { padding-left: 0.5rem; }
.sub .st { display: flex; flex-direction: column; }
.sub .st b { font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; }
.sub .st span { font-size: 0.85rem; color: var(--ink-mute); }
.sub .arr { color: var(--pane-acc); opacity: 0; transform: translateX(-6px); transition: .25s; }
.sub:hover .arr { opacity: 1; transform: none; }
.pane-link { font-family: var(--font-display); font-weight: 500; color: var(--pane-acc); display: inline-flex; align-items: center; gap: 0.5em; }
.pane-link:hover { gap: 0.8em; }
@media (max-width: 820px) { .duo { grid-template-columns: 1fr; } }

.geo-badge { display: inline-flex; align-items: center; gap: 0.4em; font-size: 0.7rem; font-family: var(--font-mono); padding: 0.2em 0.6em; border-radius: 100px; background: var(--pane-acc); color: var(--on-acc); letter-spacing: 0.08em; margin-left: 0.5em; }

/* ============================================================
   METHODE
   ============================================================ */
.method { background: var(--bg-2); }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(18px,2.5vw,32px); position: relative; }
.step { position: relative; }
.step .num { font-family: var(--font-mono); font-size: 0.85rem; color: var(--acc); letter-spacing: 0.1em; }
.step .bar { height: 2px; background: var(--line); margin: 1rem 0 1.4rem; position: relative; overflow: hidden; }
.step .bar::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--acc); transition: width 1s ease; }
.step.in .bar::after { width: 100%; }
.step[data-s="2"] .bar::after { transition-delay: .15s; } .step[data-s="3"] .bar::after { transition-delay: .3s; } .step[data-s="4"] .bar::after { transition-delay: .45s; }
.step h3 { font-size: 1.4rem; }
.step p { color: var(--ink-soft); font-size: 0.96rem; margin-top: 0.6rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ============================================================
   WHY / 1+1=3
   ============================================================ */
.why-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(32px,5vw,72px); align-items: center; }
.why-points { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 2rem; }
.why-point { display: flex; gap: 0.9rem; align-items: flex-start; }
.why-point .ck { flex: none; width: 26px; height: 26px; border-radius: 100px; background: var(--acc); color: var(--on-acc); display: grid; place-items: center; margin-top: 2px; }
.why-point p { color: var(--ink-soft); }
.why-point b { color: var(--ink); font-weight: 600; font-family: var(--font-display); }
.equation { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.eq-row { background: var(--surface); padding: 1.4rem 1.6rem; display: flex; align-items: center; justify-content: space-between; }
.eq-row .k { display: flex; align-items: center; gap: 0.7rem; font-family: var(--font-display); font-weight: 500; }
.eq-row.sum { background: var(--ink); color: var(--bg); }
.eq-row.sum .k { font-size: 1.15rem; }
.eq-row .v { font-family: var(--font-mono); color: var(--ink-mute); font-size: 0.85rem; }
.eq-row.sum .v { color: color-mix(in oklab, var(--bg) 70%, transparent); }

@media (max-width: 820px) { .why-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CTA
   ============================================================ */
.cta { padding: clamp(56px,9vw,120px) 0; }
.cta-card {
  position: relative; background: var(--ink); color: var(--bg);
  border-radius: clamp(20px,3vw,32px); padding: clamp(2.4rem,6vw,5rem);
  overflow: hidden; text-align: center;
}
.cta-card h2 { font-size: clamp(2rem,5vw,3.6rem); color: var(--bg); }
.cta-card p { color: color-mix(in oklab, var(--bg) 72%, transparent); margin: 1.1rem auto 2.2rem; max-width: 46ch; font-size: 1.1rem; }
.cta-glow { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; filter: blur(70px); opacity: 0.5; }
.cta-glow.a { background: var(--acc-ia); top: -30%; left: -10%; }
.cta-glow.b { background: var(--acc-seo); bottom: -40%; right: -5%; }
.cta-card > * { position: relative; }
.cta-card .btn-primary { background: var(--bg); color: var(--ink); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: clamp(48px,7vw,80px) 0 2.4rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(24px,4vw,48px); }
.footer .brand { margin-bottom: 1rem; }
.footer-about { color: var(--ink-soft); max-width: 34ch; font-size: 0.95rem; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 1.1rem; font-weight: 500; }
.footer-col a { display: block; color: var(--ink-soft); font-size: 0.95rem; padding: 0.35rem 0; transition: color .2s, padding-left .2s; }
.footer-col a:hover { color: var(--ink); padding-left: 4px; }
.footer-bot { display: flex; justify-content: space-between; align-items: center; margin-top: clamp(2.4rem,5vw,4rem); padding-top: 1.8rem; border-top: 1px solid var(--line-soft); color: var(--ink-mute); font-size: 0.85rem; flex-wrap: wrap; gap: 1rem; }
.footer-bot a { color: var(--ink-mute); } .footer-bot a:hover { color: var(--ink); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   TWEAKS PANEL (custom, vanilla)
   ============================================================ */
#tweaks { position: fixed; right: 18px; bottom: 18px; z-index: 200; width: 280px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); font-family: var(--font-body); transform: translateY(140%); transition: transform .45s cubic-bezier(.3,.9,.3,1); }
#tweaks.show { transform: none; }
.tw-head { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--line); }
.tw-head b { font-family: var(--font-display); font-size: 0.95rem; }
.tw-head button { background: none; border: 0; color: var(--ink-mute); cursor: pointer; font-size: 1.1rem; line-height: 1; }
.tw-body { padding: 1.1rem; display: flex; flex-direction: column; gap: 1.2rem; max-height: 70vh; overflow: auto; }
.tw-group label { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); display: block; margin-bottom: 0.55rem; }
.tw-seg { display: flex; gap: 4px; background: var(--bg-2); border-radius: 10px; padding: 4px; }
.tw-seg button { flex: 1; border: 0; background: transparent; color: var(--ink-soft); padding: 0.5em; border-radius: 7px; font-family: var(--font-display); font-size: 0.85rem; cursor: pointer; transition: .2s; }
.tw-seg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.tw-swatches { display: flex; gap: 0.6rem; }
.tw-sw { width: 36px; height: 36px; border-radius: 100px; border: 2px solid transparent; cursor: pointer; transition: transform .2s; }
.tw-sw:hover { transform: scale(1.1); }
.tw-sw.on { border-color: var(--ink); }

/* ============================================================
   INNER PAGES
   ============================================================ */
/* page hero */
.phero { position: relative; padding: clamp(48px,7vw,104px) 0 clamp(36px,5vw,64px); overflow: hidden; }
.phero::before { content: ""; position: absolute; top: -30%; right: -10%; width: 50%; aspect-ratio: 1; border-radius: 50%; background: var(--acc); opacity: 0.07; filter: blur(70px); pointer-events: none; }
.crumb { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; color: var(--ink-mute); display: flex; gap: 0.5em; align-items: center; margin-bottom: 1.6rem; }
.crumb a { color: var(--ink-mute); } .crumb a:hover { color: var(--ink); }
.crumb .sep { opacity: 0.5; }
.phero h1 { font-size: clamp(2.4rem,6vw,4.6rem); max-width: 16ch; }
.phero .lead { color: var(--ink-soft); font-size: clamp(1.08rem,1.7vw,1.32rem); max-width: 52ch; margin-top: 1.5rem; }
.phero-cta { display: flex; gap: 0.9rem; margin-top: 2.2rem; flex-wrap: wrap; }
.phero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px,5vw,64px); align-items: center; }
@media (max-width: 860px){ .phero-grid { grid-template-columns: 1fr; } }

/* feature cards grid */
.fgrid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: clamp(16px,2vw,22px); }
.fcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem,2.5vw,2rem); transition: transform .35s cubic-bezier(.2,.8,.3,1), box-shadow .35s, border-color .35s; }
.fcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: color-mix(in oklab, var(--acc) 40%, var(--line)); }
.fcard .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in oklab, var(--acc) 14%, transparent); color: var(--acc-ink); margin-bottom: 1.2rem; }
.fcard h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.fcard p { color: var(--ink-soft); font-size: 0.96rem; }
.fcard .tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.1rem; }
.fcard .tags span { font-family: var(--font-mono); font-size: 0.68rem; padding: 0.25em 0.65em; border-radius: 100px; background: var(--bg-2); color: var(--ink-mute); }

/* big number row */
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(20px,3vw,40px); }
.pillar { position: relative; padding-top: 1.6rem; border-top: 2px solid var(--acc); }
.pillar .pn { font-family: var(--font-mono); font-size: 0.8rem; color: var(--acc); }
.pillar h3 { font-size: 1.5rem; margin: 0.8rem 0 0.6rem; }
.pillar p { color: var(--ink-soft); font-size: 0.98rem; }
@media (max-width: 760px){ .pillars { grid-template-columns: 1fr; } }

/* split feature (text + visual placeholder) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,64px); align-items: center; }
.split.rev .split-media { order: -1; }
.split-media { aspect-ratio: 4/3; border-radius: var(--radius); border: 1px solid var(--line); position: relative; overflow: hidden; background:
  repeating-linear-gradient(45deg, var(--bg-2) 0 14px, transparent 14px 28px), var(--surface); display: grid; place-items: center; }
.split-media .ph-lab { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-mute); background: var(--surface); border: 1px solid var(--line); border-radius: 100px; padding: 0.4em 0.9em; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.split-media.shot { aspect-ratio: auto; background: #101014; }
.split-media.shot img { position: static; inset: auto; height: auto; object-fit: contain; }
.split h2 { font-size: clamp(1.8rem,3.5vw,2.8rem); }
.split p { color: var(--ink-soft); margin-top: 1rem; }
@media (max-width: 760px){ .split { grid-template-columns: 1fr; } .split.rev .split-media { order: 0; } }

/* accordion (process / faq) */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 1.4rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.05rem,1.8vw,1.3rem); color: var(--ink); }
.acc-q .pm { flex: none; width: 30px; height: 30px; border-radius: 100px; border: 1px solid var(--line); display: grid; place-items: center; position: relative; transition: .3s; }
.acc-q .pm::before, .acc-q .pm::after { content: ""; position: absolute; background: var(--ink); transition: .3s; }
.acc-q .pm::before { width: 12px; height: 2px; } .acc-q .pm::after { width: 2px; height: 12px; }
.acc-item.open .pm { background: var(--acc); border-color: var(--acc); }
.acc-item.open .pm::before, .acc-item.open .pm::after { background: var(--on-acc); }
.acc-item.open .pm::after { transform: scaleY(0); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.acc-a p { color: var(--ink-soft); padding-bottom: 1.4rem; max-width: 70ch; }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(16px,2vw,22px); }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem,2.5vw,2.2rem); display: flex; flex-direction: column; }
.price.feat { border-color: var(--acc); box-shadow: var(--shadow-md); position: relative; }
.price.feat .ribbon { position: absolute; top: -11px; left: clamp(1.6rem,2.5vw,2.2rem); background: var(--acc); color: var(--on-acc); font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; padding: 0.25em 0.7em; border-radius: 100px; }
.price .pname { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; color: var(--ink-soft); }
.price .pp { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem,3.5vw,2.6rem); margin: 0.6rem 0; letter-spacing: -0.02em; }
.price .pp small { font-size: 0.9rem; color: var(--ink-mute); font-weight: 400; }
.price ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; margin: 1.2rem 0 1.8rem; }
.price li { display: flex; gap: 0.6rem; color: var(--ink-soft); font-size: 0.94rem; }
.price li::before { content: "✓"; color: var(--acc-ink); font-weight: 700; }
.price .btn { margin-top: auto; justify-content: center; }
@media (max-width: 820px){ .price-grid { grid-template-columns: 1fr; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,64px); align-items: start; }
@media (max-width: 860px){ .contact-grid { grid-template-columns: 1fr; } }
.form { display: flex; flex-direction: column; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.85em 1em; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px color-mix(in oklab, var(--acc) 20%, transparent); }
.field.err input, .field.err textarea, .field.err select { border-color: oklch(0.6 0.18 25); }
.field .msg { font-size: 0.78rem; color: oklch(0.6 0.18 25); display: none; }
.field.err .msg { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 480px){ .field-row { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { font-family: var(--font-display); font-size: 0.88rem; padding: 0.55em 1em; border-radius: 100px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft); cursor: pointer; transition: .2s; }
.chip.on { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }
.form-done { text-align: center; padding: clamp(2rem,4vw,3rem); border: 1px dashed var(--acc); border-radius: var(--radius); background: color-mix(in oklab, var(--acc) 6%, var(--surface)); }
.form-done .ok { width: 56px; height: 56px; border-radius: 100px; background: var(--acc); color: var(--on-acc); display: grid; place-items: center; margin: 0 auto 1.2rem; font-size: 1.6rem; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem,3vw,2.2rem); }
.info-list { list-style: none; display: flex; flex-direction: column; gap: 1.3rem; margin-top: 1.4rem; }
.info-list li { display: flex; gap: 1rem; }
.info-list .step-n { flex: none; width: 30px; height: 30px; border-radius: 100px; background: var(--bg-2); color: var(--acc-ink); display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.8rem; }
.info-list b { font-family: var(--font-display); font-weight: 500; display: block; margin-bottom: 0.15rem; }
.info-list span { color: var(--ink-soft); font-size: 0.92rem; }

/* about */
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(18px,2.5vw,28px); }
@media (max-width: 760px){ .values { grid-template-columns: 1fr; } }
.value { padding: 1.6rem; border-radius: var(--radius); background: var(--bg-2); }
.value .vn { font-family: var(--font-mono); color: var(--acc); font-size: 0.8rem; }
.value h3 { font-size: 1.25rem; margin: 0.7rem 0 0.5rem; }
.value p { color: var(--ink-soft); font-size: 0.95rem; }
.lead-big { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem,3vw,2.4rem); line-height: 1.25; letter-spacing: -0.02em; max-width: 22ch; }
.lead-big em { font-style: normal; color: var(--acc-ink); }

/* ============================================================
   BLOG
   ============================================================ */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(2rem,4vw,3rem); }
.filter { font-family: var(--font-display); font-size: 0.9rem; padding: 0.5em 1.1em; border-radius: 100px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft); cursor: pointer; transition: .2s; }
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.on { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* featured */
.feat-post { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px,4vw,48px); align-items: center; margin-bottom: clamp(2.4rem,5vw,4rem); padding-bottom: clamp(2.4rem,5vw,4rem); border-bottom: 1px solid var(--line); }
.feat-post .pthumb { aspect-ratio: 16/10; }
.feat-post h2 { font-size: clamp(1.8rem,3.4vw,2.8rem); margin: 0.8rem 0; }
.feat-post .pexc { color: var(--ink-soft); font-size: 1.05rem; max-width: 50ch; }
@media (max-width: 820px){ .feat-post { grid-template-columns: 1fr; } .feat-post .pmedia { order: -1; } }

/* card grid */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: clamp(20px,3vw,32px); }
.post { display: flex; flex-direction: column; cursor: pointer; }
.post.hide { display: none; }
.feat-post.hide { display: none; }
.pthumb { position: relative; aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: repeating-linear-gradient(45deg, var(--bg-2) 0 14px, transparent 14px 28px), var(--surface); display: grid; place-items: center; transition: transform .4s cubic-bezier(.2,.8,.3,1); }
.post:hover .pthumb { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pthumb .ph-lab { font-family: var(--font-mono); font-size: 0.68rem; color: var(--ink-mute); background: var(--surface); border: 1px solid var(--line); border-radius: 100px; padding: 0.35em 0.8em; }
.pthumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pcat { position: absolute; top: 12px; left: 12px; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.3em 0.7em; border-radius: 100px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.pcat.actu { color: var(--acc-ink); } .pcat.ia { color: var(--acc-ia); } .pcat.seo { color: var(--acc-seo); } .pcat.geo { color: var(--acc-ia); }
.pmeta { font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-mute); display: flex; gap: 0.6rem; align-items: center; margin: 1rem 0 0.5rem; }
.pmeta .sep { opacity: 0.5; }
.post h3 { font-size: 1.25rem; line-height: 1.15; margin-bottom: 0.5rem; }
.post .pexc { color: var(--ink-soft); font-size: 0.95rem; }
.post .pread { margin-top: auto; padding-top: 0.9rem; font-family: var(--font-display); font-weight: 500; font-size: 0.9rem; color: var(--acc-ink); display: inline-flex; align-items: center; gap: 0.4em; }
.post:hover .pread { gap: 0.7em; }
.post.more-hidden { display: none; }
.load-more-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; margin-top: clamp(2.4rem,5vw,3.5rem); }
.load-more-wrap.done { display: none; }
.load-more-count { font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-mute); letter-spacing: 0.04em; }

/* ============================================================
   ARTICLE
   ============================================================ */
.article { padding: clamp(40px,6vw,72px) 0 0; }
.art-head { max-width: 760px; margin: 0 auto; text-align: center; }
.art-cat { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--acc-ink); }
.art-head h1 { font-size: clamp(2rem,4.6vw,3.4rem); margin: 1rem 0; }
.art-meta { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-mute); display: flex; gap: 0.7rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.art-hero { max-width: 1000px; margin: clamp(2rem,4vw,3rem) auto 0; aspect-ratio: 21/9; border-radius: var(--radius); border: 1px solid var(--line);
  background: repeating-linear-gradient(45deg, var(--bg-2) 0 16px, transparent 16px 32px), var(--surface); display: grid; place-items: center; }
.art-hero .ph-lab { font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-mute); background: var(--surface); border: 1px solid var(--line); border-radius: 100px; padding: 0.4em 0.9em; }
.art-hero img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--radius); }
.prose { max-width: 720px; margin: clamp(2.4rem,5vw,4rem) auto 0; }
.prose > * + * { margin-top: 1.3rem; }
.prose p, .prose li { color: var(--ink-soft); font-size: 1.12rem; line-height: 1.7; }
.prose h2 { font-size: clamp(1.5rem,2.8vw,2rem); margin-top: 2.6rem; color: var(--ink); }
.prose h3 { font-size: 1.3rem; margin-top: 1.8rem; color: var(--ink); }
.prose ul { padding-left: 1.2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { border-left: 3px solid var(--acc); padding: 0.4rem 0 0.4rem 1.4rem; margin: 2rem 0; font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: var(--ink); line-height: 1.35; }
.prose a { color: var(--acc-ink); text-decoration: underline; text-underline-offset: 3px; }
.art-share { max-width: 720px; margin: 2.6rem auto 0; padding-top: 1.8rem; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.art-author { display: flex; align-items: center; gap: 0.8rem; }
.art-author .av { width: 44px; height: 44px; border-radius: 100px; background: linear-gradient(140deg, var(--acc-ia), var(--acc-seo)); flex: none; }
.art-author b { font-family: var(--font-display); font-weight: 500; display: block; }
.art-author span { font-size: 0.85rem; color: var(--ink-mute); }
