/* Groddle Field Notes · Home. Builds on ../restoration/restoration.css
   (tokens, bands, footer) like the compare page, with the same dark theme. */

:root {
  --lead: #3d5238;
  --band-alt: rgba(251, 250, 242, 0.55);
  --band-line: rgba(184, 201, 170, 0.6);
  --shadow: rgba(48, 70, 44, 0.28);
  --play: #e58b3f;
  --play-ink: #fff;
  --play-hover: #d27a30;
  --re-original: #ecece6;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #161e17;
    --surface: #202a21;
    --fg: #e3ebd8;
    --muted: #a4ae9c;
    --border: #3a4939;
    --accent: #eea05c;
    --lead: #c9d4bd;
    --band-alt: rgba(32, 42, 33, 0.7);
    --band-line: rgba(58, 73, 57, 0.9);
    --shadow: rgba(0, 0, 0, 0.6);
    --play: #eea05c;
    --play-ink: #1a1408;
    --play-hover: #f4b274;
    --re-original: #2b322b;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #161e17;
  --surface: #202a21;
  --fg: #e3ebd8;
  --muted: #a4ae9c;
  --border: #3a4939;
  --accent: #eea05c;
  --lead: #c9d4bd;
  --band-alt: rgba(32, 42, 33, 0.7);
  --band-line: rgba(58, 73, 57, 0.9);
  --shadow: rgba(0, 0, 0, 0.6);
  --play: #eea05c;
  --play-ink: #1a1408;
  --re-original: #2b322b;
  --play-hover: #f4b274;
  color-scheme: dark;
}

body.landing { background-color: var(--bg); overflow-x: hidden; }
.landing .lead, .landing .section-lead { color: var(--lead); }
.landing .band-alt { background: var(--band-alt); border-block-color: var(--band-line); }
.landing h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.1; margin: 0; }

/* —— Buttons —— */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 800; font-size: 17px; text-decoration: none;
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn-play { background: var(--play); color: var(--play-ink); box-shadow: 0 6px 18px -8px var(--shadow); }
.btn-play:hover { background: var(--play-hover); transform: translateY(-1px); }
.btn-quiet { border: 1px solid var(--border); background: var(--surface); }
.btn-quiet:hover { border-color: var(--muted); }
.btn:focus-visible, .dev-card:focus-visible, .hero-shot:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* —— Hero —— */
.hero { padding: 56px 0 48px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.4vw, 80px); line-height: 1; margin: 0 0 18px; }
.hero .lead { font-size: 18px; margin: 0 0 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.hero-shot {
  display: block; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 48px -28px var(--shadow);
  transform: rotate(0.6deg);
  transition: transform .2s ease;
}
.hero-shot:hover { transform: rotate(0deg) scale(1.01); }
.hero-shot img { width: 100%; height: auto; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-shot { transform: none; }
}

/* —— Section heads —— */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.more { font-weight: 700; color: var(--accent); text-decoration: none; }
.more:hover { text-decoration: underline; }
.more::after { content: " \2192"; }

/* —— Numbers —— */
.numbers { padding-top: 8px; }
.stat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--muted); font-size: 14px; line-height: 1.3; }
@media (max-width: 760px) { .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* —— Things to do —— */
.todo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.todo { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.todo img { width: 100%; height: auto; aspect-ratio: 1200 / 511; object-fit: cover; border-bottom: 1px solid var(--border); }
.todo h3 { font-size: 19px; margin: 14px 16px 6px; }
.todo p { margin: 0 16px 16px; color: var(--muted); font-size: 14.5px; }
@media (max-width: 1100px) { .todo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .todo-grid { grid-template-columns: 1fr; } }

/* —— Drawn from the original files —— */
.art-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px; align-items: center; }
.art-note h2 { margin-bottom: 12px; }
.art-note .section-lead { margin: 0; }
.art-pair { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.art-pair div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.art-pair img { width: 100%; height: auto; }
.art-pair figcaption { padding: 8px 12px 10px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--border); }
@media (max-width: 900px) { .art-grid { grid-template-columns: 1fr; gap: 20px; } }

/* —— Development —— */
.dev-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 8px; }
.dev-grid .dev-card:not(.dev-log) { grid-column: 1; }
.dev-log { grid-column: 2; grid-row: 1 / span 2; }
.dev-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px; text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}
a.dev-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.dev-kicker { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 800; color: var(--accent); }
.dev-title { font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.15; }
.dev-text { color: var(--muted); font-size: 15px; }
.log-list { list-style: none; margin: 2px 0 4px; padding: 0; display: grid; gap: 8px; }
.log-list li { font-size: 15px; line-height: 1.35; padding-left: 16px; position: relative; }
.log-list li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 7px; height: 7px; border-radius: 50%; background: var(--moss); }
.log-list li[data-kind="fix"]::before { background: var(--sky); }
.log-list time { display: block; color: var(--muted); font-size: 13px; }
@media (max-width: 900px) {
  .dev-grid { grid-template-columns: 1fr; }
  .dev-grid .dev-card:not(.dev-log), .dev-log { grid-column: 1; grid-row: auto; }
}

/* —— Honest note —— */
.solo-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.solo-note .section-lead { margin-bottom: 0; max-width: 44em; }
.solo-note h2 { margin-bottom: 10px; }
.solo-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { .solo-grid { grid-template-columns: 1fr; gap: 20px; } .solo-actions { justify-self: start; } }

.landing .foot a { color: var(--fg); }

@media (prefers-reduced-motion: reduce) {
  .btn, .hero-shot, .dev-card { transition: none; }
  .hero-shot, .hero-shot:hover, .btn-play:hover, a.dev-card:hover { transform: none; }
}


/* Restored, and reimagined: greyscale wardrobe files beside their reimagined colours. */
.reimagined .section-lead { max-width: 62ch; }
.re-grid { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.re-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.re-pair { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.re-pair div { display: flex; flex-direction: column; align-items: center; border-radius: var(--radius); background: var(--bg); padding: 6px 4px 4px; min-width: 0; }
.re-pair div:first-child { background: var(--re-original); }
.re-pair img { width: 100%; max-width: 180px; height: auto; aspect-ratio: auto; }
.re-pair figcaption { font-size: 12px; color: var(--muted); padding-top: 2px; }
.re-pair div:last-child figcaption { color: var(--fg); font-weight: 700; }
.re-card h3 { margin: 4px 0 0; font-size: 18px; }
.re-card p { margin: 0; font-size: 14px; color: var(--muted); }
.re-more { margin: 18px 0 0; color: var(--muted); }
.re-more a { font-weight: 700; }
