/* Fortüna Risk Management — shared editorial stylesheet
   Base typography, header, footer, buttons, section layout primitives.
   Page-specific blocks live inline in each page. */

:root {
  --paper: #FAF9F7;
  --paper-pure: #FFFFFF;
  --paper-soft: #F0EDE7;
  --ink: #222120;        /* soft black for text, not pure black */
  --ink-nav: #1F1E1C;    /* black, softened: still black, never bluish */
  --ink-soft: #4A4A4A;
  --line: #D8D4CC;
  --red: #9E3B1B;
  --gold: #785E26;
  --focus: #003A96;
  --serif: "Libre Baskerville", Baskerville, Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", Menlo, monospace;
  --max-w: 1120px;
  --reading-w: 640px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
@media (min-width: 900px) { .wrap { padding: 0 48px; } }

/* === HEADER === */
header.site { background: var(--ink-nav); color: var(--paper-pure); position: sticky; top: 0; z-index: 50; }
header.site .inner { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; gap: 32px; max-width: var(--max-w); margin: 0 auto; }
@media (min-width: 900px) { header.site .inner { padding: 24px 48px; } }
.brand-img { height: 48px; width: auto; display: block; }
nav.primary { display: none; align-items: center; gap: 0; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.72); }
nav.primary a { position: relative; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; text-align: center; line-height: 1.5; min-height: 28px; transition: color .18s ease; }
nav.primary a + a::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 12px; background: rgba(255,255,255,0.2); }
nav.primary a:hover { color: var(--paper-pure); }
nav.primary a::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: -8px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: center; transition: transform .22s ease; }
nav.primary a:hover::after,
nav.primary a.current::after { transform: scaleX(1); }
nav.primary a.current { color: var(--paper-pure); }
@media (min-width: 1000px) { nav.primary { display: flex; } }

/* === TYPE SHARED === */
.motto { text-align: center; }
.motto .word { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.4em; text-transform: uppercase; color: var(--ink); display: inline-flex; align-items: center; gap: 18px; }
.motto .word::before, .motto .word::after { content: ""; display: block; width: 32px; height: 1px; background: var(--ink); }

.btn { display: inline-flex; align-items: center; gap: 12px; background: var(--red); color: var(--paper-pure); padding: 20px 36px; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.btn:hover { background: #7a2d15; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper-pure); }
.link { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.link:hover { color: var(--red); border-bottom-color: var(--red); }

/* Shared heading eyebrow + h2 pattern used across every page */
.eyebrow { display: block; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 24px; }
.h-serif { font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.22; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 44px); color: var(--ink); line-height: 1.22; }
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.6vw, 28px); color: var(--ink); line-height: 1.3; }

/* === PAGE HERO (interior pages, lighter than home hero) === */
section.page-hero { background: var(--paper); border-bottom: 1px solid var(--line); }
section.page-hero .inner { max-width: var(--max-w); margin: 0 auto; padding: 112px 24px 88px; }
@media (min-width: 900px) { section.page-hero .inner { padding: 136px 48px 104px; } }
section.page-hero .eyebrow { margin-bottom: 20px; }
section.page-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.8vw, 54px); line-height: 1.18; color: var(--ink); margin-bottom: 28px; max-width: 22ch; }
section.page-hero .lede { font-size: 18px; line-height: 1.75; color: var(--ink-soft); max-width: 60ch; }

/* === CTA band === */
section.cta-band { background: var(--paper-soft); border-bottom: 1px solid var(--line); text-align: center; }
section.cta-band .inner { max-width: 640px; margin: 0 auto; padding: 96px 24px; }
section.cta-band h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3.4vw, 36px); color: var(--ink); margin-bottom: 32px; line-height: 1.25; }
section.cta-band .note { font-family: var(--sans); font-size: 13px; color: var(--ink-soft); margin-top: 24px; }

