/* ============================================================
   鮨 一心 — Sushi Isshin, Ginza
   漆黒とヒノキ。Lacquer-black stillness.
   ============================================================ */

:root {
  --shikkoku: #0D0B09;   /* 漆黒 — lacquer black */
  --shikkoku-2: #14110E; /* 漆黒（面） slightly lifted panel */
  --shiraki: #E8DCC4;    /* 白木 — pale hinoki */
  --nibiiro: #6E6A62;    /* 鈍色 — dull steel grey */
  --shu: #9E2B25;        /* 朱 — vermilion, hanko only */
  --kin: #C7A94F;        /* 金 — gold hairlines */
  --body: #C6BDAC;       /* readable warm grey on black (AA) */
  --hairline: rgba(199, 169, 79, 0.22);
  --hairline-soft: rgba(232, 220, 196, 0.08);
  --font-min: "Zen Old Mincho", serif;
  --font-go: "Noto Sans JP", sans-serif;
  --ease-quiet: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
}
html.no-lenis { scroll-behavior: smooth; }

body {
  background: var(--shikkoku);
  color: var(--body);
  font-family: var(--font-go);
  font-weight: 300;
  font-size: 15px;
  line-height: 2.05;
  letter-spacing: 0.06em;
  overflow-x: hidden;
  font-feature-settings: "palt" 0;
}

::selection { background: var(--shu); color: var(--shiraki); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

:focus-visible {
  outline: 1px solid var(--kin);
  outline-offset: 4px;
}

/* ---------- textures: grain + hairline grid ---------- */

.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 60;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 9s steps(6) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0,0); } 20% { transform: translate(-2%,1%); }
  40% { transform: translate(1%,-2%); } 60% { transform: translate(-1%,2%); }
  80% { transform: translate(2%,-1%); } 100% { transform: translate(0,0); }
}

.grid-lines {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 clamp(20px, 5vw, 72px);
}
.grid-lines span { border-left: 1px solid rgba(232,220,196,0.045); }
.grid-lines span:last-child { border-right: 1px solid rgba(232,220,196,0.045); }

/* ---------- header ---------- */

.site-head {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 72px);
  mix-blend-mode: normal;
  transition: transform 0.5s var(--ease-quiet);
}
.head-brand {
  font-family: var(--font-min);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.34em;
  color: var(--shiraki);
}
.head-brand .head-en {
  display: block;
  font-family: var(--font-go);
  font-size: 8px;
  letter-spacing: 0.42em;
  color: var(--nibiiro);
  margin-top: 2px;
}
.head-nav { display: none; }
.head-nav a {
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--body);
  padding: 8px 0;
  margin-left: 34px;
  position: relative;
}
.head-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  width: 100%; height: 1px;
  background: var(--kin);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-quiet);
}
.head-nav a:hover::after,
.head-nav a:focus-visible::after,
.head-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.head-nav a.active { color: var(--shiraki); }

.menu-btn {
  appearance: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 48px; height: 48px;
  margin-right: -10px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 52;
}
.menu-btn span {
  display: block;
  width: 26px; height: 1px;
  background: var(--shiraki);
  position: absolute;
  transition: transform 0.5s var(--ease-quiet), background 0.3s;
}
.menu-btn span:nth-child(1) { transform: translateY(-4px); }
.menu-btn span:nth-child(2) { transform: translateY(4px); }
.menu-open .menu-btn span:nth-child(1) { transform: rotate(20deg); }
.menu-open .menu-btn span:nth-child(2) { transform: rotate(-20deg); }

.menu-overlay {
  position: fixed; inset: 0;
  z-index: 51;
  background: rgba(13, 11, 9, 0.97);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 12vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease-quiet), visibility 0.6s;
}
.menu-open .menu-overlay { opacity: 1; visibility: visible; }
.menu-overlay a {
  font-family: var(--font-min);
  font-size: 26px;
  letter-spacing: 0.3em;
  color: var(--shiraki);
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline-soft);
  display: flex;
  align-items: baseline;
  gap: 16px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease-quiet), transform 0.6s var(--ease-quiet);
}
.menu-open .menu-overlay a { opacity: 1; transform: none; }
.menu-overlay a:nth-child(2) { transition-delay: 0.06s; }
.menu-overlay a:nth-child(3) { transition-delay: 0.12s; }
.menu-overlay a:nth-child(4) { transition-delay: 0.18s; }
.menu-overlay a:nth-child(5) { transition-delay: 0.24s; }
.menu-overlay a em {
  font-family: var(--font-go);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.4em;
  color: var(--kin);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  z-index: 2;
}
#lacquer {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.hero-fallback {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 78% 30%, rgba(199,169,79,0.07), transparent 55%),
    radial-gradient(90% 80% at 20% 85%, rgba(158,43,37,0.05), transparent 60%),
    var(--shikkoku);
}
.hero-frame {
  position: absolute;
  inset: clamp(14px, 3vw, 34px);
  border: 1px solid var(--hairline);
  pointer-events: none;
}
.hero-frame::before, .hero-frame::after {
  content: "";
  position: absolute;
  width: 9px; height: 9px;
  border-color: var(--kin);
  border-style: solid;
}
.hero-frame::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.hero-frame::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(clamp(14px,3vw,34px) + 8vh) clamp(34px, 8vw, 110px) calc(clamp(14px,3vw,34px) + 6vh);
}

