/* ==========================================================================
   MAD Frames — stylesheet
   Hand-written, no framework. Sections are in page order.
   ========================================================================== */

/* ---- Fonts (self-hosted, latin subset, variable weight) ----------------- */
@font-face {
  font-family: "Jakarta";
  src: url("../fonts/jakarta-latin.woff2") format("woff2");
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

/* ---- Tokens -------------------------------------------------------------- */
:root {
  --blue: #2563eb;
  --blue-600: #1d4ed8;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --red: #f43f5e;          /* decorative */
  --red-600: #e11d48;      /* text & buttons on white (AA) */
  --red-700: #be123c;
  --red-50: #fff1f3;
  --red-100: #ffe4e8;
  --yellow: #facc15;
  --yellow-100: #fef3c7;
  --navy: #101828;
  --charcoal: #20242c;
  --ink: #1b2130;
  --muted: #4b5565;
  --line: #e4e7ec;
  --white: #fff;
  --warm: #fff9ed;

  --font-display: "Jakarta", "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgb(16 24 40 / .06), 0 1px 3px rgb(16 24 40 / .08);
  --shadow: 0 12px 32px -12px rgb(16 24 40 / .22);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
  --section-y: clamp(64px, 9vw, 112px);
}

/* ---- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-600); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0; color: var(--navy); letter-spacing: -.02em; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.process :focus-visible, .site-footer :focus-visible, .topbar :focus-visible, .contact-panel :focus-visible { outline-color: var(--yellow); }

.sr-only {
  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: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: .7rem 1rem; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.15em; height: 1.15em; flex: none; }

.text-red { color: var(--red-600); }
.text-blue { color: var(--blue); }
.text-yellow { color: var(--yellow); }
.bg-blue { background: var(--blue); } .bg-red { background: var(--red); } .bg-yellow { background: var(--yellow); }

/* ---- Type scale ---------------------------------------------------------- */
.h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); font-weight: 800; }
.h3 { font-size: 1.25rem; font-weight: 700; }
.h4 { font-size: 1.05rem; font-weight: 700; }
.lead { font-size: 1.2rem; color: var(--ink); line-height: 1.55; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-size: .82rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red-700);
  margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: currentColor; }
