/* newWRLD "Cream Print" site styles (Direction C). Matches the space-station hero palette. */
@font-face { font-family: 'Anton'; src: url('assets/fonts/anton-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url('assets/fonts/inter-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url('assets/fonts/inter-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --ink: #1a1a1a;
  --off-white: #e5e5e5;
  --cream: #e9e4d8;
  --red: #e2231a;
  --yellow: #ffc72c;
  --navy: #1e2f75;
  --poster: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --pad-x: clamp(20px, 6.6vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--cream); color: var(--ink); font-family: Inter, Arial, sans-serif; font-size: 18px; line-height: 1.5; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
.band a:focus-visible, .site-footer a:focus-visible { outline-color: var(--yellow); }

.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 20px; background: var(--ink); color: var(--cream); font-weight: 600; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.poster { font-family: var(--poster); font-weight: 400; text-transform: uppercase; line-height: 1; letter-spacing: 0.005em; }

/* ---------- Masthead ---------- */
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; padding-top: 22px; padding-bottom: 18px; }
.logo { font-family: var(--poster); font-size: 30px; line-height: 1; display: inline-flex; align-items: center; min-height: 44px; }
.logo span, .site-footer .logo span { color: var(--red); }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 36px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 3px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--ink); }
.site-nav a[aria-current='page'] { border-bottom-color: var(--red); }
.masthead-rule { height: 3px; background: var(--ink); margin: 0 var(--pad-x); }
@media (min-width: 1440px) { .masthead-rule { max-width: 1248px; margin: 0 auto; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 16px 28px 14px; font-family: var(--poster); font-size: 18px; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; border: 2px solid var(--ink); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { box-shadow: 4px 4px 0 var(--red); }
.btn--outline { background: transparent; color: var(--ink); }
.btn--red { background: var(--red); border-color: var(--red); color: var(--cream); }
.btn--red:hover { box-shadow: 4px 4px 0 var(--yellow); }

/* ---------- Intro ---------- */
.intro .wrap { display: flex; align-items: center; gap: 64px; padding-top: 80px; padding-bottom: 112px; }
.intro__copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.tag { display: inline-block; padding: 7px 14px 6px; background: var(--ink); color: var(--cream); font-family: var(--poster); font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.2; transform: rotate(-2deg); }
.intro h1 { font-size: clamp(3.4rem, 8.3vw, 7.5rem); line-height: 0.95; }
.intro h1 span { display: block; }
.block-red { display: inline-block !important; margin-top: 0.06em; padding: 0.04em 0.14em 0; background: var(--red); color: var(--cream); transform: rotate(-1deg); white-space: nowrap; }
.lede { max-width: 560px; font-size: clamp(1.1rem, 1.55vw, 1.375rem); opacity: 0.82; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }

.poster-block { position: relative; flex: 0 0 auto; width: min(460px, 34vw); aspect-ratio: 46 / 47; background: var(--red); container-type: inline-size; }
.poster-block__word { position: absolute; left: 8%; top: 15%; font-family: var(--poster); font-size: 36.5cqw; line-height: 0.84; text-transform: uppercase; color: var(--cream); }
.poster-block__planet { position: absolute; right: 6%; top: 7%; width: 20%; aspect-ratio: 1; border-radius: 50%; background: var(--navy); }
.poster-block__strip { position: absolute; left: -6%; right: -7%; bottom: 9%; padding: 0.45em 0 0.3em 15%; background: var(--yellow); font-family: var(--poster); font-size: 3.5cqw; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.6; transform: rotate(-4deg); }

/* ---------- Sections ---------- */
.section .wrap { padding-top: 96px; padding-bottom: 112px; }
.section h2 { font-size: clamp(2.5rem, 4.5vw, 4rem); }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 40px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--poster); font-size: 18px; letter-spacing: 0.08em; text-transform: uppercase; }
.text-link--red { color: var(--red); }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; }
.services li { border-top: 4px solid var(--ink); padding-top: 14px; }
.services__num { font-family: var(--poster); font-size: 72px; line-height: 1.1; color: var(--red); }
.services h3 { font-family: var(--poster); font-weight: 400; font-size: 34px; text-transform: uppercase; line-height: 1.15; margin: 10px 0 12px; }
.services p:last-child { opacity: 0.82; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.card { display: flex; flex-direction: column; gap: 12px; padding: 16px 16px 24px; border: 3px solid var(--ink); background: var(--cream); }
.card img { width: 100%; height: auto; aspect-ratio: 568 / 330; object-fit: cover; object-position: top; }
.card__tag { font-family: var(--poster); font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-top: 4px; }
.card h3 { font-family: var(--poster); font-weight: 400; font-size: clamp(1.9rem, 2.8vw, 2.5rem); text-transform: uppercase; line-height: 1.1; }
.card p { opacity: 0.82; }
.card .card__tag { color: var(--ink); opacity: 1; }
.card .text-link { font-size: 16px; align-self: flex-start; opacity: 1; }
.cards--3 .card img { aspect-ratio: 356 / 216; }
.cards--3 .card:first-child img { aspect-ratio: 356 / 228; }
.cards--3 .card:nth-child(2) img { aspect-ratio: 356 / 226; }

/* ---------- Dark band + footer (echo the night hero) ---------- */
.band { background: var(--ink); color: var(--cream); }
.band .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-top: 112px; padding-bottom: 112px; }
.band h2 { font-family: var(--poster); font-weight: 400; text-transform: uppercase; font-size: clamp(3.2rem, 6.7vw, 6rem); line-height: 0.95; }
.band h2 span { display: block; color: var(--yellow); }
.band p { font-size: clamp(1.1rem, 1.7vw, 1.5rem); opacity: 0.85; }

