@font-face { font-family: 'RA Display'; src: url('assets/fonts/arimo-latin-700-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url('assets/fonts/caveat-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('assets/fonts/figtree-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('assets/fonts/figtree-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('assets/fonts/figtree-latin-600-normal.woff2') format('woff2'); font-weight: 600 700; font-style: normal; font-display: swap; }
:root {
--paper: #F3EEE4;
--ink: #141414;
--wood: #C8964F;
--wood-tint: #EDD9B4;
--wood-text: #7A5631;
--white: #FFFFFF;
--bg: var(--paper);
--bg-alt: #ECE4D6;
--text: var(--ink);
--text-muted: #5E584F;
--accent: var(--wood);
--accent-text: var(--wood-text);
--accent-on-dark: #D9AE70;
--gold: var(--wood);
--font-display: 'RA Display', Arial, 'Helvetica Neue', Helvetica, sans-serif;
--font-sans: 'Figtree', system-ui, -apple-system, sans-serif;
--font-script: 'Caveat', 'Segoe Print', cursive;
--r7-line: 1.5px solid var(--ink);
--r7-radius: 28px;
--header-h: 76px;
}
html { background: var(--paper); }
body {
background: var(--paper) url('assets/img/carta.png') repeat;
background-size: 420px 420px;
color: var(--ink);
font-family: var(--font-sans);
}
::selection { background: var(--wood-tint); color: var(--ink); }
.entry-content h2, .entry-content h3, .entry-content h4,
.single-article-content h2, .single-article-content h3, .single-article-content h4 {
font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2;
}
.post-card h2, .post-card h3 { font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.01em; }
.fokido-home {
--font-display: 'Playfair Display', Georgia, serif;
--font-sans: 'Inter', system-ui, -apple-system, sans-serif;
font-family: var(--font-sans);
position: relative; z-index: 1;
}
.site-header,
.site-header.scrolled {
background: transparent;
-webkit-backdrop-filter: none; backdrop-filter: none;
border-bottom: 0; box-shadow: none;
height: var(--header-h);
align-items: flex-start;
}
.site-header.scrolled::before {
content: ''; position: absolute; inset: 0 0 auto 0; height: 64px;
background: rgba(243, 238, 228, .94);
-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(20, 20, 20, .08);
z-index: -1;
}
.site-header .header-inner {
display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; height: 100%;
}
.site-header .site-branding { grid-column: 2; grid-row: 1; margin: 0; justify-self: center; }
.site-header .hamburger-wrap { grid-column: 1; grid-row: 1; justify-self: start; margin-top: 10px; }
.site-header .header-actions { grid-column: 3; grid-row: 1; justify-self: end; margin-top: 10px; display: flex; gap: 10px; align-items: center; }
.site-header .logo-link {
display: block; background: var(--ink);
padding: 18px 22px 14px; border-radius: 0 0 22px 22px;
box-shadow: 0 10px 0 -6px rgba(20,20,20,.12);
transition: padding .3s var(--ease);
}
.site-header .logo-link img, .site-header .custom-logo {
height: 38px !important; max-width: 150px !important;
filter: brightness(0) invert(1);
}
.site-header.scrolled .logo-link { padding: 12px 18px 10px; }
.site-header.scrolled .logo-link img { height: 32px !important; }
.menu-label { display: none; }
.hamburger-circle {
width: 48px; height: 48px; border-radius: 14px !important;
background: var(--wood); border: 2px solid var(--ink) !important;
box-shadow: 3px 3px 0 var(--ink);
transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.hamburger-circle span { background: var(--ink) !important; }
@media (hover: hover) { .hamburger-circle:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); } }
.hamburger-circle:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.header-wa {
width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
border-radius: 14px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink);
}
.header-cta.btn { border-radius: 14px; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); background: var(--ink); color: var(--paper); }
@media (max-width: 768px) {
:root { --header-h: 68px; }
.site-header .header-actions { display: none; }
.site-header .logo-link { padding: 14px 16px 10px; }
.site-header .logo-link img, .site-header .custom-logo { height: 30px !important; }
.hamburger-circle { width: 44px; height: 44px; }
}
.menu-overlay { background: var(--ink) url('assets/img/carta.png') repeat; background-size: 420px; }
.menu-nav a { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0; line-height: 1; }
.menu-nav li a:hover, .menu-nav li.current-menu-item a { color: var(--wood); }
.r7-script { font-family: var(--font-script); font-weight: 600; letter-spacing: 0; text-transform: none; }
.r7-display { font-family: var(--font-display); text-transform: uppercase; line-height: .92; }
.r7-wood { color: var(--wood-text); }
.r7-center { text-align: center; }
.r7-center.r7-actions, div.r7-center { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.r7-h2 {
font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
font-size: clamp(1.9rem, 5.2vw, 3.6rem); line-height: .98; letter-spacing: 0; margin: 0 0 20px;
text-wrap: balance;
}
.r7-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.r7-btn {
display: inline-flex; align-items: center; justify-content: center; gap: 10px;
min-height: 52px; padding: 12px 22px;
font-family: var(--font-sans); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none;
color: var(--ink); background: var(--paper);
border: 2px solid var(--ink); border-radius: 14px;
box-shadow: 4px 4px 0 var(--ink);
transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.r7-btn svg { width: 18px; height: 18px; flex: none; }
.r7-btn--wood { background: var(--wood); }
.r7-btn--light { background: var(--paper); box-shadow: 4px 4px 0 var(--wood); border-color: var(--paper); }
@media (hover: hover) { .r7-btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); } .r7-btn--light:hover { box-shadow: 6px 6px 0 var(--wood); } }
.r7-btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.r7-btn:focus-visible, .r7-acc summary:focus-visible { outline: 3px solid var(--wood); outline-offset: 3px; }
.r7-ribbon { display: flex; justify-content: center; margin: 0 0 18px; }
.r7-ribbon span {
display: inline-block; padding: 6px 30px 8px;
font-family: var(--font-script); font-weight: 600; font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1;
background: var(--wood); color: var(--ink); transform: rotate(-3deg);
clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 25%, 100% 50%, calc(100% - 12px) 75%, 100% 100%, 0 100%, 12px 75%, 0 50%, 12px 25%);
}
.r7-frame { border: var(--r7-line); border-radius: var(--r7-radius); padding: clamp(24px, 4vw, 56px); position: relative; overflow: hidden; }
.r7-peg {
position: absolute; top: -14px; left: 50%; width: 14px; height: 30px; margin-left: -7px;
background: var(--wood); border: 1.5px solid var(--ink); border-radius: 4px; z-index: 2;
}
.r7-peg::after { content: ''; position: absolute; left: 50%; top: 9px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--ink); }
.r7-rope { position: absolute; left: 0; width: 100%; pointer-events: none; overflow: visible; z-index: 0; }
.r7-rope path {
fill: none; stroke: var(--wood); stroke-width: 12; stroke-linecap: round;
stroke-dasharray: 1; stroke-dashoffset: var(--draw, 0);
}
.js-r7 .r7-rope path { stroke-dashoffset: var(--draw, 1); }
.r7-float {
position: absolute; margin: 0; z-index: 2;
width: clamp(104px, 22vw, 190px);
padding: 7px 7px 22px; background: var(--white);
border-radius: 6px; box-shadow: 0 14px 30px -12px rgba(20,20,20,.45);
transform: translate3d(0, var(--fy, 0px), 0) rotate(var(--rz, -4deg));
will-change: transform;
}
.r7-float img { display: block; width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; border-radius: 3px; }
.r7-home { overflow-x: clip; }
.r7-hero { position: relative; padding: calc(var(--header-h) + 34px) 0 48px; }
.r7-hero > .r7-rope { top: calc(var(--header-h) + 70px); height: clamp(120px, 20vw, 240px); }
.r7-hero__tag {
position: relative; z-index: 3; text-align: center; margin: 0 0 8px;
font-size: clamp(1.6rem, 4.6vw, 2.4rem); color: var(--wood-text); transform: rotate(-3deg);
}
.r7-hero__rows { position: relative; }
.r7-row { overflow: hidden; white-space: nowrap; position: relative; z-index: 1; }
.r7-row__track { display: flex; width: max-content; animation: r7-slide 38s linear infinite; }
.r7-row--r .r7-row__track { animation-direction: reverse; animation-duration: 44s; }
.r7-row__set { display: flex; }
.r7-row span span {
font-family: var(--font-display); text-transform: uppercase;
font-size: clamp(3.4rem, 15vw, 11rem); line-height: .9; padding: 0 .18em; letter-spacing: 0;
}
.r7-row .is-line { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.r7-row .is-full { color: var(--ink); }
.r7-row--r .is-full { color: var(--wood); -webkit-text-stroke: 1.5px var(--ink); }
@keyframes r7-slide { to { transform: translateX(-50%); } }
.r7-hero .r7-float--1 { top: -6%; left: 4%; --rz: -7deg; }
.r7-hero .r7-float--2 { top: 30%; right: 3%; --rz: 5deg; }
.r7-hero .r7-float--3 { bottom: -18%; left: 30%; --rz: -2deg; width: clamp(90px, 17vw, 150px); }
.r7-hero__intro { position: relative; z-index: 3; text-align: center; margin-top: clamp(56px, 9vw, 96px); }
.r7-hero__title {
font-family: var(--font-sans); font-weight: 600; text-transform: none;
font-size: clamp(1.7rem, 4.6vw, 2.9rem); line-height: 1.1; letter-spacing: -0.02em;
max-width: 18ch; margin: 0 auto 14px; text-wrap: balance;
}
.r7-hero__title em { font-style: normal; font-family: var(--font-script); font-weight: 600; color: var(--wood-text); font-size: 1.25em; }
.r7-hero__desc { max-width: 34rem; margin: 0 auto; font-size: 1.0625rem; line-height: 1.6; color: var(--text-muted); }
.r7-hero .r7-actions { justify-content: center; }
.r7-trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin: 26px 0 0; padding: 0; font-size: .92rem; color: var(--text-muted); }
.r7-trust li { display: inline-flex; align-items: center; gap: 6px; }
.r7-trust svg { width: 16px; height: 16px; color: var(--wood-text); }
.r7-trust a { color: inherit; }
.r7-project { padding: clamp(40px, 7vw, 96px) 0; position: relative; z-index: 1; }
.r7-bigcard { position: relative; border-radius: var(--r7-radius); overflow: hidden; border: var(--r7-line); background: var(--ink); }
.r7-bigcard img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.r7-bigcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,20,20,.78), rgba(20,20,20,0) 60%); pointer-events: none; }
.r7-bigcard__title { position: absolute; left: clamp(20px, 4vw, 48px); right: 20px; bottom: clamp(18px, 4vw, 44px); z-index: 1; margin: 0; color: var(--white); }
.r7-bigcard__title .r7-script { display: block; font-size: clamp(1.5rem, 3.6vw, 2.4rem); color: var(--wood-tint); transform: rotate(-2deg); margin-bottom: 4px; }
.r7-bigcard__title .r7-display { display: block; font-size: clamp(2.6rem, 9vw, 7rem); }
.r7-badge {
position: absolute; top: clamp(14px, 3vw, 32px); right: clamp(14px, 3vw, 32px); z-index: 1;
width: clamp(108px, 16vw, 150px); aspect-ratio: 1; border-radius: 50%;
display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
background: var(--wood); color: var(--ink); border: 2px solid var(--ink); transform: rotate(8deg);
padding: 12px; margin: 0; line-height: 1.1;
}
.r7-badge b { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.3rem, 3vw, 1.9rem); }
.r7-badge span { font-size: .78rem; font-weight: 600; margin-top: 4px; }
.r7-prose { max-width: 44rem; margin: clamp(32px, 5vw, 56px) auto 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; }
.r7-prose p { margin: 0 0 16px; }
.r7-prose strong { font-weight: 600; background: linear-gradient(transparent 62%, var(--wood-tint) 62%); }
.r7-video { margin-top: 28px; border-radius: 20px; overflow: hidden; border: var(--r7-line); }
.r7-drop { position: relative; height: clamp(360px, 60vw, 620px); margin: -20px 0; }
.r7-drop .r7-rope { top: 0; height: 100%; }
.r7-drop__p--1 { top: 8%; left: 6%; --rz: -6deg; }
.r7-drop__p--2 { top: 36%; right: 6%; --rz: 5deg; }
.r7-drop__p--3 { top: 66%; left: 12%; --rz: 3deg; }
@media (min-width: 900px) { .r7-drop__p--1 { left: 14%; } .r7-drop__p--2 { right: 14%; } .r7-drop__p--3 { left: 24%; } }
.r7-book { padding: clamp(40px, 7vw, 96px) 0; }
.r7-book__frame { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding-bottom: clamp(90px, 12vw, 150px); }
.r7-book__img img { display: block; width: 100%; height: auto; border-radius: 18px; transform: rotate(-2deg); box-shadow: 0 18px 40px -18px rgba(20,20,20,.5); }
.r7-book__text p { font-size: 1.0625rem; line-height: 1.6; color: var(--text-muted); margin: 0; }
.r7-book__frame .r7-row { position: absolute; left: 0; right: 0; bottom: 14px; }
.r7-book__frame .r7-row span span { font-size: clamp(2.6rem, 8vw, 6rem); }
.r7-book__frame .r7-row .is-full { color: var(--wood); -webkit-text-stroke: 1.5px var(--ink); }
@media (max-width: 768px) { .r7-book__frame { grid-template-columns: 1fr; } }
.r7-circle { background: var(--wood-tint); border-block: var(--r7-line); padding: clamp(56px, 8vw, 110px) 0; position: relative; overflow: hidden; }
.r7-circle__stage { position: relative; width: min(84vw, 470px); aspect-ratio: 1; margin: 0 auto clamp(32px, 5vw, 56px); }
.r7-circle__text { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(var(--rot, 0deg)); }
.r7-circle__text text { font-family: var(--font-display); font-size: 34px; fill: var(--ink); text-transform: uppercase; letter-spacing: 2px; }
.r7-circle__disc {
position: absolute; inset: 19%; border-radius: 50%; background: var(--wood); border: 2px solid var(--ink);
display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px;
}
.r7-circle__disc b { font-family: var(--font-display); font-weight: 400; font-size: clamp(4rem, 17vw, 7.5rem); line-height: .85; }
.r7-circle__disc span { font-family: var(--font-script); font-weight: 600; font-size: clamp(1.25rem, 4vw, 1.7rem); line-height: 1; }
.r7-circle__p { right: -6%; bottom: -8%; --rz: 8deg; width: clamp(90px, 20vw, 150px); }
.r7-circle__body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.r7-circle__body p { font-size: 1.0625rem; line-height: 1.6; margin: 0 0 24px; }
.r7-circle .years-line { margin: 0; }
@media (max-width: 768px) { .r7-circle__body { grid-template-columns: 1fr; } }
.r7-services, .r7-faq { padding: clamp(56px, 8vw, 110px) 0; }
.r7-services .r7-h2, .r7-faq .r7-h2 { margin-bottom: clamp(28px, 4vw, 48px); }
.r7-acc { border-bottom: var(--r7-line); }
.r7-acc__item { border-top: var(--r7-line); transition: background-color .3s var(--ease); }
.r7-acc__item[open] { background: var(--wood-tint); }
.r7-acc summary {
list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
padding-top: clamp(18px, 2.4vw, 28px); padding-bottom: clamp(18px, 2.4vw, 28px);
}
.r7-acc summary::-webkit-details-marker { display: none; }
.r7-acc__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.45rem, 5.4vw, 3.4rem); line-height: .95; margin: 0; letter-spacing: 0; }
.r7-acc--small .r7-acc__title { font-family: var(--font-sans); font-weight: 600; text-transform: none; font-size: clamp(1.05rem, 2.2vw, 1.35rem); line-height: 1.3; letter-spacing: -0.01em; }
.r7-acc__plus { position: relative; flex: none; width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); }
.r7-acc__plus::before, .r7-acc__plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; background: var(--ink); transition: transform .3s var(--ease); }
.r7-acc__plus::after { transform: rotate(90deg); }
.r7-acc__item[open] .r7-acc__plus { background: var(--ink); }
.r7-acc__item[open] .r7-acc__plus::before, .r7-acc__item[open] .r7-acc__plus::after { background: var(--paper); }
.r7-acc__item[open] .r7-acc__plus::after { transform: rotate(0deg); }
@media (hover: hover) { .r7-acc__item:not([open]) summary:hover .r7-acc__title { color: var(--wood-text); } }
.r7-acc__body { display: flex; gap: 20px; align-items: flex-start; padding-bottom: clamp(24px, 3vw, 36px); }
.r7-acc__body p { margin: 0 0 18px; max-width: 40rem; font-size: 1.0625rem; line-height: 1.6; }
.r7-acc--small .r7-acc__body p { margin: 0; }
.r7-acc__icon { flex: none; width: 56px; height: 56px; border-radius: 16px; background: var(--paper); border: 1.5px solid var(--ink); display: flex; align-items: center; justify-content: center; }
.r7-acc__icon svg { width: 26px; height: 26px; }
.r7-faq .container.r7-center { margin-top: 32px; }
.r7-ba { padding: clamp(56px, 8vw, 110px) 0; background: transparent; }
.r7-band { padding: clamp(24px, 4vw, 48px) 0 clamp(56px, 8vw, 96px); }
.r7-band__card { background: var(--ink); color: var(--paper); border-radius: var(--r7-radius); padding: clamp(32px, 6vw, 72px); text-align: center; }
.r7-band__card .r7-h2 { color: var(--paper); max-width: 18ch; margin-inline: auto; }
.r7-band__card p { color: rgba(243,238,228,.78); max-width: 34rem; margin: 0 auto; font-size: 1.0625rem; line-height: 1.6; }
.r7-band__card .r7-actions { justify-content: center; }
.r7-band__card .r7-btn--wood { box-shadow: 4px 4px 0 var(--paper); border-color: var(--paper); }
.r7-quiz { background: transparent; }
.r7-quiz .r7-frame { background: rgba(255,255,255,.35); }
.r7-process { padding: clamp(56px, 8vw, 110px) 0; }
.r7-steps { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.r7-step { border: var(--r7-line); border-radius: 22px; padding: 26px 22px; background: rgba(255,255,255,.3); }
.r7-step__n { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--wood); border: 2px solid var(--ink); font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 16px; }
.r7-step__t { font-family: var(--font-display); text-transform: uppercase; font-size: 1.35rem; line-height: 1; margin: 0 0 10px; }
.r7-step p { margin: 0; font-size: .98rem; line-height: 1.55; color: var(--text-muted); }
@media (max-width: 900px) { .r7-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .r7-steps { grid-template-columns: 1fr; } }
.r7-diary { position: relative; padding: clamp(56px, 8vw, 110px) 0; }
.r7-diary > .r7-rope { top: 40px; height: 160px; }
.r7-diary .container { position: relative; z-index: 1; }
.r7-diary .posts-grid { margin-bottom: 36px; }
.r7-end { padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 6vw, 80px); text-align: center; }
.r7-end__title { margin: 0 0 18px; }
.r7-end__title .r7-script { display: block; font-size: clamp(1.8rem, 5vw, 3rem); color: var(--wood-text); transform: rotate(-3deg); }
.r7-end__title .r7-display { display: block; font-size: clamp(3rem, 12vw, 9rem); }
.r7-end__desc { max-width: 34rem; margin: 0 auto; font-size: 1.0625rem; line-height: 1.6; color: var(--text-muted); }
.r7-contacts { list-style: none; padding: 0; margin: clamp(40px, 6vw, 72px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: var(--r7-line); }
.r7-contacts li + li { border-left: var(--r7-line); }
.r7-contacts a { display: flex; flex-direction: column; gap: 4px; padding: 26px 16px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.05rem; overflow-wrap: anywhere; }
.r7-contacts .r7-script { font-size: 1.5rem; color: var(--wood-text); font-weight: 600; }
.r7-contacts small { font-weight: 400; color: var(--text-muted); font-size: .9rem; }
@media (hover: hover) { .r7-contacts a:hover { background: var(--wood-tint); } }
@media (max-width: 768px) {
.r7-contacts { grid-template-columns: 1fr; }
.r7-contacts li + li { border-left: 0; border-top: var(--r7-line); }
}
.site-footer .footer-nav a { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.2rem, 2.4vw, 1.6rem); line-height: 1.15; }
.site-footer .footer-nav a:hover { color: var(--accent-on-dark); }
.site-footer .footer-logo-img { filter: brightness(0) invert(1); }
.prefooter-cta__title { font-family: var(--font-display); text-transform: uppercase; line-height: 1; }
@media (prefers-reduced-motion: reduce) {
.r7-row__track { animation: none; }
.r7-float { transform: rotate(var(--rz, -4deg)); }
.r7-circle__text { transform: none; }
.js-r7 .r7-rope path { stroke-dashoffset: 0; }
.r7-btn, .hamburger-circle { transition: none; }
}

