:root {
  color-scheme: dark;
  --black: #000000;
  --ink: #1a1a1a;
  --soft-black: #111111;
  --white: #ffffff;
  --warm: #f5f3ef;
  --gray: #8c8c8c;
  --line-dark: #2a2a2a;
  --line-light: #e0ddd6;
  --max: 1280px;
  --brand-color: #1a1a1a;
  --brand-color-hover: #000000;
  --brand-color-light: rgba(26, 26, 26, 0.04);
  --text-color: #1a1a1a;
  --bg-content-left: #f5f3ef;
  --bg-content-right: #f5f3ef;
  --tab-bg-inactive: transparent;
  --tab-text-inactive: var(--brand-color);
  --tab-bg-active: var(--brand-color);
  --tab-text-active: #ffffff;
  --font-heading: "Times New Roman", "Noto Serif JP", "Yu Mincho", serif;
  --font-body: "Helvetica Neue", "Noto Sans JP", "Hiragino Sans", Arial, sans-serif;
  --content-max-width: 1255px;
  --tab-height: 64px;
  --content-height: 600px;
  --serif: "Times New Roman", "Noto Serif JP", "Yu Mincho", serif;
  --sans: "Helvetica Neue", "Noto Sans JP", "Hiragino Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--warm);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 2;
  letter-spacing: 0;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

.fixed-contact-cta {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 8px 18px 8px 8px;
  border: 1px solid rgba(26, 26, 26, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1;
  backdrop-filter: blur(18px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.fixed-contact-cta:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.2);
}

.fixed-contact-cta__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(38, 63, 99, 0.18);
}

.fixed-contact-cta__icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

.sp-break {
  display: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 0 clamp(24px, 4vw, 64px);
  color: var(--warm);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: background 0.45s ease, border-color 0.45s ease, opacity 0.35s ease, transform 0.35s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid var(--line-dark);
}

.brand {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.24em;
  line-height: 1;
}

.logo-brand {
  display: inline-flex;
  align-items: center;
}

.logo-brand img {
  display: block;
  width: clamp(128px, 13vw, 188px);
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  gap: clamp(18px, 2.5vw, 38px);
  justify-content: center;
  font-size: 12px;
  color: rgba(245, 243, 239, 0.86);
}

.auth-links {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  font-size: 12px;
  color: var(--gray);
}

.version-link {
  color: currentColor;
  letter-spacing: 0.18em;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.hero picture {
  display: block;
  width: 100%;
  height: 100vh;
  height: 100svh;
}

.hero picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.46);
}

.hero-copy {
  position: absolute;
  left: 50%;
  bottom: clamp(56px, 9vh, 110px);
  z-index: 2;
  width: min(860px, calc(100% - 48px));
  transform: translateX(-50%);
  text-align: center;
}

.hero-logo {
  width: min(420px, 76vw);
  margin: 0 auto 30px;
  filter: brightness(0) invert(1);
}

.hero-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-copy.reveal {
  transform: translate(-50%, 28px);
}

.hero-copy.reveal.is-visible {
  transform: translate(-50%, 0);
}

.eyebrow {
  color: var(--gray);
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 300;
}

h1 {
  margin-top: 28px;
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1.3;
}

h2 {
  margin-top: 22px;
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.5;
}

h3 {
  font-size: 21px;
  line-height: 1.55;
}

.subline {
  margin-top: 26px;
  color: rgba(245, 243, 239, 0.8);
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.18em;
}

.service-line {
  margin-top: 18px;
  color: var(--gray);
  font-size: 12px;
  letter-spacing: 0.15em;
}

.section {
  padding: clamp(80px, 11vw, 160px) clamp(24px, 5vw, 80px);
}

.tab-category-section {
  padding: clamp(72px, 9vw, 132px) clamp(22px, 5vw, 72px);
  background: var(--warm);
  color: var(--text-color);
}

.tab-category-section__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.tab-category-section .eyebrow,
.tab-category-section h2 {
  text-align: center;
}

.tab-category-section h2 {
  max-width: 820px;
  margin: 18px auto 46px;
}

.scenes-service {
  scroll-margin-top: 88px;
}

.tab-category-section__tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 0;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.tab-category-section__tab {
  min-height: 58px;
  border: 0;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  border-radius: 0;
  background: var(--tab-bg-inactive);
  color: var(--tab-text-inactive);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
  transition: background 0.24s ease, color 0.24s ease;
}

.tab-category-section__tab:hover {
  background: var(--brand-color-light);
}

.tab-category-section__tab--active {
  background: var(--brand-color);
  color: #ffffff;
}

.tab-category-section__panel {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  width: 100%;
  min-width: 0;
  min-height: var(--content-height);
  background: var(--bg-content-right);
  border-left: 1px solid var(--line-light);
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  opacity: 1;
  transition: opacity 0.26s ease;
}

.tab-category-section__panel.is-changing {
  opacity: 0;
}

.tab-category-section__copy,
.tab-category-section__visual {
  transition: opacity 0.26s ease;
}

.tab-category-section__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(42px, 5.3vw, 64px);
  background: var(--bg-content-left);
  border-right: 1px solid var(--line-light);
}

.tab-category-section__copy h3 {
  color: var(--text-color);
  font-family: var(--font-heading);
  font-size: clamp(25px, 3vw, 40px);
  line-height: 1.36;
  overflow-wrap: anywhere;
}

.tab-category-section__description {
  margin-top: 28px;
  color: rgba(26, 26, 26, 0.74);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: anywhere;
  word-break: auto-phrase;
}

.tab-category-section__description p + p {
  margin-top: 16px;
}

.tab-category-section__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 330px);
  min-height: 54px;
  margin-top: 38px;
  border: 1px solid var(--brand-color);
  background: transparent;
  color: var(--brand-color);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.35s ease, color 0.35s ease;
}

.tab-category-section__cta:hover {
  background: var(--brand-color-hover);
  color: #ffffff;
}

.tab-category-section__visual {
  margin: 0;
  min-height: var(--content-height);
  background: var(--bg-content-right);
}

.tab-category-section__visual img {
  width: 100%;
  height: 100%;
  min-height: var(--content-height);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--bg-content-right);
}

.concept-franky-mark {
  width: min(270px, 74vw);
  margin: 28px auto 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(38, 63, 99, 0.16);
}

.concept-franky-mark img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.dark {
  background: var(--black);
  color: var(--warm);
}

