@font-face { font-family: 'Montserrat'; src: url('/static/fonts/Montserrat-VariableFont_wght.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('/static/fonts/Outfit-VariableFont_wght.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }
:root { --charcoal:#1F2933; --white:#FFFFFF; --navy:#0D2B45; --navy-2:#16406a; --gray-1:#F4F5F7; --gray-2:#E4E7EB; --gray-3:#9AA5B1; --gray-4:#52606D; --sample:#B4541A; --ok:#1d6b3a; --err:#a61b1b;
  --head:'Montserrat','Outfit',system-ui,-apple-system,'Segoe UI',Arial,sans-serif; --body:'Outfit','Montserrat',system-ui,-apple-system,'Segoe UI',Arial,sans-serif; }
* { box-sizing: border-box; }
html, body { margin:0; }
body { font-family: var(--body); color: var(--charcoal); background: var(--white); font-size: 16px; line-height: 1.55; }
h1,h2,h3,h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
a { color: var(--navy); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
/* header */
.site-header { background: var(--charcoal); color: var(--white); }
.site-header .wrap { display:flex; align-items:center; justify-content:space-between; gap:24px; min-height:84px; flex-wrap:wrap; }
.brand { color: var(--white); text-decoration:none; display:block; padding:12px 0; }
.brand .name { font-family: var(--head); font-weight: 800; font-size: 28px; letter-spacing:-.02em; display:block; }
.brand .tag { font-size: 13px; opacity:.9; display:block; border-bottom: 2px solid #5b84b1; padding-bottom: 2px; width: max-content; }
.nav { display:flex; align-items:center; gap: 20px; flex-wrap: wrap; }
.nav a { color: var(--white); text-decoration:none; font-family: var(--head); font-weight:600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity:.92; }
.nav a:hover, .nav a.active { opacity:1; text-decoration: underline; text-underline-offset: 6px; }
.nav form { margin:0; }
.btn { display:inline-flex; align-items:center; gap:8px; font-family: var(--head); font-weight:700; font-size: 13px; letter-spacing:.08em; text-transform:uppercase; padding: 12px 18px; border: 2px solid var(--navy); background: var(--navy); color: var(--white); text-decoration:none; cursor:pointer; border-radius: 2px; }
.btn:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn-outline-light { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--charcoal); border-color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 7px 12px; font-size: 11px; }
.btn-link { background:none; border:0; color: var(--gray-4); cursor:pointer; font: inherit; font-size: 13px; text-decoration: underline; padding:0; }
/* hero */
.hero { position:relative; overflow:hidden; border-bottom: 1px solid var(--gray-2); }
.hero .wrap { position:relative; z-index:1; padding-top: 64px; padding-bottom: 64px; }
.hero h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; max-width: 760px; }
.hero h1 .accent { color: var(--navy); display:block; }
.hero p { max-width: 560px; color: var(--gray-4); font-size: 18px; margin: 0 0 28px; }
.hero-art { position:absolute; right:0; top:0; bottom:0; width: 44%; z-index:0; }
@media (max-width: 860px) { .hero-art { opacity:.12; width:100%; } }
/* sections */
.section { padding: 48px 0; }
.section-head { display:flex; align-items:center; gap: 18px; margin-bottom: 6px; }
.section-head h2 { font-size: 20px; text-transform: uppercase; letter-spacing: .08em; margin:0; white-space:nowrap; }
.section-head .rule { flex:1; height:1px; background: var(--gray-2); }
.section-head a { font-family: var(--head); font-weight:700; font-size:12px; letter-spacing:.08em; text-transform:uppercase; color: var(--charcoal); text-decoration:none; white-space:nowrap; }
.sub { color: var(--gray-4); margin: 0 0 22px; }
/* roster */
.roster { display:grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.card { border: 1px solid var(--gray-2); background: var(--white); padding: 14px; position:relative; text-decoration:none; color: inherit; display:block; transition: box-shadow .15s, transform .15s; }
a.card:hover { box-shadow: 0 8px 24px rgba(31,41,51,.12); transform: translateY(-2px); }
.avatar { aspect-ratio: 1/1; width:100%; background: var(--gray-1); display:flex; align-items:center; justify-content:center; overflow:hidden; position:relative; }
.avatar img { width:100%; height:100%; object-fit:cover; }
.avatar svg { width: 62%; height:62%; }
.avatar .ini { position:absolute; bottom:8px; right:8px; background: var(--navy); color: var(--white); font-family: var(--head); font-weight:700; font-size: 12px; padding: 3px 7px; }
.card h3 { font-size: 18px; margin: 14px 0 2px; }
.card .prof { color: var(--gray-4); font-size: 14px; margin:0 0 10px; }
.chip { display:inline-flex; align-items:center; gap:6px; background: var(--navy); color: var(--white); font-family: var(--head); font-weight:700; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; }
.chip::before { content:''; width:5px; height:5px; border-radius:50%; background: var(--white); }
.sample-badge { position:absolute; top: 10px; left: 10px; z-index:2; background: var(--sample); color: #fff; font-family: var(--head); font-weight:800; font-size: 10px; letter-spacing:.12em; text-transform: uppercase; padding: 3px 7px; }
.sample-inline { background: var(--sample); color:#fff; font-family: var(--head); font-weight:800; font-size: 11px; letter-spacing:.12em; text-transform: uppercase; padding: 3px 8px; vertical-align: middle; }
/* panels */
.grid-2 { display:grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }
.panel { border:1px solid var(--gray-2); padding: 24px; background: var(--white); }
.panel.dark { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.panel.dark .muted { color: #cbd2d9; }
.eyebrow { font-family: var(--head); font-weight:700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-3); margin: 0 0 8px; }
.panel.dark .eyebrow { color: #9fb3c8; }
.big-date { font-family: var(--head); font-weight: 800; font-size: 28px; margin: 0 0 6px; }
.muted { color: var(--gray-4); }
/* page */
.page-head { background: var(--gray-1); border-bottom: 1px solid var(--gray-2); padding: 36px 0 28px; }
.page-head h1 { font-size: 34px; font-weight: 800; margin:0 0 4px; }
.page { padding: 32px 0 56px; }
.flash { padding: 10px 14px; margin: 16px 0 0; border-left: 4px solid var(--ok); background: #eef7f1; }
.flash.err { border-color: var(--err); background: #fbeeee; }
/* profile */
.profile { display:grid; grid-template-columns: 300px 1fr; gap: 36px; }
@media (max-width: 860px) { .profile { grid-template-columns: 1fr; } }
.profile .avatar { border: 1px solid var(--gray-2); }
.kv { list-style:none; padding:0; margin: 16px 0; }
.kv li { padding: 8px 0; border-bottom: 1px solid var(--gray-2); font-size: 15px; }
.kv b { display:block; font-family: var(--head); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-3); }
.faq h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); margin-top: 22px; }
.faq ul { margin: 0; padding-left: 20px; }
.actions { display:flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.tags { display:flex; gap:8px; flex-wrap:wrap; margin: 10px 0; }
/* forms */
form.stack label { display:block; font-family: var(--head); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin: 14px 0 4px; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=date], select, textarea { width:100%; font: inherit; padding: 10px 12px; border: 1px solid #cbd2d9; background: #fff; border-radius: 2px; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--navy); outline-offset: 0; border-color: var(--navy); }
textarea { min-height: 90px; resize: vertical; }
.hint { font-size: 13px; color: var(--gray-4); margin: 4px 0 0; }
.form-row { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px){ .form-row { grid-template-columns: 1fr; } }
/* calendar */
.cal { width:100%; border-collapse: collapse; table-layout: fixed; }
.cal th { font-family: var(--head); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-4); padding: 8px; text-align:left; border-bottom: 2px solid var(--charcoal); }
.cal td { vertical-align: top; height: 92px; border: 1px solid var(--gray-2); padding: 6px; font-size: 13px; }
.cal td.out { background: var(--gray-1); color: var(--gray-3); }
.cal td.today { outline: 2px solid var(--navy); outline-offset: -2px; }
.cal .d { font-family: var(--head); font-weight: 700; }
.cal .ev { display:block; margin-top: 4px; background: var(--navy); color:#fff; padding: 3px 6px; font-size: 12px; line-height:1.3; }
.cal .ev.other { background: var(--charcoal); }
.cal .ev.cancel { background: var(--gray-3); text-decoration: line-through; }
.cal-nav { display:flex; align-items:center; justify-content: space-between; margin-bottom: 12px; }
.cal-nav h2 { margin:0; font-size: 24px; }
.list { list-style:none; margin:0; padding:0; }
.list > li { border-bottom: 1px solid var(--gray-2); padding: 14px 0; }
.list .date { font-family: var(--head); font-weight: 800; }
details.admin { margin-top: 8px; font-size: 14px; }
details.admin summary { cursor:pointer; color: var(--gray-4); }
/* feed/forum */
.post { display:grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--gray-2); }
.post .avatar { width:44px; }
.post .meta { font-size: 13px; color: var(--gray-4); }
.post .body { white-space: pre-wrap; margin-top: 4px; }
.tabs { display:flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.tabs a { text-decoration:none; font-family: var(--head); font-weight:700; font-size: 12px; letter-spacing:.06em; text-transform: uppercase; padding: 7px 12px; border: 1px solid var(--gray-2); color: var(--charcoal); }
.tabs a.on { background: var(--charcoal); color:#fff; border-color: var(--charcoal); }
table.data { width:100%; border-collapse: collapse; }
table.data th { text-align:left; font-family: var(--head); font-size: 11px; letter-spacing:.1em; text-transform: uppercase; color: var(--gray-4); border-bottom: 2px solid var(--charcoal); padding: 8px; }
table.data td { border-bottom: 1px solid var(--gray-2); padding: 12px 8px; vertical-align: top; }
.cat { font-family: var(--head); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 7px; border: 1px solid var(--navy); color: var(--navy); }
/* footer */
.site-footer { background: var(--charcoal); color: #cbd2d9; padding: 28px 0; font-size: 14px; margin-top: 40px; }
.site-footer .wrap { display:flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color:#fff; }
.local-banner { background: #fff4e5; color: #6b3a00; text-align:center; font-size: 12.5px; padding: 6px; border-bottom: 1px solid #f3d9b1; }
/* one-pager */
.op { max-width: 8.5in; margin: 24px auto; background:#fff; border: 1px solid var(--gray-2); box-shadow: 0 6px 30px rgba(0,0,0,.08); }
.op-head { background: var(--charcoal); color:#fff; padding: 22px 32px; display:flex; justify-content: space-between; align-items: flex-end; }
.op-head .name { font-family: var(--head); font-weight: 800; font-size: 22px; }
.op-head .tag { font-size: 12px; opacity: .9; }
.op-body { padding: 28px 32px; display:grid; grid-template-columns: 2.1in 1fr; gap: 28px; }
.op-body .avatar { border:1px solid var(--gray-2); }
.op h1 { font-size: 30px; margin-bottom: 4px; }
.op .role { color: var(--navy); font-family: var(--head); font-weight: 700; margin: 0 0 14px; }
.op h3 { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); margin: 18px 0 6px; border-bottom: 2px solid var(--navy); padding-bottom: 4px; }
.op ul { margin:0; padding-left: 18px; font-size: 14px; }
.op p { font-size: 14px; }
.op-foot { border-top: 4px solid var(--navy); padding: 12px 32px; font-size: 12px; color: var(--gray-4); display:flex; justify-content: space-between; }
.op-toolbar { max-width: 8.5in; margin: 20px auto 0; display:flex; gap: 10px; justify-content: flex-end; }
@media print {
  @page { size: letter; margin: 0.4in; }
  /* One-pagers: zero page margin leaves the browser no room to print its date/time/title/URL header and footer;
     the sheet supplies its own margins (repeated on every page via box-decoration-break). */
  @page onepager { size: letter; margin: 0; }
  .op { page: onepager; padding: 0.4in; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
  body { background:#fff; }
  .site-header, .site-footer, .op-toolbar, .local-banner, .no-print { display:none !important; }
  .op { margin:0; border:0; box-shadow:none; max-width:none; }
  .op-head, .chip, .sample-inline, .avatar .ini { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Roster cards / teaser */
.card .firm { font-size: 13px; color: var(--navy); font-weight: 600; margin: -6px 0 0; }
.card.teaser { cursor: default; }
a.card.teaser { cursor: pointer; }
/* Profile sections */
.h-sec { font-size: 16px; text-transform: uppercase; letter-spacing: .08em; margin-top: 30px; padding-bottom: 6px; border-bottom: 2px solid var(--charcoal, #1F2933); display:flex; align-items:center; gap:10px; flex-wrap: wrap; }
.h-sub { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin: 20px 0 6px; color: var(--gray-4); }
.draft-badge, .ok-badge { font-size: 10.5px; letter-spacing: .1em; padding: 3px 8px; font-family: var(--head); font-weight: 800; text-transform: uppercase; }
.draft-badge { background: #FFF4D6; color: #7A5600; border: 1px solid #E8C770; }
.ok-badge { background: #E6F0F8; color: var(--navy); border: 1px solid #A9C3DA; }
.lib { list-style: none; padding: 0; margin: 10px 0; }
.lib li { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--gray-2); }
.kind { display:inline-block; text-align:center; font-family: var(--head); font-weight: 800; font-size: 11px; letter-spacing: .06em; padding: 9px 0; background: var(--navy); color: #fff; }
.kind.k-pptx { background: #1F2933; } .kind.k-docx { background: #3E5C76; } .kind.k-png, .kind.k-jpg { background: #52606D; } .kind.k-link { background: #fff; color: var(--navy); border: 1px solid var(--navy); }
.lib-title { font-weight: 700; }
.lib-note { font-size: 14px; margin-top: 2px; }
.lib-meta { font-size: 12.5px; margin-top: 2px; }
.lib-act { display:flex; gap: 12px; font-size: 14px; white-space: nowrap; align-items: center; }
.chip-sm { font-size: 9px; padding: 2px 6px; vertical-align: middle; }
.links { padding-left: 18px; } .links li { margin: 4px 0; font-size: 15px; }
.links .muted { font-size: 13px; word-break: break-all; }
.sources { font-size: 13px; padding-left: 18px; } .sources li { margin: 3px 0; word-break: break-word; }
.libgrid { display:grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.libcard { display:flex; flex-direction:column; gap:2px; border:1px solid var(--gray-2); padding: 12px; text-decoration:none; color: inherit; background:#fff; }
.libcard:hover { border-color: var(--navy); }
details.panel summary { cursor: pointer; }
.form label { display:block; margin: 8px 0; font-size: 14px; } .form input:not([type=checkbox]) { width: 100%; }
@media (max-width: 700px) { .lib li { grid-template-columns: 48px 1fr; } .lib-act { grid-column: 2; } }
@media print { .op p { margin: 0 0 6px; } }

/* ---- Meetings / RSVP / lunch ---- */
.rsvp-list { list-style:none; padding:0; margin:0; }
.rsvp-list li { padding: 10px 0; border-bottom: 1px solid var(--gray-2); display:block; }
.rsvp-list li:last-child { border-bottom: 0; }
.rsvp-list .btn { margin-top: 6px; }
.rsvp-date { font-family: var(--head); font-weight: 800; font-size: 15px; color: var(--charcoal); text-decoration: none; margin-right: 8px; }
.st { display:inline-block; font-family: var(--head); font-weight: 700; font-size: 10.5px; letter-spacing:.08em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--gray-2); background: var(--gray-1); color: var(--gray-4); }
.st-yes { background:#e7f4ec; color: var(--ok); border-color:#b7dcc4; }
.st-no { background:#f4f5f7; color: var(--gray-4); }
.st-pending { background:#FFF4D6; color:#7A5600; border-color:#E8C770; }
.st-closed, .st-cancelled { background:#fbeeee; color: var(--err); border-color:#e8b9b9; }
.st-host { background: var(--navy); color:#fff; border-color: var(--navy); }
.deadline { border-left: 4px solid var(--navy); background: #eef3f8; padding: 12px 14px; margin: 0 0 18px; }
.deadline.locked { border-color: var(--err); background:#fbeeee; }
.host-card { display:grid; grid-template-columns: 84px 1fr; gap: 14px; align-items:center; }
.host-card .avatar { width:84px; border:1px solid var(--gray-2); }
.choice { display:flex; gap: 10px; margin: 6px 0 4px; }
.choice label { flex:1; border: 2px solid var(--gray-2); padding: 12px; cursor:pointer; font-family: var(--head); font-weight:700; text-transform:none !important; letter-spacing:0 !important; font-size: 15px !important; margin:0 !important; display:flex !important; gap:8px; align-items:center; }
.choice label:has(input:checked) { border-color: var(--navy); background:#eef3f8; }
.order-line { display:grid; grid-template-columns: 1fr 70px; gap: 10px; padding: 10px 0; border-top: 1px dashed var(--gray-2); }
.order-line .instr { grid-column: 1 / -1; }
.order-line label { margin-top: 0 !important; }
.lunch-total { font-family: var(--head); font-weight: 700; margin-top: 10px; }
table.sheet { width:100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 18px; }
table.sheet th { text-align:left; font-family: var(--head); font-size: 11px; letter-spacing:.08em; text-transform: uppercase; color: var(--gray-4); border-bottom: 2px solid var(--charcoal); padding: 6px 8px; }
table.sheet td { border-bottom: 1px solid var(--gray-2); padding: 7px 8px; vertical-align: top; }
table.sheet td.num, table.sheet th.num { text-align:right; white-space:nowrap; }
table.sheet tfoot td { font-weight: 700; border-bottom: 0; }
.qty { font-family: var(--head); font-weight: 800; font-size: 16px; }
.instr-list { margin: 4px 0 0; padding-left: 18px; font-size: 13px; color: var(--gray-4); }
.copybox { width:100%; min-height: 260px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; }
.stats { display:flex; gap: 12px; flex-wrap: wrap; margin: 0 0 18px; }
.stats div { border:1px solid var(--gray-2); padding: 10px 16px; min-width: 120px; }
.stats b { display:block; font-family: var(--head); font-size: 26px; }
.menu-admin input[type=text] { padding: 4px 6px; font-size: 13px; }
.menu-admin td { padding: 3px 6px; }
@media print {
  .meeting-orders .page-head { background:#fff; padding: 0 0 8px; }
  .meeting-orders .copy-wrap { display:none; }
  table.sheet { font-size: 12px; }
}

/* ---- meetings: venue, status, host pays ---- */
.chip-ghost { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.chip-ghost::before { background: var(--navy); }
.status { display:inline-block; font-family: var(--head); font-weight:700; font-size:10.5px; letter-spacing:.08em; text-transform:uppercase; padding:3px 8px; border:1px solid var(--gray-2); background: var(--gray-1); color: var(--gray-4); }
.status-confirmed { background:#e7f4ec; color: var(--ok); border-color:#b7dcc4; }
.status-pending { background:#FFF4D6; color:#7A5600; border-color:#E8C770; }
.status-declined, .status-cancelled { background:#fbeeee; color: var(--err); border-color:#e8b9b9; }
.status-suggested { background: var(--white); color: var(--navy); border-color: #b9c7d6; }
.offsite-lunch, .host-pays, .note-bar { border-left: 4px solid var(--navy); background: var(--gray-1); padding: 14px 16px; margin: 18px 0; }
.tip-form { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-top:10px; }
.tip-form input { width: 76px; }
.rotation td { vertical-align: top; }
.rotation tr.is-past { opacity: .55; }
details.inline summary { cursor:pointer; font-size: 13px; color: var(--navy); }
.inline-form { display:flex; gap:6px; margin-top:6px; flex-wrap: wrap; }
.inline-form select { max-width: 190px; }
pre.mail { white-space: pre-wrap; font-size: 13px; background: var(--gray-1); padding: 10px; }

/* ---- motion (The Lineup) ----
   All motion is transform/opacity only (GPU-friendly), short (≤ 700 ms), and fully disabled under prefers-reduced-motion. */
:root { --ease: cubic-bezier(.22,.61,.36,1); --ease-out: cubic-bezier(.16,1,.3,1); }
@view-transition { navigation: auto; }               /* smooth cross-page fades in browsers that support it */
::view-transition-old(root) { animation: vt-out .18s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .32s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-4px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
.site-header { view-transition-name: site-header; }
::view-transition-old(site-header), ::view-transition-new(site-header) { animation: none; }

/* page head + hero entrance */
.page-head .wrap > * { animation: rise .6s var(--ease-out) both; }
.page-head .wrap > *:nth-child(2) { animation-delay: .06s; } .page-head .wrap > *:nth-child(3) { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.hero h1 { animation: rise .8s var(--ease-out) both; }
.hero h1 .accent { animation: rise .8s .12s var(--ease-out) both; position: relative; width: max-content; max-width: 100%; }
.hero h1 .accent::after { content:''; position:absolute; left:0; bottom:-6px; height:3px; width:100%; background: var(--navy); transform-origin: left; animation: draw .9s .55s var(--ease-out) both; }
@keyframes draw { from { transform: scaleX(0); } }
.hero p { animation: rise .8s .22s var(--ease-out) both; }
.hero .btn { animation: rise .8s .32s var(--ease-out) both; }
.hero-art { animation: drift 1.4s var(--ease-out) both; }
@keyframes drift { from { opacity: 0; transform: translateX(40px) scale(1.03); } }
.hero::before { content:''; position:absolute; inset:0; background: radial-gradient(60% 80% at 85% 30%, rgba(13,43,69,.08), transparent 70%); animation: glow 9s ease-in-out infinite alternate; pointer-events:none; }
@keyframes glow { to { transform: translateX(-4%) translateY(3%); } }

/* scroll reveal (JS adds .in when visible; without JS everything is simply visible) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
/* staggered roster rows/cards and table rows */
.js .roster > * , .js .reveal-rows tbody tr { opacity: 0; transform: translateY(16px); }
.js .roster.in > *, .js .reveal-rows.in tbody tr { animation: rise-in .55s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes rise-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.js .reveal-rows.in tbody tr.is-past { animation-name: rise-in-past; }
@keyframes rise-in-past { from { opacity: 0; transform: translateY(16px); } to { opacity: .55; transform: none; } }

/* hover states */
.card { transition: box-shadow .35s var(--ease-out), transform .35s var(--ease-out), border-color .35s; }
a.card:hover { box-shadow: 0 14px 34px rgba(13,43,69,.14); transform: translateY(-4px); border-color: #c5d0dc; }
.card .avatar img { transition: transform .6s var(--ease-out); }
a.card:hover .avatar img { transform: scale(1.04); }
.card h3 { background: linear-gradient(var(--navy), var(--navy)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease-out); width: fit-content; }
a.card:hover h3 { background-size: 100% 2px; }
.btn { transition: background-color .25s, border-color .25s, color .25s, transform .25s var(--ease-out), box-shadow .25s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(13,43,69,.18); }
.btn:active { transform: translateY(0); box-shadow: none; }
.nav a { position: relative; text-decoration: none !important; }
.nav a::after { content:''; position:absolute; left:0; right:0; bottom:-6px; height:2px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.btn::after { display:none; }
.panel { transition: box-shadow .35s var(--ease-out), transform .35s var(--ease-out); }
.sheet tbody tr { transition: background-color .2s; }
.sheet tbody tr:hover { background: #f7f9fb; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .roster > *, .js .reveal-rows tbody tr { opacity: 1 !important; transform: none !important; }
  .js .reveal-rows tbody tr.is-past { opacity: .55 !important; }
  @view-transition { navigation: none; }
}
@media print { .js .reveal, .js .roster > *, .js .reveal-rows tbody tr { opacity: 1 !important; transform: none !important; animation: none !important; } }
/* legal pages */
.legal h2 { font-size: 19px; margin: 34px 0 10px; letter-spacing: 0; scroll-margin-top: 20px; }
.legal p, .legal li { color: #323f4b; }
.legal ul { padding-left: 22px; }
.legal li { margin: 4px 0; }
.legal-table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 14px; }
.legal-table th, .legal-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--gray-2); vertical-align: top; }
.legal-table th { font-family: var(--head); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-4); }
.legal-table code { font-size: 13px; background: var(--gray-1); padding: 1px 5px; }
.legal .btn-link { font-size: inherit; color: var(--navy); }
.foot-links { text-align: right; line-height: 1.8; }
.foot-links span { color: #9aa5b1; font-size: 13px; }
.site-footer .foot-cookie { color: #fff; font-size: 14px; text-decoration: underline; }
@media (max-width: 700px) { .foot-links { text-align: left; } }
/* public discipline cards */
.discipline { padding: 22px 20px 20px; border-top: 3px solid #5b84b1; }
.discipline .d-num { font-family: var(--head); font-weight: 800; font-size: 12px; letter-spacing: .14em; color: #5b84b1; }
.discipline h3 { margin: 10px 0 6px; font-size: 18px; }
.discipline .prof { margin: 0; }
.disciplines { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .disciplines { grid-template-columns: 1fr; gap: 12px; } }
/* cookie consent banner */
.consent { position: fixed; z-index: 1000; left: 50%; bottom: 20px; width: min(960px, calc(100% - 32px)); transform: translate(-50%, 24px); opacity: 0;
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  background: var(--charcoal); color: #e4e7eb; border-top: 3px solid #5b84b1; padding: 18px 22px; box-shadow: 0 18px 48px rgba(13,43,69,.35); border-radius: 3px;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .45s cubic-bezier(.2,.8,.2,1); }
.consent.in { transform: translate(-50%, 0); opacity: 1; }
.consent[hidden] { display: none; }
.consent-mark { width: 40px; height: 40px; border-radius: 6px; box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
.consent-title { font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin: 0 0 3px; }
.consent-text { margin: 0; font-size: 14px; line-height: 1.5; color: #cbd2d9; }
.consent-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.consent .consent-accept { background: #5b84b1; border-color: #5b84b1; }
.consent .consent-accept:hover { background: #fff; border-color: #fff; color: var(--charcoal); }
.consent-sub { font-weight: 500; letter-spacing: .02em; text-transform: none; opacity: .8; }
.consent-link { color: #9fb3c8; font-size: 13px; white-space: nowrap; }
.consent-link:hover { color: #fff; }
.consent :focus-visible { outline: 2px solid #9fb3c8; outline-offset: 2px; }
@media (max-width: 760px) { .consent { grid-template-columns: auto 1fr; bottom: 12px; } .consent-actions { grid-column: 1 / -1; justify-content: flex-start; } }
@media (prefers-reduced-motion: reduce) { .consent { transition: none; } }
@media print { .consent { display: none !important; } }

/* ---- Login / Terms acknowledgement ---- */
.ack { display:flex; gap:10px; align-items:flex-start; font-size:14px; line-height:1.45; margin: 8px 0 2px; cursor:pointer; }
.ack input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--navy); }
.linkish { background:none; border:0; padding:0; color: var(--gray-4); text-decoration: underline; cursor:pointer; font: inherit; font-size: 14px; }

/* ---- One-pagers ---- */
.op-label { margin-right: auto; align-self: center; font-family: var(--head); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-4); }
.op a { color: var(--navy); text-decoration: none; border-bottom: 1px solid rgba(30,58,95,.3); }
.cop { padding: 0; }
.cop-top { display:grid; grid-template-columns: 150px 1fr; gap: 28px; padding: 32px 36px 22px; border-bottom: 4px solid var(--navy); align-items: center; }
.cop-photo .avatar { width: 150px; height: 150px; }
.cop-photo .avatar img { width: 100%; height: 100%; object-fit: cover; }
.cop h1 { font-size: 30px; margin: 0 0 4px; }
.cop-title { margin: 0 0 2px; font-weight: 600; }
.cop-contact { list-style:none; padding:0 !important; margin: 10px 0 0; display:grid; grid-template-columns: 1fr 1fr; gap: 3px 22px; font-size: 13.5px; }
.cop-contact li { display:flex; gap: 8px; min-width: 0; }
.cop-contact b { flex: none; width: 58px; font-family: var(--head); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-4); padding-top: 2px; }
.cop-contact a { overflow-wrap: anywhere; }
.cop-body { display:grid; grid-template-columns: 1.5fr 1fr; gap: 30px; padding: 6px 36px 26px; }
@media (max-width: 700px) { .cop-top, .cop-body { grid-template-columns: 1fr; } .cop-contact { grid-template-columns: 1fr; } .cop-photo .avatar { width: 120px; height: 120px; } }
@media print {
  .op a { border-bottom: 0; color: var(--navy); }
  .op-label { display:none; }
  .cop { page-break-inside: avoid; break-inside: avoid; }
  .cop-top { padding: 18px 24px 16px; } .cop-body { padding: 4px 24px 16px; }
  .cop .avatar { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.stack label.ack { display:flex; text-transform: none; letter-spacing: normal; font-family: var(--body, inherit); font-weight: 400; font-size: 14px; color: inherit; }
.stack label.ack a { font-weight: 600; }
.op-toolbar { flex-wrap: wrap; align-items: center; } .op-toolbar .btn { white-space: nowrap; }

/* Firm logos (public/firm-logos) */
.cop-logo { float: right; margin: 0 0 8px 18px; }
.cop-logo img { display:block; max-width: 170px; max-height: 60px; width: auto; height: auto; }
.op-logo { margin: 14px 0 4px; }
.op-logo img { display:block; max-width: 100%; max-height: 52px; width: auto; height: auto; }
.firm-logo-box { margin: 14px 0 6px; }
.firm-logo { display:block; max-width: 100%; max-height: 56px; width: auto; height: auto; }
.q-inline { font-size: 14px; margin: 0 0 6px; }
.q-list { margin: 0; padding-left: 18px; }
.cop .q-inline, .cop .q-list li { font-size: 13px; }
.cop-body h3:first-child { margin-top: 18px; }
/* Internal referral guide: red "internal use" banner (kept red in print/PDF) */
.op-banner { background: #b3121b; color: #fff; text-align: center; font-family: var(--head); font-weight: 800; font-size: 18px; letter-spacing: .14em; padding: 9px 16px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
@media (max-width: 700px) { .cop-logo { float: none; margin: 0 0 10px; } }
@media print {
  .op-banner, .cop-logo img, .op-logo img { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .op-banner { font-size: 16px; padding: 7px 12px; }
  /* page margins for the zero-margin @page onepager (declared after the screen .cop rule so it wins) */
  .op { padding: 0.3in; } .cop { padding: 0.25in 0.2in; }
}

/* ==== Responsive layout + phone usability ==== */
/* Page-specific two-column ratios apply only on desktop; below 860px .grid-2 collapses to one column. */
.grid-2 > *, .profile > *, .op-body > * { min-width: 0; }
@media (min-width: 861px) {
  .grid-2.cols-meetings { grid-template-columns: 1fr 1.5fr; align-items: start; }
  .grid-2.cols-meeting { grid-template-columns: 1.35fr 1fr; align-items: start; }
  .grid-2.cols-wide { grid-template-columns: 1.7fr 1fr; }
  .grid-2.cols-cal { grid-template-columns: 1.6fr 1fr; }
}
.cal-list { display: none; list-style: none; margin: 0 0 8px; padding: 0; }
.order-line[hidden], .add-line[hidden], .nav-toggle[hidden] { display: none !important; }
.qty-step { display: flex; align-items: stretch; }
.qty-step input { width: 100%; min-width: 0; text-align: center; font: inherit; padding: 8px 4px; border: 1px solid #cbd2d9; border-radius: 2px; -moz-appearance: textfield; }
.qty-step input::-webkit-inner-spin-button, .qty-step input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { display: none; }
.bar-total { display: none; }
.nav-toggle { display: none; }

@media screen and (max-width: 860px) {
  /* header: collapsible menu */
  .site-header .wrap { min-height: 64px; gap: 8px 16px; }
  .brand { padding: 10px 0; }
  .brand .name { font-size: 22px; }
  .nav-js .nav-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; margin-left: auto; background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); border-radius: 2px; font-family: var(--head); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ''; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
  .nav-open .nav-toggle-bars { background: transparent; } .nav-open .nav-toggle-bars::before { top: 0; transform: rotate(45deg); } .nav-open .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }
  .nav-js .nav { display: none; }
  .nav-js.nav-open .nav { display: flex; }
  .nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 14px; }
  .nav a { display: flex; align-items: center; min-height: 48px; font-size: 15px; border-top: 1px solid rgba(255,255,255,.12); }
  .nav a::after { display: none; }
  .nav a.active { text-decoration: underline !important; text-underline-offset: 6px; }
  .nav form { margin-top: 12px; }
  .nav .btn, .nav form .btn { width: 100%; justify-content: center; min-height: 48px; font-size: 14px; border-top: 2px solid #fff; }

  /* tables -> stacked cards */
  table.stack-sm thead { display: none; }
  table.stack-sm, table.stack-sm tbody, table.stack-sm tr, table.stack-sm td { display: block; width: 100%; }
  table.stack-sm tr { border: 1px solid var(--gray-2); padding: 10px 12px; margin: 0 0 12px; }
  table.stack-sm td { border: 0 !important; padding: 3px 0 !important; text-align: left !important; white-space: normal !important; font-size: 15px; }
  table.stack-sm td[data-label]::before { content: attr(data-label); display: block; font-family: var(--head); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-4); }
  table.stack-sm td.td-main::before { display: none; }
  table.stack-sm td.td-act:empty { display: none; }
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* calendar: event list instead of the 7-day grid */
  .cal { display: none; }
  .cal-list { display: block; }
  .cal-list li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--gray-2); font-size: 15px; }
  .cal-list li.cancel strong { text-decoration: line-through; }
  .cal-list li.today .cl-date { background: var(--navy); color: #fff; }
  .cal-list .cl-date { text-align: center; border: 1px solid var(--gray-2); padding: 4px 0; font-family: var(--head); line-height: 1.1; }
  .cal-list .cl-date b { display: block; font-size: 22px; } .cal-list .cl-date span { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
  .cal-list a { display: inline-flex; min-height: 32px; align-items: center; }
  .cal-nav h2 { font-size: 20px; }

  /* readable minimum text sizes */
  .eyebrow, .cat, .st, .status, .chip, .hint, .kv b, .sample-badge, .sample-inline, .op-label, .tabs a, table.data th, table.sheet th, .cal th,
  .instr-list, .post .meta, .foot-links span, .consent-link, .legal-table th, .brand .tag, .local-banner { font-size: 13px !important; }
  form.stack label { font-size: 13px; }
  small, .lib-meta, .kind, .draft-badge, .d-num, .section-head a, .cop-contact b, .op h3, .site-footer, .muted[style*='font-size:12px'] { font-size: 13px !important; }
  .btn-sm { font-size: 13px; }

  /* inputs: 16px+ so iOS doesn't zoom; 44px+ tall */
  input:not([type]), input[type=text], input[type=email], input[type=password], input[type=url], input[type=date], input[type=number], input[type=search], input[type=tel], select, textarea { font-size: 16px !important; min-height: 44px; }
  input[type=checkbox], input[type=radio] { width: 20px; height: 20px; flex: none; }
  input[type=file] { font-size: 16px; min-height: 44px; }

  /* tap targets >= 44px */
  .btn, .btn-sm { min-height: 44px; }
  .btn-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
  details summary { display: flex; align-items: center; min-height: 44px; }
  .tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; }
  .ack { min-height: 44px; align-items: center; padding: 6px 0; font-size: 15px; }
  .ack input { margin-top: 0; }
  label.check, form.stack label:has(input[type=checkbox]), form.stack label:has(input[type=radio]) { display: flex !important; align-items: center; gap: 10px; min-height: 44px; margin: 6px 0 !important; }
  .foot-links { line-height: 1.4; }
  .foot-links a, .site-footer .foot-cookie { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
  .section-head a, .rsvp-date { display: inline-flex; align-items: center; min-height: 44px; }
  .actions .btn { flex: 1 1 auto; justify-content: center; }

  /* cookie banner: compact on phones */
  .consent { grid-template-columns: 1fr; gap: 10px; padding: 12px 14px; bottom: 8px; width: calc(100% - 16px); }
  .consent-mark, .consent-sub { display: none; }
  .consent-title { font-size: 13px; margin: 0; }
  .consent-text { font-size: 13px; line-height: 1.4; }
  .consent-actions { grid-column: auto; gap: 8px; justify-content: stretch; }
  .consent-actions .btn { flex: 1 1 0; min-height: 44px; justify-content: center; }
  .consent-link { flex-basis: 100%; text-align: center; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }

  /* RSVP */
  .crumb a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; text-decoration: none; }
  .crumb-rest { display: none; }
  .choice { flex-direction: column; gap: 10px; }
  .choice label { min-height: 56px; padding: 14px 16px; font-size: 16px !important; }
  .choice input { width: 22px; height: 22px; }
  .order-line { grid-template-columns: 1fr; gap: 8px; }
  .order-line select { width: 100%; }
  .qty-step { max-width: 170px; }
  .qty-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; flex: none; min-height: 44px; border: 1px solid #cbd2d9; background: var(--gray-1); color: var(--navy); font-size: 22px; font-weight: 700; cursor: pointer; }
  .qty-step input { border-left: 0; border-right: 0; border-radius: 0; }
  .add-line { width: 100%; justify-content: center; margin: 8px 0 4px; }
  .rsvp-bar { position: sticky; bottom: 0; z-index: 20; margin: 18px -18px -18px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--gray-2); box-shadow: 0 -6px 18px rgba(13,43,69,.10); align-items: center; flex-wrap: nowrap; }
  .rsvp-bar .bar-total { display: block; font-family: var(--head); font-weight: 700; font-size: 14px; white-space: nowrap; }
  .rsvp-bar .bar-total b { display: block; font-size: 18px; }
  .rsvp-bar .hint { display: none; }
  .host-card { grid-template-columns: 64px 1fr; } .host-card .avatar { width: 64px; }
  .stats div { min-width: 0; flex: 1 1 0; padding: 8px 10px; }

  /* misc */
  .page-head h1 { font-size: 28px; }
  .panel { padding: 18px; }
  .section-head h2 { white-space: normal; }
  .op-toolbar { padding: 0 12px; }
}
@media screen and (max-width: 700px) {
  .op-body { grid-template-columns: 1fr; padding: 20px 18px; }
  .op-head { flex-wrap: wrap; gap: 6px; padding: 18px; }
  .op-banner { font-size: 14px; letter-spacing: .08em; }
}
@media screen and (max-width: 860px) {
  .lib li > * { min-width: 0; } .lib-title, .lib-main { overflow-wrap: anywhere; }
  table.data:not(.stack-sm), table.sheet:not(.stack-sm), .legal-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media screen and (max-width: 860px) {
  .wrap.page { padding-left: 16px; padding-right: 16px; }   /* .page's shorthand was zeroing .wrap's side gutters */
  .for-switch, .for-switch select { max-width: 100%; }
}
@media screen and (max-width: 860px) {
  .cal-list a, .panel a[href^="/meetings/"]:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }
  .op .tag, .op .muted, .op-contact span { font-size: 13px; }
}