.r7-circle .years-line__year { font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.01em; }
.r7-circle__text text { font-size: 27px; letter-spacing: 1px; }
.r7-band__card .r7-h2 { font-size: clamp(1.3rem, 6.2vw, 3.2rem); max-width: 20ch; }
@media (max-width: 640px) {
.r7-row span span { font-size: 21vw; }
.r7-hero .r7-float { width: 92px; padding: 5px 5px 16px; }
.r7-hero .r7-float--1 { top: auto; bottom: -34%; left: 5%; }
.r7-hero .r7-float--2 { top: auto; bottom: -40%; right: 6%; }
.r7-hero .r7-float--3 { display: none; }
.r7-hero__intro { margin-top: 128px; }
.r7-hero > .r7-rope { top: calc(var(--header-h) + 150px); height: 110px; }
}

/* ============ TUTTO IL SITO (tranne dock e Fokido) ============ */
h1, h2, h3, .hero-title, .text-hero__title, .section-title, .cta-title, .prefooter-cta__title {
    font-family: var(--font-display); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02;
}
.hero-title em, .text-hero__title em, .section-title em, .cta-title em { font-style: normal; color: var(--wood-text); }
.entry-content h2, .entry-content h3, .entry-content h4,
.single-article-content h2, .single-article-content h3, .single-article-content h4,
.post-card h2, .post-card h3 {
    font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
}
.single-article-content h2::before { background: var(--wood); }

