:root {
  --bg: #fbf6ec;
  --ink: #1e2a44;
  --muted: #6c7488;
  --line: #ece2d2;
  --accent: #e08a1e;
  --accent-2: #c9553f;
  --accent-grad: linear-gradient(135deg, #e9a52a 0%, #d8722a 55%, #c24a3c 100%);
  --card: #ffffff;
  --max: 760px;
  --max-wide: 1100px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(1200px 600px at 85% -5%, rgba(233,165,42,.14), transparent 60%),
    radial-gradient(1000px 620px at -10% 8%, rgba(201,85,63,.10), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap.wide { max-width: var(--max-wide); }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251,246,236,.88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(224,138,30,.12);
}
.nav { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px 0 10px; }
.brand img { height: 80px; width: auto; display: block; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; align-items: center; }
.nav-links > a { color: var(--muted); text-decoration: none; font-size: .97rem; font-weight: 500; letter-spacing: .02em; transition: color .2s; white-space: nowrap; }
.nav-links > a:hover, .nav-links > a.active { color: var(--ink); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown > .drop-toggle {
  color: var(--muted); font-size: .97rem; font-weight: 500; cursor: pointer; letter-spacing: .02em;
  background: none; border: none; font-family: inherit; padding: 0; display: flex; align-items: center; gap: 5px;
  transition: color .2s; white-space: nowrap; text-decoration: none;
}
.dropdown:hover > .drop-toggle, .dropdown > .drop-toggle.active { color: var(--ink); }
.dropdown > .drop-toggle::after { content: "▾"; font-size: .7rem; }
.dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(6px);
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 8px; min-width: 230px; box-shadow: 0 12px 30px rgba(46,63,82,.14);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s; z-index: 20;
}
/* invisible bridge so the menu doesn't close when the cursor crosses the gap */
.dropdown-menu::before {
  content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; background: transparent;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu a { display: block; padding: 9px 14px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 500; white-space: nowrap; transition: background .15s; }
.dropdown-menu a:hover { background: var(--bg); color: var(--accent); }

/* Hero */
.hero { padding: 84px 0 56px; text-align: center; }
.hero .kicker { color: var(--accent); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.hero h1 {
  font-family: 'Playfair Display', 'Fraunces', serif; font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 2.9rem); line-height: 1.1;
  margin: 18px 0 20px; letter-spacing: -.5px;
  color: #2e4055;
}
.hero p { color: var(--muted); font-size: 1.1rem; max-width: 540px; margin: 0 auto; }
.hero-image { display: block; width: 220px; max-width: 60%; margin: 18px auto 22px; border-radius: 14px; border: 1px solid var(--line); }

/* Section title */
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 56px 0 8px; border-top: 1px solid var(--line); padding-top: 28px; }
.section-head h2 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 1.5rem; }
.section-head a { color: var(--accent); text-decoration: none; font-size: .9rem; font-weight: 500; }

/* Poem cards */
.poems { display: flex; flex-direction: column; }
article.poem { padding: 36px 0; border-bottom: 1px solid var(--line); }
article.poem .meta { display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: .82rem; letter-spacing: .04em; margin-bottom: 12px; }
article.poem .meta .tag { color: var(--accent); text-transform: uppercase; font-weight: 600; letter-spacing: .12em; }
article.poem h3 { font-family: 'Fraunces', serif; font-weight: 400; font-size: 1.7rem; line-height: 1.2; margin-bottom: 16px; }
article.poem .verse {
  font-family: 'Fraunces', serif; font-weight: 300; font-style: italic;
  font-size: 1.12rem; line-height: 1.9; color: #2e2a25; white-space: pre-line;
}
article.poem .signature { color: var(--muted); font-size: .9rem; margin-top: 16px; }

/* Newsletter */
.cta { background: #f0e7d6; border: 1px solid var(--line); border-radius: 12px; padding: 26px 28px; margin: 52px 0; text-align: center; color: var(--ink); }
.cta h2 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 1.3rem; margin-bottom: 6px; color: var(--ink); }
.cta p { color: var(--muted); margin-bottom: 16px; font-size: .95rem; }
.form { display: flex; gap: 8px; max-width: 400px; margin: 0 auto; }
.form input { flex: 1; padding: 11px 14px; border: 1px solid var(--line); border-radius: 9px; font-size: .92rem; font-family: inherit; background: #fff; color: var(--ink); }
.form input:focus { outline: none; border-color: var(--accent); }
.form button { padding: 11px 20px; background: var(--ink); color: #fff; border: none; border-radius: 9px; font-size: .92rem; font-weight: 600; cursor: pointer; transition: background .2s; font-family: inherit; }
.form button:hover { background: #14203a; }
.form-msg { color: var(--accent); font-weight: 500; font-size: .88rem; margin-top: 12px; min-height: 1.2em; }

/* Content page */
.page { padding: 56px 0; }
.page .kicker { color: var(--accent); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; margin-bottom: 8px; }
.page > h1 { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(2rem, 5vw, 2.9rem); margin-bottom: 16px; letter-spacing: -.5px; }
.page > h1::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 3px; margin-top: 14px; background: var(--accent-grad); }
.page > h1.centered-title::after { margin-left: auto; margin-right: auto; }
.page .lead { color: var(--muted); font-size: 1.12rem; margin-bottom: 28px; max-width: 640px; }
.page h2 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 1.4rem; margin: 40px 0 14px; color: var(--ink); }
.page h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 1.12rem; margin: 26px 0 10px; color: var(--ink); }
.page p { color: #40474f; font-size: 1.05rem; margin-bottom: 18px; }
.page a.inline { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent); word-break: break-word; }
.page a.inline:hover { color: var(--ink); border-color: var(--ink); }
.page hr { border: none; border-top: 1px solid var(--line); margin: 34px 0; }

.pullquote {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 300; font-size: 1.2rem; line-height: 1.7;
  color: var(--ink); border-left: 3px solid var(--accent); padding: 6px 0 6px 22px; margin: 24px 0;
}
.pullquote cite { display: block; font-style: normal; font-size: .9rem; color: var(--muted); margin-top: 12px; font-family: 'Inter', sans-serif; }

.banner { width: 100%; border-radius: 14px; border: 1px solid var(--line); margin: 4px 0 26px; display: block; }
.comite-photo { width: 100%; border-radius: 14px; border: 1px solid var(--line); margin: 8px 0 14px; display: block; }
.comite-caption { color: var(--muted); font-size: .92rem; margin-bottom: 6px; }

/* Download / member grids */
.dl-grid { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dl-grid.single { grid-template-columns: 1fr; }
.dl-grid li a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--card);
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; transition: border-color .2s, background .2s;
}
.dl-grid li a:hover { border-color: var(--accent); background: var(--bg); }
.dl-grid li a .dl { color: var(--accent); font-size: .82rem; font-weight: 600; white-space: nowrap; }
@media (max-width: 560px) { .dl-grid { grid-template-columns: 1fr; } }

