/* Il Piatto — rustic trattoria */
:root{
  --tomato:#B3402A;
  --tomato-dark:#8E3120;
  --cream:#FAF4E8;
  --cream-2:#F3EAD8;
  --wood:#3A2A20;
  --wood-soft:#5C4A3A;
  --olive:#6B7A3A;
  --gold:#D9A441;
  --white:#FFFDF8;
  --serif:'Cormorant Garamond',Georgia,serif;
  --sans:'Source Sans 3','Segoe UI',sans-serif;
  --shadow:0 10px 30px rgba(58,42,32,.12);
  --radius:14px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:var(--sans);
  background:var(--cream);
  color:var(--wood);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit}
.wrap{max-width:1140px;margin:0 auto;padding:0 24px}
.center{text-align:center}

/* CJK font fallbacks */
html[lang="zh-CN"] body,
html[lang="zh-CN"] .btn,
html[lang="zh-CN"] input{
  font-family:'Source Sans 3','PingFang SC','Hiragino Sans GB','Microsoft YaHei','Noto Sans SC',sans-serif;
}
html[lang="zh-CN"] h1,html[lang="zh-CN"] h2,html[lang="zh-CN"] h3,
html[lang="zh-CN"] .logo,html[lang="zh-CN"] .footer-logo{
  font-family:'Cormorant Garamond','Songti SC','STSong','Noto Serif SC',serif;
}
html[lang="ja"] body,
html[lang="ja"] .btn{
  font-family:'Source Sans 3','Hiragino Kaku Gothic ProN','Yu Gothic','Noto Sans JP',sans-serif;
}
html[lang="ja"] h1,html[lang="ja"] h2,html[lang="ja"] h3,
html[lang="ja"] .logo,html[lang="ja"] .footer-logo{
  font-family:'Cormorant Garamond','Hiragino Mincho ProN','Yu Mincho','Noto Serif JP',serif;
}
html[lang="zh-CN"] .eyebrow,html[lang="ja"] .eyebrow{letter-spacing:.12em}

/* ---------- header ---------- */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:50;
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 28px;
  background:rgba(250,244,232,.94);
  backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(58,42,32,.1);
}
.logo{
  font-family:var(--serif);font-style:italic;font-weight:600;
  font-size:1.7rem;color:var(--tomato);text-decoration:none;
}
.nav-links{display:flex;gap:30px}
.nav-links a{
  text-decoration:none;font-weight:600;font-size:.95rem;
  color:var(--wood-soft);letter-spacing:.02em;
}
.nav-links a:hover{color:var(--tomato)}
.nav-right{display:flex;align-items:center;gap:14px}
.lang-switch{display:flex;gap:4px;background:rgba(58,42,32,.07);border-radius:999px;padding:3px}
.lang-btn{
  border:0;background:transparent;cursor:pointer;
  font-family:var(--sans);font-size:.78rem;font-weight:700;
  padding:5px 11px;border-radius:999px;color:var(--wood-soft);
}
.lang-btn.active{background:var(--tomato);color:#fff}
.phone-cta{
  text-decoration:none;font-weight:700;font-size:.9rem;
  color:#fff;background:var(--wood);padding:9px 18px;border-radius:999px;
}
.phone-cta:hover{background:var(--tomato)}
.hamburger{display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:6px}
.hamburger span{width:24px;height:2.5px;background:var(--wood);border-radius:2px}
.mobile-nav{
  display:none;position:fixed;top:64px;left:0;right:0;z-index:49;
  background:var(--cream);border-bottom:1px solid rgba(58,42,32,.12);
  padding:18px 24px 22px;flex-direction:column;gap:6px;
}
.mobile-nav.open{display:flex}
.mobile-nav a{text-decoration:none;font-weight:600;padding:10px 4px;border-bottom:1px solid rgba(58,42,32,.08)}
.mobile-nav .mobile-call{color:var(--tomato);border:0}
.mobile-nav .lang-switch{align-self:flex-start;margin-top:10px}

/* ---------- hero ---------- */
.hero{position:relative;min-height:92vh;display:flex;align-items:flex-end;color:#fff;margin-top:64px}
.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(30,18,12,.25) 0%,rgba(30,18,12,.05) 40%,rgba(30,18,12,.78) 100%)}
.hero-inner{position:relative;z-index:1;max-width:1140px;margin:0 auto;padding:80px 24px 70px;width:100%}
.eyebrow{
  text-transform:uppercase;letter-spacing:.22em;font-size:.78rem;font-weight:700;
  color:var(--tomato);margin-bottom:14px;
}
.eyebrow.light{color:var(--gold)}
.hero h1{
  font-family:var(--serif);font-weight:600;
  font-size:clamp(2.6rem,6vw,4.6rem);line-height:1.05;margin-bottom:18px;
}
.hero h1 em{font-style:italic;color:var(--gold)}
.hero .lede{max-width:620px;font-size:1.12rem;opacity:.94;margin-bottom:28px}
.hero-ctas{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:26px}
.btn{
  display:inline-block;text-decoration:none;font-weight:700;
  padding:13px 30px;border-radius:999px;font-size:1rem;
  transition:transform .15s ease,background .15s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:var(--tomato);color:#fff}
.btn-primary:hover{background:var(--tomato-dark)}
.btn-ghost{border:2px solid rgba(255,255,255,.85);color:#fff}
.btn-ghost:hover{background:rgba(255,255,255,.14)}
.badges{display:flex;gap:10px;flex-wrap:wrap}
.badge{
  font-size:.85rem;font-weight:600;
  background:rgba(0,0,0,.42);border:1px solid rgba(255,255,255,.25);
  padding:7px 15px;border-radius:999px;backdrop-filter:blur(4px);
}

/* ---------- sections ---------- */
.section{padding:96px 0}
.section h2{
  font-family:var(--serif);font-weight:600;
  font-size:clamp(2rem,4vw,3rem);line-height:1.12;margin-bottom:16px;
}
.section h2 em{font-style:italic;color:var(--tomato)}
.section-lede{max-width:640px;margin:0 auto 44px;color:var(--wood-soft);font-size:1.08rem}

/* story */
.story{background:var(--white)}
.story-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:60px;align-items:center}
.story-text p{color:var(--wood-soft);margin-bottom:24px;font-size:1.06rem}
.chips{list-style:none;display:flex;flex-wrap:wrap;gap:10px}
.chips li{
  font-size:.88rem;font-weight:600;color:var(--olive);
  border:1.5px solid var(--olive);border-radius:999px;padding:6px 16px;
}
.story-fig img{border-radius:var(--radius);box-shadow:var(--shadow);width:100%;height:420px;object-fit:cover}

/* menu */
.menu-sec{background:var(--cream)}
.dish-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-bottom:30px}
.dish-card{
  background:var(--white);border-radius:var(--radius);overflow:hidden;
  box-shadow:var(--shadow);display:flex;flex-direction:column;
  transition:transform .18s ease;
}
.dish-card:hover{transform:translateY(-5px)}
.dish-card img{width:100%;height:190px;object-fit:cover}
.dish-body{padding:20px 20px 24px;flex:1}
.dish-body h3{font-family:var(--serif);font-size:1.35rem;font-weight:600;margin-bottom:8px}
.dish-body p{font-size:.94rem;color:var(--wood-soft)}
.menu-note{color:var(--wood-soft);font-style:italic}

