/* =========================================================================
   Sowelu — site stylesheet
   Pure HTML/CSS/JS marketing site. Tokens live in :root; components below.
   ========================================================================= */

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700;900&display=swap");

:root {
  /* Color tokens (mirrored from /colors_and_type.css) */
  --shu:        #D85A1E;
  --shu-deep:   #B8460F;
  --akane:      #8E2F0A;
  --hiwa:       #F2A06E;
  --hiwa-pale:  #F8D6BB;
  --sora:       #6B9FBF;
  --konjo:      #3F5D78;
  --mizu-pale:  #E5EEF3;
  --shironeri:  #FFFFFF;
  --kinari:     #FAF8F4;
  --kinari-2:   #EFEAE0;
  --sumi:       #1F2024;
  --sumi-2:     #3A3B40;
  --sumi-3:     #6B6C71;
  --sumi-4:     #A6A4A0;
  --line:       rgba(31, 32, 36, 0.14);
  --line-2:     rgba(31, 32, 36, 0.08);

  --bg:         var(--kinari);
  --bg-raised:  var(--shironeri);
  --fg:         var(--sumi);
  --fg-2:       var(--sumi-2);
  --fg-muted:   var(--sumi-3);
  --accent:     var(--shu);

  /* Type */
  --font-sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;

  /* Spacing */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px;
  --sp-6: 24px; --sp-8: 32px; --sp-10: 40px; --sp-12: 48px;
  --sp-16: 64px; --sp-20: 80px; --sp-24: 96px; --sp-32: 128px;

  --r-2: 4px; --r-3: 8px; --r-4: 12px; --r-pill: 999px;

  --shadow-1: 0 1px 0 rgba(31,32,36,0.04), 0 1px 2px rgba(31,32,36,0.05);
  --shadow-2: 0 2px 4px rgba(31,32,36,0.06), 0 8px 20px rgba(31,32,36,0.06);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-base: 220ms;

  --maxw: 1180px;
  --maxw-narrow: 880px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
a { color: var(--accent); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--shu-deep); }
::selection { background: var(--hiwa); color: var(--sumi); }
h1, h2, h3, h4, p { margin: 0; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--sp-6); }
.container-narrow { max-width: var(--maxw-narrow); margin: 0 auto; padding: 0 var(--sp-6); }

/* ---------- typography helpers ---------- */
.eyebrow {
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--accent);
}
.kicker { font-size: 13px; color: var(--fg-muted); letter-spacing: 0.04em; }
.h-display { font-weight: 900; font-size: clamp(40px, 6vw, 80px); line-height: 1.12; letter-spacing: -0.01em; }
.h1 { font-weight: 700; font-size: clamp(32px, 4vw, 48px); line-height: 1.2; letter-spacing: -0.005em; }
.h2 { font-weight: 600; font-size: clamp(24px, 3vw, 32px); line-height: 1.28; }
.h3 { font-weight: 600; font-size: 18px; line-height: 1.4; }
.lede { font-size: 17px; line-height: 1.85; color: var(--fg-2); max-width: 56ch; }
.numeric { font-feature-settings: "tnum" 1, "lnum" 1; letter-spacing: 0.02em; }

