/* =========================================================
   MASTER FANLISTING FRAMEWORK
   shared/style.css
   ========================================================= */


/* ---------------------------------------------------------
   VARIABLES
   --------------------------------------------------------- */

:root {
    --bg: #eee9df;
    --surface: #f7f3ec;
    --surface-2: #e5ddd1;

    --ink: #252321;
    --muted: #777068;

    --accent: #6d4148;
    --accent-strong: #492b30;
    --accent-soft: #d8c6c4;

    --line: rgba(37, 35, 33, 0.22);

    --serif: Georgia, "Times New Roman", serif;
    --sans: Arial, Helvetica, sans-serif;
    --mono: "Courier New", Courier, monospace;

    --container: 1180px;
    --gutter: 28px;

    --transition: 220ms ease;
}


/* ---------------------------------------------------------
   RESET
   --------------------------------------------------------- */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);

    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.6;
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}


/* ---------------------------------------------------------
   ACCESSIBILITY
   --------------------------------------------------------- */

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 999;

    padding: 10px 16px;

    background: var(--ink);
    color: var(--bg);
}

.skip-link:focus {
    top: 20px;
}


/* ---------------------------------------------------------
   GLOBAL
   --------------------------------------------------------- */

.container {
    width: min(
        calc(100% - (var(--gutter) * 2)),
        var(--container)
    );

    margin-inline: auto;
}

.section {
    padding: 110px 0;
    border-top: 1px solid var(--line);
}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.site-header {
    border-bottom: 1px solid var(--line);
}

.header-inner {
    width: min(
        calc(100% - (var(--gutter) * 2)),
        var(--container)
    );

    min-height: 92px;
    margin-inline: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}


/* Brand */

.brand {
    display: flex;
    flex-direction: column;
}

.brand-small {
    margin-bottom: 3px;

    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .16em;
    text-transform: uppercase;

    color: var(--muted);
}

.brand-name {
    font-family: var(--serif);
    font-size: 21px;
    line-height: 1;
}


/* Navigation */

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav a {
    display: flex;
    align-items: center;
    gap: 7px;

    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;

    transition:
        color var(--transition),
        transform var(--transition);
}

.site-nav a span {
    color: var(--accent);
}

.site-nav a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}


/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.hero {
    padding: 90px 0 110px;
}

.eyebrow {
    display: flex;
    justify-content: space-between;

    margin-bottom: 55px;
    padding-bottom: 14px;

    border-bottom: 1px solid var(--line);

    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase;

    color: var(--muted);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 70px;

    align-items: end;
}

.hero-copy {
    position: relative;
}

.hero-number {
    margin: 0 0 12px;

    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .15em;

    color: var(--accent);
}

.hero h1 {
    max-width: 900px;

    margin: 0;

    font-family: var(--serif);
    font-size: clamp(70px, 12vw, 175px);
    font-weight: 400;
    line-height: .78;
    letter-spacing: -.055em;
}

.hero h1 em {
    color: var(--accent);
    font-style: italic;
}

.hero-description {
    max-width: 480px;

    margin: 55px 0 0;
    margin-left: 14%;

    color: var(--muted);
}


/* Hero image */

.hero-media {
    position: relative;
}

.hero-media img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.image-caption {
    display: flex;
    justify-content: space-between;

    margin-top: 10px;

    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .08em;
    text-transform: uppercase;

    color: var(--muted);
}


/* ---------------------------------------------------------
   LISTING INTRO
   --------------------------------------------------------- */

.intro-grid {
    display: grid;
    grid-template-columns: .35fr 1fr;
    gap: 70px;
}

.section-index {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .12em;

    color: var(--accent);
}

.section-kicker {
    margin: 0 0 8px;

    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase;

    color: var(--muted);
}

.section-heading {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 30px;

    margin-bottom: 65px;
}

.section-heading h2 {
    margin: 0;

    font-family: var(--serif);
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 400;
    line-height: .95;
    letter-spacing: -.035em;
}

.copy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;

    max-width: 900px;
}

.copy-grid p {
    margin: 0 0 20px;
}

.copy-grid p:first-child {
    font-family: var(--serif);
    font-size: 25px;
    line-height: 1.3;
}


/* ---------------------------------------------------------
   QUOTE
   --------------------------------------------------------- */

