/* Eurolan Research — independent research-methods publication (mobile-first) */
:root {
  --parchment: #f6f3ec;
  --paper: #fffdf8;
  --theme: #2f4f5c;
  --theme-dark: #223b46;
  --theme-deep: #1a2f38;
  --theme-tint: #dde7ea;
  --theme-tint-strong: #c3d4da;
  --accent: #a3712f;
  --accent-dark: #7f5622;
  --ink: #28343a;
  --muted: #5d6b71;
  --line: #ddd6c7;
  --footer-bg: #1a2f38;
  --footer-ink: #e8e1d3;
  --footer-muted: #b8c4c8;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--parchment);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
}
h1, h2, h3, .brand-name, .footer-logo {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.3;
}
a { color: var(--theme); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--theme); color: var(--parchment); }
.container { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }

.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { display: flex; flex-direction: column; gap: .75rem; padding-top: 1rem; padding-bottom: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; width: fit-content; }
.brand-name { font-size: 1.4rem; color: var(--theme); letter-spacing: .02em; }
.pill-nav { display: flex; flex-wrap: wrap; gap: .4rem .5rem; }
.pill-nav a {
  display: inline-block; padding: .4rem .95rem; border: 1px solid var(--line);
  border-radius: 999px; background: var(--parchment); color: var(--ink);
  font-size: .86rem; text-decoration: none; transition: background .15s ease, color .15s ease;
}
.pill-nav a:hover { background: var(--theme); border-color: var(--theme); color: var(--parchment); }

main.container { padding-bottom: 3.5rem; }

.hero { text-align: center; padding: 3.25rem 0 2rem; border-bottom: 1px solid var(--line); }
.kicker { text-transform: uppercase; letter-spacing: .15em; font-size: .76rem; color: var(--accent); margin-bottom: .75rem; }
.hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); color: var(--theme-deep); margin-bottom: 1rem; }
.dek { color: var(--muted); font-size: 1.08rem; max-width: 62ch; margin: 0 auto; }
.hero-actions { margin-top: 1.6rem; display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: .65rem 1.4rem; border-radius: 999px; border: 1px solid var(--theme);
  background: var(--theme); color: var(--parchment); text-decoration: none; font-size: .95rem;
  font-family: inherit; cursor: pointer; transition: background .15s ease;
}
.btn:hover { background: var(--theme-dark); }
.btn-ghost { background: transparent; color: var(--theme); }
.btn-ghost:hover { background: var(--theme); color: var(--parchment); }

.home-copy { max-width: 68ch; margin: 0 auto 1rem; }
.home-copy p { margin: .9rem 0; color: var(--ink); }
.home-copy h2 { font-size: 1.35rem; color: var(--theme-dark); margin-top: 1.5rem; }

.section-head { text-align: center; margin: 2.75rem 0 1.5rem; }
.section-head h2 { font-size: 1.65rem; color: var(--theme-deep); }
.flourish { margin-top: .6rem; }

.card-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  border-top: 3px solid var(--theme); box-shadow: 0 2px 10px rgba(26, 47, 56, .05);
  transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(26, 47, 56, .12); }
.card-link { display: block; padding: 1.5rem; text-decoration: none; color: inherit; height: 100%; }
.card-icon { width: 42px; height: 42px; color: var(--accent); margin-bottom: .8rem; }
.card h2 { font-size: 1.18rem; margin-bottom: .45rem; color: var(--theme-deep); }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: .9rem; }
.card-cta { color: var(--accent-dark); font-weight: 600; font-size: .9rem; }

.breadcrumbs { margin: 1.25rem 0 .5rem; font-size: .85rem; color: var(--muted); }
.breadcrumbs a { color: var(--theme); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.crumb-sep { margin: 0 .55rem; color: var(--line); }

.page-head { padding: 2.5rem 0 1.25rem; text-align: center; }
.page-head h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); color: var(--theme-deep); margin-bottom: .8rem; }
.page-head .dek { max-width: 58ch; }
.article-meta { text-align: center; color: var(--muted); font-size: .85rem; margin-bottom: 1.5rem; }

.article-body { max-width: 68ch; margin: 0 auto; }
.article-body h2 { font-size: 1.45rem; color: var(--theme-dark); margin: 2rem 0 .6rem; border-bottom: 1px solid var(--line); padding-bottom: .3rem; }
.article-body h3 { font-size: 1.15rem; color: var(--accent-dark); margin: 1.4rem 0 .4rem; }
.article-body p { margin: .9rem 0; }
.article-body ul { margin: .9rem 0 .9rem 1.4rem; }
.article-body ol { margin: .9rem 0 .9rem 1.4rem; }
.article-body li { margin: .35rem 0; }

.byline { display: flex; flex-wrap: wrap; gap: .35rem 1rem; align-items: baseline; margin: .9rem auto 1.4rem;
  padding: .7rem 1rem; background: var(--theme-tint); border-left: 4px solid var(--theme);
  border-radius: 0 8px 8px 0; font-size: .92rem; color: var(--muted); max-width: 68ch; }