/* =========================================================================
   header / nav
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, 0.88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.site-brand { display: flex; align-items: center; gap: 12px; color: var(--sumi); }
.site-brand img { width: 36px; height: 36px; }
.site-brand .brand-name {
  font-weight: 700; font-size: 19px; letter-spacing: 0.02em; color: var(--akane);
}
.site-brand .brand-sub {
  font-size: 10px; letter-spacing: 0.24em; color: var(--fg-muted);
  text-transform: uppercase;
}
.site-nav { display: flex; align-items: center; gap: var(--sp-8); }
.site-nav a {
  color: var(--fg); font-size: 14px; font-weight: 500;
  letter-spacing: 0.06em; padding: 6px 0; position: relative;
  transition: color var(--dur-base) var(--ease-out);
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 1px; background: var(--accent);
  transition: right var(--dur-base) var(--ease-out);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.site-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border: 1px solid var(--sumi);
  color: var(--sumi); font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  border-radius: var(--r-2);
  white-space: nowrap; flex-shrink: 0;
  transition: all var(--dur-base) var(--ease-out);
}
.site-cta > span { white-space: nowrap; flex-shrink: 0; }
.site-cta:hover { background: var(--sumi); color: var(--shironeri); }
.site-cta .num { font-feature-settings: "tnum" 1, "lnum" 1; }
.menu-toggle {
  display: none; width: 40px; height: 40px; align-items: center; justify-content: center;
}
.menu-toggle span {
  display: block; width: 22px; height: 1.5px; background: var(--sumi);
  position: relative; transition: transform var(--dur-base) var(--ease-out);
}
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--sumi);
  transition: transform var(--dur-base) var(--ease-out);
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .site-nav, .site-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-nav.is-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line-2);
    padding: var(--sp-6); gap: var(--sp-4);
  }
  .site-nav.is-open a { font-size: 16px; padding: 10px 0; }
  .site-cta.is-open { display: inline-flex; margin-top: var(--sp-2); align-self: flex-start; }
}

/* =========================================================================
   hero (home)
   ========================================================================= */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(72px, 12vw, 128px) 0 clamp(80px, 14vw, 144px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("../assets/interior-chair.jpg");
  background-size: cover; background-position: center 50%;
  z-index: 0;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.78) 38%, rgba(255,255,255,0.05) 70%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, transparent 60%, var(--kinari) 100%);
  z-index: 1;
}
.hero__inner { position: relative; z-index: 2; }
.hero__eyebrow { margin-bottom: 20px; }
.hero__title {
  font-weight: 900; font-size: clamp(44px, 7.4vw, 96px); line-height: 1.05;
  letter-spacing: -0.015em; color: var(--sumi);
  max-width: 14ch;
}
.hero__title .accent { color: var(--shu); }
.hero__lede { margin-top: 28px; max-width: 46ch; font-size: 17px; color: var(--fg-2); }
.hero__meta {
  margin-top: 44px; display: flex; flex-wrap: wrap; gap: var(--sp-8);
  font-size: 13px; color: var(--fg-muted);
  border-top: 1px solid var(--line); padding-top: var(--sp-6); max-width: 580px;
}
.hero__meta dt { font-size: 10px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--accent); margin-bottom: 4px; }
.hero__meta dd { margin: 0; color: var(--fg); font-weight: 500; }

/* =========================================================================
   section scaffolding
   ========================================================================= */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section--raised { background: var(--shironeri); }
.section--deep { background: var(--konjo); color: var(--shironeri); }
.section--deep .eyebrow { color: var(--hiwa); }
.section--deep .h1, .section--deep .h2, .section--deep .h3 { color: var(--shironeri); }
.section--deep .lede { color: rgba(255,255,255,0.78); }

.section-head { margin-bottom: var(--sp-12); max-width: 720px; }
.section-head .eyebrow { display: inline-block; margin-bottom: 14px; }
.section-head .h1 { margin-bottom: 18px; }

/* concept grid (Home) */
.concept-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
}
.concept-card {
  padding: var(--sp-8); background: var(--bg-raised);
  border: 1px solid var(--line-2); border-radius: var(--r-3);
  display: flex; flex-direction: column; gap: var(--sp-4);
}
.concept-card .num {
  font-size: 11px; letter-spacing: 0.22em; color: var(--accent);
  font-weight: 500;
}
.concept-card h3 { font-size: 20px; font-weight: 700; line-height: 1.32; }
.concept-card p { font-size: 14px; color: var(--fg-muted); line-height: 1.85; }
@media (max-width: 760px) { .concept-grid { grid-template-columns: 1fr; gap: var(--sp-4); } }

/* split media row */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px); align-items: center;
}
.split img { border-radius: var(--r-3); aspect-ratio: 4/5; object-fit: cover; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

/* =========================================================================
   menu page
   ========================================================================= */
.menu-list { display: flex; flex-direction: column; gap: 0; }
.menu-item {
  display: grid; grid-template-columns: 1fr auto;
  align-items: baseline; gap: var(--sp-6);
  padding: var(--sp-6) 0;
  border-bottom: 1px solid var(--line-2);
}
.menu-item:last-child { border-bottom: 0; }
.menu-item__name {
  font-size: 19px; font-weight: 600; color: var(--sumi); letter-spacing: 0.02em;
}
.menu-item__desc { font-size: 13px; color: var(--fg-muted); margin-top: 4px; line-height: 1.7; }
.menu-item__price {
  font-size: 19px; font-weight: 500;
  font-feature-settings: "tnum" 1, "lnum" 1; color: var(--sumi);
  letter-spacing: 0.04em; white-space: nowrap;
}
.menu-item__price .yen { color: var(--fg-muted); font-size: 13px; margin-left: 2px; }
.menu-item__price .from { color: var(--fg-muted); font-size: 11px; margin-right: 4px; letter-spacing: 0.22em; }

.menu-group { margin-bottom: var(--sp-16); }
.menu-group__title {
  display: flex; align-items: baseline; justify-content: space-between;
  border-bottom: 1px solid var(--sumi); padding-bottom: var(--sp-3); margin-bottom: var(--sp-4);
}
.menu-group__title h2 { font-size: 22px; font-weight: 700; letter-spacing: 0.04em; }
.menu-group__title .badge {
  font-size: 10px; letter-spacing: 0.22em; color: var(--accent);
  text-transform: uppercase;
}

.menu-note {
  margin-top: var(--sp-12); padding: var(--sp-6);
  background: var(--mizu-pale); border-radius: var(--r-3);
  font-size: 13px; line-height: 1.85; color: var(--fg-2);
}

/* =========================================================================
   about page
   ========================================================================= */
.about-lede {
  font-size: clamp(22px, 2.4vw, 28px); line-height: 1.7; color: var(--sumi);
  max-width: 28ch; font-weight: 500; letter-spacing: 0.02em;
}
.about-body p { font-size: 15px; line-height: 1.95; color: var(--fg-2); margin-bottom: var(--sp-5); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); }
.pillar { padding: var(--sp-6) 0; border-top: 2px solid var(--sumi); }
.pillar__num { font-size: 11px; letter-spacing: 0.22em; color: var(--accent); font-weight: 500; }
.pillar__title { font-size: 22px; font-weight: 700; margin-top: 12px; line-height: 1.3; }
.pillar__body { font-size: 13px; color: var(--fg-muted); line-height: 1.8; margin-top: 12px; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; gap: var(--sp-4); } }

