/* =============================================================
   AnalogStage — Monochrome Poster Wall (production)
   Pure white, pure ink-black, controlled poster-red. Massive
   condensed display type, screen-print rhythm, the artist tiles
   become the wall they were always built for.
   ============================================================= */

:root {
  --bg: #ffffff;
  --bg-paper: #f6f3ec;
  --bg-panel: #0a0a0a;
  --ink: #0a0a0a;
  --ink-soft: #2a2a2a;
  --ink-muted: #595959;
  --red: #d50500;
  --red-bright: #e10600;
  --red-deep: #b80500;
  --rule: #0a0a0a;
  --rule-soft: rgba(10, 10, 10, 0.18);

  --font-display: 'Anton', 'Arial Narrow', 'Impact', sans-serif;
  --font-body: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;
  --font-jp: 'Noto Sans JP', 'Hiragino Sans', sans-serif;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-py: clamp(96px, 13vw, 160px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-weight: 500;
  text-rendering: optimizeLegibility;
}

body.lang-jp { font-family: var(--font-jp); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

main:focus { outline: none; }

/* Visually hidden but available to screen readers */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =============================================================
   FOCUS RINGS — high-contrast against white and against ink
   ============================================================= */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}
.contact-poster :focus-visible,
.legend-poster :focus-visible {
  outline-color: var(--red-bright);
}
.stamp-btn:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}
.stamp-btn--red:focus-visible,
.stamp-btn--filled:focus-visible {
  outline-color: var(--ink);
}
.contact-poster .stamp-btn:focus-visible {
  outline-color: #fff;
}
.pf-row input:focus-visible,
.pf-row textarea:focus-visible {
  outline: none;
  border-bottom-color: var(--red-bright);
  box-shadow: 0 1px 0 0 var(--red-bright);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 12px 20px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 1000;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

/* =============================================================
   HEADER
   ============================================================= */
.poster-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 3px solid var(--ink);
}

.ph-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ph-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ph-brand-mark {
  width: 36px;
  height: 36px;
  display: block;
  flex-shrink: 0;
}

.ph-brand-word {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.ph-nav {
  display: flex;
  gap: 28px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.ph-nav a {
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.ph-nav a::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ph-nav a:hover::before,
.ph-nav a:focus-visible::before { transform: scaleX(1); }

.ph-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.ph-lang-btn {
  color: var(--ink-soft);
  padding: 4px 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.ph-lang-btn.is-active {
  color: #fff;
  background: var(--ink);
  padding: 4px 8px;
}

.ph-lang-divider { color: var(--ink-muted); }

.ph-marquee {
  background: var(--ink);
  color: #fff;
  padding: 8px 0;
  overflow: hidden;
  border-bottom: 3px solid var(--red);
}

.ph-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
  will-change: transform;
}

.ph-marquee:hover .ph-marquee-track { animation-play-state: paused; }

.ph-marquee-track span {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.12em;
  padding: 0 16px;
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =============================================================
   SHARED — BAND HEAD
   The user's tweak: numbered "02 / ROSTER" credential chips are
   removed. The kicker is the same printed pill, just without the
   number — keeps the screen-print rhythm intact.
   ============================================================= */
.band-head {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  margin-bottom: 64px;
}

.band-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink);
  background: var(--bg-paper);
  padding: 6px 12px;
  margin-bottom: 24px;
  border: 2px solid var(--ink);
}

.band-kicker--white {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
}

.band-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: 0.005em;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 1000px;
  text-wrap: balance;
}

.band-deck {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 500;
  max-width: 640px;
}

/* =============================================================
   STAMP BUTTON
   ============================================================= */
.stamp-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  border: 3px solid var(--ink);
  background: var(--bg);
  position: relative;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
              background 0.25s ease,
              color 0.25s ease,
              border-color 0.25s ease;
  box-shadow: 6px 6px 0 var(--ink);
  text-align: center;
}

.stamp-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink);
}

.stamp-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.stamp-btn--filled {
  background: var(--ink);
  color: #fff;
  box-shadow: 6px 6px 0 var(--red);
}

.stamp-btn--filled:hover {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 8px 8px 0 var(--ink);
}

.stamp-btn--red {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 6px 6px 0 var(--ink);
}

.stamp-btn--red:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
  box-shadow: 8px 8px 0 var(--ink);
}

