 :root {
    --ink: #29251e;
    --ink-soft: #5e5548;
    --brown: #806c50;
    --olive: #77745c;
    --paper: #e9e0ce;
    --paper-light: #f7f0e2;
    --rule: #b8a88e;
    --display: "Cinzel Decorative", serif;
    --editorial: "Almendra", Georgia, serif;
    --section: "Amarante", Georgia, serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--editorial);
    font-size: 17px;
    line-height: 1.65;
    background-image:
        radial-gradient(ellipse at 20% 15%, rgba(255, 255, 255, 0.28), transparent 50%),
        repeating-linear-gradient(0deg, rgba(83, 65, 43, 0.018) 0, rgba(83, 65, 43, 0.018) 1px, transparent 1px, transparent 5px);
}

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

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3 {
    font-family: var(--editorial);
    font-weight: 400;
}

p {
    margin-top: 0;
}

.eyebrow, .card-number, .photo-caption-label, .photo-credit,
.meeting-info, .event-date span, .main-navigation a,
.button-link, .text-link, .opportunity-list span {
    font-family: var(--section);
    letter-spacing: 0.1em;
}

.eyebrow {
    margin-bottom: 12px;
    color: var(--olive);
    font-size: 12px;
    text-transform: uppercase;
}

.site-header {
    padding-top: 22px;
}

.header-inner, .page-shell, .footer-inner {
    width: min(1100px, calc(100% - 72px));
    margin: 0 auto;
}

.publication-name {
    display: block;
    width: fit-content;
    margin: 0 auto 8px;
    color: var(--ink-soft);
    font-family: var(--section);
    font-size: 13px;
    letter-spacing: 0.22em;
}

.masthead {
    display: block;
    padding: 5px 0 19px;
    border-bottom: 1px solid var(--ink);
    font-family: var(--display);
    font-size: clamp(32px, 5.5vw, 64px);
    letter-spacing: -0.055em;
    line-height: 1.3;
    text-align: center;
}

.main-navigation {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 38px;
    padding: 15px 0;
    border-bottom: 1px solid var(--rule);
}

.main-navigation a {
    position: relative;
    padding: 3px 0;
    color: var(--ink-soft);
    font-size: 15px;
    text-transform: uppercase;
}

.main-navigation a::after {
    position: absolute;
    right: 0;
    bottom: -4px;
    left: 0;
    height: 1px;
    background: var(--ink);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.main-navigation a:hover::after, .main-navigation a.active::after {
    transform: scaleX(1);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--rule);
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(30px, 3.4vw, 43px);
    line-height: 1.2;
}

.section-number {
    color: var(--brown);
    font-size: 25px;
}

.page-heading {
    max-width: 780px;
    margin: 75px 0 70px;
    padding-bottom: 35px;
    border-bottom: 1px solid var(--rule);
}

.page-heading h1 {
    margin: 0 0 15px;
    font-size: clamp(55px, 8vw, 90px);
    line-height: 1.02;
}

.page-heading > p:last-child {
    max-width: 580px;
    color: var(--ink-soft);
    font-size: 19px;
}

