/* ============================================
   ROCCOMELE.IT v2 — Design System
   Premium Dark Executive Editorial
   ============================================ */

:root {
  /* Palette */
  --bg: #0F1115;
  --bg-elev: #181B22;
  --surface: #1E2128;
  --border: rgba(245, 242, 236, 0.08);
  --border-strong: rgba(245, 242, 236, 0.16);
  --ink: #F5F2EC;
  --ink-mute: #9A968C;
  --ink-dim: #6B675E;
  --accent: #C9A961;
  --accent-hi: #E0BE76;
  --accent-dim: rgba(201, 169, 97, 0.15);
  --danger: #E07A5F;

  /* Type */
  --font-display: 'Rethink Sans', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Spacing */
  --container: 1200px;
  --container-narrow: 760px;
  --radius: 6px;
  --radius-lg: 14px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
a:hover { color: var(--accent); }

::selection { background: var(--accent); color: var(--bg); }

/* ============== TYPOGRAPHY ============== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.5rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 600; letter-spacing: -0.02em; }
h4 { font-size: 1.15rem; font-weight: 600; font-family: var(--font-body); letter-spacing: 0.02em; text-transform: uppercase; }

p { color: var(--ink); margin-bottom: 1.2em; max-width: 68ch; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 1rem;
}

.lead { font-size: 1.2rem; color: var(--ink-mute); line-height: 1.6; max-width: 60ch; }

.mute { color: var(--ink-mute); }

/* ============== LAYOUT ============== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 2rem; }

section { padding: 6rem 0; }
@media (max-width: 768px) { section { padding: 4rem 0; } }

.section-divider { border: 0; border-top: 1px solid var(--border); margin: 0; }

/* ============== HEADER / NAV ============== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 17, 21, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 2rem;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand .dot { color: var(--accent); }

/* Logo mark — linea ascendente (concept 3) */
a.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
a.brand .brand-mark {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease);
}
a.brand .brand-mark .stroke { stroke: var(--accent); }
a.brand .brand-mark .fill   { fill: var(--accent-hi); }
a.brand:hover .brand-mark { transform: translateY(-1px) scale(1.05); }
a.brand:hover .brand-mark .stroke { stroke: var(--accent-hi); }
a.brand .brand-word { line-height: 1; }

/* Preserve <p class="brand"> in career timeline as block text */
.timeline-item .brand { display: block; }

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-mute);
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--accent);
}

.nav-toggle {
  display: none; background: none; border: 0; color: var(--ink);
  cursor: pointer; padding: 0.5rem; font-size: 1.4rem;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 64px 0 0 0; flex-direction: column;
    background: var(--bg); padding: 3rem 2rem; gap: 1.8rem;
    transform: translateX(100%); transition: transform 0.3s var(--ease);
    border-top: 1px solid var(--border);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.4rem; font-family: var(--font-display); }
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.6rem; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 500;
  cursor: pointer; transition: all 0.25s var(--ease); border: 1px solid transparent;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--accent-hi); color: var(--bg); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--bg-elev); border-color: var(--accent); color: var(--ink); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============== HERO ============== */
.hero {
  padding: 7rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-photo { order: -1; max-width: 320px; margin: 0 auto; }
}
.hero h1 {
  margin-bottom: 1.5rem;
}
.hero h1 .accent { color: var(--accent); font-style: italic; }
.hero-sub {
  font-size: 1.3rem; color: var(--ink-mute); margin-bottom: 2rem;
  max-width: 30ch; line-height: 1.5;
}
.hero-meta {
  font-family: var(--font-mono); font-size: 0.85rem;
  color: var(--ink-dim); margin-bottom: 2.5rem;
  display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center;
}
.hero-meta .dot { color: var(--accent); }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-elev);
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.88) contrast(1.06) brightness(0.95);
}
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(15,17,21,0.45) 100%),
    radial-gradient(ellipse at center, transparent 55%, rgba(15,17,21,0.5) 100%);
  pointer-events: none;
}

/* ============== NUMBERS ============== */
.numbers {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
@media (max-width: 768px) { .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; } }
.num {
  text-align: left;
}
.num .value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
  letter-spacing: -0.04em;
}
.num .label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
}

