:root {
    color-scheme: dark;
    --ink: #080b14;
    --ink-soft: #0d1220;
    --surface: #111827;
    --surface-raised: #171c2c;
    --text: #f8f6f2;
    --muted: #bec7d5;
    --cyan: #5ce6ef;
    --cyan-dark: #08262c;
    --magenta: #ff4ca5;
    --coral: #ff806d;
    --yellow: #ffdc67;
    --violet: #b797ff;
    --border: rgb(255 255 255 / 17%);
    --border-strong: rgb(255 255 255 / 34%);
    --shadow: 0 24px 80px rgb(0 0 0 / 42%);
    --radius: 0.65rem;
    --content: 88rem;
    --ease: 180ms ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    min-width: 20rem;
    margin: 0;
    overflow-x: hidden;
    background: var(--ink);
    color: var(--text);
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

body::before {
    position: fixed;
    z-index: -2;
    inset: 0;
    background:
        linear-gradient(180deg, rgb(8 11 20 / 68%), rgb(8 11 20 / 98%)),
        url("../images/background.webp") center top / cover no-repeat;
    content: "";
    opacity: 0.22;
}

body::after {
    position: fixed;
    z-index: -1;
    inset: 0;
    background:
        radial-gradient(circle at 15% 8%, rgb(92 230 239 / 10%), transparent 32rem),
        radial-gradient(circle at 88% 38%, rgb(255 76 165 / 9%), transparent 28rem);
    content: "";
    pointer-events: none;
}

body.modal-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--cyan);
    text-underline-offset: 0.22em;
}

a:hover {
    color: var(--yellow);
}

button,
input,
textarea {
    font: inherit;
}

button,
summary,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 4px;
}

::selection {
    background: var(--magenta);
    color: #fff;
}

h1,
h2,
h3,
p,
figure,
blockquote {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 0.98;
    text-wrap: balance;
}

h1,
h2 {
    text-transform: uppercase;
    letter-spacing: -0.045em;
}

h1 {
    max-width: 9ch;
    margin-bottom: 1.75rem;
    font-size: clamp(3rem, 7.2vw, 7.5rem);
    font-weight: 800;
}

h2 {
    margin-bottom: 1rem;
    font-size: clamp(2.4rem, 5vw, 5.3rem);
    font-weight: 800;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.7rem 1rem;
    transform: translateY(-180%);
    border-radius: 0.35rem;
    background: var(--yellow);
    color: var(--ink);
    font-weight: 800;
}

.skip-link:focus {
    transform: translateY(0);
}

.section-shell {
    width: min(100% - clamp(2rem, 7vw, 8rem), var(--content));
    margin-inline: auto;
}

.site-header {
    position: absolute;
    z-index: 10;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.4rem clamp(1rem, 4vw, 4rem);
    border-bottom: 1px solid var(--border);
}

.site-header p {
    margin: 0;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-align: right;
    text-transform: uppercase;
}

.wordmark {
    color: var(--text);
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.wordmark:hover {
    color: var(--cyan);
}

.section-nav {
    position: fixed;
    z-index: 40;
    top: 50%;
    right: clamp(0.65rem, 1.5vw, 1.6rem);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    transform: translateY(-50%);
}

.section-nav a {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.7rem;
    min-height: 2rem;
    color: var(--muted);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
}

.section-nav a span {
    padding: 0.15rem 0.3rem;
    opacity: 0;
    transform: translateX(0.35rem);
    transition: opacity var(--ease), transform var(--ease);
}

.section-nav a i {
    width: 0.55rem;
    height: 0.55rem;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    background: var(--ink);
    transition: background var(--ease), border-color var(--ease), transform var(--ease);
}

.section-nav a:hover span,
.section-nav a:focus-visible span,
.section-nav a[aria-current="true"] span {
    opacity: 1;
    transform: none;
}

.section-nav a:hover i,
.section-nav a[aria-current="true"] i {
    border-color: var(--cyan);
    background: var(--cyan);
    transform: scale(1.35);
}

.hero {
    display: grid;
    grid-template-columns: minmax(18rem, 0.82fr) minmax(20rem, 1.18fr);
    align-items: center;
    gap: clamp(2.5rem, 7vw, 8rem);
    min-height: 100svh;
    padding-block: 8rem 5rem;
}

.hero-poster {
    position: relative;
    width: min(100%, 34rem);
}

.hero-poster::before {
    position: absolute;
    z-index: -1;
    inset: 8% -10% -5% 14%;
    border: 1px solid rgb(92 230 239 / 35%);
    background: linear-gradient(145deg, rgb(92 230 239 / 14%), rgb(255 76 165 / 12%));
    content: "";
    transform: rotate(3deg);
}

.hero-poster img {
    width: 100%;
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow);
}

