/* SESIL website, Notebook look (PP, 2026-11-04). Single light look by design. */
@font-face{font-family:"SESIL Pagella";src:url(fonts/texgyrepagella-regular.woff2) format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"SESIL Pagella";src:url(fonts/texgyrepagella-italic.woff2) format("woff2");font-style:italic;font-weight:400;font-display:swap}
@font-face{font-family:"SESIL Schola";src:url(fonts/texgyreschola-regular.woff2) format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"SESIL Schola";src:url(fonts/texgyreschola-italic.woff2) format("woff2");font-style:italic;font-weight:400;font-display:swap}
@font-face{font-family:"SESIL Schola";src:url(fonts/texgyreschola-bold.woff2) format("woff2");font-style:normal;font-weight:700;font-display:swap}

:root {
  color-scheme: light;
  --forest: #0B4A3F;
  --accent: #56706A;   /* sage: minor text */
  --rule: #2B6A56;     /* rules, diamonds, underlines */
  --ivory: #FBFAF4;
  --grid: #DCE8E1;
  --ink: #1C2B27;
  --muted: #56655F;
  --logo: #044C46;
  --todo: #F4EDD3;
  --display: "SESIL Pagella", "TeX Gyre Pagella", "Palatino Linotype", Palatino, "Book Antiqua", serif;
  --text: "SESIL Schola", "TeX Gyre Schola", "Century Schoolbook", "New Century Schoolbook", Georgia, serif;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --measure: 40rem;
  --cell: 24px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--text); font-size: 18px; line-height: 1.62; font-variant-numeric: lining-nums; font-kerning: normal; overflow-x: hidden; }
a { color: inherit; text-decoration-color: var(--rule); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-left: var(--gutter); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* Graph-paper sheet with the drawing under an ivory veil. */
.sheet { position: relative; overflow: hidden; background-color: var(--ivory);
  background-image: linear-gradient(rgba(11,74,63,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(11,74,63,.07) 1px, transparent 1px), linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: calc(var(--cell)*5) calc(var(--cell)*5), calc(var(--cell)*5) calc(var(--cell)*5), var(--cell) var(--cell), var(--cell) var(--cell);
  background-position: -1px -1px; }
.sheet .plate { position: absolute; z-index: 0; top: 34px; right: -16px; width: 640px; height: auto; opacity: .12; pointer-events: none; user-select: none; }
.sheet.small .plate { width: 420px; top: 10px; opacity: .10; }
.sheet::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(251,250,244,0) 72%, rgba(251,250,244,1) 100%), linear-gradient(90deg, rgba(251,250,244,.97) 0%, rgba(251,250,244,.93) 42%, rgba(251,250,244,.35) 100%); }
.sheet > .wrap { position: relative; z-index: 2; }

/* Masthead row */
.top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 26px; padding-bottom: 18px; border-bottom: 1px solid rgba(11,74,63,.28); }
.brand { display: block; width: 330px; flex: none; color: var(--logo); }
.brand svg { display: block; width: 100%; height: auto; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
nav a { font-family: var(--display); font-variant-caps: all-small-caps; font-size: 19px; letter-spacing: .12em; color: var(--forest); text-decoration: none; padding-bottom: 3px; border-bottom: 1px solid transparent; }
nav a:hover, nav a:focus-visible, nav a[aria-current="page"] { border-bottom-color: var(--rule); }

/* Home hero */
.hero { padding-top: 60px; padding-bottom: 44px; max-width: 46rem; }
.masthead { width: fit-content; max-width: 100%; }
.kicker { margin: 16px 0 0; font-family: var(--display); font-variant-caps: all-small-caps; font-size: 17px; letter-spacing: .14em; color: var(--accent); }
.kicker span { display: inline-block; }
.kicker .dot { padding: 0 .35em; }
h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 50px; line-height: 1.12; letter-spacing: .002em; color: var(--forest); text-wrap: balance; }
.rule { width: 100%; height: 1px; background: var(--rule); margin: 22px 0 28px; position: relative; }
.rule::after { content: ""; position: absolute; left: 50%; top: -3.5px; width: 8px; height: 8px; margin-left: -4px; background: var(--rule); transform: rotate(45deg); }
.lede { margin: 0; font-size: 20px; line-height: 1.6; max-width: var(--measure); }
.hero .rule.wide { max-width: var(--measure); margin: 34px 0 0; }
.questions p { margin: 18px 0 0; max-width: var(--measure); font-style: italic; font-size: 18px; line-height: 1.55; color: var(--forest); }

/* Inner pages */
.page-head { padding-top: 46px; padding-bottom: 30px; }
.page-head h1 { font-size: 42px; }
.page-head .rule { margin: 18px 0 0; }

