/* Duo Sola: Mint and Ink. Warm, friendly, laughing. */
:root {
  --mint: #dff2ec;
  --mint-deep: #c6e8de;
  --teal: #1b8f89;       /* decoration */
  --teal-d: #0f6b66;     /* text and buttons: at least 4.5:1 on mint, on the deeper mint band, and with white text */
  --ink: #17302f;
  --white: #ffffff;
  --muted: #3f5f5c;
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--mint); color: var(--ink);
  font-family: 'Quicksand', 'Zen Maru Gothic', system-ui, sans-serif;
  font-weight: 500; font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
html[lang="ja"] body, :lang(ja) { font-family: 'Zen Maru Gothic', 'Quicksand', system-ui, sans-serif; line-height: 1.9; }
img { max-width: 100%; display: block; }
a { color: var(--teal-d); text-underline-offset: 3px; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--teal-d); outline-offset: 3px; border-radius: 4px; }

/* Language switching: Japanese is only in the page once checked, and stays hidden until chosen. */
html[data-lang="ja"] [lang="en"] { display: none; }
html[data-lang="ja"] [lang="ja"] { display: inline !important; }

/* Japanese: break lines between phrases, not in the middle of words, and fit the larger headline. */
html[data-lang="ja"] body { line-break: strict; word-break: auto-phrase; }
html[data-lang="ja"] .hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.35; letter-spacing: 0; }
html[data-lang="ja"] .hero .lede { max-width: 24em; }
html[data-lang="ja"] h2 { letter-spacing: 0.02em; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; z-index: 10; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; max-width: 1240px; margin: 0 auto; padding: 16px 32px; }
.brand { text-decoration: none; color: var(--ink); }
.brand-text { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 1.7rem; letter-spacing: 0.08em; }
.brand img { height: 52px; width: auto; }
.top nav { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-left: auto; }
.top nav a { font-weight: 700; font-size: 15px; text-decoration: none; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.top nav a:hover { border-bottom-color: var(--teal); }
.lang-switch { display: inline-flex; border: 2px solid var(--teal-d); border-radius: 999px; overflow: hidden; }
.lang-switch button { font: 700 13px 'Zen Maru Gothic', 'Quicksand', sans-serif; background: transparent; color: var(--teal-d); border: 0; padding: 6px 14px; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: var(--teal-d); color: var(--white); }

/* Headings */
h1, h2, h3 { font-family: 'Quicksand', 'Zen Maru Gothic', sans-serif; font-weight: 700; margin: 0; line-height: 1.2; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { font-family: 'Zen Maru Gothic', sans-serif; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 36px; display: flex; align-items: center; gap: 14px; }
h2::before {
  content: ''; width: 22px; height: 22px; background: var(--teal); flex: none;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.eyebrow { font-weight: 700; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-d); margin-bottom: 14px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 84px 32px; }
.band { background: var(--mint-deep); }

/* Buttons */
.buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn { display: inline-block; padding: 14px 28px; border-radius: 999px; background: var(--teal-d); color: var(--white); font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid var(--teal-d); transition: background 0.2s, color 0.2s, transform 0.2s; }
.btn:hover { background: transparent; color: var(--teal-d); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--teal-d); }
.btn-outline:hover { background: var(--teal-d); color: var(--white); }

/* Hero */
.hero { overflow-x: clip; max-width: 1240px; margin: 0 auto; padding: 20px 32px 84px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); letter-spacing: -0.01em; line-height: 1.08; }
.hero .lede { font-size: 1.2rem; line-height: 1.7; margin-top: 22px; max-width: 32ch; color: var(--muted); }
.hero-photo { position: relative; }
.hero-photo::before { /* a thin orbit ring, a nod to 宇宙 */
  content: ''; position: absolute; inset: -6% -8% -6% -8%; border: 2px solid var(--teal); border-radius: 50%; transform: rotate(-12deg); opacity: 0.4; pointer-events: none;
}
.hero-photo img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 45%; border-radius: 32px; box-shadow: 0 26px 50px -26px rgba(23, 48, 47, 0.5); }