.hero-copy {
    max-width: 50rem;
}

.eyebrow {
    margin-bottom: 1rem;
    color: var(--cyan);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.logline {
    max-width: 42rem;
    margin-bottom: 1.2rem;
    color: var(--text);
    font-size: clamp(1.08rem, 1.7vw, 1.5rem);
    line-height: 1.55;
}

.format-note {
    margin-bottom: 2rem;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-actions {
    display: grid;
    gap: 0.75rem;
    width: min(100%, 28rem);
}

.button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 3.5rem;
    padding: 0.85rem 1.15rem;
    border: 1px solid var(--border-strong);
    border-radius: 0.25rem;
    background: rgb(255 255 255 / 3%);
    color: var(--text);
    cursor: pointer;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
    transition: border-color var(--ease), background var(--ease), color var(--ease), transform var(--ease);
}

.button:hover {
    border-color: var(--cyan);
    background: rgb(92 230 239 / 8%);
    color: var(--cyan);
    transform: translateX(0.25rem);
}

.button-primary {
    border-color: var(--cyan);
    background: var(--cyan);
    color: var(--cyan-dark);
}

.button-primary:hover {
    border-color: var(--yellow);
    background: var(--yellow);
    color: var(--ink);
}

.button:disabled {
    cursor: wait;
    opacity: 0.62;
    transform: none;
}

.content-section {
    padding-block: clamp(6rem, 11vw, 11rem);
    border-top: 1px solid var(--border);
    scroll-margin-top: 2rem;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 30rem);
    align-items: end;
    gap: 1rem 4rem;
    margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.section-heading .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.section-heading h2 {
    margin-bottom: 0;
}

.section-heading > p:last-child {
    max-width: 34rem;
    margin: 0;
    color: var(--muted);
}

.quotes-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgb(255 76 165 / 5%), transparent 50%, rgb(92 230 239 / 5%));
}

.quote-field {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(1rem, 2vw, 2rem);
}

.quote-bubble {
    position: relative;
    grid-column: span 6;
    margin-bottom: 0;
    padding: clamp(1.5rem, 3.5vw, 3rem);
    border: 1px solid var(--border-strong);
    border-radius: 2.6rem 2.6rem 2.6rem 0.4rem;
    background: rgb(17 24 39 / 86%);
    box-shadow: 0 1rem 3rem rgb(0 0 0 / 18%);
}

.quote-bubble:nth-child(2n) {
    border-radius: 2.6rem 2.6rem 0.4rem;
}

.quote-bubble-1 {
    grid-column: 1 / span 7;
    border-color: rgb(92 230 239 / 52%);
}

.quote-bubble-2 {
    grid-column: 7 / span 6;
    margin-top: 4rem;
    border-color: rgb(255 76 165 / 48%);
}

.quote-bubble-3 {
    grid-column: 2 / span 5;
    border-color: rgb(255 220 103 / 48%);
}

.quote-bubble-4 {
    grid-column: 7 / span 6;
    border-color: rgb(183 151 255 / 48%);
}

.quote-bubble-5 {
    grid-column: 3 / span 8;
    border-color: rgb(255 128 109 / 48%);
}

