:root {
    --black: #0b0b0b;
    --black-soft: #151515;
    --red: #ef3f36;
    --white: #fff;
    --line: rgba(255, 255, 255, .25);
    --display: 'Space Grotesk', sans-serif;
    --mono: 'DM Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--white); font-family: var(--display); }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
em { color: var(--red); font-style: normal; font-weight: 400; }
.shell { width: min(1220px, calc(100% - 56px)); margin: 0 auto; }
.site-header { position: absolute; z-index: 4; inset: 0 0 auto; border-bottom: 1px solid var(--line); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; line-height: 0; }
.brand img { width: 150px; height: auto; }
.main-nav { display: flex; gap: 28px; margin-left: auto; font-size: 13px; font-weight: 500; }
.main-nav a, .footer a { text-decoration: none; transition: color .2s ease; }
.main-nav a:hover, .footer a:hover { color: var(--red); }
.nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; gap: 25px; text-decoration: none; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease; }
.nav-cta { padding: 11px 15px 11px 17px; color: var(--white); background: var(--red); font-size: 13px; }
.nav-cta:hover, .button:hover { transform: translateY(-3px); }

.hero { position: relative; min-height: 790px; display: flex; overflow: hidden; background: var(--black); }
.hero-image { position: absolute; inset: 0; background: url('../img/banner.jpg') center 42% / cover no-repeat; filter: grayscale(1) contrast(1.12); transform: scale(1.02); animation: settle 1.25s cubic-bezier(.2,.75,.2,1) both; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,11,.94) 0%, rgba(11,11,11,.68) 40%, rgba(11,11,11,.14) 73%), linear-gradient(0deg, rgba(11,11,11,.78), transparent 46%); }
.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 230px; grid-template-rows: auto 1fr; gap: 20px; padding-top: 128px; padding-bottom: 80px; }
.eyebrow, .section-label { margin: 0; color: var(--red); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { grid-column: 1 / -1; }
.hero-copy { align-self: center; padding: 50px 0 56px; animation: reveal .9s .18s both; }
.hero h1 { max-width: 700px; margin-bottom: 22px; font-size: clamp(68px, 9.2vw, 145px); letter-spacing: -.085em; line-height: .81; font-weight: 600; }
.lede { max-width: 405px; margin-bottom: 31px; font-size: 20px; line-height: 1.35; }
.button { padding: 16px 20px; font-size: 14px; }
.button span { font-size: 19px; line-height: 12px; }
.button-coral { color: var(--white); background: var(--red); }
.button-coral:hover { background: var(--white); color: var(--black); }
.button-outline { border: 1px solid var(--black); color: var(--black); }
.button-outline:hover { border-color: var(--red); background: var(--red); color: var(--white); }
.button-light { color: var(--black); background: var(--white); }
.button-light:hover { background: var(--black); color: var(--white); }
.hero-note { align-self: end; padding: 20px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; animation: reveal .9s .38s both; }
.hero-note p { margin: 8px 0 0; }
.note-mark { color: var(--red); font-family: var(--mono); font-size: 11px; }
.scroll-cue { position: absolute; z-index: 1; right: max(28px, calc((100vw - 1220px) / 2)); bottom: 27px; display: flex; gap: 13px; font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-decoration: none; }

.section { padding: 132px 0; }
.feature-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 575px; }
.feature-image { overflow: hidden; background: var(--black-soft); }
.feature-image img { width: 100%; height: 100%; min-height: 575px; display: block; object-fit: cover; filter: grayscale(1) contrast(1.1); transition: filter .45s ease, transform .55s ease; }
.feature-image:hover img { filter: grayscale(.35) contrast(1.05); transform: scale(1.035); }
.feature-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 68px 10%; }
.intro { background: var(--white); color: var(--black); }
.intro h2, .connection h2, .rules h2, .closing h2, .manifesto h2 { margin: 25px 0 31px; font-size: clamp(48px, 5.4vw, 81px); letter-spacing: -.075em; font-weight: 500; line-height: .93; }
.intro-text { max-width: 540px; margin-bottom: 28px; font-size: 17px; line-height: 1.55; }
.connection { background: var(--black); }
.feature-reverse .feature-copy { order: 1; padding-left: 0; }
.feature-reverse .feature-image { order: 2; display: flex; align-items: center; justify-content: center; background: var(--red); }
.feature-reverse .feature-image img { width: min(80%, 400px); height: auto; min-height: 0; object-fit: contain; filter: grayscale(1) contrast(1.14); }
.feature-reverse .feature-image:hover img { filter: grayscale(.2) contrast(1.08); }
.check-list { width: 100%; margin: 0 0 31px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.check-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.check-list li::before { content: '—'; color: var(--red); margin-right: 10px; }

.manifesto { display: grid; grid-template-columns: 1fr 1fr; min-height: 650px; }
.manifesto-photo { background: url('../img/fwb-meaning.jpg') center / cover no-repeat; min-height: 450px; filter: grayscale(1) contrast(1.1); }
.manifesto-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 80px max(42px, calc((100vw - 1220px) / 2)); color: var(--white); background: var(--red); }
.manifesto-copy .section-label, .manifesto-copy em { color: var(--black); }
.manifesto-copy > p:not(.section-label) { max-width: 485px; margin-bottom: 31px; font-size: 16px; line-height: 1.57; }