.light {
  background: var(--warm);
  color: var(--ink);
}

.narrow {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.intro .statement {
  margin: 34px 0 26px;
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.7;
}

.intro p:not(.eyebrow):not(.statement),
.join p:not(.eyebrow) {
  color: rgba(245, 243, 239, 0.78);
  font-size: 15px;
}

.text-links,
.button-row {
  display: flex;
  justify-content: center;
  gap: 34px;
  margin-top: 38px;
}

.text-links a,
.text-button {
  border-bottom: 1px solid currentColor;
  color: var(--warm);
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: color 0.4s ease;
}

.visual-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  overflow: hidden;
  min-height: 720px;
}

.visual-text.reverse figure {
  order: 2;
}

.visual-text figure {
  margin: 0;
  min-width: 0;
  min-height: 560px;
}

.ai-chat-visual {
  display: grid;
  place-items: center;
  min-height: 560px;
  padding: clamp(38px, 6vw, 88px);
  background:
    linear-gradient(135deg, rgba(26, 26, 26, 0.06), rgba(38, 63, 99, 0.08)),
    var(--warm);
}

.ai-chat-visual__screen {
  width: min(520px, 100%);
  min-height: 520px;
  border: 1px solid rgba(38, 63, 99, 0.22);
  background: rgba(255, 255, 255, 0.72);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ai-chat-visual__bar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(38, 63, 99, 0.16);
  color: rgba(38, 63, 99, 0.72);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.ai-chat-visual__message {
  max-width: 84%;
  padding: 16px 18px;
  border: 1px solid rgba(38, 63, 99, 0.16);
  color: rgba(26, 26, 26, 0.82);
  font-size: 14px;
  line-height: 1.8;
}

.ai-chat-visual__message--ai {
  align-self: flex-start;
  background: rgba(245, 243, 239, 0.88);
}

.ai-chat-visual__message--user {
  align-self: flex-end;
  background: #263f63;
  color: #ffffff;
}

.ai-chat-visual__prompt {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 52px;
  border: 1px solid rgba(38, 63, 99, 0.2);
  min-height: 54px;
}

.ai-chat-visual__prompt span,
.ai-chat-visual__prompt button {
  display: flex;
  align-items: center;
}

.ai-chat-visual__prompt span {
  padding: 0 18px;
  color: var(--gray);
  font-size: 13px;
}

.ai-chat-visual__prompt button {
  justify-content: center;
  border: 0;
  border-left: 1px solid rgba(38, 63, 99, 0.2);
  background: transparent;
  color: #263f63;
  font: inherit;
}

.visual-text .copy {
  align-self: center;
  min-width: 0;
  max-width: 560px;
  padding: clamp(56px, 7vw, 112px);
}

.visual-text .copy p:not(.eyebrow):not(.producer-mark) {
  margin-top: 30px;
  color: rgba(26, 26, 26, 0.72);
  font-size: 15px;
}

.identity-mark,
.team-mark {
  margin: 0;
  min-height: 0;
}

.identity-mark {
  width: min(300px, 74%);
  margin-top: 30px;
  opacity: 0.9;
}

.identity-mark img,
.team-mark img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.team-mark {
  width: min(240px, 58vw);
  margin: 28px auto 0;
  opacity: 0.64;
}

body:not(.light-theme) .gallery-section .team-mark {
  opacity: 0.86;
}

body:not(.light-theme) .gallery-section .team-mark img {
  filter: none;
}

body.black-theme .gallery-section {
  background: var(--warm);
  color: var(--ink);
}

body.black-theme .gallery-section .section-head > p:last-child {
  color: rgba(26, 26, 26, 0.62);
}

body.black-theme .gallery-section .gallery article img {
  border-color: var(--line-light);
}

body.black-theme .gallery-section .gallery article p,
body.black-theme .gallery-section .gallery article span {
  color: rgba(26, 26, 26, 0.58);
}

body.black-theme .site-header .logo-brand img,
body.black-theme .footer-logo-brand img {
  filter: grayscale(1) invert(1);
}

body.black-theme .site-header.is-scrolled .logo-brand img,
body.black-theme .site-header.is-open .logo-brand img {
  filter: grayscale(1) invert(1);
}

body.black-theme .franky-profile .copy {
  max-width: 620px;
  text-align: center;
}

body.black-theme .franky-profile h2,
body.black-theme .franky-profile .copy p:not(.eyebrow):not(.producer-mark),
body.black-theme .franky-profile .producer-mark {
  margin-left: auto;
  margin-right: auto;
}

body.black-theme .franky-profile .identity-mark {
  width: min(270px, 68%);
  margin: 30px auto -205px;
  padding: 28px 0 12px;
  border-top: 1px solid rgba(38, 63, 99, 0.18);
  border-bottom: 0;
  opacity: 1;
}

body.black-theme .visual-text.reverse .copy {
  text-align: center;
}

body.black-theme .visual-text.reverse .copy p:not(.eyebrow):not(.producer-mark),
body.black-theme .visual-text.reverse .outline-button {
  margin-left: auto;
  margin-right: auto;
}

body.black-theme .split-title {
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 900px;
  text-align: center;
}

body.black-theme .split-title h2,
body.black-theme .split-title > p {
  margin-left: auto;
  margin-right: auto;
}

body.black-theme .footer-logo-brand {
  margin-bottom: 30px;
}

body.black-theme .footer-logo-brand img {
  width: min(300px, 76vw);
}

.producer-mark {
  margin-top: 34px;
  color: var(--gray);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-head {
  max-width: 820px;
  margin: 0 auto clamp(46px, 6vw, 82px);
  text-align: center;
}

.section-head > p:last-child,
.split-title > p {
  margin-top: 24px;
  color: var(--gray);
  font-size: 15px;
}

.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 24vw);
  gap: 28px;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  overflow-x: auto;
  padding: 0 0 24px;
  scrollbar-color: var(--gray) transparent;
}

.gallery article img,
.case-list img {
  aspect-ratio: 4 / 5;
  height: auto;
  border: 1px solid var(--line-dark);
}

.gallery article {
  text-align: center;
}

.gallery article p,
.gallery article span,
.plans span,
.triad span,
.case-list span,
.scenes p {
  color: var(--gray);
  font-size: 13px;
}

.gallery article span {
  display: block;
  line-height: 1.8;
}

.gallery article p {
  margin-top: 18px;
}

.gallery article h3 {
  margin-top: 6px;
  font-size: 18px;
}

