/* さよなら人工衛星
   Direction: gig flyer / record sleeve. Sharp corners, one accent (logo red), type as graphic.
   Dials: variance 8 / motion 3 / density 4 */

:root {
  --paper: #ecebe7;
  --ink: #171615;
  --mute: #5b5955;
  --line: #c9c7c1;
  --red: #a4101f;
  --on-red: #f6f3ee;
  --en: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ja: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141312;
    --ink: #ecebe6;
    --mute: #a19e97;
    --line: #34322f;
    --red: #cf2c3c;
    --on-red: #fff8f4;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ja);
  font-size: 16px;
  line-height: 1.85;
  font-feature-settings: "palt";
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: .02em; line-height: 1.6; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

section { padding: clamp(64px, 9vw, 128px) var(--gutter); max-width: var(--max); margin: 0 auto; }

/* condensed display word used as section headline */
.display {
  font-family: var(--en);
  font-weight: 800;
  font-stretch: 62%;
  font-variation-settings: "wdth" 62;
  font-size: clamp(64px, 12vw, 176px);
  line-height: .82;
  letter-spacing: -.01em;
  margin: 0 0 .35em;
  color: var(--ink);
}
.lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 38em; color: var(--mute); }

/* buttons: sharp, one accent */
.btn {
  display: inline-block;
  font-family: var(--en);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .06em;
  text-decoration: none;
  padding: 14px 22px;
  background: var(--red);
  color: var(--on-red);
  border: 2px solid var(--red);
  white-space: nowrap;
  transition: transform .2s cubic-bezier(.16,1,.3,1), background .2s;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); margin-top: 40px; }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.link {
  font-family: var(--en); font-weight: 700; font-size: 15px; letter-spacing: .06em;
  text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
.link:hover { color: var(--red); }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 var(--gutter);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav__mark img { height: 36px; width: auto; }
.nav nav { display: flex; gap: clamp(14px, 2.4vw, 32px); }
.nav nav a {
  font-family: var(--en); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-decoration: none;
}
.nav nav a:hover { color: var(--red); }
.nav nav a[aria-current="page"] { border-bottom: 2px solid currentColor; }
.nav__toggle { display: none; }
.nav__book { color: var(--red); }

/* HERO */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  align-items: end;
  min-height: calc(100dvh - 64px);
  padding-top: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(28px, 4vw, 48px);
  column-gap: 16px;
}
.hero__photo {
  grid-column: 6 / 13; grid-row: 1;
  margin: 0;
  align-self: start;
  aspect-ratio: 1 / 1;
  max-height: 72dvh;
  justify-self: end;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__en {
  grid-column: 1 / 13; grid-row: 1;
  position: relative; z-index: 2;
  align-self: end;
  margin: 0 0 -.06em;
  font-family: var(--en);
  font-weight: 900;
  font-stretch: 62%;
  font-variation-settings: "wdth" 62;
  font-size: clamp(76px, 15.5vw, 236px);
  line-height: .8;
  letter-spacing: -.012em;
  color: var(--red);
  pointer-events: none;
}
.hero__en span { display: block; }
.hero__en span:last-child { mix-blend-mode: multiply; }
@media (prefers-color-scheme: dark) { .hero__en span:last-child { mix-blend-mode: normal; } }
.hero__ja {
  position: absolute;
  top: clamp(24px, 4vw, 56px);
  left: var(--gutter);
  writing-mode: vertical-rl;
  font-family: var(--ja);
  font-weight: 900;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: .12em;
  line-height: 1;
  margin: 0;
}
.hero__foot {
  grid-column: 1 / 13; grid-row: 2;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 32px;
  border-top: 2px solid var(--ink);
  padding-top: 18px; margin-top: 18px;
}
.hero__tag { margin: 0; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; }
.hero__cta { display: flex; align-items: center; gap: 28px; }

@media (prefers-reduced-motion: no-preference) {
  .hero__photo { animation: rise .9s cubic-bezier(.16,1,.3,1) both; }
  .hero__en span { animation: rise .9s cubic-bezier(.16,1,.3,1) both; }
  .hero__en span:last-child { animation-delay: .08s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* INTRO */
.intro {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px; align-items: start;
}
.intro__logo { grid-column: 1 / 4; width: 100%; max-width: 240px; margin-top: 8px; }
.intro__text { grid-column: 5 / 12; font-size: clamp(19px, 2vw, 26px); line-height: 1.9; font-weight: 700; }

/* WATCH */
.watch__grid {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px; row-gap: 32px;
}
.video { margin: 0; }
.video--main { grid-column: 1 / 9; }
.video--sub { grid-column: 9 / 13; margin-top: clamp(40px, 12vw, 180px); }
.video__frame {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  padding: 0; border: 0; background: var(--ink); cursor: pointer; overflow: hidden;
}
.video__frame img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .3s, transform .6s cubic-bezier(.16,1,.3,1); }
.video__frame:hover img { opacity: 1; transform: scale(1.02); }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play {
  position: absolute; left: 0; bottom: 0;
  background: var(--red); color: var(--on-red);
  font-family: var(--en); font-weight: 800; font-size: 14px; letter-spacing: .1em;
  padding: 10px 16px;
}
.video figcaption { display: grid; gap: 2px; padding-top: 12px; }
.video figcaption strong { font-size: 20px; line-height: 1.4; }
.video figcaption span { font-size: 13px; color: var(--mute); }
.video__kind {
  justify-self: start;
  font-family: var(--mono);
  color: #fff !important;
  background: #171615;
  padding: 1px 8px;
  letter-spacing: .06em;
}

/* LISTEN */
.listen__grid {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px; row-gap: 40px; margin-top: 24px;
}
.release { display: grid; gap: 20px; align-content: start; }
.release--main { grid-column: 1 / 9; grid-template-columns: 3fr 2fr; }
.release--sub { grid-column: 9 / 12; margin-top: clamp(0px, 10vw, 140px); }
.release img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; box-shadow: 0 1px 0 var(--line); }
.release h3 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 900; line-height: 1.3; margin: 0 0 4px; }
.release .mono { color: var(--mute); }
.tracks { list-style: none; counter-reset: t; padding: 0; margin: 18px 0 0; border-top: 2px solid var(--ink); }
.tracks li { counter-increment: t; padding: 7px 0; font-weight: 700; display: flex; gap: 14px; }
.tracks li::before { content: counter(t, decimal-leading-zero); font-family: var(--mono); font-weight: 400; color: var(--red); font-size: 13px; padding-top: 3px; }

