/* Hinoki & Brine — portfolio concept (fictional restaurant)
   Restaurant-vertical floor format, executed up: lacquer charcoal + rice
   paper, vermillion as the single accent, Marcellus display over system
   sans, sharp corners, hairlines over shadows. Dark photo bands top and
   bottom, paper between — the floor's motif kept, tightened. */

:root {
  --ink: #12161a;
  --ink-2: #1a2127;
  --paper: #f5f0e8;
  --paper-deep: #ebe4d6;
  --salt: #f8f5ef;
  --salt-soft: #cfc9be;
  --ink-soft: #575249;
  --accent: #c8472f;
  --accent-deep: #9c3421;
  --hairline-d: rgba(248, 245, 239, 0.16);
  --hairline-l: #d9cfbd;
  --serif: "Marcellus", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 0.84, 0.24, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--paper);
  color: var(--ink);
  font: 16.5px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }

h1, h2, h3, h4, .btn { font-family: var(--serif); font-weight: 400; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Eyebrow + ornament ── */

.eyebrow {
  font: 600 11px/1.3 var(--sans);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}
.orn {
  width: 72px; height: 1px;
  background: var(--accent);
  position: relative;
  margin: 18px 0 26px;
}
.orn::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 7px; height: 7px;
  background: var(--accent);
  transform: translate(-50%, -50%) rotate(45deg);
}
.center .orn { margin-left: auto; margin-right: auto; }
.center { text-align: center; }

/* ── Buttons: sharp, one accent, color-swap hover only ── */

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 15px 28px;
  border: 1px solid var(--accent);
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease);
}
.btn:hover, .btn:focus-visible { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn.ghost { background: transparent; color: var(--salt); border-color: var(--hairline-d); }
.btn.ghost:hover, .btn.ghost:focus-visible { background: transparent; border-color: var(--accent); color: #fff; }
.btn.ghost-ink { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost-ink:hover, .btn.ghost-ink:focus-visible { background: var(--ink); color: var(--paper); }

/* ── Header: sticky, dark, order CTA persistent ── */

header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  border-bottom: 1px solid var(--hairline-d);
}
.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.nav .brand { margin-right: auto; text-decoration: none; display: flex; align-items: center; }
.nav .brand img { height: 40px; width: auto; }
.nav a.link {
  font: 600 11px/1 var(--sans);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--salt);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a.link:hover, .nav a.link[aria-current="page"] { border-bottom-color: var(--accent); }
.nav .phone {
  font: 600 13px/1 var(--sans);
  letter-spacing: 0.06em;
  color: var(--salt-soft);
  text-decoration: none;
}
.nav .phone:hover { color: #fff; }
.nav .btn { padding: 11px 20px; font-size: 14px; }
@media (max-width: 720px) {
  .nav { gap: 16px; }
  .nav .phone, .nav .link { display: none; }
  .nav .menu-toggle { display: block; }
}
@media (max-width: 600px) {
  .nav > .btn { display: none; }
}

/* ── Mobile menu button: three brine waves morph into a wavy X ── */

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--hairline-d);
  padding: 6px;
  cursor: pointer;
}
.menu-toggle:hover, .menu-toggle:focus-visible { border-color: var(--accent); }
.menu-toggle svg { display: block; width: 28px; height: 28px; }
.menu-toggle path {
  fill: none;
  stroke: var(--salt);
  stroke-width: 2.4;
  stroke-linecap: round;
  transform-origin: 50% 50%;
  transform-box: view-box;
  transition: transform 0.4s var(--ease), opacity 0.28s var(--ease);
}
.menu-toggle[aria-expanded="true"] .w-top { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .w-mid { transform: scaleX(0.1); opacity: 0; }
.menu-toggle[aria-expanded="true"] .w-bot { transform: translateY(-6px) rotate(-45deg); }

/* ── Mobile menu: ink-drop radial takeover from the button ── */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: radial-gradient(120% 120% at 100% 0%, var(--ink-2) 0%, var(--ink) 62%);
  clip-path: circle(0px at calc(100% - 45px) 42px);
  visibility: hidden;
  transition: clip-path 0.55s var(--ease), visibility 0s linear 0.55s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 34px 44px;
  overflow-y: auto;
}
html.menu-open .mobile-menu {
  clip-path: circle(150% at calc(100% - 45px) 42px);
  visibility: visible;
  transition: clip-path 0.6s var(--ease);
}
html.menu-open { overflow: hidden; }
.mobile-menu a.mm-link {
  font-family: var(--serif);
  font-size: clamp(30px, 9vw, 38px);
  line-height: 1.35;
  color: var(--salt);
  text-decoration: none;
  padding: 8px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.mobile-menu a.mm-link:hover, .mobile-menu a.mm-link[aria-current="page"] { color: var(--accent); }
html.menu-open .mobile-menu a.mm-link {
  opacity: 1;
  transform: none;
  transition-delay: calc(140ms + var(--i) * 60ms);
}
.mm-meta {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline-d);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
html.menu-open .mm-meta { opacity: 1; transition-delay: 460ms; }
.mm-meta a.tel {
  color: var(--salt-soft);
  text-decoration: none;
  font-size: 15.5px;
}
.mm-meta a.tel:hover { color: #fff; }
.mm-meta .open-pill { margin-top: 0; }
@media (prefers-reduced-motion: reduce) {
  .mobile-menu, .mobile-menu a.mm-link, .mm-meta, .menu-toggle path { transition: none !important; }
  .mobile-menu a.mm-link { opacity: 1; transform: none; }
}

/* ── Hero: full-bleed photo band ── */

.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  isolation: isolate;
}
.hero img.bg,
.band img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(18, 22, 26, 0.78) 0%, rgba(18, 22, 26, 0.25) 42%, rgba(18, 22, 26, 0.88) 100%);
}
.hero .wrap { padding-top: 140px; padding-bottom: 88px; color: var(--salt); }
.hero h1 {
  font-size: clamp(42px, 7vw, 84px);
  line-height: 1.08;
  color: #fff;
  max-width: 13ch;
  margin-top: 8px;
}
.hero .sub {
  max-width: 52ch;
  margin-top: 22px;
  color: var(--salt-soft);
  font-size: 17.5px;
}
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