.gallery article h3 a {
  display: inline;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
  text-decoration-color: rgba(26, 26, 26, 0.36);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.gallery article h3 a:hover {
  color: #000000;
  text-decoration-color: currentColor;
}

.steps,
.triad,
.plans,
.scenes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.steps {
  grid-template-columns: repeat(5, 1fr);
  border: 0;
}

.triad {
  grid-template-columns: repeat(3, 1fr);
  border-color: var(--line-dark);
}

.plans {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-color: var(--line-dark);
}

.triad,
.scenes {
  border: 0;
}

.steps article,
.triad article,
.plans article,
.scenes article {
  min-height: 270px;
  padding: clamp(28px, 4vw, 48px);
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.triad article,
.plans article {
  border-color: var(--line-dark);
}

.triad article,
.scenes article {
  border: 0;
}

.steps article {
  border: 0;
}

.steps span,
.scenes span,
.triad article > p,
.plans article > p {
  color: var(--gray);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.steps h3,
.triad h3,
.plans h3,
.scenes h3 {
  margin-top: 34px;
}

.steps p,
.scenes p {
  margin-top: 18px;
  color: rgba(26, 26, 26, 0.72);
  font-size: 14px;
}

.wide-image {
  aspect-ratio: 16 / 9;
  min-height: 420px;
}

.experience-image {
  max-width: var(--max);
  margin: clamp(42px, 6vw, 72px) auto 0;
}

.split-title {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: end;
  max-width: var(--max);
  margin: 0 auto clamp(46px, 6vw, 82px);
}

.compare {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto;
}

.compare-card {
  min-height: 330px;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid var(--line-light);
}

.compare-card p {
  color: currentColor;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.compare-card h3 {
  margin-top: 26px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 300;
  line-height: 1.45;
}

.compare-card ul {
  display: grid;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.compare-card li {
  color: rgba(26, 26, 26, 0.68);
  font-size: 14px;
  line-height: 1.8;
}

.compare-card--standard {
  color: rgba(26, 26, 26, 0.62);
  background: #ffffff;
}

.compare-card--standard h3 {
  color: rgba(26, 26, 26, 0.62);
}

.compare-card--standard li {
  color: rgba(26, 26, 26, 0.5);
}

.compare-card--franky {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 248, 242, 0.92)),
    var(--white-accent-bg);
  border: 1px solid rgba(38, 63, 99, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.76);
}

.compare-card--franky::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(38, 63, 99, 0.18), rgba(38, 63, 99, 0.04) 26%, rgba(38, 63, 99, 0) 58%),
    linear-gradient(180deg, rgba(38, 63, 99, 0.06), rgba(38, 63, 99, 0));
  opacity: 0.78;
}

.compare-card--franky::after {
  content: "FRANKY";
  position: absolute;
  right: clamp(24px, 3vw, 42px);
  bottom: clamp(18px, 2.5vw, 32px);
  color: rgba(38, 63, 99, 0.045);
  font-family: var(--serif);
  font-size: clamp(54px, 8vw, 108px);
  line-height: 1;
  pointer-events: none;
}

.plans article {
  min-height: 310px;
}

.plans h3 {
  font-size: clamp(22px, 2.4vw, 30px);
}

.plans--examples article {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plans--examples h3 {
  margin-top: 18px;
  font-size: clamp(20px, 2vw, 26px);
}

.plans--examples strong {
  color: #263f63;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
}

.plans--examples span {
  line-height: 1.8;
}

.plans--examples a {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  border-bottom: 1px solid currentColor;
  color: #263f63;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.case-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 30vw);
  gap: 30px;
  max-width: var(--max);
  margin: 0 auto;
  overflow-x: auto;
  padding: 0 0 24px;
  scrollbar-color: var(--gray) transparent;
}

.case-list article {
  border-top: 1px solid var(--line-light);
}

.case-list div {
  padding-top: 22px;
}

.case-list p {
  color: var(--gray);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.case-list h3 {
  margin: 8px 0;
  font-size: 19px;
}

.venues-section {
  scroll-margin-top: 88px;
}

.area-note {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  max-width: var(--max);
  min-height: 86px;
  margin: 0 auto 44px;
  padding: 20px 26px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.area-note p,
.venue-card__body p {
  color: rgba(38, 63, 99, 0.62);
  font-size: 11px;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.area-note h3 {
  font-size: clamp(22px, 2.5vw, 32px);
}

.area-note span {
  color: rgba(26, 26, 26, 0.58);
  font-size: 13px;
}

.venue-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  max-width: var(--max);
  margin: 0 auto;
}

.venue-grid--image {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.venue-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border-top: 1px solid var(--line-light);
  background: #ffffff;
}

.venue-card__media {
  margin: 0;
  aspect-ratio: 16 / 10;
  background: #f8f7f4;
}

.venue-card__media--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-light);
}

.venue-card__body {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  column-gap: 24px;
  align-items: center;
  padding: 26px 0 4px;
}

.venue-card--image .venue-card__body {
  display: block;
  padding: 24px 0 0;
}

.venue-card--image .venue-card__media {
  aspect-ratio: 4 / 3;
}

.venue-card__logo {
  grid-row: 1 / 4;
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.venue-card__body h3 {
  margin-top: 6px;
  font-size: 22px;
}

.venue-card__body span {
  display: block;
  margin-top: 6px;
  color: rgba(26, 26, 26, 0.62);
  font-size: 13px;
  line-height: 1.8;
}

.venue-card__link {
  display: inline-block;
  margin-top: 14px;
  color: rgba(26, 26, 26, 0.76);
  font-size: 12px;
  line-height: 1.6;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.34em;
  text-decoration-color: rgba(26, 26, 26, 0.34);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.venue-card__link:hover {
  color: var(--ink);
  text-decoration-color: currentColor;
}

.chef-profile-page {
  background: var(--warm);
  color: var(--ink);
}

.chef-profile-page .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.chef-profile-page .site-header {
  color: var(--ink);
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  background: rgba(245, 243, 239, 0.92);
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  backdrop-filter: blur(18px);
}

.chef-profile-page .logo-brand img {
  filter: none;
}

.chef-profile-page .nav-toggle span {
  background: var(--ink);
}

.chef-profile-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: end;
  min-height: auto;
  padding: 120px clamp(24px, 6vw, 86px) 64px;
}

.chef-profile-hero figure {
  width: min(100%, 540px);
  aspect-ratio: 4 / 5;
  justify-self: center;
  margin: 0;
  background: #e8e3da;
}

.chef-profile-hero img {
  border: 1px solid var(--line-light);
}

.chef-profile-copy {
  max-width: 760px;
}

.chef-profile-copy h1 {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: clamp(42px, 7vw, 96px);
  font-weight: 300;
  line-height: 1.05;
}

.chef-profile-copy .role {
  margin-top: 22px;
  color: rgba(26, 26, 26, 0.64);
  font-size: 15px;
}

.chef-profile-copy .lead {
  margin-top: 34px;
  font-size: clamp(17px, 2vw, 24px);
  line-height: 2;
}

.chef-profile-body {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: clamp(34px, 5vw, 78px);
  padding: 0 clamp(24px, 6vw, 86px) 96px;
}

.chef-profile-panel {
  border-top: 1px solid var(--line-light);
  padding-top: 28px;
}

.chef-profile-panel h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 300;
}

.chef-profile-panel p,
.chef-profile-panel li {
  color: rgba(26, 26, 26, 0.72);
  font-size: 14px;
  line-height: 2;
}

.chef-profile-panel ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.chef-profile-panel li {
  padding-left: 18px;
  border-left: 1px solid rgba(26, 26, 26, 0.18);
}

.chef-profile-panel--wide {
  grid-column: 2;
}

.chef-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.chef-profile-actions .outline-button {
  min-width: 220px;
  text-align: center;
}

.chef-profile-footer {
  display: grid;
  place-items: center;
  padding: 0 clamp(24px, 6vw, 86px) 96px;
}

.chef-profile-footer .text-button {
  color: rgba(26, 26, 26, 0.72);
  font-size: 13px;
}

.contact-hero {
  display: grid;
  place-items: end center;
  min-height: 520px;
  padding: 150px clamp(24px, 5vw, 80px) 84px;
  color: var(--warm);
  text-align: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.5)),
    url("./assets/venues/hakata-rou-honten.jpg") center / cover;
}

