:root {
  --navy-950: #050e1c;
  --navy-900: #071427;
  --navy-850: #091a31;
  --navy-800: #0c213d;
  --off-white: #f6f4ef;
  --paper: #fffefa;
  --ink: #142033;
  --muted: #667083;
  --line: rgba(16, 31, 53, .12);
  --white-line: rgba(255,255,255,.16);
  --bronze: #b28a55;
  --bronze-light: #d4b581;
  --blue: #3d638d;
  --cyan: #31bee3;
  --shadow: 0 22px 60px rgba(7, 20, 39, .12);
  --shadow-hover: 0 30px 80px rgba(7, 20, 39, .19);
  --radius: 22px;
  --container: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--off-white);
  color: var(--ink);
  font-family: "DM Sans", Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 12px 16px;
  background: white;
  color: var(--navy-900);
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  color: white;
  transition: background .3s ease, box-shadow .3s ease, transform .3s ease;
}
.site-header.scrolled {
  position: fixed;
  background: rgba(5,14,28,.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0,0,0,.16);
}
.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand-monogram {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid rgba(212,181,129,.72);
  color: var(--bronze-light);
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.75rem;
  border-radius: 4px;
}
.brand-monogram.small { width: 40px; height: 40px; font-size: 1.4rem; }
.brand-name { font-size: .94rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  position: relative;
  padding: 12px 0;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255,255,255,.86);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 3px;
  height: 2px;
  background: var(--bronze);
  transition: right .25s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { right: 0; }
.main-nav a:hover { color: white; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.linkedin-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 5px;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.linkedin-icon svg { width: 22px; fill: currentColor; }
.linkedin-icon:hover { transform: translateY(-2px); border-color: var(--bronze-light); background: rgba(255,255,255,.07); }
.menu-toggle { display: none; }

.button {
  min-height: 50px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 5px;
  border: 1px solid transparent;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.button-primary {
  color: #101827;
  background: linear-gradient(135deg, #d2ae72, #ac7f45);
  border-color: #d6b77f;
  box-shadow: 0 14px 34px rgba(178,138,85,.19);
}
.button-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(178,138,85,.28); }
.button-outline { color: white; border-color: rgba(212,181,129,.82); background: rgba(5,14,28,.12); }
.button-outline:hover { border-color: var(--bronze-light); background: rgba(212,181,129,.09); transform: translateY(-2px); }

.hero {
  min-height: 690px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 18% 25%, rgba(178,138,85,.09), transparent 28%),
    linear-gradient(120deg, var(--navy-950), var(--navy-900) 48%, #16243b);
}
.hero-photo {
  position: absolute;
  z-index: -3;
  top: 0; right: 0; bottom: 0;
  width: 55%;
  overflow: hidden;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 19%;
  filter: contrast(1.03) saturate(.94) brightness(.92);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.38) 13%, black 38%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.38) 13%, black 38%);
}
.hero-overlay {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,14,28,1) 0%, rgba(5,14,28,.99) 37%, rgba(5,14,28,.72) 56%, rgba(5,14,28,.12) 100%),
    linear-gradient(0deg, rgba(5,14,28,.35), transparent 35%);
}
.hero-inner { min-height: 690px; display: flex; align-items: center; padding-top: 86px; }
.hero-copy { width: min(55%, 720px); padding: 70px 0; }
.eyebrow {
  margin: 0 0 22px;
  color: var(--bronze-light);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.eyebrow.dark { color: var(--bronze); }
.eyebrow.light { color: var(--bronze-light); }
h1, h2, h3 { margin: 0; }
h1, h2, .project-body h3, .about h2, .expertise-card h3, .contact-section h2 {
  font-family: "Newsreader", Georgia, serif;
}
h1 {
  max-width: 800px;
  font-size: clamp(4.2rem, 7.8vw, 7rem);
  line-height: .91;
  letter-spacing: -.035em;
  font-weight: 500;
  text-wrap: balance;
}
.hero-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.9);
  font-size: clamp(1.08rem, 1.6vw, 1.38rem);
  line-height: 1.7;
}
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; flex-wrap: wrap; }
.text-link { color: white; font-size: .88rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.text-link span { color: var(--bronze-light); margin-left: 5px; transition: transform .2s ease; display: inline-block; }
.text-link:hover span { transform: translate(3px,-3px); }
.signature-line {
  position: absolute;
  left: max(24px, calc((100vw - var(--container)) / 2));
  bottom: 0;
  width: 210px;
  height: 1px;
  background: linear-gradient(90deg, var(--bronze), transparent);
}
.signature-line::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 1px; height: 120px;
  background: linear-gradient(0deg, var(--bronze), transparent);
}

