/* =========================================================
   LIFE DESIGN Responsive System v1
   Desktop design preserved; tablet/mobile are re-composed.
   Breakpoints: 1180 / 1080 / 900 / 700 / 480
   ========================================================= */

:root{--ld-mobile-gutter:20px;--ld-header-mobile:64px}
html{overflow-x:hidden}
body.agency-v3{overflow-x:hidden}
img,video,svg,canvas{max-width:100%;height:auto}

/* fluid containers */
body.agency-v3 .ag-shell,
body.agency-v3 .sv-in,
body.agency-v3 .ab-in,
body.agency-v3 .lb-in,
body.agency-v3 .ct-in,
.work-shell,.ks-in,.ix-in,.ins-in{
  width:100%;
  box-sizing:border-box;
}

/* Prevent Korean display copy from breaking inside words. */
body.agency-v3 h1,body.agency-v3 h2,body.agency-v3 h3,
.work-v3 h1,.work-v3 h2,.work-v3 h3,
.ks h1,.ks h2,.ks h3,.ix h1,.ix h2,.ins h1,.ins h2{
  word-break:keep-all;
  overflow-wrap:normal;
  text-wrap:balance;
}

/* ---------- compact desktop / landscape tablet ---------- */
@media (max-width:1180px){
  body.agency-v3 .ag-shell,
  body.agency-v3 .sv-in,
  body.agency-v3 .ab-in,
  body.agency-v3 .lb-in,
  body.agency-v3 .ct-in{padding-left:30px!important;padding-right:30px!important}

  body.agency-v3 .ag-hero-grid{grid-template-columns:minmax(0,1fr) minmax(380px,.86fr)!important;gap:42px!important}
  body.agency-v3 .ag-h1{font-size:clamp(50px,6vw,70px)!important}
  body.agency-v3 .ag-hero-visual{height:clamp(440px,52vh,560px)!important}
  body.agency-v3 .ag-statement-copy{padding-right:42px!important}
  body.agency-v3 .ag-proof-grid{gap:48px!important}
  body.agency-v3 .ag-service{grid-template-columns:54px minmax(220px,.85fr) 1.15fr 36px!important;gap:22px!important}
  body.agency-v3 .ag-process-grid{grid-template-columns:repeat(3,1fr)!important}
  body.agency-v3 .ag-step:nth-child(3){border-right:0!important}
  body.agency-v3 .ag-step:nth-child(-n+3){border-bottom:1px solid var(--ld-line)!important}

  .work-shell{padding-left:30px;padding-right:30px}
  .work-hero-top,.k-head{gap:44px}
  .work-v5-visual{padding-left:30px;padding-right:30px}
}