/* =============================================================
   HERO — ONE-SHEET POSTER
   ============================================================= */
.poster-hero {
  background: var(--bg);
  padding: 80px 0 var(--section-py);
  border-bottom: 3px solid var(--ink);
  position: relative;
  overflow: hidden;
}

.poster-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(to right, rgba(10, 10, 10, 0.025) 1px, transparent 1px);
  background-size: 80px 100%;
  pointer-events: none;
}

.poster-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.poster-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--ink);
  color: #fff;
  padding: 8px 16px;
  margin-bottom: 32px;
  transform: rotate(-1deg);
}

.poster-tag-dot {
  width: 8px; height: 8px;
  background: var(--red-bright);
  border-radius: 50%;
  animation: tagPulse 2s ease-in-out infinite;
}

@keyframes tagPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.poster-h1 {
  font-family: var(--font-display);
  font-size: clamp(60px, 13vw, 220px);
  line-height: 0.85;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin-bottom: 64px;
  font-weight: 400;
}

.poster-h1-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 1.5vw, 32px);
  align-items: baseline;
  margin-bottom: clamp(8px, 0.8vw, 16px);
}

.poster-h1-row--red { color: var(--red); }

.poster-h1-jp { display: none; }

body.lang-jp .poster-h1-en { display: none; }
body.lang-jp .poster-h1-jp { display: block; }

body.lang-jp .poster-h1 {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(36px, 7.2vw, 116px);
  line-height: 1.05;
  letter-spacing: -0.005em;
}

.poster-h1-jp-row {
  display: block;
  margin-bottom: clamp(4px, 0.5vw, 10px);
  opacity: 0;
  transform: translateY(20px);
  animation: wordIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  white-space: nowrap;
}

.poster-h1-jp-row:nth-child(2) { animation-delay: 0.15s; }
.poster-h1-jp-row:nth-child(3) { animation-delay: 0.32s; }
.poster-h1-jp-row:nth-child(4) { animation-delay: 0.5s; }
.poster-h1-jp-row:nth-child(5) { animation-delay: 0.65s; }

.poster-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: wordIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Word-by-word stagger across the three EN rows */
.poster-h1-row:nth-of-type(1) .poster-word { animation-delay: 0.10s; }
.poster-h1-row:nth-of-type(1) .poster-word:nth-child(2) { animation-delay: 0.18s; }
.poster-h1-row:nth-of-type(1) .poster-word:nth-child(3) { animation-delay: 0.26s; }
.poster-h1-row:nth-of-type(2) .poster-word { animation-delay: 0.34s; }
.poster-h1-row:nth-of-type(2) .poster-word:nth-child(2) { animation-delay: 0.42s; }
.poster-h1-row:nth-of-type(3) .poster-word { animation-delay: 0.55s; }
.poster-h1-row:nth-of-type(3) .poster-word:nth-child(2) { animation-delay: 0.63s; }
.poster-h1-row:nth-of-type(3) .poster-word:nth-child(3) { animation-delay: 0.71s; }
.poster-h1-row:nth-of-type(3) .poster-word:nth-child(4) { animation-delay: 0.79s; }

@keyframes wordIn {
  to { opacity: 1; transform: translateY(0); }
}

.poster-foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: end;
  padding: 32px 0 0;
  border-top: 3px solid var(--ink);
}

.poster-statement {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
  max-width: 560px;
}

.poster-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-self: end;
}

.poster-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 3px solid var(--ink);
}

.meta-block {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  border-right: 1px solid var(--rule-soft);
}

.meta-block:first-child { padding-left: 0; }
.meta-block:last-child { padding-right: 0; border-right: none; }

.meta-num {
  font-family: var(--font-display);
  font-size: clamp(56px, 6vw, 96px);
  line-height: 0.85;
  color: var(--red);
  letter-spacing: 0;
  font-weight: 400;
}

.meta-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

/* =============================================================
   POSTER WALL — ARTIST GRID
   ============================================================= */
.poster-wall {
  background: var(--bg-paper);
  padding: var(--section-py) 0;
  border-bottom: 3px solid var(--ink);
}

.poster-grid {
  max-width: var(--container);
  margin: 0 auto 64px;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  list-style: none;
}

