:root {
  --ink: #1a1613;
  --paper: #faf6ee;
  --paper-warm: #f4e6c4;
  --accent: #a8402a;
  --accent-deep: #7d2f1d;
  --accent-ink: #ffffff;
  --gold: #c99a2e;
  --muted: #847a6c;
  --line: #e6ddc9;
  --max-width: 880px;
  --font-display: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --font-body: "Hiragino Sans", "Yu Gothic", "Helvetica Neue", Arial, sans-serif;
  --scrollbar-width: 0px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.85;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.02em; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid transparent;
  position: sticky;
  top: 0;
  background: rgba(244, 230, 196, 0.86);
  backdrop-filter: blur(6px);
  z-index: 10;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px rgba(26,22,19,0.06);
  background: rgba(244, 230, 196, 0.97);
}

.site-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: 0.03em;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

.main-nav a {
  position: relative;
  margin-left: 1.2rem;
  color: var(--ink);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding-bottom: 0.2rem;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  transition: right 0.25s ease;
}
.main-nav a:hover { color: var(--accent); text-decoration: none; }
.main-nav a:hover::after,
.main-nav a.is-active::after { right: 0; }
.main-nav a.is-active { color: var(--accent); }

main { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* ---- Akino's banner (Canva-made) ---- */
.banner-akino {
  margin: 2rem calc(-1 * max(1.5rem, (100vw - var(--scrollbar-width) - var(--max-width)) / 2 + 1.5rem)) 0;
}
.banner-akino.hero-banner-top { margin-top: 0; }
.banner-akino img { width: 100%; display: block; }
/* Never stretch the hero banner past its native resolution (3889px) — that's what was causing the blur on wide screens */
.hero-banner-top img {
  width: auto;
  max-width: min(100%, 3889px);
  margin: 0 auto;
}

/* Mobile gets an enlarged, cropped photo (face only). The laurel badges are
   dropped from the banner on mobile and reappear as a real image crop of the
   original artwork, positioned just above the あらすじ section instead. */
.hero-banner-top .hero-banner-photo-mobile { display: none; }

.badges-mobile-only { display: none; }

@media (max-width: 640px) {
  .hero-banner-top .hero-banner-photo-pc { display: none; }
  .hero-banner-top .hero-banner-photo-mobile {
    display: block;
    width: 100%;
    max-width: none;
    height: 42vh;
    object-fit: cover;
    object-position: center top;
  }
  .hero-banner-title-block .hero-banner-h1 { font-size: 1.35rem; white-space: nowrap; }
  .hero-banner-title-block .hero-banner-sub-en { font-size: 1rem; }
  .hero-banner-title-block .hero-banner-tagline-en { font-size: 0.8rem; }
  .badges-mobile-only {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    background: var(--paper-warm);
    padding: 1rem 0;
  }
  .badges-mobile-only img { width: 58%; margin: 0 auto; display: block; }
  .hero-banner-top .hero-banner-marquee-track { width: 560%; }
}
.hero-banner-title-block {
  background: var(--paper-warm);
  text-align: center;
  padding: 1.6rem 1.5rem 1.2rem;
  max-width: min(100%, 3889px);
  margin: 0 auto;
}
.hero-banner-kicker {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: clamp(0.7rem, 1.3vw, 0.95rem);
  color: #6b6155;
  margin: 0 0 0.3rem;
}
.hero-banner-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 5.4vw, 4.1rem);
  line-height: 1.25;
  color: #4a4038;
  margin: 0;
}
.hero-banner-sub-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.7rem 0 0;
}
.hero-banner-sub-en {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2.6vw, 1.9rem);
  color: #4a4038;
}
.hero-banner-tagline-en {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2.6vw, 1.9rem);
  color: #6b6155;
}

.hero-banner-marquee {
  overflow: hidden;
  max-width: min(100%, 3889px);
  margin: 0 auto;
}
.hero-banner-marquee-track {
  display: flex;
  width: 200%;
  animation: hero-marquee 45s linear infinite;
}
.hero-banner-marquee-track img {
  width: calc(50% + 1px);
  margin-right: -1px;
  flex-shrink: 0;
  display: block;
}
@keyframes hero-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-banner-marquee-track { animation: none; }
}