.rules { background: var(--black-soft); }
.rules-grid { display: grid; grid-template-columns: 1fr 2.05fr; gap: 40px; }
.rules-title { position: sticky; top: 35px; align-self: start; }
.rule-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.rule-list li { display: grid; grid-template-columns: 80px 1fr; gap: 20px; padding: 27px 0 30px; border-bottom: 1px solid var(--line); }
.rule-list span { color: var(--red); font-family: var(--mono); font-size: 12px; }
.rule-list h3 { margin-bottom: 8px; font-size: 23px; letter-spacing: -.045em; }
.rule-list p { max-width: 500px; margin: 0; color: rgba(255,255,255,.74); font-size: 15px; line-height: 1.52; }

.closing { position: relative; overflow: hidden; color: var(--white); background: var(--red); }
.closing::after { content: 'TONIGHT'; position: absolute; right: -1.5vw; bottom: -5vw; color: rgba(11,11,11,.12); font-size: min(22vw, 300px); font-weight: 700; letter-spacing: -.11em; line-height: .8; pointer-events: none; }
.closing-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; padding: 132px 0; text-align: center; }
.closing .section-label, .closing em { color: var(--black); }
.closing h2 { max-width: 920px; }
.closing-inner > p:not(.section-label) { max-width: 495px; margin-bottom: 32px; font-size: 17px; line-height: 1.55; }
.closing .button-coral { color: var(--white); background: var(--black); }
.closing .button-coral:hover { background: var(--white); color: var(--black); }

.casual-hookups { padding: 72px 0; background: var(--black-soft); border-top: 1px solid var(--line); }
.casual-hookups h2 { margin: 18px 0 10px; font-size: clamp(38px, 4vw, 56px); letter-spacing: -.06em; }
.casual-hookups > .shell > p:not(.section-label) { margin-bottom: 28px; color: rgba(255,255,255,.72); }
.casual-hookup-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 10px; max-width: 1100px; }
.casual-hookup-links a { display: flex; align-items: center; min-height: 62px; padding: 12px; border: 1px solid var(--white); color: var(--white); font-size: 15px; font-weight: 500; line-height: 1.3; text-decoration: none; transition: background .2s ease, color .2s ease, transform .2s ease; }
.casual-hookup-links a:hover { background: var(--red); color: var(--white); transform: translateY(-2px); }