/* reviews */
.reviews{background:var(--wood);color:var(--cream)}
.reviews .eyebrow{color:var(--gold)}
.reviews h2 em{color:var(--gold)}
.review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:44px}
.review-card{
  background:rgba(255,255,255,.06);border:1px solid rgba(217,164,65,.35);
  border-radius:var(--radius);padding:28px 26px;
  display:flex;flex-direction:column;gap:16px;
}
.review-card p{font-family:var(--serif);font-size:1.18rem;font-style:italic;line-height:1.5}
.review-card cite{font-style:normal;font-size:.88rem;color:var(--gold);font-weight:600}

/* visit */
.visit{background:var(--cream-2)}
.visit-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:60px;align-items:center}
.visit-fig img{border-radius:var(--radius);box-shadow:var(--shadow);width:100%;height:460px;object-fit:cover}
.visit-list{margin:26px 0}
.visit-list>div{
  display:grid;grid-template-columns:110px 1fr;gap:14px;
  padding:13px 0;border-bottom:1px solid rgba(58,42,32,.12);
}
.visit-list dt{font-weight:700;color:var(--tomato);font-size:.92rem;text-transform:uppercase;letter-spacing:.06em}
.visit-list dd{color:var(--wood)}
.visit-list a{color:var(--tomato);font-weight:600;text-decoration:none}
.takeaway{
  background:rgba(107,122,58,.12);border-left:4px solid var(--olive);
  padding:12px 18px;border-radius:0 10px 10px 0;margin-bottom:26px;
  color:var(--wood-soft);font-size:.98rem;
}

/* footer */
.site-footer{background:var(--wood);color:rgba(250,244,232,.85);padding:52px 0;text-align:center}
.footer-logo{font-family:var(--serif);font-style:italic;font-size:1.8rem;color:var(--gold);margin-bottom:8px}
.footer-note{font-size:.82rem;opacity:.6;margin-top:10px}

/* ---------- responsive ---------- */
@media(max-width:1024px){
  .dish-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:900px){
  .nav-links,.phone-cta{display:none}
  .hamburger{display:flex}
  .nav-right .lang-switch{display:none}
  .story-grid,.visit-grid{grid-template-columns:1fr;gap:36px}
  .story-fig img{height:320px}
  .visit-fig img{height:340px}
  .review-grid{grid-template-columns:1fr}
  .section{padding:72px 0}
}
@media(max-width:560px){
  .dish-grid{grid-template-columns:1fr}
  .hero{min-height:88vh}
  .visit-list>div{grid-template-columns:1fr;gap:4px}
}