.open-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  font: 600 12px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--salt-soft);
  border: 1px solid var(--hairline-d);
  padding: 9px 14px;
}
.open-pill .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--salt-soft);
}
.open-pill.open .dot { background: #58b06e; }
.open-pill.closed .dot { background: var(--accent); }

@media (max-width: 720px) {
  .hero .wrap { padding-top: 96px; padding-bottom: 60px; }
  .hero .ctas .btn { width: 100%; text-align: center; }
  .about-facts { gap: 24px; flex-wrap: wrap; }
  .loc { padding: 26px 22px; }
}

/* ── Sections on paper ── */

section.pad { padding: 96px 0; }
@media (max-width: 720px) { section.pad { padding: 64px 0; } }

h2.title { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.12; }

/* About: 50/50 */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-grid figure { position: relative; }
.about-grid img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.about-grid figure::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--hairline-l);
  z-index: -1;
}
.about-grid p + p { margin-top: 16px; }
.about-grid p { color: var(--ink-soft); }
.about-facts {
  display: flex;
  gap: 36px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline-l);
}
.about-facts b { display: block; font: 400 26px/1.2 var(--serif); color: var(--ink); }
.about-facts span { font: 600 10.5px/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ── Pricing cards on dark band ── */

.band {
  position: relative;
  background: var(--ink);
  color: var(--salt);
  isolation: isolate;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(18, 22, 26, 0.9);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 52px;
}
.card {
  background: var(--ink-2);
  border: 1px solid var(--hairline-d);
  display: flex;
  flex-direction: column;
}
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card .body { padding: 28px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 27px; color: #fff; }
.card .note { font-size: 13.5px; color: var(--salt-soft); margin-top: 4px; }
.price-list { list-style: none; margin: 20px 0 26px; flex: 1; }
.price-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--hairline-d);
  font-size: 15px;
  color: var(--salt);
}
.price-list li::after {
  content: "";
  order: 2;
  flex: 1;
  border-bottom: 1px dotted var(--hairline-d);
  transform: translateY(-3px);
}
.price-list .who { order: 1; }
.price-list .amt { order: 3; font-family: var(--serif); font-size: 17px; color: #fff; }
.card .btn { align-self: flex-start; }
.card .btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 980px) {
  .cards { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
}

/* ── Gallery: scroll-snap strip ── */

.gallery-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(320px, 72vw);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 52px 24px 12px;
  max-width: 1200px;
  margin: 0 auto;
  scrollbar-width: thin;
  scrollbar-color: var(--hairline-l) transparent;
}
.gallery-strip img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
  scroll-snap-align: center;
}