/* ---------- navigation switches to mobile ---------- */
@media (max-width:1080px){
  body.agency-v3 .hd,body.agency-v3 .hd-in{height:var(--ld-header-mobile)!important}
  body.agency-v3 .hd-in{padding-left:22px!important;padding-right:22px!important}
  body.agency-v3 .hd-nav{display:none!important}
  body.agency-v3 .ham{display:flex!important;width:40px;height:40px;align-items:center;justify-content:center;margin-left:8px;border:1px solid rgba(10,10,12,.10);border-radius:50%;gap:4px;padding:0!important}
  body.agency-v3 .ham span{width:16px!important}
  body.agency-v3 .mnav{top:var(--ld-header-mobile)!important;inset:var(--ld-header-mobile) 0 0!important;padding:12px 22px calc(88px + env(safe-area-inset-bottom))!important;background:rgba(250,250,248,.985)!important;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
  #v3-scroll-progress{top:63px!important}

  /* desktop account actions: keep one CTA until true mobile */
  body.agency-v3 .hd-r .btn-ghost{display:none!important}
  body.agency-v3 .hd-r .btn-fill{font-size:11px!important;padding:9px 13px!important;border-radius:999px!important}

  /* mobile navigation accordion */
  .mnav-group{border-bottom:1px solid rgba(10,10,12,.10)}
  .mnav-parent-row{display:grid;grid-template-columns:1fr 46px;align-items:stretch}
  .mnav-parent-row>a{font-size:21px!important;line-height:1.1!important;font-weight:850!important;letter-spacing:-.04em!important;color:#0b0b0c!important;padding:19px 6px!important;border-radius:0!important}
  .mnav-toggle{border:0;background:transparent;color:#0b0b0c;font-size:18px;cursor:pointer;border-radius:0;transition:transform .25s ease;background:none!important}
  .mnav-group.open .mnav-toggle{transform:rotate(45deg)}
  .mnav-sub{display:grid;grid-template-rows:0fr;transition:grid-template-rows .34s cubic-bezier(.2,.75,.2,1)}
  .mnav-sub-inner{overflow:hidden;padding-left:8px}
  .mnav-group.open .mnav-sub{grid-template-rows:1fr}
  .mnav-sub a{font-size:13px!important;padding:11px 10px!important;color:#686a72!important;border-radius:8px!important}
  .mnav-sub a:last-child{margin-bottom:13px}
  .mnav-overview{font-weight:800!important;color:#111!important}
  .mnav-utility{padding-top:14px}
  .mnav-utility>a{font-size:13px!important}
}

/* ---------- tablet / portrait ---------- */
@media (max-width:1024px){
  body.agency-v3 .ag-shell,
  body.agency-v3 .sv-in,
  body.agency-v3 .ab-in,
  body.agency-v3 .lb-in,
  body.agency-v3 .ct-in,
  .work-shell,.ks-in,.ix-in,.ins-in{padding-left:24px!important;padding-right:24px!important}

  /* Full-screen rhythm is desktop-only. */
  body.agency-v3 .ag-hero,
  body.agency-v3 .ag-statement,
  body.agency-v3 .ag-proof-sec,
  body.agency-v3 .ag-work,
  body.agency-v3 .ag-sec,
  body.agency-v3 .ag-cta{min-height:auto!important}

  /* HOME */
  body.agency-v3 .ag-hero{padding:96px 0 62px!important}
  body.agency-v3 .ag-hero-grid{grid-template-columns:1fr!important;gap:42px!important}
  body.agency-v3 .ag-h1{font-size:clamp(54px,9vw,72px)!important;max-width:760px!important}
  body.agency-v3 .ag-hero-desc{max-width:680px!important}
  body.agency-v3 .ag-hero-visual{height:min(62vw,560px)!important;min-height:430px!important;width:100%!important;transform:none!important}
  body.agency-v3 .ag-visual-float{right:18px!important;top:20%!important}

  body.agency-v3 .ag-statement .ag-shell{grid-template-columns:1fr!important;padding:0!important;max-width:none!important}
  body.agency-v3 .ag-statement-copy{padding:76px 24px 58px!important;max-width:760px;margin:0 auto;width:100%}
  body.agency-v3 .ag-statement-media{margin:0!important;min-height:520px!important;width:100%}
  body.agency-v3 .ag-statement-media:after{background:linear-gradient(0deg,rgba(9,10,16,.72),transparent 62%),linear-gradient(90deg,rgba(14,15,19,.28),transparent)!important}

  body.agency-v3 .ag-proof-sec{padding:82px 0!important}
  body.agency-v3 .ag-proof-grid{grid-template-columns:1fr!important;gap:38px!important}
  body.agency-v3 .ag-cert-stage{min-height:540px!important}
  body.agency-v3 .ag-cert-paper{width:min(410px,72%)!important}

  body.agency-v3 .ag-sec{padding:82px 0!important}
  body.agency-v3 .ag-section-head{gap:24px!important}
  body.agency-v3 .ag-service{grid-template-columns:48px 1fr 32px!important;gap:14px!important;padding:26px 0!important}
  body.agency-v3 .ag-service p{grid-column:2/4!important;margin-top:4px!important}
  body.agency-v3 .ag-service>a{grid-column:3!important;grid-row:1/3!important}
  body.agency-v3 .ag-color-break{height:560px!important}
  body.agency-v3 .ag-strength-grid{grid-template-columns:1fr!important;gap:40px!important}
  body.agency-v3 .ag-lab-card{grid-template-columns:64px 1fr 1fr 32px!important;gap:18px!important}
  body.agency-v3 .ag-cta-grid{grid-template-columns:1fr!important;align-items:start!important}
  body.agency-v3 .ag-cta .ag-btn{justify-self:start!important}
  .ag-insight-grid{grid-template-columns:1fr 1fr!important}
  .ag-insight-card:nth-child(3){grid-column:1/-1;min-height:250px}

  /* WORK */
  .work-hero{min-height:auto!important;padding:105px 0 68px!important}
  .work-hero-top,.k-head,.owned-grid,.lab-index-head,.work-cta-grid{grid-template-columns:1fr!important;gap:30px!important}
  .work-display{font-size:clamp(70px,14vw,118px)!important;line-height:.83!important}
  .work-hero-index{margin-top:42px!important}
  .k-case{padding:78px 0 90px!important}
  .sys-flow{grid-template-columns:repeat(3,1fr)!important;gap:28px 12px!important}
  .sys-flow:before,.sys-progress{display:none!important}
  .k-facts{grid-template-columns:1fr!important}
  .k-fact:nth-child(odd),.k-fact:nth-child(even){border-right:0!important;padding:28px 0!important}
  .lab-line{grid-template-columns:50px 1fr 32px!important}.lab-line p{display:none!important}
  .work-v5-visual{padding-left:24px!important;padding-right:24px!important;padding-bottom:80px!important}

  /* SERVICES / ABOUT / LAB / CONTACT */
  body.agency-v3 .sv-hero,body.agency-v3 .ab-hero,body.agency-v3 .lb-hero{padding:94px 0 50px!important}
  .sv-row{grid-template-columns:64px 1fr!important;gap:18px!important;padding:42px 0!important}.sv-row>div:last-child{grid-column:2}.sv-points{grid-template-columns:1fr 1fr!important}
  .sv-visual,.lb-visual{padding-left:24px!important;padding-right:24px!important}
  .sv-visual-frame,.lb-visual-frame{height:520px!important}
  .ab-grid,.ab-cap-head,.ab-own-grid,.ab-proofscene-grid{grid-template-columns:1fr!important;gap:36px!important}.ab-sticky{position:static!important}
  .ab-cap-row{grid-template-columns:54px 1fr!important}.ab-cap-row p{grid-column:2!important}
  .lb-row{grid-template-columns:52px 1fr 32px!important}.lb-row p{grid-column:2!important}.lb-row .lb-arr{grid-column:3!important;grid-row:1/3!important}.lb-note{grid-template-columns:1fr!important;gap:26px!important}
  .ct{padding:96px 0 92px!important}.ct-grid{grid-template-columns:1fr!important;gap:44px!important}.ct-lead{max-width:680px!important}.ct-meta{max-width:680px!important}.ct-visual{height:300px!important}.ct-form{max-width:760px!important}

  /* KUMSAN CASE */
  .ks-hero{min-height:auto!important;padding:118px 0 70px!important}.ks-hero-metrics{grid-template-columns:1fr 1fr!important;max-width:760px!important}
  .ks-sec{padding:82px 0!important}.ks-flow{grid-template-columns:repeat(3,1fr)!important}.ks-result-grid{grid-template-columns:1fr 1fr!important}.ks-money,.ks-copyproof,.ks-cta-grid{grid-template-columns:1fr!important}.ks-cert{justify-content:center!important}.ks-proofbar{grid-template-columns:1fr 1fr!important}

  /* INSIGHT */
  .ix-hero{min-height:auto!important;padding:110px 0 64px!important}.ix-grid{grid-template-columns:1fr 1fr!important}.ix-card{min-height:300px!important;padding:27px!important}
  .ins-hero{min-height:auto!important;padding:108px 0 64px!important}.ins-body{padding:76px 0!important}.ins-grid{grid-template-columns:1fr!important;gap:38px!important}.ins-aside{position:static!important}.ins-toc{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.ins-related-grid{grid-template-columns:1fr 1fr!important}.ins-related a:last-child{grid-column:1/-1}.ins-faq-item{gap:30px!important}.ins-cta-grid{grid-template-columns:1fr!important;align-items:start!important}

  /* disable desktop hover displacement on touch-sized layouts */
  .sv-row:hover,.ab-value:hover,.ab-cap-row:hover,.lb-row:hover,body.agency-v3 .ag-service:hover,body.agency-v3 .ag-lab-card:hover{padding-left:0!important;padding-right:0!important;transform:none!important}
}

/* ---------- phones ---------- */
@media (max-width:700px){
  :root{--ld-mobile-gutter:20px}
  body.agency-v3 .ag-shell,
  body.agency-v3 .sv-in,
  body.agency-v3 .ab-in,
  body.agency-v3 .lb-in,
  body.agency-v3 .ct-in,
  .work-shell,.ks-in,.ix-in,.ins-in{padding-left:var(--ld-mobile-gutter)!important;padding-right:var(--ld-mobile-gutter)!important}

  body.agency-v3{padding-bottom:calc(66px + env(safe-area-inset-bottom))!important}
  body.agency-v3 .hd-in{padding-left:18px!important;padding-right:14px!important}
  body.agency-v3 .hd-logo{font-size:15px!important}
  body.agency-v3 .hd-logo-mark{width:28px!important;height:28px!important;font-size:11px!important}
  body.agency-v3 .hd-r .btn-fill{display:none!important}
  body.agency-v3 .mnav{padding-left:18px!important;padding-right:18px!important}
  .btab-bar{height:62px!important;padding-bottom:env(safe-area-inset-bottom)!important}
  #top{right:16px!important;bottom:calc(76px + env(safe-area-inset-bottom))!important;width:42px!important;height:42px!important}

  /* HOME */
  body.agency-v3 .ag-hero{padding:84px 0 48px!important}
  body.agency-v3 .ag-hero-eyebrow{font-size:9px!important;margin-bottom:20px!important}
  body.agency-v3 .ag-h1{font-size:clamp(41px,12.3vw,58px)!important;line-height:.98!important;letter-spacing:-.052em!important;margin-bottom:22px!important}
  body.agency-v3 .ag-h1 .ag-line{white-space:normal!important}
  body.agency-v3 .ag-hero-desc{font-size:15px!important;line-height:1.72!important}
  body.agency-v3 .ag-hero-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:24px!important}
  body.agency-v3 .ag-btn{justify-content:center!important;padding:13px 13px!important;font-size:11px!important}
  body.agency-v3 .ag-hero-visual{height:112vw!important;max-height:510px!important;min-height:390px!important;border-radius:20px!important}
  body.agency-v3 .ag-hero-visual img{object-position:68% center!important}
  body.agency-v3 .ag-visual-float{display:none!important}
  body.agency-v3 .ag-visual-caption{left:18px!important;right:18px!important;bottom:17px!important}
  body.agency-v3 .ag-visual-caption strong{font-size:20px!important}

  body.agency-v3 .v4-ticker{padding:11px 0!important}
  body.agency-v3 .ag-statement-copy{padding:64px 20px 46px!important}
  body.agency-v3 .ag-statement p{font-size:clamp(31px,9.5vw,44px)!important}
  body.agency-v3 .ag-statement-media{min-height:470px!important}
  body.agency-v3 .ag-statement-tags{left:18px!important;right:18px!important;bottom:18px!important;grid-template-columns:1fr!important}
  body.agency-v3 .ag-statement-tags span{border-right:0!important;border-bottom:1px solid rgba(255,255,255,.14)!important;padding:10px 8px!important}
  body.agency-v3 .ag-statement-tags span:last-child{border-bottom:0!important}

  body.agency-v3 .ag-proof-sec{padding:66px 0!important}
  body.agency-v3 .ag-proof-copy h2{font-size:clamp(38px,11vw,52px)!important}
  body.agency-v3 .ag-cert-stage{min-height:450px!important;border-radius:22px!important}
  body.agency-v3 .ag-cert-paper{width:82%!important}

  body.agency-v3 .ag-sec{padding:68px 0!important}
  body.agency-v3 .ag-section-head{margin-bottom:32px!important;flex-direction:column!important;align-items:flex-start!important}
  body.agency-v3 .ag-title-sm{font-size:clamp(34px,10vw,48px)!important;line-height:1.02!important}
  body.agency-v3 .ag-gold-media{min-height:650px!important;border-radius:20px!important}
  body.agency-v3 .ag-gold-copy{left:20px!important;right:20px!important;top:33%!important}
  body.agency-v3 .ag-gold-data{left:14px!important;right:14px!important;bottom:14px!important;grid-template-columns:1fr!important}
  body.agency-v3 .ag-service{grid-template-columns:38px 1fr 28px!important;padding:22px 0!important}
  body.agency-v3 .ag-service h3{font-size:22px!important}.ag-service p{font-size:12px!important}
  body.agency-v3 .ag-color-break{height:500px!important;border-radius:0!important}
  body.agency-v3 .ag-process-grid{grid-template-columns:1fr 1fr!important}
  body.agency-v3 .ag-step{min-height:160px!important;padding:20px 14px!important;border-right:1px solid var(--ld-line)!important;border-bottom:1px solid var(--ld-line)!important}
  body.agency-v3 .ag-step:nth-child(even){border-right:0!important}.ag-step:nth-last-child(-n+2){border-bottom:0!important}
  body.agency-v3 .ag-step b{margin-bottom:34px!important}
  body.agency-v3 .ag-lab-card{grid-template-columns:1fr 28px!important;gap:8px!important;padding:22px 0!important}.ag-lab-card .ag-lab-badge,.ag-lab-card p{grid-column:1!important}.ag-lab-card .ag-lab-arr{grid-column:2!important;grid-row:1/4!important}
  body.agency-v3 .ag-cta{padding:72px 0!important}.ag-cta h2{font-size:clamp(48px,15vw,68px)!important;letter-spacing:-.06em!important}.ag-cta p br{display:none}
  .ag-insight-grid{grid-template-columns:1fr!important}.ag-insight-card:nth-child(3){grid-column:auto!important}.ag-insight-card{min-height:260px!important}

  /* WORK */
  .work-hero{padding:90px 0 56px!important}.work-display{font-size:clamp(60px,20vw,90px)!important;line-height:.86!important}.work-display br{display:none}.work-hero-copy{font-size:14px!important}.work-hero-index{grid-template-columns:1fr 1fr!important;gap:18px!important;margin-top:34px!important}.k-case{padding:68px 0 76px!important}.k-title{font-size:clamp(52px,17vw,78px)!important;line-height:.88!important}.k-lead{font-size:18px!important}.sys-stage{padding:40px 0!important}.sys-flow{grid-template-columns:1fr 1fr!important;gap:26px 12px!important}.sys-node{padding-right:6px!important}.k-case-cta{flex-direction:column!important;align-items:flex-start!important}.owned{padding:70px 0!important}.owned h2{font-size:clamp(52px,17vw,76px)!important}.lab-index{padding:72px 0!important}.lab-line{grid-template-columns:42px 1fr 26px!important}.work-cta{padding:72px 0 82px!important}.work-cta h2{font-size:clamp(54px,18vw,82px)!important}.work-v5-visual{padding:0 20px 64px!important}.work-v5-frame{height:128vw!important;max-height:610px!important;border-radius:20px!important}.work-v5-label{left:20px!important;right:20px!important;bottom:22px!important}

  /* SERVICES */
  body.agency-v3 .sv-hero,body.agency-v3 .ab-hero,body.agency-v3 .lb-hero{padding:82px 0 42px!important}
  body.agency-v3 .sv h1,body.agency-v3 .ab h1,body.agency-v3 .lb h1{font-size:clamp(46px,14vw,66px)!important;line-height:.95!important;letter-spacing:-.055em!important}
  .sv-lead,.ab-lead,.lb-intro{font-size:15px!important;line-height:1.72!important}
  .sv-row{grid-template-columns:38px 1fr!important;gap:12px!important;padding:32px 0!important}.sv-row>div:last-child{grid-column:2!important}.sv-points{grid-template-columns:1fr!important}.sv-visual,.lb-visual{padding-left:20px!important;padding-right:20px!important;margin-bottom:52px!important}.sv-visual-frame,.lb-visual-frame{height:118vw!important;max-height:530px!important;border-radius:20px!important}.sv-visual-copy,.lb-visual-copy{left:20px!important;right:20px!important;bottom:22px!important}.sv-visual-copy h2,.lb-visual-copy h2{font-size:clamp(34px,10.5vw,48px)!important}

  /* ABOUT */
  .ab-dark{padding:66px 0!important}.ab-dark p{font-size:clamp(31px,9.5vw,43px)!important}.ab-sec{padding:62px 0!important}.ab-grid{gap:28px!important}.ab-value{grid-template-columns:42px 1fr!important;padding:22px 0!important}.ab-cap-head{padding:62px 0 30px!important}.ab-cap-row{grid-template-columns:40px 1fr!important;gap:12px!important;padding:26px 0!important}.ab-own{padding:70px 0!important}.ab-own h2{font-size:clamp(52px,16vw,78px)!important}.ab-proofscene{padding:66px 0!important}.ab-proof-paper{min-height:350px!important}.ab-proof-paper img{width:min(350px,86%)!important}.ab-cta{padding:66px 0!important}

  /* LAB */
  .lb-row{grid-template-columns:38px 1fr 26px!important;gap:10px!important;padding:30px 0!important}.lb-row h2{font-size:26px!important}.lb-note{padding:62px 0!important}.lb-dark{padding:68px 0!important}

  /* CONTACT */
  .ct{padding:84px 0 82px!important}.ct-grid{gap:34px!important}.ct h1{font-size:clamp(42px,12.5vw,58px)!important;line-height:1!important}.ct-meta{margin-top:34px!important}.ct-visual{height:240px!important;border-radius:18px!important}.ct-form{padding:22px!important;border-radius:18px!important}.fg2{grid-template-columns:1fr!important}textarea.fi2{min-height:140px!important}

  /* KUMSAN CASE */
  .ks-hero{padding:96px 0 58px!important}.ks h1{font-size:clamp(48px,14vw,66px)!important;line-height:.94!important;letter-spacing:-.055em!important}.ks-lead{font-size:15px!important;line-height:1.75!important}.ks-hero-metrics{grid-template-columns:1fr 1fr!important}.ks-hero-metric{padding:14px 12px!important}.ks-sec{padding:68px 0!important}.ks-h2{font-size:clamp(36px,11vw,50px)!important;letter-spacing:-.05em!important}.ks-copy{font-size:14px!important}.ks-problem,.ks-principles,.ks-flow,.ks-result-grid,.ks-proofbar{grid-template-columns:1fr!important}.ks-node{min-height:0!important}.ks-ledger{padding:20px!important}.ks-ledger-row{grid-template-columns:1fr!important;gap:10px!important}.ks-ledger-tag{justify-self:start}.ks-copyproof{gap:36px!important}.ks-cta{padding:70px 0!important}.ks-cta h2{font-size:clamp(45px,14vw,64px)!important}.ks-cta p br{display:none}
  .ks-sec .ks-in>div[style*="grid-template-columns:repeat(3"]{grid-template-columns:1fr!important}

  /* INSIGHT INDEX & ARTICLES */
  .ix-hero{padding:88px 0 52px!important}.ix h1{font-size:clamp(55px,18vw,78px)!important}.ix-lead{font-size:15px!important}.ix-list{padding:62px 0 82px!important}.ix-grid{grid-template-columns:1fr!important}.ix-card{min-height:250px!important;padding:24px!important;border-radius:18px!important}.ix-card h2{font-size:32px!important}
  .ins-hero{padding:90px 0 52px!important}.ins h1{font-size:clamp(40px,12vw,56px)!important;line-height:1!important}.ins-lead{font-size:15px!important;line-height:1.72!important}.ins-body{padding:60px 0!important}.ins-toc{grid-template-columns:1fr!important}.ins-section{padding-bottom:50px!important;margin-bottom:50px!important}.ins-section h2{font-size:clamp(28px,9vw,38px)!important}.ins-section p{font-size:14px!important;line-height:1.85!important}.ins-related,.ins-faq{padding:64px 0!important}.ins-related-head{display:block!important}.ins-related-grid{grid-template-columns:1fr!important}.ins-related a:last-child{grid-column:auto!important}.ins-faq-item{grid-template-columns:1fr!important;gap:12px!important;padding:22px 0!important}.ins-cta{padding:64px 0!important}.ins-cta h2{font-size:clamp(42px,13vw,58px)!important}

  /* Footer */
  .v3-footer{padding-top:70px!important}.v3-footer-top{grid-template-columns:1fr!important;gap:50px!important}.v3-footer-nav{grid-template-columns:1fr 1fr!important;gap:34px 22px!important}.v3-footer-big{font-size:clamp(72px,25vw,118px)!important;line-height:.78!important}.v3-footer-copy{font-size:14px!important}.v3-footer-bottom{flex-direction:column!important;align-items:flex-start!important;gap:8px!important}
}

/* ---------- small phones ---------- */
@media (max-width:480px){
  :root{--ld-mobile-gutter:16px}
  body.agency-v3 .hd-in{padding-left:14px!important;padding-right:10px!important}
  body.agency-v3 .ag-hero-actions{grid-template-columns:1fr!important}
  body.agency-v3 .ag-h1{font-size:clamp(38px,11.9vw,50px)!important}
  body.agency-v3 .ag-hero-visual{height:120vw!important;min-height:360px!important}
  body.agency-v3 .ag-process-grid{grid-template-columns:1fr!important}.ag-step{border-right:0!important}.ag-step:nth-last-child(-n+2){border-bottom:1px solid var(--ld-line)!important}.ag-step:last-child{border-bottom:0!important}
  .work-hero-index{grid-template-columns:1fr!important}.sys-flow{grid-template-columns:1fr!important}.work-display{font-size:clamp(54px,19vw,76px)!important}
  .ks-hero-metrics{grid-template-columns:1fr!important}
  .v3-footer-nav{grid-template-columns:1fr!important}
  .mnav-parent-row>a{font-size:19px!important}
}

@media (hover:none){
  .v52-media:hover img,.sv-visual-frame:hover img,.ab-proof-paper:hover img,.work-v5-frame:hover img{transform:none!important}
  .v3-tilt{transform:none!important}
}

@media (prefers-reduced-motion:reduce){
  .mnav-sub,.v52-fade{transition:none!important}
}

/* final overflow safety */
body.agency-v3 main *, .work-v3 *, .ks *, .ix *, .ins *{min-width:0}
@media(max-width:700px){
  table{max-width:100%;display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
  input,select,textarea,button{font-size:16px}
  .fi2{font-size:16px!important}
}
