/* Five English-first layouts over the shared, accessible portal components. */
.theme-eng-folio,.theme-eng-lumen,.theme-eng-fieldnote,.theme-eng-studio,.theme-eng-directory{--input-radius:5px}
.theme-eng-folio .top-nav a,.theme-eng-lumen .top-nav a,.theme-eng-fieldnote .top-nav a,.theme-eng-studio .top-nav a,.theme-eng-directory .top-nav a{font-size:14px}
.theme-eng-folio .story-copy p,.theme-eng-lumen .story-copy p,.theme-eng-fieldnote .story-copy p,.theme-eng-studio .story-copy p,.theme-eng-directory .story-copy p{font-size:16px}

/* Folio: restrained black-and-ivory newspaper, centered masthead and wide feature. */
.theme-eng-folio{--bg:#f6f2e8;--paper:#fffdf7;--ink:#20201d;--muted:#57564f;--line:#bab7aa;--accent:#ae3c2d;--accent-ink:#fff;--header:#f6f2e8;--header-ink:#20201d;--hero:#f6f2e8;--hero-ink:#20201d;--hero-muted:#57564f;--hero-accent:#ae3c2d;--soft:#e9e5dc;--radius:0;--mark-radius:0;--shadow:none;--card-shadow:none}
.theme-eng-folio .site-header{border-bottom:4px double var(--ink)}
.theme-eng-folio .header-inner{max-width:1380px;display:grid;grid-template-columns:1fr auto;gap:10px 24px;padding-top:28px;padding-bottom:18px}
.theme-eng-folio .brand{font:700 30px/1.1 Georgia,serif;letter-spacing:-.04em}
.theme-eng-folio .brand-mark{font:700 24px/1 Georgia,serif}
.theme-eng-folio .top-nav{grid-column:1;grid-row:2;margin:0;gap:30px}
.theme-eng-folio .language-menu{grid-column:2;grid-row:1/3}
.theme-eng-folio .hero-inner{max-width:1380px;display:block;padding-top:48px}
.theme-eng-folio .hero-copy{max-width:920px;margin-bottom:38px}
.theme-eng-folio .hero h1{font-size:clamp(56px,6vw,100px);max-width:900px}
.theme-eng-folio .lead-card{display:grid;grid-template-columns:1.08fr .92fr;border-top:4px solid var(--ink)}
.theme-eng-folio .lead-image{height:420px}
.theme-eng-folio .lead-copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(28px,4vw,65px)}
.theme-eng-folio .story-section{max-width:1380px;border-top:1px solid var(--ink)}
.theme-eng-folio .story-card{border:0;border-top:2px solid var(--ink);background:transparent}
.theme-eng-folio .story-image{height:205px}
.theme-eng-folio .story-copy{padding:19px 0 20px}

