/* ==========================================================================
   SURENDER — Portfolio stylesheet
   Dark charcoal + warm off-white, editorial type, one accent.
   Edit the design tokens in :root to re-theme the whole site.
   ========================================================================== */

/* ---------- Fonts (self-hosted, no third-party requests) ---------- */
@font-face { font-family: "Inter Tight"; src: url("../fonts/inter-tight-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --ink: #0d0d0f;
  --char: #141417;
  --char-2: #1b1b1f;
  --char-3: #232328;
  --paper: #f3f0ea;
  --paper-2: #e9e5dc;
  --white: #fffdf9;

  --text-d: #eeebe5;          /* text on dark */
  --muted-d: #a19d95;
  --line-d: rgba(255, 255, 255, .09);
  --text-l: #131315;          /* text on light */
  --muted-l: #5c5953;
  --line-l: rgba(19, 19, 21, .12);

  --accent: #ff5a1f;
  --accent-2: #ff7a45;
  --accent-ink: #1a0a03;
  --accent-strong: #d4420b;   /* accent on light backgrounds (AA contrast) */
  --wa: #25d366;
  --wa-ink: #052e16;
  --ok: #3ddc84;
  --err: #ff6b6b;

  --f-sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(5.5rem, 10vw, 9rem);
  --curve: clamp(1.5rem, 3vw, 2.75rem);
  --radius: 20px;
  --radius-sm: 12px;
  --header-h: 72px;

  --ease: cubic-bezier(.2, .7, .15, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--f-sans); font-size: 1.0625rem; line-height: 1.65; color: var(--text-d); background: var(--ink); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }

.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: .7rem 1rem; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 1rem; }

.icon { width: 1.15em; height: 1.15em; flex: none; }
.flip { transform: scaleX(-1); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Section skins ---------- */
section { position: relative; }
.section--dark { background: var(--char); color: var(--text-d); }
.section--light { background: var(--paper); color: var(--text-l); }
.curve { margin-top: calc(var(--curve) * -1); border-radius: var(--curve) var(--curve) 0 0; padding-block: var(--section-y) calc(var(--section-y) + var(--curve)); }

/* ---------- Typography ---------- */
.h2 { font-size: clamp(2.25rem, 5vw, 4.25rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 600; text-wrap: balance; }
.h2--xl { font-size: clamp(2.4rem, 4.6vw, 4.4rem); }
.h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); letter-spacing: -.025em; font-weight: 600; line-height: 1.2; }
.h2 em, .hero__title em, .contact-banner__title em, .site-footer__big em, .case-hero__title em {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--accent);
}
.section--light .h2 em { color: var(--accent-strong); }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; letter-spacing: -.01em; }
.label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-l); margin-bottom: .9rem; }
.label--light { color: var(--muted-d); }

.kicker { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-l); margin-bottom: 1.4rem; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 90, 31, .18); }
.kicker--light { color: var(--muted-d); }

.eyebrow { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .08em; color: var(--muted-d); margin-bottom: 1.4rem; display: flex; align-items: center; gap: .75rem; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }

.section-head { max-width: 760px; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.section-head__text { margin-top: 1.25rem; font-size: 1.125rem; color: var(--muted-l); max-width: 56ch; }
.section--dark .section-head__text { color: var(--muted-d); }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem 4rem; align-items: end; }
.section-head--split .section-head__text { margin-top: 0; justify-self: end; }

.text-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .95rem; border-bottom: 1px solid transparent; transition: border-color .25s, color .25s; }
.text-link:hover { border-color: currentColor; }
.text-link--accent { color: var(--accent-strong); }
.section--dark .text-link--accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn { --pad-y: .9rem; --pad-x: 1.45rem; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: var(--pad-y) var(--pad-x); border-radius: 999px; font-weight: 600; font-size: .975rem; letter-spacing: -.01em; line-height: 1.2; border: 1px solid transparent; white-space: nowrap; transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .35s var(--ease); isolation: isolate; }
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn:hover .icon[class*="arrow-up"] { transform: translate(2px, -2px); }
.btn:active { transform: scale(.98); }
.btn--sm { --pad-y: .62rem; --pad-x: 1.05rem; font-size: .9rem; }
.btn--lg { --pad-y: 1.08rem; --pad-x: 1.75rem; font-size: 1.03rem; }
.btn--block { width: 100%; }

.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--accent-2); box-shadow: 0 12px 34px -12px rgba(255, 90, 31, .7); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: #26262b; }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--white); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .22); color: var(--text-d); }
.btn--ghost-light:hover { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .04); }
.btn--ghost-dark { border-color: rgba(19, 19, 21, .25); color: var(--text-l); }
.btn--ghost-dark:hover { border-color: var(--text-l); }
.btn--wa { background: var(--wa); color: var(--wa-ink); }
.btn--wa:hover { background: #3be27a; box-shadow: 0 12px 30px -12px rgba(37, 211, 102, .6); }
.btn--wa .icon:first-child { transform: none !important; }

.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-d); color: var(--text-d); transition: background .25s, color .25s, border-color .25s; }
.icon-btn:hover { background: var(--wa); color: var(--wa-ink); border-color: var(--wa); }

/* ---------- Chips & tags ---------- */
.chip { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; padding: .4rem .7rem; border-radius: 999px; border: 1px solid var(--line-l); }
.chip--accent { --accent-p: var(--accent); border-color: color-mix(in srgb, var(--accent-p) 40%, transparent); background: color-mix(in srgb, var(--accent-p) 10%, transparent); }
.chip--accent::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-p); }
.section--dark .chip--accent { color: var(--text-d); }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li { font-size: .8rem; padding: .3rem .65rem; border-radius: 8px; background: rgba(19, 19, 21, .06); color: var(--muted-l); }
.section--dark .tags li { background: rgba(255, 255, 255, .06); color: var(--muted-d); }

/* ---------- Status badge ---------- */
.status { display: inline-flex; align-items: center; gap: .6rem; font-size: .875rem; font-weight: 500; padding: .45rem .9rem .45rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-d); color: var(--text-d); margin-bottom: 1.75rem; }
.status__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.status__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--ok); opacity: 0; animation: ping 2.4s var(--ease) infinite; }
.status--limited .status__dot, .status--limited .status__dot::after { background: #f5b83d; border-color: #f5b83d; }
.status--busy .status__dot { background: #8a8a8a; }
.status--busy .status__dot::after { display: none; }
@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 80%, 100% { transform: scale(1.8); opacity: 0; } }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); display: flex; align-items: center; transition: background-color .4s, border-color .4s, backdrop-filter .4s, transform .45s var(--ease); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(13, 13, 15, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line-d); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; color: var(--text-d); }
.brand__dot { color: var(--accent); }
.brand--lg { font-size: clamp(2rem, 4vw, 2.75rem); }

