/* ============================================================
   donnaleedunne.com — shared stylesheet
   Modern redesign of the 1997–2001 archive. No frameworks.
   ============================================================ */

:root {
  --ink: #171b30;          /* deep heritage navy (from the original #000059) */
  --ink-2: #22284a;
  --ink-soft: #3d4360;
  --paper: #f6f2e9;        /* warm parchment */
  --card: #fffdf7;
  --gold: #b8892f;
  --gold-soft: #d9b25f;
  --text: #34394b;
  --text-soft: #6a6f80;
  --line: #e3dcc9;
  --line-soft: #ece6d6;
  --serif: Georgia, Cambria, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(23, 27, 48, .06), 0 10px 30px -18px rgba(23, 27, 48, .35);
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; }

a { color: #8a5b13; text-decoration-thickness: from-font; text-underline-offset: 2px; }
a:hover { color: var(--gold); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 28px); }

/* ---------- skip link / a11y ---------- */
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

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

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(23, 27, 48, .97);
  color: #eef0f6;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08), 0 8px 24px -18px rgba(0, 0, 0, .8);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 62px; }
.brand {
  color: #fff; text-decoration: none; font-family: var(--serif);
  font-size: 1.12rem; letter-spacing: .02em; white-space: nowrap;
}
.brand small { display: block; font-family: var(--sans); font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-soft, #d9b25f); }
.brand:hover { color: #fff; }

.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; flex-wrap: wrap; }
.site-nav a {
  display: block; padding: 9px 12px; color: #d6d9e6; text-decoration: none;
  font-size: .92rem; border-radius: 7px; white-space: nowrap;
}
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.site-nav a[aria-current="page"] { color: #fff; background: rgba(217, 178, 95, .22); }

.nav-toggle {
  display: none; margin-left: auto;
  background: transparent; border: 1px solid rgba(255, 255, 255, .35);
  color: #fff; font-size: 1.15rem; line-height: 1; padding: 8px 12px; border-radius: 8px; cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; background: var(--ink); padding: 8px 12px 16px; box-shadow: 0 18px 30px -18px rgba(0,0,0,.6); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav a { padding: 11px 14px; font-size: 1rem; }
  .header-inner { position: relative; }
}

/* ---------- breadcrumbs ---------- */
.breadcrumbs { font-size: .8rem; color: var(--text-soft); padding: 18px 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 8px; color: var(--text-soft); }
.breadcrumbs a { color: var(--text-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--text); }

/* ---------- hero (home) ---------- */
.hero {
  background:
    linear-gradient(115deg, rgba(23, 27, 48, .93) 18%, rgba(23, 27, 48, .55) 55%, rgba(23, 27, 48, .28) 100%),
    var(--hero-img, none) center / cover no-repeat,
    var(--ink);
  color: #f2efe6;
  padding: clamp(40px, 9vw, 92px) 0;
}
.hero-inner { display: grid; gap: 26px; grid-template-columns: minmax(0, 1.35fr) minmax(220px, .65fr); align-items: center; }
@media (max-width: 800px) { .hero-inner { grid-template-columns: 1fr; } }
.hero h1 { font-family: var(--serif); font-size: clamp(1.9rem, 4.6vw, 3.1rem); line-height: 1.14; margin: 0 0 14px; color: #fff; }
.hero p.lede { font-size: 1.06rem; color: #d9dce8; max-width: 34em; margin: 0 0 24px; }
.hero .signature { font-family: var(--serif); font-style: italic; color: var(--gold-soft, #d9b25f); letter-spacing: .04em; }
.hero-art { border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .65); border: 1px solid rgba(255, 255, 255, .14); }
.hero-art img { display: block; width: 100%; }

.btn {
  display: inline-block; padding: 11px 22px; border-radius: 999px;
  background: var(--gold); color: #221a06; font-weight: 600; text-decoration: none;
  font-size: .95rem; border: 0; cursor: pointer;
}
.btn:hover { background: #c99a40; color: #1c1504; }
.btn-ghost { background: transparent; color: #f2efe6; border: 1px solid rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- sections ---------- */
.section { padding: clamp(30px, 6vw, 56px) 0; }
.section-tint { background: #efe9db; }
.section-head { margin-bottom: 22px; }
.section-head .eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; color: #8a6a1f; font-weight: 700; margin: 0 0 6px; }
.section-head h2 { font-family: var(--serif); color: var(--ink); font-size: clamp(1.35rem, 3vw, 1.8rem); margin: 0 0 6px; }
.section-head p { margin: 0; color: var(--text-soft); }

/* ---------- quick link tiles (home nav grid) ---------- */
.tiles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.tile {
  display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; text-decoration: none; box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s ease;
}
.tile:hover { transform: translateY(-3px); border-color: var(--gold-soft, #d9b25f); }
.tile h3 { margin: 0 0 4px; font-size: 1.02rem; color: var(--ink); font-family: var(--serif); }
.tile p { margin: 0; font-size: .86rem; color: var(--text-soft); }

/* ---------- gallery grids ---------- */
figure { margin: 0; }
.card-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card a { display: block; text-decoration: none; }
.card .ph { display: block; width: 100%; height: 158px; object-fit: cover; background: #e8e2d2; transition: transform .25s ease; }
.card a:hover .ph, .card a:focus-visible .ph { transform: scale(1.045); }
.card figcaption { padding: 9px 12px 12px; font-size: .84rem; color: var(--text); line-height: 1.4; }
.card figcaption small { display: block; color: var(--text-soft); font-size: .76rem; }
.card--plain .ph { width: 100%; height: auto; }

.series { margin: 0 0 10px; }
.series-title { font-family: var(--serif); color: var(--ink); font-size: 1.25rem; margin: 34px 0 4px; }
.series-title small { color: var(--text-soft); font-family: var(--sans); font-size: .85rem; font-weight: 400; }

/* ---------- artwork detail ---------- */
.artwork { max-width: 760px; margin-inline: auto; }
.artwork-view {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(12px, 3vw, 30px);
  display: flex; justify-content: center;
}
.artwork-view img { max-width: 100%; height: auto; display: block; }
.artwork-meta { text-align: center; padding: 22px 8px 4px; }
.artwork-meta h1 { font-family: var(--serif); color: var(--ink); font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin: 0 0 6px; }
.artwork-medium { color: var(--text-soft); font-style: italic; margin: 0 0 10px; }
.artwork-note { max-width: 640px; margin: 0 auto 10px; }
.artwork-series { font-size: .9rem; color: var(--text-soft); }
.artwork-pager { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin: 26px 0 10px; flex-wrap: wrap; }
.artwork-pager a { text-decoration: none; font-size: .92rem; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.artwork-pager a:hover { border-color: var(--gold); }
.artwork-pager .idx { color: var(--text-soft); font-size: .88rem; }
.placeholder-note { font-size: .88rem; color: var(--text-soft); font-style: italic; }

/* ---------- lake reflection ---------- */
.lake-stage { display: flex; justify-content: center; padding-bottom: 70px; }
.lake-view { position: relative; display: inline-block; }
.lake-view img.main { display: block; max-width: min(480px, 100%); height: auto; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.lake-view img.lake-flip {
  position: absolute; top: 100%; left: 0; width: 100%; height: 62%;
  object-fit: cover; object-position: top;
  transform: scaleY(-1); opacity: .45; pointer-events: none;
  -webkit-mask-image: linear-gradient(0deg, rgba(0,0,0,.75), transparent 85%);
          mask-image: linear-gradient(0deg, rgba(0,0,0,.75), transparent 85%);
  animation: ripple 6s ease-in-out infinite alternate;
}
@keyframes ripple { from { opacity: .42; } to { opacity: .2; } }

/* ---------- prose (text pages) ---------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose h1 { font-family: var(--serif); color: var(--ink); font-size: clamp(1.6rem, 3.6vw, 2.2rem); margin: 6px 0 10px; }
.prose h2 { font-family: var(--serif); color: var(--ink); font-size: 1.3rem; margin: 30px 0 8px; }
.prose h3 { font-size: 1.06rem; color: var(--ink); margin: 22px 0 6px; }
.prose p, .prose li { color: var(--text); }
.prose .meta { color: var(--text-soft); font-size: .9rem; margin: 0 0 26px; }
.prose blockquote { margin: 18px 0; padding: 12px 20px; border-left: 3px solid var(--gold); background: var(--card); border-radius: 0 8px 8px 0; font-style: italic; }
.prose dl, .prose ul, .prose ol { padding-left: 22px; }
.prose dt { font-weight: 700; color: var(--ink); margin-top: 14px; }
.prose dd { margin: 2px 0 10px; }

/* ---------- split / feature ---------- */
.split { display: grid; gap: 26px; grid-template-columns: 1.05fr .95fr; align-items: center; }
@media (max-width: 780px) { .split { grid-template-columns: 1fr; } }
.split .media img { border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); display: block; width: 100%; height: auto; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin-inline: auto; }
.faq-list details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 10px; box-shadow: var(--shadow); }
.faq-list summary { cursor: pointer; font-weight: 600; color: var(--ink); font-size: 1rem; }
.faq-list details[open] summary { color: var(--gold); }
.faq-list details p { margin: 10px 2px 2px; }

/* ---------- info banner / note ---------- */
.note { background: #f3ecda; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; font-size: .92rem; color: #4c4633; }

/* ---------- tables ---------- */
table.simple { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.simple th, table.simple td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.simple th { color: var(--ink); background: #f0ead9; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #b9bdd0; margin-top: 40px; }
.footer-grid { display: grid; gap: 26px; grid-template-columns: 2fr 1fr 1fr 1fr; padding: 40px 0 26px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft, #d9b25f); margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 7px; }
.site-footer a { color: #c9cde0; text-decoration: none; font-size: .92rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-about p { font-size: .92rem; margin: 0 0 10px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 16px 0 26px; font-size: .8rem; color: #9aa0b8; }
.footer-bottom .wrap { display: flex; gap: 14px; flex-wrap: wrap; justify-content: space-between; }

/* ---------- misc ---------- */
.linklist { display: grid; gap: 8px; }
.linklist a { font-size: .98rem; }
.pager-links { display: flex; gap: 16px; justify-content: center; margin: 28px 0 8px; flex-wrap: wrap; }
.center { text-align: center; }
.mt { margin-top: 26px; }
.home-cta {
  background: linear-gradient(120deg, #1d2340, #2a3158); color: #e8eaf4;
  border-radius: 14px; padding: clamp(22px, 4vw, 40px); display: grid; gap: 8px;
}
.home-cta h2 { color: #fff; font-family: var(--serif); margin: 0; }
.home-cta p { margin: 0; color: #c3c8dd; }
.home-cta .btn { justify-self: start; margin-top: 8px; }
.small-note { font-size: .8rem; color: var(--text-soft); }
.poem { background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 22px 26px; margin: 22px auto; max-width: 680px; }
.poem p { font-family: var(--serif); font-style: italic; color: #3c4152; margin: 0 0 14px; line-height: 1.75; }
.poem p:last-of-type { margin-bottom: 0; }
.poem figcaption { font-family: var(--sans); font-style: normal; font-size: .8rem; color: var(--text-soft); margin-top: 16px; text-align: right; }
