:root {
  /* ARTESANIA — palette elegante e materica
     Cacao, ottone satinato, salvia polverosa e avorio caldo. */

  /* Colori identitari */
  --brand-primary: #46372f;
  --brand-primary-soft: #7c6a5c;
  --brand-accent: #a78759;
  --brand-accent-soft: #d8c5a4;
  --brand-green-accent: #52685a;
  --brand-green-accent-soft: #899889;

  /* Alias mantenuti per non modificare il resto del tema */
  --brand-green: var(--brand-primary);
  --brand-green-soft: var(--brand-green-accent);
  --brand-sage: var(--brand-green-accent-soft);
  --brand-sage-light: #e5e9e2;
  --brand-gold: var(--brand-accent);
  --brand-gold-soft: var(--brand-accent-soft);
  --brand-lime: var(--brand-green-accent-soft);
  --brand-brown: var(--brand-primary);
  --brand-brown-soft: var(--brand-primary-soft);

  /* Fondi chiari */
  --cream: #f3f0ea;
  --cream-2: #faf8f4;
  --sand: #ded7ce;
  --sand-2: #eae4dc;
  --stone: #b9ada1;

  /* Testi e fondi scuri */
  --ink: #231f1c;
  --muted: #746d66;
  --dark: #151210;
  --dark-green: #2b2420;
  --dark-green-2: #1c1815;
  --white: #fff;

  --line: rgba(70, 55, 47, .14);
  --line-light: rgba(255, 255, 255, .16);

  --ease: cubic-bezier(.19,1,.22,1);
  --serif: 'Libre Franklin', Georgia, sans-serif;
  --sans: 'Lato', Arial, sans-serif;
}
* {
box-sizing: border-box;
}

html {
scroll-behavior: auto;
background: var(--cream);
}

body {
margin: 0;
font-family: var(--sans);
color: var(--ink);
background: var(--cream);
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
text-rendering: geometricPrecision;
}

body.is-locked {
overflow: hidden;
}

a {
color: inherit;
text-decoration: none;
}

img {
max-width: 100%;
display: block;
}

button {
font: inherit;
color: inherit;
background: none;
border: 0;
cursor: pointer;
}

::selection {
background: var(--brand-green);
color: var(--cream);
}

.page {
position: relative;
background: var(--cream);
z-index: 1;
}

.container {
width: min(100% - 48px, 1520px);
margin: 0 auto;
}

body.is-loading .hero .fade-up,
body.is-loading .hero .splite-title .line span {
  opacity: 0 !important;
  transform: translateY(112%) !important;
}

body.is-loading .hero .splite-title {
  opacity: 1;
}

/* SIMPLE EMPTY PAGE SECTION */

.simple-page-section {
  background:
    linear-gradient(
      180deg,
      var(--dark-green) 86px,
      var(--cream-2) 0%,
      var(--cream-2) 100%
    );
  padding: clamp(140px, 16vw, 240px) 0 clamp(90px, 12vw, 170px);
  min-height: 72vh;
}
.simple-page-container {
  max-width: 980px;
  margin: 0 auto;
}
.simple-page-title {
  margin: 0;
  max-width: 920px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 4vw, 50px);
  line-height: .9;
  letter-spacing: -.06em;
  color: var(--ink);
}

.simple-page-content {
  margin-top: clamp(42px, 6vw, 82px);
  max-width: 720px;
}

.simple-page-content p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: -.01em;
}

.simple-page-content p + p {
  margin-top: 24px;
}

.simple-page-content h2 {
  margin: clamp(54px, 7vw, 86px) 0 22px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 62px);
  line-height: .95;
  letter-spacing: -.045em;
  color: var(--ink);
}

.simple-page-content a {
  color: var(--brand-green);
  border-bottom: 1px solid rgba(70, 55, 47, .24);
  transition: border-color .4s var(--ease), color .4s var(--ease);
}

.simple-page-content a:hover {
  color: var(--brand-gold);
  border-color: currentColor;
}

/* RESPONSIVE */

@media (max-width: 680px) {
  .simple-page-section {
    padding: 120px 0 92px;
  }

  .simple-page-title {
    font-size: clamp(48px, 15vw, 82px);
  }

  .simple-page-content {
    margin-top: 42px;
  }

  .simple-page-content p {
    font-size: 15px;
  }

  .simple-page-content h2 {
    font-size: clamp(32px, 10vw, 52px);
  }
}

/* PRELOADER */
/* LOADING OVERLAY */

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform: translateX(0);
  pointer-events: all;
}

.page-loader:before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--dark-green) 0%, var(--dark) 58%, #000 100%);
  opacity: 1;
}

.loader-logo {
  position: relative;
  z-index: 2;
  width: min(260px, 54vw);
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
}

.loader-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.page-loader.is-ready .loader-logo {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity .9s cubic-bezier(.19,1,.22,1),
    transform .9s cubic-bezier(.19,1,.22,1);
}

.page-loader.is-leaving {
  transform: translateX(-101%);
  transition: transform 1.25s cubic-bezier(.86,0,.07,1);
}

.page-loader.is-leaving .loader-logo {
  opacity: 0;
  transform: translateX(-26px);
  transition:
    opacity .55s ease,
    transform .55s cubic-bezier(.19,1,.22,1);
}

body.is-loading {
  overflow: hidden;
}

/* HEADER */

.site-header {
position: fixed;
inset: 0 0 auto 0;
z-index: 100;
height: 84px;
display: flex;
align-items: center;
color: var(--white);
transition:
  color .6s var(--ease),
  background .6s var(--ease),
  height .6s var(--ease),
  backdrop-filter .6s var(--ease),
  border-color .6s var(--ease);
}

.site-header.is-scrolled {
height: 70px;
color: var(--brand-green);
background: rgba(243, 240, 234, .88);
backdrop-filter: blur(22px);
-webkit-backdrop-filter: blur(22px);
border-bottom: 1px solid rgba(70, 55, 47, .10);
}

