/* ============================================================
   PROMOTION AGENCY — Brand system
   Positioning: Swiss Business Growth Partner
   Palette: ink / warm ivory — monochrome, no accent color
   Type: Fraunces (display) + Inter (body/UI)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Inter:wght@400;500;600&display=swap');

:root {
  --ink: #13120F;
  --ink-soft: #26241F;
  --paper: #FAF8F3;
  --surface: #FFFFFF;
  --line: #E3DFD4;
  --line-dark: rgba(250,248,243,0.14);
  --muted: #66625A;
  --muted-2: #8F8B80;
  --ivory: #FAF8F3;
  --radius: 2px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
.hero h1, .hero h2, .hero h3,
.block.dark h1, .block.dark h2, .block.dark h3, .block.dark h4 { color: var(--ivory); }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 18px;
}
.hero .eyebrow, .block.dark .eyebrow { color: rgba(250,248,243,0.55); }

p { margin: 0 0 1em; color: var(--muted); }
p:last-child { margin-bottom: 0; }
.hero p, .block.dark p { color: rgba(250,248,243,0.72); }
.hero .lead { color: rgba(250,248,243,0.78); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 26px 0;
  transition: padding 0.35s ease, background 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-header.scrolled {
  padding: 16px 0;
  background: rgba(250,248,243,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory);
  transition: color 0.35s ease;
}
.site-header.scrolled .brand { color: var(--ink); }
.main-nav ul { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  font-size: 0.82rem; font-weight: 500;
  color: rgba(250,248,243,0.78);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.site-header.scrolled .main-nav a { color: var(--muted); }
.main-nav a:hover { color: var(--ivory); }
.site-header.scrolled .main-nav a:hover { color: var(--ink); }
.header-right { display: flex; align-items: center; gap: 26px; }
.lang-switch { display: flex; gap: 10px; font-size: 0.78rem; font-weight: 500; }
.lang-switch a { color: rgba(250,248,243,0.55); }
.site-header.scrolled .lang-switch a { color: var(--muted-2); }
.lang-switch a.active { color: var(--ivory); border-bottom: 1px solid rgba(250,248,243,0.6); }
.site-header.scrolled .lang-switch a.active { color: var(--ink); border-bottom-color: var(--ink); }
.nav-area-riservata {
  font-size: 0.78rem; font-weight: 500;
  color: rgba(250,248,243,0.55);
  transition: color 0.2s ease; white-space: nowrap;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled .nav-area-riservata { color: var(--muted-2); }
.nav-area-riservata:hover { color: var(--ivory); border-bottom-color: rgba(250,248,243,0.6); }
.site-header.scrolled .nav-area-riservata:hover { color: var(--ink); border-bottom-color: var(--ink); }
.nav-cta {
  font-size: 0.78rem; font-weight: 600; padding: 10px 20px;
  border: 1px solid rgba(250,248,243,0.5); color: var(--ivory);
  transition: all 0.25s ease; white-space: nowrap;
}
.site-header.scrolled .nav-cta { border-color: var(--ink); color: var(--ink); }
.nav-cta:hover { background: var(--ivory); color: var(--ink); }
.site-header.scrolled .nav-cta:hover { background: var(--ink); color: var(--ivory); }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: var(--ivory);
  padding: 220px 0 140px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(250,248,243,0) 0%, rgba(250,248,243,0.035) 100%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero .eyebrow { color: rgba(250,248,243,0.5); }
.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.7rem);
  line-height: 1.06;
  max-width: 15ch;
  font-weight: 400;
  margin-bottom: 30px;
}
.hero .lead {
  font-family: 'Inter', sans-serif;
  font-size: 1.12rem;
  color: rgba(250,248,243,0.72);
  max-width: 46ch;
  line-height: 1.65;
  margin-bottom: 44px;
}
.hero-ctas { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 15px 30px;
  border: 1px solid var(--ink);
  transition: all 0.25s ease;
}
.btn-primary { background: var(--ink); color: var(--ivory); }
.btn-primary:hover { background: transparent; color: var(--ink); }
.on-dark .btn-primary { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.on-dark .btn-primary:hover { background: transparent; color: var(--ivory); }
.btn-ghost { border-color: rgba(250,248,243,0.4); color: var(--ivory); background: transparent; }
.btn-ghost:hover { border-color: var(--ivory); }
.btn-secondary { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-secondary:hover { border-color: var(--ink); }

/* ---------- Sections ---------- */
.block { padding: 128px 0; }
.block.tight { padding: 96px 0; }
.block.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.block.dark { background: var(--ink); color: var(--ivory); }
.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head.wide { max-width: 760px; }
.section-head h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.16; margin-bottom: 20px; }
.section-head p { font-size: 1.02rem; }

