/* Homepage composition v2.37. Interior pages retain their existing layout. */
.edition-v238 .site-header .header-inner{grid-template-columns:auto minmax(0,1fr) auto auto;gap:1rem;min-height:72px;padding:8px clamp(20px,4vw,64px)}
.edition-v238 .site-header .brand{width:156px}
.edition-v238 .site-header .main-nav a{font-size:.875rem;font-weight:550}
.edition-v238 .site-header .language-nav{gap:0;padding:0;border:0;background:transparent;border-radius:0}
.edition-v238 .site-header .language-nav a{min-width:34px;height:44px;padding:0 5px;font-size:.875rem;font-weight:550;border-radius:0;position:relative;background:transparent;color:var(--muted)}
.edition-v238 .site-header .language-nav a[aria-current="page"]{color:var(--deep);background:transparent;font-weight:650}
.edition-v238 .site-header .language-nav a[aria-current="page"]::after{content:"";position:absolute;height:2px;bottom:5px;left:7px;right:7px;background:var(--deep)}
.edition-v238 .header-search{position:static}
.edition-v238 .header-search>summary,.edition-v238 .site-header .mobile-menu>summary{display:flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:10px;list-style:none;border:0;border-radius:2px;background:transparent;color:var(--deep);cursor:pointer}
.edition-v238 .header-search>summary::-webkit-details-marker,.edition-v238 .mobile-menu>summary::-webkit-details-marker{display:none}
.edition-v238 .header-search>summary::marker,.edition-v238 .mobile-menu>summary::marker{content:""}
.edition-v238 .header-search>summary svg,.edition-v238 .mobile-menu>summary svg{display:block;width:22px;height:22px;flex:none}
.edition-v238 .header-search>summary:focus-visible,.edition-v238 .mobile-menu>summary:focus-visible{outline:2px solid #884b38;outline-offset:2px}
.edition-v238 .header-search[open]>summary,.edition-v238 .site-header .mobile-menu[open]>summary{background:#f4f4f0;color:var(--deep)}
.edition-v238 .search-close-icon{display:none!important}
.edition-v238 .header-search[open] .search-open-icon{display:none}
.edition-v238 .header-search[open] .search-close-icon{display:block!important}
.edition-v238 .header-search .home-search{position:absolute;top:100%;left:0;right:0;z-index:46;margin:0;max-width:none;max-height:calc(100vh - 76px);max-height:calc(100dvh - 76px);overflow-y:auto;overscroll-behavior:contain;padding:24px clamp(20px,4vw,64px);border:1px solid var(--line);background:#fff;box-shadow:0 16px 24px rgba(35,38,35,.08)}
.edition-v238 .header-search:not([open])>.home-search{display:none}
.edition-v238 .header-search .home-search-form{grid-template-columns:1fr;gap:10px}
.edition-v238 .header-search .home-search-form label{font-size:1rem}
.edition-v238 .header-search .home-search-hint{grid-column:1;font-size:.875rem}
.edition-v238 .header-search .home-search-result-kind,.edition-v238 .header-search .home-search-result-summary,.edition-v238 .header-search .home-search-clear{font-size:.875rem}

@media(max-width:1180px){
 .edition-v238 .site-header .header-inner{grid-template-columns:minmax(0,1fr) auto auto auto;gap:8px;min-height:64px;padding:8px 24px}
 .edition-v238 .site-header .brand{width:140px}
 .edition-v238 .site-header .mobile-nav-content{left:24px;right:24px}
}

@media(max-width:699px){.edition-v238 .site-header .header-inner{gap:4px;padding:8px 16px;min-height:64px}.edition-v238 .site-header .brand{width:112px}.edition-v238 .site-header .language-nav a{min-width:32px;height:44px;padding:0 4px;font-size:.875rem}.edition-v238 .site-header .mobile-nav-content{left:16px;right:16px}.edition-v238 .header-search .home-search{padding:20px 16px;max-height:calc(100dvh - 64px)}.edition-v238 .header-search .home-search-controls{flex-wrap:wrap}.edition-v238 .header-search .home-search-input-wrap{flex:1 1 180px}}

.edition-v238 .v237-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Editorial hero and category photography, v2.38. */
.edition-v238 {--deep:#30332f;--ink:#30332f;--muted:#62655e;--line:#e0dfd7;--green:#754a47;background:#fff}
.edition-v238 .editorial-home {max-width:none;margin:0;padding:0}
.edition-v238 .editorial-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,47%) minmax(0,53%);grid-template-rows:auto auto;align-content:center;max-width:1440px;min-height:630px;margin:0 auto;background:#f8f5ef;padding:54px clamp(24px,5vw,80px);overflow:hidden;gap:28px 0}
.edition-v238 .hero-introduction,.edition-v238 .hero-purchase{position:relative;z-index:2;grid-column:1;min-width:0;padding:0 16px 0 0}
.edition-v238 .hero-introduction{grid-row:1;align-self:end}
.edition-v238 .hero-purchase{grid-row:2;align-self:start}
.edition-v238 .origin-line{margin:0 0 24px;color:#754a47;font-size:.8125rem;line-height:1.65;font-weight:600;letter-spacing:.1em;text-transform:uppercase}
.edition-v238 #home-title{font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.65rem,4.5vw,4.25rem);font-weight:400;letter-spacing:-.04em;line-height:1.07;margin:0;max-width:12ch;text-wrap:balance;color:#30332f}
.edition-v238 .brand-introduction{font-size:1rem;line-height:1.65;color:#62655e;max-width:39ch;margin:24px 0 0}
.edition-v238 .hero-product-name{font-size:.875rem;font-weight:600;line-height:1.5;margin:0;max-width:40ch}
.edition-v238 .hero-product-phrase{font-family:Georgia,'Times New Roman',serif;font-size:1.35rem;line-height:1.35;margin:8px 0 0;color:#50544d;max-width:26ch}
.edition-v238 .editorial-price{font-size:1rem;font-weight:600;line-height:1.5;margin:20px 0 16px}
.edition-v238 .hero-purchase .button{width:auto;min-height:48px;border:1px solid #30332f;border-radius:3px;background:#30332f;color:#fff;font-size:.9375rem;font-weight:550;padding:13px 22px;line-height:1.4;box-shadow:none}
.edition-v238 .hero-purchase .button:hover{background:#51413e;border-color:#51413e;transform:none}
.edition-v238 .hero-use{font-size:.8125rem;color:#64675f;margin:12px 0 0}
.edition-v238 .hero-photograph{position:absolute;z-index:0;inset:0 0 0 25%;margin:0;padding:0;overflow:hidden;pointer-events:none;background:#f4f0e9}
.edition-v238 .hero-photograph::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#f8f5ef 0%,rgba(248,245,239,.9) 4%,rgba(248,245,239,0) 32%);pointer-events:none}
.edition-v238 .hero-photograph img{display:block;width:100%;height:100%;max-width:none;object-fit:contain;object-position:right center;filter:none;border:0;border-radius:0;box-shadow:none}
.edition-v238 .editorial-collections,.catalogue-v238 .editorial-collections{display:block;max-width:1440px;margin:0 auto;padding:64px clamp(16px,3vw,48px) 72px;background:#fff;border:0}
.edition-v238 .collection-heading{display:flex;align-items:baseline;justify-content:space-between;gap:24px;margin-bottom:28px;padding:0 4px}
.edition-v238 .collection-heading h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.75rem,2.5vw,2.3rem);font-weight:400;line-height:1.2;margin:0;max-width:none;letter-spacing:-.025em}
.edition-v238 .collection-heading>a{font-size:.875rem;line-height:1.5;text-underline-offset:5px;flex-shrink:0}
.edition-v238 .collection-scenes,.catalogue-v238 .collection-scenes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.edition-v238 .collection-scene,.catalogue-v238 .collection-scene{position:relative;isolation:isolate;display:grid;align-items:center;min-width:0;min-height:0;aspect-ratio:1.49;margin:0;padding:0;overflow:hidden;background:#f4f0e9;border:0;border-radius:4px;text-decoration:none;box-shadow:none;transition:box-shadow .2s ease}
.edition-v238 .collection-scene>img,.catalogue-v238 .collection-scene>img{position:absolute;inset:0;z-index:-1;display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;filter:none;box-shadow:none;border:0;border-radius:0;transition:transform .45s ease}
.edition-v238 .scene-caption,.catalogue-v238 .scene-caption{position:relative;width:46%;padding:24px 0 24px 22px;margin:0;min-width:0}
.edition-v238 .scene-caption h3,.catalogue-v238 .scene-caption h2{font-family:inherit;font-size:clamp(1rem,1.45vw,1.375rem);font-weight:550;line-height:1.35;letter-spacing:-.015em;margin:0;max-width:none;min-height:0;color:#30332f;overflow-wrap:break-word;hyphens:auto;text-wrap:balance}
.edition-v238 .scene-note,.catalogue-v238 .scene-note{display:block;font-size:.875rem;line-height:1.5;margin:12px 0 0;color:#61645d}
.edition-v238 .collection-scene:hover,.catalogue-v238 .collection-scene:hover{box-shadow:0 10px 22px rgba(60,51,35,.08)}
.edition-v238 .collection-scene:hover>img,.catalogue-v238 .collection-scene:hover>img{transform:scale(1.015)}
.edition-v238 .collection-scene:focus-visible,.catalogue-v238 .collection-scene:focus-visible{outline:2px solid #754a47;outline-offset:5px}
.catalogue-v238 .page-hero{padding-block:42px}
.catalogue-v238 .page-hero h1{font-size:clamp(2.2rem,4vw,3.5rem);line-height:1.15}
.catalogue-v238 .editorial-collections{padding-top:36px}
html[lang^="ka"] .edition-v238 #home-title{font-family:'Noto Serif Georgian',Sylfaen,Georgia,serif;font-size:clamp(2.2rem,3.75vw,3.5rem);line-height:1.25;letter-spacing:-.025em;max-width:16ch}
html[lang^="ka"] .edition-v238 .origin-line{font-size:.8125rem;letter-spacing:.05em}
html[lang^="ka"] .edition-v238 .hero-product-phrase,html[lang^="ka"] .edition-v238 .collection-heading h2{font-family:'Noto Serif Georgian',Sylfaen,Georgia,serif;line-height:1.4}
html[lang^="ka"] .edition-v238 .scene-caption h3,html[lang^="ka"] .catalogue-v238 .scene-caption h2{font-size:clamp(1rem,1.25vw,1.2rem);line-height:1.5;letter-spacing:0}
.edition-v238 .home-research,.edition-v238 .home-stories,.edition-v238 .home-applications,.edition-v238 .home-origin{padding-top:64px;padding-bottom:64px}
@media(max-width:1199px){
 .edition-v238 .editorial-hero{min-height:590px;padding:42px 32px;grid-template-columns:minmax(0,48%) minmax(0,52%)}
 .edition-v238 .hero-photograph{left:24%}
 .edition-v238 .collection-scenes,.catalogue-v238 .collection-scenes{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
 .edition-v238 .scene-caption h3,.catalogue-v238 .scene-caption h2{font-size:1.3rem}
 html[lang^="ka"] .edition-v238 .scene-caption h3,html[lang^="ka"] .catalogue-v238 .scene-caption h2{font-size:1.125rem}
}
@media(min-width:700px) and (max-width:899px){
 .edition-v238 .editorial-hero{min-height:600px;padding-inline:24px;grid-template-columns:52% 48%}
 .edition-v238 #home-title{font-size:2.75rem}
 html[lang^="ka"] .edition-v238 #home-title{font-size:2.25rem}
 .edition-v238 .hero-photograph{left:30%}
 .edition-v238 .hero-photograph img{object-position:80% center}
 .edition-v238 .brand-introduction{max-width:30ch}
 .edition-v238 .scene-caption,.catalogue-v238 .scene-caption{width:47%;padding-left:16px}
 .edition-v238 .scene-caption h3,.catalogue-v238 .scene-caption h2{font-size:1.0625rem}
}
@media(max-width:699px){
 .edition-v238 .editorial-hero{display:grid;grid-template-columns:1fr;grid-template-rows:auto auto auto;gap:0;min-height:0;padding:0;background:#f8f5ef;overflow:visible}
 .edition-v238 .hero-introduction{grid-column:1;grid-row:1;padding:28px 24px 16px}
 .edition-v238 .origin-line{font-size:.75rem;letter-spacing:.06em;margin-bottom:16px}
 .edition-v238 #home-title{font-size:2.25rem;line-height:1.12;max-width:17ch;letter-spacing:-.035em}
 html[lang^="ka"] .edition-v238 #home-title{font-size:1.875rem;line-height:1.32;max-width:20ch}
 .edition-v238 .brand-introduction{margin-top:16px;font-size:1rem;line-height:1.55;max-width:38ch}
 .edition-v238 .hero-photograph{position:relative;grid-column:1;grid-row:2;inset:auto;width:100%;height:340px;margin:0;background:transparent}
 .edition-v238 .hero-photograph img{object-fit:cover;object-position:right center}
 .edition-v238 .hero-photograph::after{background:linear-gradient(180deg,#f8f5ef 0%,rgba(248,245,239,0) 14%,rgba(248,245,239,0) 88%,#f8f5ef 100%)}
 .edition-v238 .hero-purchase{grid-column:1;grid-row:3;padding:12px 24px 30px}
 .edition-v238 .hero-product-name{font-size:.875rem;max-width:none}
 .edition-v238 .hero-product-phrase{font-size:1.25rem;max-width:none}
 .edition-v238 .editorial-price{margin-top:16px}
 .edition-v238 .hero-purchase .button{width:100%;font-size:1rem}
 .edition-v238 .hero-use{margin-top:10px;text-align:center}
 .edition-v238 .editorial-collections,.catalogue-v238 .editorial-collections{padding:36px 16px 42px}
 .edition-v238 .collection-heading{gap:16px;margin-bottom:22px;align-items:flex-start}
 .edition-v238 .collection-heading h2{font-size:1.75rem}
 .edition-v238 .collection-heading>a{font-size:.875rem;padding-top:4px}
 .edition-v238 .collection-scenes,.catalogue-v238 .collection-scenes{grid-template-columns:1fr;gap:16px}
 .edition-v238 .collection-scene,.catalogue-v238 .collection-scene{min-height:0;aspect-ratio:1.49}
 .edition-v238 .scene-caption,.catalogue-v238 .scene-caption{width:46%;padding:24px 0 24px 20px}
 .edition-v238 .scene-caption h3,.catalogue-v238 .scene-caption h2{font-size:1.25rem}
 html[lang^="ka"] .edition-v238 .scene-caption h3,html[lang^="ka"] .catalogue-v238 .scene-caption h2{font-size:1.125rem}
 .edition-v238 .home-research,.edition-v238 .home-stories,.edition-v238 .home-applications,.edition-v238 .home-origin{padding:40px 20px}
 .catalogue-v238 .page-hero{padding:30px 20px}
}
@media(max-width:359px){
 .edition-v238 .site-header .header-inner{padding-inline:12px;gap:2px}
 .edition-v238 .site-header .brand{width:100px}
 .edition-v238 .site-header .language-nav a{min-width:30px;padding-inline:3px}
 .edition-v238 .hero-introduction,.edition-v238 .hero-purchase{padding-inline:20px}
 .edition-v238 .scene-caption h3,.catalogue-v238 .scene-caption h2{font-size:1.0625rem}
 .edition-v238 .collection-heading{flex-wrap:wrap;gap:10px}
}
@media(prefers-reduced-motion:reduce){.edition-v238 .collection-scene,.catalogue-v238 .collection-scene,.edition-v238 .collection-scene>img,.catalogue-v238 .collection-scene>img{transition:none}.edition-v238 .collection-scene:hover>img,.catalogue-v238 .collection-scene:hover>img{transform:none}}

.edition-v238 .collection-scene[data-category="extracts"] .scene-caption,.catalogue-v238 .collection-scene[data-category="extracts"] .scene-caption{width:40%}

/* v2.39: size captions against their own card, preserving whole Georgian words. */
.edition-v238 .collection-scene,
.catalogue-v238 .collection-scene {
  container-type: inline-size;
  grid-template-columns: minmax(0, 1fr);
  overflow: visible;
}
.edition-v238 .collection-scene > img,
.catalogue-v238 .collection-scene > img {
  border-radius: inherit;
}
.edition-v238 .collection-scene .scene-caption,
.catalogue-v238 .collection-scene .scene-caption {
  box-sizing: border-box;
  width: 48%;
  padding: 20px 4px 20px 16px;
  height: auto;
  max-height: none;
  overflow: visible;
}
.edition-v238 .collection-scene[data-category="extracts"] .scene-caption,
.catalogue-v238 .collection-scene[data-category="extracts"] .scene-caption {
  width: 42%;
}
.edition-v238 .collection-scene .scene-caption h3,
.catalogue-v238 .collection-scene .scene-caption h2 {
  display: block;
  height: auto;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: visible;
  -webkit-line-clamp: unset;
  font-size: 1rem;
  font-size: clamp(1rem, 4.6cqi, 1.375rem);
}
html[lang^="ka"] .edition-v238 .collection-scene .scene-caption h3,
html[lang^="ka"] .catalogue-v238 .collection-scene .scene-caption h2 {
  font-size: .875rem;
  font-size: clamp(.875rem, 4.4cqi, 1.125rem);
  line-height: 1.5;
  letter-spacing: 0;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  text-wrap: wrap;
}

/* v2.40: portrait-led homepage reviews; clinical photographs stay in full stories. */
.edition-v238 .home-stories .story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}
.edition-v238 .home-stories .story-grid .story-card {
  display: flex;
  flex-direction: column;
  grid-column: auto;
  grid-row: auto;
  gap: 0;
  min-width: 0;
  min-height: 0;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.edition-v238 .home-stories .story-grid .story-card:first-child {
  padding: 28px;
  border: 0;
  border-radius: 6px;
  background: #f8f5ef;
}
.edition-v238 .home-stories .story-head {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 0;
}
.edition-v238 .home-stories .story-head .portrait {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
}
.edition-v238 .home-stories .story-card:first-child .portrait {
  width: 80px;
  height: 80px;
}
.edition-v238 .home-stories .story-head h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  overflow-wrap: normal;
}
.edition-v238 .home-stories .story-card .context {
  margin: 24px 0 12px;
  font-size: .875rem;
  line-height: 1.6;
}
.edition-v238 .home-stories .story-card .story-excerpt {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.6;
}
.edition-v238 .home-stories .story-read-link {
  align-self: flex-start;
  margin-top: 24px;
  font-size: 1rem;
  line-height: 1.5;
}
@media (max-width: 980px) {
  .edition-v238 .home-stories .story-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .edition-v238 .home-stories .story-grid .story-card:first-child {
    padding: 24px;
  }
}
