/* =====================================================================
   AdINK MEDIA — public site styles
   Mobile-first. Brand colours are injected as CSS variables from the
   admin panel (Settings → Brand) via <style> in the layout head.
   ===================================================================== */

/* Manrope (variable, SIL Open Font License) — self-hosted for speed and privacy */
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --brand-primary: #5B3DF5;
  --brand-accent: #FF6B2C;
  --brand-ink: #0E1330;

  --ink: var(--brand-ink);
  --ink-2: #262B45;
  --ink-3: #424760;
  --ink-line: #364076;
  --violet: var(--brand-primary);
  --violet-soft: #EBE7FE;
  --violet-bright: #A08EFF;
  --violet-a55: rgba(91, 61, 245, .55);
  --ink-a94: rgba(14, 19, 48, .94);
  --orange: var(--brand-accent);
  --paper: #ffffff;
  --mist: #F2F3F8;
  --line: #E2E4EE;
  --text: var(--brand-ink);
  --muted: #4A5070;
  --on-dark: #ffffff;
  --on-dark-muted: #B9BEDA;
  --success: #12805C;
  --danger: #C2311A;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-display: clamp(2.4rem, 1.3rem + 4.6vw, 4.75rem);
  --fs-h1: clamp(2.2rem, 1.3rem + 3.8vw, 4.2rem);
  --fs-h2: clamp(1.85rem, 1.25rem + 2.4vw, 3.1rem);
  --fs-h3: clamp(1.2rem, 1.1rem + .4vw, 1.4rem);
  --fs-lead: clamp(1.075rem, 1rem + .35vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;

  --r-xl: 32px;
  --r-lg: 20px;
  --r-md: 12px;
  --pill: 999px;
  --shadow-1: 0 1px 2px rgba(14, 19, 48, .06), 0 8px 24px -12px rgba(14, 19, 48, .18);
  --shadow-2: 0 24px 60px -24px rgba(14, 19, 48, .35);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 6vw + 40px, 132px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: var(--fs-body); line-height: 1.65; color: var(--text);
  background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.08; letter-spacing: -.025em; font-weight: 800; text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--violet); color: #fff; }
.visually-hidden { 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: absolute; left: 16px; top: -60px; z-index: 200; background: var(--orange); color: var(--ink); padding: 10px 16px; border-radius: var(--r-md); font-weight: 700; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(780px + var(--gutter) * 2); }
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark .muted, .section--dark .lead { color: var(--on-dark-muted); }
.section--tight { padding-block: calc(var(--section) * .6); }
.muted { color: var(--muted); }
.lead { font-size: var(--fs-lead); color: var(--muted); line-height: 1.6; max-width: 62ch; }
.measure { max-width: 66ch; }

/* Section heading: left aligned, editorial */
.section-head { display: grid; gap: 16px 48px; margin-bottom: clamp(36px, 4vw, 64px); }
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head p { margin: 0; max-width: 52ch; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.2fr 1fr; align-items: end; }
  .section-head--split p { justify-self: end; }
}

/* The brand dot — echoes the dot in the AdINK mark */
.dot { display: inline-block; width: .42em; height: .42em; border-radius: 50%; background: var(--orange); vertical-align: .08em; margin-left: .06em; }