.contact-hero > div {
  width: min(820px, 100%);
}

.contact-hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 28px auto 0;
  color: rgba(245, 243, 239, 0.82);
  font-size: 15px;
}

.contact-section {
  padding-top: clamp(70px, 8vw, 110px);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(42px, 6vw, 86px);
  max-width: 1180px;
  margin: 0 auto;
}

.contact-aside {
  align-self: start;
  padding-top: 6px;
}

.contact-aside h2 {
  margin-top: 18px;
}

.contact-area-main {
  margin-top: 28px;
  color: #263f63;
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.5;
}

.contact-aside p:last-child {
  margin-top: 18px;
  color: rgba(26, 26, 26, 0.64);
  font-size: 14px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-context-note {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(38, 63, 99, 0.18);
  background: rgba(38, 63, 99, 0.04);
  color: rgba(26, 26, 26, 0.68);
  font-size: 13px;
  line-height: 1.8;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  color: rgba(26, 26, 26, 0.74);
  font-size: 13px;
  line-height: 1.6;
}

.contact-form em {
  margin-left: 8px;
  color: #263f63;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.14em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(224, 221, 214, 0.95);
  border-radius: 0;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  line-height: 1.8;
}

.contact-form input {
  min-height: 46px;
  padding: 0 13px;
}

.contact-form textarea {
  min-height: 86px;
  padding: 10px 13px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid rgba(38, 63, 99, 0.7);
  outline-offset: 2px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
}

.form-submit {
  min-height: 50px;
  margin-top: 8px;
  border: 1px solid #263f63;
  border-radius: 0;
  background: #263f63;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.form-submit:disabled,
.newsletter button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.form-message {
  min-height: 20px;
  color: rgba(38, 63, 99, 0.78);
  font-size: 12px;
  line-height: 1.6;
}

.newsletter.is-complete div {
  display: none;
}

.newsletter.is-complete .form-message {
  display: grid;
  gap: 4px;
  min-height: 78px;
  margin-top: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line-dark);
}

.newsletter.is-complete .form-message strong {
  color: var(--warm);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
}

.newsletter.is-complete .form-message span {
  color: var(--gray);
  font-size: 12px;
}

.thanks-section {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 150px clamp(24px, 5vw, 80px) 88px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.88)),
    url("./assets/venues/hakata-rou-nishinakasu.jpg") center / cover;
  color: var(--ink);
}

.thanks-panel {
  width: min(760px, 100%);
  padding: clamp(42px, 6vw, 72px);
  text-align: center;
  border: 1px solid rgba(224, 221, 214, 0.92);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
}

.thanks-panel p:not(.eyebrow) {
  margin-top: 28px;
  color: rgba(26, 26, 26, 0.68);
  font-size: 15px;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 52px;
  margin-top: 36px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: background 0.4s ease, color 0.4s ease;
}

.outline-button:hover {
  background: var(--ink);
  color: var(--warm);
}

.light-button {
  margin-top: 0;
  border-color: var(--warm);
  color: var(--warm);
}

.light-button:hover {
  background: var(--warm);
  color: var(--black);
}

.join .light-button {
  background: #263f63;
  border-color: #263f63;
  color: #ffffff;
}

.join .light-button:hover {
  background: #1a2c46;
  border-color: #1a2c46;
  color: #ffffff;
}

.footer {
  padding: 80px clamp(24px, 5vw, 80px) 34px;
  background: var(--black);
  border-top: 1px solid var(--line-dark);
  color: var(--gray);
}

.footer-main,
.footer-links {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  max-width: var(--max);
  margin: 0 auto;
}

.footer-brand {
  display: block;
  color: var(--warm);
  margin-bottom: 28px;
}

.footer-main p {
  max-width: 420px;
  font-size: 13px;
}

.newsletter label {
  display: block;
  color: var(--warm);
  font-size: 11px;
  letter-spacing: 0.2em;
  margin-bottom: 18px;
}

.newsletter div {
  display: grid;
  grid-template-columns: 1fr 92px;
  border-bottom: 1px solid var(--line-dark);
}

.newsletter input,
.newsletter button {
  min-height: 48px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--warm);
  font: inherit;
}

.newsletter button {
  color: var(--gray);
  cursor: pointer;
}

.newsletter .form-message {
  margin-top: 12px;
}

.footer-links {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 70px;
}

.footer details {
  border-top: 1px solid var(--line-dark);
  padding-top: 18px;
}