.site-footer { background: var(--ink); color: var(--cream); border-top: 1px solid rgba(233, 228, 216, 0.15); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-top: 28px; padding-bottom: 28px; }
.site-footer .logo { font-size: 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 15px; font-weight: 600; }
.footer-links a, .footer-links span { display: inline-flex; align-items: center; min-height: 44px; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-links [aria-disabled='true'] { opacity: 0.55; cursor: default; }
.site-footer small { font-size: 14px; opacity: 0.6; }

/* ---------- Narrow screens ---------- */
@media (max-width: 899px) {
  .intro .wrap { flex-direction: column; align-items: flex-start; gap: 48px; padding-top: 48px; padding-bottom: 72px; }
  .poster-block { width: min(100%, 420px); }
  .section .wrap { padding-top: 64px; padding-bottom: 72px; }
  .services { grid-template-columns: 1fr; gap: 32px; }
  .cards { grid-template-columns: 1fr; gap: 28px; }
  .band .wrap { padding-top: 72px; padding-bottom: 72px; }
  .site-nav { gap: 0 22px; }
}

/* ---------- Inner pages ---------- */
[hidden] { display: none !important; }
.page-hero .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-top: 64px; padding-bottom: 80px; }
.page-hero h1 { font-size: clamp(3.2rem, 8.3vw, 7.5rem); line-height: 0.95; }
.page-hero h1 span { display: block; }
.page-hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px; width: 100%; }
.section--tight .wrap { padding-top: 0; }
.eyebrow { font-family: var(--poster); font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); line-height: 1.2; }
.count { font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; }

.badge { position: relative; display: flex; flex-direction: column; gap: 4px; min-width: 260px; padding: 28px 28px 24px; background: var(--red); color: var(--cream); transform: rotate(2deg); }
.badge::before { content: ''; position: absolute; top: -14px; left: 24px; width: 96px; height: 26px; background: var(--yellow); transform: rotate(-5deg); }
.badge__initials { font-family: var(--poster); font-size: 96px; line-height: 0.9; }
.badge__name { font-family: var(--poster); font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase; }
.badge__role { font-size: 16px; font-weight: 600; }

.story { display: grid; grid-template-columns: 5fr 7fr; gap: 24px 64px; border-top: 4px solid var(--ink); padding-top: 24px; }
.story h2 { margin-top: 12px; }
.story__body { display: flex; flex-direction: column; gap: 20px; font-size: clamp(1.1rem, 1.55vw, 1.375rem); }
.story__closing { font-weight: 600; }

.tools { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.tools li { padding: 12px 18px 10px; border: 2px solid var(--ink); font-family: var(--poster); font-size: 20px; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1; }
.tools li:nth-child(3n + 1) { background: var(--ink); color: var(--cream); }

.back-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; }
.filters button { min-height: 48px; padding: 12px 20px 10px; border: 2px solid var(--ink); background: transparent; color: var(--ink); font-family: var(--poster); font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; cursor: pointer; }
.filters button[aria-pressed='true'] { background: var(--ink); color: var(--cream); }
.filters button:hover { box-shadow: 3px 3px 0 var(--red); }
.filters button:focus-visible, .field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

.cards--3 { grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card__links { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: auto; font-family: var(--poster); font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; }
.card__links span { display: inline-flex; align-items: center; min-height: 32px; }
.card [aria-disabled='true'], .channels [aria-disabled='true'] { opacity: 0.5; cursor: default; }
.card--slot { border-style: dashed; }
.slot { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 568 / 330; border: 2px dashed rgba(26, 26, 26, 0.45); font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; padding: 12px; }
.slot--phone { aspect-ratio: auto; height: 260px; }

.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px 64px; align-items: start; }
.form { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.field label { font-family: var(--poster); font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border: 2px solid var(--ink); border-radius: 0; background: #f4f0e7; color: var(--ink); font: inherit; }
.field textarea { resize: vertical; }
.field ::placeholder { color: var(--ink); opacity: 0.55; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
button.btn { cursor: pointer; }
.note { font-size: 15px; }
.note a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.channels { display: flex; flex-direction: column; border-top: 4px solid var(--ink); }
.channels > .eyebrow { padding: 14px 0 6px; }
.channel { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; padding: 14px 0; border-bottom: 2px solid var(--ink); }
.channel strong { display: block; font-family: var(--poster); font-weight: 400; font-size: 24px; text-transform: uppercase; line-height: 1.15; }
.channel span { font-size: 15px; opacity: 0.8; }
.channel > span:last-child { font-family: var(--poster); font-size: 22px; opacity: 1; }
a.channel:hover strong { color: var(--red); }

@media (max-width: 899px) {
  .intro h1 { font-size: clamp(2.5rem, 8.3vw, 4.6rem); }
  .block-red { white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
  .page-hero .wrap { padding-top: 40px; padding-bottom: 56px; }
  .story, .contact-grid { grid-template-columns: 1fr; }
  .cards--3 { grid-template-columns: 1fr; }
}
@media (min-width: 600px) and (max-width: 899px) { .cards--3 { grid-template-columns: repeat(2, 1fr); } }

@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }
