:root {
  --bg: #f8f6fb;
  --surface: #ffffff;
  --ink: #111015;
  --muted: #65616b;
  --line: #ded9e7;
  --accent: #ab8fff;
  --accent-deep: #7d57df;
  --accent-soft: #eee8ff;
  --dark: #141219;
  --heading: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: Inter, "Helvetica Neue", Arial, sans-serif;
  --container: 1180px;
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--body); overflow-x: hidden; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section { padding: 112px 0; }
p { color: var(--muted); line-height: 1.75; }
h1, h2, .section-heading { margin: 0; font-family: var(--heading); font-weight: 900; letter-spacing: -.055em; line-height: 1.02; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 9999; padding: 12px 16px; background: var(--ink); color: #fff; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.eyebrow { margin: 0 0 18px; color: var(--accent-deep); font-size: 12px; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow-light { color: var(--accent); }

.pill { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 14px; padding: 13px 30px; border-radius: 999px; font-weight: 800; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.pill:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(17,16,21,.13); }
.pill-dark { background: var(--ink); color: #fff; }
.pill-accent { background: var(--accent); color: var(--ink); }
.pill-outline { border: 1px solid var(--line); background: #fff; }

/* Header — original homepage structure retained */
.site-header { height: 88px; position: relative; z-index: 60; background: var(--bg); }
.header-inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand, .footer-brand { font-family: var(--heading); font-weight: 900; letter-spacing: -2px; }
.brand { justify-self: start; font-size: 27px; white-space: nowrap; }
.brand span, .footer-brand span { color: var(--accent-deep); }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 24px; }
.main-nav a { position: relative; color: #39363e; font-size: 13px; font-weight: 700; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 2px; background: var(--accent-deep); transition: right .25s ease; }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.mobile-nav-cta { display: none; }
.header-cta { justify-self: end; min-height: 46px; padding-inline: 25px; font-size: 14px; white-space: nowrap; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; z-index: 80; }
.menu-toggle span { width: 28px; height: 2px; display: block; background: var(--ink); margin: 6px 0; transition: .25s ease; }

/* Hero */
.hero { background: var(--bg); overflow: hidden; }
.hero-inner { height: 750px; position: relative; overflow: hidden; }
.hero-kicker { position: absolute; top: 36px; left: 50%; transform: translateX(-50%); z-index: 4; width: 100%; margin: 0; text-align: center; color: var(--accent-deep); font-size: 11px; font-weight: 900; letter-spacing: .18em; }
.hero h1 { position: absolute; z-index: 1; top: 72px; left: 50%; transform: translateX(-50%); width: 100%; text-align: center; font-size: clamp(68px, 7.8vw, 110px); white-space: nowrap; }
.hero-left, .hero-right { position: absolute; z-index: 8; top: 330px; width: 275px; }
.hero-left { left: 0; }
.hero-right { right: 0; width: 305px; }
.hero-left > strong { display: block; margin-bottom: 16px; font-family: var(--heading); font-size: 51px; letter-spacing: -3px; }
.hero-left > p, .hero-right > p { margin: 0 0 26px; font-size: 15px; }
.hero-visual { position: absolute; z-index: 3; left: 50%; bottom: 0; width: 490px; height: 590px; transform: translateX(-50%); }
.hero-orbit { position: absolute; left: 50%; bottom: -155px; width: 520px; height: 520px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 45% 38%, #d9cfff 0 18%, var(--accent) 53%, var(--accent-deep) 100%); box-shadow: 0 35px 90px rgba(125,87,223,.28); }
.hero-orbit::before, .hero-orbit::after { content: ""; position: absolute; inset: 26px; border: 1px solid rgba(255,255,255,.4); border-radius: inherit; }
.hero-orbit::after { inset: 62px; opacity: .5; }
.hero-image-shell { position: absolute; inset: 0; }
.hero-image-shell picture { position: absolute; z-index: 2; left: 50%; bottom: 0; width: min(440px, 100%); transform: translateX(-50%); }
.hero-image-shell img { position: static; width: 100%; height: auto !important; max-width: 100%; max-height: 590px; aspect-ratio: auto; object-fit: contain; object-position: center bottom; transform: none; filter: drop-shadow(0 28px 35px rgba(17,16,21,.18)); }
.hero-badge { position: absolute; z-index: 8; display: inline-flex; align-items: center; min-height: 37px; padding: 9px 15px; border: 1px solid rgba(255,255,255,.75); border-radius: 999px; background: rgba(255,255,255,.86); box-shadow: 0 14px 35px rgba(17,16,21,.11); backdrop-filter: blur(12px); font-size: 10px; font-weight: 900; letter-spacing: .09em; }
.hero-badge-one { left: -18px; top: 235px; transform: rotate(-7deg); }
.hero-badge-two { right: -18px; top: 315px; transform: rotate(7deg); }
.hero-badge-three { left: 16px; bottom: 90px; transform: rotate(5deg); }
.process-play { border: 0; background: transparent; display: flex; align-items: center; gap: 16px; padding: 0; cursor: pointer; font-weight: 800; font-size: 16px; text-align: left; }
.play-circle { width: 88px; height: 88px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; transition: transform .25s ease; }
.process-play:hover .play-circle { transform: scale(1.06); }
.play-circle svg { width: 28px; fill: #fff; }
.hero-right .pill { min-width: 200px; margin-bottom: 54px; }
.keep-scrolling { display: flex; align-items: center; gap: 12px; width: fit-content; font-weight: 800; font-size: 14px; }
.mouse-icon { width: 32px; height: 47px; border: 2px solid var(--ink); border-radius: 16px; display: grid; place-items: center; font-size: 20px; animation: bob 1.7s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* Tickers */
.ticker-wrap { padding: 38px 0 66px; overflow: hidden; background: #fff; }
.ticker { width: 104%; margin-left: -2%; overflow: hidden; border-block: 1px solid rgba(17,16,21,.07); }
.ticker-accent { background: var(--accent); transform: rotate(.8deg); }
.ticker-dark { margin-top: 17px; background: var(--dark); color: #fff; transform: rotate(-.65deg); }
.ticker-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.ticker-group { display: flex; align-items: center; gap: 24px; padding: 16px 12px; font-family: var(--heading); font-size: 25px; white-space: nowrap; }
.ticker-group b { font-size: 25px; }
.ticker-reverse { animation-direction: reverse; animation-duration: 31s; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* About */
.about { padding-top: 124px; }
.about-inner { text-align: center; }
.about h2 { font-size: clamp(47px, 5vw, 70px); }
.section-copy { max-width: 800px; margin: 30px auto 0; font-size: 16px; }
.ai-service-copy { margin-top: 16px; }
.ai-service-copy strong { color: var(--ink); }
.stats { display: flex; justify-content: center; gap: 76px; margin: 52px auto 44px; }
.stats div { display: flex; flex-direction: column; }
.stats strong { font-family: var(--heading); font-size: 60px; letter-spacing: -4px; }
.stats span { margin-top: 8px; color: var(--muted); font-size: 14px; }

/* Agency */
.agency-spotlight { padding-top: 28px; }
.agency-card { min-height: 300px; display: grid; grid-template-columns: 210px 1fr auto; align-items: center; gap: 44px; padding: 42px; border: 1px solid var(--line); border-radius: 34px; background: linear-gradient(135deg, #fff, var(--accent-soft)); box-shadow: 0 26px 65px rgba(45,31,74,.09); transition: transform .3s ease, box-shadow .3s ease; }
.agency-card:hover { transform: translateY(-6px); box-shadow: 0 34px 80px rgba(45,31,74,.15); }
.agency-logo-shell { width: 190px; height: 190px; display: grid; place-items: center; padding: 18px; border-radius: 34px; background: #fff; box-shadow: 0 18px 50px rgba(17,16,21,.1); }
.agency-logo-shell img { width: 100%; height: 100%; object-fit: contain; border-radius: 22px; }
.agency-content h2 { font-size: clamp(41px, 4.4vw, 64px); }
.agency-content h2 span { color: var(--accent-deep); }
.agency-content p:last-child { max-width: 680px; margin: 22px 0 0; }
.agency-visit { display: inline-flex; align-items: center; gap: 15px; padding: 14px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; white-space: nowrap; }
.agency-visit b { color: var(--accent); font-size: 23px; }

/* Services */
.services { padding-top: 75px; }
.section-heading { margin-bottom: 54px; font-size: clamp(50px, 5vw, 73px); }
.service-list { border-top: 1px solid var(--line); }
.service-row { min-height: 190px; display: grid; grid-template-columns: 120px 340px 1fr 70px; align-items: center; column-gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.service-icon svg { width: 94px; height: 94px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.service-row h3 { margin: 0; font-size: 33px; line-height: 1.2; letter-spacing: -1.6px; }
.service-row p { max-width: 470px; font-size: 15px; }
.round-arrow { width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 31px; transition: .25s ease; }
.round-arrow:hover { background: var(--accent); border-color: var(--accent); transform: rotate(-8deg); }

/* Portfolio — only new homepage section */
.portfolio-section { background: var(--bg); overflow: hidden; }
.portfolio-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.portfolio-heading h2 { font-size: clamp(52px, 5vw, 74px); }
.portfolio-actions { display: flex; align-items: center; gap: 12px; }
.slider-button, .slider-arrow { border: 1px solid var(--line); background: #fff; cursor: pointer; transition: .25s ease; }
.slider-button { width: 56px; height: 56px; border-radius: 50%; font-size: 24px; }
.slider-button:hover, .slider-arrow:hover { background: var(--accent); border-color: var(--accent); }
.slider-button:disabled { opacity: .35; cursor: default; }
.case-slider { overflow: hidden; touch-action: pan-y; cursor: grab; }
.case-slider.dragging { cursor: grabbing; }
.case-track { display: flex; gap: 26px; transition: transform .5s cubic-bezier(.2,.75,.25,1); will-change: transform; }
.case-slider.dragging .case-track { transition: none; }
.case-card {
  flex: 0 0 calc((100% - 52px) / 3);
  min-width: 0;
  display: block;
  position: relative;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.case-card, .case-card * {
  -webkit-user-drag: none;
}
.case-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 8px;
  border-radius: 24px;
}
.case-image { position: relative; overflow: hidden; aspect-ratio: 1.26 / 1; border-radius: 24px; background: var(--accent-soft); }
.case-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.case-card:hover .case-image img { transform: scale(1.04); }
.case-arrow {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  font-size: 23px;
  transform: rotate(0deg);
  transition:
    transform .45s cubic-bezier(.2,.75,.25,1),
    background-color .25s ease,
    box-shadow .25s ease;
  transform-origin: center;
  pointer-events: none;
}
.case-card:hover .case-arrow,
.case-card:focus-visible .case-arrow {
  transform: rotate(180deg);
  background: var(--accent);
  box-shadow: 0 10px 28px rgba(113, 76, 214, .22);
}
.case-meta { padding-top: 20px; }
.case-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.case-tags span { display: inline-flex; padding: 7px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.case-meta h3, .case-meta h2 { margin: 15px 0 9px; font-size: 27px; line-height: 1.13; letter-spacing: -1.1px; }
.case-meta p { margin: 0; font-size: 14px; }
.empty-portfolio { min-height: 330px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 55px; padding: 40px; border: 1px dashed #c8bfd9; border-radius: 30px; background: #fff; }
.empty-visual { min-height: 240px; display: grid; place-items: center; border-radius: 24px; background: radial-gradient(circle at 50% 45%, #dcd1ff, var(--accent)); text-align: center; }
.empty-visual span { font-family: var(--heading); font-size: 38px; line-height: .95; }
.empty-portfolio h3 { margin: 0 0 15px; font-size: 31px; }

/* Process */
.process { background: var(--accent); text-align: center; }
.process h2 { font-size: clamp(55px, 5vw, 75px); }
.process-intro { max-width: 800px; margin: 26px auto 58px; color: #332943; }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; text-align: left; }
.process-grid article { min-height: 255px; display: grid; grid-template-columns: 58px 1fr; align-items: start; padding: 28px 24px; border: 1px solid rgba(17,16,21,.17); border-radius: 24px; background: rgba(255,255,255,.28); }
.process-grid article > span { font-family: var(--heading); color: rgba(255,255,255,.65); font-size: 48px; line-height: .9; }
.process-grid h3 { margin: 4px 0 12px; font-size: 22px; }
.process-grid p { margin: 0; color: #332943; font-size: 14px; }

/* Reviews */
.reviews { background: var(--dark); color: #fff; text-align: center; padding-bottom: 96px; }
.reviews h2 { font-size: clamp(55px, 5vw, 75px); }
.review-disclaimer { max-width: 670px; margin: 22px auto 52px; color: rgba(255,255,255,.55); font-size: 13px; }
.testimonial-shell { display: grid; grid-template-columns: 56px minmax(0,1fr) 56px; gap: 18px; align-items: center; }
.testimonial-viewport { overflow: hidden; }
.testimonial-track { display: flex; gap: 24px; transition: transform .55s cubic-bezier(.2,.75,.25,1); }
.testimonial-card { flex: 0 0 calc((100% - 48px) / 3); min-height: 385px; display: flex; flex-direction: column; padding: 38px 30px 34px; border-radius: 20px; background: #fff; color: var(--ink); text-align: left; }
.rating { margin-bottom: 22px; font-weight: 800; }
.rating span { color: var(--accent-deep); letter-spacing: 2px; }
.testimonial-card > p { flex: 1; margin: 0 0 25px; color: #5c5862; font-size: 14px; }
.reviewer { display: flex; align-items: center; gap: 14px; }
.reviewer img { width: 59px; height: 59px; border-radius: 50%; object-fit: cover; }
.reviewer h3 { margin: 0 0 3px; font-size: 18px; }
.reviewer span { color: #837d88; font-size: 12px; }
.slider-arrow { width: 54px; height: 54px; border-radius: 50%; font-size: 22px; }
.slider-dots { display: flex; justify-content: center; gap: 9px; margin-top: 38px; }
.slider-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #55515b; cursor: pointer; }
.slider-dots button.active { background: var(--accent); }

/* Contact */
.connect { background: #fff; text-align: center; }
.connect h2 { font-size: clamp(48px, 5vw, 69px); }
.contact-intro { max-width: 760px; margin: 24px auto 48px; }
.contact-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; text-align: left; }
.contact-card { min-height: 150px; display: grid; grid-template-columns: 1fr auto; align-content: space-between; gap: 10px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--bg); transition: transform .25s ease, border-color .25s ease; }
a.contact-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.contact-card > span { grid-column: 1 / -1; color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.contact-card strong { align-self: end; overflow-wrap: anywhere; font-size: 17px; }
.contact-card b { align-self: end; font-size: 24px; }
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; margin-top: 30px; text-align: left; }
.social-grid a { min-height: 74px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font-family: var(--heading); font-size: 17px; transition: padding .25s ease, color .25s ease; }
.social-grid a:hover { padding-inline: 12px; color: var(--accent-deep); }
.social-grid b { font-family: var(--body); font-size: 27px; font-weight: 400; }

/* Footer */
.site-footer { padding: 70px 0 34px; background: var(--dark); color: #fff; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 45px; }
.footer-brand { font-size: 31px; }
.footer-top p { max-width: 560px; margin: 0; color: rgba(255,255,255,.58); text-align: right; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 28px; margin-top: 55px; padding: 34px 0; border-block: 1px solid rgba(255,255,255,.12); }
.footer-nav a { color: rgba(255,255,255,.65); font-size: 13px; }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 30px; color: rgba(255,255,255,.38); font-size: 12px; }

/* Portfolio archive */
.portfolio-archive-hero { padding: 100px 0 82px; background: var(--bg); }
.portfolio-archive-hero h1 { font-size: clamp(55px, 7vw, 96px); }
.portfolio-archive-hero p:last-child { max-width: 680px; margin: 25px 0 0; font-size: 17px; }
.filter-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 45px; }
.filter-tags a { padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 900; }
.filter-tags a.active, .filter-tags a:hover { background: var(--accent); border-color: var(--accent); }
.filter-tags small { opacity: .65; margin-left: 4px; }
.archive-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 58px 30px; }
.archive-grid .case-card { min-width: 0; }
.archive-grid .case-meta h2 { font-size: 31px; }
.empty-state { min-height: 360px; display: grid; place-items: center; padding: 30px; border: 1px solid var(--line); border-radius: 30px; text-align: center; }

/* Case detail — navbar, then only content/images */
.case-detail-page { background: #fff; }
.case-detail-hero { padding: 78px 0 0; background: var(--bg); }
.case-detail-head { max-width: 950px; text-align: center; }
.back-link { display: inline-flex; margin-bottom: 36px; font-weight: 900; }
.case-detail-head .case-tags { justify-content: center; }
.case-detail-head h1 { margin: 24px 0 20px; font-size: clamp(52px, 7vw, 92px); line-height: .95; }
.case-detail-head > p { max-width: 760px; margin: 0 auto 54px; font-size: 18px; }
.case-cover { transform: translateY(35px); }
.case-cover img { width: 100%; max-height: 760px; object-fit: cover; border-radius: 30px; box-shadow: 0 30px 80px rgba(17,16,21,.15); }
.case-content { padding-top: 125px; padding-bottom: 70px; }
.case-block { max-width: 800px; margin-left: auto; margin-right: auto; }
.case-heading { margin-top: 72px; margin-bottom: 20px; font-size: clamp(36px, 4vw, 58px); }
.case-text { margin-top: 25px; margin-bottom: 32px; }
.case-text p { margin: 0 0 22px; font-size: 18px; line-height: 1.82; }
.case-quote { margin-top: 56px; margin-bottom: 56px; padding: 36px 43px; border-left: 6px solid var(--accent); border-radius: 0 24px 24px 0; background: var(--accent-soft); font-family: Georgia, serif; font-size: clamp(25px, 3vw, 38px); line-height: 1.4; }
.case-image-block { max-width: 1120px; margin-top: 64px; margin-bottom: 64px; }
.case-image-block img { width: 100%; border-radius: 28px; }
.case-image-block figcaption { margin-top: 12px; color: var(--muted); text-align: center; font-size: 13px; }
.case-next-prev { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 44px 0 88px; border-top: 1px solid var(--line); }
.case-next-prev div { display: flex; flex-direction: column; gap: 8px; }
.case-next-prev small { color: var(--muted); text-transform: uppercase; letter-spacing: .16em; font-weight: 900; }
.case-next-prev a { font-weight: 900; font-size: 18px; }
.next-case { text-align: right; align-items: flex-end; }
.not-found { min-height: 70vh; display: grid; align-items: center; text-align: center; background: var(--bg); }
.not-found h1 { font-size: clamp(55px,7vw,90px); }
.not-found .pill { margin-top: 28px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .main-nav { gap: 17px; }
  .main-nav a { font-size: 12px; }
  .header-cta { padding-inline: 20px; }
  .hero-inner { height: 720px; }
  .hero h1 { font-size: 72px; }
  .hero-left, .hero-right { width: 240px; top: 315px; }
  .hero-right { width: 255px; }
  .hero-visual { width: 450px; }
  .hero-image-shell picture { width: min(410px, 100%); }
  .service-row { grid-template-columns: 100px 285px 1fr 62px; gap: 20px; }
  .service-row h3 { font-size: 29px; }
  .agency-card { grid-template-columns: 170px 1fr; }
  .agency-logo-shell { width: 160px; height: 160px; }
  .agency-visit { grid-column: 2; justify-self: start; }
  .case-card { flex-basis: calc((100% - 26px) / 2); }
  .testimonial-card { flex-basis: calc((100% - 24px) / 2); }
  .process-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .container { width: min(100% - 30px, var(--container)); }
  .section { padding: 88px 0; }
  .header-inner { grid-template-columns: 1fr auto; }
  .header-cta { display: none; }
  .menu-toggle { display: block; justify-self: end; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; justify-content: center; gap: 24px; background: var(--bg); transform: translateX(100%); transition: transform .35s ease; }
  .main-nav.open { transform: none; }
  .main-nav a { font-family: var(--heading); font-size: 31px; }
  .mobile-nav-cta { display: inline-flex !important; color: var(--accent-deep) !important; }

  .hero-inner { height: auto; min-height: 1100px; padding-top: 44px; display: flex; flex-direction: column; }
  .hero-kicker, .hero h1, .hero-left, .hero-right, .hero-visual { position: relative; inset: auto; transform: none; width: 100%; }
  .hero-kicker { order: 1; }
  .hero h1 { order: 2; margin-top: 24px; font-size: clamp(48px, 10vw, 73px); white-space: normal; }
  .hero-visual { order: 3; width: min(520px,100%); height: 570px; margin: 12px auto 0; }
  .hero-orbit { width: 500px; height: 500px; }
  .hero-left { order: 4; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 35px 0 20px; }
  .hero-left > strong, .hero-left > p { grid-column: 1; }
  .process-play { grid-column: 2; grid-row: 1/3; justify-self: end; }
  .hero-right { order: 5; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-bottom: 52px; }
  .hero-right > p { max-width: 480px; margin: 0; }
  .hero-right .pill { margin: 0; }
  .keep-scrolling { display: none; }
  .hero-badge-one { left: 4px; }
  .hero-badge-two { right: 4px; }

  .stats { gap: 34px; }
  .agency-card { grid-template-columns: 130px 1fr; gap: 26px; padding: 30px; }
  .agency-logo-shell { width: 125px; height: 125px; }
  .service-row { grid-template-columns: 78px 1fr 58px; }
  .service-row p { grid-column: 2; margin-top: 0; }
  .round-arrow { grid-column: 3; grid-row: 1 / 3; }
  .portfolio-heading { align-items: flex-start; flex-direction: column; }
  .case-card { flex-basis: 80%; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-shell { grid-template-columns: 48px minmax(0,1fr) 48px; gap: 10px; }
  .testimonial-card { flex-basis: 100%; }
  .contact-cards { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .footer-top p { text-align: left; }
}

@media (max-width: 600px) {
  .site-header { height: 76px; }
  .brand { font-size: 23px; }
  .hero-inner { min-height: 1040px; }
  .hero h1 { font-size: 44px; }
  .hero-visual { height: 490px; }
  .hero-orbit { width: 430px; height: 430px; bottom: -125px; }
  .hero-image-shell picture { width: min(355px, 100%); }
  .hero-badge { padding: 8px 11px; font-size: 8px; }
  .hero-badge-one { left: 2px; top: 205px; }
  .hero-badge-two { right: 2px; top: 278px; }
  .hero-badge-three { left: 4px; bottom: 65px; }
  .hero-left { display: block; text-align: center; }
  .hero-left > strong { font-size: 46px; }
  .process-play { justify-content: center; margin: 24px auto 0; }
  .play-circle { width: 76px; height: 76px; }
  .hero-right { flex-direction: column; text-align: center; }
  .ticker-group { font-size: 20px; padding-block: 14px; }
  .about h2, .section-heading, .agency-content h2, .portfolio-heading h2, .process h2, .reviews h2, .connect h2, .portfolio-archive-hero h1 { font-size: 40px; }
  .stats { flex-direction: column; gap: 19px; }
  .stats strong { font-size: 50px; }
  .agency-card { grid-template-columns: 82px 1fr; padding: 22px; border-radius: 26px; }
  .agency-logo-shell { width: 82px; height: 82px; padding: 9px; border-radius: 20px; }
  .agency-content p:last-child { grid-column: 1 / -1; }
  .agency-visit { grid-column: 1 / -1; }
  .service-row { grid-template-columns: 62px 1fr 48px; padding: 32px 0; }
  .service-icon svg { width: 58px; height: 58px; }
  .service-row h3 { font-size: 24px; }
  .service-row p { font-size: 14px; }
  .round-arrow { width: 46px; height: 46px; font-size: 23px; }
  .portfolio-actions .pill { display: none; }
  .slider-button { width: 49px; height: 49px; }
  .case-card { flex-basis: 92%; }
  .case-meta h3, .case-meta h2 { font-size: 23px; }
  .empty-portfolio { grid-template-columns: 1fr; padding: 22px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article { min-height: 220px; }
  .testimonial-shell { grid-template-columns: 1fr; }
  .slider-arrow { display: none; }
  .testimonial-card { min-height: 400px; }
  .social-grid { grid-template-columns: 1fr; }
  .footer-nav { gap: 19px 24px; }
  .footer-bottom { flex-direction: column; }
  .case-detail-hero { padding-top: 54px; }
  .case-detail-head h1 { font-size: 47px; }
  .case-detail-head > p { font-size: 16px; }
  .case-cover { width: 100%; transform: translateY(24px); }
  .case-cover img { border-radius: 0; }
  .case-content { padding-top: 78px; }
  .case-heading { font-size: 36px; }
  .case-text p { font-size: 17px; }
  .case-quote { padding: 27px; font-size: 24px; }
  .case-image-block { width: calc(100% + 30px); margin-left: -15px; }
  .case-image-block img { border-radius: 0; }
  .case-next-prev { grid-template-columns: 1fr; }
  .next-case { text-align: left; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Case-study sharing, contact and feedback */
.case-share-row { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: -25px 0 55px; }
.case-share-button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 13px 22px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 900; cursor: pointer; box-shadow: 0 10px 30px rgba(17,16,21,.06); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.case-share-button:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 16px 34px rgba(17,16,21,.1); }
.case-share-button svg { width: 20px; height: 20px; fill: currentColor; }
.case-share-status { min-height: 20px; color: var(--accent-deep); font-size: 13px; font-weight: 800; }

.case-contact-section { padding: 95px 0; background: var(--bg); border-top: 1px solid var(--line); }
.case-contact-inner { display: grid; grid-template-columns: minmax(0,.9fr) minmax(420px,1.1fr); gap: 72px; align-items: center; }
.case-contact-copy h2 { margin: 0; font-size: clamp(42px,5vw,68px); }
.case-contact-copy > p:last-of-type { max-width: 620px; margin: 24px 0 30px; font-size: 17px; }
.case-contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.case-socials { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.case-socials a { min-height: 114px; display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.case-socials a:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 18px 40px rgba(17,16,21,.08); }
.case-socials a > span:nth-child(2) { display: flex; flex-direction: column; gap: 4px; }
.case-socials strong { font-size: 16px; }
.case-socials small { color: var(--muted); font-size: 12px; }
.case-socials b { color: var(--muted); font-size: 23px; font-weight: 400; }
.case-social-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--accent-soft); color: var(--accent-deep); font-family: Arial, sans-serif; font-size: 25px; font-weight: 900; line-height: 1; }
.case-social-instagram { font-size: 31px; font-weight: 500; }
.case-social-linkedin { font-size: 19px; }
.case-social-tiktok { font-size: 27px; }

.case-reaction-section { padding: 70px 0 82px; background: var(--dark); color: #fff; }
.case-reaction-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.case-reaction-inner h2 { margin: 0; max-width: 650px; font-size: clamp(34px,4vw,55px); }
.reaction-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-width: 330px; }
.reaction-button { min-height: 64px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 20px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.06); color: #fff; font-weight: 900; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.reaction-button:hover { transform: translateY(-2px); border-color: var(--accent); }
.reaction-button.active { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.reaction-button:disabled { opacity: .62; cursor: wait; transform: none; }
.reaction-button svg { width: 22px; height: 22px; fill: currentColor; }
.reaction-button strong { min-width: 22px; height: 22px; display: grid; place-items: center; padding: 0 6px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: 12px; }
.reaction-button.active strong { background: rgba(17,16,21,.12); }
.reaction-status { grid-column: 1 / -1; min-height: 20px; margin: 2px 0 0; color: rgba(255,255,255,.68); text-align: center; font-size: 12px; }

@media (max-width: 960px) {
  .case-contact-inner { grid-template-columns: 1fr; gap: 45px; }
  .case-reaction-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
  .case-share-row { margin-top: -22px; margin-bottom: 42px; }
  .case-share-button { width: 100%; }
  .case-contact-section { padding: 72px 0; }
  .case-contact-copy h2 { font-size: 39px; }
  .case-contact-actions { flex-direction: column; }
  .case-contact-actions .pill { width: 100%; }
  .case-socials { grid-template-columns: 1fr; }
  .case-socials a { min-height: 94px; }
  .case-reaction-section { padding: 60px 0 68px; }
  .case-reaction-inner h2 { font-size: 36px; }
  .reaction-controls { width: 100%; min-width: 0; }
  .reaction-button { padding-inline: 12px; }
}
.case-social-icon svg { width: 25px; height: 25px; fill: currentColor; }
@media (prefers-reduced-motion: reduce) {
  .case-share-button, .case-socials a, .reaction-button { transition: none !important; }
}

/* Rich formatting inside case-study text blocks */
.case-text strong, .case-text b, .case-quote strong, .case-quote b { color: var(--ink); font-weight: 900; }
.case-text em, .case-text i, .case-quote em, .case-quote i { font-style: italic; }
.case-text u, .case-quote u { text-underline-offset: 3px; }
.case-text ul, .case-text ol { margin: 12px 0 28px 28px; padding-left: 18px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.case-text li { margin: 8px 0; padding-left: 5px; }
.case-text li::marker { color: var(--accent-deep); font-weight: 900; }
.case-text a, .case-quote a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 4px; }
.case-quote p { margin: 0 0 15px; color: inherit; line-height: inherit; }
.case-quote p:last-child { margin-bottom: 0; }
.case-quote ul, .case-quote ol { margin: 15px 0 0 25px; padding-left: 15px; }
.case-quote li { margin: 8px 0; }

@media (max-width: 720px) {
  .case-text ul, .case-text ol { margin-left: 18px; padding-left: 16px; font-size: 16px; }
}