.hero-brand {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-min);
  font-weight: 900;
  font-size: clamp(58px, 17vw, 128px);
  letter-spacing: 0.28em;
  color: var(--shiraki);
  align-self: flex-end;
  margin-right: clamp(0px, 3vw, 56px);
  line-height: 1;
  text-shadow: 0 0 60px rgba(199,169,79,0.12);
}
.hero-brand .brand-dot {
  display: inline-block;
  width: 0.32em; height: 0.32em;
  background: var(--shu);
  border-radius: 50%;
  margin: 0.35em 0;
}
.hero-tag {
  max-width: 20em;
}
.hero-tag h1 {
  font-family: var(--font-min);
  font-weight: 400;
  font-size: clamp(19px, 5vw, 30px);
  letter-spacing: 0.14em;
  line-height: 2;
  color: var(--shiraki);
}
.hero-tag p {
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--nibiiro);
}
.hero-tag p b { color: var(--kin); font-weight: 400; }

.hero-season {
  position: absolute;
  left: calc(clamp(14px, 3vw, 34px) + 18px);
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 10px;
  letter-spacing: 0.5em;
  color: var(--nibiiro);
  z-index: 4;
  padding-top: 46px;
}
.hero-season::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 1px; height: 34px;
  background: var(--kin);
}
.hero-scroll {
  position: absolute;
  right: clamp(30px, 6vw, 66px);
  bottom: 0;
  z-index: 4;
  writing-mode: vertical-rl;
  font-size: 9px;
  letter-spacing: 0.5em;
  color: var(--nibiiro);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 64px;
  background: linear-gradient(var(--kin), transparent);
  animation: scrollPulse 2.6s var(--ease-quiet) infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- shared section chrome ---------- */

.section {
  position: relative;
  z-index: 2;
  padding: clamp(90px, 16vh, 160px) clamp(24px, 7vw, 96px);
}
.sec-head {
  display: flex;
  align-items: flex-end;
  gap: 22px;
  margin-bottom: clamp(48px, 9vh, 90px);
}
.sec-head .sec-num {
  font-family: var(--font-min);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--kin);
  writing-mode: vertical-rl;
  padding-bottom: 6px;
}
.sec-head h2 {
  font-family: var(--font-min);
  font-weight: 700;
  font-size: clamp(30px, 7vw, 52px);
  letter-spacing: 0.22em;
  color: var(--shiraki);
  line-height: 1.3;
}
.sec-head .sec-en {
  font-size: 9px;
  letter-spacing: 0.44em;
  color: var(--nibiiro);
  padding-bottom: 10px;
  text-transform: uppercase;
}
.sec-rule {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--hairline), transparent 70%);
  margin-top: 18px;
}

/* ---------- interstitial full-bleed image ---------- */

.ichikan {
  position: relative;
  z-index: 2;
  padding: 0 clamp(20px, 5vw, 72px);
}
.ichikan figure {
  position: relative;
  overflow: hidden;
}
.ichikan img {
  width: 100%;
  height: clamp(300px, 62vh, 640px);
  object-fit: cover;
  transform: scale(1.06);
}
.ichikan figcaption {
  position: absolute;
  right: clamp(18px, 4vw, 44px);
  top: clamp(18px, 4vw, 44px);
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-min);
  font-size: clamp(17px, 4vw, 24px);
  letter-spacing: 0.3em;
  color: var(--shiraki);
  text-shadow: 0 1px 18px rgba(0,0,0,0.85);
}

/* knife-cut reveal */
.cut {
  clip-path: polygon(0% 0%, 0% 0%, -30% 100%, -30% 100%);
  position: relative;
}
.cut .blade {
  position: absolute;
  top: -12%;
  left: -14%;
  width: 1px;
  height: 124%;
  background: linear-gradient(rgba(199,169,79,0), var(--kin) 30%, var(--kin) 70%, rgba(199,169,79,0));
  transform: rotate(14deg);
  transform-origin: top;
  opacity: 0;
  z-index: 5;
  pointer-events: none;
}
.static-mode .cut { clip-path: none !important; }

/* ---------- 主人 the chef ---------- */

.shujin-grid {
  display: grid;
  gap: clamp(44px, 8vh, 70px);
}
.shujin-fig { position: relative; overflow: hidden; }
.shujin-fig img {
  width: 100%;
  height: clamp(320px, 52vh, 560px);
  object-fit: cover;
  transition: transform 1.6s var(--ease-quiet);
}
.shujin-fig:hover img { transform: scale(1.03); }
.shujin-fig .fig-label {
  position: absolute;
  left: 0; bottom: 0;
  right: 0;
  padding: 26px 14px 12px;
  font-size: 9px;
  letter-spacing: 0.4em;
  color: rgba(232,220,196,0.9);
  background: linear-gradient(transparent, rgba(13,11,9,0.72));
  text-shadow: 0 1px 6px rgba(13,11,9,0.9);
}
.shujin-name {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 26px;
}
.shujin-name strong {
  font-family: var(--font-min);
  font-weight: 700;
  font-size: clamp(24px, 6vw, 34px);
  letter-spacing: 0.2em;
  color: var(--shiraki);
}
.shujin-name span {
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--nibiiro);
}
.shujin-quote {
  font-family: var(--font-min);
  font-size: clamp(16px, 4.2vw, 21px);
  letter-spacing: 0.1em;
  line-height: 2.3;
  color: var(--shiraki);
  margin-bottom: 30px;
  border-left: 1px solid var(--kin);
  padding-left: 22px;
}
.shujin-bio p { margin-bottom: 1.4em; max-width: 34em; }
.shujin-bio p:last-child { margin-bottom: 0; }

/* ---------- おまかせの流れ journey ---------- */

.nagare { padding-bottom: 0; }
.nagare-intro {
  max-width: 34em;
  margin-bottom: clamp(30px, 6vh, 60px);
}
.nagare-price {
  font-family: var(--font-min);
  color: var(--shiraki);
  font-size: clamp(17px, 4.4vw, 22px);
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}
.nagare-price small {
  font-family: var(--font-go);
  font-size: 11px;
  color: var(--nibiiro);
  letter-spacing: 0.2em;
  margin-left: 10px;
}

.journey {
  position: relative;
  height: 100svh;
  overflow: hidden;
}
.course {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(28px, 8vw, 120px);
  opacity: 0;
  visibility: hidden;
}
.course-inner {
  position: relative;
  max-width: 560px;
}
.course-num {
  position: absolute;
  bottom: -0.32em;
  left: -0.06em;
  font-family: var(--font-min);
  font-weight: 900;
  font-size: clamp(170px, 52vw, 360px);
  line-height: 1;
  color: rgba(199, 169, 79, 0.09);
  pointer-events: none;
  user-select: none;
  z-index: -1;
}
.course-season {
  font-size: 10px;
  letter-spacing: 0.42em;
  color: var(--kin);
  margin-bottom: 18px;
}
.course-name {
  font-family: var(--font-min);
  font-weight: 700;
  font-size: clamp(27px, 7.4vw, 44px);
  letter-spacing: 0.18em;
  color: var(--shiraki);
  line-height: 1.6;
  margin-bottom: 20px;
}
.course-name em {
  font-style: normal;
  font-size: 0.52em;
  color: var(--nibiiro);
  letter-spacing: 0.3em;
  display: inline-block;
  margin-right: 0.8em;
}
.course-desc {
  max-width: 27em;
  color: var(--body);
}

/* progress rail */
.journey-rail {
  position: absolute;
  right: clamp(16px, 4vw, 60px);
  top: 50%;
  transform: translateY(-50%);
  height: min(46vh, 340px);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 6;
}
.rail-line {
  position: relative;
  width: 1px;
  height: 100%;
  background: rgba(232,220,196,0.14);
}
.rail-fill {
  position: absolute;
  top: 0; left: 0;
  width: 1px;
  height: 100%;
  background: var(--kin);
  transform: scaleY(0);
  transform-origin: top;
}
.rail-count {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-min);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--shiraki);
  min-height: 5.5em;
}
.rail-count .rail-total { color: var(--nibiiro); }