.quote-bubble blockquote {
    margin-bottom: 1.4rem;
    font-size: clamp(1rem, 1.55vw, 1.28rem);
    line-height: 1.55;
}

.quote-bubble figcaption {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
    gap: 1px;
    border: 1px solid var(--border);
    background: var(--border);
}

.person-card {
    min-width: 0;
    background: var(--ink-soft);
}

.person-card summary {
    display: block;
    height: 100%;
    cursor: pointer;
    list-style: none;
}

.person-card summary::-webkit-details-marker {
    display: none;
}

.portrait-wrap {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--surface);
}

.portrait-wrap img {
    width: 100%;
    height: 100%;
    filter: saturate(0.82) contrast(1.03);
    object-fit: cover;
    transition: filter 300ms ease, transform 500ms ease;
}

.person-summary {
    display: flex;
    flex-direction: column;
    min-height: 10.5rem;
    padding: 1.2rem;
}

.person-summary strong {
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.person-summary > span:nth-child(2) {
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.45;
}

.person-cta {
    margin-top: auto;
    padding-top: 1.2rem;
    color: var(--cyan);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.person-card summary:hover .portrait-wrap img,
.person-card summary:focus-visible .portrait-wrap img {
    filter: saturate(1.12) contrast(1.06);
    transform: scale(1.035);
}

.person-card[open] {
    grid-column: span 2;
}

.person-bio {
    padding: 0 1.2rem 1.6rem;
    color: var(--muted);
    font-size: 0.88rem;
}

.person-bio p:last-child {
    margin-bottom: 0;
}

.js .person-card[open] {
    grid-column: auto;
}

.js .person-card .person-bio {
    display: none;
}

.laurels-section {
    background: rgb(255 255 255 / 2%);
}

.laurel-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    border: 1px solid var(--border);
    background: var(--border);
}

.laurel-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 13rem;
    margin: 0;
    padding: 1.4rem;
    background: var(--ink-soft);
    text-align: center;
}

.laurel-card img {
    width: auto;
    max-width: 100%;
    height: 6.5rem;
    object-fit: contain;
    filter: grayscale(1) brightness(1.45);
    opacity: 0.84;
    transition: filter var(--ease), opacity var(--ease), transform var(--ease);
}

.laurel-card:hover img {
    filter: none;
    opacity: 1;
    transform: translateY(-0.2rem);
}

.laurel-card figcaption {
    max-width: 15rem;
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-transform: uppercase;
}

.table-wrap {
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border);
}

table {
    width: 100%;
    min-width: 58rem;
    border-collapse: collapse;
    font-size: 0.82rem;
}

th,
td {
    padding: 1.05rem 1.2rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--surface-raised);
    color: var(--cyan);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

tbody th {
    color: var(--text);
    font-weight: 700;
}

tbody td {
    color: var(--muted);
}

tbody tr:last-child th,
tbody tr:last-child td {
    border-bottom: 0;
}

tbody tr:hover {
    background: rgb(92 230 239 / 4%);
}

td small,
th small {
    display: block;
    margin-top: 0.25rem;
    color: var(--muted);
    font-weight: 400;
}

