/* DimetechDev — design system modelled on the reference layout:
   monospace body, heavy tight grotesk headings, warm off-white canvas,
   1px ink borders, rounded panels, dashed inner frames and grid ("string") backgrounds. */
:root {
  --accent: #F26B1D;
  --accent-ink: #fff;
  --ink: #0B0B0C;
  --dark: #0E0E10;
  --muted: #5E5E62;
  --faint: #9A9A9E;
  --line: #0B0B0C;
  --line-soft: #DAD8D2;
  --bg: #F7F6F2;
  --card: #F7F6F2;
  --radius: 24px;
  --radius-sm: 10px;
  --head: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --max: 1640px;
  --pad: clamp(16px, 3.6vw, 64px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--mono); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.65; letter-spacing: .01em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 800; line-height: 1.04; letter-spacing: -0.032em; margin: 0 0 .45em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2.2rem, 5vw, 4.6rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 2.1rem); letter-spacing: -0.035em; line-height: 1.08; font-weight: 700; }
p { margin: 0 0 1em; }
u, .ul { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 1440px; }
.section { padding: clamp(72px, 9vw, 140px) 0; }
.section-sm { padding: clamp(40px, 6vw, 80px) 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.label { display: block; font-family: var(--mono); font-weight: 700; font-size: .95rem; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 28px; }
.eyebrow { display: block; font-family: var(--mono); font-weight: 700; font-size: .92rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 22px; }
.section-head { max-width: 1180px; margin: 0 auto clamp(40px, 5vw, 72px); text-align: center; }
.section-head p, .lead { font-size: clamp(1rem, 1.35vw, 1.3rem); max-width: 1140px; margin-left: auto; margin-right: auto; line-height: 1.75; }
.section-head.left { text-align: left; margin-left: 0; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 16px; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 56px; } .mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }
.skeleton { min-height: 70vh; }