.poster-tile {
  position: relative;
  aspect-ratio: 319 / 205;
  background: var(--ink);
  overflow: hidden;
  border: 3px solid var(--ink);
  opacity: 0;
  transform: translateY(24px) rotate(var(--tilt, 0deg));
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.4s ease;
  box-shadow: 5px 5px 0 var(--ink);
  display: block;
}

.poster-tile.is-revealed {
  opacity: 1;
  transform: translateY(0) rotate(var(--tilt, 0deg));
}

.poster-tile picture,
.poster-tile img {
  width: 100%;
  height: 100%;
  display: block;
}

.poster-tile img {
  object-fit: cover;
  filter: contrast(1.05) brightness(0.96);
  transition: filter 0.4s ease, transform 0.5s ease;
}

.poster-tile::before {
  content: '';
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 12px;
  background: rgba(225, 6, 0, 0.85);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
  clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
}

.poster-tile:hover::before { opacity: 1; }

.poster-tile:hover {
  transform: translateY(-6px) rotate(0) !important;
  box-shadow: 12px 12px 0 var(--red);
  z-index: 3;
}

.poster-tile:hover img {
  filter: contrast(1.15) brightness(1.05);
  transform: scale(1.03);
}

.strip-block {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.strip {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: baseline;
  padding: 28px 0;
  border-top: 3px solid var(--ink);
}

.strip:last-child { border-bottom: 3px solid var(--ink); }

.strip-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--bg-paper);
  padding: 6px 10px;
  display: inline-block;
  align-self: start;
}

.strip-list {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: 0.005em;
  font-weight: 400;
}

.strip--alt .strip-list { color: var(--red); }

/* =============================================================
   FULL SOLUTION — STAMPED CARDS
   The "01–06" red Anton numbers are removed (user's tweak).
   The card now leads with the Anton service name; a small red
   accent bar at top-left preserves the visual rhythm without
   numbering.
   ============================================================= */
.poster-solution {
  background: var(--bg);
  padding: var(--section-py) 0;
  border-bottom: 3px solid var(--ink);
}

.stamp-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.stamp-card {
  border: 3px solid var(--ink);
  margin: -1.5px;
  padding: 40px 32px;
  position: relative;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.stamp-card::before {
  content: '';
  position: absolute;
  top: 32px; left: 32px;
  width: 48px; height: 4px;
  background: var(--red);
  transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stamp-card:hover {
  background: var(--ink);
  color: var(--bg);
  z-index: 2;
}

.stamp-card:hover::before { width: 96px; }
.stamp-card:hover .stamp-mark { color: var(--red); opacity: 1; }

.stamp-name {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.1vw, 30px);
  line-height: 1.05;
  letter-spacing: 0.005em;
  font-weight: 400;
  margin-top: 24px;
}

.stamp-copy {
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
  margin-top: auto;
}

.stamp-mark {
  position: absolute;
  bottom: 16px; right: 20px;
  font-size: 24px;
  color: var(--ink);
  opacity: 0.15;
  transition: opacity 0.3s ease, color 0.3s ease;
}

/* =============================================================
   LEGEND POSTER
   The "04 / FOUNDER" and "EST. 1998" twin-tag is reduced to just
   "FOUNDER" + "EST. 1998" — the section number is gone, the
   year tag stays as the design rhythm anchor.
   ============================================================= */
.legend-poster {
  background: var(--ink);
  color: var(--bg);
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--ink);
}

.legend-poster-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/brand/Pelc-Enterprises_Top-Banner-01-2.jpg');
  background-size: cover;
  background-position: center;
  filter: grayscale(1) brightness(0.18) contrast(1.5);
  opacity: 0.4;
  z-index: 0;
}

@supports (background-image: image-set(url('a.webp') type('image/webp'))) {
  .legend-poster-bg {
    background-image: image-set(
      url('assets/brand/Pelc-Enterprises_Top-Banner-01-2.webp') type('image/webp') 1x,
      url('assets/brand/Pelc-Enterprises_Top-Banner-01-2.jpg') type('image/jpeg') 1x
    );
  }
}

.legend-poster-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--ink) 0%, rgba(10,10,10,0.7) 25%, rgba(10,10,10,0.7) 75%, var(--ink) 100%);
}

.legend-poster-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.legend-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.legend-meta-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--bg);
  border: 2px solid rgba(255, 255, 255, 0.4);
  padding: 6px 12px;
}