/* Etichette sopra i titoli: scritte a mano, come i nastri della home */
.section-label {
    font-family: var(--font-script); font-weight: 600; text-transform: none; letter-spacing: 0;
    font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1; color: var(--wood-text);
}
.section-label::before { display: none; }

/* Pulsanti: bordo nero e ombra piena */
.btn {
    border: 2px solid var(--ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink);
    font-family: var(--font-sans); font-weight: 600; min-height: 50px;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.btn-primary { background: var(--wood); color: var(--ink); border-color: var(--ink); }
.btn-outline { background: var(--paper); color: var(--ink); }
.btn-primary:hover, .btn-outline:hover { background: var(--wood); color: var(--ink); border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); box-shadow: 4px 4px 0 var(--wood); }
.btn-wa { border-color: var(--ink); }
@media (hover: hover) { .btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); } .btn-light:hover { box-shadow: 6px 6px 0 var(--wood); } }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn-shine::after, .btn-shine::before { display: none !important; }
.site-header .header-cta.btn { background: var(--ink); color: var(--paper); box-shadow: 3px 3px 0 var(--wood); }

/* Schede: bordo a inchiostro, angoli tondi, niente ombre sfumate */
.post-card, .info-card, .value-card, .whatsapp-card, .post-nav__link, .contact-option, .service-card {
    border: var(--r7-line) !important; border-radius: 22px !important; box-shadow: none !important;
}
.post-card { background: rgba(255,255,255,.45); overflow: hidden; }
.value-card, .info-card { background: rgba(255,255,255,.35); }
.info-card.sage { background: var(--ink); color: var(--paper); }
@media (hover: hover) {
    .post-card:hover, .value-card:hover, .post-nav__link:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink) !important; }
}
.value-num { font-family: var(--font-display); font-weight: 700; color: var(--wood-text); }
.post-card-cat { font-family: var(--font-script); font-weight: 600; font-size: 1.15rem; text-transform: none; letter-spacing: 0; color: var(--wood-text); }

