/* losttou.ch — reconnection & nostalgia
   Warm, paper-and-ink palette. No frameworks, no tracking. */

:root {
  --cream: #faf3e8;
  --paper: #fffdf8;
  --ink: #33291f;
  --ink-soft: #5a4c3c;
  --rust: #b5502e;
  --rust-dark: #8c3c22;
  --gold: #c8952e;
  --line: #e4d8c3;
  --max-width: 780px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Georgia, 'Iowan Old Style', 'Palatino Linotype', serif;
  line-height: 1.7;
  font-size: 18px;
}

a { color: var(--rust-dark); text-decoration-thickness: 1px; }
a:hover { color: var(--rust); }

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

.site-header {
  border-bottom: 3px double var(--line);
  background: var(--paper);
}

.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.brand {
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  color: var(--ink);
  text-decoration: none;
}

.brand span { color: var(--rust); }

.brand-tagline {
  display: block;
  font-family: Georgia, serif;
  font-size: 0.75rem;
  font-weight: normal;
  font-style: italic;
  color: var(--ink-soft);
  letter-spacing: 0.5px;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  font-size: 0.95rem;
}

nav.main-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--rust-dark);
  border-bottom-color: var(--gold);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.wide { max-width: 1000px; }

h1, h2, h3 {
  font-family: Georgia, serif;
  color: var(--ink);
  line-height: 1.25;
}

h1 { font-size: 2.1rem; margin-bottom: 0.4rem; }
h2 { font-size: 1.5rem; margin-top: 2.25rem; }
h3 { font-size: 1.15rem; margin-top: 1.75rem; }

.byline, .meta {
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.freshness {
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--ink-soft);
  opacity: 0.85;
  margin: -1rem 0 1.5rem;
}

.faq-section h3 {
  font-size: 1.05rem;
  margin-top: 1.5rem;
  margin-bottom: 0.35rem;
}

.faq-section p {
  margin-top: 0;
}

.related-articles {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.related-articles li {
  margin-bottom: 0.6rem;
}

.related-articles a {
  font-weight: bold;
  text-decoration: none;
}

.related-articles a:hover {
  color: var(--rust);
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
}

blockquote {
  border-left: 3px solid var(--gold);
  margin: 1.5rem 0;
  padding: 0.25rem 0 0.25rem 1.25rem;
  color: var(--ink-soft);
  font-style: italic;
}

hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

/* Hero on homepage */
.hero {
  background: linear-gradient(180deg, var(--paper), var(--cream));
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.6rem;
  max-width: 700px;
  margin: 0 auto 1rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto;
}

.hero-image {
  max-width: 480px;
  margin: 2.25rem auto 0;
}

.hero-image img {
  width: 100%;
  height: auto;
}

/* Real photography, layered on top of the hand-drawn SVG icons */
.hero-photo {
  max-width: 640px;
  margin: 1.75rem auto 0;
}

.hero-photo img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(51, 41, 31, 0.08);
}

.article-photo {
  margin: 1.25rem 0 1.75rem;
}

.article-photo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.photo-credit {
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  font-size: 0.75rem;
  color: var(--ink-soft);
  margin-top: 0.4rem;
  opacity: 0.85;
}

.photo-credit a {
  color: var(--ink-soft);
}

.card-icon, .article-icon {
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 0.9rem;
}

.card-icon img { width: 28px; height: 28px; }

.article-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.25rem;
}

.article-icon img { width: 36px; height: 36px; }

/* Article grid on homepage */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.card .tag {
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rust);
  margin-bottom: 0.5rem;
}

.card h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.card p {
  color: var(--ink-soft);
  flex-grow: 1;
  font-size: 0.98rem;
}

.card a.read-more {
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: bold;
}

/* Disclosure / notice boxes */
.disclosure-box {
  background: #fbeee1;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  padding: 1rem 1.25rem;
  border-radius: 4px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 1.75rem 0;
}

.disclosure-box strong { color: var(--ink); }

/* Affiliate link styling */
a.affiliate-link {
  border-bottom: 1px dashed var(--rust);
  text-decoration: none;
}

.affiliate-note {
  font-size: 0.75rem;
  color: var(--ink-soft);
  vertical-align: super;
}

.site-footer {
  border-top: 3px double var(--line);
  background: var(--paper);
  margin-top: 3rem;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  font-size: 0.85rem;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.footer-inner nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-inner nav a:hover { color: var(--rust); }

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .hero h1 { font-size: 2rem; }
  .header-inner { flex-direction: column; align-items: flex-start; }
}
