/* ============================================================
   NATURE INSPIRATION · Camilla Costa
   Design system — editorial forest luxury
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Forest palette */
  --forest-950: #123D17;
  --forest-900: #1B5E20;
  --forest-800: #236B2A;
  --forest-700: #2C7834;
  --moss-600:   #2E7438;
  --moss-500:   #3F8B4A;
  --sage-400:   #94B987;
  --sage-300:   #C3DBB5;

  /* Paper / neutrals */
  --paper:      #f5f1e7;
  --paper-2:    #ece6d6;
  --paper-3:    #e2dac6;
  --bark:       #5c4a35;

  /* Accent — canopy sunlight */
  --sun:        #c08a3e;
  --sun-soft:   #d8ab63;

  /* Ink */
  --ink:        #1a211c;
  --ink-soft:   #43504592;

  /* Semantic */
  --bg:         var(--paper);
  --fg:         var(--ink);

  /* Type */
  --display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans:    "Outfit", "Helvetica Neue", Arial, sans-serif;

  /* Spatial */
  --container: 1280px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --section-y: clamp(5rem, 12vh, 11rem);
  --radius: 2px;

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

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* Subtle grain overlay on whole page */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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");
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.05; letter-spacing: -0.01em; }
.display-xl {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.025em;
  font-optical-sizing: auto;
}
.display-l { font-size: clamp(1.8rem, 3.8vw, 3.2rem); line-height: 1.0; font-weight: 400; letter-spacing: -0.02em; }
.display-m { font-size: clamp(1.5rem, 2.8vw, 2.4rem); font-weight: 400; }
.display-s { font-size: clamp(1.15rem, 1.8vw, 1.6rem); font-weight: 500; }
.serif-italic { font-family: var(--display); font-weight: 700; }

.kicker {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  color: var(--moss-600);
}
.kicker::before {
  content: "";
  width: 2rem; height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.kicker--center::after {
  content: "";
  width: 2rem; height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.lead { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.6; color: #2c352e; }
.muted { color: #4a554c; }
.measure { max-width: 56ch; }
.measure-sm { max-width: 44ch; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--wide { width: min(100% - 2 * var(--gutter), 1480px); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3.5rem, 8vh, 6rem); }
.grid { display: grid; gap: clamp(1.5rem, 4vw, 4rem); }
.center { text-align: center; }

/* section index numeral */
.sec-index {
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  color: var(--sun);
  letter-spacing: 0.02em;
}
.sec-index--calendar {
  color: var(--forest-900);
}

/* ---------- Buttons ---------- */
.btn {
  --bc: var(--forest-900);
  display: inline-flex; align-items: center; gap: 0.7em;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1.05em 1.9em;
  border-radius: 100px;
  position: relative;
  overflow: hidden;
  transition: color .5s var(--ease), border-color .5s var(--ease), transform .4s var(--ease);
  isolation: isolate;
}
.btn .arrow { transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--solid { background: var(--forest-900); color: var(--paper); }
.btn--solid::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--moss-600);
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn--solid:hover::before { transform: translateY(0); }
.btn--solid:hover { transform: translateY(-2px); }
.btn--ghost { border: 1px solid #2c352e3b; color: var(--forest-900); }
.btn--ghost::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--forest-900);
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn--ghost:hover { color: var(--paper); border-color: var(--forest-900); }
.btn--ghost:hover::before { transform: translateY(0); }
.btn--light { border: 1px solid #f5f1e74d; color: var(--paper); }
.btn--light::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--paper);
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn--light:hover { color: var(--forest-900); border-color: var(--paper); }
.btn--light:hover::before { transform: translateY(0); }

/* text link with animated underline */
.link-line {
  position: relative;
  font-weight: 600; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .6em;
  padding-bottom: 2px;
}
.link-line::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.link-line:hover::after { transform: scaleX(1); transform-origin: left; }
.link-line .arrow { transition: transform .45s var(--ease); }
.link-line:hover .arrow { transform: translateX(4px); }

/* ============================================================
   NAV — botanical editorial masthead
   Airy on hero · compact floating rail on scroll
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  padding: clamp(1rem, 2.2vw, 1.8rem) var(--gutter);
  color: var(--paper);
  transform: translateY(0);
  transition: transform .62s var(--ease), color .45s var(--ease);
  will-change: transform;
}
.nav.is-hidden { transform: translateY(calc(-100% - 1rem)); }
.nav::before { content: none; }
.nav__shell {
  width: 100%; min-height: 76px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: .65rem .7rem .65rem 1.15rem;
  border: 1px solid rgba(245,241,231,.18);
  background: linear-gradient(105deg, rgba(16,27,21,.22), rgba(16,27,21,.06));
  box-shadow: 0 18px 50px rgba(7,15,10,.08);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  transition: max-width .65s var(--ease), min-height .55s var(--ease),
    background .55s var(--ease), border-color .55s var(--ease),
    border-radius .55s var(--ease), box-shadow .55s var(--ease);
}
.nav.is-solid { color: var(--forest-950); }
.nav.is-solid .nav__shell {
  border-color: rgba(28,48,36,.12);
  background: rgba(245,241,231,.92);
  box-shadow: 0 14px 45px rgba(10,25,16,.16);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}
.nav__brand { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.nav__logo {
  height: 58px; width: auto; filter: brightness(0) invert(1);
  transition: height .5s var(--ease), filter .4s var(--ease);
}
.nav.is-solid .nav__logo { filter: brightness(0); }
.nav__end { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav__links {
  display: flex; align-items: center; gap: clamp(.9rem, 1.6vw, 1.8rem);
}
.nav__link {
  display: inline-flex; align-items: center;
  position: relative; padding: .5rem 0; overflow: hidden;
  font-size: .6rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  white-space: nowrap;
  opacity: .72; transition: opacity .3s var(--ease);
}
.nav__link span { transition: transform .4s var(--ease); }
.nav__link:hover, .nav__link:focus-visible { opacity: 1; }
.nav__link:hover span { transform: translateY(-2px); }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .25rem; height: 1px;
  background: currentColor; transform: translateX(-105%); transition: transform .5s var(--ease);
}
.nav__link:hover::after { transform: translateX(0); }
.nav__link--active { opacity: 1; }
.nav__link--active::after { transform: translateX(0); }
.nav__link--news {
  padding: .62rem .92rem;
  border-radius: 999px;
  background: #d96f28;
  color: #fff8ee;
  opacity: 1;
  box-shadow: 0 10px 24px rgba(130, 58, 17, .22);
  transition: opacity .3s var(--ease), transform .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
}
.nav__link--news::after { display: none; }
.nav__link--news:hover,
.nav__link--news:focus-visible {
  background: #b95518;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(130, 58, 17, .3);
}
.nav__link--news:hover span { transform: none; }
.nav__cta {
  min-height: 52px; display: inline-flex; align-items: center; gap: 1.15rem;
  padding: .45rem .45rem .45rem 1.2rem; border-radius: 2px;
  background: var(--paper); color: var(--forest-950);
  font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.nav__cta i {
  width: 40px; aspect-ratio: 1; display: grid; place-items: center;
  background: var(--moss-600); color: var(--paper); border-radius: 50%;
  font-family: var(--sans); font-style: normal; font-size: 1rem;
  transition: transform .5s var(--ease), background .35s var(--ease);
}
.nav.is-solid .nav__cta { background: var(--forest-900); color: var(--paper); }
.nav__cta:hover { transform: translateY(-2px); }
.nav__cta:hover i { transform: rotate(45deg); background: var(--sage-400); }
.nav__login {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(245,241,231,.22);
  background: rgba(245,241,231,.12);
  color: currentColor;
  transition: background .28s var(--ease), color .28s var(--ease), transform .28s var(--ease), border-color .28s var(--ease);
}
.nav__login svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav.is-solid .nav__login {
  background: var(--forest-900);
  border-color: var(--forest-900);
  color: var(--paper);
}
.nav__login:hover {
  transform: translateY(-2px);
  background: var(--moss-600);
  border-color: var(--moss-600);
  color: var(--paper);
}
.nav__burger { display: none; }
.nav__panel { display: none; }

@media (max-width: 1080px) {
  .nav__links { gap: 1.15rem; }
}
@media (max-width: 1240px) {
  .nav { padding: .75rem; }
  .nav__shell { min-height: 64px; padding: .5rem .6rem .5rem .8rem; }
  .nav__logo { height: 47px; }
  .nav__links { display: none; }
  .nav__cta  { display: none; }
  .nav__end { gap: .6rem; }
  .nav__login {
    width: 46px;
    height: 46px;
    background: var(--forest-900);
    border-color: var(--forest-900);
    color: var(--paper);
  }
  .nav__burger {
    display: grid; place-content: center; gap: 7px; z-index: 3;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--paper); color: var(--forest-950);
  }
  .nav__burger span {
    display: block; height: 1px; width: 19px; background: currentColor;
    transition: transform .4s var(--ease), opacity .3s;
  }
  .nav.is-open .nav__burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .nav.is-open { color: var(--paper); transform: none; }
  .nav.is-open .nav__shell { position: relative; z-index: 2; background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; }
  .nav.is-open .nav__logo { filter: brightness(0) invert(1); }
  .nav__panel {
    position: fixed; inset: 0; z-index: 1;
    width: 100%; height: 100dvh; min-height: 100svh;
    display: grid; grid-template-rows: auto 1fr auto; align-content: initial;
    overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
    scrollbar-width: none;
    padding: clamp(7rem, 14vh, 8.5rem) clamp(1.35rem, 7vw, 3rem) max(1.5rem, env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 88% 12%, rgba(136,165,135,.22), transparent 28%),
      linear-gradient(135deg, var(--forest-950), var(--forest-800));
    color: var(--paper); visibility: hidden; opacity: 0;
    clip-path: inset(0 0 100% 0); transition: clip-path .75s var(--ease), opacity .35s, visibility .75s;
  }
  .nav__panel::-webkit-scrollbar { display: none; }
  .nav__panel::after {
    content: ""; position: absolute; width: 48vw; aspect-ratio: 1; right: -20vw; bottom: -20vw;
    border: 1px solid rgba(245,241,231,.12); border-radius: 50%; box-shadow: 0 0 0 8vw rgba(245,241,231,.025);
  }
  .nav.is-open .nav__panel { visibility: visible; opacity: 1; clip-path: inset(0); }
  .nav__panel-kicker {
    margin-bottom: clamp(.9rem, 3vh, 1.8rem); color: var(--sage-300);
    font-size: .62rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  }
  .nav__panel-links { display: grid; align-self: center; }
  .nav__panel-links a {
    display: grid; grid-template-columns: 2rem 1fr auto; align-items: center; gap: .5rem;
    min-height: 58px; padding: .16em .15em; border-bottom: 1px solid rgba(245,241,231,.12);
    font-family: var(--display); font-weight: 400;
    font-size: clamp(1.75rem, 7.5vw, 2.75rem); opacity: 0; transform: translateY(20px);
    transition: opacity .5s var(--ease), transform .5s var(--ease), padding .35s var(--ease), color .35s;
  }
  .nav__panel-links a::after {
    content: "→"; font-family: var(--sans); font-style: normal; font-size: .8rem;
    color: var(--sage-300); opacity: .65; transition: transform .35s var(--ease), opacity .35s;
  }
  .nav__panel-links a:hover, .nav__panel-links a:focus-visible { padding-inline: .55rem; color: #fff; }
  .nav__panel-links a:hover::after, .nav__panel-links a:focus-visible::after { transform: translateX(4px); opacity: 1; }
  .nav__panel-links .nav__panel-news {
    margin-top: .6rem;
    padding: .35em .55em;
    border-bottom: 0;
    border-radius: 999px;
    background: #d96f28;
    color: #fff8ee;
  }
  .nav__panel-links .nav__panel-news::after { color: #fff8ee; opacity: .9; }
  .nav__panel-links small { font-family: var(--sans); font-style: normal; font-size: .55rem; color: var(--sage-300); }
  .nav.is-open .nav__panel-links a { opacity: 1; transform: none; }
  .nav.is-open .nav__panel-links a:nth-child(1) { transition-delay: .15s; }
  .nav.is-open .nav__panel-links a:nth-child(2) { transition-delay: .20s; }
  .nav.is-open .nav__panel-links a:nth-child(3) { transition-delay: .25s; }
  .nav.is-open .nav__panel-links a:nth-child(4) { transition-delay: .30s; }
  .nav.is-open .nav__panel-links a:nth-child(5) { transition-delay: .35s; }
  .nav.is-open .nav__panel-links a:nth-child(6) { transition-delay: .40s; }
  .nav.is-open .nav__panel-links a:nth-child(7) { transition-delay: .45s; }
  .nav__panel-meta {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    margin-top: clamp(1.25rem, 4vh, 2.5rem); padding-top: 1rem;
    border-top: 1px solid rgba(245,241,231,.2);
    font-size: .62rem; line-height: 1.4; letter-spacing: .08em; opacity: 0; transition: opacity .6s .48s;
  }
  .nav__panel-meta > span { max-width: 15rem; color: var(--sage-300); }
  .nav__panel-meta > a {
    flex-shrink: 0; padding: .8rem 1rem; border: 1px solid rgba(245,241,231,.25);
    border-radius: 100px; color: var(--paper); text-transform: uppercase; letter-spacing: .12em;
  }
  .nav.is-open .nav__panel-meta { opacity: .7; }
}
@media (max-width: 520px) {
  .nav__panel-meta { align-items: flex-start; }
  .nav__panel-meta > span { max-width: 10rem; }
  .nav__panel-meta > a { font-size: 0; }
  .nav__panel-meta > a::before { content: "Scrivimi ↗"; font-size: .62rem; }
}
@media (max-width: 560px) {
  .nav {
    padding: .55rem .5rem;
    width: 100vw;
    overflow: visible;
  }
  .nav__shell {
    position: relative;
    width: auto;
    max-width: calc(100vw - 1rem);
    min-width: 0;
    min-height: 58px;
    margin-inline: auto;
    padding: .42rem .46rem .42rem .58rem;
  }
  .nav__brand {
    min-width: 0;
    padding-right: 5.8rem;
  }
  .nav__logo {
    height: 39px;
    max-width: 188px;
    object-fit: contain;
  }
  .nav__end {
    position: absolute;
    top: 50%;
    right: .46rem;
    transform: translateY(-50%);
    flex: 0 0 auto;
    gap: .42rem;
  }
  .nav__login,
  .nav__burger {
    width: 40px;
    height: 40px;
  }
}
@media (max-width: 370px) {
  .nav__logo {
    height: 35px;
    max-width: 160px;
  }
  .nav__login {
    display: none;
  }
}
@media (max-width: 520px) and (max-height: 700px) {
  .nav__panel { padding-top: 5.5rem; }
  .nav__panel-kicker { display: none; }
  .nav__panel-links a { min-height: 48px; font-size: 1.55rem; }
  .nav__panel-meta { margin-top: .75rem; }
}

/* ============================================================
   HERO — editorial layout con posizionamento assoluto preciso
   ============================================================ */
.hero {
  position: relative;
  isolation: isolate; /* stacking context per contenere z-index:-1 del media */
  height: 100svh;
  min-height: 560px;
  color: var(--paper);
  overflow: hidden;
}

/* foto + overlay — z:-1 garantisce che stia sotto qualsiasi contenuto */
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 58% center;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg,
      rgba(12,21,15,0.88) 0%,
      rgba(12,21,15,0.62) 30%,
      rgba(12,21,15,0.10) 55%,
      rgba(12,21,15,0.20) 100%),
    linear-gradient(180deg,
      rgba(12,21,15,0.48) 0%,
      transparent 20%,
      transparent 65%,
      rgba(12,21,15,0.72) 100%);
}

/* kicker + titolo: centrati verticalmente nella metà sinistra */
.hero__center {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-55%);
  width: min(46%, 660px);
  padding-left: var(--gutter);
  padding-right: 2rem;
}
@media (max-width: 860px) { .hero__center { width: 90%; } }

.hero__kicker {
  color: var(--sage-300);
  margin-bottom: clamp(1rem, 2.5vh, 1.8rem);
}
.hero__kicker::before { background: var(--sage-300); }

/* Titolo — proporzionato alla larghezza del container (46vw) */
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.2rem, 3.8vw, 4rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  font-optical-sizing: auto;
}
.hero h1 em { font-style: italic; color: var(--sage-300); }
.hero h1 .dot { color: var(--sun-soft); }

