@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:wght@400;500;600;700&display=swap");


/* =========================================================
   BASE
   ========================================================= */

:root {
    --vr-bg: #f4efe6;
    --vr-paper: #fffdf8;
    --vr-text: #26211d;
    --vr-muted: #777067;
    --vr-accent: #8b3d2e;
    --vr-accent-dark: #64291f;
    --vr-gold: #ad8a52;
    --vr-line: #d8cfc2;

    --vr-container: 1220px;
    --vr-radius: 18px;

    --vr-font-display:
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif;

    --vr-font-body:
        "DM Sans",
        Arial,
        Helvetica,
        sans-serif;

    --vr-shadow:
        0 20px 50px rgba(42, 33, 27, 0.10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--vr-bg);
    color: var(--vr-text);

    font-family: var(--vr-font-body);

    font-size: 16px;
    line-height: 1.7;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

figure {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--vr-accent);
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(100% - 48px, var(--vr-container));
    margin-inline: auto;
}

.section {
    padding: 100px 0;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;

    font-family: var(--vr-font-display);

    line-height: 0.98;

    font-weight: 500;

    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(3.8rem, 7vw, 7rem);
}

h2 {
    font-size: clamp(2.8rem, 4.8vw, 4.8rem);
}

h3 {
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
}

p {
    margin-top: 0;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 55px;
}

.section-heading p:last-child {
    max-width: 680px;

    font-size: 1.05rem;
    line-height: 1.75;

    color: var(--vr-muted);
}

.section-heading__eyebrow,
.hero-home__eyebrow,
.single-opera__eyebrow {
    margin-bottom: 16px;

    font-family: var(--vr-font-body);

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.19em;

    text-transform: uppercase;

    color: var(--vr-accent);
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: relative;
    z-index: 100;

    border-bottom:
        1px solid rgba(38, 33, 29, 0.09);

    background:
        rgba(255, 253, 248, 0.96);

    backdrop-filter: blur(10px);
}