.paper-slip, .paper-note, .torn-paper {
    background: var(--paper-light);
    box-shadow: 4px 6px 14px rgba(58, 45, 28, 0.12);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.torn-paper {
    clip-path: polygon(0.5% 1%, 8% 0.5%, 16% 1%, 24% 0.5%, 32% 1%, 40% 0.5%, 48% 1%, 56% 0.5%, 64% 1%, 72% 0.5%, 80% 1%, 88% 0.5%, 99.5% 1%, 99% 20%, 99.5% 40%, 99% 60%, 99.5% 80%, 99% 99%, 80% 98.5%, 60% 99%, 40% 98.5%, 20% 99%, 0.5% 98.5%, 1% 75%, 0.5% 50%, 1% 25%);
}

.torn-paper:hover, .paper-slip:hover {
    transform: translateY(-6px);
    box-shadow: 8px 14px 22px rgba(58, 45, 28, 0.16);
}

.photo-mount {
    position: relative;
    padding: 21px 21px 42px;
    background: #faf5eb;
    box-shadow: 3px 5px 0 rgba(91, 70, 43, 0.13), 8px 12px 20px rgba(53, 42, 28, 0.13);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.photo-mount:hover, .club-image-wrap:hover {
    transform: translateY(-6px) rotate(0deg);
    box-shadow: 5px 9px 0 rgba(91, 70, 43, 0.13), 11px 17px 24px rgba(53, 42, 28, 0.19);
}

.photo-mount-large {
    transform: rotate(-1deg);
}

.photo-caption-label {
    position: absolute;
    right: 22px;
    bottom: 11px;
    color: var(--brown);
    font-size: 11px;
}

.image-placeholder {
    display: grid;
    position: relative;
    place-items: center;
    min-height: 180px;
    overflow: hidden;
    background: #c9bda8;
    color: #655b4a;
    font-family: var(--section);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-align: center;
}

.image-placeholder img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.halftone::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(25, 23, 20, 0.48) 0.65px, transparent 1px);
    background-size: 4px 4px;
    content: "";
    opacity: 0.36;
    mix-blend-mode: multiply;
}

.halftone img {
    filter: saturate(0.72) contrast(1.05) sepia(0.08);
}

.home-intro {
    display: grid;
    grid-template-columns: 1fr 190px;
    align-items: center;
    gap: 50px;
    padding: 85px 0 80px;
    border-bottom: 1px solid var(--rule);
}

.home-intro h1 {
    margin: 0 0 18px;
    font-size: clamp(46px, 7vw, 80px);
    line-height: 1.04;
}

.intro-copy > p:last-child {
    max-width: 560px;
    color: var(--ink-soft);
    font-size: 19px;
}

.instagram-mark {
    width: 155px;
    height: 155px;
    justify-self: center;
    overflow: hidden;
    border-radius: 50%;
    background: var(--paper-light);
    box-shadow: 4px 5px 0 rgba(111, 91, 63, 0.14), 8px 12px 20px rgba(58, 45, 28, 0.12);
    transform: rotate(2deg);
    transition: transform 200ms ease;
}

.instagram-mark:hover {
    transform: translateY(-6px) rotate(0);
}

.instagram-mark img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.weekly-picture {
    padding: 70px 0 80px;
    border-bottom: 1px solid var(--rule);
}

.picture-layout {
    display: grid;
    grid-template-columns: 1.55fr 0.8fr;
    align-items: center;
    gap: 48px;
}

.photo-large {
    min-height: 430px;
}

.picture-caption {
    padding: 38px 32px 40px;
    transform: rotate(1deg);
}

.picture-caption h3 {
    margin: 0 0 15px;
    font-size: 36px;
    line-height: 1.15;
}

.picture-caption > p:not(.eyebrow) {
    color: var(--ink-soft);
    font-size: 18px;
}

.photo-credit {
    display: block;
    margin-top: 25px;
    color: var(--brown);
    font-size: 12px;
}

.departments-section {
    padding: 75px 0 100px;
}

.department-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
}

.department-card {
    display: flex;
    flex-direction: column;
    min-height: 255px;
    padding: 24px 20px;
    background: var(--paper-light);
    box-shadow: 3px 5px 0 rgba(111, 91, 63, 0.12);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.department-card:nth-child(1) { transform: rotate(-1deg); }
.department-card:nth-child(2) { margin-top: 13px; transform: rotate(0.8deg); }
.department-card:nth-child(3) { transform: rotate(-0.7deg); }
.department-card:nth-child(4) { margin-top: 15px; transform: rotate(1.2deg); }

.department-card:hover {
    transform: translateY(-7px) rotate(0);
    box-shadow: 5px 9px 0 rgba(111, 91, 63, 0.13), 10px 16px 22px rgba(58, 45, 28, 0.17);
}

.card-number {
    margin-bottom: 35px;
    color: var(--olive);
    font-size: 12px;
}

.department-card h3 {
    margin: 0 0 10px;
    font-family: var(--section);
    font-size: 28px;
}

.department-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 16px;
}

