/* Asia Fusion Sushi — Rufina + Sintony. Carta di riso, alga nori, edamame. */
:root {
  --paper: #f2ede2;
  --paper-2: #e8e2d3;
  --card: #fbf8f1;
  --ink: #1e2420;
  --nori: #1e2420;
  --nori-2: #2a332d;
  --green: #4f6b23;
  --green-d: #3e551b;
  --wasabi: #b4c76a;
  --ginger: #eab0a2;
  --carrot: #e07b4f;
  --muted: #5b6058;
  --line: rgba(30, 36, 32, .16);
  --disp: 'Rufina', Georgia, serif;
  --body: 'Sintony', 'Segoe UI', sans-serif;
  --wrap: 1180px;
  --hh: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.7 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--disp); font-weight: 700; line-height: 1.04; letter-spacing: -.015em; margin: 0; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 4px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--carrot); outline-offset: 3px; }

/* striscia anteprima */
.preview-strip { background: var(--nori); color: #d9dccd; font-size: .75rem; letter-spacing: .04em; text-align: center; padding: 6px 12px; line-height: 1.4; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(242, 237, 226, .94); backdrop-filter: saturate(1.2); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-compact { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0, 0, 0, .4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--hh); transition: height .3s; }
.site-header.is-compact .header-inner { height: 60px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.brand:hover .brand-mark { transform: rotate(-30deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font: 700 1.45rem/1 var(--disp); letter-spacing: -.01em; }
.brand-sub { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.menu-toggle { display: inline-flex; align-items: center; gap: 10px; background: none; border: 1px solid var(--ink); border-radius: 999px; padding: 8px 14px; font: 700 .8rem var(--body); color: var(--ink); cursor: pointer; }
.mt-bars { display: grid; gap: 5px; width: 18px; }
.mt-bars i { display: block; height: 2px; background: currentColor; transition: transform .3s; }
.menu-toggle[aria-expanded="true"] .mt-bars i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .mt-bars i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav { position: fixed; inset: calc(var(--hh) + 26px) 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 22px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
.nav.is-open { opacity: 1; transform: none; visibility: visible; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 700 1.25rem var(--disp); }
.nav .nav-cta a { border: 0; margin-top: 14px; background: var(--green); color: #fff; text-align: center; border-radius: 999px; font: 700 .95rem var(--body); }

/* bottoni */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font: 700 .92rem/1.2 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--green-d); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-d); }
.btn-block { width: 100%; }

/* reveal */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* hero */
.hero { position: relative; padding: 36px 0 56px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(30, 36, 32, .07) 1.2px, transparent 1.4px); background-size: 26px 26px; mask-image: linear-gradient(90deg, transparent 40%, #000 90%); -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 90%); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 36px; }
.eyebrow { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.hero h1 { font-size: clamp(3.1rem, 13vw, 7rem); line-height: .93; letter-spacing: -.03em; margin-bottom: 24px; }
.h1-green { color: var(--green); }
.lead { font-size: 1.06rem; max-width: 34em; color: #333a35; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.live { display: inline-flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--muted); margin: 0; }
.live .dot { width: 9px; height: 9px; border-radius: 50%; background: #a39f93; box-shadow: 0 0 0 4px rgba(163, 159, 147, .2); }
.live.is-open .dot { background: #4f8a2b; box-shadow: 0 0 0 4px rgba(79, 138, 43, .2); }
.live.is-closed .dot { background: #c2553a; box-shadow: 0 0 0 4px rgba(194, 85, 58, .18); }
.hero-plate { margin: 0; justify-self: center; width: min(100%, 470px); }
.plate { position: relative; aspect-ratio: 1; border-radius: 50%; padding: 14px; }
.plate img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; border-radius: 50%; }
.plate-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.plate-ring circle { fill: none; stroke: var(--nori); stroke-width: 7; stroke-dasharray: 604; stroke-dashoffset: 0; }
.js .plate-ring circle { stroke-dashoffset: 604; transition: stroke-dashoffset 1.6s cubic-bezier(.6, .1, .2, 1) .3s; }
.js .hero-plate.in .plate-ring circle { stroke-dashoffset: 0; }
figcaption { font-size: .8rem; color: var(--muted); margin-top: 12px; text-align: center; }
figcaption span { display: inline-block; margin-left: 6px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }

/* striscia */
.strip { list-style: none; margin: 0; padding: 18px 20px; background: var(--nori); color: var(--paper); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; font: 700 .74rem var(--body); letter-spacing: .1em; text-transform: uppercase; }
.strip li { display: flex; align-items: center; gap: 10px; }
.strip li::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--wasabi); }

/* sezioni */
.sec { padding: 76px 0; }
.kicker { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green); font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ''; width: 26px; height: 2px; background: currentColor; }
.sec h2 { font-size: clamp(2rem, 7vw, 3.4rem); margin-bottom: 20px; }

/* vegano */
.vegano { background: var(--nori); color: #eceadf; }
.vegano .kicker { color: var(--wasabi); }
.veg-head { max-width: 900px; }
.veg-intro { color: #c9cbbf; font-size: 1.04rem; max-width: 36em; }
.roll { margin: 44px auto 50px; max-width: 980px; }
.roll-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 0; }
.slice { --p: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 25%; transform: translate(calc(var(--dx, 0px) * (1 - var(--p))), calc(var(--dy, 0px) * (1 - var(--p)))) rotate(calc((1 - var(--p)) * -18deg)); will-change: transform; }
.slice svg { width: min(100%, 76px); aspect-ratio: 1; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .35)); }
.slice span { font: 700 1rem var(--disp); color: #f2ede2; opacity: var(--p); white-space: nowrap; }
.veg-body { display: grid; gap: 28px; }
.veg-photo, .veg-photo-2 { margin: 0; }
.veg-photo img, .veg-photo-2 img { border-radius: 6px; width: 100%; }
.veg-photo-2 img { aspect-ratio: 4 / 3; object-fit: cover; }
.vegano figcaption { color: #9fa496; text-align: left; }
.veg-list { margin: 0 0 22px; }
.veg-list div { padding: 14px 0; border-top: 1px solid rgba(242, 237, 226, .16); display: grid; gap: 4px; }
.veg-list dt { font: 700 1.3rem var(--disp); color: #fff; }
.veg-list dd { margin: 0; color: #c9cbbf; }
.veg-ask { border-left: 3px solid var(--ginger); padding: 4px 0 4px 16px; color: #e3e1d6; font-size: .95rem; }

/* menu */
.menu-head { display: flex; flex-direction: column; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin: 6px 0 30px; overflow-x: auto; }
.tabs button { background: none; border: 0; padding: 12px 16px 14px; font: 700 1.15rem var(--disp); color: var(--muted); cursor: pointer; position: relative; white-space: nowrap; }
.tabs button::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; background: var(--green); transform: scaleX(0); transition: transform .3s; }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.panel { display: grid; gap: 26px; align-items: start; }
.panel[hidden] { display: none; }
.panel:focus-visible { outline-offset: 8px; }
.panel-photo { margin: 0; }
.panel-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.panel-photo figcaption { text-align: left; }
.dishes { list-style: none; margin: 0; padding: 0; counter-reset: d; }
.dishes li { display: grid; grid-template-columns: 2.4em 1fr; column-gap: 6px; padding: 14px 0; border-bottom: 1px dashed var(--line); counter-increment: d; animation: dishIn .5s both; animation-delay: calc(var(--n, 0) * 60ms); }
.dishes li::before { content: counter(d, decimal-leading-zero); grid-row: span 2; font-size: .72rem; letter-spacing: .1em; color: var(--green); padding-top: .45em; }
.dishes b { font: 700 1.3rem/1.2 var(--disp); }
.dishes span { color: var(--muted); font-size: .94rem; }
.dishes .dish-more::before { content: '+'; font-size: 1rem; padding-top: 0; }
.dishes .dish-more span { grid-column: 2; font-style: normal; color: var(--ink); }
@keyframes dishIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.menu-note { margin-top: 30px; font-size: .92rem; color: var(--muted); max-width: 48em; }

/* prenota */
.prenota { background: var(--paper-2); }
.pren-grid { display: grid; gap: 34px; }
.pren-photo { margin: 22px 0 0; }
.pren-photo img { border-radius: 6px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.pren-photo figcaption { text-align: left; }
.form { background: var(--card); border-radius: 10px; padding: 24px 20px; box-shadow: 0 30px 50px -40px rgba(30, 36, 32, .5); border: 1px solid var(--line); }
.f-switch { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.f-switch legend { font-weight: 700; font-size: .85rem; margin-bottom: 8px; padding: 0; }
.f-opts { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper-2); border-radius: 999px; padding: 4px; }
.f-switch label { position: relative; text-align: center; padding: 10px 8px; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: .9rem; transition: background .25s, color .25s; }
.f-switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.f-switch label:has(input:checked) { background: var(--ink); color: var(--paper); }
.f-switch label:has(input:focus-visible) { outline: 3px solid var(--carrot); outline-offset: 2px; }
.f-row { margin-bottom: 16px; }
.f-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .f-row > label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--muted); }
.form input[type=text], .form input[type=number], .form input[type=date], .form select, .form textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #c9c3b3; border-radius: 6px; background: #fff; font: 400 1rem var(--body); color: var(--ink); }
.form textarea { resize: vertical; min-height: 90px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--green); outline: 2px solid rgba(79, 107, 35, .25); outline-offset: 0; }
.form [aria-invalid="true"] { border-color: #b4412a; }
.f-err { color: #a83a24; font-size: .82rem; margin: 6px 0 0; }
.f-check { display: flex; align-items: center; gap: 10px; font-size: .92rem; margin: 2px 0 16px; cursor: pointer; }
.f-check input { width: 20px; height: 20px; accent-color: var(--green); }
.f-small { font-size: .85rem; color: var(--muted); margin: 14px 0 0; text-align: center; }

/* orari + dove */
.info-grid { display: grid; gap: 56px; }
.badge-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }
.badge { display: inline-block; padding: 5px 12px; border-radius: 999px; font-weight: 700; font-size: .8rem; letter-spacing: .04em; background: #ddd8ca; color: var(--ink); }
.badge.is-open { background: #dbe7c4; color: #2f4a12; }
.badge.is-closed { background: #f3d6cc; color: #7a2a17; }
.hours { width: 100%; border-collapse: collapse; margin: 8px 0 14px; font-size: .97rem; }
.hours th, .hours td { text-align: left; padding: 11px 10px; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 400; width: 38%; }
.hours td { font-variant-numeric: tabular-nums; }
.hours .slot { display: block; }
@media (min-width: 520px) { .hours .slot { display: inline; } .hours .slot + .slot::before { content: '  ·  '; white-space: pre; opacity: .6; } }
.hours tr.is-today { background: var(--nori); color: var(--paper); }
.hours tr.is-today th { font-weight: 700; }
.hours tr.is-today th::after { content: ' · oggi'; color: var(--wasabi); font-size: .8rem; }
.hours tr.is-closed-day td { color: #a0402a; }
.hours tr.is-today.is-closed-day td { color: var(--ginger); }
.small { font-size: .82rem; color: var(--muted); }
address { font-style: normal; margin-bottom: 18px; }
.map { border-radius: 8px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--paper-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.dove-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* faq */
.faq { padding-top: 20px; }
.faq-grid { display: grid; gap: 24px; padding-top: 56px; background: linear-gradient(var(--line), var(--line)) center top / calc(100% - 40px) 1px no-repeat; }
.faq h2 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item h3 { font-size: 1.12rem; }
.acc-item button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; background: none; border: 0; text-align: left; font: 700 1.16rem/1.3 var(--disp); color: var(--ink); cursor: pointer; }
.acc-item button i { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--ink); position: relative; transition: background .25s, transform .3s; }
.acc-item button i::before, .acc-item button i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.acc-item button i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.acc-item button[aria-expanded="true"] i { background: var(--ink); color: var(--paper); }
.acc-item button[aria-expanded="true"] i::after { transform: translate(-50%, -50%) rotate(0); }
.acc-panel p { color: #3c433e; padding-bottom: 18px; margin: 0; max-width: 40em; }

/* footer */
.footer { background: var(--nori); color: #c9cbbf; padding: 56px 0 110px; font-size: .9rem; }
.footer-grid { display: grid; gap: 28px; }
.f-mark { width: 44px; height: 44px; margin-bottom: 12px; }
.f-name { font: 700 1.5rem var(--disp); color: #fff; margin-bottom: 2px; }
.footer a { color: #fff; }
.credits { font-size: .76rem; color: #8f9487; }
.f-legal { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .76rem; color: #8f9487; }

/* barra azioni mobile */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--nori); border-top: 1px solid rgba(255, 255, 255, .08); padding-bottom: env(safe-area-inset-bottom); }
.action-bar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px 11px; color: var(--paper); text-decoration: none; font-size: .74rem; font-weight: 700; letter-spacing: .03em; }
.action-bar a + a { border-left: 1px solid rgba(255, 255, 255, .08); }
.action-bar a:nth-child(2) { background: var(--green); }
.action-bar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- da tablet in su ---------- */
@media (min-width: 720px) {
  .wrap { padding: 0 32px; }
  .roll-track { flex-wrap: nowrap; }
  .slice { width: auto; flex: 1; }
  .slice svg { width: min(100%, 118px); }
  .slice span { font-size: 1.1rem; }
  .veg-body { grid-template-columns: 1.3fr 1fr; }
  .veg-photo-2 { display: none; }
  .panel { grid-template-columns: 1fr 1fr; gap: 44px; }
  .f-switch { max-width: 360px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
  .strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0; font-size: .8rem; letter-spacing: .12em; }
  .strip li::before { display: none; }
  .strip li + li::before { display: block; margin: 0 18px; }
  .faq-grid { background-size: calc(100% - 64px) 1px; }
  .form { padding: 32px 30px; }
}
@media (min-width: 960px) {
  :root { --hh: 82px; }
  .menu-toggle { display: none; }
  .nav { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; padding: 0; }
  .nav ul { display: flex; align-items: center; gap: 26px; }
  .nav li a { border: 0; padding: 6px 0; font: 700 .88rem var(--body); position: relative; }
  .nav li:not(.nav-cta) a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
  .nav li:not(.nav-cta) a:hover::after { transform: scaleX(1); }
  .nav .nav-cta a { margin: 0; padding: 11px 20px; }
  .hero { padding: 56px 0 90px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
  .hero-plate { width: 100%; max-width: 500px; justify-self: end; margin-top: 10px; }
  .sec { padding: 110px 0; }
  .veg-head { display: grid; grid-template-columns: 1fr; }
  .veg-body { grid-template-columns: 1.25fr 1fr .7fr; gap: 40px; align-items: start; }
  .veg-photo-2 { display: block; margin-top: 90px; }
  .veg-photo-2 img { aspect-ratio: 4 / 5; }
  .veg-photo { margin-top: 10px; }
  .pren-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
  .info-grid { grid-template-columns: 1fr 1.1fr; gap: 80px; }
  .faq-grid { grid-template-columns: .8fr 1.4fr; gap: 60px; }
  .action-bar { display: none; }
  .footer { padding-bottom: 50px; }
}
@media (min-width: 1200px) {
  .hero h1 { font-size: 7.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .slice { --p: 1 !important; }
  .js .plate-ring circle { stroke-dashoffset: 0; }
}
