:root {
  --sky-top: #f78a1d;
  --sky-bottom: #f06f24;
  --ground: #41278f;
  --ground-dark: #261452;
  --ground-deep: #160c35;
  --paper: #f6efe7;
  --paper-soft: #fff7ef;
  --paper-warm: #f7e3cf;
  --ink: #fff8ef;
  --ink-dark: #24174c;
  --ink-mid: #4f38a3;
  --signal: #e44d34;
  --signal-soft: #ffc9b3;
  --line: rgba(255, 248, 239, 0.18);
  --line-dark: rgba(65, 39, 143, 0.14);
  --shadow: 0 24px 60px rgba(20, 8, 46, 0.24);
  --shadow-soft: 0 16px 34px rgba(30, 13, 73, 0.14);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink-dark);
  font-family: "Inter", system-ui, sans-serif;
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 247, 239, 0.2), transparent 24%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 18%, var(--ground) 58%, var(--ground-dark) 100%);
}

body.authors-page {
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 247, 239, 0.2), transparent 24%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 18%, var(--ground) 58%, var(--ground-dark) 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
select,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid #fff0a8;
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 20;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--ground-deep);
  color: var(--ink);
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: clip;
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background:
    url("./assets/empreinte.png") right -7rem top 3rem / min(38vw, 540px) auto no-repeat,
    url("./assets/Goutte-empreinte.png") left -4rem top 28rem / min(22vw, 280px) auto no-repeat;
}

.site-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background: radial-gradient(circle at 50% 41%, rgba(228, 77, 52, 0.32) 0 4rem, transparent 4.05rem);
}

.authors-page .site-shell::after {
  display: none;
}