.wrapped-section { padding-bottom: 80px; }

.wrapped-grid, .club-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

.wrapped-card:nth-child(2), .club-card:nth-child(2) { padding-top: 24px; }
.wrapped-card:nth-child(3), .club-card:nth-child(3) { padding-top: 8px; }

.card-photo { min-height: 220px; }
.wrapped-card .photo-mount, .quiz-card .photo-mount, .contribution-card .photo-mount { margin-bottom: 23px; }

.wrapped-card h3 {
    margin: 0 0 8px;
    font-size: 26px;
    line-height: 1.2;
}

.wrapped-card > p:last-child, .event-details p, .club-description,
.quiz-card > p:not(.eyebrow), .contribution-card > p:not(.eyebrow) {
    color: var(--ink-soft);
}

.upcoming-events { padding-bottom: 95px; }
.events-list { border-top: 1px solid var(--rule); }

.event-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    align-items: center;
    gap: 30px;
    padding: 25px 10px;
    border-bottom: 1px solid var(--rule);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    padding: 10px;
}

.event-date span { font-size: 12px; }
.event-date strong { font-size: 31px; font-weight: 400; }
.event-details h3 { margin: 0 0 5px; font-size: 28px; }
.event-details p { margin: 0; }

.club-directory { padding-bottom: 100px; }

.club-image-wrap {
    margin-bottom: 24px;
    padding: 20px 20px 38px;
    background: var(--paper-light);
    box-shadow: 4px 6px 12px rgba(58, 45, 28, 0.13);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.club-image { min-height: 230px; }
.club-information { padding: 0 5px; }
.club-information h3 { margin: 0 0 10px; font-size: 29px; }
.club-description { font-size: 17px; }

.meeting-info {
    margin-top: 20px;
    padding-top: 12px;
    border-top: 1px solid var(--rule);
    color: var(--brown);
    font-size: 12px;
}

.text-link {
    display: inline-block;
    margin-top: 15px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--brown);
    font-size: 13px;
}

.text-link:hover { color: var(--olive); border-color: var(--olive); }

.trivia-section { padding-bottom: 80px; }

.trivia-container {
    display: grid;
    place-items: center;
    min-height: 260px;
    background: var(--paper-light);
    box-shadow: 5px 7px 15px rgba(58, 45, 28, 0.1);
}

.trivia-container:hover, .event-date:hover { transform: none; }

.empty-state {
    color: var(--brown);
    font-family: var(--section);
    font-size: 15px;
    letter-spacing: 0.12em;
}

.quiz-section { padding-bottom: 100px; }

.quiz-grid, .contributions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 55px;
}

.quiz-card:nth-child(2), .contribution-card:nth-child(2) { padding-top: 35px; }
.quiz-image { min-height: 280px; }
.quiz-card h3, .contribution-card h3 { margin: 0 0 8px; font-size: 31px; }

.dispatch-feature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    min-height: 210px;
    margin-bottom: 38px;
    padding: 38px 45px;
    background: var(--paper-light);
    box-shadow: 4px 6px 0 rgba(111, 91, 63, 0.12), 8px 12px 18px rgba(58, 45, 28, 0.1);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.dispatch-feature:hover {
    transform: translateY(-7px);
    box-shadow: 6px 10px 0 rgba(111, 91, 63, 0.13), 12px 18px 25px rgba(58, 45, 28, 0.18);
}

