/* ==========================================================================
   ARAFT — Creative Studio for the AI Era
   Premium dark design system
   ========================================================================== */

:root {
  /* Base — LIGHT (default) */
  --bg: #ffffff;
  --bg-2: #f5f2ef;
  --panel: #ffffff;
  --panel-2: #f6f3f0;
  --line: rgba(0, 0, 0, .10);
  --line-2: rgba(0, 0, 0, .16);

  /* Text */
  --white: #201c1b;   /* primary strong text */
  --ink: #14100f;     /* headings */
  --muted: #5f5852;   /* body */
  --muted-2: #928a83; /* faint */

  /* Surfaces (theme-dependent tints) */
  --tint-1: rgba(0, 0, 0, .025);
  --tint-2: rgba(0, 0, 0, .045);
  --tint-3: rgba(0, 0, 0, .07);
  --header-bg: rgba(255, 255, 255, .72);
  --header-bg-2: rgba(255, 255, 255, .90);
  --media-bg: #eef2f1;
  --code-bg: #f3efec;
  --btn-contrast-bg: #201c1b;
  --btn-contrast-text: #ffffff;

  /* Accent — Araft brand (same in both themes) */
  --a1: #00858e;
  --a2: #53b8af;
  --a3: #ee7c59;
  --accent: #00858e;
  --accent-soft: rgba(0, 133, 142, .10);
  --grad: #00858e;
  --grad-text: #00858e;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --container: 1220px;
  --shadow: 0 20px 55px rgba(20, 16, 15, .12);
  --glow: 0 0 0 1px rgba(0,133,142,.3), 0 20px 60px rgba(0,133,142,.18);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.19, 1, .22, 1);
}

/* ===== DARK THEME ===== */
:root[data-theme="dark"] {
  --bg: #211d1c;
  --bg-2: #1a1717;
  --panel: #2b2726;
  --panel-2: #332f2e;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .15);

  --white: #f7f7fb;
  --ink: #ffffff;
  --muted: #9b9ba7;
  --muted-2: #6c6c78;

  --tint-1: rgba(255, 255, 255, .02);
  --tint-2: rgba(255, 255, 255, .035);
  --tint-3: rgba(255, 255, 255, .06);
  --header-bg: rgba(26, 23, 23, .6);
  --header-bg-2: rgba(26, 23, 23, .85);
  --media-bg: #242020;
  --code-bg: #15151e;
  --btn-contrast-bg: #ffffff;
  --btn-contrast-text: #211d1c;

  --accent-soft: rgba(0, 133, 142, .18);
  --grad-text: #5ec8be;
  --shadow: 0 30px 80px rgba(0, 0, 0, .55);
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--muted);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.08; font-weight: 500; letter-spacing: -.015em; }
::selection { background: var(--a1); color: #fff; }

/* (ambient glows removed — clean solid background per brand preference) */

/* Layout ----------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 26px; }
.section { padding: 120px 0; position: relative; }
.section--tight { padding: 80px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font); font-size: .74rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--tint-1); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--a3); box-shadow: 0 0 12px var(--a3); }

.section-head { max-width: 720px; margin-bottom: 66px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { margin-inline: auto; }
.section-head h2 { font-size: clamp(2rem, 4.8vw, 3.4rem); margin-bottom: 20px; color: var(--white); }
.section-head p { font-size: 1.12rem; color: var(--muted); }

.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .95rem; letter-spacing: -.01em;
  padding: 15px 28px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 12px 40px rgba(0,133,142,.4); background-size: 160% 100%; }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 50px rgba(0,133,142,.55); background-position: 100% 0; }
.btn--ghost { background: var(--tint-2); color: var(--white); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--white); transform: translateY(-3px); background: var(--tint-3); }
.btn--light { background: var(--btn-contrast-bg); color: var(--btn-contrast-text); }
.btn--light:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(255,255,255,.2); }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg); backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: var(--header-bg-2); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 1.34rem; color: var(--white); letter-spacing: -.04em; line-height: 0; }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__logo { height: 42px; width: auto; flex: none; border-radius: 10px; display: block; }
.brand__logo--dark { display: none; }
:root[data-theme="dark"] .brand__logo--light { display: none; }
:root[data-theme="dark"] .brand__logo--dark { display: block; }
.footer__logo { height: 60px; width: auto; border-radius: 13px; display: block; }
.footer__logo--dark { display: none; }
:root[data-theme="dark"] .footer__logo--light { display: none; }
:root[data-theme="dark"] .footer__logo--dark { display: block; }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a { font-size: .93rem; font-weight: 500; color: var(--muted); padding: 9px 15px; border-radius: 10px; transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--white); background: var(--tint-3); }
.nav__links a.active { color: var(--white); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--white); }
.nav__toggle svg { width: 26px; height: 26px; }
.theme-toggle { background: var(--tint-2); border: 1px solid var(--line); color: var(--white); width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; cursor: pointer; transition: border-color .2s, background .2s; flex: none; }
.theme-toggle:hover { border-color: var(--line-2); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* Hero ------------------------------------------------------------------- */
.hero { padding: 96px 0 90px; position: relative; overflow: hidden; }
.hero__inner { max-width: 1000px; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 30px;
  padding: 8px 8px 8px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--tint-1); font-size: .82rem; color: var(--muted);
}
.hero__tag b { color: var(--white); font-weight: 600; }
.hero__tag .chip { background: var(--grad); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.hero h1 { font-size: clamp(2.6rem, 8vw, 6rem); letter-spacing: -.045em; color: var(--white); margin-bottom: 28px; }
.hero h1 em { font-style: normal; }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--muted); max-width: 620px; margin-bottom: 38px; }
.hero__actions { display: flex; gap: 15px; flex-wrap: wrap; align-items: center; }
.hero__meta { margin-top: 60px; display: flex; gap: 54px; flex-wrap: wrap; }
.hero__meta .m b { font-family: var(--display); display: block; font-size: 2.4rem; color: var(--white); letter-spacing: -.03em; line-height: 1; margin-bottom: 6px; }
.hero__meta .m span { font-size: .86rem; color: var(--muted-2); }

