/* BUBLYN STUDIO V2 — LIGHT EDITORIAL / OCT 2026
   Public marketing pages only. Admin keeps its original stable stylesheet.
   Portfolio rows intentionally stay horizontal at ALL viewport widths. */
:root { --paper:#fbfcfe; --paper-2:#f2f5fb; --ink:#111b2f; --muted:#5f6b7e; --line:#e2e6ee; --blue:#2866ff; --lime:#d9ff43; --orange:#ff6349; }
html { scroll-padding-top:90px; }
body.marketing-body { background:var(--paper); color:var(--ink); font-family:Arial,Helvetica,sans-serif; -webkit-font-smoothing:antialiased; }
body.marketing-body a { color:inherit; }
body.marketing-body .marketing-site { min-height:100vh; overflow:visible; background:var(--paper); color:var(--ink); }
body.marketing-body .site-shell { width:min(1200px,calc(100% - 72px)); }
body.marketing-body * { box-sizing:border-box; }
body.marketing-body ::selection { background:var(--lime); color:var(--ink); }
body.marketing-body :focus-visible { outline:3px solid var(--blue); outline-offset:4px; }
body.marketing-body .reveal { opacity:1; transform:none; }

/* Header & nav */
body.marketing-body .site-header { position:sticky; top:0; z-index:100; background:rgba(251,252,254,.94); border-bottom:1px solid var(--line); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); }
body.marketing-body .site-header nav { height:84px; border:0; display:flex; align-items:center; justify-content:space-between; gap:18px; position:relative; }
body.marketing-body .site-brand { display:flex; align-items:center; width:190px; max-width:42%; height:auto; flex:0 0 auto; }
body.marketing-body .site-brand img { display:block; width:100%; height:auto; }
body.marketing-body .site-nav-links { display:flex; align-items:center; gap:29px; font-size:13px; font-weight:700; color:#546176; }
body.marketing-body .site-nav-links>a:not(.pill-button) { padding:33px 0; position:relative; white-space:nowrap; }
body.marketing-body .site-nav-links>a:not(.pill-button):hover, body.marketing-body .site-nav-links>a[aria-current=page] { color:var(--ink); }
body.marketing-body .site-nav-links>a[aria-current=page]:after { content:""; height:2px; background:var(--blue); bottom:22px; left:0; right:0; position:absolute; }
body.marketing-body .pill-button { display:inline-flex; align-items:center; justify-content:center; gap:19px; background:var(--lime); border:1px solid var(--lime); color:var(--ink); min-height:52px; padding:0 24px; border-radius:14px; font-size:14px; font-weight:800; white-space:nowrap; transition:transform .2s ease,box-shadow .2s ease,background .2s ease; }
body.marketing-body .pill-button:hover { background:#e6ff82; transform:translateY(-2px); box-shadow:0 6px 22px rgba(45,57,80,.1); }
body.marketing-body .pill-button.ghost { color:var(--ink); background:transparent; border-color:#c4cad4; }
body.marketing-body .pill-button.ghost:hover { background:#f0f3f8; }
body.marketing-body .pill-button.dark,body.marketing-body .nav-cta { color:#fff; background:var(--ink); border-color:var(--ink); }
body.marketing-body .pill-button.dark:hover,body.marketing-body .nav-cta:hover { background:#304160; }
body.marketing-body .nav-cta { min-height:42px; padding:0 19px; border-radius:12px; font-size:12px; }
body.marketing-body .menu-toggle { display:none; }

/* Hero — preserving the original four tilted cards */
body.marketing-body .hero-section { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.87fr); gap:65px; align-items:center; padding:98px 0 92px; min-height:min(790px,calc(100svh - 84px)); }
body.marketing-body .hero-copy-block { min-width:0; }
body.marketing-body .eyebrow { display:inline-flex; align-items:center; gap:10px; color:#7b8aa2; font-size:11px; line-height:1.6; font-weight:800; text-transform:uppercase; letter-spacing:.15em; }
body.marketing-body .eyebrow::before { display:block; content:""; width:24px; height:2px; background:var(--blue); }
body.marketing-body .hero-copy-block h1 { max-width:none; margin:32px 0 28px; font-size:clamp(62px,6.6vw,107px); line-height:.91; letter-spacing:-.078em; font-weight:900; text-transform:uppercase; }
body.marketing-body .hero-copy-block h1 span { color:transparent; -webkit-text-stroke:2px var(--ink); }
body.marketing-body .hero-copy-block h1 .headline-dot { -webkit-text-stroke:0; color:var(--blue); }
body.marketing-body .hero-copy-block>p { margin:0; max-width:500px; color:var(--muted); font-size:clamp(15px,1.4vw,18px); line-height:1.65; }
body.marketing-body .hero-actions { display:flex; flex-wrap:wrap; margin-top:32px; gap:12px; }
body.marketing-body .hero-footnote { margin-top:38px; padding-top:22px; border-top:1px solid var(--line); display:flex; align-items:center; gap:12px; color:#718099; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.13em; line-height:1.5; }
body.marketing-body .footnote-mark { color:var(--blue); font-size:29px; }
body.marketing-body .hero-stack { height:470px; perspective:1000px; position:relative; isolation:isolate; }
body.marketing-body .hero-stack:before { content:""; position:absolute; width:90%; height:80%; top:8%; left:8%; background:radial-gradient(ellipse,#e4ecff,transparent 68%); z-index:-1; }
body.marketing-body .stack-scribble { position:absolute; top:0; right:4%; transform:rotate(7deg); color:#566985; z-index:4; font-size:14px; line-height:1.1; font-family:Georgia,serif; font-style:italic; }
body.marketing-body .stack-scribble>span { display:block; text-align:right; font-size:32px; }
body.marketing-body .stack-card { position:absolute; width:63%; height:70%; right:6%; padding:26px; border-radius:19px; border:1px solid rgba(18,28,48,.1); display:flex; flex-direction:column; justify-content:space-between; box-shadow:0 24px 45px rgba(14,33,69,.15); transition:transform .45s cubic-bezier(.2,.8,.2,1); overflow:hidden; }
body.marketing-body .stack-card:after { display:none; }
body.marketing-body .stack-card span { font-size:10px; letter-spacing:.13em; font-weight:900; }
body.marketing-body .stack-card strong { font-size:clamp(44px,4.8vw,69px); line-height:.87; letter-spacing:-.075em; font-weight:900; }
body.marketing-body .stack-card small { font-size:12px; font-weight:800; }
body.marketing-body .stack-blue { top:13%; right:37%; background:#316aff; color:#fff; transform:rotate(-13deg); z-index:4; }
body.marketing-body .stack-orange { top:8%; right:12%; background:var(--orange); color:var(--ink); transform:rotate(9deg); z-index:3; }
body.marketing-body .stack-white { top:11%; right:1%; background:#fdfdfd; color:var(--ink); transform:rotate(-3deg); z-index:2; }
body.marketing-body .stack-lime { top:18%; right:-8%; background:var(--lime); color:var(--ink); transform:rotate(8deg); z-index:1; }
body.marketing-body .hero-stack:hover .stack-blue { transform:rotate(-16deg) translate(-10px,-8px); }
body.marketing-body .hero-stack:hover .stack-orange { transform:rotate(11deg) translate(8px,-4px); }
body.marketing-body .hero-stack:hover .stack-white { transform:rotate(-5deg) translate(0,5px); }
body.marketing-body .hero-stack:hover .stack-lime { transform:rotate(10deg) translate(7px,8px); }

/* Ticker */
body.marketing-body .ticker { padding:15px 0; background:var(--ink); color:#fff; border:0; overflow:hidden; }
body.marketing-body .ticker-items { gap:22px; padding-right:22px; font-size:11px; letter-spacing:.12em; font-weight:900; }
body.marketing-body .ticker-items i { width:6px; height:6px; flex:0 0 6px; background:var(--lime); }

/* Section headings */
body.marketing-body .site-section { padding-block:100px; }
body.marketing-body .section-heading { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(260px,.6fr); gap:50px; align-items:end; margin-bottom:41px; }
body.marketing-body .section-heading h2 { margin:18px 0 0; font-size:clamp(39px,5.2vw,72px); line-height:.96; letter-spacing:-.065em; font-weight:900; text-transform:uppercase; }
body.marketing-body .section-heading h2 span { color:var(--blue); }
body.marketing-body .section-description { align-self:end; padding-bottom:5px; }
body.marketing-body .section-description p { max-width:420px; color:var(--muted); line-height:1.6; font-size:14px; margin:0; }
body.marketing-body .inline-link { display:inline-flex; margin-top:18px; font-size:13px; font-weight:800; color:var(--blue)!important; border-bottom:1px solid var(--blue); padding-bottom:4px; }

/* Featured work and archive: 1/4 thumbnail + 3/4 information, never stacked */
body.marketing-body .portfolio-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:0; }
body.marketing-body .portfolio-card { min-width:0; position:relative; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,3fr); gap:28px; align-items:center; border-bottom:1px solid var(--line); padding:17px 56px 17px 0; transition:background .2s ease; }
body.marketing-body .portfolio-card:first-child { border-top:1px solid var(--line); }
body.marketing-body .portfolio-thumb { min-width:0; display:block; aspect-ratio:1.82; border-radius:12px; background:#eaf0fb; overflow:hidden; }
body.marketing-body .portfolio-thumb img { width:100%;height:100%;display:block;object-fit:cover;transition:transform .4s ease; }
body.marketing-body .portfolio-card:hover .portfolio-thumb img { transform:scale(1.04); }
body.marketing-body .portfolio-placeholder { height:100%; width:100%; display:flex; flex-direction:column; justify-content:space-between; padding:18px; font-size:11px; color:#fff; }
body.marketing-body .portfolio-placeholder strong { text-align:right; font-size:70px; line-height:.9; font-weight:900; }
body.marketing-body .portfolio-information { min-width:0; }
body.marketing-body .portfolio-meta { display:flex; justify-content:flex-start; align-items:center; flex-wrap:wrap; gap:11px; margin:0 0 10px; letter-spacing:0; font-size:11px; text-transform:none; }
body.marketing-body .portfolio-number { font-variant-numeric:tabular-nums; color:#718096; font-weight:800; }
body.marketing-body .category-chip { background:#e8eeff; color:#315dde; padding:5px 10px; border-radius:6px; font-weight:800; }
body.marketing-body .portfolio-card h3 { margin:0 0 7px; font-size:clamp(20px,2.05vw,29px); line-height:1.16; letter-spacing:-.045em; font-weight:900; }
body.marketing-body .portfolio-card h3 a:hover { color:var(--blue); }
body.marketing-body .portfolio-card p { margin:0; max-width:760px; color:var(--muted); font-size:14px; line-height:1.55; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; }
body.marketing-body .portfolio-actions { margin-top:11px; }
body.marketing-body .view-project { display:inline-flex; margin:0; font-size:12px; font-weight:800; color:var(--blue); gap:10px; }
body.marketing-body .project-arrow { position:absolute; right:2px; top:50%; transform:translateY(-50%); width:39px; height:39px; display:grid; place-items:center; border:1px solid #cdd6e5; border-radius:50%; color:var(--ink); font-size:22px; transition:background .2s ease,color .2s ease; }
body.marketing-body .project-arrow:hover { background:var(--blue); color:#fff; border-color:var(--blue); }
body.marketing-body .work-empty { padding:60px 30px; background:var(--paper-2); border-radius:18px; }
body.marketing-body .work-empty h3 { margin:0 0 12px; }
body.marketing-body .work-empty a { color:var(--blue); font-weight:800; }
body.marketing-body .portfolio-card[hidden],body.marketing-body #portfolio-empty[hidden] { display:none!important; }

/* Services */
body.marketing-body .services-section { background:var(--paper-2); color:var(--ink); }
body.marketing-body .service-list { border-top:1px solid #cdd5e0; }
body.marketing-body .service-row { display:grid; grid-template-columns:42px minmax(210px,1fr) minmax(0,1fr) 20px; gap:26px; padding:28px 0; align-items:center; border-bottom:1px solid #cdd5e0; }
body.marketing-body .service-row:hover { padding-left:12px; }
body.marketing-body .service-index { font-size:11px; color:#8793a5; font-weight:800; }
body.marketing-body .service-label { display:flex; align-items:center; gap:16px; min-width:0; }
body.marketing-body .service-symbol { display:grid; place-items:center; width:44px; height:44px; flex-shrink:0; border-radius:12px; background:#fff; color:var(--blue); font-weight:900; font-size:21px; }
body.marketing-body .service-row:nth-child(2) .service-symbol { color:var(--orange); }
body.marketing-body .service-row:nth-child(3) .service-symbol { color:#849d00; background:var(--lime); }
body.marketing-body .service-row h3 { font-size:clamp(20px,2.2vw,29px); font-weight:900; letter-spacing:-.04em; line-height:1.1; margin:0; }
body.marketing-body .service-row p { margin:0; color:var(--muted); font-size:13px; line-height:1.55; }
body.marketing-body .service-end { font-size:23px; font-weight:400; color:var(--ink); }

/* Story */
body.marketing-body .story-section { display:grid; grid-template-columns:.65fr 1fr; gap:11%; align-items:center; }
body.marketing-body .story-icon { aspect-ratio:1; max-width:360px; width:100%; display:grid; place-items:center; background:radial-gradient(circle at 50% 50%,#e7eeff 0%,#f6f8fd 64%,transparent 75%); border-radius:50%; }
body.marketing-body .story-icon img { width:57%; filter:drop-shadow(12px 24px 18px rgba(37,77,130,.12)); }
body.marketing-body .story-copy h2 { margin:19px 0 22px; font-size:clamp(43px,5vw,67px); line-height:1; letter-spacing:-.06em; }
body.marketing-body .story-copy p { color:var(--muted); line-height:1.77; font-size:15px; margin:0 0 14px; }
body.marketing-body .story-copy strong { color:var(--ink); }
body.marketing-body .story-motto { display:inline-block; margin-top:18px; padding-bottom:8px; border-bottom:3px solid var(--lime); font-weight:900; font-size:16px; }

/* Process */
body.marketing-body .process-section { background:#eef3fb; }
body.marketing-body .process-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-top:1px solid #cfd9e9; }
body.marketing-body .process-step,body.marketing-body .process-step+.process-step { min-height:176px; padding:26px 19px 8px 0; border-right:1px solid #cfd9e9; }
body.marketing-body .process-step+.process-step { padding-left:19px; }
body.marketing-body .process-step:last-child { border-right:0; }
body.marketing-body .process-step>span { font-size:11px; text-transform:uppercase; color:#315dde; letter-spacing:.07em; font-weight:900; }
body.marketing-body .process-step h3 { margin:30px 0 9px; font-size:18px; letter-spacing:-.03em; }
body.marketing-body .process-step p { font-size:13px; line-height:1.55; color:var(--muted); }

/* CTA + Footer */
body.marketing-body .cta-section { padding-block:75px 100px; }
body.marketing-body .cta-box { background:var(--lime); color:var(--ink); border-radius:22px; padding:clamp(30px,5vw,70px); display:grid; grid-template-columns:1.4fr .6fr; gap:25px; align-items:end; }
body.marketing-body .cta-box:after { opacity:.08; top:-25%; right:3%; font-size:26rem; }
body.marketing-body .cta-box .eyebrow { color:#53631b; }
body.marketing-body .cta-box .eyebrow:before { background:var(--ink); }
body.marketing-body .cta-box h2 { margin:12px 0 0; font-size:clamp(42px,5.2vw,69px); line-height:.97; letter-spacing:-.06em; }
body.marketing-body .cta-box h2 span { color:var(--ink); }
body.marketing-body .cta-right p { font-size:14px; line-height:1.6; margin:0 0 20px; }
body.marketing-body .site-footer { background:#f0f3f8; padding:54px 0 22px; border-top:1px solid var(--line); }
body.marketing-body .footer-top { display:grid; grid-template-columns:1fr .7fr .85fr; gap:40px; padding-bottom:48px; }
body.marketing-body .footer-brand img { width:174px; height:auto; opacity:1; }
body.marketing-body .footer-brand p { font-size:14px; line-height:1.5; font-weight:800; color:#66758d; margin:20px 0 0; }
body.marketing-body .footer-links { display:grid; grid-template-columns:1fr 1fr; gap:12px 20px; font-size:13px; font-weight:700; }
body.marketing-body .footer-links a:hover { color:var(--blue); }
body.marketing-body .footer-contact>span { font-size:12px; color:#77849a; display:block; margin-bottom:8px; }
body.marketing-body .footer-contact>a { color:var(--ink); font-size:18px; font-weight:900; }
body.marketing-body .footer-bottom { display:flex; justify-content:space-between; padding-top:22px; border-top:1px solid #d5dce7; font-size:11px; color:#78849a; gap:18px; }

/* Portfolio archive / filtering */
body.marketing-body .portfolio-archive { padding-bottom:94px; }
body.marketing-body .portfolio-intro { padding:88px 0 35px; border-color:var(--line); }
body.marketing-body .portfolio-intro h1 { margin:22px 0 24px; font-size:clamp(54px,7.6vw,108px); line-height:.98; letter-spacing:-.075em; text-transform:uppercase; }
body.marketing-body .portfolio-intro h1 span { color:var(--blue); -webkit-text-stroke:0; }
body.marketing-body .portfolio-intro-copy { display:flex; align-items:end; justify-content:space-between; gap:30px; }
body.marketing-body .portfolio-intro-copy p { max-width:740px; font-size:16px; color:var(--muted); }
body.marketing-body .portfolio-intro-copy>span { color:#72819a; font-size:11px; font-weight:900; white-space:nowrap; }
body.marketing-body .portfolio-toolbar { padding:26px 0 30px; }
body.marketing-body .portfolio-filters { display:flex; gap:8px; flex-wrap:wrap; padding:0; }
body.marketing-body .portfolio-filters button { min-height:39px; border-color:var(--line); background:#fff; color:#53627a; font-size:12px; font-weight:800; padding:0 14px; }
body.marketing-body .portfolio-filters button:hover,body.marketing-body .portfolio-filters button.active { background:var(--ink); color:#fff; border-color:var(--ink); }
body.marketing-body .archive-grid { padding-bottom:20px; }
body.marketing-body .empty-portfolio { padding:40px; color:var(--muted); }
body.marketing-body .archive-bottom-cta { display:flex; gap:20px; justify-content:space-between; align-items:center; padding-top:50px; font-size:21px; font-weight:900; }

/* Detail */
body.marketing-body .project-detail { padding:50px 0 110px; }
body.marketing-body .detail-back { display:inline-flex; font-size:13px; font-weight:800; color:var(--muted); margin-bottom:55px; }
body.marketing-body .detail-back:hover { color:var(--blue); }
body.marketing-body .detail-intro { max-width:950px; margin-bottom:42px; }
body.marketing-body .detail-intro h1,body.marketing-body .not-found h1 { margin:24px 0; font-size:clamp(48px,7vw,100px); line-height:.97; letter-spacing:-.07em; }
body.marketing-body .detail-intro p { max-width:760px; color:var(--muted); font-size:19px; line-height:1.5; }
body.marketing-body .detail-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
body.marketing-body .detail-visual { background:#e9eef8; width:100%; aspect-ratio:16/9; overflow:hidden; border-radius:20px; }
body.marketing-body .detail-visual>img { width:100%;height:100%;object-fit:contain; }
body.marketing-body .detail-no-image { width:100%; height:100%; display:flex; align-items:center; justify-content:center; flex-direction:column;gap:20px; font-size:18px; font-weight:800; color:var(--muted); }
body.marketing-body .detail-no-image img { width:140px; }
body.marketing-body .detail-description { display:grid; grid-template-columns:1fr 2fr; gap:40px; padding:70px 0 30px; }
body.marketing-body .detail-description h2 { margin:0 0 18px; font-size:40px; line-height:1.1; letter-spacing:-.045em; }
body.marketing-body .detail-description p { color:var(--muted); max-width:690px; line-height:1.8; }
body.marketing-body .not-found { padding:40px 0 100px; }
body.marketing-body .not-found p { color:var(--muted);margin-bottom:30px; }

@media (max-width:1020px) {
  body.marketing-body .site-shell { width:min(100% - 48px,1200px); }
  body.marketing-body .site-nav-links { gap:16px; }
  body.marketing-body .hero-section { gap:26px; }
  body.marketing-body .hero-copy-block h1 { font-size:clamp(58px,7vw,83px); }
  body.marketing-body .hero-stack { height:400px; }
  body.marketing-body .stack-card { width:63%;height:69%; }
  body.marketing-body .stack-card strong { font-size:48px; }
  body.marketing-body .service-row { grid-template-columns:30px minmax(0,1fr) minmax(0,1fr) 18px; gap:15px; }
}
@media (max-width:760px) {
  body.marketing-body .site-shell { width:min(100% - 36px,1200px); }
  body.marketing-body .site-header nav { height:69px; }
  body.marketing-body .site-brand { width:162px; }
  body.marketing-body .menu-toggle { width:42px;height:42px; background:#fff; border:1px solid var(--line); border-radius:10px; display:flex; flex-direction:column; align-items:center;justify-content:center;gap:5px; cursor:pointer; padding:0; }
  body.marketing-body .menu-toggle span { width:19px;height:2px;border-radius:2px; background:var(--ink); }
  body.marketing-body .site-nav-links { display:none; position:absolute; z-index:101; top:calc(100% + 1px); left:0;right:0; background:#fff; padding:12px 17px 18px; box-shadow:0 18px 28px rgba(16,33,57,.13); border:1px solid var(--line); border-top:0; border-radius:0 0 14px 14px; }
  body.marketing-body .site-nav-links.open { display:flex; flex-direction:column; align-items:stretch; gap:0; }
  body.marketing-body .site-nav-links>a:not(.pill-button) { display:block; padding:12px 4px; }
  body.marketing-body .site-nav-links>a[aria-current=page]:after { bottom:7px;right:auto;width:26px; }
  body.marketing-body .site-nav-links .pill-button { display:flex; margin-top:10px; }
  body.marketing-body .hero-section { grid-template-columns:1fr; min-height:auto; padding:62px 0 20px; gap:16px; }
  body.marketing-body .hero-copy-block h1 { font-size:clamp(50px,10vw,82px); margin:24px 0; line-height:.93; }
  body.marketing-body .hero-copy-block>p { max-width:560px; font-size:15px; }
  body.marketing-body .hero-footnote { margin-top:26px; }
  body.marketing-body .hero-stack { max-width:530px; width:90%; margin:2px auto 0; height:340px; }
  body.marketing-body .stack-card { width:58%; height:73%; padding:20px; }
  body.marketing-body .stack-card strong { font-size:clamp(39px,8vw,59px); }
  body.marketing-body .stack-scribble { right:0; top:2px; }
  body.marketing-body .site-section { padding-block:74px; }
  body.marketing-body .section-heading { grid-template-columns:1fr; gap:15px; margin-bottom:26px; }
  body.marketing-body .section-heading h2 { font-size:clamp(38px,7.8vw,56px); }
  body.marketing-body .portfolio-card { gap:18px; padding-right:36px; }
  body.marketing-body .portfolio-card h3 { font-size:19px; }
  body.marketing-body .portfolio-card p { font-size:12px; }
  body.marketing-body .project-arrow { width:31px; height:31px; font-size:18px; }
  body.marketing-body .service-row { grid-template-columns:30px minmax(0,1fr) 20px; }
  body.marketing-body .service-row p { grid-column:2/3; padding-top:0; }
  body.marketing-body .service-end { grid-column:3; grid-row:1; }
  body.marketing-body .story-section { grid-template-columns:1fr; gap:10px; }
  body.marketing-body .story-icon { max-width:230px; margin:auto; }
  body.marketing-body .story-copy h2 { font-size:clamp(40px,7vw,62px); }
  body.marketing-body .process-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.marketing-body .process-step:nth-child(2) { border-right:0; }
  body.marketing-body .process-step:nth-child(n+3) { border-top:1px solid #cfd9e9; }
  body.marketing-body .cta-box { grid-template-columns:1fr; }
  body.marketing-body .footer-top { grid-template-columns:1fr 1fr; gap:28px; }
  body.marketing-body .footer-contact { grid-column:1/-1; }
  body.marketing-body .portfolio-intro { padding-top:64px; }
  body.marketing-body .portfolio-intro h1 { font-size:clamp(46px,8vw,74px); }
}
@media (max-width:480px) {
  html { scroll-padding-top:72px; }
  body.marketing-body .site-shell { width:calc(100% - 30px); }
  body.marketing-body .hero-section { padding-top:48px; }
  body.marketing-body .hero-copy-block h1 { font-size:clamp(49px,12.3vw,67px); letter-spacing:-.075em; }
  body.marketing-body .hero-copy-block h1 span { -webkit-text-stroke:1.4px var(--ink); }
  body.marketing-body .hero-actions { gap:8px; }
  body.marketing-body .hero-actions .pill-button { flex:1; min-width:0; font-size:12px; padding:0 11px; min-height:45px; gap:8px; }
  body.marketing-body .hero-stack { width:90%; height:285px; }
  body.marketing-body .stack-card { width:62%; height:75%; padding:14px; border-radius:14px; }
  body.marketing-body .stack-card strong { font-size:clamp(34px,10vw,46px); }
  body.marketing-body .stack-card small { font-size:9px; }
  body.marketing-body .stack-card span { font-size:9px; }
  body.marketing-body .stack-scribble { font-size:12px; }
  body.marketing-body .ticker { padding:13px 0; }
  body.marketing-body .ticker-items { font-size:10px; }
  body.marketing-body .section-heading h2 { font-size:clamp(34px,9vw,47px); }
  /* Essential invariant: portrait mobile also stays thumbnail LEFT and info RIGHT (25/75). */
  body.marketing-body .portfolio-card { grid-template-columns:minmax(0,1fr) minmax(0,3fr); gap:11px; padding:13px 24px 13px 0; align-items:center; }
  body.marketing-body .portfolio-thumb { aspect-ratio:1; border-radius:8px; }
  body.marketing-body .portfolio-information { overflow:hidden; }
  body.marketing-body .portfolio-meta { margin-bottom:5px; gap:5px; font-size:9px; }
  body.marketing-body .category-chip { padding:3px 6px; border-radius:4px; font-size:9px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; max-width:100%; }
  body.marketing-body .portfolio-card h3 { margin-bottom:3px; font-size:clamp(14px,4vw,17px); line-height:1.18; letter-spacing:-.03em; }
  body.marketing-body .portfolio-card p { font-size:10px; line-height:1.35; -webkit-line-clamp:2; }
  body.marketing-body .portfolio-actions { margin-top:5px; }
  body.marketing-body .view-project { font-size:10px; }
  body.marketing-body .project-arrow { width:21px; height:21px; font-size:13px; right:0; }
  body.marketing-body .service-row { grid-template-columns:22px minmax(0,1fr) 14px; gap:12px; }
  body.marketing-body .service-label { gap:10px; }
  body.marketing-body .service-symbol { width:35px;height:35px; font-size:18px; border-radius:8px; }
  body.marketing-body .service-row h3 { font-size:20px; }
  body.marketing-body .service-row p { font-size:12px; }
  body.marketing-body .story-icon { max-width:185px; }
  body.marketing-body .process-step,body.marketing-body .process-step+.process-step { padding:22px 13px 15px 0; min-height:174px; }
  body.marketing-body .process-step+.process-step { padding-left:13px; }
  body.marketing-body .process-step h3 { margin-top:20px; font-size:16px; }
  body.marketing-body .process-step p { font-size:12px; }
  body.marketing-body .cta-section { padding-block:30px 65px; }
  body.marketing-body .cta-box { padding:30px 23px; }
  body.marketing-body .cta-box h2 { font-size:44px; }
  body.marketing-body .footer-top { grid-template-columns:1fr 1fr; gap:20px; }
  body.marketing-body .footer-brand img { width:150px; }
  body.marketing-body .footer-links { grid-template-columns:1fr; }
  body.marketing-body .footer-bottom { flex-direction:column; gap:7px; }
  body.marketing-body .portfolio-intro { padding:50px 0 26px; }
  body.marketing-body .portfolio-intro h1 { font-size:clamp(44px,11vw,60px); line-height:.98; }
  body.marketing-body .portfolio-intro-copy { align-items:start; flex-direction:column; gap:12px; }
  body.marketing-body .portfolio-intro-copy p { font-size:13px; }
  body.marketing-body .portfolio-toolbar { padding:17px 0 20px; }
  body.marketing-body .portfolio-filters { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; padding-bottom:4px; }
  body.marketing-body .portfolio-filters::-webkit-scrollbar { display:none; }
  body.marketing-body .portfolio-filters button { white-space:nowrap; font-size:11px; min-height:34px; padding:0 12px; }
  body.marketing-body .archive-bottom-cta { flex-direction:column; align-items:start; font-size:16px; padding-top:30px; }
  body.marketing-body .detail-intro h1,body.marketing-body .not-found h1 { font-size:clamp(40px,10vw,56px); }
  body.marketing-body .detail-intro p { font-size:15px; }
  body.marketing-body .detail-visual { aspect-ratio:4/3; }
  body.marketing-body .detail-description { grid-template-columns:1fr; gap:20px; padding-top:45px; }
  body.marketing-body .detail-description h2 { font-size:33px; }
}
@media (prefers-reduced-motion:reduce) {
  body.marketing-body .ticker-track { animation:none; }
  body.marketing-body *,body.marketing-body *:before,body.marketing-body *:after { transition-duration:0s!important; animation-duration:0s!important; }
}