/* ---------------------------------------------------------- buttons */
.btn {
  --bg: var(--violet); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: var(--pill); border: 2px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s var(--ease), border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(14, 19, 48, .45); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--accent { --bg: var(--orange); --fg: var(--ink); }
.btn--dark { --bg: var(--ink); --fg: #fff; }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.btn--ghost:hover { --bd: var(--ink); box-shadow: none; }
.btn--ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.28); }
.btn--ghost-light:hover { --bd: #fff; box-shadow: none; }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .7; pointer-events: none; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--violet); }
.text-link .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.text-link:hover .icon { transform: translate(2px, -2px); }
.section--dark .text-link { color: var(--violet-bright); }

/* ----------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: #fff; transition: background-color .3s, box-shadow .3s, height .3s;
}
.site-header.is-scrolled { background: var(--ink-a94); box-shadow: 0 1px 0 rgba(255,255,255,.08); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.main-nav { margin-left: auto; display: none; position: relative; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a { position: relative; display: block; padding: 10px 14px; font-weight: 600; font-size: .9688rem; text-decoration: none; color: var(--on-dark-muted); border-radius: var(--pill); transition: color .2s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; }
.nav-indicator { position: absolute; bottom: 0; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); transform: translateX(var(--x, 0)); opacity: var(--o, 0); transition: transform .35s var(--ease), opacity .25s; pointer-events: none; }
.header-cta { display: none; }
.nav-toggle {
  margin-left: auto; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: transparent; color: #fff; cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
@media (min-width: 1100px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 150; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(5, 8, 24, .6); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute; inset: 0 0 0 auto; width: min(420px, 100%); background: var(--ink); color: #fff;
  display: flex; flex-direction: column; padding: 20px var(--gutter) 28px; transform: translateX(100%);
  transition: transform .35s var(--ease); overflow-y: auto; overscroll-behavior: contain;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.drawer__top img { height: 34px; width: auto; }
.drawer nav ul { list-style: none; margin: 0; padding: 0; }
.drawer nav a { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.08); }
.drawer nav a[aria-current="page"]::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.drawer__foot { margin-top: auto; padding-top: 28px; display: grid; gap: 16px; color: var(--on-dark-muted); font-size: var(--fs-small); }
body.no-scroll { overflow: hidden; }

/* ------------------------------------------------------------- hero */
.hero { position: relative; background: var(--ink); color: #fff; padding: calc(var(--header-h) + clamp(40px, 6vw, 88px)) 0 clamp(64px, 7vw, 120px); overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; z-index: -1; width: 70vmax; height: 70vmax; right: -28vmax; top: -30vmax; border-radius: 50%;
  background: radial-gradient(closest-side, var(--violet-a55), transparent 72%);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(-6vmax, 4vmax) scale(1.08); } }
.hero__grid { display: grid; gap: 48px; align-items: center; }
.hero h1 { font-size: var(--fs-display); letter-spacing: -.04em; line-height: 1.02; margin-bottom: 24px; max-width: 15ch; }
.hero .lead { color: var(--on-dark-muted); margin-bottom: 32px; }
.hero__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 0; padding: 0; }
.hero__chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--pill); border: 1px solid rgba(255,255,255,.14); font-size: .875rem; font-weight: 600; color: var(--on-dark-muted); }
.hero__chips .icon { width: 16px; height: 16px; color: var(--violet-bright); }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 40px; } }