/* Marquee ---------------------------------------------------------------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; overflow: hidden; background: var(--tint-1); }
.marquee__track { display: flex; gap: 60px; width: max-content; animation: slide 30s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: flex; align-items: center; gap: 60px; font-family: var(--display); font-size: 1.5rem; font-weight: 500; color: var(--muted-2); letter-spacing: -.02em; white-space: nowrap; }
.marquee__item::after { content: "✦"; color: var(--a1); font-size: 1rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* AI-era manifesto -------------------------------------------------------- */
.manifesto { text-align: center; }
.manifesto__big { font-family: var(--display); font-size: clamp(1.8rem, 4.6vw, 3.4rem); line-height: 1.2; letter-spacing: -.03em; color: var(--muted-2); max-width: 980px; margin: 0 auto; }
.manifesto__big b { color: var(--white); font-weight: 600; }
.manifesto__big .grad-text { -webkit-text-fill-color: transparent; }

/* Cards / grids ---------------------------------------------------------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px; height: 100%; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s;
}
.card:hover { transform: translateY(-6px); background: var(--panel-2); }
.card:hover::before { opacity: 1; }
.card__num { font-family: var(--display); font-size: .82rem; color: var(--muted-2); letter-spacing: .1em; }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: #8fd0c9; margin-bottom: 22px; border: 1px solid var(--line);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.28rem; margin-bottom: 12px; color: var(--white); }
.card p { color: var(--muted); font-size: .96rem; }
.card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.card__tags span { font-size: .74rem; color: var(--muted); border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px; }

/* Pillars (why us / AI era) ---------------------------------------------- */
.pillar { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--tint-1); height: 100%; }
.pillar__k { font-family: var(--display); font-size: 2.6rem; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: -.03em; margin-bottom: 14px; display: block; }
.pillar h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--white); }
.pillar p { font-size: .95rem; color: var(--muted); }

