@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,380;0,9..144,480;0,9..144,560;0,9..144,620;1,9..144,480&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root{
  --bg: #eef2f6;
  --surface: #ffffff;
  --surface-2: #f7fafc;
  --ink: #1f2937;
  --muted: #5b6675;
  --rule: #dfe4ea;

  --blue: #123a5c;
  --blue-accent: #123a5c;
  --blue-soft: #dfe9f3;
  --orange: #e2711d;
  --orange-soft: #fbe6d2;
  --navy-deep: #0b2338;
  --paper: #f7fafc;

  --shadow: 0 1px 2px rgba(16,24,40,0.04), 0 10px 24px -16px rgba(16,24,40,0.16);
  --shadow-lg: 0 30px 60px -24px rgba(11,35,56,0.35);
  --serif: 'Fraunces', Georgia, 'Iowan Old Style', serif;
  --sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg: #10161d;
    --surface: #171f29;
    --surface-2: #1c2531;
    --ink: #eef2f6;
    --muted: #97a3b0;
    --rule: rgba(238,242,246,0.14);
    --blue-soft: #1c2e40;
    --blue-accent: #8fb8e6;
    --orange-soft: #3a2a18;
    --shadow: 0 1px 2px rgba(0,0,0,0.24), 0 10px 24px -16px rgba(0,0,0,0.5);
    --shadow-lg: 0 30px 60px -24px rgba(0,0,0,0.6);
  }
}
:root[data-theme="dark"]{
  --bg: #10161d;
  --surface: #171f29;
  --surface-2: #1c2531;
  --ink: #eef2f6;
  --muted: #97a3b0;
  --rule: rgba(238,242,246,0.14);
  --blue-soft: #1c2e40;
  --blue-accent: #8fb8e6;
  --orange-soft: #3a2a18;
  --shadow: 0 1px 2px rgba(0,0,0,0.24), 0 10px 24px -16px rgba(0,0,0,0.5);
  --shadow-lg: 0 30px 60px -24px rgba(0,0,0,0.6);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}
.side{ padding-inline: max(20px, calc((100% - 1120px)/2)); }
img{ max-width: 100%; display: block; }
a{ color: inherit; }
::selection{ background: var(--orange-soft); color: var(--navy-deep); }

h1,h2,h3{ font-family: var(--serif); text-wrap: balance; margin: 0; }
p{ margin: 0; }

.kicker{
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 14px;
}
.kicker .rule{ flex: 1; height: 1px; background: var(--rule); }

.btn{
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans);
  font-weight: 700; font-size: 14.5px; padding: 13px 22px; border-radius: 999px;
  text-decoration: none; border: 1px solid transparent; white-space: nowrap; cursor: pointer;
}
.btn.primary{ background: var(--orange); color: #2a1204; }
.btn.ghost{ background: transparent; color: var(--ink); border-color: var(--rule); }

/* ---------- NAV ---------- */
.nav{
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule);
}
.nav-row{ display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 13px; position: relative; }
.brand{ display: flex; align-items: center; gap: 13px; text-decoration: none; flex: none; }
.brand .mark{ width: 46px; height: auto; }
.brand .word{ font-family: var(--serif); font-size: 20px; letter-spacing: 0.015em; font-weight: 560; color: var(--ink); }
.navlinks{ display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.navlinks::-webkit-scrollbar{ display: none; }
.navlinks a{ text-decoration: none; white-space: nowrap; padding-block: 4px; }
.navlinks a:hover, .navlinks a.active{ color: var(--orange); }
.menu-btn{ display: none; border: 1px solid var(--rule); background: var(--surface); color: var(--ink); font: 700 13px var(--sans); padding: 9px 14px; border-radius: 999px; cursor: pointer; }
@media (max-width: 900px){
  .navlinks{ display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--rule); flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px max(20px, calc((100% - 1120px)/2)) 20px; }
  .navlinks.open{ display: flex; }
  .navlinks a{ padding-block: 8px; width: 100%; }
  .menu-btn{ display: inline-flex; }
}