/* ---------- Pillars (horizontal rows) ---------- */
.pillars { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.pillar {
  display: grid; grid-template-columns: 1fr 1.1fr 1.1fr; gap: 48px;
  padding: 52px 0; border-bottom: 1px solid var(--line);
  align-items: start;
}
.pillar h3 { font-size: 1.4rem; margin-bottom: 10px; }
.pillar .pillar-sub { font-size: 0.94rem; color: var(--ink); font-weight: 500; font-family:'Inter',sans-serif; }
.pillar-services { list-style: none; margin: 0; padding: 0; }
.pillar-services li {
  font-size: 0.86rem; color: var(--muted); padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.pillar-services li:first-child { padding-top: 0; }
.pillar-services li:last-child { border-bottom: none; }
.pillar-refs { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 0.8rem; color: var(--muted-2); line-height: 1.7; }
.pillar-refs .refs-label { display:block; font-size:0.68rem; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; color: var(--muted-2); margin-bottom:10px; }
.pillar-refs .refs-names { color: var(--ink); font-weight: 500; }
.refs-logos { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ref-logo-tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: 3px;
  padding: 8px 14px; height: 44px; display: flex; align-items: center; justify-content: center;
}
.ref-logo-tile img { max-height: 26px; max-width: 96px; object-fit: contain; display: block; }
.ref-logo-tile.text-only { font-size: 0.78rem; font-weight: 600; color: var(--muted); padding: 8px 16px; }
.refs-note { display: block; margin-top: 10px; font-size: 0.72rem; color: var(--muted-2); font-style: italic; }

/* ---------- Industries ---------- */
.industry-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.industry-item {
  background: var(--paper); padding: 26px 24px; font-size: 0.92rem; font-weight: 500;
  display: flex; align-items: center; min-height: 84px;
}

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 64px; }
.why-item { border-top: 1px solid var(--line-dark); padding-top: 24px; }
.block:not(.dark) .why-item { border-top-color: var(--line); }
.why-item h3 { font-size: 1.2rem; font-style: italic; margin-bottom: 12px; font-weight: 400; }
.why-item p { font-size: 0.94rem; }

/* ---------- Founder ---------- */
.founder-grid { display: grid; grid-template-columns: 300px 1fr; gap: 70px; align-items: start; }
.founder-mono {
  width: 100%; aspect-ratio: 4/5; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-size: 5rem; color: var(--ink);
  background: var(--surface);
}
.founder-photo {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 20%;
  border: 1px solid var(--line); display: block; filter: grayscale(0.15);
}
.founder-name { font-size: 1.9rem; margin-bottom: 4px; }
.founder-role { font-family:'Inter',sans-serif; font-size: 0.86rem; color: var(--muted-2); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 28px; }
.founder-grid p { font-size: 1rem; max-width: 60ch; }

/* ---------- Sectors / partnerships ---------- */
.sector-chips { display: flex; flex-wrap: wrap; gap: 14px; }
.sector-chip {
  border: 1px solid var(--line-dark); padding: 12px 22px; font-size: 0.84rem;
  font-weight: 500; color: rgba(250,248,243,0.75);
}

/* ---------- Case studies ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.case-card { background: var(--surface); padding: 40px 32px; }
.case-tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; }
.case-card h3 { font-size: 1.2rem; margin-bottom: 14px; font-weight: 500; }
.case-card p { font-size: 0.9rem; }

/* ---------- Stat row ---------- */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 1px solid var(--line-dark); padding-top: 40px; margin-top: 52px; }
.stat-num { font-family: 'Fraunces', serif; font-size: 2.6rem; margin-bottom: 6px; }
.stat-label { font-size: 0.82rem; color: rgba(250,248,243,0.6); }
.block:not(.dark) .stat-row { border-top-color: var(--line); }
.block:not(.dark) .stat-label { color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .section-head { max-width: 680px; margin-left: auto; margin-right: auto; }
.cta-band h2 { margin-bottom: 26px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px; }
.contact-item { margin-bottom: 28px; }
.contact-item .label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 6px; }
.contact-item a, .contact-item .value { font-size: 1.15rem; font-family:'Fraunces',serif; color: var(--ink); }
.contact-item a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(250,248,243,0.55); padding: 56px 0 36px; }
.site-footer .container { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; }
.footer-brand { font-family:'Inter',sans-serif; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.8rem; color: var(--ivory); margin-bottom: 8px; }
.footer-legal { font-size: 0.8rem; }
.footer-links { display: flex; gap: 22px; font-size: 0.8rem; }
.footer-links a:hover { color: var(--ivory); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .industry-grid, .case-grid, .why-grid, .stat-row { grid-template-columns: 1fr; }
  .pillar { grid-template-columns: 1fr; gap: 20px; padding: 40px 0; }
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-mono { max-width: 220px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 160px 0 100px; }
  .block { padding: 84px 0; }
  .site-footer .container { flex-direction: column; align-items: flex-start; }
}