/* Signature: the ink line through campaign artifacts */
.ink-stage { position: relative; aspect-ratio: 1 / 1; max-width: 600px; width: 100%; margin-inline: auto; }
.ink-stage svg.ink-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ink-line path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ink-line .stroke-main { stroke: url(#inkGrad); stroke-width: 34; stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000); animation: draw 2.4s .3s var(--ease) forwards; }
.ink-line .stroke-ghost { stroke: rgba(255,255,255,.07); stroke-width: 34; }
.ink-line .ink-dot { fill: var(--orange); transform-origin: center; transform-box: fill-box; transform: scale(0); animation: pop .5s 2.5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { transform: scale(1); } }
.artifact { position: absolute; background: #fff; color: var(--ink); border-radius: 18px; box-shadow: var(--shadow-2); padding: 14px; font-size: .8125rem; line-height: 1.35; opacity: 0; transform: translateY(14px); animation: rise .7s var(--ease) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.artifact--search { left: 0; top: 6%; width: 64%; animation-delay: .6s; }
.artifact--social { right: 0; top: 30%; width: 44%; padding: 10px; animation-delay: 1.1s; }
.artifact--ad { left: 8%; bottom: 4%; width: 56%; animation-delay: 1.6s; }
.artifact__bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--pill); background: var(--mist); color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.artifact__bar .icon { width: 14px; height: 14px; }
.artifact__url { color: var(--success); font-size: .75rem; }
.artifact__title { font-weight: 800; color: var(--violet); font-size: .9375rem; margin: 2px 0; }
.artifact__img { border-radius: 12px; aspect-ratio: 4 / 3; background: var(--violet); position: relative; overflow: hidden; margin-bottom: 10px; }
.artifact__img::before { content: ""; position: absolute; width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--orange); right: -8%; top: -10%; }
.artifact__img::after { content: ""; position: absolute; left: 12%; bottom: 14%; width: 46%; height: 12px; border-radius: 6px; background: #fff; box-shadow: 0 20px 0 -2px rgba(255,255,255,.6); }
.artifact__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 700; }
.artifact__row .icon { width: 16px; height: 16px; color: var(--orange); }
.artifact__label { display: inline-block; font-size: .6875rem; font-weight: 800; color: var(--muted); margin-bottom: 6px; }
.artifact__cta { margin-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.artifact__cta span:last-child { background: var(--ink); color: #fff; padding: 7px 12px; border-radius: var(--pill); font-weight: 700; font-size: .75rem; white-space: nowrap; }
@media (max-width: 520px) {
  .artifact { font-size: .6875rem; padding: 10px; border-radius: 14px; }
  .artifact__title { font-size: .8125rem; }
  .artifact__bar { padding: 6px 10px; margin-bottom: 8px; }
}

/* Sub-page hero */
.page-hero { background: var(--ink); color: #fff; padding: calc(var(--header-h) + clamp(40px, 5vw, 80px)) 0 clamp(48px, 5vw, 88px); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::after { content: ""; position: absolute; z-index: -1; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 48px solid var(--violet-a55); }
.page-hero h1 { max-width: 18ch; margin-bottom: 20px; }
.page-hero .lead { color: var(--on-dark-muted); }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 24px; color: var(--on-dark-muted); font-size: var(--fs-small); }
.page-hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.page-hero__meta .icon { width: 16px; height: 16px; }
.page-hero__icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; background: var(--violet); margin-bottom: 24px; }
.page-hero__icon .icon { width: 30px; height: 30px; }

.breadcrumbs { margin-bottom: 20px; font-size: .875rem; color: var(--on-dark-muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; opacity: .5; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs [aria-current] { color: #fff; }

/* ---------------------------------------------------- intro / strip */
.intro { display: grid; gap: 28px 64px; }
.intro h2 { margin: 0; }
@media (min-width: 900px) { .intro { grid-template-columns: 1.1fr 1fr; } }
.marquee { margin-top: clamp(48px, 6vw, 88px); border-block: 1px solid var(--line); overflow: hidden; padding-block: 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee ul { list-style: none; display: flex; align-items: center; margin: 0; padding: 0; }
.marquee li { display: inline-flex; align-items: center; gap: clamp(20px, 3vw, 40px); padding-right: clamp(20px, 3vw, 40px); font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.marquee li::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------- services */
.service-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .service-grid { grid-template-columns: repeat(3, 1fr); } .service-grid--home { grid-template-columns: repeat(4, 1fr); } }
.service-card {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--r-lg);
  background: var(--paper); border: 1px solid var(--line); text-decoration: none; min-height: 100%;
  transition: border-color .25s, transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service-card:hover { border-color: var(--violet); transform: translateY(-4px); box-shadow: var(--shadow-1); }
.service-card__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--violet-soft); color: var(--violet); transition: background-color .25s, color .25s; }
.service-card:hover .service-card__icon { background: var(--violet); color: #fff; }
.service-card__icon .icon { width: 24px; height: 24px; }
.service-card h3 { margin: 8px 0 0; }
.service-card p { color: var(--muted); font-size: var(--fs-small); margin: 0; flex: 1; }
.service-card .text-link { margin-top: 8px; font-size: .9375rem; }
.service-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-card .text-link { position: relative; z-index: 1; }
.service-card--feature { background: var(--ink); color: #fff; border-color: var(--ink); }
.service-card--feature p { color: var(--on-dark-muted); }
.service-card--feature .service-card__icon { background: var(--violet); color: #fff; }
.service-card--feature .text-link { color: var(--violet-bright); }
@media (min-width: 640px) { .service-card--feature { grid-column: span 2; } .service-card--feature h3 { font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); } }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--paper); font-weight: 600; font-size: .9375rem; text-decoration: none; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip__count { font-size: .8125rem; opacity: .7; }

.service-group { margin-bottom: 56px; }
.service-group:last-child { margin-bottom: 0; }
.service-group__title { display: flex; align-items: center; gap: 12px; font-size: 1.125rem; margin-bottom: 20px; color: var(--muted); font-weight: 700; letter-spacing: 0; }
.service-group__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ------------------------------------------------------------- why */
.why { display: grid; gap: 48px; }
.why__intro { align-self: start; }
@media (min-width: 960px) { .why { grid-template-columns: .9fr 1.1fr; gap: 80px; } .why__intro { position: sticky; top: calc(var(--header-h) + 40px); } }
.why__list { list-style: none; margin: 0; padding: 0; counter-reset: why; }
.why__list li { display: grid; grid-template-columns: 22px 1fr; gap: 6px 20px; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.12); }
.why__list li:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.why__list li::before { content: ""; width: 12px; height: 12px; margin-top: 10px; border-radius: 50%; background: var(--orange); grid-row: span 2; }
.why__list h3 { margin: 0; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); }
.why__list p { margin: 0; color: var(--on-dark-muted); max-width: 54ch; }

/* -------------------------------------------------------- projects */
.project-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .project-grid { grid-template-columns: repeat(3, 1fr); } .project-grid--feature .project-card:first-child { grid-column: span 2; grid-row: span 2; } .project-grid--feature .project-card:first-child .project-card__media { aspect-ratio: auto; flex: 1; min-height: 420px; } }
.project-card { position: relative; display: flex; flex-direction: column; text-decoration: none; }
.project-card__media { position: relative; aspect-ratio: 3 / 2; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project-card:hover .project-card__media img { transform: scale(1.04); }
.project-card__tags { position: absolute; left: 14px; top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: var(--pill); font-size: .8125rem; font-weight: 700; background: #fff; color: var(--ink); line-height: 1.2; }
.tag--sample { background: var(--orange); color: var(--ink); }
.tag--violet { background: var(--violet-soft); color: var(--violet); }
.project-card__body { padding-top: 18px; }
.project-card__body h3 { margin-bottom: 6px; transition: color .2s; }
.project-card:hover h3 { color: var(--violet); }
.project-card__body p { color: var(--muted); font-size: var(--fs-small); margin: 0; }
.project-card__meta { font-size: .875rem; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.empty-state { padding: 48px 24px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r-lg); color: var(--muted); }
.empty-state h3 { color: var(--ink); }

.search-field { position: relative; flex: 1 1 260px; max-width: 360px; }
.search-field .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search-field input { width: 100%; min-height: 48px; padding: 12px 16px 12px 44px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--paper); }
.search-field input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-soft); }
.toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.toolbar .filter-bar { margin: 0; }

/* --------------------------------------------------------- process */
.process-wrap { position: relative; }
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.process li { position: relative; padding: 0 0 40px 72px; }
.process li:last-child { padding-bottom: 0; }
.process__num { position: absolute; left: 0; top: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 800; font-size: 1.125rem; z-index: 1; }
.process li:last-child .process__num { background: var(--orange); color: var(--ink); }
.process__rail { position: absolute; left: 24px; top: 26px; bottom: 26px; width: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.process__rail span { position: absolute; inset: 0; background: var(--violet); transform-origin: top; transform: scaleY(var(--progress, 0)); transition: transform .2s linear; }
.process h3 { margin: 10px 0 8px; font-size: clamp(1.35rem, 1.15rem + .8vw, 1.8rem); }
.process p { color: var(--muted); margin: 0; max-width: 40ch; }
@media (min-width: 900px) {
  .process { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .process li { padding: 80px 0 0; }
  .process__rail { left: 26px; right: 26px; top: 24px; bottom: auto; width: auto; height: 4px; }
  .process__rail span { transform-origin: left; transform: scaleX(var(--progress, 0)); }
}

/* -------------------------------------------------------- packages */
.package-grid { display: grid; gap: 20px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 900px) { .package-grid { grid-template-columns: repeat(3, 1fr); } }
.package { position: relative; display: flex; flex-direction: column; padding: clamp(28px, 3vw, 40px); border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--paper); }
.package--featured { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-2); }
.package__badge { position: absolute; top: 24px; right: 24px; background: var(--orange); color: var(--ink); font-size: .8125rem; font-weight: 800; padding: 6px 12px; border-radius: var(--pill); }
.package h3 { font-size: 1.75rem; margin-bottom: 8px; }
.package__desc { color: var(--muted); font-size: var(--fs-small); min-height: 3.3em; }
.package--featured .package__desc, .package--featured .package__note { color: var(--on-dark-muted); }
.package__price { margin: 20px 0 6px; font-size: clamp(2rem, 1.6rem + 1.2vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.package__price small { font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.package--featured .package__price small { color: var(--on-dark-muted); }
.package__price--quote { font-size: clamp(1.5rem, 1.3rem + .6vw, 1.85rem); }
.package__note { font-size: .875rem; color: var(--muted); margin-bottom: 24px; }
.package ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; flex: 1; }
.package li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: var(--fs-small); line-height: 1.45; }
.package li .icon { width: 20px; height: 20px; color: var(--violet); margin-top: 1px; }
.package--featured li .icon { color: var(--violet-bright); }
.package li.is-addon { color: var(--muted); }
.package--featured li.is-addon { color: var(--on-dark-muted); }
.package li.is-addon .icon { color: var(--orange); }
.package li.is-excluded { color: var(--muted); text-decoration: line-through; opacity: .7; }
.addon-label { font-size: .75rem; font-weight: 800; color: var(--orange); margin-left: 4px; white-space: nowrap; }

.notice { display: flex; gap: 14px; padding: 20px 24px; border-radius: var(--r-lg); background: var(--violet-soft); color: var(--ink); font-size: var(--fs-small); }
.notice .icon { flex-shrink: 0; width: 22px; height: 22px; color: var(--violet); }
.notice p:last-child { margin: 0; }

.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: var(--fs-small); }
.compare th, .compare td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; position: sticky; left: 0; background: var(--paper); }
.compare thead th { background: var(--mist); font-size: 1rem; }
.compare thead th:first-child { background: var(--mist); }
.compare tr:last-child td { border-bottom: 0; }
.compare .icon { width: 20px; height: 20px; margin: 0 auto; color: var(--violet); }
.compare .is-addon { color: var(--orange); font-weight: 700; font-size: .8125rem; }
.compare .is-none { color: #9AA0BC; }

/* ---------------------------------------------------- testimonials */
.testimonials { position: relative; }
.testi-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.testi-track::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .testi-track { grid-auto-columns: calc(50% - 12px); } }
.testi { scroll-snap-align: start; padding: clamp(28px, 3vw, 44px); border-radius: var(--r-xl); background: var(--ink-2); color: #fff; display: flex; flex-direction: column; gap: 24px; margin: 0; }
.testi blockquote { margin: 0; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.55; font-weight: 500; }
.testi > .icon { color: var(--orange); width: 32px; height: 32px; }
.testi figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testi figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testi figcaption strong { display: block; }
.testi figcaption span { color: var(--on-dark-muted); font-size: var(--fs-small); }
.slider-controls { display: flex; gap: 10px; margin-top: 28px; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); background: transparent; color: #fff; cursor: pointer; transition: background-color .2s, border-color .2s; }
.icon-btn:hover { background: #fff; color: var(--ink); }
.icon-btn .icon { width: 20px; height: 20px; }

/* ------------------------------------------------------------- blog */
.post-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { position: relative; display: flex; flex-direction: column; }
.post-card__media { aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); margin-bottom: 18px; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: .875rem; color: var(--muted); margin-bottom: 10px; }
.post-card__meta .tag { position: relative; z-index: 1; text-decoration: none; }
.post-card h3 { margin-bottom: 8px; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card:hover h3 a { color: var(--violet); }
.post-card p { color: var(--muted); font-size: var(--fs-small); margin: 0; }
.section--mist .post-card__meta .tag { background: #fff; }

.post-feature { display: grid; gap: 28px; align-items: center; margin-bottom: clamp(48px, 6vw, 80px); position: relative; }
.post-feature__media { aspect-ratio: 16 / 10; border-radius: var(--r-xl); overflow: hidden; background: var(--mist); }
.post-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.post-feature h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
.post-feature h2 a { text-decoration: none; }
.post-feature h2 a::after { content: ""; position: absolute; inset: 0; }
.post-feature:hover h2 a { color: var(--violet); }
@media (min-width: 900px) { .post-feature { grid-template-columns: 1.2fr 1fr; gap: 56px; } }

.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 56px; }
.pagination a, .pagination span { min-width: 48px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; border-radius: var(--pill); border: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.pagination a:hover { border-color: var(--ink); }
.pagination [aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .is-disabled { color: #A0A5C0; }

/* Article */
.article-layout { display: grid; gap: 48px; }
@media (min-width: 1040px) { .article-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 72px; } .article-layout--no-toc { grid-template-columns: minmax(0, 1fr); } }
.article-cover { border-radius: var(--r-xl); overflow: hidden; margin-top: calc(var(--section) * -.5); position: relative; z-index: 2; background: var(--mist); box-shadow: var(--shadow-2); }
.article-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; font-size: var(--fs-small); }
.toc h2 { font-size: 1rem; letter-spacing: 0; margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); }
.toc a:hover, .toc a.is-active { color: var(--ink); border-left-color: var(--violet); }
.toc .toc-h3 a { padding-left: 30px; }
@media (max-width: 1039px) { .toc { position: static; padding: 20px 24px; background: var(--mist); border-radius: var(--r-lg); } }

.prose { max-width: 70ch; font-size: 1.125rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }

.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 2em 0 .5em; }
.prose h3 { font-size: 1.35rem; margin: 1.6em 0 .4em; }
.prose a { color: var(--violet); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--orange); font-size: 1.25rem; font-weight: 600; }
.prose img { border-radius: var(--r-lg); }
.prose pre { overflow-x: auto; background: var(--ink); color: #fff; padding: 20px; border-radius: var(--r-md); font-size: .9rem; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose > :first-child { margin-top: 0; }

.article-foot { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); display: grid; gap: 24px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tag-list a { text-decoration: none; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.share strong { margin-right: 6px; }
.share a, .share button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; text-decoration: none; transition: background-color .2s, color .2s; }
.share a:hover, .share button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.share .icon { width: 18px; height: 18px; }
.preview-banner { position: sticky; top: var(--header-h); z-index: 50; background: var(--orange); color: var(--ink); font-weight: 700; text-align: center; padding: 10px var(--gutter); }

/* ---------------------------------------------------- detail pages */
.detail-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .detail-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 80px; } }
.sticky-card { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; padding: 32px; border-radius: var(--r-xl); background: var(--ink); color: #fff; }
.sticky-card h2 { font-size: 1.6rem; }
.sticky-card p { color: var(--on-dark-muted); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.check-list .icon { width: 22px; height: 22px; color: var(--violet); margin-top: 2px; }
.check-list--cols { gap: 14px 32px; }
@media (min-width: 720px) { .check-list--cols { grid-template-columns: 1fr 1fr; } }
.problem-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.problem-list li { padding: 18px 20px; border-radius: var(--r-md); background: var(--mist); font-weight: 600; display: grid; grid-template-columns: 12px 1fr; gap: 14px; align-items: baseline; }
.problem-list li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.block + .block { margin-top: clamp(48px, 5vw, 72px); }
.block h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.steps li { counter-increment: s; padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--paper); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; margin-bottom: 16px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; font-size: var(--fs-small); }

.facts { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-block: 1px solid var(--line); }
.facts div { padding: 20px 20px 20px 0; }
.facts dt { font-size: .875rem; color: var(--muted); font-weight: 600; }
.facts dd { margin: 4px 0 0; font-weight: 700; }
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { font-size: .875rem; color: var(--muted); margin-top: 8px; }

/* ------------------------------------------------------------ about */
.mv-grid { display: grid; gap: 20px; }
@media (min-width: 800px) { .mv-grid { grid-template-columns: 1fr 1fr; } }
.mv { padding: clamp(28px, 3vw, 48px); border-radius: var(--r-xl); background: var(--mist); }
.mv--dark { background: var(--violet); color: #fff; }
.mv h2 { font-size: 1.25rem; letter-spacing: 0; margin-bottom: 16px; }
.mv p { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.75rem); font-weight: 700; line-height: 1.35; letter-spacing: -.015em; margin: 0; }
.value-list { display: grid; gap: 0; list-style: none; padding: 0; margin: 0; }
.value-list li { display: grid; gap: 8px 48px; padding: 28px 0; border-top: 1px solid var(--line); }
.value-list li:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .value-list li { grid-template-columns: 1fr 1.6fr; align-items: baseline; } }
.value-list h3 { margin: 0; font-size: clamp(1.3rem, 1.1rem + .7vw, 1.75rem); }
.value-list p { margin: 0; color: var(--muted); }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pill-list a { display: inline-block; }
.pill-list li, .pill-list a { padding: 12px 20px; border-radius: var(--pill); background: var(--paper); border: 1px solid var(--line); font-weight: 600; text-decoration: none; }
.pill-list a:hover { border-color: var(--violet); color: var(--violet); }
.team-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.team-card { padding: 28px; border-radius: var(--r-lg); background: var(--mist); }
.team-card__avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 800; font-size: 1.25rem; margin-bottom: 18px; }
.team-card h3 { margin-bottom: 4px; }
.team-card p { margin: 0; color: var(--muted); }
.two-col { display: grid; gap: 32px 64px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } .two-col--wide-right { grid-template-columns: .8fr 1.2fr; } }

