:root {
  --ink: #111111;
  --muted: #6e6e6e;
  --line: #e9e4da;
  --paper: #fffefb;
  --cream: #fff8df;
  --yellow: #ffc400;
  --yellow-hover: #f1b900;
  --blue: #0067d9;
  --radius: 24px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Yu Gothic UI", "Yu Gothic", "Hiragino Kaku Gothic ProN",
    "Noto Sans JP", Meiryo, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.shell {
  width: min(1440px, calc(100% - 72px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: #000;
  border-radius: 10px;
}

.skip-link:focus { top: 12px; }

.site-header {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  text-decoration: none;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.025em;
}

.duckmark { font-size: 30px; }

nav {
  display: flex;
  align-items: center;
  gap: 48px;
}

nav a {
  position: relative;
  padding-block: 34px 30px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .02em;
}

nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 18px;
  height: 3px;
  background: var(--yellow);
  transition: left .2s ease, right .2s ease;
}

nav a:hover::after,
nav a.active::after {
  left: 20%;
  right: 20%;
}

.lang-toggle {
  justify-self: end;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: minmax(420px, .85fr) minmax(0, 1.15fr);
  gap: clamp(52px, 7vw, 112px);
  align-items: center;
  padding-block: 56px 34px;
}

.hero-art {
  min-height: 570px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.hero-art img {
  width: min(72%, 410px);
  height: auto;
  object-fit: contain;
  /* The original user-provided image is preserved exactly.
     Only its displayed size is reduced so the whole seated astronaut is visible. */
}

.hero-copy { min-width: 0; }

.eyebrow,
.mini-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  background: var(--yellow);
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
}

.date {
  display: block;
  margin: 28px 0 14px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(52px, 6.1vw, 92px);
  line-height: .94;
  letter-spacing: -.057em;
  overflow-wrap: normal;
  white-space: nowrap;
}

.tagline {
  margin: 25px 0 4px;
  font-size: clamp(21px, 2.1vw, 30px);
  font-weight: 850;
}

.tagline-jp {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.story-grid article {
  padding: 24px 34px 24px 0;
}

.story-grid article + article {
  border-left: 1px solid var(--line);
  padding-left: 34px;
  padding-right: 0;
}

.story-grid h2 {
  margin: 0 0 14px;
  font-size: 20px;
  letter-spacing: -.02em;
}

.story-grid p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
}

.source {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 17px;
  color: var(--blue);
  text-decoration: none;
  font-weight: 850;
  font-size: 15px;
}

.source:hover { text-decoration: underline; }

.actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 23px;
  min-height: 50px;
}

.actions button {
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  padding: 14px 22px;
  font-weight: 900;
  cursor: pointer;
}

.actions button:hover { background: var(--yellow-hover); }

#shareStatus {
  color: var(--muted);
  font-size: 13px;
}

.intro-band {
  margin-top: 34px;
  min-height: 116px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  padding: 24px 34px;
  border: 1px solid #f1d78b;
  border-radius: 16px;
  background: linear-gradient(90deg, #fff9e5, #fffaf0);
}

.intro-band h2 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -.02em;
}

.intro-band p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
}

.about-link {
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid var(--yellow);
  border-radius: 12px;
  padding: 13px 18px;
  background: #fff;
  font-weight: 800;
}

.section {
  padding-block: 86px;
  border-top: 1px solid var(--line);
  margin-top: 50px;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.about h2 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -.04em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.archive-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  margin-top: 36px;
}

