/* Naimi — Landing page styles. Light (cream) / dark (navy) themes via [data-theme]. */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&family=Geist:wght@400;500&family=Jost:wght@400;500;600&display=swap');

:root {
  --gold-l: #A0762B;
  --gold-d: #C9A158;
  --bg: #F4F4F1;
  --bg-soft: #ECECE7;
  --card: #FBFBF8;
  --ink: #1A1916;
  --muted: #6E6B63;
  --line: rgba(26, 25, 22, 0.13);
  --gold: var(--gold-l);
  --gold-dim: rgba(160, 118, 43, 0.32);
  --navy: #10172A;
  --shadow: 0 30px 70px -40px rgba(30, 24, 12, 0.4);
}

[data-theme="dark"] {
  --bg: #0E1422;
  --bg-soft: #111A2D;
  --card: #141D33;
  --ink: #EAE4D4;
  --muted: #97A0B4;
  --line: rgba(234, 228, 212, 0.14);
  --gold: var(--gold-d);
  --gold-dim: rgba(201, 161, 88, 0.35);
  --navy: #0A101D;
  --shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.7);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Geist', 'Archivo', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s ease, color 0.35s ease;
}
h1, h2, h3, .stat b { font-family: 'Archivo', sans-serif; }
::selection { background: var(--gold-dim); }
a { color: inherit; }
img { max-width: 100%; }

body.grain::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 32px; }