/* Split ------------------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1/1; background: var(--media-bg); display: grid; place-items: center; position: relative; }
.split__media::after { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: .08; }
.checklist li { display: flex; gap: 14px; margin-bottom: 20px; color: var(--muted); }
.checklist svg { width: 24px; height: 24px; color: var(--a3); flex: none; margin-top: 1px; }
.checklist b { color: var(--white); }

/* Stats band ------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stats .stat { text-align: center; padding: 30px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--tint-1); }
.stats .stat b { font-family: var(--display); display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: -.03em; line-height: 1; }
.stats .stat span { color: var(--muted); font-size: .9rem; margin-top: 10px; display: block; }

/* Process steps ---------------------------------------------------------- */
.step { display: flex; gap: 26px; padding: 30px 0; border-top: 1px solid var(--line); transition: padding-left .3s var(--ease); }
.step:hover { padding-left: 12px; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n { font-family: var(--display); font-size: 1rem; color: var(--muted-2); min-width: 60px; padding-top: 6px; }
.step__body { flex: 1; }
.step__body h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--white); margin-bottom: 8px; }
.step__body p { color: var(--muted); max-width: 640px; }

/* Page hero (interior) --------------------------------------------------- */
.page-hero { padding: 110px 0 70px; text-align: left; position: relative; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); color: var(--ink); margin: 22px 0 24px; letter-spacing: -.02em; font-weight: 500; max-width: 18ch; }
.page-hero h1 em { font-style: italic; color: var(--a1); }
.page-hero p { color: var(--muted); font-size: 1.15rem; max-width: 60ch; }
.breadcrumb { color: var(--muted-2); font-size: .84rem; margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--white); }

/* Work / portfolio ------------------------------------------------------- */
.filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; justify-content: center; }
.filter button { border: 1px solid var(--line); background: var(--tint-1); color: var(--muted); padding: 10px 22px; border-radius: 999px; font-weight: 500; font-size: .9rem; cursor: pointer; transition: all .25s; font-family: var(--font); }
.filter button:hover { color: var(--white); border-color: var(--line-2); }
.filter button.active { background: var(--btn-contrast-bg); border-color: var(--btn-contrast-bg); color: var(--btn-contrast-text); }

.work { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); transition: transform .4s var(--ease), border-color .4s; }
.work:hover { transform: translateY(-6px); border-color: var(--line-2); }
.work__thumb { aspect-ratio: 16/11; display: grid; place-items: center; position: relative; overflow: hidden; }
.work__thumb b { font-family: var(--display); font-size: 2rem; color: #fff; letter-spacing: -.03em; z-index: 1; mix-blend-mode: overlay; }
.work__thumb::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.28); }
.work__body { padding: 24px 26px 28px; }
.work__tag { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8fd0c9; }
.work__body h3 { font-size: 1.3rem; margin: 10px 0 8px; color: var(--white); }
.work__body p { font-size: .93rem; color: var(--muted); }
.work__result { display: flex; gap: 24px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.work__result .r b { font-family: var(--display); display: block; color: var(--white); font-size: 1.4rem; letter-spacing: -.02em; }
.work__result .r span { font-size: .76rem; color: var(--muted-2); }

/* Blog ------------------------------------------------------------------- */
.post { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; transition: transform .4s var(--ease), border-color .4s; }
.post:hover { transform: translateY(-6px); border-color: var(--line-2); }
.post__thumb { aspect-ratio: 16/9; display: grid; place-items: center; position: relative; }
.post__thumb svg { width: 52px; height: 52px; color: rgba(255,255,255,.85); z-index: 1; }
.post__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post__meta { font-size: .8rem; color: var(--muted-2); margin-bottom: 13px; display: flex; gap: 9px; align-items: center; }
.post__cat { color: #8fd0c9; font-weight: 600; }
.post__body h3 { font-size: 1.2rem; margin-bottom: 11px; color: var(--white); }
.post__body p { font-size: .93rem; color: var(--muted); flex: 1; }
.post__author { display: flex; align-items: center; gap: 11px; margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line); }
.post__avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .82rem; font-family: var(--display); }
.post__author small { font-size: .82rem; color: var(--muted); }
.post--featured { grid-column: 1 / -1; }
@media (min-width: 861px) { .post--featured { display: grid; grid-template-columns: 1.05fr 1fr; } .post--featured .post__thumb { aspect-ratio: auto; height: 100%; min-height: 320px; } }

