/* =====================================================================
   Isaac Global — MOBILE + TABLET APP SHELL  (<= 1024px)
   Loaded after styles.css. Desktop is untouched: everything that
   changes layout lives inside the media query below.
   ===================================================================== */

/* mobile-only elements stay hidden on desktop */
.m-tabbar,.m-only,.node-desc{display:none;}

@media (max-width:1024px){

/* ---------- tokens ---------- */
:root{
  --m-head:56px;
  --m-tab:64px;
  --m-g:20px;                    /* side gutter */
  --m-bg:#f3f4f8;                /* app canvas */
  --m-card:#ffffff;
  --m-r:20px;                    /* card radius */
  --m-accent:#4b59c7;
  --m-muted:#8a8f9c;
  --m-shadow:0 1px 2px rgba(20,25,50,.04),0 8px 24px rgba(20,25,50,.06);
  --safe-t:env(safe-area-inset-top,0px);
  --safe-b:env(safe-area-inset-bottom,0px);
}

*{-webkit-tap-highlight-color:transparent;}
html{scroll-padding-top:calc(var(--m-head) + var(--safe-t) + 64px);}
body{
  background:var(--m-bg);
  padding-bottom:calc(var(--m-tab) + var(--safe-b));
  font-size:15px;
}
.m-only{display:revert;}

/* containers: one consistent gutter everywhere */
.container,.container-narrow,
.ab-panel>.container,.ab-panel>.container-narrow{
  width:100%;max-width:none;padding:0 var(--m-g);
}
.indent{padding-left:0;}

/* word-safe Korean wrapping */
h1,h2,h3,h4,p,li,.lbl{word-break:keep-all;overflow-wrap:break-word;}
/* decorative desktop line breaks -> natural reflow */
.intro .lead p br,.aidg .sub br,.service .svc-left p br,.about .about-left p br,
.svc-card p br,.hero p br,.cta p br,.ab-sub br{display:none;}

/* =====================================================================
   APP BAR (top)
   ===================================================================== */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:80;
  height:auto;padding-top:var(--safe-t);
  transition:background-color .25s ease,box-shadow .25s ease,-webkit-backdrop-filter .25s;
}
.site-header .header-inner{
  position:relative;height:var(--m-head);max-width:none;
  padding:0 var(--m-g);justify-content:center;
}
/* site logo, centred like an app title bar */
.site-header .brand img{height:30px;transition:filter .25s ease,opacity .25s ease;}
.main-nav{display:none;}
.hero-scroll{display:none;}

.site-header.is-scrolled{
  background:rgba(255,255,255,.82);
  -webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);
  box-shadow:0 1px 0 rgba(20,25,50,.07);
}
.site-header.is-scrolled .brand img{filter:brightness(0);opacity:.88;}

/* =====================================================================
   TAB BAR (bottom)
   ===================================================================== */
.m-tabbar{
  position:fixed;left:0;right:0;bottom:0;z-index:90;
  display:grid;grid-template-columns:repeat(4,1fr);
  padding:0 4px var(--safe-b);
  background:#fff;
  border-top:1px solid #e8eaf0;
  box-shadow:0 -6px 20px rgba(20,25,50,.05);
}
.m-tab{
  position:relative;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
  min-height:var(--m-tab);padding:0;
  font-size:11px;font-weight:600;letter-spacing:-.01em;color:#9aa0ad;
  transition:color .2s;
}
/* active marker: short bar on the top edge */
.m-tab::before{
  content:"";position:absolute;top:-1px;left:50%;width:28px;height:3px;
  border-radius:0 0 3px 3px;background:var(--navy);
  transform:translateX(-50%) scaleX(0);transition:transform .25s ease;
}
.m-tab .ic{display:flex;align-items:center;justify-content:center;transition:transform .15s;}
.m-tab svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;
  stroke-linecap:round;stroke-linejoin:round;}
.m-tab:active .ic{transform:scale(.88);}
.m-tab.active{color:var(--navy);font-weight:700;}
.m-tab.active::before{transform:translateX(-50%) scaleX(1);}
.m-tab.active svg{stroke-width:2.2;}

/* shared pieces */
.eyebrow,.ab-eyebrow{
  font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
}

/* =====================================================================
   HOME
   ===================================================================== */

