@import url('../assets/fonts/fonts.css');

:root {
  --black: #060606;
  --panel: #0c0d0e;
  --panel-2: #101112;
  --white: #f7f7f5;
  --muted: #b9b9b9;
  --muted-2: #8f8f8f;
  --line: #2b2d2f;
  --line-2: #3a3c3e;
  --red: #f00a14;
  --max: 1448px;
  --display: 'Montserrat', 'Archivo Black', Arial, sans-serif;
  --body: 'Inter', Arial, Helvetica, sans-serif;
  --script: 'Caveat', 'Segoe Script', cursive;
  --note: Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { background: var(--black); }
body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: middle; fill: currentColor; }
.shell { width: 100%; max-width: var(--max); margin: 0 auto; background: var(--black); overflow: hidden; position: relative; }
.red { color: var(--red); }

/* ---------- header ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 60;
  height: 84px;
  display: grid; grid-template-columns: 160px 1fr auto; align-items: center;
  gap: 10px;
  padding: 0 44px;
}
.site-header.pinned {
  position: fixed; background: rgba(5,5,5,.97); border-bottom: 1px solid #232323;
}
.brand { display: inline-flex; flex-direction: column; width: max-content; }
.brand-kanji {
  font-size: 43px; line-height: .8; font-weight: 900; letter-spacing: -1px;
  font-family: 'Yu Gothic', 'Meiryo', 'Noto Sans JP', var(--body);
}
.brand-name {
  color: var(--red); font-family: var(--display); font-style: italic; font-weight: 900;
  font-size: 11px; letter-spacing: .04em; margin-top: 7px;
}
.main-nav { display: flex; justify-content: center; gap: clamp(18px, 2.6vw, 46px); height: 100%; }
.main-nav a {
  display: grid; place-items: center; position: relative;
  font-size: 15px; color: #f2f2f2; white-space: nowrap;
}
.main-nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 14px; width: 0; height: 3px;
  background: var(--red); transform: translateX(-50%); transition: width .18s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.header-right { display: flex; align-items: center; justify-content: flex-end; gap: 30px; }
.header-tagline {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #d9d9d9;
  text-align: right; line-height: 1.8; margin: 0; font-weight: 500;
}
.header-tagline b { font-weight: 500; color: #d9d9d9; }
.btn-red {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--red); border: 0; color: #fff;
  min-height: 44px; padding: 0 34px;
  font-family: var(--body); font-weight: 700; font-size: 15px;
  text-transform: uppercase; letter-spacing: .02em; cursor: pointer;
}
.btn-red:hover { filter: brightness(1.12); }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: rgba(0,0,0,.25); border: 1px solid #a9a9a9; color: #fff;
  min-height: 44px; padding: 0 26px;
  font-family: var(--body); font-weight: 600; font-size: 15px; cursor: pointer;
}
.btn-outline:hover { border-color: #fff; }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 26px; padding: 6px; }

/* ---------- hero (shared) ---------- */
.hero { position: relative; min-height: 382px; overflow: hidden; background: #070707; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; z-index: 0; }
.hero-shade { position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(3,3,3,.96) 0%, rgba(3,3,3,.86) 26%, rgba(3,3,3,.35) 48%, rgba(3,3,3,.12) 62%, rgba(3,3,3,.5) 100%),
    linear-gradient(180deg, rgba(3,3,3,.55) 0%, rgba(3,3,3,0) 30%, rgba(3,3,3,.35) 100%);
}
.hero-person { position: absolute; z-index: 2; left: 50%; bottom: 0; height: 87%; width: auto; transform: translateX(-46%); filter: drop-shadow(0 10px 18px rgba(0,0,0,.7)); }
.hero-side { position: absolute; z-index: 2; top: 0; right: 0; height: 100%; width: 36%; object-fit: cover; object-position: 28% center; filter: grayscale(.75) brightness(.72) contrast(1.05);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
}
.hero-inner { position: relative; z-index: 3; padding: 92px 44px 26px; min-height: inherit; }
.hero-copy { max-width: 585px; }
.eyebrow { color: #cfcfcf; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .34em; margin: 0 0 10px; }
.display {
  margin: 0; font-family: var(--display); font-style: italic; font-weight: 900;
  text-transform: uppercase; font-size: 66px; line-height: .93; letter-spacing: -.015em;
}
.hero-subtitle { margin: 16px 0 0; font-size: 19px; line-height: 1.28; color: #ececec; max-width: 470px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 22px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 41px; margin-top: 21px; }
.fact { display: flex; align-items: center; gap: 11px; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; line-height: 1.7; color: #e6e6e6; }
.fact .icon { font-size: 27px; color: #fff; flex: none; }
.script-note { font-family: var(--script); font-weight: 600; font-size: 36px; line-height: .96; color: #fff; transform: rotate(-3deg); }
.red-slash { display: block; width: 62px; height: 3px; background: var(--red); transform: rotate(-16deg); margin-top: 10px; }
.hero-note { position: absolute; z-index: 4; left: 480px; top: 96px; width: 240px; }
.hero-side-copy { position: absolute; z-index: 4; right: 22px; top: 84px; width: 190px; text-align: center; }
.hero-side-copy .note-list { margin: 0; padding: 0; list-style: none; }
.hero-side-copy .note-list li { color: #c9c9c9; font-size: 12px; letter-spacing: .6em; text-transform: uppercase; line-height: 2; }
.hero-quote {
  position: absolute; z-index: 4; right: 22px; top: 208px; width: 196px;
  border: 1px solid #6a6a6a; padding: 16px 18px 18px;
}
.hero-quote::before { content: ""; display: block; width: 34px; height: 3px; background: var(--red); margin-bottom: 12px; }
.hero-quote p { margin: 0; font-family: var(--note); font-style: italic; font-size: 15px; line-height: 1.55; color: #f2f2f2; }

/* ---------- shared blocks ---------- */
.section-heading {
  margin: 0; font-family: var(--display); font-style: italic; font-weight: 900;
  text-transform: uppercase; font-size: 32px; line-height: .98; letter-spacing: -.01em;
}
.section-heading::after { content: ""; display: block; width: 46px; height: 3px; background: var(--red); margin-top: 11px; }
.section-copy { margin: 15px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.62; }
.note-block { font-family: var(--note); font-style: italic; text-transform: uppercase; letter-spacing: .13em; font-size: 12px; line-height: 1.95; color: #9c9c9c; text-align: right; }
.note-block .red-line { display: block; width: 30px; height: 3px; background: var(--red); margin: 12px 0 12px auto; }
.check-list { list-style: none; margin: 14px 0 0; padding: 0; }
.check-list li { position: relative; padding: 4.5px 0 4.5px 25px; font-size: 13.5px; color: #ddd; }
.check-list .icon { position: absolute; left: 0; top: 6px; font-size: 15px; color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--red); font-weight: 600; font-size: 13.5px; text-transform: uppercase; letter-spacing: .02em; }

/* ---------- home: benefits band ---------- */
.home-benefits {
  display: grid; grid-template-columns: 295px 1fr 1fr 205px; gap: 11px;
  padding: 34px 44px 36px; align-items: stretch; border-top: 1px solid #232323;
}
.home-benefits > :first-child,
.home-modalities > :first-child {
  width: 100%;
  min-width: 0;
  justify-self: start;
  text-align: left;
}
.home-benefits .lead { margin: 15px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.62; }
.info-panel { background: var(--panel); border: 1px solid #26282a; padding: 22px 24px 20px; }
.info-panel-head { display: flex; gap: 18px; align-items: flex-start; }
.info-panel-head .icon { font-size: 46px; color: #fff; flex: none; }
.info-panel h3 { margin: 6px 0 0; font-size: 17px; font-weight: 700; color: #fff; }
.home-benefits .note-block { align-self: center; padding-right: 6px; }

/* ---------- home: modalities band ---------- */
.home-modalities {
  display: grid; grid-template-columns: 208px 1fr 1fr 1fr; gap: 11px;
  padding: 16px 44px 22px; align-items: stretch; border-top: 1px solid #232323;
}
.home-modalities .section-heading { font-size: 31px; }
.photo-card { position: relative; overflow: hidden; display: block; min-height: 128px; background: #0a0a0a; }
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.78) contrast(1.05); }
.photo-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.92) 100%); }
.photo-card-copy { position: absolute; z-index: 2; left: 20px; bottom: 16px; right: 16px; }
.photo-card-copy .red-line { width: 30px; height: 3px; background: var(--red); margin-bottom: 9px; }
.photo-card-copy h3 { margin: 0; font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 20px; line-height: 1.02; color: #fff; }
.photo-card-copy p { margin: 7px 0 0; font-size: 12.5px; color: #cfcfcf; }

/* ---------- home: exchange band ---------- */
.exchange-band { display: grid; grid-template-columns: 388px 1fr 358px; min-height: 128px; border-top: 1px solid #232323; }
.exchange-band > img { width: 100%; height: 100%; object-fit: cover; }
.exchange-band-copy { padding: 14px 26px 12px; text-align: center; align-self: center; }
.exchange-band-copy .flags { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.exchange-band-copy .flags .flag { width: 34px; height: 23px; }
.exchange-band-copy h2 { margin: 0; font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 25px; line-height: 1.05; }
.exchange-band-copy p { margin: 9px auto 0; font-size: 12.5px; line-height: 1.5; color: #d6d6d6; max-width: 400px; }
.exchange-band-copy .cities { display: flex; justify-content: center; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 9px; font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: #e2e2e2; }
.exchange-band-copy .cities .icon { font-size: 15px; }
.exchange-band-copy small {
  margin-top: 7px;
  font-size: clamp(9px, .75vw, 11px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .075em;
  color: #fff;
  white-space: nowrap;
  text-shadow: 0 1px 7px rgba(0,0,0,.9);
}
.exchange-media { position: relative; overflow: hidden; }
.exchange-media img { width: 100%; height: 100%; object-fit: cover; }
.exchange-media .script-note { position: absolute; left: 24px; top: 22px; font-size: 27px; line-height: 1.02; text-shadow: 0 2px 10px rgba(0,0,0,.7); }
.exchange-media .red-slash { width: 54px; margin-top: 7px; }

/* ---------- home: sensei band ---------- */
.sensei-band { display: grid; grid-template-columns: 436px 1fr 498px; min-height: 178px; border-top: 1px solid #232323; }
.sensei-band > img.band-photo { width: 100%; height: 100%; object-fit: cover; }
.sensei-band .band-copy { padding: 20px 40px 22px; background: #0a0a0a; }
.sensei-band .eyebrow { color: #d5d5d5; margin-bottom: 6px; }
.sensei-band h2 { margin: 0; font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 34px; line-height: .98; }
.sensei-band .band-copy p { margin: 12px 0 0; font-size: 12.5px; line-height: 1.68; color: #cfcfcf; max-width: 470px; }
.sensei-band .band-copy p.philosophy-label { margin-top: 12px; font-weight: 700; color: #fff; }
.sensei-band .band-copy p.philosophy-quote { margin-top: 5px; font-family: var(--note); font-style: italic; font-size: 13px; line-height: 1.6; color: #e6e6e6; max-width: 460px; }
.sensei-media { position: relative; overflow: hidden; }
.sensei-media > img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06) brightness(.82); }
.sensei-media .note-block { position: absolute; right: 22px; top: 22px; width: 150px; color: #e4e4e4; }
.sensei-media .note-block ul { list-style: none; margin: 0; padding: 0; color: #b1b1b1; }

/* ---------- footer ---------- */
.site-footer {
  min-height: 96px; padding: 18px 44px;
  display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 26px;
  border-top: 1px solid #262626; background: #050505;
}
.footer-info { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 48px; }
.footer-item { display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 1.5; color: #e8e8e8; }
.footer-item .icon { font-size: 21px; flex: none; }
.footer-item.phone { font-size: 15.5px; font-weight: 500; }
.footer-item.phone .icon { font-size: 22px; }
.footer-social { display: flex; align-items: center; gap: 34px; }
.footer-social .icon { font-size: 21px; }
.footer-right { display: flex; align-items: center; gap: 18px; }
.footer-right .divider { width: 1px; align-self: stretch; background: #4a4a4a; margin-block: 6px; }
.footer-motto { font-size: 10px; letter-spacing: .13em; text-transform: uppercase; line-height: 1.85; color: #d6d6d6; white-space: nowrap; }

/* ---------- gallery ---------- */
.gallery-hero { min-height: 330px; }
.gallery-hero .hero-inner { padding-top: 105px; }
.gallery-hero .display { font-size: 64px; }
.gallery-hero .hero-sub { margin: 12px 0 0; font-size: 13.5px; line-height: 1.68; color: #d5d5d5; max-width: 500px; }
.gallery-section { padding: 30px 44px 40px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.gallery-card { background: #0b0c0d; border: 1px solid #26282a; padding: 12px; }
.gallery-main { width: 100%; height: 420px; object-fit: cover; }
.gallery-card h2 { margin: 16px 6px 7px; font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 22px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gallery-card h2 .icon { font-size: 18px; color: #fff; }
.gallery-card p { margin: 0 6px 16px; font-size: 12.5px; line-height: 1.6; color: #cfcfcf; min-height: 58px; }
.thumbs { display: grid; grid-template-columns: 26px repeat(3, 1fr) 26px; gap: 8px; align-items: center; }
.thumbs button { border: 0; background: transparent; padding: 0; cursor: pointer; font-size: 0; color: #fff; display: grid; place-items: center; }
.thumbs button .icon { font-size: 22px; }
.thumb { height: 74px; width: 100%; object-fit: cover; border: 2px solid #2f2f2f; cursor: pointer; }
.thumb.active { border-color: var(--red); }

/* ---------- home responsive ---------- */
@media (max-width: 1180px) {
  .site-header { grid-template-columns: 140px 1fr auto; padding-inline: 28px; }
  .header-tagline { display: none; }
  .hero-person { transform: translateX(-40%); }
  .home-benefits { grid-template-columns: 260px 1fr 1fr; }
  .home-benefits .note-block { display: none; }
  .sensei-band { grid-template-columns: 1fr 1fr; }
  .sensei-band .sensei-media { display: none; }
  .home-modalities { grid-template-columns: 180px 1fr 1fr 1fr; }
  .exchange-band { grid-template-columns: 300px 1fr 300px; }
}
@media (max-width: 900px) {
  .main-nav { display: none; position: absolute; top: 84px; left: 0; right: 0; height: auto; flex-direction: column; align-items: stretch; gap: 0; background: #060606; border-bottom: 1px solid #262626; padding: 8px 24px 16px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 4px; justify-content: flex-start; font-size: 16px; }
  .main-nav a::after { left: 4px; bottom: 6px; transform: none; }
  .menu-toggle { display: block; justify-self: end; }
  .site-header { grid-template-columns: 1fr auto auto; }
  .header-cta-wrap { display: none; }
  .hero { min-height: 640px; }
  .hero-inner { padding: 100px 24px 330px; }
  .display { font-size: 52px; }
  .hero-note { position: static; display: block; margin-top: 26px; width: auto; }
  .hero-side-copy, .hero-quote { display: none; }
  .hero-person { height: 52%; left: 50%; transform: translateX(-50%); }
  .hero-side { width: 55%; opacity: .55; }
  .home-benefits, .home-modalities { grid-template-columns: 1fr; padding-inline: 24px; }
  .home-benefits .note-block { display: block; text-align: left; }
  .home-benefits .note-block .red-line { margin-left: 0; }
  .home-modalities .photo-card { min-height: 220px; }
  .exchange-band, .sensei-band { grid-template-columns: 1fr; }
  .exchange-band > img, .sensei-band > img.band-photo { max-height: 220px; }
  .sensei-media { display: block; }
  .sensei-media .note-block { top: 18px; }
  .site-footer { grid-template-columns: 1fr; text-align: center; padding: 24px; }
  .site-footer .brand { margin: 0 auto; }
  .footer-info { gap: 18px; }
  .footer-social { justify-content: center; }
  .footer-right { flex-direction: column; gap: 12px; }
  .footer-right .divider { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-main { height: 340px; }
}
@media (max-width: 520px) {
  .display { font-size: 42px; }
  .hero-subtitle { font-size: 16px; }
  .btn-red, .btn-outline { width: 100%; }
  .gallery-main { height: 280px; }
  .thumbs { grid-template-columns: 22px repeat(3, 1fr) 22px; gap: 5px; }
  .thumb { height: 56px; }
}

/* Home hero restoration */
.home-hero {
  min-height: 460px;
  background: #070707;
}
.home-hero .hero-bg {
  object-position: center center;
}
.home-hero .hero-shade {
  background: linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.76) 32%, rgba(0,0,0,.18) 58%, rgba(0,0,0,.28) 100%);
}
.home-hero .hero-inner {
  padding: 104px 44px 30px;
}
.home-hero .hero-copy {
  width: 43%;
  max-width: 560px;
}
.home-hero .display {
  font-size: clamp(54px, 5vw, 72px);
  line-height: .91;
}
.home-hero .hero-person {
  left: 69%;
  bottom: -7%;
  height: 100%;
  transform: translateX(-50%);
}

@media (max-width: 900px) {
  .home-hero { min-height: 680px; }
  .home-hero .hero-inner { padding: 100px 24px 320px; }
  .home-hero .hero-copy { width: 100%; max-width: 560px; }
  .home-hero .display { font-size: clamp(44px, 12vw, 62px); }
  .home-hero .hero-person { left: 50%; bottom: -3%; height: 48%; transform: translateX(-50%); }
  .home-hero .hero-shade { background: linear-gradient(180deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.55) 48%, rgba(0,0,0,.25) 100%); }
}

/* Home modalities uses a nested card grid in the current HTML. */
.home-modalities {
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: stretch;
  column-gap: 44px;
  padding-right: 0;
}
.home-modalities-cards {
  width: 100%;
  justify-self: stretch;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.home-modalities .photo-card {
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1.6;
}
.home-modalities .photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 900px) {
  .home-modalities { grid-template-columns: 1fr; padding-right: 24px; row-gap: 22px; }
  .home-modalities-cards { grid-template-columns: 1fr; }
  .home-modalities .photo-card { min-height: 230px; aspect-ratio: auto; }
  .exchange-band-copy small { white-space: normal; }
}