.banner-akino .banner-pc { display: none; }
@media (min-width: 641px) {
  .banner-akino .banner-mobile { display: none; }
  .banner-akino .banner-pc { display: block; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  margin: 0 calc(-1 * max(1.5rem, (100vw - var(--scrollbar-width) - var(--max-width)) / 2 + 1.5rem)) 0;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #111;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.92;
  animation: hero-zoom 16s ease-out forwards;
}
@media (prefers-reduced-motion: reduce) {
  .hero img { animation: none; }
}
@keyframes hero-zoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,8,6,0.08) 0%, rgba(10,8,6,0.18) 40%, rgba(10,8,6,0.9) 100%);
}
.hero-text {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 0 1.5rem 3.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}
.hero-kicker,
.hero-text h1,
.hero-text p.hero-sub,
.hero-cta {
  opacity: 0;
  transform: translateY(14px);
  animation: hero-in 0.8s ease forwards;
}
@media (prefers-reduced-motion: reduce) {
  .hero-kicker, .hero-text h1, .hero-text p.hero-sub, .hero-cta { opacity: 1; transform: none; animation: none; }
}
.hero-kicker { animation-delay: 0.15s; }
.hero-text h1 { animation-delay: 0.3s; }
.hero-text p.hero-sub { animation-delay: 0.45s; }
.hero-cta { animation-delay: 0.6s; }
@keyframes hero-in {
  to { opacity: 1; transform: translateY(0); }
}
.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  color: #e9c972;
  margin: 0 0 0.3rem;
}
.hero-text h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  line-height: 1.35;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero-text p.hero-sub {
  margin: 0 0 1.6rem;
  font-size: 1.05rem;
  opacity: 0.92;
}
.hero-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.hero-cta a {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border-radius: 2px;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.hero-cta a.primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.hero-cta a.primary:hover { background: var(--accent-deep); text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(168,64,42,0.35); }
.hero-cta a.secondary {
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
}
.hero-cta a.secondary:hover { background: rgba(255,255,255,0.14); text-decoration: none; transform: translateY(-2px); }

/* ---- Sections ---- */
.section { padding: 3.5rem 0; border-top: 1px solid var(--line); }
.section:first-of-type { border-top: none; }
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  color: var(--accent);
  margin: 0 0 0.4rem;
}
.section h2 { margin-top: 0; font-size: 1.7rem; }

/* Full-bleed color blocks for alternating section rhythm */
.section--warm, .section--dark {
  margin: 0 calc(-1 * max(1.5rem, (100vw - var(--scrollbar-width) - var(--max-width)) / 2 + 1.5rem));
  padding-left: max(1.5rem, (100vw - var(--scrollbar-width) - var(--max-width)) / 2 + 1.5rem);
  padding-right: max(1.5rem, (100vw - var(--scrollbar-width) - var(--max-width)) / 2 + 1.5rem);
}
.section--warm { background: var(--paper-warm); }
.section--dark {
  --ink: #f4ecd9;
  --paper: #2b241d;
  --line: rgba(244,236,217,0.16);
  --muted: #c3b6a0;
  background: #201a15;
  color: var(--ink);
  border-top-color: transparent;
}

/* ---- Pull quote ---- */
.pull-quote {
  padding-top: 4rem;
  padding-bottom: 4rem;
  text-align: center;
}
.pull-quote blockquote {
  margin: 0 auto;
  max-width: 620px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2rem);
  line-height: 1.8;
  color: var(--ink);
}
.pull-quote blockquote::before { content: "「"; color: var(--gold); }
.pull-quote blockquote::after { content: "」"; color: var(--gold); }

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  margin-top: 1.5rem;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(26,22,19,0.18);
}
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* ---- Image frame + hover zoom (reused by collage / gallery / news cards) ---- */
.frame {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 10px 24px rgba(26,22,19,0.16);
}
.frame img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.frame:hover img { transform: scale(1.07); }
@media (prefers-reduced-motion: reduce) {
  .frame img { transition: none; }
  .frame:hover img { transform: none; }
}

.amerasian-body {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: start;
}
.amerasian-body p:first-child { margin-top: 0; }
.amerasian-manga { margin: 0; }
.amerasian-manga img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(26,22,19,0.12);
}
.amerasian-manga figcaption {
  margin-top: 0.5rem;
  text-align: right;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}
@media (max-width: 640px) {
  .amerasian-body { grid-template-columns: 1fr; gap: 1.2rem; }
}

.intro-signature {
  text-align: right;
  margin: 0.8rem 0.4rem 0 0;
  line-height: 0;
}
.intro-signature img {
  display: inline-block;
  width: clamp(140px, 18vw, 190px);
  height: auto;
  transform: rotate(-3deg);
}

/* ---- Story collage ---- */
.story-collage {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 150px);
  gap: 8px;
  margin-top: 1.8rem;
}
.story-collage .c-a { grid-column: 1 / 4; grid-row: 1 / 3; }
.story-collage .c-a img { object-position: center 15%; }
.story-collage .c-b { grid-column: 4 / 7; grid-row: 1 / 2; }
.story-collage .c-c { grid-column: 4 / 6; grid-row: 2 / 3; }
.story-collage .c-d { grid-column: 6 / 7; grid-row: 2 / 3; }

@media (max-width: 640px) {
  .story-collage {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
  }
  .story-collage img { aspect-ratio: 1; height: auto; object-position: center 20%; }
  .story-collage .c-a,
  .story-collage .c-b,
  .story-collage .c-c,
  .story-collage .c-d {
    grid-column: span 1;
    grid-row: auto;
  }
}