.quote-section {
    padding: 120px 0;

    background: var(--surface-2);

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.big-quote {
    max-width: 1000px;
    margin: 0 auto;

    text-align: center;

    font-family: var(--serif);
    font-size: clamp(34px, 5vw, 68px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.035em;
}

.quote-mark {
    display: block;

    margin-bottom: 20px;

    font-size: 55px;
    color: var(--accent);
}

.quote-credit {
    margin-top: 30px;

    text-align: center;

    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;

    color: var(--muted);
}


/* ---------------------------------------------------------
   FEATURE IMAGE
   --------------------------------------------------------- */

.feature-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 30px;
}

.feature-main img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.feature-side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 30px;

    background: var(--surface);
    border: 1px solid var(--line);
}

.feature-side h3 {
    margin: 0;

    font-family: var(--serif);
    font-size: 40px;
    font-weight: 400;
    line-height: 1;
}

.feature-side p {
    color: var(--muted);
}


/* ---------------------------------------------------------
   STATS
   --------------------------------------------------------- */

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stat {
    padding: 35px;

    border-right: 1px solid var(--line);
}

.stat:last-child {
    border-right: 0;
}

.stat-number {
    display: block;

    margin-bottom: 5px;

    font-family: var(--serif);
    font-size: 52px;
    line-height: 1;
}

.stat-label {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .13em;
    text-transform: uppercase;

    color: var(--muted);
}


/* ---------------------------------------------------------
   JOIN PANEL
   --------------------------------------------------------- */

.join-panel {
    display: grid;
    grid-template-columns: 1fr auto;

    align-items: center;

    padding: 55px;

    background: var(--ink);
    color: var(--bg);
}

.join-panel h2 {
    margin: 0;

    font-family: var(--serif);
    font-size: clamp(42px, 6vw, 75px);
    font-weight: 400;
    line-height: .9;
}

.join-panel p {
    max-width: 500px;

    margin: 20px 0 0;

    color: rgba(255,255,255,.62);
}

.join-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 150px;
    min-height: 150px;

    border: 1px solid rgba(255,255,255,.5);
    border-radius: 50%;

    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;

    transition:
        background var(--transition),
        color var(--transition),
        transform var(--transition);
}

.join-button:hover {
    background: var(--bg);
    color: var(--ink);
    transform: rotate(-5deg);
}


/* ---------------------------------------------------------
   LINKS
   --------------------------------------------------------- */

.archive-links {
    border-top: 1px solid var(--line);
}

.archive-links a {
    display: grid;
    grid-template-columns: 70px 1fr 30px;

    align-items: center;

    padding: 22px 0;

    border-bottom: 1px solid var(--line);

    font-family: var(--serif);
    font-size: 25px;

    transition:
        padding-left var(--transition),
        color var(--transition);
}

.archive-links a span {
    font-family: var(--mono);
    font-size: 9px;
    color: var(--accent);
}

.archive-links a b {
    font-family: var(--sans);
    font-weight: 400;

    text-align: right;
}

.archive-links a:hover {
    padding-left: 15px;
    color: var(--accent);
}


/* ---------------------------------------------------------
   DARK SECTION
   --------------------------------------------------------- */

.section-dark {
    background: var(--ink);
    color: var(--bg);

    border-color: rgba(255,255,255,.2);
}

.section-dark .section-kicker,
.section-dark .muted {
    color: rgba(255,255,255,.55);
}


/* ---------------------------------------------------------
   NOTES / ARCHIVE DETAILS
   --------------------------------------------------------- */

.archive-note {
    padding: 25px;

    border-left: 2px solid var(--accent);

    background: rgba(255,255,255,.25);
}

.archive-note-label {
    display: block;

    margin-bottom: 10px;

    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .13em;
    text-transform: uppercase;

    color: var(--accent);
}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.site-footer {
    padding: 30px 0;

    border-top: 1px solid var(--line);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: .1em;
    text-transform: uppercase;

    color: var(--muted);
}