.byline-name { font-weight: 600; color: var(--ink); }
.byline-dates { color: var(--muted); }

.editorial-note { background: var(--theme-tint); border-left: 4px solid var(--theme);
  padding: 1rem 1.25rem; border-radius: 0 12px 12px 0; max-width: 68ch; margin: 1.5rem auto 0; font-size: .95rem; }
.callout { background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.6rem; max-width: 68ch; margin: 2rem auto 0; }
.callout h2 { font-size: 1.3rem; color: var(--theme-dark); margin: 1.2rem 0 .5rem; }
.callout h2:first-child { margin-top: 0; }
.checks { list-style: none; }
.checks li { position: relative; padding-left: 1.8rem; margin: .6rem 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: .18rem; width: 1.05rem; height: 1.05rem;
  border: 2px solid var(--theme); border-radius: 6px; background: var(--paper); }
.checklist { background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.6rem; max-width: 68ch; margin: 2rem auto 0; }
.checklist h2 { font-size: 1.3rem; color: var(--theme-dark); margin: 1.4rem 0 .5rem; }
.checklist h2:first-child { margin-top: 0; }
.print-btn { margin-top: 1.4rem; }

.related { max-width: 68ch; margin: 2.5rem auto 0; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.related h2 { font-size: 1.2rem; color: var(--theme-dark); margin-bottom: .7rem; }
.related a { display: inline-block; margin: .35rem .5rem .35rem 0; padding: .4rem .95rem; border: 1px solid var(--line);
  border-radius: 999px; background: var(--paper); color: var(--theme); text-decoration: none; font-size: .9rem; }
.related a:hover { border-color: var(--theme); background: var(--theme-tint); }

.author-box { max-width: 68ch; margin: 1.6rem auto 0; padding: 1rem 1.2rem; background: var(--paper);
  border: 1px solid var(--line); border-radius: 10px; font-size: .95rem; color: var(--muted); }
.author-box-label { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark); margin: 0 0 .35rem; }
.author-box-name { font-weight: 600; color: var(--ink); margin: 0 0 .4rem; }
.author-box-bio { margin: 0; }

.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.6rem; max-width: 68ch; margin: 2rem auto 0; text-align: center; }
.contact-card h2 { font-size: 1.3rem; color: var(--theme-dark); margin-bottom: .9rem; }
.contact-card p { margin: .7rem 0; color: var(--muted); }
.resource-note { max-width: 68ch; margin: 1.25rem auto 0; color: var(--muted); font-size: .95rem; }

.site-footer { background: var(--footer-bg); color: var(--footer-ink); margin-top: 2.5rem; }
.site-footer a { color: var(--footer-ink); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 1.6rem; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.footer-logo { font-size: 1.35rem; color: #9fc0cb; margin-bottom: .5rem; }
.footer-brand p { font-size: .92rem; color: var(--footer-muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: .35rem .9rem; align-content: flex-start; }
.footer-nav a { font-size: .88rem; text-decoration: none; opacity: .88; }
.footer-nav a:hover { text-decoration: underline; }
.footer-note { font-size: .85rem; color: var(--footer-muted); border-top: 1px solid #2d4650; padding-top: 1rem; }
.footer-contact { font-size: .9rem; }
.footer-contact p { margin: .35rem 0; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }

@media (min-width: 720px) {
  .header-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1.2fr 1.2fr 1fr; }
}

@media print {
  .site-header, .site-footer, .breadcrumbs, .related, .print-btn { display: none; }
  body { background: #fff; color: #000; }
  .checklist, .callout { border: 1px solid #999; box-shadow: none; }
  a { color: #000; }
}

.byline{display:flex;flex-wrap:wrap;gap:.35rem 1rem;align-items:baseline;margin:.9rem 0 1.4rem;padding:.7rem 1rem;background:var(--theme-tint);border-left:4px solid var(--accent);border-radius:0 8px 8px 0;font-size:.92rem;color:var(--muted)}
.byline-name{font-weight:600;color:var(--ink)}
.byline-name a{color:var(--accent-dark);text-decoration:none}
.byline-name a:hover{text-decoration:underline}
.byline-dates{color:var(--muted)}
.author-box{margin:1.6rem 0 0;padding:1rem 1.2rem;background:var(--paper);border:1px solid var(--line);border-radius:10px;font-size:.95rem;color:var(--muted)}
.author-box-label{font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--theme);margin:0 0 .35rem}
.author-box-name{font-weight:600;color:var(--ink);margin:0 0 .4rem}
.author-box-bio{margin:0}
.author-box-bio a{color:var(--accent-dark)}
.editorial-roles{list-style:none;padding:0;margin:1rem 0}
.editorial-roles li{margin-bottom:.55rem}