/* barra inferiore: sub + CTA */
.hero__bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  padding: clamp(1.1rem, 2vh, 1.5rem) var(--gutter);
  border-top: 1px solid rgba(245,241,231,0.15);
  background: rgba(12,21,15,0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
@media (max-width: 680px) {
  .hero__bar { grid-template-columns: 1fr; }
}

.hero__sub {
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  color: #cdd5c7;
  line-height: 1.55;
  max-width: 54ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; flex-shrink: 0; }

/* scroll indicator — destra, sopra la barra */
.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(5rem, 12vh, 7.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.hero__scroll-label {
  writing-mode: vertical-rl;
  font-size: 0.58rem;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: rgba(245,241,231,0.40);
}
.hero__scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(var(--sage-300), transparent);
  position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--paper); animation: scrollPulse 2.2s var(--ease-soft) infinite;
}
@keyframes scrollPulse { 0% { top: -50%; } 60%,100% { top: 100%; } }

/* Hero redesign — botanical editorial cover */
.hero { min-height: 660px; }
.hero::before {
  content: ""; position: absolute; z-index: 0;
  inset: clamp(7rem, 16vh, 9.5rem) var(--gutter) clamp(7.5rem, 15vh, 9.5rem);
  border: 1px solid rgba(245,241,231,.12); pointer-events: none;
}
.hero__media img { object-position: 60% center; filter: saturate(.9) contrast(1.04); }
.hero__media::after {
  background:
    radial-gradient(circle at 59% 40%, transparent 0 16%, rgba(9,17,12,.08) 36%, transparent 55%),
    linear-gradient(96deg, rgba(9,17,12,.94) 0%, rgba(9,17,12,.73) 28%, rgba(9,17,12,.18) 53%, rgba(9,17,12,.08) 72%, rgba(9,17,12,.28) 100%),
    linear-gradient(180deg, rgba(8,16,11,.58) 0%, transparent 28%, transparent 58%, rgba(8,16,11,.88) 100%);
}
.hero__center {
  z-index: 1; top: 47%; left: var(--gutter); transform: translateY(-50%);
  width: min(54vw, 820px); padding: 0;
}
.hero__kicker { color: #d7e2d1; margin-bottom: clamp(1.2rem, 3vh, 2rem); letter-spacing: .24em; }
.hero__kicker span { color: var(--sage-400); font-size: .62rem; }
.hero h1 { font-size: clamp(3rem, 4.8vw, 5.6rem); line-height: .88; letter-spacing: -.035em; }
.hero h1 > span { display: block; white-space: nowrap; }
.hero h1 > span:last-child { margin-left: clamp(1.5rem, 5vw, 6rem); margin-top: .12em; }
.hero h1 i { font-style: normal; color: var(--sage-400); }
.hero__promise {
  margin: clamp(1.5rem, 3.5vh, 2.5rem) 0 0 clamp(1.75rem, 5vw, 6rem);
  padding-left: 1.1rem; border-left: 1px solid rgba(174,191,166,.55);
  font-family: var(--display); font-size: clamp(1rem, 1.25vw, 1.25rem);
  font-style: italic; line-height: 1.35; color: rgba(245,241,231,.72);
}
.hero__intro { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(1rem, 2vw, 1.8rem); }
.hero__bar-index {
  padding-top: .18rem; font-size: .56rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; writing-mode: vertical-rl; color: var(--sage-400);
}
.hero__sub { max-width: 52ch; font-size: clamp(.8rem, 1vw, .94rem); color: #d5ddd1; line-height: 1.6; }
.hero__discover { border-color: rgba(245,241,231,.3); color: var(--paper); }
.hero__scroll { bottom: clamp(7.5rem, 17vh, 10.5rem); z-index: 2; }
@media (max-width: 760px) {
  .hero { min-height: 680px; }
  .hero::before { inset: 6rem 1rem 10.5rem; }
  .hero__media img { object-position: 57% center; }
  .hero__media::after {
    background:
      linear-gradient(180deg, rgba(8,16,11,.55), transparent 30%, rgba(8,16,11,.08) 48%, rgba(8,16,11,.88) 78%, rgba(8,16,11,.96)),
      linear-gradient(90deg, rgba(8,16,11,.5), transparent 72%);
  }
  .hero__center { top: 51%; left: 1.25rem; width: calc(100% - 2.5rem); }
  .hero__kicker { margin-bottom: 1rem; font-size: .6rem; }
  .hero h1 { font-size: clamp(2.4rem, 12vw, 3.8rem); line-height: .9; }
  .hero h1 > span:last-child { margin-left: 1.25rem; }
  .hero__promise { margin: 1.25rem 0 0 1.4rem; font-size: .96rem; }
  .hero__bar { grid-template-columns: 1fr; gap: .85rem; padding: 1rem 1.25rem max(1.15rem, env(safe-area-inset-bottom)); }
  .hero__intro { display: block; }
  .hero__bar-index { display: none; }
  .hero__sub { font-size: .8rem; line-height: 1.5; max-width: 46ch; }
  .hero__actions { display: grid; grid-template-columns: 1fr auto; }
  .hero__actions .btn { justify-content: center; }
  .hero__scroll { display: none; }
}
@media (max-width: 380px) {
  .hero__promise { display: none; }
  .hero__center { top: 48%; }
  .hero__bar { padding-top: .8rem; }
}
@media (max-height: 700px) and (min-width: 760px) {
  .hero__promise { display: none; }
  .hero__sub { display: none; }
}

/* entrances — transition più affidabile di animation+fill */
.reveal-hero {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.hero.is-ready .reveal-hero { opacity: 1; transform: none; }
.hero.is-ready .reveal-hero.d1 { transition-delay: 0.10s; }
.hero.is-ready .reveal-hero.d2 { transition-delay: 0.28s; }
.hero.is-ready .reveal-hero.d3 { transition-delay: 0.50s; }
.hero.is-ready .reveal-hero.d4 { transition-delay: 0.66s; }

.hero__mobile-fade {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: clamp(6rem, 12vw, 11rem); z-index: 3; pointer-events: none;
  background: linear-gradient(to bottom, transparent, #f4f2ec);
}

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto { background: var(--paper); }
.manifesto__grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: end; }
@media (min-width: 880px) { .manifesto__grid { grid-template-columns: 1.4fr 1fr; } }
.manifesto__statement { font-weight: 400; }
.manifesto__statement em { color: var(--moss-600); }
.manifesto__aside { padding-bottom: 0.5rem; }

/* decorative leaf divider */
.leaf-rule { display: flex; align-items: center; gap: 1rem; color: var(--moss-500); margin: 2rem 0; }
.leaf-rule::before, .leaf-rule::after { content: ""; height: 1px; background: currentColor; opacity: .3; flex: 1; }
.leaf-rule svg { width: 26px; height: 26px; flex: none; opacity: .7; }

/* ============================================================
   ABOUT (preview)
   ============================================================ */
/* ---- Chi sono — layout full-bleed 50/50 ---- */
.about {
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
}
.about__inner {
  display: grid;
  grid-template-columns: 48% 1fr;
  min-height: 92vh;
}
@media (max-width: 860px) {
  .about__inner { grid-template-columns: 1fr; min-height: auto; }
}

/* foto flush left, senza bordi */
.about__figure {
  position: relative;
  overflow: hidden;
}
.about__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 20%;
  display: block;
  filter: saturate(0.95);
}
.about__figure figcaption {
  position: absolute;
  left: 0; bottom: 2rem;
  background: var(--forest-900);
  color: var(--paper);
  font-size: 0.68rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  padding: 0.65em 1.4em;
}
@media (max-width: 860px) {
  .about__figure { aspect-ratio: 4/3; }
  .about__figure img { height: 100%; }
}

/* contenuto: padding generoso, flex colonna */
.about__content {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(2.5rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about__kicker { color: var(--forest); }
.about__kicker::before { background: var(--forest); }

.about__title {
  font-family: var(--display);
  font-size: clamp(2rem, 3.4vw, 3.8rem);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 1.2rem 0 1.8rem;
}
.about__title em { font-style: normal; color: var(--moss-500); }

/* pull quote — linea a sinistra, Fraunces italic */
.about__quote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.5;
  color: var(--forest);
  border-left: 2px solid var(--sage-300);
  padding-left: 1.2rem;
  margin: 0 0 2rem;
  max-width: 38ch;
}

.about__bio {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.75;
  color: #2c352e;
  max-width: 50ch;
  margin-bottom: 2.8rem;
}

/* pillars: tre colonne, grandi numeri decorativi */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #2c352e20;
  margin-bottom: 2.5rem;
}
.pillar {
  padding: 1.4rem 1.4rem 1.4rem 0;
  border-right: 1px solid #2c352e18;
}
.pillar:last-child { border-right: none; padding-right: 0; }
.pillar__num {
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--sage-300);
  line-height: 1;
  display: block;
  margin-bottom: 0.6rem;
}
.pillar__title {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--forest-900);
  margin-bottom: 0.5rem;
}
.pillar__desc {
  font-size: 0.82rem;
  color: #4a554c;
  line-height: 1.55;
}

/* btn variante dark outline per sfondo chiaro */
.btn--outline-dark {
  border: 1px solid var(--forest-900);
  color: var(--forest-900);
  background: transparent;
  padding: 0.75em 1.6em;
  border-radius: 100px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background .3s, color .3s;
}
.btn--outline-dark:hover { background: var(--forest-900); color: var(--paper); }

/* ============================================================
   FOREST BATHING + BREATHING
   ============================================================ */
/* ============================================================
   FOREST BATHING — cinematic immersion, glass editorial card
   ============================================================ */
.forest {
  position: relative; overflow: hidden;
  color: var(--paper);
  padding: clamp(6rem, 13vh, 11rem) var(--gutter) clamp(5rem, 11vh, 9rem);
  isolation: isolate;
}
/* --- background photo + parallax --- */
.forest__media {
  position: absolute; inset: -12% 0; z-index: -2;
  will-change: transform;
}
.forest__media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 40%; display: block;
  filter: saturate(.85) brightness(.46) contrast(1.05);
}
.forest::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(8,18,12,0) 30%, rgba(6,13,9,.55) 100%),
    linear-gradient(to bottom, rgba(6,13,9,.55) 0%, rgba(6,13,9,.30) 30%, rgba(6,13,9,.55) 70%, rgba(6,13,9,.82) 100%);
}

/* --- layout --- */
.forest__content {
  position: relative;
  width: min(100%, var(--container)); margin-inline: auto;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: end;
}

/* eyebrow + heading */
.forest__head { align-self: end; }
.forest__tag {
  font-family: var(--sans); font-size: .68rem; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase; color: var(--sage-400);
  margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
  display: inline-flex; align-items: center; gap: .6rem;
}
.forest__star { color: var(--sun-soft); }
.forest__heading {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.4rem, 4.8vw, 5rem); line-height: .92;
  letter-spacing: -.045em; color: var(--paper); margin: 0;
}
.forest__heading .forest__line { display: block; }
.forest__heading em {
  font-style: normal; color: var(--sage-300);
}

/* glass card */
.forest__card {
  position: relative;
  padding: clamp(2rem, 3.5vw, 3rem);
  border-radius: 6px;
  background: linear-gradient(160deg, rgba(22,42,32,.62), rgba(12,24,18,.5));
  border: 1px solid rgba(245,241,231,.14);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.7);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  display: flex; flex-direction: column; gap: 1rem;
}
.forest__card::before {
  content: ""; position: absolute; left: 0; top: clamp(2rem,3.5vw,3rem); bottom: clamp(2rem,3.5vw,3rem);
  width: 2px; background: linear-gradient(var(--sage-400), transparent);
  border-radius: 2px;
}
.forest__card-index {
  font-family: var(--sans); font-size: .62rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--sage-400);
  margin-bottom: .2rem;
}
.forest__card p { font-size: clamp(.85rem, .95vw, .93rem); line-height: 1.8; color: rgba(245,241,231,.82); }
.forest__closer {
  margin-top: .4rem;
  font-family: var(--display);
  font-size: 1.08rem !important; color: var(--sage-300) !important;
}
.forest__expand {
  overflow: hidden;
  max-height: 0;
  transition: max-height .6s var(--ease);
}
.forest__expand.is-open { max-height: 600px; }
.forest__expand-inner { display: flex; flex-direction: column; gap: 1rem; padding-top: 1rem; }
.forest__read-more {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: .8rem;
  background: none; border: none; cursor: pointer; padding: 0;
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--sage-400);
  transition: color .3s var(--ease);
}
.forest__read-more:hover { color: var(--paper); }
.forest__read-more svg { width: .9rem; height: .9rem; transition: transform .45s var(--ease); }
.forest__read-more[aria-expanded="true"] svg { transform: rotate(180deg); }

@media (max-width: 920px) {
  .forest__content { grid-template-columns: 1fr; gap: 2.2rem; align-items: start; }
  .forest__heading { font-size: clamp(3rem, 12vw, 5rem); }
}
@media (max-width: 540px) {
  .forest__card { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}

/* ============================================================
   COLLABORAZIONI — two-line carousel
   ============================================================ */
.collab {
  position: relative;
  background: #fff;
  padding-block: clamp(3.6rem, 6.4vw, 5.6rem);
  overflow: hidden;
}
.collab::before,
.collab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(29,48,36,.12), transparent);
}
.collab::before { top: 0; }
.collab::after { bottom: 0; }
.collab__inner {
  position: relative;
  width: 100%;
  margin-inline: auto;
}
.collab__head {
  width: min(calc(100% - 2 * var(--gutter)), var(--container));
  margin-inline: auto;
}
.collab__kicker {
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(61,90,66,.64);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  margin: 0 0 clamp(1.6rem, 3vw, 2.35rem);
}
.collab__rows {
  display: grid;
  gap: 0;
  border-block: 1px solid rgba(29,48,36,.1);
}
.collab__band {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.collab__band + .collab__band {
  border-top: 1px solid rgba(29,48,36,.08);
}
.collab__track {
  display: flex;
  align-items: center;
  gap: clamp(2.8rem, 6vw, 6rem);
  width: max-content;
  will-change: transform;
  padding-block: clamp(1.1rem, 2.2vw, 1.55rem);
}
.collab__track--a { animation: collab-left 72s linear infinite; }
.collab__track--b { animation: collab-right 82s linear infinite; }
.collab__rows:hover .collab__track { animation-play-state: paused; }
@keyframes collab-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes collab-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.collab__chip {
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: .28rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(16,27,21,.94);
  white-space: nowrap;
  box-shadow: none;
  transition: color .22s var(--ease), transform .22s var(--ease), opacity .22s var(--ease);
}
.collab__chip:hover {
  color: var(--forest-950);
  transform: translateY(-1px);
  opacity: .74;
}
.collab__chip strong {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.7rem, 3vw, 3rem);
  font-weight: 400;
  line-height: .85;
  letter-spacing: -.035em;
}
.collab__chip small {
  max-width: 30ch;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--sans);
  font-size: .58rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(61,90,66,.62);
}
.collab__chip:hover small { color: rgba(61,90,66,.72); }
.collab__cta {
  width: fit-content;
  margin: clamp(1.65rem, 3.2vw, 2.4rem) auto 0;
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--sans);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--forest-950);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(29,48,36,.24);
  padding: 0 0 .35rem;
  box-shadow: none;
  transition: color .25s var(--ease);
}
.collab__cta:hover {
  color: var(--moss-600);
}
.collab__cta svg {
  width: .9rem;
  height: .9rem;
  transition: transform .28s var(--ease);
}
.collab__cta:hover svg { transform: translateX(4px); }
@media (max-width: 640px) {
  .collab { padding-block: 3.5rem; }
  .collab__track {
    gap: 2.4rem;
    padding-block: 1rem;
  }
  .collab__chip strong { font-size: 1.55rem; }
  .collab__chip small { font-size: .5rem; max-width: 22ch; }
}
@media (prefers-reduced-motion: reduce) {
  .collab__track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }
}