.footer summary {
  color: var(--warm);
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.18em;
  list-style: none;
  text-transform: uppercase;
}

.footer summary::-webkit-details-marker {
  display: none;
}

.footer details a,
.footer details span {
  display: block;
  margin-top: 12px;
  font-size: 12px;
}

.copyright {
  max-width: var(--max);
  margin: 58px auto 0;
  border-top: 1px solid var(--line-dark);
  padding-top: 24px;
  font-size: 11px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s ease, transform 1s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 68px;
  }

  .nav-toggle {
    display: inline-grid;
    gap: 7px;
    width: 34px;
    border: 0;
    background: transparent;
    padding: 0;
  }

  .nav-toggle span {
    display: block;
    height: 1px;
    background: currentColor;
  }

  .site-nav,
  .auth-links {
    position: fixed;
    left: 0;
    right: 0;
    display: none;
    background: var(--black);
    padding: 0 28px;
  }

  .site-nav.is-open {
    top: 68px;
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line-dark);
  }

  .site-nav a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .auth-links {
    display: none;
  }

  .visual-text,
  .visual-text.reverse {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .visual-text.reverse figure {
    order: 0;
  }

  .visual-text figure {
    min-height: 420px;
  }

  .visual-text .copy {
    max-width: none;
  }

  .gallery {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow-x: visible;
  }

  .steps,
  .scenes {
    grid-template-columns: repeat(2, 1fr);
  }

  .triad,
  .plans,
  .case-list,
  .venue-grid,
  .contact-layout,
  .footer-main,
  .footer-links,
  .split-title {
    grid-template-columns: 1fr;
  }

  .compare {
    grid-template-columns: 1fr;
  }

  .compare > div:first-child,
  .compare h3:first-of-type,
  .compare h3:nth-of-type(2) {
    display: none;
  }
}

body.light-theme {
  color-scheme: light;
  --paper: #ffffff;
  --paper-soft: #ffffff;
  --paper-warm: #f6efe5;
  --white-accent-bg: #fbf8f2;
  --franky-blue: #263f63;
  background: var(--paper);
  color: var(--ink);
}

body.light-theme .site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(224, 221, 214, 0.9);
  color: var(--ink);
}

body.light-theme .site-header.is-scrolled,
body.light-theme .site-header.is-open {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line-light);
  color: var(--ink);
}

body.light-theme .site-header.is-scrolled .site-nav,
body.light-theme .site-header.is-open .site-nav,
body.light-theme .site-nav {
  color: rgba(26, 26, 26, 0.76);
}

body.light-theme .hero::after {
  background: rgba(0, 0, 0, 0.32);
}

body.light-theme .hero-copy {
  color: var(--warm);
}

body.light-theme .hero-copy .subline {
  color: rgba(245, 243, 239, 0.84);
}

body.light-theme .dark {
  background: var(--paper);
  color: var(--ink);
}

body.light-theme .light {
  background: var(--paper);
  color: var(--ink);
}

body.light-theme .eyebrow {
  color: rgba(38, 63, 99, 0.52);
}

body.light-theme .franky-profile {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  background: var(--paper);
}

body.light-theme .franky-profile figure:first-child {
  min-height: 680px;
}

body.light-theme .franky-profile .copy {
  max-width: 620px;
  padding-top: clamp(64px, 8vw, 128px);
  padding-bottom: clamp(64px, 8vw, 128px);
  text-align: center;
}

body.light-theme .franky-profile h2 {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

body.light-theme .franky-profile .identity-mark {
  width: min(270px, 68%);
  margin: 30px auto -205px;
  padding: 28px 0 12px;
  border-top: 1px solid rgba(38, 63, 99, 0.18);
  border-bottom: 0;
  opacity: 1;
}

body.light-theme .franky-profile .copy p:not(.eyebrow):not(.producer-mark) {
  max-width: 520px;
  margin: 18px auto 0;
  color: rgba(26, 26, 26, 0.7);
}

body.light-theme .franky-profile .producer-mark {
  margin-left: auto;
  margin-right: auto;
  color: rgba(38, 63, 99, 0.55);
}

body.light-theme .visual-text.reverse .copy {
  text-align: center;
}

body.light-theme .visual-text.reverse .copy p:not(.eyebrow):not(.producer-mark) {
  margin-left: auto;
  margin-right: auto;
}

body.light-theme .visual-text.reverse .outline-button {
  margin-left: auto;
  margin-right: auto;
}

body.light-theme .gallery-section,
body.light-theme #plans,
body.light-theme .footer {
  background: var(--paper);
}

body.light-theme:not(.grey-theme) .join {
  background: var(--white-accent-bg);
}

body.light-theme:not(.grey-theme) .join-early {
  background: var(--white-accent-bg);
}

body.light-theme #plans {
  border-top: 0;
  border-bottom: 0;
}

body.light-theme:not(.grey-theme) #how {
  background: var(--paper);
}

body.light-theme:not(.grey-theme) .visual-text {
  background: var(--paper);
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

body.light-theme:not(.grey-theme) .ai-chat-visual {
  background: var(--paper);
}

body.light-theme:not(.grey-theme) .ai-chat-visual__screen {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(38, 63, 99, 0.04)),
    var(--white-accent-bg);
}

body.light-theme .team-mark {
  width: min(210px, 54vw);
  opacity: 0.9;
}

body.light-theme .intro p:not(.eyebrow):not(.statement),
body.light-theme .join p:not(.eyebrow) {
  color: rgba(26, 26, 26, 0.72);
}

body.light-theme .split-title {
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 900px;
  text-align: center;
}

body.light-theme .split-title h2,
body.light-theme .split-title > p {
  margin-left: auto;
  margin-right: auto;
}

body.light-theme .text-links a,
body.light-theme .text-button {
  color: var(--ink);
}

body.light-theme .gallery article img,
body.light-theme .case-list img {
  border-color: var(--line-light);
}

body.light-theme .gallery article img {
  background: #f8f7f4;
}

body.light-theme .steps,
body.light-theme .triad,
body.light-theme .plans,
body.light-theme .scenes {
  border-color: var(--line-light);
}

body.light-theme .steps article,
body.light-theme .triad article,
body.light-theme .plans article,
body.light-theme .scenes article {
  border-color: var(--line-light);
}

body.light-theme .triad span,
body.light-theme .plans span,
body.light-theme .gallery article span,
body.light-theme .gallery article p,
body.light-theme .scenes p,
body.light-theme .case-list span {
  color: rgba(26, 26, 26, 0.58);
}

