/* Theme tokens. A later run replaces only this block from the screenshot palette. */
:root {

  --color-bg: #fffff7;
  --color-header: #fffff7;
  --color-surface: #ffffff;
  --color-text: #343400;
  --color-muted: #252500;
  --color-accent: #6b6b00;
  --color-on-accent: #ffffff;
  --color-border: #eeeed4;
  --color-cta: #6b6b00;
  --font-sans: "Avenir Next", "Segoe UI", sans-serif;
  --font-display: "Iowan Old Style", Palatino, Georgia, serif;

}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, .btn, .button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }

header { background: var(--color-header); color: var(--color-bg); }
.bar, .foot { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.btn { background: var(--color-cta); color: var(--color-on-accent); padding: 10px 14px; border-radius: 8px; font-weight: 800; }
.band { display: flex; justify-content: center; align-items: center; gap: 48px; padding: 48px 24px; }
.band .copy { max-width: 26rem; padding: 0; }
.flip { flex-direction: row-reverse; background: var(--color-surface); }
h1 { font-family: var(--font-display); font-size: clamp(34px, 4.5vw, 52px); line-height: 1.08; margin: 0 0 12px; font-weight: 500; }
h2 { font-family: var(--font-display); font-size: 40px; margin: 0 0 8px; font-weight: 500; }
.media img { width: 220px; height: auto; margin: 0; border-radius: 28px; }
.trio { display: grid; grid-template-columns: repeat(auto-fit, 220px); justify-content: center; gap: 16px; padding: 36px 0 56px; }
.trio img { width: min(220px, 100%); height: auto; margin-inline: auto; border-radius: 20px; }
.foot { color: var(--color-muted); font-size: 14px; gap: 16px; }
@media (max-width: 800px) { .band, .flip { flex-direction: column; text-align: center; } }

/* Header and footer match the G004 bar: sticky blur, brand, links, pill, then a quiet footer. */
header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--color-bg) 82%, transparent);
  color: var(--color-text);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--color-border);
}
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 750; letter-spacing: .01em; color: inherit; }
.brand img { width: 42px; height: 42px; border-radius: 13px; }
.navlinks { display: flex; align-items: center; gap: 27px; color: var(--color-muted); font-size: 14px; }
.navlinks a:hover, .foot-links a:hover { color: var(--color-text); }
.navlinks .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--color-cta);
  color: var(--color-on-accent);
  font-weight: 700;
  border: 0;
}
.navlinks .btn:hover { transform: translateY(-2px); color: var(--color-on-accent); }
footer {
  margin-top: 76px;
  border-top: 1px solid var(--color-border);
  padding: 35px 0 28px;
  color: var(--color-muted);
  font-size: 13px;
}
.foot-top { display: flex; justify-content: space-between; gap: 25px; align-items: center; flex-wrap: wrap; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.copyright { margin-top: 23px; font-size: 12px; }
.disclaimer { max-width: 760px; margin-top: 12px; font-size: 11px; line-height: 1.5; }
@media (max-width: 600px) {
  .nav { height: 66px; }
  .navlinks { gap: 14px; }
  .navlinks a:not(.btn) { display: none; }
  .navlinks .btn { padding: 10px 14px; font-size: 12px; }
  .brand { font-size: 14px; }
  .brand img { width: 36px; height: 36px; }
  .foot-top { align-items: flex-start; flex-direction: column; }
}

/* G004-like lower page: story, feature cards, and a closing download panel. */
.g-block { padding: 40px 0 12px; }
.g-kicker { margin: 0 0 8px; letter-spacing: .16em; text-transform: uppercase; color: var(--color-accent); font-size: 12px; font-weight: 800; }
.g-block h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(32px, 4vw, 46px); line-height: 1.05; margin: 0 0 12px;  text-align: center; }
.g-lead { color: var(--color-muted); max-width: 40rem; margin: 0 auto 28px; text-align: center; }
.g-story { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; }
.g-story img { width: min(200px, 100%); height: auto; margin-inline: auto; border-radius: 24px; border: 1px solid var(--color-border); }
.g-checks { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.g-checks li { display: flex; gap: 10px; }
.g-checks span { color: var(--color-accent); }
.g-features { display: grid; grid-template-columns: repeat(auto-fit, 220px); justify-content: center; gap: 14px; }
.g-features article { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 18px; padding: 20px; }
.g-features h3 { margin: 0 0 8px; font-size: 18px; }
.g-features p { margin: 0; color: var(--color-muted); font-size: 15px; }
.g-cta { text-align: center; padding: 64px 24px; border: 1px solid var(--color-border); border-radius: 28px; background: var(--color-surface); }
.g-cta p { color: var(--color-muted); max-width: 560px; margin: 0 auto 22px; }
.g-cta .btn { display: inline-flex; align-items: center; margin: 0; padding: 13px 20px; border-radius: 999px; background: var(--color-cta); color: var(--color-on-accent); font-weight: 700; }
@media (max-width: 800px) {
  .g-story { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .g-story { grid-template-columns: 1fr; }
}

.g-features figure { margin: 0; }
.g-features img { width: min(220px, 100%); height: auto; margin-inline: auto; border-radius: 16px; }

.opener, .hero { display: flex; flex-direction: column; align-items: center; text-align: center; }
.gallery, .row, .stack, .shelf, .film, .stream, .pair { flex-wrap: wrap; justify-content: center; overflow: visible; }
.brand { min-width: 0; }
.brand span { line-height: 1.15; }
.g-features { grid-template-columns: repeat(auto-fit, 220px); gap: 28px; }
.g-features img, .trio img, .gallery img, .row img, .stack img, .shelf img, .film img, .stream img, .pair img, .hero-shot img, .media img {
  width: 220px;
  max-width: 100%;
  height: auto;
}
.row { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