.header-inner {
width: min(100% - 48px, 1520px);
margin: 0 auto;
display: grid;
grid-template-columns: 1fr auto 1fr;
align-items: center;
gap: 24px;
}

.brand {
font-size: 13px;
letter-spacing: .28em;
text-transform: uppercase;
font-weight: 500;
}
.logo-scrolled {
  display: none;
}
header.is-scrolled .logo-scrolled {
  display: block !important;
}
header.is-scrolled .logo {
  display: none !important;
}
.nav {
display: flex;
gap: 30px;
align-items: center;
font-size: 11px;
letter-spacing: .18em;
text-transform: uppercase;
}

.nav a {
position: relative;
opacity: .86;
}
.nav a:hover {
color: var(--brand-gold);
}


.nav a:after {
content: '';
position: absolute;
left: 0;
bottom: -8px;
width: 100%;
height: 1px;
background: currentColor;
transform: scaleX(0);
transform-origin: right;
transition: transform .55s var(--ease);
}

.nav a:hover:after {
transform: scaleX(1);
transform-origin: left;
}

.header-actions {
justify-self: end;
display: flex;
align-items: center;
gap: 22px;
}

.lang {
display: flex;
align-items: center;
gap: 0px;
font-size: 11px;
letter-spacing: .16em;
text-transform: uppercase;
}
.lang-btn {
opacity: 1;
padding: 0 6px;
letter-spacing: -0.8;
transition: opacity .3s ease, color .3s ease;
}
.lang-btn:hover {
opacity: 1;
color: var(--brand-gold);
}
.lang-btn {
  opacity: .45;
  transition: opacity .3s ease;
}
.lang-btn.is-active {
  opacity: 1;
  font-weight: 600;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;

  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;

  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);

  transition:
    color 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.social-btn:hover {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}

header.is-scrolled .social-btn {
  border-color: rgba(0, 0, 0, 0.18);
  background: transparent;
  color: #000;
  backdrop-filter: blur(0px);
}

header.is-scrolled .social-btn:hover {
  color: #fff;
  background: var(--brand-green-soft);
  border-color: var(--brand-green-soft);
}
.menu-toggle {
display: none;
width: 44px;
height: 44px;
position: relative;
}

.menu-toggle span,
.menu-toggle:before,
.menu-toggle:after {
content: '';
position: absolute;
left: 10px;
width: 24px;
height: 1px;
background: currentColor;
transition: transform .5s var(--ease), opacity .4s ease;
}

.menu-toggle span {
top: 22px;
}

.menu-toggle:before {
top: 15px;
}

.menu-toggle:after {
top: 29px;
}

body.menu-open .menu-toggle span {
opacity: 0;
}

body.menu-open .menu-toggle:before {
transform: translateY(7px) rotate(45deg);
}

body.menu-open .menu-toggle:after {
transform: translateY(-7px) rotate(-45deg);
}

/* MOBILE PANEL */

.mobile-panel {
position: fixed;
inset: 0;
z-index: 90;
background: var(--cream);
color: var(--brand-green);
transform: translateY(-101%);
transition: transform .85s var(--ease);
display: flex;
flex-direction: column;
justify-content: flex-end;
padding: 120px 24px 38px;
}

body.menu-open .mobile-panel {
transform: translateY(0);
}

.mobile-panel a {
display: block;
font-family: var(--serif);
font-size: clamp(42px, 13vw, 88px);
line-height: .96;
letter-spacing: -.055em;
border-top: 1px solid var(--line);
padding: 22px 0;
}

/* HERO */

.hero {
min-height: 100svh;
position: relative;
color: var(--white);
overflow: hidden;
display: flex;
align-items: flex-end;
isolation: isolate;
}

.hero-slides {
position: absolute;
inset: 0;
z-index: -3;
background: var(--dark-green);
}

.hero-slide {
position: absolute;
inset: 0;
opacity: 0;
background-size: cover;
background-position: center;
transform: scale(1.06);
transition: opacity 1.45s var(--ease), transform 6s linear;
will-change: opacity, transform;
}

.hero-slide.is-active {
opacity: 1;
transform: scale(1.015);
}

.hero:before {
content: '';
position: absolute;
inset: 0;
z-index: -2;
background:
  linear-gradient(90deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .34) 45%, rgba(0, 0, 0, .08) 100%),
  linear-gradient(180deg, rgba(0, 0, 0, .38) 0%, rgba(0, 0, 0, .08) 42%, rgba(0, 0, 0, .66) 100%);
}

.hero-inner {
width: min(100% - 48px, 1520px);
margin: 0 auto;
padding: 150px 0 62px;
display: grid;
grid-template-columns: minmax(0, 1fr) 360px;
gap: 70px;
align-items: end;
}

.eyebrow {
display: inline-flex;
align-items: center;
gap: 12px;
font-size: 11px;
letter-spacing: .2em;
text-transform: uppercase;
font-weight: 500;
opacity: .78;
margin-bottom: 24px;
color: var(--brand-gold-soft);
}

.eyebrow:before {
content: '';
width: 44px;
height: 1px;
background: currentColor;
opacity: .7;
}

.split-title {
margin: 0;
font-family: var(--serif);
font-weight: 500;
letter-spacing: -.065em;
line-height: 1;
/* line-height: .86;*/
font-size: clamp(68px, 12vw, 190px);
}

.split-title .line {
display: block;
overflow: hidden;
padding-bottom: .04em;
}

.split-title .line span {
display: block;
transform: translateY(112%);
opacity: .02;
transition: transform 1.2s var(--ease), opacity 1.2s var(--ease);
}

.split-title.in-view .line span {
transform: translateY(0);
opacity: 1;
}

.split-title .line:nth-child(2) span {
transition-delay: .11s;
}

.split-title .line:nth-child(3) span {
transition-delay: .22s;
}

/* NUOVO SPLIT */
.splite-title {
  margin: 0;
  overflow: hidden;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: 1;
  /*line-height: .86;*/
  font-size: clamp(48px, 10vw, 160px);
}

