/* sergey.trood.com. Three looks behind ?style= (paper is the default):
   paper  light, like trood.com's audience pages
   flat   black, white Aeroport, like the reels and the flat carousels
   still  the designers' Canva language: B&W low-contrast portrait, type on black blocks */
@font-face { font-family: "Aeroport"; src: url("/fonts/Aeroport-Light.woff") format("woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Aeroport"; src: url("/fonts/Aeroport-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Aeroport"; src: url("/fonts/Aeroport-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --bg: #fafaf8; --fg: #0f0f0f; --muted: #6b6b6b; --line: #e4e4e0; --card: #ffffff;
  --blue: hsl(213 78% 56%); --btn: #0f0f0f; --btn-fg: #fff;
  --display: "Aeroport", "Geist", system-ui, sans-serif;
  --sans: "Geist", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
}
:root[data-style="flat"] { --bg: #1c1c1c; --fg: #f5f5f5; --muted: #9a9a9a; --line: #333; --card: #222; --btn: #f5f5f5; --btn-fg: #0f0f0f; }
:root[data-style="still"] { --bg: #d6d6d6; --fg: #0f0f0f; --muted: #3d3d3d; --line: #bdbdbd; --card: #ececec; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.top { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.mark svg { display: block; width: 92px; height: auto; color: var(--blue); }
.top nav { display: flex; gap: 22px; font: 500 14px var(--sans); }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--fg); }

.hero { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; padding-top: 48px; padding-bottom: 72px; }
.eyebrow { font: 500 13px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
h1 { font: 500 clamp(44px, 7vw, 84px)/1.02 var(--display); letter-spacing: -.01em; margin-bottom: 26px; }
.pitch { font: 300 clamp(21px, 2.4vw, 27px)/1.38 var(--display); max-width: 30ch; margin-bottom: 26px; }
.roles { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.roles li { font: 500 13px var(--sans); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: var(--card); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; text-decoration: none; font: 500 15px var(--sans); background: var(--btn); color: var(--btn-fg); padding: 12px 20px; border-radius: 10px; border: 1px solid var(--btn); }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn:hover { opacity: .88; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 20px; }

.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.numbers div { padding: 28px 20px 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numbers div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.numbers strong { display: block; font: 500 44px/1 var(--display); margin-bottom: 10px; }
.numbers span { font-size: 15px; color: var(--muted); }

.block { padding-top: 88px; }
h2 { font: 500 clamp(28px, 3.4vw, 40px)/1.1 var(--display); margin-bottom: 28px; }
h3 { font: 500 19px/1.3 var(--display); margin-bottom: 8px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid4 article, .door { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.grid4 p, .door p, .steps p { color: var(--muted); font-size: 15px; }
.note { margin-top: 22px; color: var(--muted); }

.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.steps li { counter-increment: s; border-top: 2px solid var(--fg); padding-top: 16px; }
.steps li::before { content: "0" counter(s); display: block; font: 500 13px var(--mono); color: var(--muted); margin-bottom: 10px; }

.lead { font: 300 clamp(20px, 2.2vw, 24px)/1.4 var(--display); max-width: 40ch; margin-bottom: 10px; }
.lines { font: 500 13px var(--mono); letter-spacing: .04em; color: var(--muted); margin-bottom: 28px; }
.door { text-decoration: none; display: block; transition: border-color .15s; }
.door:hover { border-color: var(--fg); }
.door h3 span { color: var(--blue); }

.bg { list-style: none; max-width: 760px; }
.bg li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.arrow { display: inline-block; margin-top: 18px; font-weight: 500; }
.arrow::after { content: " →"; color: var(--blue); }

.links { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.links h3 { font: 500 13px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.links ul { list-style: none; }
.links a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.links a span { font-weight: 500; }
.links a small { color: var(--muted); font: 400 14px var(--mono); text-align: right; overflow-wrap: anywhere; }
.links a:hover span { color: var(--blue); }

.foot { display: flex; justify-content: space-between; padding-top: 72px; padding-bottom: 40px; font-size: 14px; color: var(--muted); }

/* flat: the portrait sits on its own dark ground, no frame */
:root[data-style="flat"] .portrait img { border-radius: 0; }
:root[data-style="flat"] .steps li { border-top-color: var(--blue); }

/* still: low-contrast B&W portrait, headline and pitch on tight black blocks (standards/design-system.md § Imagery) */
:root[data-style="still"] .portrait img { filter: grayscale(1) contrast(.8) brightness(1.05); border-radius: 0; }
:root[data-style="still"] h1 span, :root[data-style="still"] .pitch span { background: #0f0f0f; color: #fff; padding: 2px 12px 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; line-height: 1.35; }
:root[data-style="still"] .pitch { line-height: 1.7; }
:root[data-style="still"] .roles li, :root[data-style="still"] .grid4 article, :root[data-style="still"] .door { border-radius: 0; }
:root[data-style="still"] .btn { border-radius: 0; }
:root[data-style="still"] h2 { display: inline-block; background: #0f0f0f; color: #fff; padding: 4px 14px 8px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 24px; padding-bottom: 48px; }
  .portrait { order: -1; max-width: 220px; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .numbers div:nth-child(3) { padding-left: 0; border-left: 0; }
  .numbers div:nth-child(-n+2) { border-bottom: 0; }
  .grid4, .grid3, .steps, .links { grid-template-columns: 1fr; }
  .links { gap: 24px; }
  .block { padding-top: 64px; }
  .top nav { gap: 14px; font-size: 13px; }
}
@media (max-width: 420px) { .top nav a:first-child { display: none; } }
