/* Gleb's three-section brief, using the BLACKROOM Living visual direction. */
@font-face {
  font-family: Ubuntu;
  src: url('assets/fonts/ubuntu-bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
:root {
  --paper: #fff;
  --page: #141414;
  --ink: #191919;
  --muted: #666;
  --line: #ddd;
  --soft: #f5f5f5;
  --accent: #c4492b;
  --brand-accent: #d65a38;
}
body { background: var(--page); color: #f5f5f3; }
html { scroll-padding-top: 24px; }
img { max-width: 100%; }
figure { margin: 0; }
h1, h2 { font-family: Ubuntu, Mulish, Arial, sans-serif; font-weight: 700; text-wrap: initial; overflow-wrap: normal; }
h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.08; letter-spacing: -.025em; max-width: 780px; }
h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.18; letter-spacing: -.02em; }
button:focus-visible, a:focus-visible, input:focus-visible { outline-color: var(--brand-accent); }
.site-header { background: var(--page); border-color: #ffffff20; }
.site-header__inner { max-width: 1280px; min-height: 82px; padding: 20px 48px; }
.brand img { width: 236px; }
.header-actions { display: flex; align-items: center; gap: 32px; }
.header-phone { font-size: 15px; }
.header-phone span { color: #aaa; }
.cta { border-radius: 0; border-color: var(--accent); background: var(--accent); color: #fff; font-weight: 750; min-height: 56px; text-decoration: none; transition: background .15s, border-color .15s; }
.cta:hover { background: #ad3f25; border-color: #ad3f25; }
.header-cta { font-size: 13px; min-height: 44px; padding: 10px 18px; }
.quiz-main,
body[data-screen=contact] .quiz-main,
body[data-screen=result] .quiz-main { max-width: none; padding: 0; }
.page-intro { position: relative; isolation: isolate; padding: 0; min-height: 560px; background: #191919; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-intro::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #101010e8 0%, #101010b5 43%, #10101028 100%), linear-gradient(0deg, #14141470, transparent 60%); }
.hero-copy { max-width: 1280px; margin: auto; padding: 80px 48px 72px; }
.hero-copy .eyebrow { font-size: 11px; color: #f08b6b; margin-bottom: 26px; }
#hero-subtitle { font-size: 18px; line-height: 1.65; margin-top: 24px; max-width: 620px; color: #e0e0db; white-space: pre-line; }
.hero-cta { display: inline-flex; margin-top: 30px; min-width: 238px; }
.quiz-section { max-width: 1056px; margin: auto; padding: 80px 48px 88px; }
.quiz-intro { margin-bottom: 36px; }
.quiz-intro h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.25; }
.quiz-intro p { font-size: 17px; line-height: 1.7; color: #b9b9b6; margin-top: 20px; }
.portal { color: var(--ink); min-width: 0; scroll-margin-top: 24px; }
.portal-shell { border: 0; border-radius: 0; box-shadow: none; }
.portal-header { padding: 30px 40px 0; }
.step-label { color: var(--accent); font-size: 11px; letter-spacing: .1em; }
.panel { padding: 20px 40px 36px; }
.panel h2 { font-size: 32px; line-height: 1.25; }
.question-hint { font-size: 14px; margin-top: 10px; }
.answer-tiles { grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
.answer-tile { min-height: 62px; padding: 16px 20px; border-radius: 0; border-color: var(--line); font-size: 17px; font-weight: 650; }
.answer-arrow { color: #888; }
.answer-tile[aria-pressed=true] { border-color: var(--accent); background: #fff4ee; }
.answer-tile[aria-pressed=true] .answer-arrow { color: var(--accent); }
.quiz-back { margin-top: 18px; }
.contact-layout { grid-template-columns: .9fr 1.1fr; gap: 48px; padding-top: 6px; }
.contact-layout h2 { font-size: 36px; margin-top: 0; }
.contact-copy { font-size: 17px; line-height: 1.65; margin-top: 18px; }
.contact-purpose { font-size: 14px; line-height: 1.65; margin-top: 20px; color: var(--muted); }
.form-fields { gap: 16px; }
.form-fields input { border-radius: 0; border-color: #ccc; }
.form-fields input:focus, .form-fields input:focus-visible { outline: none; box-shadow: none; border-color: var(--accent); }
.question-actions { margin-top: 24px; }
body[data-screen=contact] .panel { padding-bottom: 36px; }
.result-heading h2 { font-size: clamp(30px, 3.2vw, 42px); }
.result-intro { margin-top: 18px; color: var(--muted); }
.answer-summary span { color: #666; background: #f5f5f5; border-radius: 0; }
.personal-advice { background: #f5f5f5; border-radius: 0; border-left-color: var(--accent); }
.personal-advice p, .result-card-body p, .next-advice p, .result-budget p, .result-contact p { color: #555; }
.result-card { border-radius: 0; }
.result-card-image { background: #252525; }
.result-card-image span { border-radius: 0; background: #141414d9; }
.result-budget { border-radius: 0; background: #f5f5f5; border-color: var(--line); }
.result-budget strong { font: 700 34px/1.3 Ubuntu, Mulish, Arial, sans-serif; }
.contact-links a { border-radius: 0; }
.expertise { max-width: 1280px; margin: auto; padding: 72px 48px 80px; display: grid; grid-template-columns: 1.2fr 1fr; column-gap: 64px; row-gap: 40px; align-items: center; border-top: 1px solid #ffffff20; }
.expertise-heading { grid-column: 1 / -1; max-width: 950px; }
.expertise-heading .eyebrow { font-size: 11px; margin-bottom: 20px; color: #f08b6b; }
.expertise-photo img { display: block; width: 100%; height: 330px; object-fit: cover; object-position: 85% center; }
.expertise-copy h3 { font-family: Ubuntu, Mulish, Arial, sans-serif; font-size: 26px; line-height: 1.3; font-weight: 700; }
.expertise-copy p { font-size: 17px; line-height: 1.7; color: #b9b9b6; margin-top: 18px; }
.expertise-copy .cta { display: inline-flex; margin-top: 28px; }
.expertise-facts { list-style: none; padding: 0; margin: 16px 0 0; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.expertise-facts > li { border-top: 1px solid #ffffff30; padding-top: 24px; }
.fact-heading { display: flex; align-items: center; gap: 14px; min-height: 76px; }
.fact-heading strong { display: block; flex: none; font-size: 58px; line-height: 1; font-weight: 400; letter-spacing: -.035em; }
.fact-heading h3 { font-size: 18px; line-height: 1.35; font-weight: 650; }
.fact-heading--number { align-items: flex-end; }
.fact-heading--number h3 { color: #f5f5f3; padding-bottom: 5px; }
.expertise-facts li:first-child strong, .expertise-facts strong span { color: var(--brand-accent); }
.fact-heading--certificates, .fact-heading--audience { flex-direction: column; align-items: flex-start; gap: 8px; }
.fact-heading--certificates strong { font-size: 34px; letter-spacing: -.02em; white-space: nowrap; }
.fact-heading--audience strong { font-size: 48px; }
.expertise-facts p { color: #aaa; font-size: 14px; line-height: 1.65; margin-top: 16px; }
.fact-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 7px; color: #bbb; font-size: 14px; line-height: 1.6; }
.fact-years { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 0; padding: 0; }
.fact-years li { color: #bbb; font-size: 13px; line-height: 1.4; border: 1px solid #ffffff30; padding: 5px 7px; }
.legal-footer { border-color: #ffffff20; }
.legal-footer__inner { max-width: 1280px; padding: 32px 48px; color: #aaa; }
@media (hover:hover) {
  .answer-tile:hover { background: #fafafa; border-color: var(--accent); }
  .answer-tile:hover .answer-arrow { color: var(--accent); }
}
@media (max-width: 1000px) {
  .header-cta { display: none; }
  .hero-copy { padding-top: 64px; padding-bottom: 64px; }
  .page-intro { min-height: 520px; }
  .expertise { column-gap: 32px; }
  .expertise-facts { gap: 24px; grid-template-columns: 1fr 1fr; }
  .fact-heading { gap: 10px; }
  .fact-heading strong { font-size: 48px; }
  .fact-heading h3 { font-size: 16px; }
  .fact-heading--certificates strong { font-size: 27px; }
}
@media (max-width: 800px) {
  .site-header__inner { padding: 20px 24px; min-height: 76px; }
  .brand img { width: 200px; }
  .hero-copy { padding: 64px 24px; }
  h1 { font-size: 48px; max-width: 650px; }
  .quiz-section { padding: 56px 24px 64px; }
  .portal-header { padding: 26px 28px 0; }
  .panel { padding: 20px 28px 30px; }
  .contact-layout { gap: 28px; }
  .expertise { padding: 56px 24px 64px; grid-template-columns: 1fr; gap: 28px; }
  .expertise-photo img { height: auto; aspect-ratio: 16 / 9; }
  .expertise-heading { max-width: 700px; }
  .expertise-copy { max-width: 650px; }
  .expertise-facts { grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 12px; }
  .fact-heading--certificates strong { font-size: 34px; }
  .legal-footer__inner { padding: 28px 24px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 12px; }
  .site-header__inner { padding: 18px 20px; min-height: 72px; gap: 16px; }
  .brand img { width: 160px; }
  .header-phone { font-size: 12px; }
  .header-phone span { font-size: 10px; }
  .page-intro { min-height: 480px; }
  .hero-photo img { object-position: center center; }
  .page-intro::before { background: linear-gradient(90deg, #101010c9, #10101055), linear-gradient(0deg, #141414ed 0%, #14141480 60%, #14141430 100%); }
  .hero-copy { padding: 44px 24px 44px; }
  .hero-copy .eyebrow { font-size: 10px; letter-spacing: .11em; margin-bottom: 22px; }
  h1 { font-size: 36px; line-height: 1.12; letter-spacing: -.025em; max-width: 370px; }
  #hero-subtitle { font-size: 16px; line-height: 1.65; margin-top: 20px; }
  .hero-cta { margin-top: 36px; width: 100%; flex: none; }
  .quiz-section { padding: 38px 16px 48px; }
  .quiz-intro { margin-bottom: 28px; padding: 0 4px; }
  .quiz-intro h2 { font-size: 28px; }
  .quiz-intro p { font-size: 16px; margin-top: 16px; }
  .portal { scroll-margin-top: 12px; }
  .portal-header { padding: 22px 20px 0; }
  .panel { padding: 18px 20px 26px; }
  .panel h2 { font-size: 27px; line-height: 1.25; }
  .question-hint { font-size: 13px; line-height: 1.5; }
  .answer-tiles { margin-top: 22px; }
  .answer-tile { min-height: 62px; padding: 16px; font-size: 16px; }
  .contact-layout { grid-template-columns: 1fr; gap: 24px; }
  .contact-layout h2 { font-size: 30px; }
  .contact-copy { font-size: 16px; margin-top: 14px; }
  .contact-purpose { font-size: 13px; margin-top: 12px; }
  .form-fields input { font-size: 16px; }
  .question-actions .cta { font-size: 13px; padding: 14px 16px; }
  .question-actions { flex-direction: column-reverse; align-items: stretch; gap: 14px; }
  .question-actions .text-button { align-self: flex-start; }
  .question-actions .cta { flex: none; width: 100%; }
  .result-heading h2 { font-size: 32px; }
  .result-budget strong { font-size: 32px; }
  .expertise { padding: 40px 24px 48px; gap: 26px; }
  .expertise h2 { font-size: 30px; line-height: 1.2; }
  .expertise-heading .eyebrow { margin-bottom: 16px; }
  .expertise-copy h3 { font-size: 24px; }
  .expertise-copy p { font-size: 16px; line-height: 1.65; margin-top: 14px; }
  .expertise-copy .cta { width: 100%; flex: none; margin-top: 24px; }
  .expertise-facts { grid-template-columns: 1fr; gap: 26px; }
  .expertise-facts > li { padding-top: 20px; }
  .fact-heading { min-height: 56px; gap: 18px; }
  .fact-heading strong { font-size: 52px; }
  .fact-heading h3 { font-size: 20px; }
  .fact-heading--certificates, .fact-heading--audience { flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .fact-heading--certificates { align-items: center; }
  .fact-heading--certificates strong { font-size: 40px; }
  .fact-heading--certificates h3 { font-size: 18px; }
  .fact-heading--audience h3 { font-size: 18px; }
  .expertise-facts p { font-size: 14px; line-height: 1.6; margin-top: 12px; }
  .fact-list { grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-top: 14px; }
  .legal-footer__inner { padding: 26px 24px; }
}
@media (max-width: 360px) {
  .site-header__inner { padding-left: 16px; padding-right: 16px; }
  .brand img { width: 140px; }
  .header-phone { font-size: 11px; }
  .hero-copy { padding-left: 20px; padding-right: 20px; }
  h1 { font-size: 33px; }
  .panel, .portal-header { padding-left: 18px; padding-right: 18px; }
  .question-actions .cta { padding-left: 12px; padding-right: 12px; }
  .fact-heading--certificates strong { font-size: 36px; }
}