.splite-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: .04em;
}

.splite-title .line span {
  display: block;
  transform: translateY(112%);
  opacity: .02;
  transition: transform 1.2s var(--ease), opacity 1.2s var(--ease);
}

.splite-title.is-visible .line span {
  transform: translateY(0);
  opacity: 1;
}

.splite-title.is-visible .line:nth-child(1) span {
  transition-delay: 0.1s;
}

.splite-title.is-visible .line:nth-child(2) span {
  transition-delay: 0.25s;
}

.splite-title.is-visible .line:nth-child(3) span {
  transition-delay: 0.4s;
}
.hero-note {
margin: 0 0 14px;
font-size: 15px;
line-height: 1.8;
letter-spacing: -.01em;
color: rgba(255, 255, 255, .78);
max-width: 340px;
}

.minimal-cta {
display: inline-flex;
align-items: center;
gap: 14px;
margin-top: 22px;
font-size: 11px;
letter-spacing: .2em;
text-transform: uppercase;
color: var(--brand-gold-soft);
}

.minimal-cta:after {
content: '';
width: 78px;
height: 1px;
background: currentColor;
transition: width .55s var(--ease);
}

.minimal-cta:hover:after {
width: 110px;
}

.scroll-mark {
position: absolute;
right: 34px;
bottom: 34px;
writing-mode: vertical-rl;
text-transform: uppercase;
font-size: 10px;
letter-spacing: .22em;
opacity: .72;
color: rgba(255, 255, 255, .72);
}

/* GENERAL */

section {
position: relative;
}

.statement {
padding: clamp(90px, 13vw, 190px) 0 clamp(70px, 10vw, 150px);
background:
  radial-gradient(circle at 90% 10%, rgba(216, 197, 164, .28), transparent 30%),
  var(--cream);
}

.statement-grid {
display: grid;
grid-template-columns: .78fr 1.22fr;
gap: 10vw;
align-items: start;
}

.section-kicker {
font-size: 11px;
letter-spacing: .22em;
text-transform: uppercase;
color: var(--brand-green-soft);
margin-top: .8em;
}

.big-text {
margin: 0;
font-family: var(--serif);
font-size: clamp(30px, 5.6vw, 96px);
line-height: .92;
letter-spacing: -.055em;
max-width: 1120px;
color: var(--ink);
}

.small-line {
margin-top: 34px;
max-width: 480px;
color: var(--muted);
font-size: 15px;
line-height: 1.8;
}

.image-band {
height: 76vh;
min-height: 520px;
background: var(--dark-green);
overflow: hidden;
}

.image-band img {
width: 100%;
height: 120%;
object-fit: cover;
opacity: .94;
transform: translateY(-5%);
}

/* SELECTED WORKS */

.selected {
background:
  radial-gradient(circle at 80% 20%, rgba(167, 135, 89, .12), transparent 28%),
  linear-gradient(180deg, var(--dark-green) 0%, var(--dark-green-2) 100%);
color: var(--white);
padding: clamp(90px, 11vw, 160px) 0 0;
}

.selected-head {
width: min(100% - 48px, 1520px);
margin: 0 auto 54px;
display: grid;
grid-template-columns: 1fr auto;
gap: 40px;
align-items: end;
}

.selected .section-kicker {
color: var(--brand-gold-soft);
}

.selected-title {
font-size: clamp(58px, 10vw, 170px);
color: var(--white);
}

.selected-note {
margin: 0 0 18px;
width: 320px;
color: rgba(255, 255, 255, .62);
font-size: 14px;
line-height: 1.8;
}

.horizontal-wrap {
position: relative;
height: 100vh;
min-height: 760px;
}

.horizontal-sticky {
position: sticky;
top: 0;
height: 100vh;
min-height: 760px;
overflow: hidden;
display: flex;
flex-direction: column;
justify-content: center;
}

.project-track {
display: flex;
gap: clamp(22px, 2.2vw, 34px);
padding: 0 max(28px, calc((100vw - 1520px) / 2 + 28px));
will-change: transform;
transform: translate3d(0,0,0);
}

.project-card {
flex: 0 0 min(88vw, 1320px);
height: min(78svh, 760px);
min-height: 520px;
position: relative;
overflow: hidden;
background: var(--dark-green);
transform-style: preserve-3d;
}

.project-card img {
width: 100%;
height: 100%;
object-fit: cover;
opacity: .89;
transform: scale(1.02);
transition: transform 1.4s var(--ease), opacity 1.4s var(--ease);
}

.project-card:hover img {
transform: scale(1.065);
opacity: .98;
}

.project-card:after {
content: '';
position: absolute;
inset: 0;
background:
  linear-gradient(180deg, rgba(0, 0, 0, .04) 0%, rgba(0, 0, 0, .12) 42%, rgba(0, 0, 0, .68) 100%),
  linear-gradient(90deg, rgba(0, 0, 0, .28) 0%, rgba(0, 0, 0, .04) 58%, rgba(0, 0, 0, .16) 100%);
pointer-events: none;
}

.project-meta {
position: absolute;
left: 34px;
right: 34px;
bottom: 30px;
z-index: 2;
display: grid;
grid-template-columns: 1fr auto;
gap: 24px;
align-items: end;
color: var(--white);
}

.project-meta h3 {
margin: 0;
font-family: var(--serif);
font-weight: 500;
letter-spacing: -.04em;
font-size: clamp(34px, 4vw, 76px);
line-height: .9;
}

.project-meta span {
font-size: 11px;
letter-spacing: .18em;
text-transform: uppercase;
opacity: .78;
white-space: nowrap;
color: var(--brand-gold-soft);
}

.progress-wrap {
width: min(100% - 48px, 1520px);
margin: 34px auto 0;
height: 1px;
background: rgba(255, 255, 255, .18);
transform-origin: left;
}

