/* elevate.css — homepage-only polish layer, loaded AFTER home-refresh.css.
   Keeps the black + orange palette. Adds: depth tokens, ambient aurora + grain,
   numbered section labels, orange marquee band, cursor-lit cards, shine buttons,
   scroll progress. Every animation has a reduced-motion fallback at the bottom. */

:root {
  --text-secondary: #cdc4b8;   /* was #8a8177 — too dim, read muddy on black */
  --text-primary: #fbf5ec;
  --ember: #E25A3C;
  --amber: #F0A500;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --lift-1: 0 1px 0 rgba(255,255,255,.04) inset, 0 8px 24px rgba(0,0,0,.35);
  --lift-2: 0 1px 0 rgba(255,255,255,.06) inset, 0 18px 48px rgba(0,0,0,.5), 0 0 0 1px rgba(226,90,60,.18);
  --lift-3: 0 1px 0 rgba(255,255,255,.08) inset, 0 30px 80px rgba(0,0,0,.6), 0 0 60px rgba(226,90,60,.14);
}

html { scroll-behavior: smooth; }
::selection { background: var(--ember); color: #fff; }

/* ── Film grain over everything: kills the flat-black look ── */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ── Scroll progress bar ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 10000;
  background: linear-gradient(90deg, var(--ember), var(--amber));
  transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
}

/* ── Orange marquee band: color break between hero and work ── */
.marquee {
  position: relative; overflow: hidden; padding: 1.15rem 0;
  background: linear-gradient(100deg, #c94e32, #E25A3C 45%, #F0A500);
  color: #170c07; transform: rotate(-1.2deg); margin: 1.5rem -2vw 3.5rem; width: 104vw;
  box-shadow: 0 20px 60px rgba(226,90,60,.25);
}
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-item {
  font-family: 'DM Serif Display', Georgia, serif; font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  white-space: nowrap; padding: 0 1.6rem; letter-spacing: -.01em;
}
.marquee-dot { width: .6rem; height: .6rem; border-radius: 50%; background: #170c07; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Numbered section labels with a drawn rule ── */
body { counter-reset: sec; }
.about .section-label, .services .section-label, .work .section-label, .reviews .section-label, .faq-block .section-label {
  counter-increment: sec; display: inline-flex; align-items: center; gap: .9rem;
}
.about .section-label::before, .services .section-label::before, .work .section-label::before,
.reviews .section-label::before, .faq-block .section-label::before {
  content: "0" counter(sec);
  width: auto; height: auto; background: none;
  font-family: 'Outfit', sans-serif; font-weight: 800; color: var(--ember); letter-spacing: .08em;
}
.section-label::after { content: ""; width: 3.5rem; height: 1px; background: linear-gradient(90deg, var(--ember), transparent); }
.section-title { color: #fff6ea; background: none; -webkit-text-fill-color: #fff6ea; }

/* ── Section atmosphere: warm glow pools so black isn't flat ── */
.about, .services, .work, .reviews, .faq-block, .contact-section { position: relative; isolation: isolate; }
.about::before, .work::before, .reviews::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  border-radius: 50%; filter: blur(110px); opacity: .5;
}
.about::before   { right: -20vw; top: -10vw; background: radial-gradient(circle, rgba(226,90,60,.22), transparent 65%); }
.work::before    { left: -22vw; top: 10vw; background: radial-gradient(circle, rgba(240,165,0,.14), transparent 65%); }
.reviews::before { right: -18vw; top: 0; background: radial-gradient(circle, rgba(226,90,60,.18), transparent 65%); }

/* ── Cards: elevation + cursor-lit edge ── */
.glass-card, .niche-card, .review-card, .faq-item, .service-card, .folder-front, .stat {
  position: relative; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s ease, background .35s ease;
  box-shadow: var(--lift-1);
}
.glass-card:hover, .niche-card:hover, .review-card:hover { transform: translateY(-6px); box-shadow: var(--lift-2); border-color: rgba(226,90,60,.4); }
.lit::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(226,90,60,.16), transparent 55%);
}
.lit:hover::before { opacity: 1; }

/* stats: big, bold numbers */
.stat-number {
  font-family: 'DM Serif Display', Georgia, serif; font-size: clamp(2.6rem, 4vw, 3.8rem);
  background: linear-gradient(135deg, #E25A3C, #F0A500); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ── Work + showcase images: zoom + lift ── */
.portfolio-item, .showcase-card { transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.portfolio-image-wrapper { box-shadow: var(--lift-2); }
.portfolio-img { transition: transform .9s var(--ease-out); }
.portfolio-item:hover .portfolio-img { transform: scale(1.06); }
.portfolio-item:hover { transform: translateY(-8px); }
.showcase-card.is-active { box-shadow: var(--lift-3); }

/* ── Buttons: shine sweep + glow ── */
.btn { position: relative; overflow: hidden; transition: transform .2s var(--ease-out), box-shadow .25s ease, background .2s ease, border-color .2s ease; }
.btn-primary { box-shadow: 0 10px 30px rgba(226,90,60,.35); background: linear-gradient(135deg, #d4532f, #E25A3C 55%, #e8801f); }
.btn::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg);
}
.btn:hover::after { left: 130%; transition: left .7s var(--ease-out); }
.btn:active { transform: translateY(0) scale(.97); }
.nav-cta { transition: transform .2s var(--ease-out), background .2s ease, border-color .2s ease, box-shadow .25s ease; }
.nav-cta:hover { box-shadow: 0 8px 24px rgba(226,90,60,.4); transform: translateY(-1px); }

/* nav links: underline draw */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--ember);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); }