.eyebrow-yellow { color: var(--yellow); }
.contact-panel .eyebrow { color: #fff; }
.contact-panel .eyebrow::before { background: var(--yellow); }

.section { padding-block: var(--section-y); position: relative; }
.section-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { text-align: center; max-width: 720px; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.split { display: grid; gap: 1rem 3rem; align-items: end; }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1.2fr 1fr; } }
.section-lead { color: var(--muted); font-size: 1.08rem; margin: .9rem 0 0; }
.section-head.split .section-lead { margin: 0 0 .35rem; }
.on-dark .h2 { color: #fff; }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 46px; padding: .7rem 1.35rem; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 700; font-size: .98rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn .icon { width: 1.05em; height: 1.05em; transition: transform .2s; }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: .5rem 1.05rem; font-size: .92rem; }
.btn-lg { min-height: 52px; padding: .85rem 1.6rem; font-size: 1.02rem; }
.btn-red { background: var(--red-600); color: #fff; box-shadow: 0 8px 20px -10px rgb(225 29 72 / .7); }
.btn-red:hover { background: var(--red-700); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-600); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #253046; }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: #fde047; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-wa { background: #25d366; color: #052e16; }
.btn-wa:hover { background: #1fbf5b; }
.btn[disabled] { opacity: .7; cursor: progress; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--font-display); font-weight: 700; color: var(--navy); text-decoration: none;
}
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover { color: var(--red-600); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-quiet { color: var(--muted); font-weight: 500; font-size: .92rem; }
.link-quiet:hover { color: var(--blue-600); }

/* ---- Top bar ------------------------------------------------------------- */
.topbar { background: var(--navy); color: #cbd5e1; font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.topbar-right { display: flex; align-items: center; gap: 1.4rem; }
.topbar-item { display: inline-flex; align-items: center; gap: .45rem; margin: 0; color: inherit; text-decoration: none; }
.topbar-item .icon { color: var(--yellow); width: 14px; height: 14px; }
a.topbar-item:hover { color: #fff; }
.topbar-social { display: flex; gap: .25rem; }
.topbar-social a { display: grid; place-items: center; width: 32px; height: 32px; color: #cbd5e1; border-radius: 8px; }
.topbar-social a:hover { color: #fff; background: rgb(255 255 255 / .08); }
.topbar-social .icon { width: 16px; height: 16px; }
@media (max-width: 760px) { .topbar-hide { display: none !important; } }

/* ---- Header & navigation ------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgb(16 24 40 / .5); }
.header-inner { display: flex; align-items: center; gap: 1.25rem; height: var(--header-h); }
.brand { text-decoration: none; margin-right: auto; border-radius: 8px; }

.logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--charcoal); }
.logo-mark { width: 50px; height: auto; flex: none; }
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.22rem; letter-spacing: .04em; line-height: 1; white-space: nowrap; }
.logo-word2 { margin-left: .3em; }
.logo--light { color: #fff; }

.nav-list { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  position: relative; display: block; padding: .55rem .8rem; border-radius: 10px;
  color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none;
}
.nav-link::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 3px; border-radius: 3px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-link:hover::after, .nav-link[aria-current="true"]::after { transform: scaleX(1); }
.nav-link[aria-current="true"] { color: var(--navy); }
.nav-cta-mobile { display: none; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; color: var(--navy); cursor: pointer; place-items: center;
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 960px) {
  .menu-toggle { display: grid; }
  .header-cta { display: none; }
  .nav-list {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .75rem var(--gutter) 1.25rem; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgb(16 24 40 / .35);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility 0s .2s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-list.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .nav-link { padding: .9rem .25rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-link::after { display: none; }
  .nav-link[aria-current="true"] { color: var(--red-600); }
  .nav-cta-mobile { display: block; padding-top: 1rem; }
  .nav-cta-mobile .btn { width: 100%; }
}
@media (max-width: 400px) {
  .logo-mark { width: 42px; }
  .logo-text { font-size: 1.05rem; }
}

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #f5f8ff 0%, #fff 100%);
}
.hero-media { position: relative; }
.hero-media picture, .hero-media img { display: block; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 30% 45%; }
.hero-media-tag {
  position: absolute; right: var(--gutter); bottom: 1.25rem; margin: 0; z-index: 1;
  display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border-radius: 999px;
  background: rgb(16 24 40 / .78); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .82rem;
}
.hero-media-tag .icon { color: var(--yellow); width: 1em; height: 1em; }
.hero-grid { position: relative; display: grid; align-items: center; }
.hero-copy { position: relative; }

/* Desktop: photo bleeds off the right edge, fading into the copy panel */
@media (min-width: 960px) {
  .hero { min-height: clamp(560px, calc(100svh - 106px), 720px); display: grid; align-items: center; }
  .hero-media { position: absolute; inset: 0 0 0 auto; width: 52%; }
  .hero-media img { object-position: 0% 45%; }
  .hero-media img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 9%);
  }
  .hero-media-tag { right: 2rem; bottom: 2rem; }
  .hero-grid { padding-block: clamp(48px, 6vw, 88px); }
  .hero-copy { max-width: min(560px, calc(48vw - var(--gutter) - 1.5rem)); padding-left: 1.75rem; }
  .hero-copy::before {
    content: ""; position: absolute; left: 0; top: .4rem; bottom: .4rem; width: 4px; border-radius: 4px;
    background: linear-gradient(180deg, var(--red) 0 33%, var(--yellow) 33% 66%, var(--blue) 66% 100%);
  }
}
/* Mobile / tablet: full-bleed photo on top, copy below */
@media (max-width: 959px) {
  .hero-media { aspect-ratio: 16 / 11; max-height: 60svh; width: 100%; }
  .hero-media img {
    -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 75%, transparent 100%);
  }
  .hero-media-tag { bottom: 1.75rem; }
  .hero-grid { padding-block: 1.25rem clamp(48px, 8vw, 72px); }
}

.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .95rem .4rem .7rem; margin-bottom: 1.4rem;
  background: #fff; border: 1px solid var(--blue-100); border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.pill .icon { color: var(--red); }
.hero-title {
  font-size: clamp(2.4rem, 1rem + 6vw, 4rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -.035em; margin-bottom: 1.4rem;
}
.hero-title .line { display: block; }
@media (min-width: 960px) { .hero-title { font-size: clamp(2.9rem, 4.6vw, 4.3rem); } .hero-title .line { white-space: nowrap; } }
.underline-swash { position: relative; display: inline-block; z-index: 0; }
.underline-swash::after {
  content: ""; position: absolute; z-index: -1; left: -.04em; right: -.04em; bottom: .04em; height: .26em;
  background: var(--yellow); border-radius: .2em; transform: rotate(-1.2deg);
}
.hero-lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: #344054; max-width: 34rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }
.hero-services { display: flex; flex-wrap: wrap; gap: .5rem; }
.hero-services a {
  display: inline-block; padding: .35rem .8rem; border-radius: 999px;
  background: rgb(255 255 255 / .85); border: 1px solid var(--line);
  font-size: .85rem; font-weight: 600; color: #344054; text-decoration: none;
}
.hero-services a:hover { border-color: var(--blue); color: var(--blue-600); }
@media (max-width: 480px) { .hero-actions .btn { flex: 1 1 100%; } }

/* ---- Ticker -------------------------------------------------------------- */
.ticker { position: relative; z-index: 1; background: var(--red-600); color: #fff; overflow: hidden; padding-block: .95rem; }
.ticker-track {
  display: flex; gap: 1.6rem; width: max-content; align-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1rem, .9rem + .6vw, 1.35rem);
  text-transform: uppercase; letter-spacing: .04em; white-space: nowrap;
  animation: ticker 38s linear infinite;
}
.ticker-star { color: var(--yellow); }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---- About --------------------------------------------------------------- */
.about { background: var(--warm); }
.about-grid { display: grid; gap: 2rem 4rem; align-items: start; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-copy p { color: #344054; }
.about-copy .lead { color: var(--navy); font-weight: 500; }
.values { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.values li {
  display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 1rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; color: var(--navy);
}
.value-dot { width: 10px; height: 10px; border-radius: 50%; }

/* ---- Services ------------------------------------------------------------ */
.service-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.service-card {
  --tone: var(--blue); --tone-soft: var(--blue-100); --tone-ink: var(--blue-600);
  position: relative; display: flex; flex-direction: column;
  padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--tone);
  transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.service-card:hover, .service-card:focus-within { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before, .service-card:focus-within::before { transform: scaleX(1); }
.tone-red { --tone: var(--red); --tone-soft: var(--red-100); --tone-ink: var(--red-600); }
.tone-yellow { --tone: var(--yellow); --tone-soft: var(--yellow-100); --tone-ink: #854d0e; }
.service-num {
  position: absolute; top: 1.1rem; right: 1.4rem;
  font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--line);
}
.service-icon {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; margin-bottom: 1.25rem;
  background: var(--tone-soft); color: var(--tone-ink);
  transition: transform .3s;
}
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.05); }
.service-icon .icon { width: 28px; height: 28px; }
.service-card .h3 { margin-bottom: .55rem; }
.service-card > p { color: var(--muted); font-size: .97rem; margin-bottom: 1.1rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.4rem; }
.tags li { font-size: .78rem; font-weight: 600; padding: .25rem .6rem; border-radius: 6px; background: #f2f4f7; color: #344054; }
.service-links { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.1rem; border-top: 1px dashed var(--line); }

/* ---- Portfolio ----------------------------------------------------------- */
.work { background: var(--warm); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2.25rem; }
.filter {
  min-height: 44px; padding: .5rem 1.1rem; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: #fff; color: #344054;
  font-family: var(--font-display); font-weight: 700; font-size: .92rem;
  transition: background-color .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--navy); color: var(--navy); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter.is-active::before { content: "✓ "; color: var(--yellow); }
@media (max-width: 640px) {
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) .4rem; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
}

.work-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(3, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense;
}
.work-item { min-width: 0; animation: fadeUp .4s ease both; }
.shape-landscape { grid-column: span 2; }
.shape-portrait { grid-row: span 2; }
@media (max-width: 900px) { .work-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } }
@media (max-width: 520px) { .work-grid { gap: .75rem; grid-auto-rows: 180px; } }

.work-figure {
  --a: var(--navy); --b: var(--red); --c: #94a3b8; --d: #fff;
  position: relative; margin: 0; height: 100%; border-radius: var(--radius); overflow: hidden;
  display: grid; place-items: center; background: #e9edf3;
}
.work-figure::before {
  content: ""; position: absolute; inset: 0; opacity: .25;
  background-image: radial-gradient(currentColor 1.2px, transparent 1.6px); background-size: 16px 16px;
}
.work-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.work-figure .art { position: relative; width: auto; height: 74%; max-width: 78%; transition: transform .5s; }
.shape-landscape .art { height: 82%; }
.work-item:hover .art, .work-item:hover img { transform: scale(1.05); }
.pal-yellow { background: var(--yellow); color: #a16207; --a: var(--navy); --b: var(--red); --c: #fde68a; --d: #fff; }
.pal-navy { background: var(--navy); color: #475569; --a: #2b3447; --b: var(--blue); --c: #64748b; --d: #e2e8f0; }
.pal-navy .art { --a: #e2e8f0; }
.pal-navy.work-figure .art { filter: none; }
.pal-red { background: var(--red); color: #fecdd3; --a: var(--navy); --b: var(--yellow); --c: #fecdd3; --d: #fff; }
.pal-blue { background: var(--blue); color: #93c5fd; --a: var(--navy); --b: var(--yellow); --c: #bfdbfe; --d: #fff; }
.pal-warm { background: #ffe8c2; color: #f59e0b; --a: var(--navy); --b: var(--blue); --c: #fde68a; --d: #fff; }
/* lens on navy reads better with light rings */
.pal-navy .art circle:first-child { fill: #1e293b; }

.work-caption {
  position: absolute; left: .75rem; bottom: .75rem; right: .75rem;
  display: flex; flex-direction: column; align-items: flex-start; gap: .1rem;
}
.work-caption > span { background: #fff; color: var(--navy); }
.work-cat {
  font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .25rem .55rem; border-radius: 6px 6px 6px 0;
}
.work-title { font-family: var(--font-display); font-weight: 700; font-size: .95rem; padding: .35rem .65rem; border-radius: 0 8px 8px 8px; line-height: 1.25; }
.sample-badge {
  position: absolute; top: .7rem; right: .7rem; padding: .22rem .55rem; border-radius: 6px;
  background: rgb(16 24 40 / .82); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .03em;
}
@media (max-width: 520px) {
  .work-title { font-size: .82rem; padding: .3rem .5rem; }
  .work-item:not(.shape-landscape) .work-cat { display: none; }
  .work-figure .art { height: 62%; margin-top: -18%; }
  .shape-landscape .art { height: 70%; margin-top: -8%; }
  .sample-badge { font-size: .6rem; top: .5rem; right: .5rem; }
  .work-caption { left: .5rem; bottom: .5rem; right: .5rem; }
}
.work-empty { text-align: center; padding: 3rem 1rem; border: 2px dashed var(--line); border-radius: var(--radius); background: #fff; }
.work-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 2rem; }
.note { display: flex; gap: .55rem; align-items: flex-start; max-width: 640px; margin: 0; font-size: .9rem; color: var(--muted); }
.note .icon { margin-top: .2rem; color: var(--blue); }

/* ---- Process (dark, cinematic) ------------------------------------------ */
.process { background: var(--navy); color: #cbd5e1; overflow: hidden; }
.film-edge {
  position: absolute; left: 0; right: 0; top: 0; height: 22px;
  background: repeating-linear-gradient(90deg, transparent 0 14px, rgb(255 255 255 / .12) 14px 30px, transparent 30px 44px);
  mask: linear-gradient(transparent 6px, #000 6px, #000 16px, transparent 16px);
  -webkit-mask: linear-gradient(transparent 6px, #000 6px, #000 16px, transparent 16px);
}
.film-edge-bottom { top: auto; bottom: 0; }
.steps { position: relative; display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps::before {
    content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px;
    background: repeating-linear-gradient(90deg, rgb(255 255 255 / .3) 0 8px, transparent 8px 16px);
  }
}
.step { position: relative; padding: 1.5rem; border-radius: var(--radius); background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .08); }
.step-icon {
  position: relative; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%;
  margin: -2.75rem 0 1rem; border: 6px solid var(--navy); color: var(--navy);
}
@media (min-width: 900px) { .step { text-align: center; } .step-icon { margin-inline: auto; } }
.step-icon .icon { width: 26px; height: 26px; }
.step-1 .step-icon { background: var(--blue); color: #fff; }
.step-2 .step-icon { background: var(--red); color: #fff; }
.step-3 .step-icon { background: var(--yellow); }
.step-4 .step-icon { background: #fff; }
.step-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: .85rem; letter-spacing: .15em; color: var(--yellow); margin-bottom: .3rem; }
.step .h3 { color: #fff; margin-bottom: .5rem; text-transform: uppercase; letter-spacing: .02em; }
.step p { margin: 0; font-size: .95rem; color: #cbd5e1; }
.steps { margin-top: 3.5rem; row-gap: 3rem; }
.center-cta { display: flex; justify-content: center; margin-top: 2.75rem; }
@media (max-width: 899px) {
  .steps { padding-left: 1.75rem; }
  .steps::before { content: ""; position: absolute; left: 0; top: 1rem; bottom: 1rem; width: 2px; background: repeating-linear-gradient(180deg, rgb(255 255 255 / .3) 0 8px, transparent 8px 16px); }
  .step { padding-top: 1.25rem; }
  .step-icon { position: absolute; left: -3.1rem; top: 1rem; margin: 0; width: 52px; height: 52px; border-width: 4px; }
  .step-icon .icon { width: 20px; height: 20px; }
  .steps { row-gap: 1rem; margin-top: 0; }
}

/* ---- Why choose ---------------------------------------------------------- */
.why-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .why-grid { grid-template-columns: .95fr 1.05fr; gap: 4.5rem; } }
.why-visual { position: relative; width: min(100%, 340px); aspect-ratio: 1; margin: 2.5rem auto 0; border-radius: 50%; border: 2px dashed var(--blue-100); }
.why-visual::before { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: var(--blue-50); }
.wv-core { position: absolute; inset: 32%; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: var(--shadow); color: var(--charcoal); }
.wv-core .logo-mark { width: 64%; }
.wv {
  --r: 50%; position: absolute; display: grid; place-items: center; width: 58px; height: 58px; margin: -29px 0 0 -29px;
  border-radius: 18px; color: #fff; box-shadow: var(--shadow-sm);
}
.wv .icon { width: 24px; height: 24px; }
.wv-1 { left: 50%; top: 0; background: var(--yellow); color: var(--navy); }
.wv-2 { left: 93.3%; top: 25%; background: var(--blue); }
.wv-3 { left: 93.3%; top: 75%; background: var(--red-600); }
.wv-4 { left: 50%; top: 100%; background: var(--navy); }
.wv-5 { left: 6.7%; top: 75%; background: var(--yellow); color: var(--navy); }
.wv-6 { left: 6.7%; top: 25%; background: var(--blue); }
.why-list { display: grid; gap: 1rem; }
@media (min-width: 600px) { .why-list { grid-template-columns: 1fr 1fr; } }
.why-item { display: flex; gap: 1rem; padding: 1.25rem; border-radius: var(--radius); background: #f8fafc; border: 1px solid #eef1f5; transition: background-color .2s, border-color .2s; }
.why-item:hover { background: #fff; border-color: var(--blue-100); }
.why-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--blue-100); color: var(--blue-600); }
.why-item:nth-child(3n+2) .why-icon { background: var(--red-100); color: var(--red-600); }
.why-item:nth-child(3n) .why-icon { background: var(--yellow-100); color: #854d0e; }
.why-item .h4 { margin-bottom: .3rem; }
.why-item p { margin: 0; font-size: .93rem; color: var(--muted); }

/* ---- Use cases ----------------------------------------------------------- */
.usecases { background: var(--blue-50); }
.usecase-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.usecase { padding: 1.4rem; border-radius: var(--radius); background: #fff; border: 1px solid #e3ebfb; transition: transform .2s, box-shadow .2s; }
.usecase:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.usecase-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: .9rem; }
.usecase .h4 { margin-bottom: .3rem; }
.usecase p { margin: 0; color: var(--muted); font-size: .92rem; }
.uc-0 .usecase-icon { background: var(--blue); color: #fff; }
.uc-1 .usecase-icon { background: var(--red-600); color: #fff; }
.uc-2 .usecase-icon { background: var(--yellow); color: var(--navy); }
.uc-3 .usecase-icon { background: var(--navy); color: #fff; }
@media (max-width: 520px) {
  .usecase-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .usecase { padding: 1rem; }
  .usecase p { font-size: .84rem; }
  .usecase .h4 { font-size: .95rem; }
}

/* ---- Trust --------------------------------------------------------------- */
.trust-grid { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.trust-card { display: flex; flex-direction: column; align-items: flex-start; padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.trust-card p { color: var(--muted); flex: 1; }
.trust-card .h3 { margin-bottom: .5rem; }
.trust-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 1.25rem; }
.trust-icon .icon { width: 28px; height: 28px; }
.trust-google { background: linear-gradient(180deg, var(--blue-50), #fff 55%); }
.trust-google .trust-icon { background: var(--blue); color: #fff; }
.trust-insta { background: linear-gradient(180deg, var(--red-50), #fff 55%); }
.trust-insta .trust-icon { background: linear-gradient(135deg, var(--yellow), var(--red) 55%, #a855f7); color: #fff; }
.trust-yt { background: linear-gradient(180deg, #fffbea, #fff 55%); }
.trust-yt .trust-icon { background: var(--navy); color: #fff; }

/* ---- Contact ------------------------------------------------------------- */
.contact { background: linear-gradient(180deg, #fff 0, #fff 30%, var(--wa-50) 30%); }
.contact-wrap { display: grid; gap: 1.5rem; align-items: stretch; }
@media (min-width: 960px) { .contact-wrap { grid-template-columns: 1fr 1.1fr; gap: 0; } }
.contact-panel {
  position: relative; overflow: hidden; color: #e0ecff;
  padding: clamp(2rem, 4vw, 3.25rem); border-radius: var(--radius-lg); background: var(--blue-600);
}
@media (min-width: 960px) { .contact-panel { border-radius: var(--radius-lg) 0 0 var(--radius-lg); padding-right: 4.5rem; margin-block: 2rem; } }
.contact-panel .h2 { color: #fff; position: relative; }
.contact-lead { color: #e0ecff; font-size: 1.1rem; position: relative; margin: 1rem 0 1.75rem; }
.cp-shape { position: absolute; border-radius: 50%; pointer-events: none; }
.cp-1 { width: 220px; height: 220px; right: -90px; bottom: -90px; background: var(--yellow); opacity: .95; }
.cp-2 { width: 130px; height: 130px; right: -50px; top: -50px; border: 18px solid var(--red); opacity: .9; }
.channels { position: relative; display: grid; gap: .65rem; }
.channel {
  display: flex; align-items: center; gap: .85rem; padding: .8rem 1rem; border-radius: 16px;
  background: #2a59dd; border: 1px solid rgb(255 255 255 / .22); color: #fff; text-decoration: none; position: relative; z-index: 1;
  transition: background-color .2s, transform .2s;
}
.channel:hover { background: #3363e3; transform: translateX(3px); }
.channel .icon { width: 22px; height: 22px; }
.channel strong { display: block; font-family: var(--font-display); font-size: .98rem; }
.channel small { display: block; color: #e8efff; font-size: .82rem; }
.channel-wa { background: #25d366; border-color: #25d366; color: #052e16; }
.channel-wa small { color: #064e3b; }
.channel-wa:hover { background: #1fbf5b; }
.hours { position: relative; display: flex; gap: .5rem; align-items: center; margin: 1.25rem 0 0; }

.form-hint { font-size: .88rem; color: var(--muted); margin-bottom: 1.5rem; }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: .4rem; color: var(--navy); }
.req { color: var(--red-600); }
.optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem .95rem; font-size: 1rem; /* 16px prevents iOS zoom */
  border: 1.5px solid #cfd5df; border-radius: 12px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23101828' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.5rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #98a2b3; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(37 99 235 / .18); }
.field [aria-invalid="true"] { border-color: var(--red-600); background: #fffafa; }
.field-error { margin: .35rem 0 0; font-size: .86rem; color: var(--red-700); font-weight: 500; min-height: 0; }
.field-error:empty { display: none; }
.field-error::before { content: "⚠ "; }
.form-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
@media (max-width: 520px) { .form-actions .btn { flex: 1 1 100%; } }
.form-status:empty { display: none; }
.form-status { margin-top: 1.25rem; padding: 1rem 1.1rem; border-radius: 14px; border: 1.5px solid; font-size: .95rem; }
.form-status p { margin: 0; }
.form-status[data-state="ok"] { background: #ecfdf3; border-color: #6ce9a6; color: #054f31; }
.form-status[data-state="err"] { background: #fff1f3; border-color: #fda4af; color: #9f1239; }
.form-status[data-state="warn"] { background: #fffaeb; border-color: #fcd34d; color: #7a2e0e; }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #cbd5e1; font-size: .94rem; }
.footer-stripe { display: grid; grid-template-columns: 2fr 1fr 1fr; height: 6px; }
.footer-stripe span:nth-child(1) { background: var(--blue); }
.footer-stripe span:nth-child(2) { background: var(--red); }
.footer-stripe span:nth-child(3) { background: var(--yellow); }
.footer-grid { display: grid; gap: 2.5rem 2rem; padding-block: 4rem 3rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr .8fr 1fr 1.2fr; } }
.footer-brand > a { display: inline-block; text-decoration: none; margin-bottom: 1.1rem; border-radius: 8px; }
.footer-brand p { max-width: 340px; }
.footer-title { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col li + li { margin-top: .55rem; }
.footer-col a { color: #cbd5e1; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact .icon { margin-top: .25rem; color: var(--yellow); }
.social-row { display: flex; gap: .5rem; }
.social-row a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgb(255 255 255 / .07); color: #fff; transition: background-color .2s; }
.social-row a:hover { background: var(--red-600); }
.social-row .icon { width: 20px; height: 20px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem;
  padding-block: 1.5rem 2rem; border-top: 1px solid rgb(255 255 255 / .1); font-size: .86rem; color: #98a2b3;
}
.footer-bottom p { margin: 0; }
.credit { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.credit-line { display: inline-flex; align-items: center; gap: .4rem; }
.credit-line .icon { width: 15px; height: 15px; color: var(--yellow); }
.credit-brand { color: #fff; font-weight: 700; text-decoration: none; background-image: linear-gradient(var(--yellow), var(--yellow)); background-size: 100% 2px; background-position: 0 100%; background-repeat: no-repeat; padding-bottom: 1px; }
.credit-brand:hover { color: var(--yellow); }
.credit-cta {
  display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .8rem; border-radius: 999px;
  border: 1px solid rgb(250 204 21 / .55); color: var(--yellow); font-weight: 600; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.credit-cta .icon { width: 14px; height: 14px; transition: transform .2s; }
.credit-cta:hover { background: var(--yellow); color: var(--navy); }
.credit-cta:hover .icon { transform: translateX(3px); }

/* ---- 404 ----------------------------------------------------------------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; background: var(--blue-50); padding-block: 5rem; }
.notfound-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 18vw, 10rem); line-height: 1; color: var(--navy); letter-spacing: -.05em; }
.notfound-code span { color: var(--red-600); }
.notfound .hero-actions { justify-content: center; margin-top: 2rem; }

/* ---- Motion -------------------------------------------------------------- */
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes blink { to { visibility: hidden; } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding-inline: var(--gutter); }
  .ticker-track > :nth-child(n+13) { display: none; }
}

@media print {
  .topbar, .site-header, .ticker, .filters, .order-form, .wa-float { display: none !important; }
}

/* ---- Small-screen refinements ------------------------------------------- */
@media (max-width: 600px) {
  .cp-2 { display: none; }
}

/* ---- WhatsApp ordering --------------------------------------------------- */
:root { --wa: #25d366; --wa-ink: #0f7a3d; --wa-50: #effcf3; }
.text-wa { color: var(--wa-ink); }
.btn-block { width: 100%; }

.hero-wa { margin: -1rem 0 1.6rem; }
.hero-wa a { display: inline-flex; align-items: center; gap: .45rem; color: #344054; text-decoration: none; font-size: .95rem; }
.hero-wa a > .icon:first-child { color: var(--wa-ink); width: 1.3em; height: 1.3em; }
.hero-wa strong { color: var(--wa-ink); text-decoration: underline; text-underline-offset: 3px; }
.hero-wa a:hover strong { color: #0a5c2d; }

.link-wa { display: inline-flex; align-items: center; gap: .3rem; font-family: var(--font-display); font-weight: 700; font-size: .92rem; color: var(--wa-ink); text-decoration: none; }
.link-wa:hover { text-decoration: underline; }
.service-links { flex-wrap: wrap; gap: .6rem 1rem; }

.order-steps { position: relative; display: grid; gap: .7rem; margin: 0 0 1.75rem; }
.order-steps li { display: flex; align-items: center; gap: .85rem; font-weight: 600; color: #fff; }
.order-steps span {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--wa); color: #052e16; font-family: var(--font-display); font-weight: 800;
}

.order-form {
  position: relative; z-index: 1; padding: clamp(1.5rem, 3.5vw, 2.5rem); border-radius: var(--radius-lg); background: #fff;
  border: 1px solid #d3f5df; box-shadow: 0 30px 60px -34px rgb(15 122 61 / .45);
}
@media (min-width: 960px) { .order-form { margin-left: -2rem; } }
.order-empty p { color: var(--muted); }
.order-form .h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.4rem; margin-bottom: 1.4rem; }
.order-form .h3 .icon { color: var(--wa-ink); }
.order-form .field input:focus, .order-form .field select:focus, .order-form .field textarea:focus { border-color: var(--wa-ink); box-shadow: 0 0 0 4px rgb(37 211 102 / .22); }
.field-hint { margin: .35rem 0 0; font-size: .84rem; color: var(--muted); }
.choice { border: 0; padding: 0; margin: 0 0 1.1rem; }
.choice legend { font-weight: 600; font-size: .93rem; color: var(--navy); margin-bottom: .45rem; padding: 0; }
.choice label { display: inline-flex; align-items: center; gap: .45rem; margin: 0 .5rem .5rem 0; padding: .55rem .9rem; min-height: 44px; border: 1.5px solid #cfd5df; border-radius: 999px; cursor: pointer; font-size: .93rem; white-space: nowrap; }
.choice label:has(input:checked) { border-color: var(--wa-ink); background: var(--wa-50); color: #064e3b; font-weight: 600; }
.choice input { accent-color: var(--wa-ink); width: 18px; height: 18px; margin: 0; }
.order-preview { margin: .5rem 0 1.25rem; border-radius: 14px; background: #e7f6ec; padding: .9rem 1rem; border: 1px solid #c7ecd4; }
.order-preview-title { margin: 0 0 .4rem; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--wa-ink); }
.order-preview pre { margin: 0; white-space: pre-wrap; word-break: break-word; font: .88rem/1.5 var(--font-body); color: #1f2a37; max-height: 220px; overflow: auto; }
.order-hint { margin: .75rem 0 0; text-align: center; }

.ig-list { width: 100%; display: grid; gap: .45rem; }
.ig-list a { display: flex; align-items: center; gap: .55rem; padding: .6rem .85rem; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 600; text-decoration: none; min-height: 44px; }
.ig-list a:hover { border-color: var(--red); color: var(--red-700); }
.ig-list a > .icon:first-child { color: var(--red-600); }
.ig-list a > .icon:last-child { margin-left: auto; width: 1em; height: 1em; opacity: .6; }
.ig-list small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.trust-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  display: inline-flex; align-items: center; gap: .55rem; min-height: 56px; padding: 0 1.15rem 0 1rem;
  border-radius: 999px; background: var(--wa); color: #052e16; text-decoration: none;
  font-family: var(--font-display); font-weight: 800; font-size: .95rem;
  box-shadow: 0 12px 28px -10px rgb(5 46 22 / .55);
  transition: transform .25s, opacity .25s, visibility .25s;
}
.wa-float .icon { width: 26px; height: 26px; }
.wa-float:hover { transform: translateY(-2px); background: #1fbf5b; }
.wa-float.is-hidden { opacity: 0; visibility: hidden; transform: translateY(12px); }
@media (max-width: 600px) {
  .wa-float { width: 56px; padding: 0; justify-content: center; }
  .wa-float-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site-footer { padding-bottom: 72px; }
}
.topbar-item { white-space: nowrap; }
@media (max-width: 420px) {
  .topbar-loc { display: none; }
  .topbar-inner { justify-content: flex-end; }
}
@media (max-width: 480px), (min-width: 960px) and (max-width: 1200px) { .hero-wa-q { display: none; } }
.nav-link, .header-cta { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1120px) {
  .header-inner { gap: .75rem; }
  .nav-link { padding-inline: .55rem; font-size: .92rem; }
  .nav-link::after { left: .55rem; right: .55rem; }
}
@media (max-width: 1100px) { .topbar-tagline { display: none; } }
.ig-label { display: block; font-size: .8rem; color: #98a2b3; margin-bottom: .35rem; }
.ig-list small { margin-top: .1rem; }
.footer-contact .ig-acc { display: block; }