/* Foto grandi nelle testate: cornice come le foto appese */
.hero-img-main, .single-hero .hero-img-main { border-radius: 22px; border: var(--r7-line); overflow: hidden; }
.hero-badge { background: var(--ink); color: var(--paper); border-radius: 18px; border: 2px solid var(--ink); }
.hero-badge-number { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; }

/* Articoli */
.single-article-content > p:first-of-type::first-letter { color: var(--wood); }
.single-article-content blockquote, .entry-content blockquote {
    border-left: 4px solid var(--wood); background: rgba(237,217,180,.35); border-radius: 0 16px 16px 0; padding: 18px 24px;
}
.single-article-content img, .entry-content img { border-radius: 14px; }
.toc details { border-left-color: var(--ink); }
.article-meta { color: var(--text-muted); }

/* Archivio e blog */
.text-hero { padding-bottom: clamp(24px, 4vw, 48px); }
.text-hero__title { font-size: clamp(2.6rem, 7vw, 5.4rem); }
.pagination .page-numbers { border: var(--r7-line); border-radius: 12px; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.pagination .page-numbers.current { background: var(--ink); color: var(--paper); }

/* Moduli */
.form-input, .quiz-wrap input[type="text"], .quiz-wrap input[type="email"], .quiz-wrap input[type="tel"], .quiz-wrap textarea {
    border: var(--r7-line); border-radius: 12px; background: rgba(255,255,255,.6);
}
.form-input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--wood-tint); }
.form-label { font-weight: 600; }