.staff-card {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}
.staff-visuals {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.staff-portrait { width: 140px; flex-shrink: 0; }
.manga-promo {
  position: relative;
  display: block;
  flex: 1 1 320px;
  max-width: 480px;
  aspect-ratio: 2.1 / 1;
}
.manga-promo-tag {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(26,22,19,0.72);
  color: #fff;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease;
}
.manga-promo:hover .manga-promo-tag { background: var(--accent); }
.staff-card h3 { margin: 0 0 0.2rem; font-size: 1.15rem; }
.staff-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-bottom: 0.2rem;
}
.staff-name-row h3 { margin: 0; }
.staff-sns { display: flex; gap: 0.6rem; }
.sns-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fff;
  border: 1.5px solid var(--line);
  box-shadow: 0 4px 10px rgba(26,22,19,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.sns-btn:hover {
  text-decoration: none;
  transform: translateY(-3px) rotate(-4deg);
  box-shadow: 0 8px 16px rgba(26,22,19,0.14);
  border-color: var(--gold);
}
.sns-btn--note {
  font-family: "Hiragino Maru Gothic ProN", "Arial Rounded MT Bold", var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}
@media (prefers-reduced-motion: reduce) {
  .sns-btn, .sns-btn:hover { transition: none; transform: none; }
}
.staff-role { color: var(--muted); margin: 0 0 0.6rem; font-size: 0.9rem; }
.staff-credit-line { color: var(--muted); font-size: 0.95rem; }

.credit-list {
  list-style: none;
  margin: 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  display: grid;
  gap: 0.4rem;
}

/* ---- Awards strip ---- */
.awards-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 2rem;
}
.award-card {
  background: var(--paper);
  padding: 1.4rem 1.5rem;
  transition: background 0.25s ease;
}
.award-card:hover { background: rgba(201,154,46,0.1); }
.award-card .award-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--gold);
  margin: 0 0 0.5rem;
}
.award-card .award-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0;
}
.press-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.9rem;
}
.press-row span {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 0.3rem 0;
}
.press-row span:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.6;
  margin-left: 0.9rem;
  vertical-align: middle;
}

.news-preview-grid, .news-list {
  display: grid;
  gap: 1.5rem;
}
.news-preview-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.news-card, .news-list-item {
  display: block;
  color: var(--ink);
}
.news-list-item { display: flex; gap: 1rem; align-items: flex-start; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.news-list-item .frame { width: 120px; aspect-ratio: 4/3; flex-shrink: 0; }

.news-card .frame { margin-bottom: 0.6rem; aspect-ratio: 4/3; }
.news-card-date { font-size: 0.78rem; color: var(--muted); margin: 0 0 0.2rem; letter-spacing: 0.03em; }
.news-card-title { margin: 0; font-weight: bold; transition: color 0.2s ease; }
.news-card:hover .news-card-title { color: var(--accent); }

.see-all { margin-top: 1.5rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.6rem;
}
.gallery-grid .frame { aspect-ratio: 1; }

.home-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.4rem;
}
.home-gallery .frame { aspect-ratio: 4 / 3; }
@media (max-width: 640px) {
  .home-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
}

.contact-en {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-style: italic;
  color: var(--muted);
  margin: 0.4rem 0 0;
}

.contact-form { display: flex; flex-direction: column; gap: 1rem; max-width: 420px; margin: 1.5rem 0; }
.contact-form label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.9rem; }
.contact-form input, .contact-form textarea {
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(168,64,42,0.12);
}
.contact-form textarea { min-height: 100px; resize: vertical; }
.contact-form button {
  align-self: flex-start;
  background: var(--accent);
  color: var(--accent-ink);
  border: none;
  padding: 0.75rem 2.2rem;
  border-radius: 2px;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.contact-form button:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(168,64,42,0.3); }
.contact-form button:disabled { opacity: 0.6; cursor: default; transform: none; box-shadow: none; }
.contact-botcheck { display: none; }
.contact-status { margin: 0; font-size: 0.92rem; min-height: 1.4em; }
.contact-status.is-success { color: #3f6b3a; }
.contact-status.is-error { color: var(--accent-deep); }

.social-links a { margin-right: 1rem; }

.news-post-image { border-radius: 4px; margin: 1rem 0; }
.news-post-date { color: var(--muted); font-size: 0.9rem; }
.news-post-body p { margin: 0 0 1em; }
.news-post-body pre {
  margin: 0 0 1em;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
}
.news-post-body pre code { font: inherit; }

.site-footer {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 3rem;
  background: var(--paper-warm);
}

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; }
}
.stagger > * { transition-delay: calc(var(--i, 0) * 0.08s); }

@media (max-width: 640px) {
  .hero { min-height: 92vh; }
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.5rem 1rem;
  }
  .main-nav.open { display: flex; }
  .main-nav a { margin: 0.5rem 0; }
  .main-nav a::after { display: none; }
}
