/* Chemistry V6.31. All rules scoped to the Chemistry page. */
.page-chemistry-v631{--ch-ink:#142b30;--ch-light:#f8f4ea;--ch-amber:#ce9b50;--ch-teal:#203e3f}
.page-chemistry-v631 .chem-eyebrow{font-size:.73rem;font-weight:850;letter-spacing:.16em;color:#aa7940;display:block;margin-bottom:25px}
.page-chemistry-v631 .chem-hero{background:#e7e7dc;color:#173338;padding:75px 0 30px}
.page-chemistry-v631 .chem-hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(35px,6vw,92px);align-items:center}
.page-chemistry-v631 .chem-hero-copy{padding:25px 0 35px}.page-chemistry-v631 .chem-hero-script{font-family:Georgia,serif;font-style:italic;color:#69796f;font-size:1.43rem;margin-bottom:10px}
.page-chemistry-v631 .chem-hero h1{font-size:clamp(5rem,9vw,9.2rem);font-weight:850;letter-spacing:-.09em;line-height:.95;margin:0 0 24px;color:#152e32}.page-chemistry-v631 .chem-hero h1 span{color:#c58b3f}
.page-chemistry-v631 .chem-hero-tagline{font-weight:750;font-size:clamp(1.6rem,3.1vw,2.7rem);letter-spacing:-.045em;line-height:1.19;color:#28494c;margin:0 0 23px}
.page-chemistry-v631 .chem-hero-copy>p:not(.chem-hero-script):not(.chem-hero-tagline){font-size:1.1rem;line-height:1.8;color:#465958;max-width:640px}
.page-chemistry-v631 .chem-button{display:inline-flex;gap:52px;background:#1f3d3e;color:#fff;font-size:.87rem;font-weight:850;padding:16px 24px;margin-top:25px}.page-chemistry-v631 .chem-button:hover{background:#3a6363}
.page-chemistry-v631 .chem-hero-photo{margin:0;border:10px solid #fcfbf5;background:#fcfbf5;box-shadow:15px 16px 0 #cad1c4;max-width:450px;justify-self:center}
.page-chemistry-v631 .chem-hero-photo img{width:100%;max-height:540px;object-fit:cover;display:block;object-position:center}.page-chemistry-v631 .chem-hero-photo figcaption{font-size:.72rem;line-height:1.55;color:#5e6b63;padding:11px 4px 3px}
.page-chemistry-v631 .chem-hero-keywords{padding-top:48px;display:flex;flex-wrap:wrap;gap:14px 54px;font-size:.7rem;letter-spacing:.15em;font-weight:850;color:#566e69}
.page-chemistry-v631 .chem-nav{background:#1d3536;color:#e1e9e5;padding:18px 0}.page-chemistry-v631 .chem-nav>.wrap{display:flex;align-items:center;flex-wrap:wrap;gap:15px 35px}.page-chemistry-v631 .chem-nav b{font-size:.67rem;letter-spacing:.13em;color:#e5bd82}.page-chemistry-v631 .chem-nav a{font-size:.8rem;font-weight:650}.page-chemistry-v631 .chem-nav a:hover{color:#ffcc87}
.page-chemistry-v631 .chem-article h2{font-size:clamp(2.5rem,4.5vw,4.5rem);line-height:1.1;letter-spacing:-.06em;color:#183237;margin:0 0 30px}
.page-chemistry-v631 .chem-article h2 em{font-style:italic;font-family:Georgia,serif;font-weight:400;color:#a7753c}
.page-chemistry-v631 .chem-article p{font-size:1.08rem;line-height:1.86;color:#445759;margin:0 0 22px}.page-chemistry-v631 .chem-article p:last-child{margin-bottom:0}
.page-chemistry-v631 .chem-prose{max-width:850px}.page-chemistry-v631 .chem-intro{background:#fbf9f2;padding:110px 0 100px;text-align:center}.page-chemistry-v631 .chem-intro .chem-prose{max-width:890px}.page-chemistry-v631 .chem-intro h2{max-width:870px}
.page-chemistry-v631 .chem-feature{background:#e6e9e0;padding:105px 0}.page-chemistry-v631 .chem-feature-grid{display:grid;grid-template-columns:1.18fr .82fr;gap:clamp(35px,7vw,105px);align-items:center}.page-chemistry-v631 .chem-feature-text{max-width:750px}
.page-chemistry-v631 .chem-feature-image{margin:0;justify-self:center;background:#fafaf5;padding:15px;box-shadow:15px 16px 0 #cbd6ce;max-width:390px;width:100%}.page-chemistry-v631 .chem-feature-image img{height:580px;max-width:100%;width:100%;object-fit:contain;display:block}.page-chemistry-v631 figure figcaption{font-size:.8rem;line-height:1.48;color:#64706d;margin-top:11px}
.page-chemistry-v631 .chem-text-link{display:inline-block;font-weight:750;color:#245a5d;border-bottom:2px solid #c69a62;margin-top:19px;padding-bottom:7px}
.page-chemistry-v631 .chem-lab{background:#f9f6ed;padding:115px 0}.page-chemistry-v631 .chem-lab-grid{display:grid;grid-template-columns:.8fr 1.2fr;align-items:center;gap:clamp(40px,7vw,100px)}
.page-chemistry-v631 .chem-lab-photo{max-width:430px;background:#1e3837;padding:13px 13px 22px;box-shadow:14px 14px 0 #e7ddc9}.page-chemistry-v631 .chem-lab-photo img{display:block;width:100%;max-height:525px;object-fit:cover}.page-chemistry-v631 .chem-lab-photo small{display:block;color:#d9dfd4;line-height:1.5;font-size:.79rem;margin-top:14px}
.page-chemistry-v631 .chem-video-section{padding:110px 0;background:#192f33;color:#f9f6ee}.page-chemistry-v631 .chem-video-section .chem-eyebrow{color:#efbe7e}.page-chemistry-v631 .chem-video-section h2{color:#fcf8ed}.page-chemistry-v631 .chem-video-section p{color:#c9d7d6}.page-chemistry-v631 .chem-gallery-head{max-width:900px;margin-bottom:38px}
.page-chemistry-v631 .chem-video-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:start}.page-chemistry-v631 .chem-player{padding:12px;background:#0c1b1e;border:1px solid #52696a;min-width:0}.page-chemistry-v631 .chem-player video{display:block;width:100%;height:550px;object-fit:contain;background:#0b1719}.page-chemistry-v631 .chem-player p{font-size:.85rem;line-height:1.6;color:#cfddda;padding:15px 6px 6px}
.page-chemistry-v631 .chem-video-options{display:flex;flex-direction:column;gap:9px;max-height:635px;overflow:auto;padding-right:2px}.page-chemistry-v631 .chem-video-option{background:#294446;color:#e9f5f1;border:1px solid #557070;display:grid;grid-template-columns:74px minmax(0,1fr);gap:12px;align-items:center;text-align:left;cursor:pointer;padding:11px;min-height:94px}.page-chemistry-v631 .chem-video-option.is-selected{background:#e5d6bf;color:#193638;border-color:#e8ba78}.page-chemistry-v631 .chem-video-option:hover:not(.is-selected){background:#355457}.page-chemistry-v631 .chem-video-option img{height:73px;width:72px;object-fit:cover}.page-chemistry-v631 .chem-video-option strong{font-size:.87rem;line-height:1.3;display:block;margin-bottom:5px}.page-chemistry-v631 .chem-video-option small{font-size:.72rem;line-height:1.4;display:block;opacity:.88}
.page-chemistry-v631 .chem-section{padding:110px 0}.page-chemistry-v631 .chem-reflection{background:#f0ece1}.page-chemistry-v631 .chem-final{background:#dfdfcf;padding:90px 0 100px}.page-chemistry-v631 .chem-final>div>p{max-width:770px}.page-chemistry-v631 .chem-related{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:42px}.page-chemistry-v631 .chem-related a{min-height:125px;background:#f9f6ef;border:1px solid #c7c7b8;padding:25px;font-weight:750;font-size:1.35rem;display:flex;justify-content:space-between;align-items:flex-end;color:#1b3b3f}.page-chemistry-v631 .chem-related a:hover{background:#fff}
@media(max-width:1000px){.page-chemistry-v631 .chem-video-grid{grid-template-columns:1fr 280px}.page-chemistry-v631 .chem-player video{height:495px}}
@media(max-width:790px){.page-chemistry-v631 .chem-hero-grid,.page-chemistry-v631 .chem-feature-grid,.page-chemistry-v631 .chem-lab-grid,.page-chemistry-v631 .chem-video-grid{grid-template-columns:1fr}.page-chemistry-v631 .chem-hero{padding-top:50px}.page-chemistry-v631 .chem-hero h1{font-size:clamp(4.5rem,13vw,8rem)}.page-chemistry-v631 .chem-hero-photo{max-width:420px}.page-chemistry-v631 .chem-intro,.page-chemistry-v631 .chem-feature,.page-chemistry-v631 .chem-lab,.page-chemistry-v631 .chem-video-section,.page-chemistry-v631 .chem-section,.page-chemistry-v631 .chem-final{padding:65px 0}.page-chemistry-v631 .chem-lab-photo{max-width:400px}.page-chemistry-v631 .chem-video-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:none}.page-chemistry-v631 .chem-player video{height:440px}.page-chemistry-v631 .chem-related{grid-template-columns:1fr}}
@media(max-width:500px){.page-chemistry-v631 .chem-hero h1{font-size:clamp(4rem,14.5vw,6.5rem)}.page-chemistry-v631 .chem-article h2{font-size:clamp(2.2rem,9vw,3.4rem)}.page-chemistry-v631 .chem-hero-photo{border-width:7px;box-shadow:9px 9px 0 #cad1c4}.page-chemistry-v631 .chem-player video{height:390px}.page-chemistry-v631 .chem-video-options{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.page-chemistry-v631 *{scroll-behavior:auto}}

/* V6.31.2: Practical alchemy feature, independent rose-water video. */
.page-chemistry-v631 .chem-alchemy-grid{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);gap:clamp(32px,5vw,78px);align-items:center}
.page-chemistry-v631 .chem-alchemy-copy{max-width:770px;min-width:0}
.page-chemistry-v631 .chem-alchemy-visual{margin:0;min-width:0;padding:14px 14px 20px;background:#fdfbf4;box-shadow:13px 14px 0 #d5cab7}
.page-chemistry-v631 .chem-alchemy-visual video{width:100%;height:490px;display:block;object-fit:contain;background:#11252a}
.page-chemistry-v631 .chem-alchemy-visual figcaption{margin-top:14px;color:#4d625f;line-height:1.6}
@media(max-width:790px){.page-chemistry-v631 .chem-alchemy-grid{grid-template-columns:1fr}.page-chemistry-v631 .chem-alchemy-visual{max-width:540px}.page-chemistry-v631 .chem-alchemy-visual video{height:410px}}
@media(max-width:500px){.page-chemistry-v631 .chem-alchemy-visual video{height:360px}}

/* V6.31.3 — ensure the ceremonial distillation footage sits alongside its article text. */
@media (min-width: 791px) {
  .page-chemistry-v631 #chem-alchemy .chem-alchemy-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(28px, 4vw, 62px);
    align-items: center;
  }
  .page-chemistry-v631 #chem-alchemy .chem-alchemy-visual {align-self:center; width:100%; max-width:470px; justify-self:end;}
  .page-chemistry-v631 #chem-alchemy .chem-alchemy-visual video {height:clamp(390px,40vw,550px);}
}
@media (max-width: 790px) {
  .page-chemistry-v631 #chem-alchemy .chem-alchemy-grid {display:grid;grid-template-columns:minmax(0,1fr);}
  .page-chemistry-v631 #chem-alchemy .chem-alchemy-visual {justify-self:center;width:100%;}
}