.site-header__inner {
    position: relative;

    width: min(100% - 48px, var(--vr-container));

    min-height: 92px;

    margin-inline: auto;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.site-branding {
    display: flex;
    flex-direction: column;
    justify-content: center;

    line-height: 1.15;
}

.site-logo {
    font-family: var(--vr-font-display);

    font-size: 1.85rem;
    font-weight: 500;

    letter-spacing: -0.02em;
}

.site-logo:hover {
    color: var(--vr-text);
}

.site-tagline {
    margin-top: 5px;

    font-family: var(--vr-font-body);

    font-size: 0.62rem;
    font-weight: 600;

    letter-spacing: 0.16em;

    text-transform: uppercase;

    color: var(--vr-muted);
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.site-navigation ul,
.primary-menu {
    display: flex;

    align-items: center;

    gap: 31px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.site-navigation a {
    position: relative;

    display: block;

    padding: 32px 0;

    font-size: 0.91rem;
    font-weight: 500;

    color: var(--vr-text);
}

.site-navigation a::after {
    content: "";

    position: absolute;

    left: 0;
    right: 100%;
    bottom: 24px;

    height: 1px;

    background: var(--vr-accent);

    transition: right 0.25s ease;
}

.site-navigation a:hover {
    color: var(--vr-accent);
}

.site-navigation a:hover::after {
    right: 0;
}


/* =========================================================
   HAMBURGER
   ========================================================= */

.menu-toggle {
    display: none;

    position: relative;

    width: 44px;
    height: 44px;

    padding: 0;

    border: 0;

    background: transparent;

    cursor: pointer;

    z-index: 110;
}

.menu-toggle__line {
    position: absolute;

    left: 8px;

    width: 28px;
    height: 1px;

    background: var(--vr-text);

    transition:
        transform 0.3s ease,
        top 0.3s ease,
        opacity 0.2s ease;
}

.menu-toggle__line:nth-child(1) {
    top: 13px;
}

.menu-toggle__line:nth-child(2) {
    top: 21px;
}

.menu-toggle__line:nth-child(3) {
    top: 29px;
}

.menu-toggle[aria-expanded="true"]
.menu-toggle__line:nth-child(1) {
    top: 21px;

    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"]
.menu-toggle__line:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"]
.menu-toggle__line:nth-child(3) {
    top: 21px;

    transform: rotate(-45deg);
}


/* =========================================================
   HERO HOME
   ========================================================= */

.hero-home {
    position: relative;

    min-height: 82vh;

    display: flex;

    align-items: flex-end;

    padding: 90px 0;

    background:
        linear-gradient(
            to right,
            rgba(20, 16, 12, 0.69) 0%,
            rgba(20, 16, 12, 0.42) 32%,
            rgba(20, 16, 12, 0.10) 62%,
            rgba(20, 16, 12, 0.02) 100%
        ),
        url("https://fuoridalguscio.com/wp-content/uploads/2026/09/signora-di-firenze-hero.webp");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    overflow: hidden;
}

.hero-home::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(20, 16, 12, 0.30),
            transparent 45%
        );

    pointer-events: none;
}

.hero-home__content {
    position: relative;
    z-index: 3;

    width: min(100% - 48px, var(--vr-container));

    margin-inline: auto;

    color: #ffffff;
}

.hero-home__content > * {
    max-width: 720px;
}

.hero-home__eyebrow {
    color: #ffffff;
}

.hero-home h1 {
    margin-bottom: 24px;

    font-size:
        clamp(4.2rem, 8vw, 7.5rem);

    letter-spacing: -0.035em;
}

.hero-home__subtitle {
    max-width: 610px;

    margin-bottom: 34px;

    font-size:
        clamp(1rem, 1.8vw, 1.35rem);
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 26px;

    border-radius: 999px;

    font-size: 0.76rem;
    font-weight: 700;

    letter-spacing: 0.075em;

    text-transform: uppercase;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    background: #ffffff;

    color: var(--vr-text);
}

.button--primary:hover {
    background: var(--vr-accent);

    color: #ffffff;
}

.button--outline {
    border:
        1px solid var(--vr-text);

    background: transparent;

    color: var(--vr-text);
}

.button--outline:hover {
    border-color: var(--vr-accent);

    background: var(--vr-accent);

    color: #ffffff;
}


/* =========================================================
   HOME INTRO
   ========================================================= */

.home-intro {
    position: relative;

    background: var(--vr-paper);
}

.home-intro::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 1px;
    height: 44px;

    background: var(--vr-gold);

    transform: translateY(-22px);
}

.home-intro__content {
    max-width: 900px;

    margin-inline: auto;

    text-align: center;
}

.home-intro__content h2 {
    max-width: 850px;

    margin-inline: auto;
}

.home-intro__content p {
    max-width: 730px;

    margin-inline: auto;

    font-family: var(--vr-font-display);

    font-size:
        clamp(1.45rem, 2.5vw, 2rem);

    line-height: 1.42;

    color: var(--vr-muted);
}


/* =========================================================
   FIRENZE
   ========================================================= */

.home-firenze {
    position: relative;

    overflow: hidden;

    background: var(--vr-bg);
}

.home-firenze::before {
    content: "FIRENZE";

    position: absolute;

    top: 30px;
    right: -20px;

    font-family: var(--vr-font-display);

    font-size:
        clamp(7rem, 15vw, 14rem);

    line-height: 1;

    letter-spacing: -0.05em;

    color:
        rgba(139, 61, 46, 0.035);

    pointer-events: none;
}

.home-firenze .container {
    position: relative;

    z-index: 2;
}

.home-firenze .section-heading {
    margin-bottom: 65px;
}

.home-firenze__link {
    margin-top: 45px;
}


/* =========================================================
   OPERE GRID
   ========================================================= */

.opere-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 34px;
}

.opera-card {
    position: relative;

    overflow: hidden;

    border-radius:
        var(--vr-radius);

    background:
        var(--vr-paper);

    box-shadow:
        0 5px 18px
        rgba(36, 33, 29, 0.04);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.opera-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--vr-shadow);
}

.opera-card__image {
    position: relative;

    aspect-ratio: 4 / 5;

    overflow: hidden;

    background: #ddd4c8;
}

.opera-card__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}

.opera-card:hover
.opera-card__image img {
    transform: scale(1.045);
}

.opera-card__content {
    padding:
        24px 24px 26px;
}