.progress-bar {
display: block;
width: 100%;
height: 100%;
background: linear-gradient(90deg, var(--brand-gold-soft), var(--brand-lime));
transform: scaleX(0);
transform-origin: left;
}

/* DISCIPLINE */

.discipline {
padding: clamp(100px, 13vw, 190px) 0;
background:
  linear-gradient(180deg, var(--cream-2) 0%, var(--sand-2) 100%);
}

.discipline-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8vw;
align-items: center;
}

.portrait {
height: 78vh;
min-height: 560px;
overflow: hidden;
background: var(--stone);
}

.portrait img {
width: 100%;
height: 112%;
object-fit: cover;
transform: translateY(-4%);
}

.discipline-copy {
max-width: 640px;
}

.number-list {
margin: 56px 0 0;
padding: 0;
list-style: none;
border-top: 1px solid var(--line);
}

.number-list li {
display: grid;
grid-template-columns: 72px 1fr;
gap: 28px;
padding: 22px 0;
border-bottom: 1px solid var(--line);
color: var(--muted);
font-size: 15px;
line-height: 1.7;
}

.number-list strong {
color: var(--brand-green);
font-size: 11px;
letter-spacing: .18em;
text-transform: uppercase;
font-weight: 500;
padding-top: .35em;
}

/* QUIET */

.quiet {
min-height: 100vh;
color: var(--white);
background: var(--dark-green);
display: flex;
align-items: center;
overflow: hidden;
}

.quiet-bg {
position: absolute;
inset: 0;
z-index: 0;
}

.quiet-bg img {
width: 100%;
height: 115%;
object-fit: cover;
opacity: .40;
filter: saturate(.78);
}

.quiet:after {
content: '';
position: absolute;
inset: 0;
z-index: 1;
background:
  linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .34) 58%, rgba(0, 0, 0, .16) 100%),
  linear-gradient(180deg, rgba(0, 0, 0, .22) 0%, rgba(0, 0, 0, .58) 100%);
}

.quiet .container {
position: relative;
z-index: 2;
}

.quiet .big-text {
max-width: 980px;
color: var(--white);
}

.quiet .small-line {
color: rgba(255, 255, 255, .68);
}

/* ATELIER */

/* .atelier {
padding: clamp(90px, 12vw, 170px) 0;
background:
  radial-gradient(circle at 20% 0%, rgba(222, 215, 206, .70), transparent 30%),
  var(--cream);
}*/

.atelier-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
margin-top: 60px;
}

.atelier-item {
/*min-height: 360px; */
padding: 34px 20px;
display: flex;
flex-direction: column;
justify-content: space-between;
color: var(--white);
border: 1px solid var(--muted);
}

.atelier-item span {
font-size: 11px;
letter-spacing: .18em;
text-transform: uppercase;
color: var(--brand-green-soft);
transition: color .55s var(--ease);
}

.atelier-item:hover span {
color: var(--brand-gold-soft);
}

.atelier-item h3 {
margin: 0;
font-family: var(--serif);
font-size: clamp(34px, 3vw, 56px);
line-height: .95;
letter-spacing: -.045em;
font-weight: 500;
}

.atelier-item p {
margin: 26px 0 0;
color: var(--white);
font-size: 14px;
line-height: 1.8;
max-width: 340px;
transition: color .55s var(--ease);
}

.atelier-item:hover p {
color: rgba(255, 255, 255, .72);
}

/* FINAL CTA */

.final-cta {
padding: clamp(100px, 15vw, 220px) 0 64px;
background:
  radial-gradient(circle at 80% 20%, rgba(167, 135, 89, .12), transparent 28%),
  linear-gradient(180deg, var(--dark-green) 0%, var(--dark-green-2) 100%);
color: var(--white);
min-height: 100vh;
display: flex;
align-items: flex-end;
}

.final-grid {
display: grid;
grid-template-columns: 1fr 420px;
gap: 80px;
align-items: end;
}

.final-title {
font-size: clamp(62px, 10vw, 164px);
color: var(--white);
}

.contact-card {
border-top: 1px solid var(--line-light);
padding-top: 30px;
color: rgba(255, 255, 255, .72);
font-size: 15px;
line-height: 1.9;
}

.contact-card a {
color: var(--white);
}

.contact-card a:hover {
color: var(--brand-gold-soft);
}

/* ANIMATIONS */

.fade-up {
opacity: 0;
transform: translateY(42px);
transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.fade-up.in-view {
opacity: 1;
transform: translateY(0);
}

[data-lang-content] {
display: none;
}

[data-lang-content].is-active {
display: inline;
}
/* FOOTER */

.footer {
  background: var(--dark-green-2);
  color: var(--white);
  padding: 36px 0;
}
.footer-line {
padding-top: 24px;
border-top: 1px solid rgba(255, 255, 255, .12);
display: flex;
justify-content: space-between;
gap: 24px;
font-size: 11px;
letter-spacing: .16em;
text-transform: uppercase;
color: rgba(255, 255, 255, .48);
}

/* RESPONSIVE */

@media (max-width: 1100px) {
.nav {
  display: none;
}

.header-inner {
  grid-template-columns: 1fr auto;
}

.brand {
  justify-self: start;
}

.header-actions {
  gap: 10px;
}

.menu-toggle {
  display: block;
}

.hero-inner,
.statement-grid,
.discipline-grid,
.final-grid {
  grid-template-columns: 1fr;
}

.hero-inner {
  gap: 38px;
}

.hero-note {
  max-width: 560px;
}

.selected-head {
  grid-template-columns: 1fr;
}

.selected-note {
  width: min(100%, 520px);
}

.horizontal-wrap,
.horizontal-sticky {
  height: auto;
  min-height: 0;
}

.horizontal-sticky {
  position: relative;
  overflow: visible;
  display: block;
  padding-bottom: 76px;
}

.project-track {
  display: grid;
  grid-template-columns: 1fr;
  padding: 0 24px;
  transform: none !important;
}

.project-card {
  flex: none;
  width: 100%;
  height: 62vh;
  min-height: 420px;
}

.progress-wrap {
  display: none;
}

.atelier-grid {
  grid-template-columns: 1fr;
}
}

@media (max-width: 680px) {
.container,
.header-inner,
.hero-inner,
.selected-head,
.progress-wrap {
  width: min(100% - 32px, 1520px);
}

.site-header {
  height: 72px;
}

.hero-inner {
  padding-bottom: 44px;
}

.split-title {
  font-size: clamp(56px, 18vw, 96px);
}

.big-text {
  font-size: clamp(44px, 14vw, 78px);
}

.scroll-mark {
  display: none;
}

.statement-grid {
  gap: 38px;
}

.image-band {
  height: 58vh;
  min-height: 390px;
}

.project-card {
  height: 56vh;
  min-height: 390px;
}

.project-meta {
  left: 22px;
  right: 22px;
  bottom: 22px;
  grid-template-columns: 1fr;
}

.portrait {
  height: 58vh;
  min-height: 430px;
}

.number-list li {
  grid-template-columns: 1fr;
  gap: 4px;
}

.atelier-item {
  min-height: 300px;
  padding: 26px;
}

.footer-line {
  flex-direction: column;
}
}

@media (prefers-reduced-motion: reduce) {
* {
  scroll-behavior: auto !important;
  transition-duration: .01ms !important;
  animation-duration: .01ms !important;
}

.hero-slide {
  transform: none !important;
}
}

/* ABOUT TEXT SECTIONS */

.about-manifesto {
  background: var(--cream-2);
  padding: clamp(90px, 12vw, 180px) 0 clamp(70px, 10vw, 140px);
}

.about-manifesto-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 10vw;
  align-items: start;
}

