/* Tuscita — 2026 redesign. Mobile first: phone call, closure notices and menus within one thumb's reach. */
:root {
  --paper: #fbf8f2;
  --cream: #f3ece0;
  --ink: #2a2420;
  --text: #4a423b;
  --muted: #8a7f73;
  --line: #e4dccf;
  --gold: #b8924a;
  --gold-deep: #96753a;
  --espresso: #1e1915;
  --espresso-2: #2b241e;
  --on-dark: #efe7da;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --jp: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --wrap: 1120px;
  --radius: 14px;
  --header: 60px;
  --bar: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 14px/1.8 var(--jp); letter-spacing: .02em;
  overflow-wrap: anywhere;
  padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom));
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; }
/* Phrase-aware breaking only for short text; long paragraphs wrap normally (iOS Safari leaves ragged gaps otherwise). */
h1, h2, h3, .eyebrow, .notice-body, .menu-list .ja, .news-list .title, .hours-list dd, .address { word-break: auto-phrase; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(251, 248, 242, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header); }
.brand img { height: 34px; width: auto; mix-blend-mode: multiply; }
.site-nav { display: none; gap: 28px; margin-left: auto; }
.site-nav a { font: 500 16px/1 var(--serif); letter-spacing: .08em; text-decoration: none; color: var(--ink); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold-deep); }