/* ---------- HERO ---------- */
.hero{ position: relative; overflow: clip; background: var(--blue-soft); padding-block: 72px 0; }
.hero-grid{ position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 20px; align-items: center; }
@media (max-width: 860px){ .hero-grid{ grid-template-columns: 1fr; } }
.hero-inner{ position: relative; display: flex; flex-direction: column; gap: 26px; max-width: 640px; padding-block: 8px 56px; }
h1.hero-title{ font-weight: 560; font-size: clamp(34px, 5.6vw, 58px); line-height: 1.06; letter-spacing: -0.01em; }
h1.hero-title em{ font-style: italic; font-weight: 480; color: var(--orange); }
p.hero-lede{ max-width: 58ch; font-size: 18px; line-height: 1.65; color: var(--muted); }
.hero-actions{ display: flex; gap: 12px; flex-wrap: wrap; padding-top: 4px; }

.stat-row{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 8px; }
@media (max-width: 640px){ .stat-row{ grid-template-columns: repeat(2, 1fr); } }
.stat{ background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 16px 14px; box-shadow: var(--shadow); }
.stat .n{ font-family: var(--serif); font-size: 25px; font-weight: 560; color: var(--blue-accent); font-variant-numeric: tabular-nums; }
.stat .l{ font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ---------- HERO 3D EMBLEM ---------- */
.hero-3d{ position: relative; height: 380px; perspective: 1000px; }
@media (max-width: 860px){ .hero-3d{ display:none; } }
.float3d{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; animation: float3d 7s ease-in-out infinite; transform-style: preserve-3d; }
@keyframes float3d{ 0%,100%{ transform: translateY(0px);} 50%{ transform: translateY(-14px);} }
.scene3d{ position: relative; width: 260px; height: 260px; transform-style: preserve-3d; animation: spin3d 18s linear infinite; }
@keyframes spin3d{ from{ transform: rotateY(0deg) rotateX(10deg);} to{ transform: rotateY(360deg) rotateX(10deg);} }
.ring3d{ position: absolute; top: 20px; width: 190px; height: 190px; border-radius: 50%; border-style: solid; border-width: 24px; background: transparent; }
.ring3d.b{ left: 6px; border-color: var(--blue); transform: translateZ(38px); box-shadow: 0 30px 60px -18px rgba(18,58,92,0.55), inset 0 0 26px rgba(255,255,255,0.14); }
.ring3d.o{ left: 64px; border-color: var(--orange); transform: translateZ(-38px); box-shadow: 0 30px 60px -18px rgba(226,113,29,0.5), inset 0 0 26px rgba(255,255,255,0.16); }

/* ---------- SUB-PAGE HERO ---------- */
.pagehero{ background: var(--blue-soft); padding-block: 56px 50px; }
.crumb{ font-size: 12.5px; color: var(--muted); margin-bottom: 16px; }
.crumb a{ text-decoration: none; font-weight: 600; }
.crumb a:hover{ color: var(--orange); }
h1.pagetitle{ font-weight: 560; font-size: clamp(30px, 4.6vw, 46px); line-height: 1.08; letter-spacing: -0.01em; margin-bottom: 14px; }
p.pagelede{ max-width: 66ch; font-size: 17px; line-height: 1.65; color: var(--muted); }

/* ---------- BANDS ---------- */
.band{ padding-block: 72px; }
.band > .head{ display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; max-width: 720px; }
h2.htitle{ font-size: clamp(24px, 3.4vw, 32px); font-weight: 540; }
p.hsub{ color: var(--muted); font-size: 16px; max-width: 62ch; line-height: 1.65; }

.band-surface{ background: var(--surface); }
.band-blue{ background: var(--blue-soft); }
.band-orange{ background: var(--orange-soft); }
.band-navy{ background: var(--navy-deep); color: var(--paper); }
.band-navy .kicker{ color: #9fb4c8; }
.band-navy .kicker .rule{ background: rgba(247,250,252,0.18); }
.band-navy .htitle{ color: var(--paper); }
.band-navy .hsub{ color: #b9c6d3; }

/* ---------- TILT (shared) ---------- */
.tilt{ transform-style: preserve-3d; will-change: transform; transition: transform 0.35s ease; }

/* ---------- MITO ---------- */
.myth-intro{ max-width: 68ch; font-size: 16.5px; line-height: 1.75; margin-bottom: 40px; }
.myth-intro strong{ font-weight: 700; color: var(--orange); }
.myth-panels{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px){ .myth-panels{ grid-template-columns: 1fr; } }
.mpanel{ background: var(--surface); border-radius: 22px; padding: 26px 26px 30px; box-shadow: var(--shadow-lg); color: var(--ink); }
.mpanel .art{ width: 100%; aspect-ratio: 1/0.68; border-radius: 14px; overflow: hidden; margin-bottom: 20px; }
.mpanel .art svg{ width: 100%; height: 100%; display: block; }
.mpanel .art img{ width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.mtitle{ display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 20px; font-weight: 560; margin-bottom: 10px; }
.dot{ width: 11px; height: 11px; border-radius: 50%; flex: none; }
.mpanel.spring .dot{ background: var(--blue); }
.mpanel.seed .dot{ background: var(--orange); }
.mpanel p.mtext{ font-size: 15px; line-height: 1.65; color: var(--muted); }

.pullquote{
  margin-top: 36px; font-family: var(--serif); font-style: italic; font-weight: 480;
  font-size: clamp(19px, 2.6vw, 24px); line-height: 1.5;
  border-left: 3px solid var(--orange); padding-left: 22px; max-width: 62ch;
}

/* ---------- PRINCIPLES ---------- */
.principles{ display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; }
@media (max-width: 700px){ .principles{ grid-template-columns: 1fr; } }
.principle{ background: var(--surface); padding: 26px 26px; display: flex; gap: 16px; }
.pnum{ font-family: var(--serif); font-size: 15px; font-weight: 560; color: var(--orange); flex: none; padding-top: 2px; }
.ptext{ font-size: 15.5px; line-height: 1.6; }

/* ---------- MENTOR ---------- */
.mentor-wrap{ display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 20px; align-items: stretch; }
@media (max-width: 820px){ .mentor-wrap{ grid-template-columns: 1fr; } }
.myth-side{ font-size: 15.5px; line-height: 1.75; color: var(--muted); display: flex; flex-direction: column; gap: 14px; align-self: center; }
.myth-side strong{ color: var(--ink); font-weight: 700; }
.heroes{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.hchip{ font-size: 12.5px; font-weight: 600; background: var(--surface); border: 1px solid var(--rule); padding: 6px 12px; border-radius: 999px; color: var(--ink); }

.biocard{ background: var(--surface); border-radius: 22px; padding: 26px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 18px; }
.bio-top{ display: flex; gap: 18px; align-items: center; }
.bio-photo{ width: 96px; height: 96px; border-radius: 18px; overflow: hidden; flex: none; border: 1px solid var(--rule); }
.bio-photo img{ width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.bio-name{ font-family: var(--serif); font-size: 21px; font-weight: 560; }
.bio-role{ font-size: 13.5px; color: var(--orange); font-weight: 700; margin-top: 3px; }
.bio-text{ font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.bio-facts{ display: flex; flex-direction: column; gap: 9px; border-top: 1px solid var(--rule); padding-top: 16px; }
.bfact{ display: flex; gap: 10px; font-size: 13.5px; }
.bfact .k{ color: var(--muted); flex: none; width: 84px; }
.bfact .v{ font-weight: 600; }
.bio-more{ display: block; text-align: right; margin-top: 26px; font-size: 16.5px; font-weight: 700; color: var(--orange); text-decoration: none; }
.bio-more:hover{ text-decoration: underline; }

/* ---------- DIRIGENZA / CIVETTA ---------- */
.owl-wrap{ display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: center; }
@media (max-width: 820px){ .owl-wrap{ grid-template-columns: 1fr; } }
.owl-medal{ width: 100%; max-width: 300px; margin-inline: auto; aspect-ratio: 1/1; border-radius: 50%; background: radial-gradient(circle at 32% 26%, var(--surface), var(--blue-soft) 72%); box-shadow: var(--shadow-lg); padding: 26px; }
.owl-medal svg{ width: 100%; height: 100%; display: block; }
.owl-medal img{ width: 100%; height: 100%; display: block; object-fit: contain; }
.owl-text{ display: flex; flex-direction: column; gap: 16px; font-size: 16px; line-height: 1.75; }
.owl-text p strong{ color: var(--blue-accent); font-weight: 700; }
.owl-chips{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ochip{ font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em; background: var(--surface); border: 1px solid var(--rule); padding: 7px 13px; border-radius: 999px; color: var(--blue-accent); }

/* ---------- PIANO OPERATIVO / TIMELINE ---------- */
.plan-note{ max-width: 66ch; font-size: 15.5px; color: var(--muted); line-height: 1.7; margin-top: -8px; margin-bottom: 36px; }
.timeline{ display: flex; flex-direction: column; gap: 0; }
.tline-row{ display: grid; grid-template-columns: 128px 32px 1fr; }
@media (max-width: 620px){ .tline-row{ grid-template-columns: 96px 28px 1fr; } }
.tline-when{ font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); padding-top: 22px; }
.tline-rail{ display: flex; flex-direction: column; align-items: center; }
.tline-node{ width: 16px; height: 16px; border-radius: 50%; margin-top: 20px; border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--rule); flex: none; }
.tline-row:nth-child(1) .tline-node{ background: var(--blue); }
.tline-row:nth-child(2) .tline-node{ background: var(--orange); }
.tline-row:nth-child(3) .tline-node{ background: var(--blue); }
.tline-line{ width: 2px; flex: 1; background: var(--rule); margin-top: 4px; }
.tline-row:last-child .tline-line{ display: none; }
.tline-body{ padding: 16px 0 34px; }
.tline-title{ font-family: var(--serif); font-size: 18.5px; font-weight: 560; margin-bottom: 6px; }
.tline-text{ font-size: 14.5px; line-height: 1.65; color: var(--muted); max-width: 58ch; }

.cycle{ display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 44px; padding: 22px; background: var(--surface-2); border-radius: 16px; border: 1px solid var(--rule); }
.cycle-step{ font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--rule); }
.cycle-arrow{ color: var(--muted); font-size: 14px; }
.plan-caveat{ margin-top: 28px; font-size: 13.5px; color: var(--muted); line-height: 1.6; max-width: 62ch; border-top: 1px solid var(--rule); padding-top: 20px; }

.quicklinks{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
@media (max-width: 900px){ .quicklinks{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .quicklinks{ grid-template-columns: 1fr; } }
.qcard{ background: var(--blue-soft); border: 1px solid transparent; border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, border-color 0.28s ease; will-change: transform; }
.qcard h3{ font-family: var(--serif); font-size: 18px; font-weight: 560; transition: color 0.28s ease; }
.qcard p{ color: var(--muted); font-size: 14px; line-height: 1.6; flex: 1; }
.qcard .btn{ align-self: flex-start; margin-top: 4px; padding: 10px 18px; font-size: 13.5px; transition: background 0.28s ease, color 0.28s ease, border-color 0.28s ease; }
@media (hover: hover) and (pointer: fine){
  .qcard:hover, .qcard:focus-within{ transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--orange); background: var(--surface); }
  .qcard:hover h3{ color: var(--orange); }
  .qcard:hover .btn.ghost{ background: var(--orange); color: #2a1204; border-color: var(--orange); }
}
.qcard:focus-within{ transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--orange); background: var(--surface); }
.qcard:focus-within h3{ color: var(--orange); }
@media (prefers-reduced-motion: reduce){
  .qcard, .qcard h3, .qcard .btn{ transition: none; }
  .qcard:hover, .qcard:focus-within{ transform: none; }
}

/* ---------- PERCHÉ ATHENA ---------- */
.why-wrap{ display: flex; flex-direction: column; gap: 18px; max-width: 68ch; }
.why-wrap p{ font-size: 16px; line-height: 1.75; }

/* ---------- FILTER CHIPS ---------- */
.filters{ display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.fchip{ font-size: 12.5px; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--rule); color: var(--muted); }
.fchip.on{ background: var(--navy-deep); color: var(--paper); border-color: var(--navy-deep); }
.fchip.pending{ background: var(--orange-soft); color: #7a3d0e; border-color: transparent; }

/* ---------- CARD GRID (semi / diario) ---------- */
.grid3{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px){ .grid3{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px){ .grid3{ grid-template-columns: 1fr; } }
.scard{ background: var(--surface); border: 1px solid var(--rule); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; min-height: 240px; box-shadow: var(--shadow); }
.scard .meta{ font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange); }
.scard h3{ font-size: 21px; font-weight: 560; }
.scard p{ color: var(--muted); font-size: 14.5px; line-height: 1.6; flex: 1; }
.scard .link{ font-weight: 700; font-size: 13.5px; text-decoration: none; color: var(--blue-accent); margin-top: 4px; }
.placeholder{ border: 1.5px dashed var(--rule); border-radius: 18px; padding: 32px; text-align: center; color: var(--muted); font-size: 14.5px; line-height: 1.6; background: var(--surface-2); }

/* ---------- BIO / PROGETTISTA ---------- */
.bio-grid{ display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: start; }
@media (max-width: 780px){ .bio-grid{ grid-template-columns: 1fr; } }
.portrait{ width: 100%; border-radius: 20px; box-shadow: var(--shadow-lg); }
.bio-lede{ font-size: 17px; line-height: 1.7; color: var(--ink); margin-bottom: 18px; }
.bio-para{ font-size: 15.5px; line-height: 1.75; color: var(--muted); margin-bottom: 14px; }
.career{ border-left: 2px solid var(--rule); padding-left: 26px; display: flex; flex-direction: column; gap: 26px; margin-top: 30px; }
.career h3{ font-size: 19px; font-weight: 560; margin-bottom: 6px; }
.career p{ color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ---------- ATLANTE / GALLERY ---------- */
.gallery-group{ margin-bottom: 48px; }
.gallery-group:last-child{ margin-bottom: 0; }
.gallery-head{ display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.gallery-head .gicon{ width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: none; background: var(--blue-soft); }
.gallery-head .gicon svg{ width: 20px; height: 20px; }
.gallery-head h3{ font-size: 19px; font-weight: 560; }
.gallery-head .gcount{ font-size: 12.5px; color: var(--muted); font-weight: 600; margin-left: auto; }
.gallery-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px){ .gallery-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .gallery-grid{ grid-template-columns: 1fr; } }
.gcard{ border: 1.5px dashed var(--rule); border-radius: 16px; padding: 20px; min-height: 108px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); font-size: 13px; background: var(--surface-2); }

/* ---------- MATERIALI ---------- */
.material{ background: var(--surface); border: 1px solid var(--rule); border-radius: 20px; padding: 30px 30px 32px; box-shadow: var(--shadow); margin-bottom: 22px; }
.material:last-child{ margin-bottom: 0; }
.material-head{ display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 6px; flex-wrap: wrap; }
.material h3{ font-size: 22px; font-weight: 560; }
.material .mtag{ font-size: 11.5px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--blue-accent); background: var(--blue-soft); padding: 5px 11px; border-radius: 999px; }
.material .mdesc{ color: var(--muted); font-size: 15px; line-height: 1.65; margin-bottom: 20px; max-width: 68ch; }
.field-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 700px){ .field-grid{ grid-template-columns: 1fr; } }
.field{ background: var(--surface-2); border: 1px solid var(--rule); border-radius: 12px; padding: 14px 16px; }
.field .fk{ font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--orange); margin-bottom: 4px; }
.field .fv{ font-size: 13.5px; line-height: 1.55; color: var(--ink); }
.rubric{ width: 100%; border-collapse: collapse; font-size: 13.5px; }
.rubric th, .rubric td{ text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; line-height: 1.55; }
.rubric th{ font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 800; }
.rubric td:first-child, .rubric th:first-child{ font-weight: 700; white-space: nowrap; }
.rubric-wrap{ overflow-x: auto; border: 1px solid var(--rule); border-radius: 14px; }
.rubric-wrap .rubric{ min-width: 640px; }
.example-tag{ display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: #7a3d0e; background: var(--orange-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }

/* ---------- FOOTER / CONTATTI ---------- */
footer.band-navy{ padding-block: 72px; }
.cta-inner{ display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.cta-inner h2{ font-family: var(--serif); font-weight: 540; font-size: clamp(26px, 4vw, 38px); color: var(--paper); max-width: 20ch; }
.cta-inner p{ color: #b9c6d3; max-width: 56ch; font-size: 16px; line-height: 1.65; }
.cta-row{ display: flex; gap: 12px; flex-wrap: wrap; }
.foot-meta{ margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(247,250,252,0.14); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; width: 100%; }
.foot-brand{ display: flex; align-items: center; gap: 10px; }
.foot-brand .word{ font-family: var(--serif); font-size: 14.5px; color: var(--paper); }
.foot-credit{ font-size: 12.5px; color: #8ea2b5; max-width: 46ch; line-height: 1.6; }
.footlinks{ display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13.5px; }
.footlinks a{ text-decoration: none; color: #dce6ec; }
.footlinks a:hover{ color: var(--orange); }

/* ---------- ESSAY / NARRATIVE PROSE (progetto.html) ---------- */
.essay{ max-width: 74ch; }
.essay p{ font-size: 16.5px; line-height: 1.8; color: var(--ink); margin-bottom: 18px; }
.essay p:last-child{ margin-bottom: 0; }
.band-navy .essay p{ color: #dce6ec; }
.essay-link{ display: block; text-align: right; margin-top: 26px; font-weight: 700; font-size: 16.5px; text-decoration: none; color: var(--orange); }
.essay-link:hover{ text-decoration: underline; }
.band-navy .essay-link, .band-orange .essay-link{ color: var(--blue-accent); }
.band-navy .essay-link{ color: #ffb37a; }

/* ---------- PRINCIPLES, FULL VERSION (principi.html) ---------- */
.principles.full{ grid-template-columns: 1fr; }
.principles.full .principle{ flex-direction: column; gap: 6px; padding: 30px 32px; }
.principles.full .pnum{ font-size: 13px; letter-spacing: 0.08em; }
.principles.full .ptitle{ font-family: var(--serif); font-size: 19px; font-weight: 560; }
.principles.full .pextra{ color: var(--muted); font-size: 15px; line-height: 1.7; margin-top: 4px; }

.pull-quote{ font-family: var(--serif); font-weight: 480; font-style: italic; font-size: clamp(22px, 3.4vw, 30px); line-height: 1.5; max-width: 34ch; color: var(--paper); }
.pull-quote-attr{ margin-top: 18px; font-family: var(--sans); font-style: normal; font-size: 14px; color: #9fb4c8; }

/* ---------- LINK-OUT ROW (used on index.html to point to deep pages) ---------- */
.more-link{ display: block; text-align: right; margin-top: 30px; font-weight: 700; font-size: 16.5px; text-decoration: none; color: var(--orange); }
.more-link:hover{ text-decoration: underline; }
.band-navy .more-link{ color: #ffb37a; }