/* Inviti a contattarci in fondo alle pagine */
.cta-section { background: transparent; }
.cta-section .container > .reveal, .prefooter-cta__inner { border: var(--r7-line); border-radius: var(--r7-radius); padding: clamp(28px, 5vw, 64px); }
.prefooter-cta { background: transparent; }
.prefooter-cta__title { text-transform: none; }

/* ============ PAGINA DEL LIBRO ============ */
.is-libro, .postid-61 { --ra-serif: var(--font-display); --ra-sans: var(--font-sans); }
.is-libro .entry-content > .wp-block-group > .wp-block-heading,
.is-libro .entry-content > .wp-block-group > .wp-block-group__inner-container > .wp-block-heading,
.is-libro .lb-buy .wp-block-heading, .is-libro .lb-authors h3.lb-author-name,
.lb-buy h1, .lb-buy h2, .lb-buy h3, .lb-buy h4 {
    font-family: var(--font-display) !important; font-weight: 700 !important; letter-spacing: -0.035em;
}
.lb-intro .lb-lead { font-family: var(--font-sans); font-weight: 500; letter-spacing: -0.01em; }
.is-libro .lb-intro h2.lb-quote, .lb-intro p.lb-quote {
    font-family: var(--font-script); font-weight: 600; font-size: clamp(1.6rem, 2.8vw, 2.1rem); line-height: 1.25;
    border-left: 4px solid var(--wood); color: var(--ink);
}
.lb-events p.lb-event::first-line { font-family: var(--font-display); font-weight: 700; }
.postid-61 .single-hero .hero-title { font-weight: 700 !important; letter-spacing: -0.035em; }
.postid-61 [class*="column61_66e659"] .wp-block-group__inner-container > p { font-family: var(--font-script) !important; font-style: normal !important; font-weight: 600 !important; }
.postid-61 .kb-count-up-number { font-family: var(--font-display); font-weight: 700; color: var(--wood-text); }

.cta-section .container > .reveal { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cta-section .cta-title { color: var(--paper); }
.cta-section .cta-desc { color: rgba(243,238,228,.78); }
.r7-h2, .r7-acc__title, .r7-step__t, .r7-display, .r7-row span span, .menu-nav a, .site-footer .footer-nav a { letter-spacing: -0.03em; }

.contact-form-wrap { border: var(--r7-line) !important; border-radius: 22px !important; box-shadow: none !important; background: rgba(255,255,255,.4) !important; }

/* Pagina di Fokido: il contenuto resta com'era (l'app è già isolata nel suo riquadro) */
.page-id-3427 main { --font-display: 'Playfair Display', Georgia, serif; --font-sans: 'Inter', system-ui, -apple-system, sans-serif; font-family: var(--font-sans); }
.page-id-3427 main h1, .page-id-3427 main h2, .page-id-3427 main h3 { font-weight: 400; letter-spacing: -0.01em; }

/* Una sola molletta in tutto il sito: legno con bordo nero, come nella home (Fokido escluso) */
.peg:not(.fokido-card .peg) {
    width: 14px !important; height: 30px !important; margin-left: -7px;
    background: var(--wood) !important; background-image: none !important;
    border: 1.5px solid var(--ink); border-radius: 4px; box-sizing: border-box;
    filter: none !important; box-shadow: none !important;
}
.peg:not(.fokido-card .peg)::after {
    content: '' !important; display: block !important; position: absolute; left: 50%; top: 9px;
    width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--ink); border: 0; box-shadow: none;
}
.peg:not(.fokido-card .peg)::before { display: none !important; }
.pegged .peg:not(.fokido-card .peg), .hang-line .peg, .post-card--hung .peg, .mx .mx-card .peg { top: -14px; }

.post-card { overflow: visible !important; }
.post-card .post-card-img-wrap, .post-card .post-card-img-link { border-radius: 20px 20px 0 0; overflow: hidden; }

.post-card .peg { z-index: 6 !important; }

/* Schede articoli: un solo margine interno, foto e testi allineati sullo stesso bordo */
.post-card { display: flex; flex-direction: column; padding: 12px 12px 20px !important; }
.post-card .post-card-img-link { display: block; border-radius: 10px; overflow: hidden; }
.post-card .post-card-img-wrap { padding: 0 !important; background: transparent !important; box-shadow: none !important; border: 0 !important; border-radius: 10px; overflow: visible; }
.post-card .post-card-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px !important; }
.post-card .post-card-cat {
    position: static !important; display: block; margin: 12px 0 0; padding: 0;
    font-family: var(--font-script); font-style: normal; font-weight: 600; font-size: 1.3rem; line-height: 1; letter-spacing: 0; color: var(--wood-text);
}
.post-card .post-card-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 8px 0 0 !important; }
.post-card .post-card-meta { font-size: .8rem; color: var(--text-muted); }
.post-card .post-card-title { font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.15; }
.post-card .post-card-excerpt { font-size: .9375rem; line-height: 1.55; }
.post-card .post-card-more { margin-top: auto !important; padding-top: 8px; font-size: .875rem; font-weight: 600; }

/* Header sempre trasparente: restano solo menu, logo appeso e pulsanti, senza fascia */
.site-header.scrolled::before { content: none !important; display: none !important; }
.site-header, .site-header.scrolled { background: transparent !important; box-shadow: none !important; border: 0 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; pointer-events: none; }
.site-header .hamburger-wrap, .site-header .site-branding, .site-header .header-actions { pointer-events: auto; }

/* Menu a destra (si usa con il pollice), logo al centro */
.site-header .header-inner { display: flex !important; align-items: flex-start; justify-content: flex-end; gap: 10px; position: relative; }
.site-header .site-branding { position: absolute; left: 50%; top: 0; transform: translateX(-50%); margin: 0; }
.site-header .header-actions { order: 1; margin: 10px 0 0 !important; }
.site-header .hamburger-wrap { order: 2; margin: 10px 0 0 !important; }

/* Le schede dei servizi si aprono con un movimento breve */
@keyframes r7-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.r7-services .r7-acc__item[open] .r7-acc__body { animation: r7-open .35s cubic-bezier(.22,1,.36,1); }
@media (prefers-reduced-motion: reduce) { .r7-services .r7-acc__item[open] .r7-acc__body { animation: none; } }

/* Anche la scheda di Fokido in home usa la molletta nuova */
.fokido-card .peg {
    width: 14px !important; height: 30px !important; margin-left: -7px;
    background: var(--wood) !important; background-image: none !important;
    border: 1.5px solid var(--ink); border-radius: 4px; box-sizing: border-box;
    filter: none !important; box-shadow: none !important; top: -14px;
}
.fokido-card .peg::after {
    content: '' !important; display: block !important; position: absolute; left: 50%; top: 9px;
    width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--ink); border: 0; box-shadow: none;
}
.fokido-card .peg::before { display: none !important; }