/* =========================================================================
   access page
   ========================================================================= */
.access-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-12);
}
@media (max-width: 760px) { .access-grid { grid-template-columns: 1fr; } }
.info-list dt {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--accent);
  margin-top: var(--sp-6);
}
.info-list dt:first-of-type { margin-top: 0; }
.info-list dd {
  margin: 6px 0 0; font-size: 16px; color: var(--sumi); font-weight: 500;
  line-height: 1.7; letter-spacing: 0.02em;
}
.info-list dd .sub { color: var(--fg-muted); font-weight: 400; font-size: 13px; }
.tel-big {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-size: clamp(28px, 4vw, 40px); font-weight: 700; color: var(--sumi);
  font-feature-settings: "tnum" 1, "lnum" 1; letter-spacing: 0.04em;
  margin-top: 4px;
}
.tel-big .label { font-size: 11px; letter-spacing: 0.22em; color: var(--accent); }
.map-frame {
  width: 100%; aspect-ratio: 4/5; border: 0; border-radius: var(--r-3);
  background: var(--mizu-pale);
}

/* hours table */
.hours { width: 100%; border-collapse: collapse; margin-top: var(--sp-3); }
.hours td {
  padding: 12px 0; border-bottom: 1px solid var(--line-2);
  font-size: 14px; vertical-align: top;
}
.hours td:first-child { color: var(--fg-muted); width: 40%; letter-spacing: 0.04em; }
.hours td:last-child  { color: var(--sumi); font-weight: 500; }
.hours .closed { color: var(--shu); font-weight: 600; }

/* =========================================================================
   footer
   ========================================================================= */
.site-footer {
  background: var(--sumi); color: rgba(255,255,255,0.72);
  padding: var(--sp-16) 0 var(--sp-8); margin-top: var(--sp-12);
}
.site-footer .site-brand { color: var(--shironeri); }
.site-footer .site-brand .brand-name { color: var(--shironeri); }
.site-footer .site-brand .brand-sub { color: rgba(255,255,255,0.5); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-10); margin-bottom: var(--sp-12);
}
.footer-col h4 {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--hiwa); margin-bottom: var(--sp-4); font-weight: 500;
}
.footer-col a, .footer-col li {
  color: rgba(255,255,255,0.72); font-size: 14px; line-height: 2;
}
.footer-col a:hover { color: var(--hiwa); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-meta {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: var(--sp-5);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-4);
  font-size: 12px; color: rgba(255,255,255,0.5);
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
}

/* =========================================================================
   utilities
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: var(--r-2);
  background: var(--shu); color: var(--shironeri);
  font-size: 14px; font-weight: 600; letter-spacing: 0.06em;
  transition: background var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.btn:hover { background: var(--shu-deep); color: var(--shironeri); }
.btn:active { transform: translateY(1px); }
.btn--ghost {
  background: transparent; color: var(--sumi);
  border: 1px solid var(--sumi);
}
.btn--ghost:hover { background: var(--sumi); color: var(--shironeri); }
.arrow { display: inline-block; transition: transform var(--dur-base) var(--ease-out); }
.btn:hover .arrow, a:hover .arrow { transform: translateX(3px); }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 0.06em; font-weight: 500;
  color: var(--sumi); border-bottom: 1px solid var(--sumi);
  padding-bottom: 2px;
}
.text-link:hover { color: var(--accent); border-color: var(--accent); }

.fadein { opacity: 0; transform: translateY(12px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.fadein.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
