@font-face {
  font-family: Arcon;
  src: url('/assets/arcon-regular.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'Zilla Slab';
  src: url('/assets/zilla-slab-light.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #102f3e;
  --teal: #155a70;
  --quiet: #3b5c69;
  --sans: Arcon, Arial, sans-serif;
  --serif: 'Zilla Slab', Georgia, serif;
  --edge: clamp(28px, 7vw, 122px);
  --mast-height: 100px;
  --chapter-size: 2.4rem;
  --subhead-size: 1.42rem;
  --copy-size: 1.125rem;
  --label-size: .9375rem;
  --copy-leading: 1.52;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #f8faf9; font: 400 16px/1.5 var(--sans); }
[hidden] { display: none !important; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--teal); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
:where(main, article, h2, h3)[tabindex="-1"]:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; z-index: 5; top: 6px; left: var(--edge); transform: translateY(-160%); padding: .6em 1em; background: white; }
.skip:focus { transform: none; }
.gate-pending .site { visibility: hidden; }
.notice-active { overflow: hidden; }
.site { min-height: 100svh; display: flex; flex-direction: column; isolation: isolate; }
.site::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(94deg, #fcfcfa 3%, #fbfcfa 41%, #f8faf8ed 51%, #f3f8f6a6 62%, transparent 86%),
    linear-gradient(161deg, #fff 10%, #f8fbfb 35%, #dce9eb 52%, #a4c3cd 68%, #558ba1 84%, #294e61 100%);
}
.front-mast {
  position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between;
  gap: 28px; min-height: var(--mast-height); padding: 9px var(--edge);
  background: linear-gradient(100deg, #fcfcfafa, #f7faf9ed);
}
.front-mast .brand { display: inline-flex; }
.brand img { display: block; width: clamp(150px, 13.5vw, 212px); height: auto; }
.front-mast nav { display: flex; flex-wrap: wrap; align-items: center; column-gap: clamp(16px, 2.5vw, 40px); }
.front-mast nav a {
  display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; text-decoration: none;
}
.front-mast a:is([aria-current],:hover) { color: #103d4c; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .46em; }
#main {
  position: relative; flex: 1; display: grid; width: min(100%, 1740px); align-content: start; align-items: start;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: clamp(36px, 4.5vw, 88px);
  margin-inline: auto; padding: clamp(35px, 5.1vh, 66px) var(--edge) clamp(48px, 6vh, 80px);
}
.manuscript { grid-column: 1; grid-row: 1; width: 100%; max-width: 37.5rem; min-width: 0; }
.companion {
  position: sticky; top: calc(var(--mast-height) + 12vh); grid-column: 2; grid-row: 1;
  align-self: start; margin: clamp(45px, 9vh, 120px) -2vw 0; pointer-events: none;
}
.companion-canvas {
  display: block; width: 100%; aspect-ratio: 1.6; height: auto;
}
@media (min-width: 761px) {
  body:has(.issue-entry:not([hidden]),.member-entry:not([hidden])) .companion {
    position: relative; top: auto; width: min(86%, 365px); margin: 3.3rem auto 0;
  }
}
.manuscript article { position: relative; scroll-margin-top: calc(var(--mast-height) + 20px); }
.manuscript article + article { margin-top: 3.2rem; }
.manuscript article[hidden] + article { margin-top: 0; }
body[data-chapter] .manuscript article { margin-top: 0; }
.manuscript :is(h1,h2,h3,p,ol,ul,blockquote,figure) { margin-top: 0; }
.manuscript :is(h1,h2), #website-notice h2, .nojs-notice h2 {
  color: var(--ink); font: 400 var(--chapter-size)/1.14 var(--sans);
  letter-spacing: -.022em; text-wrap: balance; margin: 0 0 .54em;
}
.manuscript :is(h3, .section-heading) { font: 400 var(--subhead-size)/1.24 var(--sans); letter-spacing: -.014em; margin: 1.15em 0 .5em; }
p, .issue-entry li {
  font: 300 var(--copy-size)/var(--copy-leading) var(--serif); margin: 0 0 .82em;
  text-align: justify; text-align-last: start; hyphens: auto; hyphenate-limit-chars: 6 3 2;
}
.manuscript p:last-child { margin-bottom: 0; }
.resource-contents p { hyphens: none; }
.manuscript article > span:empty { position: absolute; top: 0; }
.manuscript a { color: #155066; }
.manuscript a:hover { color: #0b3240; }
.text-link,.issue-index a { text-decoration: underline; }
.text-link { display: inline-block; padding-block: .36em; font: 400 var(--label-size)/1.5 var(--sans); }
.text-link::after { display: inline-block; margin-inline-start: .45em; content: '→'; }
.text-link.book-return::after,.text-link.map-link::after, .profile-contact .text-link::after { content: none; }
.book-return::before { content: '←'; margin-inline-end: .4em; }
.book-return { margin-top: 1.25rem; }
.practice-list,.team-register,.issue-index { list-style: none; padding: 0; margin-bottom: 0; }
.practice-list li {
  position: relative; padding: .29em 0 .29em 1.34em;
  font: 300 var(--copy-size)/var(--copy-leading) var(--serif);
}
.practice-list li::before {
  content: ''; position: absolute; left: .12em; top: .86em;
  width: .44em; height: .44em; transform: rotate(45deg);
  background: linear-gradient(45deg, #125168 50%, #7ca6af 50%);
}
@media (forced-colors: active) {
  .practice-list li::before { background: CanvasText; forced-color-adjust: none; }
}
#team-directory, #reading-room, #practice-areas :is(h3, li)[id] { scroll-margin-top: calc(var(--mast-height) + 26px); }
.team-yearbook { margin-top: 2rem; }
.team-register { display: grid; gap: 23px; }
.team-register li { display: grid; align-items: center; grid-template-columns: clamp(62px, 6vw, 86px) minmax(0, 1fr); gap: clamp(15px, 1.5vw, 25px); }
.register-photo,.profile-portrait { display: block; }
.register-photo img,.profile-portrait img { width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; display: block; }
.yearbook-person { font: 400 var(--subhead-size)/1.22 var(--sans); text-decoration: none; }
.yearbook-person:hover { text-decoration: underline; }
.entry-role,.reading-label,.manuscript .reader-meta { display: block; color: var(--quiet); font: 400 var(--label-size)/1.45 var(--sans); }
.yearbook-contact,.profile-contact { display: flex; flex-wrap: wrap; gap: 3px 14px; font: 400 var(--label-size)/1.5 var(--sans); overflow-wrap: anywhere; }
.register-details { min-width: 0; container-type: inline-size; }
.yearbook-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  gap: 3px 14px;
  margin-top: 6px;
}
.yearbook-contact a[href^="tel:"], .yearbook-linkedin { white-space: nowrap; }
@container (min-width: 22.5rem) {
  .yearbook-contact { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) max-content; }
}
.profile-portrait { float: right; width: clamp(84px, 8vw, 130px); margin: 0 0 16px 20px; }
.profile-contact { margin-bottom: 1.4rem; }
.profile-contact .text-link { padding: 0; font-size: inherit; }
.member-entry { display: flow-root; }
.member-entry .lead-name { color: var(--quiet); font: 400 var(--label-size)/1.45 var(--sans); margin-bottom: .65em; }
.issue-index a { display: inline-block; margin-bottom: .35em; font: 300 var(--copy-size)/var(--copy-leading) var(--serif); }
.manuscript .issue-title :is(strong,em,u) { font: inherit; text-decoration: none; }
.reader-trail { display: flex; flex-wrap: wrap; align-items: baseline; gap: .65em; margin: 0 0 1rem; color: var(--quiet); font: 400 var(--label-size)/1.45 var(--sans); }
.reader-trail a { display: inline-block; padding-block: .22em; }
.reader-trail a:only-child::before { content: '←'; margin-inline-end: .4em; }
.reader-trail span { opacity: .68; }
.issue-entry blockquote { margin-inline: 1.3em .2em; color: #26586a; }
.issue-entry ol { padding-left: 1.45em; }
.issue-entry strong { font-weight: 600; }
.contact-coordinates > p { margin-bottom: 1.1em; }
.contact-row { display: grid; grid-template-columns: 5em minmax(0,1fr); gap: 1em; margin: .48em 0; align-items: baseline; }
.contact-row > span { font: 300 var(--copy-size)/var(--copy-leading) var(--serif); color: var(--quiet); }
.contact-row > div { font: 300 var(--copy-size)/var(--copy-leading) var(--serif); }
.contact-row address { font-style: normal; }
.contact-map { width: min(100%, 420px); height: 190px; margin: 1.1rem 0 0; }
.contact-map iframe { width: 100%; height: 100%; border: 0; }
footer { padding: 16px var(--edge); }
.footer-fine { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 25px; color: var(--quiet); font-size: 12px; }
.footer-fine a { min-height: 36px; display: inline-flex; align-items: center; }
#website-notice {
  width: min(540px, calc(100% - 32px)); max-height: calc(100svh - 30px); border: 0;
  padding: clamp(25px, 3.2vw, 48px); color: var(--ink); background: #f7faf9; box-shadow: 0 20px 90px #082c3e36;
}
#website-notice::backdrop { background: linear-gradient(150deg,#f7faf9,#cbdfe4 49%,#6997aa 74%,#274c60); }
#notice-title:focus { outline: none; }
.notice-brand { display: block; width: 145px; height: auto; margin-bottom: 20px; }
.notice-actions { display: flex; gap: 12px; margin-top: 24px; }
#website-notice button,.nojs-notice label { color: var(--ink); background: #dce8e9; padding: .65em 1.2em; border: 0; min-height: 44px; font: 400 16px var(--sans); cursor: pointer; }
#website-notice #notice-accept { background: #19495c; color: #fff; }
.nojs-notice { max-width: 550px; margin: 10vh auto; padding: 22px; }
.nojs-notice label { display: inline-block; }
.nojs-review,.nojs-exit { margin-top: 24px; }
@media (min-width: 761px) and (max-height: 740px) {
  :root { --mast-height: 80px; }
  .brand img { width: 155px; }
}
@media (max-width: 900px) {
  #main { grid-template-columns: minmax(0,1.22fr) minmax(0,.78fr); gap: 28px; }
  .front-mast nav { column-gap: 16px; }
}
@media (max-width: 760px) {
  :root {
    --edge: clamp(18px, 5vw, 32px); --mast-height: 103px;
    --chapter-size: 1.875rem; --subhead-size: 1.25rem;
    --copy-size: 1.0625rem; --label-size: .875rem; --copy-leading: 1.5;
  }
  .front-mast { display: block; padding: 6px var(--edge) 2px; min-height: auto; background: #f8faf9f7; }
  #website-notice { padding-inline: 20px; }
  .brand img { width: 132px; }
  .front-mast .brand { display: flex; width: fit-content; }
  .front-mast nav { justify-content: space-between; flex-wrap: nowrap; gap: 4px; }
  .front-mast nav a { font-size: clamp(13px, 3.35vw, 15px); min-height: 39px; white-space: nowrap; }
  #main { display: block; padding: 8px 0 40px; }
  .site::before {
    background: linear-gradient(90deg,#fafbf9f8,#fafbf9ee 50%,#f5faf9b3 79%,#f3f8f750),
      linear-gradient(156deg,#fff 12%,#edf4f4 43%,#a3c1ca 75%,#426d81 100%);
  }
  .companion { position: static; width: min(100%, 26rem); margin: 0 auto .3rem; }
  .manuscript { max-width: none; padding-inline: var(--edge); }
  body:has(.member-entry:not([hidden]),.issue-entry:not([hidden])) .companion { display: none; }
  body:has(.member-entry:not([hidden]),.issue-entry:not([hidden])) #main { padding-top: 20px; }
  .profile-portrait { width: 85px; }
  .footer-fine { font-size: 12px; }
  .contact-row { grid-template-columns: 4.2em minmax(0,1fr); gap: .65em; }
}
@media (min-width: 540px) and (max-width: 760px) and (max-height: 500px) and (orientation: landscape) {
  :root { --mast-height: 60px; }
  .front-mast { display: flex; min-height: var(--mast-height); padding: 4px var(--edge); gap: 12px; }
  .brand img { width: 106px; }
  .front-mast nav { gap: clamp(8px, 2vw, 16px); }
  #main { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 16px; padding: 16px var(--edge) 32px; }
  .manuscript { padding: 0; }
  .companion { position: sticky; top: calc(var(--mast-height) + 12px); width: 100%; margin: 0; }
  body:has(.member-entry:not([hidden]),.issue-entry:not([hidden])) .manuscript { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: no-preference) {
  .manuscript article:not([hidden]) { animation: appear .21s ease-out; }
  @keyframes appear { from { opacity: .68; transform: translateY(3px); } to { opacity: 1; transform: none; } }
}
@media print {
  .site::before,.front-mast,.companion,footer,.skip,dialog { display: none; }
  #main { display: block; padding: 0; }
  .manuscript { max-width: none; }
}