/* Book cover grid */
.book-grid { list-style: none; margin: 6px 0 10px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; }
.book-grid li { margin: 0; }
.book-grid img { width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(46,63,82,.08); display: block; background: #fff; }

/* Carousel / diaporama */
.carousel { position: relative; max-width: 560px; margin: 10px auto 8px; }
.carousel-viewport { overflow: hidden; border-radius: 10px; }
.carousel-track { display: flex; transition: transform .4s ease; }
.carousel .slide { flex: 0 0 100%; display: flex; justify-content: center; align-items: center; }
.carousel .slide img {
  max-width: 100%; max-height: 68vh; width: auto; height: auto;
  border-radius: 8px; border: 1px solid var(--line); background: #fff;
  box-shadow: 0 10px 30px rgba(46,63,82,.12); display: block;
}
.carousel .car-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); font-size: 1.5rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(46,63,82,.14); transition: background .2s, border-color .2s; z-index: 2;
}
.carousel .car-btn:hover { background: var(--bg); border-color: var(--accent); color: var(--accent); }
.carousel .car-prev { left: -8px; }
.carousel .car-next { right: -8px; }
.carousel .car-counter { text-align: center; margin-top: 14px; color: var(--muted); font-size: .9rem; letter-spacing: .04em; }
.carousel .car-counter .cur { color: var(--ink); font-weight: 600; }
@media (max-width: 620px) {
  .carousel .car-prev { left: 2px; }
  .carousel .car-next { right: 2px; }
  .carousel .car-btn { width: 40px; height: 40px; font-size: 1.3rem; }
}

/* Press / news list */
.news { list-style: none; padding: 0; margin: 12px 0; }
.news li { padding: 18px 0; border-bottom: 1px solid var(--line); color: #40474f; font-size: 1.02rem; }
.news li a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent); word-break: break-word; }
.news li a:hover { color: var(--ink); border-color: var(--ink); }

/* Simple link list */
.links { list-style: none; padding: 0; margin: 12px 0; }
.links li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.links li a { color: var(--ink); text-decoration: none; font-weight: 500; }
.links li a:hover { color: var(--accent); }
.links li span { display: block; color: var(--muted); font-size: .9rem; }

.contact-box { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px 26px; margin: 20px 0; }
.contact-box a { color: var(--accent); text-decoration: none; font-weight: 600; }

/* Back-to-home button */
.home-return { text-align: center; padding: 40px 0; }
.btn-home {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px; border-radius: 8px; text-decoration: none;
  background: #f6dcb4; color: #9a5a1e; font-weight: 600; font-size: .85rem;
  transition: background .2s, transform .15s;
}
.btn-home:hover { background: #f0cf9d; transform: translateY(-1px); }
.btn-home .arrow { font-size: 1.05rem; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 40px 0; text-align: center; color: var(--muted); font-size: .88rem; }
footer.site .brand img { height: 65px; width: auto; margin: 0 auto 16px; display: block; }
footer.site .foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 14px; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--ink); }

@media (max-width: 560px) {
  .brand img { height: 96px; }
  footer.site .brand img { height: 55px; }
  .nav-links { gap: 8px 14px; }
  .nav-links > a, .dropdown > .drop-toggle { font-size: .82rem; }
  .form { flex-direction: column; }
}