/* LIVE: flyer listing */
.live__head {
  font-family: var(--en); font-weight: 800; font-stretch: 80%; font-variation-settings: "wdth" 80;
  font-size: 18px; letter-spacing: .08em; margin: 48px 0 0; padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}
.gigs { list-style: none; margin: 0; padding: 0; }
.gigs--next li {
  display: grid; grid-template-columns: clamp(220px, 24vw, 330px) minmax(0, 5fr) minmax(0, 3fr) 8em; gap: 8px 24px; align-items: baseline;
  padding: 22px 0;
}
.gigs--next li + li { border-top: 1px solid var(--line); }
.gig__date {
  font-family: var(--en); font-weight: 800; font-stretch: 62%; font-variation-settings: "wdth" 62;
  font-size: clamp(36px, 4.4vw, 60px); line-height: 1; white-space: nowrap;
}
.gig__date small { font-size: .42em; margin-left: .4em; color: var(--red); letter-spacing: .06em; }
.gigs--next .gig__event { font-weight: 700; font-size: 18px; }
.gig__venue { color: var(--mute); }
.gig__label { font-family: var(--mono); font-size: 12px; color: var(--red); white-space: nowrap; }
.gigs--past {
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; padding-top: 12px;
}
.gigs--past li {
  display: grid; grid-template-columns: 138px 1fr; gap: 0 16px; padding: 12px 0; align-items: baseline;
}
.gigs--past time { font-family: var(--mono); font-size: 13px; grid-row: span 3; }
.gigs--past .gig__event { font-weight: 700; }
.gigs--past .gig__venue, .gigs--past .gig__label { grid-column: 2; font-size: 14px; }
.gigs--past li.is-key .gig__event { color: var(--red); }