.duck-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.duck-card-image {
  min-height: 190px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.duck-card-image img {
  width: 78%;
  height: auto;
  object-fit: contain;
}

.duck-card time {
  color: var(--muted);
  font-size: 13px;
}

.duck-card h3 {
  margin: 8px 0;
  font-size: 28px;
}

.duck-card p { margin: 0; }

.placeholder {
  min-height: 230px;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 30px;
  border: 1px dashed #d9d3c6;
  border-radius: var(--radius);
  background: var(--cream);
}

.placeholder strong {
  font-size: 56px;
  letter-spacing: -.06em;
}

.placeholder p {
  margin: 8px 0 0;
  color: var(--muted);
}

.about {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(50px, 8vw, 120px);
}

.about-copy p {
  line-height: 1.9;
}

.about-copy p:first-child { margin-top: 0; }

.hope {
  margin-top: 28px;
  font-size: 22px;
  font-weight: 900;
}

footer {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.socials {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink);
  font-size: 31px;
}

noscript {
  display: block;
  padding: 12px;
  text-align: center;
  background: #fff3cd;
}

@media (max-width: 1100px) {
  .shell { width: min(100% - 40px, 960px); }
  .site-header { grid-template-columns: 1fr auto; }
  nav {
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
    border-top: 1px solid var(--line);
  }
  nav a { padding-block: 15px 17px; }
  nav a::after { bottom: 7px; }

  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 40px;
  }

  .hero-art {
    width: min(100%, 620px);
    min-height: 520px;
    margin-inline: auto;
  }

  .hero-art img {
    width: min(68%, 390px);
  }

  h1 {
    font-size: clamp(52px, 11vw, 82px);
    white-space: normal;
  }
}

@media (max-width: 700px) {
  .shell { width: min(100% - 28px, 620px); }

  .site-header {
    min-height: 70px;
  }

  .brand {
    font-size: 21px;
  }

  .duckmark { font-size: 24px; }

  nav {
    justify-content: space-between;
    gap: 12px;
  }

  nav a {
    font-size: 12px;
  }

  .lang-toggle {
    width: 46px;
    height: 46px;
  }

  .hero {
    padding-block: 28px 20px;
  }

  .hero-art {
    min-height: 420px;
  }

  .hero-art img {
    width: min(70%, 330px);
  }

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

  .story-grid article {
    padding: 22px 0;
  }

  .story-grid article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }

  .intro-band {
    grid-template-columns: 1fr;
  }

  .about-link {
    justify-self: start;
  }

  .archive-grid,
  .about {
    grid-template-columns: 1fr;
  }

  .duck-card {
    grid-template-columns: 120px 1fr;
    gap: 16px;
    padding: 14px;
  }

  .duck-card-image {
    min-height: 120px;
  }

  .duck-card h3 {
    font-size: 20px;
    overflow-wrap: anywhere;
  }

  footer {
    flex-direction: column;
    justify-content: center;
    padding-block: 30px;
  }
}

@media (max-width: 430px) {
  .hero-art {
    min-height: 360px;
  }

  .hero-art img {
    width: 72%;
  }

  h1 {
    font-size: clamp(43px, 13vw, 62px);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Version 3 data-driven archive */
.archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.duck-card { grid-template-columns: 150px 1fr; }
.duck-card-image img { width: 82%; }
.duck-card a { text-decoration: none; }
@media (max-width: 900px) {
  .archive-grid { grid-template-columns: 1fr; }
}


/* Version 3.3 clickable archive */
.duck-card { padding: 0; overflow: hidden; }
.duck-card-link {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  align-items: center;
  width: 100%;
  padding: 20px;
  text-decoration: none;
  color: inherit;
}
.duck-card-link:hover {
  background: #fffaf0;
}
.view-story {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 800;
  color: #0067d9;
}
@media (max-width: 700px) {
  .duck-card-link {
    grid-template-columns: 120px 1fr;
    gap: 16px;
    padding: 14px;
  }
}


/* Version 3.4 About */
.about-expanded {
  margin: 54px 0;
  padding: 48px 32px;
  border: 1px solid #f0c44c;
  border-radius: 18px;
  background: #fffaf0;
}
.about-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.section-kicker { font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.about-expanded h2 { margin: 12px 0 18px; font-size: clamp(28px, 4vw, 48px); line-height: 1.05; }
.about-expanded p { max-width: 720px; margin: 0 auto 14px; line-height: 1.9; }
.about-manifesto { font-weight: 800; }