/* ============================================================
   COLLABORAZIONI PAGE
   ============================================================ */
.collab-page {
  background:
    radial-gradient(circle at 18% 0%, rgba(136,165,135,.18), transparent 30%),
    linear-gradient(180deg, #f7f4ec 0%, #f1eadc 100%);
  color: var(--forest-950);
  min-height: 100vh;
  padding-block: clamp(8rem, 13vw, 10.5rem) clamp(5rem, 9vw, 8rem);
}
.collab-page__hero {
  width: min(calc(100% - 2 * var(--gutter)), 1180px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.2rem, 2.6vw, 2rem);
  padding-bottom: clamp(2rem, 4vw, 3.2rem);
  border-bottom: 1px solid rgba(29,48,36,.16);
}
.collab-page__kicker {
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--moss-600);
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0;
}
.collab-page__hero h1 {
  font-family: var(--display);
  font-size: clamp(3.3rem, 8.4vw, 7.6rem);
  font-weight: 400;
  line-height: .86;
  letter-spacing: -.05em;
  margin: 0;
  max-width: 10ch;
}
.collab-page__hero p {
  max-width: 66ch;
  margin: 0;
  font-size: clamp(.98rem, 1.2vw, 1.1rem);
  line-height: 1.8;
  color: rgba(29,48,36,.68);
}
.collab-page__grid {
  width: min(calc(100% - 2 * var(--gutter)), 1180px);
  margin: clamp(2rem, 4vw, 3.4rem) auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
}
.collab-page__grid article {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .9rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  background:
    linear-gradient(180deg, rgba(255,255,255,.68), rgba(255,255,255,.38));
  border: 1px solid rgba(29,48,36,.1);
  box-shadow: 0 12px 34px rgba(16,27,21,.055);
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.collab-page__grid article::before {
  content: "";
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: var(--moss-500);
  opacity: .34;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.collab-page__grid article:hover {
  z-index: 1;
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 22px 54px rgba(16,27,21,.12);
}
.collab-page__grid article:hover::before {
  opacity: .85;
  transform: scale(1.2);
}
.collab-page__grid span {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  line-height: .98;
  letter-spacing: -.02em;
}
.collab-page__grid small {
  display: block;
  max-width: 32ch;
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(61,90,66,.7);
}
@media (min-width: 721px) and (max-width: 980px) {
  .collab-page__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .collab-page__grid { grid-template-columns: 1fr; }
  .collab-page__grid article { min-height: 104px; }
}

/* ============================================================
   PUBBLICAZIONI — book launch, dark editorial, 3-col
   ============================================================ */
/* ========== PUBBLICAZIONI ========== */
.pub {
  background: var(--forest-950);
  padding-block: clamp(5rem, 10vw, 9rem);
  color: var(--paper);
  overflow: hidden;
}
.pub__inner {
  width: min(calc(100% - 2 * var(--gutter)), 1200px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}
.pub__text {
  display: flex; flex-direction: column; align-items: flex-start;
}
.pub__label {
  font-family: var(--sans); font-size: .63rem; font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase; color: var(--sage-400);
  display: flex; align-items: center; gap: .6rem; margin-bottom: 2rem;
}
.pub__star { color: var(--sun-soft); }
.pub__title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.8rem, 4.5vw, 5.2rem);
  line-height: .86; letter-spacing: -.04em;
  color: var(--paper); margin: 0;
}
.pub__title em { font-style: italic; color: var(--sage-300); }
.pub__rule {
  width: 3rem; height: 1.5px;
  background: linear-gradient(to right, var(--sun-soft), transparent);
  margin: 2.4rem 0;
}
.pub__desc {
  font-size: clamp(.92rem, 1.05vw, 1.05rem); line-height: 1.82;
  color: rgba(245,241,231,.62); max-width: 40ch; margin: 0 0 1.6rem;
}
.pub__note {
  font-family: var(--display); font-style: italic;
  font-size: 1rem; color: var(--sage-300);
  border-left: 2px solid var(--sage-300);
  padding-left: 1rem;
  margin: 0 0 2.6rem;
  opacity: .85;
}
.pub__cta {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .9rem 2.2rem; border-radius: 999px;
  background: rgba(245,241,231,.1);
  border: 1.5px solid rgba(245,241,231,.3);
  color: var(--paper); text-decoration: none;
  font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .35s var(--ease), border-color .35s var(--ease), gap .35s var(--ease);
}
.pub__cta:hover {
  background: rgba(245,241,231,.18); border-color: rgba(245,241,231,.6); gap: 1.1rem;
}
.pub__cta svg { width: .9rem; height: .9rem; flex-shrink: 0; }

/* figura libro */
.pub__figure {
  margin: 0; position: relative;
  filter: drop-shadow(0 60px 80px rgba(0,0,0,.7)) drop-shadow(0 12px 32px rgba(0,0,0,.4));
  transition: transform .7s var(--ease), filter .7s var(--ease);
}
.pub__figure:hover {
  filter: drop-shadow(0 70px 90px rgba(0,0,0,.75)) drop-shadow(0 14px 36px rgba(0,0,0,.45));
  transform: translateY(-6px);
}
.pub__figure img {
  width: 100%; height: auto; display: block;
  border-radius: 4px;
}

/* mobile */
@media (max-width: 700px) {
  .pub__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .pub__figure {
    order: -1;
    width: min(300px, 80vw); margin-inline: auto;
  }
  .pub__title { font-size: clamp(3rem, 14vw, 4.5rem); }
}

/* btn--outline variant */
.btn--outline {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.6rem; border-radius: 100px;
  border: 1.5px solid rgba(245,241,231,.4); color: var(--paper);
  font-family: var(--sans); font-size: .8rem; font-weight: 600;
  letter-spacing: .04em; text-decoration: none;
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.btn--outline:hover { background: rgba(245,241,231,.1); border-color: var(--paper); }

@media (max-width: 900px) {
  .pub__inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
  .pub__inner { grid-template-columns: 1fr; }
  .pub__text, .pub__figure { grid-column: 1; grid-row: auto; }
  .pub__figure { width: min(280px, 70vw); margin-inline: auto; }
}

/* ============================================================
   EXPERIENCES
   ============================================================ */
.exp { background: var(--paper); }
.exp__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: clamp(2.5rem, 5vh, 4rem); }
.exp__head--center { flex-direction: column; align-items: center; text-align: center; }
.exp__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 680px) { .exp__grid { grid-template-columns: repeat(2, 1fr); } }
.expcard {
  position: relative; overflow: hidden; border-radius: var(--radius);
  min-height: clamp(360px, 42vw, 460px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.6rem; color: var(--paper); isolation: isolate;
  background: var(--forest-800);
}
.expcard__art { position: absolute; inset: 0; z-index: -2; margin: 0; }
.expcard__art img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; filter: saturate(.88) brightness(.72); transition: transform .8s var(--ease); }
.expcard:hover .expcard__art img { transform: scale(1.04); }
.expcard::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 30%, rgba(16,27,21,0.85) 100%);
  transition: background .5s var(--ease);
}
.expcard:hover::after { background: linear-gradient(180deg, rgba(16,27,21,0.25) 0%, rgba(16,27,21,0.92) 100%); }
.expcard__num { font-family: var(--display); font-size: 0.85rem; color: var(--sage-300); margin-bottom: auto; }
.expcard h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.expcard p { font-size: 0.88rem; color: #d3dacb; opacity: 0; max-height: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease), max-height .5s var(--ease); }
.expcard:hover p { opacity: 1; max-height: 8rem; transform: none; }
.expcard__tag { position: absolute; top: 1.3rem; right: 1.3rem; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--paper); border: 1px solid #ffffff40; border-radius: 100px; padding: .4em .9em; }
.expcard__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.expcard__arrow {
  flex-shrink: 0;
  width: 2.8rem; height: 2.8rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1.5px solid rgba(245,241,231,.55);
  color: var(--paper); text-decoration: none;
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.expcard__arrow svg { width: 1rem; height: 1rem; }
.expcard__arrow:hover { background: rgba(245,241,231,.15); border-color: var(--paper); transform: scale(1.08); }

/* ============================================================
   APPROACH (numbers / triad)
   ============================================================ */
.approach { background: var(--forest-950); color: var(--paper); }
.approach__grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem,5vw,3.5rem); }
@media (min-width: 820px) { .approach__grid { grid-template-columns: repeat(3, 1fr); } }
.triad { padding-top: 1.6rem; border-top: 1px solid #ffffff24; }
.triad__k { font-family: var(--display); color: var(--sun-soft); font-size: 1rem; }
.triad h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: .6rem 0 .8rem; }
.triad p { color: #c3ccbd; font-size: 0.95rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes { background: var(--paper-2); }
.quotes__track { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem,3vw,2.2rem); margin-top: 3rem; }
@media (min-width: 760px) { .quotes__track { grid-template-columns: repeat(3, 1fr); } }
.quote { background: var(--paper); border: 1px solid #2c352e1a; padding: 2rem 1.8rem; border-radius: var(--radius); display: flex; flex-direction: column; gap: 1.2rem; }
.quote__mark { font-family: var(--display); font-size: 3rem; line-height: 0.5; color: var(--sun); height: 1.2rem; }
.quote p { font-family: var(--display); font-size: 1.18rem; line-height: 1.45; font-weight: 400; color: #28332a; }
.quote__by { margin-top: auto; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: #59635a; }

/* ============================================================
   COLLABORATIONS
   ============================================================ */

/* ============================================================
   CTA
   ============================================================ */
/* ============================================================
   CONTATTI
   ============================================================ */
.contact {
  background: var(--forest-950);
  color: var(--paper);
  padding-block: clamp(6rem, 11vw, 10rem);
}
.contact__inner {
  width: min(calc(100% - 2 * var(--gutter)), 1180px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(4rem, 9vw, 11rem);
  align-items: center;
}

/* — editoriale sinistra — */
.contact__editorial { display: flex; flex-direction: column; }
.contact__label {
  font-family: var(--sans); font-size: .6rem; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase; color: var(--sage-400);
  display: flex; align-items: center; gap: .55rem; margin-bottom: 1.8rem;
}
.contact__heading {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(3rem, 5.2vw, 6.2rem);
  line-height: .85; letter-spacing: -.04em;
  color: var(--paper); margin: 0 0 2.2rem;
}
.contact__heading em { font-style: italic; color: var(--sage-300); }
.contact__sub {
  font-size: .97rem; line-height: 1.85;
  color: rgba(245,241,231,.52); max-width: 36ch; margin: 0 0 2.8rem;
}
.contact__mail {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--sans); font-size: .68rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--paper); text-decoration: none;
  border-bottom: 1px solid rgba(245,241,231,.22);
  padding-bottom: .3rem; width: fit-content;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.contact__mail:hover { color: var(--sage-300); border-color: var(--sage-300); }
.contact__mail .ui-arrow { width: .78rem; height: .78rem; opacity: .65; transition: transform .3s var(--ease), opacity .3s; }
.contact__mail:hover .ui-arrow { transform: translateX(4px); opacity: 1; }

.contact__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  width: fit-content;
  margin-top: .2rem;
  padding: .8rem 1rem .8rem .8rem;
  color: var(--paper);
  text-decoration: none;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(245,241,231,.75);
  border-radius: 6px;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.contact__whatsapp:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--paper);
  transform: translateY(-2px);
}
.contact__whatsapp img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  border-radius: 3px;
  background: #fff;
}
.contact__whatsapp-text {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.contact__whatsapp small {
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(245,241,231,.7);
}
.contact__whatsapp-text > span {
  font-family: var(--sans);
  font-size: .82rem;
  line-height: 1.4;
  color: rgba(245,241,231,.48);
}

/* — form — */
.contact__form-wrap { }
.contact__form { display: flex; flex-direction: column; gap: 1.1rem; }

.cfield-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.cfield { display: flex; flex-direction: column; gap: .5rem; }
.cfield label {
  font-family: var(--sans); font-size: .58rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(245,241,231,.42);
}
.cfield input,
.cfield textarea {
  width: 100%; box-sizing: border-box;
  background: rgba(255,255,255,.055);
  border: 1.5px solid rgba(245,241,231,.12);
  color: var(--paper);
  font-family: var(--sans); font-size: .97rem; line-height: 1.5;
  padding: .85rem 1.1rem;
  outline: none; border-radius: 3px;
  -webkit-appearance: none; appearance: none;
  transition: border-color .22s var(--ease), background .22s var(--ease), box-shadow .22s var(--ease);
}
.cfield input::placeholder,
.cfield textarea::placeholder { color: rgba(245,241,231,.2); }
.cfield input:focus,
.cfield textarea:focus {
  border-color: var(--sage-400);
  background: rgba(255,255,255,.08);
  box-shadow: 0 0 0 3px rgba(136,165,135,.13);
}
.cfield textarea { resize: none; min-height: 130px; }
.cfield--hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* custom select */
.cselect {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: .5rem;
  width: 100%; box-sizing: border-box;
  background: rgba(255,255,255,.055);
  border: 1.5px solid rgba(245,241,231,.12);
  border-radius: 3px;
  padding: .85rem 1.1rem;
  cursor: pointer; user-select: none;
  transition: border-color .22s var(--ease), background .22s var(--ease);
}
.cselect:focus,
.cselect.is-open { border-color: var(--sage-400); background: rgba(255,255,255,.08); outline: none; }
.cselect__val {
  font-family: var(--sans); font-size: .97rem; line-height: 1.5;
  color: rgba(245,241,231,.45);
  flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: color .2s;
}
.cselect.has-value .cselect__val { color: var(--paper); }
.cselect__chevron {
  flex-shrink: 0; color: var(--sage-400);
  transition: transform .25s var(--ease);
}
.cselect.is-open .cselect__chevron { transform: rotate(180deg); }

.cselect__list {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 100;
  background: var(--forest-800);
  border: 1px solid rgba(245,241,231,.14);
  border-radius: 3px;
  margin: 0; padding: .35rem 0; list-style: none;
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.cselect.is-open .cselect__list { opacity: 1; visibility: visible; transform: none; }

.cselect__opt {
  padding: .75rem 1.1rem;
  font-family: var(--sans); font-size: .95rem;
  color: rgba(245,241,231,.7);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.cselect__opt:hover { background: rgba(255,255,255,.07); color: var(--paper); }
.cselect__opt.is-selected { color: var(--sage-300); background: rgba(136,165,135,.1); }
.cselect__opt[data-value=""] { color: rgba(245,241,231,.35); font-style: italic; }

/* bottone */
.contact__submit {
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  width: 100%; padding: 1.1rem 2rem; margin-top: .6rem;
  background: var(--sage-400); border: none; cursor: pointer;
  color: var(--forest-950); font-family: var(--sans);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  border-radius: 3px;
  transition: background .28s var(--ease), gap .28s var(--ease), box-shadow .28s var(--ease);
}
.contact__submit:hover {
  background: var(--sage-300);
  gap: 1.15rem;
  box-shadow: 0 6px 24px rgba(136,165,135,.22);
}
.contact__submit:disabled { opacity: .5; cursor: not-allowed; }
.contact__submit-arrow { width: .85rem; height: .85rem; flex-shrink: 0; stroke-width: 2.8; }
.contact__submit-spinner {
  display: none; width: 1rem; height: 1rem;
  border: 2px solid rgba(16,27,21,.25); border-top-color: var(--forest-950);
  border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.contact__submit.is-loading .contact__submit-text,
.contact__submit.is-loading .contact__submit-arrow { display: none; }
.contact__submit.is-loading .contact__submit-spinner { display: block; }
.contact__feedback {
  font-family: var(--sans); font-size: .78rem; line-height: 1.5;
  color: var(--sage-300); min-height: 1.1rem; margin: .25rem 0 0; text-align: center;
}
.contact__feedback.is-error { color: #d4937a; }

@media (max-width: 820px) {
  .contact__inner { grid-template-columns: 1fr; gap: 3.5rem; align-items: start; }
  .contact__heading { font-size: clamp(3rem, 13vw, 5rem); }
  .contact__sub { max-width: none; }
}
@media (max-width: 480px) {
  .cfield-row { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #1B5E20; color: #c3ccbd; padding-block: clamp(3.5rem, 7vh, 5.5rem) 2rem; }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid #ffffff14; }
@media (min-width: 760px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .footer__top { grid-template-columns: 1.35fr .9fr .9fr 1fr; } }
.footer__brand img { height: 56px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1.2rem; }
.footer__brand p { max-width: 36ch; font-size: 0.92rem; }
.footer__col h4 { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage-400); margin-bottom: 1.1rem; font-weight: 600; }
.footer__col li { margin-bottom: 0.6rem; }
.footer__col a { font-size: 0.95rem; transition: color .3s; }
.footer__col a:hover { color: var(--paper); }
.footer__friends-note {
  max-width: 24ch;
  margin: 0;
  color: rgba(195,204,189,.56);
  font-size: .9rem;
  line-height: 1.55;
}
.footer__friends {
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.footer__friend {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: fit-content;
  max-width: 100%;
  text-decoration: none;
}
.footer__friend img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
  border-radius: 3px;
  background: rgba(245,241,231,.94);
  padding: .28rem;
}
.footer__friend-text {
  display: flex;
  flex-direction: column;
  gap: .12rem;
}
.footer__friend strong {
  color: rgba(245,241,231,.88);
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.25;
}
.footer__friend small {
  color: rgba(195,204,189,.56);
  font-family: var(--sans);
  font-size: .78rem;
  line-height: 1.35;
}
.footer__friend:hover strong { color: var(--paper); }
.footer__friend:hover small { color: rgba(245,241,231,.72); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-top: 1.8rem; font-size: 0.78rem; color: #8a948889; }
.footer__bottom a:hover { color: var(--paper); }
.footer__social {
  display: flex; gap: .9rem; margin-top: 1.4rem; align-items: center;
}
.footer__social a {
  display: flex; align-items: center; justify-content: center;
  color: rgba(195,204,189,.5);
  transition: color .25s var(--ease);
  text-decoration: none;
}
.footer__social a:hover { color: var(--paper); }

.footer__qr {
  display: inline-flex; flex-direction: row; align-items: center;
  gap: 1rem; margin-top: 1.4rem; text-decoration: none;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  padding: .8rem 1rem .8rem .8rem;
  transition: background .25s, border-color .25s;
}
.footer__qr:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); }
.footer__qr img {
  width: 68px; height: 68px; object-fit: cover;
  border-radius: 3px; background: #fff;
  display: block; flex-shrink: 0;
}
.footer__qr__text { display: flex; flex-direction: column; gap: .25rem; }
.footer__qr small {
  font-family: var(--sans); font-size: .62rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: rgba(195,204,189,.7);
}
.footer__qr span {
  font-family: var(--sans); font-size: .78rem;
  color: rgba(195,204,189,.45); line-height: 1.4;
}

.footer__devby {
  display: inline-flex; align-items: center; gap: .5rem;
  color: rgba(245,241,231,.35); font-size: .75rem; text-decoration: none;
  transition: color .25s;
}
.footer__devby:hover { color: rgba(245,241,231,.7); }
.footer__devby img { height: 18px; width: auto; opacity: .5; transition: opacity .25s; filter: brightness(0) invert(1); }
.footer__devby:hover img { opacity: .85; }

/* ============================================================
   DASHBOARD
   ============================================================ */
.dashboard-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 0%, rgba(195,219,181,.15), transparent 30%),
    #1B5E20;
  color: var(--paper);
}
.dashboard {
  width: min(calc(100% - 2 * var(--gutter)), 1240px);
  margin-inline: auto;
  padding-block: clamp(1.6rem, 4vw, 4rem) clamp(3rem, 7vw, 6rem);
}
.dashboard__back,
.dashboard__logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(245,241,231,.68);
  border-bottom: 1px solid rgba(245,241,231,.22);
  padding-bottom: .28rem;
  text-decoration: none;
}
.dashboard__back:hover,
.dashboard__logout:hover { color: var(--paper); }
.dashboard-login {
  width: min(100%, 520px);
  margin: clamp(3rem, 8vw, 6rem) auto 0;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  background: rgba(245,241,231,.94);
  color: var(--forest-950);
  border: 1px solid rgba(245,241,231,.22);
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
}
.dashboard__kicker {
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--moss-600);
  margin: 0 0 1rem;
}
.dashboard-login h1,
.dashboard__header h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: .86;
  letter-spacing: -.05em;
  font-weight: 400;
  margin: 0;
}
.dashboard__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin: clamp(2rem, 5vw, 3.4rem) 0 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(245,241,231,.14);
}
.dashboard__header p {
  max-width: 58ch;
  margin: 1.2rem 0 0;
  color: rgba(245,241,231,.6);
  line-height: 1.8;
}
.dashboard-panel {
  margin-top: 1rem;
  padding: clamp(1rem, 2.2vw, 1.45rem);
  background:
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(242,238,228,.95));
  color: var(--forest-950);
  border: 1px solid rgba(245,241,231,.38);
  box-shadow: 0 26px 70px rgba(0,0,0,.18);
}
.dashboard-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: .9rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid rgba(29,48,36,.1);
}
.dashboard-panel__head h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 400;
  margin: 0;
}
.dashboard-panel__head span {
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--moss-600);
}
.dashboard-form,
.dashboard-list {
  display: grid;
  gap: .72rem;
}
.dashboard-form--inline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
}
.dashboard-form label,
.dashboard-item label,
.dashboard-image__tag,
.dashboard-item__top span {
  display: grid;
  gap: .35rem;
  font-family: var(--sans);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(29,48,36,.62);
}
.dashboard-form input,
.dashboard-item input,
.dashboard-item textarea {
  width: 100%;
  border: 1px solid rgba(29,48,36,.12);
  background: rgba(255,255,255,.72);
  color: var(--forest-950);
  font-family: var(--sans);
  font-size: .9rem;
  line-height: 1.45;
  padding: .82rem .9rem;
  outline: none;
  border-radius: 4px;
}
.dashboard-item textarea { min-height: 7rem; resize: vertical; }
.dashboard-form input:focus,
.dashboard-item input:focus,
.dashboard-item textarea:focus {
  border-color: var(--moss-500);
  box-shadow: 0 0 0 3px rgba(79,112,79,.12);
}
.dashboard-form button,
.dashboard-list button,
.dashboard-actions button,
.dashboard__logout {
  width: fit-content;
  border: none;
  background: var(--forest-950);
  color: var(--paper);
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .95rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(7,20,13,.12);
}
.dashboard-form button:hover,
.dashboard-list button:hover,
.dashboard-actions button:hover,
.dashboard__logout:hover { background: var(--moss-600); }
.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(29,48,36,.1);
}
.dashboard-actions button:first-child {
  background: transparent;
  color: var(--forest-950);
  border: 1px solid rgba(29,48,36,.18);
  box-shadow: none;
}
.dashboard-item {
  display: grid;
  grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
  gap: clamp(.9rem, 2vw, 1.25rem);
  padding: .75rem;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(29,48,36,.1);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(29,48,36,.045);
}
.dashboard-item--activity {
  grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
}
.dashboard-item__content {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: .8rem;
  padding: .15rem .15rem .15rem 0;
}
.dashboard-item__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  min-height: 2.25rem;
}
.dashboard-item__fields {
  display: grid;
  grid-template-columns: minmax(135px, .52fr) minmax(180px, .82fr) minmax(220px, 1.2fr);
  gap: .7rem;
  align-items: start;
}
.dashboard-item__fields--activity {
  grid-template-columns: minmax(220px, .9fr) minmax(260px, 1.4fr);
}
.dashboard-item__remove {
  align-self: center;
  min-height: auto;
  padding: .6rem .82rem !important;
  background: rgba(29,48,36,.07) !important;
  color: rgba(29,48,36,.66) !important;
  border: 1px solid rgba(29,48,36,.08) !important;
  box-shadow: none !important;
  font-size: .58rem !important;
}
.dashboard-item__remove:hover {
  background: #7c3128 !important;
  color: var(--paper) !important;
}
.dashboard-image {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: .52rem;
  min-width: 0;
}
.dashboard-image__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(29,48,36,.08), rgba(136,165,135,.14));
  border: 1px solid rgba(29,48,36,.12);
  border-radius: 6px;
}
.dashboard-image__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dashboard-image__frame span {
  display: none;
}
.dashboard-image__frame.is-empty {
  display: grid;
  place-items: center;
  padding: 1rem;
}
.dashboard-image__frame.is-empty img {
  display: none;
}
.dashboard-image__frame.is-empty span {
  display: block;
  font-family: var(--sans);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(29,48,36,.45);
  text-align: center;
}
.dashboard-image__replace {
  cursor: pointer;
  width: 100%;
  text-align: center;
  border: 1px solid rgba(29,48,36,.16);
  background: rgba(255,255,255,.72);
  padding: .72rem .78rem;
  color: var(--forest-950);
  border-radius: 999px;
  transition: border-color .2s ease, background .2s ease;
}
.dashboard-image__replace:hover {
  border-color: var(--moss-500);
  background: rgba(255,255,255,.86);
}
.dashboard-image__replace input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.dashboard-item--new {
  border-style: dashed;
  background: rgba(136,165,135,.1);
}
.news-card__text,
.ap-card__text {
  margin: .5rem 0 0;
  font-family: var(--sans);
  font-size: .86rem;
  line-height: 1.55;
  color: #5a6e60;
}
.news-card__img--empty,
.ap-card__img--empty {
  display: grid;
  place-items: center;
  padding: 1.2rem;
  cursor: default;
}
.news-card__img--empty span,
.ap-card__img--empty span {
  max-width: 18ch;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: .95;
  color: var(--forest-950);
  text-align: center;
}
.dashboard__notice,
.dashboard__error {
  margin: 1rem 0;
  padding: .85rem 1rem;
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 700;
  background: rgba(245,241,231,.92);
  color: var(--moss-600);
}
.dashboard__error { color: #9c4f3e; }
@media (max-width: 900px) {
  .dashboard__header,
  .dashboard-form--inline,
  .dashboard-item,
  .dashboard-item__fields,
  .dashboard-item__fields--activity {
    grid-template-columns: 1fr;
  }
  .dashboard__header { display: grid; }
  .dashboard-item__content { padding: 0; }
}

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .1s; }
[data-reveal][data-delay="2"] { transition-delay: .2s; }
[data-reveal][data-delay="3"] { transition-delay: .3s; }
[data-reveal][data-delay="4"] { transition-delay: .4s; }

/* scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--sage-400); z-index: 1001; }

/* utilities */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mb-2 { margin-bottom: 2rem; }
.flex-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ============================================================
   HERO V3 — split editorial cover
   Header intentionally untouched
   ============================================================ */
@media (min-width: 761px) {
  .hero::after {
    content: ""; position: absolute; z-index: 0;
    inset: clamp(7rem, 16vh, 9.5rem) auto 0 0; width: 42%;
    background: linear-gradient(135deg, rgba(245,241,231,.98), rgba(231,237,225,.94));
    box-shadow: 28px 0 70px rgba(7,18,11,.12);
  }
  .hero::before { z-index: 1; border-color: rgba(34,57,42,.16); mix-blend-mode: multiply; }
  .hero__media::after {
    background:
      linear-gradient(180deg, rgba(8,16,11,.42), transparent 28%, transparent 60%, rgba(8,16,11,.82)),
      linear-gradient(90deg, transparent 38%, rgba(8,16,11,.06) 55%, rgba(8,16,11,.16));
  }
  .hero__center { z-index: 2; top: 45%; width: 34vw; color: var(--forest-950); }
  .hero__kicker { color: var(--moss-600); letter-spacing: .19em; }
  .hero__kicker::before { background: var(--moss-600); }
  .hero__kicker span { color: var(--moss-500); }
  .hero h1 { font-size: clamp(2.8rem, 4.6vw, 5rem); line-height: .88; }
  .hero h1 > span:last-child { margin-left: clamp(1rem, 3.2vw, 3.8rem); }
  .hero h1 em { color: var(--moss-500); }
  .hero h1 i { color: var(--sage-400); }
  .hero__promise {
    margin-left: clamp(1rem, 3.2vw, 3.8rem); color: rgba(22,36,28,.66);
    border-left-color: rgba(61,90,66,.42);
  }
  .hero__bar {
    grid-template-columns: calc(42vw - var(--gutter)) 1fr auto;
    background: linear-gradient(90deg, rgba(245,241,231,.98) 0 42%, rgba(8,18,12,.82) 42% 100%);
    border-top-color: rgba(245,241,231,.22);
  }
  .hero__bar-index { color: var(--moss-600); }
  .hero__sub { color: #3d4d41; }
  .hero__stamp {
    position: absolute; z-index: 2; right: clamp(2.5rem, 5vw, 6rem); top: 39%;
    width: clamp(125px, 10vw, 156px); aspect-ratio: 1; border-radius: 50%;
    display: grid; place-content: center; justify-items: center; text-align: center;
    border: 1px solid rgba(245,241,231,.42); color: var(--paper);
    background: rgba(13,31,20,.28); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px);
    box-shadow: 0 20px 60px rgba(7,18,11,.18), inset 0 0 0 7px rgba(245,241,231,.035);
  }
  .hero__stamp::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(245,241,231,.14); border-radius: 50%; }
  .hero__stamp span { font-size: .5rem; letter-spacing: .16em; text-transform: uppercase; opacity: .72; }
  .hero__stamp strong { margin-top: .35rem; font-family: var(--display); font-size: clamp(1.15rem, 1.55vw, 1.5rem); font-weight: 400; line-height: .9; }
  .hero__stamp strong em { color: var(--sage-300); font-weight: 400; }
  .hero__stamp i { margin-top: .45rem; font-family: var(--sans); font-size: .85rem; font-style: normal; color: var(--sage-300); }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .hero::after { width: 46%; }
  .hero__center { width: 39vw; }
  .hero__bar {
    grid-template-columns: 1fr auto;
    background: linear-gradient(90deg, rgba(245,241,231,.98) 0 46%, rgba(8,18,12,.84) 46% 100%);
  }
  .hero__stamp { right: 2rem; }
}