.about-copy-columns {
  margin-top: clamp(34px, 4vw, 58px);
  max-width: 820px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 58px);
}

.about-copy-columns p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

/* ABOUT ORIGIN */

.about-origin {
  background: var(--cream-2);
  padding: 0 0 clamp(90px, 12vw, 170px);
}

.about-origin-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 10vw;
  align-items: start;
  border-top: 1px solid rgba(35, 31, 28, .13);
  padding-top: clamp(42px, 6vw, 90px);
}

.about-origin-text {
  max-width: 980px;
}

.about-origin-text p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4.8vw, 82px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.045em;
  color: var(--ink);
}

.about-origin-text p + p {
  margin-top: clamp(34px, 4vw, 58px);
}

.about-origin-text .is-muted {
  max-width: 720px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0;
  color: var(--muted);
}

/* ABOUT METHOD */

.about-method {
  background: var(--cream);
  padding: clamp(90px, 12vw, 170px) 0;
}

.about-method-head {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 10vw;
  align-items: start;
  margin-bottom: clamp(70px, 9vw, 130px);
}

.method-list {
  border-top: 1px solid rgba(35, 31, 28, .13);
}

.method-row {
  display: grid;
  grid-template-columns: 110px minmax(0, .9fr) minmax(320px, .8fr);
  gap: clamp(28px, 5vw, 86px);
  align-items: baseline;
  padding: clamp(34px, 5vw, 72px) 0;
  border-bottom: 1px solid rgba(35, 31, 28, .13);
}

.method-number {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.method-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 5.4vw, 96px);
  line-height: .9;
  letter-spacing: -.05em;
  color: var(--ink);
}

.method-row p {
  margin: 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

/* DARK STATEMENT */

.about-dark-statement {
  min-height: 100vh;
  color: var(--white);
  background:
    radial-gradient(circle at 84% 16%, rgba(167, 135, 89, .10), transparent 24%),
    linear-gradient(180deg, var(--brand-green) 0%, var(--dark-green) 100%);
  display: flex;
  align-items: center;
  padding: clamp(100px, 12vw, 180px) 0;
}

.about-dark-statement .big-text {
  max-width: 1120px;
  color: var(--white);
}

.about-dark-statement .small-line {
  color: rgba(255, 255, 255, .68);
}

/* RESPONSIVE ABOUT TEXT SECTIONS */

@media (max-width: 1100px) {
  .about-manifesto-grid,
  .about-origin-grid,
  .about-method-head {
    grid-template-columns: 1fr;
  }

  .about-copy-columns {
    grid-template-columns: 1fr;
  }

  .method-row {
    grid-template-columns: 72px 1fr;
    gap: 28px;
  }

  .method-row p {
    grid-column: 2;
  }
}

@media (max-width: 680px) {
  .about-manifesto {
    padding: 82px 0 72px;
  }

  .about-manifesto-grid,
  .about-origin-grid,
  .about-method-head {
    gap: 34px;
  }

  .about-origin {
    padding-bottom: 92px;
  }

  .about-origin-text p {
    font-size: clamp(34px, 10vw, 58px);
  }

  .about-method {
    padding: 82px 0 96px;
  }

  .about-method-head {
    margin-bottom: 72px;
  }

  .method-row {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 38px 0;
  }

  .method-row p {
    grid-column: auto;
  }

  .method-row h3 {
    font-size: clamp(42px, 13vw, 72px);
  }

  .about-dark-statement {
    min-height: auto;
    padding: 96px 0;
  }
}

/* PROJECTS MASONRY SECTION - 2 COLUMNS + TOOLTIP */

.projects-masonry-section {
  background: var(--cream-2);
  padding: 0 0 clamp(100px, 12vw, 180px);
}

/* GRID */

.projects-masonry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}

/* PROJECT CARD */

.masonry-project {
  position: relative;
  display: block;
  width: 100%;
  color: var(--white);
  overflow: hidden;
  background: var(--dark-green);
  cursor: pointer;
  isolation: isolate;
}

.masonry-project img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  opacity: .92;
  transform: scale(1.015);
  transition:
    transform 1.35s var(--ease),
    opacity 1.35s var(--ease),
    filter 1.35s var(--ease);
  filter: grayscale(.12);
}

/* PROJECT FORMATS */

.masonry-project.is-wide {
  height: clamp(420px, 52vh, 620px);
}