body.light-theme .light-button {
  border-color: var(--ink);
  color: var(--ink);
}

body.light-theme .light-button:hover {
  background: var(--ink);
  color: var(--warm);
}

body.light-theme .join .light-button {
  background: var(--franky-blue);
  border-color: var(--franky-blue);
  color: #ffffff;
}

body.light-theme .join .light-button:hover {
  background: #1a2c46;
  border-color: #1a2c46;
  color: #ffffff;
}

body.light-theme .footer {
  border-top-color: var(--line-light);
  color: rgba(26, 26, 26, 0.58);
}

body.light-theme .footer-brand,
body.light-theme .footer summary,
body.light-theme .newsletter label {
  color: var(--ink);
}

body.light-theme .footer-logo-brand {
  margin-bottom: 30px;
}

body.light-theme .footer-logo-brand img {
  width: min(300px, 76vw);
}

body.light-theme .newsletter div,
body.light-theme .footer details,
body.light-theme .copyright {
  border-color: var(--line-light);
}

body.light-theme .newsletter input,
body.light-theme .newsletter button {
  color: var(--ink);
}

body.light-theme .newsletter.is-complete .form-message {
  border-top-color: var(--line-light);
}

body.light-theme .newsletter.is-complete .form-message strong {
  color: var(--ink);
}

body.light-theme .newsletter.is-complete .form-message span {
  color: rgba(26, 26, 26, 0.58);
}

body.light-theme .tab-category-section {
  background: var(--paper);
}

body.light-theme .tab-category-section__tabs {
  border-top-color: rgba(224, 221, 214, 0.8);
  border-left-color: rgba(224, 221, 214, 0.8);
}

body.light-theme .tab-category-section__tab {
  background: #ffffff;
  border-right-color: rgba(224, 221, 214, 0.8);
  border-bottom-color: rgba(224, 221, 214, 0.8);
}

body.light-theme .tab-category-section__tab--active {
  background: var(--franky-blue);
  color: #ffffff;
}

body.light-theme .tab-category-section__panel {
  background: #ffffff;
  border-color: rgba(224, 221, 214, 0.8);
}

body.light-theme .tab-category-section__copy {
  background: #ffffff;
  border-right-color: rgba(224, 221, 214, 0.8);
}

body.light-theme .tab-category-section__visual {
  background: #f8f7f4;
}

body.black-theme .tab-category-section {
  background: var(--warm);
}

body.black-theme .tab-category-section,
body.grey-theme .tab-category-section,
body.light-theme .tab-category-section {
  --brand-color: #263f63;
  --brand-color-hover: #1a2c46;
  --brand-color-light: rgba(38, 63, 99, 0.06);
}

body.black-theme .tab-category-section {
  --bg-content-left: #f5f3ef;
  --bg-content-right: #f5f3ef;
}

body.grey-theme {
  --paper: #eef0ed;
  --paper-soft: #e8e9e5;
  --paper-warm: #f1f0ec;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.72), transparent 28%),
    radial-gradient(circle at 76% 18%, rgba(255, 255, 255, 0.5), transparent 30%),
    linear-gradient(135deg, #f2f3f0 0%, #e8e9e5 46%, #f6f5f1 100%);
}

body.grey-theme::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: transparent;
}

body.grey-theme .site-header,
body.grey-theme .site-header.is-scrolled,
body.grey-theme .site-header.is-open {
  background: rgba(238, 240, 237, 0.88);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(26, 26, 26, 0.1);
}

body.grey-theme main,
body.grey-theme .footer {
  position: relative;
  z-index: 1;
}

body.grey-theme .dark,
body.grey-theme .light,
body.grey-theme .gallery-section,
body.grey-theme #plans,
body.grey-theme .join,
body.grey-theme .footer {
  background: transparent;
}

body.grey-theme .intro,
body.grey-theme .tab-category-section,
body.grey-theme .gallery-section,
body.grey-theme #plans,
body.grey-theme .join {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(232, 233, 229, 0.18));
}

body.grey-theme .visual-text {
  background: rgba(255, 255, 255, 0.22);
}

body.grey-theme .franky-profile {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), rgba(238, 240, 237, 0.64));
}

body.grey-theme .wide-image,
body.grey-theme .visual-text figure,
body.grey-theme .case-list img,
body.grey-theme .gallery article img {
  filter: saturate(0.88) contrast(0.94) brightness(1.04);
}

body.grey-theme .steps,
body.grey-theme .triad,
body.grey-theme .plans,
body.grey-theme .scenes,
body.grey-theme .compare,
body.grey-theme .compare > *,
body.grey-theme .steps article,
body.grey-theme .triad article,
body.grey-theme .plans article,
body.grey-theme .scenes article,
body.grey-theme .newsletter div,
body.grey-theme .footer details,
body.grey-theme .copyright {
  border-color: rgba(26, 26, 26, 0.12);
}

body.grey-theme .outline-button {
  background: rgba(255, 255, 255, 0.16);
}