/* ── Bottom of the site: black fades into agency ember (contact → footer) ── */
.contact-section {
  overflow: hidden; border-top: 0;
  background: linear-gradient(180deg, var(--bg-color) 0%, #1c0d08 36%, #5b2412 64%, #b8421f 86%, #ef7a45 100%);
}
.contact-section::before { display: none; }
.footer {
  border-top: 0; position: relative;
  background: linear-gradient(180deg, #ef7a45 0%, #c94e32 9%, #6a2914 30%, #2a110a 62%, #120805 100%);
}
.footer, .footer p, .footer .footer-brand p, .footer-links a, .footer-links h3, .copyright, .footer address { color: #fff1e6; }
.footer-links a:hover { color: #fff; }
.footer .nav-logo-mark { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.footer .nav-logo-sub { color: #fff; }
.contact-section .section-desc { color: #f3d9c8; }
.contact-section .section-label { color: #f5b48f; }
.contact-section .btn-primary { background: #fff1e6; color: #1c0d08; box-shadow: 0 14px 40px rgba(0,0,0,.35); }

/* ── Stronger reveal: rises, un-blurs; stagger via data-delay already in base ── */
.animate-on-scroll { filter: blur(6px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), filter .8s var(--ease-out); }
.animate-on-scroll.visible { filter: none; }

/* ── Mobile: calmer ── */
@media (max-width: 700px) {
  .marquee { transform: rotate(-1.5deg); margin-bottom: 2.5rem; }

}

/* ── Reduced motion: finished, static look ── */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .animate-on-scroll { filter: none; }
  .scroll-progress { display: none; }
  .btn::after { display: none; }
}
.review-card { padding: 2.5rem 2.25rem; }

/* ── "How we work" vision board ── */
.board { background: #ecebe6; color: #111; padding: 6.5rem 0 7rem; position: relative; overflow: hidden; border-top: 0; }
.board::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18px;
  background: radial-gradient(circle, #cfcdc6 1.5px, transparent 2px) 0 0 / 22px 18px repeat-x;
}
.board-stage { position: relative; max-width: 1280px; margin: 0 auto; min-height: 1020px; padding: 0 2rem; }
.board-title {
  position: absolute; left: 50%; top: 47%; transform: translate(-50%, -50%); width: 30%; text-align: center; z-index: 3;
  font-family: 'Outfit', sans-serif; font-weight: 800; letter-spacing: -.05em; line-height: .98; color: #0b0b0b;
  font-size: clamp(2.2rem, 4vw, 3.9rem); background: none; -webkit-text-fill-color: initial;
}
.board-title i { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; letter-spacing: -.03em; display: block; }
.board-sub { position: absolute; left: 50%; top: 62%; transform: translateX(-50%); width: 26%; text-align: center; color: #444; font-size: .95rem; z-index: 3; }
.board-list { list-style: none; }
.note { position: absolute; width: 33%; z-index: 2; }
.note .photos { position: relative; height: 250px; }
.note .ph { position: absolute; width: 56%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; box-shadow: 0 10px 26px rgba(0,0,0,.22); border: 5px solid #fff; background: #fff; transition: transform .5s var(--ease-out); }
.note .ph:nth-child(1) { left: 0; top: 0; transform: rotate(-3deg); }
.note .ph:nth-child(2) { left: 38%; top: 46px; transform: rotate(4deg); }
.note:hover .ph:nth-child(1) { transform: rotate(-5deg) translateY(-6px); }
.note:hover .ph:nth-child(2) { transform: rotate(6deg) translateY(-6px); }
.note .label { display: inline-block; position: relative; z-index: 2; margin: -10px 0 .8rem 4%; padding: .35rem .8rem; font-size: 1.15rem; line-height: 1.1; }
.note .body { color: #333; font-size: .95rem; line-height: 1.55; max-width: 300px; margin-left: 4%; }
.note .scrawl { display: block; font-family: 'Caveat', cursive; font-weight: 700; font-size: 1.5rem; color: #111; margin: .6rem 0 0 4%; transform: rotate(-3deg); }
.label--type  { font-family: 'Special Elite', 'Courier New', monospace; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.15); transform: rotate(-4deg); }
.label--black { font-family: 'Anton', 'Outfit', sans-serif; letter-spacing: .02em; text-transform: uppercase; background: #0b0b0b; color: #fff; transform: rotate(3deg); }
.label--slab  { font-family: 'Anton', 'Outfit', sans-serif; letter-spacing: .06em; text-transform: uppercase; background: #6c6a66; color: #f3f2ee; transform: rotate(-2deg); }
.label--ink   { font-family: 'Caveat', cursive; font-weight: 700; font-size: 1.6rem !important; background: none; padding: .2rem .4rem; border: 2px solid #111; border-radius: 50%; padding: .3rem 1.1rem; transform: rotate(-3deg); }
.n1 { top: 1%;  left: 1%; }
.n2 { top: 3%;  right: 1%; }
.n3 { bottom: 0; left: 3%; }
.n4 { bottom: 1%; right: 3%; }
.board-deco { position: absolute; z-index: 1; color: #111; pointer-events: none; }
.deco-heart { left: 56%; top: 36%; width: 34px; transform: rotate(8deg); }
.deco-star  { right: 5%; top: 52%; width: 38px; }
.deco-arrow { left: 44%; bottom: 8%; width: 130px; }
@media (max-width: 1000px) {
  .board-stage { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 2rem; padding: 0 1.5rem; }
  .board-title, .board-sub { position: static; transform: none; width: auto; grid-column: 1 / -1; }
  .board-sub { margin: -1.5rem auto 1rem; max-width: 420px; }
  .board-list { display: contents; }
  .note { position: static; width: auto; }
  .board-deco { display: none; }
}
@media (max-width: 640px) { .board-stage { grid-template-columns: 1fr; } .note .photos { height: 230px; } }

/* ── Our Work: gallery tiles ── */
.work--gallery .section-desc { max-width: 720px; }
.wk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3.5rem 2.5rem; margin-top: 3.5rem; }
.wk { display: flex; flex-direction: column; }
.wk-frame { position: relative; background: #e9e9e6; border-radius: 22px; padding: 14px; box-shadow: var(--lift-2); overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.wk:hover .wk-frame { transform: translateY(-6px); box-shadow: var(--lift-3); }
.wk-frame img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-radius: 12px; display: block; transition: transform .9s var(--ease-out); }
.wk:hover .wk-frame img { transform: scale(1.03); }
.wk-metric { position: absolute; left: 30px; bottom: 28px; font-family: 'Space Mono', monospace; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; background: rgba(15,15,15,.82); color: #fff; padding: .4rem .7rem; border-radius: 8px; backdrop-filter: blur(6px); }
.wk-btns { position: absolute; right: 26px; bottom: 24px; display: flex; gap: .7rem; opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s var(--ease-out); }
.wk:hover .wk-btns, .wk:focus-within .wk-btns { opacity: 1; transform: none; }
.wk-btn { width: 56px; height: 56px; border-radius: 50%; background: #f4f4f2; color: #111; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); transition: transform .25s var(--ease-out), background .2s ease; }
.wk-btn:hover { transform: scale(1.08); background: #fff; }
.wk-btn svg { width: 22px; height: 22px; }
.wk-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem 1rem; margin-top: 1.2rem; }
.wk-meta h3 { font-family: 'Outfit', sans-serif; font-size: 1.35rem; font-weight: 600; }
.wk-meta span { font-family: 'Space Mono', monospace; font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--text-secondary); }
.wk-desc { color: var(--text-secondary); font-size: .98rem; line-height: 1.65; margin-top: .6rem; max-width: 560px; }
@media (max-width: 800px) { .wk-grid { grid-template-columns: 1fr; gap: 3rem; } }
@media (hover: none) { .wk-btns { opacity: 1; transform: none; } }
.photos--one .ph { width: 72%; }

@media (hover: none) { .lit::before { display: none; } }


/* ── Loader: logo sequence, then curtain lifts ── */
#loader { display: none; }
html.loading, html.loading body { overflow: hidden; }
html.loading #loader { display: block; position: fixed; inset: 0; z-index: 100000; }
.ld-panel { position: absolute; left: 0; right: 0; height: 50.2%; background: #0b0b0b; transition: transform .95s cubic-bezier(.76, 0, .24, 1); }
.ld-top { top: 0; } .ld-bot { bottom: 0; }
#loader.out .ld-top { transform: translateY(-101%); } #loader.out .ld-bot { transform: translateY(101%); }
.ld-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; z-index: 2; transition: opacity .35s ease; }
#loader.out .ld-center { opacity: 0; }
.ld-mark { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: clamp(2rem, 5vw, 3.4rem); color: #f0ece4; letter-spacing: .6em; padding-left: .6em; clip-path: inset(0 100% 0 0); animation: ld-mark 1.5s cubic-bezier(.2, .7, .2, 1) .15s forwards; }
.ld-sub { font-family: 'DM Serif Display', Georgia, serif; font-style: italic; font-size: clamp(.95rem, 1.6vw, 1.2rem); color: #E25A3C; opacity: 0; animation: ld-fade .9s ease 1.1s forwards; }
.ld-line { display: block; width: min(260px, 50vw); height: 1px; margin-top: 1.4rem; background: rgba(240,236,228,.15); position: relative; overflow: hidden; }
.ld-line::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #E25A3C, #F0A500); transform: translateX(-100%); animation: ld-line 2.1s cubic-bezier(.6, 0, .2, 1) .2s forwards; }
@keyframes ld-mark { to { clip-path: inset(0 0 0 0); letter-spacing: .2em; padding-left: .2em; } }
@keyframes ld-fade { to { opacity: 1; } }
@keyframes ld-line { to { transform: translateX(0); } }

/* ── Premium pass: restraint, hairlines, small caps type, square edges ── */
:root { --hair: rgba(240,236,228,.14); }
body { font-weight: 300; letter-spacing: .005em; }
.nav { background: rgba(11,11,11,.72); border-bottom: 1px solid var(--hair); }
.nav-links a { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 400; }
.nav-cta, .btn, .btn-sm, .btn-large { border-radius: 2px; text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 500; }
.btn { padding: 1.05rem 2.2rem; }
.btn-large { padding: 1.25rem 2.8rem; font-size: .78rem; }
.nav-cta { padding: .75rem 1.3rem; border: 1px solid var(--hair); background: transparent; }
.btn-primary { background: #E25A3C; box-shadow: none; }
.btn-primary:hover { background: #f0683f; box-shadow: none; }
.btn::after { display: none; }
.contact-section .btn-primary { background: #fff1e6; color: #1c0d08; box-shadow: none; }
.section-label { font-size: .7rem; letter-spacing: .3em; }
.section-title { font-weight: 400; letter-spacing: -.02em; }
.about, .services, .work, .reviews, .faq-block { padding-top: 9.5rem; padding-bottom: 9.5rem; }
.glass-card, .niche-card, .review-card, .faq-item, .service-card, .folder-front, .stat, .search-demo { border-radius: 4px !important; box-shadow: none; border: 1px solid var(--hair); }
.glass-card:hover, .niche-card:hover, .review-card:hover { transform: none; box-shadow: none; border-color: rgba(226,90,60,.5); }
.folder-tab { border-radius: 4px 4px 0 0; } .folder-front { border-radius: 0 4px 4px 4px !important; } .folder[open] .folder-front { border-radius: 0 4px 0 0 !important; } .folder-body { border-radius: 0 0 4px 4px; }
.tag, .portfolio-tags span { border-radius: 2px; letter-spacing: .12em; text-transform: uppercase; font-size: .64rem; }
.niche-thumb { border-radius: 2px !important; }
.wk-frame { border-radius: 4px; box-shadow: none; padding: 12px; }
.wk-frame img { border-radius: 2px; }
.wk:hover .wk-frame { transform: none; box-shadow: none; }
.wk-metric { border-radius: 2px; } .wk-btn { box-shadow: none; }
.wk-meta h3 { font-weight: 500; letter-spacing: .02em; }
.stat-number { font-weight: 400; }
.faq-item { border-left: 0; border-right: 0; border-radius: 0 !important; }
.review-card { padding: 2.5rem 2.25rem; }
.showcase-card.is-active { box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.showcase-card, .showcase-card img { border-radius: 4px; }
/* ticker: quiet hairline strip instead of a loud tilted band */
.marquee { transform: none; width: 100%; margin: 0; padding: 1.3rem 0; background: transparent; color: #b9b0a3; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); box-shadow: none; }
.marquee-item { font-family: 'Outfit', sans-serif; font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 400; padding: 0 2.2rem; }
.marquee-dot { width: 4px; height: 4px; background: #E25A3C; }
.marquee-track { animation-duration: 55s; }
/* board stays light but loses the shouting */
.board .label { border-radius: 0; }
.hero-title { letter-spacing: -.035em; }
.hero .btn-outline { backdrop-filter: none; }
@media (max-width: 700px) { .about, .services, .work, .reviews, .faq-block { padding-top: 6rem; padding-bottom: 6rem; } }
@media (prefers-reduced-motion: reduce) { #loader { display: none !important; } html.loading, html.loading body { overflow: auto; } }
/* no-JS / failed-JS safety: loader can never trap the page */
html.loading #loader { animation: ld-gone 0s linear 5s forwards; }
@keyframes ld-gone { to { visibility: hidden; opacity: 0; pointer-events: none; } }

/* ── Readability on black: warm cream body copy, brighter labels ── */
.section-desc, .about-text p, .service-card p, .niche-card p, .folder-body p, .faq-a p, .wk-desc, .review-role, .stat-label, .portfolio-info p { color: #d8cfc3; }
.review-quote { color: #f1e9de; }
.section-label { color: #e8dfd2; }
.nav-links a { color: #d9d0c4; } .nav-links a:hover { color: #fff; }
.wk-meta span, .copyright { color: #cdc4b8; }
.faq-q { color: #fbf5ec; }
.stat-label { color: #cdc4b8; }
.stat { padding: 1.25rem 1.1rem; }

/* ── Hero v3: Viewport-style first screen ──
   dark sky fading to agency ember, a glowing rounded frame, floating nav, centered headline,
   and the search demo rising from the bottom edge as the "product shot". */
.hero {
  display: block; position: relative; isolation: isolate; overflow: hidden; text-align: center;
  min-height: 100vh; padding: 10rem 1.5rem 0;
  background: var(--bg-color);
}
.hero::before { display: none; }
.hero::after { display: none; }
.hero-grid { display: flex; flex-direction: column; align-items: center; gap: 4.5rem; max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; }
.hero-content { max-width: 1000px; display: flex; flex-direction: column; align-items: center; }
.hero-title {
  font-family: 'Outfit', sans-serif; font-weight: 500; letter-spacing: -.05em; line-height: 1; color: #f6f1ea;
  font-size: clamp(2.9rem, 6.8vw, 6.2rem); margin: 0; background: none; -webkit-text-fill-color: #f6f1ea;
}
.hero .gradient-text {
  font-family: 'DM Serif Display', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.03em; padding: 0 .16em 0 .04em;
  background-image: linear-gradient(100deg, #E25A3C, #F0A500 55%, #ffd27a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: none;
}
.hero-visual { width: 100%; max-width: 940px; margin-bottom: -170px; }
.hero-visual::before { display: none; }
.hero-visual .search-demo {
  max-width: 940px; background: rgba(13,14,18,.92); border: 1px solid rgba(255,255,255,.12); border-radius: 14px !important;
  box-shadow: 0 -20px 80px rgba(226,90,60,.25), 0 30px 90px rgba(0,0,0,.6); animation: none; backdrop-filter: blur(10px);
}
/* floating nav, Viewport-style */
.nav {
  top: 30px; left: 50%; width: min(1020px, calc(100% - 3rem)); transform: translateX(-50%); z-index: 100;
  padding: .7rem .7rem .7rem 1.4rem; border-radius: 16px; background: rgba(12,12,16,.62);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.nav-cta { background: #E25A3C; border-color: transparent; color: #fff; border-radius: 10px; }
.nav-cta:hover { background: #f0683f; }
@media (max-width: 900px) {
  .hero { padding: 8rem 1rem 0; } .hero-grid { gap: 3rem; }
  .hero-visual { margin-bottom: -120px; }
  .nav { top: 18px; width: calc(100% - 2rem); padding: .55rem .6rem .55rem 1rem; }
}
.nav { width: min(1180px, calc(100% - 3rem)); }
.nav-links { gap: 1.6rem; }
.hero-visual .search-demo { text-align: left; }


/* ── Services: little brain logos that open into the write-up ── */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 3.5rem; max-width: 1100px; margin: 0 auto; align-items: start; }
.svc-col { display: grid; gap: 1.1rem; align-content: start; }
.bc-kicker { margin-bottom: .4rem; }
.bc-kicker--l { color: #7dbcff; } .bc-kicker--r { color: #F0A500; }
.svc { border: 1px solid var(--hair); border-radius: 6px; background: rgba(255,255,255,.02); transition: border-color .3s ease, background .3s ease; overflow: hidden; }
.svc--l:hover, .svc--l[open] { border-color: rgba(125,188,255,.6); background: rgba(76,141,246,.07); }
.svc--r:hover, .svc--r[open] { border-color: rgba(240,165,0,.6); background: rgba(226,90,60,.08); }
.svc > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1.1rem; padding: 1.15rem 1.3rem; }
.svc > summary::-webkit-details-marker { display: none; }
.svc-logo { flex: none; width: 38px; height: 56px; display: grid; place-items: center; transition: transform .45s var(--ease-out); }
.svc-logo svg { width: 100%; height: 100%; overflow: visible; }
.svc:hover .svc-logo { transform: scale(1.08) rotate(-4deg); }
.svc[open] .svc-logo { transform: scale(1.12); }
.svc--l[open] .svc-logo { filter: drop-shadow(0 0 12px rgba(125,188,255,.55)); }
.svc--r[open] .svc-logo { filter: drop-shadow(0 0 12px rgba(240,165,0,.5)); }
.svc-name { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1.3rem; color: #fff6ea; flex: 1; }
.svc-glyph { width: 22px; height: 22px; display: grid; place-items: center; opacity: .8; }
.svc--l .svc-glyph { color: #7dbcff; } .svc--r .svc-glyph { color: #F0A500; }
.svc-glyph svg { width: 100%; height: 100%; }
.svc-plus { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--hair); flex: none; transition: transform .35s var(--ease-out), border-color .3s ease; }
.svc-plus::before, .svc-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: #fff6ea; transform: translate(-50%, -50%); }
.svc-plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s var(--ease-out); }
.svc[open] .svc-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.svc--l[open] .svc-plus { border-color: #7dbcff; } .svc--r[open] .svc-plus { border-color: #F0A500; }
.svc-body { padding: 0 1.3rem 1.4rem calc(1.3rem + 38px + 1.1rem); }
.svc-body p { color: #e4dbcf; font-size: 1.02rem; line-height: 1.7; max-width: 46ch; }
.svc[open] .svc-body { animation: svc-open .45s var(--ease-out); }
@keyframes svc-open { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr; gap: 2.2rem; } .svc-body { padding-left: 1.3rem; } }
@media (prefers-reduced-motion: reduce) { .svc[open] .svc-body, .svc-logo { animation: none; transition: none; } }

/* ── v4 ── */
/* one continuous orange fade, strongest at the very bottom of the page, no seams */
body { position: relative; isolation: isolate; }
body::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1500px; z-index: -1; pointer-events: none;
  background: linear-gradient(to top, rgba(226,90,60,.6) 0%, rgba(226,90,60,.42) 14%, rgba(226,90,60,.24) 34%, rgba(226,90,60,.1) 62%, rgba(226,90,60,0) 100%);
}
.contact-section, .footer, .faq-block { background: none !important; border-top: 0 !important; }
.contact-section::before { display: none; }
.contact-section .btn-primary { background: #E25A3C; color: #fff; }
.footer, .footer p, .footer .footer-brand p, .footer-links a, .footer-links h3, .copyright, .footer address { color: #fff1e6; }
/* niche cards: the soft glow that follows the cursor (the base card mask was hiding it) */
.niche-card.lit::before, .service-card.lit::before, .review-card.lit::before, .glass-card.lit::before {
  -webkit-mask: none; mask: none; padding: 0; border-radius: inherit;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(226,90,60,.2), rgba(240,165,0,.06) 45%, transparent 70%);
}
.niche-card.lit:hover::before { opacity: 1; }
/* handwriting accents, kept light */
.scrawl-note { display: block; font-family: 'Caveat', cursive; font-weight: 700; font-size: 1.8rem; color: #F0A500; transform: rotate(-3deg); margin: -.5rem 0 1.8rem; text-align: center; }
.scrawl-note--c { color: #fbd9c4; margin-bottom: .6rem; }
.bc-kicker { font-family: 'Caveat', cursive; font-weight: 700; font-size: 1.7rem; letter-spacing: 0; text-transform: none; }
.ph--logo { object-fit: contain !important; padding: 18px; background: #fff; }

/* board: every step label in the hand-lettered face, plus the arrow back from 04 to 03 */
.label--type, .label--black, .label--slab, .label--ink { font-family: 'Caveat', cursive !important; font-weight: 700; font-size: 1.6rem !important; letter-spacing: 0; text-transform: none; line-height: 1.1; }
.label--black { background: #0b0b0b; color: #fff; }
.label--slab { background: #6c6a66; color: #f3f2ee; }
.label--ink { border: 2px solid #111; border-radius: 4px; padding: .25rem .9rem; }
.board .deco-arrow { left: 37%; bottom: 7%; width: 26%; max-width: 330px; color: #111; transform: rotate(-2deg); }
@media (max-width: 1000px) { .board .deco-arrow { display: none; } }

/* "Built for local businesses" cards: on hover the card glows in the colour of the site pictured in it.
   The glow sits on the card's own background (the base theme blanks ::before on hover), pooled at the bottom, under the content. */
.niche-card { --tint: #E25A3C; }
.niche-card.lit::before { display: none; }
.niche-card.lit:hover, .niche-card:hover {
  background-color: transparent !important;
  background-image:
    radial-gradient(340px circle at var(--mx, 50%) var(--my, 70%), color-mix(in srgb, var(--tint) 16%, transparent), transparent 70%),
    linear-gradient(to top, color-mix(in srgb, var(--tint) 12%, transparent) 0%, color-mix(in srgb, var(--tint) 4%, transparent) 55%, transparent 100%) !important;
  border-color: color-mix(in srgb, var(--tint) 35%, transparent) !important;
}

/* gear turns while Web Development is open; confetti drifts on Branding */
.svc--code .gear { transform-box: fill-box; transform-origin: center; }
.svc--code:hover .gear { animation: gear-spin 6s linear infinite; }
.svc--code[open] .gear { animation: gear-spin 2.6s linear infinite; }
@keyframes gear-spin { to { transform: rotate(360deg); } }
.confetti .cf { transform-box: fill-box; transform-origin: center; }
.svc:hover .cf, .svc[open] .cf { animation: cf-float 2.4s ease-in-out infinite; }
.cf.c2, .cf.c5, .cf.c8, .cf.c11 { animation-delay: -.6s !important; } .cf.c3, .cf.c6, .cf.c9 { animation-delay: -1.2s !important; } .cf.c4, .cf.c7, .cf.c10 { animation-delay: -1.8s !important; }
@keyframes cf-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-4px) rotate(25deg); } }
@media (prefers-reduced-motion: reduce) { .svc .gear, .svc .cf { animation: none !important; } }

/* ── Board v2: title on top, the centre is free for a trace arrow that draws as you scroll ── */
.board-stage { min-height: 1280px; }
.board-title { top: 0; transform: translateX(-50%); width: 64%; }
.board-sub { top: 190px; transform: translateX(-50%); width: 40%; }
.n1 { top: 250px; left: 1%; } .n2 { top: 270px; right: 1%; } .n3 { bottom: 0; left: 3%; } .n4 { bottom: 10px; right: 3%; }
.deco-heart { left: 72%; top: 8px; } .deco-star { right: 4%; top: 46%; }
.board-trace { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; color: #111; }
.board-trace path { fill: none; stroke: #111; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.board-trace .seg { stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (max-width: 1000px) { .board-trace { display: none; } .board-stage { min-height: 0; } .board-title, .board-sub { width: auto; } }
/* reviews: handwritten note sits at the left edge of the cards with an arrow into them */
.scrawl-note--l { display: flex; align-items: flex-end; gap: .5rem; text-align: left; margin: -.5rem 0 .6rem 1rem; transform: rotate(-2deg); width: max-content; }
.scrawl-note--l svg { margin-bottom: -.8rem; transform: rotate(8deg); }

/* ── Service icons v3 ── */
/* Web Development: the gear turns clockwise when you open it */
.svc--code .gear { animation: none; }
.svc--code:hover .gear { animation: none; }
.svc--code[open] .gear { animation: gear-spin 3s linear infinite; }
@keyframes gear-spin { to { transform: rotate(360deg); } }  /* positive = clockwise */
/* SEO & Marketing: magnifier finds the pin; ranking bars climb, the pin drops and pings, the arrow shoots up */
.svc--seo .sb, .svc--seo .seo-pin, .svc--seo .seo-lens, .svc--seo .seo-ping { transform-box: fill-box; }
.svc--seo .sb { transform-origin: 50% 100%; }
.svc--seo .seo-lens { transform-origin: 30% 30%; transition: transform .5s cubic-bezier(.2,.9,.3,1.3); }
.svc--seo:hover .seo-lens { transform: rotate(-6deg) translate(-1px, 1px); }
.svc--seo .seo-ping { transform-origin: 50% 50%; opacity: 0; }
.svc--seo[open] .sb1 { animation: sb-grow .7s cubic-bezier(.2,.9,.3,1.25) both; }
.svc--seo[open] .sb2 { animation: sb-grow .7s .12s cubic-bezier(.2,.9,.3,1.25) both; }
.svc--seo[open] .sb3 { animation: sb-grow .7s .24s cubic-bezier(.2,.9,.3,1.25) both; }
.svc--seo[open] .seo-pin { animation: pin-drop .7s .1s cubic-bezier(.3,1.4,.5,1) both; }
.svc--seo[open] .seo-ping { animation: pin-ping 1.8s .7s ease-out infinite; }
@keyframes sb-grow { from { transform: scaleY(.2); } to { transform: scaleY(1); } }
@keyframes pin-drop { 0% { transform: translateY(-9px); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; } }
@keyframes pin-ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .svc--seo .sb, .svc--seo .seo-pin, .svc--seo .seo-ping { animation: none !important; } }
.svc--seo .svc-glyph { transition: transform .55s cubic-bezier(.2, .9, .3, 1.5), color .3s ease; }
.svc--seo[open] .svc-glyph { transform: translate(3px, -7px) scale(1.2); color: #fff; }
/* UI/UX Design: the pen writes a small line when opened */
.svc--ui .svc-glyph { transition: transform .4s ease; transform-origin: 20% 80%; }
.svc--ui.writing .svc-glyph { animation: pen-write .35s ease-in-out infinite; }
@keyframes pen-write { 0%, 100% { transform: rotate(-8deg) translateX(0); } 50% { transform: rotate(6deg) translateX(2px); } }
.svc-note { margin-top: .9rem; min-height: 2.2rem; font-family: 'Caveat', cursive; font-weight: 700; font-size: 1.8rem; line-height: 1.1; color: #F0A500; transform: rotate(-1.5deg); }
.svc:not(.svc--ui) .svc-note { display: none; }
/* Branding: the little BRAND cup tips when you hover or open it */
.svc .cup { transform-box: fill-box; transform-origin: 50% 100%; }
.svc:hover .cup, .svc[open] .cup { animation: cup-tip 1.6s ease-in-out infinite; }
@keyframes cup-tip { 0%, 100% { transform: rotate(0deg); } 30% { transform: rotate(-7deg); } 65% { transform: rotate(5deg); } }
@media (prefers-reduced-motion: reduce) { .svc .gear, .svc .cup, .svc--ui.writing .svc-glyph { animation: none !important; } .svc--seo .svc-glyph { transition: none; } }
.svc-logo { width: 54px; height: 58px; } .svc-body { padding-left: calc(1.3rem + 54px + 1.1rem); } @media (max-width: 900px) { .svc-body { padding-left: 1.3rem; } }


/* ═══ v5: diagonal seams, floating geometry, and a board that fits any screen ═══ */
/* section tones alternate so the diagonals read; hard border lines are gone */
.about, .services, .reviews, .work, .showcase { border-top: 0 !important; }
.about { background: #161618; } .services { background: #0f0f0f; } #niches { background: #161618; } .reviews { background: #0f0f0f; }
.slant { position: relative; height: clamp(56px, 7vw, 120px); margin: -1px 0; pointer-events: none; z-index: 1; }
.slant--r { background: linear-gradient(to bottom right, var(--from) 49.7%, var(--to) 50%); }
.slant--l { background: linear-gradient(to bottom left, var(--from) 49.7%, var(--to) 50%); }
.slant::after { content: ""; position: absolute; inset: 0; }
.slant--r::after { background: linear-gradient(to bottom right, transparent calc(50% - 1px), rgba(226,90,60,.7) 50%, transparent calc(50% + 1px)); }
.slant--l::after { background: linear-gradient(to bottom left, transparent calc(50% - 1px), rgba(240,165,0,.7) 50%, transparent calc(50% + 1px)); }
/* the cream board and the section after it meet on slants too */
.board { clip-path: polygon(0 clamp(40px, 5vw, 90px), 100% 0, 100% calc(100% - clamp(40px, 5vw, 90px)), 0 100%); margin: calc(-1 * clamp(40px, 5vw, 90px)) 0; padding-top: calc(6.5rem + clamp(40px, 5vw, 90px)); padding-bottom: calc(7rem + clamp(40px, 5vw, 90px)); }
.board::before { display: none; }

/* floating geometry (injected by elevate.js) */
.has-shapes { position: relative; }
.has-shapes > .container { position: relative; z-index: 2; }
.shape { position: absolute; z-index: 1; pointer-events: none; display: block; animation: shape-float 11s ease-in-out infinite alternate; }
.shape svg { width: 100%; height: 100%; overflow: visible; display: block; }
@keyframes shape-float { from { transform: translate3d(0, 0, 0) rotate(var(--r0, 0deg)); } to { transform: translate3d(var(--dx, 10px), var(--dy, -16px), 0) rotate(var(--r1, 12deg)); } }
@media (max-width: 900px) { .shape.hide-sm { display: none; } }
@media (prefers-reduced-motion: reduce) { .shape { animation: none; } }

/* chamfered corners on the work tiles so not everything is a rectangle */
.wk-frame { clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px)); border-radius: 0; }
.wk-frame img { border-radius: 0; }
.svc-logo, .bc-kicker { position: relative; }

/* ── Board: a real grid, so the four steps fit any width ── */
.board-stage { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(3rem, 14vw, 13rem); row-gap: 4.5rem; min-height: 0 !important; max-width: 1240px; padding: 0 clamp(1rem, 3vw, 2.5rem); }
.board-title, .board-sub { position: static !important; transform: none !important; width: auto !important; grid-column: 1 / -1; text-align: center; margin: 0 auto; }
.board-sub { max-width: 34rem; margin-top: -2.5rem !important; }
.board-list { display: contents; }
.note { position: static !important; width: 100% !important; max-width: 440px; }
.n1 { justify-self: start; } .n2 { justify-self: end; margin-top: 3.5rem; } .n3 { justify-self: start; } .n4 { justify-self: end; margin-top: 3.5rem; }
.board-deco { display: none; }
.board-trace { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; z-index: 1; }
.board-trace .seg { stroke-dasharray: 1; }
@media (max-width: 1000px) {
  .board-stage { grid-template-columns: 1fr 1fr; column-gap: 2rem; row-gap: 3rem; }
  .n2, .n4 { margin-top: 0; } .board-trace { display: none; }
}
@media (max-width: 640px) { .board-stage { grid-template-columns: 1fr; } .n1, .n2, .n3, .n4 { justify-self: center; } }


/* ═══ Board v3: a descending staircase 01 -> 04, hand-inked arrows running down it ═══ */
@media (min-width: 1001px) {
  .board-list { grid-column: 1 / -1; display: grid !important; grid-template-columns: 1fr 1fr; column-gap: clamp(3rem, 14vw, 13rem); grid-template-rows: repeat(5, 18rem); }
  .n1 { grid-column: 1; grid-row: 1 / 3; margin-top: 0; }
  .n2 { grid-column: 2; grid-row: 2 / 4; margin-top: 0; }
  .n3 { grid-column: 1; grid-row: 3 / 5; margin-top: 0; }
  .n4 { grid-column: 2; grid-row: 4 / 6; margin-top: 0; }
  .board-deco { display: block; }
  .deco-heart { left: 57%; top: 18rem; } .deco-star { right: 2%; top: 9rem; } 
}
.board-trace path { stroke-width: 3.2; filter: url(#ink); }
.board-trace .head { stroke-width: 3.2; }

/* the cream board melts in and out of the dark page: no hard edge on either side */
.board {
  clip-path: none; margin: 0;
  padding-top: calc(6.5rem + 70px); padding-bottom: calc(7rem + 90px);
  background: linear-gradient(to bottom, #0f0f0f 0, #6a6965 70px, #ecebe6 190px, #ecebe6 calc(100% - 260px), #8d8c87 calc(100% - 120px), #161618 100%);
}
.board::before { display: none; }


/* ── AI line in the hero + "already visible online" band ── */
.hero-ai { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .7rem 1rem; margin-top: 1.6rem; font-family: 'Space Mono', monospace; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: #cdd9ee; }
.hero-ai a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(226,90,60,.8); padding-bottom: 2px; }
.hero-ai a:hover { color: #F0A500; }
.hero-ai span[aria-hidden] { color: #E25A3C; font-size: .55rem; }
.ai-band { margin: 5.5rem auto 0; max-width: 1100px; padding: 2.6rem; position: relative; border: 1px solid var(--hair); background: linear-gradient(135deg, rgba(76,141,246,.07), rgba(226,90,60,.07)); clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px)); }
.ai-band__head { max-width: 46rem; margin-bottom: 2rem; }
.ai-band h3 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.2; color: #fff6ea; margin: .2rem 0 .8rem; }
.ai-band__head p { color: #d8cfc3; line-height: 1.7; }
.scrawl-note--ai { text-align: left; margin: 0; color: #7dbcff; font-size: 1.6rem; }
.ai-band__list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.ai-band__list li { display: flex; gap: 1rem; align-items: flex-start; }
.ai-ic { flex: none; width: 46px; height: 46px; display: grid; place-items: center; color: #7dbcff; border: 1px solid rgba(125,188,255,.5); background: rgba(76,141,246,.1); transform: rotate(45deg); }
.ai-ic svg { width: 21px; height: 21px; transform: rotate(-45deg); }
.ai-band__list h4 { font-family: 'Outfit', sans-serif; font-size: 1.15rem; font-weight: 600; color: #fff6ea; margin-bottom: .35rem; }
.ai-band__list h4 a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(226,90,60,.7); }
.ai-band__list p { color: #d8cfc3; font-size: .96rem; line-height: 1.6; }
@media (max-width: 900px) { .ai-band__list { grid-template-columns: 1fr; } .ai-band { padding: 1.8rem 1.4rem; } }
.scrawl-note--ai { margin-bottom: .5rem; }


/* ═══ v6: motion pass — things arrive as you scroll, lines draw, shapes turn ═══ */
/* section labels type in, titles rise word by word, the paragraph follows */
.tw-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tw-c { opacity: 0; transition: opacity .05s linear; }
.tw-on .tw-c { opacity: 1; }
.tw-caret { display: inline-block; width: .5em; height: 2px; margin-left: .15em; vertical-align: middle; background: #E25A3C; animation: tw-blink .7s steps(1) infinite; }
.tw-done .tw-caret { animation: none; opacity: 0; transition: opacity .4s ease .6s; }
@keyframes tw-blink { 50% { opacity: 0; } }
.wr { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .04em .1em .16em; margin: -.04em -.1em -.16em; }
.wr > span { display: inline-block; transform: translateY(105%) rotate(4deg); opacity: 0; filter: blur(4px); transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .6s ease, filter .6s ease; transition-delay: calc(var(--wi, 0) * 70ms + 120ms); transform-origin: 0 100%; }
.wr-on .wr > span { transform: none; opacity: 1; filter: none; }
.wr-after { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--after, .6s); }
.wr-on .wr-after, .wr-on ~ .wr-after { opacity: 1; transform: none; }
/* card groups arrive one after another */
.st-i { opacity: 0; transform: translateY(26px) scale(.985); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--si, 0) * 110ms); }
.st-on .st-i, .st-i.st-on { opacity: 1; transform: none; }

/* diagonal seams: the line draws down the slant as it scrolls past, a spark leads it */
.slant::after { display: none; }
.slant-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.slant-svg path { fill: none; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.slant-svg .ln { stroke-width: 1.6; }
.slant-svg .gl { stroke-width: 7; opacity: .35; filter: blur(4px); }
.slant--r .slant-svg path { stroke: #E25A3C; } .slant--l .slant-svg path { stroke: #F0A500; }
.slant-spark { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; transform: rotate(45deg); background: #fff3e0; box-shadow: 0 0 10px 3px rgba(240,165,0,.75), 0 0 26px 8px rgba(226,90,60,.45); opacity: 0; transition: opacity .3s ease; }

/* shapes: turn and drift with the scroll on top of their slow float */
.shape { will-change: transform, rotate, translate; }

/* AI band: the outline traces itself, a split line draws, each heading gets an underline */
.ai-trace { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.ai-trace path { fill: none; stroke: url(#aiGrad); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s cubic-bezier(.6,0,.2,1) .2s; }
.ai-band.ai-on .ai-trace path { stroke-dashoffset: 0; }
.ai-band { border-color: transparent; }
.ai-split { height: 1px; margin: 0 0 2rem; background: linear-gradient(90deg, #E25A3C, #F0A500 45%, rgba(125,188,255,.6) 80%, transparent); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.4s cubic-bezier(.6,0,.2,1) .7s; position: relative; }
.ai-split::after { content: ""; position: absolute; right: 0; top: -4px; width: 9px; height: 9px; background: #F0A500; transform: rotate(45deg) scale(0); transition: transform .4s ease 2s; }
.ai-band.ai-on .ai-split { transform: none; } .ai-band.ai-on .ai-split::after { transform: rotate(45deg) scale(1); }
.ai-band__list h4 { background-image: linear-gradient(90deg, #E25A3C, #F0A500); background-repeat: no-repeat; background-position: 0 100%; background-size: 0 2px; padding-bottom: 4px; transition: background-size .9s cubic-bezier(.6,0,.2,1), color .3s ease; }
.ai-band__list h4 a { border: 0 !important; color: inherit; }
.ai-band__list li:nth-child(1) h4 { transition-delay: 1.3s; } .ai-band__list li:nth-child(2) h4 { transition-delay: 1.55s; } .ai-band__list li:nth-child(3) h4 { transition-delay: 1.8s; }
.ai-band.ai-on .ai-band__list h4 { background-size: 100% 2px; }
.ai-band__list li:hover h4 { background-size: 100% 2px; color: #F0A500; transition-delay: 0s; }
.ai-band__list h4 + p { margin-top: .5rem; }
.ai-band__list li > div > h4 { display: inline-block; }
.ai-ic { transition: transform .5s cubic-bezier(.2,.9,.3,1.4), background .3s ease; }
.ai-band__list li:hover .ai-ic { transform: rotate(135deg); background: rgba(76,141,246,.22); }
.ai-band__list li:hover .ai-ic svg { transform: rotate(-135deg); }
.ai-ic svg { transition: transform .5s cubic-bezier(.2,.9,.3,1.4); }

/* board seams: tilted fades (the board reads as a slanted sheet), a warm glow and a drawn line at each edge */
.board {
  background:
    linear-gradient(184deg, #0f0f0f 0, #0f0f0f 110px, rgba(44,24,16,.86) 165px, rgba(92,48,26,.5) 225px, rgba(150,90,50,.16) 300px, rgba(150,90,50,0) 370px) top / 100% 440px no-repeat,
    linear-gradient(176deg, rgba(150,90,50,0) 0, rgba(150,90,50,0) 110px, rgba(150,90,50,.16) 165px, rgba(92,48,26,.5) 225px, rgba(40,24,18,.88) 285px, #161618 345px) bottom / 100% 440px no-repeat,
    #ecebe6;
  padding-top: calc(6.5rem + 150px); padding-bottom: calc(7rem + 170px);
}
.board-seam { position: absolute; left: 0; right: 0; height: 440px; pointer-events: none; z-index: 1; }
.board-seam--top { top: 0; } .board-seam--bot { bottom: 0; }
.board-seam svg { width: 100%; height: 100%; overflow: visible; display: block; }

/* board arrows: a handwritten word rides along each one */
.trace-word { position: absolute; z-index: 2; font-family: 'Caveat', cursive; font-weight: 700; font-size: 1.7rem; color: #E25A3C; white-space: nowrap; transform: translate(-50%, -50%) rotate(-6deg) scale(.6); opacity: 0; transition: opacity .4s ease, transform .5s cubic-bezier(.2,.9,.3,1.5); pointer-events: none; }
.trace-word.on { opacity: 1; transform: translate(-50%, -50%) rotate(-6deg) scale(1); }
@media (max-width: 1000px) { .trace-word { display: none; } }
.board-trace .head { transition: opacity .25s ease, stroke-width .25s ease; }

@media (prefers-reduced-motion: reduce) {
  .tw-c, .wr > span, .wr-after, .st-i { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .tw-caret { display: none; }
  .slant-svg path, .ai-trace path { stroke-dashoffset: 0 !important; transition: none; }
  .ai-split { transform: none; transition: none; } .ai-band__list h4 { background-size: 100% 2px; transition: none; }
  .trace-word { opacity: 1; transform: translate(-50%, -50%) rotate(-6deg); transition: none; }
}
.section-label:has(.tw-c)::after { transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s cubic-bezier(.6,0,.2,1) .1s; }
.section-label.tw-done::after { transform: none; }
.board-seam--top .slant-svg path { stroke: #E25A3C; } .board-seam--bot .slant-svg path { stroke: #F0A500; }
/* phones: the floating nav keeps the one CTA on screen */
@media (max-width: 520px) {
  .nav { gap: .5rem; }
  .nav-cta { padding: .6rem .7rem; font-size: .6rem; letter-spacing: .08em; white-space: normal; line-height: 1.25; text-align: center; max-width: 9.5rem; }
}

/* ── AI band, minimal: no box, no outline, one hairline, quiet icons ── */
.ai-band { clip-path: none; border: 0; background: none; padding: 0; margin-top: 6.5rem; max-width: 1100px; }
.ai-trace { display: none; }
.ai-band__head { max-width: 40rem; margin-bottom: 2.4rem; }
.ai-band h3 { font-size: clamp(1.5rem, 2.3vw, 1.95rem); }
.ai-band__head p { color: #bdb4a8; }
.scrawl-note--ai { font-size: 1.35rem; color: #9fb8d8; }
.ai-split { height: 1px; margin: 0 0 2.4rem; background: linear-gradient(90deg, rgba(226,90,60,.8), rgba(255,255,255,.1) 60%, transparent); }
.ai-split::after { display: none; }
.ai-band__list { gap: 2.4rem; }
.ai-band__list li { flex-direction: column; gap: .9rem; }
.ai-ic, .ai-band__list li:hover .ai-ic { width: auto; height: auto; border: 0; background: none; transform: none; color: #E25A3C; display: block; }
.ai-ic svg, .ai-band__list li:hover .ai-ic svg { width: 22px; height: 22px; transform: none; }
.ai-band__list h4 { font-size: 1.05rem; font-weight: 500; letter-spacing: .01em; background-size: 0 1px; padding-bottom: 5px; }
.ai-band.ai-on .ai-band__list h4, .ai-band__list li:hover h4 { background-size: 100% 1px; }
.ai-band__list li:hover h4 { color: #fff6ea; }
.ai-band__list p { color: #a9a196; font-size: .93rem; }
@media (prefers-reduced-motion: reduce) { .ai-band__list h4 { background-size: 100% 1px; } }
/* UI/UX half-brain sits inside its slot like the other icons */
.svc-logo--brain svg { width: 100%; height: 100%; overflow: hidden; }
/* nav CTA stays on screen down to tablet widths */
@media (max-width: 1000px) and (min-width: 521px) {
  .nav-cta { padding: .6rem .9rem; font-size: .64rem; letter-spacing: .1em; white-space: normal; line-height: 1.25; text-align: center; max-width: 11rem; }
}
/* niche screenshots: blurred until scrolled to, then they focus in one after another */
.niche-thumb { overflow: hidden; }
.niche-thumb.blur-in img { filter: blur(16px) saturate(.5) brightness(.8); transform: scale(1.08); transition: filter 1.3s cubic-bezier(.2,.8,.2,1), transform 1.6s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--bi, 0) * 140ms); }
.niche-thumb.blur-in.sharp img { filter: none; transform: none; }

/* hero melts into the showcase: the demo and its glow fade out instead of being clipped flat */
.hero { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 220px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 220px), transparent); }
.showcase { background-image: radial-gradient(60% 50% at 50% 55%, rgba(226,90,60,.06), transparent 70%) !important; }
/* showcase -> About: a soft tonal fade, no line */
.slant--soft { height: 180px; background: linear-gradient(to bottom, #0f0f0f, #161618); }
.slant--soft::after { display: none; }

/* "let's talk": a touch larger */
.contact-section .scrawl-note--c { font-size: 2.6rem; }
.contact-section .contact-title { font-size: clamp(2.6rem, 5.4vw, 4.8rem); }
.contact-section .section-desc { font-size: 1.2rem; max-width: 40rem; }
.contact-section .btn-large { padding: 1.35rem 3rem; font-size: .82rem; }
.showcase { background-color: transparent !important; }

/* four steps on phones/tablets: one column with room for a hand-drawn arrow between each step */
@media (max-width: 1000px) {
  .board-stage { grid-template-columns: 1fr !important; row-gap: 3rem; }
  .board-list { display: grid !important; grid-template-columns: 1fr; row-gap: 7.5rem; grid-column: 1 / -1; }
  .n1, .n2, .n3, .n4 { justify-self: center !important; margin-top: 0 !important; width: 100% !important; max-width: 440px; }
  .board-trace { display: block !important; }
  .board-trace path { stroke-width: 2.6; }
  .trace-word { display: block; font-size: 1.35rem; }
}

/* floating shapes can be clicked: they burst into shards and reform */
.shape { pointer-events: auto; cursor: pointer; transition: opacity .4s ease; }
.shape > svg { transition: transform .5s cubic-bezier(.2,.9,.3,1.5); }
.shape:hover > svg { transform: scale(1.18); }
.shape.popped > svg { transform: scale(0); transition: transform .15s ease-in; }
.shard { position: absolute; z-index: 3; pointer-events: none; display: block; }
/* showcase -> About: no empty band; the showcase's glow fades out and About's tone rises in right under the caption */
.showcase { padding-bottom: 1.5rem !important; }
.slant--soft { height: 110px; margin-top: -60px; background: linear-gradient(to bottom, rgba(22,22,24,0), #161618); position: relative; z-index: 0; }
.about { padding-top: 4.5rem; }

/* ── Hub: a quiet index of pages and the latest posts, above the footer ── */
.hub { padding: 6rem 0 7rem; position: relative; background: none; }
.hub-head { margin-bottom: 3rem; }
.hub-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 4rem; align-items: start; }
.hub-pages { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,.1); }
.hub-pages a { display: flex; flex-direction: column; gap: .2rem; padding: 1.05rem 2.2rem 1.05rem 0; border-bottom: 1px solid rgba(255,255,255,.1); color: #fff6ea; text-decoration: none; position: relative; transition: padding .35s cubic-bezier(.2,.8,.2,1), color .25s ease; }
.hub-pages a span { font-family: 'Outfit', sans-serif; font-size: 1.15rem; font-weight: 500; }
.hub-pages a small { color: #a9a196; font-size: .85rem; }
.hub-pages a::after { content: "\2192"; position: absolute; right: .3rem; top: 50%; transform: translate(-6px, -50%); opacity: .35; color: #E25A3C; transition: transform .35s ease, opacity .25s ease; }
.hub-pages a:hover, .hub-pages a:focus-visible { padding-left: .6rem; color: #F0A500; }
.hub-pages a:hover::after, .hub-pages a:focus-visible::after { transform: translate(0, -50%); opacity: 1; }
.hub-kicker { font-family: 'Space Mono', monospace; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: #a9a196; margin-bottom: 1rem; }
.hub-posts { display: flex; flex-direction: column; }
.hub-post { display: block; padding: 1.3rem 0; border-top: 1px solid rgba(255,255,255,.1); color: inherit; text-decoration: none; }
.hub-post:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
.hub-post time { font-family: 'Space Mono', monospace; font-size: .72rem; letter-spacing: .12em; color: #E25A3C; }
.hub-post h3 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: 1.45rem; line-height: 1.25; color: #fff6ea; margin: .35rem 0 .4rem; background-image: linear-gradient(90deg, #E25A3C, #F0A500); background-repeat: no-repeat; background-position: 0 100%; background-size: 0 1px; display: inline; transition: background-size .5s ease; }
.hub-post:hover h3, .hub-post:focus-visible h3 { background-size: 100% 1px; }
.hub-post p { color: #a9a196; font-size: .93rem; line-height: 1.6; margin-top: .45rem; }
@media (max-width: 900px) { .hub-grid { grid-template-columns: 1fr; gap: 3rem; } .hub { padding: 4.5rem 0 5rem; } }
.hub-post time { display: block; margin-bottom: .2rem; }

/* ── Showcase: the live site sits flat and forward; its neighbours angle back into the page
   (Squarespace-style coverflow), dimmed and softly out of focus so the eye lands on the middle ── */
.showcase-stage { perspective: 1400px; perspective-origin: 50% 45%; }
.showcase-card { transition: transform 1s cubic-bezier(.2,.75,.2,1), opacity .7s ease, filter .7s ease, box-shadow .7s ease; }
.showcase-card[data-pos="0"] { transform: translate(-50%, -50%) translateZ(40px); box-shadow: 0 50px 110px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.06), 0 0 80px -20px rgba(226,90,60,.25); }
.showcase-card[data-pos="-1"], .showcase-card[data-pos="1"] { opacity: .6; filter: brightness(.5) saturate(.75) blur(1.5px); }
.showcase-card[data-pos="-1"] { transform: translate(-122%, -50%) translateZ(-260px) rotateY(38deg) scale(.86); transform-origin: 100% 50%; }
.showcase-card[data-pos="1"]  { transform: translate(22%, -50%) translateZ(-260px) rotateY(-38deg) scale(.86); transform-origin: 0 50%; }
.showcase-card[data-pos="-1"]:hover, .showcase-card[data-pos="1"]:hover { opacity: .85; filter: brightness(.75) saturate(.9) blur(0); }
@media (max-width: 760px) {
  .showcase-card[data-pos="-1"] { transform: translate(-118%, -50%) translateZ(-200px) rotateY(34deg) scale(.82); }
  .showcase-card[data-pos="1"]  { transform: translate(18%, -50%) translateZ(-200px) rotateY(-34deg) scale(.82); }
}
@media (prefers-reduced-motion: reduce) { .showcase-card { transition: none; } }
.showcase-controls { margin-top: 2.2rem; }

/* ── Phones: nothing may be wider than the screen, so the page never pans sideways ── */
html, body { overflow-x: clip; max-width: 100%; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
.has-shapes, .slant, .board, .showcase { overflow-x: clip; }
.about-grid > *, .hub-grid > *, .svc-grid > *, .svc-col { min-width: 0; }
@media (max-width: 600px) {
  .stats-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .stat-number { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .stat-label { font-size: .72rem; }
  .nav { width: calc(100% - 1.5rem) !important; max-width: calc(100vw - 1.5rem); padding: .5rem .5rem .5rem .8rem; gap: .4rem; }
  .nav-logo-mark { font-size: 1rem; } .nav-logo-sub { font-size: .66rem; }
  .nav-actions { gap: .35rem; min-width: 0; }
  .nav-cta { max-width: 8.6rem; padding: .5rem .6rem; font-size: .56rem; }
}
/* phones keep the little shapes too, just smaller and tucked against the edges */
@media (max-width: 900px) {
  .shape.hide-sm { display: block; }
  .shape { transform-origin: center; scale: .62; }
}
.contact-section.has-shapes, .hub.has-shapes { position: relative; }
