
/* Wrenfield editorial system v3 — section-specific treatment, not a single cloned template */
:root{--display:'Libre Baskerville',Georgia,serif}
.brand img{object-fit:contain;filter:none;width:66px;height:66px}.foot .brand img{background:#fbfaf6;padding:4px;border-radius:50%}.division-seal img{width:170px;max-width:100%;filter:none}.notfound .small-logo{width:56px}
.header{box-shadow:0 2px 0 #102c1b08}.nav a{transition:color .15s}.nav a:hover{color:#397652}.breadcrumb a{font-weight:700}
.page-hero{position:relative;overflow:hidden;min-height:310px}.page-hero>.container{position:relative;z-index:2}.page-hero:not(.image){display:flex;align-items:center}
.page-hero:not(.image):before{content:"";position:absolute;inset:0;opacity:.12;background:var(--section-photo) center/cover}.page-hero:not(.image):after{content:"";position:absolute;right:-50px;bottom:-50px;width:330px;height:330px;border:1px solid #42675266;border-radius:50%;box-shadow:0 0 0 35px #78927712,0 0 0 100px #7892770c;pointer-events:none}
.section-watermark{position:absolute;right:3.8vw;bottom:15px;z-index:1;pointer-events:none;font:700 .61rem 'DM Sans',sans-serif;text-transform:uppercase;letter-spacing:.23em;opacity:.42}
.page-grid{grid-template-columns:minmax(0,820px) minmax(220px,275px);gap:clamp(25px,5vw,82px)}
.body-copy>section{margin-bottom:33px}.body-copy>section:nth-of-type(2n){padding:28px 35px 24px;border-left:3px solid #becfbc;background:linear-gradient(90deg,#eff2e9,transparent 94%)}
.body-copy>section h2{letter-spacing:-.045em}.editorial-figure{margin:48px -12px!important;display:block;position:relative}.editorial-figure img{width:100%;height:clamp(260px,42vw,470px);object-fit:cover}.editorial-figure figcaption{padding:10px 0;line-height:1.5}.links-grid{margin-top:55px}.jump{border-color:#c8d8ca;transition:transform .15s,background .15s}.jump:hover{transform:translateY(-2px)}
/* Institutional archive: sepia documentary treatment and asymmetric story arrangement */
body[data-section="about"]{--ink:#322e27;--pine:#342f27;--leaf:#756c54;--gray:#6b675c;--line:#ddd7c9;--ivory:#fbf8f0}
body[data-section="about"] .page-hero{background:#ece5d8;padding:76px 0 90px}
body[data-section="about"] .page-hero:not(.image):before{opacity:.13;filter:grayscale(1) sepia(.6)}
body[data-section="about"] .page-hero h1{font-style:italic;font-size:clamp(3.1rem,6.2vw,6.5rem)}
body[data-section="about"] .page-hero .kicker{color:#745737}
body[data-section="about"] .body-copy .lead:first-letter{font:3.2rem/.9 Georgia,serif;float:left;padding:3px 8px 0 0;color:#8c7048}
body[data-section="about"] .body-copy>section:nth-of-type(2n){background:#f2ede4;border-left-color:#b99c73}
body[data-section="about"] .editorial-figure img{filter:grayscale(1) sepia(.25);border:12px solid white;box-shadow:0 10px 35px #54432b23;transform:rotate(-.6deg)}
body[data-section="about"] .side-box{border-top-color:#a68554;background:#f2eee5}
body[data-section="about"] .history{margin:55px 0;padding-top:12px}
body[data-section="about"] .history article{border-bottom:1px solid #ddd4be;padding-bottom:27px;margin-bottom:20px}
body[data-section="about"] .history time{font-size:2.8rem;color:#80613e}
body[data-section="about"] .history-photos{grid-template-columns:1.2fr .8fr;align-items:start}
body[data-section="about"] .history-photos figure:nth-child(2){margin-top:44px}
body[data-section="about"] .archival{filter:grayscale(1) sepia(.2)}
/* Science programs: field photography, asymmetric image hierarchy and environmental tone */
body[data-section="work"]{--pine:#153c31;--leaf:#325b45;--ivory:#fafbf7}
body[data-section="work"] .page-hero{min-height:430px}
body[data-section="work"] .page-hero:not(.image){background:#e4ece2}
body[data-section="work"] .page-hero:not(.image):before{inset:0 0 0 53%;opacity:.92;background:var(--section-photo) center/cover}
body[data-section="work"] .page-hero:not(.image):after{background:linear-gradient(90deg,#e4ece2 0%,transparent 65%);inset:0;border:0;box-shadow:none;width:auto;height:auto;border-radius:0}
body[data-section="work"] .body-copy>section:nth-of-type(2n){background:#e6eee7}
body[data-section="work"] .editorial-figure img{height:440px;clip-path:polygon(0 0,100% 0,100% 93%,0 100%)}
body[data-section="work"] .side-box{border-top-color:#4b7957}
/* Regional pages: travel-book geography with an atlas eyebrow */
body[data-section="where"] .page-hero{background:#153e43;color:#f4f8f3;min-height:410px}
body[data-section="where"] .page-hero:not(.image):before{opacity:.45;filter:saturate(.7)}
body[data-section="where"] .page-hero:not(.image):after{width:auto;height:auto;border:0;box-shadow:none;inset:0;border-radius:0;background:linear-gradient(90deg,#0b373be8 0%,#0d3943c4 58%,#17444d78 100%)}
body[data-section="where"] .page-hero .kicker{color:#dcbd86}
body[data-section="where"] .page-hero h1{color:#fff}
body[data-section="where"] .page-hero p{color:#e0eee9}
body[data-section="where"] .editorial-figure{margin-inline:0!important}
body[data-section="where"] .editorial-figure img{border-radius:0 90px 0 0}
body[data-section="where"] .body-copy>section:nth-of-type(2n){background:#ebf1ed;border-left-color:#8faea7}
/* Careers: distinct navy/ochre recruitment design; practical navigation */
body[data-section="careers"]{--pine:#203b52;--leaf:#a36c39;--ink:#172b39;--line:#d3dde0;--ivory:#f9fafb}
body[data-section="careers"] .page-hero{background:#173b56;color:white;min-height:375px}
body[data-section="careers"] .page-hero:not(.image):before{opacity:.4;filter:saturate(.6)}
body[data-section="careers"] .page-hero:not(.image):after{background:linear-gradient(100deg,#122e43e8,#15364db8,transparent);inset:0;width:auto;height:auto;border:0;border-radius:0;box-shadow:none}
body[data-section="careers"] .page-hero .kicker{color:#f1c48d}
body[data-section="careers"] .page-hero h1,body[data-section="careers"] .page-hero p{color:white}
body[data-section="careers"] .body-copy>section:nth-of-type(2n){background:#e7eff2;border-left-color:#d6ac72}
body[data-section="careers"] .editorial-figure img{border-radius:130px 0 0 0}
body[data-section="careers"] .side-box{background:#e8f0f2;border-top-color:#c18c57}
.career-callout{margin-top:25px;border:1px solid #b5c9d1;padding:20px;background:white}.career-callout span{font-weight:700;font-size:.67rem;letter-spacing:.17em;color:#a06d3c}.career-callout p{font-size:.81rem;line-height:1.6}.career-callout a{font-weight:700;padding:8px 0;color:#29495e}
/* Research: academic paper/reference style rather than full-bleed hero */
body[data-section="research"]{--pine:#344a4c;--leaf:#5f7272;--ivory:#f6f6f2}
body[data-section="research"] .page-hero{min-height:270px;background:#e8eae5;border-top:8px solid #405958;border-bottom:1px solid #afbcb5}
body[data-section="research"] .page-hero:not(.image):before{opacity:.08;filter:grayscale(1)}
body[data-section="research"] .page-hero h1{font-size:clamp(2.5rem,4.8vw,4.7rem)}
body[data-section="research"] .body-copy{background:#fff;border:1px solid #d6ded8;padding:clamp(22px,4vw,52px);box-shadow:0 10px 25px #101e2010}
body[data-section="research"] .body-copy h2{font-size:1.85rem;border-bottom:1px solid #bdc8c2;padding-bottom:14px}
body[data-section="research"] .body-copy>section:nth-of-type(2n){background:transparent;border-left:0;padding:0}
body[data-section="research"] .editorial-figure img{height:260px;object-fit:cover;filter:saturate(.7)}
body[data-section="research"] .side-box{background:#e9ece9;border-top-color:#526d6c}
/* News: newspaper/magazine masthead, actual images in listing and variable article leads */
body[data-section="news"]{--ink:#292923;--pine:#252e2b;--leaf:#836b47;--ivory:#fffdf9;--line:#e3ddd0}
body[data-section="news"] .page-hero{background:#faf7ef;min-height:260px;border-bottom:4px double #b6a98c}
body[data-section="news"] .page-hero:before{display:none}
body[data-section="news"] .page-hero:after{content:"WF / THE WRENFIELD REVIEW";font:700 .68rem Arial,sans-serif;letter-spacing:.28em;position:absolute;right:5vw;top:22px;width:auto;height:auto;border:0;box-shadow:none;color:#b19975}
body[data-section="news"] .page-hero h1{font-size:clamp(2.75rem,5.3vw,5.4rem);max-width:1050px}
body[data-section="news"] .page-hero p{font:1.1rem/1.8 Georgia,serif}
body[data-section="news"] .row-link{grid-template-columns:120px 142px minmax(0,1fr) 25px;padding-block:24px;gap:22px}
body[data-section="news"] .news-thumb{width:142px;height:104px;object-fit:cover;filter:saturate(.8)}
body[data-section="news"] .row-link h3{font-size:1.43rem}
body[data-section="news"] .row-link:nth-child(5n+1) h3{font-size:1.65rem}
body[data-section="news"] .editorial-news-article .page-hero{min-height:250px}
body.editorial-news-article .page-grid{grid-template-columns:minmax(0,890px) 240px}
body.editorial-news-article .body-copy{font-family:Georgia,serif}
body.editorial-news-article .body-copy>.lead{font-size:1.5rem;line-height:1.6}
body.editorial-news-article .body-copy figure img{max-height:520px;aspect-ratio:16/9}
body.editorial-news-article .body-copy>section:nth-of-type(2n){background:transparent;border:0;padding:0}
body[data-section="news"] .listing .rows{border-top:3px solid #8e8574}
/* Contact: intentionally quiet service-desk layout */
body[data-section="contact"]{--pine:#304b56;--leaf:#607981}
body[data-section="contact"] .page-hero{min-height:265px;background:#e9edf0}
body[data-section="contact"] .page-hero:not(.image):before{opacity:.11}
body[data-section="contact"] .body-copy>section:nth-of-type(2n){background:#edf1f2;border-left-color:#90a7ae}
@media(max-width:900px){body[data-section="work"] .page-hero:not(.image):before{inset:0;opacity:.12}body[data-section="work"] .page-hero:not(.image):after{display:none}}
@media(max-width:660px){.page-hero:not(.image){min-height:270px!important}body[data-section="news"] .row-link{grid-template-columns:75px 90px minmax(0,1fr);gap:10px}body[data-section="news"] .row-link>span:last-child{display:none}body[data-section="news"] .news-thumb{width:90px;height:80px}body[data-section="news"] .row-link h3{font-size:1.05rem}body[data-section="news"] .row-link p{display:none}.editorial-figure{margin-inline:0!important}body[data-section="research"] .body-copy{padding:22px}.history-photos{grid-template-columns:1fr!important}.history-photos figure:nth-child(2){margin-top:0!important}}
