/* A shared reading frame for the homepage and Atlas invitation. */
:is(.faculty-page,.atlas-page) .sheet {
  max-width: 84rem;
  padding: clamp(1.25rem,2vw,1.5rem) clamp(1.25rem,5vw,4.5rem) 1rem;
}
:is(.faculty-page,.atlas-page) .masthead {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
  gap: 1rem;
  padding: 0 0 1.25rem;
  border-bottom: 1px solid var(--line);
}
:is(.faculty-page,.atlas-page) .wordmark {font-size:1.25rem;gap:.8rem;min-height:44px}
:is(.faculty-page,.atlas-page) .brand-mark {font-size:2.6rem;width:2.2rem;height:2.25rem}
:is(.faculty-page,.atlas-page) .footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:.25rem 2rem;
  border-top:1px solid var(--line);
  margin-top:0;
  padding-top:.75rem;
}
:is(.faculty-page,.atlas-page) .footer nav,
:is(.faculty-page,.atlas-page) .footer-links {display:flex;flex-wrap:wrap;gap:.25rem 1.5rem;align-items:center;justify-content:flex-start}
:is(.faculty-page,.atlas-page) .footer a {display:inline-flex;align-items:center;min-height:44px;font-size:.875rem;line-height:1.35;margin:0;padding:.5rem 0}
:is(.faculty-page,.atlas-page) .footer nav a[aria-current] {color:var(--blue);text-decoration:underline;text-underline-offset:6px}
:is(.faculty-page,.atlas-page) .footer .contact {padding:0}

/* Let short screens and enlarged text flow instead of compressing the reading. */
html:has(>body.faculty-page) {height:auto;overflow:auto}
.faculty-page {height:auto;min-height:100svh;overflow:visible}
.faculty-page .sheet {height:auto;min-height:100svh;grid-template-rows:auto 1fr auto}
.faculty-page main:has(.home) {padding:clamp(2.5rem,7vh,4.5rem) 0;align-items:center}
.faculty-page .home {display:block;max-width:none}
.faculty-page .thought-sequence {display:flex;flex-direction:column}
.faculty-page .thought-stage {width:100%}
.faculty-page .home h1 {font-size:clamp(2.25rem,5.6vw,5.25rem);line-height:1.1;letter-spacing:-.03em;max-width:24ch;min-height:0}
.faculty-page .thought-toolbar {display:block;max-width:none;margin-top:1.75rem;padding-top:.6rem}
.faculty-page .thought-toolbar .thought-actions {display:flex;justify-content:space-between;gap:1.5rem;min-height:44px}
.faculty-page .thought-toolbar .response-cluster {display:block}
.faculty-page .thought-toolbar .response-actions,
.faculty-page .thought-toolbar .collection-actions {display:flex;gap:1.5rem;align-items:center}
.faculty-page .thought-toolbar .thought-control {font-size:.9375rem;min-height:44px;padding:.5rem 0;white-space:nowrap}
.faculty-page .thought-toolbar #agree-thought,.faculty-page .thought-toolbar #reject-thought {width:auto;justify-content:flex-start}
.faculty-page .thought-toolbar #open-contribution {width:auto;min-height:44px;padding:.65rem 1rem}
.faculty-page .home-context {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:1.5rem;margin-top:2rem;max-width:none}
.faculty-page .faculty-meaning {font:400 1rem/1.6 var(--sans);letter-spacing:0;max-width:52ch}
.faculty-page .faculty-meaning>span {display:block;max-width:none;text-wrap:pretty}
.faculty-page .home-context .home-note {display:block;width:auto;margin:0;font-size:.875rem;line-height:1.6;color:var(--quiet)}
.faculty-page .home-note a {padding:0}
.faculty-page dialog {overflow-y:auto;max-height:calc(100dvh - 2rem)}

@media(max-width:700px) {
  :is(.faculty-page,.atlas-page) .sheet {padding:1.25rem 6% .75rem}
  :is(.faculty-page,.atlas-page) .masthead {min-height:3.75rem;padding-bottom:1rem}
  :is(.faculty-page,.atlas-page) .wordmark {font-size:1.125rem;gap:.65rem}
  :is(.faculty-page,.atlas-page) .brand-mark {font-size:2.4rem;width:2rem;height:2rem}
  .faculty-page .domain {display:none}
  :is(.faculty-page,.atlas-page) .footer {display:block;padding-top:.65rem}
  :is(.faculty-page,.atlas-page) .footer nav {display:grid;grid-template-columns:1fr 1fr;gap:0 1rem}
  :is(.faculty-page,.atlas-page) .footer nav a {justify-self:start;font-size:.875rem}
  :is(.faculty-page,.atlas-page) .footer nav a:nth-child(even) {justify-self:end}
  :is(.faculty-page,.atlas-page) .footer-links {display:flex;justify-content:space-between;gap:1rem;padding-top:.25rem}
  :is(.faculty-page,.atlas-page) .footer-links a {font-size:.8125rem}
  .faculty-page main:has(.home) {padding:2.25rem 0}
  .faculty-page .home h1 {font-size:clamp(2.25rem,5.6vw,5.25rem);line-height:1.13;max-width:25ch}
  .faculty-page .thought-toolbar {margin-top:1.5rem;padding-top:.5rem}
  .faculty-page .thought-toolbar .thought-actions {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem 1rem}
  .faculty-page .thought-toolbar .response-cluster,
  .faculty-page .thought-toolbar .response-actions,
  .faculty-page .thought-toolbar .collection-actions {display:contents}
  .faculty-page .thought-toolbar .thought-control {font-size:1rem;justify-self:stretch;justify-content:center}
  .faculty-page .thought-toolbar #agree-thought,.faculty-page .thought-toolbar #reject-thought {width:100%;justify-content:center}
  .faculty-page .thought-toolbar .collection-actions a {margin:0;justify-content:center}
  .faculty-page .thought-toolbar #open-contribution {grid-column:1/-1;width:100%;min-height:48px;padding:.5rem 1rem}
  .faculty-page .home-context {grid-template-columns:1fr;gap:.75rem;margin-top:1.75rem}
  .faculty-page .faculty-meaning {font-size:.9375rem;line-height:1.6;max-width:39ch}
  .faculty-page .home-note a {display:inline-flex;align-items:center;min-height:44px}
}
@media(max-width:359px) {
  .faculty-page .thought-toolbar .thought-actions {gap:.5rem}
}
@media(min-width:480px) and (max-width:700px) {
  :is(.faculty-page,.atlas-page) .footer nav {display:flex;justify-content:space-between;gap:0 1rem}
}
@media(max-height:500px) {
  .faculty-page main:has(.home) {padding:1.25rem 0}
  .faculty-page .home h1 {font-size:clamp(2rem,4.5vw,3rem)}
}
@media(max-height:500px) and (min-width:480px) {
  .faculty-page .thought-toolbar {margin-top:1.25rem}
  .faculty-page .thought-toolbar .thought-actions {display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:1rem}
  .faculty-page .thought-toolbar .response-cluster,
  .faculty-page .thought-toolbar .response-actions,
  .faculty-page .thought-toolbar .collection-actions {display:contents}
  .faculty-page .thought-toolbar #open-contribution {grid-column:auto;width:auto;min-height:44px}
  .faculty-page .home-context {margin-top:1.25rem}
}
@media print {
  .faculty-page .sheet {height:auto;min-height:0;padding:0}
  .faculty-page .masthead,.faculty-page .footer,.faculty-page .thought-toolbar {display:none}
  .faculty-page main:has(.home) {padding:0}
  .faculty-page .home h1 {font-size:2.5rem}
}