.nav__list { display: flex; gap: .25rem; padding: .35rem; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-d); }
.nav__link { display: block; padding: .5rem .95rem; border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--muted-d); transition: color .25s, background-color .25s; }
.nav__link:hover { color: var(--text-d); }
.nav__link.is-active { color: var(--text-d); background: rgba(255, 255, 255, .09); }

.site-header__actions { display: flex; align-items: center; gap: .75rem; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-d); position: relative; background: rgba(255, 255, 255, .03); }
.menu-toggle__bar { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--text-d); transition: transform .45s var(--ease), top .45s var(--ease); }
.menu-toggle__bar:first-child { top: 19px; }
.menu-toggle__bar:last-child { top: 26px; }
.menu-open .menu-toggle__bar:first-child { top: 22.5px; transform: rotate(45deg); }
.menu-open .menu-toggle__bar:last-child { top: 22.5px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--ink); padding-top: calc(var(--header-h) + 1.5rem); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s var(--ease-in-out), visibility 0s linear .7s; overflow-y: auto; }
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-in-out), visibility 0s; }
.mobile-menu__inner { min-height: calc(100% - 1rem); display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; padding-bottom: 2rem; }
.mobile-menu__list li { overflow: hidden; border-bottom: 1px solid var(--line-d); }
.mobile-menu__link { display: flex; align-items: baseline; gap: 1rem; padding: .9rem 0; font-size: clamp(2rem, 9vw, 3rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; transform: translateY(105%); transition: transform .7s var(--ease), color .25s; transition-delay: calc(var(--i) * 55ms + 150ms); }
.mobile-menu__link:hover { color: var(--accent); }
.menu-open .mobile-menu__link { transform: none; }
.mobile-menu__num { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; color: var(--muted-d); }
.mobile-menu__foot { display: grid; gap: .75rem; opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .6s var(--ease); }
.menu-open .mobile-menu__foot { opacity: 1; transform: none; transition-delay: .5s; }
.mobile-menu__mail { text-align: center; color: var(--muted-d); font-size: .95rem; margin-top: .25rem; }
body.menu-open { overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { background: var(--ink); padding-top: calc(var(--header-h) + clamp(2rem, 5vh, 4rem)); padding-bottom: 2.5rem; overflow: hidden; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; }
.hero__grid-bg { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 35%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 35%, #000 10%, transparent 70%); }
.hero::after { content: ""; position: absolute; width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; right: -12vw; top: -14vw; border-radius: 50%; background: radial-gradient(circle, rgba(255, 90, 31, .16), transparent 62%); pointer-events: none; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.hero__title { font-size: clamp(2.45rem, 5.1vw, 5rem); line-height: .96; letter-spacing: -.05em; font-weight: 600; text-wrap: balance; }
.hero__title em { padding-right: .06em; }
.hero__intro { margin-top: 1.75rem; max-width: 54ch; font-size: clamp(1.08rem, 1.45vw, 1.25rem); color: var(--muted-d); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.25rem; }
.hero__wa { display: inline-flex; align-items: center; gap: .75rem; margin-top: 1.5rem; font-size: .95rem; color: var(--muted-d); transition: color .25s; }
.hero__wa strong { color: var(--text-d); font-weight: 600; }
.hero__wa:hover { color: var(--text-d); }
.hero__wa-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(37, 211, 102, .14); color: var(--wa); }

.hero__visual { position: relative; }
.editor { position: relative; border-radius: 18px; background: linear-gradient(180deg, #17171b, #111114); border: 1px solid var(--line-d); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .02) inset; overflow: hidden; transform: perspective(1400px) rotateY(-7deg) rotateX(3deg); transition: transform 1s var(--ease); }
.hero__visual:hover .editor { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.editor__bar { display: flex; align-items: center; gap: .5rem; padding: .7rem .9rem; border-bottom: 1px solid var(--line-d); background: rgba(255, 255, 255, .02); }
.editor__dots, .browser__dots { display: flex; gap: 6px; margin-right: .5rem; }
.editor__dots i, .browser__dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a40; }
.editor__dots i:first-child { background: #ff5f57; } .editor__dots i:nth-child(2) { background: #febc2e; } .editor__dots i:nth-child(3) { background: #28c840; }
.editor__tab { font-family: var(--f-mono); font-size: .72rem; color: var(--muted-d); padding: .3rem .65rem; border-radius: 6px; }
.editor__tab.is-active { background: rgba(255, 255, 255, .06); color: var(--text-d); }
.editor__code { margin: 0; padding: 1.25rem 1.25rem 1.5rem; font-family: var(--f-mono); font-size: clamp(.7rem, .95vw, .82rem); line-height: 1.75; color: #d7d4ce; counter-reset: ln; overflow: hidden; white-space: normal; }
.editor__code .ln { display: block; white-space: pre; }
.editor__code .ln::before { counter-increment: ln; content: counter(ln); display: inline-block; width: 1.9em; margin-right: 1em; text-align: right; color: #4a4a52; }
.js .editor__code .ln { opacity: 0; transform: translateX(-6px); animation: lineIn .5s var(--ease) forwards; animation-delay: calc(var(--n, 0) * 85ms + 500ms); }
@keyframes lineIn { to { opacity: 1; transform: none; } }
.t-tag { color: #ff7a59; } .t-com { color: #6f6d78; font-style: italic; } .t-fn { color: #7cc4ff; } .t-str { color: #c3e88d; } .t-kw { color: #ff9e64; } .t-var { color: #f4d27a; } .t-cls { color: #e5a6ff; }
.caret { display: inline-block; width: .55em; height: 1.1em; vertical-align: -.2em; background: var(--accent); animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero__float { position: absolute; display: flex; align-items: center; gap: .75rem; padding: .8rem 1rem; border-radius: 14px; background: rgba(28, 28, 32, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line-d); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); font-size: .85rem; animation: float 7s ease-in-out infinite; }
.hero__float small { display: block; color: var(--muted-d); font-size: .78rem; }
.hero__float strong { display: block; font-weight: 600; }
.hero__float--deploy { left: -2.5rem; bottom: -3.25rem; }
.hero__float--stack { right: -1rem; top: -1.4rem; gap: .9rem; animation-delay: -3s; padding: .75rem 1rem; }
.hero__float--stack .icon { width: 22px; height: 22px; color: var(--muted-d); }
.hero__float-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(61, 220, 132, .15); color: var(--ok); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero__facts { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem clamp(2rem, 5vw, 4.5rem); margin-top: clamp(3.5rem, 8vh, 6rem); padding-top: 1.75rem; border-top: 1px solid var(--line-d); }
.hero__facts li { display: flex; align-items: center; gap: .85rem; }
.hero__facts strong { font-size: 1.6rem; font-weight: 600; letter-spacing: -.03em; color: var(--text-d); }
.hero__facts span { font-size: .875rem; color: var(--muted-d); line-height: 1.35; max-width: 15ch; }
.hero__scroll { margin-left: auto; }
.hero__scroll a { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); }
.hero__scroll .icon { animation: nudge 2.2s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ==========================================================================
   About
   ========================================================================== */
.about__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.about__media { position: sticky; top: calc(var(--header-h) + 2rem); }
.portrait { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait__img { position: absolute; inset: 0; }
.portrait__img--real { opacity: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease-in-out), opacity .2s linear; }
.portrait--reveal { cursor: pointer; }
.portrait--reveal:hover .portrait__img--real, .portrait--reveal.is-revealed .portrait__img--real { opacity: 1; clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease-in-out), opacity .1s linear; }
.portrait--reveal .portrait__img:first-child { transition: transform 1.4s var(--ease), filter 1.1s; }
.portrait--reveal:hover .portrait__img:first-child, .portrait--reveal.is-revealed .portrait__img:first-child { transform: scale(1.04); filter: blur(2px); }
.portrait__hint--live { z-index: 2; background: rgba(13,13,15,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-style: solid; color: var(--text-d); }
.portrait__hint-real { display: none; color: var(--ok); }
.portrait--reveal:hover .portrait__hint-code, .portrait--reveal.is-revealed .portrait__hint-code { display: none; }
.portrait--reveal:hover .portrait__hint-real, .portrait--reveal.is-revealed .portrait__hint-real { display: inline; }
.portrait__tag { z-index: 2; }
@media (hover: none) { .portrait__hint-code { font-size: 0; } .portrait__hint-code::after { content: "</> Tap to compile"; font-size: .68rem; } }
.portrait__placeholder { position: absolute; inset: 0; display: grid; place-items: center; background:
  radial-gradient(circle at 30% 20%, rgba(255, 90, 31, .22), transparent 55%),
  repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 14px), var(--char); }
.portrait__mono { font-family: var(--f-serif); font-style: italic; font-size: clamp(9rem, 20vw, 15rem); line-height: 1; color: var(--accent); transform: translateY(-6%); }
.portrait__hint { position: absolute; top: 1.1rem; left: 1.1rem; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); border: 1px dashed rgba(255, 255, 255, .2); padding: .3rem .55rem; border-radius: 6px; }
.portrait__tag { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; padding: .9rem 1.1rem; border-radius: 14px; background: rgba(13, 13, 15, .72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--text-d); border: 1px solid var(--line-d); }
.portrait__tag strong { display: block; font-size: 1.05rem; }
.portrait__tag span { font-size: .82rem; color: var(--muted-d); }
.about__badge { position: absolute; right: -1.25rem; top: 2.5rem; display: flex; align-items: center; gap: .7rem; padding: 1rem 1.15rem; border-radius: 16px; background: var(--accent); color: var(--accent-ink); box-shadow: 0 24px 40px -24px rgba(255, 90, 31, .9); transform: rotate(3deg); }
.about__badge-num { font-size: 2.6rem; font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.about__badge-txt { font-size: .72rem; font-weight: 600; line-height: 1.2; text-transform: uppercase; letter-spacing: .06em; }
.about__copy .h2 { margin-bottom: 1.75rem; }
.about__copy .lead { margin-bottom: 1.4rem; color: var(--text-l); }
.about__copy p:not(.lead):not(.kicker) { color: var(--muted-l); margin-bottom: 1.1rem; max-width: 62ch; }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1.5rem; margin: 2rem 0 2.25rem; padding: 1.5rem 0; border-block: 1px solid var(--line-l); }
.checklist li { display: flex; gap: .65rem; align-items: flex-start; font-weight: 500; font-size: .98rem; line-height: 1.45; }
.checklist .icon { color: var(--accent-strong); margin-top: .12em; }
.checklist--stack { grid-template-columns: 1fr; border: 0; padding: 0; margin: 0 0 2.5rem; }
.about__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.25rem; }
.about__sig { font-family: var(--f-serif); font-style: italic; font-size: 1.6rem; color: var(--muted-l); margin-left: auto; }

/* ==========================================================================
   Services
   ========================================================================== */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; margin-top: 4rem; padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--radius); background: linear-gradient(120deg, rgba(37, 211, 102, .1), rgba(37, 211, 102, .02) 55%), var(--char-2); border: 1px solid rgba(37, 211, 102, .22); }
.cta-band__title { font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; margin-bottom: .3rem; }
.cta-band__text p:not(.cta-band__title) { color: var(--muted-d); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* Browser mockup */
.browser { --accent-p: var(--accent); border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 40px 80px -36px rgba(19, 19, 21, .45), 0 0 0 1px rgba(19, 19, 21, .08); transition: transform .8s var(--ease), box-shadow .8s var(--ease); }
.work-card:hover .browser { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 55px 90px -38px rgba(19, 19, 21, .55), 0 0 0 1px rgba(19, 19, 21, .1); }
.browser__bar { display: flex; align-items: center; gap: .75rem; padding: .65rem .85rem; background: #f1efe9; border-bottom: 1px solid rgba(19, 19, 21, .07); }
.browser__dots i { background: #d6d2c9; width: 9px; height: 9px; }
.browser__url { flex: 1; display: flex; align-items: center; justify-content: center; gap: .4rem; max-width: 280px; margin-inline: auto; padding: .28rem .75rem; border-radius: 7px; background: #fff; font-family: var(--f-mono); font-size: .68rem; color: #77736b; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser__url .icon { width: .9em; height: .9em; color: #3a9b5d; }
.browser__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fafafa; }
.browser__screen.has-shot { aspect-ratio: 2.2 / 1; background: #fff; }
.browser__shot { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: object-position 6s ease-in-out; }
.work-card:hover .browser__shot { object-position: bottom center; }

/* Placeholder website (replace with real screenshot) */
.ph { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 4%; padding: 0 0 5%; background: #fff; }
.ph i, .ph b, .ph span { display: block; }
.ph__top { display: flex; align-items: center; justify-content: space-between; padding: 3.2% 5%; background: var(--accent-p); color: #fff; }
.ph__logo { font-weight: 800; font-size: clamp(.7rem, 1.4vw, 1.05rem); letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }
.ph__nav { display: flex !important; gap: 8%; width: 32%; justify-content: flex-end; }
.ph__nav i { height: 5px; flex: 1; border-radius: 3px; background: rgba(255, 255, 255, .6); }
.ph__ticker { display: flex !important; align-items: center; gap: 3%; margin: 0 5%; padding: 1.6% 2%; border-radius: 4px; background: color-mix(in srgb, var(--accent-p) 9%, #fff); }
.ph__ticker b { font-family: var(--f-mono); font-size: clamp(.38rem, .7vw, .55rem); letter-spacing: .08em; color: #fff; background: #d62e2e; padding: .2em .5em; border-radius: 3px; }
.ph__ticker i { flex: 1; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--accent-p) 25%, #e7e4de); }
.ph__grid { display: grid !important; grid-template-columns: 1.6fr 1fr; gap: 4%; margin: 0 5%; flex: 1; min-height: 0; overflow: hidden; }
.ph__lead { display: flex !important; flex-direction: column; gap: 6%; min-height: 0; }
.ph__img { flex: 1; border-radius: 6px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent-p) 55%, #222), color-mix(in srgb, var(--accent-p) 20%, #fff)); }
.ph__lead i { height: 7px; border-radius: 4px; background: #2a2a2e; width: 90%; }
.ph__lead i.s { width: 60%; background: #cfcbc3; }
.ph__side { display: grid !important; gap: 8%; align-content: start; overflow: hidden; min-height: 0; }
.ph__side span { display: grid !important; grid-template-columns: 38% 1fr; gap: 8%; align-items: center; }
.ph__side b { aspect-ratio: 4 / 3; border-radius: 4px; background: color-mix(in srgb, var(--accent-p) 30%, #ece9e2); }
.ph__side i { height: 5px; border-radius: 3px; background: #cfcbc3; box-shadow: 0 9px 0 #e4e1da; }
.ph__row { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 3%; margin: 0 5%; height: 15%; }
.ph__row span { border-radius: 5px; background: color-mix(in srgb, var(--accent-p) 12%, #f0ede7); }
.ph--biz .ph__top { background: #fff; color: var(--accent-p); border-bottom: 1px solid #eee; }
.ph--biz .ph__nav i { background: #ddd8cf; }
.ph__hero { flex: 1; display: flex !important; flex-direction: column; justify-content: center; gap: 6%; padding: 0 8%; background: linear-gradient(120deg, color-mix(in srgb, var(--accent-p) 14%, #fff), #fff 70%); margin: -4% 0 0; }
.ph__hero i { height: 9px; border-radius: 5px; background: #2a2a2e; }
.ph__hero i.xl { width: 60%; height: 14px; } .ph__hero i.l { width: 46%; height: 14px; background: var(--accent-p); } .ph__hero i.m { width: 38%; height: 6px; background: #cfcbc3; }
.ph__btn { width: 18%; height: 18px; border-radius: 999px; background: var(--accent-p); margin-top: 2%; }
.ph--biz .ph__row { grid-template-columns: repeat(3, 1fr); height: 22%; }

/* Phone mockup */
.phone { position: absolute; right: -1.25rem; bottom: 0; width: 23%; min-width: 110px; aspect-ratio: 9 / 19.2; border-radius: 22px; padding: 5px; background: #111; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); transition: transform .8s var(--ease); }
.work-card:hover .phone { transform: translateY(-14px) rotate(-2deg); }
.phone__screen { width: 100%; height: 100%; border-radius: 18px; overflow: hidden; background: #fff; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Contact banner */
.contact-banner { position: relative; overflow: hidden; margin-top: clamp(5rem, 9vw, 7.5rem); padding: clamp(2.5rem, 6vw, 5rem); border-radius: calc(var(--radius) + 8px); background: var(--ink); color: var(--text-d); text-align: center; }
.contact-banner__glow { position: absolute; inset: auto -20% -60% -20%; height: 120%; background: radial-gradient(ellipse at center, rgba(255, 90, 31, .28), transparent 60%); pointer-events: none; }
.contact-banner__kicker { position: relative; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 1rem; }
.contact-banner__title { position: relative; font-size: clamp(2.1rem, 5.5vw, 4.5rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; }
.contact-banner__actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 2.25rem; }

.empty-note { padding: 2rem; border: 1px dashed var(--line-l); border-radius: var(--radius); color: var(--muted-l); }

/* ==========================================================================
   Skills
   ========================================================================== */
.tech-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); border-radius: var(--radius); overflow: hidden; }
.tech { position: relative; display: flex; flex-direction: column; gap: .35rem; padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--char); transition: background-color .4s; }
.tech:hover { background: var(--char-2); }
.tech__icon { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1.25rem; border-radius: 12px; background: rgba(255, 255, 255, .04); color: var(--muted-d); transition: color .4s, transform .5s var(--ease), background-color .4s; }
.tech__icon .icon { width: 1.6rem; height: 1.6rem; }
.tech:hover .tech__icon { transform: translateY(-3px); background: rgba(255, 255, 255, .07); }
.tech:hover .tech__icon--wordpress { color: #3b9fd8; } .tech:hover .tech__icon--php { color: #8892bf; }
.tech:hover .tech__icon--html5 { color: #e34f26; } .tech:hover .tech__icon--css3 { color: #7a5cff; }
.tech:hover .tech__icon--javascript { color: #f7df1e; } .tech:hover .tech__icon--mysql { color: #4c9bd0; }
.tech:hover .tech__icon--api { color: var(--accent); } .tech:hover .tech__icon--git { color: #f05032; }
.tech__name { font-size: 1.3rem; font-weight: 600; letter-spacing: -.025em; }
.tech__note { font-size: .9rem; color: var(--muted-d); }
/* ==========================================================================
   Why
   ========================================================================== */
/* Testimonials */
.testimonials__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.quote-card { padding: 2rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line-l); }
.quote-card__mark { width: 2rem; height: 2rem; color: var(--accent-strong); margin-bottom: 1rem; }
.quote-card blockquote p { font-size: 1.1rem; line-height: 1.6; }
.quote-card figcaption { margin-top: 1.25rem; display: grid; }
.quote-card figcaption span { color: var(--muted-l); font-size: .9rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq__intro .h2 { margin-bottom: 1.5rem; }
.faq__intro p:not(.kicker) { color: var(--muted-l); }
.faq-item { border-bottom: 1px solid var(--line-l); }
.faq-item:first-child { border-top: 1px solid var(--line-l); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; cursor: pointer; list-style: none; font-size: clamp(1.08rem, 1.6vw, 1.25rem); font-weight: 600; letter-spacing: -.02em; transition: color .25s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-strong); }
.faq-item__icon { display: grid; place-items: center; flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid var(--line-l); transition: transform .45s var(--ease), background-color .3s, color .3s; }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); background: var(--ink); color: var(--paper); border-color: var(--ink); }
.faq-item__body { padding: 0 3.5rem 1.6rem 0; color: var(--muted-l); }
.faq-item[open] .faq-item__body { animation: faqIn .5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--ink); overflow: hidden; }
.contact__glow { position: absolute; left: -15%; top: -10%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 90, 31, .12), transparent 60%); pointer-events: none; }
.contact__grid { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
.contact__grid { grid-template-areas: "intro form" "extras form"; grid-template-rows: auto 1fr; row-gap: 0; }
.contact__intro { grid-area: intro; }
.contact__extras { grid-area: extras; }
.form-card { grid-area: form; }
.contact__channels { display: grid; gap: .75rem; margin: 2.5rem 0; }
.channel { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.15rem; border-radius: 16px; border: 1px solid var(--line-d); background: rgba(255, 255, 255, .02); transition: border-color .3s, background-color .3s, transform .4s var(--ease); }
.channel:hover { border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .04); transform: translateX(4px); }
.channel small { display: block; color: var(--muted-d); font-size: .8rem; }
.channel strong { display: block; font-weight: 600; font-size: 1.05rem; word-break: break-all; }
.channel__icon { display: grid; place-items: center; flex: none; width: 2.8rem; height: 2.8rem; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.channel--wa .channel__icon { background: rgba(37, 211, 102, .14); color: var(--wa); }
.channel--wa:hover { border-color: rgba(37, 211, 102, .5); }
.channel__arrow { margin-left: auto; color: var(--muted-d); }
.next-steps { margin-bottom: 2rem; }
.next-steps ol { counter-reset: ns; display: grid; gap: .6rem; }
.next-steps li { counter-increment: ns; display: flex; gap: .85rem; color: var(--muted-d); font-size: .98rem; }
.next-steps li::before { content: counter(ns, decimal-leading-zero); font-family: var(--f-mono); font-size: .75rem; color: var(--accent); padding-top: .25rem; }

.form-card { padding: clamp(1.5rem, 3.5vw, 2.75rem); border-radius: calc(var(--radius) + 4px); background: linear-gradient(180deg, #19191d, #141417); border: 1px solid var(--line-d); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem 1.15rem; }
.field { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 500; color: var(--text-d); }
.req { color: var(--accent); }
.opt { color: var(--muted-d); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; padding: .9rem 1rem; border-radius: 12px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .12); color: var(--text-d); font-size: 1rem; transition: border-color .25s, background-color .25s, box-shadow .25s; -webkit-appearance: none; appearance: none; }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #6e6b65; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .22); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(255, 90, 31, .04); box-shadow: 0 0 0 4px rgba(255, 90, 31, .14); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(255, 107, 107, .16); }
.field.is-highlight select { border-color: var(--accent); }
.field__error { font-size: .82rem; color: var(--err); }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 1rem; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--muted-d); border-bottom: 1.5px solid var(--muted-d); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { padding-right: 2.5rem; cursor: pointer; }
.select option { background: var(--char); color: var(--text-d); }
.budget { display: flex; flex-wrap: wrap; gap: .5rem; }
.budget__opt { position: relative; cursor: pointer; }
.budget__opt input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.budget__opt span { display: block; padding: .55rem .95rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; color: var(--muted-d); transition: all .25s; }
.budget__opt:hover span { border-color: rgba(255, 255, 255, .3); color: var(--text-d); }
.budget__opt input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.budget__opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.form-note { font-size: .82rem; color: var(--muted-d); flex: 1; min-width: 200px; }
.form-note a { text-decoration: underline; text-underline-offset: 2px; }
.form-card__alt { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line-d); font-size: .92rem; color: var(--muted-d); text-align: center; }
.form-card__alt a { display: inline-flex; align-items: center; gap: .4rem; color: var(--wa); font-weight: 600; }
.form-status { margin-bottom: 1.5rem; padding: 1rem 1.15rem; border-radius: 12px; font-size: .95rem; line-height: 1.5; border: 1px solid; }
.form-status.is-success { background: rgba(61, 220, 132, .08); border-color: rgba(61, 220, 132, .35); color: #b6f5cf; }
.form-status.is-error { background: rgba(255, 107, 107, .08); border-color: rgba(255, 107, 107, .35); color: #ffc9c9; }
.btn--submit .btn__spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(26, 10, 3, .25); border-top-color: var(--accent-ink); animation: spin .7s linear infinite; }
.btn--submit.is-loading { pointer-events: none; opacity: .85; }
.btn--submit.is-loading .btn__spinner { display: block; }
.btn--submit.is-loading .btn__arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #09090b; color: var(--text-d); padding: clamp(4rem, 8vw, 6rem) 0 2rem; border-top: 1px solid var(--line-d); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.site-footer__role { font-weight: 500; margin-top: .4rem; }
.site-footer__tagline { color: var(--muted-d); margin-top: 1rem; max-width: 34ch; font-size: .96rem; }
.site-footer__title { font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 1.2rem; }
.site-footer__col ul { display: grid; gap: .65rem; }
.site-footer__col a, .site-footer__col span { color: #cfccc5; font-size: .95rem; transition: color .25s; display: inline-flex; align-items: center; gap: .55rem; word-break: break-word; }
.site-footer__col a:hover { color: var(--accent); }
.site-footer__contact { margin-bottom: 1.25rem; }
.socials { display: flex; gap: .55rem; margin-top: 1.5rem; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-d); color: var(--muted-d); transition: all .3s; }
.socials a:hover { color: var(--text-d); border-color: rgba(255, 255, 255, .4); transform: translateY(-2px); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.75rem; border-top: 1px solid var(--line-d); font-size: .85rem; color: var(--muted-d); }
.site-footer__bottom a:hover { color: var(--text-d); }

/* Floating WhatsApp */
.wa-float { position: fixed; z-index: 80; right: max(1.25rem, env(safe-area-inset-right)); bottom: max(1.25rem, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 0; height: 58px; padding: 0 17px; border-radius: 999px; background: var(--wa); color: var(--wa-ink); box-shadow: 0 16px 40px -12px rgba(37, 211, 102, .55), 0 4px 12px rgba(0, 0, 0, .25); transition: transform .4s var(--ease), box-shadow .4s, gap .45s var(--ease), padding .45s var(--ease); }
.wa-float .icon { width: 24px; height: 24px; }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 600; font-size: .95rem; transition: max-width .5s var(--ease); }
.wa-float:hover { transform: translateY(-3px); gap: .6rem; padding: 0 20px; }
.wa-float:hover .wa-float__label { max-width: 180px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); opacity: 0; animation: waPulse 3.2s var(--ease) 2s 3; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.45); opacity: 0; } }
.menu-open .wa-float { opacity: 0; pointer-events: none; }

/* ==========================================================================
   Case study / legal / 404
   ========================================================================== */
.case-hero { background: var(--ink); padding: calc(var(--header-h) + clamp(3rem, 8vw, 5.5rem)) 0 calc(clamp(4rem, 8vw, 6rem) + var(--curve)); }
.breadcrumb { margin-bottom: 2rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .6rem; font-size: .88rem; color: var(--muted-d); }
.breadcrumb li { display: inline-flex; align-items: center; gap: .6rem; }
.breadcrumb li + li::before { content: "/"; opacity: .45; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 32px; color: var(--muted-d); transition: color .25s; }
.breadcrumb a:hover { color: var(--text-d); }
.breadcrumb [aria-current] { color: var(--text-d); }
.case-hero__title { font-size: clamp(2.75rem, 8vw, 6.5rem); font-weight: 600; letter-spacing: -.05em; line-height: .98; margin: 1.25rem 0 1.5rem; text-wrap: balance; }
.case-hero__desc { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted-d); max-width: 56ch; }
.case-hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.25rem; }
.case-visual { padding-block: clamp(3rem, 6vw, 5rem) 0; }
.case-visual__frame { position: relative; max-width: 1080px; margin-inline: auto; padding-bottom: 2.5rem; }
.case-visual__frame .phone { width: 20%; }
.case-body { padding: clamp(3rem, 6vw, 5rem) 0 calc(var(--section-y) + var(--curve)); }
.case-body__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.case-facts { position: sticky; top: calc(var(--header-h) + 2rem); padding: 1.75rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line-l); }
.case-facts dl { display: grid; gap: 1.25rem; }
.case-facts dt { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-l); margin-bottom: .35rem; }
.case-facts dd { font-weight: 600; }
.case-facts dd a { color: var(--accent-strong); }
.case-content .h3 { margin-bottom: 1rem; }
.case-content > p { color: var(--muted-l); margin-bottom: 2.5rem; font-size: 1.075rem; }
.case-cta { padding: 2rem; border-radius: var(--radius); background: var(--paper-2); }
.case-cta__title { font-size: 1.5rem; font-weight: 600; letter-spacing: -.03em; margin-bottom: .4rem; }
.case-cta > p:not(.case-cta__title) { color: var(--muted-l); }
.case-cta__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.next-project { display: block; background: var(--char); margin-top: calc(var(--curve) * -1); border-radius: var(--curve) var(--curve) 0 0; padding: clamp(3.5rem, 7vw, 5.5rem) 0 calc(clamp(3.5rem, 7vw, 5.5rem)); }
.next-project__inner { display: flex; flex-direction: column; gap: .75rem; }
.next-project__label { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-d); }
.next-project__title { display: inline-flex; align-items: center; gap: 1rem; font-size: clamp(2.25rem, 6vw, 4.75rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; transition: color .3s; }
.next-project__title .icon { transition: transform .5s var(--ease); }
.next-project:hover .next-project__title { color: var(--accent); }
.next-project:hover .next-project__title .icon { transform: translateX(10px); }
.legal__body { max-width: 760px; }
.legal__body .h3 { margin: 2.25rem 0 .75rem; }
.legal__body .h3:first-child { margin-top: 0; }
.legal__body p { color: var(--muted-l); }
.notfound { background: var(--ink); min-height: 88svh; display: flex; align-items: center; padding: calc(var(--header-h) + 3rem) 0 4rem; }
.notfound__code { font-family: var(--f-serif); font-style: italic; font-size: clamp(7rem, 22vw, 16rem); line-height: .85; color: var(--accent); margin-bottom: 1rem; }

/* ==========================================================================
   Hero: intro chip, reassurance, proof strip
   ========================================================================== */
.intro-chip { display: inline-flex; align-items: center; gap: .8rem; padding: .4rem .5rem .4rem .4rem; margin-bottom: 1.9rem; border-radius: 999px; background: rgba(255, 255, 255, .045); border: 1px solid var(--line-d); max-width: 100%; }
.intro-chip__avatar { width: 46px; height: 46px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px var(--ink), 0 0 0 3px rgba(255, 90, 31, .7); }
.intro-chip__text { display: grid; line-height: 1.25; min-width: 0; padding-right: .3rem; }
.intro-chip__text strong { font-size: .98rem; font-weight: 600; }
.intro-chip__text span { font-size: .8rem; color: var(--muted-d); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.intro-chip__status { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .8rem; border-radius: 999px; background: rgba(61, 220, 132, .1); color: #b6f5cf; font-size: .8rem; font-weight: 500; white-space: nowrap; }
.intro-chip__status.status--limited { background: rgba(245, 184, 61, .12); color: #f7d58f; }
.intro-chip__status.status--busy { background: rgba(255, 255, 255, .06); color: var(--muted-d); }
.hero__sub { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.75rem; margin-top: 1.4rem; }
.hero__sub .hero__wa { margin-top: 0; min-height: 44px; }
.hero__reassure { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; color: var(--muted-d); }
.hero__reassure .icon { color: var(--ok); }
.proof { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 2rem; margin-top: clamp(3rem, 7vh, 5rem); padding-top: 1.5rem; border-top: 1px solid var(--line-d); }
.proof__label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); }
.proof__list { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; }
.proof__list a { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; font-weight: 500; color: var(--text-d); transition: color .25s; }
.proof__list a:hover { color: var(--accent); }
.proof__list small { font-size: .75rem; color: var(--muted-d); font-weight: 400; }
.proof__dot { width: 8px; height: 8px; border-radius: 2px; background: var(--accent-p); }

/* ==========================================================================
   Services grid
   ========================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.svc { position: relative; display: flex; flex-direction: column; padding: clamp(1.5rem, 2.4vw, 2rem); border-radius: var(--radius); background: var(--char-2); border: 1px solid var(--line-d); transition: border-color .4s, transform .5s var(--ease), background-color .4s; }
.svc:hover { border-color: rgba(255, 90, 31, .45); transform: translateY(-4px); background: #1e1e23; }
.svc__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.svc__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 13px; background: rgba(255, 90, 31, .1); color: var(--accent); transition: transform .5s var(--ease); }
.svc__icon .icon { width: 1.45rem; height: 1.45rem; }
.svc:hover .svc__icon { transform: rotate(-8deg) scale(1.06); }
.svc__num { font-family: var(--f-mono); font-size: .78rem; color: var(--muted-d); }
.svc__title { font-size: 1.3rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; margin-bottom: .65rem; }
.svc__text { color: var(--muted-d); font-size: .96rem; line-height: 1.6; }
.svc__benefit { display: flex; gap: .55rem; align-items: flex-start; margin: 1.1rem 0 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--line-d); font-size: .92rem; line-height: 1.5; color: var(--text-d); }
.svc__benefit .icon { color: var(--ok); margin-top: .18em; }
.svc__cta { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 600; font-size: .95rem; color: var(--accent); }
.svc__cta .icon { transition: transform .35s var(--ease); }
.svc__cta:hover .icon { transform: translateX(4px); }
.cta-band { margin-top: 2.5rem; }

/* ==========================================================================
   Projects grid
   ========================================================================== */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(3rem, 6vw, 4.5rem) clamp(1.75rem, 3.5vw, 3rem); }
.work-card { display: flex; flex-direction: column; gap: 1.75rem; }
.work-card--spot { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-bottom: clamp(1rem, 3vw, 2rem); }
.work-card__visual { position: relative; display: block; padding-bottom: 1.75rem; }
.work-card__visual .phone { right: -.75rem; }
.work-card__view { position: absolute; top: 3.25rem; right: 1rem; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--paper); opacity: 0; transform: scale(.7); transition: opacity .35s, transform .5s var(--ease); }
.work-card:hover .work-card__view { opacity: 1; transform: none; }
.work-card__meta { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.work-card__num { font-family: var(--f-mono); font-size: .78rem; color: var(--muted-l); }
.work-card__title { font-size: clamp(1.6rem, 2.6vw, 2.15rem); letter-spacing: -.04em; font-weight: 600; line-height: 1.05; margin-bottom: .75rem; }
.work-card--spot .work-card__title { font-size: clamp(2rem, 4vw, 3.25rem); }
.work-card__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .6s var(--ease); }
.work-card__title a:hover { background-size: 100% 2px; }
.work-card__desc { color: var(--muted-l); margin-bottom: 1.25rem; }
.work-card__role { margin-bottom: 1.25rem; padding: 1.1rem 0; border-block: 1px solid var(--line-l); }
.work-card__role ul { display: grid; gap: .45rem; }
.work-card__role li { position: relative; padding-left: 1.25rem; font-size: .95rem; line-height: 1.5; }
.work-card__role li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 1.5px; background: var(--accent-strong); }
.work-card__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; margin-top: 1.5rem; }

/* ==========================================================================
   Skills (compact)
   ========================================================================== */
.tech { flex-direction: row; align-items: center; gap: 1rem; padding: 1.4rem 1.5rem; }
.tech__icon { margin-bottom: 0; flex: none; }
.tech__text { display: grid; gap: .1rem; min-width: 0; }
.tech__name { font-size: 1.1rem; }
.tech__note { font-size: .85rem; }

/* ==========================================================================
   Why + process (light)
   ========================================================================== */
.why__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.why-item { padding: 1.75rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line-l); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.why-item:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -30px rgba(19, 19, 21, .35); }
.why-item__icon { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 11px; background: rgba(255, 90, 31, .1); color: var(--accent-strong); margin-bottom: 1.1rem; }
.why-item__title { font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; margin-bottom: .45rem; }
.why-item p { color: var(--muted-l); font-size: .95rem; line-height: 1.55; }
.process { margin-top: clamp(3.5rem, 7vw, 5rem); }
.process__title { font-family: var(--f-mono); font-weight: 500; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-l); margin-bottom: 1.5rem; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-l); counter-reset: st; }
.step { position: relative; display: flex; flex-direction: column; gap: .9rem; padding: 1.5rem 1.25rem 0 0; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 2.5rem; height: 2px; background: var(--accent-strong); transform-origin: left; transform: scaleX(.4); transition: transform .6s var(--ease); }
.step:hover::before { transform: scaleX(1); }
.step__num { font-family: var(--f-mono); font-size: .78rem; font-weight: 600; color: var(--accent-strong); }
.step__body { display: grid; gap: .35rem; }
.step__body strong { font-size: 1.05rem; letter-spacing: -.015em; }
.step__body span { font-size: .92rem; color: var(--muted-l); line-height: 1.5; }

/* FAQ follows a light section: flat join */
.why.curve { padding-bottom: clamp(3.5rem, 7vw, 5rem); }
.faq { padding: clamp(3.5rem, 7vw, 5rem) 0 calc(var(--section-y) + var(--curve)); }
.faq::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(var(--container), calc(100% - var(--gutter) * 2)); height: 1px; background: var(--line-l); }

/* ==========================================================================
   Contact form v2
   ========================================================================== */
.field__hint { margin-top: -.4rem; font-size: .82rem; color: var(--muted-d); }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { font-size: .875rem; font-weight: 500; padding: 0; margin-bottom: .6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-opt { position: relative; cursor: pointer; }
.chip-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip-opt span { display: flex; align-items: center; min-height: 42px; padding: .5rem 1rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); font-size: .9rem; color: var(--muted-d); transition: all .25s; }
.chip-opt:hover span { border-color: rgba(255, 255, 255, .32); color: var(--text-d); }
.chip-opt input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.chip-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chips-field[aria-invalid="true"] .chip-opt span { border-color: rgba(255, 107, 107, .5); }
.chips--sm .chip-opt span { min-height: 38px; font-size: .85rem; padding: .4rem .85rem; }
.budget-toggle summary { display: inline-flex; align-items: center; gap: .5rem; min-height: 40px; cursor: pointer; list-style: none; font-size: .9rem; font-weight: 500; color: var(--text-d); }
.budget-toggle summary::-webkit-details-marker { display: none; }
.budget-toggle summary .icon { color: var(--accent); transition: transform .35s var(--ease); }
.budget-toggle[open] summary .icon { transform: rotate(45deg); }
.budget-toggle[open] .chips { margin-top: .6rem; animation: faqIn .4s var(--ease); }
.wa-float.is-hidden { opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; }

/* Tap-target comfort */
.text-link { min-height: 44px; }
.site-footer__col ul { gap: .2rem; }
.site-footer__col a, .site-footer__col span { padding-block: .45rem; }
.mobile-menu__mail { padding: .7rem; }

/* ==========================================================================
   Service landing pages
   ========================================================================== */
.svc-hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.svc-hero__title { font-size: clamp(2.4rem, 5.2vw, 4.6rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; margin-bottom: 1.5rem; text-wrap: balance; }
.svc-hero__list { display: grid; gap: .7rem; padding: 1.75rem; border-radius: var(--radius); background: rgba(255, 255, 255, .035); border: 1px solid var(--line-d); }
.svc-hero__list li { display: flex; gap: .7rem; align-items: flex-start; font-size: .98rem; }
.svc-hero__list .icon { color: var(--ok); margin-top: .2em; }
.svc-body__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.svc-section { padding-bottom: 2.25rem; margin-bottom: 2.25rem; border-bottom: 1px solid var(--line-l); }
.svc-section:last-child { border-bottom: 0; margin-bottom: 0; }
.svc-section .h3 { margin-bottom: .85rem; }
.svc-section > p { color: var(--muted-l); font-size: 1.06rem; max-width: 68ch; }
.svc-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.svc-item { padding: 1.35rem; border-radius: 16px; background: var(--white); border: 1px solid var(--line-l); }
.svc-item h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -.015em; margin-bottom: .4rem; }
.svc-item p { font-size: .94rem; color: var(--muted-l); line-height: 1.55; }
.svc-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.25rem; }
.svc-aside__card { display: grid; gap: .7rem; justify-items: center; text-align: center; padding: 1.75rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line-l); }
.svc-aside__avatar { width: 72px; height: 72px; border-radius: 50%; box-shadow: 0 0 0 3px var(--white), 0 0 0 4px rgba(255, 90, 31, .6); }
.svc-aside__name { font-weight: 600; font-size: 1.1rem; }
.svc-aside__role { font-size: .85rem; color: var(--muted-l); margin-bottom: .5rem; }
.svc-aside__related ul { display: grid; gap: .25rem; }
.svc-aside__related a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: .5rem .25rem; border-bottom: 1px solid var(--line-l); font-weight: 500; transition: color .25s; }
.svc-aside__related a:hover { color: var(--accent-strong); }
.svc-work { padding: 0 0 clamp(3.5rem, 7vw, 5rem); }
.work-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.work-grid--3 .work-card__title { font-size: 1.45rem; }
.svc__links { display: flex; align-items: center; gap: 1.25rem; margin-top: auto; }
.svc__more { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; color: var(--muted-d); text-decoration: underline; text-underline-offset: 3px; transition: color .25s; }
.svc__more:hover { color: var(--text-d); }
.ownership-note { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: 2.25rem; padding: 1rem 1.15rem; border-radius: 12px; background: var(--paper-2); color: var(--muted-l); font-size: .92rem; line-height: 1.5; }
.ownership-note .icon { flex: none; margin-top: .15em; color: var(--accent-strong); }
.related-services { display: grid; gap: .5rem; margin-bottom: 2.5rem; }
.related-services a { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: .75rem 1.1rem; border-radius: 12px; background: var(--white); border: 1px solid var(--line-l); font-weight: 600; transition: border-color .25s, transform .4s var(--ease); }
.related-services a:hover { border-color: var(--accent-strong); transform: translateX(4px); }

/* ==========================================================================
   Blog
   ========================================================================== */
.post-hero__inner { max-width: 900px; }
.post-hero__title { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; margin-bottom: 1.25rem; text-wrap: balance; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem; margin-top: 1.75rem; font-size: .9rem; color: var(--muted-d); }
.post-meta img { width: 36px; height: 36px; border-radius: 50%; }
.post-meta strong { color: var(--text-d); font-weight: 600; }
.draft-badge { display: inline-block; margin-bottom: 1rem; padding: .4rem .8rem; border-radius: 8px; background: rgba(245, 184, 61, .15); color: #f7d58f; font-size: .85rem; }
.post-body__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.prose { max-width: 720px; font-size: 1.08rem; line-height: 1.75; color: #2a2a2e; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { margin-top: 2.6rem; font-size: clamp(1.45rem, 2.4vw, 1.85rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; color: var(--text-l); scroll-margin-top: calc(var(--header-h) + 1rem); }
.prose h3 { margin-top: 2rem; font-size: 1.2rem; font-weight: 600; color: var(--text-l); }
.prose h2:first-child { margin-top: 0; }
.prose a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: .45rem; }
.prose li::marker { color: var(--accent-strong); }
.prose strong { color: var(--text-l); }
.prose code { font-family: var(--f-mono); font-size: .88em; padding: .15em .4em; border-radius: 5px; background: var(--paper-2); }
.prose blockquote { padding: 1rem 1.25rem; border-left: 3px solid var(--accent-strong); background: var(--white); border-radius: 0 12px 12px 0; }
.prose hr { border: 0; border-top: 1px solid var(--line-l); margin: 2.5rem 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line-l); border-radius: 12px; background: var(--white); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--line-l); vertical-align: top; }
.prose th { font-weight: 600; background: var(--paper-2); }
.prose tr:last-child td { border-bottom: 0; }
.prose .case-cta { margin-top: 3rem; }
.toc { padding: 1.4rem 1.5rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line-l); }
.toc ol { display: grid; gap: .15rem; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: .6rem; padding: .35rem 0; font-size: .9rem; line-height: 1.4; color: var(--muted-l); transition: color .25s; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--f-mono); font-size: .72rem; color: var(--accent-strong); padding-top: .15rem; }
.toc a:hover { color: var(--text-l); }
.post-more { padding: 0 0 calc(var(--section-y) + var(--curve)); }
.post-more .h3 { margin-bottom: 1.5rem; padding-top: 3rem; border-top: 1px solid var(--line-l); }
.blog-list { padding-top: clamp(3.5rem, 7vw, 5rem); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.post-card { display: flex; flex-direction: column; gap: .7rem; padding: 1.6rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line-l); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -30px rgba(19, 19, 21, .35); border-color: rgba(212, 66, 11, .35); }
.post-card time { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .04em; color: var(--muted-l); }
.post-card__title { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.post-card__desc { color: var(--muted-l); font-size: .95rem; line-height: 1.55; }
.post-card__more { display: inline-flex; align-items: center; gap: .45rem; margin-top: auto; padding-top: .5rem; font-weight: 600; font-size: .92rem; color: var(--accent-strong); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 620px; margin-top: 1rem; }
  .editor { transform: none; }
  .hero__float--deploy { left: auto; right: 1rem; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1rem; }
  .tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .about__grid, .faq__grid, .contact__grid, .case-body__grid { grid-template-columns: minmax(0, 1fr); }
  .contact__grid { grid-template-areas: "intro" "form" "extras"; row-gap: 2.5rem; }
  .contact__channels { margin-top: 0; }
  .about__media, .faq__intro, .case-facts { position: static; }
  .about__media { max-width: 460px; }
  .section-head--split { grid-template-columns: 1fr; }
  .section-head--split .section-head__text { justify-self: start; }
  .work-grid, .work-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .svc-hero__grid, .svc-body__grid, .post-body__grid { grid-template-columns: minmax(0, 1fr); }
  .post-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .svc-aside { position: static; }
  .work-card--spot { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .phone { right: -.5rem; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  body { font-size: 1rem; }
  .hire-btn { --pad-x: .9rem; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 1.75rem); }
  .hero__visual { display: none; }                  /* decorative — keep the first screen focused */
  .intro-chip__status-label { display: none; }
  .intro-chip__status { padding: .55rem; }
  .hero__ctas .btn, .case-hero__ctas .btn { width: 100%; }
  .hero__sub { gap: .5rem 1rem; }
  .proof { margin-top: 2.25rem; gap: .25rem; }
  .proof__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; width: 100%; }
  .proof__list a { font-size: .92rem; flex-wrap: wrap; gap: 0 .5rem; min-height: 48px; }
  .proof__list small { flex-basis: 100%; padding-left: calc(8px + .5rem); margin-top: -.2rem; }
  .about__badge { right: .75rem; top: 1rem; padding: .75rem .9rem; }
  .about__badge-num { font-size: 2rem; }
  .checklist { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; gap: 1rem; }
  .svc-items { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .prose { font-size: 1.02rem; }
  .svc__top { margin-bottom: 1.1rem; }
  .cta-band .btn { width: 100%; }
  .contact-banner__actions .btn { width: 100%; }
  .tech-grid { grid-template-columns: 1fr 1fr; }
  .tech { flex-direction: column; align-items: flex-start; gap: .75rem; padding: 1.15rem; }
  .tech__name { font-size: 1rem; }
  .tech__note { font-size: .8rem; }
  .why__list { grid-template-columns: 1fr; gap: .9rem; }
  .why-item { padding: 1.4rem; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1rem; }
  .why-item__icon { grid-row: span 2; margin-bottom: 0; }
  .steps { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line-l); margin-left: .25rem; }
  .step { flex-direction: row; gap: 1rem; padding: 0 0 1.4rem 1.25rem; }
  .step::before { top: 0; left: -1px; width: 2px; height: 1.4rem; transform: none; }
  .faq-item__body { padding-right: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .wa-float { height: 54px; padding: 0 15px; }
  .phone { min-width: 84px; border-radius: 16px; padding: 4px; }
  .phone__screen { border-radius: 13px; }
  .work-card__ctas .btn { flex: 1; }
  .work-card__view { display: none; }
}

@media (max-width: 380px) {
  .hire-btn { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .editor__code .ln { opacity: 1; transform: none; animation: none; }
  .editor { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-menu, .wa-float, .contact-form { display: none !important; }
  body, .section--dark, .hero, .contact, .site-footer { background: #fff !important; color: #000 !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