/* ============ SERVIZI: schede appese (impianto della v6, stile della v7) ============ */
.r7-svc { gap: 32px 20px; margin-top: 48px; padding-top: 16px; }
.r7-svc .service-card {
    position: relative; overflow: visible !important; display: flex; flex-direction: column;
    padding: 28px 20px 20px; border: var(--r7-line) !important; border-radius: 22px !important;
    background: rgba(255,255,255,.45); box-shadow: none !important;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.r7-svc .service-card::before, .r7-svc .service-card::after { display: none !important; }
.r7-svc .service-card .peg { left: 50%; top: -14px; }
.r7-svc .service-icon {
    width: 48px; height: 48px; margin: 0 0 16px; border-radius: 14px; border: 1.5px solid var(--ink);
    background: var(--paper); display: flex; align-items: center; justify-content: center; font-size: 0;
}
.r7-svc .service-icon svg { width: 24px; height: 24px; }
.r7-svc .service-title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 8px; }
.r7-svc .service-link { color: var(--ink); text-decoration: none; }
.r7-svc .service-link::after { content: ''; position: absolute; inset: 0; border-radius: 22px; }
.r7-svc .service-desc { font-size: .9375rem; line-height: 1.55; color: var(--text-muted); margin: 0 0 16px; }
.r7-svc .service-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; color: var(--ink); }
.r7-svc .service-cta svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
@media (hover: hover) {
    .js .r7-svc .service-card.reveal.active:hover, .r7-svc .service-card:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink) !important; background: var(--wood-tint); }
    .r7-svc .service-card:hover .service-cta svg { transform: translateX(3px); }
}
.r7-svc .service-card:focus-within { outline: 3px solid var(--wood); outline-offset: 3px; }

/* Entrata una scheda alla volta mentre scorri: scende appesa e resta lì */
.js .r7-svc .service-card.reveal { opacity: 0; transform: translateY(-16px) rotate(-1.5deg); transition: opacity .6s var(--ease), transform .7s cubic-bezier(.22,1,.36,1), box-shadow .25s var(--ease); }
.js .r7-svc .service-card.reveal.active { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .r7-svc .service-card.reveal { opacity: 1; transform: none; transition: none; } }

/* ============ HEADER su computer: scorrendo il logo va a sinistra ============ */
@media (min-width: 769px) {
    .site-header .site-branding { transition: left .5s cubic-bezier(.22,1,.36,1), transform .5s cubic-bezier(.22,1,.36,1); }
    .site-header.scrolled .site-branding { left: var(--gutter); transform: translateX(0); }
}

/* Header su computer: scorrendo il logo diventa un pulsante, alla stessa distanza dal bordo del menu */
@media (min-width: 769px) {
    .site-header .logo-link { transition: padding .4s var(--ease), margin .4s var(--ease), border-radius .4s var(--ease), box-shadow .4s var(--ease); }
    .site-header.scrolled .logo-link { margin-top: 10px; padding: 9px 16px; border-radius: 14px; box-shadow: 3px 3px 0 var(--wood); }
    .site-header.scrolled .logo-link img { height: 30px !important; }
}

/* Mobile: foto più alta, cerchio in alto a destra e titolo in basso, così non si sovrappongono */
@media (max-width: 640px) {
    .r7-bigcard img { aspect-ratio: 4 / 5; }
    .r7-badge { top: 14px; right: 14px; bottom: auto; width: 100px; padding: 10px; }
    .r7-badge b { font-size: 1.15rem; }
    .r7-badge span { font-size: .68rem; }
    .r7-bigcard__title { right: 20px; }
    .r7-bigcard__title .r7-display { font-size: clamp(2.4rem, 13vw, 3.4rem); }
}

/* Sezione Fokido in home: il testo usa i caratteri del sito (la scheda e il pulsante di Fokido restano com'erano) */
.fokido-home .fokido-home__text { --font-display: 'RA Display', Arial, 'Helvetica Neue', Helvetica, sans-serif; --font-sans: 'Figtree', system-ui, -apple-system, sans-serif; font-family: var(--font-sans); }
.fokido-home .fokido-home__text h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
.fokido-home .fokido-home__text p { font-family: var(--font-sans); }

/* ============ PAGINE LIBRO E CHI SIAMO (stile della home) ============ */
.r7-libro, .r7-about { overflow-x: clip; }
.r7-lb-hero, .r7-ab-hero { position: relative; padding: calc(var(--header-h) + 48px) 0 clamp(56px, 8vw, 104px); }
.r7-lb-hero > .r7-rope, .r7-ab-hero > .r7-rope { top: calc(var(--header-h) + 24px); height: clamp(120px, 18vw, 220px); }
.r7-lb-hero__grid, .r7-ab-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.r7-lb-kicker { font-size: clamp(1.6rem, 3.6vw, 2.2rem); color: var(--wood-text); margin: 0 0 8px; transform: rotate(-3deg); transform-origin: left; }
.r7-lb-title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.8rem, 8vw, 6.4rem); line-height: .92; letter-spacing: -0.04em; margin: 0 0 20px; text-wrap: balance; }
.r7-about .r7-lb-title { font-size: clamp(2.4rem, 6.4vw, 5rem); }
.r7-lb-credits { font-weight: 600; margin: 0 0 16px; color: var(--text-muted); }
.r7-lb-lead { font-family: var(--font-script); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; color: var(--ink); max-width: 22ch; margin: 0; }
.r7-ab-desc { font-size: 1.0625rem; line-height: 1.6; color: var(--text-muted); max-width: 36rem; margin: 0; }
.r7-lb-cover { position: relative; margin: 0; justify-self: center; width: min(100%, 460px); padding: 12px 12px 36px; background: var(--white); border-radius: 8px; box-shadow: 0 24px 50px -24px rgba(20,20,20,.55); transform: rotate(2deg); }
.r7-lb-cover img { display: block; width: 100%; height: auto; border-radius: 4px; }
.r7-lb-cover .peg { top: -14px; z-index: 3; }
.r7-ab-photo { transform: rotate(-2deg); }