/* PROJECTS: the one full-bleed colour block (flyer sheet) */
.projects { max-width: none; background: var(--red); color: var(--on-red); padding-left: 0; padding-right: 0; }
.projects__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.projects .display { color: var(--on-red); }
.projects .lead { color: var(--on-red); opacity: .85; }
.project {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px; margin-top: 40px;
  border-top: 2px solid var(--on-red); padding-top: 24px;
}
.project__title { grid-column: 1 / 6; }
.project__title h3 { font-size: clamp(40px, 5.6vw, 84px); line-height: 1.05; font-weight: 900; margin: 8px 0 0; letter-spacing: -.01em; }
.project__body { grid-column: 7 / 13; font-size: 17px; }
.credits { margin: 24px 0 0; display: grid; gap: 6px; font-size: 14px; }
.credits div { display: grid; grid-template-columns: 6em 1fr; gap: 12px; }
.credits dt { font-weight: 700; }
.credits dd { margin: 0; }
.project-next {
  margin-top: 56px; margin-left: calc(100% / 12 * 6 + 8px);
  border-left: 2px solid var(--on-red); padding-left: 20px;
}
.project-next h3 { font-size: 24px; font-weight: 900; margin: 4px 0 8px; line-height: 1.4; }
.project-next p:last-child { margin: 0; font-size: 15px; }

/* PRESS */
.press__series { font-weight: 700; font-size: 18px; }
.press__list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 3fr 2fr; gap: 24px; }
.press__list a {
  display: grid; gap: 12px; text-decoration: none; height: 100%;
  border-top: 2px solid var(--ink); padding-top: 16px;
}
.press__list a:hover .press__title { color: var(--red); }
.press__title { font-weight: 700; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; }
.press__list li:first-child .press__title { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.45; }

/* ABOUT */
.about { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 16px; }
.about .display { grid-column: 1 / 13; }
.members { grid-column: 1 / 6; list-style: none; margin: 0; padding: 0; }
.members li { display: grid; padding: 14px 0; border-top: 1px solid var(--line); }
.members li:first-child { border-top: 2px solid var(--ink); }
.members__ja { font-size: clamp(26px, 3vw, 38px); font-weight: 900; line-height: 1.3; }
.members__en { font-family: var(--en); font-weight: 700; font-size: 13px; letter-spacing: .1em; }
.members__part { font-family: var(--mono); font-size: 13px; color: var(--mute); }
.members__support { border-top: 1px dashed var(--line) !important; }
.profile { grid-column: 7 / 13; }
.roots { grid-column: 7 / 13; margin-top: 16px; padding-top: 16px; border-top: 2px solid var(--ink); }
.roots h2 { font-family: var(--en); font-weight: 800; font-size: 14px; letter-spacing: .1em; margin: 0 0 8px; }
.roots p { margin: 0; font-weight: 700; }

/* BOOKING */
.booking__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; margin-top: 24px; }
.booking__head { font-size: 14px; font-weight: 700; margin: 32px 0 12px; }
.booking__head:first-child { margin-top: 0; }
.formats { list-style: none; margin: 0; padding: 0; }
.formats li { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); align-items: baseline; }
.formats li:first-child { border-top: 2px solid var(--ink); }
.formats strong { font-family: var(--en); font-weight: 800; font-stretch: 80%; font-variation-settings: "wdth" 80; font-size: 20px; letter-spacing: .04em; }
.terms { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; }
.terms dt { font-size: 13px; color: var(--mute); }
.terms dd { margin: 0; font-weight: 700; }
.contact { background: var(--ink); color: var(--paper); padding: clamp(24px, 3vw, 40px); align-self: start; }
.contact__topics { margin: 0 0 12px; opacity: .8; }
.contact__mail {
  display: block; font-family: var(--en); font-weight: 800; font-stretch: 75%; font-variation-settings: "wdth" 75;
  font-size: clamp(26px, 3.2vw, 44px); line-height: 1.1; text-decoration: none; word-break: break-all;
  border-bottom: 3px solid var(--red); padding-bottom: 8px;
}
.contact__mail:hover { color: var(--red); }
.contact .booking__head { margin-top: 28px; }
.checklist { margin: 0; padding-left: 1.2em; font-size: 15px; }