/* ============== BRAND STRIP — MARQUEE ============== */
.brand-strip {
  padding: 3rem 0 3.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  overflow: hidden;
  position: relative;
}
.brand-strip-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-dim);
  margin-bottom: 2rem;
}
/* Fade edges so logos appear/disappear smoothly */
.marquee {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%);
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 6rem;
  width: max-content;
  animation: marqueeSlide 32s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeSlide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  opacity: 0.6;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.marquee-logo:hover { opacity: 1; transform: scale(1.06); }
.marquee-logo img {
  height: 100%;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
  /* Uniform ivory treatment on dark bg, regardless of original logo colors */
  filter: brightness(0) invert(1);
}
/* Per-brand height tuning (different aspect ratios) */
.marquee-logo--nike img { height: 26px; }
.marquee-logo--wide img { height: 30px; max-width: 260px; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; justify-content: center; flex-wrap: wrap; }
}

/* ============== COUNTER ANIMATION ============== */
.num .value[data-count] {
  font-variant-numeric: tabular-nums;
}

/* ============== MAGNETIC CTA ============== */
.btn-magnetic {
  position: relative;
  transition: transform 0.15s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* ============== ENHANCED HOVER ON EXPERTISE CELLS ============== */
.expertise-cell {
  position: relative;
  overflow: hidden;
}
.expertise-cell::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%),
              rgba(201, 169, 97, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.expertise-cell:hover::before { opacity: 1; }
.expertise-cell:hover h3 { color: var(--accent); transition: color 0.25s var(--ease); }
.expertise-cell h3 { transition: color 0.25s var(--ease); }

/* ============== PULL QUOTE ============== */
.pull-quote {
  padding: 5rem 0;
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pull-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 500;
  font-style: normal;
  line-height: 1.3;
  color: var(--ink);
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
  letter-spacing: -0.025em;
}
.pull-quote blockquote::before { content: '"'; color: var(--accent); margin-right: 0.1em; }
.pull-quote blockquote::after { content: '"'; color: var(--accent); margin-left: 0.1em; }
.pull-quote cite {
  display: block;
  text-align: center;
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
}

/* ============== EXPERTISE GRID ============== */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 3rem;
}
@media (max-width: 900px) { .expertise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .expertise-grid { grid-template-columns: 1fr; } }
.expertise-cell {
  background: var(--bg);
  padding: 2rem;
  transition: background 0.25s var(--ease);
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
  display: block;
}
.expertise-cell:hover { background: var(--bg-elev); color: var(--ink); }
.expertise-cell h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}
.expertise-cell .num-small {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
  display: block;
}
.expertise-cell p { color: var(--ink-mute); font-size: 0.95rem; margin: 0; }

/* ============== TIMELINE ============== */
.timeline {
  position: relative;
  padding-left: 2rem;
  margin-top: 3rem;
}
.timeline::before {
  content: ''; position: absolute; left: 0.45rem; top: 0.8rem; bottom: 0.8rem;
  width: 1px; background: var(--border-strong);
}
.timeline-item {
  position: relative;
  padding-bottom: 3rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -1.85rem; top: 0.55rem;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent);
}
.timeline-item.current::before {
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-dim);
}
.timeline-period {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
  display: block;
}
.timeline-item h3 { font-size: 1.35rem; margin-bottom: 0.3rem; }
.timeline-item .brand { color: var(--ink-mute); font-size: 1rem; margin-bottom: 0.6rem; }
.timeline-item p { font-size: 0.95rem; color: var(--ink-mute); }

/* ============== TESTIMONIALS ============== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.25s var(--ease);
}
.testimonial:hover { border-color: var(--border-strong); }
.testimonial p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-style: normal;
  line-height: 1.55;
  margin-bottom: 1.5rem;
  color: var(--ink);
}
.testimonial-author { display: flex; flex-direction: column; gap: 0.2rem; }
.testimonial-author strong {
  font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 600; color: var(--ink);
}
.testimonial-author span {
  font-size: 0.85rem; color: var(--ink-mute);
}

/* ============== INSIGHTS / CARDS ============== */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
@media (max-width: 900px) { .insights-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .insights-grid { grid-template-columns: 1fr; } }