/* ── Ticker: CSS-only marquee between sections ── */

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--hairline-l);
  border-bottom: 1px solid var(--hairline-l);
  background: var(--paper-deep);
  padding: 14px 0;
}
.ticker-track {
  display: flex;
  gap: 52px;
  width: max-content;
  animation: tick 30s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span {
  font-family: var(--serif);
  font-size: 15.5px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: var(--ink-soft);
}
.ticker span::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  transform: rotate(45deg) translateY(-2px);
  margin-left: 52px;
}
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ── Footer typemark: huge, cropped at the baseline ── */

.typemark {
  margin-top: 72px;
  margin-bottom: -0.24em;
  text-align: center;
  overflow: hidden;
}
.typemark span {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: clamp(56px, 12.5vw, 190px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(248, 245, 239, 0.34);
  transition: color 0.6s var(--ease);
}
.typemark span:hover { color: var(--accent); }
@supports not (-webkit-text-stroke: 1px black) {
  .typemark span { color: rgba(248, 245, 239, 0.14); }
}

/* ── Visit: footer photo band ── */

.band.visit::after {
  background: linear-gradient(180deg, rgba(18, 22, 26, 0.92) 0%, rgba(18, 22, 26, 0.82) 100%);
}
.band.visit { overflow: hidden; }
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 52px;
}
.loc {
  border: 1px solid var(--hairline-d);
  padding: 34px 32px;
}
.loc h3 { font-size: 24px; color: #fff; }
.loc address { font-style: normal; color: var(--salt-soft); margin: 14px 0 4px; line-height: 1.7; }
.loc a.tel { color: var(--salt); text-decoration: none; }
.loc a.tel:hover { color: #fff; }
.loc .loc-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hours {
  width: 100%;
  border-collapse: collapse;
  margin-top: 22px;
  font-size: 14.5px;
}
.hours td {
  padding: 8px 0;
  border-bottom: 1px solid var(--hairline-d);
  color: var(--salt-soft);
}
.hours td:last-child { text-align: right; color: var(--salt); }
.hours tr.today td { color: #fff; }
.hours tr.today td:first-child::after {
  content: "· today";
  color: var(--accent);
  margin-left: 8px;
  font: 600 10.5px/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
@media (max-width: 860px) { .loc-grid { grid-template-columns: 1fr; } }

/* ── Footer bottom bar ── */

footer.site {
  background: var(--ink);
  border-top: 1px solid var(--hairline-d);
  color: var(--salt-soft);
}
footer.site .wrap {
  padding-top: 26px;
  padding-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
}
footer.site .concept { margin-left: auto; }
footer.site a { color: var(--salt); text-decoration: none; border-bottom: 1px solid var(--hairline-d); }
footer.site a:hover { border-bottom-color: var(--accent); }

/* ── Menu page ── */

.page-head {
  background: var(--ink);
  color: var(--salt);
  padding: 72px 0 56px;
}
.page-head h1 { font-size: clamp(38px, 5.5vw, 60px); color: #fff; margin-top: 8px; }
.menu-nav {
  position: sticky;
  top: 69px;
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--hairline-l);
}
.menu-nav .wrap {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  padding-top: 16px;
  padding-bottom: 16px;
}
.menu-nav a {
  font: 600 11px/1 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  white-space: nowrap;
}
.menu-nav a:hover { color: var(--accent); }
.menu-section { padding: 72px 0 8px; scroll-margin-top: 130px; }
.menu-section > .wrap > p.lede { color: var(--ink-soft); max-width: 62ch; margin-top: 10px; }
.ayce-badge {
  display: inline-block;
  font: 600 10.5px/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  border: 1px solid var(--accent);
  padding: 6px 10px;
  margin-top: 14px;
}
.dishes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 56px;
  margin-top: 38px;
  list-style: none;
}
.dishes li { padding: 13px 0; border-bottom: 1px solid var(--hairline-l); }
.dishes .row { display: flex; align-items: baseline; gap: 10px; }
.dishes .row::after {
  content: "";
  order: 2;
  flex: 1;
  border-bottom: 1px dotted var(--hairline-l);
  transform: translateY(-3px);
}
.dishes .name { order: 1; font-family: var(--serif); font-size: 17.5px; }
.dishes .price { order: 3; font-family: var(--serif); font-size: 16px; }
.dishes .desc { font-size: 13.5px; color: var(--ink-soft); margin-top: 3px; max-width: 46ch; }
@media (max-width: 780px) { .dishes { grid-template-columns: 1fr; } }

/* ── Reveal / split entrances (house rule: words wrap whole) ── */

.split .w {
  display: inline-block;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(0.55em);
}
.split.in .w {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(var(--wi) * 55ms);
}
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .split .w, .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