/* FOOTER */
.footer {
  max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 48px;
  display: grid; grid-template-columns: 2fr 2fr 1fr; gap: 24px; border-top: 2px solid var(--ink);
  font-size: 14px;
}
.footer__org { font-family: var(--en); font-weight: 800; letter-spacing: .06em; }
.footer__org span { font-family: var(--ja); font-weight: 700; letter-spacing: 0; }
.footer__sns { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer__sns a { text-decoration: none; border-bottom: 1px solid var(--line); }
.footer__sns a:hover { color: var(--red); }
.footer__small { color: var(--mute); align-self: end; justify-self: end; margin: 0; }

/* MOBILE: everything collapses to one column */
@media (max-width: 767px) {
  .nav__toggle {
    display: block; margin-left: auto;
    font-family: var(--en); font-weight: 800; font-size: 13px; letter-spacing: .1em;
    background: none; border: 2px solid var(--ink); color: var(--ink); padding: 6px 12px; cursor: pointer;
  }
  .nav__toggle-close { display: none; }
  .nav.is-open .nav__toggle-open { display: none; }
  .nav.is-open .nav__toggle-close { display: inline; }
  .nav nav {
    display: none;
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 2px solid var(--ink);
    padding: 8px var(--gutter) 24px;
  }
  .nav.is-open nav { display: flex; }
  .nav nav a {
    font-family: var(--en); font-weight: 800; font-stretch: 62%; font-variation-settings: "wdth" 62;
    font-size: 44px; line-height: 1.1; padding: 6px 0; border-bottom: 1px solid var(--line);
  }
  .nav nav a[aria-current="page"] { color: var(--red); border-bottom: 1px solid var(--line); }
  .video--more, .release--more { margin-top: 40px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: auto; }
  .hero__photo { width: 100%; max-height: none; order: -1; }
  .hero__en { align-self: stretch; margin: -.62em 0 0; font-size: clamp(56px, 18vw, 110px); }
  .hero__ja { display: none; }
  .hero__foot { flex-direction: column; align-items: flex-start; }
  .intro, .watch__grid, .listen__grid, .about, .project { display: block; }
  .intro__logo { max-width: 160px; margin-bottom: 24px; }
  .video--sub, .release--sub { margin-top: 40px; }
  .release--main { display: grid; grid-template-columns: 1fr; }
  .gigs--next li { grid-template-columns: 1fr; gap: 4px; }
  .gigs--past { grid-template-columns: 1fr; }
  .project__body { margin-top: 24px; }
  .project-next { margin-left: 0; }
  .press__list { grid-template-columns: 1fr; gap: 24px; }
  .profile, .roots { margin-top: 32px; }
  .booking__grid { grid-template-columns: 1fr; gap: 40px; }
  .terms { grid-template-columns: 1fr; }
  .formats li { grid-template-columns: 1fr; gap: 0; }
  .footer { grid-template-columns: 1fr; }
  .footer__small { justify-self: start; }
}

/* WordPress 化で追加：複数ページ用 */
.more { margin: 40px 0 0; }
.empty { color: var(--mute); padding: 22px 0; margin: 0; }
.page__body { max-width: 42em; margin-bottom: 32px; }
.page__body > :last-child { margin-bottom: 0; }
.page__title { font-size: clamp(26px, 3.4vw, 44px); font-weight: 900; line-height: 1.4; margin: 8px 0 32px; }
.page__body img { height: auto; }
.page__body a { text-underline-offset: 3px; }
.page__body a:hover { color: var(--red); }
.live .page__body { margin-top: 8px; }
h1.display + .page__body { margin-top: -8px; }

/* 3件目以降の映像・リリース */
.video--more { grid-column: span 6; }
.release--more { grid-column: span 4; }
.release__link { margin: 20px 0 0; }

/* サブページ：ヘッダー直下の余白を少し詰める */
body:not(.home) main > section:first-child { padding-top: clamp(48px, 6vw, 88px); }
.gigs--next .gig__label { white-space: normal; }