.container {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.site-header > *,
.hero > *,
.highlight-grid > *,
.schedule-grid > *,
.authors-grid > *,
.info-grid > *,
.map-layout > *,
.sponsors-teaser > * {
  min-width: 0;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0 0.6rem;
  color: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
}

.brand-mark img,
.footer-brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: grid;
  gap: 0.12rem;
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-text em {
  font-style: normal;
  font-size: 0.88rem;
  opacity: 0.9;
}

.site-nav {
  display: inline-flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 0.72rem 0.98rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(31, 14, 72, 0.18);
  backdrop-filter: blur(8px);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.site-nav a[aria-current="page"] {
  background: rgba(255, 248, 239, 0.18);
  border-color: rgba(255, 248, 239, 0.42);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  transform: translateY(-1px);
  background: rgba(31, 14, 72, 0.3);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 2rem;
  padding: 3.3rem 0 3rem;
  color: var(--ink);
}

.hero-copy {
  position: relative;
}

.hero-copy:only-child {
  grid-column: 1 / -1;
  max-width: 760px;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto auto -2.5rem 12%;
  width: 220px;
  height: 220px;
  background: url("./assets/goutte-degradee.png") center / contain no-repeat;
  opacity: 0.18;
  pointer-events: none;
}

.hero-logo {
  width: min(100%, 460px);
  margin: 0 0 1.2rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: #ffe8d2;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-head h2,
.highlight-card h3,
.info-card h3,
.hero-panel h2,
.schedule-time,
.author-card h3 {
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0.02em;
  overflow: visible;
  text-wrap: balance;
}

.hero h1 {
  margin: 0;
  max-width: 7ch;
  font-size: clamp(4.5rem, 11vw, 9.2rem);
  line-height: 0.9;
  padding-top: 0.08em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 4px 0 rgba(20, 8, 46, 0.14);
}

.hero h1 span {
  display: inline-block;
}

.hero-subscript {
  display: inline-flex;
  align-items: end;
  gap: 0.85rem;
  margin-top: 0.7rem;
  color: var(--ink);
}

.hero-subscript .script {
  font-family: "Caveat", cursive;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.hero-subscript .stack {
  font-size: 0.92rem;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.lede {
  max-width: 58ch;
  margin: 1.2rem 0 0;
  color: rgba(255, 248, 239, 0.92);
  font-size: 1.04rem;
  line-height: 1.8;
}

.rich-lede p {
  margin: 0;
}

.rich-lede p + p,
.rich-lede ul + p {
  margin-top: 1rem;
}

.rich-lede h2 {
  margin: 1.1rem 0 0.45rem;
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.96rem;
  line-height: 1.35;
}

.rich-lede ul {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding-left: 1.15rem;
}

.rich-lede li {
  padding-left: 0.15rem;
}

.author-hero .lede a {
  color: #ffd15f;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

.author-hero .lede a:hover,
.author-hero .lede a:focus-visible {
  color: #fff0a8;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-meta div,
.card,
.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-meta div {
  padding: 1rem 1.05rem;
  background: rgba(29, 14, 69, 0.3);
  backdrop-filter: blur(10px);
}

.hero-meta strong,
.hero-meta span {
  display: block;
}

.hero-meta strong {
  color: var(--paper-soft);
}

.hero-meta span {
  margin-top: 0.35rem;
  color: rgba(255, 240, 230, 0.8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--signal);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #c93e29;
}

.button-secondary {
  background: rgba(29, 14, 69, 0.2);
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(29, 14, 69, 0.34);
}

.card {
  padding: 1.2rem;
  background: var(--paper);
  color: var(--ink-dark);
}

.card.soft {
  background: var(--paper-warm);
}

.card.dark {
  background: linear-gradient(180deg, #4f38a3 0%, #261452 100%);
  color: #fff;
}

.card.dark .eyebrow {
  color: #ffd9c7;
}

.card.dark p {
  color: rgba(255, 255, 255, 0.9);
}

.hero-panel {
  align-self: end;
  background:
    linear-gradient(180deg, rgba(246, 239, 231, 0.98), rgba(252, 247, 241, 0.98)),
    url("./assets/goutte-bloc.png") right -1.4rem bottom -1rem / 120px auto no-repeat;
}

.hero-panel .poster-frame img {
  transition: opacity 220ms ease;
}

.poster-frame {
  position: relative;
  padding: 0.65rem;
  border: 4px solid #5a40b4;
  background: #fff;
}

.poster-frame::after {
  content: "";
  position: absolute;
  inset: auto -14px -14px auto;
  width: 68px;
  height: 68px;
  background: url("./assets/empreinte.png") center / cover no-repeat;
  opacity: 0.24;
}

.poster-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: contrast(1.05);
}

.archive-spotlight-frame {
  padding: 0;
}

.archive-spotlight-frame::after {
  display: none;
}

.archive-spotlight-frame img {
  aspect-ratio: auto;
  min-height: 320px;
  object-fit: cover;
  filter: none;
}

.panel-kicker {
  margin: 1rem 0 0.35rem;
  color: var(--signal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-panel h2 {
  margin: 0;
  font-size: 2.7rem;
  line-height: 1;
  padding-top: 0.06em;
}

.hero-panel p,
.highlight-card p,
.info-card p,
.schedule-card p,
.author-card p {
  line-height: 1.72;
}

.text-link {
  color: #523ca7;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
}

.highlight-band {
  padding: 1.25rem 0 0;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.highlight-card {
  min-height: 100%;
}

.highlight-card h3 {
  margin: 0 0 0.7rem;
  font-size: 2.3rem;
  line-height: 1;
  padding-top: 0.04em;
  text-transform: uppercase;
}

.section {
  position: relative;
  padding: 5rem 0;
}

.section-compact {
  padding-top: 0;
  padding-bottom: 1.5rem;
}

.section-alt {
  color: var(--ink-dark);
  background:
    linear-gradient(180deg, rgba(255, 247, 239, 0.97), rgba(248, 236, 225, 0.97)),
    url("./assets/empreinte.png") right -5rem top 3rem / min(28vw, 360px) auto no-repeat;
  border-top: 1px solid rgba(44, 22, 101, 0.08);
  border-bottom: 1px solid rgba(44, 22, 101, 0.08);
}

.section-card-band {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  color: var(--ink-dark);
}

.section-card-band + .section-card-band {
  padding-top: 0;
}

.section-card-band .surrounding-events-head h2 {
  color: var(--paper-soft);
}

.section-card-band .surrounding-events-head p {
  color: rgba(255, 247, 239, 0.88);
}

.info-section {
  color: var(--paper-soft);
}

.simple-page {
  position: relative;
  z-index: 1;
  padding-top: 2rem;
  padding-bottom: 2.5rem;
  color: var(--ink-dark);
}

.simple-page-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.association-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 1rem;
  align-items: stretch;
}

.simple-page-section .section-head {
  padding: clamp(1.5rem, 4vw, 2.2rem);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: rgba(255, 247, 239, 0.94);
  box-shadow: var(--shadow-soft);
}

.association-intro-layout .section-head {
  margin-bottom: 0;
}

.team-photo-placeholder {
  display: grid;
  align-content: center;
  min-height: 320px;
  border: 1px dashed rgba(79, 56, 163, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 247, 239, 0.94), rgba(247, 227, 207, 0.92)),
    url("./assets/empreinte.png") right -3rem bottom -3rem / 220px auto no-repeat;
  box-shadow: var(--shadow-soft);
}

.team-photo-placeholder p:last-child {
  margin: 0;
  color: rgba(36, 23, 76, 0.72);
  font-weight: 800;
}

.simple-page .section-head h1,
.simple-page .section-head h2,
.association-contact-card h2 {
  margin: 0 0 0.75rem;
  color: var(--ink-dark);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(3.2rem, 8vw, 6rem);
  line-height: 0.96;
  padding-top: 0.05em;
  text-transform: uppercase;
}

.simple-page .lede,
.simple-page .section-head p {
  color: rgba(36, 23, 76, 0.82);
}

.association-contact-card p {
  color: rgba(36, 23, 76, 0.82);
  line-height: 1.75;
}

.simple-page .section-head .eyebrow {
  color: #c64b29;
}

.section-head {
  max-width: 62ch;
  margin-bottom: 1.8rem;
}

.section-head .eyebrow {
  color: #c64b29;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  color: var(--ink-dark);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 0.98;
  padding-top: 0.05em;
  text-transform: uppercase;
}

.section-head p {
  margin: 0;
  color: rgba(36, 23, 76, 0.82);
  line-height: 1.75;
}

.section:not(.section-alt):not(.section-card-band):not(.simple-page-section) .section-head h2 {
  color: #f7d9c4;
}

.section:not(.section-alt):not(.section-card-band):not(.simple-page-section) .section-head p {
  color: rgba(247, 227, 207, 0.9);
}

.section-head code {
  padding: 0.12rem 0.34rem;
  border-radius: 6px;
  background: rgba(79, 56, 163, 0.08);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(76, 55, 157, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
}

.literary-director-note {
  max-width: 880px;
  margin: 0 auto;
  border-color: rgba(255, 248, 239, 0.16);
  background: rgba(246, 239, 231, 0.92);
  box-shadow: var(--shadow-soft);
}

.literary-director-note-layout {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.literary-director-note-photo {
  overflow: hidden;
  border-radius: 18px;
  background: rgba(79, 56, 163, 0.08);
}

.literary-director-note-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.literary-director-note-copy {
  min-width: 0;
}

.literary-director-note h3 {
  margin: 0 0 0.4rem;
  color: var(--ink-mid);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
}

.literary-director-note p {
  margin: 0;
  color: rgba(36, 23, 76, 0.84);
  line-height: 1.7;
}

.literary-director-note p + p {
  margin-top: 0.7rem;
}

.toolbar label {
  color: #5b43b1;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.toolbar select {
  min-width: 220px;
  padding: 0.2rem 0;
  border: 0;
  background: transparent;
  color: var(--ink-dark);
}

.toolbar-note {
  margin: 0 0 0 auto;
  color: rgba(36, 23, 76, 0.72);
  font-size: 0.92rem;
}

.schedule-grid,
.authors-grid,
.info-grid,
.locations-list,
.archives-grid,
.detail-list,
.detail-grid {
  display: grid;
  gap: 1rem;
}

.schedule-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.authors-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bookshop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2.4rem;
}

.info-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.archives-grid,
.detail-list {
  grid-template-columns: 1fr;
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 1rem;
}

.info-map-layout {
  grid-template-columns: 1fr;
  margin-top: 1rem;
}

.map-card,
.location-card,
.sponsors-teaser {
  border-color: var(--line-dark);
  box-shadow: var(--shadow-soft);
}

.expo-photo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.expo-photo-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(79, 56, 163, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.64);
  aspect-ratio: 4 / 5;
}

.expo-photo-grid figure:nth-child(4),
.expo-photo-grid figure:nth-child(5) {
  aspect-ratio: 5 / 4;
}

.expo-photo-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expo-photo-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.expo-photo-trigger:focus-visible {
  outline: 4px solid rgba(247, 138, 29, 0.7);
  outline-offset: -4px;
}

.map-placeholder {
  display: grid;
  place-items: center;
  min-height: 320px;
  border: 2px dashed rgba(79, 56, 163, 0.24);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(247, 138, 29, 0.2), rgba(79, 56, 163, 0.12)),
    url("./assets/foret.png") center / cover no-repeat;
  color: var(--ground-deep);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.map-frame {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: var(--radius-md);
  display: block;
}

.map-visuals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.map-photo {
  margin: 0;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.map-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.map-note {
  margin: 1rem 0 0;
}

.locations-list {
  grid-template-columns: 1fr;
}

.location-card h3,
.sponsors-teaser h3 {
  margin: 0 0 0.6rem;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 2rem;
  line-height: 1;
  padding-top: 0.04em;
  text-transform: uppercase;
}

.location-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.sponsors-teaser {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.expo-card {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

.expo-card > div:first-child {
  max-width: 780px;
}

.official-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  border-color: var(--line-dark);
  box-shadow: var(--shadow-soft);
}

.official-links-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: flex-end;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.4rem;
}

.outside-events-card {
  align-items: flex-start;
}

.outside-events-list {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.outside-events-list li {
  display: grid;
  gap: 0.22rem;
}

.outside-events-list a {
  color: var(--ink-mid);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.18em;
}

.outside-events-list a:hover,
.outside-events-list a:focus-visible {
  color: var(--signal);
}

.outside-events-list address {
  color: rgba(36, 23, 76, 0.72);
  font-style: normal;
}

.schedule-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 0.8rem;
}

.schedule-card::before {
  content: "";
  position: absolute;
  inset: auto -28px -28px auto;
  width: 118px;
  height: 118px;
  background: url("./assets/empreinte.png") center / cover no-repeat;
  opacity: 0.12;
}

.schedule-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.schedule-time {
  margin: 0;
  color: var(--ink-mid);
  font-size: 2.7rem;
  line-height: 1;
  padding-top: 0.04em;
}

.schedule-type {
  margin: 0.25rem 0 0;
  color: var(--signal);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.schedule-location {
  padding-top: 0.5rem;
  color: rgba(36, 23, 76, 0.62);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: right;
}

.schedule-card h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.1;
  text-wrap: balance;
}

.schedule-card p {
  margin: 0;
  color: rgba(36, 23, 76, 0.78);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #f3e7db;
  color: #4f38a3;
  font-size: 0.78rem;
  font-weight: 800;
}

.schedule-authors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.author-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.65rem;
  border: 1px solid rgba(79, 56, 163, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

.author-card {
  display: grid;
  gap: 0.9rem;
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-soft);
}

.bookshop-partner-card {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  border-color: var(--line-dark);
  box-shadow: var(--shadow-soft);
}

.sponsor-logo-frame {
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 0.85rem;
  border: 1px solid rgba(79, 56, 163, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
}

.sponsor-logo-frame img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  border-radius: 8px;
}

.bookshop-partner-card .sponsor-logo-frame {
  min-height: 92px;
}

.bookshop-partner-card h3 {
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 2.2rem;
  line-height: 1;
  padding-top: 0.04em;
  text-transform: uppercase;
}

.bookshop-partner-card p,
.bookshop-partner-card address {
  margin: 0;
  color: rgba(36, 23, 76, 0.78);
  line-height: 1.65;
}

.bookshop-partner-card address {
  font-style: normal;
  font-weight: 800;
}

.bookshop-partner-card p a {
  color: #523ca7;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.18em;
}

.bookshop-partner-card p a:hover,
.bookshop-partner-card p a:focus-visible {
  color: var(--ink-dark);
}

.author-card-link {
  display: block;
  color: inherit;
}

.author-card-link:visited {
  color: inherit;
}

.author-card-link .author-card {
  height: 100%;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.author-card-link:hover .author-card,
.author-card-link:focus-visible .author-card {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(30, 13, 73, 0.18);
}

.author-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
  filter: none;
}

.sponsor-card img {
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 8px;
}

.sponsor-contact-list {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(36, 23, 76, 0.78);
  font-size: 0.92rem;
  line-height: 1.45;
}

.sponsor-contact-list a {
  color: #523ca7;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.sponsor-contact-list a:hover,
.sponsor-contact-list a:focus-visible {
  color: var(--ink-dark);
}

.sponsor-contact-note {
  font-size: 0.92rem;
  font-style: italic;
}

.author-card h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
  padding-top: 0.04em;
  text-transform: uppercase;
}

.author-card p {
  margin: 0;
  color: rgba(36, 23, 76, 0.78);
}

.author-books {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.author-meta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.8rem;
}

.author-role {
  color: #cf4d2b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.info-card {
  min-height: 170px;
  border-color: var(--line-dark);
  box-shadow: var(--shadow-soft);
}

.info-card h3 {
  margin: 0 0 0.7rem;
  color: var(--ink-mid);
  font-size: 2rem;
  line-height: 1;
  padding-top: 0.04em;
  text-transform: uppercase;
}

.info-card p {
  margin: 0;
}

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem 0 2rem;
  color: rgba(255, 248, 239, 0.92);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 10px;
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-dark);
  box-shadow: var(--shadow-soft);
}

.archive-card {
  scroll-margin-top: 2rem;
}

.archive-card-link {
  display: block;
}

.archive-card-link .archive-card {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.archive-card-link:hover .archive-card,
.archive-card-link:focus-visible .archive-card {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(30, 13, 73, 0.18);
}

.archive-head h2,
.detail-card h3 {
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  padding-top: 0.04em;
  text-transform: uppercase;
}

.archive-theme {
  margin: 0.35rem 0 0;
  color: var(--ink-mid);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.archive-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.author-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.archive-photo-frame {
  overflow: hidden;
  border-radius: var(--radius-md);
  min-height: 180px;
  background: rgba(79, 56, 163, 0.08);
}

.archive-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-photo-frame {
  width: 100%;
  padding: 0.45rem;
  border: 0;
  display: grid;
  place-items: center;
  cursor: zoom-in;
  background: rgba(255, 255, 255, 0.96);
}

.gallery-photo-frame img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
}

.archive-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.archive-columns h3,
.detail-grid h2 {
  margin: 0 0 0.7rem;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 2rem;
  line-height: 1;
  padding-top: 0.04em;
  text-transform: uppercase;
}

.archive-list {
  margin: 0;
  padding-left: 1.1rem;
  line-height: 1.8;
}

.detail-card h3 {
  font-size: 1.8rem;
}

.bookshop-card {
  display: grid;
  gap: 0.55rem;
}

.bookshop-card a {
  color: var(--ink-mid);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.18em;
}

.bookshop-card a:hover,
.bookshop-card a:focus-visible {
  color: var(--signal);
}

.work-card-layout {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.work-cover {
  min-height: 240px;
}

.work-cover img {
  object-fit: contain;
  background: #fff;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(14, 8, 31, 0.9);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-image {
  max-width: min(94vw, 1400px);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    max-width: 520px;
  }

  .authors-grid,
  .bookshop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map-layout {
    grid-template-columns: 1fr;
  }

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

  .author-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-card-layout {
    grid-template-columns: 1fr;
  }

  .map-visuals {
    grid-template-columns: 1fr;
  }

  .expo-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .site-header,
  .site-footer,
  .schedule-header,
  .author-meta,
  .sponsors-teaser {
    flex-direction: column;
    align-items: start;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .hero-meta,
  .schedule-grid,
  .highlight-grid,
  .authors-grid,
  .bookshop-grid,
  .archive-columns {
    grid-template-columns: 1fr;
  }

  .expo-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .official-links-actions {
    justify-content: flex-start;
  }

  .literary-director-note-layout {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .toolbar {
    border-radius: 22px;
  }

  .toolbar-note {
    margin-left: 0;
  }

  .schedule-location {
    padding-top: 0;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 1.1rem), var(--container));
  }

  .literary-director-note-layout {
    grid-template-columns: 1fr;
  }

  .literary-director-note-photo {
    width: 108px;
  }

  .site-header {
    padding-top: 0.8rem;
  }

  .brand {
    align-items: start;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 20vw, 5.8rem);
  }

  .hero-subscript {
    flex-direction: column;
    align-items: start;
  }

  .button,
  .toolbar,
  .toolbar select {
    width: 100%;
  }

  .toolbar {
    border-radius: 18px;
  }

  .section {
    padding: 4rem 0;
  }

  .section-head h2 {
    font-size: clamp(2.3rem, 14vw, 3.6rem);
  }

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

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

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