/* -------------------------------------------------------------- faq */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0; font-size: 1.125rem; letter-spacing: -.01em; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; background: none; border: 0; text-align: left; font-weight: 700; cursor: pointer; color: inherit; line-height: 1.4; }
.faq-q:hover { color: var(--violet); }
.faq-q__icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: transform .3s var(--ease), background-color .2s, color .2s; }
.faq-q__icon .icon { width: 18px; height: 18px; }
.faq-q[aria-expanded="true"] .faq-q__icon { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--muted); padding: 0 56px 24px 0; margin: 0; max-width: 70ch; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.no-js .faq-a { grid-template-rows: 1fr; }

/* -------------------------------------------------------------- cta */
.cta-panel { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); background: var(--violet); color: #fff; padding: clamp(40px, 6vw, 96px) clamp(24px, 5vw, 80px); }
.cta-panel::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -140px; top: -200px; border-radius: 50%; border: 56px solid rgba(255,255,255,.12); }
.cta-panel::after { content: ""; position: absolute; z-index: -1; width: 120px; height: 120px; right: 12%; bottom: 14%; border-radius: 50%; background: var(--orange); }
.cta-panel h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.75rem); max-width: 16ch; }
.cta-panel p { max-width: 54ch; color: rgba(255,255,255,.85); font-size: var(--fs-lead); margin-bottom: 32px; }
@media (max-width: 640px) { .cta-panel::after { width: 64px; height: 64px; right: 24px; bottom: auto; top: 24px; } }

