/* Thus Digital site: additions on top of landing.css, built with the same tokens. */
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

.top__right { display: flex; align-items: center; gap: 12px; }
.lang-switch { font-size: 13px; padding: 8px 6px; text-decoration: none; color: var(--muted); }
.lang-switch:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.dot:has(.dot-end)::after { display: none; }
.dot-end { white-space: nowrap; }
.dot-end::after { content: ""; display: inline-block; width: .3em; height: .36em; margin-left: .03em; vertical-align: -.02em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 24'%3E%3Cpath fill='%23f4e33a' d='M10 0a10 10 0 0 1 3.2 19.5L9 24l.6-4A10 10 0 0 1 10 0z'/%3E%3C/svg%3E") no-repeat center / contain; }
.dot-end::after { margin-left: .1em; }
.dot::after { margin-left: .1em; }
.foot ul { row-gap: 0; }
@media (max-width: 420px) { .top .btn { display: none; } }

/* Page header used by inner pages */
.page-head { padding-top: 48px; }
.page-head .lead { margin-top: 20px; }
@media (min-width: 769px) { .page-head { padding-top: 72px; } }

/* Service cards (home and Siti web) */
.svc { display: grid; gap: 14px; margin-top: 32px; }
.svc__card { display: flex; flex-direction: column; gap: 12px; border-radius: var(--radius); padding: 26px 22px 28px; background: var(--cream); text-decoration: none; transition: transform .15s; }
.svc__card:hover { transform: translateY(-2px); }
.svc__card h3 { font: 600 24px/1.2 var(--serif); letter-spacing: -.01em; }
.svc__card p { font-size: 15.5px; line-height: 1.55; }
.svc__card .more { margin-top: auto; padding-top: 6px; font-weight: 500; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.svc__card--yellow { background: var(--yellow); }
.svc__card--blue { background: var(--blue); }
.svc__card--dark { background: var(--dark); color: #fff; }
@media (prefers-reduced-motion: reduce) { .svc__card { transition: none; } }
@media (min-width: 601px) { .svc { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1025px) { .svc { grid-template-columns: repeat(3, 1fr); } }

/* Person block (home, about) */
.person { display: grid; gap: 28px; align-items: center; }
.person__photo { aspect-ratio: 1; max-width: 360px; border-radius: var(--radius); background: var(--yellow); display: grid; place-items: center; font: 400 72px/1 var(--serif); overflow: hidden; position: relative; }
.person__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.points { display: grid; gap: 22px; margin-top: 28px; }
.points h3 { font: 600 20px/1.3 var(--serif); margin-bottom: 4px; }
.points p { font-size: 15.5px; color: #333; }
@media (min-width: 769px) { .person { grid-template-columns: 360px 1fr; gap: 56px; } .points { grid-template-columns: 1fr 1fr; } }

/* Dark numbers band */
.band { margin-top: var(--section); background: var(--dark); color: #fff; padding: var(--section) 0; }
.band .lead { color: #e6e6e6; margin-top: 18px; }
.band__grid { display: grid; gap: 32px; }
.nums { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 18px 40px; }
.nums dd { font: 300 48px/1 var(--sans); letter-spacing: -.02em; }
.nums dt { font-size: 13px; color: #cfcfcf; margin-top: 6px; max-width: 16em; }
.nums div { display: flex; flex-direction: column-reverse; }
@media (min-width: 769px) { .band__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; } }

/* Blog cards */
.posts3 { display: grid; gap: 14px; margin-top: 32px; }
.postcard { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--cream); text-decoration: none; }
.postcard__img { aspect-ratio: 1.8; overflow: hidden; background: #e9e5e1; }
.postcard__img img { width: 100%; height: 100%; object-fit: cover; }
.postcard__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; flex: 1; }
.postcard__body h3 { font: 600 22px/1.2 var(--serif); letter-spacing: -.01em; }
.postcard__body p { font-size: 15px; color: #333; }
.postcard__meta { font-size: 13px; color: var(--muted); margin-top: auto; }
.postcard--soon { opacity: .7; }
@media (min-width: 601px) { .posts3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1025px) { .posts3 { grid-template-columns: repeat(3, 1fr); } }

/* Blog post */
.post-head { padding-top: 40px; }
.layout { display: grid; gap: 40px; padding-top: 24px; }
.layout > .main { min-width: 0; }
.cover { border-radius: var(--radius); overflow: hidden; aspect-ratio: 2.2; background: var(--cream); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.post-title { margin-top: 24px; text-wrap: balance; }
.post-title .mark { padding-bottom: 0; background-position: 0 90%; }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.byline b { color: var(--ink); font-weight: 600; }
.avatar { position: relative; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: none; background: var(--yellow); display: grid; place-items: center; color: var(--ink); font: 400 15px/1 var(--serif); }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prose { margin-top: 24px; }
.prose > p:first-child { font-size: 18px; color: #333; }
.prose p { margin: 0 0 12px; }
.prose h2 { margin: 30px 0 12px; font: 600 30px/1.15 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.prose ul { margin: 0 0 12px; display: grid; gap: 8px; }
.prose strong { font-weight: 700; }
.prose em { font-style: italic; }
.prose a { text-decoration: none; background: linear-gradient(#fbf4a8, #fbf4a8) 0 100% / 100% 45% no-repeat; border-bottom: 2px solid var(--yellow); padding: 0 1px; transition: background-size .2s ease; }
.prose a:hover { background-size: 100% 100%; }
.prose .faq { display: block; margin: 0 0 12px; }
@media (prefers-reduced-motion: reduce) { .prose a { transition: none; } }
.side { display: grid; gap: 14px; align-content: start; }
.side__card { border-radius: var(--radius); padding: 22px 22px 24px; background: var(--cream); }
.side__card h3 { font: 400 26px/1.2 var(--serif); letter-spacing: -.01em; margin-bottom: 8px; }
.side__card--yellow { background: var(--yellow); }
.side__card--yellow p { font-size: 15px; line-height: 1.5; margin-bottom: 18px; }
.sideposts li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid rgba(0,0,0,.08); }
.sideposts li:first-child { border-top: 0; }
.sideposts .num { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fff; font: 400 16px/1 var(--serif); }
.sideposts .now .num { background: var(--yellow); }
.sideposts a, .sideposts b { display: block; font-weight: 500; font-size: 15px; line-height: 1.35; text-decoration: none; }
.sideposts small { color: var(--muted); font-size: 12.5px; }
@media (min-width: 960px) { .layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; } .side { position: sticky; top: 96px; } }

/* Simple text pages (privacy) */
.text-page { max-width: 44rem; }
.text-page h2 { font: 600 24px/1.2 var(--serif); margin: 28px 0 10px; }
.text-page p, .text-page li { margin-bottom: 10px; color: #333; }


/* ===== Home, built on the Oak Harbor layout with Thus colours ===== */
.btn--yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--ghost { border-color: rgba(255,255,255,.75); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.o-kicker { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.o-kicker--light { color: var(--yellow); }
.o-title { font: 600 clamp(32px, 5vw, 46px)/1.1 var(--serif); letter-spacing: -.012em; text-wrap: balance; }
.o-title--light { color: #fff; }
.o-sub { max-width: 40em; margin: 16px auto 0; color: #333; font-size: 17px; }
.o-section { padding-top: 88px; }
.o-center { text-align: center; }
.o-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* 1. Hero */
.o-hero { background: var(--dark); color: #fff; padding: 64px 0 110px; border-radius: 0 0 50% 50% / 0 0 80px 80px; overflow: hidden; }
.o-hero__grid { display: grid; gap: 48px; align-items: center; }
.o-hero__title { font: 600 clamp(40px, 6.4vw, 70px)/1.04 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.o-hero__lead { margin-top: 22px; color: #e6e6e6; font-size: 18px; max-width: 34em; }
@media (min-width: 960px) { .o-hero { padding: 88px 0 140px; } .o-hero__grid { grid-template-columns: 1fr 1.1fr; gap: 56px; } }

/* hero mockup, drawn in CSS: a browser with a management app and a phone with a site */
.o-mock { position: relative; padding: 0 0 30px; }
.o-mock__browser { background: #fff; border-radius: 12px; box-shadow: 0 30px 60px rgba(0,0,0,.35); overflow: hidden; }
.o-mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #ececec; }
.o-mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfcfcf; }
.o-mock__bar span { flex: 1; height: 14px; margin-left: 10px; border-radius: 7px; background: #fff; }
.o-mock__app { display: grid; grid-template-columns: 22% 1fr; min-height: 300px; }
.o-mock__side { background: var(--dark); padding: 16px 12px; display: grid; gap: 10px; align-content: start; }
.o-mock__side b { height: 14px; width: 60%; border-radius: 4px; background: var(--yellow); margin-bottom: 8px; }
.o-mock__side span { height: 8px; border-radius: 4px; background: rgba(255,255,255,.25); }
.o-mock__side span.on { background: rgba(255,255,255,.75); }
.o-mock__main { padding: 16px; display: grid; gap: 12px; background: var(--cream); }
.o-mock__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.o-mock__stat { background: #fff; border-radius: 8px; padding: 10px; display: grid; gap: 6px; }
.o-mock__stat em { height: 6px; width: 50%; border-radius: 3px; background: #ddd; }
.o-mock__stat strong { height: 14px; width: 70%; border-radius: 4px; background: var(--ink); }
.o-mock__stat.y { background: var(--yellow); } .o-mock__stat.b { background: var(--blue); }
.o-mock__chart { background: #fff; border-radius: 8px; height: 90px; padding: 12px; display: flex; align-items: flex-end; gap: 8px; }
.o-mock__chart span { flex: 1; border-radius: 3px 3px 0 0; background: var(--blue); }
.o-mock__chart span:nth-child(6) { background: var(--yellow); }
.o-mock__list { background: #fff; border-radius: 8px; padding: 10px; display: grid; gap: 8px; }
.o-mock__list span { height: 8px; border-radius: 4px; background: #e7e3df; }
.o-mock__ai { background: var(--dark); border-radius: 8px; padding: 10px; display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; align-items: center; }
.o-mock__ai i { grid-row: span 2; font: 700 11px/1 var(--sans); font-style: normal; color: var(--ink); background: var(--yellow); border-radius: 6px; padding: 7px 6px; }
.o-mock__ai span { height: 7px; border-radius: 4px; background: rgba(255,255,255,.4); }
.o-mock__ai span.short { width: 55%; }
.o-mock__phone { position: absolute; right: -6px; bottom: 0; width: 26%; min-width: 110px; aspect-ratio: 9 / 18; background: #fff; border: 6px solid #1f1f1f; border-radius: 22px; padding: 18px 9px 10px; display: grid; gap: 7px; align-content: start; box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.o-mock__notch { position: absolute; top: 5px; left: 50%; width: 34%; height: 7px; transform: translateX(-50%); border-radius: 4px; background: #1f1f1f; }
.o-mock__phonehero { height: 64px; border-radius: 8px; background: linear-gradient(135deg, var(--blue), var(--cream)); }
.o-mock__phone span { height: 6px; border-radius: 3px; background: #e7e3df; }
.o-mock__phone span.short { width: 60%; }
.o-mock__btn { height: 16px; width: 65%; border-radius: 8px; background: var(--yellow); }

/* 2. Service cards with icons */
.o-cards { display: grid; gap: 18px; margin: 44px 0 40px; text-align: left; }
.o-card { display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(0,0,0,.05); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.o-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.09); }
.o-card__icon { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; background: var(--dark); color: var(--yellow); margin-bottom: 6px; }
.o-card h3 { font: 600 22px/1.2 var(--serif); }
.o-card p { font-size: 15.5px; color: #333; }
.o-card__more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; }
@media (prefers-reduced-motion: reduce) { .o-card { transition: none; } }
@media (min-width: 640px) { .o-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1025px) { .o-cards { grid-template-columns: repeat(3, 1fr); } }

/* 3. Why us */
.o-why { display: grid; gap: 28px; align-items: stretch; }
.o-why__panel { background: var(--dark); color: #e6e6e6; border-radius: 18px; padding: 36px 30px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.o-why__panel .btn { margin-top: auto; }
.o-why__points { display: grid; gap: 26px 32px; align-content: center; }
.o-why__points h3 { display: flex; gap: 10px; align-items: center; font: 600 19px/1.3 var(--sans); margin-bottom: 6px; }
.o-why__points p { font-size: 15.5px; color: #333; padding-left: 30px; }
.o-tick { width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.5 2.5L14 7.5' fill='none' stroke='%231f1f1f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
@media (min-width: 900px) { .o-why { grid-template-columns: 0.9fr 1.3fr; gap: 56px; } .o-why__points { grid-template-columns: 1fr 1fr; } }

/* 4. Grey band, projects */
.o-grey { background: var(--cream); margin-top: 88px; padding: 80px 0; }
.o-split { display: grid; gap: 18px; margin-bottom: 40px; }
.o-split__text { color: #333; }
@media (min-width: 900px) { .o-split { grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; } .o-split__text { border-left: 1px solid var(--line); padding-left: 32px; } }
.o-projects { display: grid; gap: 22px; }
.o-project { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.o-project__img { width: 100%; aspect-ratio: 1.5; border-radius: var(--radius); overflow: hidden; background: #fff; margin-bottom: 6px; }
.o-project__img img { width: 100%; height: 100%; object-fit: cover; }
.o-project h3 { font: 600 22px/1.2 var(--serif); }
.o-project p { font-size: 15.5px; color: #333; flex: 1; }
@media (min-width: 900px) { .o-projects { grid-template-columns: repeat(3, 1fr); } }

/* 5. Dark numbers band */
.o-dark { background: var(--dark); color: #fff; padding: 88px 0; }
.o-dark__grid { display: grid; gap: 44px; align-items: center; }
.o-dark__text { color: #e6e6e6; margin: 18px 0 28px; max-width: 34em; }
.o-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; }
.o-nums div { display: flex; flex-direction: column; gap: 6px; }
.o-nums dd { margin: 0; font: 300 clamp(40px, 6vw, 60px)/1 var(--sans); color: var(--yellow); letter-spacing: -.02em; }
.o-nums dt { font-size: 14px; color: #e6e6e6; }
@media (min-width: 900px) { .o-dark__grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* 6. Press */
.o-press { display: grid; gap: 32px; align-items: center; }
.o-press__img { border-radius: var(--radius); overflow: hidden; }
.o-press__text { margin-top: 18px; color: #333; }
@media (min-width: 900px) { .o-press { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* 7. Blog */
.o-posts { display: grid; gap: 18px; margin-top: 40px; text-align: left; }
.o-post { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.05); }
.o-post__img { aspect-ratio: 1.8; overflow: hidden; }
.o-post__img img { width: 100%; height: 100%; object-fit: cover; }
.o-post__body { padding: 20px 22px 24px; display: grid; gap: 10px; }
.o-post__body h3 { font: 600 21px/1.25 var(--serif); }
.o-post__body span { font-size: 13px; color: var(--muted); }
.o-post--soon { background: rgba(255,255,255,.6); box-shadow: none; border: 1px dashed var(--line); }
@media (min-width: 900px) { .o-posts { grid-template-columns: repeat(3, 1fr); } }

/* 8. Final CTA */
.o-cta { background: var(--dark); border-radius: 22px; padding: 48px 32px; display: grid; gap: 24px; justify-items: start; }
@media (min-width: 900px) { .o-cta { grid-template-columns: 1fr auto; align-items: center; padding: 64px 64px; } }

/* Dark footer, like Oak Harbor */
.foot { background: #2f2f2f; color: #d6d6d6; border-top: 0; margin-top: 88px; padding: 40px 0 44px; }
.foot__brand img { filter: invert(1); }
.foot a { color: #fff; }

/* Home: header merges into the dark hero, like Oak Harbor */
.dark-top .top { background: var(--dark); border-bottom: 0; color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.dark-top .top .logo img { filter: invert(1); }
.dark-top .top .lang-switch { color: rgba(255,255,255,.8); }
.dark-top .top .btn { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.dark-top .top .btn:hover { background: #fff; border-color: #fff; }
.dark-top .o-hero { padding-top: 40px; }

/* Hero without image: text centred, like Oak Harbor on small screens */
.o-hero__grid { grid-template-columns: 1fr !important; justify-items: center; text-align: center; }
.o-hero__lead { margin-left: auto; margin-right: auto; }
.o-hero .o-ctas { justify-content: center; }
.o-hero__title { max-width: 16em; }

/* Palette chosen by Roberto (28/11/2026): black + Thus yellow. No light blue, no cream. */
:root { --ink: #1a1a1a; --dark: #141414; --cream: #f4f4f2; --blue: #f4f4f2; --line: #e6e6e3; }
.tag { background: #f4f4f2; }
.foot { background: #0d0d0d; }
.o-grey { background: #f4f4f2; }
.svc__card--blue, .card--blue { background: #f4f4f2; }
.btn--dark { background: var(--dark); border-color: var(--dark); }
.btn--dark:hover { background: #000; border-color: #000; }

/* ===== Oak-style interactions, black + yellow ===== */
/* Buttons: colour sweeps in from the left on hover */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; width: 0; z-index: -1; background: var(--sweep, var(--ink)); transition: width .3s ease; }
.btn:hover::before { width: 100%; }
.btn:hover { background: inherit; }
.btn { --sweep: var(--ink); }
.btn:hover { color: #fff; }
.btn--yellow, .dark-top .top .btn { --sweep: #fff; }
.btn--yellow:hover, .dark-top .top .btn:hover { background: var(--yellow); color: var(--ink); }
.btn--dark { --sweep: var(--yellow); }
.btn--dark:hover { background: var(--dark); color: var(--ink); }
.btn--ghost { --sweep: #fff; }
.btn--ghost:hover { background: transparent; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .btn::before { transition: none; } }

/* Service cards: icon square above the card, card turns black on hover */
.o-cards { gap: 56px 22px; margin-top: 76px; }
.o-card { position: relative; overflow: visible; background: #f4f4f2; border: 0; box-shadow: none; padding: 52px 28px 30px; border-radius: 16px; transition: background-color .3s, color .3s; }
.o-card:hover { transform: none; box-shadow: none; background: var(--dark); color: #fff; }
.o-card__icon { position: absolute; top: -32px; left: 28px; width: 64px; height: 64px; border-radius: 14px; background: var(--dark); color: var(--yellow); margin: 0; transition: background-color .3s, color .3s; }
.o-card:hover .o-card__icon { background: var(--yellow); color: var(--ink); }
.o-card p { transition: color .3s; }
.o-card:hover p { color: rgba(255,255,255,.85); }
.o-card__more { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; text-decoration-color: var(--yellow); }
.o-card::after { content: ""; position: absolute; right: 0; bottom: 0; width: 64px; height: 64px; border-bottom-right-radius: 16px; background: linear-gradient(135deg, transparent 50%, var(--yellow) 50%); opacity: 0; transition: opacity .3s; }
.o-card:hover::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .o-card, .o-card__icon, .o-card p, .o-card::after { transition: none; } }

/* Hero: black with a soft yellow glow and a few twinkling yellow points */
.o-hero { position: relative; isolation: isolate; }
.o-hero__fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  radial-gradient(600px 300px at 85% 10%, rgba(244,227,58,.14), transparent 70%),
  radial-gradient(500px 280px at 10% 90%, rgba(244,227,58,.08), transparent 70%),
  radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 28px 28px; }
.o-hero__fx i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--yellow); opacity: .3; animation: o-twinkle 4s ease-in-out infinite; }
.o-hero__fx i:nth-child(1) { top: 18%; left: 12%; }
.o-hero__fx i:nth-child(2) { top: 30%; left: 82%; animation-delay: .8s; }
.o-hero__fx i:nth-child(3) { top: 62%; left: 22%; animation-delay: 1.6s; }
.o-hero__fx i:nth-child(4) { top: 12%; left: 58%; animation-delay: 2.4s; }
.o-hero__fx i:nth-child(5) { top: 72%; left: 74%; animation-delay: 1.2s; }
.o-hero__fx i:nth-child(6) { top: 45%; left: 6%; animation-delay: 3s; }
.o-hero__fx i:nth-child(7) { top: 50%; left: 92%; animation-delay: 2s; }
.o-hero__fx i:nth-child(8) { top: 82%; left: 46%; animation-delay: .4s; }
.o-hero__fx b { position: absolute; top: -10%; right: 30%; width: 1px; height: 80px; background: linear-gradient(var(--yellow), transparent); transform: rotate(-35deg); opacity: 0; animation: o-shoot 9s ease-in 2s infinite; }
@keyframes o-twinkle { 0%, 100% { opacity: .15; transform: scale(1); } 50% { opacity: .9; transform: scale(1.6); } }
@keyframes o-shoot { 0% { opacity: 0; top: -10%; right: 30%; } 1% { opacity: .9; } 6% { opacity: 0; top: 90%; right: 5%; } 100% { opacity: 0; top: 90%; right: 5%; } }
@media (prefers-reduced-motion: reduce) { .o-hero__fx i, .o-hero__fx b { animation: none; } }
.o-hero__title .accent { color: var(--yellow); }

/* Tighter spacing between home sections (Roberto, 28/11/2026) */
.o-section { padding-top: 56px; }
.o-grey { margin-top: 56px; padding: 56px 0; }
.o-dark { padding: 64px 0; }
.o-hero { padding-bottom: 90px; }
@media (min-width: 960px) { .o-hero { padding-bottom: 110px; } }
.o-cards { margin: 64px 0 32px; }
.o-split { margin-bottom: 32px; }
.o-posts { margin-top: 32px; }
.foot { margin-top: 56px; }

/* Final CTA: dark band with curved top, glow and points like the hero, flows into the black footer */
.o-final { position: relative; isolation: isolate; overflow: hidden; margin-top: 56px; background: var(--dark); color: #fff; text-align: center; padding: 110px 0 72px; border-radius: 50% 50% 0 0 / 70px 70px 0 0; }
.o-final__inner { display: flex; flex-direction: column; align-items: center; }
.o-final__title { font: 600 clamp(32px, 5vw, 54px)/1.08 var(--serif); letter-spacing: -.015em; max-width: 18em; text-wrap: balance; }
.o-final__text { margin-top: 16px; color: #e6e6e6; font-size: 18px; }
.o-final .o-ctas { justify-content: center; }
.dark-top .foot { margin-top: 56px; }
.dark-top main:has(> .o-final:last-child) + .foot { margin-top: 0; background: var(--dark); border-top: 1px solid rgba(255,255,255,.08); }

/* Final banner tucked under the blog band: its curved corners show the grey band, no white gap */
.o-grey + .o-final { margin-top: -48px; }
.o-final { padding-top: 88px; }

/* Inner pages: compact dark hero, same look as the home hero */
.o-hero--page { padding: 40px 0 90px; }
.o-hero--page .o-hero__title { font-size: clamp(36px, 5.4vw, 58px); }
@media (min-width: 960px) { .o-hero--page { padding-bottom: 104px; } }
.o-hero--page + .wrap.section, .o-hero--page + section.section { padding-top: 48px; }
.dark-top main > .wrap.section:first-of-type { padding-top: 48px; }
/* landing cards on inner pages: same as the home service cards */
.cards4 .card { background: #f4f4f2; color: var(--ink); transition: background-color .3s, color .3s; }
.cards4 .card:hover { background: var(--dark); color: #fff; }
.cards4 .card.card--dark { background: var(--dark); color: #fff; }
.cards4 .card .mono { color: var(--ink); background: var(--yellow); border-radius: 6px; padding: 4px 8px; align-self: flex-start; font-weight: 700; }
.wrap.section { padding-top: 56px; }

/* Inner pages: feature box without photo */
.feature--text { grid-template-columns: 1fr !important; background: #f4f4f2; }
.feature--text .feature__body { padding: 36px 36px 40px; }

/* Labels on the Chi siamo cards, and one footer black everywhere */
.who__card .tag, .who__card--dark .tag { background: var(--yellow); color: var(--ink); border: 0; }
.foot, .dark-top .foot { background: var(--dark); }

/* Project without a screenshot yet: dark placeholder with the name, the image covers it once added */
.pcard__img, .o-project__img { position: relative; }
.shot-fallback { position: absolute; inset: 0; display: grid; place-items: center; background: var(--dark) radial-gradient(400px 200px at 80% 0%, rgba(244,227,58,.18), transparent 70%); color: #fff; font: 600 26px/1 var(--serif); }
.pcard__img img, .o-project__img img { position: relative; }

/* Less black at the end of the page (Roberto, 28/11/2026) */
.o-final { padding-bottom: 44px; }
.o-final .o-ctas { margin-top: 24px; }
.foot, .dark-top .foot { padding: 24px 0 28px; }
.foot .wrap { gap: 10px 28px; }
.foot a { padding: 6px 0; }

/* Less space under the hero text and around the final banner / footer (Roberto, 28/11/2026) */
.o-hero, .o-hero--page { padding-bottom: 64px; border-radius: 0 0 50% 50% / 0 0 56px 56px; }
@media (min-width: 960px) { .o-hero, .o-hero--page { padding-bottom: 72px; } }
.o-final { padding-bottom: 24px; }
.foot, .dark-top .foot { padding-top: 12px; }

/* Blog post: no label above, less space before the cover (Roberto, 28/11/2026) */
.layout { padding-top: 28px; }
@media (min-width: 960px) { .layout { padding-top: 36px; } }


/* Contact page: the final band without text, only the dark curve (Roberto, 28/11/2026) */
.o-final--bare { padding: 0; height: 120px; }

/* Siti web page: the original text rows, with a little colour (Roberto, 28/11/2026) */
.rows--svc .row { gap: 18px; padding: 28px 0; }
.rows--svc .row h3 { align-items: center; font: 600 24px/1.25 var(--serif); }
.rows--svc .row h3 .mono { display: inline-grid; place-items: center; min-width: 40px; height: 28px; padding: 0 8px; border-radius: 999px; background: var(--yellow); color: var(--ink); font: 700 12px/1 var(--sans); letter-spacing: 0; }
.rows--svc .row p { color: #333; }
.rows--svc .dash { display: grid; gap: 8px; margin-top: 14px !important; }
.rows--svc .dash li { position: relative; padding-left: 28px; }
.rows--svc .dash li + li { margin-top: 0; }
.rows--svc .dash li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.5 2.5L14 7.5' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.feature--accent { border-left: 6px solid var(--yellow); }
.feature--accent .link { text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
/* Less space around the "Dal blog" box (Roberto, 28/11/2026) */
.section:has(.feature--accent) { padding-top: 28px; }
.feature--accent .feature__body { padding: 26px 30px 28px; gap: 10px; }
main > .section:has(.feature--accent) + .o-final, .section:has(.feature--accent) + .o-final { margin-top: 28px; }
/* "Dal blog" box, more compact (Roberto, 28/11/2026) */
.feature--accent .feature__body { padding: 18px 24px 20px; gap: 4px; }
.feature--accent .p-title { font-size: 26px; line-height: 1.2; }
.feature--accent .p-text { font-size: 15.5px; }
.feature--accent .link { min-height: 0; margin-top: 6px; }

/* Professional footer: four columns and a bottom bar with credits (Roberto, 28/11/2026) */
.foot { padding: 48px 0 0 !important; color: rgba(255,255,255,.75); font-size: 14.5px; }
.foot .wrap.foot__grid { display: grid; gap: 32px; align-items: start; justify-content: stretch; }
.foot__col h2 { font: 700 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 14px; }
.foot__col ul { display: grid !important; gap: 8px; font-size: 14.5px; }
.foot__col a { padding: 0 !important; color: #fff; text-decoration: none; }
.foot__col a:hover { color: var(--yellow); }
.foot__about p { margin: 16px 0 20px; max-width: 30em; line-height: 1.6; }
.foot__about .btn { color: var(--ink); padding: 0 18px !important; min-height: 42px; }
.foot__logo { display: inline-flex; flex-direction: column; align-items: flex-end; text-decoration: none; line-height: 1; }
.foot__logo img { width: 92px; filter: invert(1); }
.foot__logo span { font-family: var(--serif); font-style: italic; font-size: 11px; color: #fff; margin-top: 2px; margin-right: 6px; }
.foot .wrap.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(255,255,255,.6); }
.foot__bottom p { margin: 0; }
.foot__bottom a { color: #fff; padding: 0 !important; text-underline-offset: 3px; }
.foot__bottom a:hover { color: var(--yellow); }
@media (min-width: 769px) { .foot .wrap.foot__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; } }

/* Tighter spacing everywhere, boxes and sections (Roberto, 28/11/2026) */
:root { --section: 44px; }
@media (min-width: 601px) { :root { --section: 56px; } }
.o-section { padding-top: 44px; }
.o-grey { margin-top: 44px; padding: 44px 0; }
.o-dark { padding: 48px 0; }
.o-cards { margin: 52px 0 24px; gap: 44px 18px; }
.o-card { padding: 44px 24px 24px; }
.o-split { margin-bottom: 24px; }
.o-why__panel { padding: 28px 26px; }
.o-final { margin-top: 44px; padding-top: 80px; }
.o-hero--page + .wrap.section, .o-hero--page + section.section { padding-top: 32px; }
.contact { padding: 28px 22px 30px; gap: 24px; }
@media (min-width: 769px) { .contact { padding: 36px 40px 38px; gap: 40px; } .contact__intro { padding-left: 0; } }
.rows--svc .row { padding: 22px 0; }
.foot { padding-top: 36px !important; }
.foot .wrap.foot__bottom { margin-top: 28px; }
.foot .btn { display: inline-flex !important; align-items: center; }

/* Project cards: a touch of colour (Roberto, 28/11/2026) */
.pcard { border-top: 4px solid var(--yellow); transition: transform .2s ease, box-shadow .2s ease; }
.pcard:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.pcard__img .tag { background: var(--yellow); color: var(--ink); font-weight: 600; }
.pcard .p-meta { color: var(--muted); font-weight: 500; }
.pcard .link { text-decoration-color: var(--yellow); text-decoration-thickness: 2px; font-weight: 600; }
.pcard .link .ico { color: var(--ink); background: var(--yellow); border-radius: 50%; padding: 4px; width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) { .pcard { transition: none; } .pcard:hover { transform: none; } }
/* Arrow icon optically centred on the text in every button (Roberto, 28/11/2026) */
.btn .ico, .link .ico, .o-card__more .ico { position: relative; top: 1.5px; align-self: center; }

/* Blog cards: same touch of colour as the project cards (Roberto, 28/11/2026) */
.postcard { border-top: 4px solid var(--yellow); transition: transform .2s ease, box-shadow .2s ease; }
.postcard:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.postcard__img { position: relative; }
.postcard__body h3 { transition: color .2s; }
.postcard:hover .postcard__body h3 { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.postcard__meta { align-self: flex-start; background: var(--yellow); color: var(--ink) !important; font-weight: 600; font-size: 12px !important; padding: 4px 10px; border-radius: 999px; }
@media (prefers-reduced-motion: reduce) { .postcard { transition: none; } .postcard:hover { transform: none; } }
/* Blog card title: the yellow underline grows from left to right on hover (Roberto, 28/11/2026) */
.postcard__body h3 { align-self: flex-start; padding-bottom: 4px; background: linear-gradient(var(--yellow), var(--yellow)) 0 100% / 0 3px no-repeat; transition: background-size .35s ease; }
.postcard:hover .postcard__body h3 { text-decoration: none; background-size: 100% 3px; }
@media (prefers-reduced-motion: reduce) { .postcard__body h3 { transition: none; } }
/* Links inside the accent boxes: same style as the links in the blog articles (Roberto, 28/11/2026) */
.feature--accent .link { display: inline; align-self: flex-start; text-decoration: none; background: linear-gradient(#fbf4a8, #fbf4a8) 0 100% / 100% 45% no-repeat; border-bottom: 2px solid var(--yellow); padding: 0 1px; transition: background-size .2s ease; font-weight: 500; }
.feature--accent .link:hover { background-size: 100% 100%; }
@media (prefers-reduced-motion: reduce) { .feature--accent .link { transition: none; } }
/* Project cards: "Visita il sito" with the same style as the blog links (Roberto, 28/11/2026) */
.pcard .link, .o-project .link { min-height: 0; align-self: flex-start; gap: 6px; text-decoration: none; background: linear-gradient(#fbf4a8, #fbf4a8) 0 100% / 100% 45% no-repeat; border-bottom: 2px solid var(--yellow); padding: 0 2px; margin-top: auto; transition: background-size .2s ease; font-weight: 500; }
.pcard .link:hover, .o-project .link:hover { background-size: 100% 100%; }
.pcard .link .ico { background: none; padding: 0; width: 11px; height: 11px; }
.pcard__body .link { margin-top: auto; }
@media (prefers-reduced-motion: reduce) { .pcard .link { transition: none; } }

/* Mobile menu: burger under 769px (Roberto, 28/11/2026) */
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; height: 2px; width: 22px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.top.is-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.top.is-open .burger span:nth-child(2) { opacity: 0; }
.top.is-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__cta { display: none !important; }
@media (max-width: 768px) {
  .top { color: #fff; }
  .burger { display: inline-flex; color: inherit; }
  .top .wrap { position: relative; }
  .top .top__right .btn { display: none; }
  .top.is-open .nav { display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 100%; padding: 8px var(--gutter) 24px; background: var(--dark); border-top: 1px solid rgba(255,255,255,.1); box-shadow: 0 20px 40px rgba(0,0,0,.35); z-index: 60; }
  .top.is-open .nav a { padding: 14px 0; font-size: 18px; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .top.is-open .nav a[aria-current="page"] { color: var(--yellow); }
  .top.is-open .nav .nav__cta { display: inline-flex !important; align-self: flex-start; margin-top: 18px; padding: 0 20px; border-bottom: 0; color: var(--ink); font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .burger span { transition: none; } }
/* Mobile: language inside the menu, not in the header bar (Roberto, 28/11/2026) */
.nav__lang { display: none !important; }
@media (max-width: 768px) {
  .top .top__right .lang-switch { display: none; }
  .top.is-open .nav .nav__lang { display: block !important; color: rgba(255,255,255,.75); font-size: 15px; }
}
/* Rows: no line above the first and below the last (Roberto, 28/11/2026) */
.rows--svc { border-top: 0 !important; }
.rows--svc .row:first-child { padding-top: 0; }
.rows--svc .row:last-child { border-bottom: 0 !important; }
/* Less space above and below the rows (Roberto, 28/11/2026) */
.o-hero--page + .section:has(.rows--svc) { padding-top: 20px !important; }
.rows--svc .row:last-child { padding-bottom: 8px; }
.section:has(.rows--svc) + .section:has(.feature--accent) { padding-top: 16px; }
/* Shared highlighted link style (same as blog links) for standalone links (Roberto, 28/11/2026) */
.link--hl { display: inline-flex; min-height: 0; gap: 6px; text-decoration: none; background: linear-gradient(#fbf4a8, #fbf4a8) 0 100% / 100% 45% no-repeat; border-bottom: 2px solid var(--yellow); padding: 0 2px; transition: background-size .2s ease; font-weight: 500; }
.link--hl:hover { background-size: 100% 100%; }
@media (prefers-reduced-motion: reduce) { .link--hl { transition: none; } }

/* Home services: tinted band that starts under the hero curve, heading close to the curve */
.o-hero { z-index: 1; }
.o-svc { background: #f4f4f2; margin-top: -80px; padding: 104px 0 44px; }
.o-svc .o-card { background: #fff; }
.o-svc .o-card:hover { background: var(--dark); }
@media (max-width: 768px) { .o-svc { margin-top: -60px; padding: 84px 0 48px; } }