.table-link,
.text-link,
.back-link {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gallery-section {
    overflow: clip;
}

.gallery-groups {
    border-top: 1px solid var(--border);
}

.gallery-group {
    border-bottom: 1px solid var(--border);
}

.gallery-group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.5rem 0;
    cursor: pointer;
    font-size: clamp(1.3rem, 2.5vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    list-style: none;
    text-transform: uppercase;
}

.gallery-group > summary::-webkit-details-marker {
    display: none;
}

.gallery-group > summary::after {
    order: 3;
    color: var(--cyan);
    content: "+";
    font-size: 1.8rem;
    font-weight: 400;
}

.gallery-group[open] > summary::after {
    content: "−";
}

.gallery-count {
    margin-left: auto;
    color: var(--muted);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.masonry-grid {
    columns: 4 15rem;
    column-gap: 0.8rem;
    padding-bottom: 2rem;
}

.gallery-item {
    position: relative;
    display: block;
    margin-bottom: 0.8rem;
    break-inside: avoid;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface);
}

.gallery-item img {
    width: 100%;
    transition: filter 300ms ease, transform 500ms ease;
}

.gallery-zoom {
    position: absolute;
    right: 0.6rem;
    bottom: 0.6rem;
    padding: 0.35rem 0.55rem;
    border: 1px solid rgb(255 255 255 / 38%);
    border-radius: 99px;
    background: rgb(8 11 20 / 82%);
    color: var(--text);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    opacity: 0;
    text-transform: uppercase;
    transform: translateY(0.4rem);
    transition: opacity var(--ease), transform var(--ease);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
    filter: saturate(1.12);
    transform: scale(1.025);
}

.gallery-item:hover .gallery-zoom,
.gallery-item:focus-visible .gallery-zoom {
    opacity: 1;
    transform: none;
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    padding-block: 4rem 7rem;
    border-top: 1px solid var(--border);
}

.site-footer p {
    margin: 0.8rem 0 0;
    color: var(--muted);
    font-size: 0.76rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.4rem;
    justify-content: flex-end;
}

.footer-links a {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.copyright {
    grid-column: 1 / -1;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.modal {
    width: min(calc(100% - 2rem), 76rem);
    max-height: calc(100dvh - 2rem);
    padding: 0;
    overflow: auto;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: var(--ink-soft);
    color: var(--text);
    box-shadow: var(--shadow);
}

.modal::backdrop {
    background: rgb(2 4 10 / 84%);
    backdrop-filter: blur(8px);
}

.modal-frame {
    position: relative;
    padding: clamp(1.2rem, 4vw, 3.5rem);
}

.modal-close {
    position: sticky;
    z-index: 2;
    top: 0;
    display: block;
    margin: 0 0 1.5rem auto;
    padding: 0.45rem 0.7rem;
    border: 1px solid var(--border-strong);
    border-radius: 99px;
    background: var(--surface-raised);
    color: var(--text);
    cursor: pointer;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.modal-close:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.person-modal-layout {
    display: grid;
    grid-template-columns: minmax(14rem, 0.7fr) minmax(18rem, 1.3fr);
    align-items: start;
    gap: clamp(2rem, 6vw, 5rem);
}

.person-modal-layout > img {
    width: 100%;
    max-height: 72dvh;
    border: 1px solid var(--border);
    object-fit: cover;
}

.modal-copy h2 {
    font-size: clamp(2.1rem, 5vw, 4.7rem);
}

.modal-prose {
    max-width: 47rem;
    color: var(--muted);
    font-size: 0.94rem;
}

.modal-prose p:last-child {
    margin-bottom: 0;
}

.image-modal {
    width: min(calc(100% - 2rem), 92rem);
}

.image-modal figure {
    margin: 0;
}

.image-modal img {
    width: 100%;
    max-height: 76dvh;
    object-fit: contain;
}

.image-modal figcaption {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-align: center;
}

.inquiry-modal {
    width: min(calc(100% - 2rem), 44rem);
}

.inquiry-form {
    max-width: 42rem;
    margin-inline: auto;
}

.form-intro {
    margin-bottom: 2rem;
}

.form-intro h2 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 6vw, 4rem);
}

.form-intro > p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.form-status {
    min-height: 0;
    margin-bottom: 0;
    padding: 0;
    border: 0 solid transparent;
    color: var(--yellow);
    font-size: 0.86rem;
}

.form-status.is-visible:not(:empty) {
    margin-bottom: 1.5rem;
    padding: 0.9rem 1rem;
    border-width: 1px;
    border-color: rgb(255 220 103 / 45%);
    background: rgb(255 220 103 / 7%);
}

.form-status.is-success {
    border-color: rgb(92 230 239 / 45%);
    background: rgb(92 230 239 / 7%);
    color: var(--cyan);
}

.form-field {
    margin-bottom: 1.2rem;
}

.form-field label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid var(--border-strong);
    border-radius: 0.25rem;
    background: #090e1b;
    color: var(--text);
    transition: border-color var(--ease), box-shadow var(--ease);
}

.form-field input {
    min-height: 3.2rem;
    padding: 0.7rem 0.85rem;
}

.form-field textarea {
    min-height: 11rem;
    padding: 0.85rem;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgb(92 230 239 / 14%);
}

.form-field [aria-invalid="true"] {
    border-color: var(--coral);
}

.field-hint,
.field-error {
    margin: 0.4rem 0 0;
    font-size: 0.7rem;
}

.field-hint {
    color: var(--muted);
}

.field-error {
    min-height: 1.1em;
    color: #ff9b8c;
    font-weight: 600;
}

.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-top: 1.8rem;
}