.opera-card__title {
    margin-bottom: 8px;

    font-size: 1.9rem;

    line-height: 1.05;
}

.opera-card__category {
    margin-bottom: 0;

    font-size: 0.68rem;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.14em;

    color: var(--vr-muted);
}


/* =========================================================
   HOME STORY
   ========================================================= */

.home-story {
    position: relative;

    background: #e9dfd1;

    overflow: hidden;
}

.home-story__feature {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(340px, 0.85fr);

    min-height: 620px;

    overflow: hidden;

    border-radius:
        calc(var(--vr-radius) + 6px);

    background: var(--vr-paper);

    box-shadow: var(--vr-shadow);
}

.home-story__image {
    min-height: 620px;
}

.home-story__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.home-story__content {
    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: flex-start;

    padding:
        70px 65px;
}

.home-story__content h2 {
    margin-bottom: 12px;
}

.home-story__content h3 {
    margin-bottom: 25px;

    font-family: var(--vr-font-body);

    font-size: 0.95rem;

    color: var(--vr-accent);
}

.home-story__content
> p:not(.section-heading__eyebrow) {
    max-width: 520px;

    margin-bottom: 34px;

    color: var(--vr-muted);
}


/* =========================================================
   HOME OPERE
   ========================================================= */

.home-opere {
    background: var(--vr-paper);
}

.home-opere__link {
    margin-top: 50px;
}


/* =========================================================
   ARCHIVIO OPERE
   ========================================================= */

.opere-archive {
    padding: 110px 0;
}

.opere-archive__header {
    max-width: 760px;

    margin-bottom: 65px;
}

.opere-pagination {
    margin-top: 65px;
}


/* =========================================================
   SINGOLA OPERA - HERO
   ========================================================= */

.opera-single-page {
    background: var(--vr-paper);
}

.opera-single-hero {
    position: relative;

    padding:
        80px 0 60px;

    background:
        linear-gradient(
            135deg,
            #f8f3eb 0%,
            #eee4d7 100%
        );

    overflow: hidden;
}

.opera-single-hero::after {
    content: "OPERA";

    position: absolute;

    right: -20px;
    bottom: -40px;

    font-family:
        var(--vr-font-display);

    font-size:
        clamp(8rem, 18vw, 16rem);

    line-height: 0.8;

    letter-spacing: -0.07em;

    color:
        rgba(139, 61, 46, 0.035);

    pointer-events: none;
}

.opera-single-hero .container {
    position: relative;

    z-index: 2;
}

.opera-single-hero__meta {
    margin-bottom: 18px;
}

.opera-single-hero__meta
.section-heading__eyebrow {
    margin-bottom: 0;
}

.opera-single-hero__meta span {
    color: var(--vr-muted);
}

.opera-single-hero__title {
    max-width: 850px;

    margin-bottom: 24px;

    font-size:
        clamp(2.8rem, 4.3vw, 4.4rem);

    line-height: 1.02;

    letter-spacing: -0.02em;
}

.opera-single-hero__subtitle {
    max-width: 740px;

    margin-bottom: 0;

    font-family: var(--vr-font-display);

    font-size:
        clamp(1.45rem, 2.5vw, 2rem);

    line-height: 1.4;

    color: var(--vr-muted);
}


/* =========================================================
   SINGOLA OPERA - COVER
   ========================================================= */

.opera-single-cover {
    padding:
        70px 0 35px;

    background:
        var(--vr-paper);
}

.opera-single-cover__image {
    overflow: hidden;

    border-radius:
        calc(var(--vr-radius) + 6px);

    background:
        var(--vr-bg);

    box-shadow:
        var(--vr-shadow);
}

.opera-single-cover__image img {
    width: 100%;

    max-height: 900px;

    object-fit: contain;

    margin-inline: auto;
}


/* =========================================================
   SINGOLA OPERA - INTRO
   ========================================================= */

.opera-single-intro {
    padding:
        95px 0 110px;

    background:
        var(--vr-paper);
}

.opera-single-intro__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.75fr)
        minmax(240px, 0.55fr);

    gap: 80px;

    max-width: 1120px;

    margin-inline: auto;
}

.opera-single-intro__content {
    max-width: 800px;
}

