:root {
  --navy: #101f35; --navy-2: #182b45; --ink: #202b39; --muted: #566270;
  --gold: #b99a63; --gold-light: #d5bd91; --gold-text: #86672b;
  --paper: #f7f6f2; --paper-2: #eeede8; --white: #fff; --line: #e1ddd3;
  --serif: "Playfair Display", Georgia, serif; --sans: "DM Sans", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.7; -webkit-text-size-adjust: 100%; }
a { color: inherit; text-decoration: none; }
section[id] { scroll-margin-top: 84px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 40; background: var(--navy); color: #fff; padding: 10px 16px; font-size: 14px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

/* nagłówek */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(247,246,242,.96); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(16,31,53,.08); }
.nav-wrap, .main-nav, .brand { display: flex; align-items: center; }
.nav-wrap { min-height: 84px; justify-content: space-between; gap: 30px; }
.brand { flex-direction: column; align-items: flex-start; line-height: 1.25; }
.brand-name { color: var(--navy); font-weight: 700; letter-spacing: .18em; font-size: 16px; }
.brand-subtitle { margin-top: 6px; color: var(--gold-text); font-size: 11px; letter-spacing: .16em; font-weight: 600; }
.main-nav { gap: 32px; font-size: 14px; font-weight: 600; }
.main-nav a { transition: color .2s; padding: 6px 0; }
.main-nav a:hover, .linkedin-link:hover, .email-contact a:hover { color: var(--gold-text); }
.language-switch { border: 1px solid var(--gold); background: transparent; color: var(--navy); padding: 7px 12px; font: 600 13px var(--sans); cursor: pointer; }
.language-switch:hover { background: var(--navy); color: #fff; }
.menu-toggle { display: none; border: 0; background: none; color: var(--navy); font-size: 26px; cursor: pointer; padding: 6px 8px; }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: white; padding: 90px 0 0; }
.hero-glow { position: absolute; width: 650px; height: 650px; border-radius: 50%; right: -160px; top: -240px; background: radial-gradient(circle, rgba(185,154,99,.17), transparent 68%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; gap: 70px; align-items: center; min-height: 490px; }
.hero-grid > * { min-width: 0; }
.eyebrow { color: var(--gold-text); font-size: 12px; font-weight: 700; letter-spacing: .2em; margin: 0 0 22px; }
.hero .eyebrow, .quote-section .eyebrow { color: var(--gold); }
h1, h2, blockquote { font-family: var(--serif); font-weight: 500; text-wrap: balance; }
h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 26px; }
h1 em, h2 em { color: var(--gold-light); font-weight: 500; }
.hero-lead { max-width: 600px; color: #d6dce3; font-size: 18px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 0; padding: 15px 24px; cursor: pointer; font: 700 14px var(--sans); letter-spacing: .04em; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--gold); color: var(--navy); }
.button-gold:hover { background: var(--gold-light); }
.text-link { font-size: 15px; font-weight: 600; color: white; }
.text-link span, .linkedin-link span { color: var(--gold); margin-left: 6px; }
.portrait-area { justify-self: end; width: min(100%, 390px); }
.portrait-frame { padding: 12px; border: 1px solid rgba(213,189,145,.55); }
.portrait-image { width: 100%; height: 420px; object-fit: cover; object-position: center 12%; display: block; background: #fff; }
.portrait-caption { display: flex; align-items: center; gap: 12px; margin-top: 20px; color: #cdd3da; font-size: 13px; letter-spacing: .04em; }
.caption-line { flex: none; width: 32px; height: 1px; background: var(--gold); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 70px; border-top: 1px solid rgba(255,255,255,.16); }
.stat { display: flex; align-items: center; gap: 18px; padding: 25px 20px 27px 0; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.16); padding-left: 28px; }
.stat strong { font: 500 40px var(--serif); color: var(--gold-light); white-space: nowrap; }
.stat strong span { font-size: 26px; }
.stat small { color: #cdd3da; max-width: 190px; font-size: 14px; line-height: 1.45; }

/* sekcje */
.section { padding: 104px 0; }
.two-col { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.two-col > *, .experience-layout > *, .contact-layout > * { min-width: 0; }
h2 { color: var(--navy); font-size: clamp(32px, 4vw, 46px); line-height: 1.2; letter-spacing: -.02em; margin: 0; }
h2 em { color: var(--gold-text); }
.about-text { padding-top: 8px; }
.about-text p { margin: 0 0 18px; color: #435061; font-size: 17px; line-height: 1.8; max-width: 66ch; }
.expertise-section, .contact-section { background: var(--paper-2); }
.section-heading { margin-bottom: 46px; }
.expertise-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.expertise-card { grid-column: span 2; }
.expertise-card:nth-child(n+4) { grid-column: span 3; }
.expertise-card { min-height: 250px; padding: 30px 28px; background: var(--white); border: 1px solid #e6e3dc; transition: transform .25s, box-shadow .25s; }
.expertise-card:hover { transform: translateY(-4px); box-shadow: 0 15px 35px rgba(16,31,53,.07); }
.card-icon { width: 34px; height: 34px; color: var(--gold-text); margin-bottom: 18px; }
.card-icon svg { width: 100%; height: 100%; display: block; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.expertise-card h3, .experience-list h3 { color: var(--navy); font: 600 20px/1.3 var(--serif); margin: 0 0 10px; }
.expertise-card p, .experience-list p { color: var(--muted); font-size: 15.5px; line-height: 1.7; margin: 0; }
.experience-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.experience-intro > p:last-child { color: var(--muted); font-size: 16px; line-height: 1.75; margin-top: 24px; max-width: 360px; }
.experience-list { display: flex; flex-direction: column; gap: 30px; }
.experience-list article { padding: 2px 0 2px 24px; border-left: 2px solid var(--gold); }
.experience-list h3 { font-size: 21px; }

.quote-section { background: var(--navy); color: white; padding: 80px 0 75px; text-align: center; }
.quote-inner { max-width: 820px; }
.quote-mark { color: var(--gold); font: 80px var(--serif); line-height: .8; }
blockquote { font-size: clamp(22px, 3vw, 32px); line-height: 1.5; margin: 18px 0 24px; }
.quote-inner p { color: var(--gold-light); font-size: 12px; letter-spacing: .22em; font-weight: 700; margin: 0; }

/* kontakt */
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; }
.contact-intro { color: var(--muted); font-size: 16.5px; line-height: 1.75; max-width: 420px; margin: 26px 0; }
.linkedin-link { display: inline-block; color: var(--navy); font-size: 15px; font-weight: 700; border-bottom: 1px solid var(--gold); padding-bottom: 5px; }
.email-contact { margin: 18px 0 0; color: var(--navy); font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.email-contact a { border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.contact-form { display: flex; flex-direction: column; }
.contact-form label { color: var(--navy); font-size: 13px; font-weight: 700; margin: 0 0 7px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #cfcbc1; background: rgba(255,255,255,.8); padding: 13px 14px; margin-bottom: 18px; color: var(--ink); font: 16px var(--sans); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold-text); outline: 2px solid rgba(185,154,99,.45); outline-offset: 0; }
.contact-form textarea { resize: vertical; }
.contact-form .button { align-self: flex-start; }
.form-note, .form-status { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin: 14px 0 0; }
.form-status:empty { display: none; }

.site-footer { background: #0b1728; color: #bcc4ce; padding: 26px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px 20px; font-size: 13px; }
.footer-brand .brand-name { color: white; font-size: 13px; }
.footer-brand .brand-subtitle { font-size: 10px; color: var(--gold); }
.site-footer a:last-child { color: var(--gold-light); }

@media (max-width: 850px) {
  .main-nav { gap: 18px; }
  .hero-grid { gap: 35px; }
  .two-col, .experience-layout, .contact-layout { gap: 50px; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-card, .expertise-card:nth-child(n+4) { grid-column: auto; }
  .expertise-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 36px, 540px); }
  .nav-wrap { min-height: 72px; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 18px 24px 24px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 14px; font-size: 16px; }
  .main-nav.open { display: flex; }
  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; min-height: 0; }
  h1 { font-size: 42px; }
  .hero-lead { font-size: 17px; }
  .portrait-area { justify-self: center; width: min(88%, 340px); }
  .portrait-image { height: 360px; }
  .stats { margin-top: 54px; grid-template-columns: 1fr; padding: 8px 0; }
  .stat, .stat + .stat { border-left: 0; border-bottom: 1px solid rgba(255,255,255,.13); padding: 14px 0; }
  .stat:last-child { border-bottom: 0; }
  .stat strong { font-size: 34px; min-width: 84px; }
  .section { padding: 70px 0; }
  .two-col, .experience-layout, .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-card:last-child { grid-column: auto; }
  .expertise-card { min-height: 0; }
  .section-heading { margin-bottom: 28px; }
  .quote-section { padding: 62px 0; }
  .footer-inner { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