/* static QA / reduced-motion layout */
.static-mode .journey { height: auto; overflow: visible; }
.static-mode .course {
  position: relative;
  opacity: 1;
  visibility: visible;
  padding-top: 60px;
  padding-bottom: 60px;
  min-height: 0;
  border-bottom: 1px solid var(--hairline-soft);
}
.static-mode .journey-rail { display: none; }

/* ---------- こだわり / 仕事 ---------- */

.shigoto-grid {
  display: grid;
  gap: clamp(50px, 8vh, 64px);
}
.shigoto-item { position: relative; padding-top: 26px; }
.shigoto-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 42px; height: 1px;
  background: var(--kin);
  transition: width 0.9s var(--ease-quiet);
}
.shigoto-item:hover::before { width: 100%; }
.shigoto-item h3 {
  font-family: var(--font-min);
  font-weight: 700;
  font-size: clamp(21px, 5vw, 26px);
  letter-spacing: 0.3em;
  color: var(--shiraki);
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.shigoto-item h3 span {
  font-family: var(--font-go);
  font-size: 9px;
  letter-spacing: 0.4em;
  color: var(--nibiiro);
  text-transform: uppercase;
}
.shigoto-item p { max-width: 30em; }
.shigoto-fig {
  position: relative;
  overflow: hidden;
  margin-top: clamp(40px, 8vh, 60px);
}
.shigoto-fig img {
  width: 100%;
  height: clamp(280px, 46vh, 520px);
  object-fit: cover;
}
.shigoto-fig figcaption {
  position: absolute;
  left: 0; bottom: 0;
  right: 0;
  padding: 26px 14px 12px;
  font-size: 9px;
  letter-spacing: 0.4em;
  color: rgba(232,220,196,0.9);
  background: linear-gradient(transparent, rgba(13,11,9,0.72));
  text-shadow: 0 1px 6px rgba(13,11,9,0.9);
}

/* ---------- ご予約 the tag ---------- */

.yoyaku { background: var(--shikkoku-2); }
.yoyaku-grid {
  display: grid;
  gap: clamp(48px, 8vh, 72px);
  align-items: start;
}

.fuda {
  position: relative;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.16), rgba(255,255,255,0) 40%),
    repeating-linear-gradient(94deg, rgba(120, 92, 50, 0.05) 0 3px, rgba(120,92,50,0) 3px 9px),
    linear-gradient(#E8DCC4, #DECFAF);
  color: #2A241C;
  padding: clamp(30px, 7vw, 48px) clamp(26px, 6vw, 44px) clamp(34px, 7vw, 52px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  max-width: 520px;
  transform-origin: 50% 18px;
  transition: transform 0.9s var(--ease-quiet);
}
.fuda:hover { transform: rotate(0.5deg); }
.fuda::before {
  content: "";
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--shikkoku);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.9);
}
.fuda-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 26px;
}
.fuda-title {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-min);
  font-weight: 700;
  font-size: clamp(24px, 6vw, 30px);
  letter-spacing: 0.34em;
  color: #211B13;
  min-height: 4.6em;
}
.hanko {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #B23A32, var(--shu) 62%, #7E1F1B);
  color: #F4E9D4;
  display: grid;
  place-items: center;
  font-family: var(--font-min);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.06em;
  line-height: 1.1;
  writing-mode: vertical-rl;
  text-orientation: upright;
  box-shadow: 0 2px 10px rgba(158,43,37,0.4);
  transform: rotate(-4deg);
}
.fuda dl {
  display: grid;
  grid-template-columns: auto 1fr;
  row-gap: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.9;
}
.fuda dt {
  font-family: var(--font-min);
  font-weight: 700;
  color: #211B13;
  padding: 11px 18px 11px 0;
  border-top: 1px solid rgba(33,27,19,0.16);
  white-space: nowrap;
  letter-spacing: 0.2em;
}
.fuda dd {
  padding: 11px 0;
  border-top: 1px solid rgba(33,27,19,0.16);
  color: #453A2C;
}
.fuda dd b { font-weight: 500; color: #211B13; }
.fuda-tel {
  margin-top: 26px;
  display: block;
  text-align: center;
  font-family: var(--font-min);
  font-weight: 700;
  font-size: clamp(21px, 5.6vw, 26px);
  letter-spacing: 0.14em;
  color: #211B13;
  padding: 16px 10px;
  border: 1px solid rgba(33,27,19,0.5);
  transition: background 0.4s var(--ease-quiet), color 0.4s var(--ease-quiet);
}
.fuda-tel small {
  display: block;
  font-family: var(--font-go);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.3em;
  margin-top: 4px;
  color: #6E6045;
  transition: color 0.4s var(--ease-quiet);
}
.fuda-tel:hover { background: #211B13; color: var(--shiraki); }
.fuda-tel:hover small { color: var(--kin); }
.fuda-omakase {
  margin-top: 12px;
  display: block;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #453A2C;
  padding: 13px 10px;
  border: 1px solid rgba(33,27,19,0.24);
  transition: border-color 0.4s, color 0.4s;
}
.fuda-omakase:hover { border-color: #211B13; color: #211B13; }

.yoyaku-notes h3 {
  font-family: var(--font-min);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3em;
  color: var(--shiraki);
  margin: 34px 0 14px;
}
.yoyaku-notes h3:first-child { margin-top: 0; }
.yoyaku-notes ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 13.5px;
}
.yoyaku-notes ul li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--kin);
}