.blog-hero { min-height: 545px; display: flex; align-items: end; padding: 132px 0 72px; background: var(--black); border-bottom: 1px solid var(--line); }
.blog-hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.blog-hero .eyebrow { margin-bottom: 28px; }
.blog-hero h1 { max-width: 920px; margin-bottom: 24px; font-size: clamp(60px, 8.5vw, 124px); letter-spacing: -.08em; line-height: .84; }
.blog-hero-inner > p:not(.eyebrow) { max-width: 560px; margin: 0; font-size: 18px; line-height: 1.5; }
.blog-directory { padding: 105px 0 120px; background: var(--black); }
.blog-heading { margin-bottom: 46px; }
.blog-heading h2 { max-width: 760px; margin: 20px 0 0; font-size: clamp(45px, 5.5vw, 80px); letter-spacing: -.075em; line-height: .93; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.blog-card { min-height: 350px; display: flex; flex-direction: column; padding: 0 23px 23px; overflow: hidden; border: 1px solid var(--line); background: var(--black-soft); transition: border-color .2s, background .2s, transform .2s; }
.blog-card:hover { border-color: var(--white); background: #1b1b1b; transform: translateY(-3px); }
.blog-card img { width: calc(100% + 46px); height: auto; aspect-ratio: 3 / 2; margin: 0 -23px 18px; object-fit: cover; filter: grayscale(1) contrast(1.08); transition: filter .25s ease, transform .3s ease; }
.blog-card:hover img { filter: grayscale(.25) contrast(1.04); transform: scale(1.025); }
.blog-card > span { color: var(--red); font-family: var(--mono); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.blog-card h3 { margin: 20px 0 10px; font-size: 24px; letter-spacing: -.045em; line-height: 1; }
.blog-card p { margin: 0 0 24px; color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.5; }
.blog-card a { display: flex; justify-content: space-between; margin-top: auto; color: var(--white); font-size: 13px; font-weight: 700; text-decoration: none; }
.blog-card a b { color: var(--red); font-size: 18px; line-height: 12px; }

/* Matches the shared site footer structure on the home page. */
.footer { padding: 4rem 0; background: #000; color: var(--white); border-top: 1px solid var(--red); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 2rem; }
.footer-section h4 { margin-bottom: 1rem; color: var(--red); }
.footer-section ul { margin: 0; padding-left: 0; list-style: none; }
.footer-section li { padding: .5rem 0; }
.footer-section a { color: var(--white); text-decoration: none; }
.footer-bottom { padding-top: 2rem; border-top: 1px solid #444; color: #666; text-align: center; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--white); }

@keyframes reveal { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1.02); } }

@media (max-width: 760px) {
    .shell { width: min(100% - 40px, 610px); }
    .site-header { position: relative; background: var(--black); }
    .nav-wrap { min-height: 68px; }
    .brand img { width: 123px; }
    .main-nav { display: none; }
    .nav-cta { padding: 9px 11px; font-size: 11px; }
    .hero { min-height: 720px; }
    .hero-image { background-position: 61% center; }
    .hero-layout { display: flex; flex-direction: column; padding-top: 63px; padding-bottom: 45px; }
    .hero h1 { margin-top: 93px; font-size: clamp(65px, 20vw, 97px); }
    .hero-copy { padding: 0; }
    .lede { max-width: 300px; font-size: 18px; }
    .hero-note { width: 100%; margin-top: auto; }
    .scroll-cue { display: none; }
    .section { padding: 0; }
    .feature-split, .manifesto { grid-template-columns: 1fr; min-height: 0; }
    .feature-image img { min-height: 360px; }
    .feature-copy, .feature-reverse .feature-copy { padding: 72px 20px; }
    .feature-reverse .feature-copy { order: 2; }
    .feature-reverse .feature-image { order: 1; min-height: 390px; }
    .feature-reverse .feature-image img { width: min(74%, 330px); min-height: 0; }
    .intro h2, .connection h2, .rules h2, .closing h2, .manifesto h2 { font-size: clamp(45px, 13vw, 65px); }
    .intro-text { font-size: 16px; }
    .manifesto-photo { min-height: 340px; }
    .manifesto-copy { padding: 72px 20px; }
    .rules { padding: 82px 0; }
    .rules-grid { grid-template-columns: 1fr; gap: 27px; }
    .rules-title { position: static; }
    .rule-list li { grid-template-columns: 47px 1fr; gap: 10px; }
    .rule-list h3 { font-size: 20px; }
    .rule-list p { font-size: 14px; }
    .closing-inner { padding: 84px 0 92px; }
    .casual-hookups { padding: 58px 0; }
    .casual-hookup-links { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
    .casual-hookup-links a { min-height: 58px; padding: 11px; font-size: 14px; }
    .blog-hero { min-height: 440px; padding: 80px 0 52px; }
    .blog-hero h1 { font-size: clamp(52px, 16vw, 84px); }
    .blog-directory { padding: 72px 0 80px; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-card { min-height: 290px; }
    .footer-links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