.opera-single-intro__text {
    max-width: 760px;

    font-size: 1.08rem;

    line-height: 1.9;
}

.opera-single-intro__text p {
    margin-bottom: 1.5em;
}

.opera-single-intro__text
p:first-child {
    font-family:
        var(--vr-font-display);

    font-size:
        clamp(1.45rem, 2.25vw, 1.9rem);

    line-height: 1.48;
}

.opera-single-intro__text
p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   SINGOLA OPERA - DATI
   ========================================================= */

.opera-single-details {
    align-self: start;

    padding:
        30px 0;

    border-top:
        1px solid var(--vr-line);

    border-bottom:
        1px solid var(--vr-line);
}

.opera-single-details__heading {
    margin-bottom: 22px;

    font-size: 0.68rem;

    font-weight: 700;

    letter-spacing: 0.17em;

    text-transform: uppercase;

    color: var(--vr-accent);
}

.opera-single-details__item {
    padding:
        15px 0;

    border-top:
        1px solid rgba(216, 207, 194, 0.55);
}

.opera-single-details__item:first-of-type {
    border-top: 0;
}

.opera-single-details__item span {
    display: block;

    margin-bottom: 5px;

    font-size: 0.67rem;

    font-weight: 600;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    color: var(--vr-muted);
}

.opera-single-details__item strong {
    display: block;

    font-family:
        var(--vr-font-display);

    font-size: 1.35rem;

    font-weight: 500;

    line-height: 1.25;
}


/* =========================================================
   GALLERIA OPERA
   ========================================================= */

.opera-gallery {
    padding:
        110px 0;

    background: var(--vr-bg);
}

.opera-gallery__header {
    max-width: 760px;

    margin-bottom: 60px;
}

.opera-gallery__header h2 {
    margin-bottom: 0;
}

.opera-gallery__grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;
}

.opera-gallery__item {
    overflow: hidden;

    min-height: 360px;

    border-radius:
        var(--vr-radius);

    background:
        #ddd4c8;
}

.opera-gallery__item img {
    width: 100%;
    height: 100%;

    min-height: 360px;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}

.opera-gallery__item:hover img {
    transform:
        scale(1.02);
}

.opera-gallery__item--1 {
    grid-column:
        1 / -1;

    min-height: 650px;
}

.opera-gallery__item--1 img {
    min-height: 650px;

    max-height: 820px;
}

.opera-gallery__item:nth-child(5n) {
    grid-column:
        1 / -1;

    min-height: 600px;
}

.opera-gallery__item:nth-child(5n) img {
    min-height: 600px;

    max-height: 820px;
}


/* =========================================================
   GALLERIA ILLUSTRAZIONI
   ========================================================= */

/*
 * Le illustrazioni vengono trattate come opere su carta:
 *
 * - 3 colonne su desktop
 * - nessun crop
 * - nessuna immagine gigante
 * - dimensioni naturali
 * - ultima immagine centrata se resta sola
 */

.opera-single-page--illustrazione
.opera-gallery__grid {
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;

    align-items: start;
}

.opera-single-page--illustrazione
.opera-gallery__item,
.opera-single-page--illustrazione
.opera-gallery__item--1,
.opera-single-page--illustrazione
.opera-gallery__item:nth-child(5n) {
    grid-column: auto;

    min-height: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 14px;

    border:
        1px solid
        rgba(216, 207, 194, 0.75);

    border-radius:
        14px;

    background:
        rgba(255, 253, 248, 0.72);
}

.opera-single-page--illustrazione
.opera-gallery__item img,
.opera-single-page--illustrazione
.opera-gallery__item--1 img,
.opera-single-page--illustrazione
.opera-gallery__item:nth-child(5n) img {
    width: auto;
    height: auto;

    max-width: 100%;
    max-height: 480px;

    min-height: 0;

    object-fit: contain;

    margin-inline: auto;

    transition:
        transform 0.3s ease;
}

.opera-single-page--illustrazione
.opera-gallery__item:hover img {
    transform:
        scale(1.015);
}


/*
 * Se l'ultima riga contiene una sola immagine
 * con una griglia a 3 colonne, la centriamo.
 *
 * Funziona quindi con:
 * 4 immagini
 * 7 immagini
 * 10 immagini
 * ecc.
 */