.form-actions .button {
    min-width: 12rem;
}

.inquiry-page .site-header {
    position: relative;
}

.standalone-form {
    min-height: calc(100svh - 12rem);
    padding-block: 4rem 6rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
}

.form-panel {
    max-width: 48rem;
    padding: clamp(1.5rem, 5vw, 4rem);
    border: 1px solid var(--border);
    background: var(--ink-soft);
}

@media (max-width: 72rem) {
    .laurel-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 55rem) {
    html {
        scroll-padding-top: 1rem;
    }

    body {
        padding-bottom: 4.5rem;
    }

    .site-header {
        padding-inline: 1rem;
    }

    .section-nav {
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        flex-direction: row;
        justify-content: flex-start;
        gap: 0;
        overflow-x: auto;
        border-top: 1px solid var(--border-strong);
        background: rgb(8 11 20 / 96%);
        transform: none;
        backdrop-filter: blur(14px);
    }

    .section-nav a {
        flex: 0 0 auto;
        min-width: 4.7rem;
        min-height: 4rem;
        padding: 0.5rem 0.7rem;
        flex-direction: column-reverse;
        justify-content: center;
        gap: 0.35rem;
    }

    .section-nav a span {
        opacity: 1;
        transform: none;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 8rem;
    }

    .hero-poster {
        width: min(82vw, 29rem);
        margin-inline: auto;
    }

    .hero-copy {
        padding-top: 1rem;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .quote-bubble,
    .quote-bubble-1,
    .quote-bubble-2,
    .quote-bubble-3,
    .quote-bubble-4,
    .quote-bubble-5 {
        grid-column: 1 / -1;
        margin-top: 0;
    }

    .laurel-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .person-modal-layout {
        grid-template-columns: 1fr;
    }

    .person-modal-layout > img {
        width: min(100%, 24rem);
        max-height: 48dvh;
        margin-inline: auto;
    }

    .site-footer {
        grid-template-columns: 1fr;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 38rem) {
    .site-header p {
        max-width: 12rem;
        font-size: 0.58rem;
    }

    .hero-poster::before {
        inset: 6% -5% -3% 9%;
    }

    .hero-actions {
        width: 100%;
    }

    .people-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .person-summary {
        min-height: 10rem;
        padding: 1rem;
    }

    .person-summary strong {
        font-size: 0.76rem;
    }

    .person-summary > span:nth-child(2) {
        font-size: 0.68rem;
    }

    .person-card[open] {
        grid-column: 1 / -1;
    }

    .laurel-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .laurel-card {
        min-height: 11rem;
        padding: 1rem;
    }

    .laurel-card img {
        height: 5.2rem;
    }

    .masonry-grid {
        columns: 2 8rem;
        column-gap: 0.5rem;
    }

    .gallery-item {
        margin-bottom: 0.5rem;
    }

    .modal {
        width: calc(100% - 1rem);
        max-height: calc(100dvh - 1rem);
    }

    .modal-frame {
        padding: 1rem;
    }

    .form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .form-actions .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (forced-colors: active) {
    .section-nav a i,
    .button,
    .person-card,
    .gallery-item,
    .laurel-card {
        forced-color-adjust: auto;
    }
}