.insight-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex; flex-direction: column;
  transition: all 0.25s var(--ease);
  text-decoration: none;
  color: var(--ink);
}
.insight-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  color: var(--ink);
}
.insight-card .meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.insight-card h3 {
  font-size: 1.35rem;
  line-height: 1.25;
  margin-bottom: 0.8rem;
}
.insight-card .excerpt {
  color: var(--ink-mute);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}
.insight-card .read-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-dim);
}

/* ============== ARTICLE PAGE ============== */
.article-header {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.article-header .meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.article-header h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  max-width: 22ch;
  margin-bottom: 1.5rem;
}
.article-header .lead { font-size: 1.25rem; max-width: 55ch; }
.article-meta {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 0.8rem;
  color: var(--ink-dim); margin-top: 2rem;
}

.article-body {
  padding: 4rem 0;
  font-size: 1.1rem;
  line-height: 1.75;
}
.article-body h2 {
  font-size: 1.9rem; margin-top: 3rem; margin-bottom: 1rem;
}
.article-body h3 {
  font-size: 1.35rem; margin-top: 2.2rem; margin-bottom: 0.8rem;
}
.article-body p { margin-bottom: 1.4em; }
.article-body ul, .article-body ol { margin: 0 0 1.5em 1.5em; color: var(--ink); }
.article-body li { margin-bottom: 0.5em; }
.article-body strong { color: var(--accent); font-weight: 600; }
.article-body a { color: var(--accent); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.article-body a:hover { border-bottom-color: var(--accent); }

.insight-box {
  background: var(--bg-elev);
  border-left: 3px solid var(--accent);
  padding: 1.8rem 2rem;
  margin: 2.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.insight-box .label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 0.8rem;
  display: block;
}
.insight-box p { margin: 0; font-style: italic; }

.takeaways {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 3rem 0;
}
.takeaways h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.takeaways ol { margin-left: 1.2rem; }
.takeaways li { margin-bottom: 0.7em; color: var(--ink); }

.author-box {
  display: flex; gap: 1.5rem; align-items: center;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  margin: 4rem 0 2rem;
}
.author-box img {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  filter: saturate(0.88) contrast(1.06) brightness(0.95);
}
.author-box .author-info strong { display: block; margin-bottom: 0.3rem; font-size: 1rem; }
.author-box .author-info p { font-size: 0.9rem; color: var(--ink-mute); margin: 0; }

/* ============== FORM ============== */
.contact-form {
  display: grid; gap: 1.2rem;
  max-width: 560px;
  margin-top: 2.5rem;
}
.contact-form label {
  display: block;
  font-family: var(--font-mono); font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-mute); margin-bottom: 0.5rem;
}
.contact-form input, .contact-form textarea {
  width: 100%; padding: 0.85rem 1rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: var(--font-body); font-size: 1rem;
  transition: border-color 0.2s var(--ease);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--accent);
}
.contact-form textarea { resize: vertical; min-height: 140px; }

.contact-channels {
  display: flex; flex-direction: column; gap: 1.5rem;
  margin-top: 2rem;
}
.channel {
  display: flex; gap: 1rem; align-items: center;
}
.channel .label {
  font-family: var(--font-mono); font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ink-dim); width: 80px;
}
.channel a { color: var(--ink); font-size: 1.05rem; }
.channel a:hover { color: var(--accent); }