/* hero: native horizontal swipe with scroll snapping */
.hero { position: relative; background: var(--espresso); color: #fff; }
.hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 4 / 3; max-height: 62svh; position: relative; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; pointer-events: none; background: linear-gradient(180deg, rgba(20, 16, 13, 0), rgba(20, 16, 13, .45)); }
.hero-dots { position: absolute; bottom: 38px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.hero-dots button { width: 24px; height: 3px; padding: 0; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .4); cursor: pointer; }
.hero-dots button[aria-current="true"] { background: #fff; }

/* latest notice */
.notice { display: flex; align-items: center; gap: 12px; margin-top: -22px; position: relative; z-index: 5; background: #fff; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(42, 36, 32, .12); padding: 12px 16px; text-decoration: none; color: var(--ink); max-width: calc(var(--wrap) - 40px); width: calc(100% - 32px); }
.notice-label { flex: 0 0 auto; font-size: 10px; font-weight: 700; letter-spacing: .12em; color: #fff; background: var(--gold); border-radius: 999px; padding: 2px 8px; }
.notice-body { flex: 1; font-size: 13px; font-weight: 500; line-height: 1.5; }
.notice-body time { display: block; font-size: 11px; color: var(--muted); font-weight: 400; }
.notice svg { flex: 0 0 auto; color: var(--gold-deep); }

/* sections */
.section { padding: 56px 0; }
.section-head { margin-bottom: 20px; }
.eyebrow { margin: 0; font: italic 500 28px/1.1 var(--serif); letter-spacing: .04em; color: var(--ink); }
.section-head h2, .page-head h1 { font: 500 11px/1.4 var(--jp); letter-spacing: .24em; color: var(--gold-deep); margin-top: 6px; }
.note { font-size: 12px; color: var(--muted); margin: 18px 0 0; }
.more { margin: 24px 0 0; }
.more a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

/* menu: a typographic list, each row opens the PDF */
.menu-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.menu-list a { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "en go" "ja go"; align-items: center; gap: 0 16px; padding: 14px 2px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.menu-list .en { grid-area: en; font: 500 22px/1.2 var(--serif); letter-spacing: .03em; transition: color .2s; }
.menu-list .ja { grid-area: ja; font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.menu-list .go { grid-area: go; display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; letter-spacing: .1em; border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; transition: background .2s, color .2s, border-color .2s; }
.menu-list a:hover .en { color: var(--gold-deep); }
.menu-list a:hover .go { background: var(--ink); color: #fff; border-color: var(--ink); }

/* hours (dark) */
.hours { background: var(--espresso); color: var(--on-dark); }
.hours .eyebrow { color: #fff; }
.hours .section-head h2 { color: var(--gold); }
.hours-list { margin: 0; display: grid; gap: 14px; }
.hours-list div { border-top: 1px solid rgba(239, 231, 218, .18); padding-top: 12px; }
.hours-list dt { font-size: 11px; letter-spacing: .14em; color: var(--gold); margin-bottom: 6px; }
.hours-list dd { margin: 0; font-size: 15px; line-height: 1.7; color: #fff; font-feature-settings: "palt"; }
.hours-news { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(239, 231, 218, .18); color: #fff; text-decoration: none; font-size: 13px; font-weight: 500; }
.hours-news span { flex-basis: 100%; font-size: 11px; letter-spacing: .14em; color: var(--gold); font-weight: 400; }
.hours-news svg { color: var(--gold); }
.reserve { margin-top: 24px; padding: 18px; border-radius: var(--radius); background: var(--espresso-2); text-align: center; }
.reserve p { margin: 0 0 12px; font-size: 12px; }
.btn-call { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 24px; border-radius: 999px; background: var(--gold); color: #fff; text-decoration: none; font-size: 15px; font-weight: 700; letter-spacing: .06em; width: 100%; max-width: 300px; }
.btn-call:hover { background: var(--gold-deep); }

/* news */
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news-list a { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.news-list .thumb { flex: 0 0 56px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--cream) url("/wp-content/uploads/2016/04/tuscita_favicon.png") center / 28px no-repeat; }
.news-list .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-list time { display: block; font-size: 11px; color: var(--muted); letter-spacing: .06em; }
.news-list .title { display: block; font-size: 13px; font-weight: 500; line-height: 1.55; }
.news-list .excerpt { display: none; font-size: 12px; color: var(--muted); margin-top: 4px; }
.news-list a:hover .title { color: var(--gold-deep); }

/* instagram */
.insta { padding-top: 0; }
.insta-inner { border-top: 1px solid var(--line); padding-top: 48px; }
.insta-text { margin: 0 0 14px; font-size: 13px; color: var(--text); }
.insta-link { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--ink); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 13px; font-weight: 500; letter-spacing: .04em; transition: background .2s, color .2s; }
.insta-link:hover { background: var(--ink); color: #fff; }

/* access */
.access { background: var(--cream); }
.storefront { border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.access-info { margin-top: 20px; }
.address { font-size: 14px; font-weight: 500; color: var(--ink); margin: 0 0 12px; }
.access-actions { display: grid; gap: 8px; }
.btn-line { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-decoration: none; color: var(--ink); font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
.btn-line svg { flex: 0 0 auto; color: var(--gold-deep); }
.map { margin-top: 20px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* sub pages */
.page { padding: 40px 0 72px; }
.page-head { margin-bottom: 24px; }
.news-list.wide .thumb { flex-basis: 88px; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; font-size: 12px; }
.pager a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); background: #fff; }
.pager .count { color: var(--muted); font-family: var(--serif); font-size: 15px; }
.pager .next { margin-left: auto; }
.article { max-width: 760px; }
.crumbs { margin: 0 0 14px; font-size: 12px; }
.crumbs a { color: var(--gold-deep); text-decoration: none; }
.crumbs a::before { content: "← "; }
.article time { font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.article h1 { font: 700 clamp(18px, 4.6vw, 24px)/1.5 var(--jp); margin: 4px 0 20px; }
.eyecatch { margin: 0 0 28px; }
.eyecatch img { border-radius: var(--radius); margin: 0 auto; max-height: 70svh; width: auto; }
.prose { font-size: 14px; line-height: 2; color: var(--text); }
.prose p { margin: 0 0 1em; }
.prose img { border-radius: 10px; margin: 1em auto; }
.prose a { color: var(--gold-deep); overflow-wrap: anywhere; }
.article-call { margin: 32px 0 0; padding: 18px; border-radius: var(--radius); background: var(--cream); text-align: center; }
.article-call p { margin: 0 0 10px; font-size: 12px; font-weight: 500; }
.neighbors { display: grid; gap: 12px; margin-top: 32px; }
.neighbors a { display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); background: #fff; font-size: 13px; font-weight: 500; line-height: 1.5; }
.neighbors span { display: block; font-size: 11px; color: var(--muted); font-weight: 400; }

/* footer */
.site-footer { background: var(--espresso); color: var(--on-dark); padding: 44px 0 28px; font-size: 12px; }
.footer-inner { display: grid; gap: 18px; justify-items: center; text-align: center; }
.footer-logo { width: 104px; opacity: .9; }
.footer-info p { margin: 0; }
.footer-info a { color: var(--on-dark); }
.social { display: flex; gap: 18px; margin: 0; }
.social a { color: var(--on-dark); display: inline-flex; }
.social a:hover { color: var(--gold); }
.copy { margin: 6px 0 0; color: #8f8478; font-size: 11px; }

/* bottom action bar (phones) */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(251, 248, 242, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 46px; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: 10px; font-weight: 500; }
.action-bar a.primary { flex-direction: row; gap: 6px; background: var(--gold); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em; }

/* tablet & desktop */
@media (min-width: 760px) {
  :root { --header: 76px; }
  body { font-size: 15px; padding-bottom: 0; }
  .action-bar { display: none; }
  .brand img { height: 42px; }
  .site-nav { display: flex; }
  .hero-slide { aspect-ratio: auto; height: min(62vh, 560px); max-height: none; }
  .hero-dots { bottom: 52px; }
  .notice { margin: -30px auto 0; padding: 14px 20px; }
  .section { padding: 88px 0; }
  .eyebrow { font-size: 34px; }
  .menu-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; border-top: 0; }
  .menu-list li { border-top: 1px solid var(--ink); }
  .menu-list a { padding: 18px 2px; }
  .menu-list .en { font-size: 26px; }
  .hours-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; align-items: start; }
  .hours-inner .section-head { grid-column: 1 / -1; }
  .hours-news { grid-column: 1; }
  .reserve { grid-column: 2; grid-row: 2 / span 2; margin-top: 0; padding: 28px 24px; }
  .news-list .excerpt { display: block; }
  .news-list .thumb { flex-basis: 72px; }
  .news-list.wide .thumb { flex-basis: 112px; aspect-ratio: 4 / 3; }
  .insta-inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 40px; padding-top: 64px; }
  .insta-inner .section-head { grid-column: 1 / -1; }
  .insta-text { margin: 0; }
  .access-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; }
  .access-inner .section-head { grid-column: 1 / -1; margin-bottom: 4px; }
  .access-info { margin-top: 0; }
  .map { grid-column: 1 / -1; aspect-ratio: 21 / 8; margin-top: 0; }
  .neighbors { grid-template-columns: 1fr 1fr; }
  .neighbors .older { grid-column: 2; text-align: right; }
  .footer-inner { grid-template-columns: auto 1fr auto; text-align: left; justify-items: start; align-items: center; gap: 24px 40px; }
  .copy { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