/* Lumen: luminous cyan on midnight, a high-contrast technology journal. */
.theme-eng-lumen{color-scheme:dark;--bg:#081922;--paper:#102a35;--ink:#e8f9f6;--muted:#b4d1d4;--line:#345564;--accent:#65e8d5;--accent-ink:#06242c;--header:#06131b;--header-ink:#f2fffc;--hero:#0e313d;--hero-ink:#fff;--hero-muted:#c4e5e4;--hero-accent:#71ebda;--soft:#164453;--radius:15px;--mark-radius:12px;--shadow:0 24px 50px #0007;--card-shadow:0 14px 28px #0003}
.theme-eng-lumen .site-header{border-bottom:1px solid #65e8d566}
.theme-eng-lumen .hero{background-image:radial-gradient(circle at 83% 6%,#42d6cc55,transparent 34%),linear-gradient(125deg,#091e2a,#154b56)}
.theme-eng-lumen .hero-inner{min-height:610px;grid-template-columns:1.12fr .88fr}
.theme-eng-lumen .hero h1{font-family:system-ui,sans-serif;font-weight:850;letter-spacing:-.06em}
.theme-eng-lumen .lead-card{border:1px solid #68d8cc77;transform:rotate(1deg);box-shadow:0 25px 60px #0008}
.theme-eng-lumen .lead-image{height:320px}
.theme-eng-lumen .story-section{padding-top:84px}
.theme-eng-lumen .story-card{background:linear-gradient(145deg,#173744,#0c2530);border-color:#3a6771}
.theme-eng-lumen .story-card:nth-child(3n+2){transform:translateY(14px)}
.theme-eng-lumen .story-image{height:215px}
.theme-eng-lumen .section-title{border-color:#65e8d577}

/* Fieldnote: botanical field guide with a photographic cover and ruled entries. */
.theme-eng-fieldnote{--bg:#e8eee5;--paper:#fcfff8;--ink:#1d3a2e;--muted:#526a5d;--line:#b7ccbc;--accent:#356f50;--accent-ink:#fff;--header:#163e2e;--header-ink:#f4fff3;--hero:#d8e7d5;--hero-ink:#173d2b;--hero-muted:#476b50;--hero-accent:#296f48;--soft:#cfdfcc;--radius:3px;--mark-radius:50%;--shadow:none;--card-shadow:none}
.theme-eng-fieldnote .site-header{border-bottom:6px solid #a5c6a1}
.theme-eng-fieldnote .hero{background-image:repeating-linear-gradient(0deg,transparent 0 39px,#356f500c 39px 40px)}
.theme-eng-fieldnote .hero-inner{grid-template-columns:.83fr 1.17fr;gap:70px}
.theme-eng-fieldnote .hero h1{font:500 clamp(54px,5.5vw,86px)/1.05 Georgia,serif}
.theme-eng-fieldnote .lead-card{position:relative;min-height:530px;overflow:hidden;border:8px solid #fbfff4}
.theme-eng-fieldnote .lead-image{position:absolute;inset:0;height:100%}
.theme-eng-fieldnote .lead-image img{filter:saturate(.84)}
.theme-eng-fieldnote .lead-copy{position:absolute;inset:auto 0 0;padding:55px 32px 30px;color:#fff;background:linear-gradient(transparent,#123725ee 42%)}
.theme-eng-fieldnote .lead-copy p,.theme-eng-fieldnote .lead-label,.theme-eng-fieldnote .lead-copy .image-credit{color:#f2fff2}
.theme-eng-fieldnote .story-card{border:0;border-bottom:3px solid var(--accent);background:transparent}
.theme-eng-fieldnote .story-image{height:225px}
.theme-eng-fieldnote .story-copy{padding:16px 7px 23px}
.theme-eng-fieldnote .story-number{letter-spacing:.22em}

/* Studio: airy peach-and-rose magazine with bold typography and soft surfaces. */
.theme-eng-studio{--bg:#fff6f2;--paper:#fff;--ink:#482b39;--muted:#795f69;--line:#efd2d9;--accent:#be3d62;--accent-ink:#fff;--header:#fffaf7;--header-ink:#4a2939;--hero:#fae2df;--hero-ink:#482b39;--hero-muted:#745662;--hero-accent:#a6385b;--soft:#f6d9de;--radius:26px;--mark-radius:16px;--shadow:0 22px 45px #9b49602b;--card-shadow:0 10px 24px #b54a621c}
.theme-eng-studio .site-header{border-bottom:1px solid #edbccb}
.theme-eng-studio .hero{background-image:radial-gradient(circle at 4% 12%,#fff9 0 13%,transparent 13.2%),radial-gradient(circle at 90% 94%,#e7a4b666 0 20%,transparent 20.2%)}
.theme-eng-studio .hero-inner{grid-template-columns:.9fr 1.1fr;gap:65px}
.theme-eng-studio .hero h1{font-size:clamp(52px,5.8vw,91px);font-style:italic;font-weight:500}
.theme-eng-studio .lead-card{border-radius:120px 24px 24px 24px;overflow:hidden}
.theme-eng-studio .lead-image{height:410px}
.theme-eng-studio .story-grid{gap:24px}
.theme-eng-studio .story-card:nth-child(3n+1){border-radius:50% 50% 24px 24px}
.theme-eng-studio .story-card:nth-child(3n+1) .story-image{height:245px;border-radius:50% 50% 0 0}
.theme-eng-studio .story-copy h3{font-style:italic}

/* Directory: a true desktop side-rail and compact, scannable reference cards. */
.theme-eng-directory{--bg:#f0f4f8;--paper:#fff;--ink:#20344f;--muted:#5b7085;--line:#cad6e2;--accent:#3469aa;--accent-ink:#fff;--header:#173551;--header-ink:#f7fbff;--hero:#dce9f6;--hero-ink:#1a3a5b;--hero-muted:#55718d;--hero-accent:#356dae;--soft:#d8e6f3;--radius:7px;--mark-radius:7px;--shadow:none;--card-shadow:none}
.theme-eng-directory .page-shell{display:grid;grid-template-columns:218px minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}
.theme-eng-directory .site-header{grid-column:1;grid-row:1/3;position:sticky;top:0;align-self:start;height:100vh;border-right:4px solid #477bb0}
.theme-eng-directory .header-inner{height:100%;box-sizing:border-box;display:flex;flex-direction:column;align-items:stretch;gap:32px;padding:30px 17px}
.theme-eng-directory .brand{white-space:normal;line-height:1.18}
.theme-eng-directory .top-nav{display:flex;flex-direction:column;margin:0;gap:6px}
.theme-eng-directory .top-nav a{padding:10px;border-bottom:1px solid #ffffff2b}
.theme-eng-directory .language-menu{margin-top:auto}
.theme-eng-directory .language-options{left:0;right:auto}
.theme-eng-directory .page-shell>main{grid-column:2;grid-row:1;min-width:0}
.theme-eng-directory .site-footer{grid-column:2;grid-row:2}
.theme-eng-directory .hero-inner{max-width:1180px;grid-template-columns:.95fr 1.05fr;padding-top:54px;padding-bottom:54px;gap:26px}
.theme-eng-directory .hero h1{font:800 clamp(44px,4.5vw,72px)/1.05 system-ui,sans-serif}
.theme-eng-directory .lead-card{display:grid;grid-template-columns:45% 55%;align-items:stretch}
.theme-eng-directory .lead-image{height:100%;min-height:340px}
.theme-eng-directory .lead-copy{padding:25px;align-self:center}
.theme-eng-directory .story-section{max-width:1180px}
.theme-eng-directory .story-card{border-left:4px solid var(--accent)}
.theme-eng-directory .story-image{height:165px}
.theme-eng-directory .story-copy h3{font:750 21px/1.2 system-ui,sans-serif}

@media(max-width:1100px){
  .theme-eng-folio .lead-image{height:350px}
  .theme-eng-directory .page-shell{grid-template-columns:180px minmax(0,1fr)}
  .theme-eng-directory .hero-inner,.theme-eng-fieldnote .hero-inner,.theme-eng-studio .hero-inner{gap:28px}
}
@media(max-width:780px){
  .theme-eng-folio .header-inner{display:flex;flex-wrap:wrap}
  .theme-eng-folio .top-nav,.theme-eng-folio .language-menu{grid-column:auto;grid-row:auto}
  .theme-eng-folio .lead-card,.theme-eng-directory .lead-card{display:block}
  .theme-eng-folio .lead-image,.theme-eng-directory .lead-image{height:260px;min-height:0}
  .theme-eng-lumen .lead-card,.theme-eng-lumen .story-card:nth-child(3n+2){transform:none}
  .theme-eng-fieldnote .hero-inner,.theme-eng-studio .hero-inner,.theme-eng-directory .hero-inner{grid-template-columns:1fr}
  .theme-eng-directory .page-shell{display:flex}
  .theme-eng-directory .site-header{position:relative;height:auto;border-right:0;border-bottom:3px solid #477bb0}
  .theme-eng-directory .header-inner{height:auto;flex-direction:row;align-items:center;flex-wrap:wrap;padding:15px 20px;gap:14px}
  .theme-eng-directory .top-nav{order:3;width:100%;flex-direction:row;justify-content:space-between}
  .theme-eng-directory .top-nav a{border:0;padding:4px}
  .theme-eng-directory .language-menu{margin-left:auto;margin-top:0}
  .theme-eng-directory .language-options{left:auto;right:0}
}
@media(max-width:580px){
  .theme-eng-folio .brand{font-size:23px}
  .theme-eng-folio .hero h1,.theme-eng-studio .hero h1{font-size:clamp(42px,10vw,58px)}
  .theme-eng-folio .lead-card,.theme-eng-fieldnote .lead-card{min-height:0}
  .theme-eng-fieldnote .lead-card{min-height:370px}
  .theme-eng-fieldnote .lead-copy{padding:40px 20px 20px}
  .theme-eng-studio .lead-card{border-radius:70px 20px 20px 20px}
  .theme-eng-studio .story-card:nth-child(3n+1){border-radius:26px}
  .theme-eng-studio .story-card:nth-child(3n+1) .story-image{border-radius:0;height:190px}
}