/* ============== FOOTER ============== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  background: var(--bg);
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer-brand h3 {
  font-family: var(--font-display); font-size: 1.6rem;
  margin-bottom: 0.6rem;
}
.footer-brand p { color: var(--ink-mute); max-width: 36ch; font-size: 0.92rem; }
.footer-col h4 {
  font-size: 0.78rem; color: var(--ink-dim);
  margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.14em;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { color: var(--ink-mute); font-size: 0.95rem; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-dim);
}
.footer-bottom a { color: var(--ink-dim); }
.footer-bottom a:hover { color: var(--accent); }

.ai-disclaimer {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  font-size: 0.85rem;
  color: var(--ink-mute);
  margin-top: 2rem;
}
.ai-disclaimer strong { color: var(--accent); font-weight: 600; }

/* ============== REVEAL ANIMATIONS ============== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============== COOKIE BANNER ============== */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: 1rem;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.4rem;
  z-index: 1000;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  transform: translateY(120%);
  transition: transform 0.5s var(--ease);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p {
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0 0 1rem;
  color: var(--ink);
  max-width: none;
}
.cookie-banner a { color: var(--accent); border-bottom: 1px solid var(--accent); }
.cookie-banner .cookie-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cookie-banner button {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s var(--ease);
}
.cookie-banner .btn-accept { background: var(--accent); color: var(--bg); }
.cookie-banner .btn-accept:hover { background: var(--accent-hi); }
.cookie-banner .btn-decline { background: transparent; color: var(--ink-mute); border-color: var(--border-strong); }
.cookie-banner .btn-decline:hover { color: var(--ink); border-color: var(--ink-mute); }

/* ============== NEWSLETTER ============== */
.newsletter-section {
  background: linear-gradient(135deg, var(--bg-elev) 0%, rgba(201,169,97,0.05) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0;
}
.newsletter-form {
  display: flex;
  gap: 0.6rem;
  max-width: 480px;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1;
  min-width: 220px;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
}
.newsletter-form input:focus { outline: none; border-color: var(--accent); }
.newsletter-form button {
  padding: 0.85rem 1.4rem;
  background: var(--accent);
  color: var(--bg);
  border: 0;
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-family: var(--font-body);
}
.newsletter-form button:hover { background: var(--accent-hi); }
.newsletter-form .note {
  flex-basis: 100%;
  font-size: 0.78rem;
  color: var(--ink-dim);
  margin: 0.5rem 0 0;
}

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

/* ============================================
   DYNAMISM PACK (v1.3) — additive, palette-safe
   ============================================ */

/* [5] Scroll progress bar — gold, data-driven feel */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0;
  height: 2px; z-index: 200;
  transform: scaleX(var(--progress, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent-hi));
  will-change: transform;
  pointer-events: none;
}

/* [2] Hero — slow animated gold mesh behind the title */
.hero { position: relative; }
.hero::before {
  content: '';
  position: absolute; z-index: 0;
  top: -30%; right: -12%;
  width: 70vmax; height: 70vmax;
  background: radial-gradient(circle at 50% 50%, rgba(201,169,97,0.10), transparent 60%);
  animation: heroDrift 18s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
@keyframes heroDrift {
  0%   { transform: translate(0,0) scale(1); opacity: 0.75; }
  100% { transform: translate(-6%, 6%) scale(1.14); opacity: 1; }
}

/* [4]/[7] Tilt + magnetic cards */
.tilt {
  transition: transform 0.3s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}

/* [3] Directional reveal variants (opt-in alongside .reveal) */
.reveal--left  { transform: translateX(-28px); }
.reveal--right { transform: translateX(28px); }
.reveal--scale { transform: scale(0.96); }
.reveal--left.visible,
.reveal--right.visible,
.reveal--scale.visible { transform: none; }

/* [6] Counter ticker — blinking mono caret while counting */
.value.counting::after {
  content: '_';
  font-family: var(--font-mono);
  color: var(--accent-hi);
  margin-left: 0.04em;
  animation: caretBlink 0.6s steps(1) infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
  .hero::before { animation: none; }
  .reveal--left, .reveal--right, .reveal--scale { transform: none; }
  .value.counting::after { display: none; }
}

/* ============================================
   HIGH-TECH PACK (v1.4) — video modal + tech FX
   ============================================ */
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

/* Film grain — site-wide, cinematic premium texture */
.grain {
  position: fixed; inset: 0; z-index: 150;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* Mono live-status ticker — data-driven vibe */
.live-status {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  color: var(--ink-mute);
  display: inline-flex; align-items: center; gap: 0.55rem;
  margin-bottom: 1.6rem;
}
.live-status .live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(201,169,97,0.55);
  animation: livePulse 2.2s ease-out infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(201,169,97,0.5); }
  70%  { box-shadow: 0 0 0 9px rgba(201,169,97,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,169,97,0); }
}