@media (max-width: 980px) {
  body.light-theme .site-nav,
  body.light-theme .auth-links {
    background: var(--paper);
  }

  body.light-theme .site-nav {
    color: var(--ink);
  }

  body.light-theme .site-nav.is-open,
  body.light-theme .site-nav a {
    border-color: var(--line-light);
  }

  body.grey-theme .site-nav,
  body.grey-theme .auth-links {
    background: rgba(238, 240, 237, 0.96);
  }

  body.light-theme .franky-profile {
    grid-template-columns: 1fr;
  }

  body.light-theme .franky-profile figure:first-child {
    min-height: 460px;
  }

  body.light-theme .franky-profile .copy {
    padding: 72px clamp(26px, 8vw, 56px);
  }

  body.light-theme .franky-profile .identity-mark {
    width: min(250px, 72vw);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: -160px;
  }

  body.light-theme .franky-profile h2,
  body.light-theme .franky-profile .copy p:not(.eyebrow):not(.producer-mark),
  body.light-theme .franky-profile .producer-mark {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  body.light-theme .compare {
    display: block;
    border: 0;
  }

  body.light-theme .compare > div:first-child,
  body.light-theme .compare h3 {
    display: none;
  }

  body.light-theme .compare p {
    min-height: 0;
    margin-top: 34px;
    padding: 0 0 12px;
    border: 0;
    border-bottom: 1px solid rgba(38, 63, 99, 0.2);
    color: var(--franky-blue);
    font-family: var(--serif);
    font-size: 22px;
    letter-spacing: 0;
  }

  body.light-theme .compare span {
    display: block;
    min-height: 0;
    margin-top: 12px;
    padding: 18px 18px 20px;
    border: 1px solid rgba(38, 63, 99, 0.14);
    background: #ffffff;
    color: rgba(26, 26, 26, 0.82);
    font-size: 14px;
    line-height: 1.9;
  }

  body.light-theme .compare span::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 6px;
    color: rgba(38, 63, 99, 0.72);
    font-size: 10px;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
  }

  body.black-theme .franky-profile .identity-mark {
    width: min(250px, 72vw);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: -160px;
  }

  body.black-theme .franky-profile h2,
  body.black-theme .franky-profile .copy p:not(.eyebrow):not(.producer-mark),
  body.black-theme .franky-profile .producer-mark {
    text-align: center;
  }

  body.black-theme .compare {
    display: block;
    border: 0;
  }

  body.black-theme .compare > div:first-child,
  body.black-theme .compare h3 {
    display: none;
  }

  body.black-theme .compare p {
    min-height: 0;
    margin-top: 34px;
    padding: 0 0 12px;
    border: 0;
    border-bottom: 1px solid rgba(38, 63, 99, 0.2);
    color: #263f63;
    font-family: var(--serif);
    font-size: 22px;
    letter-spacing: 0;
  }

  body.black-theme .compare span {
    display: block;
    min-height: 0;
    margin-top: 12px;
    padding: 18px 18px 20px;
    border: 1px solid rgba(38, 63, 99, 0.14);
    background: #ffffff;
    color: rgba(26, 26, 26, 0.82);
    font-size: 14px;
    line-height: 1.9;
  }

  body.black-theme .compare span::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 6px;
    color: rgba(38, 63, 99, 0.72);
    font-size: 10px;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
  }

  .tab-category-section__tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    overflow-x: visible;
    padding-bottom: 10px;
    border-right: 1px solid var(--line-light);
    scrollbar-width: thin;
  }

  .tab-category-section__tab {
    min-height: 52px;
    padding: 0 8px;
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .tab-category-section__panel {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  .tab-category-section__copy {
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .tab-category-section__visual,
  .tab-category-section__visual img {
    min-height: 420px;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 700px) {
  .sp-break {
    display: inline;
  }

  .visual-text.reverse {
    display: flex;
    flex-direction: column;
  }

  .visual-text.reverse .copy {
    display: contents;
  }

  .visual-text.reverse .copy .eyebrow {
    order: 1;
    margin: 76px auto 0;
    padding: 0 24px;
  }

  .visual-text.reverse .copy h2 {
    order: 2;
    margin: 22px auto 0;
    padding: 0 24px;
    text-align: center;
  }

  .visual-text.reverse figure {
    order: 3;
    margin-top: 34px;
  }

  .visual-text.reverse .copy p:not(.eyebrow):not(.producer-mark) {
    order: 4;
    margin: 38px auto 0;
    padding: 0 24px;
    text-align: center;
  }

  .visual-text.reverse .copy .producer-mark {
    order: 5;
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
    text-align: center;
  }

  .visual-text.reverse .copy .outline-button {
    order: 6;
    margin: 28px auto 76px;
  }

  .hero,
  .hero picture {
    min-height: 100svh;
  }

  .hero picture {
    aspect-ratio: 1 / 1;
  }

  .hero-copy {
    bottom: 48px;
  }

  .section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .text-links,
  .button-row {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .gallery {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .steps,
  .triad,
  .plans,
  .scenes,
  .case-list {
    grid-template-columns: 1fr;
  }

  .triad {
    gap: 0;
    max-width: 520px;
    overflow: visible;
    padding: 0;
  }

  .steps article,
  .triad article,
  .plans article,
  .scenes article {
    min-height: 220px;
  }

  .steps article,
  .triad article {
    display: grid;
    align-items: start;
    justify-content: start;
    text-align: left;
  }

  .triad article {
    grid-template-columns: 74px minmax(0, 1fr);
    min-height: auto;
    padding: 24px 0;
    background: transparent;
  }

  .triad article:nth-child(2) {
    background: transparent;
  }

  .triad article > p {
    grid-row: 1 / 3;
    margin-top: 4px;
    color: rgba(38, 63, 99, 0.58);
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: 0.12em;
  }

  .triad h3 {
    margin-top: 0;
    font-size: 21px;
  }

  .triad span {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.9;
  }

  .steps {
    gap: 0;
    max-width: 520px;
  }

  .steps article {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: start;
    justify-content: start;
    min-height: auto;
    padding: 22px 0;
    border-bottom: 1px solid rgba(224, 221, 214, 0.82);
    text-align: left;
  }

  .steps article:last-child {
    border-bottom: 0;
  }

  .steps span {
    grid-row: 1 / 3;
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(38, 63, 99, 0.26);
    color: #263f63;
    font-size: 11px;
  }

  .steps h3 {
    margin-top: 0;
  }

  .steps p {
    margin-top: 4px;
  }

  .wide-image {
    min-height: 300px;
  }

  .gallery article img {
    aspect-ratio: 4 / 5;
  }

  .gallery article p {
    margin-top: 12px;
    font-size: 11px;
  }

  .gallery article h3 {
    font-size: 16px;
  }

  .gallery article span {
    font-size: 12px;
    line-height: 1.8;
  }

  .case-list {
    gap: 22px;
  }

  .area-note {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }

  .venue-grid,
  .contact-layout,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .venue-grid--image {
    grid-template-columns: 1fr;
  }

  .venue-card__body {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 18px;
    padding-top: 20px;
  }

  .venue-card__logo {
    width: 64px;
    height: 64px;
  }

  .venue-card--image .venue-card__body {
    padding-top: 18px;
  }

  .contact-hero {
    min-height: 460px;
    padding-bottom: 64px;
  }

  .case-list article {
    display: grid;
    grid-template-columns: minmax(104px, 36%) minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    border-top: 0;
  }

  .case-list img {
    aspect-ratio: 1 / 1;
  }

  .case-list div {
    padding-top: 0;
  }

  .case-list h3 {
    font-size: 16px;
    line-height: 1.55;
  }

  .fixed-contact-cta {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    min-height: 54px;
    padding-right: 16px;
  }

  .fixed-contact-cta__icon {
    width: 38px;
    height: 38px;
  }

  .chef-profile-hero,
  .chef-profile-body {
    grid-template-columns: 1fr;
  }

  .chef-profile-panel--wide {
    grid-column: auto;
  }

  .chef-profile-hero {
    min-height: auto;
    gap: 22px;
    padding-top: 88px;
    padding-bottom: 38px;
  }

  .chef-profile-hero figure {
    width: min(300px, 70vw);
  }

  .chef-profile-copy h1 {
    font-size: clamp(38px, 10vw, 58px);
  }

  .chef-profile-copy .lead {
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.9;
  }

  .tab-category-section {
    padding: 72px 24px;
  }

  .tab-category-section__tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .tab-category-section__tab {
    min-height: 46px;
    padding: 0 4px;
    font-size: 10px;
    letter-spacing: 0;
  }

  .tab-category-section h2 {
    margin-bottom: 30px;
  }

  .tab-category-section__copy {
    width: 100%;
    max-width: 100%;
    padding: 36px 26px 40px;
  }

  .tab-category-section__copy h3 {
    font-size: 25px;
  }

  .tab-category-section__description {
    font-size: 14px;
  }

  .tab-category-section__visual,
  .tab-category-section__visual img {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .tab-category-section__visual img {
    height: 100%;
  }

  .ai-chat-visual {
    width: 100%;
    max-width: 100%;
    min-height: auto;
    padding: 34px 20px;
  }

  .ai-chat-visual__screen {
    min-height: 460px;
    padding: 20px;
  }

  .ai-chat-visual__message {
    max-width: 92%;
    font-size: 13px;
  }

  .footer details:not([open]) a,
  .footer details:not([open]) span {
    display: none;
  }
}
body.password-protected:not(.is-authorized) > header,
body.password-protected:not(.is-authorized) > main,
body.password-protected:not(.is-authorized) > footer {
  display: none;
}

.password-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  color: #f6f0e8;
  background:
    linear-gradient(rgba(9, 9, 9, 0.68), rgba(9, 9, 9, 0.74)),
    url("./assets/editorial/hero-franky-reception.jpg") center / cover;
}

.password-gate__panel {
  width: min(100%, 420px);
  padding: 34px 28px 30px;
  text-align: center;
  border: 1px solid rgba(246, 240, 232, 0.28);
  background: rgba(15, 15, 15, 0.72);
  backdrop-filter: blur(16px);
}

.password-gate__brand {
  width: min(210px, 70%);
  margin: 0 auto 28px;
  filter: brightness(0) invert(1);
}

.password-gate__title {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0;
}

.password-gate__text {
  margin: 0 0 24px;
  color: rgba(246, 240, 232, 0.76);
  font-size: 13px;
  line-height: 1.8;
}

.password-gate__form {
  display: grid;
  gap: 12px;
}

.password-gate__input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  color: #f6f0e8;
  border: 1px solid rgba(246, 240, 232, 0.34);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  font-size: 16px;
  text-align: center;
}

.password-gate__input:focus {
  outline: 1px solid rgba(246, 240, 232, 0.82);
  outline-offset: 2px;
}

.password-gate__button {
  height: 48px;
  color: #111;
  border: 0;
  border-radius: 0;
  background: #f6f0e8;
  font-size: 13px;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.password-gate__error {
  min-height: 18px;
  margin: 2px 0 0;
  color: #ffb6a8;
  font-size: 12px;
}

@media (max-width: 980px) {
  body.light-theme .compare,
  body.black-theme .compare,
  .compare {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    border: 0;
  }

  body.light-theme .compare-card,
  body.black-theme .compare-card,
  .compare-card {
    display: block;
    min-height: 0;
    margin: 0;
    padding: 30px 26px;
    border-radius: 0;
  }

  body.light-theme .compare-card h3,
  body.black-theme .compare-card h3,
  .compare-card h3 {
    display: block;
    margin-top: 18px;
    font-size: 24px;
  }

  body.light-theme .compare-card p,
  body.black-theme .compare-card p,
  .compare-card p {
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.16em;
  }

  body.light-theme .compare-card li,
  body.black-theme .compare-card li,
  .compare-card li {
    display: list-item;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 13px;
    line-height: 1.8;
  }

  body.light-theme .compare-card li::before,
  body.black-theme .compare-card li::before,
  .compare-card li::before {
    content: none;
  }

  .case-list {
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 42vw);
    grid-template-columns: none;
    overflow-x: auto;
  }

  .visual-text.reverse {
    display: flex;
    flex-direction: column;
  }

  .visual-text.reverse .copy {
    display: contents;
  }

  .visual-text.reverse .copy .eyebrow {
    order: 1;
    margin: 76px auto 0;
    padding: 0 24px;
  }

  .visual-text.reverse .copy h2 {
    order: 2;
    margin: 22px auto 0;
    padding: 0 24px;
    text-align: center;
  }

  .visual-text.reverse figure {
    order: 3;
    margin-top: 34px;
  }

  .visual-text.reverse .copy p:not(.eyebrow):not(.producer-mark) {
    order: 4;
    margin: 38px auto 0;
    padding: 0 24px;
    text-align: center;
  }

  .visual-text.reverse .copy .producer-mark {
    order: 5;
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
    text-align: center;
  }

  .visual-text.reverse .copy .outline-button {
    order: 6;
    margin: 28px auto 76px;
  }
}

@media (max-width: 700px) {
  .case-list {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .case-list article {
    display: block;
    border-top: 1px solid var(--line-light);
  }

  .case-list img {
    aspect-ratio: 4 / 5;
  }

  .case-list div {
    padding-top: 14px;
  }

  .case-list h3 {
    font-size: 15px;
  }
}

@media (max-width: 760px) {
  .chef-profile-hero {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
    padding: 86px 22px 30px;
  }

  .chef-profile-hero figure {
    width: min(340px, 82vw);
    justify-self: center;
  }

  .chef-profile-copy h1 {
    margin-top: 8px;
    font-size: clamp(34px, 9vw, 48px);
  }

  .chef-profile-copy .role {
    margin-top: 12px;
    font-size: 13px;
  }

  .chef-profile-copy .lead {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.75;
  }

  .chef-profile-actions {
    margin-top: 22px;
  }

  .chef-profile-actions .outline-button {
    min-width: 0;
    width: 100%;
  }

  .chef-profile-body {
    padding-top: 8px;
  }
}