.suggestion-feature { transform: rotate(-0.4deg); }
.interview-feature { margin-bottom: 85px; background: #e1d4bd; transform: rotate(0.35deg); }
.dispatch-feature-copy { max-width: 650px; }
.dispatch-feature h2 { margin: 0 0 10px; font-size: clamp(34px, 4vw, 46px); line-height: 1.15; }
.dispatch-feature-copy > p:not(.eyebrow) { max-width: 620px; color: var(--ink-soft); font-size: 18px; }
.dispatch-feature-copy .interview-audience { margin-top: 17px; color: var(--brown); font-family: var(--section); font-size: 15px; }

.button-link {
    flex-shrink: 0;
    display: inline-block;
    padding: 13px 17px;
    border: 1px solid var(--ink);
    font-size: 14px;
    white-space: nowrap;
    transition: color 180ms ease, background 180ms ease;
}

.button-link:hover { color: var(--paper-light); background: var(--ink); }

.contributions-section { padding-bottom: 90px; }
.contribution-card .photo-mount { margin-bottom: 25px; }
.contribution-image { min-height: 270px; }
.contribution-card > p:not(.eyebrow) { font-size: 17px; }

.join-section {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 55px;
    padding: 65px 0 100px;
    border-top: 1px solid var(--rule);
}

.join-copy h2 { margin: 0 0 15px; font-size: clamp(40px, 5vw, 58px); line-height: 1.1; }
.join-copy > p:not(.eyebrow) { color: var(--ink-soft); font-size: 18px; }

.opportunity-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 25px 0;
}

.opportunity-list span {
    padding: 7px 11px;
    border: 1px solid var(--rule);
    background: rgba(247, 240, 226, 0.6);
    color: var(--ink-soft);
    font-size: 14px;
}

.meeting-note {
    margin: 28px 0;
    padding: 12px 0 12px 18px;
    border-left: 2px solid var(--olive);
}

.meeting-note strong { font-family: var(--section); font-size: 25px; font-weight: 400; }
.meeting-note p { margin: 2px 0 0; color: var(--ink-soft); }
.join-image { min-height: 420px; }

.site-footer {
    padding: 35px 0;
    color: var(--paper-light);
    background: var(--ink);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.footer-title { margin: 0; font-family: var(--display); font-size: 24px; }
.footer-inner p:last-child { margin: 4px 0 0; color: #c4b9a6; font-size: 14px; }
.footer-inner > a { color: #d8cdb9; font-family: var(--section); font-size: 14px; }

@media (max-width: 900px) {
    .department-grid { grid-template-columns: repeat(2, 1fr); }
    .club-grid { grid-template-columns: repeat(2, 1fr); }
    .club-card:nth-child(3) { padding-top: 0; }
    .picture-layout { grid-template-columns: 1.2fr 0.8fr; gap: 28px; }
    .dispatch-feature { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
    .header-inner, .page-shell, .footer-inner { width: calc(100% - 36px); }
    .main-navigation { gap: 18px; }
    .main-navigation a { font-size: 13px; }
    .home-intro { grid-template-columns: 1fr; gap: 35px; padding: 60px 0; }
    .instagram-mark { width: 125px; height: 125px; }
    .page-heading { margin: 55px 0 48px; }
    .picture-layout { grid-template-columns: 1fr; gap: 30px; }
    .photo-large { min-height: 270px; }
    .picture-caption { margin: 0 8px; padding: 30px 25px; }
    .department-grid { gap: 13px; }
    .department-card, .department-card:nth-child(n) { min-height: 225px; margin-top: 0; padding: 18px 14px; }
    .department-card h3 { font-size: 23px; }
    .department-card p { font-size: 14px; }
    .wrapped-grid, .club-grid, .quiz-grid, .contributions-grid { grid-template-columns: 1fr; gap: 35px; }
    .wrapped-card:nth-child(n), .club-card:nth-child(n), .quiz-card:nth-child(n), .contribution-card:nth-child(n) { padding-top: 0; }
    .card-photo, .club-image, .quiz-image, .contribution-image { min-height: 245px; }
    .event-item { grid-template-columns: 75px 1fr; gap: 18px; }
    .event-date { min-height: 75px; }
    .dispatch-feature { min-height: 0; gap: 20px; margin-bottom: 30px; padding: 30px 23px; }
    .interview-feature { margin-bottom: 65px; }
    .dispatch-feature h2 { font-size: 35px; }
    .button-link { white-space: normal; }
    .join-section { grid-template-columns: 1fr; gap: 30px; }
    .join-image { min-height: 280px; }
    .footer-inner { align-items: flex-start; flex-direction: column; }
}