/* Contact ---------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: start; }
.info-item { display: flex; gap: 16px; margin-bottom: 28px; }
.info-item__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: #8fd0c9; display: grid; place-items: center; flex: none; border: 1px solid var(--line); }
.info-item__icon svg { width: 22px; height: 22px; }
.info-item h4 { font-size: 1rem; margin-bottom: 3px; color: var(--white); }
.info-item p, .info-item a { color: var(--muted); font-size: .95rem; }
.info-item a:hover { color: var(--white); }

.form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .86rem; font-weight: 500; color: var(--white); margin-bottom: 9px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; color: var(--white); background: var(--tint-2);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field select { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--a1); background: rgba(0,133,142,.06); box-shadow: 0 0 0 4px rgba(0,133,142,.14); }
.field textarea { resize: vertical; min-height: 130px; }
.form__note { font-size: .82rem; color: var(--muted-2); margin-top: 14px; text-align: center; }
.form__success { display: none; background: rgba(83,184,175,.1); border: 1px solid rgba(83,184,175,.35); color: #7fd8cd; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .92rem; margin-bottom: 20px; }
.form__success.show { display: block; }

/* CTA band --------------------------------------------------------------- */
.cta-band { position: relative; border-radius: var(--radius-lg); padding: 84px 60px; text-align: center; overflow: hidden; border: 1px solid var(--line); background: var(--panel-2); }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.6rem); color: var(--white); margin-bottom: 18px; letter-spacing: -.04em; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 34px; font-size: 1.12rem; }
.cta-band .hero__actions { justify-content: center; }

/* Footer ----------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: 84px 0 36px; background: var(--bg-2); }
.footer__cta { text-align: center; margin-bottom: 76px; }
.footer__cta h2 { font-size: clamp(2.2rem, 6vw, 4.6rem); color: var(--white); letter-spacing: -.04em; margin-bottom: 26px; }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 54px; }
.footer__brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 1.36rem; color: var(--white); margin-bottom: 18px; letter-spacing: -.04em; }
.footer__col p { font-size: .93rem; max-width: 320px; color: var(--muted); }
.footer__col h4 { color: var(--white); font-family: var(--font); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; }
.footer__col li { margin-bottom: 12px; }
.footer__col a { font-size: .93rem; color: var(--muted); transition: color .2s; }
.footer__col a:hover { color: var(--white); }
.footer__social { display: flex; gap: 11px; margin-top: 22px; }
.footer__social a { width: 40px; height: 40px; border-radius: 11px; background: var(--tint-2); border: 1px solid var(--line); display: grid; place-items: center; transition: all .25s; }
.footer__social a:hover { background: var(--grad); border-color: transparent; transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; color: var(--white); }
.footer__bottom { border-top: 1px solid var(--line); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .86rem; color: var(--muted-2); }
.footer__bottom a:hover { color: var(--white); }

/* Reveal ----------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; gap: 44px; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .section { padding: 84px 0; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__cta .btn:not(.nav__toggle) { display: none; }
  .site-header.open .nav__links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 80px; left: 0; right: 0; background: var(--bg-2);
    border-bottom: 1px solid var(--line); padding: 14px; gap: 2px;
  }
  .site-header.open .nav__links a { padding: 14px; }
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero__meta { gap: 32px; }
  .hero__meta .m b { font-size: 1.9rem; }
  .cta-band { padding: 54px 26px; }
}

/* ============================================================
   MOTION & INTERACTIONS
   ============================================================ */
