/* RRM family kit. Source stylesheet: token names are replaced from tokens.json by tools/build-css.mjs. */

@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/assets/fonts/Newsreader-Roman.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("/assets/fonts/Newsreader-Italic.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 300 700; font-stretch: 62% 125%; font-display: swap; src: url("/assets/fonts/Archivo-Roman.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: #000000; color: #f3f2ee; font-family: "Archivo", "Helvetica Neue", Arial, sans-serif; font-size: 1.0625rem; line-height: 1.55; -webkit-font-smoothing: antialiased; padding-bottom: 54px; overflow-x: hidden; }
img, svg, canvas, video { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #64b019; outline-offset: 3px; }
.on-paper :focus-visible { outline-color: #3c7208; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 300; background: #ffffff; color: #000000; padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* Type */
.display { font-family: "Newsreader", "Iowan Old Style", Georgia, serif; font-weight: 380; line-height: 1.02; letter-spacing: -0.018em; text-wrap: balance; font-optical-sizing: auto; }
.display em { font-style: italic; font-weight: 340; }
.d1 { font-size: clamp(2.7rem, 7.4vw, 6.6rem); }
.d2 { font-size: clamp(2.2rem, 5vw, 4.4rem); }
.d3 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.08; }
.d4 { font-size: clamp(1.3rem, 1.9vw, 1.6rem); line-height: 1.2; letter-spacing: -0.01em; }
.lead { font-family: "Newsreader", "Iowan Old Style", Georgia, serif; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.36; font-weight: 380; max-width: 34em; }
.body { max-width: 62ch; }
.small { font-size: 0.9rem; }
.slug { font-family: "Archivo", "Helvetica Neue", Arial, sans-serif; font-stretch: 78%; font-weight: 600; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; }
.dim { color: #a9a9a3; }
.on-paper .dim { color: #5a5a55; }
.measure { max-width: 68ch; }

.wrap { width: min(1280px, 100% - 48px); margin-inline: auto; }
@media (max-width: 600px) { .wrap { width: calc(100% - 36px); } }

/* Links and buttons */
.tlink { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; text-decoration-color: #64b019; }
.tlink:hover { text-decoration-thickness: 2px; }
.on-paper .tlink { text-decoration-color: #3c7208; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border: 1px solid #f3f2ee; background: transparent; color: #f3f2ee; font-family: "Archivo", "Helvetica Neue", Arial, sans-serif; font-weight: 550; font-size: 0.98rem; letter-spacing: 0.01em; text-decoration: none; cursor: pointer; transition: background-color 160ms cubic-bezier(0.2, 0.6, 0.2, 1), color 160ms cubic-bezier(0.2, 0.6, 0.2, 1), border-color 160ms cubic-bezier(0.2, 0.6, 0.2, 1); text-align: center; border-radius: 0; }
.btn:hover { background: #f3f2ee; color: #000000; }
.btn.fill { background: #f3f2ee; color: #000000; }
.btn.fill:hover { background: #64b019; border-color: #64b019; color: #000000; }
.btn.accent { background: #64b019; border-color: #64b019; color: #000000; }
.btn.accent:hover { background: #f3f2ee; border-color: #f3f2ee; color: #000000; }
.on-paper .btn { border-color: #0c0c0c; color: #0c0c0c; }
.on-paper .btn:hover { background: #0c0c0c; color: #f3f2ee; }
.on-paper .btn.fill { background: #0c0c0c; color: #f3f2ee; }
.on-paper .btn.fill:hover { background: #3c7208; border-color: #3c7208; color: #ffffff; }
.btn.sm { min-height: 44px; padding: 8px 16px; font-size: 0.92rem; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header: the top bar of the frame */
.bar-top { position: sticky; top: 0; z-index: 100; height: 64px; background: #000000; border-bottom: 1px solid #2e2e2e; }
.bar-top .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brandmark { display: inline-flex; align-items: center; flex: none; }
.brandmark img { height: 34px; width: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-weight: 480; font-size: 0.95rem; color: #a9a9a3; padding: 10px 0; display: block; border-bottom: 1px solid transparent; }
.nav a:hover { color: #ffffff; }
.nav a[aria-current="page"] { color: #ffffff; border-bottom-color: #64b019; }
.bar-top .btn { flex: none; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid #2e2e2e; width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 6px; }
.menu-btn i { display: block; width: 20px; height: 1.5px; background: #f3f2ee; }
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .bar-top .btn { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #000000; border-bottom: 1px solid #2e2e2e; padding: 6px 24px 22px; display: none; margin: 0; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: 15px 0; font-size: 1.3rem; font-family: "Newsreader", "Iowan Old Style", Georgia, serif; color: #f3f2ee; border-bottom: 1px solid #2e2e2e; }
}

/* Contact bar: the bottom bar of the frame. Contact is always on screen, like a lower third. */
.bar-contact { position: fixed; left: 0; right: 0; bottom: 0; z-index: 110; height: 54px; background: #000000; border-top: 1px solid #2e2e2e; color: #f3f2ee; }
.bar-contact .wrap { height: 100%; display: flex; align-items: center; gap: 22px; }
.bar-contact a, .bar-contact button { color: #f3f2ee; text-decoration: none; background: none; border: 0; cursor: pointer; font-size: 0.93rem; font-weight: 480; padding: 0; min-height: 44px; display: inline-flex; align-items: center; }
.bar-contact a:hover, .bar-contact button:hover { color: #64b019; }
.bar-contact .tel { font-family: "Newsreader", "Iowan Old Style", Georgia, serif; font-size: 1.5rem; letter-spacing: -0.01em; font-weight: 400; }
.bar-contact .lbl { color: #a9a9a3; font-size: 0.86rem; }
.bar-contact .links { margin-left: auto; display: flex; gap: 24px; align-items: center; }
.bar-contact .only-m { display: none; }
.bar-contact .book { border: 1px solid #f3f2ee; padding: 0 16px; min-height: 36px; }
.bar-contact .book:hover { background: #f3f2ee; color: #000000; }
@media (max-width: 1060px) { .bar-contact .hide-md { display: none; } }
@media (max-width: 760px) {
  .bar-contact .wrap { width: 100%; gap: 0; }
  .bar-contact .only-d { display: none; }
  .bar-contact .only-m { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; height: 100%; }
  .bar-contact .only-m a, .bar-contact .only-m button { justify-content: center; font-weight: 600; font-size: 0.95rem; border-left: 1px solid #2e2e2e; height: 100%; }
  .bar-contact .only-m > :first-child { border-left: 0; }
}
.contact-sheet { position: fixed; left: 0; right: 0; bottom: 54px; z-index: 109; background: #111111; border-top: 1px solid #2e2e2e; padding: 22px 0 26px; max-height: 76vh; overflow: auto; }
.contact-sheet ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 0 32px; }
.contact-sheet li { border-bottom: 1px solid #2e2e2e; }
.contact-sheet a { display: flex; flex-direction: column; padding: 13px 0; text-decoration: none; }
.contact-sheet a span { font-size: 0.84rem; color: #a9a9a3; }
.contact-sheet a b { font-family: "Newsreader", "Iowan Old Style", Georgia, serif; font-weight: 400; font-size: 1.2rem; overflow-wrap: anywhere; }
.contact-sheet a:hover b { color: #64b019; }

/* Reel: the cinematic scene component */
.reel { position: relative; background: #000000; color: #ffffff; }
.reel-stage { position: sticky; top: 64px; height: calc(100vh - 64px - 54px); height: calc(100svh - 64px - 54px); overflow: hidden; z-index: 0; background: #000000; }
.reel-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 900ms cubic-bezier(0.2, 0.6, 0.2, 1); }
.reel.is-live .reel-stage canvas { opacity: 1; }
.reel-stills { position: absolute; inset: 0; }
.reel-stills img, .reel-stills video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 900ms cubic-bezier(0.2, 0.6, 0.2, 1); filter: saturate(0.86) contrast(1.06) brightness(0.96); }
.reel-stills .on { opacity: 1; }
.reel.is-live .reel-stills { visibility: hidden; }
.reel-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 46%), linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 58%); }
.reel.is-live .reel-stage::after { background: none; }
.reel-meter { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 3; pointer-events: none; }
.reel-meter .wrap { display: flex; align-items: center; gap: 14px; color: #a9a9a3; }
.reel-meter .n { font-variant-numeric: tabular-nums; color: #ffffff; }
.reel-meter .line { flex: 0 0 120px; height: 1px; background: rgba(255, 255, 255, 0.25); position: relative; }
.reel-meter .line i { position: absolute; left: 0; top: -0.5px; height: 2px; width: 0; background: #64b019; }
.reel-track { position: relative; z-index: 2; margin-top: calc(-100vh + 64px + 54px); margin-top: calc(-100svh + 64px + 54px); }
.reel-beat { min-height: 118vh; display: flex; align-items: flex-end; padding: 0 0 13vh; }
.reel-beat:first-child { min-height: calc(100vh - 64px - 54px); min-height: calc(100svh - 64px - 54px); padding-bottom: 11vh; }
.reel-beat:last-child { min-height: 104vh; }
.reel-beat .wrap { display: flex; }
.reel-beat.right .wrap { justify-content: flex-end; }
.beat { max-width: 640px; text-shadow: 0 1px 24px rgba(0, 0, 0, 0.55); }
.beat h1, .beat h2 { margin-bottom: 20px; }
.beat p { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.5; max-width: 34em; color: #e9e8e3; }
.beat .btns { margin-top: 28px; text-shadow: none; }
.beat .slug { display: block; margin-bottom: 18px; color: #64b019; }
.reel.single .reel-beat:first-child { min-height: min(72vh, 640px); }
.reel.single .reel-stage { height: min(72vh, 640px); }
.reel.single .reel-track { margin-top: calc(0px - min(72vh, 640px)); }
@media (max-width: 700px) {
  .reel-beat { min-height: 100vh; padding-bottom: 9vh; }
  .reel-meter { bottom: 10px; }
  .reel-meter .line { flex-basis: 70px; }
  .beat p { font-size: 1.02rem; }
}

/* Sheets: editorial sections after the film */
.sheet { padding-block: clamp(72px, 10vw, 150px); background: #000000; color: #f3f2ee; position: relative; z-index: 2; }
.sheet.paper { background: #f3f2ee; color: #0c0c0c; }
.sheet.carbon { background: #111111; }
.sheet.tight { padding-block: clamp(48px, 6vw, 84px); }
.sheet-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.sheet-head p { max-width: 44ch; color: #a9a9a3; }
.paper .sheet-head p { color: #5a5a55; }
@media (max-width: 860px) { .sheet-head { grid-template-columns: 1fr; } }

/* Ledger: ruled rows for offers, steps and facts */
.ledger { border-top: 1px solid #f3f2ee; }
.paper .ledger { border-top-color: #0c0c0c; }
.ledger > li, .ledger > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: 12px 48px; padding: 34px 0; border-bottom: 1px solid #2e2e2e; align-items: baseline; }
.paper .ledger > li, .paper .ledger > div { border-bottom-color: #d6d5cf; }
.ledger h3 { font-family: "Newsreader", "Iowan Old Style", Georgia, serif; font-weight: 380; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.05; letter-spacing: -0.015em; }
.ledger p { color: #d9d8d2; }
.paper .ledger p { color: #2c2c29; }
.ledger .meta { font-size: 0.92rem; color: #a9a9a3; }
.paper .ledger .meta { color: #5a5a55; }
.ledger .meta b { display: block; color: #f3f2ee; font-weight: 550; font-size: 1rem; }
.paper .ledger .meta b { color: #0c0c0c; }
.ledger.numbered { counter-reset: row; }
.ledger.numbered > li { counter-increment: row; grid-template-columns: 64px minmax(0, 4fr) minmax(0, 6fr); }
.ledger.numbered > li::before { content: counter(row, decimal-leading-zero); font-family: "Newsreader", "Iowan Old Style", Georgia, serif; font-style: italic; font-size: 1.3rem; color: #64b019; }
.paper .ledger.numbered > li::before { color: #3c7208; }
@media (max-width: 860px) {
  .ledger > li, .ledger > div { grid-template-columns: 1fr; padding: 26px 0; gap: 10px; }
  .ledger.numbered > li { grid-template-columns: 44px 1fr; }
  .ledger.numbered > li > p { grid-column: 2; }
}

/* Plates: photographs in the page body, in a film frame */
.plate { position: relative; overflow: hidden; background: #111111; aspect-ratio: 2.39 / 1; }
.plate.tall { aspect-ratio: 4 / 5; }
.plate.wide { aspect-ratio: 16 / 9; }
.plate img, .plate video { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; filter: saturate(0.86) contrast(1.06) brightness(0.96); will-change: transform; }
.plate figcaption { position: absolute; left: 18px; bottom: 14px; right: 18px; font-size: 0.86rem; color: #ffffff; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7); z-index: 2; }
.grain::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.16; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"); z-index: 1; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 36px 72px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split .copy { display: grid; gap: 20px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 700px) { .strip { grid-template-columns: 1fr; } }

/* Credits: lists set like end credits (clients, timeline, facts) */
.credits { display: grid; gap: 0; max-width: 980px; margin-inline: auto; }
.credits > li, .credits > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 0 36px; padding: 13px 0; align-items: baseline; }
.credits .role { text-align: right; color: #a9a9a3; font-size: 0.95rem; }
.paper .credits .role { color: #5a5a55; }
.credits .name { font-family: "Newsreader", "Iowan Old Style", Georgia, serif; font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.15; letter-spacing: -0.01em; }
@media (max-width: 600px) { .credits > li, .credits > div { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; } .credits .role { text-align: left; } }
.namewall { font-family: "Newsreader", "Iowan Old Style", Georgia, serif; font-weight: 380; font-size: clamp(1.7rem, 4.2vw, 3.6rem); line-height: 1.16; letter-spacing: -0.015em; text-wrap: balance; }
.namewall span { white-space: nowrap; }
.namewall i { font-style: normal; color: #a9a9a3; padding: 0 0.28em; }
.paper .namewall i { color: #b9b8b1; }

/* Facts row */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #2e2e2e; margin-top: clamp(40px, 6vw, 72px); }
.paper .facts { border-top-color: #0c0c0c; }
.facts div { padding: 22px 20px 0 0; }
.facts dt { font-size: 0.9rem; color: #a9a9a3; }
.paper .facts dt { color: #5a5a55; }
.facts dd { font-family: "Newsreader", "Iowan Old Style", Georgia, serif; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.05; margin-top: 6px; letter-spacing: -0.015em; }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Family marks: official logos, never recolored. Dark marks sit on a paper tile. */
.marks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid #2e2e2e; border-left: 1px solid #2e2e2e; }
.mark { border-right: 1px solid #2e2e2e; border-bottom: 1px solid #2e2e2e; padding: 36px 32px 34px; display: flex; flex-direction: column; gap: 18px; min-height: 330px; text-decoration: none; }
.mark .logo { height: 64px; display: flex; align-items: center; }
.mark .logo img { max-height: 56px; width: auto; max-width: 240px; }
.mark .logo.tile { background: #f3f2ee; padding: 10px 16px; align-self: flex-start; }
.mark h3 { font-family: "Newsreader", "Iowan Old Style", Georgia, serif; font-weight: 380; font-size: 1.7rem; line-height: 1.1; }
.mark p { color: #d9d8d2; font-size: 0.98rem; }
.mark .go { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 900px) { .marks { grid-template-columns: 1fr; } .mark { min-height: 0; } }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 72px; }
.quote { padding: 34px 0; border-top: 1px solid #d6d5cf; }
.quote blockquote { font-family: "Newsreader", "Iowan Old Style", Georgia, serif; font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.36; }
.quote figcaption { margin-top: 16px; font-size: 0.92rem; color: #5a5a55; }
.quote figcaption b { color: #0c0c0c; font-weight: 600; }
@media (max-width: 800px) { .quotes { grid-template-columns: 1fr; } }

/* Tags for verticals */
.tags { display: flex; flex-wrap: wrap; gap: 6px 22px; font-family: "Newsreader", "Iowan Old Style", Georgia, serif; font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.tags li::after { content: ""; }

/* Contact block and form */
.contact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px 80px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.channels { border-top: 1px solid #f3f2ee; }
.paper .channels { border-top-color: #0c0c0c; }
.channels a, .channels .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: 0 24px; align-items: baseline; padding: 17px 0; border-bottom: 1px solid #2e2e2e; text-decoration: none; }
.paper .channels a, .paper .channels .row { border-bottom-color: #d6d5cf; }
.channels span { color: #a9a9a3; font-size: 0.95rem; }
.paper .channels span { color: #5a5a55; }
.channels b { font-family: "Newsreader", "Iowan Old Style", Georgia, serif; font-weight: 400; font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.15; overflow-wrap: anywhere; letter-spacing: -0.01em; }
.channels a:hover b { color: #64b019; }
.paper .channels a:hover b { color: #3c7208; }
@media (max-width: 520px) { .channels a, .channels .row { grid-template-columns: 1fr; gap: 2px; } }

.form { display: grid; gap: 18px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.9rem; font-weight: 550; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #6d6d68; background: transparent; color: inherit; font-size: 1rem; border-radius: 0; }
.field select option { color: #000; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid #64b019; outline-offset: 0; border-color: #64b019; }
.paper .field input:focus, .paper .field select:focus, .paper .field textarea:focus { outline-color: #3c7208; border-color: #3c7208; }
.field .err { color: #ff9c94; font-size: 0.88rem; }
.paper .field .err { color: #b3261e; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: #ff9c94; }
.paper .field.bad input, .paper .field.bad select, .paper .field.bad textarea { border-color: #b3261e; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { border: 1px solid #f3f2ee; padding: 16px 18px; }
.paper .form-status { border-color: #0c0c0c; }
.form-status textarea { width: 100%; min-height: 150px; margin-top: 12px; font-size: 0.9rem; padding: 10px; border: 1px solid #6d6d68; background: transparent; color: inherit; }
.form-status .btns { margin-top: 12px; }
@media (max-width: 560px) { .form .two { grid-template-columns: 1fr; } }

/* Footer */
.foot { background: #000000; color: #a9a9a3; padding: 72px 0 56px; border-top: 1px solid #2e2e2e; position: relative; z-index: 2; font-size: 0.95rem; }
.foot-top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 36px 48px; }
.foot h2 { font-size: 0.9rem; font-weight: 600; color: #f3f2ee; margin-bottom: 12px; }
.foot a { text-decoration: none; display: inline-block; padding: 5px 0; max-width: 100%; overflow-wrap: anywhere; }
.foot a:hover { color: #64b019; }
.foot .brandline { font-family: "Newsreader", "Iowan Old Style", Georgia, serif; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.2; color: #f3f2ee; max-width: 18em; margin-top: 20px; }
.foot address { font-style: normal; margin-top: 18px; }
.foot-family { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 44px; margin-top: 56px; padding-top: 30px; border-top: 1px solid #2e2e2e; }
.foot-family img { height: 30px; width: auto; }
.foot-family .tile { background: #f3f2ee; padding: 6px 10px; display: inline-flex; }
.foot-family .tile img { height: 24px; }
.foot-base { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; margin-top: 30px; font-size: 0.88rem; }
.foot-base ul { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.foot-base a { overflow-wrap: normal; white-space: nowrap; }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-top { grid-template-columns: 1fr; } }

/* Legal text */
.legal { max-width: 820px; }
.legal h2 { font-family: "Newsreader", "Iowan Old Style", Georgia, serif; font-weight: 400; font-size: 1.9rem; line-height: 1.15; margin: 40px 0 12px; }
.legal h3 { font-family: "Newsreader", "Iowan Old Style", Georgia, serif; font-weight: 400; font-size: 1.4rem; margin: 28px 0 10px; }
.legal h4 { font-size: 1rem; margin: 20px 0 8px; }
.legal p, .legal li { margin-bottom: 12px; font-size: 1rem; }
.legal ul, .legal ol { padding-left: 22px; list-style: disc; }
.legal ol { list-style: decimal; }
.legal a { color: #3c7208; }
.legal hr { border: 0; border-top: 1px solid #d6d5cf; margin: 30px 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

.submit-row { align-items: center; }
.foot-base { align-items: center; }
.legal-updated { font-size: 0.95rem; color: #5a5a55; margin: 0 0 26px; padding-bottom: 14px; border-bottom: 1px solid #d6d5cf; }

/* BBB mark in the top bar. Full on wide screens, shorter as the bar tightens, "BBB A+" on phones. */

/* Drawer: the pop-out used for forms and quick contact. Full screen on phones. */
dialog.drawer { position: fixed; top: 0; right: 0; bottom: 0; left: auto; margin: 0; width: min(620px, 100vw); max-width: 100vw; height: 100vh; height: 100dvh; max-height: none; padding: 0; border: 0; border-left: 1px solid #2e2e2e; background: #111111; color: #f3f2ee; overflow-y: auto; overscroll-behavior: contain; }
dialog.drawer:not([open]) { display: none; }
dialog.drawer::backdrop { background: rgba(0, 0, 0, 0.74); }
dialog.drawer[open] { animation: drawer-in 0.32s cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes drawer-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { dialog.drawer[open] { animation: none; } }
.drawer-in { padding: 22px clamp(20px, 4vw, 40px) calc(48px + env(safe-area-inset-bottom)); display: grid; gap: 18px; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid #2e2e2e; }
.drawer-x { min-height: 44px; padding: 8px 16px; border: 1px solid #6d6d68; background: transparent; color: inherit; font: inherit; font-size: 0.92rem; cursor: pointer; }
.drawer-x:hover { border-color: #64b019; color: #64b019; }
.drawer [data-panel="form"] { display: grid; gap: 18px; }
.drawer [data-panel][hidden] { display: none; }
.drawer-lede { max-width: 52ch; }
.direct-line { display: flex; flex-wrap: wrap; gap: 0 22px; align-items: center; font-size: 0.98rem; }
.direct-line span { color: #a9a9a3; margin-right: 6px; }
.direct-line a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; text-decoration-color: #64b019; min-height: 44px; display: inline-flex; align-items: center; }
.direct-line a:hover { color: #64b019; }
.paper .direct-line span { color: #5a5a55; }
.drawer .direct-line { padding-top: 12px; border-top: 1px solid #2e2e2e; }

/* Mobile action bar, above the contact bar. Phones only. */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 54px; z-index: 108; padding: 8px 12px; background: #000000; border-top: 1px solid #2e2e2e; transition: transform 0.25s ease, opacity 0.25s ease; }
  .action-bar .act { min-height: 44px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 6px 8px; border: 1px solid #6d6d68; color: #f3f2ee; text-decoration: none; font-size: 0.94rem; font-weight: 550; line-height: 1.15; }
  .action-bar .act.primary { background: #f3f2ee; border-color: #f3f2ee; color: #000000; }
  .action-bar.away { transform: translateY(110%); opacity: 0; pointer-events: none; }
  body.has-actions { padding-bottom: calc(54px + 62px); }
  .bar-contact { padding-bottom: env(safe-area-inset-bottom); height: calc(54px + env(safe-area-inset-bottom)); }
  .action-bar { bottom: calc(54px + env(safe-area-inset-bottom)); }
  /* Phone pass: thumb sized links, readable type. */
  .foot a { min-height: 44px; display: inline-flex; align-items: center; padding: 0; }
  .foot li + li { margin-top: 0; }
  .channels a { min-height: 44px; }
  .small, .ledger .meta, .plain li, .facts dt, .mark p, .field label, .foot-base p, .foot, .card-meta, .book-help, .book-crumb { font-size: 1rem; }
  .brandmark { min-height: 44px; }
  .mark .go a, .go .tlink { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (prefers-reduced-motion: reduce) { .action-bar { transition: none; } }

/* BBB seal: the official seal image on a paper tile (its text is dark), with our wording beside it. */
.bbb-seal { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #f3f2ee; flex: none; max-width: 100%; }
.bbb-seal .tile { display: inline-flex; background: #f3f2ee; padding: 4px 6px; line-height: 0; }
.bbb-seal img { display: block; max-width: 100%; height: auto; }
.bbb-seal .bbb-text { font-size: 0.92rem; color: #a9a9a3; white-space: nowrap; }
.bbb-seal:hover .bbb-text { color: #64b019; }
.on-paper .bbb-seal .bbb-text, .paper .bbb-seal .bbb-text { color: #5a5a55; }
.on-paper .bbb-seal .tile, .paper .bbb-seal .tile { outline: 1px solid #d6d5cf; }
.bar-top .bbb-seal.top { gap: 10px; }
.bar-top .bbb-seal.top .seal-wide { display: none; }
.bar-top .bbb-seal.top .seal-small { display: block; width: 77px; height: 40px; }
.bar-top .bbb-seal.top .bbb-text { font-size: 0.86rem; }
@media (max-width: 1340px) { .bar-top .bbb-seal.top .bbb-text { display: none; } }
@media (max-width: 960px) { .bar-top .bbb-seal.top { margin-left: auto; margin-right: 12px; } .bar-top .bbb-seal.top + .menu-btn { margin-left: 0; } }
@media (max-width: 380px) { .bar-top .bbb-seal.top .seal-small { width: 69px; height: 36px; } }
.bbb-seal.form .tile img { width: 200px; height: 42px; }
.bbb-seal.footer .tile { padding: 0; background: transparent; }
.bbb-seal.footer img { width: 280px; height: 80px; }
.bbb-seal.footer .bbb-text { white-space: normal; }
.foot a.bbb-seal { padding: 0; display: inline-flex; flex-wrap: wrap; overflow-wrap: normal; }
@media (max-width: 760px) { .bbb-seal { min-height: 44px; } .bbb-seal .bbb-text { font-size: 1rem; } .bbb-seal.footer img { width: 240px; height: 69px; } .submit-row .bbb-seal .bbb-text { display: none; } }
@media (min-width: 961px) { .nav a { white-space: nowrap; } }
@media (min-width: 1341px) { .nav ul { gap: 22px; } .bar-top .wrap { gap: 24px; } }

/* Privacy: opt-out link, signal note, notice at collection, policy table. */
.gpc-note { border-left: 2px solid #64b019; padding: 6px 0 6px 12px; font-size: 0.92rem; color: #f3f2ee; margin: 8px 0; }
.foot-base .gpc-note { flex-basis: 100%; }
.collect-note { font-size: 0.86rem; color: #a9a9a3; margin-top: 10px; max-width: 60ch; }
.collect-note a, .choices-page a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: #64b019; }
.paper .collect-note, .on-paper .collect-note { color: #5a5a55; }
.notice-box { border: 1px solid #d6d5cf; padding: 14px 18px; margin: 18px 0 8px; }
.table-wrap { overflow-x: auto; margin: 12px 0 18px; }
.pi-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.pi-table th, .pi-table td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid #d6d5cf; }
.pi-table th { font-weight: 600; }
.choices-page { display: grid; gap: 22px; max-width: 760px; }
.choices-page .form-status { outline: none; }
.choices-page .choice.check { min-height: 44px; display: flex; align-items: center; gap: 10px; }
@media (max-width: 760px) { .table-wrap { overflow: visible; } .pi-table { min-width: 0; } .pi-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .pi-table, .pi-table tbody, .pi-table tr, .pi-table td { display: block; width: 100%; } .pi-table tr { border-bottom: 1px solid #d6d5cf; padding: 10px 0; } .pi-table td { border: 0; padding: 4px 0; } .pi-table td::before { content: attr(data-label); display: block; font-weight: 600; font-size: 0.85rem; opacity: 0.75; } }
@media (max-width: 760px) { .collect-note, .pi-table, .gpc-note { font-size: 1rem; } .collect-note a, .foot-base .choices-link { min-height: 44px; display: inline-flex; align-items: center; } }

/* xy7elite.com additions to the family kit. Same tokens, literal values. */
.nav li.m-only { display: none; }
@media (max-width: 960px) { .nav li.m-only { display: block; } }
.closer { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.closer h2 { max-width: 20em; }
.btns.center { justify-content: center; margin-top: 44px; }

/* Two doors: the publisher path and the advertiser path, side by side. */
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #0c0c0c; }
.door { padding: 44px 56px 48px 0; display: grid; gap: 18px; align-content: start; }
.door + .door { padding-left: 56px; padding-right: 0; border-left: 1px solid #d6d5cf; }
.door .who { font-size: 0.9rem; color: #5a5a55; }
.door h3 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.02; letter-spacing: -0.018em; }
.door .lead { max-width: 24em; }
.door ul { display: grid; gap: 0; margin-top: 4px; }
.door li { padding: 13px 0; border-top: 1px solid #d6d5cf; font-size: 1rem; }
.door li:last-child { border-bottom: 1px solid #d6d5cf; }
.door .btns { margin-top: 12px; }
.doors-foot { margin-top: 28px; color: #5a5a55; }
@media (max-width: 860px) {
  .doors { grid-template-columns: 1fr; }
  .door { padding: 36px 0 40px; }
  .door + .door { padding-left: 0; border-left: 0; border-top: 1px solid #0c0c0c; }
}

.marks.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .marks.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .marks.four { grid-template-columns: 1fr; } }

.tags.big { font-size: clamp(1.7rem, 4.2vw, 3.4rem); line-height: 1.16; letter-spacing: -0.015em; gap: 4px 0; }
.tags.big li::after { content: "/"; color: #b9b8b1; padding: 0 0.28em; }
.tags.big li:last-child::after { content: ""; padding: 0; }

.ledger.compact li { padding-block: 16px; }
.next > h3 { margin-bottom: 14px; }
.ledger.people .meta b { display: block; font-weight: 500; overflow-wrap: anywhere; }
.ledger.people .meta a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.captcha-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 6px; }
.captcha-row img { display: block; background: #fff; height: 64px; width: auto; }
.captcha-ph { font-size: 0.9rem; color: #a9a9a3; border: 1px dashed #2e2e2e; padding: 12px 14px; }
.form-status a { text-decoration: underline; }
.submit-row { align-items: center; }
.offer-trust { margin-top: 18px; }
/* Kit fixes, round four: .foot a beat the badge styles once the badge became a link, and the legal links squeezed at 360 px. */
.foot a.bbb-badge { display: inline-flex; flex-direction: column; padding: 8px 14px 9px; overflow-wrap: normal; }
.foot-base ul { flex-wrap: wrap; gap: 4px 22px; }

/* Payment terms table */
.pay-terms { margin-top: clamp(40px, 6vw, 64px); max-width: 760px; }
.pay-terms h3 { font-family: "Newsreader", "Iowan Old Style", Georgia, serif; font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 16px; }
.terms-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.terms-table th, .terms-table td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid #2e2e2e; vertical-align: top; }
.terms-table th { font-weight: 550; font-size: 0.95rem; color: #a9a9a3; border-bottom-color: #f3f2ee; }
.terms-table td:last-child { font-family: "Newsreader", "Iowan Old Style", Georgia, serif; font-size: 1.25rem; }
.paper .terms-table th { color: #5a5a55; border-bottom-color: #0c0c0c; }
.paper .terms-table td { border-bottom-color: #d6d5cf; }
.pay-terms-note { margin-top: 14px; color: #a9a9a3; }
.paper .pay-terms-note { color: #5a5a55; }

/* Affiliate agreement page */
.agreement-toc { border: 1px solid #d6d5cf; padding: 20px 24px; margin-bottom: 40px; }
.agreement-toc h2 { margin-top: 0 !important; }
.agreement-toc ol { list-style: none !important; padding-left: 0 !important; columns: 2 280px; column-gap: 32px; margin-bottom: 18px; }
.agreement-toc li { margin-bottom: 0 !important; break-inside: avoid; }
.agreement-toc a { display: inline-block; padding: 7px 0; min-height: 44px; }
.legal ul.plain { list-style: none; padding-left: 4px; }
.agreement h3 { scroll-margin-top: 80px; }
.agreement section { scroll-margin-top: 80px; }
.agreement-sub { font-weight: 600; letter-spacing: 0.02em; }

/* Mobile pass, round four: 16 px text minimum, 44 px tap targets, full screen contact sheet. Desktop is untouched. */
@media (max-width: 700px) {
  body { font-size: 16px; }
  .btn, .btn.sm, .bar-contact a, .bar-contact button { font-size: 1rem; }
  .btn.sm { min-height: 44px; }
  .door .who, .ledger .meta, .quote figcaption, .credits .role, .mark p, .field label, .small, .dim, .sheet-head p,
  .foot, .foot a, .foot address, .foot-base, .foot-family span, .channels a span, .channels .row span, .contact-sheet a span,
  .terms-table th, .hint, .bbb-badge span { font-size: 1rem; }
  .brandmark { min-height: 44px; }
  .bbb-badge { min-height: 44px; justify-content: center; }
  .mark .go .tlink, .doors-foot .tlink { display: inline-block; padding: 10px 0; }
  .contact-sheet { top: 64px; max-height: none; padding-top: 12px; }
  .offer label.lab, .offer .hint, .offer .card > .sub, .offer .choice .box .d, .offer .opt, .offer .hours-ctl, .offer .hours-summary, .offer .err { font-size: 1rem; }
}
.agreement { overflow-wrap: anywhere; }
.terms-table td:last-child { white-space: nowrap; }
@media (max-width: 420px) { .terms-table td:last-child { font-size: 1.1rem; } .terms-table th, .terms-table td { padding-right: 10px; } }

/* Explainer player */
.explainer { margin: 0; }
.explainer video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; object-fit: cover; }
.explainer figcaption { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin-top: 14px; color: #a9a9a3; }
.paper .explainer figcaption { color: #5a5a55; }
.explainer .js-explainer-sound { min-height: 44px; }
.explainer { max-width: 960px; }

/* Round eight: the PHP note and the kit.js note can both show on the opt-out page; keep one. */
.choices-page .gpc-note + .gpc-note { display: none; }