/* ---------- アクセス ---------- */

.access-grid {
  display: grid;
  gap: clamp(44px, 8vh, 70px);
}
.access-info dl {
  display: grid;
  grid-template-columns: auto 1fr;
  font-size: 13.5px;
}
.access-info dt {
  font-family: var(--font-min);
  color: var(--shiraki);
  letter-spacing: 0.24em;
  padding: 13px 22px 13px 0;
  border-top: 1px solid var(--hairline-soft);
  white-space: nowrap;
}
.access-info dd {
  padding: 13px 0;
  border-top: 1px solid var(--hairline-soft);
}
.access-map {
  position: relative;
  border: 1px solid var(--hairline-soft);
  padding: 10px;
}
.access-map svg { display: block; width: 100%; height: auto; }

/* ---------- footer ---------- */

.site-foot {
  position: relative;
  z-index: 2;
  padding: clamp(60px, 10vh, 90px) clamp(24px, 7vw, 96px) 40px;
  border-top: 1px solid var(--hairline-soft);
  text-align: center;
}
.foot-brand {
  font-family: var(--font-min);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: 0.4em;
  color: var(--shiraki);
  margin-bottom: 8px;
}
.foot-en {
  font-size: 9px;
  letter-spacing: 0.5em;
  color: var(--nibiiro);
  margin-bottom: 34px;
}
.foot-credit {
  font-size: 10.5px;
  line-height: 2;
  letter-spacing: 0.1em;
  color: var(--nibiiro);
  max-width: 34em;
  margin: 0 auto 18px;
}
.foot-credit a { color: var(--kin); border-bottom: 1px solid rgba(199,169,79,0.4); }
.foot-credit a:hover { border-bottom-color: var(--kin); }
.foot-copy { font-size: 10px; letter-spacing: 0.24em; color: #4E4A43; }

/* ---------- reveal primitives ---------- */

.rv { opacity: 0; transform: translateY(26px); }
.static-mode .rv, .no-js .rv { opacity: 1; transform: none; }

/* ---------- desktop ---------- */

@media (min-width: 820px) {
  body { font-size: 15.5px; }
  .head-nav { display: flex; }
  .menu-btn, .menu-overlay { display: none; }

  .hero-inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
  .hero-brand {
    align-self: center;
    order: 2;
  }
  .hero-tag { padding-bottom: 4vh; }

  .shujin-grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(50px, 7vw, 110px); }
  .shujin-fig img { height: min(72vh, 640px); }

  .course-inner {
    max-width: 760px;
    margin-left: 6vw;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: flex-start;
    gap: clamp(40px, 5vw, 80px);
  }
  .course-name {
    writing-mode: vertical-rl;
    text-orientation: upright;
    max-height: 58vh;
    margin-bottom: 0;
    letter-spacing: 0.24em;
  }
  .course-season {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin-bottom: 0;
    padding-top: 6px;
  }
  .course-desc { max-width: 24em; padding-top: 10px; }

  .shigoto-grid { grid-template-columns: repeat(3, 1fr); gap: clamp(40px, 5vw, 80px); }
  .shigoto-fig { grid-column: 1 / -1; }
  .shigoto-fig img { height: min(60vh, 560px); }

  .yoyaku-grid { grid-template-columns: minmax(360px, 480px) minmax(320px, 1fr); gap: clamp(44px, 6vw, 100px); }
  .access-grid { grid-template-columns: 1fr 1.15fr; align-items: start; gap: clamp(60px, 8vw, 130px); }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html.no-lenis { scroll-behavior: auto; }
  .grain, .hero-scroll::after { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