/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad); z-index: 300; transition: width .1s linear; }

/* Custom cursor (desktop) */
.has-cursor, .has-cursor * { cursor: none !important; }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; translate: -50% -50%; border-radius: 50%; z-index: 9999; pointer-events: none; mix-blend-mode: difference; opacity: 0; }
.cursor-dot { width: 8px; height: 8px; background: #fff; }
.cursor-ring { width: 40px; height: 40px; border: 1.5px solid #fff; transition: width .25s var(--ease), height .25s var(--ease), background .25s, opacity .3s; }
.cursor-ring.hover { width: 66px; height: 66px; background: rgba(255,255,255,.12); }
.cursor-ring.down { width: 30px; height: 30px; }

/* Blobs (hero background — echoes the logo) */
.blobs { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.blob { position: absolute; opacity: .9; will-change: transform; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; }
:root[data-theme="dark"] .blob { opacity: .85; }
.blob--1 { width: 190px; height: 190px; background: #00858e; top: 8%; left: -50px; animation: drift1 20s ease-in-out infinite; }
.blob--2 { width: 150px; height: 150px; background: #ee7c59; top: 14%; right: 6%; animation: drift2 24s ease-in-out infinite; border-radius: 58% 42% 38% 62% / 52% 55% 45% 48%; }
.blob--3 { width: 120px; height: 120px; background: #53b8af; bottom: 12%; left: 8%; animation: drift3 22s ease-in-out infinite; border-radius: 63% 37% 45% 55% / 48% 62% 38% 52%; }
.blob--4 { width: 100px; height: 100px; background: #9ac4c8; bottom: 18%; right: 14%; animation: drift1 26s ease-in-out infinite reverse; }
@keyframes drift1 { 0%,100% { translate: 0 0; } 50% { translate: 40px -30px; } }
@keyframes drift2 { 0%,100% { translate: 0 0; } 50% { translate: -50px 40px; } }
@keyframes drift3 { 0%,100% { translate: 0 0; } 50% { translate: 30px 30px; } }
.hero__inner { position: relative; z-index: 1; }

/* Card 3D tilt + cursor spotlight */
.card, .work, .post, .pillar { transform-style: preserve-3d; will-change: transform; }
.card::after { content: none; }
.card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 1; }

/* Service card — dual mode chips */
.svc-modes { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.mode-chip { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); }
.mode-chip.ai { color: #00a3ae; background: rgba(0,133,142,.10); }
.mode-chip.human { color: #ee7c59; background: rgba(238,124,89,.10); }
:root[data-theme="dark"] .mode-chip.ai { color: #63d8d0; }

/* Two-modes feature */
.modes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mode-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; background: var(--panel); transition: transform .4s var(--ease), border-color .4s; }
.mode-card:hover { transform: translateY(-6px); border-color: var(--line-2); }
.mode-card__badge { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; margin-bottom: 20px; }
.mode-card--ai .mode-card__badge { background: rgba(0,133,142,.12); color: #00a3ae; }
.mode-card--human .mode-card__badge { background: rgba(238,124,89,.12); color: #ee7c59; }
.mode-card h3 { font-size: clamp(1.4rem,2.6vw,2rem); margin-bottom: 12px; color: var(--white); }
.mode-card p { color: var(--muted); margin-bottom: 18px; }
.mode-card ul li { display: flex; gap: 10px; margin-bottom: 11px; color: var(--muted); font-size: .95rem; }
.mode-card ul svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.mode-card--ai ul svg { color: #00a3ae; }
.mode-card--human ul svg { color: #ee7c59; }
.mode-card::before { content: ""; position: absolute; inset: 0; opacity: .5; z-index: -1; }
.mode-card--ai::before { background: rgba(0,133,142,.06); }
.mode-card--human::before { background: rgba(238,124,89,.06); }
@media (max-width: 760px) { .modes-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
  * { scroll-behavior: auto; }
}

/* ============================================================
   REDESIGN v2 — editorial / kinetic (home)
   ============================================================ */
.display-xl { font-family: var(--display); font-weight: 700; line-height: .92; letter-spacing: -.04em; color: var(--ink); font-size: clamp(2.9rem, 12vw, 11rem); text-transform: none; }
.display-lg { font-family: var(--display); font-weight: 700; line-height: .98; letter-spacing: -.035em; color: var(--ink); font-size: clamp(2.2rem, 7vw, 5.2rem); }

/* Split-word reveal */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; }
[data-split] .w__i { display: inline-block; transform: translateY(115%); transition: transform 1s var(--ease); }
[data-split].split-in .w__i { transform: none; }

/* XHERO — full screen kinetic */
.xhero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px 0 40px; overflow: hidden; }
.xhero__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.xhero__kicker { font-family: var(--font); font-size: .82rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); max-width: 300px; }
.xhero__kicker b { color: var(--white); }
.xhero__title { margin: 0; }
.xhero__title .accent { color: var(--a3); -webkit-text-fill-color: var(--a3); }
.xhero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-top: 40px; }
.xhero__sub { max-width: 440px; font-size: 1.12rem; color: var(--muted); }
.rotator { display: inline-block; color: var(--a1); font-weight: 700; }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.scroll-cue span { width: 34px; height: 52px; border: 1.5px solid var(--line-2); border-radius: 20px; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; top: 8px; left: 50%; translate: -50% 0; width: 5px; height: 8px; border-radius: 3px; background: var(--a1); animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 0%,100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(16px); opacity: .2; } }

/* Section chapter label */
.chapter { display: flex; align-items: baseline; gap: 16px; margin-bottom: 40px; }
.chapter__no { font-family: var(--display); font-size: .9rem; color: var(--a3); letter-spacing: .1em; }
.chapter__line { flex: 1; height: 1px; background: var(--line); }

/* Kinetic big marquee */
.kmarquee { overflow: hidden; padding: 18px 0; border-block: 1px solid var(--line); }
.kmarquee__track { display: flex; gap: 44px; width: max-content; animation: slide 26s linear infinite; }
.kmarquee__track span { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 5vw, 4rem); letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.4px var(--muted-2); white-space: nowrap; }
.kmarquee__track span.fill { color: var(--ink); -webkit-text-stroke: 0; }

/* BENTO services */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bento__item { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--panel); min-height: 210px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .4s var(--ease), border-color .4s, background .4s; will-change: transform; }
.bento__item::after { content: none; }
.bento__item:hover { border-color: var(--line-2); background: var(--panel-2); }
.bento__item:hover::after { opacity: 1; }
.bento__item > * { position: relative; z-index: 1; }
.bento__item.span2 { grid-column: span 2; }
.bento__item.tall { grid-row: span 2; }
.bento__item.feature { grid-column: span 2; background: rgba(0,133,142,.10); border-color: rgba(0,133,142,.32); }
.bento__k { font-family: var(--display); font-size: 2.4rem; color: var(--muted-2); letter-spacing: -.03em; }
.bento__item h3 { font-size: 1.3rem; color: var(--white); margin-bottom: 8px; }
.bento__item p { color: var(--muted); font-size: .95rem; }
.bento__ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: #00a3ae; border: 1px solid var(--line); }
.bento__ico svg { width: 24px; height: 24px; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento__item.tall { grid-row: span 1; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bento__item.span2, .bento__item.feature { grid-column: span 1; } }

/* Horizontal draggable work */
.hwork { display: flex; gap: 22px; overflow-x: auto; padding: 6px 26px 30px; scroll-snap-type: x mandatory; -ms-overflow-style: none; scrollbar-width: none; cursor: grab; }
.hwork::-webkit-scrollbar { display: none; }
.hwork.dragging { cursor: grabbing; }
.hwork__card { flex: 0 0 clamp(280px, 42vw, 480px); scroll-snap-align: center; }
.hwork__thumb { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; position: relative; }
.hwork__thumb b { font-family: var(--display); font-size: 2.4rem; color: #fff; mix-blend-mode: overlay; z-index: 1; }
.hwork__thumb::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.18); }
.hwork__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-top: 16px; }
.hwork__meta h3 { font-size: 1.25rem; color: var(--white); }
.hwork__meta .r { font-family: var(--display); color: var(--a3); font-size: 1.1rem; white-space: nowrap; }
.hwork__tag { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }

/* Big numbered list (process) */
.biglist__row { display: grid; grid-template-columns: 90px 1fr auto; gap: 24px; align-items: center; padding: 34px 0; border-top: 1px solid var(--line); transition: padding-left .4s var(--ease), background .4s; }
.biglist__row:last-child { border-bottom: 1px solid var(--line); }
.biglist__row:hover { padding-left: 18px; }
.biglist__no { font-family: var(--display); font-size: 1.4rem; color: var(--a3); }
.biglist__row h3 { font-family: var(--display); font-size: clamp(1.5rem, 3.4vw, 2.6rem); color: var(--white); letter-spacing: -.02em; }
.biglist__row p { color: var(--muted); max-width: 420px; font-size: .96rem; }
@media (max-width: 760px) { .biglist__row { grid-template-columns: 60px 1fr; } .biglist__row p { grid-column: 2; } }

/* Split stat / two-ways bold */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.duo__side { padding: 48px; position: relative; }
.duo__side + .duo__side { border-left: 1px solid var(--line); }
.duo__side h3 { font-family: var(--display); font-size: clamp(1.6rem,3vw,2.4rem); color: var(--white); margin: 14px 0 10px; }
.duo__side p { color: var(--muted); }
.duo__tag { display: inline-flex; align-items:center; gap: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; }
.duo--ai .duo__tag { background: rgba(0,133,142,.12); color: #00a3ae; }
.duo--human .duo__tag { background: rgba(238,124,89,.12); color: #ee7c59; }
.duo__side ul { margin-top: 18px; }
.duo__side ul li { display: flex; gap: 10px; margin-bottom: 11px; color: var(--muted); font-size: .95rem; }
.duo__side ul svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.duo--ai ul svg { color: #00a3ae; } .duo--human ul svg { color: #ee7c59; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } .duo__side + .duo__side { border-left: 0; border-top: 1px solid var(--line); } .duo__side { padding: 34px; } }

/* ============================================================
   REDESIGN v3 — editorial minimal (world-class, no gradient)
   ============================================================ */
.section { padding: 130px 0; }
@media (max-width: 760px) { .section { padding: 88px 0; } }
.measure { max-width: 720px; }
.btn--primary { box-shadow: none; }
.btn--primary:hover { box-shadow: none; }
.btn { border-radius: 8px; }
.theme-toggle, .nav__cta .btn { border-radius: 8px; }

/* Caption label */
.cap { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font); font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--a1); }
.cap::before { content: none; }

/* LEDE hero (all pages) */
.lede { padding: 120px 0 90px; position: relative; }
.lede h1 { font-size: clamp(2.6rem, 6.2vw, 5.6rem); font-weight: 500; line-height: 1.04; letter-spacing: -.02em; color: var(--ink); max-width: 16ch; margin: 26px 0 30px; }
.lede h1 em { font-style: italic; color: var(--a1); }
.lede__sub { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--muted); max-width: 56ch; line-height: 1.6; }
.lede__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 38px; align-items: center; }
.lede__foot { margin-top: 70px; display: flex; gap: 50px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 30px; }
.lede__foot .f b { font-family: var(--display); display: block; font-size: 2.2rem; font-weight: 500; color: var(--ink); line-height: 1; }
.lede__foot .f span { font-size: .85rem; color: var(--muted-2); }

/* Section header (editorial) */
.shead { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 60px; max-width: 760px; }
.shead h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); font-weight: 500; color: var(--ink); letter-spacing: -.02em; }
.shead p { color: var(--muted); font-size: 1.08rem; max-width: 54ch; }

/* Service list (editorial rows) */
.svc { border-top: 1px solid var(--line); }
.svc__row { display: grid; grid-template-columns: 60px minmax(200px, 1.1fr) 2fr auto; gap: 30px; align-items: center; padding: 30px 8px; border-bottom: 1px solid var(--line); transition: padding-left .45s var(--ease), background .3s; text-decoration: none; }
.svc__row:hover { padding-left: 26px; background: var(--tint-1); }
.svc__no { font-family: var(--display); font-size: 1rem; color: var(--muted-2); }
.svc__name { font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 500; color: var(--ink); letter-spacing: -.01em; }
.svc__desc { color: var(--muted); font-size: .98rem; }
.svc__modes { font-size: .74rem; color: var(--muted-2); margin-top: 6px; }
.svc__arrow { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: background .3s, color .3s, transform .3s; }
.svc__row:hover .svc__arrow { background: var(--a1); border-color: var(--a1); color: #fff; transform: rotate(-45deg); }
.svc__arrow svg { width: 18px; height: 18px; }
@media (max-width: 860px) { .svc__row { grid-template-columns: 40px 1fr auto; } .svc__desc { grid-column: 2 / -1; } .svc__arrow { display: none; } }

/* Work list (minimal 2-col) */
.wlist { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 32px; }
.witem { text-decoration: none; display: block; }
.witem__img { aspect-ratio: 5/4; border-radius: 12px; overflow: hidden; position: relative; display: grid; place-items: center; }
.witem__img b { font-family: var(--display); font-size: 2.4rem; color: #fff; opacity: .92; font-weight: 500; }
.witem__img i { position: absolute; inset: 0; transition: transform .6s var(--ease); }
.witem:hover .witem__img i { transform: scale(1.05); }
.witem__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 18px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.witem__meta h3 { font-family: var(--display); font-size: 1.35rem; font-weight: 500; color: var(--ink); }
.witem__meta .res { font-family: var(--display); color: var(--a1); font-size: 1.15rem; white-space: nowrap; }
.witem__tag { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-top: 10px; display: block; }
@media (max-width: 700px) { .wlist { grid-template-columns: 1fr; } }

/* Approach (two clean columns) */
.appr { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.appr__col h3 { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 500; color: var(--ink); margin: 16px 0 12px; }
.appr__col > p { color: var(--muted); margin-bottom: 20px; }
.appr__col ul li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .98rem; }
.appr__col ul li svg { width: 20px; height: 20px; flex: none; color: var(--a1); margin-top: 1px; }
@media (max-width: 760px) { .appr { grid-template-columns: 1fr; gap: 44px; } }

/* Figures */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-block: 1px solid var(--line); padding: 54px 0; }
.figures .fig b { font-family: var(--display); font-weight: 500; font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--ink); display: block; line-height: 1; letter-spacing: -.02em; }
.figures .fig span { color: var(--muted-2); font-size: .9rem; margin-top: 10px; display: block; }
@media (max-width: 700px) { .figures { grid-template-columns: 1fr 1fr; gap: 34px 20px; } }

/* Big quote */
.bigquote { max-width: 900px; margin-inline: auto; text-align: center; }
.bigquote p { font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1.3; color: var(--ink); letter-spacing: -.01em; }
.bigquote cite { display: block; margin-top: 26px; font-style: normal; color: var(--muted); font-family: var(--font); font-size: .95rem; }
.bigquote cite b { color: var(--ink); font-weight: 600; }

/* Final CTA */
.final { text-align: center; padding: 40px 0; }
.final h2 { font-size: clamp(2.2rem, 6vw, 5rem); font-weight: 500; color: var(--ink); letter-spacing: -.02em; margin-bottom: 30px; line-height: 1.02; }
.final .lede__actions { justify-content: center; }