/* Animated gradient border — high-end glow frame */
.grad-border { position: relative; border-radius: var(--radius-lg); }
.grad-border::before {
  content: ''; position: absolute; inset: -2px; z-index: 0;
  border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--ang),
    var(--accent), transparent 22%, var(--accent-hi) 50%, transparent 78%, var(--accent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spinBorder 6s linear infinite;
  pointer-events: none;
}
@keyframes spinBorder { to { --ang: 360deg; } }

@media (prefers-reduced-motion: reduce) {
  .grad-border::before { animation: none; }
  .live-status .live-dot { animation: none; }
}

/* LinkedIn embed — styled, responsive, in-article */
.li-embed {
  margin: 3rem 0;
  padding: 1.4rem 1.5rem 1.6rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-left: 3px solid #0A66C2;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.li-embed .li-embed-label {
  font-family: var(--font-mono);
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink-mute); margin-bottom: 1.1rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.li-embed .li-embed-label .in {
  display: inline-grid; place-items: center;
  width: 18px; height: 18px; border-radius: 3px;
  background: #0A66C2; color: #fff;
  font-family: var(--font-body); font-weight: 700; font-size: 0.62rem;
  letter-spacing: 0;
}
.li-embed .li-embed-frame { display: flex; justify-content: center; }
.li-embed iframe {
  width: 100%; max-width: 504px; height: 264px;
  border: 0; border-radius: var(--radius);
  background: #fff;
}
@media (max-width: 540px) { .li-embed iframe { height: 340px; } }

/* LinkedIn Newsletter — CTA card variant (no iframe, links out) */
.li-newsletter {
  margin: 3rem 0;
  padding: 1.6rem 1.8rem 1.8rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-left: 3px solid #0A66C2;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  display: grid;
  gap: 0.9rem;
}
.li-newsletter .li-news-label {
  font-family: var(--font-mono);
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink-mute);
  display: flex; align-items: center; gap: 0.55rem;
}
.li-newsletter .li-news-label .in {
  display: inline-grid; place-items: center;
  width: 18px; height: 18px; border-radius: 3px;
  background: #0A66C2; color: #fff;
  font-family: var(--font-body); font-weight: 700; font-size: 0.62rem;
}
.li-newsletter .li-news-label .news-tag {
  color: #4593de; letter-spacing: 0.12em;
}
.li-newsletter h4 {
  font-family: var(--font-display);
  font-size: 1.25rem; line-height: 1.25; margin: 0;
  color: var(--ink);
}
.li-newsletter p {
  margin: 0; color: var(--ink-mute); font-size: 0.95rem; line-height: 1.55;
}
.li-newsletter .li-news-meta {
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.08em; color: var(--ink-dim);
}
.li-newsletter .li-news-actions {
  display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 0.3rem;
}
.li-newsletter .li-news-btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.6rem 1.1rem; border-radius: 100px;
  font-family: var(--font-body); font-size: 0.88rem;
  text-decoration: none;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.li-newsletter .li-news-btn.primary {
  background: #0A66C2; color: #fff; border: 1px solid #0A66C2;
}
.li-newsletter .li-news-btn.primary:hover { background: #0958a8; border-color: #0958a8; }
.li-newsletter .li-news-btn.secondary {
  background: transparent; color: var(--ink);
  border: 1px solid var(--border-strong);
}
.li-newsletter .li-news-btn.secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   UPGRADE v1.5 — CINEMATIC LAYER
   View Transitions (cross-page) + hero parallax.
   Additive · palette-safe · reduced-motion guarded.
   ============================================================ */

/* MPA cross-document view transitions — enabled only if motion is welcome */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.42s;
  animation-timing-function: var(--ease);
}
/* brand persists/morphs across page navigations */
.site-header .brand { view-transition-name: brand; }

/* hero photo parallax — JS sets --py; transform-only (no CLS) */
.hero-photo img { will-change: transform; transform: translateY(var(--py, 0px)); }

@media (prefers-reduced-motion: reduce) {
  .hero-photo img { transform: none !important; }
}