.opera-single-page--illustrazione
.opera-gallery__item:last-child:nth-child(3n + 1) {
    grid-column: 2;
}


/* =========================================================
   RACCONTO OPERA
   ========================================================= */

.opera-story {
    position: relative;

    padding:
        120px 0;

    background:
        var(--vr-accent);

    color: #ffffff;

    overflow: hidden;
}

.opera-story::after {
    content: "RACCONTO";

    position: absolute;

    right: -40px;
    bottom: -35px;

    font-family:
        var(--vr-font-display);

    font-size:
        clamp(7rem, 16vw, 14rem);

    line-height: 0.8;

    letter-spacing: -0.06em;

    color:
        rgba(255, 255, 255, 0.035);
}

.opera-story__inner {
    position: relative;

    z-index: 2;

    max-width: 850px;
}

.opera-story
.section-heading__eyebrow {
    color:
        rgba(255, 255, 255, 0.75);
}

.opera-story h2 {
    margin-bottom: 35px;
}

.opera-story__text {
    max-width: 760px;

    font-size: 1.06rem;

    line-height: 1.9;

    color:
        rgba(255, 255, 255, 0.83);
}

.opera-story__text p {
    margin-bottom: 1.5em;
}

.opera-story__text
p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   NAVIGAZIONE OPERE
   ========================================================= */

.opera-single-navigation {
    padding:
        70px 0;

    background:
        var(--vr-paper);

    border-top:
        1px solid var(--vr-line);
}

.opera-single-navigation__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto
        minmax(0, 1fr);

    align-items: center;

    gap: 40px;
}

.opera-single-navigation__previous,
.opera-single-navigation__next {
    min-height: 70px;
}

.opera-single-navigation__next {
    text-align: right;
}

.opera-single-navigation__previous a,
.opera-single-navigation__next a {
    display: inline-flex;

    flex-direction: column;

    gap: 6px;
}

.opera-single-navigation__next a {
    align-items: flex-end;
}

.opera-single-navigation__previous span,
.opera-single-navigation__next span {
    font-size: 0.65rem;

    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    color:
        var(--vr-muted);
}

.opera-single-navigation__previous strong,
.opera-single-navigation__next strong {
    font-family:
        var(--vr-font-display);

    font-size: 1.45rem;

    font-weight: 500;

    line-height: 1.2;
}


/* =========================================================
   ARCHIVIO STORIE
   ========================================================= */

.stories-archive {
    padding: 110px 0;

    background:
        var(--vr-bg);
}

.stories-archive__header {
    max-width: 820px;

    margin-bottom: 70px;
}

.stories-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 38px;
}

.story-card {
    overflow: hidden;

    border-radius:
        var(--vr-radius);

    background:
        var(--vr-paper);

    box-shadow:
        0 10px 35px
        rgba(42, 33, 27, 0.07);
}

.story-card__image {
    aspect-ratio:
        16 / 11;

    overflow: hidden;
}

.story-card__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.story-card__content {
    padding:
        34px 34px 38px;
}


/* =========================================================
   SINGOLA STORIA
   ========================================================= */

.story-single {
    background:
        var(--vr-paper);
}

.story-single__hero {
    padding:
        120px 0 90px;

    background:
        var(--vr-bg);
}

.story-single__intro {
    max-width: 720px;

    font-family:
        var(--vr-font-display);

    font-size:
        clamp(1.45rem, 2.5vw, 2rem);

    color:
        var(--vr-muted);
}

.story-single__main-image {
    padding:
        70px 0 20px;
}

.story-single__main-image img {
    width: 100%;

    border-radius:
        var(--vr-radius);

    box-shadow:
        var(--vr-shadow);
}

.story-single__journey {
    padding:
        90px 0 110px;
}

.story-step {
    display: grid;

    grid-template-columns:
        100px 1fr;

    gap: 55px;

    max-width: 1040px;

    margin-inline: auto;

    padding:
        80px 0;

    border-bottom:
        1px solid var(--vr-line);
}

.story-step__number {
    font-family:
        var(--vr-font-display);

    font-size: 4.5rem;

    color:
        rgba(139, 61, 46, 0.18);
}

