/* Shared typography and colours; page-specific layouts retain their own rules. */
@font-face{font-family:"IM FELL English";src:url('/fonts/im-fell-english-400-normal.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"IM FELL English";src:url('/fonts/im-fell-english-400-italic.ttf') format('truetype');font-weight:400;font-style:italic;font-display:swap}
:root{--paper:#f4f0e5;--paper-light:#fbf8ef;--paper-dark:#e9e3d5;--paper-deep:#e9e3d5;--ink:#263329;--green:#243b2e;--green-2:#365241;--muted:#656d63;--rust:#76513f;--rust-dark:#76513f;--line:rgba(38,51,41,.25);--line-soft:rgba(38,51,41,.13);--olive-950:#243b2e;--olive-900:#243b2e;--olive-800:#365241;--olive-700:#526851;--olive-500:#7f8c7b;--olive-200:#d4dacd;--serif:"EB Garamond",Garamond,Georgia,serif;--sans:var(--serif);--mono:var(--serif);--display:"IM FELL English",Garamond,Georgia,serif}
body{background-color:var(--paper);background-image:none;color:var(--ink);font-family:var(--serif)}
main h1,main h2,main h3{font-family:var(--display);font-weight:400}
.portrait-head h1 .taxon-genus{font-family:var(--serif)}
.portrait-head h1 .taxon-epithet{font-family:var(--display)}
.wordmark>span{font-family:var(--display)}
.wordmark small,.wordmark small span{font-family:var(--serif);font-size:.62rem;line-height:1.3;letter-spacing:.13em}
.wordmark .copy-en{display:none}
html[lang="en"] .wordmark .copy-de{display:none}
html[lang="en"] .wordmark .copy-en{display:inline}
.site-header{background:var(--paper);background-image:none;box-shadow:none}
.site-header .mast>*{min-width:0}
.site-header .mast nav{max-width:100%}
.site-header .wordmark{flex-shrink:0}
.site-header .lang,.header-tools{flex-shrink:0}
.subpage-head h1,.taxonomy-head h1{font-size:clamp(2.5rem,5vw,4.4rem);line-height:1.15}
.portrait-head h1{font-size:clamp(3rem,6vw,5.6rem);line-height:1.05}
.shelf-heading h2,.species-index-head h2,.society-card h2,.genus-grid h3{font-size:clamp(1.9rem,3.3vw,3rem);line-height:1.2}
.portrait-grid h2{font-size:clamp(1.8rem,3vw,2.45rem);line-height:1.2}
.accepted-name,.reference-list,.habitat-facts dd{line-height:1.55}
.portrait-grid>section{min-width:0;overflow-wrap:break-word}
.family-card,.archive-card,.book-card,.species-entry,.collection-item{box-shadow:none}
.text-link{font-size:.88rem;letter-spacing:.02em}
.photo-archive-grid img,.plant-gallery img{aspect-ratio:1;object-fit:cover}
.herbarium-sheet img{height:auto;filter:none}
.photo-archive-grid figcaption,.plant-gallery figcaption,.landscape-grid figcaption{line-height:1.4}
.standalone-key .site-header{border-top:0}
.standalone-key .title-block h1{font:400 clamp(2.5rem,5vw,4rem)/1.1 var(--display)}
.standalone-key .title-block h1::after{display:none}
.standalone-key .section-heading h2{font-family:var(--display);font-weight:400}
.standalone-key .field-stamp{transform:none}
.standalone-key main{box-shadow:none}
.standalone-key .key-console,.standalone-key .choice,.standalone-key .decision-card,.standalone-key .taxon-card{box-shadow:none}
.standalone-key .mode-note,.standalone-key .choice small{line-height:1.45}
.legal-page{max-width:850px}
.legal-page h2{font-size:1.65rem;margin-top:2rem}
.legal-page>p{max-width:70ch}
@media(max-width:1150px){body:not(.standalone-key) .site-header .mast{grid-template-columns:minmax(0,1fr) auto;gap:12px}body:not(.standalone-key) .site-header .mast nav{order:3;grid-column:1/-1;justify-content:flex-start;overflow-x:auto;border-top:1px solid var(--line-soft);gap:22px}body:not(.standalone-key) .site-header .mast nav a{padding:12px 0 10px}body:not(.standalone-key) .header-tools{grid-column:2;grid-row:1}}
@media(max-width:720px){.subpage-head h1{font-size:clamp(2.3rem,8vw,3.3rem)}.portrait-head h1{font-size:clamp(2.7rem,10vw,4rem)}.wordmark small,.wordmark small span{font-size:.54rem}.portrait-grid>section{padding:25px 21px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

/* v107 collection introductions */
.collection-editorial .subpage-head{margin-bottom:40px}
.genus-introduction{max-width:760px;margin:50px 0 30px}
.genus-introduction h2{font-size:2.25rem;margin:0 0 20px}
.genus-introduction p,.collection-editorial>p{font-size:1.15rem;line-height:1.65}
.editorial-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin:30px 0 45px}
.editorial-gallery>figure:only-child{grid-column:1/-1;max-width:850px}
.editorial-gallery figure{margin:0;min-width:0}
.editorial-gallery img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover}
.editorial-gallery .zoom-photo{display:block;cursor:zoom-in}
.editorial-gallery figcaption{font-size:.98rem;line-height:1.45;margin-top:12px}
.editorial-gallery figcaption small{display:block;font-size:.8rem;color:var(--muted);margin-top:7px}
.culture-section{border-top:1px solid var(--line-soft);padding-top:30px;margin-top:50px}
.culture-section h2,.taxa-section h2{font-size:2rem}
.culture-section .editorial-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}
.culture-section img{aspect-ratio:1}
.taxa-section{padding:35px 0;border-top:1px solid var(--line-soft);margin-top:35px}
.taxa-list{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 34px;padding:0}
.taxa-list li{border-bottom:1px solid var(--line-soft);padding:12px 0;line-height:1.4}
.taxa-list a{text-decoration:none;font-size:1.13rem}
.taxa-list a:hover{text-decoration:underline;text-underline-offset:4px}
.genus-nav,.library-categories{display:flex;flex-wrap:wrap;gap:12px 28px;padding:18px 0;border-block:1px solid var(--line-soft);margin:24px 0}
.taxonomy-details{margin:20px 0 55px;border-block:1px solid var(--line-soft);padding:18px 0}
.taxonomy-details summary{cursor:pointer;font-size:1.2rem}
.taxonomy-details .adenium-taxonomy-note{margin-top:25px}
.limifolia-focus{padding:28px 32px;background:var(--paper-dark);margin:40px 0}
.limifolia-focus h2{font-size:2rem}
.limifolia-focus p{max-width:70ch;line-height:1.6}
.group-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 36px}
.group-card{min-width:0}
.group-card>a{display:block;text-decoration:none}
.group-card img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block;margin-bottom:22px}
.group-card h2{font-size:2rem;line-height:1.2;margin:10px 0}
.group-card p{line-height:1.5;margin:12px 0}
.group-card>a>small{font-size:.75rem;letter-spacing:.1em;color:var(--muted)}
.group-card a:hover h2{text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
.group-card .card-credit{font-size:.78rem;color:var(--muted);line-height:1.4;margin-top:18px}
.all-species-link{margin:45px 0 10px;padding:25px 0;border-top:1px solid var(--line)}
.group-reference{font-size:.95rem!important;border-top:1px solid var(--line-soft);padding-top:20px;margin-top:30px}
.glossary-controls{margin:30px 0}
.glossary-controls label{display:block;margin-bottom:8px;font-size:1.1rem}
.glossary-controls input{background:var(--paper-light);border:1px solid var(--line);padding:12px;font:inherit;width:min(100%,500px)}
.glossary-controls nav{display:flex;flex-wrap:wrap;gap:16px;margin:20px 0}
.glossary-grid article{scroll-margin-top:180px}
.glossary-grid article[hidden]{display:none}
.socotra-intro{margin-top:40px;padding-top:24px;border-top:1px solid var(--line-soft)}
.socotra-intro p{max-width:75ch;line-height:1.65}
.socotra-intro .editorial-gallery img{aspect-ratio:16/9}
.habitat-credits{max-width:1000px;margin:45px auto}
@media(max-width:700px){.group-cards{grid-template-columns:1fr;gap:36px}.editorial-gallery{grid-template-columns:1fr;gap:25px}.culture-section .editorial-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.taxa-list{grid-template-columns:1fr}.group-card h2{font-size:1.8rem}.genus-introduction{margin-top:35px}.limifolia-focus{padding:24px}.editorial-gallery>figure:only-child{max-width:100%}}

.collection-editorial .genus-nav a{padding:8px 0;font-size:1rem}.collection-editorial .genus-nav{margin:20px 0;padding:8px 0}.collection-editorial section[id]{scroll-margin-top:160px}

@media(max-width:720px){.subpage-head{grid-template-columns:minmax(0,1fr);gap:20px;padding-bottom:26px}.subpage-head .lead{max-width:100%;font-size:1.12rem}.collection-editorial .subpage-head{margin-bottom:28px}.collection-editorial{padding-top:35px}}