.legend-meta-tag--year {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.legend-poster-title {
  font-family: var(--font-display);
  line-height: 0.85;
  letter-spacing: -0.005em;
  margin-bottom: 80px;
  color: var(--bg);
  font-weight: 400;
}

.lp-row { display: block; }

.lp-row:first-child {
  font-size: clamp(40px, 5vw, 72px);
  color: var(--bg);
  margin-bottom: 8px;
}

.lp-row--script {
  color: var(--red);
  font-size: clamp(40px, 5vw, 72px);
  margin: 8px 0;
}

.lp-row--big {
  font-size: clamp(64px, 12vw, 200px);
}

.lp-row--red { color: var(--red); }

.legend-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 80px;
}

.lp-pillar {
  border: 2px solid rgba(255, 255, 255, 0.22);
  margin: -1px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.lp-pillar:hover {
  background: var(--red);
  border-color: var(--red);
}

.lp-pillar:hover .lp-pillar-year { color: #fff; }

.lp-pillar-year {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--red-bright);
  letter-spacing: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 12px;
  transition: color 0.3s ease, border-color 0.3s ease;
  font-weight: 400;
}

.lp-pillar-name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1.1;
  font-weight: 400;
  text-transform: uppercase;
}

.lp-pillar-copy {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin-top: auto;
}

.heritage-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  padding: 32px 0 0;
  border-top: 2px solid rgba(255, 255, 255, 0.25);
}

.heritage-stamp {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.heritage-stamp-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.75);
}

.heritage-stamp-logo {
  height: 48px;
  width: auto;
  background: var(--bg);
  padding: 8px 14px;
  border-radius: 0;
}

.heritage-credit {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--bg);
  max-width: 720px;
  font-weight: 400;
}

/* =============================================================
   CONTACT POSTER
   ============================================================= */
.contact-poster {
  background: var(--ink);
  color: var(--bg);
  padding: var(--section-py) 0;
}

.contact-poster-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.contact-head {
  margin-bottom: 64px;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 144px);
  line-height: 0.9;
  letter-spacing: 0.005em;
  color: var(--bg);
  margin: 24px 0;
  font-weight: 400;
  text-wrap: balance;
}

.contact-deck {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  font-weight: 500;
}

.contact-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
}

.poster-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.pf-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pf-row label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.85);
}

.pf-row input,
.pf-row textarea {
  background: transparent;
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  padding: 10px 0;
  outline: none;
  transition: border-color 0.3s ease;
  resize: vertical;
  width: 100%;
  min-height: 44px;
}

body.lang-jp .pf-row input,
body.lang-jp .pf-row textarea { font-family: var(--font-jp); }

.pf-row input:focus,
.pf-row textarea:focus {
  border-color: var(--red-bright);
}

.pf-row input::placeholder,
.pf-row textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.pf-row input[aria-invalid="true"],
.pf-row textarea[aria-invalid="true"] {
  border-bottom-color: var(--red-bright);
  background: rgba(225, 6, 0, 0.08);
}

.field-help {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

/* Honeypot — hidden from users + assistive tech, visible to dumb bots */
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pf-foot {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.form-note {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
  min-height: 1.3em;
  margin: 0;
}

.form-note.is-success { color: var(--red-bright); font-weight: 700; }
.form-note.is-error { color: var(--red-bright); font-weight: 700; }

.contact-aside {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.35);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 140px;
}

.ca-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.ca-block:last-child { border-bottom: none; padding-bottom: 0; }

.ca-block--rule { padding-top: 6px; }

.ca-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.7);
}

.ca-link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.01em;
  color: var(--bg);
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 4px;
  transition: color 0.3s ease, border-color 0.3s ease;
  align-self: flex-start;
  word-break: break-all;
}

.ca-link:hover { color: var(--red-bright); border-color: var(--red); }

.ca-text {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--bg);
  letter-spacing: 0.01em;
  font-weight: 400;
}

.ca-quote {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  font-style: italic;
  border-left: 3px solid var(--red);
  padding-left: 12px;
}

/* =============================================================
   FOOTER
   ============================================================= */
.poster-footer {
  background: var(--ink);
  color: var(--bg);
  padding: 32px 0;
  border-top: 3px solid var(--red);
}