/* ---- hero ---- */
.hero{
  display:flex;flex-direction:column;justify-content:center;
  min-height:min(100svh,760px);
  padding:calc(var(--m-head) + var(--safe-t) + 28px) var(--m-g) 132px;
  text-align:center;
}
.hero::before{background-position:center 35%;}
.hero::after{background:linear-gradient(180deg,rgba(8,9,14,.55) 0%,rgba(8,9,14,.62) 55%,rgba(8,9,14,.9) 100%);}
.hero-inner{padding-top:0;width:100%;}
.hero .eyebrow{
  display:inline-block;margin-bottom:20px;padding:7px 14px;border-radius:999px;
  font-size:11px;letter-spacing:.14em;color:#fff;
  background:rgba(255,255,255,.1);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
}
.hero h1{font-size:31px;line-height:1.28;letter-spacing:-.025em;margin:0 auto 10px;max-width:330px;}
.hero .hero-sub{font-size:15px;font-weight:600;letter-spacing:.24em;text-transform:uppercase;
  color:rgba(255,255,255,.7);margin-bottom:20px;}
.hero p{font-size:14.5px;line-height:1.75;color:rgba(255,255,255,.74);max-width:420px;margin:0 auto;}
.hero-actions{display:flex;gap:10px;margin:30px auto 0;max-width:420px;}
.hbtn{
  flex:1;display:inline-flex;align-items:center;justify-content:center;
  height:52px;border-radius:16px;font-size:15.5px;font-weight:700;
  transition:transform .12s,background .2s;
}
.hbtn:active{transform:scale(.97);}
.hbtn--primary{background:#fff;color:var(--navy);box-shadow:0 10px 24px rgba(0,0,0,.25);}
.hbtn--ghost{color:#fff;background:rgba(255,255,255,.12);box-shadow:inset 0 0 0 1px rgba(255,255,255,.28);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);}

/* ---- stats card (floats over the hero edge) ---- */
.stats-wrap{margin-top:-92px;}
.stats-card{width:calc(100% - 2 * var(--m-g));border-radius:24px;
  box-shadow:0 24px 50px rgba(10,14,30,.22);}
.stats-head{
  flex-direction:row;align-items:center;justify-content:space-between;gap:10px;
  padding:14px 20px;
}
.stats-head .title{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;padding-bottom:0;}
.stats-head .title::after{display:none;}
.stats-head .since{font-size:12px;font-weight:700;padding:5px 11px;border-radius:999px;
  background:rgba(255,255,255,.16);color:#fff;}
.stats-body{display:grid;grid-template-columns:repeat(3,1fr);gap:0;padding:20px 6px 20px;}
.stats-body .stat{
  width:auto;padding:0 6px;border-top:0;
  display:flex;flex-direction:column-reverse;align-items:center;text-align:center;
}
.stats-body .stat:first-child{padding-left:6px;}
.stats-body .stat:not(:first-child){padding-top:0;border-top:0;}
.stats-body .stat:not(:first-child)::before{display:block;top:14%;bottom:14%;background:#eceef3;}
.stat .value{font-size:28px;font-weight:800;color:var(--navy);line-height:1.05;letter-spacing:-.02em;}
.stat .label{margin:6px 0 0;font-size:11px;font-weight:600;color:var(--m-muted);line-height:1.3;}

/* ---- section headings ---- */
.intro h2,.service h2,.aidg h2,.about h2,.news .news-head h2,.cta h2{
  font-size:25px;line-height:1.34;letter-spacing:-.025em;
}

/* ---- intro ---- */
.intro{padding:60px 0 52px;background:var(--m-bg);}
.intro .eyebrow{margin-bottom:14px;color:var(--m-accent);}
.intro h2{margin-bottom:18px;}
.intro .lead{
  background:var(--m-card);border-radius:var(--m-r);box-shadow:var(--m-shadow);
  padding:22px 20px;text-align:left;
}
.intro .lead p{font-size:15px;line-height:1.8;color:#4a4f5c;}

/* ---- AI digital global partner ---- */
.aidg{padding:60px 0 40px;}
.aidg h2{margin-bottom:12px;}
.aidg .sub{font-size:15px;margin-bottom:26px;}
.aidg-features{display:grid;grid-template-columns:1fr;gap:10px;padding-bottom:0;}
.feature{
  width:100%;padding:16px;gap:14px;border-radius:18px;
  background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
}
.feature:first-child{padding-left:16px;}
.feature:not(:first-child)::before{display:none;}
.feature .ic{width:46px;height:46px;}
.feature .ic svg{width:23px;height:23px;}
.feature .ft-title{font-size:16.5px;}
.feature .ft-desc{font-size:13.5px;margin-top:3px;}

/* ---- our service: swipeable cards ---- */
.service{padding:60px 0 44px;background:var(--m-bg);}
.service::after{display:none;}
.service .svc-grid{grid-template-columns:minmax(0,1fr);gap:24px;}
.service .svc-left .eyebrow{margin-bottom:14px;color:var(--m-accent);}
.service h2{margin-bottom:14px;}
.service .svc-left p{font-size:15px;color:#4a4f5c;}
.svc-cards,.news-grid,.cert-grid{
  display:flex;flex-direction:row;flex-wrap:nowrap;gap:12px;
  width:auto;max-width:none;min-width:0;
  margin:-12px calc(-1 * var(--m-g)) 0;padding:12px var(--m-g) 30px;
  overflow-x:auto;overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;scroll-padding:0 var(--m-g);
  -webkit-overflow-scrolling:touch;scrollbar-width:none;
}
.svc-cards::-webkit-scrollbar,.news-grid::-webkit-scrollbar,.cert-grid::-webkit-scrollbar{display:none;}
.svc-card{
  flex:0 0 78%;width:auto;scroll-snap-align:start;
  padding:22px 20px 24px;border-radius:var(--m-r);box-shadow:var(--m-shadow);
}
.svc-card .top{margin-bottom:22px;}
.svc-card .top svg{width:38px;height:38px;}
.svc-card .num{font-size:34px;color:#eceef3;}
.svc-card h3{font-size:17px;white-space:normal;margin-bottom:10px;}
.svc-card p{font-size:14.5px;line-height:1.7;}

/* ---- about / vision (dark) ---- */
.about{padding:60px 0 56px;}
.about .about-grid{gap:30px;}
.about .eyebrow{margin-bottom:14px;}
.about h2{margin-bottom:16px;}
.about .about-left p{font-size:15px;}
/* background: clean gradient + soft glows instead of the cropped desktop artwork */
.about::before{
  background:
    radial-gradient(90% 45% at 100% 0%,rgba(91,108,230,.38),transparent 70%),
    radial-gradient(80% 40% at 0% 100%,rgba(79,159,200,.22),transparent 70%),
    linear-gradient(180deg,#0c0e1a 0%,#141831 100%);
}
.about::after{
  background:radial-gradient(circle at 1px 1px,rgba(255,255,255,.07) 1px,transparent 0) 0 0/22px 22px;
  -webkit-mask-image:linear-gradient(180deg,#000,transparent 70%);mask-image:linear-gradient(180deg,#000,transparent 70%);
}
.about .eyebrow{color:#9fb0ff;}
.about .about-left p{color:rgba(255,255,255,.72);}

/* vision diagram -> platform tiles */
.vision{
  width:100%;max-width:none;aspect-ratio:auto;
  display:grid;grid-template-columns:1fr 1fr;gap:10px;
}
.vision-ring,.vision-core{display:none;}
.node{
  position:relative;left:auto;top:auto;transform:none;width:auto;height:auto;
  display:flex;flex-direction:column;align-items:flex-start;gap:4px;
  padding:16px 16px 18px;border-radius:20px;
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.03));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.09);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
}
.node-ic{
  width:44px;height:44px;border-radius:14px;margin-bottom:12px;
  background:linear-gradient(145deg,#3a4170,#1c2140);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 8px 18px rgba(0,0,0,.35);
}
.node-ic svg{width:22px;height:22px;}
.node-label{position:static;transform:none;margin:0;font-size:15.5px;font-weight:700;letter-spacing:-.01em;white-space:normal;}
.node-desc{display:block;font-size:12.5px;line-height:1.45;color:rgba(255,255,255,.58);word-break:keep-all;}

/* AI Platform = hero tile spanning both columns */
.node--ai{
  order:-1;grid-column:1 / -1;
  display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;
  column-gap:16px;row-gap:4px;align-items:center;
  padding:20px;border-radius:24px;
  background:linear-gradient(135deg,rgba(98,114,240,.42) 0%,rgba(79,159,200,.16) 100%);
  box-shadow:inset 0 0 0 1px rgba(160,175,255,.28),0 20px 40px rgba(20,25,80,.35);
}
.node--ai .node-ic{
  grid-row:1 / span 2;width:60px;height:60px;margin:0;border-radius:18px;
  background:linear-gradient(145deg,#6b7cff,#3946b8);
  box-shadow:0 10px 24px rgba(75,89,199,.55),inset 0 1px 0 rgba(255,255,255,.3);
}
.node--ai .node-ic::before{ /* slow orbit ring */
  content:"";position:absolute;inset:-9px;border-radius:50%;
  border:1px dashed rgba(190,200,255,.45);animation:m-spin 14s linear infinite;
}
.node--ai .node-ic{position:relative;}
.node--ai .node-ic svg{width:28px;height:28px;}
.node--ai .node-label{font-size:18px;align-self:end;}
.node--ai .node-desc{align-self:start;font-size:13px;color:rgba(255,255,255,.7);}
.node--care{order:0;} .node--mobility{order:1;} .node--life{order:2;} .node--lang{order:3;}
@keyframes m-spin{to{transform:rotate(360deg);}}

/* ---- news: swipeable cards ---- */
.news{padding:56px 0 20px;background:var(--m-bg);}
.news .news-head{
  display:grid;grid-template-columns:1fr auto;align-items:end;column-gap:12px;
  text-align:left;margin-bottom:18px;
}
.news .eyebrow{grid-column:1;margin-bottom:8px;color:var(--m-accent);}
.news .news-head h2{grid-column:1;font-size:21px;}
.news .view-all{
  grid-column:2;grid-row:1 / span 2;align-self:end;margin:0;
  padding:8px 12px;border-radius:999px;background:#fff;box-shadow:var(--m-shadow);
  font-size:13px;font-weight:700;color:var(--navy);
}
.news .view-all svg{stroke:var(--navy);}
.news-card{
  flex:0 0 76%;scroll-snap-align:start;
  background:var(--m-card);border-radius:var(--m-r);box-shadow:var(--m-shadow);
  padding:8px 8px 18px;
}
.news-card .thumb{border-radius:14px;}
.news-card .tags{top:10px;left:10px;gap:6px;}
.news-card .tag{font-size:11px;padding:4px 10px;}
.news-card .date{font-size:12.5px;color:var(--m-muted);margin:14px 8px 6px;}
.news-card .ttl{font-size:15.5px;line-height:1.45;margin:0 8px;}

/* ---- contact CTA ---- */
.cta{padding:20px 0 48px;background:var(--m-bg);}
.cta-panel{grid-template-columns:1fr;gap:24px;padding:28px 22px 22px;border-radius:24px;}
.cta .eyebrow{margin-bottom:12px;}
.cta h2{margin-bottom:10px;}
.cta p{font-size:14.5px;line-height:1.7;}
.cta p br{display:none;}
.cta-side{align-self:stretch;gap:16px;}
.cta-btn{width:100%;justify-content:center;height:54px;padding:0 20px;border-radius:16px;font-size:16px;}
.cta-meta{width:100%;flex-direction:row;flex-wrap:wrap;justify-content:center;gap:6px 16px;font-size:13px;}

/* ---- footer ---- */
.site-footer{padding:36px 0 28px;}
.footer-main{flex-direction:column;align-items:flex-start;gap:16px;padding:0 var(--m-g);min-height:0;}
.footer-main .brand img{height:30px;}
.footer-info{text-align:left;font-size:12.5px;line-height:1.85;}
.footer-info .company{font-size:14px;margin-bottom:2px;}
.footer-copy{margin:22px 0 0;padding:18px var(--m-g) 0;font-size:11.5px;
  border-top:1px solid rgba(255,255,255,.08);}

/* =====================================================================
   SUB PAGES — large-title hero + sticky chip tabs
   ===================================================================== */
.ab-hero{
  min-height:0;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;
  padding:calc(var(--m-head) + var(--safe-t) + 52px) var(--m-g) 26px;
  text-align:left;border-radius:0 0 28px 28px;
}
.ab-hero::after{background:linear-gradient(180deg,rgba(8,9,14,.45),rgba(8,9,14,.82));}
.ab-hero-title{font-size:32px;font-weight:800;letter-spacing:-.025em;margin:0;}
.ab-hero-title::before{
  content:"ISAAC GLOBAL";display:block;margin-bottom:8px;
  font-size:11px;font-weight:700;letter-spacing:.2em;color:rgba(255,255,255,.6);
}
.ab-main{background:var(--m-bg);}

/* tabs: moved after the hero by mobile.js -> sticky chip bar */
.ab-tabs.ab-tabs--sticky{
  position:sticky;top:calc(var(--m-head) + var(--safe-t));left:auto;right:auto;bottom:auto;z-index:70;
  display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;
  margin-top:-1px;padding:12px var(--m-g) 16px;
  background:rgba(243,244,248,.88);
  -webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);
}
.ab-tabs.ab-tabs--sticky::-webkit-scrollbar{display:none;}
.ab-tabs--sticky .ab-tab{
  flex:0 0 auto;padding:9px 16px;border-radius:999px;
  font-size:14px;font-weight:600;letter-spacing:-.01em;color:#4a4f5c;
  background:#fff;box-shadow:inset 0 0 0 1px rgba(20,25,50,.08);
  transition:background .2s,color .2s,transform .12s;
}
.ab-tabs--sticky .ab-tab:first-child{box-shadow:inset 0 0 0 1px rgba(20,25,50,.08);}
.ab-tabs--sticky .ab-tab:active{transform:scale(.95);}
.ab-tabs--sticky .ab-tab.active{background:var(--navy);color:#fff;font-weight:700;box-shadow:0 3px 8px rgba(35,45,75,.22);}

/* panel + heading */
.ab-panel{padding:18px 0 40px;}
.ab-panel.active{animation:m-fade .35s ease both;}
@keyframes m-fade{from{opacity:0;transform:translateY(8px);}to{opacity:1;transform:none;}}
.ab-head.center{text-align:left;margin-bottom:18px;}
.ab-eyebrow{margin-bottom:8px;color:var(--m-accent);}
.ab-head h2{font-size:24px;letter-spacing:-.025em;}
.ab-sub{margin:8px 0 0;max-width:none;font-size:14.5px;line-height:1.7;color:#6b7080;}

/* ---- greeting ---- */
.greet-grid{grid-template-columns:1fr;gap:14px;max-width:none;}
.greet-photo{order:-1;max-width:none;}
.greet-photo img,.greet-photo::after{border-radius:var(--m-r);}
.greet-photo img{aspect-ratio:16/10;}
.greet-text{background:var(--m-card);border-radius:var(--m-r);box-shadow:var(--m-shadow);padding:22px 20px 8px;}
.greet-h{font-size:17.5px;line-height:1.5;padding-left:14px;border-left-width:3px;margin-bottom:18px;white-space:normal;}
.greet-text p{font-size:15px;line-height:1.8;margin-bottom:14px;}

/* ---- history ---- */
.hist-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;border:0;margin-bottom:22px;}
.hstat{
  flex-direction:column-reverse;justify-content:center;gap:4px;
  padding:14px 6px;border-radius:16px;background:var(--m-card);box-shadow:var(--m-shadow);text-align:center;
}
.hstat:not(:first-child)::before{display:none;}
.hstat .l{font-size:11px;line-height:1.3;color:var(--m-muted);}
.hstat .v{font-size:24px;font-weight:800;}
.timeline{position:relative;margin-top:0;padding-left:24px;}
.timeline::before{content:"";position:absolute;left:7px;top:18px;bottom:18px;width:2px;
  background:linear-gradient(180deg,var(--navy),rgba(35,45,75,.12));border-radius:2px;}
.tl-item{
  position:relative;grid-template-columns:1fr;gap:10px;
  padding:18px 18px 20px;margin-bottom:12px;border-top:0;
  background:var(--m-card);border-radius:var(--m-r);box-shadow:var(--m-shadow);
}
.tl-item::before{content:"";position:absolute;left:-23px;top:22px;width:14px;height:14px;border-radius:50%;
  background:#fff;box-shadow:inset 0 0 0 3px var(--navy),0 0 0 4px var(--m-bg);}
.tl-year{font-size:22px;}
.tl-year span{font-size:13px;}
.tl-content h4{font-size:16.5px;margin-bottom:10px;}
.tl-content ul{gap:8px;}
.tl-content li{font-size:14.5px;line-height:1.6;}
.tl-content li::before{top:9px;}

/* ---- vision ---- */
.vision-stage{gap:14px;margin-top:0;}
.circle{width:140px;height:140px;padding:8px;margin-top:10px;}
.circle .tag{font-size:10px;}
.circle .lbl{font-size:14px;line-height:1.35;padding:0 10px;}
.vchecks,.vchecks.tr,.vchecks.left,.vchecks.br{
  width:100%;max-width:none;align-self:stretch;gap:12px;padding:18px;
  background:var(--m-card);border-radius:var(--m-r);box-shadow:var(--m-shadow);
}
.vcheck{font-size:14.5px;line-height:1.55;}

/* ---- directions ---- */
.addr-box{text-align:left;margin-bottom:14px;padding:20px;
  background:var(--m-card);border-radius:var(--m-r);box-shadow:var(--m-shadow);}
.addr-tag{font-size:12px;letter-spacing:.12em;color:var(--m-accent);margin-bottom:6px;}
.addr{font-size:15.5px;font-weight:600;line-height:1.55;color:var(--ink);}
.addr-actions{display:flex;gap:8px;margin-top:16px;}
.addr-btn{flex:1;display:inline-flex;align-items:center;justify-content:center;height:46px;border-radius:14px;
  font-size:14.5px;font-weight:700;color:var(--navy);background:#eceef6;}
.addr-btn--primary{background:var(--navy);color:#fff;}
.map-box{border-radius:var(--m-r);box-shadow:var(--m-shadow);}
.map-box--kakao,.map-box--kakao .root_daum_roughmap{width:100% !important;max-width:100%;}
.map-box--kakao .root_daum_roughmap .wrap_map{max-width:100%;}

/* ---- certificate: swipeable ---- */
.cert-card{flex:0 0 82%;scroll-snap-align:start;border:0;border-radius:var(--m-r);box-shadow:var(--m-shadow);}
.cert-card:hover{transform:none;box-shadow:var(--m-shadow);}
.cert-thumb{padding:18px 26px 0;}
.cert-info{padding:18px 18px 20px;}
.cert-badge{font-size:11.5px;padding:5px 12px;margin-bottom:10px;}
.cert-info h3{font-size:18px;margin-bottom:12px;}
.cert-info dl>div{font-size:13.5px;}

/* =====================================================================
   NEWS PAGE — table becomes a card list
   ===================================================================== */
.news-label{
  font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--m-muted);
  padding:0 2px 10px;border-bottom:0;
}
.news-table,.news-table tbody{display:block;width:100%;}
.news-table thead{display:none;}
.news-table tr.news-row{
  position:relative;display:grid;grid-template-columns:auto 1fr 20px;
  grid-template-areas:"cat date chev" "title title chev";
  align-items:center;gap:10px 10px;
  padding:16px 14px 16px 18px;margin-bottom:10px;
  background:var(--m-card);border-radius:18px;box-shadow:var(--m-shadow);
  transition:transform .12s;
}
.news-table tr.news-row:active{transform:scale(.985);}
.news-table tr.news-row::after{
  content:"";grid-area:chev;justify-self:center;width:8px;height:8px;
  border-right:2px solid #b4b8c4;border-top:2px solid #b4b8c4;transform:rotate(45deg);
}
.news-table td,.news-table tbody tr:last-child td{display:block;padding:0;border:0;width:auto;}
.news-table .col-cat,.news-table .col-date{width:auto;}
.news-table td.col-cat{grid-area:cat;text-align:left;}
.news-table td.col-title{grid-area:title;}
.news-table td.col-date{grid-area:date;text-align:left;font-size:12.5px;color:var(--m-muted);white-space:nowrap;}
.news-badge{font-size:11px;padding:4px 10px;background:#e6e9f7;color:var(--navy);}
.news-title-link{display:block;font-size:15.5px;font-weight:600;line-height:1.45;color:var(--ink);}
.news-title-link::after{content:"";position:absolute;inset:0;border-radius:18px;}
.news-row:hover{background:var(--m-card);}
.news-pager{margin-top:22px;gap:10px;}
.news-pager .pg-num,.news-pager .pg-arrow{width:40px;height:40px;background:#fff;box-shadow:var(--m-shadow);}
.news-pager .pg-num.active{background:var(--navy);}

/* =====================================================================
   CONTACT PAGE
   ===================================================================== */
.contact-grid{grid-template-columns:1fr;gap:14px;}
.contact-info{padding:20px;border-radius:22px;height:auto;}
.ci-item{gap:14px;margin-bottom:16px;align-items:center;}
.ci-ic{flex:0 0 42px;width:42px;height:42px;background:rgba(255,255,255,.12);}
.ci-label{font-size:10.5px;margin-bottom:3px;}
.ci-value{font-size:15px;}
.ci-note{margin-top:4px;padding-top:14px;font-size:13px;line-height:1.75;}
.contact-card{padding:22px 18px 20px;border:0;border-radius:22px;box-shadow:var(--m-shadow);}
.contact-form .field-row{grid-template-columns:1fr;gap:0;}
.contact-form .field{margin-bottom:16px;}
.contact-form label{font-size:13.5px;margin-bottom:7px;}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea{
  font-size:16px;              /* >=16px stops iOS zoom-on-focus */
  padding:14px 16px;border-radius:14px;min-height:52px;
}
.contact-form textarea{min-height:140px;}
.contact-form .privacy-note{margin-left:30px;font-size:12px;}
.btn-submit{height:56px;padding:0 20px;border-radius:16px;font-size:16.5px;
  box-shadow:0 12px 24px rgba(35,45,75,.22);}
.form-status{border-radius:14px;}

/* lightbox above the app chrome */
.cert-lightbox{z-index:200;padding:20px;}

}/* end @media (max-width:1024px) */

/* very small phones */
@media (max-width:360px){
  :root{--m-g:16px;}
  .hero h1{font-size:27px;}
  .stat .value{font-size:24px;}
  .ab-hero-title{font-size:28px;}
}

@media (prefers-reduced-motion:reduce){
  .ab-panel.active,.node--ai .node-ic::before{animation:none;}
  .site-header,.m-tab .ic,.m-tab::before{transition:none;}
}

/* =====================================================================
   TABLET (769px – 1024px) — same app shell, roomier layout
   ===================================================================== */
@media (min-width:769px) and (max-width:1024px){
  :root{--m-head:68px;--m-tab:68px;--m-g:40px;--m-r:24px;}
  body{font-size:16px;}

  /* centred content column */
  .container,.container-narrow,
  .ab-panel>.container,.ab-panel>.container-narrow{max-width:1000px;margin:0 auto;}

  .site-header .brand img{height:34px;}

  /* bottom bar: full width, icon + label side by side */
  .m-tabbar{padding:0 max(24px,calc(50% - 360px)) var(--safe-b);}
  .m-tab{flex-direction:row;gap:10px;font-size:14.5px;}
  .m-tab::before{width:56px;}
  .m-tab svg{width:23px;height:23px;}

  /* section type */
  .intro h2,.service h2,.aidg h2,.about h2,.news .news-head h2,.cta h2{font-size:34px;}
  .eyebrow,.ab-eyebrow{font-size:13px;}

  /* hero */
  .hero{min-height:min(100svh,880px);padding-bottom:150px;}
  .hero h1{font-size:46px;max-width:620px;}
  .hero .hero-sub{font-size:18px;}
  .hero p{font-size:17px;max-width:600px;}
  .hero-actions{max-width:440px;margin-top:36px;}
  .hbtn{height:58px;font-size:17px;}

  /* stats */
  .stats-card{max-width:760px;}
  .stats-head{padding:18px 28px;}
  .stats-body{padding:28px 10px;}
  .stat .value{font-size:38px;}
  .stat .label{font-size:13px;}

  /* intro */
  .intro{padding:84px 0 72px;}
  .intro .lead{max-width:780px;margin:0 auto;padding:32px 34px;}
  .intro .lead p{font-size:16.5px;}

  /* aidg: three tiles in a row */
  .aidg{padding:84px 0 64px;}
  .aidg .sub{font-size:17px;margin-bottom:34px;}
  .aidg-features{grid-template-columns:repeat(3,1fr);gap:14px;}
  .feature{flex-direction:column;align-items:flex-start;padding:22px;}
  .feature:first-child{padding-left:22px;}
  .feature .ic{width:52px;height:52px;}

  /* carousels show more */
  .service{padding:84px 0 64px;}
  .service .svc-left p{font-size:16.5px;max-width:620px;}
  .svc-card{flex:0 0 calc((100% - 24px) / 2.4);}
  .svc-card h3{font-size:19px;}
  .news{padding:80px 0 30px;}
  .news-card{flex:0 0 calc((100% - 24px) / 2.4);}
  .news-card .ttl{font-size:17px;}

  /* about vision */
  .about{padding:84px 0 80px;}
  .about .about-grid{grid-template-columns:1fr 1fr;gap:30px;}
  .about .about-left p{font-size:16px;}
  .about .about-grid{align-items:center;}

  /* cta */
  .cta{padding:30px 0 80px;}
  .cta-panel{grid-template-columns:1fr auto;gap:36px;padding:44px 40px;border-radius:28px;}
  .cta p{font-size:16px;}
  .cta-side{align-self:center;}
  .cta-btn{width:auto;padding:0 34px;}
  .cta-meta{flex-direction:column;align-items:flex-start;}

  /* footer */
  .site-footer{padding:56px 0 calc(40px);}
  .footer-main{flex-direction:row;align-items:center;justify-content:space-between;max-width:1000px;margin:0 auto;}
  .footer-info{text-align:right;font-size:13.5px;}
  .footer-copy{max-width:1000px;margin:26px auto 0;}

  /* sub pages */
  .ab-hero{padding:calc(var(--m-head) + var(--safe-t) + 90px) max(var(--m-g),calc(50% - 460px)) 40px;border-radius:0 0 36px 36px;}
  .ab-hero-title{font-size:44px;}
  .ab-tabs.ab-tabs--sticky{justify-content:center;padding:14px var(--m-g);}
  .ab-tabs--sticky .ab-tab{padding:11px 22px;font-size:15px;}
  .ab-panel{padding:30px 0 60px;}
  .ab-head h2{font-size:32px;}
  .ab-sub{font-size:16px;}

  .greet-grid{grid-template-columns:1fr 300px;gap:20px;align-items:stretch;}
  .greet-photo{order:0;}
  .greet-photo img{height:100%;aspect-ratio:auto;}
  .greet-text{padding:30px 30px 14px;}
  .greet-h{font-size:21px;}

  .hstat{padding:20px 8px;}
  .hstat .v{font-size:30px;}
  .hstat .l{font-size:13px;}
  .timeline{padding-left:32px;}
  .timeline::before{left:10px;}
  .tl-item{grid-template-columns:150px 1fr;gap:24px;padding:26px 28px;}
  .tl-item::before{left:-29px;top:30px;}
  .tl-year{font-size:28px;}

  .vision-stage{max-width:640px;margin:0 auto;}
  .circle{width:170px;height:170px;}
  .circle .lbl{font-size:16px;}
  .vcheck{font-size:15.5px;}

  .addr-actions{max-width:420px;}
  .cert-card{flex:0 0 calc((100% - 24px) / 3);}

  .news-table tr.news-row{padding:20px 22px 20px 24px;}
  .news-title-link{font-size:17px;}

  .contact-grid{grid-template-columns:300px 1fr;gap:18px;align-items:start;}
  .contact-info{padding:28px 24px;}
  .contact-card{padding:30px 28px;}
  .contact-form .field-row{grid-template-columns:1fr 1fr;gap:14px;}
}

/* keep app-style section labels after the desktop Figma pass */
@media (max-width:1024px){
  .intro .eyebrow,.service .svc-left .eyebrow,.about .eyebrow,.news .eyebrow,.cta .eyebrow,.hero .eyebrow{
    font-size:12px;letter-spacing:.14em;text-transform:uppercase;}
  .hero .eyebrow{font-size:11px;}
  .about .eyebrow{color:#9fb0ff;}
  .intro .eyebrow,.service .svc-left .eyebrow,.news .eyebrow{color:var(--m-accent);}
}
@media (min-width:769px) and (max-width:1024px){
  .intro .eyebrow,.service .svc-left .eyebrow,.about .eyebrow,.news .eyebrow,.cta .eyebrow{font-size:13px;}
}

/* Figma asset icons inside the app layout */
@media (max-width:1024px){
  .feature .ic{position:relative;overflow:visible;background:none;box-shadow:none;}
  .feature .ic img{position:absolute;left:-6.25%;top:0;width:112.5%;height:112.5%;max-width:none;}
  .svc-ic{display:flex;align-items:center;justify-content:flex-start;height:40px;}
  .svc-ic img{width:auto;height:36px;max-width:none;}
  .node-ic img{width:22px;height:auto;max-height:22px;}
  .node--ai .node-ic img{width:28px;max-height:28px;}
  .node-ic::before{display:none;}
  .news-card .thumb .ph{position:absolute;inset:0;width:100%;height:100%;opacity:1;}
  .news .view-all img{width:10px;height:10px;}
  .hero-scroll{display:none !important;}
}

/* sub-page Figma assets inside the app layout */
@media (max-width:1024px){
  .vline{display:none;}
  .vcheck img{width:18px;height:18px;flex:0 0 auto;margin-top:2px;}
  .news-label .dot{display:inline-block;width:3px;height:3px;border-radius:2px;background:currentColor;vertical-align:middle;margin:0 4px;}
  .news-pager .pg-arrow img{width:22px;height:22px;display:block;}
  .news-pager .pg-arrow--next img{transform:scaleX(-1);}
}