.r7-lb-story, .r7-lb-authors, .r7-ab-values, .r7-lb-events, .r7-lb-gallery { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.r7-lb-story__body { max-width: 44rem; margin: 0 auto; font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.7; }
.r7-lb-story__body p { margin: 0 0 18px; }
.r7-lb-story__body strong { font-weight: 600; background: linear-gradient(transparent 62%, var(--wood-tint) 62%); }
.r7-lb-quote { margin: 36px 0; padding: 20px 0 20px 24px; border-left: 4px solid var(--wood); }
.r7-lb-quote p { margin: 0; font-family: var(--font-script); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.25; }
.r7-lb-note { font-weight: 600; font-size: 1rem; }

.r7-lb-cards { list-style: none; padding: 16px 0 0; margin: clamp(32px, 5vw, 48px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 20px; }
.r7-lb-cards--4 { grid-template-columns: repeat(4, 1fr); }
.r7-lb-card { position: relative; border: var(--r7-line); border-radius: 22px; background: rgba(255,255,255,.45); padding: 28px 20px 24px; }
.r7-lb-card .peg { left: 50%; top: -14px; }
.r7-lb-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 10px; }
.r7-lb-card p { margin: 0; font-size: .9375rem; line-height: 1.6; color: var(--text-muted); }
.js .r7-lb-card.reveal { opacity: 0; transform: translateY(-16px) rotate(-1.5deg); transition: opacity .6s var(--ease), transform .7s cubic-bezier(.22,1,.36,1); }
.js .r7-lb-card.reveal.active { opacity: 1; transform: none; }

.r7-lb-facts { padding: clamp(24px, 4vw, 48px) 0; }
.r7-lb-facts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.r7-lb-subtitle { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.8rem); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 20px; }
.r7-lb-specs dl { margin: 0; }
.r7-lb-specs dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(20,20,20,.12); }
.r7-lb-specs dt { font-weight: 600; }
.r7-lb-specs dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.r7-lb-specs dd a { color: var(--ink); }
.r7-lb-press ul { list-style: none; padding: 0; margin: 0; }
.r7-lb-press li { border-bottom: 1px solid rgba(20,20,20,.12); }
.r7-lb-press a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; color: var(--ink); text-decoration: none; font-weight: 600; }
.r7-lb-press a svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
@media (hover: hover) { .r7-lb-press a:hover { color: var(--wood-text); } .r7-lb-press a:hover svg { transform: translateX(3px); } }

/* Presentazioni: ogni data è una scheda appesa (il testo arriva dall'articolo) */
.r7-lb-events .wp-block-group > h2, .r7-lb-gallery .wp-block-group > h2,
.r7-lb-events .wp-block-group__inner-container > h2, .r7-lb-gallery .wp-block-group__inner-container > h2 { display: none; }
.r7-lb-events__list .wp-block-group, .r7-lb-events__list .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px 20px; max-width: none !important; padding-top: 16px; }
.r7-lb-events__list .wp-block-group__inner-container { padding-top: 0; }
.r7-lb-events__list p.lb-event {
    position: relative; margin: 0 !important; max-width: none !important; padding: 28px 20px 22px; border: var(--r7-line); border-radius: 22px;
    background: rgba(255,255,255,.45); font-size: .95rem; line-height: 1.55; color: var(--text-muted);
}
.r7-lb-events__list p.lb-event::before {
    content: ''; position: absolute; left: 50%; top: -14px; width: 14px; height: 30px; margin-left: -7px; box-sizing: border-box;
    background: var(--wood); border: 1.5px solid var(--ink); border-radius: 4px;
}
.r7-lb-events__list p.lb-event::first-line { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); letter-spacing: -0.02em; }
.r7-lb-events__list p.lb-event > strong:first-child { display: block; margin-bottom: 4px; }
.r7-lb-events__list p.lb-event em { font-style: normal; color: var(--ink); }
.r7-lb-events__list p.lb-event a { color: var(--wood-text); }
.r7-lb-events__list p.lb-event:has(s) { opacity: .55; }

/* Galleria: foto con la cornice bianca, come appese */
.r7-lb-gallery > .r7-rope { top: 24px; height: 160px; }
.r7-lb-gallery__body { position: relative; z-index: 1; }
.r7-lb-gallery__body .wp-block-group, .r7-lb-gallery__body .wp-block-group__inner-container { max-width: none !important; }
.r7-lb-gallery__body > .wp-block-group > p, .r7-lb-gallery__body .wp-block-group__inner-container > p { text-align: center; margin: 0 0 32px; }
.r7-lb-gallery__body > .wp-block-group > p a { display: inline-flex; padding: 12px 20px; border: 2px solid var(--ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink); background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 600; }
.r7-lb-gallery__body .wp-block-gallery { display: block !important; columns: 3 240px; column-gap: 20px; margin: 0 !important; }
.r7-lb-gallery__body .wp-block-gallery > figure.wp-block-image {
    width: 100% !important; margin: 0 0 20px !important; break-inside: avoid; display: block !important;
    padding: 8px 8px 24px; background: var(--white); border-radius: 6px; box-shadow: 0 14px 30px -16px rgba(20,20,20,.5);
}
.r7-lb-gallery__body .wp-block-gallery > figure.wp-block-image:nth-child(3n+1) { transform: rotate(-1.2deg); }
.r7-lb-gallery__body .wp-block-gallery > figure.wp-block-image:nth-child(3n+2) { transform: rotate(.8deg); }
.r7-lb-gallery__body .wp-block-gallery img { width: 100% !important; height: auto !important; object-fit: contain !important; border-radius: 3px !important; }
.r7-lb-gallery__body .wp-block-gallery figcaption { position: static !important; background: none !important; color: var(--text-muted) !important; font-family: var(--font-script); font-size: 1.15rem; padding: 8px 0 0 !important; text-align: center; }
.r7-lb-gallery__body .wp-block-gallery .pegged .peg, .r7-lb-gallery__body .pegged > .peg { display: none; }
.r7-lb-gallery__body .wp-block-embed { max-width: 360px; margin: 40px auto 0 !important; border: var(--r7-line); border-radius: 22px; overflow: hidden; }

/* Chi siamo: riquadro del preventivo */
.r7-ab-quiz { margin: clamp(48px, 6vw, 80px) auto 0; max-width: 820px; background: rgba(255,255,255,.35); }
.r7-ab-quiz .r7-script { font-size: 1.6rem; margin: 0 0 4px; }