.pf-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.pf-mark {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--red-bright);
  letter-spacing: 0.04em;
}

.pf-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin: 0;
}

.dot { margin: 0 6px; opacity: 0.5; }

.pf-end {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--red-bright);
}

/* =============================================================
   RESPONSIVE — verified at 375 / 768 / 1024 / 1440 / 1920
   ============================================================= */

@media (max-width: 1280px) {
  /* No layout change at 1024-1280; container clamps */
}

@media (max-width: 1024px) {
  .poster-grid { grid-template-columns: repeat(4, 1fr); }
  .stamp-grid { grid-template-columns: repeat(2, 1fr); }
  .legend-pillars { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 1fr; gap: 48px; }
  .contact-aside { position: static; }
  .poster-foot { grid-template-columns: 1fr; gap: 32px; }
  .poster-actions { justify-self: start; }
  .poster-meta { grid-template-columns: 1fr; gap: 12px; }
  .meta-block { padding: 16px 0; border-right: none; border-bottom: 1px solid var(--rule-soft); }
  .meta-block:last-child { border-bottom: none; }
  .heritage-row { grid-template-columns: 1fr; gap: 24px; text-align: left; }
}

@media (max-width: 820px) {
  .ph-marquee-track { animation-duration: 32s; }
  .strip { grid-template-columns: 180px 1fr; gap: 24px; }
}

@media (max-width: 720px) {
  :root { --section-py: 80px; }
  .ph-nav { display: none; }
  .ph-inner { gap: 12px; padding: 12px var(--gutter); }
  .ph-brand-mark { width: 32px; height: 32px; font-size: 24px; }
  .ph-brand-word { font-size: 20px; }
  .poster-tag { font-size: 10px; padding: 6px 12px; }
  .poster-h1 { font-size: clamp(44px, 13vw, 96px); line-height: 0.92; }
  .poster-h1-row { gap: 8px; }
  body.lang-jp .poster-h1 { font-size: clamp(32px, 9vw, 76px); }
  .poster-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .strip { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
  .stamp-grid { grid-template-columns: 1fr; }
  .stamp-card { min-height: auto; padding: 32px 24px; }
  .stamp-card::before { top: 24px; left: 24px; }
  .stamp-name { margin-top: 18px; }
  .lp-row:first-child { font-size: 32px; }
  .lp-row--big { font-size: clamp(48px, 14vw, 88px); }
  .heritage-stamp-logo { height: 40px; }
  .contact-title { font-size: clamp(44px, 13vw, 88px); }
  .pf-inner { grid-template-columns: 1fr; text-align: center; gap: 16px; }
  .pf-copy { text-align: center; }
  .band-head { margin-bottom: 48px; }
}

@media (max-width: 480px) {
  .poster-grid { grid-template-columns: repeat(2, 1fr); }
  .poster-actions .stamp-btn { width: 100%; justify-content: center; }
  .pf-foot .stamp-btn { width: 100%; justify-content: center; }
  .pf-foot { flex-direction: column; align-items: stretch; gap: 16px; }
  .ph-marquee { padding: 6px 0; }
  .ph-marquee-track span { font-size: 12px; padding: 0 12px; }
}

/* =============================================================
   PRINT
   ============================================================= */
@media print {
  .poster-header, .skip-link, .ph-marquee, .ph-lang { display: none; }
  body { background: #fff; color: #000; }
  .poster-tile { opacity: 1 !important; transform: none !important; box-shadow: 1px 1px 0 #000 !important; }
  .legend-poster, .contact-poster { background: #fff; color: #000; }
  .poster-h1, .legend-poster-title, .contact-title { color: #000 !important; }
}

/* =============================================================
   REDUCED MOTION — disable marquee, hero stamp animation,
   tile reveals, hover lifts.
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
  .ph-marquee-track { animation: none !important; }
  .poster-tag-dot { animation: none !important; opacity: 1 !important; transform: none !important; }
  .poster-word, .poster-h1-jp-row { opacity: 1 !important; transform: none !important; }
  .poster-tile { opacity: 1 !important; transform: rotate(var(--tilt, 0deg)) !important; }
  .stamp-btn:hover, .stamp-btn:active { transform: none !important; }
  .poster-tile:hover, .stamp-card:hover, .lp-pillar:hover { transform: none !important; }
}