/* === FOOTER === */
footer.site { background: var(--ink-nav); color: rgba(255,255,255,0.72); }
footer .top { padding: 80px 24px 56px; max-width: var(--max-w); margin: 0 auto; }
@media (min-width: 900px) { footer .top { padding: 88px 48px 64px; } }
footer .top-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 900px) { footer .top-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; } }
footer .col .footer-h { font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--paper-pure); margin-bottom: 20px; }
footer .col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
footer .col a:hover { color: var(--paper-pure); }
footer .footer-logo { height: 56px; width: auto; display: block; margin-bottom: 24px; }
footer .addr { font-size: 14px; line-height: 1.75; }
footer .addr strong { color: var(--paper-pure); font-weight: 600; }
footer .bottom { border-top: 1px solid rgba(255,255,255,0.14); }
footer .bottom .inner { max-width: var(--max-w); margin: 0 auto; padding: 40px 24px 48px; font-size: 12px; line-height: 1.8; color: rgba(255,255,255,0.6); }
@media (min-width: 900px) { footer .bottom .inner { padding: 40px 48px 56px; } }
footer .bottom p { margin-bottom: 20px; max-width: 95ch; }
footer .disclosure-list { list-style: none; margin-bottom: 24px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.14); border-bottom: 1px solid rgba(255,255,255,0.14); display: grid; grid-template-columns: 1fr; gap: 12px; font-size: 12px; }
@media (min-width: 800px) { footer .disclosure-list { grid-template-columns: repeat(2, 1fr); gap: 16px 48px; } }
footer .disclosure-list li { padding-left: 20px; position: relative; }
footer .disclosure-list li::before { content: "·"; position: absolute; left: 0; color: rgba(255,255,255,0.6); font-weight: 700; }
footer .disclosure-list strong { color: var(--paper-pure); font-weight: 600; }
footer .copy-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 24px; }

/* === Added in the build (not in the mockup) ===================================== */

/* Mobile navigation: the mockup hides the nav below 1000px and offers nothing instead. */
.mobile-nav { position: relative; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.72); }
.mobile-nav summary { cursor: pointer; list-style: none; padding: 8px 0; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav { position: absolute; right: 0; top: 40px; background: var(--ink-nav); border: 1px solid rgba(255,255,255,0.14); display: flex; flex-direction: column; min-width: 240px; padding: 12px 0; }
.mobile-nav nav a { padding: 12px 24px; }
.mobile-nav nav a:hover { color: var(--paper-pure); }
@media (min-width: 1000px) { .mobile-nav { display: none; } }

/* Footer licence block (brief §6). */
footer .licence-block p { margin-bottom: 8px; }
footer .licence-block a { color: rgba(255,255,255,0.85); border-bottom: 1px solid rgba(255,255,255,0.4); }
footer .licence-block a:hover { color: var(--paper-pure); }

/* [FACT — …] placeholders: red monospace, visible until Demetrios gives the fact. */
.fact { font-family: var(--mono); color: var(--red); font-size: 0.8em; }
footer .fact { color: #e2a08a; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.inline-link { color: var(--ink); border-bottom: 1px solid var(--ink); }

/* Plain list with gold middle dot (profile, legal and service pages). */
.plain-list { list-style: none; padding: 0; margin: 0 0 24px; max-width: 64ch; }
.plain-list li { padding: 14px 0 14px 24px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; line-height: 1.6; color: var(--ink); }
.plain-list li::before { content: "·"; position: absolute; left: 0; color: var(--gold); font-weight: 700; font-size: 18px; }
.plain-list li:last-child { border-bottom: none; }

/* Monogram portrait shared by the home team section, team cards and profiles. */
.portrait-circle { border-radius: 0; overflow: hidden; background: var(--paper-soft); position: relative; margin: 0 auto; }
.portrait-circle::after { content: ""; position: absolute; inset: -8px; border: 1px solid var(--line); border-radius: 0; pointer-events: none; }
.portrait-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portrait-monogram { display: flex; align-items: center; justify-content: center; }
.portrait-monogram::before { content: ""; position: absolute; inset: 14px; border: 1px solid var(--gold); opacity: 0.35; border-radius: 0; pointer-events: none; }
.portrait-monogram .monogram { font-family: var(--serif); font-weight: 400; font-style: italic; color: var(--ink); letter-spacing: 0.04em; line-height: 1; }