@media (max-width: 760px) {
  .hero__stamp { display: none; }
  .hero::before { border-color: rgba(245,241,231,.16); }
  .hero__center { color: var(--paper); }
  .hero__kicker { color: #d7e2d1; }
  .hero__kicker::before { background: var(--sage-300); }
  .hero h1 em { color: var(--sage-300); }
  .hero__promise { color: rgba(245,241,231,.74); border-left-color: rgba(174,191,166,.55); }
  .hero__bar { background: linear-gradient(90deg, rgba(8,18,12,.94), rgba(8,18,12,.76)); }
  .hero__sub { color: #d5ddd1; }
}

/* ============================================================
   HERO V4 — cinematic forest, rebuilt without light panels
   Header intentionally untouched
   ============================================================ */
.hero { background: var(--forest-950); }
.hero::after { display: none !important; }
.hero::before {
  z-index: 1; mix-blend-mode: normal;
  inset: clamp(7rem, 16vh, 9.5rem) var(--gutter) clamp(7.5rem, 15vh, 9.5rem);
  border-color: rgba(245,241,231,.13);
}
.hero__media img { object-position: 60% center; filter: saturate(.88) contrast(1.06) brightness(.92); }
.hero__media::after {
  background:
    radial-gradient(circle at 61% 38%, transparent 0 15%, rgba(6,15,9,.06) 33%, transparent 52%),
    linear-gradient(95deg, rgba(6,15,9,.94) 0%, rgba(6,15,9,.78) 27%, rgba(6,15,9,.24) 51%, rgba(6,15,9,.04) 70%, rgba(6,15,9,.24) 100%),
    linear-gradient(180deg, rgba(6,15,9,.52) 0%, transparent 26%, transparent 56%, rgba(6,15,9,.92) 100%);
}
.hero__center {
  z-index: 2; top: 47%; left: var(--gutter); width: min(48vw, 760px);
  color: var(--paper); padding: 0; transform: translateY(-50%);
}
.hero__center::after {
  content: ""; display: block; width: clamp(3rem, 6vw, 6rem); height: 1px;
  margin: clamp(1.5rem, 3vh, 2.25rem) 0 0 clamp(1.5rem, 4vw, 4.5rem);
  background: linear-gradient(90deg, var(--sage-300), transparent);
}
.hero__kicker { color: #eef4eb; font-size: clamp(.78rem, 1vw, .95rem); font-weight: 600; letter-spacing: .28em; line-height: 1.3; margin-bottom: clamp(1.2rem, 3vh, 2rem); text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.hero__kicker::before { background: var(--sage-300); }
.hero__kicker span { color: var(--sage-400); }
.hero h1 { font-size: clamp(3rem, 4.8vw, 5.6rem); line-height: .88; letter-spacing: -.035em; }
.hero h1 > span:last-child { margin-left: clamp(1.5rem, 4.5vw, 5.5rem); }
.hero h1 em { color: var(--sage-300); }
.hero h1 i { color: var(--sage-400); }
.hero__promise {
  margin-left: clamp(1.5rem, 4.5vw, 5.5rem); color: rgba(245,241,231,.72);
  border-left-color: rgba(174,191,166,.55);
}
.hero__stamp { display: none !important; }
.hero__bar {
  z-index: 2; grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  padding: clamp(1.25rem, 2.6vh, 2rem) var(--gutter);
  background: linear-gradient(90deg, rgba(6,16,10,.92), rgba(6,16,10,.72));
  border-top-color: rgba(245,241,231,.16);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.hero__bar-index { color: var(--sage-400); }
.hero__sub { color: #d5ddd1; max-width: 60ch; }
.hero__actions { flex-shrink: 0; }
@media (max-width: 760px) {
  .hero::before { inset: 6rem 1rem 10.5rem; }
  .hero__media img { object-position: 57% center; }
  .hero__media::after {
    background:
      linear-gradient(180deg, rgba(6,15,9,.52), transparent 27%, rgba(6,15,9,.06) 48%, rgba(6,15,9,.72) 72%, rgba(6,15,9,1) 100%),
      linear-gradient(90deg, rgba(6,15,9,.48), transparent 74%);
  }
  .hero__center { top: 51%; left: 1.25rem; width: calc(100% - 2.5rem); }
  .hero__center::after { margin-left: 1.4rem; }
  .hero h1 { font-size: clamp(2.4rem, 12vw, 3.8rem); }
  .hero h1 > span:last-child { margin-left: 1.25rem; }
  .hero__promise { margin-left: 1.4rem; }
  .hero__bar { display: none; }
}

/* Hero frame removed */
.hero::before { display: none; }

/* ============================================================
   ABOUT — editorial, foto contenuta
   ============================================================ */
.about {
  background: #f4f2ec;
  padding-block: clamp(6rem, 11vw, 10rem);
}
.about__inner-wrap {
  width: min(calc(100% - 2 * var(--gutter)), 1180px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(260px, .72fr) 1fr;
  align-items: center;
  gap: clamp(3.5rem, 7vw, 8rem);
}

/* foto */
.about__photo {
  margin: 0; overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 24px 64px rgba(10,20,14,.13);
  aspect-ratio: 4 / 5;
}
.about__photo img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 35%; display: block;
  filter: saturate(.9) contrast(1.03);
}

/* contenuto */
.about__prose {
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.about__prose > * { position: relative; z-index: 1; }

.about__tag {
  font-family: var(--sans); font-size: .7rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase; color: var(--moss-600);
  display: flex; align-items: center; gap: .8rem; margin-bottom: 1.5rem;
}
.about__tag::before {
  content: ""; display: block; width: 2rem; height: 1px;
  background: var(--moss-600); flex-shrink: 0;
}

.about__heading {
  font-family: var(--display); font-size: clamp(2.2rem, 3.8vw, 4rem);
  font-weight: 400; line-height: .9; letter-spacing: -.04em;
  color: var(--forest-950); margin: 0 0 2.2rem;
}

.about__pull {
  margin: 0 0 2rem; padding: 0 0 0 1.3rem;
  border-left: 2px solid var(--moss-500);
  font-family: var(--display);
  font-size: clamp(.98rem, 1.2vw, 1.15rem); line-height: 1.55;
  color: var(--moss-600); max-width: 36ch;
}

.about__body { display: flex; flex-direction: column; gap: .9rem; margin-bottom: 2.5rem; }
.about__body p { font-size: .95rem; line-height: 1.82; color: #4a5a4d; max-width: 50ch; }

.about__cta { align-self: flex-start; }

@media (max-width: 860px) {
  .about__inner-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .about__photo { aspect-ratio: 4 / 3; max-width: 480px; }
}
@media (max-width: 540px) {
  .about__heading { font-size: clamp(3rem, 13vw, 4rem); }
  .about__prose::before { display: none; }
}

/* ============================================================
   HOME — forest green palette refresh
   ============================================================ */
.home-page {
  --forest-950: #123D17;
  --forest-900: #1B5E20;
  --forest-800: #236B2A;
  --forest-700: #2C7834;
  --moss-600: #2E7438;
  --moss-500: #3F8B4A;
  --sage-400: #94B987;
  --sage-300: #C3DBB5;
  --ink: #172318;
  --ink-soft: rgba(23,35,24,.68);
}

.home-page .scroll-progress {
  background: var(--forest-900);
}

.home-page .btn--solid {
  background: var(--forest-900);
  box-shadow: 0 14px 28px rgba(27,94,32,.15);
}
.home-page .btn--solid::before {
  background: var(--forest-950);
}
.home-page .btn--ghost {
  border-color: rgba(27,94,32,.28);
  color: var(--forest-900);
}
.home-page .btn--ghost::before {
  background: var(--forest-900);
}
.home-page .btn--ghost:hover {
  border-color: var(--forest-900);
}

.home-page .about {
  background:
    linear-gradient(180deg, #f4f2ec 0%, #eef3e9 100%);
}
.home-page .about__photo {
  box-shadow: 0 28px 70px rgba(18,61,23,.16);
}
.home-page .about__tag,
.home-page .about__tag::before {
  color: var(--forest-900);
}
.home-page .about__tag::before {
  background: var(--forest-900);
}
.home-page .about__heading {
  color: var(--forest-950);
}
.home-page .about__body p {
  color: rgba(23,35,24,.76);
}

.home-page .forest__media img {
  filter: saturate(.98) brightness(.52) contrast(1.04);
}
.home-page .forest::before {
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(27,94,32,.08) 25%, rgba(18,61,23,.52) 100%),
    linear-gradient(to bottom, rgba(18,61,23,.54) 0%, rgba(18,61,23,.28) 32%, rgba(18,61,23,.58) 72%, rgba(18,61,23,.84) 100%);
}
.home-page .forest__card {
  background: linear-gradient(160deg, rgba(27,94,32,.72), rgba(18,61,23,.58));
  border-color: rgba(195,219,181,.24);
}
.home-page .forest__card::before {
  background: linear-gradient(var(--sage-300), transparent);
}
.home-page .forest__tag,
.home-page .forest__card-index,
.home-page .forest__read-more {
  color: var(--sage-300);
}

.home-page .collab {
  background: #f8faf4;
}
.home-page .collab::before,
.home-page .collab::after {
  background: linear-gradient(90deg, transparent, rgba(27,94,32,.18), transparent);
}
.home-page .collab__rows {
  border-block-color: rgba(27,94,32,.13);
}
.home-page .collab__band + .collab__band {
  border-top-color: rgba(27,94,32,.1);
}
.home-page .collab__kicker,
.home-page .collab__chip small,
.home-page .collab__chip:hover small {
  color: rgba(27,94,32,.66);
}
.home-page .collab__chip {
  color: rgba(18,61,23,.96);
}
.home-page .collab__chip:hover {
  color: var(--forest-900);
}
.home-page .collab__cta {
  color: var(--forest-900);
  border-bottom-color: rgba(27,94,32,.36);
}
.home-page .collab__cta:hover {
  color: var(--forest-950);
}

.home-page .pub {
  background:
    radial-gradient(circle at 82% 12%, rgba(148,185,135,.18), transparent 32%),
    linear-gradient(145deg, #123D17 0%, #1B5E20 100%);
}
.home-page .pub__title em,
.home-page .pub__note,
.home-page .pub__label {
  color: var(--sage-300);
}
.home-page .pub__desc {
  color: rgba(245,241,231,.72);
}
.home-page .pub__rule {
  background: linear-gradient(to right, var(--sage-300), transparent);
}
.home-page .pub__cta {
  background: var(--paper);
  border-color: rgba(245,241,231,.68);
  color: var(--forest-950);
}
.home-page .pub__cta:hover {
  background: var(--sage-300);
  border-color: var(--sage-300);
}
.home-page .pub__figure {
  filter: drop-shadow(0 58px 78px rgba(18,61,23,.42)) drop-shadow(0 12px 30px rgba(0,0,0,.25));
}

.home-page .exp {
  background:
    linear-gradient(180deg, var(--paper) 0%, #eef3e9 100%);
}
.home-page .sec-index--calendar {
  color: var(--forest-900);
}
.home-page .expcard {
  background: var(--forest-900);
}
.home-page .expcard__art img {
  filter: saturate(.96) brightness(.76);
}
.home-page .expcard::after {
  background: linear-gradient(180deg, rgba(18,61,23,.05) 28%, rgba(18,61,23,.88) 100%);
}
.home-page .expcard:hover::after {
  background: linear-gradient(180deg, rgba(27,94,32,.24) 0%, rgba(18,61,23,.92) 100%);
}
.home-page .expcard__num {
  color: var(--sage-300);
}
.home-page .expcard__arrow:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--forest-900);
}

.home-page .contact {
  background:
    radial-gradient(circle at 18% 0%, rgba(195,219,181,.13), transparent 30%),
    #1B5E20;
}
.home-page .contact__label,
.home-page .contact__heading em,
.home-page .contact__feedback {
  color: var(--sage-300);
}
.home-page .contact__sub {
  color: rgba(245,241,231,.68);
}
.home-page .contact__whatsapp,
.home-page .cfield input,
.home-page .cfield textarea,
.home-page .cselect {
  background: rgba(245,241,231,.08);
  border-color: rgba(245,241,231,.2);
}
.home-page .contact__whatsapp:hover,
.home-page .cfield input:focus,
.home-page .cfield textarea:focus,
.home-page .cselect:focus,
.home-page .cselect.is-open {
  background: rgba(245,241,231,.13);
  border-color: var(--sage-300);
  box-shadow: 0 0 0 3px rgba(195,219,181,.14);
}
.home-page .cselect__list {
  background: var(--forest-950);
}
.home-page .contact__submit {
  background: var(--paper);
  color: var(--forest-950);
  box-shadow: 0 14px 30px rgba(18,61,23,.28);
}
.home-page .contact__submit:hover {
  background: var(--sage-300);
  box-shadow: 0 16px 34px rgba(18,61,23,.34);
}

.home-page .footer {
  background: #1B5E20;
  color: rgba(245,241,231,.74);
}
.home-page .footer__top {
  border-bottom-color: rgba(195,219,181,.16);
}
.home-page .footer__col h4,
.home-page .footer__qr small {
  color: var(--sage-300);
}
.home-page .footer__qr {
  border-color: rgba(195,219,181,.28);
}
.home-page .footer__qr:hover {
  background: rgba(245,241,231,.1);
  border-color: rgba(195,219,181,.5);
}

/* ============================================================
   BLOG PUBLIC PAGE
   ============================================================ */
.blog-page {
  background: #f5f1e7;
  color: var(--forest-950);
}
.blog-page p,
.blog-page h1,
.blog-page h2 {
  overflow-wrap: break-word;
}
.blog-page .nav {
  background: #1B5E20;
}
.blog-page .container {
  max-width: calc(100vw - 2.5rem);
}
.blog-hero {
  padding: clamp(8rem, 17vw, 12rem) 0 clamp(4rem, 9vw, 7rem);
  background:
    linear-gradient(135deg, rgba(27,94,32,.95), rgba(18,61,23,.98)),
    #1B5E20;
  color: var(--paper);
}
.blog-hero__inner {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  max-width: 880px;
}
.blog-kicker {
  margin: 0;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sage-300);
}
.blog-hero h1,
.blog-detail__head h1,
.blog-empty h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0;
}
.blog-hero h1 {
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: .82;
}
.blog-hero p:last-child {
  max-width: 54ch;
  margin: 0;
  color: rgba(245,241,231,.76);
  font-size: clamp(1rem, 2vw, 1.2rem);
}
.blog-index {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 10vw, 8rem);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.blog-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  background: #fffaf0;
  border: 1px solid rgba(18,61,23,.12);
  box-shadow: 0 18px 42px rgba(18,61,23,.08);
}
.blog-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(27,94,32,.13), rgba(148,185,135,.28));
}
.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease);
}
.blog-card:hover .blog-card__media img {
  transform: scale(1.035);
}
.blog-card__media--empty {
  display: grid;
  place-items: center;
}
.blog-card__media--empty span {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: rgba(18,61,23,.72);
}
.blog-card__body {
  display: grid;
  align-content: start;
  gap: .8rem;
  padding: clamp(1rem, 2.2vw, 1.35rem);
}
.blog-card__meta {
  margin: 0;
  font-family: var(--sans);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--moss-600);
}
.blog-card h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  line-height: 1;
}
.blog-card h2 a:hover,
.blog-card__link:hover {
  color: var(--moss-600);
}
.blog-card__body > p:not(.blog-card__meta) {
  margin: 0;
  color: #536456;
  font-size: .95rem;
  line-height: 1.65;
}
.blog-card__link,
.blog-back,
.blog-empty a {
  width: fit-content;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--forest-950);
  border-bottom: 1px solid rgba(18,61,23,.28);
  padding-bottom: .24rem;
}
.blog-detail {
  padding: clamp(8rem, 16vw, 11rem) 0 clamp(4rem, 10vw, 8rem);
  background: #f5f1e7;
}
.blog-detail__shell {
  max-width: 1040px;
}
.blog-detail__head {
  display: grid;
  gap: 1rem;
  margin-top: clamp(1.4rem, 4vw, 2.4rem);
}
.blog-detail__head h1 {
  max-width: 10ch;
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: .86;
}
.blog-detail__head > p:last-child {
  max-width: 62ch;
  margin: 0;
  color: #4f6254;
  font-size: clamp(1rem, 2vw, 1.18rem);
}
.blog-detail__media {
  margin: clamp(2rem, 5vw, 3.8rem) 0;
  overflow: hidden;
  border: 1px solid rgba(18,61,23,.14);
  background: rgba(18,61,23,.08);
}
.blog-detail__media img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}
.blog-detail__content {
  max-width: 760px;
  margin-inline: auto;
  color: #243a29;
  font-size: clamp(1.03rem, 2vw, 1.16rem);
  line-height: 1.86;
}
.blog-detail__content p + p {
  margin-top: 1.25rem;
}
.blog-empty {
  display: grid;
  gap: 1rem;
  max-width: 720px;
  padding: clamp(2rem, 5vw, 3rem);
  border: 1px solid rgba(18,61,23,.14);
  background: #fffaf0;
}
.blog-empty h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: .95;
}
.blog-empty p:not(.blog-kicker) {
  margin: 0;
  color: #526253;
}
@media (max-width: 1040px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .blog-page .container {
    width: calc(100vw - 3rem);
    max-width: calc(100vw - 3rem);
  }
  .blog-hero {
    padding-top: 7.5rem;
  }
  .blog-hero p:last-child {
    max-width: 27ch;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-detail__head h1 {
    max-width: 100%;
  }
}

/* ============================================================
   DASHBOARD REDESIGN
   ============================================================ */
body.dashboard-body {
  min-height: 100vh;
  background: #edf0e6;
  color: #183d22;
}
body.dashboard-body::after {
  opacity: .025;
}
body.dashboard-body .dashboard {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
body.dashboard-body .dashboard-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  align-items: start;
}
body.dashboard-body .dashboard-sidebar {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 2rem;
  padding: 1.35rem 1.2rem;
  background: #1B5E20;
  color: var(--paper);
  border-right: 1px solid rgba(245,241,231,.14);
}
body.dashboard-body .dashboard-sidebar__brand {
  display: block;
  padding: .55rem .45rem 1rem;
  border-bottom: 1px solid rgba(245,241,231,.14);
}
body.dashboard-body .dashboard-sidebar__brand img {
  width: min(100%, 210px);
  filter: brightness(0) invert(1);
}
body.dashboard-body .dashboard-sidebar__nav {
  display: grid;
  align-content: start;
  gap: .35rem;
}
body.dashboard-body .dashboard-sidebar__nav a,
body.dashboard-body .dashboard-sidebar__foot a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: .72rem .82rem;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: .86rem;
  font-weight: 700;
  color: rgba(245,241,231,.76);
  transition: background .2s ease, color .2s ease;
}
body.dashboard-body .dashboard-sidebar__nav a:hover,
body.dashboard-body .dashboard-sidebar__foot a:hover {
  background: rgba(245,241,231,.11);
  color: var(--paper);
}
body.dashboard-body .dashboard-sidebar__foot {
  display: grid;
  gap: .15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(245,241,231,.14);
}
body.dashboard-body .dashboard-main {
  min-width: 0;
  padding: clamp(1.2rem, 3vw, 2.6rem);
}
body.dashboard-body .dashboard__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0 0 1.2rem;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  background: #fffaf0;
  color: var(--forest-950);
  border: 1px solid rgba(18,61,23,.11);
  box-shadow: 0 16px 40px rgba(18,61,23,.055);
}
body.dashboard-body .dashboard__header h1,
body.dashboard-body .dashboard-login h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: .9;
  letter-spacing: 0;
}
body.dashboard-body .dashboard__header p {
  max-width: 62ch;
  margin: .75rem 0 0;
  color: #59695c;
}
body.dashboard-body .dashboard__kicker {
  margin-bottom: .55rem;
  color: var(--moss-600);
}
body.dashboard-body .dashboard__logout,
body.dashboard-body .dashboard-form button,
body.dashboard-body .dashboard-list button,
body.dashboard-body .dashboard-actions button {
  flex: 0 0 auto;
  border: none;
  border-radius: 6px;
  background: #1B5E20;
  color: var(--paper);
  box-shadow: none;
}
body.dashboard-body .dashboard__logout:hover,
body.dashboard-body .dashboard-form button:hover,
body.dashboard-body .dashboard-list button:hover,
body.dashboard-body .dashboard-actions button:hover {
  background: #236B2A;
}
body.dashboard-body .dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .8rem;
  margin-bottom: 1rem;
}
body.dashboard-body .dashboard-metrics article {
  min-width: 0;
  padding: 1rem;
  background: #fffaf0;
  border: 1px solid rgba(18,61,23,.1);
}
body.dashboard-body .dashboard-metrics span {
  display: block;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: .9;
  color: var(--forest-950);
}
body.dashboard-body .dashboard-metrics p {
  margin: .45rem 0 0;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #607062;
}
body.dashboard-body .dashboard-panel {
  margin-top: 1rem;
  padding: clamp(1rem, 2.4vw, 1.5rem);
  background: #fffaf0;
  color: var(--forest-950);
  border: 1px solid rgba(18,61,23,.11);
  box-shadow: 0 16px 40px rgba(18,61,23,.055);
}
body.dashboard-body .dashboard-panel__head {
  align-items: flex-start;
  border-bottom-color: rgba(18,61,23,.1);
}
body.dashboard-body .dashboard-panel__head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
  letter-spacing: 0;
}
body.dashboard-body .dashboard-panel__head p:not(.dashboard__kicker) {
  max-width: 66ch;
  margin: .45rem 0 0;
  color: #5b6b5d;
  font-size: .95rem;
}
body.dashboard-body .dashboard-panel__head span {
  white-space: nowrap;
  color: var(--moss-600);
}
body.dashboard-body .dashboard-form,
body.dashboard-body .dashboard-list,
body.dashboard-body .dashboard-blog-form {
  gap: .9rem;
}
body.dashboard-body .dashboard-post {
  display: grid;
  grid-template-columns: minmax(190px, 260px) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.35rem);
  padding: .9rem;
  background: rgba(237,240,230,.62);
  border: 1px solid rgba(18,61,23,.1);
  border-radius: 8px;
}
body.dashboard-body .dashboard-post--new {
  border-style: dashed;
  background: rgba(148,185,135,.14);
}
body.dashboard-body .dashboard-post__media {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: .6rem;
}
body.dashboard-body .dashboard-post__content {
  min-width: 0;
  display: grid;
  gap: .85rem;
}
body.dashboard-body .dashboard-post__top {
  display: grid;
  grid-template-columns: minmax(120px, .55fr) minmax(140px, .55fr) minmax(180px, 1fr);
  gap: .75rem;
}
body.dashboard-body .dashboard-post__main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}
body.dashboard-body .dashboard-post__wide {
  grid-column: 1 / -1;
}
body.dashboard-body .dashboard-post__remove {
  display: flex;
  align-items: center;
  gap: .5rem;
  width: fit-content;
  padding: .6rem .75rem;
  border: 1px solid rgba(124,49,40,.18);
  border-radius: 6px;
  background: rgba(124,49,40,.05);
  color: #7c3128;
}
body.dashboard-body .dashboard-post__remove input {
  width: auto;
}
body.dashboard-body .dashboard-form label,
body.dashboard-body .dashboard-item label,
body.dashboard-body .dashboard-post label,
body.dashboard-body .dashboard-image__tag {
  color: rgba(24,61,34,.68);
}
body.dashboard-body .dashboard-form input,
body.dashboard-body .dashboard-item input,
body.dashboard-body .dashboard-item textarea,
body.dashboard-body .dashboard-post input,
body.dashboard-body .dashboard-post textarea,
body.dashboard-body .dashboard-post select {
  width: 100%;
  border: 1px solid rgba(18,61,23,.14);
  background: #ffffff;
  color: var(--forest-950);
  font-family: var(--sans);
  font-size: .92rem;
  line-height: 1.45;
  padding: .8rem .85rem;
  border-radius: 5px;
  outline: none;
}
body.dashboard-body .dashboard-post select {
  appearance: auto;
}
body.dashboard-body .dashboard-form input:focus,
body.dashboard-body .dashboard-item input:focus,
body.dashboard-body .dashboard-item textarea:focus,
body.dashboard-body .dashboard-post input:focus,
body.dashboard-body .dashboard-post textarea:focus,
body.dashboard-body .dashboard-post select:focus {
  border-color: var(--moss-500);
  box-shadow: 0 0 0 3px rgba(63,139,74,.13);
}
body.dashboard-body .dashboard-post textarea[name*="[content]"] {
  min-height: 12rem;
}
body.dashboard-body .dashboard-image__frame {
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(27,94,32,.1), rgba(148,185,135,.18));
}
body.dashboard-body .dashboard-image__replace {
  border-radius: 6px;
  background: #fff;
}
body.dashboard-body .dashboard-item--simple {
  grid-template-columns: minmax(120px, .6fr) minmax(180px, 1fr) minmax(220px, 1.2fr) minmax(240px, 1.5fr);
  align-items: start;
}
body.dashboard-body .dashboard-item--activity {
  grid-template-columns: minmax(200px, .9fr) minmax(230px, 1.1fr) minmax(260px, 1.5fr);
}
body.dashboard-body .dashboard-form--inline {
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
}
body.dashboard-body .dashboard-form__actions,
body.dashboard-body .dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-top: .35rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(18,61,23,.1);
}
body.dashboard-body .dashboard-secondary-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .75rem 1rem;
  border: 1px solid rgba(18,61,23,.16);
  border-radius: 6px;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--forest-950);
}
body.dashboard-body .dashboard-secondary-link:hover {
  border-color: var(--moss-500);
  color: var(--moss-600);
}
body.dashboard-body .dashboard__notice,
body.dashboard-body .dashboard__error {
  margin: 0 0 1rem;
  border-radius: 6px;
  border: 1px solid rgba(18,61,23,.12);
}
body.dashboard-body .dashboard-login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2rem);
  background:
    linear-gradient(135deg, rgba(27,94,32,.94), rgba(18,61,23,.98)),
    #1B5E20;
}
body.dashboard-body .dashboard-login {
  width: min(100%, 480px);
  margin: 0;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: #fffaf0;
  color: var(--forest-950);
  border: 1px solid rgba(245,241,231,.22);
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
}
body.dashboard-body .dashboard-login__logo {
  width: min(230px, 75%);
  margin-bottom: 1.5rem;
}
body.dashboard-body .dashboard-login__back {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--moss-600);
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
@media (max-width: 1120px) {
  body.dashboard-body .dashboard-shell {
    grid-template-columns: 1fr;
  }
  body.dashboard-body .dashboard-sidebar {
    position: relative;
    min-height: auto;
    grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
  }
  body.dashboard-body .dashboard-sidebar__brand {
    grid-row: 1 / 3;
    border-bottom: none;
    border-right: 1px solid rgba(245,241,231,.14);
  }
  body.dashboard-body .dashboard-sidebar__nav {
    display: flex;
    flex-wrap: wrap;
    align-content: start;
  }
  body.dashboard-body .dashboard-sidebar__foot {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid rgba(245,241,231,.14);
  }
}
@media (max-width: 900px) {
  body.dashboard-body .dashboard-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.dashboard-body .dashboard-post,
  body.dashboard-body .dashboard-post__top,
  body.dashboard-body .dashboard-post__main,
  body.dashboard-body .dashboard-item--simple,
  body.dashboard-body .dashboard-item--activity,
  body.dashboard-body .dashboard-form--inline {
    grid-template-columns: 1fr;
  }
  body.dashboard-body .dashboard-panel__head,
  body.dashboard-body .dashboard__header {
    display: grid;
  }
  body.dashboard-body .dashboard-panel__head span {
    white-space: normal;
  }
}
@media (max-width: 640px) {
  body.dashboard-body .dashboard-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  body.dashboard-body .dashboard-sidebar__brand {
    grid-row: auto;
    border-right: none;
    border-bottom: 1px solid rgba(245,241,231,.14);
  }
  body.dashboard-body .dashboard-sidebar__nav,
  body.dashboard-body .dashboard-sidebar__foot {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.dashboard-body .dashboard-sidebar__nav a,
  body.dashboard-body .dashboard-sidebar__foot a {
    justify-content: center;
    text-align: center;
    font-size: .78rem;
  }
  body.dashboard-body .dashboard-main {
    padding: .9rem;
  }
  body.dashboard-body .dashboard-metrics {
    grid-template-columns: 1fr;
  }
  body.dashboard-body .dashboard__logout {
    display: none;
  }
  body.dashboard-body .dashboard-post,
  body.dashboard-body .dashboard-panel,
  body.dashboard-body .dashboard__header {
    padding: .9rem;
  }
}

/* ============================================================
   DASHBOARD V3 - pagine separate e upload guidato
   ============================================================ */
body.dashboard-body {
  background: #eef1e8;
}
body.dashboard-body .dashboard-shell {
  grid-template-columns: 296px minmax(0, 1fr);
}
body.dashboard-body .dashboard-sidebar {
  padding: 1.15rem;
  background: #1B5E20;
}
body.dashboard-body .dashboard-sidebar__brand {
  padding: .7rem .55rem 1.15rem;
}
body.dashboard-body .dashboard-sidebar__brand img {
  width: min(100%, 225px);
}
body.dashboard-body .dashboard-sidebar__nav {
  gap: .42rem;
}
body.dashboard-body .dashboard-sidebar__nav a {
  position: relative;
  min-height: 46px;
  border: 1px solid transparent;
}
body.dashboard-body .dashboard-sidebar__nav a.is-active {
  background: rgba(245,241,231,.16);
  border-color: rgba(245,241,231,.18);
  color: var(--paper);
}
body.dashboard-body .dashboard-sidebar__nav a.is-active::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: .65rem;
  background: var(--sage-300);
}
body.dashboard-body .dashboard-sidebar__foot {
  gap: .28rem;
}
body.dashboard-body .dashboard-sidebar__foot a {
  min-height: 36px;
  padding-block: .55rem;
  font-size: .78rem;
}
body.dashboard-body .dashboard-main {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: clamp(1.2rem, 2.4vw, 2rem);
  max-width: 100vw;
  overflow-x: hidden;
}
body.dashboard-body .dashboard-page-head {
  margin: 0;
  border-radius: 8px;
  background: #fffaf0;
}
body.dashboard-body .dashboard-page-head h1 {
  font-size: clamp(2.25rem, 4.2vw, 4.2rem);
  overflow-wrap: break-word;
}
body.dashboard-body .dashboard-page-head p {
  max-width: 70ch;
}
body.dashboard-body .dashboard-panel--page {
  margin: 0;
  border-radius: 8px;
}
body.dashboard-body .dashboard-panel--narrow {
  max-width: 720px;
}
body.dashboard-body .dashboard-panel__head {
  gap: 1.25rem;
  margin-bottom: 1.1rem;
  padding-bottom: 1.1rem;
}
body.dashboard-body .dashboard-panel__head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
body.dashboard-body .dashboard-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: .9rem;
}
body.dashboard-body .dashboard-quick-grid a {
  display: grid;
  align-content: start;
  gap: .55rem;
  min-height: 170px;
  padding: 1rem;
  background: #fffaf0;
  border: 1px solid rgba(18,61,23,.11);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(18,61,23,.05);
  transition: transform .2s ease, border-color .2s ease;
}
body.dashboard-body .dashboard-quick-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(27,94,32,.32);
}
body.dashboard-body .dashboard-quick-grid span,
body.dashboard-body .dashboard-quick-grid small {
  font-family: var(--sans);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--moss-600);
}
body.dashboard-body .dashboard-quick-grid strong {
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
  line-height: .96;
  font-weight: 400;
  color: var(--forest-950);
}
body.dashboard-body .dashboard-quick-grid small {
  margin-top: auto;
  color: #657265;
  letter-spacing: .08em;
}
body.dashboard-body .dashboard-editor-list {
  gap: 1rem;
}
body.dashboard-body .dashboard-entry {
  display: grid;
  grid-template-columns: minmax(210px, 280px) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.35rem);
  padding: clamp(.9rem, 1.7vw, 1.15rem);
  background: #f5f4eb;
  border: 1px solid rgba(18,61,23,.11);
  border-radius: 8px;
}
body.dashboard-body .dashboard-entry--new {
  background: rgba(148,185,135,.15);
  border-style: dashed;
}
body.dashboard-body .dashboard-entry__content,
body.dashboard-body .dashboard-media {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: .8rem;
}
body.dashboard-body .dashboard-entry__row {
  display: grid;
  gap: .72rem;
}
body.dashboard-body .dashboard-entry__row--two {
  grid-template-columns: minmax(150px, .62fr) minmax(220px, 1fr);
}
body.dashboard-body .dashboard-entry__row--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
body.dashboard-body .dashboard-entry__row--gallery {
  grid-template-columns: minmax(100px, .28fr) minmax(220px, 1fr);
}
body.dashboard-body .dashboard-entry label,
body.dashboard-body .dashboard-password-form label {
  display: grid;
  gap: .38rem;
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(24,61,34,.68);
}
body.dashboard-body .dashboard-entry input,
body.dashboard-body .dashboard-entry textarea,
body.dashboard-body .dashboard-entry select,
body.dashboard-body .dashboard-password-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(18,61,23,.14);
  background: #ffffff;
  color: var(--forest-950);
  font-family: var(--sans);
  font-size: .94rem;
  line-height: 1.45;
  padding: .78rem .85rem;
  border-radius: 6px;
  outline: none;
}
body.dashboard-body .dashboard-entry textarea {
  min-height: 7.5rem;
  resize: vertical;
}
body.dashboard-body .dashboard-entry textarea[name*="[content]"] {
  min-height: 14rem;
}
body.dashboard-body .dashboard-entry input:focus,
body.dashboard-body .dashboard-entry textarea:focus,
body.dashboard-body .dashboard-entry select:focus,
body.dashboard-body .dashboard-password-form input:focus {
  border-color: var(--moss-500);
  box-shadow: 0 0 0 3px rgba(63,139,74,.13);
}
body.dashboard-body .dashboard-media .dashboard-image__frame {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(27,94,32,.1), rgba(148,185,135,.22));
}
body.dashboard-body .dashboard-media .dashboard-image__replace {
  display: grid;
  place-items: center;
  gap: .24rem;
  min-height: 44px;
  border-radius: 6px;
  border: 1px solid rgba(18,61,23,.18);
  background: #fff;
}
body.dashboard-body .dashboard-image__file {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: none;
  color: rgba(24,61,34,.58);
}

