:root{
  --forest:#173f31;--forest-2:#245a46;--leaf:#5f8f69;--sage:#dce9de;--sage-2:#eef5ef;--cream:#f8f5ed;
  --white:#fff;--ink:#1e2a24;--muted:#66736d;--gold:#b89455;--line:#d9e4dc;--shadow:0 18px 50px rgba(31,64,48,.10);
  --radius:22px;--wrap:min(1180px,calc(100% - 36px));
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Pretendard,"Noto Sans KR",Arial,sans-serif;color:var(--ink);background:linear-gradient(180deg,#fbfcf8 0,#f7faf7 45%,#fff 100%);line-height:1.65}
a{color:inherit;text-decoration:none}img{max-width:100%;display:block}button,input,textarea,select{font:inherit}.wrap{width:var(--wrap);margin:auto}.eyebrow{font-size:.78rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase;color:var(--leaf)}
.topbar{background:var(--forest);color:#eaf4ee;font-size:.85rem}.topbar .wrap{display:flex;justify-content:space-between;gap:20px;padding:8px 0}.topbar a{opacity:.92}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.95);backdrop-filter:blur(14px);border-bottom:1px solid rgba(23,63,49,.08)}
.header-row{display:flex;align-items:center;justify-content:space-between;min-height:78px;gap:28px}.brand{display:flex;align-items:center;gap:12px}.brand-symbol{width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,var(--forest),var(--leaf));display:grid;place-items:center;color:#fff;font-weight:900;box-shadow:0 8px 20px rgba(23,63,49,.18)}.brand-copy strong{display:block;font-size:1.08rem}.brand-copy span{display:block;font-size:.76rem;color:var(--muted);letter-spacing:.06em}
.nav{display:flex;align-items:center;gap:4px}.nav a{padding:10px 12px;border-radius:12px;font-weight:750;font-size:.94rem;color:#34433b}.nav a:hover,.nav a.active{background:var(--sage-2);color:var(--forest)}.nav .accent{background:var(--forest);color:#fff}.nav .accent:hover{background:var(--forest-2);color:#fff}.menu-btn{display:none;border:0;background:var(--sage-2);padding:10px 12px;border-radius:12px;color:var(--forest);font-weight:900}
.hero{position:relative;overflow:hidden;padding:82px 0 72px;background:radial-gradient(circle at 82% 18%,rgba(95,143,105,.15),transparent 30%),linear-gradient(135deg,#fdfcf7 0%,#eef6ef 100%)}.hero:after{content:"";position:absolute;right:-160px;bottom:-220px;width:520px;height:520px;border:1px solid rgba(23,63,49,.10);border-radius:50%;box-shadow:0 0 0 60px rgba(95,143,105,.03),0 0 0 120px rgba(95,143,105,.025)}.hero-grid{display:grid;grid-template-columns:1.22fr .78fr;gap:60px;align-items:center;position:relative;z-index:2}.hero h1{font-size:clamp(2.5rem,5vw,4.8rem);line-height:1.05;letter-spacing:-.055em;margin:16px 0 22px;color:#15382c}.hero h1 em{font-style:normal;color:var(--leaf)}.hero p{font-size:1.12rem;color:#53635a;max-width:760px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.btn{border:1px solid var(--forest);background:var(--forest);color:#fff;padding:12px 18px;border-radius:13px;font-weight:850;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}.btn:hover{background:var(--forest-2)}.btn.ghost{background:#fff;color:var(--forest);border-color:#cfdcd3}.btn.small{padding:9px 13px;font-size:.9rem}.btn.danger{background:#9e3b3b;border-color:#9e3b3b}.btn.youtube{background:#b92d2d;border-color:#b92d2d}
.hero-card{background:#fff;border:1px solid #dce7de;border-radius:28px;padding:28px;box-shadow:var(--shadow)}.hero-card .metric{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.metric div{background:var(--sage-2);border-radius:17px;padding:18px}.metric strong{font-size:1.7rem;color:var(--forest);display:block}.hero-card .line{height:1px;background:var(--line);margin:22px 0}.hero-card ul{padding:0;margin:0;list-style:none;display:grid;gap:10px}.hero-card li{display:flex;gap:10px;color:#526259}.hero-card li:before{content:"✓";color:var(--leaf);font-weight:900}
.section{padding:78px 0}.section.alt{background:var(--cream)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:30px}.section-head h2,.page-hero h1{margin:6px 0 0;font-size:clamp(2rem,4vw,3.2rem);letter-spacing:-.04em;color:var(--forest);line-height:1.12}.lead{color:var(--muted);max-width:800px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:0 8px 25px rgba(35,73,54,.05)}.card h3,.card h4{margin:8px 0;color:var(--forest)}.card p{color:var(--muted);margin:.45rem 0}.card .num{font-size:.8rem;color:var(--gold);font-weight:900;letter-spacing:.1em}.card.hover{transition:.2s}.card.hover:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#c8dbce}.icon-badge{width:46px;height:46px;border-radius:14px;background:var(--sage-2);display:grid;place-items:center;color:var(--forest);font-weight:900}
.page-hero{padding:54px 0 42px;background:linear-gradient(135deg,#f8fbf8,#eef5ef);border-bottom:1px solid var(--line)}.breadcrumbs{font-size:.86rem;color:var(--muted);margin-bottom:14px}.page-hero p{max-width:780px;color:var(--muted);font-size:1.05rem}
.about-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:42px;align-items:start}.portrait{border-radius:26px;overflow:hidden;box-shadow:var(--shadow);background:#dbe8dd}.portrait img{width:100%;aspect-ratio:4/5;object-fit:cover}.profile-block{background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px}.profile-block h2{font-size:2rem;margin:0;color:var(--forest)}.profile-role{color:var(--leaf);font-weight:850;margin:4px 0 18px}.bio-sections{display:grid;gap:26px;margin-top:28px}.bio-sections h3{font-size:1rem;color:var(--forest);margin:0 0 10px}.bio-list{display:grid;gap:9px}.bio-list div{padding:12px 14px;border-radius:13px;background:#f7faf7;border:1px solid #e3ece5}.tags{display:flex;flex-wrap:wrap;gap:9px}.tag{padding:8px 11px;border-radius:999px;background:var(--sage-2);border:1px solid #d6e5d9;font-size:.9rem;font-weight:750;color:var(--forest)}
.media-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.media-card{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;position:relative}.media-card img,.media-card video{width:100%;aspect-ratio:16/10;object-fit:cover;background:#e7eee8}.media-body{padding:18px}.media-meta{font-size:.8rem;color:var(--leaf);font-weight:850}.media-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.admin-only{display:none!important}body.admin .admin-only{display:inline-flex!important}.admin-hide{position:absolute;top:10px;right:10px;z-index:3}
.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 22px}.empty{padding:30px;text-align:center;color:var(--muted);background:#fff;border:1px dashed #cbd9cf;border-radius:18px}
.list-cards{display:grid;gap:14px}.list-item{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center}.list-item h3{margin:0 0 6px;color:var(--forest)}.list-item p{margin:0;color:var(--muted)}
.chem-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.chem-card{display:grid;grid-template-columns:150px 1fr;gap:18px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px}.chem-card img{width:150px;height:150px;object-fit:cover;border-radius:15px;background:#edf3ee}.chem-card dl{display:grid;grid-template-columns:110px 1fr;gap:5px 12px;margin:12px 0 0;font-size:.92rem}.chem-card dt{font-weight:850;color:var(--forest)}.chem-card dd{margin:0;color:var(--muted)}
.video-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.video-card{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden}.video-wrap{aspect-ratio:16/9;background:#14221b}.video-wrap iframe,.video-wrap video{width:100%;height:100%;border:0}.video-body{padding:18px}
.board{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden}.board-row{display:grid;grid-template-columns:70px 1fr 120px 120px;gap:12px;padding:15px 18px;border-top:1px solid #edf1ee;align-items:center;cursor:pointer}.board-row:first-child{border-top:0}.board-row:hover{background:#f8fbf8}.board-head{font-weight:850;background:#f0f6f1;color:var(--forest)}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.contact-box{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px}.contact-box strong{color:var(--forest)}
.footer{margin-top:40px;background:#15382c;color:#dbe8e0;padding:42px 0}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:28px}.footer a{color:#dbe8e0}.footer small{color:#aebfb5}.footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:26px;padding-top:18px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.floating-admin{position:fixed;right:18px;bottom:18px;z-index:80}.admin-chip{border:0;border-radius:999px;background:#163c2f;color:#fff;padding:11px 15px;box-shadow:0 10px 30px rgba(0,0,0,.18);font-weight:850;cursor:pointer}
.modal{position:fixed;inset:0;background:rgba(14,28,22,.62);display:none;align-items:center;justify-content:center;padding:20px;z-index:100}.modal.open{display:flex}.modal-card{width:min(720px,96vw);max-height:92vh;overflow:auto;background:#fff;border-radius:24px;box-shadow:0 28px 90px rgba(0,0,0,.3)}.modal-head{display:flex;justify-content:space-between;gap:16px;align-items:start;padding:22px 24px;border-bottom:1px solid var(--line)}.modal-head h3{margin:0;color:var(--forest)}.close{border:0;background:#edf4ef;border-radius:10px;width:36px;height:36px;font-size:1.3rem;cursor:pointer}.modal-body{padding:24px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{display:grid;gap:6px}.field.full{grid-column:1/-1}.field label{font-weight:800;font-size:.9rem;color:var(--forest)}.field input,.field textarea,.field select{width:100%;border:1px solid #cedbd1;border-radius:12px;padding:11px 12px;background:#fff}.field textarea{min-height:120px;resize:vertical}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.notice{padding:13px 15px;border-radius:13px;background:#f1f7f2;color:#466255;font-size:.9rem}.danger-zone{background:#fff3f3;border-color:#efd0d0}
@media(max-width:980px){.nav{display:none;position:absolute;left:18px;right:18px;top:74px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:10px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch}.nav.open{display:flex}.nav a{width:100%}.menu-btn{display:block}.hero-grid,.about-grid,.contact-grid,.footer-grid{grid-template-columns:1fr}.hero{padding-top:56px}.cards,.media-grid{grid-template-columns:repeat(2,1fr)}.chem-grid,.video-grid{grid-template-columns:1fr}}
@media(max-width:640px){.topbar{display:none}.header-row{min-height:68px}.brand-copy span{display:none}.hero{padding:46px 0}.hero-grid{gap:28px}.hero h1{font-size:2.65rem}.cards,.media-grid{grid-template-columns:1fr}.chem-card{grid-template-columns:1fr}.chem-card img{width:100%;height:220px}.section{padding:58px 0}.section-head{align-items:start;flex-direction:column}.board-row{grid-template-columns:52px 1fr}.board-row span:nth-child(3),.board-row span:nth-child(4){display:none}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}}

/* 2026-10 homepage visual refresh */
.brand{min-width:250px}.brand-logo{width:250px;height:auto;max-height:52px;object-fit:contain;object-position:left center}.site-header .header-row{min-height:86px}.site-header{box-shadow:0 8px 24px rgba(23,63,49,.05)}
.hero-home{position:relative;min-height:720px;padding:62px 0 42px;background:#eaf4eb;isolation:isolate}.hero-home:after{display:none}.hero-backdrop{position:absolute;inset:0;z-index:-2;background-image:linear-gradient(90deg,rgba(250,253,248,.97) 0%,rgba(250,253,248,.91) 34%,rgba(247,252,247,.50) 58%,rgba(236,247,238,.22) 100%),linear-gradient(180deg,rgba(255,255,255,.08),rgba(19,63,46,.08)),url('images/hero-landscape.jpg');background-size:cover;background-position:center 52%;filter:saturate(1.05) contrast(1.02)}
.hero-home:before{content:"";position:absolute;inset:auto 0 0 0;height:180px;z-index:-1;background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.78))}
.hero-home-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(390px,.88fr);gap:38px;align-items:center;position:relative;z-index:2}
.hero-copy-panel{padding:18px 0}.hero-kicker{display:inline-flex;align-items:center;gap:9px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.78);border:1px solid rgba(23,63,49,.13);box-shadow:0 8px 24px rgba(23,63,49,.08);font-weight:900;color:var(--forest);font-size:.92rem}.leaf-dot{color:#4fae64;font-size:.72rem}.hero-home h1{font-size:clamp(3.1rem,5.7vw,5.5rem);line-height:.98;letter-spacing:-.062em;margin:22px 0 24px;color:#163c2f;text-shadow:0 1px 0 rgba(255,255,255,.45)}.hero-home h1 em{font-style:normal;color:#4f8b5f}.hero-lead{font-size:1.16rem!important;line-height:1.8;color:#3f5148!important;max-width:760px!important;margin:0}.hero-service-line{margin-top:18px;max-width:780px;color:#254d3b;font-size:.95rem;font-weight:800;line-height:1.75;padding:12px 15px;border-left:4px solid #5f9c6c;background:rgba(255,255,255,.58);backdrop-filter:blur(8px);border-radius:0 14px 14px 0}.hero-actions{margin-top:24px}.hero-primary{padding:14px 22px;border-radius:999px;box-shadow:0 12px 24px rgba(23,63,49,.18)}.hero-secondary{padding:14px 22px;border-radius:999px;background:rgba(255,255,255,.86)!important;color:var(--forest)!important;border-color:rgba(23,63,49,.24)!important;backdrop-filter:blur(8px)}
.hero-mini-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:34px;max-width:860px}.hero-mini-card{display:grid;gap:3px;padding:16px 16px 15px;border-radius:18px;background:rgba(255,255,255,.88);border:1px solid rgba(23,63,49,.13);box-shadow:0 14px 32px rgba(31,64,48,.10);backdrop-filter:blur(12px);transition:.2s}.hero-mini-card:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(31,64,48,.15)}.hero-mini-card span{font-size:.75rem;color:#b08c48;font-weight:950;letter-spacing:.1em}.hero-mini-card strong{color:#173f31;font-size:1rem}.hero-mini-card small{color:#5f7066;font-size:.82rem;line-height:1.45}
.hero-visual-panel{position:relative;min-height:590px;display:flex;align-items:flex-end;justify-content:center}.character-stage{position:relative;width:min(100%,500px);height:550px;display:flex;align-items:flex-end;justify-content:center}.character-stage:before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.96),rgba(255,255,255,.56) 54%,rgba(255,255,255,0) 72%);top:56px;left:50%;transform:translateX(-50%);z-index:0}.hero-character{position:relative;z-index:2;height:520px;width:auto;max-width:100%;object-fit:contain;filter:drop-shadow(0 24px 28px rgba(24,58,43,.18))}.character-quote{position:absolute;z-index:3;right:-14px;top:78px;padding:13px 16px;border-radius:18px 18px 4px 18px;background:rgba(255,255,255,.91);border:1px solid rgba(23,63,49,.13);box-shadow:0 12px 28px rgba(23,63,49,.12);font-weight:900;color:#2e6d46;font-size:.98rem;line-height:1.45}.association-card{position:absolute;z-index:4;right:0;bottom:4px;width:260px;background:rgba(255,255,255,.94);border:1px solid rgba(23,63,49,.13);box-shadow:0 18px 38px rgba(23,63,49,.13);border-radius:20px;padding:10px;display:grid;grid-template-columns:92px 1fr;gap:12px;align-items:center;backdrop-filter:blur(12px)}.association-card img{width:92px;height:64px;object-fit:cover;object-position:center;border-radius:13px}.association-card strong{display:block;color:#173f31;font-size:.86rem;line-height:1.35}.association-card span{display:block;color:#66736d;font-size:.73rem;line-height:1.45;margin-top:4px}
@media(max-width:1100px){.brand-logo{width:210px}.brand{min-width:210px}.hero-home-grid{grid-template-columns:1fr .72fr}.hero-character{height:470px}.hero-visual-panel{min-height:520px}.association-card{width:230px}.character-quote{right:-6px;top:92px}.nav a{padding:10px 8px;font-size:.9rem}}
@media(max-width:980px){.brand-logo{width:230px}.brand{min-width:auto}.hero-home{padding-top:44px}.hero-home-grid{grid-template-columns:1fr;gap:10px}.hero-visual-panel{min-height:500px}.hero-character{height:490px}.character-stage{height:500px}.association-card{right:8%;bottom:8px}.hero-mini-cards{grid-template-columns:repeat(3,1fr)}}
@media(max-width:680px){.brand-logo{width:195px}.hero-home{min-height:auto;padding:36px 0 26px}.hero-backdrop{background-position:58% center}.hero-home h1{font-size:3rem}.hero-lead{font-size:1rem!important}.hero-service-line{font-size:.85rem}.hero-mini-cards{grid-template-columns:1fr}.hero-visual-panel{min-height:430px}.character-stage{height:430px}.hero-character{height:410px}.character-quote{right:0;top:48px;font-size:.82rem}.association-card{left:0;right:auto;width:225px;bottom:0;grid-template-columns:78px 1fr}.association-card img{width:78px;height:55px}.topbar{display:none}}


/* === 2026-10 homepage refresh: profile photo + landscape + always-visible mobile nav === */
.hero-backdrop{
  background-image:
    linear-gradient(90deg,rgba(252,254,250,.96) 0%,rgba(252,254,250,.90) 32%,rgba(249,253,249,.58) 55%,rgba(245,251,246,.16) 100%),
    linear-gradient(180deg,rgba(255,255,255,.06),rgba(15,58,42,.10)),
    url('images/hero-landscape-new.jpg')!important;
  background-size:cover!important;
  background-position:center 42%!important;
  filter:saturate(1.08) contrast(1.02)!important;
}
.hero-soft-title{
  font-family:"Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",sans-serif!important;
  font-weight:800!important;
  letter-spacing:-.045em!important;
  line-height:1.08!important;
}
.hero-soft-title em{font-weight:800!important;letter-spacing:-.04em!important}
.hero-visual-panel{min-height:590px!important;display:flex;align-items:center;justify-content:center!important}
.director-stage{position:relative;width:min(100%,500px);min-height:565px;display:flex;align-items:center;justify-content:center;padding-bottom:56px}
.director-stage:before{content:"";position:absolute;width:430px;height:430px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.95),rgba(255,255,255,.57) 58%,rgba(255,255,255,0) 74%);top:44px;left:50%;transform:translateX(-50%);z-index:0}
.director-photo-card{position:relative;z-index:2;width:min(100%,390px);border-radius:28px;overflow:hidden;background:#f7f8f7;border:1px solid rgba(23,63,49,.14);box-shadow:0 28px 60px rgba(23,63,49,.18)}
.hero-director-photo{display:block;width:100%;height:500px;object-fit:cover;object-position:center 22%;background:#ececec}
.director-caption{position:absolute;left:18px;right:18px;bottom:18px;padding:14px 16px;border-radius:16px;background:rgba(255,255,255,.91);backdrop-filter:blur(12px);box-shadow:0 10px 28px rgba(17,50,37,.12);border:1px solid rgba(23,63,49,.10)}
.director-caption strong{display:block;color:#173f31;font-size:1.05rem;line-height:1.25}.director-caption span{display:block;color:#597067;font-size:.82rem;margin-top:4px;font-weight:700}
.hero-association-card{right:-12px!important;bottom:0!important;width:258px!important}

/* desktop-like navigation remains visible on phones */
.menu-btn{display:none!important}
@media(max-width:980px){
  .site-header{position:sticky;top:0;z-index:90;background:rgba(255,255,255,.97);backdrop-filter:blur(12px)}
  .header-row{display:flex!important;flex-wrap:wrap!important;gap:8px 12px!important;padding-top:10px!important;padding-bottom:10px!important;min-height:auto!important}
  .brand{width:100%!important;min-width:0!important;justify-content:center!important}
  .brand-logo{width:min(240px,72vw)!important}
  .nav{display:grid!important;position:static!important;left:auto!important;right:auto!important;top:auto!important;width:100%!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important;background:transparent!important;border:0!important;border-radius:0!important;padding:4px 0 0!important;box-shadow:none!important;align-items:stretch!important}
  .nav a{width:auto!important;min-width:0!important;padding:9px 5px!important;border-radius:10px!important;text-align:center!important;font-size:.78rem!important;line-height:1.25!important;white-space:normal!important;display:flex!important;align-items:center!important;justify-content:center!important}
  .hero-home-grid{grid-template-columns:1fr!important;gap:18px!important}
  .hero-visual-panel{min-height:520px!important}
  .director-stage{min-height:500px;padding-bottom:54px}
  .hero-director-photo{height:440px}
  .hero-association-card{right:4%!important}
}
@media(max-width:680px){
  .header-row{padding-left:10px!important;padding-right:10px!important}
  .brand-logo{width:min(220px,78vw)!important}
  .nav{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
  .nav a{font-size:.92rem!important;padding:11px 5px!important;min-height:46px!important;font-weight:800!important;border:1px solid rgba(23,63,49,.07)!important;background:#f7faf7!important}
  .nav a.active{background:var(--sage-2)!important}
  .nav .accent{background:var(--forest)!important;color:#fff!important;border-color:var(--forest)!important}
  .hero-home{padding-top:26px!important}
  .hero-backdrop{background-position:58% center!important}
  .hero-soft-title{font-size:2.7rem!important;line-height:1.10!important;margin-top:18px!important}
  .hero-visual-panel{min-height:460px!important}
  .director-stage{min-height:450px;padding-bottom:48px}
  .director-photo-card{width:min(88vw,340px);border-radius:24px}
  .hero-director-photo{height:405px;object-position:center 18%}
  .director-caption{left:12px;right:12px;bottom:12px;padding:12px 13px}
  .hero-association-card{left:10px!important;right:auto!important;width:215px!important;grid-template-columns:70px 1fr!important}
  .hero-association-card img{width:70px!important;height:50px!important}
}
@media(max-width:390px){
  .nav a{font-size:.84rem!important;padding:10px 4px!important;min-height:44px!important}
  .hero-soft-title{font-size:2.45rem!important}
}


/* home hero balance + readability refinement */
.hero-home-grid{align-items:stretch!important}
.hero-copy-panel{display:flex;flex-direction:column;min-height:590px}
.hero-mini-cards{margin-top:auto!important;padding-top:30px}
.hero-visual-panel{min-height:590px!important;display:flex;align-items:flex-end!important;justify-content:center!important}
.director-stage{position:relative;width:min(100%,500px);min-height:590px!important;height:100%;display:flex;align-items:flex-end!important;justify-content:center;padding-bottom:0!important}
.director-stage:before{top:72px!important}
.director-photo-card{width:min(100%,390px);margin-bottom:0!important}
.hero-director-photo{height:500px;object-position:center 22%}
.hero-association-card{display:none!important}
.hero-soft-title{color:#173f31!important;text-shadow:0 2px 0 rgba(255,255,255,.65)}
.hero-soft-title .title-green{color:#17673f!important}
.hero-soft-title .title-blue{color:#286ea7!important}
.hero-soft-title em{color:#5b8d43!important}
.hero-kicker{color:#17673f!important;background:rgba(247,255,250,.90)!important;border-color:rgba(41,122,77,.20)!important}
.hero-lead{color:#314b42!important;font-weight:650}
.hero-service-line{display:flex;flex-wrap:wrap;gap:5px 8px;align-items:center;color:#2d4f42!important;background:rgba(255,255,255,.78)!important;border-left-color:#2f8b5b!important;box-shadow:0 8px 24px rgba(30,75,53,.07)}
.hero-service-line span{font-weight:900}
.hero-service-line .svc-green{color:#1b6a42}.hero-service-line .svc-blue{color:#2d69a8}.hero-service-line .svc-amber{color:#9a681e}.hero-service-line .svc-teal{color:#187d78}.hero-service-line .svc-navy{color:#344f82}.hero-service-line .svc-olive{color:#657c2b}.hero-service-line .svc-sky{color:#287f9e}.svc-sep{color:#9aa9a0;font-weight:700}
.hero-mini-card:nth-child(1) strong{color:#17673f!important}.hero-mini-card:nth-child(2) strong{color:#2d69a8!important}.hero-mini-card:nth-child(3) strong{color:#8a5d1d!important}
.hero-mini-card:nth-child(1) span{color:#2f8b5b!important}.hero-mini-card:nth-child(2) span{color:#3d79b5!important}.hero-mini-card:nth-child(3) span{color:#b27a28!important}
.director-caption strong{color:#17673f!important}.director-caption span{color:#375b78!important}
@media(max-width:980px){.hero-copy-panel{min-height:auto}.hero-mini-cards{margin-top:28px!important;padding-top:0}.hero-visual-panel{min-height:500px!important}.director-stage{min-height:500px!important;height:auto}.hero-director-photo{height:440px}}
@media(max-width:680px){.hero-visual-panel{min-height:430px!important}.director-stage{min-height:430px!important}.hero-director-photo{height:405px}.hero-service-line{gap:4px 6px}}

/* === icon system refresh: semantic SVG icons === */
.icon-badge{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;background:#edf6f2;color:#176b58;box-shadow:inset 0 0 0 1px rgba(23,107,88,.08)}
.icon-badge svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.icon-chem{background:linear-gradient(145deg,#e9f8ef,#dff1e6);color:#287b48}
.icon-doc{background:linear-gradient(145deg,#eaf3ff,#deebfb);color:#2f66a5}
.icon-video{background:linear-gradient(145deg,#fff1e7,#ffe4d1);color:#c66a2c}

/* equipment page visual hierarchy */
.equipment-section{background:linear-gradient(180deg,#fbfdfc 0%,#f3f8f6 100%)}
.equipment-cards{gap:20px}
.equipment-cards .card{position:relative;overflow:hidden;min-height:235px;padding:28px 26px 26px;border-color:#d8e5df;box-shadow:0 12px 30px rgba(25,66,51,.06);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.equipment-cards .card:before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,#2d8d72,#65b7aa,#4a83c6);opacity:.9}
.equipment-cards .card:hover{transform:translateY(-5px);box-shadow:0 18px 40px rgba(25,66,51,.12);border-color:#c4d9cf}
.equipment-cards .equip-icon{width:60px;height:60px;border-radius:18px;margin-bottom:16px}
.equipment-cards .equip-icon svg{width:32px;height:32px}
.equipment-cards .sonic{background:linear-gradient(145deg,#e6f7f4,#d4efea);color:#137d71}
.equipment-cards .pcr{background:linear-gradient(145deg,#eaf0ff,#dce6ff);color:#3d63b8}
.equipment-cards .soil{background:linear-gradient(145deg,#f5f1df,#ebe3c9);color:#8a6a2d}
.equipment-cards .micro{background:linear-gradient(145deg,#eeeaff,#e2dbff);color:#6a52b5}
.equipment-cards .field{background:linear-gradient(145deg,#e9f5fb,#daedf7);color:#2b769a}
.equipment-cards .drone{background:linear-gradient(145deg,#fff0e5,#ffe0c7);color:#bd6a2f}
.equip-kicker{display:inline-block;margin:0 0 3px;font-size:.74rem;font-weight:900;letter-spacing:.08em;color:#708179;text-transform:uppercase}
.equipment-cards .card h3{margin:4px 0 10px;font-size:1.28rem;color:#123f33}
.equipment-cards .card p{font-size:.98rem;line-height:1.72;color:#5d6f66}
@media(max-width:640px){.equipment-cards .card{min-height:0}.equipment-cards .equip-icon{width:56px;height:56px}.equipment-cards .card h3{font-size:1.18rem}}


/* Director profile slideshow */
.director-photo-card{position:relative}
.director-slideshow{position:relative;width:100%;height:500px;overflow:hidden;background:#ececec}
.director-slide{position:absolute;inset:0;opacity:0;transform:scale(1.015);transition:opacity .75s ease,transform 1.1s ease;pointer-events:none}
.director-slide.is-active{opacity:1;transform:scale(1);pointer-events:auto}
.director-slide .hero-director-photo{height:100%!important;width:100%;object-fit:cover;object-position:center 22%}
.director-slide-dots{position:absolute;left:50%;bottom:78px;z-index:5;display:flex;gap:7px;transform:translateX(-50%)}
.director-slide-dot{width:8px;height:8px;border-radius:50%;border:0;background:rgba(255,255,255,.58);box-shadow:0 1px 5px rgba(0,0,0,.18);padding:0}
.director-slide-dot.is-active{width:22px;border-radius:99px;background:#27a66b}
.director-manage-btn{position:absolute;z-index:7;right:12px;top:12px;border:1px solid rgba(255,255,255,.55);background:rgba(20,65,48,.88);color:white;border-radius:999px;padding:8px 11px;font:inherit;font-size:.78rem;font-weight:800;cursor:pointer;backdrop-filter:blur(10px)}
.director-admin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.director-admin-item{position:relative;border:1px solid var(--line);border-radius:15px;overflow:hidden;background:#f4f7f5}
.director-admin-item img{width:100%;aspect-ratio:4/5;object-fit:cover;display:block}
.director-admin-item button{position:absolute;right:8px;top:8px;border:0;border-radius:999px;background:rgba(139,35,35,.9);color:#fff;padding:7px 9px;font-weight:800;cursor:pointer}
@media(max-width:980px){.director-slideshow{height:440px}}
@media(max-width:680px){.director-slideshow{height:405px}.director-slide-dots{bottom:74px}.director-admin-grid{grid-template-columns:repeat(2,1fr)}}

/* === Cases gallery + improved mobile navigation === */
.cases-head{margin-bottom:24px}.cases-grid{align-items:start}.case-card{overflow:hidden}.case-cover-btn{position:relative;display:block;width:100%;padding:0;border:0;background:#eef4ef;cursor:pointer;overflow:hidden}.case-cover-btn img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;transition:transform .28s ease}.case-cover-btn:hover img{transform:scale(1.025)}.case-cover-overlay{position:absolute;right:14px;bottom:14px;background:rgba(13,61,46,.88);color:#fff;padding:8px 11px;border-radius:999px;font-size:.82rem;font-weight:800;backdrop-filter:blur(6px)}.case-cover-empty{aspect-ratio:16/10;color:var(--forest);font-weight:800}.gallery-photo-card img{width:100%;aspect-ratio:4/3;object-fit:cover}.case-caption-fields{display:grid;gap:10px}.case-caption-row{display:grid;grid-template-columns:minmax(140px,.8fr) 1.2fr;gap:12px;align-items:center;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#f8fbf8}.case-caption-row span{font-size:.85rem;color:#52645c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.form-hint{font-size:.82rem;color:#728179;margin-top:6px}
@media(max-width:680px){.nav a{font-size:.92rem!important;line-height:1.25!important;letter-spacing:-.02em!important}.nav{gap:7px!important}.cases-grid{grid-template-columns:1fr}.case-caption-row{grid-template-columns:1fr}.case-caption-row span{white-space:normal}.case-cover-overlay{font-size:.78rem}}
@media(max-width:390px){.nav a{font-size:.84rem!important}}

/* === Mobile navigation readability FINAL override === */
@media(max-width:680px){
  .site-header .nav{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:7px!important;
    padding:8px 0 2px!important;
  }
  .site-header .nav a{
    font-size:1.06rem!important;
    line-height:1.3!important;
    font-weight:900!important;
    letter-spacing:-.025em!important;
    min-height:54px!important;
    padding:12px 6px!important;
    border-radius:12px!important;
    background:#f3f8f5!important;
    border:1px solid rgba(20,74,55,.11)!important;
    color:#183f32!important;
  }
  .site-header .nav a.active{
    background:#dcefe4!important;
    color:#0d5f42!important;
    border-color:rgba(13,95,66,.18)!important;
  }
  .site-header .nav a.accent{
    background:#176b4b!important;
    color:#fff!important;
    border-color:#176b4b!important;
  }
}
@media(max-width:420px){
  .site-header .nav a{
    font-size:1rem!important;
    min-height:52px!important;
    padding:11px 4px!important;
  }
  .brand-logo{width:min(205px,76vw)!important}
}

/* === MOBILE/TABLET NAVIGATION LARGE-TYPE OVERRIDE 2026-10-02 === */
/* The earlier 980px rule used five columns and 0.78rem text, which stayed tiny on many phones. */
@media (max-width:980px){
  .site-header .header-row{
    padding:10px 12px 12px!important;
    gap:10px!important;
  }
  .site-header .brand{
    width:100%!important;
    justify-content:center!important;
  }
  .site-header .brand-logo{
    width:min(230px,72vw)!important;
  }
  .site-header .nav{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
    width:100%!important;
    padding:2px 0 0!important;
  }
  .site-header .nav a{
    font-size:1.08rem!important;
    line-height:1.25!important;
    font-weight:900!important;
    min-height:56px!important;
    padding:12px 8px!important;
    border-radius:13px!important;
    background:#f4f8f6!important;
    border:1px solid rgba(19,63,49,.11)!important;
    color:#173f31!important;
    text-align:center!important;
    white-space:normal!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .site-header .nav a.active{
    background:#dff0e6!important;
    color:#0d6244!important;
    border-color:rgba(13,98,68,.18)!important;
  }
  .site-header .nav a.accent{
    background:#176b4b!important;
    color:#fff!important;
    border-color:#176b4b!important;
  }
}
@media (max-width:600px){
  .site-header .nav{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .site-header .nav a{
    font-size:1.14rem!important;
    min-height:58px!important;
    padding:13px 8px!important;
  }
}
@media (max-width:390px){
  .site-header .nav a{
    font-size:1.08rem!important;
    min-height:56px!important;
  }
}

/* === Mobile readability balanced: 2026-10-02 === */
/* Moderate mobile sizing: readable without making the page feel zoomed-in. */
@media (max-width:980px){
  html{font-size:16px!important}
  body{font-size:1rem!important;line-height:1.62!important}
  .wrap{--wrap:min(100% - 28px,1180px)}

  .topbar{font-size:.82rem!important}
  .topbar .wrap{padding:7px 0!important;gap:10px!important}

  .site-header .nav a{
    font-size:.98rem!important;
    font-weight:800!important;
    line-height:1.25!important;
    letter-spacing:-.02em!important;
  }
  .btn,.admin-chip,.menu-btn{font-size:.96rem!important}
  .btn.small{font-size:.9rem!important}

  .eyebrow{font-size:.78rem!important;letter-spacing:.1em!important}
  .breadcrumbs{font-size:.88rem!important}
  .page-hero p,.lead{font-size:1rem!important;line-height:1.68!important}
  .page-hero h1{font-size:2.45rem!important;line-height:1.08!important}
  .section-head h2{font-size:2.1rem!important;line-height:1.12!important}

  .hero-kicker{font-size:.9rem!important}
  .hero-home h1,.hero-soft-title{font-size:2.85rem!important;line-height:1.05!important}
  .hero-lead{font-size:1.04rem!important;line-height:1.68!important;font-weight:650!important}
  .hero-service-line{font-size:.92rem!important;line-height:1.55!important}
  .hero-mini-card span{font-size:.76rem!important}
  .hero-mini-card strong{font-size:1rem!important}
  .hero-mini-card small{font-size:.86rem!important;line-height:1.45!important}
  .director-caption strong{font-size:1rem!important}
  .director-caption span{font-size:.86rem!important}

  .card{padding:22px!important}
  .card h3,.card h4{font-size:1.1rem!important;line-height:1.4!important}
  .card p{font-size:.94rem!important;line-height:1.65!important}
  .card .num,.media-meta,.equip-kicker{font-size:.78rem!important}
  .equipment-cards .card h3{font-size:1.15rem!important}
  .equipment-cards .card p{font-size:.95rem!important}
  .media-body{font-size:.94rem!important}
  .chem-card,.chem-card dl,.chem-card dt{font-size:.94rem!important}
  .bio-sections h3{font-size:1.03rem!important}
  .bio-list div,.tag{font-size:.94rem!important}
  .profile-role{font-size:.98rem!important}
  .profile-block h2{font-size:1.95rem!important}
  .contact-box p,.footer p,.footer a,.notice{font-size:.92rem!important;line-height:1.62!important}
  .footer b,.footer h3{font-size:1.02rem!important}
  .board-row,.field label,.field input,.field textarea,.field select{font-size:.95rem!important}
  .form-hint{font-size:.86rem!important}
  .case-cover-overlay{font-size:.86rem!important}
}

@media (max-width:600px){
  html{font-size:16.5px!important}
  body{font-size:1rem!important}
  .wrap{--wrap:min(100% - 24px,1180px)}

  .topbar{display:flex!important;font-size:.72rem!important}
  .topbar .wrap{display:grid!important;grid-template-columns:1fr!important;gap:1px!important;padding:5px 0!important;text-align:center!important}
  .topbar .wrap span:last-child{display:none!important}

  .brand-logo{width:190px!important}
  .header-row{padding:9px 0 10px!important}
  .site-header .nav{gap:7px!important}
  .site-header .nav a{
    font-size:1rem!important;
    min-height:48px!important;
    padding:9px 6px!important;
  }

  .hero-home{padding-top:24px!important}
  .hero-home h1,.hero-soft-title{font-size:2.35rem!important;line-height:1.06!important;letter-spacing:-.04em!important}
  .hero-lead{font-size:1rem!important;line-height:1.65!important}
  .hero-service-line{font-size:.92rem!important;line-height:1.5!important;padding:11px 12px!important}
  .hero-kicker{font-size:.84rem!important}
  .hero-mini-card{padding:16px!important}
  .hero-mini-card strong{font-size:1rem!important}
  .hero-mini-card small{font-size:.88rem!important}

  .page-hero{padding:38px 0 30px!important}
  .page-hero h1{font-size:2.05rem!important}
  .page-hero p,.lead{font-size:.98rem!important}
  .section{padding:44px 0!important}
  .section-head h2{font-size:1.85rem!important}
  .eyebrow{font-size:.76rem!important}

  .card{padding:20px!important}
  .card h3,.card h4{font-size:1.08rem!important}
  .card p{font-size:.95rem!important;line-height:1.62!important}
  .equipment-cards .card h3{font-size:1.12rem!important}
  .equipment-cards .card p{font-size:.95rem!important}
  .icon-badge,.equip-icon{width:52px!important;height:52px!important}
  .icon-badge svg,.equip-icon svg{width:27px!important;height:27px!important}

  .btn{font-size:.96rem!important;padding:11px 16px!important}
  .btn.small{font-size:.9rem!important}
  .director-caption strong{font-size:1rem!important}
  .director-caption span{font-size:.86rem!important}

  .modal-head h3{font-size:1.24rem!important}
  .modal-head p,.modal-body,.field label,.field input,.field textarea,.field select{font-size:.96rem!important}
  .case-caption-row span,.form-hint{font-size:.86rem!important}
  .footer{font-size:.92rem!important}
}

@media (max-width:390px){
  html{font-size:16px!important}
  .site-header .nav a{font-size:.97rem!important}
  .hero-home h1,.hero-soft-title{font-size:2.18rem!important}
}



/* === FINAL MOBILE NAV: single menu button + popup panel === */
@media (max-width:980px){
  .site-header{position:sticky!important;top:0!important;z-index:1200!important;background:rgba(255,255,255,.97)!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;border-bottom:1px solid rgba(20,70,55,.10)!important}
  .header-row{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:72px!important;padding-top:8px!important;padding-bottom:8px!important}
  .brand{width:auto!important;min-width:0!important;flex:0 1 auto!important}
  .brand-logo{width:min(220px,54vw)!important;height:auto!important}
  .menu-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;flex:0 0 auto!important;min-width:94px!important;height:46px!important;padding:0 16px!important;border:1px solid rgba(24,78,58,.16)!important;border-radius:14px!important;background:#f2f7f4!important;color:#173f31!important;font-size:1rem!important;font-weight:850!important;line-height:1!important;box-shadow:0 4px 14px rgba(20,60,45,.08)!important;cursor:pointer!important}
  .menu-btn-icon{font-size:1.25rem!important;line-height:1!important;transform:translateY(-1px)}
  .menu-btn[aria-expanded="true"]{background:var(--forest)!important;color:#fff!important;border-color:var(--forest)!important}

  .site-header .nav{display:none!important;position:fixed!important;left:16px!important;right:16px!important;top:84px!important;width:auto!important;max-height:calc(100vh - 104px)!important;overflow:auto!important;z-index:1250!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;padding:16px!important;background:rgba(255,255,255,.985)!important;border:1px solid rgba(20,70,55,.14)!important;border-radius:20px!important;box-shadow:0 24px 70px rgba(8,32,23,.24),0 0 0 100vmax rgba(7,25,19,.30)!important;clip-path:inset(-100vmax)!important;align-items:stretch!important}
  .site-header .nav.open{display:grid!important}
  .site-header .nav a{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:54px!important;padding:10px 12px!important;border:1px solid rgba(23,63,49,.09)!important;border-radius:13px!important;background:#f7faf8!important;color:#263b33!important;text-align:center!important;font-size:1rem!important;font-weight:800!important;line-height:1.25!important;letter-spacing:-.02em!important;white-space:normal!important}
  .site-header .nav a:hover,.site-header .nav a.active{background:#e2f1e8!important;color:#124a34!important;border-color:rgba(20,92,59,.14)!important}
  .site-header .nav a.accent{background:var(--forest)!important;color:#fff!important;border-color:var(--forest)!important}
  body.mobile-menu-open{overflow:hidden!important}
}
@media (max-width:420px){
  .header-row{min-height:66px!important}
  .brand-logo{width:min(188px,50vw)!important}
  .menu-btn{min-width:88px!important;height:44px!important;padding:0 14px!important;font-size:.98rem!important}
  .site-header .nav{top:78px!important;left:12px!important;right:12px!important;padding:13px!important;gap:8px!important}
  .site-header .nav a{min-height:52px!important;font-size:.98rem!important;padding:9px 8px!important}
}

/* === Restored service/equipment media galleries + activity/news === */
.gallery-help{margin:0 0 20px;padding:13px 16px;border:1px solid rgba(36,112,78,.14);border-radius:14px;background:#f5faf7;color:#496359;font-size:.92rem;line-height:1.6}
.gallery-enabled-card{position:relative;padding-bottom:68px!important}
.card-gallery-btn{position:absolute;left:22px;bottom:20px;border:1px solid rgba(28,94,67,.18);background:#f2f8f4;color:#174c37;border-radius:999px;padding:9px 14px;font:inherit;font-size:.9rem;font-weight:800;cursor:pointer;transition:.18s ease}
.card-gallery-btn:hover{background:#e1f1e7;border-color:rgba(28,94,67,.28);transform:translateY(-1px)}
.gallery-photo-card img,.gallery-photo-card video{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;background:#0c1712;border-radius:18px 18px 0 0}
.gallery-photo-card video{object-fit:contain}
#galleryModal .modal-card{width:min(980px,94vw);max-height:90vh;overflow:auto}
#galleryModal .media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.activity-media-note{color:#62736b;font-size:.9rem}
@media(max-width:720px){
  .gallery-enabled-card{padding-bottom:64px!important}
  .card-gallery-btn{left:18px;bottom:17px;padding:9px 13px;font-size:.92rem}
  #galleryModal .media-grid{grid-template-columns:1fr}
  .gallery-help{font-size:.88rem}
}
@media(min-width:981px){
  .site-header .nav{gap:2px}
  .site-header .nav a{padding:10px 8px;font-size:.88rem}
}

.admin-upload-form{display:none!important;margin-top:20px}.admin .admin-upload-form{display:grid!important}

/* Admin: edit descriptions for each uploaded gallery media item */
.photo-caption-admin{margin:12px 0 10px;padding:12px;border:1px solid #d8e4dc;border-radius:14px;background:#f7faf8;flex-direction:column;align-items:stretch;gap:7px;width:100%}
body.admin .photo-caption-admin.admin-only{display:flex!important}
.photo-caption-admin label{font-size:.82rem;font-weight:850;color:#244b3c}
.photo-caption-admin textarea{width:100%;min-height:72px;resize:vertical;border:1px solid #c9d8cf;border-radius:10px;padding:10px 11px;background:#fff;color:#20332b;font:inherit;line-height:1.55;box-sizing:border-box}
.photo-caption-admin textarea:focus{outline:2px solid rgba(44,135,101,.18);border-color:#4b9b7d}
.photo-caption-actions{display:flex;justify-content:flex-end}
@media(max-width:700px){.photo-caption-admin textarea{font-size:16px}.photo-caption-admin label{font-size:.9rem}}


/* === 2026-10-02: whole-card gallery click + varied card colors === */
.gallery-enabled-card{
  padding-bottom:28px!important;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.gallery-enabled-card:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 34px rgba(23,63,49,.10);
}
.gallery-enabled-card:focus-visible{
  outline:3px solid rgba(45,122,89,.28);
  outline-offset:3px;
}
.card-gallery-btn{display:none!important}

/* Service cards: distinct but restrained category colors */
body:has(.gallery-enabled-card[data-static-gallery^="service:"]) .gallery-enabled-card:nth-child(1){background:linear-gradient(145deg,#f4fbf6,#ffffff);border-top:5px solid #4f9a68}
body:has(.gallery-enabled-card[data-static-gallery^="service:"]) .gallery-enabled-card:nth-child(2){background:linear-gradient(145deg,#f3f8fd,#ffffff);border-top:5px solid #4c84b8}
body:has(.gallery-enabled-card[data-static-gallery^="service:"]) .gallery-enabled-card:nth-child(3){background:linear-gradient(145deg,#fff8f1,#ffffff);border-top:5px solid #c8873f}
body:has(.gallery-enabled-card[data-static-gallery^="service:"]) .gallery-enabled-card:nth-child(4){background:linear-gradient(145deg,#f7f4fd,#ffffff);border-top:5px solid #8268aa}
body:has(.gallery-enabled-card[data-static-gallery^="service:"]) .gallery-enabled-card:nth-child(5){background:linear-gradient(145deg,#f1faf9,#ffffff);border-top:5px solid #3e918a}
body:has(.gallery-enabled-card[data-static-gallery^="service:"]) .gallery-enabled-card:nth-child(6){background:linear-gradient(145deg,#faf8ef,#ffffff);border-top:5px solid #9b8a45}
body:has(.gallery-enabled-card[data-static-gallery^="service:"]) .gallery-enabled-card:nth-child(7){background:linear-gradient(145deg,#f4f7fc,#ffffff);border-top:5px solid #5874a8}
body:has(.gallery-enabled-card[data-static-gallery^="service:"]) .gallery-enabled-card:nth-child(8){background:linear-gradient(145deg,#fff6f4,#ffffff);border-top:5px solid #bd6f62}
body:has(.gallery-enabled-card[data-static-gallery^="service:"]) .gallery-enabled-card:nth-child(9){background:linear-gradient(145deg,#f6f9ef,#ffffff);border-top:5px solid #7a984c}

body:has(.gallery-enabled-card[data-static-gallery^="service:"]) .gallery-enabled-card:nth-child(1) .num{color:#3f8c5a}
body:has(.gallery-enabled-card[data-static-gallery^="service:"]) .gallery-enabled-card:nth-child(2) .num{color:#3f75a8}
body:has(.gallery-enabled-card[data-static-gallery^="service:"]) .gallery-enabled-card:nth-child(3) .num{color:#b56f2f}
body:has(.gallery-enabled-card[data-static-gallery^="service:"]) .gallery-enabled-card:nth-child(4) .num{color:#75599d}
body:has(.gallery-enabled-card[data-static-gallery^="service:"]) .gallery-enabled-card:nth-child(5) .num{color:#287e78}
body:has(.gallery-enabled-card[data-static-gallery^="service:"]) .gallery-enabled-card:nth-child(6) .num{color:#8b7936}
body:has(.gallery-enabled-card[data-static-gallery^="service:"]) .gallery-enabled-card:nth-child(7) .num{color:#4b6799}
body:has(.gallery-enabled-card[data-static-gallery^="service:"]) .gallery-enabled-card:nth-child(8) .num{color:#ad5f53}
body:has(.gallery-enabled-card[data-static-gallery^="service:"]) .gallery-enabled-card:nth-child(9) .num{color:#68873b}

/* Equipment cards also use differentiated accents while remaining professional */
.equipment-cards .gallery-enabled-card:nth-child(1){border-top:5px solid #3f918a;background:linear-gradient(145deg,#f2fbfa,#fff)}
.equipment-cards .gallery-enabled-card:nth-child(2){border-top:5px solid #4b7fb7;background:linear-gradient(145deg,#f3f8fd,#fff)}
.equipment-cards .gallery-enabled-card:nth-child(3){border-top:5px solid #a98b3f;background:linear-gradient(145deg,#fbf8ef,#fff)}
.equipment-cards .gallery-enabled-card:nth-child(4){border-top:5px solid #8064aa;background:linear-gradient(145deg,#f8f4fd,#fff)}
.equipment-cards .gallery-enabled-card:nth-child(5){border-top:5px solid #4d83aa;background:linear-gradient(145deg,#f4f9fc,#fff)}
.equipment-cards .gallery-enabled-card:nth-child(6){border-top:5px solid #c47b3d;background:linear-gradient(145deg,#fff7f0,#fff)}

@media(max-width:680px){
  .gallery-enabled-card{padding-bottom:24px!important}
}


/* === 2026-10-02: hero external channel links === */
.hero-channel-links{
  width:min(100%,390px);
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  margin:0 auto 12px;
  position:relative;
  z-index:6;
}
.hero-channel-btn{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:43px;
  padding:8px 13px;
  border-radius:13px;
  background:rgba(255,255,255,.94);
  border:1px solid rgba(23,63,49,.13);
  box-shadow:0 7px 18px rgba(23,63,49,.08);
  color:#203c32;
  text-decoration:none;
  font-weight:850;
  font-size:.91rem;
  line-height:1.25;
  transition:transform .17s ease,box-shadow .17s ease,border-color .17s ease;
}
.hero-channel-btn:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(23,63,49,.12);border-color:rgba(23,63,49,.24)}
.channel-icon{width:28px;height:28px;flex:0 0 28px;border-radius:8px;display:grid;place-items:center}
.channel-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.youtube-icon{background:#fff0f0;color:#e1251b}
.youtube-icon svg rect{fill:#e1251b;stroke:#e1251b}.youtube-icon svg path{fill:#fff;stroke:#fff}
.smartstore-icon{background:#eaf9ef;color:#03a94d}
.hero-visual-panel{min-height:720px!important}
.director-stage{min-height:720px!important;display:flex!important;flex-direction:column;align-items:center!important;justify-content:flex-end!important}
@media(max-width:980px){
  .hero-visual-panel{min-height:650px!important}
  .director-stage{min-height:650px!important}
  .hero-channel-links{width:min(88vw,340px);margin-bottom:10px}
  .hero-channel-btn{font-size:.94rem;min-height:44px}
}
@media(max-width:680px){
  .hero-visual-panel{min-height:610px!important}
  .director-stage{min-height:610px!important}
  .hero-channel-links{width:min(88vw,340px);gap:7px;margin-bottom:9px}
  .hero-channel-btn{font-size:.94rem;min-height:42px;padding:7px 11px}
}


/* === 2026-10-02: easier popup closing on PC + mobile === */
body.modal-open{overflow:hidden}
.modal{overscroll-behavior:contain}
.modal.open .close{
  position:fixed!important;
  top:max(14px,env(safe-area-inset-top))!important;
  right:max(14px,env(safe-area-inset-right))!important;
  z-index:140!important;
  width:48px!important;
  height:48px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid rgba(23,63,49,.16)!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.96)!important;
  color:#173f31!important;
  font-size:1.65rem!important;
  font-weight:900!important;
  line-height:1!important;
  box-shadow:0 8px 28px rgba(0,0,0,.22)!important;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.modal.open .close:hover{background:#eef5ef!important;transform:scale(1.04)}
@media(max-width:680px){
  .modal{padding:12px!important}
  .modal.open .close{
    top:max(10px,env(safe-area-inset-top))!important;
    right:max(10px,env(safe-area-inset-right))!important;
    width:46px!important;
    height:46px!important;
    font-size:1.55rem!important;
  }
}


/* === Full-size gallery image viewer === */
.zoomable-image{cursor:zoom-in}
.image-lightbox{z-index:10050;padding:18px;background:rgba(4,13,10,.92);align-items:center;justify-content:center}
.image-lightbox.open{display:flex}
.image-lightbox-stage{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;max-width:none;max-height:none;background:transparent}
.image-lightbox-stage img{display:block;width:auto;height:auto;max-width:calc(100vw - 36px);max-height:calc(100vh - 36px);object-fit:contain;border-radius:8px;box-shadow:0 16px 60px rgba(0,0,0,.45);background:#0a0f0d}
.image-lightbox-close{position:fixed!important;top:max(14px,env(safe-area-inset-top));right:14px;z-index:10070;width:46px!important;height:46px!important;border-radius:50%!important;background:rgba(255,255,255,.96)!important;color:#173e31!important;font-size:2rem!important;line-height:1!important;box-shadow:0 4px 20px rgba(0,0,0,.28);display:flex;align-items:center;justify-content:center}
@media(max-width:680px){
  .image-lightbox{padding:8px}
  .image-lightbox-stage img{max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);border-radius:5px}
  .image-lightbox-close{top:max(10px,env(safe-area-inset-top));right:10px;width:44px!important;height:44px!important;font-size:1.85rem!important}
}

/* === 2026-10-02: balanced image lightbox size === */
.image-lightbox{padding:28px!important;background:rgba(4,13,10,.90)!important;}
.image-lightbox-stage img{
  width:auto!important;
  height:auto!important;
  max-width:min(92vw,1400px)!important;
  max-height:84vh!important;
  object-fit:contain!important;
  border-radius:10px!important;
  cursor:zoom-out!important;
}
@media(max-width:680px){
  .image-lightbox{padding:16px!important;}
  .image-lightbox-stage img{
    max-width:94vw!important;
    max-height:78vh!important;
    border-radius:8px!important;
  }
}


/* PCR process gallery section */
.pcr-process-section{background:#fbf7ed;}
.pcr-process-section .wrap>h2{font-size:clamp(2rem,4vw,3.2rem);margin:.35rem 0 1.2rem;color:#123f32;}
.pcr-step-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.pcr-step-card{cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;background:#fff;}
.pcr-step-card:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(18,63,50,.12);border-color:#b9d2c6;}
.pcr-step-card .equip-kicker{display:block;margin-bottom:10px;color:#b88735;font-weight:800;letter-spacing:.08em;}
@media(max-width:760px){.pcr-step-cards{grid-template-columns:1fr}.pcr-process-section .wrap>h2{font-size:2rem}}

/* === 2026-10-02: mobile scroll / modal flicker stability patch === */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}

/* Scroll the full-screen overlay, not the white card itself. This avoids
   repeated GPU compositing/repainting on Android in-app browsers. */
.modal{
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
}
.modal.open{
  background:#29352f!important;
}
.modal-card{
  max-height:none!important;
  overflow:visible!important;
  margin:auto!important;
}

/* The image viewer is a special case: keep it fixed and non-scrollable. */
.image-lightbox{
  overflow:hidden!important;
  height:100dvh!important;
  min-height:100dvh!important;
}

@media(max-width:980px){
  /* Mobile WebView/Chrome can flicker while scrolling fixed layers that also
     use backdrop-filter. Use opaque backgrounds instead on small screens. */
  .site-header{
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    background:#fff!important;
  }
  .hero-service-line,
  .hero-secondary,
  .hero-mini-card,
  .association-card,
  .hero-channel-btn,
  .modal.open .close{
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
  .modal{
    height:100dvh!important;
    min-height:100dvh!important;
    padding:12px!important;
    background:#29352f!important;
  }
  .modal-card{
    width:min(720px,calc(100vw - 24px))!important;
    max-height:none!important;
    overflow:visible!important;
    box-shadow:0 14px 36px rgba(0,0,0,.24)!important;
  }
  .modal.open .close{
    background:#fff!important;
  }
  /* Avoid unnecessary hover/transform compositor layers on touch devices. */
  .card.hover:hover,
  .gallery-enabled-card:hover,
  .pcr-step-card:hover,
  .hero-mini-card:hover,
  .hero-channel-btn:hover{
    transform:none!important;
  }
}

/* =========================================================
   2026-10 editorial visual refresh
   Goal: reduce generic AI-dashboard feel; keep Daelim YD brand cues
   ========================================================= */
:root{
  --forest:#2f5b49;
  --forest-2:#24483b;
  --leaf:#6f876d;
  --sage:#e8ece6;
  --sage-2:#f3f4f0;
  --cream:#f2efe8;
  --white:#ffffff;
  --ink:#222a2e;
  --muted:#667077;
  --gold:#a97936;
  --line:#d8d9d4;
  --shadow:0 14px 34px rgba(25,31,35,.08);
  --radius:14px;
  --navy:#285c79;
  --terracotta:#ad6048;
  --ochre:#a97936;
}
body{
  color:var(--ink);
  background:#f8f8f5;
  letter-spacing:-.01em;
}
.topbar{
  background:#26343a;
  color:#eef2f1;
  border-bottom:3px solid #b98a43;
}
.site-header{
  background:rgba(252,252,249,.97);
  border-bottom:1px solid #d9dad5;
  box-shadow:0 2px 12px rgba(24,34,39,.04);
}
.nav a{
  border-radius:7px;
  color:#30393d;
  font-weight:760;
}
.nav a:hover,.nav a.active{
  background:#eceeea;
  color:#1f4e69;
}
.nav .accent{background:#285c79;color:#fff}
.nav .accent:hover{background:#204b63;color:#fff}
.menu-btn{
  border-radius:8px;
  background:#eef0ec;
  color:#26343a;
}
.hero-home,.hero{
  background:#eeeee8!important;
}
.hero-home:before,.hero:after{display:none!important}
.hero-kicker,.eyebrow{
  color:#2f5b49!important;
  letter-spacing:.13em;
}
.hero-soft-title,.hero h1{
  color:#222a2e!important;
  text-shadow:none!important;
  letter-spacing:-.045em!important;
}
.hero-soft-title .title-green{color:#2f5b49!important}
.hero-soft-title .title-blue{color:#285c79!important}
.hero-soft-title em{color:#a36e2f!important}
.hero-lead,.hero p{color:#48545a!important;font-weight:540}
.hero-service-line{
  color:#39464b!important;
  background:#f9f9f6!important;
  border:1px solid #d9d9d2!important;
  border-left:4px solid #285c79!important;
  border-radius:7px!important;
  box-shadow:none!important;
}
.hero-service-line .svc-green{color:#365f4d}
.hero-service-line .svc-blue{color:#285c79}
.hero-service-line .svc-amber{color:#9a682a}
.hero-service-line .svc-teal{color:#446b69}
.hero-service-line .svc-navy{color:#3d5265}
.hero-service-line .svc-olive{color:#6d7041}
.hero-service-line .svc-sky{color:#4c7587}
.hero-mini-card{
  border-radius:10px!important;
  border:1px solid #d9d9d2!important;
  box-shadow:none!important;
  background:#fbfbf8!important;
}
.director-photo-card{
  border-radius:12px!important;
  box-shadow:0 16px 38px rgba(28,37,42,.14)!important;
}
.director-caption{
  border-radius:8px!important;
  background:rgba(250,250,247,.96)!important;
  box-shadow:0 8px 20px rgba(22,29,32,.10)!important;
}
.channel-link,.channel-links a{
  border-radius:8px!important;
}
.section{background:#f8f8f5}
.section.alt{background:#efeee7}
.section-head h2,.page-hero h1{
  color:#222a2e;
  letter-spacing:-.035em;
}
.page-hero{
  background:#eeeee8;
  border-bottom:1px solid #d5d5cf;
}
.card,.media-card,.video-card,.contact-box,.profile-block,.list-item,.chem-card,.board{
  border-radius:12px;
  border-color:#d8d9d4;
  box-shadow:0 8px 20px rgba(25,31,35,.05);
}
.card h3,.card h4,.list-item h3,.contact-box strong,.profile-block h2,.bio-sections h3{
  color:#25363c;
}
.card p,.lead,.page-hero p,.list-item p,.chem-card dd{color:#606b71}
.card.hover:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 26px rgba(25,31,35,.09);
  border-color:#c9cac5;
}
.icon-badge{
  border-radius:10px;
  box-shadow:none;
}
.btn{
  border-radius:7px;
  background:#285c79;
  border-color:#285c79;
  font-weight:800;
}
.btn:hover{background:#204b63}
.btn.ghost{background:#fafaf7;color:#31434b;border-color:#cfd2cd}
.tag{
  border-radius:5px;
  background:#efeee9;
  border-color:#d7d6cf;
  color:#435157;
}
.equipment-section{background:#f5f4ef!important}
.equipment-cards .card{
  border-radius:12px;
  box-shadow:0 7px 18px rgba(28,34,37,.06);
  background:#fbfbf8;
}
.equipment-cards .card:before{
  height:3px;
  background:#285c79;
  opacity:.85;
}
.equipment-cards .card:nth-child(2):before{background:#496aa5}
.equipment-cards .card:nth-child(3):before{background:#a47a36}
.equipment-cards .card:nth-child(4):before{background:#735d91}
.equipment-cards .card:nth-child(5):before{background:#47778c}
.equipment-cards .card:nth-child(6):before{background:#a85d43}
.equipment-cards .card:hover{transform:translateY(-2px)}
.equipment-cards .card h3{color:#25363c}
.equip-kicker{color:#737b7f}
.board-head{background:#e9ece8;color:#2c424b}
.board-row:hover{background:#f2f2ee}
.footer{
  background:#26343a;
  color:#e7ecea;
  border-top:4px solid #a97936;
}
.footer a{color:#e7ecea}.footer small{color:#b9c2c0}

/* alternating service/card accents: less monotone than all-green UI */
.service-card:nth-child(6n+1),.clickable-service:nth-child(6n+1){border-top:3px solid #345f4d!important}
.service-card:nth-child(6n+2),.clickable-service:nth-child(6n+2){border-top:3px solid #366c8b!important}
.service-card:nth-child(6n+3),.clickable-service:nth-child(6n+3){border-top:3px solid #a97936!important}
.service-card:nth-child(6n+4),.clickable-service:nth-child(6n+4){border-top:3px solid #775f8c!important}
.service-card:nth-child(6n+5),.clickable-service:nth-child(6n+5){border-top:3px solid #4c7779!important}
.service-card:nth-child(6n),.clickable-service:nth-child(6n){border-top:3px solid #ad6048!important}

@media(max-width:980px){
  .site-header{backdrop-filter:none!important}
  .mobile-menu-panel,.nav-panel{border-radius:10px!important}
}
@media(max-width:680px){
  body{background:#f7f7f4}
  .hero-home,.hero,.page-hero{background:#efeee8!important}
  .card,.media-card,.contact-box,.profile-block,.equipment-cards .card{border-radius:10px}
}

/* 2026-10-05: chemical articles, PCR steps and hero accents */
.hero-soft-title .title-green{color:#145fc7!important}
.hero-soft-title .title-blue{color:#145fc7!important}
.hero-soft-title .title-expert{color:#54d335!important}
.hero-soft-title .title-partner{color:#54d335!important}
.chem-card[role=button]{cursor:pointer}.chem-card[role=button]:focus-visible{outline:3px solid #1658c5;outline-offset:4px}
.chemical-article-card{width:min(850px,96vw)}
.chemical-article{line-height:1.9;overflow-wrap:anywhere}.chemical-article figure{margin:28px 0}.chemical-article img{width:100%;height:auto;display:block;border-radius:6px}.chemical-article figcaption{font-size:.9rem;color:#5c6470;margin-top:8px}.article-paragraph{white-space:pre-wrap;margin:28px 0}.article-summary{border-bottom:1px solid #dce0e5;padding-bottom:20px}.article-summary dl{display:grid;grid-template-columns:95px 1fr;gap:8px}.article-summary dd{margin:0}.article-summary dt{font-weight:700}
.article-editor-section{margin-top:28px;border-top:1px solid #dce0e5;padding-top:20px}.article-edit-block{display:grid;gap:10px;border:1px solid #dce0e5;padding:16px;margin:16px 0;background:#fafafa}.article-edit-block textarea{width:100%;min-height:80px;padding:12px;border:1px solid #bdc5ce;font:inherit}.article-edit-block img{max-height:240px;width:100%;object-fit:contain}.article-editor-section .media-actions{flex-wrap:wrap}.article-editor-section input[type=file]{max-width:100%}.pcr-step-card:after{content:'사진 보기 · 관리자 사진 관리';display:block;font-size:.85rem;color:#285c79;margin-top:20px}.pcr-card-preview{width:100%;max-height:200px;object-fit:cover;margin-bottom:16px;border-radius:6px}
@media(max-width:680px){.chemical-article{padding:20px}.article-edit-block{padding:12px}.chemical-article-card{width:100%}}

.modal{z-index:2000}.image-lightbox{z-index:10050}.modal.open .close{z-index:10070!important}