/* Testimonial rotator — slides stacked in one grid cell (no layout shift) */
.quote-rotator { position: relative; display: grid; }
.quote-rotator .quote-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.quote-rotator .quote-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.quote-rotator .quote-dots {
  grid-area: 1 / 1;
  align-self: end;
  justify-self: center;
  display: flex;
  gap: 0.55rem;
  margin-top: 2.2rem;
  transform: translateY(2.6rem);
}
.quote-rotator .quote-dots button {
  width: 8px; height: 8px; padding: 0;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.quote-rotator .quote-dots button[aria-selected="true"] {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.25);
}
@media (prefers-reduced-motion: reduce) {
  .quote-rotator .quote-slide { transition: none; }
}

/* KPI dashboard — animated sparklines */
.numbers-dash .dash-head { margin-bottom: 1.6rem; }
.numbers-dash .dash-live {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-dim);
}
.num .spark {
  display: block; width: 100%; height: 30px; margin-top: 0.9rem;
}
.num .spark-line {
  fill: none; stroke: var(--accent); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.num .spark-area { fill: url(#sparkFill); opacity: 0; }
.num.visible .spark-line { animation: sparkDraw 1.5s var(--ease) 0.25s forwards; }
.num.visible .spark-area { animation: sparkFade 0.9s var(--ease) 0.7s forwards; }
@keyframes sparkDraw { to { stroke-dashoffset: 0; } }
@keyframes sparkFade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .num .spark-line { stroke-dashoffset: 0; animation: none; }
  .num .spark-area { opacity: 1; animation: none; }
}

/* LinkedIn showcase page — click-to-load cards */
.li-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
@media (max-width: 760px) { .li-grid { grid-template-columns: 1fr; } }
.li-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-left: 3px solid #0A66C2;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 1.8rem 2rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  transition: border-color 0.3s, transform 0.3s;
}
.li-card:hover { border-color: var(--border-strong); border-left-color: #0A66C2; }
.li-card .li-tag {
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.04em; color: #4593de;
}
.li-card h3 { font-size: 1.15rem; margin: 0.2rem 0; }
.li-card p { color: var(--ink-mute); font-size: 0.95rem; margin: 0 0 0.4rem; }
.li-card .li-load {
  align-self: flex-start; margin-top: auto;
  background: transparent; border: 1px solid var(--border-strong);
  color: var(--ink); font-family: var(--font-body); font-size: 0.85rem;
  padding: 0.5rem 1rem; border-radius: 100px; cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}
.li-card .li-load:hover { background: var(--surface); border-color: #0A66C2; }
.li-card.is-loaded { border-left-width: 3px; padding: 1.2rem; }
.li-card .li-embed-frame { width: 100%; position: relative; }
.li-card iframe {
  width: 100%; height: 420px; border: 0;
  border-radius: var(--radius); background: #fff;
}

/* Close button for loaded LinkedIn embed */
.li-card .li-close {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  width: 32px; height: 32px; padding: 0;
  display: grid; place-items: center;
  background: rgba(15, 17, 21, 0.85);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(245, 242, 236, 0.18);
  border-radius: 50%;
  color: var(--ink);
  font-family: var(--font-body); font-size: 1.3rem; line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.li-card .li-close:hover {
  background: #0A66C2; border-color: #0A66C2; color: #fff;
  transform: scale(1.05);
}
.li-card .li-close:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
.li-card.is-loaded.has-bg::before,
.li-card.is-loaded.has-bg::after { opacity: 0; }

/* Background image variant — cinematic, duotone-locked, palette-safe */
.li-card.has-bg {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  isolation: isolate;
}
.li-card.has-bg::before {
  content: '';
  position: absolute; inset: 0; z-index: -2;
  background-image: var(--bg-img);
  background-size: cover; background-position: center;
  /* Duotone dark/gold treatment: kills colors, biases toward warm */
  filter: grayscale(1) brightness(0.55) sepia(0.35) hue-rotate(-12deg) contrast(1.05);
  transform: scale(1.05);
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
}
.li-card.has-bg::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(15,17,21,0.35) 0%, rgba(15,17,21,0.78) 60%, rgba(15,17,21,0.95) 100%),
    radial-gradient(circle at 15% 20%, rgba(201,169,97,0.18), transparent 55%);
}
.li-card.has-bg:hover::before {
  transform: scale(1.10);
  filter: grayscale(0.85) brightness(0.62) sepia(0.30) hue-rotate(-12deg) contrast(1.08);
}
.li-card.has-bg .li-tag { color: var(--accent-hi); }
.li-card.has-bg h3 { text-shadow: 0 1px 16px rgba(0,0,0,0.55); }
.li-card.has-bg p { color: rgba(245,242,236,0.82); text-shadow: 0 1px 10px rgba(0,0,0,0.45); }
.li-card.has-bg .li-load {
  background: rgba(15,17,21,0.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-color: rgba(245,242,236,0.22);
}
.li-card.has-bg .li-load:hover {
  background: rgba(10, 102, 194, 0.85);
  border-color: #0A66C2;
}
@media (prefers-reduced-motion: reduce) {
  .li-card.has-bg::before { transition: none; transform: none; }
  .li-card.has-bg:hover::before { transform: none; }
}

/* Cinematic full-bleed environment band */
.env-band {
  position: relative;
  min-height: 60vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.env-band .env-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.08); will-change: transform;
}
.env-band::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,17,21,0.45) 0%, rgba(15,17,21,0.2) 40%, rgba(15,17,21,0.92) 100%);
}
.env-band .env-content {
  position: relative; z-index: 1;
  padding: 3rem 0 3.5rem;
}
.env-band .env-content h2 { font-size: clamp(1.8rem, 4vw, 3rem); max-width: 18ch; margin: 0; }
.env-band .env-content .eyebrow { display: block; margin-bottom: 0.8rem; }
@media (prefers-reduced-motion: reduce) {
  .env-band .env-bg { transform: none; }
}