/* ------------------------------------------------------------ forms */
.form-wrap { display: grid; gap: 40px 64px; }
@media (min-width: 960px) { .form-wrap { grid-template-columns: .85fr 1.15fr; } }
.form-card { padding: clamp(24px, 3.5vw, 44px); border-radius: var(--r-xl); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.section--mist .form-card { border-color: transparent; }
.form-grid { display: grid; gap: 18px 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: span 2; } }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-weight: 700; font-size: .9375rem; }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: var(--r-md); border: 1.5px solid var(--line);
  background: var(--paper); font-size: 1rem; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%234A5070' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-soft); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .875rem; font-weight: 600; }
.field-error:empty { display: none; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: var(--fs-small); color: var(--muted); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--violet); cursor: pointer; }
.check a { color: var(--violet); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: var(--r-md); font-weight: 600; font-size: var(--fs-small); }
.form-status.is-visible { display: flex; }
.form-status .icon { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; }
.form-status--success { background: #E4F5EE; color: var(--success); }
.form-status--error { background: #FCE9E5; color: var(--danger); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-actions small { color: var(--muted); }

.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.contact-list__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet); }
.contact-list__icon .icon { width: 22px; height: 22px; }
.contact-list strong { display: block; font-size: .875rem; color: var(--muted); font-weight: 600; }
.contact-list a, .contact-list span { font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--violet); }
.map-embed { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 9; background: var(--mist); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.next-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: n; }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 36px 1fr; gap: 14px; }
.next-steps li::before { content: counter(n); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--violet); color: #fff; font-weight: 800; }
.next-steps strong { display: block; }
.next-steps span { color: var(--on-dark-muted); font-size: var(--fs-small); }

