:root {
  --wood-900: #39291f;
  --wood-800: #513a2b;
  --wood-700: #795035;
  --wood-600: #916849;
  --wood-500: #a3876b;
  --linen-200: #e4d4ba;
  --linen-100: #f1e5d1;
  --earth-300: #b17a4c;
  --earth-200: #cfaa78;
  --cream: #f5ead7;
  --stone: #d9c5a6;
  --shadow: rgba(65, 40, 22, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top, rgba(176, 115, 57, 0.18), transparent 30%),
    linear-gradient(180deg, #f3e8d5 0%, #dfc8a7 100%);
  color: var(--wood-900);
}

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

.page-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 18px 56px;
}

.hero,
.content-section,
.connect,
.featured {
  background: rgba(250, 241, 224, 0.72);
  border: 1px solid rgba(112, 75, 43, 0.22);
  border-radius: 28px;
  box-shadow: 0 18px 40px var(--shadow);
  backdrop-filter: blur(4px);
}

.hero {
  padding: 22px 18px 20px;
  background:
    linear-gradient(135deg, rgba(155, 99, 48, 0.12), rgba(226, 193, 139, 0.12)),
    #efe0c6;
}

.topbar {
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
  justify-content: center;
  margin-bottom: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--wood-700), var(--wood-900));
  font-size: 1.8rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
}

.brand-kicker,
.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--wood-700);
}

.brand h1,
.hero-copy h1,
.hero-copy h2,
.section-heading h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: -0.02em;
}

.brand h1 { /* green fox adventures */
  text-align: center;
  font-size: clamp(2.1rem, 6vw, 4rem);
  line-height: 0.9;
}

.hero-copy {
  display: grid;
  gap: 12px;
}

.hero-copy h1 { /* where curiosity grows wild */
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  text-align: center;
  line-height: 0.95;
  margin-bottom: 1.5rem;
}

.hero-copy h2 {
  font-size: clamp(2.3rem, 8vw, 4.5rem);
  line-height: 0.95;
}

.intro { /* terrariums, kokedama, kusamono, geocaching, and adventures. */
  margin: 0 auto;
  max-width: 56ch;
  color: #65503e;
  font-size: 1rem;
  text-align: center;
  line-height: 1.65;
}

main {
  display: grid;
  gap: 22px;
  margin-top: 20px;
}

.featured,
.content-section,
.connect {
  padding: 22px 18px;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h3 {
  font-size: clamp(2rem, 5vw, 2.7rem);
  line-height: 0.95;
}

.link-grid {
  display: grid;
  gap: 12px;
}

.feature-card,
.action-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  border-radius: 20px;
  text-decoration: none;
  color: var(--wood-900);
  background: linear-gradient(180deg, #f5e9d5, #e8d4b4);
  border: 1px solid rgba(112, 75, 43, 0.25);
  box-shadow: 0 8px 16px rgba(65, 40, 22, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#adventures .action-card,
.social-links .action-card {
  justify-content: center;
  text-align: center;
}

.feature-card:hover,
.action-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(65, 40, 22, 0.08);
}

.social-links .action-card {
  gap: 8px;
}

.social-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.social-links .action-card strong {
  margin-bottom: 0;
}

.feature-card.primary {
  background: linear-gradient(135deg, rgba(155, 99, 48, 0.28), rgba(228, 204, 159, 0.18));
}

.card-icon,
.action-card span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(155, 99, 48, 0.12);
  font-size: 1.7rem;
}

.feature-card strong,
.action-card strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.feature-card small {
  display: block;
  color: #6b5340;
  line-height: 1.5;
}

.card-stack {
  display: grid;
  gap: 12px;
}

.info-card {
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: #f5ead7;
  border: 1px solid rgba(112, 75, 43, 0.22);
}

.info-card.accent {
  background: linear-gradient(135deg, rgba(160, 116, 65, 0.14), rgba(210, 176, 121, 0.18));
}

a.info-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(65, 40, 22, 0.08);
}

.feature-card:focus-visible,
.action-card:focus-visible,
a.info-card:focus-visible {
  outline: 2px solid var(--wood-700);
  outline-offset: 4px;
}

.card-tag {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #dfc39b;
  color: var(--wood-800);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.info-card h4 {
  margin: 12px 0 10px;
  font-size: 1.4rem;
}

.info-card p {
  margin: 0;
  color: #65503e;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .page-shell {
    padding: 36px 24px 64px;
  }

  .hero,
  .featured,
  .content-section,
  .connect {
    padding: 26px 26px;
  }

  .link-grid.featured-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .link-grid:not(.featured-grid) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #adventures .link-grid {
    grid-template-columns: repeat(2, minmax(0, calc((100% - 24px) / 3)));
    justify-content: center;
  }
}