/* Body text */
.body { padding-top: 8px; padding-bottom: 72px; }
.body .col { max-width: var(--measure); }
.body p { margin: 0 0 1.05em; hyphens: auto; }
.body h2 { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.2; color: var(--forest); margin: 1.5em 0 .5em; text-wrap: balance; }
.body h2:first-child { margin-top: .4em; }
.body h3 { font-family: var(--display); font-weight: 400; font-size: 23px; line-height: 1.25; color: var(--forest); margin: 1.1em 0 .3em; }
.body h4 { font-family: var(--display); font-variant-caps: all-small-caps; letter-spacing: .1em; font-weight: 400; font-size: 18px; color: var(--accent); margin: 1.4em 0 .3em; }
.person { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: start; margin: .6em 0 1.6em; }
.person .photo { width: 150px; aspect-ratio: 4/5; max-width: 100%; background: var(--grid); border: 1px solid rgba(11,74,63,.2); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-variant-caps: all-small-caps; letter-spacing: .1em; color: var(--accent); }
.person .meta { margin: 0 0 .6em; color: var(--accent); font-size: 16px; line-height: 1.5; }

/* Home: the applications notice at the end of the body. */
.body .notice { margin: 2.2em 0 0; padding: 14px 18px; border-left: 3px solid var(--rule); background: rgba(220,232,225,.55); }
.body .notice p { margin: 0; font-size: 17px; color: var(--forest); }
.body .notice a { font-style: italic; white-space: nowrap; margin-left: .3em; }
/* Research: the project title on its own line under "The inaugural project". */
.body h2 br { display: none; }
.body h2 em { display: block; margin-top: .2em; font-size: .8em; color: var(--forest); }
/* Join: the call and the form as two buttons. */
.actions p { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.2em 0 1.4em; }
.actions a { display: inline-block; padding: 8px 20px; border: 1px solid var(--forest); color: var(--forest); text-decoration: none; font-family: var(--display); font-variant-caps: all-small-caps; letter-spacing: .1em; font-size: 19px; }
.actions a:last-child { background: var(--forest); color: var(--ivory); }
.actions a:hover, .actions a:focus-visible { background: var(--rule); border-color: var(--rule); color: var(--ivory); }
/* People: photos, and an empty silhouette where there is none yet. */
.person img.photo { display: block; width: 150px; max-width: 100%; aspect-ratio: 4/5; object-fit: cover; border: 1px solid rgba(11,74,63,.2); }
.person .photo.empty { align-items: flex-end; overflow: hidden; }
.person .photo.empty svg { width: 62%; fill: var(--accent); opacity: .28; }
.people.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 28px; }
.people.grid .person { grid-template-columns: 110px minmax(0, 1fr); gap: 18px; }
.people.grid .person .photo { width: 110px; }
.people.grid .person h3 { margin-top: .5em; }

/* Editorial placeholders, visible only in the mock: things PP fills in before the site goes live. */
.todo { background: var(--todo); border-bottom: 1px dashed #B9A766; padding: 0 .25em; font-size: .92em; }
p.todo { display: block; padding: .5em .7em; border: 1px dashed #B9A766; }

footer { border-top: 1px solid rgba(11,74,63,.28); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-top: 18px; padding-bottom: 32px; }
.foot-sc { margin: 0; font-family: var(--display); font-variant-caps: all-small-caps; letter-spacing: .12em; font-size: 16px; color: var(--forest); }
.foot-sc .mail { font-family: var(--text); font-variant-caps: normal; letter-spacing: 0; font-size: 15px; text-decoration: none; color: var(--forest); }

@media (max-width: 760px) {
  body { font-size: 17px; line-height: 1.6; }
  :root { --cell: 20px; }
  .top { flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 20px; padding-bottom: 12px; }
  .brand { width: 250px; }
  nav ul { gap: 24px; }
  nav a { font-size: 18px; }
  .hero { padding-top: 34px; padding-bottom: 56px; }
  .kicker { font-size: 15px; letter-spacing: .1em; margin-top: 12px; }
  .kicker span { display: block; }
  .kicker .dot { display: none; }
  .sheet::after { background: linear-gradient(180deg, rgba(251,250,244,0) 72%, rgba(251,250,244,1) 100%), linear-gradient(90deg, rgba(251,250,244,.95) 0%, rgba(251,250,244,.9) 60%, rgba(251,250,244,.6) 100%); }
  h1 { font-size: 33px; line-height: 1.15; }
  .page-head h1 { font-size: 32px; }
  .rule { margin: 18px 0 20px; }
  .lede { font-size: 18px; }
  .questions p { font-size: 17px; }
  .body .notice p { font-size: 16px; }
  .sheet .plate { top: 20px; right: -150px; width: 330px; opacity: .13; }
  .sheet.small .plate { width: 260px; right: -110px; }
  .body p { hyphens: manual; }
  .body h2 { font-size: 24px; }
  .person { grid-template-columns: 1fr; }
  .foot-sc .sep { display: none; }
  .foot-sc .mail { display: block; margin-top: 4px; }
}