.story-reference-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;

    margin-top: 40px;
}

.story-reference-grid img {
    width: 100%;

    aspect-ratio:
        4 / 3;

    object-fit: cover;

    border-radius:
        var(--vr-radius);
}


/* =========================================================
   HOME PROCESS
   ========================================================= */

.home-process {
    background:
        var(--vr-bg);
}


/* =========================================================
   HOME ABOUT
   ========================================================= */

.home-about {
    position: relative;

    background:
        var(--vr-accent);

    color: #ffffff;

    overflow: hidden;
}

.home-about__content {
    max-width: 800px;
}

.home-about
.section-heading__eyebrow {
    color: #ffffff;
}


/* =========================================================
   HOME CONTACT
   ========================================================= */

.home-contact {
    background:
        var(--vr-paper);
}


/* =========================================================
   PAGINE GENERICHE
   ========================================================= */

.page-hero {
    padding:
        110px 0 80px;

    background:
        var(--vr-bg);
}

.page-content {
    background:
        var(--vr-paper);
}

.page-content__inner {
    max-width: 960px;

    margin-inline: auto;
}

.page-content__text {
    max-width: 820px;

    font-size: 1.03rem;

    line-height: 1.8;
}


/* =========================================================
   CHI SONO
   ========================================================= */

.about-page {
    position: relative;

    padding: 110px 0;

    background:
        linear-gradient(
            180deg,
            var(--vr-paper),
            var(--vr-bg)
        );
}

.about-page__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.05fr);

    gap: 80px;

    align-items: center;
}

.about-page__image img {
    width: 100%;

    border-radius:
        var(--vr-radius);

    box-shadow:
        var(--vr-shadow);
}

.about-page__placeholder {
    min-height: 620px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        #ddd4c8;

    border-radius:
        var(--vr-radius);
}

.about-page__text {
    line-height: 1.8;
}

.about-page__quote {
    margin-top: 42px;

    padding:
        30px 32px;

    border-left:
        2px solid
        var(--vr-gold);
}


/* =========================================================
   CONTATTI
   ========================================================= */

.contact-page {
    padding: 120px 0;

    background:
        var(--vr-bg);
}

.contact-page__inner {
    max-width: 1000px;
}

.contact-page__links {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 22px;
}

.contact-page__item {
    min-height: 170px;

    display: flex;

    flex-direction: column;

    padding: 30px;

    border:
        1px solid var(--vr-line);

    border-radius:
        var(--vr-radius);

    background:
        var(--vr-paper);
}

.contact-page__label {
    font-size: 0.68rem;

    font-weight: 700;

    letter-spacing: 0.16em;

    text-transform: uppercase;

    color:
        var(--vr-accent);
}

.contact-page__value {
    margin-top: auto;

    font-family:
        var(--vr-font-display);

    font-size: 1.7rem;
}


/* =========================================================
   FORM
   ========================================================= */

.contact-page__form-section {
    margin-top: 90px;

    padding-top: 70px;

    border-top:
        1px solid var(--vr-line);
}

.contact-page__form {
    max-width: 760px;
}

.contact-page__form
input[type="text"],
.contact-page__form
input[type="email"],
.contact-page__form
input[type="tel"],
.contact-page__form textarea {
    width: 100%;

    padding: 15px 16px;

    border:
        1px solid var(--vr-line);

    border-radius: 10px;

    background: #ffffff;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: #211d19;

    color: #f7f1e8;
}

.site-footer__inner {
    width:
        min(100% - 48px, var(--vr-container));

    margin-inline: auto;

    display: grid;

    grid-template-columns:
        1.5fr 0.7fr 0.8fr;

    gap: 70px;

    padding:
        75px 0 65px;
}

.site-footer__logo {
    font-family:
        var(--vr-font-display);

    font-size: 2.6rem;

    color: #ffffff;
}

.site-footer__title {
    font-family:
        var(--vr-font-body);

    font-size: 0.68rem;

    text-transform: uppercase;

    letter-spacing: 0.16em;

    color:
        rgba(255, 255, 255, 0.48);
}