/* ---------------------------------------------------------
   REDUCED MOTION
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 800px) {

    :root {
        --gutter: 20px;
    }

    .header-inner {
        min-height: 75px;
    }

    .site-nav {
        gap: 12px;
    }

    .site-nav a span {
        display: none;
    }

    .hero-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: clamp(65px, 17vw, 130px);
    }

    .hero-description {
        margin-left: 0;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .section-heading {
        grid-template-columns: 55px 1fr;
    }

    .copy-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .join-panel {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .join-button {
        min-width: 120px;
        min-height: 120px;
    }
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 560px) {

    .site-header {
        position: relative;
    }

    .header-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px 0;
    }

    .site-nav {
        width: 100%;
        justify-content: space-between;
    }

    .hero {
        padding: 60px 0 75px;
    }

    .eyebrow {
        margin-bottom: 40px;
    }

    .hero h1 {
        font-size: 21vw;
    }

    .hero-media {
        margin-top: 20px;
    }

    .section {
        padding: 75px 0;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading h2 {
        font-size: 45px;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .stat {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .stat:last-child {
        border-bottom: 0;
    }

    .join-panel {
        padding: 35px 25px;
    }

    .archive-links a {
        font-size: 20px;
    }

    .footer-inner {
        flex-direction: column;
    }
}

/* =========================================================
   COLLECTIVE HOMEPAGE
   shared/collective.css
   ========================================================= */

.collective {
    --bg: #e9e5dc;
    --surface: #f5f1e9;
    --surface-2: #dcd5ca;

    --ink: #292725;
    --muted: #756e67;

    --accent: #62514a;
    --accent-strong: #40352f;
    --accent-soft: #cec1b7;
}


/* ---------------------------------------------------------
   COLLECTIVE HERO
   --------------------------------------------------------- */

.collective-hero {
    padding: 90px 0 120px;
}

.collective-title {
    position: relative;
}

.collective-title h1 {
    max-width: 1000px;

    margin: 0;

    font-family: var(--serif);
    font-size: clamp(80px, 15vw, 190px);
    font-weight: 400;
    line-height: .76;
    letter-spacing: -.065em;
}

.collective-title h1 em {
    color: var(--accent);
}

.collective-title .hero-number {
    position: absolute;
    top: 8px;
    right: 0;

    margin: 0;

    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .15em;
    color: var(--accent);
}

.hero-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 60px;

    margin-top: 75px;
    margin-left: 25%;
}

.hero-bottom p {
    max-width: 400px;
    margin: 0;

    color: var(--muted);
}

.hero-mark {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 20px;

    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
}


/* ---------------------------------------------------------
   LISTING GRID
   --------------------------------------------------------- */

.listing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.listing-card {
    position: relative;

    padding-bottom: 35px;

    border-bottom: 1px solid var(--line);

    transition:
        transform var(--transition),
        color var(--transition);
}

.listing-card:hover {
    transform: translateY(-6px);
}

.listing-image {
    position: relative;

    overflow: hidden;

    margin-bottom: 18px;

    background: var(--surface-2);
}

.listing-image img {
    aspect-ratio: 4 / 5;
    object-fit: cover;

    transition: transform 500ms ease;
}

.listing-card:hover .listing-image img {
    transform: scale(1.025);
}

.listing-status {
    position: absolute;
    top: 15px;
    right: 15px;

    padding: 5px 9px;

    background: var(--bg);

    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.listing-meta {
    display: flex;
    justify-content: space-between;

    margin-bottom: 15px;

    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;

    color: var(--muted);
}

.listing-card h3 {
    margin: 0 0 15px;

    font-family: var(--serif);
    font-size: clamp(42px, 6vw, 70px);
    font-weight: 400;
    line-height: .83;
    letter-spacing: -.045em;
}

.listing-card h3 em {
    color: var(--accent);
}

.listing-card p {
    max-width: 350px;
    margin: 0;

    color: var(--muted);
}

.listing-arrow {
    position: absolute;
    right: 0;
    bottom: 30px;

    font-size: 22px;
}

.placeholder-image {
    display: grid;
    place-items: center;

    aspect-ratio: 4 / 5;

    font-family: var(--serif);
    font-size: 80px;

    color: var(--accent);
}

.placeholder-image span {
    opacity: .35;
}


/* ---------------------------------------------------------
   ABOUT
   --------------------------------------------------------- */

.about-grid {
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    gap: 100px;
}

.about-large p {
    margin: 0;

    font-family: var(--serif);
    font-size: clamp(35px, 5vw, 60px);
    line-height: 1;
    letter-spacing: -.035em;
}

.about-small {
    color: rgba(255,255,255,.62);
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 700px) {

    .collective-title h1 {
        font-size: 21vw;
    }

    .collective-title .hero-number {
        position: static;
        margin-bottom: 20px;
    }

    .hero-bottom {
        grid-template-columns: 1fr;
        margin-left: 0;
        gap: 25px;
    }

    .hero-mark {
        justify-content: flex-start;
    }

    .listing-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}