.masonry-project.is-tall {
  height: clamp(620px, 72vh, 880px);
}

.masonry-project.is-medium {
  height: clamp(520px, 62vh, 760px);
}

.masonry-project.is-square {
  aspect-ratio: 1 / 1;
}

/* MASONRY RHYTHM */

.masonry-project:nth-child(even) {
  margin-top: clamp(30px, 4vw, 70px);
}

/* IMAGE OVERLAY */

.masonry-project:after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, .02) 0%,
      rgba(0, 0, 0, .12) 42%,
      rgba(0, 0, 0, .58) 100%
    ),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, .24) 0%,
      rgba(0, 0, 0, .02) 58%,
      rgba(0, 0, 0, .10) 100%
    );
  opacity: .72;
  pointer-events: none;
  transition: opacity .9s var(--ease);
}

.masonry-project:hover img {
  transform: scale(1.065);
  opacity: 1;
  filter: grayscale(0);
}

.masonry-project:hover:after {
  opacity: .94;
}

/* DESKTOP TOOLTIP */

.project-tooltip {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(.96);
  transition:
    opacity .26s ease,
    transform .26s var(--ease);
  mix-blend-mode: difference;
}

.project-tooltip.is-visible {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) scale(1);
}

.project-tooltip-title {
  display: block;
  max-width: 540px;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 38px);
  font-weight: 500;
  line-height: .88;
  letter-spacing: -.055em;
  white-space: nowrap;
}

.project-tooltip-meta {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, .72);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* MOBILE CAPTION - HIDDEN ON DESKTOP */

.masonry-project-caption {
  display: none;
}

/* TABLET / MOBILE */

@media (max-width: 900px) {
  .projects-masonry-section {
    padding-bottom: 92px;
  }

  .projects-masonry {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .masonry-project,
  .masonry-project.is-wide,
  .masonry-project.is-tall,
  .masonry-project.is-square,
  .masonry-project.is-medium {
    height: auto;
    aspect-ratio: auto;
    margin-top: 0;
    color: var(--ink);
    background: transparent;
    overflow: visible;
  }

  .masonry-project:after {
    display: none;
  }

  .masonry-project img {
    width: 100%;
    height: auto;
    min-height: 0;
    opacity: 1;
    filter: none;
    object-fit: cover;
    transform: scale(1);
  }

  .masonry-project:hover img {
    transform: scale(1.015);
  }

  .project-tooltip {
    display: none;
  }

  .masonry-project-caption {
    display: block;
    margin-top: 16px;
    color: var(--ink);
  }

  .masonry-project-caption h2 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(32px, 7vw, 62px);
    line-height: .95;
    letter-spacing: -.045em;
  }

  .masonry-project-caption span {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
  }
}

/* SMALL MOBILE */

@media (max-width: 680px) {
  .projects-masonry {
    gap: 42px;
  }

  .masonry-project {
    margin-bottom: 0;
  }

  .masonry-project-caption {
    margin-top: 14px;
  }

  .masonry-project-caption h2 {
    font-size: clamp(20px, 6vw, 30px);
  }
}
/* PROGETTO SINGOLO */

.project-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: contactHeroBreath 8s linear forwards;
}
.project-description {
  margin-top: clamp(34px, 4vw, 58px);
  max-width: 760px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 58px);
}
.project-description p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}
.project-gallery-section {
  /*background:
    radial-gradient(circle at 80% 20%, rgba(167, 135, 89, .10), transparent 28%),
    linear-gradient(180deg, var(--dark-green) 0%, var(--dark-green-2) 100%);*/
  color: var(--white);
  /*padding: clamp(90px, 11vw, 0px) 0 0; */
  overflow: visible;
}
.project-gallery-wrap {
  position: relative;
  height: 100vh;
  min-height: 760px;
}

.project-gallery-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 760px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-gallery-track {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 30px);
  padding: 0 max(28px, calc((100vw - 1520px) / 2 + 28px));
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

/*
  Altezza uguale per tutte.
  Larghezza variabile in base al formato.
  Perfetto per foto verticali e orizzontali.
*/

.project-gallery-item {
  flex: 0 0 auto;
  height: min(74svh, 720px);
  min-height: 520px;
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

.project-gallery-item img {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  display: block;
  opacity: .94;
  transition:
    opacity 1s var(--ease),
    transform 1.2s var(--ease);
}

.project-gallery-item:hover img {
  opacity: 1;
  transform: scale(1.025);
}

/* Variante: se vuoi alcune immagini più larghe forzate */
.project-gallery-item.is-wide img {
  width: min(88vw, 1320px);
  height: 100%;
  object-fit: cover;
}

.project-gallery-item.is-portrait img {
  height: 100%;
  width: auto;
  object-fit: contain;
}
/* Progress gallery */

.project-gallery-progress {
  width: min(100% - 48px, 1520px);
  margin: 34px auto 0;
  height: 1px;
  background: rgba(255, 255, 255, .18);
  transform-origin: left;
}

.project-gallery-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-gold-soft), var(--brand-lime));
  transform: scaleX(0);
  transform-origin: left;
}
/* RESPONSIVE SINGLE PROJECT */

@media (max-width: 1100px) {
  .project-hero-inner,
  .project-intro-grid,
  .project-detail-row,
  .project-gallery-head {
    grid-template-columns: 1fr;
  }

  .project-hero-inner {
    gap: 38px;
  }

  .project-description {
    grid-template-columns: 1fr;
  }

  .project-gallery-wrap,
  .project-gallery-sticky {
    height: auto;
    min-height: 0;
  }

  .project-gallery-sticky {
    position: relative;
    overflow: visible;
    display: block;
    padding-bottom: 76px;
  }

  .project-gallery-track {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0 24px;
    transform: none !important;
  }

  .project-gallery-item,
  .project-gallery-cta {
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .project-gallery-item img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
  }

  .project-gallery-cta {
    min-height: 420px;
  }

  .project-gallery-progress {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .project-hero-bg {
    animation: none;
    transform: scale(1.02);
  }
}

/* CONTACT PAGE */

.contact-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-size: cover;
  background-position: center;
  filter: grayscale(1);
  transform: scale(1.04);
  animation: contactHeroBreath 8s linear forwards;
}

