/* Showcase pages (2026-11-22): large type, short sentences, one idea per
   section, product pictures given room. First used on /atlas. A page that
   loads this file does not load entmoot.css. */
:root {
  /* the navy and blue of the first Entmoot site, on a light page */
  --ink: #16233a; --ink2: #46556e; --muted: #68778f; --bg: #ffffff; --band: #f3f5f9; --line: #d8deea;
  --night: #070b14; --night2: #0f1a2e; --on-night: #e9eef7; --on-night2: #a6b4cc;
  --blue: #2563af; --blue-bright: #4e8fe0; --blue-deep: #12305c;
  --accent: #2563af; --accent-night: #4e8fe0; --gold: #c9a227;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 21px; line-height: 1.45; letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.in { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }

/* nav */
.snav { position: sticky; top: 0; z-index: 20; background: rgba(7, 11, 20, .88); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); }
.snav .in { display: flex; align-items: center; gap: 28px; height: 56px; }
.snav .brand { display: flex; align-items: center; gap: 10px; color: var(--on-night); font-weight: 600; font-size: 19px; margin-right: auto; }
.snav .brand img { height: 26px; width: auto; }
.snav a.l { color: var(--on-night); opacity: .82; font-size: 16px; }
.snav a.l:hover { opacity: 1; text-decoration: none; }
.pill { display: inline-block; border-radius: 980px; padding: 13px 26px; font-size: 19px; font-weight: 500; line-height: 1.2; background: var(--accent); color: #fff; }
.pill:hover { background: #2f74c9; text-decoration: none; }
.pill.small { padding: 8px 16px; font-size: 15px; }
.pill.line { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.night .pill.line { color: var(--accent-night); box-shadow: inset 0 0 0 1.5px var(--accent-night); }

/* type */
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.06; text-wrap: balance; }
h1 { font-size: clamp(52px, 9vw, 104px); }
h2 { font-size: clamp(38px, 5.6vw, 68px); }
h3 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.015em; line-height: 1.15; }
.eyebrow { font-size: 21px; font-weight: 600; color: var(--gold); margin: 0 0 14px; letter-spacing: 0; }
.big { font-size: clamp(22px, 2.5vw, 28px); line-height: 1.35; color: var(--ink2); margin: 22px auto 0; max-width: 30em; text-wrap: pretty; }
.night .big { color: var(--on-night2); }
p { margin: 0; }

/* sections */
section, header.hero { padding: clamp(72px, 11vw, 140px) 0; }
.center { text-align: center; }
.band { background: var(--band); }
.night { background: radial-gradient(1200px 600px at 50% -10%, #16345f 0%, #0b1322 55%, var(--night) 100%); color: var(--on-night); }
.blue { background: linear-gradient(160deg, #2563af 0%, #17437f 60%, #12305c 100%); color: #ffffff; }
.blue .big, .blue .nums span { color: #d5e3f7; }
.blue .pill { background: #ffffff; color: var(--blue); }
.night a:not(.pill) { color: var(--blue-bright); }
.blue a:not(.pill) { color: #ffffff; text-decoration: underline; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }
.hero { padding-bottom: 0 !important; }
.hero .shotwide { margin-top: clamp(48px, 7vw, 84px); }

/* pictures */
.shotwide { border-radius: 18px 18px 0 0; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .28); }
.shotwide.full { border-radius: 18px; }
.shotwide img { width: 100%; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(36px, 7vw, 96px); align-items: center; }
.split.flip { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); }
.split.flip .words { order: 2; }
.split .words .big { margin-left: 0; max-width: 22em; }
.phone { border-radius: 22px; overflow: hidden; height: min(660px, 130vw); box-shadow: 0 30px 80px rgba(7, 11, 20, .35); background: #0f1114; }
.phone.wide { height: auto; }
.phone.wide img { height: auto; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* numbers */
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px; }
.nums b { display: block; font-size: clamp(44px, 6vw, 76px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.nums span { display: block; margin-top: 10px; color: var(--ink2); font-size: 19px; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 56px; text-align: left; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--bg); border-radius: 24px; padding: 34px; }
.band .card { background: #fff; }
.card .tag { display: inline-block; font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.card .tag.live { color: #1a8f3c; }
.card p { color: var(--ink2); margin-top: 12px; font-size: 20px; }
.card .pill { margin-top: 24px; }
.card a.more { display: inline-block; margin-top: 16px; font-size: 19px; }

footer.sfoot { background: var(--band); color: var(--muted); font-size: 15px; padding: 26px 0; }
footer.sfoot .in { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer.sfoot a { color: var(--ink2); }

@media (max-width: 860px) {
  body { font-size: 19px; }
  .split, .split.flip { grid-template-columns: 1fr; text-align: center; }
  .split.flip .words { order: 0; }
  .split .words .big { margin: 22px auto 0; }
  .phone { max-width: 420px; margin: 0 auto; width: 100%; }
  .nums { grid-template-columns: repeat(2, 1fr); }
  .cards, .cards.three { grid-template-columns: 1fr; }
  .snav a.l.opt { display: none; }
  .snav .in { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* more pieces: lists, people, downloads */
.snav a.l.on { opacity: 1; }
.night .card { background: rgba(255, 255, 255, .06); color: var(--on-night); }
.night .card p { color: var(--on-night2); }
.night .card .tag { color: var(--blue-bright); }
.card .tag.blue-t { color: var(--blue); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.steps { counter-reset: st; }
.steps .card h3::before { counter-increment: st; content: counter(st); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 19px; margin-bottom: 16px; }
.steps .card img { border-radius: 14px; margin-bottom: 20px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; width: 100%; }
.person { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 32px; align-items: start; text-align: left; margin-top: 48px; }
.person img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; }
.person p { color: var(--ink2); margin-top: 10px; font-size: 20px; }
.contactline { font-size: clamp(24px, 3.4vw, 40px); font-weight: 600; margin-top: 26px; word-break: break-word; }

/* students: deadlines, events, reading list (class names are used by students.js) */
.soon-head, .res-head { font-size: 24px; font-weight: 600; margin: 48px 0 16px; text-align: left; }
.soon-head span { color: var(--muted); font-weight: 400; margin-left: 6px; }
.res-filter, .due-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 8px; justify-content: center; }
.res-chip { font: inherit; font-size: 17px; border: 0; border-radius: 980px; padding: 9px 18px; background: #e4e9f2; color: var(--ink); cursor: pointer; }
.res-chip span { color: var(--muted); margin-left: 4px; }
.res-chip[aria-pressed="true"] { background: var(--blue); color: #fff; }
.res-chip[aria-pressed="true"] span { color: #d5e3f7; }
.night .res-chip { background: rgba(255, 255, 255, .1); color: var(--on-night); }
.night .res-chip[aria-pressed="true"] { background: var(--blue-bright); color: #06101f; }
.due-month { margin-top: 26px; text-align: left; }
.due-mhead { font-size: 17px; font-weight: 600; color: var(--blue-bright); padding: 0 6px 8px; }
.due { display: grid; grid-template-columns: 52px 62px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 14px; border-radius: 18px; color: inherit !important; background: rgba(255, 255, 255, .05); margin-bottom: 8px; }
.due:hover { background: rgba(255, 255, 255, .1); text-decoration: none; }
.due-logo { width: 52px; height: 52px; border-radius: 12px; overflow: hidden; background: #fff; display: grid; place-items: center; color: var(--ink); font-weight: 600; font-size: 16px; }
.due-logo img { width: 100%; height: 100%; object-fit: contain; }
.due-date { text-align: center; font-size: 26px; font-weight: 600; line-height: 1; }
.due-date b { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-bright); margin-bottom: 4px; }
.due-main b { display: block; font-size: 20px; font-weight: 600; line-height: 1.25; }
.due-org { display: block; color: var(--on-night2); font-size: 17px; }
.due-note { display: block; color: var(--on-night2); font-size: 16px; margin-top: 2px; }
.due-left { font-size: 16px; color: var(--on-night2); white-space: nowrap; }
.due-left.hot { color: #ffb86b; font-weight: 600; }
.due-foot, .how-note { margin-top: 26px; font-size: 18px; color: var(--on-night2); }
section:not(.night) .how-note { color: var(--muted); }
.soon-more { margin-top: 26px; font: inherit; font-size: 19px; border: 0; cursor: pointer; border-radius: 980px; padding: 13px 26px; background: var(--blue); color: #fff; }
.ev-grid, .res-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; text-align: left; }
.ev, .res { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; color: var(--ink) !important; }
.night .ev { background: rgba(255, 255, 255, .06); color: var(--on-night) !important; }
.ev:hover, .res:hover { text-decoration: none; transform: translateY(-2px); transition: transform .15s; }
.ev-media, .res-media { aspect-ratio: 16 / 9; background: #dfe6f1; position: relative; display: grid; place-items: center; font-size: 34px; font-weight: 600; color: var(--blue); overflow: hidden; }
.ev-media img, .res-media img { width: 100%; height: 100%; object-fit: cover; }
.ev-date { position: absolute; left: 12px; top: 12px; background: #fff; color: var(--ink); border-radius: 12px; padding: 6px 10px; font-size: 20px; font-weight: 600; line-height: 1; text-align: center; }
.ev-date b { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 3px; }
.ev-body { padding: 20px 22px 24px; }
.res > :not(.res-media) { margin-left: 22px; margin-right: 22px; }
.res-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; font-size: 14px; }
.res-type { color: var(--blue); font-weight: 600; }
.res-lvl { background: #e4e9f2; border-radius: 980px; padding: 2px 10px; color: var(--ink2); }
.res-lvl.start { background: var(--gold); color: #1b1300; }
.ev h3, .res h3 { font-size: 22px; margin-top: 10px; }
.ev p, .res p { font-size: 17px; color: var(--ink2); margin-top: 8px; }
.night .ev p { color: var(--on-night2); }
.ev-when, .ev-by, .res-by { font-size: 16px; color: var(--muted); margin-top: 4px; }
.ev-live { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 600; color: #ffb86b; }
.ev-go, .res-go { margin-top: auto; padding: 16px 0 22px; font-size: 17px; color: var(--blue); font-weight: 500; }
.night .ev-go { color: var(--blue-bright); padding-bottom: 0; }
.res-warn { background: #fff6dd; border-radius: 16px; padding: 18px 22px; font-size: 17px; color: #4a3b0a; margin-bottom: 18px; text-align: left; }
.res-empty { color: var(--muted); }
.go-dialog { border: 0; border-radius: 24px; padding: 0; max-width: 520px; width: calc(100% - 32px); color: var(--ink); }
.go-dialog::backdrop { background: rgba(7, 11, 20, .6); }
.go-box { padding: 32px; }
.go-box p { margin-top: 12px; font-size: 18px; color: var(--ink2); }
.go-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.go-actions .btn { font: inherit; font-size: 18px; border: 0; border-radius: 980px; padding: 12px 22px; cursor: pointer; background: #e4e9f2; color: var(--ink); }
.go-actions .btn.solid { background: var(--blue); color: #fff; }
.soon-new { animation: sc-in .3s both; }
@keyframes sc-in { from { opacity: 0; transform: translateY(6px); } }
.soon-body.soon-grow { overflow: hidden; transition: height .35s ease; }
@media (max-width: 860px) {
  .cards.four, .ev-grid, .res-grid { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .due { grid-template-columns: 44px 50px minmax(0, 1fr); }
  .due-logo { width: 44px; height: 44px; }
  .due-left { grid-column: 3; }
}
@media (min-width: 861px) and (max-width: 1100px) { .cards.four { grid-template-columns: repeat(2, 1fr); } }
/* a wide screenshot beside the words gets more room than a tall one */
@media (min-width: 861px) {
  .split:has(.phone.wide) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split.flip:has(.phone.wide) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

/* home: the wall of logos under the headline, and a pale blue band */
.wall { margin-top: clamp(48px, 7vw, 84px); height: clamp(300px, 46vw, 660px); overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 100%); }
.wall img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.tint { background: #d6e3f7; }
/* students: the "Due in the next two months" heading is turned into a button by students.js; keep it heading-sized */
h2.soon-title { font-size: clamp(44px, 6.6vw, 84px); }
.soon-toggle { font: inherit; color: inherit; letter-spacing: inherit; line-height: inherit; background: none; border: 0; padding: 0; cursor: pointer; display: inline; text-align: center; text-wrap: balance; }
.soon-toggle .soon-chev { margin-left: .3em; vertical-align: middle; }
.soon-toggle .soon-chev, .soon-more .soon-chev { display: inline-block; width: .34em; height: .34em; border-right: .09em solid currentColor; border-bottom: .09em solid currentColor; transform: rotate(45deg) translateY(-.12em); opacity: .7; flex: none; }
.soon-more .soon-chev { margin-left: .6em; width: .5em; height: .5em; }
[aria-expanded="true"] > .soon-chev { transform: rotate(-135deg) translateY(-.05em); }

/* home: the filter animation under the second headline */
.shotwide.gif { max-width: 720px; margin: 32px auto 0; }
/* a section sized to fit one screen: smaller heading, less padding */
section.compact { padding: clamp(48px, 6vw, 80px) 0; }
.compact h2 { font-size: clamp(30px, 4vw, 48px); }
.compact .big { font-size: clamp(19px, 1.9vw, 23px); margin-top: 12px; }