.site-footer__nav ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.site-footer__contacts {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.site-footer__bottom {
    border-top:
        1px solid
        rgba(255, 255, 255, 0.09);
}

.site-footer__bottom-inner {
    width:
        min(100% - 48px, var(--vr-container));

    min-height: 70px;

    margin-inline: auto;

    display: flex;

    align-items: center;
    justify-content: space-between;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .section {
        padding: 80px 0;
    }

    .opere-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .home-story__feature {
        grid-template-columns: 1fr;
    }

    .opera-single-intro__grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .opera-single-details {
        max-width: 520px;
    }

    .opera-gallery__item--1 {
        min-height: 500px;
    }

    .opera-gallery__item--1 img {
        min-height: 500px;
    }


    /* ILLUSTRAZIONI TABLET */

    .opera-single-page--illustrazione
    .opera-gallery__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .opera-single-page--illustrazione
    .opera-gallery__item,
    .opera-single-page--illustrazione
    .opera-gallery__item--1,
    .opera-single-page--illustrazione
    .opera-gallery__item:nth-child(5n) {
        grid-column: auto;

        min-height: 0;
    }

    .opera-single-page--illustrazione
    .opera-gallery__item img,
    .opera-single-page--illustrazione
    .opera-gallery__item--1 img,
    .opera-single-page--illustrazione
    .opera-gallery__item:nth-child(5n) img {
        min-height: 0;

        max-height: 440px;
    }

    .opera-single-page--illustrazione
    .opera-gallery__item:last-child:nth-child(3n + 1) {
        grid-column: auto;
    }

    .opera-single-page--illustrazione
    .opera-gallery__item:last-child:nth-child(odd) {
        grid-column:
            1 / -1;

        width:
            calc((100% - 24px) / 2);

        justify-self: center;
    }


    .opera-single-navigation__grid {
        grid-template-columns:
            1fr 1fr;

        gap: 35px;
    }

    .opera-single-navigation__archive {
        grid-column:
            1 / -1;

        grid-row: 2;

        text-align: center;
    }

    .about-page__grid {
        grid-template-columns: 1fr;
    }

    .stories-grid {
        grid-template-columns: 1fr;
    }

    .site-footer__inner {
        grid-template-columns:
            1fr 1fr;
    }

    .site-footer__brand {
        grid-column:
            1 / -1;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .container,
    .site-header__inner,
    .hero-home__content,
    .site-footer__inner,
    .site-footer__bottom-inner {
        width:
            min(100% - 28px, var(--vr-container));
    }

    .section {
        padding: 65px 0;
    }


    /* HEADER */

    .site-header__inner {
        min-height: 76px;

        gap: 20px;

        padding: 10px 0;
    }

    .site-logo {
        font-size: 1.55rem;
    }

    .site-tagline {
        font-size: 0.52rem;
    }


    /* HAMBURGER */

    .menu-toggle {
        display: block;
    }


    /* MOBILE NAV */

    .site-navigation {
        position: fixed;

        inset: 0;

        display: flex;

        align-items: center;
        justify-content: center;

        padding:
            100px 28px 50px;

        background:
            rgba(255, 253, 248, 0.985);

        opacity: 0;

        visibility: hidden;

        transform:
            translateY(-12px);

        transition:
            opacity 0.3s ease,
            visibility 0.3s ease,
            transform 0.3s ease;

        z-index: 100;
    }

    .site-navigation.is-open {
        opacity: 1;

        visibility: visible;

        transform:
            translateY(0);
    }

    .site-navigation ul,
    .primary-menu {
        width: 100%;

        flex-direction: column;

        gap: 0;

        text-align: center;
    }

    .site-navigation li {
        width: 100%;

        border-bottom:
            1px solid
            rgba(38, 33, 29, 0.10);
    }

    .site-navigation a {
        padding: 17px 10px;

        font-family:
            var(--vr-font-display);

        font-size:
            clamp(1.8rem, 8vw, 2.5rem);
    }

    .site-navigation a::after {
        display: none;
    }


    /* HERO */

    .hero-home {
        min-height: 78vh;

        padding: 55px 0;

        background-position:
            68% center;
    }

    .hero-home h1 {
        font-size:
            clamp(3.8rem, 17vw, 5.5rem);
    }


    /* GRIGLIE */

    .opere-grid,
    .contact-page__links {
        grid-template-columns: 1fr;
    }


    /* SINGOLA OPERA */

    .opera-single-hero {
        padding:
            62px 0 48px;
    }

    .opera-single-hero::after {
        font-size: 6rem;
    }

    .opera-single-hero__title {
        max-width: 100%;

        margin-bottom: 20px;

        font-size:
            clamp(2.5rem, 10vw, 3.6rem);

        line-height: 1.04;

        letter-spacing: -0.015em;
    }

    .opera-single-hero__subtitle {
        font-size: 1.35rem;
    }

    .opera-single-cover {
        padding:
            35px 0 15px;
    }

    .opera-single-cover__image {
        border-radius: 12px;
    }

    .opera-single-intro {
        padding:
            65px 0 75px;
    }

    .opera-single-intro__grid {
        gap: 45px;
    }

    .opera-single-intro__text {
        font-size: 0.98rem;
    }

    .opera-single-details__item strong {
        font-size: 1.2rem;
    }


    /* GALLERIA GENERICA */

    .opera-gallery {
        padding:
            75px 0;
    }

    .opera-gallery__header {
        margin-bottom: 40px;
    }

    .opera-gallery__grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }

    .opera-gallery__item,
    .opera-gallery__item--1,
    .opera-gallery__item:nth-child(5n) {
        grid-column: auto;

        min-height: 0;
    }

    .opera-gallery__item img,
    .opera-gallery__item--1 img,
    .opera-gallery__item:nth-child(5n) img {
        width: 100%;

        height: auto;

        min-height: 0;

        max-height: none;

        object-fit: contain;
    }


    /* ILLUSTRAZIONI MOBILE */

    .opera-single-page--illustrazione
    .opera-gallery__grid {
        grid-template-columns: 1fr;

        gap: 16px;

        max-width: 480px;

        margin-inline: auto;
    }

    .opera-single-page--illustrazione
    .opera-gallery__item,
    .opera-single-page--illustrazione
    .opera-gallery__item--1,
    .opera-single-page--illustrazione
    .opera-gallery__item:nth-child(5n),
    .opera-single-page--illustrazione
    .opera-gallery__item:last-child:nth-child(3n + 1),
    .opera-single-page--illustrazione
    .opera-gallery__item:last-child:nth-child(odd) {
        grid-column: auto;

        width: 100%;

        min-height: 0;

        padding: 10px;
    }

    .opera-single-page--illustrazione
    .opera-gallery__item img,
    .opera-single-page--illustrazione
    .opera-gallery__item--1 img,
    .opera-single-page--illustrazione
    .opera-gallery__item:nth-child(5n) img {
        width: auto;
        height: auto;

        max-width: 100%;
        max-height: none;

        min-height: 0;

        object-fit: contain;
    }


    /* RACCONTO */

    .opera-story {
        padding:
            80px 0;
    }

    .opera-story::after {
        font-size: 5.5rem;
    }


    /* NAV OPERE */

    .opera-single-navigation {
        padding:
            55px 0;
    }

    .opera-single-navigation__grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .opera-single-navigation__archive {
        grid-column: auto;

        grid-row: auto;

        text-align: left;
    }

    .opera-single-navigation__next {
        text-align: left;
    }

    .opera-single-navigation__next a {
        align-items: flex-start;
    }


    /* STORIE */

    .story-step {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .story-reference-grid {
        grid-template-columns: 1fr;
    }


    /* CHI SONO */

    .about-page {
        padding: 70px 0;
    }

    .about-page__grid {
        gap: 40px;
    }

    .about-page__placeholder {
        min-height: 420px;
    }


    /* CONTATTI */

    .contact-page {
        padding: 75px 0;
    }

    .contact-page__form-section {
        margin-top: 65px;

        padding-top: 50px;
    }


    /* FOOTER */

    .site-footer__inner {
        grid-template-columns: 1fr;

        gap: 38px;

        padding:
            55px 0 45px;
    }

    .site-footer__brand {
        grid-column: auto;
    }

    .site-footer__bottom-inner {
        min-height: auto;

        flex-direction: column;

        align-items: flex-start;

        gap: 5px;

        padding: 22px 0;
    }
}