/* ---------- header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.42em;
  text-decoration: none;
  white-space: nowrap;
}
.logo-mark { width: 26px; height: auto; color: var(--gold); flex: none; }
.logo-mark.big { width: 30px; }
.brand-text { color: var(--ink); }

.main-logo { display: flex; align-items: center; flex-direction:column; gap:6px; }
nav.main { flex: 1; display: flex; justify-content: center; gap: 30px; }
nav.main a {
  font-size: 13.5px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
nav.main a:hover { color: var(--ink); }
.top-controls { display: flex; align-items: center; gap: 10px; }

.lang { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Jost', sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  background: none;
  border: none;
  color: var(--ink);
  padding: 7px 4px;
  cursor: pointer;
  transition: color 0.2s;
}
.lang-btn:hover { color: var(--gold); }
.ic { width: 19px; height: 19px; display: block; }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 190px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 6px;
  display: none;
  z-index: 60;
}
.lang.open .lang-menu { display: block; }
.lang-menu button {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  font-family: 'Archivo', sans-serif;
  font-size: 13.5px;
  color: var(--ink);
  padding: 9px 12px;
  border-radius: 5px;
  cursor: pointer;
}
.lang-menu button:hover { background: var(--bg-soft); }
.lang-menu button .check { color: var(--gold); }
.lang-note {
  font-size: 11px;
  color: var(--muted);
  padding: 8px 12px 6px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
  line-height: 1.5;
}

.theme-btn {
  width: 34px;
  height: 34px;
  border: none;
  background: none;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: color 0.2s;
}
.theme-btn:hover { color: var(--gold); }
.theme-btn .ic-moon { display: none; }
[data-theme="dark"] .theme-btn .ic-sun { display: none; }
[data-theme="dark"] .theme-btn .ic-moon { display: block; }

.cta-btn {
  font-family: 'Jost', sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.2s;
}
.cta-btn:hover { background: var(--gold); color: #FBF7EC; }

/* ---------- hero ---------- */
.hero { padding: 130px 0 40px; text-align: center; position: relative; }
.kicker {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.tric { display: inline-flex; gap: 0; }
.tric span { width: 13px; height: 3px; display: block; }
.tric .g1 { background: #2E7D46; }
.tric .g2 { background: #FFFFFF; }
.tric .g3 { background: #B03A37; }

.main-logo .tric span { width:10px; }
.hero h1 {
  font-size: clamp(46px, 7.4vw, 92px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 30px auto 0;
  max-width: 980px;
  text-wrap: balance;
}
.hero h1 .g { color: var(--gold); }
.lede {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 640px;
  margin: 28px auto 0;
  text-wrap: pretty;
}
.hero-link {
  display: none;
  margin-top: 34px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 4px;
}
body[data-hero-cta="link"] .hero-link { display: inline-block; }

.hero-fig { margin-top: 76px; }
.hero-fig image-slot {
  display: block;
  width: 100%;
  height: clamp(320px, 44vw, 560px);
}
.fig-cap {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 16px;
}

/* ---------- people/products analogy (from deck p.3) ---------- */
.analogy { margin-top: 64px; border-bottom: 1px solid var(--line); }
.ana-row { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: center; padding: 30px 0; border-top: 1px solid var(--line); }
.ana-side { font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.ana-cells { display: flex; align-items: center; gap: 12px; }
.ana-cell { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 11px; text-align: center; color: var(--ink); }
.ana-cell svg { width: 30px; height: 30px; }
.ana-cell .lbl { font-family: 'Jost', sans-serif; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.ana-cell.hl { color: var(--gold); }
.ana-cell.hl .lbl { color: var(--gold); }
.ana-arrow { flex: none; color: var(--gold); font-size: 15px; }

/* ---------- sections ---------- */
.sec { padding: 110px 0; }
.sec.tint { background: var(--bg-soft); }
.kick {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
}
.kick::before { content: ""; width: 36px; height: 1px; background: var(--gold); flex: none; }
.kick.center { justify-content: center; }
.kick.center::after { content: ""; width: 36px; height: 1px; background: var(--gold); flex: none; }
h2 {
  font-size: clamp(32px, 3.9vw, 50px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.07;
  margin: 0;
  text-wrap: balance;
}
h2 .g { color: var(--gold); }
.sub { font-size: 16px; color: var(--muted); line-height: 1.75; max-width: 580px; margin: 22px 0 0; text-wrap: pretty; }

.stats { display: flex; gap: 64px; margin-top: 52px; flex-wrap: wrap; }
.stat b { display: block; font-size: 36px; font-weight: 600; letter-spacing: -0.02em; }
.stat b em { font-style: normal; color: var(--gold); }
.stat span {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 68px; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.step .num { font-family: 'Jost', sans-serif; font-size: 17px; color: var(--gold); letter-spacing: 0.08em; }
.step .bar { height: 1px; background: var(--line); margin: 14px 0 16px; }
.step h3 { font-size: 16.5px; font-weight: 600; margin: 0 0 8px; letter-spacing: -0.01em; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.7; margin: 0; }

/* ---------- passport / phone (scroll-driven steps) ---------- */
.pp-scroll { display: grid; grid-template-columns: 1fr 340px; gap: 90px; margin-top: 30px; }
.pp-steps { display: flex; flex-direction: column; }
.pp-step { min-height: 56vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.36; }
.pp-step.active { opacity: 1; }
.pp-step .sn { font-family: 'Jost', sans-serif; font-size: 14px; letter-spacing: 0.14em; color: var(--gold); }
.pp-step h3 { font-size: 23px; font-weight: 600; letter-spacing: -0.01em; margin: 12px 0 12px; }
.pp-step p { font-size: 15px; color: var(--muted); line-height: 1.75; max-width: 430px; margin: 0; text-wrap: pretty; }
.pp-sticky { position: sticky; top: 86px; align-self: start; }

.phone {
  width: min(300px, 100%);
  margin: 0 auto;
  background: #0B0F1A;
  border: 1px solid var(--gold-dim);
  border-radius: 50px;
  padding: 11px;
  box-shadow: var(--shadow);
}
.pp-screens { position: relative; aspect-ratio: 706 / 1538; border-radius: 40px; overflow: hidden; background: #0B0F1A; }
.pp-screen { position: absolute; inset: 0; display: none; }
.pp-screen.active { display: block; }
.pp-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

.scr { height: 100%; display: flex; flex-direction: column; color: #E9E2D0; }
.scr-instant {
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
  padding: 30px;
  background: radial-gradient(420px 320px at 50% 18%, rgba(201, 161, 88, 0.16), transparent 62%), #0B0F1A;
}
.scr-brand { font-family: 'Jost', sans-serif; font-size: 12px; letter-spacing: 0.42em; color: #C9A158; }
.scr-ring {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 1px solid rgba(201, 161, 88, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.scr-ring b { font-size: 30px; font-weight: 600; font-family: 'Archivo', sans-serif; }
.scr-ring span { font-family: 'Jost', sans-serif; font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: #97A0B4; }
.scr-cap { font-size: 12.5px; color: #97A0B4; line-height: 1.6; }
.scr-json { padding: 28px 24px; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 11.5px; line-height: 1.85; color: #AEB6C8; background: #0B0F1A; }
.scr-json .top {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #97A0B4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.scr-json .k { color: #C9A158; }
.scr-json .v { color: #E9E2D0; }
.scr-json .foot { margin-top: auto; font-family: 'Jost', sans-serif; font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: #6B7488; }

/* ---------- timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 76px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: var(--line); }
.tl-dot { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--muted); background: var(--bg); position: relative; z-index: 1; }
.tl-item.hot .tl-dot { border-color: var(--gold); background: var(--gold); }
.tl-year { font-size: 21px; font-weight: 600; margin-top: 16px; letter-spacing: -0.01em; }
.tl-item.hot .tl-year { color: var(--gold); }
.tl-cat { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.tl-note {
  margin-top: 56px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  border-radius: 4px;
  padding: 10px 18px;
}

/* ---------- platform ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; margin-top: 68px; }
.pillar { border-top: 1px solid var(--line); padding-top: 26px; }
.pillar .pn { font-family: 'Jost', sans-serif; font-size: 13px; color: var(--gold); letter-spacing: 0.1em; }
.pillar h3 { font-size: 17px; font-weight: 600; margin: 10px 0 10px; letter-spacing: -0.01em; }
.pillar p { font-size: 14px; color: var(--muted); line-height: 1.7; margin: 0; }

.manager { margin-top: 100px; }
.browser {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
}
.browser-bar { display: flex; align-items: center; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line); position: relative; }
.browser-bar .dots { display: flex; gap: 7px; }
.browser-bar .dots span { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--line); }
.browser-bar .url {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 4px 22px;
}
.browser img { display: block; width: 100%; }
.manager-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 40px; }
.mp h4 {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 6px;
}
.mp p { font-size: 13.5px; color: var(--muted); line-height: 1.65; margin: 0; }

/* ---------- navy bands ---------- */
.navy-sec {
  background: radial-gradient(900px 420px at 86% -10%, rgba(201, 161, 88, 0.13), transparent 62%), var(--navy);
  color: #E9E2D0;
}
.navy-sec .kick, .navy-sec .kick::before, .navy-sec .kick.center::after { color: var(--gold-d); background-color: var(--gold-d); }
.navy-sec .kick { background: none; }
.navy-sec h2 { color: #F0EADA; }
.navy-sec h2 .g { color: var(--gold-d); }
.navy-sec .sub, .navy-sec .step p, .navy-sec .tl-cat { color: #99A2B6; }
.navy-sec .step h3 { color: #E9E2D0; }
.navy-sec .step .bar { background: rgba(234, 228, 212, 0.16); }
.navy-sec .step .num { color: var(--gold-d); }
.italy-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: center; }
.italy-grid image-slot { display: block; width: 100%; height: 320px; }

/* ---------- contact ---------- */
.contact { text-align: center; }
.contact h2 { font-size: clamp(36px, 4.6vw, 60px); }
.contact .sub { margin-left: auto; margin-right: auto; }
.form-card {
  background: #F5F4F0;
  color: #1A1916;
  border-radius: 10px;
  max-width: 780px;
  margin: 60px auto 0;
  padding: 52px;
  text-align: left;
  box-shadow: 0 50px 110px -50px rgba(0, 0, 0, 0.65);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field label {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6E6B63;
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: #FCFCFA;
  border: 1px solid rgba(26, 25, 22, 0.18);
  border-radius: 5px;
  padding: 12px 14px;
  font-family: 'Geist', sans-serif;
  font-size: 14.5px;
  color: #1A1916;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: #A0762B;
  box-shadow: 0 0 0 3px rgba(160, 118, 43, 0.16);
}
.field.full { grid-column: 1 / -1; }
.consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 12px; font-size: 12.5px; color: #6E6B63; line-height: 1.6; }
.consent input { margin-top: 3px; accent-color: #A0762B; }
.consent a { color: #A0762B; }
.submit {
  grid-column: 1 / -1;
  justify-self: start;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: #A0762B;
  color: #FBF7EC;
  border: none;
  border-radius: 5px;
  padding: 15px 30px;
  cursor: pointer;
  transition: background 0.2s;
}
.submit:hover { background: #84601F; }
.submit:disabled { opacity: 0.55; cursor: wait; }
.form-error { grid-column: 1 / -1; margin: 0; font-size: 13px; color: #B3402A; }
.form-error[hidden] { display: none; }
.form-success { display: none; text-align: center; padding: 36px 12px; }
.form-card.sent .form-grid { display: none; }
.form-card.sent .form-success { display: block; }
.form-success .big { font-size: 40px; color: #A0762B; }
.form-success h3 { font-size: 22px; margin: 14px 0 8px; }
.form-success p { font-size: 14.5px; color: #6E6B63; margin: 0; }
.contact-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 30px;
  row-gap: 8px;
  margin-top: 30px;
  font-family: 'Jost', sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8791A8;
}

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 60px 0; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 24px; }
.foot nav a { font-size: 13px; color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--ink); }
.foot-small {
  margin-top: 28px;
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- detail pages ---------- */
.page-hero { padding: 110px 0 24px; }
.page-hero h1 {
  font-size: clamp(40px, 5.6vw, 68px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 26px 0 0;
  max-width: 820px;
  text-wrap: balance;
}
.page-hero h1 .g { color: var(--gold); }
.page-hero .lede { margin: 26px 0 0; text-align: left; max-width: 620px; }
nav.main a.on { color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 3px; }

.tbl-wrap { overflow-x: auto; margin-top: 56px; }
table.tbl { width: 100%; border-collapse: collapse; min-width: 560px; }
table.tbl th {
  font-family: 'Jost', sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  text-align: left;
  padding: 0 18px 14px 0;
  border-bottom: 1px solid var(--ink);
}
table.tbl td {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  padding: 16px 18px 16px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.tbl td:first-child { color: var(--ink); font-weight: 500; }
table.tbl td .ref { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 3px; }
table.tbl .y { color: var(--gold); font-weight: 600; white-space: nowrap; }
table.tbl .ok { color: var(--gold); }
table.tbl td.c { text-align: center; }
table.tbl th.c { text-align: center; padding-right: 0; }

.code-line {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 13.5px;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 18px;
  margin-top: 28px;
  overflow-x: auto;
  white-space: nowrap;
}
.code-line .k { color: var(--gold); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.chip {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
}

.phases { margin-top: 56px; border-bottom: 1px solid var(--line); }
.phase { display: grid; grid-template-columns: 130px 110px 1fr; gap: 26px; padding: 26px 0; border-top: 1px solid var(--line); align-items: baseline; }
.phase .ph-when { font-family: 'Jost', sans-serif; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.phase .ph-n { font-size: 30px; font-weight: 600; font-family: 'Archivo', sans-serif; letter-spacing: -0.02em; }
.phase .ph-n em { font-style: normal; color: var(--gold); }
.phase p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.7; }
.phase p b { color: var(--ink); font-weight: 600; }

@media (max-width: 920px) {
  .phase { grid-template-columns: 1fr; gap: 6px; }
  .page-hero { padding-top: 80px; }
}

/* ---------- reveal: no CSS-hidden state. Entrance animation is done via the
   Web Animations API in JS (fill: none) — if animations can't run, the page
   is simply fully visible. ---------- */

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  nav.main { display: none; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps.three { grid-template-columns: 1fr; }
  .ana-row { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
  .ana-cells { flex-wrap: wrap; row-gap: 20px; }
  .ana-arrow { display: none; }
  .ana-cell { flex: 1 1 40%; }
  .pp-scroll { grid-template-columns: 1fr; gap: 44px; }
  .pp-sticky { position: static; order: -1; }
  .pp-step { min-height: 0; padding: 20px 0; opacity: 1; }
  .italy-grid { grid-template-columns: 1fr; gap: 48px; }
  .pillars, .manager-points { grid-template-columns: 1fr; gap: 28px; }
  .timeline { grid-template-columns: 1fr; gap: 30px; padding-left: 26px; }
  .timeline::before { left: 5px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .tl-dot { position: absolute; margin-left: -26px; }
  .tl-year { margin-top: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 32px 24px; }
  .sec { padding: 80px 0; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .cta-btn { display: none; }
}

/* ---------- deploy: baked images (replace image-slot) ---------- */
.hero-fig .hero-photo {
  display: block;
  width: 100%;
  height: clamp(320px, 44vw, 560px);
  object-fit: cover;
  border-radius: 10px;
}
.italy-grid .italy-photo {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 10px;
}