@keyframes contactHeroBreath {
  from {
    transform: scale(1.075);
  }

  to {
    transform: scale(1.025);
  }
}

/* CONTACT CONTENT */

.contact-section {
  background: var(--cream-2);
  padding: clamp(90px, 12vw, 180px) 0;
}

.contact-intro {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 10vw;
  align-items: start;
  margin-bottom: clamp(70px, 9vw, 130px);
}
.contact-intro .big-text {
margin: 0;
font-family: var(--serif);
font-size: clamp(46px, 7vw, 60px);
line-height: 1em;
}

.contact-list {
  border-top: 1px solid rgba(35, 31, 28, .13);
}

.contact-row {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 10vw;
  align-items: baseline;
  padding: clamp(28px, 4vw, 54px) 0;
  border-bottom: 1px solid rgba(35, 31, 28, .13);
}

.contact-label {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-value {
  font-family: var(--serif);
  font-size: clamp(34px, 4.8vw, 70px);
  line-height: .95;
  letter-spacing: -.045em;
  color: var(--ink);
}

.contact-value a {
  position: relative;
  display: inline-block;
}

.contact-value a:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -.08em;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(.18);
  transform-origin: left;
  opacity: .28;
  transition:
    transform .7s var(--ease),
    opacity .7s var(--ease);
}

.contact-value a:hover:after {
  transform: scaleX(1);
  opacity: .9;
}

.contact-address {
  max-width: 720px;
}

.contact-note {
  margin-top: clamp(70px, 9vw, 130px);
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 10vw;
  align-items: start;
}

.contact-note p {
  margin: 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

/* RESPONSIVE CONTACT */

@media (max-width: 1100px) {
  .contact-hero-inner,
  .contact-intro,
  .contact-row,
  .contact-note {
    grid-template-columns: 1fr;
  }

  .contact-hero-inner {
    gap: 38px;
  }

  .contact-hero-note {
    max-width: 560px;
  }

  .contact-row,
  .contact-note {
    gap: 24px;
  }

  .contact-value {
    font-size: clamp(38px, 9vw, 78px);
  }
}

@media (max-width: 680px) {
  .contact-hero-inner {
    width: min(100% - 32px, 1520px);
    padding-bottom: 48px;
  }

  .contact-section {
    padding: 82px 0 96px;
  }

  .contact-intro {
    margin-bottom: 72px;
    gap: 34px;
  }

  .contact-row {
    padding: 34px 0;
  }

  .contact-value {
    font-size: clamp(34px, 10vw, 62px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-hero-bg {
    animation: none;
    transform: scale(1.02);
  }
}

/* FIX SELECTED WORKS DYNAMIC CARDS - DESKTOP ONLY */

@media (min-width: 1101px) {
  .selected .project-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    gap: clamp(22px, 2.2vw, 34px);
    padding: 0 max(28px, calc((100vw - 1520px) / 2 + 28px));
    width: max-content;
  }

  .selected .project-card {
    flex: 0 0 min(88vw, 1320px) !important;
    width: min(88vw, 1320px) !important;
    max-width: none !important;
    height: min(78svh, 760px);
    min-height: 520px;
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--dark-green);
  }

  .selected .project-card img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    display: block;
  }
}
/* SELECTED WORKS MOBILE RESET */

@media (max-width: 1100px) {
  .selected .project-track {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px;
    padding: 0 24px !important;
    transform: none !important;
  }

  .selected .project-card {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    height: 62vh;
    min-height: 420px;
  }

  .selected .project-card img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
  }
}
@media (max-width: 680px) {
  .selected .project-track {
    padding: 0 16px !important;
  }

  .selected .project-card {
    height: 56vh;
    min-height: 360px;
  }
}

/* BLOG HERO */

.blog-hero {
  min-height: 30vh;
  position: relative;
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  background: var(--dark-green);
}

.blog-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("img/blog-hero.jpg");
  background-size: cover;
  background-position: center;
  filter: grayscale(1) saturate(.8);
  transform: scale(1.04);
  animation: blogHeroBreath 8s linear forwards;
}

@keyframes blogHeroBreath {
  from {
    transform: scale(1.075);
  }

  to {
    transform: scale(1.025);
  }
}

.blog-hero:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, .76) 0%,
      rgba(0, 0, 0, .34) 48%,
      rgba(0, 0, 0, .10) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, .42) 0%,
      rgba(0, 0, 0, .08) 42%,
      rgba(0, 0, 0, .68) 100%
    );
}

.blog-hero-inner {
  width: min(100% - 48px, 1520px);
  margin: 0 auto;
  padding: 150px 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 70px;
  align-items: end;
}

.blog-hero-note {
  max-width: 360px;
  color: rgba(255, 255, 255, .76);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: -.01em;
}

.blog-hero-note p {
  margin: 0;
}

/* BLOG INTRO */

.blog-intro {
  background: radial-gradient(circle at 84% 18%, rgba(167, 135, 89, .10), transparent 24%), linear-gradient(180deg, var(--brand-green) 0%, var(--dark-green) 100%);
  padding: clamp(90px, 12vw, 170px) 0 clamp(60px, 8vw, 110px);
}

.blog-intro h2 {
  font-size: clamp(34px, 4.8vw, 80px);
  margin: 0 auto;
  color: var(--cream-2);
  line-height: .98;
}

.blog-intro p {
  color: var(--cream-2);
}

.blog-intro-grid {
  display: grid;
  grid-template-columns: 1.78fr 1.22fr;
  gap: 10vw;
  align-items: start;
}

/* BLOG LIST */

.blog-list-section {
  background: var(--cream-2);
  padding: clamp(90px, 12vw, 170px) 0 clamp(60px, 8vw, 110px);

}