/* Animated career timeline — line draws on scroll + marker pop */
.timeline { --tl-progress: 0; }
.timeline::after {
  content: ''; position: absolute; left: -2px; top: 0; width: 2px; height: 100%;
  background: linear-gradient(var(--accent), var(--accent-hi));
  transform: scaleY(var(--tl-progress)); transform-origin: top center;
  pointer-events: none;
}
@keyframes markerPop {
  0% { transform: scale(0.3); opacity: 0; }
  60% { transform: scale(1.3); }
  100% { transform: scale(1); opacity: 1; }
}
.timeline-item.visible .timeline-marker {
  animation: markerPop 0.55s var(--ease) both;
  box-shadow: 0 0 0 0 var(--accent-dim);
}
@media (prefers-reduced-motion: reduce) {
  .timeline { --tl-progress: 1; }
  .timeline-item.visible .timeline-marker { animation: none; }
}

/* ============================================================
   ABOUT PAGE — v1.7 redesign (logo + photo balance + structure)
   ============================================================ */

/* HERO ABOUT — 2col text + photo */
.about-hero { padding: 6rem 0 4rem; }
.about-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-hero-text h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0.4rem 0 1.4rem;
}
.about-hero-text .lead { max-width: 52ch; }
.about-hero-text .live-status { margin-top: 1.8rem; }
.about-hero-photo .photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/5;
  background: var(--bg-elev);
}
.about-hero-photo .photo-frame::before {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, transparent 60%, rgba(15,17,21,0.45) 100%);
  pointer-events: none;
}
.about-hero-photo .photo-frame::after {
  content: ''; position: absolute; inset: 0; z-index: 3;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(201,169,97,0.35), transparent 50%) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  border-radius: inherit; pointer-events: none;
}
.about-hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.88) contrast(1.06) brightness(0.95);
  transition: transform 0.8s var(--ease);
}
.about-hero-photo:hover img { transform: scale(1.03); }
@media (max-width: 860px) {
  .about-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-hero-photo .photo-frame { aspect-ratio: 4/3; max-width: 480px; }
}