.flash-stack { position: fixed; z-index: 120; left: 50%; bottom: 24px; transform: translateX(-50%); width: min(560px, calc(100% - 32px)); display: grid; gap: 10px; }
.flash { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: var(--r-md); background: var(--ink); color: #fff; box-shadow: var(--shadow-2); font-weight: 600; font-size: var(--fs-small); animation: rise .4s var(--ease) both; }
.flash .icon { width: 20px; height: 20px; flex-shrink: 0; }
.flash--success .icon { color: #5FE0AE; }
.flash--error .icon { color: var(--orange); }
.flash button { margin-left: auto; background: none; border: 0; color: inherit; cursor: pointer; padding: 0; width: 28px; height: 28px; display: grid; place-items: center; }

/* ----------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: clamp(64px, 7vw, 104px) 0 32px; font-size: var(--fs-small); }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 56px; } }
.footer-brand img { height: 52px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 40ch; }
.site-footer h2 { font-size: 1rem; color: #fff; letter-spacing: 0; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--violet-bright); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); color: #fff; transition: background-color .2s, color .2s; }
.socials a:hover { background: #fff; color: var(--ink); text-decoration: none; }
.socials .icon { width: 18px; height: 18px; }
.newsletter { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.newsletter input { flex: 1 1 180px; min-height: 48px; padding: 12px 16px; border-radius: var(--pill); border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; }
.newsletter input::placeholder { color: var(--on-dark-muted); }
.newsletter .form-status { flex-basis: 100%; margin-top: 4px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }

.back-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--ink); border: 0; cursor: pointer; box-shadow: var(--shadow-2); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top .icon { width: 22px; height: 22px; }

/* Error page */
.error-page { min-height: 70vh; display: grid; align-items: center; }
.error-page__code { font-size: clamp(5rem, 3rem + 10vw, 11rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; color: var(--violet); margin-bottom: 16px; }

/* -------------------------------------------------- reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@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; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .ink-line .stroke-main { stroke-dashoffset: 0; }
}

@media print {
  .site-header, .site-footer, .back-to-top, .drawer, .share, .cta-panel { display: none !important; }
  .hero, .page-hero { padding-top: 24px; background: #fff; color: #000; }
}

/* ------------------------------------------------- small-screen refinements */
@media (max-width: 639px) {
  .service-card { display: grid; grid-template-columns: 44px 1fr; gap: 6px 16px; padding: 20px; }
  .service-card__icon { width: 44px; height: 44px; border-radius: 12px; grid-row: span 3; }
  .service-card h3 { margin: 0; font-size: 1.125rem; }
  .service-card .text-link { margin-top: 4px; }
  .artifact--social { top: 24%; }
  .artifact--ad { left: 2%; bottom: 0; width: 58%; }
  .section-head { margin-bottom: 32px; }
  .package { border-radius: var(--r-lg); }
}