.blog-list {
  display: grid;
  gap: clamp(54px, 6vw, 96px);
}

/* ogni articolo è una riga pulita */
.blog-row {
  display: grid;
  grid-template-columns: minmax(0, 60%) minmax(0, 40%);
  gap: clamp(28px, 4vw, 64px);
  align-items: stretch;
  color: var(--ink);
  overflow: visible;
}

/* immagine: sempre stessa larghezza perché sta nella colonna 60% */
.blog-row-image {
  position: relative;
  width: 100%;
height: clamp(360px, 46vh, 560px);
  overflow: hidden;
  background: var(--dark-green);
}

.blog-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .92;
  transform: scale(1.015);
  transition:
    transform 1.15s var(--ease),
    opacity 1.15s var(--ease),
    filter 1.15s var(--ease);
  filter: grayscale(.12);
}

.blog-row-image:after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, .02) 0%,
      rgba(0, 0, 0, .08) 46%,
      rgba(0, 0, 0, .36) 100%
    );
  pointer-events: none;
  transition: opacity .9s var(--ease);
}

/* colonna testo */
.blog-row-content {
  height: clamp(360px, 46vh, 560px);
  padding: 4px 0 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
}

/* parte alta del testo */
.blog-row-main {
  display: block;
}

.blog-row-date {
  display: block;
  margin-bottom: clamp(18px, 2vw, 30px);
  color: var(--brand-green-soft);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

/* titolo più piccolo e minimal */
.blog-row-title {
  margin: 0;
  max-width: 520px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 3.2vw, 58px);
  line-height: .98;
  letter-spacing: -.04em;
  color: var(--ink);
  transition: color .55s var(--ease);
}

.blog-row-excerpt {
  margin: clamp(18px, 2.4vw, 34px) 0 0;
  max-width: 460px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.blog-row-bottom {
  margin-top: 32px;
}

/* hover */
.blog-row:hover .blog-row-image img {
  transform: scale(1.055);
  opacity: 1;
  filter: grayscale(0);
}

.blog-row:hover .blog-row-title {
  color: var(--brand-green);
}

.blog-row:hover .minimal-cta:after {
  width: 110px;
}

/* ARTICLE SINGLE PAGE */

/* ARTICLE HERO */

body.page-articolo .site-header {
  color: var(--brand-green);
  background: rgba(243, 240, 234, .88);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(70, 55, 47, .10);
}

body.page-articolo .site-header .logo {
  display: none !important;
}

body.page-articolo .site-header .logo-scrolled {
  display: block !important;
}

.article-hero {
background:var(--cream-2);
padding: clamp(160px, 3vw, 120px) 0 clamp(60px, 3vw, 60px);
color: var(--dark);
}

.article-title {
max-width: 960px;
margin: 0 auto;
text-align: center;
color: var(--dark);
font-size: clamp(30px, 5vw, 70px);
font-weight: 500;
font-family: var(--serif);
}

.article-meta {
  width: 100%;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

/* FEATURED IMAGE */

.article-featured-image {
width: min(100% - 48px, 1520px);
height: clamp(380px, 72vh, 760px);
margin: 0 auto;
overflow: hidden;
background: var(--dark-green);
}

.article-featured-image img {
width: 100%;
height: 112%;
object-fit: cover;
opacity: .94;
transform: translateY(-4%) scale(1.015);
filter: grayscale(.08);
}

/* ARTICLE CONTENT */

.article-content-section {
background: var(--cream-2);
padding: clamp(80px, 10vw, 150px) 0 clamp(80px, 10vw, 150px);
}

.article-content {
width: min(100% - 48px, 760px);
margin: 0 auto;
}

.article-content p {
margin: 0;
color: var(--muted);
font-size: clamp(16px, 1vw, 16px);
line-height: 1.6;
text-align: justify;
letter-spacing: -.01em;
}

.article-content p + p {
margin-top: 30px;
}

.article-content img {
margin: 20px 0;
}

/* ARTICLE BOTTOM */

.article-bottom {
background: var(--cream);
padding: clamp(30px, 9vw, 40px) 0;
border-top: 1px solid rgba(35, 31, 28, .13);
}

.article-bottom-grid {
display: grid;
grid-template-columns: .78fr 1.22fr;
gap: 10vw;
align-items: start;
}

.article-back {
display: inline-flex;
width: fit-content;
color: var(--brand-green);
font-size: 11px;
letter-spacing: .22em;
text-transform: uppercase;
}

.article-back span {
position: relative;
display: inline-block;
}

.article-back span:before {
content: '←';
margin-right: 12px;
}

.article-back span:after {
content: '';
position: absolute;
left: 26px;
right: 0;
bottom: -8px;
height: 1px;
background: currentColor;
transform: scaleX(.18);
transform-origin: left;
opacity: .3;
transition:
transform .55s var(--ease),
opacity .55s var(--ease);
}

.article-back:hover span:after {
transform: scaleX(1);
opacity: 1;
}

/* RESPONSIVE ARTICLE */

@media (max-width: 1100px) {
  .article-intro {
    margin-left: 0;
    }

  .article-bottom-grid {
    grid-template-columns: 1fr;
    gap: 54px;
    }
}

@media (max-width: 680px) {
  .article-hero {
    padding: 132px 0 72px;
    }

  .article-title {
    font-size: clamp(52px, 16vw, 88px);
    }

  .article-intro {
    font-size: 18px;
    }

  .article-featured-image {
    width: min(100% - 32px, 1520px);
    height: 320px;
    }

  .article-content {
    width: min(100% - 32px, 760px);
    }

  .article-content p {
    font-size: 16px;
    line-height: 1.85;
    }

  .article-content h2 {
    font-size: clamp(36px, 11vw, 58px);
    }

  .article-content blockquote {
    padding-left: 24px;
    font-size: clamp(34px, 11vw, 58px);
    }

  .article-bottom {
    padding: 72px 0 86px;
    }
}