.proof-bar { position: relative; z-index: 4; margin-top: -1px; background: var(--paper); border-bottom: 1px solid var(--line); }
.proof-inner { min-height: 132px; display: grid; grid-template-columns: 1.1fr 2fr; align-items: center; gap: 42px; }
.proof-intro { padding-right: 34px; border-right: 1px solid var(--line); display: grid; gap: 7px; }
.proof-kicker { color: var(--bronze); font-size: .76rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.proof-copy { color: var(--muted); font-size: .96rem; line-height: 1.5; }
.proof-stats { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.proof-stats div { min-width: 0; }
.proof-stats dt { color: var(--navy-900); font-family: "Newsreader", Georgia, serif; font-size: 2rem; font-weight: 600; line-height: 1; }
.proof-stats dd { margin: 8px 0 0; color: var(--muted); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }

.section { padding: 110px 0; }
.section-heading { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.section-heading-left { margin-left: 0; text-align: left; }
.section-heading h2, .about h2, .contact-section h2 {
  color: var(--navy-900);
  font-size: clamp(3rem, 5.4vw, 5rem);
  line-height: .98;
  letter-spacing: -.025em;
  font-weight: 500;
  text-wrap: balance;
}
.section-heading > p:last-child { max-width: 700px; margin: 22px auto 0; color: var(--muted); font-size: 1.06rem; line-height: 1.72; }
.section-heading-left > p:last-child { margin-left: 0; }
.projects { background: var(--off-white); }
.project-grid { display: grid; grid-template-columns: 1.16fr 1fr 1fr; gap: 24px; }
.project-card {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(16,31,53,.1);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 16px 48px rgba(7,20,39,.07);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.project-card::after, .hover-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(440px circle at var(--mouse-x,50%) var(--mouse-y,50%), rgba(178,138,85,.15), transparent 42%);
  transition: opacity .3s ease;
}
.project-card:hover, .hover-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-color: rgba(178,138,85,.72); }
.project-card:hover::after, .hover-card:hover::after { opacity: 1; }
.project-card-primary { border-color: rgba(178,138,85,.5); }
.card-badge {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 3;
  padding: 8px 11px;
  border-radius: 99px;
  color: white;
  background: var(--bronze);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.card-badge.muted { color: #6f624f; background: #ede5d6; }
.project-visual {
  height: 215px;
  display: grid;
  place-items: center;
  padding: 38px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.project-visual img { position: relative; z-index: 2; max-height: 100px; width: auto; transition: transform .35s ease; }
.project-card:hover .project-visual img { transform: scale(1.045); }
.incrementum-visual { background: linear-gradient(135deg, #fbfbfa, #ebeef0); }
.incrementum-visual::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(125deg, transparent 45%, rgba(178,138,85,.08)), repeating-linear-gradient(135deg, transparent 0 28px, rgba(20,32,51,.025) 28px 29px);
}
.omnia-visual { background: linear-gradient(145deg, #f9fafb, #edf7fa); }
.mojkapital-visual { background: linear-gradient(145deg, #fcfbf8, #f1eee7); }
.mojkapital-logo { color: var(--navy-900); font-family: "Newsreader", Georgia, serif; font-size: 3.9rem; letter-spacing: -.035em; }
.project-body { flex: 1; padding: 28px 30px 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.project-body h3 { color: var(--navy-900); font-size: 2rem; font-weight: 600; }
.project-body p { margin: 12px 0 0; color: var(--muted); line-height: 1.68; }
.card-link { display: inline-flex; align-items: center; gap: 9px; color: var(--navy-900); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.card-link span { color: var(--bronze); transition: transform .25s ease; }
.project-card:hover .card-link span { transform: translate(4px,-2px); }
.card-link.disabled { color: #8b8d92; }

.about { color: white; background: linear-gradient(120deg, var(--navy-950), var(--navy-800)); position: relative; overflow: hidden; }
.about::after { content: "RS"; position: absolute; right: -20px; bottom: -100px; color: rgba(255,255,255,.025); font-family: "Newsreader", Georgia, serif; font-size: 30rem; line-height: 1; pointer-events: none; }
.about-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .92fr 1.08fr; gap: 92px; align-items: start; }
.about h2 { color: white; }
.about-lead { color: white !important; font-size: 1.35rem !important; line-height: 1.55 !important; }
.about-copy p { margin: 0 0 22px; color: rgba(255,255,255,.75); font-size: 1.02rem; line-height: 1.8; }
.principles { margin-top: 34px; display: flex; gap: 10px; flex-wrap: wrap; }
.principles span { padding: 10px 14px; border: 1px solid rgba(212,181,129,.35); border-radius: 99px; color: rgba(255,255,255,.88); font-size: .78rem; letter-spacing: .06em; }

.expertise { background: #f7f5f0; }
.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.expertise-card {
  position: relative;
  min-height: 350px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 14px 44px rgba(7,20,39,.06);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.expertise-number { position: absolute; right: 24px; top: 20px; color: rgba(20,32,51,.07); font-family: "Newsreader", Georgia, serif; font-size: 5rem; line-height: 1; }
.expertise-icon { width: 76px; height: 76px; display: grid; place-items: center; color: var(--bronze); margin-bottom: 36px; }
.expertise-icon svg { width: 70px; height: 70px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.expertise-card h3 { position: relative; z-index: 1; color: var(--navy-900); font-size: 2.2rem; font-weight: 600; }
.expertise-card p { position: relative; z-index: 1; margin: 15px 0 0; color: var(--muted); line-height: 1.7; }

.contact-section { padding: 110px 0; color: white; background: linear-gradient(125deg, #061123, #0a1d37 65%, #102c50); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.contact-section h2 { color: white; }
.contact-copy > p:not(.eyebrow) { margin: 26px 0 0; max-width: 600px; color: rgba(255,255,255,.75); line-height: 1.75; }
.direct-contact { margin-top: 38px; display: grid; gap: 14px; }
.direct-contact a { display: grid; gap: 4px; color: white; }
.direct-contact span { color: var(--bronze-light); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-form { padding: 34px; border: 1px solid rgba(212,181,129,.3); border-radius: var(--radius); background: rgba(255,255,255,.045); backdrop-filter: blur(12px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 8px; margin-bottom: 16px; color: rgba(255,255,255,.85); font-size: .84rem; font-weight: 600; }
.contact-form label span { color: rgba(255,255,255,.45); font-weight: 400; }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  color: white;
  outline: none;
  padding: 14px 15px;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--bronze-light); background: rgba(255,255,255,.085); box-shadow: 0 0 0 3px rgba(178,138,85,.13); }
.form-submit { width: 100%; margin-top: 4px; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 22px; margin: 14px 0 0; color: var(--bronze-light); font-size: .88rem; }

.site-footer { color: rgba(255,255,255,.72); background: var(--navy-950); border-top: 1px solid rgba(255,255,255,.08); }
.footer-main { min-height: 124px; display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 32px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 15px; }
.footer-brand div { display: grid; gap: 4px; }
.footer-brand strong { color: white; font-family: "Newsreader", Georgia, serif; font-size: 1.35rem; font-weight: 600; }
.footer-brand span:last-child { font-size: .78rem; }
.footer-nav { display: flex; gap: 25px; justify-content: center; }
.footer-nav a, .footer-linkedin, .footer-bottom a { transition: color .2s ease; }
.footer-nav a:hover, .footer-linkedin:hover, .footer-bottom a:hover { color: var(--bronze-light); }
.footer-linkedin { color: white; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-bottom { min-height: 62px; border-top: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: .76rem; }
.footer-bottom div { display: flex; gap: 22px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .09s; }
.delay-2 { transition-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1120px) {
  .main-nav { gap: 22px; }
  .main-nav a { font-size: .76rem; }
  .hero-photo { width: 58%; }
  .hero-copy { width: 58%; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project-card-primary { grid-column: span 2; min-height: 420px; display: grid; grid-template-columns: 1fr 1fr; }
  .project-card-primary .project-visual { height: 100%; border-bottom: none; border-right: 1px solid var(--line); }
  .proof-inner { grid-template-columns: 1fr; padding: 28px 0; gap: 24px; }
  .proof-intro { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 20px; }
}

@media (max-width: 900px) {
  .header-inner { min-height: 78px; }
  .menu-toggle {
    display: grid; place-content: center; gap: 5px;
    width: 45px; height: 45px;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 5px;
    background: transparent;
  }
  .menu-toggle span { width: 21px; height: 2px; background: white; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    display: none;
    position: fixed;
    inset: 78px 0 auto;
    padding: 28px 24px 34px;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(5,14,28,.98);
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .main-nav.open { display: flex; }
  .header-actions { margin-left: auto; }
  .header-cta { display: none; }
  .hero { min-height: 760px; }
  .hero-inner { min-height: 760px; align-items: flex-start; padding-top: 130px; }
  .hero-copy { width: 66%; padding: 50px 0; }
  .hero-photo { width: 66%; opacity: .92; }
  .hero-overlay { background: linear-gradient(90deg, rgba(5,14,28,1) 0%, rgba(5,14,28,.98) 43%, rgba(5,14,28,.48) 72%, rgba(5,14,28,.08) 100%), linear-gradient(0deg, rgba(5,14,28,.55), transparent 50%); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-card { min-height: 280px; }
  .footer-main { grid-template-columns: 1fr; padding: 30px 0; }
  .footer-nav { justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 30px), var(--container)); }
  .brand-name { display: none; }
  .linkedin-icon { width: 42px; height: 42px; }
  .hero { min-height: 790px; }
  .hero-inner { min-height: 790px; padding-top: 105px; align-items: flex-start; }
  .hero-copy { width: 100%; padding-top: 34px; }
  h1 { font-size: clamp(3.6rem, 16vw, 5.2rem); max-width: 360px; }
  .hero-lead { max-width: 92%; font-size: 1.02rem; }
  .hero-photo { top: 300px; width: 100%; height: 490px; }
  .hero-photo img { object-position: center 15%; -webkit-mask-image: linear-gradient(0deg, black 0%, black 68%, transparent 100%); mask-image: linear-gradient(0deg, black 0%, black 68%, transparent 100%); }
  .hero-overlay { background: linear-gradient(0deg, rgba(5,14,28,.12) 0%, rgba(5,14,28,.15) 35%, rgba(5,14,28,.95) 64%, rgba(5,14,28,1) 100%); }
  .hero-actions { gap: 18px; }
  .proof-stats { grid-template-columns: 1fr 1fr; gap: 24px; }
  .section { padding: 78px 0; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2, .about h2, .contact-section h2 { font-size: clamp(2.8rem, 13vw, 4.1rem); }
  .project-grid { grid-template-columns: 1fr; }
  .project-card-primary { grid-column: auto; display: flex; min-height: 470px; }
  .project-card-primary .project-visual { height: 215px; border-right: none; border-bottom: 1px solid var(--line); }
  .project-card { min-height: 450px; }
  .mojkapital-logo { font-size: 3.2rem; }
  .about::after { font-size: 18rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px 20px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; padding: 20px 0; }
}

/* =========================================================
   V3 — editorial palette, larger portrait, quieter surfaces
   ========================================================= */
:root {
  --navy-950: #111419;
  --navy-900: #171b20;
  --navy-850: #1b2026;
  --navy-800: #232930;
  --off-white: #f0ede7;
  --paper: #faf8f3;
  --ink: #23262b;
  --muted: #70737a;
  --line: rgba(35, 38, 43, .13);
  --white-line: rgba(255,255,255,.15);
  --bronze: #8b5142;
  --bronze-light: #c99a89;
  --blue: #5b6570;
  --cyan: #6b7882;
  --shadow: 0 20px 52px rgba(20, 22, 25, .11);
  --shadow-hover: 0 30px 72px rgba(20, 22, 25, .17);
}

body { background: var(--off-white); }

.site-header.scrolled {
  background: rgba(17,20,25,.92);
  box-shadow: 0 10px 30px rgba(0,0,0,.20);
}

.brand-monogram {
  border-color: rgba(255,255,255,.52);
  color: #f4f0e8;
}

.main-nav a::after { background: var(--bronze); }
.linkedin-icon:hover {
  border-color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.08);
}

.button-primary {
  color: #17191d;
  background: #f4f0e8;
  border-color: #f4f0e8;
  box-shadow: 0 14px 32px rgba(0,0,0,.16);
}
.button-primary:hover {
  color: #fff;
  background: var(--bronze);
  border-color: var(--bronze);
  box-shadow: 0 20px 42px rgba(0,0,0,.24);
}
.button-outline {
  color: #fff;
  border-color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.02);
}
.button-outline:hover {
  color: #17191d;
  border-color: #f4f0e8;
  background: #f4f0e8;
}

.hero {
  min-height: 735px;
  background: #11151a;
}
.hero-photo {
  width: 64%;
  right: -2.5%;
}
.hero-photo img {
  object-position: center 17%;
  transform: scale(1.11);
  transform-origin: 57% 31%;
  filter: contrast(1.04) saturate(.88) brightness(.96);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.24) 10%, black 28%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.24) 10%, black 28%);
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(17,21,26,1) 0%, rgba(17,21,26,1) 34%, rgba(17,21,26,.88) 47%, rgba(17,21,26,.35) 65%, rgba(17,21,26,.02) 100%),
    linear-gradient(0deg, rgba(17,21,26,.26), transparent 42%);
}
.hero-inner { min-height: 735px; }
.hero-copy { width: min(48%, 650px); }
.eyebrow { color: #c99a89; }
.eyebrow.dark { color: #8b5142; }
.eyebrow.light { color: #c99a89; }
.text-link span { color: #c99a89; }
.signature-line { background: linear-gradient(90deg, var(--bronze), transparent); }
.signature-line::after { background: linear-gradient(0deg, var(--bronze), transparent); }

.proof-bar { background: #f7f4ee; }
.proof-kicker { color: var(--bronze); }

.projects { background: #f0ede7; }
.project-card {
  background: #faf8f3;
  box-shadow: 0 16px 44px rgba(20,22,25,.07);
}
.project-card::after,
.hover-card::after {
  background: radial-gradient(440px circle at var(--mouse-x,50%) var(--mouse-y,50%), rgba(139,81,66,.12), transparent 42%);
}
.project-card:hover,
.hover-card:hover {
  border-color: rgba(139,81,66,.62);
}
.project-card-primary { border-color: rgba(139,81,66,.42); }
.card-badge { background: #292d32; }
.card-badge.muted { color: #5f5d58; background: #e7e2d9; }
.incrementum-visual,
.omnia-visual,
.mojkapital-visual {
  background: #f5f2ec;
}
.incrementum-visual::before {
  background:
    linear-gradient(125deg, transparent 45%, rgba(139,81,66,.055)),
    repeating-linear-gradient(135deg, transparent 0 36px, rgba(20,22,25,.025) 36px 37px);
}
.card-link { color: #3b424a; }
.card-link span { color: var(--bronze); }

.about {
  background: #171b20;
}
.about::after { color: rgba(255,255,255,.018); }
.principles span { border-color: rgba(255,255,255,.20); }

.expertise { background: #f4f1eb; }
.expertise-card { background: #faf8f3; }
.expertise-icon { color: #7f4c40; }

.contact-section {
  background: #171b20;
}
.contact-form {
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.035);
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #c99a89;
  box-shadow: 0 0 0 3px rgba(139,81,66,.14);
}
.site-footer { background: #111419; }

@media (max-width: 1120px) {
  .hero-photo { width: 67%; right: -7%; }
  .hero-copy { width: 54%; }
}

@media (max-width: 900px) {
  .main-nav { background: rgba(17,20,25,.985); }
  .hero { min-height: 790px; }
  .hero-inner { min-height: 790px; }
  .hero-copy { width: 63%; }
  .hero-photo { width: 72%; right: -15%; }
  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(17,21,26,1) 0%, rgba(17,21,26,.99) 40%, rgba(17,21,26,.64) 65%, rgba(17,21,26,.10) 100%),
      linear-gradient(0deg, rgba(17,21,26,.42), transparent 52%);
  }
}

@media (max-width: 680px) {
  .hero { min-height: 820px; }
  .hero-inner { min-height: 820px; }
  .hero-copy { width: 100%; }
  .hero-photo {
    top: 300px;
    right: -8%;
    width: 116%;
    height: 520px;
  }
  .hero-photo img {
    object-position: center 13%;
    transform: scale(1.06);
    -webkit-mask-image: linear-gradient(0deg, black 0%, black 67%, transparent 100%);
    mask-image: linear-gradient(0deg, black 0%, black 67%, transparent 100%);
  }
  .hero-overlay {
    background: linear-gradient(0deg, rgba(17,21,26,.10) 0%, rgba(17,21,26,.16) 38%, rgba(17,21,26,.94) 66%, rgba(17,21,26,1) 100%);
  }
}

/* =========================================================
   V4 — clearer positioning, larger portrait, editorial palette
   ========================================================= */
:root {
  --navy-950: #0d1015;
  --navy-900: #151920;
  --navy-850: #1b2027;
  --navy-800: #242a32;
  --off-white: #f1ede5;
  --paper: #fbf9f4;
  --ink: #25272c;
  --muted: #6f7177;
  --line: rgba(37,39,44,.13);
  --bronze: #76515a;
  --bronze-light: #b58f98;
  --shadow: 0 20px 54px rgba(16,18,22,.11);
  --shadow-hover: 0 32px 78px rgba(16,18,22,.18);
}
body { background: var(--off-white); }
.site-header.scrolled { background: rgba(13,16,21,.94); }
.brand-monogram { border-color: rgba(255,255,255,.58); color: #f5f1e9; }
.main-nav a::after { background: #a77d87; }
.button-primary { color: #17191d; background: #f5f1e9; border-color: #f5f1e9; box-shadow: 0 14px 32px rgba(0,0,0,.18); }
.button-primary:hover { color: #fff; background: #76515a; border-color: #76515a; transform: translateY(-3px); box-shadow: 0 20px 44px rgba(0,0,0,.26); }
.button-outline { border-color: rgba(255,255,255,.72); }
.button-outline:hover { color: #151920; background: #f5f1e9; border-color: #f5f1e9; }
.text-link span { color: #b58f98; }
.hero { min-height: 790px; background: #0d1015; }
.hero-inner { min-height: 790px; }
.hero-copy { width: min(44%, 620px); padding-top: 106px; }
.hero-photo { width: 72%; right: -5%; }
.hero-photo img {
  object-position: 52% 10%;
  transform: scale(1.22);
  transform-origin: 58% 20%;
  filter: contrast(1.04) saturate(.88) brightness(.96);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 9%, black 23%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 9%, black 23%);
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(13,16,21,1) 0%, rgba(13,16,21,1) 31%, rgba(13,16,21,.94) 41%, rgba(13,16,21,.56) 55%, rgba(13,16,21,.08) 76%, rgba(13,16,21,0) 100%),
    linear-gradient(0deg, rgba(13,16,21,.30), transparent 42%);
}
.eyebrow { color: #b58f98; }
.eyebrow.dark { color: #76515a; }
.eyebrow.light { color: #c9aab2; }
.signature-line { background: linear-gradient(90deg, #76515a, transparent); }
.signature-line::after { background: linear-gradient(0deg, #76515a, transparent); }
.proof-kicker { color: #76515a; }
.proof-intro { min-width: 0; }
.projects { background: #f1ede5; }
.project-grid-active { grid-template-columns: 1.22fr .9fr; max-width: 1120px; margin-inline: auto; }
.project-grid-active .project-card { min-height: 500px; }
.project-card-primary { border-color: rgba(118,81,90,.46); }
.project-card::after, .hover-card::after { background: radial-gradient(440px circle at var(--mouse-x,50%) var(--mouse-y,50%), rgba(118,81,90,.12), transparent 42%); }
.project-card:hover, .hover-card:hover { border-color: rgba(118,81,90,.62); }
.card-badge { background: #2d3138; }
.card-link span { color: #76515a; }
.incrementum-visual, .omnia-visual { background: #f6f3ed; }
.incrementum-visual::before { background: linear-gradient(125deg, transparent 45%, rgba(118,81,90,.05)), repeating-linear-gradient(135deg, transparent 0 36px, rgba(20,22,25,.025) 36px 37px); }
.development-preview {
  position: relative; max-width: 1120px; margin: 22px auto 0; padding: 22px 26px;
  display: grid; grid-template-columns: .65fr 1.7fr auto; align-items: center; gap: 28px;
  overflow: hidden; border: 1px solid rgba(37,39,44,.11); border-radius: 14px;
  background: rgba(251,249,244,.72); box-shadow: 0 10px 30px rgba(16,18,22,.045);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.development-preview:hover { transform: translateY(-4px); border-color: rgba(118,81,90,.36); box-shadow: 0 18px 46px rgba(16,18,22,.09); }
.development-brand { display: grid; gap: 3px; }
.development-kicker { color: #76515a; font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.development-brand h3 { color: var(--navy-900); font-family: "Newsreader", Georgia, serif; font-size: 2.2rem; font-weight: 600; }
.development-preview > p { margin: 0; color: var(--muted); line-height: 1.65; }
.development-status { padding: 8px 12px; border-radius: 999px; background: #e5dfd5; color: #67635d; font-size: .7rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.about, .contact-section { background: #151920; }
.principles { gap: 12px; }
.principles span { display: inline-flex; align-items: center; min-height: 38px; padding: 9px 14px; border-color: rgba(181,143,152,.36); background: rgba(255,255,255,.035); }
.expertise { background: #f4f0e8; }
.expertise-card { background: #fbf9f4; }
.expertise-icon { color: #76515a; }
.contact-form { border-color: rgba(181,143,152,.24); }
.contact-form input:focus, .contact-form textarea:focus { border-color: #b58f98; box-shadow: 0 0 0 3px rgba(118,81,90,.15); }
.direct-contact span, .form-status { color: #c9aab2; }
.site-footer { background: #0d1015; }
.footer-nav a:hover, .footer-linkedin:hover, .footer-bottom a:hover { color: #c9aab2; }
@media (max-width: 1120px) {
  .hero-copy { width: 52%; }
  .hero-photo { width: 75%; right: -12%; }
  .project-grid-active { grid-template-columns: 1fr 1fr; }
  .project-grid-active .project-card-primary { grid-column: auto; display: flex; }
  .project-grid-active .project-card-primary .project-visual { height: 215px; border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .hero { min-height: 820px; }
  .hero-inner { min-height: 820px; }
  .hero-copy { width: 59%; }
  .hero-photo { width: 82%; right: -23%; }
  .hero-photo img { transform: scale(1.18); }
  .hero-overlay { background: linear-gradient(90deg, rgba(13,16,21,1) 0%, rgba(13,16,21,.99) 38%, rgba(13,16,21,.68) 61%, rgba(13,16,21,.10) 100%), linear-gradient(0deg, rgba(13,16,21,.44), transparent 52%); }
}
@media (max-width: 680px) {
  .hero { min-height: 865px; }
  .hero-inner { min-height: 865px; }
  .hero-copy { width: 100%; }
  .hero-photo { top: 312px; right: -13%; width: 126%; height: 555px; }
  .hero-photo img { object-position: 50% 9%; transform: scale(1.10); -webkit-mask-image: linear-gradient(0deg, black 0%, black 70%, transparent 100%); mask-image: linear-gradient(0deg, black 0%, black 70%, transparent 100%); }
  .hero-overlay { background: linear-gradient(0deg, rgba(13,16,21,.10) 0%, rgba(13,16,21,.17) 40%, rgba(13,16,21,.95) 68%, rgba(13,16,21,1) 100%); }
  .project-grid-active { grid-template-columns: 1fr; }
  .development-preview { grid-template-columns: 1fr; gap: 12px; }
  .development-status { justify-self: start; }
}

/* Mobile portrait spacing: keep the face below the copy and CTA. */
@media (max-width: 680px) {
  .hero { min-height: 965px; }
  .hero-inner { min-height: 965px; }
  .hero-photo {
    top: 400px;
    right: -13%;
    width: 126%;
    height: 565px;
  }
  .hero-photo img {
    object-position: 50% 9%;
    transform: scale(1.06);
  }
}

@media (max-width: 680px) {
  .hero { min-height: 1085px; }
  .hero-inner { min-height: 1085px; }
  .hero-photo { top: 520px; height: 565px; }
}

/* =========================================================
   V4.1 — stable hero portrait on ultrawide screens / browser zoom
   Keeps the 1536px preview composition while preventing the
   portrait from scaling indefinitely with viewport width.
   ========================================================= */
@media (min-width: 1121px) {
  .hero-photo {
    width: min(72vw, 1120px);
    right: 0;
    background: #747985;
  }
  .hero-photo img {
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: 52% 10%;
    transform: scale(1.22);
    transform-origin: 58% 20%;
  }
}

@media (min-width: 1900px) {
  .hero-copy {
    width: min(46%, 650px);
  }
  .hero-overlay {
    background:
      linear-gradient(90deg,
        rgba(13,16,21,1) 0%,
        rgba(13,16,21,1) 38%,
        rgba(13,16,21,.94) 48%,
        rgba(13,16,21,.58) 61%,
        rgba(13,16,21,.10) 78%,
        rgba(13,16,21,0) 100%),
      linear-gradient(0deg, rgba(13,16,21,.30), transparent 42%);
  }
}

/* =========================================================
   V4.2 — balanced portrait, seamless transition, 3 verified stats
   ========================================================= */
.proof-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (min-width: 1121px) {
  .hero {
    min-height: 790px;
    background: #0d1015;
  }
  .hero-inner { min-height: 790px; }
  .hero-copy {
    width: min(47%, 650px);
    position: relative;
    z-index: 3;
  }
  .hero-photo {
    position: absolute;
    z-index: -3;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(58vw, 1040px);
    max-width: 1040px;
    overflow: hidden;
    background: #6f7480;
  }
  .hero-photo img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 50% 18%;
    transform: none;
    filter: contrast(1.025) saturate(.9) brightness(.93);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.10) 8%, rgba(0,0,0,.55) 24%, black 43%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.10) 8%, rgba(0,0,0,.55) 24%, black 43%);
  }
  .hero-overlay {
    background:
      linear-gradient(90deg,
        rgba(13,16,21,1) 0%,
        rgba(13,16,21,1) 35%,
        rgba(13,16,21,.96) 44%,
        rgba(13,16,21,.72) 55%,
        rgba(13,16,21,.22) 72%,
        rgba(13,16,21,.04) 100%),
      linear-gradient(0deg, rgba(13,16,21,.24), transparent 38%);
  }
}

@media (min-width: 1800px) {
  .hero-photo {
    width: 1020px;
    right: max(0px, calc((100vw - 1920px) / 2));
  }
  .hero-copy { width: min(46%, 660px); }
}

@media (max-width: 1120px) and (min-width: 681px) {
  .hero-photo {
    width: 64%;
    right: -4%;
  }
  .hero-photo img {
    object-position: 50% 17%;
    transform: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.2) 14%, black 42%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.2) 14%, black 42%);
  }
  .hero-copy { width: 52%; }
  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(13,16,21,1) 0%, rgba(13,16,21,.99) 39%, rgba(13,16,21,.76) 57%, rgba(13,16,21,.12) 100%),
      linear-gradient(0deg, rgba(13,16,21,.32), transparent 45%);
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .hero-inner {
    min-height: 0;
    padding-top: 108px;
    order: 1;
  }
  .hero-copy {
    width: 100%;
    padding: 48px 0 54px;
  }
  .hero-photo {
    position: relative;
    order: 2;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: min(118vw, 560px);
    margin-top: -22px;
    z-index: -3;
    overflow: hidden;
    background: #6f7480;
  }
  .hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 12%;
    transform: none;
    filter: contrast(1.025) saturate(.9) brightness(.93);
    -webkit-mask-image: linear-gradient(0deg, black 0%, black 72%, rgba(0,0,0,.72) 84%, transparent 100%);
    mask-image: linear-gradient(0deg, black 0%, black 72%, rgba(0,0,0,.72) 84%, transparent 100%);
  }
  .hero-overlay {
    z-index: -2;
    background: linear-gradient(0deg, rgba(13,16,21,.10) 0%, rgba(13,16,21,.24) 40%, rgba(13,16,21,.93) 69%, rgba(13,16,21,1) 100%);
  }
  .signature-line { display: none; }
  .proof-inner { grid-template-columns: 1fr; gap: 20px; padding-block: 30px; }
  .proof-intro { padding-right: 0; padding-bottom: 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .proof-stats dt { font-size: 1.55rem; }
  .proof-stats dd { font-size: .66rem; }
}

/* V4.4: experience proof and LinkedIn visual */
.experience-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 28px;
}
.experience-proof > div {
  padding: 18px 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
}
.experience-proof strong {
  display: block;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}
.experience-proof span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.62);
  font-size: .78rem;
  line-height: 1.45;
}
.linkedin-contact {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 14px !important;
}
.linkedin-contact > span:last-child { display: grid; gap: 3px; }
.linkedin-contact small {
  color: #c9aab2;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.linkedin-badge {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 10px;
  background: rgba(255,255,255,.055);
}
.linkedin-badge svg,
.footer-linkedin svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.footer-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
@media (max-width: 760px) {
  .experience-proof { grid-template-columns: 1fr; }
}


/* V4.5 polish */
.proof-stats { align-items: start; }
.proof-stats div { position: relative; padding-right: 6px; }
.proof-stats div:not(:last-child)::after { content:""; position:absolute; right:-9px; top:6px; bottom:6px; width:1px; background: var(--line); }
.experience-proof { gap: 14px; margin: 36px 0 22px; }
.experience-proof > div { min-height: 126px; display:flex; flex-direction:column; justify-content:space-between; padding: 20px 18px; border-radius: 14px; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02)); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.experience-proof strong { font-size: 1.55rem; line-height: 1.1; }
.experience-proof span { margin-top: 10px; color: rgba(255,255,255,.76); font-size: .84rem; }
.principles-wrap { margin-top: 10px; }
.principles-label { margin: 0 0 12px; color: rgba(255,255,255,.56); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.principles { margin-top: 0; display:grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 12px; }
.principles span { display:inline-flex; align-items:center; justify-content:center; min-height: 42px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.025); color: rgba(255,255,255,.90); font-size: .84rem; letter-spacing: .01em; }
.linkedin-contact { gap: 12px !important; align-items: center; }
.linkedin-contact > span:last-child { gap: 4px; }
.linkedin-contact small { color: rgba(255,255,255,.58); }
.linkedin-contact strong { font-size: .94rem; color: #fff; font-weight: 600; letter-spacing: .01em; }
.linkedin-badge { width: 46px; height: 46px; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.04); }
.footer-linkedin { width: 44px; height: 44px; justify-content: center; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: rgba(255,255,255,.02); }
.footer-linkedin svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .principles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .proof-stats div:not(:last-child)::after { display:none; } .principles { grid-template-columns: 1fr; } .experience-proof > div { min-height: auto; } }


/* V4.6 — real site refinement: one-line metrics, denser proof cards, unified contact methods, mobile spacing */

/* Incrementum metrics: always one clean row on desktop. */
@media (min-width: 901px) {
  .proof-inner {
    grid-template-columns: minmax(280px, .95fr) minmax(0, 2.25fr);
    gap: 32px;
  }
  .proof-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0 !important;
  }
  .proof-stats > div {
    padding: 4px 24px;
  }
  .proof-stats > div:first-child { padding-left: 0; }
  .proof-stats > div:last-child { padding-right: 0; }
  .proof-stats div:not(:last-child)::after {
    right: 0;
    top: 0;
    bottom: 0;
  }
}

/* Experience cards: meaningful content, less empty space, no button-like mindset pills. */
.experience-proof {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 28px;
}
.experience-proof > .experience-item {
  min-height: 0;
  padding: 18px;
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  column-gap: 13px;
  row-gap: 6px;
  align-items: start;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.experience-icon {
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
}
.experience-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.experience-item strong {
  display: block;
  margin: 1px 0 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.05;
  color: #fff;
}
.experience-item > span:last-child {
  display: block;
  margin: 0;
  color: rgba(255,255,255,.70);
  font-size: .82rem;
  line-height: 1.5;
}
.mindset-statement {
  padding-top: 5px;
}
.mindset-label {
  display: block;
  margin-bottom: 11px;
  color: rgba(255,255,255,.54);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.mindset-statement p {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 13px;
  color: rgba(255,255,255,.88);
  font-size: .92rem;
  line-height: 1.55;
}
.mindset-statement p strong { font-weight: 500; }
.mindset-statement p i {
  color: rgba(255,255,255,.28);
  font-style: normal;
}

/* E-mail and LinkedIn are now identical visual components. */
.direct-contact {
  margin-top: 30px;
  display: grid;
  gap: 10px;
}
.direct-contact .contact-method {
  min-height: 58px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 9px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 11px;
  background: rgba(255,255,255,.025);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.direct-contact .contact-method:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.32);
  background: rgba(255,255,255,.055);
}
.contact-method-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 9px;
  color: #fff;
  background: rgba(255,255,255,.035);
}
.contact-method-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-method-icon.linkedin-icon svg {
  fill: currentColor;
  stroke: none;
}
.contact-method-text {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #fff !important;
  font-size: .92rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.contact-method-arrow {
  color: rgba(255,255,255,.52) !important;
  font-size: 1rem !important;
  letter-spacing: 0 !important;
}

/* Better desktop rhythm. */
.about { padding-block: clamp(92px, 8vw, 138px); }
.contact-section { padding-block: clamp(86px, 7vw, 122px); }

/* Tablet and mobile: predictable spacing and readable layouts. */
@media (max-width: 900px) {
  .proof-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
  }
  .proof-stats > div {
    padding: 22px 18px;
    text-align: center;
  }
  .proof-stats > div:nth-child(odd) { border-right: 1px solid var(--line); }
  .proof-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .proof-stats div::after { display: none !important; }
  .experience-proof { grid-template-columns: 1fr; }
  .experience-proof > .experience-item {
    grid-template-columns: 46px 1fr;
    padding: 17px;
  }
  .about-grid { gap: 36px; }
  .contact-grid { gap: 38px; }
}

@media (max-width: 680px) {
  .section { padding-block: 70px; }
  .about { padding-block: 72px; }
  .contact-section { padding-block: 68px 54px; }
  .proof-inner { padding-block: 22px; }
  .proof-intro { padding-bottom: 16px; }
  .proof-stats dt { font-size: 1.45rem; }
  .proof-stats dd { margin-top: 6px; font-size: .65rem; }
  .about-heading h2 { max-width: 11ch; }
  .about-copy p { font-size: .96rem; line-height: 1.72; }
  .about-lead { font-size: 1.1rem !important; }
  .experience-proof { margin: 28px 0 24px; gap: 10px; }
  .experience-item strong { font-size: 1.4rem; }
  .mindset-statement p { gap: 7px 10px; font-size: .86rem; }
  .direct-contact { margin-top: 24px; }
  .direct-contact .contact-method {
    min-height: 56px;
    grid-template-columns: 40px minmax(0,1fr) auto;
    padding: 7px 11px 7px 7px;
  }
  .contact-method-icon { width: 40px; height: 40px; }
  .contact-method-text { font-size: .82rem !important; }
  .contact-form { margin-top: 4px; }
  .footer-main { gap: 22px; }
}


/* V4.7 — mobile portrait, centered experience icons, mindset pills, footer socials */

/* Experience cards: vertically center the icon and balance copy. */
.experience-proof > .experience-item {
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon description";
  align-items: center;
  column-gap: 14px;
  row-gap: 7px;
}
.experience-item .experience-icon {
  grid-area: icon;
  align-self: center;
  justify-self: center;
}
.experience-item strong { grid-area: title; align-self: end; }
.experience-item > span:last-child { grid-area: description; align-self: start; }

/* Restore the designed pill treatment with language that describes Robert's mindset. */
.mindset-statement { padding-top: 8px; }
.mindset-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.mindset-pill {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
  color: rgba(255,255,255,.92);
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.25;
  transition: border-color .22s ease, background .22s ease, transform .22s ease;
}
.mindset-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.30);
  background: rgba(255,255,255,.055);
}
.mindset-pill svg {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .92;
}

/* Footer social row. */
.footer-socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}
.footer-social {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  background: rgba(255,255,255,.025);
  color: #fff;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
a.footer-social:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.34);
  background: rgba(255,255,255,.065);
}
.footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: none;
}
.footer-social svg rect,
.footer-social svg circle:not(.fill-dot) {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.footer-social .fill-dot { fill: currentColor; stroke: none; }
.footer-social.is-pending { opacity: .48; cursor: default; }
.footer-linkedin { display: none !important; }

@media (max-width: 900px) {
  .footer-socials { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .experience-proof > .experience-item {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 17px 16px;
    column-gap: 14px;
  }
  .experience-icon {
    width: 44px;
    height: 44px;
  }
  .experience-item strong { font-size: 1.42rem; }
  .experience-item > span:last-child { font-size: .84rem; line-height: 1.48; }
  .mindset-label { margin-bottom: 13px; }
  .mindset-pills { grid-template-columns: 1fr 1fr; gap: 9px; }
  .mindset-pill { min-height: 50px; padding: 10px 11px; font-size: .77rem; }
  .footer-socials { width: 100%; padding-top: 2px; }
}

@media (max-width: 430px) {
  .mindset-pills { grid-template-columns: 1fr; }
  .mindset-pill { min-height: 48px; font-size: .82rem; }
}


/* =========================================================
   V4.9 — warm beige + deep cherry, refined experience cards
   ========================================================= */
:root {
  --off-white: #eee7dc;
  --paper: #faf5ed;
  --ink: #211d1e;
  --muted: #786f6d;
  --line: rgba(57, 43, 46, .13);
  --bronze: #6f283a;
  --bronze-light: #c9a2ab;
  --shadow: 0 20px 52px rgba(32, 24, 27, .10);
  --shadow-hover: 0 32px 74px rgba(32, 24, 27, .17);
}

body { background: var(--off-white); }
.proof-bar { background: #f7f1e8; }
.projects { background: #eee7dc; }
.expertise { background: #f3ece2; }
.project-card,
.expertise-card { background: #fbf6ee; }
.incrementum-visual,
.omnia-visual { background: #f6eee4; }
.development-preview { background: rgba(250,245,237,.82); }

.main-nav a::after,
.signature-line,
.signature-line::after { background-color: var(--bronze); }
.eyebrow,
.eyebrow.light { color: var(--bronze-light); }
.eyebrow.dark,
.proof-kicker { color: var(--bronze); }
.text-link span,
.card-link span { color: var(--bronze-light); }
.button-primary:hover {
  background: var(--bronze);
  border-color: var(--bronze);
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--bronze-light);
  box-shadow: 0 0 0 3px rgba(111,40,58,.16);
}

/* Experience cards — align icon with the metric and make each card read as one unit. */
.experience-proof {
  gap: 16px;
}
.experience-proof > .experience-item {
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "description description";
  align-content: start;
  align-items: center;
  min-height: 176px;
  padding: 20px 20px 18px;
  column-gap: 14px;
  row-gap: 15px;
  border-color: rgba(255,255,255,.15);
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018)),
    radial-gradient(circle at 12% 12%, rgba(111,40,58,.13), transparent 38%);
}
.experience-item .experience-icon {
  grid-area: icon;
  align-self: center;
  justify-self: start;
  width: 46px;
  height: 46px;
  background: rgba(250,245,237,.075);
  color: #eadfe1;
  border: 1px solid rgba(201,162,171,.18);
}
.experience-icon svg {
  width: 22px;
  height: 22px;
  transform: translateY(0);
}
.experience-item strong {
  grid-area: title;
  align-self: center;
  margin: 0;
  min-width: 0;
  font-size: clamp(1.35rem, 1.65vw, 1.65rem);
  line-height: 1.02;
  text-wrap: balance;
}
.experience-item > span:last-child {
  grid-area: description;
  align-self: start;
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: .86rem;
  line-height: 1.55;
}
.experience-item:hover {
  border-color: rgba(201,162,171,.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 18px 42px rgba(0,0,0,.12);
}

/* Keep the mindset buttons, but make them feel deliberate rather than generic. */
.mindset-pill {
  border-color: rgba(201,162,171,.25);
  background: rgba(111,40,58,.08);
}
.mindset-pill svg { color: #d8bcc2; }
.mindset-pill:hover {
  border-color: rgba(201,162,171,.50);
  background: rgba(111,40,58,.15);
  transform: translateY(-2px);
}

@media (max-width: 680px) {
  .experience-proof > .experience-item {
    min-height: 0;
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 17px 16px;
    row-gap: 12px;
  }
  .experience-item .experience-icon {
    width: 44px;
    height: 44px;
  }
  .experience-item strong {
    font-size: 1.42rem;
  }
  .experience-item > span:last-child {
    font-size: .84rem;
  }
}


/* =========================================================
   V4.10 — slightly lighter neutral palette + centered proof cards
   ========================================================= */
:root {
  --off-white: #f1ede6;
  --paper: #fbf8f2;
  --ink: #211d1e;
  --muted: #746d6b;
  --line: rgba(57, 43, 46, .12);
  --bronze: #6f283a;
  --bronze-light: #c9a2ab;
}

body { background: #f1ede6; }
.proof-bar { background: #faf7f1; }
.projects { background: #f2eee7; }
.expertise { background: #f4f0ea; }
.project-card,
.expertise-card { background: #fcfaf6; }
.incrementum-visual,
.omnia-visual { background: #f7f3ed; }
.development-preview { background: rgba(252,250,246,.88); }

/* Experience cards: icon, metric and copy form one centered composition. */
.experience-proof {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.experience-proof > .experience-item {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "icon"
    "title"
    "description";
  justify-items: center;
  align-content: start;
  min-width: 0;
  min-height: 190px;
  padding: 20px 18px 18px;
  row-gap: 11px;
  text-align: center;
}
.experience-item .experience-icon {
  grid-area: icon;
  justify-self: center;
  align-self: center;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 0;
}
.experience-item .experience-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}
.experience-item strong {
  grid-area: title;
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 2px;
  font-size: clamp(1.32rem, 1.5vw, 1.58rem);
  line-height: 1.06;
  text-align: center;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}
.experience-item > span:last-child {
  grid-area: description;
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  text-align: center;
  font-size: .84rem;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .experience-proof { grid-template-columns: 1fr; }
  .experience-proof > .experience-item {
    min-height: 0;
    padding: 18px 16px;
  }
  .experience-item > span:last-child { max-width: 320px; }
}