@media (max-width: 900px) {
    .r7-lb-hero__grid, .r7-ab-hero__grid, .r7-lb-facts__grid { grid-template-columns: 1fr; }
    .r7-lb-cards, .r7-lb-cards--4 { grid-template-columns: 1fr 1fr; }
    .r7-lb-cover { width: min(86%, 380px); }
}
@media (max-width: 600px) {
    .r7-lb-cards, .r7-lb-cards--4 { grid-template-columns: 1fr; }
    .r7-lb-gallery__body .wp-block-gallery { columns: 2 140px; column-gap: 12px; }
    .r7-lb-gallery__body .wp-block-gallery > figure.wp-block-image { margin-bottom: 12px !important; padding: 5px 5px 14px; }
}
@media (prefers-reduced-motion: reduce) { .js .r7-lb-card.reveal { opacity: 1; transform: none; transition: none; } }

/* Correzioni pagina libro */
.r7-lb-events__list > .wp-block-group { display: block !important; padding-top: 0 !important; }
.r7-lb-events__list .wp-block-group__inner-container { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px 20px; padding-top: 16px !important; }
.r7-lb-events__list .wp-block-group__inner-container > * { max-width: none !important; margin: 0 !important; }
.r7-lb-gallery__body .wp-block-group__inner-container > p a { display: inline-flex; padding: 12px 20px; border: 2px solid var(--ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink); background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 600; }
.r7-lb-hero > .r7-rope, .r7-ab-hero > .r7-rope { top: auto; bottom: 24px; height: clamp(100px, 14vw, 180px); }

/* ============ COERENZA DI TUTTE LE PAGINE INTERNE ============ */
/* Testata: scritta a mano + riga che scorre con il titolo, come nella home */
.r7-pagehead { position: relative; padding: calc(var(--header-h) + 40px) 0 clamp(24px, 4vw, 40px); overflow: hidden; }
.r7-pagehead .r7-rope { top: calc(var(--header-h) + 64px); height: clamp(90px, 14vw, 160px); }
.r7-pagehead__label {
    position: relative; z-index: 2; text-align: center; margin: 0 0 4px;
    font-family: var(--font-script); font-weight: 600; font-size: clamp(1.5rem, 4vw, 2.2rem); color: var(--wood-text); transform: rotate(-3deg);
}
.r7-pagehead .r7-row span span { font-size: clamp(3rem, 12vw, 8.5rem); }
.r7-sr-title { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; margin: -1px !important; padding: 0 !important; border: 0 !important; }

/* Le vecchie testate partono subito sotto la nuova */
.has-r7-pagehead .text-hero, .has-r7-pagehead .contact-premium-section, .has-r7-pagehead .error-404,
.has-r7-pagehead main > .hero:not(.hero--content), .has-r7-pagehead .hero.hero--content { padding-top: clamp(16px, 3vw, 32px) !important; margin-top: 0 !important; }
.has-r7-pagehead .text-hero { text-align: center; }
.has-r7-pagehead .text-hero__inner { margin-inline: auto; }
.has-r7-pagehead .text-hero .section-label, .has-r7-pagehead .contact-header .section-label { display: none; }
.text-hero__desc, .text-hero p { font-size: 1.0625rem; line-height: 1.6; color: var(--text-muted); max-width: 40rem; margin-inline: auto; }

/* Filtri del blog: pulsanti con il bordo nero */
.blog-filters a, .cat-filter a, .filter-pills a, .posts-filter a, [class*="filter"] > a, [class*="chips"] > a {
    border: 2px solid var(--ink) !important; border-radius: 12px !important; background: var(--paper) !important; color: var(--ink) !important; box-shadow: 3px 3px 0 var(--ink); font-weight: 600;
}
.blog-filters a.is-active, .blog-filters a[aria-current], .cat-filter a.is-active, .filter-pills a.is-active, [class*="filter"] > a.is-active, [class*="filter"] > a[aria-current="page"] { background: var(--ink) !important; color: var(--paper) !important; box-shadow: 3px 3px 0 var(--wood); }

/* Testi delle pagine (privacy, termini): titoli in maiuscolo come le sezioni della home */
.text-hero--doc ~ * .single-article-content h2, .page-layout--text .single-article-content h2, .page .entry-content > h2 {
    text-transform: uppercase; font-size: clamp(1.4rem, 3vw, 2.1rem); letter-spacing: -0.03em; line-height: 1.02;
}
.single-article-content h2::before { display: none !important; }
.single-article-content h2 { padding-top: 0 !important; margin-top: clamp(40px, 6vw, 64px) !important; padding-bottom: 12px; border-bottom: var(--r7-line); }
.toc { font-size: .9rem; }
.toc details { border-left: 0 !important; padding-left: 0 !important; }
.toc summary { font-family: var(--font-script); font-weight: 600; font-size: 1.4rem; text-transform: none; letter-spacing: 0; color: var(--wood-text); }
.toc a { color: var(--text-muted); }
.toc a:hover, .toc a.is-active, .toc a[aria-current] { color: var(--ink); }
.toc li { border-bottom: 1px solid rgba(20,20,20,.1); padding: 6px 0; }

/* Articoli: testata con la foto appesa */
.single-post .hero.hero--content .hero-title { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.single-post .hero-img-main, .page .hero-img-main { background: var(--white); padding: 10px 10px 30px; border-radius: 8px !important; border: 0 !important; box-shadow: 0 24px 50px -24px rgba(20,20,20,.55); transform: rotate(1.5deg); overflow: visible !important; }
.single-post .hero-img-main img { border-radius: 4px !important; }
.hero-badge { box-shadow: 4px 4px 0 var(--wood); }
.article-tags a { border: 1.5px solid var(--ink); border-radius: 10px; padding: 4px 10px; color: var(--ink); background: var(--paper); text-decoration: none; }
.author-box, .ricordi-author-box, .article-footer .author { border: var(--r7-line); border-radius: 22px; background: rgba(255,255,255,.4); }
section.related h2, .related .section-title { text-transform: uppercase; text-align: center; }

/* Contatti */
.contact-premium-section .page-title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.04em; }
.contact-option, .contact-card, .contact-info-card { border: var(--r7-line) !important; border-radius: 22px !important; box-shadow: none !important; background: rgba(255,255,255,.4) !important; }
.contact-option__icon { background: var(--wood) !important; color: var(--ink) !important; border: 1.5px solid var(--ink); }
.contact-premium-section [class*="map"] iframe, .contact-premium-section [class*="map"] { border-radius: 22px; }

/* Pagina non trovata */
.error-404 .error-inner { text-align: center; }
.error-404 .error-code, .error-404 .error-num { font-family: var(--font-display); font-weight: 700; color: var(--wood); -webkit-text-stroke: 1.5px var(--ink); }

/* Ricerca */
.search-form input[type="search"], .search-field { border: var(--r7-line); border-radius: 12px; background: rgba(255,255,255,.6); }