/* ============================================================
   BLOG REDESIGN V2
   ============================================================ */
.blog-page {
  background: #f3f0e7;
}
.blog-page .nav {
  background: #1B5E20;
}
.blog-hero {
  min-height: min(76vh, 760px);
  display: grid;
  align-items: end;
  padding: clamp(7.5rem, 13vw, 11rem) 0 clamp(2.8rem, 6vw, 5rem);
  background:
    linear-gradient(180deg, rgba(27,94,32,.98), rgba(18,61,23,.97)),
    #1B5E20;
  color: var(--paper);
}
.blog-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 430px);
  align-items: end;
  gap: clamp(1.6rem, 5vw, 5rem);
  max-width: none;
}
.blog-hero h1 {
  margin-top: .65rem;
  font-size: clamp(5.6rem, 16vw, 14rem);
  line-height: .74;
  letter-spacing: 0;
}
.blog-hero p:last-of-type {
  max-width: 36ch;
  margin: 0;
  color: rgba(245,241,231,.78);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.75;
}
.blog-hero__stats {
  align-self: stretch;
  display: grid;
  align-content: end;
  gap: .45rem;
  padding: 1.1rem 0 0;
  border-top: 1px solid rgba(245,241,231,.22);
}
.blog-hero__stats span {
  font-family: var(--display);
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: .82;
}
.blog-hero__stats small {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage-300);
}
.blog-index {
  padding: clamp(2.8rem, 7vw, 6.5rem) 0 clamp(5rem, 9vw, 8rem);
}
.blog-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 0;
  min-height: 520px;
  background: #fffaf0;
  border: 1px solid rgba(18,61,23,.12);
  box-shadow: 0 24px 70px rgba(18,61,23,.09);
}
.blog-featured__media {
  display: block;
  min-height: 100%;
  background: linear-gradient(135deg, rgba(27,94,32,.12), rgba(148,185,135,.25));
  overflow: hidden;
}
.blog-featured__media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.blog-featured:hover .blog-featured__media img {
  transform: scale(1.035);
}
.blog-featured__body {
  display: grid;
  align-content: end;
  gap: 1rem;
  padding: clamp(1.4rem, 4vw, 3rem);
}
.blog-featured__body h2,
.blog-section-head h2,
.blog-related h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--forest-950);
}
.blog-featured__body h2 {
  max-width: 10ch;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: .84;
}
.blog-featured__body > p {
  max-width: 56ch;
  margin: 0;
  color: #4f6254;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.78;
}
.blog-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 1.1rem;
}
.blog-section-head--list {
  margin-top: clamp(3rem, 7vw, 5.5rem);
}
.blog-section-head h2 {
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  line-height: .9;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.45rem);
}
.blog-grid--related {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.blog-card {
  background: #fffaf0;
  border: 1px solid rgba(18,61,23,.12);
  box-shadow: none;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(27,94,32,.28);
  box-shadow: 0 18px 42px rgba(18,61,23,.08);
}
.blog-card__media {
  aspect-ratio: 5 / 3.7;
}
.blog-card__body {
  gap: .75rem;
  padding: clamp(1rem, 2vw, 1.35rem);
}
.blog-card h3,
.blog-card h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.4vw, 2.35rem);
  line-height: .96;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--forest-950);
}
.blog-card__body > p:not(.blog-card__meta) {
  color: #536456;
}
.blog-card__link,
.blog-back,
.blog-empty a {
  border-bottom-color: rgba(27,94,32,.35);
}
.blog-card__link::after,
.blog-back::after {
  content: " ->";
}
.blog-article .blog-back::before {
  content: "<- ";
}
.blog-article .blog-back::after {
  content: "";
}
.blog-article {
  background: #f3f0e7;
}
.blog-article-hero {
  padding: clamp(7.5rem, 13vw, 10.5rem) 0 clamp(2.5rem, 6vw, 5rem);
  background: #1B5E20;
  color: var(--paper);
}
.blog-article-hero__inner {
  display: grid;
  gap: clamp(1.3rem, 3vw, 2.2rem);
}
.blog-article-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .75fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
}
.blog-article-hero__copy {
  display: grid;
  gap: 1rem;
}
.blog-article-hero h1 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.4rem, 8.6vw, 8.6rem);
  line-height: .82;
  letter-spacing: 0;
  font-weight: 400;
}
.blog-article__dek {
  max-width: 58ch;
  margin: .4rem 0 0;
  color: rgba(245,241,231,.8);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  line-height: 1.75;
}
.blog-article__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  margin: clamp(.8rem, 2vw, 1.4rem) 0 0;
  padding: 0;
}
.blog-article__meta div {
  display: grid;
  gap: .18rem;
  padding-top: .8rem;
  border-top: 1px solid rgba(245,241,231,.22);
}
.blog-article__meta dt {
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage-300);
}
.blog-article__meta dd {
  margin: 0;
  color: rgba(245,241,231,.86);
  font-size: .95rem;
}
.blog-article__cover {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(245,241,231,.18);
  background: rgba(245,241,231,.08);
  box-shadow: 0 28px 80px rgba(0,0,0,.2);
}
.blog-article__cover img {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 680px;
  object-fit: cover;
}
.blog-article__layout {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 760px);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}
.blog-article__rail {
  position: sticky;
  top: 7rem;
  display: grid;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(18,61,23,.18);
}
.blog-article__rail p {
  margin: 0;
  color: #536456;
  font-size: .96rem;
  line-height: 1.7;
}
.blog-article__rail a {
  width: fit-content;
  font-family: var(--sans);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--moss-600);
  border-bottom: 1px solid rgba(27,94,32,.3);
}
.blog-detail__content {
  max-width: none;
  margin: 0;
  padding: clamp(1.2rem, 3vw, 2.4rem);
  background: #fffaf0;
  border: 1px solid rgba(18,61,23,.1);
  color: #253829;
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  line-height: 1.92;
}
.blog-detail__content p:first-child::first-letter {
  float: left;
  margin: .08em .12em 0 0;
  font-family: var(--display);
  font-size: 4.8rem;
  line-height: .78;
  color: var(--forest-900);
}
.blog-detail__content p + p {
  margin-top: 1.35rem;
}
.blog-related {
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(5rem, 9vw, 8rem);
  background: #ecefe5;
}
.blog-empty {
  max-width: 820px;
  margin-inline: auto;
  border-radius: 0;
  box-shadow: 0 18px 50px rgba(18,61,23,.06);
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-page {
  background: #fff;
}
.gallery-page .nav {
  background: #1B5E20;
}
.gallery-main {
  background: #fff;
  padding-bottom: clamp(5rem, 10vw, 8rem);
}
.gallery-hero {
  width: min(calc(100% - 2 * var(--gutter)), 1180px);
  margin-inline: auto;
  padding-top: clamp(6rem, 12vw, 9rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid rgba(29,48,36,.12);
  margin-bottom: clamp(3rem, 6vw, 5rem);
  background: #fff;
  color: var(--forest-950);
}
.gallery-hero__inner {
  display: block;
}
.gallery-kicker {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1.25rem;
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--moss-500);
}
.gallery-hero h1 {
  margin: 0 0 1.5rem;
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: .88;
  letter-spacing: -.04em;
  font-weight: 400;
  color: var(--forest-950);
}
.gallery-hero p:last-child {
  max-width: 56ch;
  margin: 0;
  color: #5a6e60;
  font-family: var(--sans);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.7;
}
.gallery-index {
  padding: 0 0 clamp(5rem, 9vw, 8rem);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(.85rem, 1.7vw, 1.3rem);
}
.gallery-card {
  min-width: 0;
  background: transparent;
  border: 0;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: none;
}
.gallery-card__image {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: rgba(148,185,135,.2);
  cursor: zoom-in;
  overflow: hidden;
}
.gallery-card__image img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform .55s var(--ease);
}
.gallery-card:hover .gallery-card__image img {
  transform: scale(1.035);
}
.gallery-empty {
  grid-column: 1 / -1;
  padding: clamp(1.4rem, 4vw, 3rem);
  background: #fffaf0;
  border: 1px solid rgba(18,61,23,.1);
}
.gallery-empty h2 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: .9;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--forest-950);
}
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(6,20,10,.92);
}
.gallery-lightbox.is-open {
  display: grid;
}
.gallery-lightbox img {
  display: block;
  max-width: min(100%, 1180px);
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,.34);
}
.gallery-lightbox button {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(245,241,231,.24);
  border-radius: 50%;
  background: rgba(245,241,231,.1);
  color: var(--paper);
  font-size: 1.7rem;
  line-height: 1;
}
@media (max-width: 1180px) {
  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 820px) {
  .gallery-hero__inner {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .gallery-hero h1 {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
  }
  .gallery-hero p:last-child {
    max-width: 56ch;
  }
}
@media (max-width: 1060px) {
  .blog-hero__inner,
  .blog-featured,
  .blog-article-hero__grid,
  .blog-article__layout {
    grid-template-columns: 1fr;
  }
  .blog-featured {
    min-height: 0;
  }
  .blog-featured__media img {
    min-height: 360px;
  }
  .blog-article__cover img {
    aspect-ratio: 16 / 10;
  }
  .blog-article__rail {
    position: static;
    max-width: 620px;
  }
  .blog-grid,
  .blog-grid--related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .blog-page .container {
    width: calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
  }
  .blog-hero {
    min-height: auto;
    padding-top: 7.25rem;
  }
  .blog-hero h1 {
    font-size: clamp(4.5rem, 24vw, 7rem);
  }
  .blog-hero p:last-of-type {
    max-width: 30ch;
  }
  .blog-featured__body h2,
  .blog-article-hero h1 {
    max-width: 100%;
    font-size: clamp(2.55rem, 13vw, 4.5rem);
  }
  .blog-article__meta,
  .blog-grid,
  .blog-grid--related {
    grid-template-columns: 1fr;
  }
  .blog-featured__media img,
  .blog-article__cover img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .blog-detail__content {
    padding: 1rem;
  }
  .blog-section-head {
    display: grid;
    align-items: start;
  }
}
body.dashboard-body .dashboard-media .dashboard-image__replace:hover {
  border-color: var(--moss-500);
}
body.dashboard-body .dashboard-media input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
body.dashboard-body .dashboard-entry__remove {
  display: flex !important;
  grid-auto-flow: column;
  grid-auto-columns: auto;
  align-items: center;
  justify-content: start;
  gap: .55rem !important;
  width: fit-content;
  padding: .62rem .75rem;
  border: 1px solid rgba(124,49,40,.18);
  border-radius: 6px;
  background: rgba(124,49,40,.05);
  color: #7c3128 !important;
  letter-spacing: .08em !important;
}
body.dashboard-body .dashboard-entry__remove input {
  width: auto;
  min-height: 0;
}
body.dashboard-body .dashboard-entry__tools {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
body.dashboard-body .dashboard-entry__tools button {
  min-height: 38px;
  padding: .58rem .75rem;
  border: 1px solid rgba(18,61,23,.16);
  border-radius: 6px;
  background: #fff;
  color: var(--forest-950);
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
body.dashboard-body .dashboard-entry__tools button:hover {
  background: #eef1e8;
}
body.dashboard-body .dashboard-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .85rem;
}
body.dashboard-body .dashboard-gallery-card {
  min-width: 0;
  display: grid;
  gap: .55rem;
  padding: .65rem;
  background: #f5f4eb;
  border: 1px solid rgba(18,61,23,.11);
  border-radius: 8px;
}
body.dashboard-body .dashboard-gallery-card__frame {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(27,94,32,.1), rgba(148,185,135,.22));
}
body.dashboard-body .dashboard-gallery-card__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.dashboard-body .dashboard-gallery-card__frame > span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: .75rem;
  color: rgba(24,61,34,.54);
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}
body.dashboard-body .dashboard-gallery-card__frame:not(.is-empty) > span {
  display: none;
}
body.dashboard-body .dashboard-gallery-card__upload {
  display: grid;
  gap: .16rem;
  min-height: 42px;
  padding: .55rem .6rem;
  border: 1px solid rgba(18,61,23,.16);
  border-radius: 6px;
  background: #fff;
  color: var(--forest-950);
  cursor: pointer;
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
body.dashboard-body .dashboard-gallery-card__upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
body.dashboard-body .dashboard-gallery-card__upload small {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(24,61,34,.52);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
body.dashboard-body .dashboard-gallery-card__tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .45rem;
}
body.dashboard-body .dashboard-gallery-card__tools button {
  min-height: 36px;
  border: 1px solid rgba(18,61,23,.16);
  border-radius: 6px;
  background: #fff;
  color: var(--forest-950);
  font-size: 1rem;
  font-weight: 800;
}
body.dashboard-body .dashboard-gallery-card__remove {
  position: absolute;
  right: .45rem;
  top: .45rem;
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .32rem .44rem;
  border-radius: 999px;
  background: rgba(255,250,240,.9);
  color: #7c3128;
  font-family: var(--sans);
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
body.dashboard-body .dashboard-gallery-card__remove input {
  width: auto;
  min-height: 0;
}
body.dashboard-body .dashboard-modal .dashboard-gallery-card {
  width: min(260px, calc(100% - 2rem));
  margin: 1rem auto;
}
body.dashboard-body .dashboard-password-form {
  max-width: 560px;
}
body.dashboard-body .dashboard-password-form button {
  margin-top: .25rem;
}
@media (max-width: 1180px) {
  body.dashboard-body .dashboard-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.dashboard-body .dashboard-gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  body.dashboard-body .dashboard-entry,
  body.dashboard-body .dashboard-entry__row--two,
  body.dashboard-body .dashboard-entry__row--three,
  body.dashboard-body .dashboard-entry__row--gallery {
    grid-template-columns: 1fr;
  }
  body.dashboard-body .dashboard-media .dashboard-image__frame {
    max-width: 320px;
  }
}
@media (max-width: 1120px) {
  body.dashboard-body .dashboard-shell {
    grid-template-columns: 1fr;
  }
  body.dashboard-body .dashboard-sidebar {
    position: relative;
    min-height: auto;
    grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
    grid-template-rows: auto auto;
  }
}
@media (max-width: 720px) {
  body.dashboard-body .dashboard-sidebar {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  body.dashboard-body .dashboard-sidebar__brand {
    grid-row: auto;
    border-right: none;
    border-bottom: 1px solid rgba(245,241,231,.14);
  }
  body.dashboard-body .dashboard-main {
    padding: .85rem;
  }
  body.dashboard-body .dashboard-quick-grid,
  body.dashboard-body .dashboard-metrics {
    grid-template-columns: 1fr;
  }
  body.dashboard-body .dashboard-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.dashboard-body .dashboard-page-head,
  body.dashboard-body .dashboard-panel--page,
  body.dashboard-body .dashboard-entry {
    padding: .9rem;
  }
  body.dashboard-body .dashboard-page-head h1 {
    max-width: 11ch;
    font-size: clamp(2.1rem, 11vw, 3rem);
    line-height: .92;
  }
  body.dashboard-body .dashboard-page-head p,
  body.dashboard-body .dashboard-panel__head p {
    max-width: 30ch;
  }
  body.dashboard-body .dashboard-sidebar__nav,
  body.dashboard-body .dashboard-sidebar__foot {
    grid-template-columns: 1fr 1fr;
  }
  body.dashboard-body .dashboard-sidebar__foot a {
    justify-content: center;
    text-align: center;
  }
}
@media (max-width: 980px) {
  body.dashboard-body .dashboard-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 460px) {
  body.dashboard-body .dashboard-sidebar__nav,
  body.dashboard-body .dashboard-sidebar__foot {
    grid-template-columns: 1fr;
  }
  body.dashboard-body .dashboard-gallery-grid {
    grid-template-columns: 1fr;
  }
  body.dashboard-body .dashboard-media .dashboard-image__frame {
    max-width: none;
  }
}

/* ============================================================
   BLOG REDESIGN V3 - compact archive + calmer article page
   ============================================================ */
.blog-page {
  --blog-bg: #f3f0e7;
  --blog-card: #fffdf7;
  --blog-ink: #16351d;
  --blog-muted: #596858;
  --blog-line: rgba(22,53,29,.15);
  --blog-green: #1B5E20;
  background: var(--blog-bg);
  color: var(--blog-ink);
}
.blog-page .container {
  width: min(calc(100% - clamp(2rem, 6vw, 5rem)), 1480px);
  max-width: none;
}
.blog-hero {
  min-height: 0;
  padding: clamp(7.2rem, 10vw, 8.6rem) 0 clamp(1.8rem, 4vw, 3rem);
  background: var(--blog-bg);
  color: var(--blog-ink);
}
.blog-hero__inner {
  grid-template-columns: minmax(0, 720px);
  align-items: start;
  gap: .85rem;
  padding-bottom: clamp(2rem, 3.2vw, 2.8rem);
  border-bottom: 1px solid var(--blog-line);
}
.blog-hero .blog-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0;
  color: var(--moss-600);
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .22em;
}
.blog-hero .blog-kicker span {
  font-size: .72rem;
  line-height: 1;
  color: var(--moss-600);
}
.blog-hero h1 {
  margin: .45rem 0 0;
  color: var(--forest-950);
  font-family: var(--display);
  font-size: clamp(4.1rem, 7.2vw, 6.4rem);
  font-weight: 400;
  line-height: .88;
  letter-spacing: 0;
}
.blog-hero p:last-of-type {
  max-width: 58ch;
  color: #506151;
  font-family: var(--sans);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.72;
}
.blog-hero__stats {
  display: none;
  min-height: 0;
  width: fit-content;
  margin-top: 1.25rem;
  padding: .65rem .85rem;
  border: 1px solid var(--blog-line);
  border-radius: 999px;
  background: rgba(255,253,247,.62);
}
.blog-hero__stats span {
  display: inline;
  margin-right: .35rem;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 800;
  line-height: 1;
  color: var(--moss-600);
}
.blog-hero__stats small {
  color: var(--forest-950);
  font-size: .62rem;
  letter-spacing: .13em;
}
.blog-index {
  padding: clamp(1rem, 2vw, 1.6rem) 0 clamp(4.5rem, 8vw, 7rem);
}
.blog-section-head {
  display: grid;
  justify-content: start;
  align-items: end;
  gap: .35rem;
  margin-bottom: clamp(1rem, 2vw, 1.4rem);
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--blog-line);
}
.blog-section-head--list {
  margin-top: 0;
}
.blog-section-head h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}
.blog-grid,
.blog-grid--related {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.85rem, 1.4vw, 1.15rem);
}
.blog-card {
  min-width: 0;
  background: var(--blog-card);
  border: 1px solid var(--blog-line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: none;
}
.blog-card:hover {
  transform: translateY(-2px);
  border-color: rgba(27,94,32,.32);
  box-shadow: 0 14px 32px rgba(18,61,23,.08);
}
.blog-card__media {
  aspect-ratio: 4 / 3;
  background: #dfe8d7;
}
.blog-card__body {
  gap: .55rem;
  padding: .9rem;
}
.blog-card__meta {
  font-size: .55rem;
  line-height: 1.35;
  letter-spacing: .13em;
}
.blog-card h3,
.blog-card h2 {
  font-size: clamp(1.22rem, 1.45vw, 1.58rem);
  line-height: 1;
}
.blog-card__body > p:not(.blog-card__meta) {
  display: -webkit-box;
  overflow: hidden;
  color: var(--blog-muted);
  font-size: .88rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.blog-card__link,
.blog-back,
.blog-empty a {
  font-size: .58rem;
  letter-spacing: .13em;
}

.blog-article {
  background: var(--blog-bg);
  color: var(--blog-ink);
}
.blog-article-hero {
  padding: clamp(7rem, 10vw, 8.75rem) 0 clamp(2rem, 5vw, 3.8rem);
  background: var(--blog-bg);
  color: var(--blog-ink);
  border-bottom: 1px solid var(--blog-line);
}
.blog-article-hero__inner {
  max-width: 1280px;
}
.blog-article-hero__grid {
  display: grid;
  grid-template-columns: minmax(340px, .88fr) minmax(360px, .78fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}
.blog-article-hero__copy {
  max-width: 620px;
  align-self: start;
}
.blog-article-hero .blog-kicker,
.blog-section-head .blog-kicker {
  color: var(--moss-600);
}
.blog-article-hero h1 {
  max-width: 14ch;
  color: var(--forest-950);
  font-size: clamp(2.7rem, 5.6vw, 5.6rem);
  line-height: .9;
}
.blog-article__dek {
  max-width: 66ch;
  color: #4e604f;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.72;
}
.blog-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: .35rem;
}
.blog-article__meta div {
  min-width: 128px;
  padding: .6rem .78rem;
  border: 1px solid var(--blog-line);
  border-radius: 6px;
  background: rgba(255,253,247,.56);
}
.blog-article__meta dt {
  color: var(--moss-600);
}
.blog-article__meta dd {
  color: var(--blog-ink);
}
.blog-article__cover {
  width: 100%;
  max-width: 980px;
  margin: 0;
  border: 0;
  border-radius: 6px;
  background: #dfe8d7;
  box-shadow: none;
  display: grid;
  place-items: center;
}
.blog-article__cover img {
  width: auto;
  max-width: 100%;
  max-height: min(74vh, 680px);
  object-fit: contain;
}
.blog-article__layout {
  width: min(calc(100% - clamp(2rem, 6vw, 5rem)), 1120px);
  grid-template-columns: minmax(170px, 220px) minmax(0, 760px);
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-top: clamp(2.4rem, 5vw, 4.2rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}
.blog-page .blog-article-hero__inner,
.blog-page .blog-article__layout {
  width: min(calc(100% - clamp(2rem, 7vw, 6rem)), 1280px);
  max-width: 1280px;
  margin-inline: auto;
}
.blog-page .blog-article__cover {
  max-width: none;
}
.blog-article__rail {
  top: 6.5rem;
  gap: .75rem;
  padding: .9rem 0 0 .9rem;
  border-top: 0;
  border-left: 3px solid var(--blog-green);
}
.blog-article__rail p {
  color: var(--blog-muted);
  font-size: .9rem;
  line-height: 1.6;
}
.blog-detail__content {
  max-width: 760px;
  padding: 0;
  background: transparent;
  border: 0;
  color: #243629;
  font-size: clamp(1.04rem, 1.25vw, 1.16rem);
  line-height: 1.92;
}
.blog-detail__content--inline {
  max-width: 62ch;
  margin-top: clamp(1.25rem, 3vw, 2rem);
  padding-top: clamp(1.15rem, 2.4vw, 1.8rem);
  border-top: 1px solid var(--blog-line);
}
.blog-detail__content p:first-child::first-letter {
  float: none;
  margin: 0;
  font: inherit;
  color: inherit;
}
.blog-detail__content p + p {
  margin-top: 1.15rem;
}
.blog-related {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4.5rem, 8vw, 7rem);
  background: #eef1e7;
  border-top: 1px solid var(--blog-line);
}
@media (max-width: 1180px) {
  .blog-grid,
  .blog-grid--related {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .blog-hero__inner,
  .blog-article-hero__grid,
  .blog-article__layout {
    grid-template-columns: 1fr;
  }
  .blog-article-hero__copy {
    max-width: none;
    order: 1;
  }
  .blog-article__cover {
    order: 2;
  }
  .blog-article__cover img {
    max-height: none;
  }
  .blog-article__rail {
    position: static;
    max-width: none;
  }
  .blog-grid,
  .blog-grid--related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .blog-page .container,
  .blog-page .blog-article-hero__inner,
  .blog-page .blog-article__layout {
    width: calc(100% - 1.5rem);
  }
  .blog-hero {
    min-height: auto;
  }
  .blog-hero__inner,
  .blog-grid,
  .blog-grid--related {
    grid-template-columns: 1fr;
  }
  .blog-article-hero h1 {
    font-size: clamp(2.45rem, 14vw, 4rem);
  }
  .blog-article__meta div {
    width: 100%;
  }
}
@media (max-width: 680px) {
  .blog-hero {
    min-height: auto;
    padding-top: 7.25rem;
    background: linear-gradient(180deg, #1B5E20 0%, #15461b 100%);
    color: var(--paper);
  }
  .blog-hero__inner {
    padding-bottom: 0;
    border-bottom-color: rgba(245,241,231,.22);
  }
  .blog-hero h1 {
    color: var(--paper);
    font-size: clamp(4.5rem, 24vw, 7rem);
    line-height: .78;
  }
  .blog-hero p:last-of-type {
    max-width: 30ch;
    color: rgba(245,241,231,.78);
  }
  .blog-hero__stats {
    display: grid;
    width: auto;
    margin-top: 0;
    padding: .9rem 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .blog-hero__stats span {
    display: block;
    margin-right: 0;
    font-family: var(--display);
    font-size: clamp(2.4rem, 4.5vw, 4rem);
    font-weight: 400;
    color: var(--paper);
  }
  .blog-hero__stats small {
    color: var(--sage-300);
  }
}

/* ============================================================
   DASHBOARD BLOG CREATION MODAL
   ============================================================ */
body.dashboard-body .dashboard-panel__actions-top {
  display: flex;
  justify-content: flex-end;
  margin: -.35rem 0 1rem;
}
body.dashboard-body .dashboard-create-button,
body.dashboard-body .dashboard-modal__actions button[type="submit"] {
  min-height: 44px;
  padding: .72rem 1rem;
  border-radius: 6px;
  background: var(--forest-900);
  color: var(--paper);
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .2s ease, transform .2s ease;
}
body.dashboard-body .dashboard-create-button:hover,
body.dashboard-body .dashboard-modal__actions button[type="submit"]:hover {
  background: var(--moss-600);
  transform: translateY(-1px);
}
body.dashboard-body .dashboard-modal {
  width: min(980px, calc(100% - 2rem));
  max-height: min(88vh, 900px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 10px;
  background: #fffaf0;
  color: var(--forest-950);
  box-shadow: 0 28px 90px rgba(9,25,13,.32);
}
body.dashboard-body .dashboard-modal::backdrop {
  background: rgba(8,22,12,.58);
  backdrop-filter: blur(5px);
}
body.dashboard-body .dashboard-modal__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 2.5vw, 1.45rem);
  border-bottom: 1px solid rgba(18,61,23,.12);
}
body.dashboard-body .dashboard-modal__head h3 {
  margin: .15rem 0 .35rem;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: .92;
  font-weight: 400;
  color: var(--forest-950);
}
body.dashboard-body .dashboard-modal__head p:not(.dashboard__kicker) {
  max-width: 58ch;
  margin: 0;
  color: #5c6b5e;
}
body.dashboard-body .dashboard-modal__close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(18,61,23,.14);
  background: #f5f4eb;
  color: var(--forest-950);
  font-size: 1.45rem;
  line-height: 1;
}
body.dashboard-body .dashboard-modal .dashboard-entry {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #f7f5ec;
}
body.dashboard-body .dashboard-modal .dashboard-entry--new {
  border-style: solid;
}
body.dashboard-body .dashboard-modal__actions {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  gap: .7rem;
  padding: 1rem clamp(1rem, 2.5vw, 1.45rem);
  border-top: 1px solid rgba(18,61,23,.12);
  background: rgba(255,250,240,.96);
  backdrop-filter: blur(10px);
}
body.dashboard-body .dashboard-secondary-button {
  min-height: 44px;
  padding: .72rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(18,61,23,.16);
  background: #fff;
  color: var(--forest-950);
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
@media (max-width: 760px) {
  body.dashboard-body .dashboard-panel__actions-top,
  body.dashboard-body .dashboard-modal__actions {
    justify-content: stretch;
  }
  body.dashboard-body .dashboard-create-button,
  body.dashboard-body .dashboard-modal__actions button {
    width: 100%;
  }
  body.dashboard-body .dashboard-modal .dashboard-entry {
    grid-template-columns: 1fr;
  }
  body.dashboard-body .dashboard-modal__head {
    align-items: flex-start;
  }
}
