@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Inter:wght@400;500;600&display=swap');

/* Curious Hobby — warm, calm, readable.
   Light paper tones, soft earthy accents, generous spacing. */
:root {
  --bg: #f7f3ec;          /* warm paper */
  --bg-soft: #f1ebdf;     /* slightly deeper panel */
  --surface: #fffdfa;     /* cards / article */
  --text: #2f2a24;        /* soft charcoal, not black */
  --heading: #231f1a;
  --muted: #71685b;
  --line: #e6dece;
  --accent: #9b5d3f;      /* clay — links, key accents */
  --accent-dark: #7e4a30;
  --accent-soft: #f1e1d4;
  --sage: #6b8467;
  --sage-soft: #e9efe4;
  --sand: #c9a45c;
  --sand-soft: #f6ecd6;
  --radius: 14px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow-sm: 0 1px 2px rgba(60, 45, 30, 0.05), 0 4px 14px rgba(60, 45, 30, 0.04);
  --shadow-md: 0 2px 4px rgba(60, 45, 30, 0.05), 0 10px 28px rgba(60, 45, 30, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--sand-soft); color: var(--heading); }

:focus-visible { outline: 3px solid rgba(155, 93, 63, 0.45); outline-offset: 3px; border-radius: 6px; }

.container { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.container.wide { max-width: 1060px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.25; color: var(--heading); letter-spacing: -0.005em; }
h1 { font-size: clamp(2rem, 4.2vw, 2.7rem); margin: 0.3em 0 0.5em; }
h2 { font-size: clamp(1.4rem, 2.8vw, 1.75rem); margin: 2.1em 0 0.6em; }
h3 { font-size: 1.2rem; margin: 1.5em 0 0.45em; }
p { margin: 0 0 1.2em; }
.lead { font-size: 1.15rem; color: var(--muted); font-family: var(--serif); font-style: normal; line-height: 1.7; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(155, 93, 63, 0.4); transition: color 0.15s ease, text-decoration-color 0.15s ease; }
a:hover { color: var(--accent-dark); text-decoration-color: currentColor; }

/* ---------- header ---------- */
.site-header {
  background: rgba(247, 243, 236, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; color: var(--heading); text-decoration: none; letter-spacing: 0; }
.logo span { color: var(--accent); font-style: italic; font-weight: 500; }
.logo:hover { color: var(--heading); }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  color: var(--muted); text-decoration: none; padding: 8px 14px; font-size: 0.95rem; font-weight: 500;
  border-radius: 999px; transition: background 0.15s ease, color 0.15s ease;
}
.nav a:hover { color: var(--heading); background: var(--bg-soft); }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(700px 320px at 90% 0%, rgba(201, 164, 92, 0.16), transparent 70%),
    radial-gradient(600px 360px at 0% 100%, rgba(107, 132, 103, 0.12), transparent 70%),
    var(--bg-soft);
  color: var(--text);
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--line);
}
.hero .container { max-width: 1060px; }
.hero .eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--accent-dark); background: var(--accent-soft); border-radius: 999px; padding: 6px 16px; margin-bottom: 22px;
}
.hero h1 { color: var(--heading); font-size: clamp(2.3rem, 5.2vw, 3.6rem); font-weight: 500; line-height: 1.12; margin-bottom: 0.4em; max-width: 17ch; }
.hero h1 em { color: var(--accent); font-style: italic; }
.hero p { font-size: 1.12rem; color: var(--muted); max-width: 580px; }
.hero .cta-row { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

.btn {
  display: inline-block; background: var(--accent); color: #fffaf3;
  padding: 12px 26px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.98rem;
  box-shadow: var(--shadow-sm); transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  border: 1.5px solid var(--accent);
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); color: #fffaf3; }
.btn.ghost { background: transparent; border: 1.5px solid #cdbfa8; color: var(--heading); box-shadow: none; }
.btn.ghost:hover { background: var(--surface); border-color: var(--accent); color: var(--accent-dark); }

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.eyebrow-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.section-title { font-size: clamp(1.55rem, 3vw, 2rem); margin: 0 0 0.35em; }
.section-sub { color: var(--muted); margin-bottom: 1.8em; max-width: 620px; font-size: 1.04rem; }

/* ---------- cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 24px 22px; text-decoration: none; color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d9ccb3; color: var(--text); }
.card h3 { margin: 0 0 0.4em; font-size: 1.28rem; }
.card p { color: var(--muted); font-size: 0.97rem; line-height: 1.65; margin-bottom: 1em; }
.card .card-link { color: var(--accent); font-weight: 600; font-size: 0.93rem; margin-top: auto; }
.card:hover .card-link { color: var(--accent-dark); }
.card .tag {
  display: inline-block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--accent-dark); background: var(--accent-soft); border-radius: 999px; padding: 3px 12px; margin-bottom: 14px;
}
/* gentle color variety, no gradients */
.card-grid .card:nth-child(3n+2) .tag { color: #4c6648; background: var(--sage-soft); }
.card-grid .card:nth-child(3n) .tag { color: #7a5c1c; background: var(--sand-soft); }

/* ---------- article ---------- */
.article {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(26px, 5vw, 52px); margin: 24px 0 40px; box-shadow: var(--shadow-sm);
}
.article h1 { line-height: 1.2; }
.breadcrumb { font-size: 0.86rem; color: var(--muted); margin: 26px 0 0; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.byline {
  color: var(--muted); font-size: 0.92rem; border-bottom: 1px solid var(--line);
  padding-bottom: 20px; margin-bottom: 26px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.byline::before {
  content: "HG"; display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  background: var(--sage-soft); color: #4c6648;
  font-family: var(--serif); font-weight: 600; font-size: 0.82rem;
}
.byline a { color: var(--heading); font-weight: 600; text-decoration: none; }
.byline a:hover { color: var(--accent); }
.article h2 { padding-top: 0.2em; }
.article ul, .article ol { margin: 0 0 1.3em 1.3em; }
.article li { margin-bottom: 0.55em; padding-left: 0.2em; }
.article li::marker { color: var(--accent); }
.tip, .warning { padding: 16px 20px; border-radius: 12px; margin: 1.6em 0; font-size: 0.98rem; line-height: 1.65; }
.tip { background: var(--sage-soft); border: 1px solid #d5e0cd; }
.warning { background: #fbefe6; border: 1px solid #f0d9c8; }
.tip strong, .warning strong { color: var(--heading); }

/* ---------- faq ---------- */
.faq { margin-top: 2.4em; }
.faq h2 { padding-left: 0; }
.faq details {
  border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: var(--bg);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.faq details:hover { background: var(--bg-soft); }
.faq details[open] { background: var(--surface); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; padding: 15px 20px; font-weight: 500; font-family: var(--serif);
  color: var(--heading); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-dark);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; font-weight: 500; font-family: var(--sans);
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 2px 20px 18px; margin: 0; color: var(--text); }

/* ---------- related ---------- */
.related { margin: 6px 0 56px; }
.related h2 { font-size: 1.5rem; padding-left: 0; margin-top: 0; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--bg-soft);
  color: var(--muted); padding: 48px 0 30px; margin-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.site-footer p { margin-bottom: 0.7em; }
.site-footer strong { color: var(--heading); font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.site-footer nav { display: flex; gap: 8px 22px; flex-wrap: wrap; margin: 16px 0; justify-content: center; }
.site-footer nav a { color: var(--muted); text-decoration: none; font-size: 0.93rem; }
.site-footer nav a:hover { color: var(--accent); text-decoration: underline; }
.site-footer .small { font-size: 0.84rem; color: #8a8071; }

/* ---------- hobby list (pillar) ---------- */
.hobby-group { margin-bottom: 2.2em; }
.hobby-group h3 {
  border-bottom: 1px solid var(--line); padding-bottom: 10px; font-size: 1.3rem;
  display: flex; align-items: center; gap: 10px;
}
.hobby-group h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); flex: none; }
.hobby-group ul { list-style: none; margin-left: 0; columns: 2; column-gap: 32px; }
.hobby-group li { break-inside: avoid; margin-bottom: 0.6em; padding-left: 20px; position: relative; }
.hobby-group li::before { content: "–"; position: absolute; left: 0; color: var(--accent); font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 52px 0 48px; }
  .section { padding: 44px 0; }
  .article { padding: 26px 20px; border-radius: 16px; }
  .hobby-group ul { columns: 1; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .nav { margin-left: -14px; }
}

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

/* ---------- alignment fixes ---------- */
.site-header .container,
.site-footer .container,
.section .container { max-width: 1060px; }
.section .container > p { max-width: 640px; }
.related .card-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
/* inside articles pages the header/footer follow the article column */
body:has(main.container) .site-header .container,
body:has(main.container) .site-footer .container { max-width: 760px; }

/* ---------- visual homepage ---------- */
.home-page {
  background: #f5f2ea;
  color: #1d1c19;
}

.home-page .home-shell {
  width: min(100% - 48px, 1440px);
  margin-inline: auto;
}

.home-page .site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  background: linear-gradient(to bottom, rgba(250, 249, 245, 0.98), rgba(250, 249, 245, 0));
  border: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 22px 0 58px;
}

.home-page .logo {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  letter-spacing: -0.035em;
}

.home-page .nav { gap: 18px; }
.home-page .nav a {
  padding: 6px 0;
  color: #292721;
  border-radius: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.home-page .nav a:hover { background: transparent; color: var(--accent); }

.home-hero {
  position: relative;
  min-height: min(880px, 96vh);
  overflow: hidden;
  background: #f8f6f0;
  border-bottom: 1px solid #ded9ce;
}

.home-hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 68%, rgba(247, 244, 237, 0.72));
}

.home-hero-copy {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 25vw, 370px);
  top: 35%;
  width: min(430px, 38vw);
  padding: clamp(30px, 3vw, 44px);
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid rgba(74, 62, 48, 0.14);
  box-shadow: 0 18px 50px rgba(45, 35, 25, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.home-kicker {
  display: block;
  margin-bottom: 18px;
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #725240;
}

.home-hero h1 {
  max-width: none;
  margin: 0 0 20px;
  color: #1d1c19;
  font-size: clamp(3.1rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.home-hero h1 em { color: #965f43; font-weight: 400; }
.home-hero-copy p {
  max-width: 420px;
  margin-bottom: 24px;
  color: #4e4940;
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  line-height: 1.55;
}

.home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: #24221e;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.home-text-link span { transition: transform 0.2s ease; }
.home-text-link:hover span { transform: translate(2px, -2px); }

.home-scroll-cue {
  position: absolute;
  z-index: 2;
  right: 26px;
  bottom: 24px;
  color: #37342e;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.home-guides { padding: clamp(78px, 9vw, 132px) 0; }
.home-section-heading {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) 1fr;
  align-items: end;
  gap: 30px 80px;
  margin-bottom: 54px;
}
.home-section-heading .home-kicker { grid-column: 1 / -1; margin: 0 0 -12px; }
.home-section-heading h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5.5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.home-section-heading p {
  max-width: 480px;
  margin: 0 0 5px;
  color: #686156;
  font-size: 1rem;
  line-height: 1.6;
}

.visual-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.visual-card {
  grid-column: auto;
  display: flex;
  flex-direction: column;
  min-height: 550px;
  overflow: hidden;
  background: #fff;
  color: #211f1b;
  text-decoration: none;
  border: 1px solid #ded9ce;
  box-shadow: 0 12px 38px rgba(45, 35, 25, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.visual-card:hover {
  color: #211f1b;
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(45, 35, 25, 0.1);
}
.visual-card-large,
.visual-card-wide { grid-column: auto; flex-direction: column; min-height: 550px; }

.visual-card-image {
  display: block;
  flex: 1 1 auto;
  min-height: 310px;
  background-image: url('../img/home-collage.jpg');
  background-repeat: no-repeat;
  background-size: 330% auto;
  filter: saturate(0.9) contrast(0.98);
  transition: transform 0.55s ease, filter 0.55s ease;
}
.visual-card:hover .visual-card-image { transform: scale(1.015); filter: saturate(1) contrast(1); }
.visual-card-large .visual-card-image,
.visual-card-wide .visual-card-image { min-height: 310px; background-size: 330% auto; flex-basis: auto; }

.crop-lock { background-position: 10% 12%; }
.crop-geocaching { background-position: 43% 9%; }
.crop-cardistry { background-position: 68% 8%; }
.crop-mushrooms { background-position: 99% 8%; }
.crop-soap { background-position: 79% 33%; }
.crop-bookbinding { background-position: 8% 78%; }
.crop-index { background-position: 100% 72%; }

.visual-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 28px 28px;
  background: #fff;
  line-height: 1.5;
}
.visual-card-wide .visual-card-body { flex-basis: auto; justify-content: flex-start; padding: 26px 28px 28px; }
.visual-card-meta {
  margin-bottom: 14px;
  color: #8a7868;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.visual-card-body strong {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.visual-card-body > span:not(.visual-card-meta):not(.visual-card-link) { color: #686156; font-size: 0.9rem; }
.visual-card-link {
  margin-top: 22px;
  color: #8b5136;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.home-paths { padding: 90px 0; background: #232924; color: #f5f1e8; }
.home-paths .home-kicker { color: #c6ad8f; }
.home-path-grid { border-top: 1px solid rgba(255,255,255,0.2); }
.home-path-grid a {
  display: grid;
  grid-template-columns: 60px minmax(240px, 0.9fr) 1fr;
  gap: 28px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  color: #f5f1e8;
  text-decoration: none;
  transition: padding 0.25s ease, color 0.25s ease;
}
.home-path-grid a:hover { padding-left: 14px; color: #d9b99a; }
.home-path-grid span { color: #a49d91; font-size: 0.72rem; letter-spacing: 0.1em; }
.home-path-grid strong { font-family: var(--serif); font-size: clamp(1.45rem, 2.5vw, 2.25rem); font-weight: 400; }
.home-path-grid small { color: #aaa79f; font-size: 0.9rem; }

.home-manifesto { padding: clamp(90px, 12vw, 160px) 0; background: #ebe3d8; }
.home-manifesto p {
  max-width: 1040px;
  margin: 0 0 44px;
  font-family: var(--serif);
  color: #29251f;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.home-manifesto em { color: #965f43; }
.home-page .site-footer { margin-top: 0; background: #f5f2ea; }

@media (max-width: 960px) {
  .home-hero { min-height: 760px; }
  .home-hero-art { object-position: 58% top; }
  .home-hero-copy { left: 8vw; top: 38%; width: 48vw; }
  .visual-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .home-page .home-shell { width: min(100% - 32px, 1440px); }
  .home-page .site-header { position: relative; padding: 14px 0; background: #f8f6f0; border-bottom: 1px solid #ded9ce; }
  .home-page .header-inner { flex-direction: row; align-items: center; }
  .home-page .nav { margin-left: 0; gap: 12px; }
  .home-page .nav a { font-size: 0.67rem; }
  .home-page .nav a:first-child { display: none; }
  .home-hero { display: flex; flex-direction: column; min-height: 0; }
  .home-hero-art { position: relative; order: 1; height: 54vh; min-height: 420px; object-position: 50% top; }
  .home-hero::after { display: none; }
  .home-hero-copy {
    position: relative;
    order: 2;
    left: auto;
    top: auto;
    width: auto;
    padding: 38px 20px 52px;
    background: #f8f6f0;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .home-hero h1 { font-size: clamp(3rem, 16vw, 4.5rem); }
  .home-scroll-cue { display: none; }
  .home-section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 38px; }
  .home-section-heading .home-kicker { margin: 0; }
  .visual-card-grid { grid-template-columns: 1fr; }
  .visual-card, .visual-card-large, .visual-card-wide { min-height: 550px; flex-direction: column; }
  .visual-card-image, .visual-card-large .visual-card-image, .visual-card-wide .visual-card-image { min-height: 320px; flex-basis: auto; }
  .visual-card-wide .visual-card-body { flex-basis: auto; padding: 26px 28px 28px; }
  .home-path-grid a { grid-template-columns: 36px 1fr; gap: 12px; }
  .home-path-grid small { grid-column: 2; }
}