/* BLOCCHI ALTERNATI */
.about-blocks { padding: 3rem 0 5rem; }
.about-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 5rem;
}
.about-block:last-child { margin-bottom: 0; }
.about-block.reverse { grid-template-columns: 1.2fr 1fr; }
.about-block.reverse .ab-photo { order: 2; }
.about-block.reverse .ab-text { order: 1; }
.about-block .ab-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/5;
  background: var(--bg-elev);
}
.about-block .ab-photo::before {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, transparent 50%, rgba(15,17,21,0.65) 100%),
    radial-gradient(circle at 20% 20%, rgba(201,169,97,0.12), transparent 55%);
  pointer-events: none;
}
.about-block .ab-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.6) brightness(0.78) sepia(0.18) contrast(1.05);
  transform: scale(1.08); /* base, sovrascritto dal parallax JS */
  transition: filter 0.5s var(--ease);
  will-change: transform;
}
.about-block:hover .ab-photo img {
  filter: grayscale(0.3) brightness(0.92) sepia(0.12) contrast(1.05);
}
.about-block .ab-text { padding: 0 0.5rem; }
.about-block .ab-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.6rem;
}
.about-block .ab-text h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  letter-spacing: -0.02em;
  margin: 0 0 1.2rem;
  line-height: 1.15;
}
.about-block .ab-text p {
  color: var(--ink-mute);
  line-height: 1.7;
  font-size: 1.02rem;
}
.about-block .ab-text p + p { margin-top: 1rem; }
.about-block .ab-text p strong { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) {
  .about-block,
  .about-block.reverse { grid-template-columns: 1fr; gap: 1.8rem; margin-bottom: 3.5rem; }
  .about-block.reverse .ab-photo { order: 0; }
  .about-block.reverse .ab-text { order: 0; }
  .about-block .ab-photo { aspect-ratio: 16/10; max-height: 320px; }
}

/* AREE DI LAVORO — 6 card icone */
.areas { padding: 5rem 0; }
.areas-head { text-align: center; margin-bottom: 3.5rem; }
.areas-head h2 { margin: 0.4rem 0 0.8rem; }
.areas-head .lead { max-width: 56ch; margin: 0 auto; }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
@media (max-width: 900px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .areas-grid { grid-template-columns: 1fr; } }
.area-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
.area-card:hover {
  border-color: rgba(201,169,97,0.35);
  background: var(--surface);
  transform: translateY(-3px);
}
.area-card .area-icon {
  width: 38px; height: 38px;
  color: var(--accent);
  margin-bottom: 1.1rem;
  transition: color 0.3s var(--ease), transform 0.5s var(--ease);
}
.area-card:hover .area-icon {
  color: var(--accent-hi);
  transform: rotate(-3deg) scale(1.08);
}
.area-card h3 {
  font-size: 1.08rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.area-card p {
  color: var(--ink-mute);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

/* APPROCCIO — 3 principi con numeri giganti */
.principles { padding: 5rem 0; }
.principles-head { text-align: center; margin-bottom: 3.5rem; }
.principles-head h2 { margin: 0.4rem 0 0; }
.principles-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 920px;
  margin: 0 auto;
}
.principle {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  align-items: baseline;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}
.principle:last-child { border-bottom: 1px solid var(--border); }
.principle .p-num {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 6.5rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, var(--accent-hi) 0%, var(--accent) 50%, rgba(201,169,97,0.25) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  display: block;
  transition: transform 0.4s var(--ease);
}
.principle:hover .p-num { transform: translateX(6px); }
.principle .p-body h3 {
  font-size: 1.35rem;
  margin: 0 0 0.7rem;
  letter-spacing: -0.015em;
}
.principle .p-body p {
  color: var(--ink-mute);
  line-height: 1.65;
  margin: 0;
  max-width: 60ch;
}
@media (max-width: 700px) {
  .principle { grid-template-columns: 1fr; gap: 0.4rem; padding: 2rem 0; }
  .principle .p-num { font-size: 4rem; }
}

/* CTA finale About — ambiente */
.about-cta { padding: 5rem 0 7rem; }
.about-cta h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }

/* Reveal animation for about blocks */
.about-block.reveal,
.principle.reveal,
.area-card.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.about-block.reveal.visible,
.principle.reveal.visible,
.area-card.reveal.visible {
  opacity: 1; transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .about-block.reveal, .principle.reveal, .area-card.reveal { opacity: 1; transform: none; }
  .about-block:hover .ab-photo img { transform: none; }
  .about-hero-photo:hover img { transform: none; }
  .area-card:hover { transform: none; }
}
