/* KRISHIKA GUPTA PORTFOLIO — REBUILT RESPONSIVE STYLESHEET */
:root {
  --ink:#192938;--body:#34414b;--muted:#647078;--gold:#987958;
  --paper:#fff;--mist:#f7f6f3;--edge:#e4e4e1;
  --display:"Playfair Display",Georgia,serif;
  --sans:"DM Sans",Arial,Helvetica,sans-serif;
  --content:1220px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:92px}
body{margin:0;background:var(--paper);color:var(--body);font:400 15px/1.75 var(--sans);-webkit-font-smoothing:antialiased;overflow-x:clip}
img{display:block;max-width:100%;height:auto}a{color:inherit;text-decoration:none}button{cursor:pointer;font:inherit}
a:focus-visible,button:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
h1,h2,h3,p,figure{margin:0}h1,h2,h3{font-family:var(--display);font-weight:400;line-height:1.16;letter-spacing:-.035em;color:var(--ink);overflow-wrap:normal}
h1{font-size:clamp(45px,4.85vw,72px)}h2{font-size:clamp(34px,3.45vw,50px)}h3{font-size:clamp(23px,2.05vw,31px)}
p{margin-top:15px}strong{font-weight:600}em{font-style:italic;font-weight:400}
.container{width:min(var(--content),calc(100% - 80px));margin-inline:auto;min-width:0}
.skip{position:absolute;left:12px;top:-150px;z-index:200;background:#fff;padding:14px}.skip:focus{top:12px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.overline{margin:0 0 19px;color:var(--gold);font-size:11px;line-height:1.6;letter-spacing:.125em;text-transform:uppercase;font-weight:700}
/* Global navigation. Stable at every width. */
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.98);border-bottom:1px solid var(--edge);backdrop-filter:blur(12px)}
.nav-shell{max-width:1500px;margin:auto;padding-inline:clamp(24px,3.4vw,54px);min-height:86px;display:flex;align-items:center;gap:24px}
.mark{display:flex;align-items:center;gap:13px;min-width:0;flex-shrink:0}
.kg-seal{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;background:transparent;border:0;border-radius:0;overflow:visible;position:relative}
.kg-seal img{display:block;width:100%;height:100%;object-fit:contain;z-index:2}
.kg-seal-fallback{position:absolute;inset:0;color:#c9ad80;display:grid;place-items:center;font:500 17px/1 Georgia,serif}
.mark-text{font:400 clamp(18px,1.6vw,23px)/1.15 var(--display);white-space:nowrap;color:var(--ink)}
.main-nav{display:flex;align-items:center;gap:clamp(14px,1.6vw,24px);margin-left:auto;min-width:0}
.main-nav a{display:inline-flex;align-items:center;min-height:40px;white-space:nowrap;color:#37434c;font-weight:500;font-size:12px}
.main-nav a:hover,.main-nav a.current:not(.nav-cta){color:var(--gold)}
.main-nav a.current:not(.nav-cta){border-bottom:1px solid var(--gold)}
.main-nav .nav-cta{background:var(--ink);padding:11px 20px;color:white;border:0;min-height:43px}
.main-nav .nav-cta:hover{background:#344a5b;color:white}
.menu-toggle{display:none;align-items:center;justify-content:center;flex-direction:column;gap:5px;width:44px;height:44px;padding:9px;background:white;border:1px solid var(--edge);margin-left:auto;flex-shrink:0}
.menu-toggle>span:not(.sr-only){width:22px;height:1px;background:var(--ink);display:block}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 24px;font-size:12px;font-weight:600;border:1px solid var(--ink);transition:background .2s ease}
.btn-primary{background:var(--ink);color:#fff}.btn-primary:hover{background:#344b5d}
.inline-link,.text-button{display:inline-flex;align-items:center;gap:7px;font-weight:600;font-size:13px;line-height:1.55;border-bottom:1px solid var(--gold);padding-bottom:4px}
.inline-link:hover,.text-button:hover{color:var(--gold)}
/* Homepage. Explicit areas preserve the same order at every breakpoint. */
.hero{border-bottom:1px solid var(--edge)}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);grid-template-areas:"heading photo" "follow photo";grid-template-rows:auto auto;column-gap:clamp(38px,5.4vw,90px);align-content:center;align-items:start;min-height:670px}
.hero-grid>*{min-width:0}
.hero-heading{grid-area:heading;align-self:end;padding-top:70px}
.hero-heading .overline{margin-bottom:24px}
.hero-heading h1{font-size:clamp(47px,4.65vw,69px);line-height:1.115;max-width:700px;text-wrap:balance}
.hero-follow{grid-area:follow;align-self:start;padding-bottom:65px}
.hero-description{max-width:590px;font-size:16px;line-height:1.85;color:#46525c;margin:28px 0 0}
.hero-cta{display:flex;flex-wrap:wrap;gap:24px;align-items:center;margin-top:32px}
.hero-location{font-size:12px;color:var(--muted);margin-top:32px;line-height:1.65}
.hero-photo{grid-area:photo;align-self:end;min-width:0;display:flex;justify-content:flex-end;align-items:end;padding-top:42px}
.portrait-frame{width:100%;max-width:530px;aspect-ratio:530/580;overflow:hidden;border-radius:265px 265px 0 0;background:#f7f5f1;display:flex;align-items:flex-end;justify-content:center}
.portrait-frame .portrait{display:block;width:100%;height:100%;max-width:100%;object-fit:cover;object-position:center top;filter:none}
.portrait-credit{display:none}
.founder-proof{padding:25px 0;border-bottom:1px solid var(--edge);display:flex;gap:12px 28px;flex-wrap:wrap;color:#52606a;font-size:12px}
.founder-proof span{display:inline-block}
/* Editorial sections and image cards */
.section{padding:96px 0}.section-tint,.endnote{background:var(--mist)}
.section-top{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:39px}
.section-top h2{max-width:760px}.section-top .inline-link{flex-shrink:0;margin-bottom:8px}
.intro-panel{display:grid;grid-template-columns:minmax(0,.29fr) minmax(0,.71fr);gap:clamp(36px,5vw,80px);padding:99px 0}
.intro-panel h2{max-width:860px}.intro-panel p:not(.overline){color:var(--muted);font-size:16px;line-height:1.82;max-width:790px}
.intro-panel .inline-link{margin-top:23px}
.ventures-home{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.venture-tile,.project-teaser{border:1px solid var(--edge);background:#fff;display:block;min-width:0;overflow:hidden;transition:box-shadow .2s ease,transform .2s ease}
.venture-tile:hover,.project-teaser:hover{box-shadow:0 15px 35px rgba(16,34,49,.07);transform:translateY(-3px)}
.venture-cover{height:355px;background:#f4f2ee;overflow:hidden;display:flex;justify-content:center;align-items:center}
.venture-cover img{height:100%;width:100%;object-fit:contain}
.venture-tile:nth-child(2) .venture-cover img{object-fit:cover}
.tile-copy{padding:26px 30px 31px}.tile-copy h3{font-size:37px}.tile-copy p:not(.overline){color:var(--muted);font-size:14px;max-width:460px}.tile-copy span{display:inline-block;color:var(--gold);font-size:12px;font-weight:600;margin-top:19px}
.project-teasers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.teaser-image{width:100%;aspect-ratio:1.37;background:#f1f0ed;overflow:hidden;display:flex;align-items:center;justify-content:center}
.teaser-image img{width:100%;height:100%;object-fit:contain}
.teaser-copy{padding:25px 25px 28px}.teaser-copy h3{font-size:clamp(23px,2.3vw,30px)}.teaser-copy p:not(.overline){font-size:13px;color:var(--muted);margin:10px 0 18px}.teaser-copy span{font-size:12px;font-weight:600;color:var(--gold)}
.dual-content,.dual-content.reverse{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(44px,6.2vw,110px);align-items:center}
.dual-content h2{margin:12px 0 22px}.dual-content p:not(.overline){max-width:580px;font-size:16px;color:var(--muted)}
.dual-content .inline-link{margin-top:28px}
.dual-photo{height:470px;background:#eeedea;overflow:hidden;display:flex;align-items:center;justify-content:center}
.dual-photo img{height:100%;width:100%;object-fit:cover}.dual-photo.photo-contain img{object-fit:contain}
.endnote{text-align:center}.endnote h2{max-width:800px;margin-inline:auto}.endnote p:not(.overline){font-size:16px;color:var(--muted);max-width:620px;margin:20px auto 26px}
/* Generic editorial page openers */
.page-cover{padding:92px 0 69px;border-bottom:1px solid var(--edge)}
.page-cover h1{max-width:960px;text-wrap:balance}
.page-intro{max-width:830px;color:var(--muted);font-size:17px;line-height:1.82;margin-top:25px}
.filter-bar{display:flex;flex-wrap:wrap;gap:10px;padding:30px 0 13px}
.filter{border:1px solid #dfe0df;background:#fff;padding:10px 15px;color:#4c555e;font-size:12px;min-height:43px}
.filter.active,.filter:hover{background:var(--ink);color:#fff;border-color:var(--ink)}
.work-case[hidden]{display:none!important}
/* Work page: stable two-column case studies on wide desktop */
.work-case{padding:77px 0 86px;border-bottom:1px solid var(--edge);scroll-margin-top:100px;min-width:0}
.case-head h2{font-size:clamp(32px,3vw,45px);margin-top:2px}
.case-company{color:var(--gold);font-weight:600;font-size:14px;margin-top:15px}
.case-role{display:flex;flex-direction:column;gap:4px;color:var(--muted);font-size:13px;line-height:1.5;margin-top:17px;padding-top:16px;border-top:1px solid var(--edge)}
.case-role strong{font-size:13px;color:var(--ink)}
.case-summary{font-size:15px;line-height:1.78;color:#424c55;margin:19px 0 0;max-width:700px}
.case-content{display:grid;grid-template-columns:minmax(0,1fr);gap:15px;margin-top:24px}
.case-content h3{font:700 14px/1.5 var(--sans);letter-spacing:0;margin:0 0 6px}
.case-content p{font-size:13px;line-height:1.75;color:var(--muted);margin:0 0 6px}
.case-content .note{font-size:12px;color:var(--muted)}
.case-bottom{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-top:24px}
.case-bottom>span{font-size:12px;color:var(--muted);max-width:450px}
/* Single-slide-at-a-time galleries with native swipe */
.gallery{min-width:0;margin-top:23px;width:100%}
.gallery-heading{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:13px}
.gallery-heading p,.gallery-label{font-size:12px;color:#566069;margin:0;font-weight:600;max-width:55%;line-height:1.5}
.gallery-controls{display:flex;align-items:center;gap:8px;flex-shrink:0}
.gallery-count{min-width:53px;text-align:center;color:#6c747b;font-size:11px;font-variant-numeric:tabular-nums}
.gallery-arrow{border:1px solid #d3d3d0;background:white;display:grid;place-items:center;color:var(--ink);font:400 24px/1 Georgia,serif;width:42px;height:42px;padding:0;touch-action:manipulation}
.gallery-arrow:disabled{opacity:.27;cursor:default}
.gallery-rail{width:100%;min-width:0;display:flex;gap:0;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;border:1px solid var(--edge);background:var(--mist)}
.gallery-rail::-webkit-scrollbar{display:none}
.gallery-slide{flex:0 0 100%;width:100%;max-width:100%;min-width:0;scroll-snap-align:start;display:flex;flex-direction:column}
.gallery-visual{width:100%;height:clamp(320px,33vw,475px);background:#f7f6f3;display:grid;place-items:center;overflow:hidden}
.gallery-visual img,.gallery-rail.photo .gallery-visual img,.gallery-rail.photography .gallery-visual img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center}
.gallery-slide figcaption{background:white;min-height:45px;font-size:12px;line-height:1.5;color:#66707a;padding:12px 14px;margin:0}
.gallery-thumbs{display:flex;gap:9px;max-width:100%;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#ccc transparent;padding:12px 1px 9px}
.gallery-thumb{width:78px;height:62px;flex:0 0 78px;overflow:hidden;padding:2px;border:1px solid transparent;background:#f5f4f1;opacity:.62}
.gallery-thumb img{width:100%;height:100%;object-fit:cover}
.gallery-thumb.selected,.gallery-thumb:focus-visible,.gallery-thumb:hover{border-color:var(--gold);opacity:1}
/* Desktop grid areas are explicit: no multi-row implicit stretching */
@media(min-width:1161px){
  .work-case{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);grid-template-rows:auto auto auto 1fr;column-gap:clamp(40px,5vw,86px);align-items:start;grid-template-areas:"casehead photos" "summary photos" "details photos" "links photos"}
  .work-case .case-head{grid-area:casehead;min-width:0}
  .work-case .case-summary{grid-area:summary;min-width:0}
  .work-case .case-content{grid-area:details;min-width:0}
  .work-case .case-bottom{grid-area:links;align-self:start;min-width:0}
  .work-case .gallery{grid-area:photos;margin-top:0;align-self:start;min-width:0}
}
/* Ventures and entrepreneurship */
.venture-editorial{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(40px,5vw,76px);align-items:center;padding:86px 0 58px;scroll-margin-top:110px}
.venture-editorial h2{margin:10px 0 23px}
.venture-lead-column>p:not(.overline){font-size:15px;color:var(--muted);line-height:1.82}
.venture-lead-column>.inline-link{margin-top:10px}
.venture-big-photo{min-height:0;height:590px;background:var(--mist);overflow:hidden;display:grid;place-items:center}
.venture-big-photo img{width:100%;height:100%;object-fit:contain}
.boutique-brand{max-width:440px;background:#faf9f6;border:1px solid #ebe8e1;display:flex;flex-direction:column;align-items:flex-start;gap:13px;padding:20px;margin:25px 0}
.boutique-brand img{width:100%;height:auto;max-width:340px;max-height:245px;object-fit:contain;object-position:left center}
.boutique-brand span{color:var(--muted);font-size:12px}
.gallery-section{padding:42px 0 75px}.section-help{color:var(--muted);font-size:12px;margin:0 0 7px}
.fact-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;padding:35px 0 85px;border-top:1px solid var(--edge)}
.fact-row>div{padding-top:8px}.fact-row strong{font-size:14px;color:var(--ink)}.fact-row p{font-size:13px;color:var(--muted)}
/* Leadership */
.leadership-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;padding:66px 0 78px}
.lead-card{border:1px solid var(--edge);min-width:0;background:white;overflow:hidden}
.lead-photo{height:310px;display:grid;place-items:center;background:var(--mist);overflow:hidden}
.lead-photo img{width:100%;height:100%;object-fit:contain}
.lead-content{padding:26px 28px 30px}.lead-content h2{font-size:clamp(27px,2.55vw,34px)}.lead-content p{font-size:14px;color:var(--muted)}.lead-content .inline-link{margin-top:19px}
/* Photography */
.editorial-intro{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1fr);gap:clamp(35px,7vw,100px);padding:75px 0 45px}
.editorial-intro p{font-size:16px;color:var(--muted)}
.photo-showcase{padding:35px 0 30px}
.photo-showcase .gallery-visual,.gallery-rail.photography .gallery-visual{height:clamp(370px,47vw,620px)}
.photo-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;padding:15px 0 96px}
.photo-thumb{min-width:0;border:1px solid var(--edge);padding:0;aspect-ratio:1;background:var(--mist);overflow:hidden;display:grid;place-items:center}
.photo-thumb img{width:100%;height:100%;object-fit:contain}
/* About page */
.about-intro{display:grid;grid-template-columns:minmax(0,.81fr) minmax(0,1.19fr);gap:clamp(36px,6vw,85px);align-items:center;padding:78px 0 100px}
.about-portrait{height:520px;background:var(--mist);overflow:hidden;display:flex;align-items:end;justify-content:center}
.about-portrait img{width:100%;height:100%;object-fit:contain;object-position:bottom center}
.about-intro h2{margin:0 0 24px}.about-intro p:not(.overline){color:var(--muted);font-size:15px;line-height:1.85}
.story-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px}
.story-chapter{min-width:0;border-top:1px solid var(--gold);padding-top:20px}
.chapter-place{font-size:10px;font-weight:700;letter-spacing:.10em;color:var(--gold);text-transform:uppercase}
.story-chapter h3{font-size:clamp(25px,2.3vw,32px);margin:15px 0}
.story-chapter p{font-size:13px;color:var(--muted);line-height:1.78}
.education-strip{display:grid;grid-template-columns:1.28fr 1fr 1fr;gap:30px;padding:76px 0 90px;align-items:start}
.education-strip h2{font-size:clamp(30px,2.5vw,39px)}
.education-item{display:flex;flex-direction:column;gap:5px;padding-top:10px;font-size:13px;color:var(--muted);line-height:1.55}
.education-item strong{color:var(--ink);font-size:14px}
/* Writing */
.article-list{padding:42px 0 80px}
.article-row{display:flex;justify-content:space-between;align-items:center;gap:34px;padding:37px 0;border-bottom:1px solid var(--edge)}
.article-row h2{font-size:clamp(28px,2.65vw,38px)}
.article-row p:not(.overline){color:var(--muted);font-size:14px;max-width:780px}
.article-row .inline-link{flex-shrink:0}
.small-note{font-size:12px;color:var(--muted);padding-bottom:60px}
/* Contact */
.contact-page{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);gap:clamp(38px,7vw,110px);padding:84px 0 110px}
.contact-page p{color:var(--muted)}
.contact-email{display:inline-block;font:400 clamp(22px,2.6vw,35px)/1.3 var(--display);color:var(--gold);margin:25px 0;overflow-wrap:anywhere}
.contact-card{border:1px solid var(--edge);padding:30px}
.contact-card h3{margin-bottom:25px}
.contact-card>a{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:14px;border-top:1px solid var(--edge);padding:15px 0}
.contact-card>a span{color:var(--gold)}
/* Footer */
.site-footer{background:var(--ink);padding:67px 0 27px;color:#fff}
.footer-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,.8fr) minmax(0,.65fr);gap:55px}
.footer-sign{font:400 31px/1.3 var(--display);margin:0}
.footer-tag{font-size:13px;max-width:320px;color:#c8d0d5;line-height:1.75}
.foot-small{font-size:12px;color:#c8b392}
.footer-links{display:flex;flex-direction:column;gap:12px}
.footer-links a{font-size:12px;color:#dce3e8}.footer-links a:hover{color:#d5bb91}
.footer-bottom{display:flex;justify-content:space-between;gap:15px;border-top:1px solid #475463;padding-top:24px;margin-top:57px;font-size:11px;color:#b6bec4}
/* Image fallback is unobtrusive; broken remote Wix thumbnails still retry original source */
.image-unavailable{display:none!important}
.media-fallback{font:500 12px/1.6 var(--sans);color:#77808a;padding:15px;text-align:center;max-width:230px}
/* Tablet. One column content where there isn't room for split sections. */
@media(max-width:1160px){
  .nav-shell{min-height:76px;padding-inline:24px}
  .menu-toggle{display:flex}
  .main-nav{display:none;position:absolute;top:75px;left:0;right:0;background:#fff;box-shadow:0 15px 35px #12223217;padding:18px max(24px,5vw) 25px;border-bottom:1px solid var(--edge);flex-direction:column;gap:0;align-items:stretch;max-height:calc(100dvh - 76px);overflow-y:auto}
  .main-nav.open{display:flex}
  .main-nav a{display:flex;padding:13px 0;white-space:normal;font-size:14px;min-height:44px}
  .main-nav a.current:not(.nav-cta){border-bottom:none}
  .main-nav .nav-cta{justify-content:center;margin-top:11px}
  .hero-grid{min-height:0;column-gap:30px}
  .hero-heading{padding-top:62px}
  .hero-heading h1{font-size:clamp(41px,5.3vw,58px)}
  .hero-follow{padding-bottom:62px}
  .hero-description{font-size:15px}
  .portrait-frame{aspect-ratio:0.93}
  .work-case{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"casehead" "summary" "photos" "details" "links"}
  .work-case .case-head{grid-area:casehead}.work-case .case-summary{grid-area:summary}.work-case .gallery{grid-area:photos}.work-case .case-content{grid-area:details}.work-case .case-bottom{grid-area:links}
  .case-content{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}
  .gallery-visual{height:clamp(350px,49vw,530px)}
  .story-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:35px}
}
/* Phone. Exact portrait ordering: headline, then photo, then copy. */
@media(max-width:680px){
  html{scroll-padding-top:76px}
  .container{width:calc(100% - 36px)}
  .nav-shell{min-height:70px;padding:0 18px}
  .main-nav{top:69px;max-height:calc(100dvh - 70px)}
  .mark-text{font-size:18px}.kg-seal{width:38px;height:38px;flex-basis:38px}
  h1{font-size:clamp(42px,10.6vw,60px)}h2{font-size:clamp(31px,8.1vw,45px)}h3{font-size:clamp(23px,6vw,31px)}
  .hero-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"heading" "photo" "follow";grid-template-rows:auto auto auto;gap:0;min-height:0;align-content:start;padding-top:31px}
  .hero-heading{padding:0;align-self:start}
  .hero-heading .overline{margin-bottom:14px}
  .hero-heading h1{font-size:clamp(39px,9.6vw,52px);line-height:1.14;max-width:500px}
  .hero-photo{width:100%;padding:24px 0 0;justify-content:center;align-self:start}
  .portrait-frame{width:100%;max-width:430px;aspect-ratio:1.04;height:auto;margin-inline:auto;border-radius:210px 210px 0 0}
  .portrait-frame .portrait{width:100%;height:100%;object-fit:cover;object-position:center top}
  .hero-follow{padding:0 0 33px;align-self:start}
  .hero-description{margin-top:26px;font-size:15px;line-height:1.8}
  .hero-cta{gap:20px;margin-top:24px}
  .hero-location{margin-top:22px;font-size:11px}
  .founder-proof{gap:12px 16px;padding:21px 0;font-size:12px}
  .founder-proof span{flex:1 1 100%}
  .section{padding:69px 0}.section-top{flex-direction:column;align-items:flex-start;gap:19px;margin-bottom:27px}
  .section-top .inline-link{margin:0}.intro-panel{display:block;padding:72px 0}.intro-panel .overline{margin-bottom:18px}
  .intro-panel p:not(.overline){font-size:15px}
  .ventures-home{grid-template-columns:minmax(0,1fr);gap:20px}
  .venture-cover{height:310px}.tile-copy{padding:23px 24px 27px}.tile-copy h3{font-size:34px}
  .project-teasers{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 2px 15px 0;scrollbar-width:thin}
  .project-teaser{flex:0 0 min(83vw,340px);scroll-snap-align:start}
  .teaser-copy h3{font-size:26px}
  .dual-content,.dual-content.reverse{grid-template-columns:minmax(0,1fr);gap:24px}
  .dual-photo{height:365px}.dual-content h2{margin-bottom:15px}
  .page-cover{padding:67px 0 48px}.page-intro{font-size:15px;line-height:1.78;margin-top:20px}
  .filter-bar{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding:22px 0 15px;gap:8px}
  .filter{flex:0 0 auto;white-space:nowrap;min-height:43px}
  .work-case{padding:49px 0 61px}.case-head h2{font-size:clamp(32px,8.2vw,43px)}.case-summary{font-size:14px}
  .case-content{grid-template-columns:minmax(0,1fr);gap:21px;margin-top:21px}
  .gallery-heading{min-height:47px}.gallery-heading p,.gallery-label{max-width:45%;font-size:11px}
  .gallery-arrow{width:40px;height:40px;font-size:22px}.gallery-controls{gap:5px}.gallery-count{font-size:10px;min-width:48px}
  .gallery-visual,.photo-showcase .gallery-visual,.gallery-rail.photography .gallery-visual{height:clamp(275px,85vw,395px)}
  .gallery-slide figcaption{min-height:47px}.gallery-thumb{flex-basis:63px;width:63px;height:52px}
  .venture-editorial{grid-template-columns:1fr;gap:28px;padding:64px 0 42px}
  .venture-big-photo{height:410px}.boutique-brand{max-width:100%}.gallery-section{padding:35px 0 60px}
  .fact-row{grid-template-columns:minmax(0,1fr);gap:12px;padding:31px 0 58px}
  .leadership-gallery{grid-template-columns:minmax(0,1fr);gap:22px;padding:40px 0 68px}
  .lead-photo{height:280px}.lead-content{padding:23px}.lead-content h2{font-size:28px}
  .editorial-intro{grid-template-columns:1fr;gap:15px;padding:55px 0 28px}.editorial-intro p{font-size:15px}
  .photo-showcase{padding:26px 0 35px}.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding-bottom:65px}
  .about-intro{grid-template-columns:1fr;gap:26px;padding:55px 0 66px}.about-portrait{height:380px}.about-intro p:not(.overline){font-size:15px}
  .story-list{grid-template-columns:minmax(0,1fr);gap:29px}
  .education-strip{grid-template-columns:minmax(0,1fr);gap:18px;padding:61px 0 75px}
  .article-row{align-items:flex-start;flex-direction:column;gap:16px;padding:27px 0}.article-row h2{font-size:29px}
  .contact-page{grid-template-columns:minmax(0,1fr);gap:40px;padding:62px 0 82px}.contact-card{padding:25px}
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px}
  .footer-grid>div:first-child{grid-column:1/-1}
  .site-footer{padding:54px 0 25px}.footer-bottom{margin-top:40px;flex-direction:column;gap:4px}
}
@media(min-width:681px) and (max-width:850px){
  .hero-grid{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);column-gap:25px}
  .hero-heading h1{font-size:clamp(37px,5.2vw,48px)}
  .hero-photo{align-self:center;padding-top:0}
  .portrait-frame{aspect-ratio:.88}
  .ventures-home{gap:16px}.venture-cover{height:300px}.project-teasers{gap:14px}
  .venture-editorial{gap:26px}.venture-big-photo{height:470px}
}
@media(max-width:380px){.mark-text{font-size:16px}.hero-heading h1{font-size:38px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

/* Review-draft enhancements: locked editorial pages; original KG identity retained. */
.editorial-narrative{font-size:15px;line-height:1.91;color:#3c4851}
.editorial-narrative p{margin:0 0 18px}
.editorial-narrative p strong{color:var(--ink)}
.editorial-narrative em{color:#3a4650}
.intro-story{padding:66px 0 84px;max-width:920px}
.intro-story p{font-size:16px}
.story-role,.story-location{font-size:13px;color:var(--gold);font-weight:600}
.brand-line{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.9fr);gap:clamp(42px,5vw,80px);align-items:start;margin-top:42px}
.brand-art{position:sticky;top:120px;background:#fff;border:1px solid var(--edge);padding:34px;min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px}
.brand-art .brand-asset{display:block;max-width:100%;max-height:320px;object-fit:contain;width:auto;height:auto}
.asset-label{color:var(--muted);font-size:12px}
.simple-brand-art{background:var(--mist);min-height:250px}
.brand-note{font-size:13px;color:var(--muted);max-width:310px;text-align:center}
.boutique-shots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:72px}
.boutique-shot{min-width:0;margin:0}
.boutique-shot img{width:100%;aspect-ratio:4/5;object-fit:cover;background:#f4f2f0}
.boutique-shot figcaption{color:var(--muted);font-size:11px;line-height:1.5;margin-top:9px}
.editorial-ending{max-width:850px}.editorial-ending h2{margin-bottom:27px}
.off-cover{padding-bottom:55px}
.off-heart{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;gap:55px;padding:64px 0 50px}
.heart-figure{max-width:660px;background:var(--mist);padding:18px;border:1px solid var(--edge)}
.heart-figure img{width:100%;height:550px;object-fit:contain;background:#e5e6e6}
.heart-figure figcaption{font-size:11px;color:var(--muted);padding-top:10px}
.off-heart .editorial-narrative{font-size:20px;line-height:1.75}
.off-journal{padding:30px 0 110px;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:70px;align-items:start}
.off-journal>.editorial-narrative{max-width:710px}
.off-scrapbook{display:flex;flex-direction:column;gap:35px}
.off-scrapbook figure{background:#f7f6f3;min-width:0}
.off-scrapbook img{width:100%;height:auto;max-height:560px;object-fit:contain}
.off-scrapbook figcaption{padding:11px 13px;font-size:12px;color:var(--muted)}
.off-gallery-intro{font-size:14px;color:var(--muted);margin-bottom:30px}
.off-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.off-photo-grid figure{margin:0;min-width:0;background:#fff}
.off-photo-grid img{width:100%;aspect-ratio:5/4;object-fit:contain;background:#f1eeea}
.off-photo-grid figcaption{color:var(--muted);padding:9px 4px;font-size:11px}
.off-heart-teaser img{object-fit:contain;background:#ddd}
.home-section-desc{max-width:660px;color:var(--muted);font-size:15px}
.contact-final{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:8vw;padding:90px 0 120px}
.contact-final-actions{border-left:1px solid var(--edge);padding:8px 0 15px 44px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.contact-final-actions .contact-email{font-size:clamp(20px,2.25vw,30px)}
@media(max-width:850px){
 .brand-line,.off-heart,.off-journal,.contact-final{grid-template-columns:1fr;gap:30px}
 .brand-art{position:static;min-height:180px}
 .boutique-shots{grid-template-columns:repeat(2,minmax(0,1fr))}
 .off-scrapbook{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 .off-scrapbook figure:first-child{grid-column:span 2}
 .off-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .heart-figure img{height:380px}
 .contact-final-actions{border:0;border-top:1px solid var(--edge);padding:30px 0 0}
}
@media(max-width:560px){
 .intro-story{padding:40px 0 55px}
 .off-heart{padding:32px 0}
 .heart-figure{padding:9px}
 .heart-figure img{height:auto;max-height:460px}
 .off-scrapbook{grid-template-columns:1fr}
 .off-scrapbook figure:first-child{grid-column:auto}
 .off-journal{padding-bottom:60px}
 .off-photo-grid{gap:9px}
 .boutique-shots{gap:9px}
 .boutique-shot figcaption{font-size:10px}
}

/* Integration QA: preserve authentic logo artwork and image proportions. */
.kayuti-brand-wordmark{object-fit:contain !important;object-position:center center!important;max-width:100%;height:auto;}
#kayuti .brand-art{min-height:260px;padding:clamp(28px,4vw,52px);background:#f8f7f4;}
#kayuti .kayuti-brand-wordmark{width:100%;max-width:360px;height:auto;max-height:none;aspect-ratio:1067 / 274;}
.venture-tile[href="ventures.html#kayuti"] .venture-cover{display:flex;align-items:center;justify-content:center;background:#f8f7f4;padding:clamp(20px,3vw,44px);}
.venture-tile[href="ventures.html#kayuti"] .venture-cover img{width:100%;max-width:380px;max-height:100%;aspect-ratio:1067 / 274;object-fit:contain!important;}
#perfect-boutique .brand-art .brand-asset{width:100%;max-width:360px;height:auto;max-height:320px;object-fit:contain;object-position:center;}
.heart-figure img{object-fit:contain!important;object-position:center!important;}
@media(max-width:560px){#kayuti .brand-art{min-height:200px;padding:26px;} .venture-tile[href="ventures.html#kayuti"] .venture-cover{min-height:200px;}}


/* Exact approved Perfect Boutique logo: no lettering recreation or crop of the monogram. */
#perfect-boutique .brand-art{background:#050505;border-color:#26221b;padding:clamp(32px,4.5vw,58px);min-height:320px;}
#perfect-boutique .brand-art .brand-asset{display:block;width:100%;max-width:272px;height:auto;max-height:none;aspect-ratio:1;object-fit:contain;object-position:center;}
#perfect-boutique .brand-art .asset-label{color:#d2bd7c;}
.venture-tile[href="ventures.html#perfect-boutique"] .venture-cover{display:flex;align-items:center;justify-content:center;background:#050505;padding:clamp(24px,3vw,45px);}
.venture-tile[href="ventures.html#perfect-boutique"] .venture-cover .perfect-boutique-brandmark{display:block;object-fit:contain!important;object-position:center center!important;max-width:min(86%,285px);max-height:100%;width:auto;height:auto;aspect-ratio:1;}
@media(max-width:560px){#perfect-boutique .brand-art{min-height:260px;padding:30px;} .venture-tile[href="ventures.html#perfect-boutique"] .venture-cover{min-height:200px;}}

/* SELECTED WORK GALLERY: original photography is never cropped in the main slide or full screen */
.gallery-slide .gallery-visual{position:relative}
.gallery-slide .gallery-visual img{object-fit:contain!important;object-position:center!important}
.gallery-thumb img{object-fit:contain!important;object-position:center!important}
.gallery-thumb{background:#faf9f6;border-radius:3px}
.gallery-thumb:focus-visible,.work-photo-expand:focus-visible,.work-photo-modal button:focus-visible{outline:3px solid #997045;outline-offset:3px}
.work-photo-expand{position:absolute;right:12px;bottom:12px;z-index:2;border:1px solid #d2cbc2;box-shadow:0 3px 12px #00000010;background:#ffffffed;color:#20303d;border-radius:3px;padding:10px 14px;min-height:44px;font:600 12px/1.25 'DM Sans',Arial,sans-serif;cursor:pointer}
.work-photo-expand:hover{background:#fff;border-color:#987958}
.work-photo-modal[hidden]{display:none!important}
.work-photo-modal{position:fixed;inset:0;z-index:10000;background:rgba(12,17,24,.97);color:#fff;display:flex;flex-direction:column;align-items:stretch;justify-content:stretch;overscroll-behavior:contain}
.work-photo-toolbar{height:58px;flex:0 0 58px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 16px;background:#111820}
.work-photo-title{font:500 12px/1.5 'DM Sans',Arial,sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.work-photo-counter{font:500 12px/1.4 'DM Sans',Arial,sans-serif;white-space:nowrap;color:#d9dfe6}
.work-photo-toolbar button,.work-photo-navigation button{background:#ffffff10;border:1px solid #ffffff45;border-radius:2px;color:#fff;min-height:44px;min-width:44px;cursor:pointer;font:500 24px/1 Arial,sans-serif;display:grid;place-items:center}
.work-photo-toolbar button:hover,.work-photo-navigation button:hover{background:#ffffff25}
.work-photo-navigation button:disabled{opacity:.22;cursor:default}
.work-photo-stage{flex:1 1 auto;min-height:0;position:relative;display:flex;align-items:center;justify-content:center;padding:16px 65px}
.work-photo-stage img{display:block;max-width:100%;max-height:100%;height:auto;width:auto;object-fit:contain!important;object-position:center!important;box-shadow:0 0 1px #ffffff55}
.work-photo-navigation{position:absolute;inset:0;pointer-events:none;display:flex;align-items:center;justify-content:space-between;padding:8px;z-index:1}
.work-photo-navigation button{pointer-events:auto}
.work-photo-caption{flex:0 0 auto;max-height:68px;overflow:auto;text-align:center;color:#e1e5e8;background:#111820;font:400 12px/1.6 'DM Sans',Arial,sans-serif;padding:10px 14px;padding-bottom:max(10px,env(safe-area-inset-bottom))}
@media(max-width:600px){.gallery-visual{height:clamp(260px,72vw,380px)}.work-photo-expand{right:8px;bottom:8px;padding:9px 11px;font-size:11px}.gallery-thumb{width:66px;height:58px;flex-basis:66px}.work-photo-toolbar{height:55px;flex-basis:55px;padding:6px 10px}.work-photo-stage{padding:10px 48px}.work-photo-navigation{padding:2px}.work-photo-title{max-width:45vw}}
@media(prefers-reduced-motion:reduce){.gallery-rail{scroll-behavior:auto!important}}

/* RELEASE QA: robust uncropped Selected Work imagery on 320px-2560px viewports */
.work-case .gallery-visual{height:clamp(260px,38vw,530px)!important;max-width:100%;overflow:hidden;background:#f5f4f0}
.work-case .gallery-visual>img{width:100%!important;height:100%!important;max-width:100%;object-fit:contain!important;object-position:center center!important;}
.work-case .gallery-thumb img{width:100%;height:100%;object-fit:contain!important;object-position:center center!important}
.work-photo-modal{padding-top:env(safe-area-inset-top,0px)}
.work-photo-stage{height:0;min-height:0;overflow:hidden}
.work-photo-stage img{max-width:calc(100vw - 130px)!important;max-height:100%!important;object-fit:contain!important;object-position:center center!important}
.work-photo-expand{touch-action:manipulation;white-space:nowrap}
.work-case .gallery-arrow,.work-case .gallery-thumb{touch-action:manipulation}
@media(max-width:600px){
 .work-case .gallery-visual{height:clamp(230px,76vw,420px)!important}
 .work-photo-stage{padding:8px 50px!important}
 .work-photo-stage img{max-width:calc(100vw - 100px)!important}
 .work-photo-expand{font-size:12px!important;min-height:44px!important}
 .work-photo-caption{max-height:20vh}
}
@media(max-width:370px){.work-photo-stage{padding:6px 41px!important}.work-photo-stage img{max-width:calc(100vw - 82px)!important}}
/* Important: CSS Grid percentage-height min-content bug previously clipped tall portraits.
   Pin visual image to the bounded gallery viewport; contain reveals every image edge. */
.work-case .gallery-visual {position:relative; display:block; isolation:isolate;}
.work-case .gallery-visual > img {position:absolute!important; inset:0!important; display:block!important; width:100%!important; height:100%!important; min-width:0!important; min-height:0!important; max-width:100%!important; max-height:100%!important; object-fit:contain!important; object-position:center center!important;}
.work-case .gallery-visual > .work-photo-expand {z-index:2;}

/* Final cross-device viewer QA. Original image always wholly visible. */
@media (max-width:600px) {
  .work-photo-stage {padding:8px 38px!important;}
  .work-photo-stage img {max-width:calc(100vw - 76px)!important;max-height:100%!important;}
  .work-photo-navigation {padding:0!important;}
  .work-photo-navigation button {min-width:42px;min-height:46px;background:rgba(15,22,29,.74)!important;}
}
@media (max-width:370px) {
  .work-photo-stage {padding:6px 35px!important;}
  .work-photo-stage img {max-width:calc(100vw - 70px)!important;}
}
.work-photo-stage img {image-rendering:auto;}
.work-photo-error {display:none;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);max-width:min(85vw,420px);text-align:center;color:#fff;line-height:1.6;font-size:14px;padding:20px;z-index:2;}
.work-photo-modal.has-image-error .work-photo-error {display:block;}
.work-photo-modal.has-image-error .work-photo-stage img {visibility:hidden;}
.work-photo-error a {display:inline-block;color:#fff;margin-top:10px;text-decoration:underline;}

/* Stable final gallery layout: constrain the image to the frame with no cropping. */
.work-case .gallery-visual {contain:layout;}
.work-case .gallery-visual > img {object-fit:contain!important;object-position:50% 50%!important;}
.work-case .gallery-visual.portfolio-gallery-unavailable > img {opacity:0;}
.portfolio-source-unavailable {position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;max-width:100%;padding:30px 15px;background:#f6f4f1;color:#263039;text-align:center;font-size:13px;line-height:1.5;z-index:1;}
.portfolio-source-unavailable a {color:#243344;text-decoration:underline;font-weight:600;min-height:44px;display:inline-flex;align-items:center;}
.work-case .gallery-visual .work-photo-expand {z-index:2;}
@media(max-width:600px){
  .work-case .gallery-visual{height:clamp(230px,76vw,420px)!important;}
  .work-case .case-head,.work-case .case-role,.work-case .case-summary,.work-case .gallery{min-width:0;}
  .work-case h2,.work-case p,.work-case .case-company,.work-case .case-role{overflow-wrap:break-word;}
  .work-case .work-photo-expand {min-height:44px;}
}

/* Final responsive image and overlay safeguards, 2026-11-21 */
html,body{max-width:100%;overflow-x:clip}
.work-case,.case-head,.case-content,.gallery,.gallery-rail,.gallery-slide{min-width:0}
.work-case .gallery-rail{scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
.work-case .gallery-slide{scroll-snap-align:start;min-width:100%;max-width:100%}
.work-case .gallery-visual{position:relative!important;display:block!important;overflow:hidden!important;max-width:100%;height:clamp(280px,37vw,540px)!important;background:#f5f4f1}
.work-case .gallery-visual>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center!important;max-width:100%!important;max-height:100%!important;min-height:0!important;min-width:0!important}
.work-case .gallery-thumb img{width:100%!important;height:100%!important;object-fit:contain!important}
.work-case .gallery-slide figcaption{overflow-wrap:anywhere}
.work-photo-modal[hidden]{display:none!important}
.work-photo-modal{width:100%;height:100dvh;overflow:hidden;inset:0;position:fixed;z-index:99999;padding-top:env(safe-area-inset-top,0px);box-sizing:border-box}
.work-photo-stage{min-height:0;flex:1 1 auto;height:0;overflow:hidden;box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:6px clamp(38px,6vw,80px)!important}
.work-photo-stage img{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center center!important}
.work-photo-caption{overflow-y:auto;overflow-wrap:anywhere;flex-shrink:0;padding-bottom:max(10px,env(safe-area-inset-bottom))}
.work-photo-navigation{pointer-events:none}.work-photo-navigation button{pointer-events:auto;touch-action:manipulation}
@media(max-width:680px){.work-case .gallery-visual{height:clamp(245px,80vw,415px)!important}.work-photo-stage{padding:6px 39px!important}.work-photo-navigation{padding:0!important}.work-photo-navigation button{width:38px;min-width:38px;height:48px;min-height:48px;background:#101820c9!important}.gallery-rail{max-width:100%}.work-case .gallery-thumb{min-width:58px}.work-photo-modal .work-photo-caption{max-height:25vh}}
@media(max-width:350px){.work-case .gallery-visual{height:250px!important}.work-photo-stage{padding:5px 32px!important}.work-photo-navigation button{min-width:31px;width:31px}}
@media(prefers-reduced-motion:reduce){.gallery-rail{scroll-behavior:auto!important}}

/* 2026-11-22: Approved content typesetting; responsive edits only. */
.case-tagline{font-size:clamp(1.04rem,1.4vw,1.17rem);font-family:'Playfair Display',Georgia,serif;font-style:italic;line-height:1.6;color:#39475a;max-width:760px;margin:12px 0 22px}
.case-story{max-width:820px;margin:clamp(24px,4vw,44px) auto clamp(44px,7vw,76px);font-size:1.01rem;line-height:1.87;overflow-wrap:break-word}
.case-story p{margin:0 0 1.25rem;color:#263344;max-width:75ch}.case-story p:first-child{font-size:1.1em;color:#16263a}
.case-story strong{font-weight:700;color:#15263d}
.case-impact{border-top:1px solid #b4a89a;padding-top:25px;margin-top:28px;font-size:1.02rem}
.case-impact p{margin-bottom:0;color:#122944}.case-impact strong{color:#152b43}
.work-case .gallery-visual{background:#f5f1eb!important}
.work-case .gallery-visual>img,.work-case .gallery-thumb img{object-fit:contain!important;object-position:center center!important}
@media(max-width:600px){.case-tagline{font-size:1rem;margin-bottom:12px}.case-story{font-size:.98rem;line-height:1.77;margin:24px 0 52px}.case-impact{padding-top:18px}.case-story p:first-child{font-size:1.04em}}
/* Editorial article and index styles */
.writing-intro{max-width:780px;margin:6px auto 54px}.writing-intro p{font-size:clamp(1.02rem,1.28vw,1.13rem);line-height:1.85;color:#394459;margin:0 0 1.15rem}
.essay-list{display:grid;gap:0}.essay-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;border-top:1px solid #d7d9db;padding:28px 0}
.essay-row:last-child{border-bottom:1px solid #d7d9db}.essay-row h2{font-size:clamp(1.32rem,2.3vw,1.9rem);line-height:1.26;max-width:720px;margin:6px 0 10px}
.essay-row p{max-width:670px;margin:0;color:#657085;line-height:1.62}.essay-row .overline{font-size:.72rem;letter-spacing:.12em}
.essay-row .inline-link{white-space:nowrap}
.essay-note{color:#667285;font-size:.83rem;line-height:1.7;margin-top:25px}
.essay-substack{background:#f1f0ed;border-radius:12px;max-width:900px;padding:clamp(28px,4vw,56px);margin:35px auto 55px}
.essay-substack h2{font-size:clamp(1.8rem,3vw,2.65rem);margin:7px 0 15px}.essay-substack p{max-width:720px;line-height:1.75;color:#3d4959}
.essay-article-wrap{max-width:960px;padding-top:20px;padding-bottom:100px}
.essay-article-wrap .essay-back{display:inline-flex;margin-bottom:32px;font-weight:600;font-size:.92rem;text-decoration:none;color:#2b4969}
.essay-page-title{font-family:'Playfair Display',Georgia,serif;font-size:clamp(2.2rem,5.4vw,4.1rem);font-weight:500;line-height:1.17;letter-spacing:-.024em;max-width:960px;margin:14px 0 24px}
.essay-article-wrap .article-meta{font-size:.82rem;letter-spacing:.03em;color:#6b7180;margin-bottom:35px}
.essay-prose{max-width:770px;font-size:1.08rem;line-height:1.95;overflow-wrap:break-word;color:#2d3b4a}
.essay-prose h2{font-size:clamp(1.5rem,2.5vw,2.15rem);font-family:'Playfair Display',Georgia,serif;font-weight:500;margin:2.1em 0 .55em;line-height:1.3;color:#183047}
.essay-prose h3{font-size:1.2rem;margin:1.85em 0 .65em}.essay-prose p{margin:0 0 1.35em}
.essay-prose ul{margin:0 0 1.5em;padding-left:1.5rem}.essay-prose li{margin:.5rem 0}
.essay-prose a{color:#1b567e;text-decoration:underline;text-underline-offset:3px}.essay-prose strong{color:#16334e}
.essay-prose blockquote{border-left:2px solid #c1ae92;padding-left:22px;color:#374a5e;margin:1.8em 0;font-style:italic}
.essay-prose .essay-credits{border-top:1px solid #d7d9db;margin:50px 0 0;padding-top:25px;font-size:.86rem;color:#617081}
.essay-article-wrap .sources-heading{font-size:1.15rem;margin:32px 0 14px}.essay-article-wrap .essay-sources{font-size:.86rem;line-height:1.6;list-style:decimal;padding-left:22px;max-width:800px}
.essay-article-wrap .essay-sources li{margin-bottom:11px}.essay-article-wrap .essay-sources a{overflow-wrap:anywhere;color:#284760}
.essay-article-wrap .article-divider{margin:45px 0 25px}
.essay-publishing-note{font-size:.78rem;line-height:1.7;color:#70798b;margin-top:30px}
@media(max-width:700px){.essay-row{grid-template-columns:1fr;gap:12px;padding:26px 0}.essay-row .inline-link{justify-self:start}.essay-prose{font-size:1rem;line-height:1.83}.essay-article-wrap{padding-top:8px;padding-bottom:70px}.essay-article-wrap .article-meta{line-height:1.7}}
/* Final case-study placement: never allow long-form copy into implicit grid tracks. */
@media(min-width:1161px){
  .work-case{grid-template-rows:auto auto auto!important;grid-template-areas:"casehead photos" "tagline photos" "story story"!important;align-items:start}
  .work-case>.case-head{grid-area:casehead}
  .work-case>.case-tagline{grid-area:tagline;max-width:550px;margin-top:12px}
  .work-case>.gallery{grid-area:photos}
  .work-case>.case-story{grid-area:story;margin:40px auto 0;max-width:850px;width:100%}
}
@media(max-width:1160px){
  .work-case{grid-template-areas:"casehead" "tagline" "photos" "story"!important;grid-template-columns:minmax(0,1fr)!important}
  .work-case>.case-head{grid-area:casehead}
  .work-case>.case-tagline{grid-area:tagline;margin:8px 0 22px}
  .work-case>.gallery{grid-area:photos}
  .work-case>.case-story{grid-area:story;max-width:850px;width:100%;margin:32px auto 0}
}
@media(max-width:680px){.work-case>.case-story{margin:26px 0 0}}
