:root {
  --navy:#07192d;
  --blue:#104071;
  --ink:#102b45;
  --muted:#475e72;
  --paper:#f3f7f7;
  --line:#ccd9e0;
  --green:#9ede72;
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
  background:var(--paper);
  color:var(--ink);
}
*,*::before,*::after { box-sizing:border-box }
body { margin:0; line-height:1.6 }
a { color:inherit; text-decoration:none }
img { max-width:100%; height:auto; display:block }
:focus-visible { outline:3px solid #208a4f; outline-offset:4px }
.wrap { width:min(1336px,calc(100% - 96px)); margin-inline:auto }
header { background:#fff; border-bottom:1px solid var(--line) }
.masthead,.footer { display:flex; align-items:center; justify-content:space-between; gap:28px; padding-block:22px }
.brand { display:inline-flex; flex:none; align-items:center }
.brand img { width:clamp(132px,14vw,178px) }
.navigation,.languages,.admin nav { display:flex; flex-wrap:wrap; align-items:center; gap:10px 23px; font-size:.9rem; font-weight:650 }
.navigation a { padding-block:7px; border-bottom:2px solid transparent }
.navigation a:hover,.navigation a[aria-current] { color:var(--blue); border-color:#4aaa56 }
.languages { gap:2px; padding:3px; border:1px solid var(--line); border-radius:5px }
.languages a { padding:4px 8px; border-radius:3px }
.languages a:hover,.languages a[aria-current] { background:#e5f1ea; color:#134d36 }
.hero {
  background:radial-gradient(ellipse at 83% 22%,#17446a 0%,transparent 54%),var(--navy);
  color:#fff;
  overflow:hidden;
  border-bottom:5px solid #5bae63;
}
.hero-inner { display:grid; grid-template-columns:minmax(0,1.03fr) minmax(0,1fr); align-items:center; gap:clamp(24px,5vw,84px); min-height:635px; padding-block:65px }
.hero-copy { position:relative; z-index:1 }
.eyebrow { display:flex; align-items:center; gap:10px; margin:0 0 20px; color:#236940; font-size:.78rem; font-weight:750; letter-spacing:.1em; text-transform:uppercase }
.eyebrow::before { content:""; width:28px; height:2px; background:currentColor; flex:none }
.hero .eyebrow { color:var(--green) }
h1,h2,h3,p { margin:0 0 16px; overflow-wrap:break-word }
h1 { font-size:clamp(2.6rem,5vw,5.15rem); line-height:1.055; letter-spacing:-.053em; font-weight:680; text-wrap:balance }
.hero h1 { margin-bottom:26px }
:lang(ka) h1 { letter-spacing:-.028em; font-size:clamp(2.35rem,4.5vw,4.6rem) }
h2 { font-size:clamp(1.4rem,2.5vw,2.3rem); line-height:1.18; letter-spacing:-.03em }
h3 { font-size:clamp(1.2rem,2vw,1.65rem); line-height:1.25 }
p { color:var(--muted) }
.lead { max-width:650px; font-size:clamp(1rem,1.6vw,1.2rem) }
.hero .lead { color:#cfdfed; max-width:540px }
.hero-art {
  position:relative;
  isolation:isolate;
  aspect-ratio:1.12;
  display:grid;
  place-items:center;
  background:linear-gradient(140deg,#d0edff25,#1d52714d),var(--hero-photo,url('/hero.webp')) center/cover;
  clip-path:polygon(9% 0,100% 0,100% 86%,91% 100%,0 100%,0 14%);
}
.hero-art::before {
  content:"";
  position:absolute;
  inset:4%;
  border:1px solid #fff9;
  clip-path:polygon(0 0,100% 0,100% 38%,45% 100%,0 100%);
  background:linear-gradient(144deg,#f7ffff35,transparent 55%);
}
.hero-art::after {
  content:"";
  position:absolute;
  inset:auto -6% 5% 29%;
  height:12%;
  z-index:-1;
  transform:skewX(-40deg);
  background:linear-gradient(90deg,#175985,#71c65d);
  opacity:.88;
}
.hero-mark { position:relative; width:69%; padding:11% 8%; background:#faffffea; box-shadow:0 20px 55px #06182b55; border:1px solid #fff; clip-path:polygon(7% 0,100% 0,100% 84%,93% 100%,0 100%,0 16%) }
.hero-mark img { width:100% }
.actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px }
.button,button { display:inline-flex; align-items:center; justify-content:center; gap:20px; padding:13px 21px; border:1px solid var(--blue); border-radius:3px; background:var(--blue); color:white; font:inherit; font-weight:720; cursor:pointer }
.button:hover,button:hover { background:#1c5787 }
.hero .button { border-color:var(--green); background:var(--green); color:var(--navy) }
.hero .button:hover { background:#bbef9a }
.hero .secondary { background:transparent; color:#fff; border-color:#7d99b2 }
.hero .secondary:hover { background:#234260 }
.section { padding-block:clamp(55px,8vw,105px); min-height:53vh }
.page-heading { background:linear-gradient(108deg,#e2edf4,#e6f2eb); border-left:4px solid #55a962; padding:clamp(24px,5vw,62px); margin-bottom:35px }
.page-heading h1 { margin:0 }
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,265px),1fr)); gap:20px; margin:28px 0 }
.card { background:#fff; padding:24px; border:1px solid var(--line); border-top:3px solid #66ac72; box-shadow:0 12px 28px #1033510a; overflow-wrap:anywhere }
.card a:hover,.text-link:hover { text-decoration:underline; text-underline-offset:4px }
.card h2:last-child,.card p:last-child { margin-bottom:0 }
.card-image { width:100%; aspect-ratio:1.6; object-fit:cover; background:#e7eff3; margin-bottom:18px }
.catalog { display:grid; grid-template-columns:minmax(160px,230px) minmax(0,1fr); gap:30px }
.catalog .grid { margin-top:0 }
.categories { display:grid; gap:8px }
.categories a { padding:11px 15px; border:1px solid var(--line); background:white }
.categories a:hover,.categories a[aria-current] { background:#e5f0f7; border-color:#88aac6 }
.origin,time,.text-link { color:#205c46; font-size:.9rem }
.text-link { display:inline-block; font-weight:750 }
.article { max-width:760px }
.article time { display:block; margin-bottom:20px }
.body-copy { white-space:pre-wrap }
footer { border-top:1px solid var(--line); background:#e8eff3 }
.footer { align-items:flex-start; padding-block:38px }
.footer p { margin-top:10px }
.contact-list { display:grid; gap:12px; margin:12px 0 0 }
.contact-list dt { color:#205c46; font-size:.82rem; font-weight:700 }
.contact-list dd { margin:0; overflow-wrap:anywhere; white-space:pre-wrap }
.admin { max-width:820px; padding-block:32px }
.admin h1 { font-size:clamp(2rem,5vw,3rem); margin-top:24px }
.admin form,.admin fieldset { display:grid; gap:12px; margin:16px 0 }
.admin fieldset { border:1px solid var(--line) }
.admin label { display:grid; gap:5px }
.admin :is(input,select,textarea) { background:#fff; color:var(--ink); width:100%; border:1px solid #aabcc8; padding:9px; font:inherit }
.admin .preview { max-width:220px }
@media(max-width:1050px) {
  .wrap { width:calc(100% - 56px) }
  .masthead { flex-wrap:wrap; gap:14px }
  .navigation { order:3; width:100%; border-top:1px solid var(--line); padding-top:9px }
  .hero-inner { min-height:530px }
}
@media(max-width:700px) {
  .wrap { width:calc(100% - 36px) }
  .hero-inner,.catalog { grid-template-columns:1fr }
  .hero-inner { padding-block:44px 32px; gap:34px; min-height:0 }
  .hero-art { aspect-ratio:1.5 }
  .hero-mark { padding:7% 8% }
  .navigation { gap:5px 15px; font-size:.85rem }
  .categories { display:flex; flex-wrap:wrap }
  .footer { flex-direction:column }
}

.home-contact { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:24px; padding:clamp(28px,5vw,65px); margin-bottom:clamp(48px,7vw,90px); color:#fff; background:linear-gradient(120deg,var(--navy),#17446a); border-left:5px solid #79be68 }
.home-contact p { color:#d2e4f0; margin-bottom:0 }
.home-contact .button { color:var(--navy); background:var(--green) }
.home-news { margin-bottom:52px }
.admin-page { background:#eaf0f5; min-height:100vh }
.admin-layout { display:grid; grid-template-columns:245px minmax(0,1fr); min-height:100vh }
.admin-sidebar { background:var(--navy); color:#fff; padding:24px 18px; display:flex; flex-direction:column; gap:30px; align-self:start; position:sticky; top:0; min-height:100vh }
.admin-brand { background:#fff; border-radius:5px; padding:12px; align-self:flex-start }
.admin-sidebar nav,.admin-sidebar-actions { display:grid; gap:6px }
.admin-sidebar nav a,.admin-sidebar-actions a,.admin-sidebar-actions button { padding:10px 12px; border-radius:4px; font-size:.95rem; text-align:left }
.admin-sidebar nav a:hover,.admin-sidebar nav a[aria-current] { background:#1a3958; color:#c2efa9 }
.admin-sidebar-actions { margin-top:auto; border-top:1px solid #365068; padding-top:12px }
.admin-sidebar-actions button { width:100%; justify-content:start; background:transparent }
.admin-main { width:min(100%,1160px); padding:clamp(20px,5vw,65px) }
.admin-heading { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; margin-bottom:22px }
.admin-heading h1,.admin-login h1 { font-size:clamp(1.8rem,4vw,3.2rem); margin:0 }
.admin-panel,.admin-login { padding:clamp(20px,4vw,38px); background:#fff; border-radius:8px; border:1px solid var(--line); box-shadow:0 10px 24px #12334d0b }
.admin-login { width:min(460px,calc(100% - 32px)); margin:clamp(24px,12vh,110px) auto }
.admin-login h1,.admin-editor h2 { margin:18px 0 }
.admin-login form,.admin-editor form,.admin-editor fieldset,.admin-page label { display:grid; gap:12px }
.admin-page label { gap:5px; font-weight:650 }
.admin-page :is(input,select,textarea) { width:100%; min-width:0; padding:10px; background:#f5f8fa; border:1px solid #a8bdcd; border-radius:4px; font:inherit; color:var(--ink) }
.admin-editor fieldset { min-width:0; margin:0; padding:18px; border:1px solid var(--line); border-radius:6px }
.admin-editor legend { padding-inline:8px; color:var(--blue); font-weight:750 }
.admin-editor .preview { width:min(260px,100%) }
.admin-records { list-style:none; padding:0; margin:0 }
.admin-records a { display:flex; justify-content:space-between; gap:15px; padding:13px 9px; border-bottom:1px solid var(--line) }
.admin-records a:hover { background:#edf4f9 }
.admin-form-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:10px }
.admin-error { padding:12px; color:#891e28; background:#fff0f1; border-radius:4px }
.admin-delete { background:white; color:#891e28; border-color:#b44b54 }
.admin-delete:hover { background:#fff0f1 }
@media(max-width:700px) {
  .admin-layout { grid-template-columns:1fr }
  .admin-sidebar { position:static; min-height:0; gap:12px }
  .admin-sidebar nav,.admin-sidebar-actions { display:flex; flex-wrap:wrap }
}

.masthead { display:grid; grid-template-columns:auto 1fr auto; gap:clamp(12px,3vw,46px) }
.navigation { justify-content:flex-end; gap:clamp(12px,2.4vw,34px) }
.navigation .nav-contact { padding:8px 14px; border:1px solid #9bb3c6; border-radius:4px }
.navigation .nav-contact:hover,.navigation .nav-contact[aria-current] { background:#e7f3ea; border-color:#52a068 }
.nav-contact span { margin-left:6px; color:#236940 }
.metrics { display:grid; grid-template-columns:minmax(180px,.6fr) 1.4fr; align-items:center; gap:24px; margin-top:32px; padding:clamp(22px,4vw,44px); border:1px solid var(--line); background:white }
.metrics h2,.metrics dl,.metrics dd { margin:0 }
.metrics dl { display:flex; flex-wrap:wrap; gap:20px }
.metrics dl div { display:flex; flex:1 1 115px; flex-direction:column-reverse; padding-left:17px; border-left:2px solid #63a96b }
.metrics dt { color:var(--muted); font-size:.9rem }
.metrics dd { color:var(--blue); font-size:clamp(2rem,4vw,4rem); line-height:1; font-weight:700; font-variant-numeric:tabular-nums }
.feature-grid { display:grid; grid-template-columns:1.55fr 1fr; gap:16px; padding-block:clamp(32px,5vw,72px); min-height:0 }
.feature { position:relative; isolation:isolate; display:flex; justify-content:space-between; align-items:end; gap:12px; min-height:clamp(220px,29vw,360px); padding:clamp(22px,4vw,52px); overflow:hidden }
.feature h2 { font-size:clamp(1.65rem,3.6vw,3rem); margin-bottom:10px }
.feature p { max-width:390px; margin:0 }
.feature-catalog { background:linear-gradient(95deg,#07192df5 12%,#102f51d9 48%,#1233596e),url('/hero.webp') center 58%/cover; color:white }
.feature-catalog p { color:#dbe8f3 }
.feature-partners { background:linear-gradient(145deg,#e1f2e8,#f7fbf8); border:1px solid #bed9ca }
.feature-partners::before { content:""; position:absolute; inset:8% -20% auto 44%; height:54%; z-index:-1; transform:skewX(-32deg) rotate(-11deg); background:repeating-linear-gradient(90deg,#5ab47e22 0 1px,transparent 1px 17px); border-block:1px solid #5ab47e40 }
.feature-arrow { display:grid; place-items:center; flex:0 0 42px; height:42px; border:1px solid currentColor; border-radius:50%; font-size:1.2rem }
.feature:hover .feature-arrow { background:var(--green); color:var(--navy); border-color:var(--green) }
.process {
  margin-bottom:clamp(40px,6vw,86px);
  padding:clamp(22px,4.5vw,60px);
  color:white;
  background:radial-gradient(ellipse at top right,#244f73,transparent 65%),var(--navy);
  border:1px solid #2b4d68;
}
.process > h2 { margin-bottom:clamp(24px,4vw,42px); font-size:clamp(1.8rem,3vw,3rem) }
.process ol {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  list-style:none;
  margin:0;
  padding:0;
  counter-reset:stage;
}
.process li {
  position:relative;
  counter-increment:stage;
  min-width:0;
  padding:clamp(18px,2.6vw,32px);
  border:1px solid #58738a;
  background:linear-gradient(145deg,#ffffff14,#ffffff06);
}
.process li::before {
  content:"0" counter(stage) / "";
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  margin-bottom:22px;
  border:1px solid #a5db80;
  border-radius:50%;
  color:#c4efa9;
  font-weight:750;
  font-variant-numeric:tabular-nums;
}
.process li:not(:last-child)::after {
  content:"";
  position:absolute;
  top:calc(clamp(18px,2.6vw,32px) + 20px);
  right:-17px;
  width:16px;
  border-top:1px solid #a5db80;
}
.process li h3 { margin-bottom:9px }
.process li p { color:#d1dfeb; margin-bottom:0 }
@media(max-width:1050px) {
  .masthead { grid-template-columns:1fr auto }
  .masthead .navigation { grid-column:1/-1; justify-content:flex-start }
}
@media(max-width:700px) {
  .feature-grid,.metrics,.process ol { grid-template-columns:1fr }
  .process li:not(:last-child)::after { top:auto; right:auto; bottom:-17px; left:38px; width:0; height:16px; border-top:0; border-left:1px solid #a5db80 }
  .process li::before { margin-bottom:14px }
  .masthead .navigation { gap:6px 13px }
}

.lab-profile { display:grid; grid-template-columns:1.05fr 1fr; overflow:hidden; margin-bottom:clamp(40px,6vw,86px); background:var(--navy); color:white }
.lab-profile-copy { padding:clamp(25px,5vw,72px); border-left:4px solid #79be68 }
.lab-profile-copy .eyebrow { color:var(--green) }
.lab-profile h2 { font-size:clamp(1.7rem,4vw,3.5rem); text-wrap:balance }
.lab-profile-copy p:last-child { color:#d2e4f0; margin-bottom:0; max-width:48ch }
.lab-profile-visual { min-height:230px; background:linear-gradient(135deg,#173a6455,#0b3e4566),url('/hero.webp') center 65%/cover }
@media(max-width:700px) { .lab-profile { grid-template-columns:1fr } }

.navigation a { padding-inline:10px; border-radius:4px }
.navigation a[aria-current="page"],
.navigation .nav-contact[aria-current="page"] {
  background:#e1eef7;
  color:#103a62;
  border-bottom-color:#418653;
  font-weight:750;
}

.inner-page { padding-top:clamp(28px,5vw,68px) }
.inner-page .page-heading {
  padding:clamp(26px,5vw,60px);
  background:radial-gradient(ellipse at right top,#25557d,transparent 70%),var(--navy);
  color:#fff;
  border-left-color:#83c66b;
}
.inner-page .page-heading .eyebrow { color:var(--green) }
.inner-page .page-heading h1 { font-size:clamp(2.45rem,5vw,4.5rem) }
.catalog { align-items:start }
.catalog-sidebar { padding:22px 16px; border:1px solid #274965; background:var(--navy); color:#fff }
.catalog-sidebar h2 { padding-inline:11px; font-size:1.12rem; margin-bottom:15px }
.catalog-sidebar .categories a { padding:10px 11px; border:1px solid transparent; background:transparent; border-radius:4px; color:#e1ebf4 }
.catalog-sidebar .categories a:hover,.catalog-sidebar .categories a[aria-current] { background:#234661; border-color:#447292; color:#d2f4bc }
.product-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,228px),1fr)); gap:18px }
.product-card { min-width:0; background:#fff; border:1px solid var(--line); box-shadow:0 15px 34px #1033510b }
.product-card > a { display:flex; flex-direction:column; height:100% }
.product-card > a:hover { box-shadow:inset 0 0 0 1px #6d9c84 }
.product-visual { display:grid; place-items:center; background:linear-gradient(135deg,#fff,#edf3f6); min-width:0; overflow:hidden }
.product-card .product-visual { aspect-ratio:1.45; padding:14px; border-bottom:1px solid #e1ebf0 }
.product-visual img { width:100%; height:100%; min-height:0; object-fit:contain }
.product-card-copy { flex:1; display:flex; flex-direction:column; align-items:flex-start; padding:20px }
.product-card h2 { font-size:clamp(1.13rem,2vw,1.45rem); overflow-wrap:anywhere }
.origin-chip { display:inline-flex; gap:9px; align-items:center; max-width:100%; padding:5px 9px; background:#edf4f1; color:#173f36; border-radius:4px; font-size:.86rem; line-height:1.4 }
.origin-chip img { flex:none; border-radius:2px; box-shadow:0 0 0 1px #07192d26 }
.product-link { display:flex; justify-content:space-between; align-self:stretch; gap:10px; padding-top:16px; margin-top:auto; color:var(--blue); font-size:.88rem; font-weight:750 }
.product-link span { color:#236940 }
.detail-back { margin-bottom:20px }
.product-detail { display:grid; grid-template-columns:1fr 1.05fr; border:1px solid var(--line); background:#fff }
.product-detail .product-visual { min-height:300px; padding:clamp(18px,4vw,60px) }
.product-detail .product-visual img { max-height:450px }
.product-info { padding:clamp(22px,5vw,64px); align-self:center }
.product-info h1 { font-size:clamp(2rem,4.2vw,4rem); overflow-wrap:anywhere }
.product-info .body-copy { margin:22px 0 0 }
.editorial-heading { display:flex; justify-content:space-between; align-items:baseline; flex-wrap:wrap; gap:10px 18px; margin-bottom:22px }
.editorial-heading h2 { margin:0 }
.editorial-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(14px,2vw,26px);
}
.editorial-entry {
  min-width:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:18px;
  background:white;
  box-shadow:0 12px 26px #1033510c;
}
.editorial-entry > a { display:flex; flex-direction:column; height:100%; position:relative }
.editorial-entry:focus-within,.editorial-entry:hover { border-color:#579b75; box-shadow:0 12px 28px #10335120 }
.editorial-entry > a:focus-visible,.product-card > a:focus-visible { outline-offset:-3px; border-radius:inherit }
.editorial-media { width:100%; aspect-ratio:1.85; display:grid; place-items:center; background:#eaf1f5; overflow:hidden }
.editorial-media img { width:100%; height:100%; min-height:0; object-fit:cover }
.editorial-media img.editorial-logo,.product-visual img.editorial-logo { width:min(70%,160px); height:auto; object-fit:contain }
.editorial-copy { flex:1; padding:clamp(18px,2vw,27px); padding-bottom:62px }
.editorial-copy time { display:inline-block; background:#eaf4ee; border-radius:99px; padding:3px 10px; font-size:.8rem }
.editorial-copy h3 { font-size:clamp(1.12rem,2vw,1.65rem); margin:12px 0 8px; overflow-wrap:anywhere }
.editorial-copy p { margin:0; font-size:.92rem; overflow-wrap:anywhere }
.editorial-entry .feature-arrow { position:absolute; bottom:15px; right:18px; width:36px; height:36px; color:#286154 }
.pagination { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:8px; margin-top:clamp(26px,4vw,48px) }
.pagination a,.pagination span { display:grid; place-items:center; min-width:42px; height:42px; border-radius:8px; font-weight:700 }
.pagination a { background:#fff; border:1px solid var(--line) }
.pagination a:hover { border-color:#4a9671; background:#ecf5ef }
.pagination a[aria-current] { border-color:var(--navy); background:var(--navy); color:#fff }
.news-detail { max-width:960px; margin-inline:auto }
.story-heading { max-width:780px; margin:0 auto 24px; padding-bottom:22px; border-bottom:1px solid var(--line) }
.story-heading h1 { font-size:clamp(2rem,5vw,4.4rem); overflow-wrap:anywhere }
.story-figure { margin:0 0 30px; padding:14px; background:#e5edf2; border:1px solid var(--line) }
.story-figure img { width:100%; max-height:390px; object-fit:contain }
.story-body { max-width:70ch; margin-inline:auto; font-size:clamp(1rem,1.2vw,1.15rem); line-height:1.85; overflow-wrap:anywhere }
.contact-panel { display:grid; grid-template-columns:minmax(230px,.8fr) minmax(0,1.4fr); gap:clamp(18px,3vw,40px); align-items:stretch }
.contact-intro { padding:clamp(24px,4vw,46px); background:#dcece7; border-left:4px solid #63a76b }
.contact-intro p { margin:0 }
.contact-panel > .contact-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:0 }
.contact-panel .contact-list > div { padding:clamp(14px,2.5vw,27px); min-width:0; border:1px solid var(--line); background:#fff }
.contact-panel dt { padding-bottom:6px }
.contact-panel dd { font-size:clamp(.96rem,1.4vw,1.2rem); font-weight:650 }
.contact-list dd a:hover { text-decoration:underline; text-underline-offset:4px }
.site-footer { background:var(--navy); color:#edf5fc; border-top:4px solid #7eb76e }
.footer-grid { display:grid; grid-template-columns:1fr minmax(0,1.3fr); gap:clamp(20px,5vw,70px); padding-block:clamp(28px,5vw,58px) }
.footer-brand .brand img { width:clamp(146px,16vw,220px) }
.footer-grid h2 { font-size:1.05rem; letter-spacing:0; margin:0 0 13px }
.footer-grid .contact-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 20px; margin:0 }
.footer-grid p,.footer-base { color:#d0e0ee }
.footer-grid dt { color:#b9e69f }
.footer-base { border-top:1px solid #416079; padding-block:15px; font-size:.84rem }
@media(max-width:850px) {
  .editorial-grid { grid-template-columns:repeat(2,minmax(0,1fr)) }
}
@media(max-width:700px) {
  .product-detail,.contact-panel { grid-template-columns:1fr }
  .product-detail .product-visual { min-height:0 }
  .product-detail .product-visual img { max-height:290px }
  .footer-grid { grid-template-columns:1fr }
}
@media(max-width:400px) { .contact-panel > .contact-list { grid-template-columns:1fr } }

.product-grid { grid-template-columns:repeat(3,minmax(0,1fr)) }
.contact-panel .contact-list a::after { content:"↗" / ""; margin-left:8px; font-size:.85em; color:#236940 }
@media(max-width:1100px) { .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)) } }
@media(max-width:560px) { .product-grid { grid-template-columns:1fr } }

.catalog-sidebar,.product-card,.product-detail { border-radius:18px }
.product-card,.product-detail { overflow:hidden }
.product-card > a { border-radius:inherit }
.product-card .product-visual { margin:10px 10px 0; border:0; border-radius:12px; background:linear-gradient(145deg,#f0f5f8,#f8fbfc) }
.catalog-sidebar { padding:18px; background:linear-gradient(155deg,#153b5c,var(--navy)) }
.catalog-sidebar .categories a { border-radius:9px }
.origin-chip { border-radius:99px }
.product-link { border-top:1px solid #e6edf1; margin-top:16px; padding-top:12px }
.product-card-copy { justify-content:flex-start }
.product-card-copy .origin-chip { margin-top:auto }
.page-products .page-heading { border-radius:15px }
@media(max-width:560px) { .editorial-grid { grid-template-columns:1fr } }

.admin-brand { background:transparent; padding:0 }
.admin-login .brand { display:flex; background:var(--navy); margin:calc(-1 * clamp(20px,4vw,38px)); margin-bottom:24px; padding:24px clamp(20px,4vw,38px); border-radius:7px 7px 0 0 }

.masthead-controls { display:flex; align-items:center; gap:8px }
.theme-toggle { width:40px; height:40px; padding:0; border:1px solid var(--line); border-radius:10px; background:transparent; color:var(--ink); font-size:1.4rem; line-height:1 }
.theme-toggle:hover { background:#e5f1ea }
.theme-toggle[hidden],.theme-sun,[data-theme="dark"] .theme-moon { display:none }
[data-theme="dark"] .theme-sun { display:inline }
.page-heading,.feature,.metrics,.lab-profile,.process,.home-contact,.card,.contact-intro,.contact-panel .contact-list > div,.story-figure { border-radius:18px }
.process li,.card-image,.story-figure img,.footer-brand .brand,.languages { border-radius:12px }
.lab-profile-copy { border-radius:18px 0 0 18px }
.button,button { border-radius:10px }
.hero-art,.hero-mark { border-radius:20px }

:root[data-theme="dark"] {
  color-scheme:dark;
  --ink:#edf5fc;
  --muted:#b8cddd;
  --paper:#091725;
  --line:#35516a;
  --blue:#9dd1ff;
}
[data-theme="dark"] header,[data-theme="dark"] .card,[data-theme="dark"] .metrics,
[data-theme="dark"] .editorial-entry,[data-theme="dark"] .product-card,[data-theme="dark"] .product-detail,
[data-theme="dark"] .contact-panel .contact-list > div,[data-theme="dark"] .pagination a { background:#12263a }
[data-theme="dark"] .masthead .brand img { content:url('/spg-footer.webp') }
[data-theme="dark"] .navigation a[aria-current="page"],[data-theme="dark"] .languages a:hover,
[data-theme="dark"] .languages a[aria-current],[data-theme="dark"] .theme-toggle:hover { background:#23445c; color:#d6f1ff }
[data-theme="dark"] .nav-contact span,[data-theme="dark"] .text-link,[data-theme="dark"] time,
[data-theme="dark"] .eyebrow,[data-theme="dark"] .contact-list dt,[data-theme="dark"] .product-link span { color:#b6e69d }
[data-theme="dark"] .feature-partners,[data-theme="dark"] .contact-intro { background:#173a3c; border-color:#527d70 }
[data-theme="dark"] .story-figure { background:#11283b }
[data-theme="dark"] .editorial-entry .feature-arrow { color:#b6e69d }
[data-theme="dark"] .editorial-copy time,[data-theme="dark"] .origin-chip { background:#234638; color:#d5edc8 }
[data-theme="dark"] .pagination a[aria-current],[data-theme="dark"] .pagination a:hover { background:#345e7d; color:white }
[data-theme="dark"] .button:not(.secondary) { color:#07192d }
@media(max-width:700px) { .lab-profile-copy { border-radius:18px 18px 0 0 } }

.product-detail {
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(20px,4vw,55px);
  align-items:start;
  border:0;
  border-radius:0;
  background:transparent;
  overflow:visible;
}
[data-theme="dark"] .product-detail { background:transparent }
.product-detail .product-visual {
  position:sticky;
  top:22px;
  aspect-ratio:1;
  max-height:calc(100dvh - 44px);
  min-height:0;
  border:1px solid var(--line);
  border-radius:18px;
}
.product-detail .product-visual img { max-height:100%; min-height:0 }
.product-detail .product-info { min-width:0; align-self:start; padding:4px 0 0 }
.product-detail .rich-description { margin-top:24px; padding-top:22px; border-top:1px solid var(--line) }
.rich-description { line-height:1.7; overflow-wrap:anywhere }
.rich-description :is(p,ul,ol,blockquote) { margin:0 0 14px }
.rich-description :is(ul,ol) { padding-inline-start:1.5em }
.rich-description h2 { font-size:clamp(1.3rem,2vw,1.75rem) }
.rich-description h3 { font-size:1.13rem }
.rich-description a { color:var(--blue); text-decoration:underline }
.rich-description blockquote { padding:8px 14px; border-inline-start:3px solid #64a877; background:#54a16f17 }
.rich-description hr { border:0; border-top:1px solid var(--line); margin-block:16px }
.rich-description table { display:block; overflow-x:auto; max-width:100%; width:max-content; border-collapse:collapse; margin:14px 0 20px; font-size:.92rem }
.rich-description :is(th,td) { min-width:72px; border:1px solid var(--line); padding:8px 10px; text-align:start }
.rich-description th { background:#dcebf4; font-weight:700 }
.rich-description tr:nth-child(even) td { background:#6489a113 }
[data-theme="dark"] .rich-description th { background:#203b54 }
.product-editor { min-width:0 }
.product-editor > label { margin-bottom:5px }
.editor-toolbar { display:flex; flex-wrap:wrap; gap:5px; padding:8px; background:#e5edf4; border:1px solid var(--line); border-radius:10px 10px 0 0 }
.editor-toolbar[hidden] { display:none }
.editor-toolbar :is(button,select) { width:auto; min-height:34px; padding:4px 9px; font-size:.84rem; background:white; color:var(--ink); border:1px solid #bfced8; border-radius:5px }
.editor-toolbar button:hover { background:#d9eee1 }
.editor-surface { min-height:170px; padding:14px; border:1px solid var(--line); border-top:0; border-radius:0 0 10px 10px; background:#fff }
@media(max-width:700px) {
  .product-detail { grid-template-columns:minmax(0,1fr) }
  .product-detail .product-visual { position:static; aspect-ratio:1.25; max-height:none }
}

.product-detail .product-visual {
  display:flex;
  justify-content:center;
  align-items:flex-start;
  aspect-ratio:auto;
  max-height:none;
  padding:0;
  border:0;
  background:none;
}
.product-detail .product-visual img {
  width:auto;
  height:auto;
  max-width:100%;
  max-height:calc(100dvh - 44px);
  border-radius:18px;
}
.product-detail .product-visual img.editorial-logo { padding:20px; background:#edf3f6 }
@media(max-width:700px) {
  .product-detail .product-visual img { max-height:min(520px,70svh) }
}

.admin-site-tabs { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:16px }
.admin-site-tabs a { padding:8px 14px; border:1px solid var(--line); border-radius:8px; background:#fff; font-weight:650 }
.admin-site-tabs a[aria-current] { background:var(--navy); color:white }
.admin-save-status { padding:10px 14px; background:#e2f1e6; color:#215637; border-radius:8px }
.site-copy-fields { grid-template-columns:repeat(2,minmax(0,1fr)) }
.site-copy-fields label:has(textarea) { grid-column:1/-1 }
.admin-hero-preview { width:min(100%,540px); aspect-ratio:1.55 }
@media(max-width:700px) { .site-copy-fields { grid-template-columns:1fr } }

.partner-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:clamp(12px,2vw,22px) }
.partner-tile {
  position:relative;
  display:grid;
  place-items:center;
  aspect-ratio:1;
  min-width:0;
  overflow:hidden;
  padding:0;
  border:1px solid var(--line);
  border-radius:18px;
  background:transparent;
  color:var(--ink);
  box-shadow:0 12px 26px #10335110;
}
.partner-tile img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover }
.partner-name { font-weight:700; text-align:center; padding:14px; overflow-wrap:anywhere; max-width:100% }
.partner-arrow { position:absolute; inset:auto 10px 10px auto; display:grid; place-items:center; width:30px; height:30px; border-radius:50%; background:#e5f1ea; color:#205c46 }
a.partner-tile:hover { border-color:#62a774; box-shadow:0 12px 28px #10335128 }
a.partner-tile:hover .partner-arrow { background:#cbe8d5 }
@media(max-width:1050px) { .partner-grid { grid-template-columns:repeat(4,minmax(0,1fr)) } }
@media(max-width:800px) { .partner-grid { grid-template-columns:repeat(3,minmax(0,1fr)) } }
@media(max-width:620px) { .partner-grid { grid-template-columns:repeat(2,minmax(0,1fr)) } }