/* About */
.about .intro { max-width: 70ch; font-size: 1.1rem; margin-bottom: 48px; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.person { background: var(--white); border-radius: 28px; padding: 34px; box-shadow: 0 14px 30px -24px rgba(23, 48, 47, 0.5); }
.person img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 20px; }
.person h3 { font-size: 1.5rem; }
.person .role { font-weight: 700; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-d); margin: 6px 0 18px; }
.person p { font-size: 0.98rem; }

/* About photo strip */
.about-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 48px; }
.about-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: 0 14px 30px -22px rgba(23, 48, 47, 0.55); }

.scroll-note { margin: 40px 0 0; text-align: center; font-family: 'Quicksand', 'Zen Maru Gothic', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--teal-d); }
.person-link { margin-top: 1.2em; font-weight: 700; font-size: 0.95rem; }

/* Projects */
.project-list { display: grid; gap: 28px; }
.project { display: grid; grid-template-columns: 300px 1fr; gap: 36px; background: var(--white); border-radius: 28px; padding: 36px; box-shadow: 0 14px 30px -24px rgba(23, 48, 47, 0.5); }
.project h3 { font-size: 1.4rem; line-height: 1.25; }
.project .meta { display: inline-block; margin: 14px 0 0; padding: 6px 14px; border-radius: 999px; background: var(--mint); color: var(--teal-d); font-weight: 700; font-size: 14px; line-height: 1.5; }
.project-body p { font-size: 1rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 22px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.reel { margin: 24px 0 0; }
.reel video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--ink); border-radius: 20px; box-shadow: 0 18px 36px -24px rgba(23, 48, 47, 0.6); }
.reel figcaption { font-size: 15px; margin-top: 12px; color: var(--muted); }
.more-links { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.more-links a { font-weight: 700; font-size: 15px; }

/* Listen */
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 32px; }
.video { margin: 0; }
.frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink); border-radius: 24px; overflow: hidden; box-shadow: 0 18px 36px -24px rgba(23, 48, 47, 0.6); }
.frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video figcaption { font-size: 15px; margin-top: 14px; color: var(--muted); }

/* Next concert */
.next .wrap { padding-top: 40px; padding-bottom: 40px; }
.next .wrap > * { position: relative; }
.next { background: var(--white); }

/* Contact */
.contact { background: var(--teal-d); color: var(--white); }
.contact .wrap { text-align: center; max-width: 760px; }
.contact h2 { justify-content: center; }
.contact h2::before { background: var(--mint); }
.contact a { color: var(--white); }
.contact :focus-visible { outline-color: var(--white); }
.contact .btn { background: var(--white); color: var(--teal-d); border-color: var(--white); font-size: 17px; padding: 16px 34px; }
.contact .btn:hover { background: transparent; color: var(--white); }
.contact p { font-size: 1.1rem; }

.foot { text-align: center; padding: 30px 20px 40px; font-size: 14px; font-weight: 700; letter-spacing: 0.14em; color: var(--muted); }

/* Tablet */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding-bottom: 60px; }
  .hero-photo::before { inset: -4% -3%; }
  .project { grid-template-columns: 1fr; gap: 14px; }
}

/* Phone */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top { padding: 12px 20px; gap: 8px 14px; }
  .brand-text { font-size: 1.4rem; }
  .top nav { margin-left: 0; width: 100%; order: 3; gap: 2px 18px; }
  .top nav a { font-size: 14px; }
  .hero { padding: 8px 20px 48px; }
  .hero-photo::before { inset: -3% -4%; }
  .wrap { padding: 56px 20px; }
  .people { grid-template-columns: 1fr; }
  .about-gallery { grid-template-columns: 1fr; gap: 12px; }
  .about-gallery img { aspect-ratio: 3 / 2; }
  .person, .project { padding: 26px 22px; border-radius: 24px; }
  h2 { margin-bottom: 26px; }
  .btn { padding: 13px 22px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
