@font-face {
    font-family: DT7;
    src: url("fonts/CircularStdBook.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: DT7;
    src: url("fonts/CircularStdBold.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}
:root {
    --ink: #152526;
    --dark: #111a1b;
    --paper: #f3f1e9;
    --page: #faf9f5;
    --muted: #596560;
    --line: #d4d7ce;
    --orange: #f1643d;
    --rust: #a94024;
    --bs-body-bg: var(--page);
    --bs-body-color: var(--ink);
    --bs-body-font-family: DT7, Arial, sans-serif;
}
body { font-size: 16px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--rust); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--rust); outline-offset: 5px; }
h1, h2, h3 { font-weight: 700; line-height: 1.12; letter-spacing: -.035em; }
p { margin-bottom: 0; }
.wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 1; padding: .8rem; background: var(--paper); color: var(--ink); }
.skip-link:focus { top: 1rem; }
.site-header { background: var(--dark); color: var(--paper); }
.header-inner { min-height: 104px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 24px; }
.brand img { width: 108px; height: auto; }
.brand > span { border-left: 1px solid #54625e; padding-left: 24px; font-size: 16px; font-weight: 700; letter-spacing: .12em; line-height: 1.5; }
.brand-detail { display: block; font-size: 8px; letter-spacing: .13em; color: #bec8c2; font-weight: 400; }
.header-inner nav { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.header-inner a:hover { color: #ff9e7e; }
.nav-action { border: 1px solid #687771; padding: 9px 16px; border-radius: 3px; }
.eyebrow { color: var(--rust); font-size: 10px; font-weight: 700; letter-spacing: .15em; margin-bottom: 20px; }
.directory { padding-block: 52px; }
.directory-intro { padding-bottom: 28px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
h1 { font-size: clamp(38px, 4.5vw, 62px); letter-spacing: -.045em; margin: 0 0 24px; }
.directory h1 { font-size: clamp(38px, 4.3vw, 58px); margin-bottom: 12px; }
.directory .lead-copy { max-width: 60ch; }
.lead-copy { color: var(--muted); font-size: 20px; line-height: 1.55; max-width: 35ch; }
.intro-note { max-width: 39ch; font-size: 15px; line-height: 1.7; color: var(--muted); }
.panel-heading { display: flex; justify-content: space-between; align-items: center; padding-bottom: 15px; gap: 16px; }
.panel-heading h2 { font-size: 15px; letter-spacing: 0; margin: 0; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.project-entry { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.project-media { margin: 0; background: var(--ink); }
.project-media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.project-media-book img { object-fit: contain; padding: 10px 0; background: #242938; }
.project-media figcaption { padding: 8px 18px; color: #becbc3; font-size: 11px; border-bottom: 1px solid #3c4c49; }
.project-identity { background: var(--ink); color: var(--paper); padding: 22px 24px 20px; border-bottom: 3px solid var(--orange); }
.project-entry-planned .project-identity { border-bottom-color: #83948b; }
.project-identity .eyebrow { color: #f7a081; font-size: 9px; margin-bottom: 16px; }
.project-identity h3 { font-size: clamp(23px, 2.55vw, 34px); margin-bottom: 6px; }
.project-subtitle { color: #becbc3; font-size: 14px; }
.project-entry-body { display: flex; flex: 1; flex-direction: column; padding: 22px 24px; }
.project-entry-body > p { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 6px; font-size: .875rem; font-weight: 600; line-height: 1.4; padding: .5rem .85rem; min-height: 36px; transition: background-color .15s, border-color .15s, box-shadow .15s; }
.btn.btn-sm { font-size: .8125rem; padding: .35rem .65rem; min-height: 30px; border-radius: 5px; }
.btn.btn-lg { font-size: .9375rem; padding: .65rem 1rem; min-height: 44px; }
.btn:focus-visible { outline: 2px solid #537c69; outline-offset: 3px; }
.btn:disabled { opacity: .5; }
.modal-content { border: 1px solid #dce3de; border-radius: 12px; box-shadow: 0 16px 60px #172a2326; }
.modal-header, .modal-footer { padding: 1rem 1.25rem; border-color: #e7ece8; gap: .75rem; }
.modal-header { justify-content: space-between; }
.modal-header > .btn { margin-left: auto; flex-shrink: 0; }
.modal-body { padding: 1.25rem; }
.modal-title { font-weight: 600; letter-spacing: -.02em; }
.form-control, .form-select { border-color: #d5ded7; border-radius: 6px; font-size: .875rem; }
.form-control:focus, .form-select:focus { border-color: #709280; box-shadow: 0 0 0 .2rem #3d73551a; }
.form-label { font-size: .8125rem; font-weight: 600; color: #40564b; }
.table { --bs-table-border-color: #e6ebe7; }
.table thead th { color: #53665b; font-size: .75rem; font-weight: 600; padding-block: .7rem; background: #f6f8f5; }
.table td { font-size: .875rem; vertical-align: middle; padding-block: .75rem; }
.button-dark {
    --bs-btn-bg: var(--ink);
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: #2b4440;
    --bs-btn-hover-color: #fff;
    --bs-btn-disabled-bg: var(--ink);
    --bs-btn-disabled-color: #fff;
    --bs-btn-focus-shadow-rgb: 54,84,68;
}
.button-outline {
    --bs-btn-color: var(--ink);
    --bs-btn-border-color: #ccd6ce;
    --bs-btn-hover-bg: var(--paper);
    --bs-btn-hover-border-color: var(--ink);
    --bs-btn-hover-color: var(--ink);
    --bs-btn-focus-shadow-rgb: 54,84,68;
}
.project-entry-body .btn { width: 100%; margin-top: auto; justify-content: center; }
.project-team-link { display: block; text-align: center; font-size: 12px; margin-top: 14px; color: #465650; }
a.project-team-link { text-decoration: underline; text-underline-offset: .2em; }
.directory-note { font-size: 12px; line-height: 1.65; color: var(--muted); margin-top: 16px; padding-inline: 1px; max-width: 50ch; }
.access-section { background: var(--paper); border-top: 1px solid var(--line); }
.access-help { display: grid; grid-template-columns: .85fr 1fr 1fr; gap: 48px; padding-block: 36px 40px; }
.help-heading .eyebrow { margin-bottom: 9px; }
.help-heading h2 { font-size: 25px; margin: 0; }
.access-help h3 { font-size: 17px; letter-spacing: -.01em; margin-bottom: 10px; }
.access-help p:not(.eyebrow) { font-size: 14px; color: var(--muted); line-height: 1.7; }
.site-footer { background: var(--dark); color: #bcc8c0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 26px; font-size: 12px; }
.footer-brand { display: flex; align-items: center; gap: 24px; }
.footer-brand > span { border-left: 1px solid #465651; padding-left: 24px; font-size: 13px; line-height: 1.6; }
.footer-detail { font-size: 11px; color: #a6b8ad; }
.preview-tag { margin-left: 18px; padding-left: 18px; border-left: 1px solid #465651; font-size: 10px; }
.project-page { padding-block: 60px 72px; }
.project-page-heading { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: center; padding-bottom: 42px; border-bottom: 1px solid var(--line); }
.project-page-heading h1 { margin-bottom: 14px; }
.project-page-heading .eyebrow { margin-bottom: 16px; }
.project-page-heading .hypermodern-still { margin: 0; }
.project-access { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-top: 32px; }
.access-option { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: clamp(22px, 3vw, 36px); }
.access-option h2 { font-size: 26px; margin-bottom: 12px; }
.access-option p { color: var(--muted); font-size: 15px; max-width: 48ch; }
.access-option .btn, .access-option details { margin-top: 18px; }
.access-option summary { cursor: pointer; font-size: 14px; font-weight: 700; }
.access-option details p { padding-top: 12px; }
.management { padding-block: 30px 80px; }
.back-link { color: var(--muted); font-size: 13px; }
.sign-in { display: grid; grid-template-columns: 1fr .82fr; gap: 80px; align-items: center; padding-block: 44px 12px; }
.sign-in-intro h1 { font-size: clamp(36px, 4.5vw, 60px); }
.hypermodern-wordmark { color: var(--paper); font-size: 24px; font-weight: 700; letter-spacing: .1em; }
.sign-in-hypermodern { align-items: start; }
.sign-in-hypermodern .sign-in-card { margin-top: 12px; }
.hypermodern-still { margin: 24px 0 0; }
.hypermodern-still img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.hypermodern-still figcaption { padding-top: 7px; color: var(--muted); font-size: 12px; }
.sign-in-intro .intro-note { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.sign-in-card { background: #fff; padding: 36px; border: 1px solid var(--line); border-radius: 4px; }
.sign-in-card h2 { font-size: 30px; margin-bottom: 14px; }
.sign-in-card > p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.sign-in-card .eyebrow { margin-bottom: 14px; }
.sign-in-card .form-label { font-size: 14px; margin-top: 24px; }
.sign-in-card .form-control { min-height: 40px; font-size: 14px; border-radius: 3px; }
.sign-in-card .btn { margin-top: 14px; width: 100%; }
.sign-in-card .preview-note { font-size: 11px; margin-top: 14px; }
.sign-in-help { color: var(--muted); border-top: 1px solid var(--line); margin-top: 26px; padding-top: 18px; font-size: 12px; }
.sign-in-help summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--ink); }
.sign-in-help p { margin-top: 10px; }
.sign-in-switch { display: inline-block; margin-top: 14px; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.invitation-label { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.code-toggle { padding: 0; margin-bottom: .5rem; border: 0; background: transparent; color: var(--ink); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.invite-code-help { margin-top: 6px; color: var(--muted); font-size: 12px; }
@media (max-width: 850px) {
    .wrap { width: calc(100% - 48px); }
    .directory { padding-block: 44px; }
    h1 { font-size: 42px; }
    .lead-copy { font-size: 18px; }
    .project-identity, .project-entry-body { padding: 24px; }
    .access-help { gap: 24px; }
    .project-access, .sign-in { gap: 35px; }
}
@media (max-width: 650px) {
    .wrap { width: calc(100% - 40px); }
    .header-inner { min-height: 86px; gap: 18px; }
    .brand { gap: 14px; }
    .brand img { width: 80px; }
    .brand > span { padding-left: 14px; font-size: 13px; }
    .brand-detail { display: none; }
    .hypermodern-wordmark { font-size: 18px; }
    .header-inner nav { gap: 14px; font-size: 12px; }
    .project-page-heading, .project-access, .sign-in { grid-template-columns: 1fr; }
    .directory { padding-block: 36px 40px; }
    h1 { font-size: 40px; }
    .access-help { grid-template-columns: 1fr; gap: 26px; }
    .footer-inner { flex-direction: column; align-items: start; gap: 22px; }
    .project-page { padding-block: 40px; }
    .project-access { gap: 30px; padding-top: 30px; }
    .project-page-heading { padding-bottom: 30px; }
    .management { padding-bottom: 40px; }
    .sign-in { padding-top: 30px; }
    .sign-in-card { padding: 26px; }
    .sign-in-hypermodern .hypermodern-still { display: none; }
}
@media (max-width: 720px) {
    .project-grid { grid-template-columns: 1fr; }
}

.deck-share { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: clamp(32px, 6vw, 80px); padding-block: 72px; }
.deck-share-cover { overflow: hidden; border-radius: 4px; background: var(--ink); }
.deck-share-cover img { display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: 65% center; }
.deck-share h1 { margin-bottom: 12px; }
.deck-share h2 { font-size: 24px; margin-bottom: 14px; }
.deck-share form { margin-top: 24px; }
.deck-share-note { color: var(--muted); font-size: 13px; margin-top: 14px; }
@media (max-width: 720px) {
    .deck-share { grid-template-columns: 1fr; padding-block: 32px 48px; }
}

.team-access-card { max-width: 32rem; margin-inline: auto; }
.team-access-card .button-dark { min-height: 48px; }
.team-access-card .button-dark:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.team-access-card [role="status"]:empty { display: none; }

.team-project-sign-in .button-dark { min-height: 48px; }
@media (max-width: 767.98px) {
    .team-project-sign-in .sign-in-card { grid-row: 1; margin-top: 0; }
}
