:root {
  --cream: #f7f3e8;
  --paper: #fdfbf5;
  --sage-pale: #e3e8d3;
  --sage: #8fae8a;
  --forest: #3f5e3f;
  --forest-deep: #2f482f;
  --clay: #c2683f;
  --ink: #1f2a1f;
  --muted: #5b6558;
  --line: #e4dfcf;
  --radius: 18px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0 0 1rem; }

.wrap {
  width: min(100% - 2.5rem, 68rem);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--paper);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  z-index: 10;
}

:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Header */
.site-header {
  padding: 1.25rem 0;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--forest);
  text-decoration: none;
}
.nav {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.5rem 0;
  display: inline-block;
}
.nav a:hover { color: var(--forest); }

/* Shared */
.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.section { padding: 5rem 0; }
.section h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.lede { color: var(--muted); margin-top: 0.4rem; }

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid var(--forest);
  transition: background 0.15s, color 0.15s;
}
.btn-primary { background: var(--forest); color: var(--paper); }
.btn-primary:hover { background: var(--forest-deep); }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--sage-pale); }

.badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: var(--sage-pale);
  color: var(--forest-deep);
  white-space: nowrap;
}

/* Hero */
.hero { padding: 3rem 0 5rem; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
.hero p.sub {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 28rem;
  margin: 1.5rem 0 2rem;
}
.hero .actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 9;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 24px 48px -24px rgba(31, 42, 31, 0.45);
}

/* About */
.about .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: start;
}
.about .story p { color: var(--muted); }
.about h2 { margin-bottom: 1.5rem; }
.verse {
  margin: 2rem 0 0;
  padding: 1.75rem;
  background: var(--sage-pale);
  border: 1px solid #cfd8bb;
  border-radius: var(--radius);
}
/* All verses share one grid cell, so the box is as tall as the longest
   and does not jump when the verse changes. */
.verse-list { display: grid; list-style: none; margin: 0; padding: 0; }
.verse-list li {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s;
}
.verse-list li.is-current { opacity: 1; visibility: visible; }
.verse p {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.45;
  margin-bottom: 0.6rem;
}
.verse cite { font-style: normal; font-size: 0.85rem; color: var(--muted); }
.verse-toggle {
  margin-top: 0.75rem;
  padding: 0.2rem 0.75rem;
  font: inherit;
  font-size: 0.8rem;
  color: var(--forest);
  background: transparent;
  border: 1px solid #cfd8bb;
  border-radius: 999px;
  cursor: pointer;
}
.verse-toggle:hover { background: var(--paper); }

.roots h3 { color: var(--forest); font-size: 1.3rem; margin-bottom: 1rem; }
.roots ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.roots li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
}
.roots strong { display: block; margin-bottom: 0.25rem; }
.roots span { color: var(--muted); font-size: 0.92rem; }

/* Tees */
.cards {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.25rem;
  list-style: none;
  padding: 0;
}
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}
/* Design art has a white background, so the tile is white to match. */
.tee {
  background: #fff;
  border-radius: 12px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  overflow: hidden;
}
.tee img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}
.card h3 { font-size: 1.1rem; }
.card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Apps */
.apps { background: var(--sage-pale); }
.apps .card { padding: 1.6rem; }
.apps .card p { color: var(--muted); margin: 0.6rem 0 1rem; font-size: 0.95rem; }
.app-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--forest);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* Contact */
.contact .panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
}
.contact p { color: var(--muted); max-width: 34rem; margin: 0.9rem auto 1.75rem; }

/* Footer */
.site-footer {
  background: var(--forest);
  color: #e9efe0;
  padding: 3.5rem 0 2rem;
}
.site-footer .wrap.cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
}
.site-footer .brand { color: var(--paper); font-size: 1.3rem; }
.site-footer p { color: #cdd8c4; font-size: 0.92rem; max-width: 24rem; margin-top: 0.75rem; }
.site-footer h3 { font-size: 1rem; color: var(--paper); margin-bottom: 0.75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; font-size: 0.92rem; }
.site-footer li a {
  color: #cdd8c4;
  text-decoration: none;
  display: inline-block;
  padding: 0.3rem 0;
}
.site-footer li a:hover { color: var(--paper); text-decoration: underline; }
.site-footer .fine {
  max-width: none;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.85rem;
  color: #cdd8c4;
}

/* Responsive */
@media (max-width: 900px) {
  #tees .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: 1fr; }

  .hero .wrap, .about .wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .section { padding: 3.5rem 0; }
}
@media (max-width: 520px) {
  .nav { gap: 1rem; }
  .site-footer .wrap.cols { grid-template-columns: 1fr; gap: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .verse-list li { transition: none; }
}