/* grid ("string") background */
.gridbg {
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(11,11,12,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,11,12,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
}

/* panels */
.panel { border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--card); position: relative; overflow: hidden; }
.dash { border: 1.5px dashed var(--ink); border-radius: 18px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 18px 30px; border-radius: 9px; font-family: var(--mono); font-weight: 700; font-size: .98rem; letter-spacing: .04em; text-transform: uppercase; border: 1.5px solid transparent; transition: transform .2s, background .2s, filter .2s; line-height: 1.2; text-align: center; }
.btn .arrow { display: inline-block; transition: transform .2s; font-size: 1.15em; line-height: 1; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary, .btn-dark { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover, .btn-dark:hover { filter: brightness(.93); }
.btn-outline { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 13px 20px; font-size: .86rem; }
.btn-lg { padding: 24px 44px; font-size: 1.12rem; letter-spacing: .12em; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* promo bar */
.promo { background: var(--accent); color: #fff; font-family: var(--mono); font-weight: 700; font-size: clamp(.78rem, 1.05vw, 1.08rem); letter-spacing: .06em; text-transform: uppercase; }
.promo .container { display: flex; align-items: center; justify-content: center; gap: 8px 16px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; text-align: center; }
.promo .bolt { font-size: 1.1em; }
.promo .hl { background: #fff; color: var(--accent); padding: 4px 12px; border-radius: 6px; letter-spacing: .08em; }
.promo a { text-decoration: underline; text-underline-offset: 4px; text-transform: none; }
.promo .countdown { text-decoration: underline; text-underline-offset: 4px; text-transform: none; font-variant-numeric: tabular-nums; }
.promo-close { background: none; border: 0; color: #fff; font-size: 1.2rem; opacity: .85; padding: 0 4px; }

/* header — framed with vertical "string" lines */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1.5px solid var(--line); }
.nav-frame { max-width: 1790px; margin: 0 auto; border-left: 1.5px solid var(--line); border-right: 1.5px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 86px; gap: 24px; padding: 0 clamp(16px, 2vw, 30px); }
.brand { display: inline-flex; align-items: center; gap: 16px; font-family: var(--mono); font-size: 1.55rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand img { height: 50px; width: auto; }
.brand-mark { width: 54px; height: 54px; border-radius: 5px; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--head); font-size: 1.9rem; font-weight: 800; letter-spacing: -0.04em; }
.brand b { font-weight: 600; }
.brand span.light { font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: clamp(8px, 2.6vw, 56px); list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links > li > a, .nav-links > li > button { display: inline-flex; align-items: center; gap: 12px; padding: 10px 4px; font-family: var(--mono); font-weight: 400; font-size: clamp(.95rem, 1.15vw, 1.28rem); background: none; border: 0; color: var(--ink); white-space: nowrap; }
.nav-links > li > a::before, .nav-links > li > button::before { content: ""; width: 9px; height: 9px; border: 2.5px solid var(--ink); border-radius: 50%; flex: none; transition: background .2s, border-color .2s; }
.nav-links > li > a:hover::before, .nav-links > li > button:hover::before, .nav-links a.active::before { background: var(--accent); border-color: var(--accent); }
.caret { width: 14px; height: 14px; display: inline-block; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; margin-left: 2px; }
.has-mega:hover .caret, .has-mega:focus-within .caret { transform: rotate(225deg) translate(-3px, -3px); }
.mega { position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%) translateY(8px); width: min(820px, 92vw); background: var(--bg); border: 1.5px solid var(--line); border-radius: 18px; box-shadow: 0 24px 48px -24px rgba(0,0,0,.25); padding: 18px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; opacity: 0; visibility: hidden; transition: .2s; }
.mega::before { content: ""; position: absolute; inset: -20px 0 auto 0; height: 20px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-feature { display: grid; gap: 10px; }
.mega-card { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 12px; border: 1.5px solid var(--line); transition: background .2s; }
.mega-card:hover { background: #fff; }
.mega-card img { width: 80px; height: 62px; object-fit: cover; border-radius: 8px; flex: none; }
.mega-card strong { display: block; font-family: var(--head); font-size: 1.05rem; line-height: 1.2; letter-spacing: -0.02em; }
.mega-card small { color: var(--muted); font-size: .8rem; line-height: 1.4; display: block; }
.mega-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; align-content: start; }
.mega-list a { display: block; padding: 8px 12px; border-radius: 8px; font-size: .92rem; }
.mega-list a:hover { background: #fff; color: var(--accent); }
.mega-title { font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding: 4px 12px 8px; }
.mega-rating { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1.5px dashed var(--line-soft); padding-top: 14px; font-size: .88rem; flex-wrap: wrap; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 19px 36px; font-size: clamp(.82rem, .95vw, 1rem); min-width: min(456px, 28vw); }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--bg); align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }
.mobile-menu { display: none; }
@media (max-width: 1180px) {
  .nav-links, .nav-cta .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav { height: 72px; }
  .brand { font-size: 1.25rem; gap: 12px; } .brand-mark { width: 44px; height: 44px; font-size: 1.5rem; }
  .mobile-menu { display: block; position: fixed; inset: 72px 0 0 0; background: var(--bg); padding: 20px; overflow-y: auto; transform: translateX(100%); transition: transform .25s; z-index: 49; border-top: 1.5px solid var(--line); }
  .menu-open .mobile-menu { transform: none; }
  .mobile-menu a { display: flex; align-items: center; gap: 12px; padding: 15px 4px; font-size: 1.1rem; border-bottom: 1.5px dashed var(--line-soft); }
  .mobile-menu > a::before { content: ""; width: 9px; height: 9px; border: 2.5px solid var(--ink); border-radius: 50%; }
  .mobile-menu .sub a { font-size: .95rem; padding-left: 26px; color: var(--muted); }
  .mobile-menu .btn { display: flex; margin-top: 24px; border: 0; color: #fff; justify-content: center; }
}

/* stars & rating line */
.stars { color: var(--accent); letter-spacing: 3px; font-size: 1.1rem; white-space: nowrap; }
.rating-line { display: inline-flex; align-items: center; justify-content: center; gap: 8px 12px; flex-wrap: wrap; font-size: clamp(.92rem, 1.15vw, 1.15rem); }
.rating-line a { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.rating-line .dot { opacity: .7; }

/* ===== HERO (dark) ===== */
.hero { background: var(--dark); color: #fff; position: relative; overflow: hidden; padding: clamp(56px, 7vw, 86px) 0 0; text-align: center; }
.hero .deco { position: absolute; pointer-events: none; }
.hero .sq { width: 12px; height: 12px; border-radius: 2px; }
.hero .pill { display: inline-flex; align-items: center; gap: 16px; border: 1.5px solid rgba(255,255,255,.35); border-radius: 999px; padding: 22px 34px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; font-size: clamp(.72rem, 1.05vw, 1.05rem); margin-bottom: clamp(28px, 4vw, 52px); }
.hero .pill::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 5.9rem); line-height: 1.02; max-width: 1180px; margin: 0 auto .35em; }
.hero h1 .accent { color: var(--accent); }
.hero h1 .outline { color: transparent; -webkit-text-stroke: 3px #fff; display: block; }
.hero .lead { color: rgba(255,255,255,.86); max-width: 1060px; margin: 0 auto 40px; font-size: clamp(1rem, 1.45vw, 1.45rem); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 22px; }
.hero .rating-line { color: rgba(255,255,255,.86); margin-top: 34px; }
.hero .rating-line a { color: #fff; font-weight: 700; }
.stat-chips { display: flex; gap: 12px; }
.stat-chips { flex-wrap: wrap; justify-content: center; }
.stat-chip { min-width: 102px; padding: 0 16px; height: 130px; border: 1.5px solid rgba(255,255,255,.12); border-radius: 8px; background: #19191C; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.stat-chip:last-child { border-color: var(--accent); }
.stat-chip b { font-family: var(--head); font-size: 2.6rem; letter-spacing: -0.04em; line-height: 1; }
.stat-chip small { color: rgba(255,255,255,.55); letter-spacing: .2em; font-size: .7rem; margin-top: 10px; text-transform: uppercase; text-align: center; padding: 0 4px; }
.phones { display: flex; justify-content: center; align-items: flex-end; gap: clamp(10px, 2.6vw, 44px); margin-top: clamp(48px, 6vw, 80px); height: clamp(220px, 24vw, 400px); overflow: hidden; padding: 0 var(--pad); }
.phone { width: clamp(120px, 13.5vw, 256px); flex: none; aspect-ratio: 9 / 18; border-radius: clamp(18px, 2vw, 34px); background: #fff; padding: 7px; border: 6px solid #2A2A2E; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); overflow: hidden; transform: translateY(var(--y, 0)) rotate(var(--r, 0deg)); align-self: flex-start; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: clamp(10px, 1.4vw, 24px); }
.phone.mid { border-color: var(--accent); }
@media (max-width: 760px) {
  .phone:nth-child(1), .phone:nth-child(5) { display: none; }
  .hero .deco { display: none; }
  .hero .pill { padding: 14px 20px; letter-spacing: .14em; }
}

/* ===== quote ===== */
.big-quote { text-align: center; max-width: 1100px; margin: 0 auto; }
.big-quote blockquote { font-family: var(--head); font-weight: 700; font-size: clamp(1.7rem, 3.1vw, 3rem); line-height: 1.15; letter-spacing: -0.025em; margin: 26px 0 40px; }
.who-line { display: inline-flex; align-items: center; gap: 22px; text-align: left; }
.avatar-play { position: relative; width: 108px; height: 108px; flex: none; }
.avatar-play img, .avatar-play .ph { width: 108px; height: 108px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--line); }
.avatar-play .ph { display: grid; place-items: center; background: var(--accent); color: #fff; font-family: var(--head); font-weight: 800; font-size: 2rem; }
.avatar-play .play { position: absolute; right: -10px; bottom: -6px; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; border: 0; font-size: 1rem; }
.who-line .n { font-size: 1.4rem; display: block; }
.who-line .r { font-size: 1.2rem; display: block; margin-top: 10px; }

/* ===== logo grid ===== */
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.logo-cell { border: 1.5px solid var(--line); border-radius: 10px; height: clamp(110px, 8.8vw, 168px); display: grid; place-items: center; padding: 16px; text-align: center; }
.logo-cell img { max-height: 64px; max-width: 80%; object-fit: contain; filter: grayscale(1) contrast(1.2); }
.logo-cell .nm { font-family: var(--head); font-weight: 800; font-size: clamp(1rem, 1.5vw, 1.55rem); letter-spacing: -0.03em; line-height: 1.05; }
.logo-cell.more { border: 0; font-size: 1.15rem; line-height: 1.6; }
.logo-cell.more a { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 1100px) { .logo-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (max-width: 560px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== problem cards ===== */
.grid { display: grid; gap: 30px; }
.grid > * { min-width: 0; }
.fcard .illo .tool-rows { width: 100%; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }
.pcard { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 36px; background: var(--bg); }
.pcard .illo { height: clamp(220px, 18vw, 340px); display: grid; place-items: center; margin-bottom: 40px; padding: 18px; }
.pcard .illo svg { width: 100%; height: 100%; }
.pcard h3 { font-size: clamp(1.5rem, 2vw, 2.15rem); }
.pcard p { font-size: clamp(.95rem, 1.1vw, 1.18rem); margin: 0; }

/* ===== method diagram ===== */
.method-panel { border: 1.5px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4.6vw, 88px) clamp(20px, 4vw, 80px) clamp(28px, 3.6vw, 60px); }
.flow { display: grid; grid-template-columns: minmax(0, 1.15fr) 120px minmax(150px, .55fr) 90px minmax(0, .55fr) 50px minmax(0, .75fr); align-items: center; }
.flow-inputs { display: grid; gap: 26px; position: relative; }
.fbox { border: 1.5px solid var(--line); border-radius: 12px; padding: 24px 32px; background: var(--bg); position: relative; }
.fbox .n { color: var(--accent); font-weight: 600; margin-right: 18px; font-size: 1rem; }
.fbox h3 { display: inline; font-size: clamp(1.25rem, 1.8vw, 1.9rem); }
.fbox p { margin: 14px 0 0; font-size: clamp(.9rem, 1.05vw, 1.15rem); line-height: 1.6; }
.flow-inputs .fbox::after { content: ""; position: absolute; right: -7px; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); transform: translateY(-50%); }
.connector { height: 100%; position: relative; }
.connector svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.core { position: relative; display: grid; place-items: center; text-align: center; }
.core .ring { width: clamp(130px, 10vw, 176px); aspect-ratio: 1; border-radius: 50%; border: 1.5px solid var(--line); background: radial-gradient(circle, #fff 30%, var(--bg) 72%); display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: clamp(1.6rem, 2.2vw, 2.4rem); position: relative; z-index: 1; }
.core::before { content: ""; position: absolute; width: 150%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 65%); }
.core::after { content: ""; position: absolute; width: 140%; aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--accent) 40%, transparent); }
.core small, .flow-node small { display: block; margin-top: 14px; color: var(--muted); font-size: clamp(.82rem, 1vw, 1.1rem); position: relative; z-index: 1; }
.arrow-line { height: 2px; background: var(--ink); position: relative; margin: 0 6px; }
.arrow-line::after { content: ""; position: absolute; right: -2px; top: 50%; transform: translateY(-50%); border-left: 14px solid var(--ink); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.arrow-line::before { content: ""; position: absolute; left: -6px; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); transform: translateY(-50%); }
.flow-node { text-align: center; }
.flow-node .ibox { width: clamp(110px, 8.4vw, 156px); aspect-ratio: 1; border: 1.5px solid var(--line); border-radius: 12px; display: grid; place-items: center; margin: 0 auto; background: var(--bg); }
.flow-node .ibox svg { width: 52%; }
.flow-node h4 { font-size: clamp(1.1rem, 1.5vw, 1.7rem); margin: 16px 0 0; letter-spacing: -0.03em; }
.flow-node small { margin-top: 4px; }
.fbox.result h3 { display: block; font-size: clamp(1.3rem, 1.8vw, 1.95rem); }
.loop { margin-top: clamp(32px, 4vw, 56px); position: relative; text-align: center; }
.loop::before { content: ""; position: absolute; left: 4%; right: 8%; top: 50%; border-top: 2px dashed var(--ink); }
.loop .pillbox { position: relative; display: inline-flex; align-items: center; gap: 30px; border: 1.5px solid var(--line); border-radius: 999px; padding: 12px 30px; background: var(--bg); font-size: clamp(.82rem, 1.05vw, 1.12rem); flex-wrap: wrap; justify-content: center; }
.loop .pillbox b { color: var(--accent); letter-spacing: .1em; text-transform: uppercase; }
.loop .pillbox span { color: var(--muted); }
@media (max-width: 1100px) {
  .flow { grid-template-columns: 1fr; gap: 22px; justify-items: center; }
  .flow-inputs { width: 100%; }
  .flow-inputs .fbox::after { display: none; }
  .connector { height: 40px; width: 2px; background: var(--ink); }
  .connector svg { display: none; }
  .arrow-line { width: 2px; height: 36px; margin: 0; }
  .arrow-line::after { right: auto; left: 50%; top: auto; bottom: -4px; transform: translateX(-50%); border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 14px solid var(--ink); border-bottom: 0; }
  .arrow-line::before { display: none; }
  .fbox.result { width: 100%; }
  .loop::before { display: none; }
}

/* ===== stats box ===== */
.stats-box { border: 1.5px solid var(--line); border-radius: 18px; display: grid; grid-template-columns: repeat(4, 1fr); padding: clamp(28px, 3vw, 46px) clamp(12px, 2vw, 40px); max-width: 1410px; margin: 0 auto; }
.stat { text-align: center; position: relative; padding: 0 10px; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 25%; height: 45%; border-left: 1.5px solid var(--line-soft); }
.stat .v { font-family: var(--head); font-weight: 800; font-size: clamp(2.6rem, 4.6vw, 4.6rem); letter-spacing: -0.05em; line-height: 1; display: inline-flex; align-items: baseline; gap: 4px; }
.stat .v .star { color: var(--accent); font-size: .7em; }
.stat .l { display: block; margin-top: 18px; font-size: clamp(.9rem, 1.15vw, 1.2rem); }
.stat a.l { text-decoration: underline; text-underline-offset: 6px; }
@media (max-width: 760px) { .stats-box { grid-template-columns: repeat(2, 1fr); row-gap: 30px; } .stat:nth-child(3)::before { display: none; } }

/* ===== service big cards ===== */
.svc-card { border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--bg); display: flex; flex-direction: column; overflow: hidden; }
.svc-card .body { padding: clamp(28px, 3.6vw, 66px) clamp(24px, 3.6vw, 66px) clamp(28px, 3vw, 54px); flex: 1; display: flex; flex-direction: column; }
.svc-card .top { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.svc-card h3 { font-size: clamp(1.9rem, 3vw, 3.2rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; }
.svc-card .ico { font-size: 2.6rem; line-height: 1; flex: none; filter: grayscale(1); }
.svc-card .ico img { width: 52px; }
.svc-card .desc { font-size: clamp(1rem, 1.25vw, 1.32rem); line-height: 1.75; padding-bottom: 46px; border-bottom: 1.5px solid var(--line); margin: 24px 0 0; }
.inc-label { display: block; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 46px 0 24px; font-size: .95rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 40px; display: grid; gap: 18px; }
.checklist li { display: flex; gap: 18px; align-items: flex-start; font-size: clamp(.98rem, 1.25vw, 1.32rem); line-height: 1.5; }
.checklist li::before { content: ""; flex: none; width: 15px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); margin-top: .45em; }
.checklist li.hl { border: 1.5px solid var(--line); border-radius: 10px; padding: 16px 20px; margin: 0 -20px 4px; font-weight: 700; background: #fff; }
.svc-card .btn { align-self: flex-start; margin-top: auto; }
.mini-logos { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--line); }
.mini-logos > * { height: clamp(96px, 7vw, 132px); display: grid; place-items: center; border-right: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); padding: 10px; text-align: center; font-family: var(--head); font-weight: 800; font-size: clamp(.95rem, 1.3vw, 1.45rem); letter-spacing: -0.03em; line-height: 1.05; }
.mini-logos > *:nth-child(3n) { border-right: 0; }
.mini-logos > *:nth-last-child(-n+3) { border-bottom: 0; }
.mini-logos .trust { font-family: var(--mono); font-weight: 400; font-size: clamp(.9rem, 1.1vw, 1.2rem); letter-spacing: 0; text-align: left; place-items: center start; padding-left: 30px; line-height: 1.5; }
.mini-logos .trust b { font-weight: 700; }
.svc-mini { border: 1.5px solid var(--line); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; transition: background .2s; }
.svc-mini:hover { background: #fff; }
.svc-mini .tag { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.svc-mini h3 { font-size: clamp(1.3rem, 1.6vw, 1.7rem); }
.svc-mini p { font-size: .95rem; }
.svc-mini .link-arrow { margin-top: auto; padding-top: 8px; }

/* ===== feature cards (dashed illustration) ===== */
.fcard { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 36px; background: var(--bg); }
.fcard .illo { height: clamp(260px, 22vw, 400px); overflow: hidden; margin-bottom: 40px; position: relative; }
.fcard .illo img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; filter: grayscale(1) contrast(1.05); }
.fcard .kicker { font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 1.05rem; display: block; margin-bottom: 8px; }
.fcard h3 { font-size: clamp(1.8rem, 2.8vw, 3rem); letter-spacing: -0.05em; font-weight: 800; }
.fcard p { font-size: clamp(.98rem, 1.2vw, 1.25rem); line-height: 1.75; margin: 0; }
.tool-rows { display: grid; gap: 22px; padding: 40px 0; overflow: hidden; height: 100%; align-content: center; }
.tool-row { display: flex; gap: 14px; width: max-content; animation: marquee 30s linear infinite; }
.tool-row.rev { animation-direction: reverse; }
.tool { width: 108px; height: 108px; border: 1.5px solid var(--line); border-radius: 18px; display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; text-align: center; padding: 8px; line-height: 1.1; background: var(--bg); }

/* ===== timeline steps ===== */
.timeline-panel { border: 1.5px solid var(--line); border-radius: var(--radius); padding: clamp(36px, 4vw, 64px) clamp(20px, 6vw, 120px); max-width: 1340px; margin: 0 auto; }
.tl { position: relative; max-width: 900px; margin: 0 auto; }
.tl::before { content: ""; position: absolute; left: 37px; top: 30px; bottom: 60px; width: 3px; background: var(--line-soft); }
.tl::after { content: ""; position: absolute; left: 37px; top: 30px; height: 24%; width: 3px; background: var(--accent); }
.tl-step { display: grid; grid-template-columns: 76px 1fr; gap: clamp(24px, 4vw, 58px); padding: 0 0 clamp(48px, 6vw, 110px); position: relative; z-index: 1; }
.tl-step:last-child { padding-bottom: 0; }
.tl-step .n { width: 76px; height: 76px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-weight: 700; font-size: 1.6rem; background: var(--bg); }
.tl-step:first-child .n, .tl-step:last-child .n { background: var(--accent); color: #fff; border-color: var(--accent); }
.tl-step h3 { font-size: clamp(1.4rem, 2vw, 2.15rem); margin: 6px 0 14px; }
.tl-step p { font-size: clamp(.98rem, 1.2vw, 1.25rem); line-height: 1.75; margin: 0; max-width: 720px; }
@media (max-width: 600px) { .tl::before, .tl::after { left: 25px; } .tl-step { grid-template-columns: 52px 1fr; } .tl-step .n { width: 52px; height: 52px; font-size: 1.1rem; } }

/* ===== results list ===== */
.results { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 30px 36px; background: linear-gradient(#fff, var(--bg) 18%, var(--bg) 82%, #fff); }
.res-row { display: grid; grid-template-columns: 90px minmax(0, 2.4fr) minmax(0, 1fr) minmax(0, 1.2fr) 40px; gap: 36px; align-items: center; padding: 30px 0; }
.res-row + .res-row { border-top: 1px solid transparent; }
.res-row:first-child, .res-row:last-child { opacity: .45; }
.res-row:hover { opacity: 1; }
.res-row img { width: 90px; height: 90px; border-radius: 12px; object-fit: cover; }
.res-row .client { font-family: var(--head); font-weight: 700; color: var(--muted); font-size: 1.15rem; letter-spacing: -0.02em; display: block; }
.res-row .title { font-family: var(--head); font-weight: 700; font-size: clamp(1.15rem, 1.7vw, 1.8rem); letter-spacing: -0.03em; line-height: 1.15; }
.res-row .cat { color: var(--muted); letter-spacing: .14em; font-size: .98rem; }
.res-row .met { text-align: right; }
.res-row .met b { display: block; font-family: var(--mono); font-weight: 700; font-size: clamp(1.8rem, 2.6vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.1; }
.res-row .met small { color: var(--muted); font-size: 1rem; line-height: 1.35; display: block; }
.res-row .go { color: var(--accent); font-size: 1.6rem; text-align: right; transition: transform .2s; }
.res-row:hover .go { transform: translateX(4px); }
@media (max-width: 900px) {
  .results { padding: 10px 18px; }
  .res-row { grid-template-columns: 64px 1fr; gap: 6px 18px; padding: 22px 0; }
  .res-row img { width: 64px; height: 64px; grid-row: span 3; }
  .res-row .cat, .res-row .go { display: none; }
  .res-row .met { text-align: left; }
}

/* ===== case cards (work page) ===== */
.case-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--line); background: var(--bg); transition: background .2s; }
.case-card:hover { background: #fff; }
.case-card .media { aspect-ratio: 4 / 3; overflow: hidden; position: relative; border-bottom: 1.5px solid var(--line); }
.case-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.case-card:hover .media img { transform: scale(1.04); }
.case-card .tag { position: absolute; left: 14px; top: 14px; background: var(--bg); border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; }
.case-card .body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.case-card .client { font-family: var(--head); font-weight: 700; color: var(--muted); font-size: 1.05rem; margin-bottom: 6px; }
.case-card h3 { font-size: 1.35rem; line-height: 1.2; }
.case-card .metric { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1.5px dashed var(--line-soft); }
.case-card .metric b { font-family: var(--mono); font-size: 2rem; letter-spacing: -0.03em; line-height: 1; }
.case-card .metric small { color: var(--muted); display: block; margin-top: 6px; }
.case-card .go { color: var(--accent); font-size: 1.5rem; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.chip { border: 1.5px solid var(--line); background: transparent; border-radius: 999px; padding: 10px 20px; font-family: var(--mono); font-size: .92rem; color: var(--ink); }
.chip:hover { background: #fff; }
.chip.active { background: var(--ink); color: #fff; }
.chip .c { opacity: .6; margin-left: 4px; }

/* ===== testimonials ===== */
.t-card { border: 1.5px solid var(--line); border-radius: 12px; padding: 32px 34px; display: flex; flex-direction: column; gap: 20px; break-inside: avoid; margin-bottom: 24px; background: var(--bg); }
.t-card blockquote { margin: 0; font-size: 1.08rem; line-height: 1.7; }
.t-card .who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.t-card .who img, .t-card .who .ph { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; flex: none; }
.t-card .who .ph { background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; }
.t-card .who strong { display: block; font-weight: 600; font-size: 1.08rem; line-height: 1.3; }
.t-card .who small { color: var(--muted); }
.t-card .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.t-card .cat { font-size: .76rem; border: 1.5px solid var(--line-soft); padding: 3px 10px; border-radius: 999px; color: var(--muted); text-transform: lowercase; }
.t-media { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--dark); cursor: pointer; border: 1.5px solid var(--line); }
.t-media img, .t-media video { width: 100%; height: 100%; object-fit: cover; }
.play-btn { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #fff; border: 0; display: grid; place-items: center; font-size: 1.1rem; z-index: 2; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 36px; width: max-content; animation: marquee 80s linear infinite; align-items: stretch; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.t-marquee .marquee-track { align-items: flex-start; }
.t-marquee .t-card { width: 560px; margin: 0; }
@media (max-width: 640px) { .t-marquee .t-card { width: 300px; padding: 24px; } }
.masonry { columns: 3 340px; column-gap: 24px; }
.empty-state { text-align: center; padding: 56px 24px; border: 1.5px dashed var(--ink); border-radius: 18px; color: var(--muted); }

/* ===== founder / about panel ===== */
.founded { border: 1.5px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 3.6vw, 60px); display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 110px); align-items: center; }
.founded .txt { font-size: clamp(1rem, 1.25vw, 1.3rem); line-height: 1.8; }
.halftone { border: 1.5px solid var(--line); border-radius: 22px; overflow: hidden; aspect-ratio: 1 / 1; background: #eee; }
.halftone img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.35) brightness(1.05); }
.quote-box { border: 1.5px solid var(--line); border-radius: 18px; padding: 28px 34px; display: grid; grid-template-columns: 30px 1fr; gap: 22px; margin-top: 16px; font-size: clamp(.95rem, 1.15vw, 1.2rem); line-height: 1.75; }
.quote-box .qm { width: 28px; height: 22px; border-left: 10px solid var(--accent); border-right: 10px solid var(--accent); margin-top: 6px; }
.quote-box b { font-weight: 700; }
@media (max-width: 900px) { .founded { grid-template-columns: 1fr; } }

/* team */
.team-card .photo { aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; border: 1.5px solid var(--line); margin-bottom: 18px; background: #eee; }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); transition: filter .4s; }
.team-card:hover .photo img { filter: none; }
.team-card h3 { font-size: 1.5rem; margin-bottom: 4px; }
.team-card .role { color: var(--accent); font-weight: 600; font-size: .95rem; }
.team-card p { font-size: .95rem; color: var(--muted); margin: 10px 0 0; }
.team-card .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.pill { font-size: .78rem; border: 1.5px solid var(--line); padding: 3px 11px; border-radius: 999px; }

/* ===== FAQ ===== */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.25fr; gap: clamp(28px, 5vw, 120px); }
.faq-wrap .side { display: flex; flex-direction: column; }
.faq-wrap .side h2 { font-size: clamp(2.6rem, 5.2vw, 5.6rem); line-height: 1.04; }
.faq-wrap .side .more { margin-top: auto; padding-top: 40px; font-size: 1.25rem; line-height: 2; }
.faq-wrap .side .more a { font-weight: 600; }
.faq { display: grid; gap: 24px; }
.faq details { border: 1.5px solid var(--line); border-radius: 18px; background: var(--bg); }
.faq summary { list-style: none; cursor: pointer; padding: 44px 48px; font-family: var(--mono); font-weight: 700; font-size: clamp(1rem, 1.3vw, 1.35rem); display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--accent); font-size: 2.1rem; font-weight: 300; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 48px 40px; font-size: clamp(.98rem, 1.15vw, 1.2rem); line-height: 1.75; max-width: 900px; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } .faq summary { padding: 26px 24px; } .faq .ans { padding: 0 24px 26px; } }

/* ===== CTA panel ===== */
.cta-panel { border: 1.5px solid var(--line); border-radius: var(--radius); padding: clamp(48px, 5vw, 70px) clamp(20px, 5vw, 80px); text-align: center; }
.cta-panel h2 { font-size: clamp(2.3rem, 5.2vw, 5.4rem); max-width: 1100px; margin: 0 auto .45em; line-height: 1.02; }
.cta-panel p { font-size: clamp(1rem, 1.35vw, 1.4rem); max-width: 1160px; margin: 0 auto 40px; line-height: 1.75; }
.cta-panel .btn { min-width: min(456px, 100%); }
.cta-panel .rating-line { margin-top: 40px; }

/* ===== page hero (inner pages) ===== */
.page-hero { padding: clamp(64px, 8vw, 130px) 0 clamp(40px, 5vw, 80px); text-align: center; }
.page-hero h1 { max-width: 1240px; margin-left: auto; margin-right: auto; }
.page-hero .lead { margin-bottom: 36px; }
.page-hero.dark { background: var(--dark); color: #fff; }
.page-hero.dark .lead { color: rgba(255,255,255,.82); }

/* contact */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1100px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card { border: 1.5px solid var(--line); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.contact-card .k { font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.contact-card .v { font-family: var(--head); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; word-break: break-word; line-height: 1.2; }
.contact-card a.v:hover { color: var(--accent); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 100px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* forms */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 8px; font-weight: 600; font-size: .92rem; }
.form input, .form textarea, .form select { width: 100%; padding: 16px 18px; border-radius: 10px; border: 1.5px solid var(--line); font: inherit; font-family: var(--mono); font-size: 1rem; background: #fff; color: var(--ink); }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.form textarea { min-height: 150px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form-msg { padding: 12px 16px; border-radius: 10px; font-weight: 600; display: none; }
.form-msg.ok { display: block; background: #E5F5EA; color: #11663a; }
.form-msg.err { display: block; background: #FCE8E8; color: #9b1c1c; }
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { display: none; }
.star-input label { font-size: 2.2rem; color: #D2D0CA; cursor: pointer; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--accent); }
.form-card { border: 1.5px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }

/* reviews summary */
.review-summary { display: inline-flex; align-items: center; gap: 24px; border: 1.5px solid var(--line); border-radius: 18px; padding: 20px 30px; flex-wrap: wrap; justify-content: center; }
.review-summary .score { font-family: var(--head); font-size: 3.6rem; font-weight: 800; line-height: 1; letter-spacing: -0.05em; }
.badges-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.badge { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .86rem; }
.badge::before { content: "★"; color: var(--accent); }

/* ===== footer ===== */
.site-footer { border-top: 1.5px solid var(--line); margin-top: clamp(40px, 6vw, 100px); }
.foot-main { display: grid; grid-template-columns: minmax(280px, 532px) 1fr; }
.foot-left { border-right: 1.5px solid var(--line); padding: clamp(40px, 4vw, 74px) clamp(20px, 3.8vw, 72px); }
.foot-left h3 { font-size: clamp(2rem, 2.7vw, 3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }
.foot-left p { font-size: 1.15rem; line-height: 1.5; }
.foot-left form { display: grid; gap: 12px; margin: 28px 0; }
.foot-left input { width: 100%; padding: 26px 24px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-family: var(--mono); font-size: 1.1rem; }
.foot-left .btn { width: 100%; padding: 22px; font-size: 1.2rem; }
.socials { display: flex; gap: 12px; flex-wrap: wrap; }
.socials a { width: 60px; height: 60px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; color: #fff; transition: background .2s; }
.socials a:hover { background: var(--accent); }
.socials svg { width: 26px; height: 26px; fill: currentColor; }
.hq { margin-top: clamp(40px, 8vw, 220px); }
.hq .k { font-size: .95rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 10px; }
.hq p { color: var(--muted); font-size: 1.15rem; }
.foot-right { padding: clamp(40px, 4vw, 74px) clamp(20px, 3.8vw, 72px); }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.foot-cols h4 { font-family: var(--mono); font-weight: 700; letter-spacing: 0; font-size: 1.3rem; margin-bottom: 26px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 1.15rem; }
.foot-cols a:hover { color: var(--accent); }
.foot-cols .tagnew { background: var(--accent); color: #fff; font-size: .78rem; padding: 3px 10px; border-radius: 999px; margin-left: 6px; }
.foot-sub { font-family: var(--mono); font-weight: 700; font-size: 1.3rem; margin: clamp(48px, 5vw, 90px) 0 30px; }
.partner-row { display: flex; gap: 22px 52px; flex-wrap: wrap; align-items: center; }
.plogo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: clamp(1.15rem, 1.5vw, 1.5rem); letter-spacing: -0.03em; color: var(--ink); }
.plogo svg { height: 30px; width: auto; flex: none; }
.plogo img { height: 38px; width: auto; max-width: 190px; object-fit: contain; }
.ribbons { display: flex; gap: 18px; flex-wrap: wrap; }
.ribbon { width: 126px; height: 178px; flex: none; filter: drop-shadow(0 10px 16px color-mix(in srgb, var(--accent) 30%, transparent)); }
.ribbon-in { height: 100%; display: flex; flex-direction: column; border-radius: 5px 5px 0 0; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 87%, 0 100%); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 9%, #fff) 0%, color-mix(in srgb, var(--accent) 22%, #fff) 100%); }
.ribbon .t { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 82%, #fff), var(--accent)); color: #fff; font-family: var(--mono); font-weight: 700; font-size: .66rem; line-height: 1.3; letter-spacing: .01em; text-align: center; padding: 10px 8px; min-height: 52px; display: grid; place-items: center; }
.ribbon .i { flex: 1; display: grid; place-items: center; padding: 6px 12px 26px; }
.ribbon .i svg { width: 100%; height: auto; }
.ribbon .i img { max-width: 86%; max-height: 74px; object-fit: contain; }
.foot-bottom { border-top: 1.5px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px clamp(20px, 3.8vw, 72px); font-size: 1.15rem; }
@media (max-width: 1100px) { .foot-main { grid-template-columns: 1fr; } .foot-left { border-right: 0; border-bottom: 1.5px solid var(--line); } .foot-cols { grid-template-columns: repeat(2, 1fr); } .hq { margin-top: 40px; } }
@media (max-width: 520px) { .foot-cols { grid-template-columns: 1fr; } .ribbons { gap: 12px; } .ribbon { width: 104px; height: 150px; } .ribbon .t { font-size: .58rem; min-height: 46px; } }

/* whatsapp widget */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 10px; }
.wa-float .bubble { background: #fff; border: 1.5px solid var(--line); padding: 10px 14px; border-radius: 12px; font-size: .82rem; font-weight: 600; line-height: 1.35; }
.wa-float .bubble small { display: block; color: var(--muted); font-weight: 400; }
.wa-float a.wa { width: 60px; height: 60px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(37,211,102,.7); transition: transform .2s; }
.wa-float a.wa:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
@media (max-width: 640px) { .wa-float .bubble { display: none; } }

/* modal */
.modal { position: fixed; inset: 0; background: rgba(8,8,10,.86); z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-inner { width: min(960px, 100%); position: relative; }
.modal-inner .frame { aspect-ratio: 16 / 9; background: #000; border-radius: 16px; overflow: hidden; }
.modal-inner iframe, .modal-inner video { width: 100%; height: 100%; border: 0; }
.modal-close { position: absolute; right: 0; top: -50px; background: #fff; border: 0; width: 40px; height: 40px; border-radius: 50%; font-size: 1.2rem; }

/* prose */
.prose { max-width: 820px; margin: 0 auto; font-size: 1.1rem; line-height: 1.85; }
.prose h2 { font-size: 2.2rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose img { border-radius: 16px; margin: 1.6em 0; border: 1.5px solid var(--line); }
.prose a { color: var(--accent); text-decoration: underline; }
.prose ul { padding-left: 1.2em; }

/* blog cards */
.post-card { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; border: 1.5px solid var(--line); transition: background .2s; }
.post-card:hover { background: #fff; }
.post-card .media { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1.5px solid var(--line); }
.post-card .media img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 24px; }
.post-card .meta { font-size: .82rem; color: var(--muted); margin-bottom: 8px; letter-spacing: .06em; }
.post-card h3 { font-size: 1.4rem; }

/* case detail */
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 40px auto; border: 1.5px solid var(--line); border-radius: 18px; max-width: 1000px; }
.metric-box { padding: 30px 16px; text-align: center; }
.metric-box + .metric-box { border-left: 1.5px solid var(--line-soft); }
.metric-box b { display: block; font-family: var(--head); font-weight: 800; font-size: clamp(2.2rem, 3.4vw, 3.4rem); color: var(--accent); letter-spacing: -0.04em; line-height: 1.1; }
@media (max-width: 640px) { .metric-row { grid-template-columns: 1fr; } .metric-box + .metric-box { border-left: 0; border-top: 1.5px solid var(--line-soft); } }
.media-frame { border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .tool-row { animation: none; }
}
