:root {
  --grg-deep: #1A1A2E;
  --grg-surface: #F5F5DC;
  --grg-vivid: #E74C3C;
  --grg-muted: #2ECC71;
  --grg-font-heading: 'Noto Serif SC', serif;
  --grg-font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body.grg-root {
  font-family: var(--grg-font-body);
  color: var(--grg-deep);
  background: var(--grg-surface);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--grg-font-heading);
  line-height: 1.3;
}

a {
  color: var(--grg-vivid);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========================
   NAV: Overlay via checkbox
   ======================== */

.grg-nav-state {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.grg-nav-trigger {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 900;
  cursor: pointer;
  color: var(--grg-deep);
  background: var(--grg-surface);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.grg-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(46,204,113,0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.grg-nav-state:checked ~ .grg-overlay {
  opacity: 1;
  pointer-events: auto;
}

.grg-overlay-shut {
  position: absolute;
  top: 22px;
  right: 22px;
  cursor: pointer;
  color: #fff;
}

.grg-overlay-link {
  color: #fff;
  font-family: var(--grg-font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.grg-overlay-link:hover {
  opacity: 0.7;
}

/* ========================
   1. HERO (div.grg-jade)
   ======================== */

.grg-jade {
  background: var(--grg-deep);
  color: var(--grg-surface);
  padding: 100px 24px 80px;
  text-align: center;
}

.grg-jade h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 20px;
  font-weight: 700;
}

.grg-jade p {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 32px;
  opacity: 0.88;
}

.grg-jade a {
  display: inline-block;
  background: var(--grg-vivid);
  color: #fff;
  padding: 14px 40px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

/* ========================
   2. CTA (address.grg-silk)
   ======================== */

address.grg-silk {
  font-style: normal;
  background: var(--grg-vivid);
  color: #fff;
  padding: 56px 24px;
  text-align: center;
}

address.grg-silk h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 16px;
}

address.grg-silk p {
  max-width: 580px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
  opacity: 0.92;
}

address.grg-silk a {
  display: inline-block;
  background: var(--grg-deep);
  color: var(--grg-surface);
  padding: 13px 36px;
  border-radius: 6px;
  font-weight: 600;
}

/* ========================
   3. STATS (aside.grg-brush)
   ======================== */

aside.grg-brush {
  padding: 56px 24px;
  background: var(--grg-surface);
}

aside.grg-brush dl {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  text-align: center;
}

aside.grg-brush dt {
  font-family: var(--grg-font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--grg-vivid);
  width: 100%;
}

aside.grg-brush dd {
  font-size: 0.95rem;
  color: var(--grg-deep);
  opacity: 0.7;
  width: 100%;
  margin-bottom: 16px;
}

aside.grg-brush dl > div {
  flex: 1 1 180px;
  max-width: 220px;
}

aside.grg-brush output {
  font-family: var(--grg-font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--grg-vivid);
  display: block;
}

/* ========================
   4. BLOG (section > div.grg-scroll)
   ======================== */

.grg-scroll-section {
  padding: 64px 24px;
  background: var(--grg-deep);
  color: var(--grg-surface);
}

.grg-scroll-section > h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 40px;
}

.grg-scroll {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
}

.grg-scroll article {
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 28px 24px;
  flex: 1 1 300px;
  max-width: 340px;
}

.grg-scroll article h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--grg-muted);
}

.grg-scroll article p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
  opacity: 0.85;
}

.grg-scroll article a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--grg-vivid);
}

/* ========================
   5. CITIES (aside.grg-jade-links)
   ======================== */

aside.grg-jade-links {
  padding: 56px 24px;
  background: var(--grg-surface);
  text-align: center;
}

aside.grg-jade-links h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 32px;
}

aside.grg-jade-links nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}

aside.grg-jade-links nav a {
  background: var(--grg-deep);
  color: var(--grg-surface);
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.05rem;
  font-family: var(--grg-font-heading);
}

/* ========================
   6. FEATURES (ul.grg-brush-list)
   ======================== */

ul.grg-brush-list {
  list-style: none;
  padding: 64px 24px;
  background: var(--grg-muted);
  color: #fff;
  max-width: 100%;
}

ul.grg-brush-list li {
  max-width: 720px;
  margin: 0 auto 36px;
  padding: 24px 28px;
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
}

ul.grg-brush-list li:last-child {
  margin-bottom: 0;
}

ul.grg-brush-list h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 700;
}

ul.grg-brush-list p {
  font-size: 0.98rem;
  line-height: 1.7;
  opacity: 0.92;
}

/* ========================
   LONG CONTENT (homepage body)
   ======================== */

.grg-silk-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 24px;
}

.grg-silk-body h2 {
  font-size: 1.6rem;
  margin: 48px 0 16px;
  color: var(--grg-deep);
}

.grg-silk-body h3 {
  font-size: 1.25rem;
  margin: 32px 0 12px;
  color: var(--grg-deep);
}

.grg-silk-body p {
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.grg-silk-body ul, .grg-silk-body ol {
  margin: 0 0 18px 24px;
}

.grg-silk-body li {
  margin-bottom: 8px;
}

/* ========================
   FOOTER (grg-pavilion)
   ======================== */

.grg-pavilion {
  background: var(--grg-deep);
  color: var(--grg-surface);
  padding: 48px 24px 32px;
}

.grg-pavilion-wrap {
  max-width: 600px;
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 16px;
  text-align: center;
}

.grg-pavilion-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--grg-surface);
  font-size: 0.82rem;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.grg-pavilion-cell:hover {
  opacity: 1;
}

.grg-pavilion-note {
  text-align: center;
  font-size: 0.78rem;
  opacity: 0.5;
}

/* ========================
   SINGLE PAGE (city/article)
   ======================== */

.grg-silk-single {
  max-width: 780px;
  margin: 0 auto;
  padding: 100px 24px 64px;
}

.grg-silk-single h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 24px;
  color: var(--grg-deep);
}

.grg-silk-single h2 {
  font-size: 1.5rem;
  margin: 40px 0 14px;
  color: var(--grg-deep);
}

.grg-silk-single h3 {
  font-size: 1.2rem;
  margin: 28px 0 10px;
  color: var(--grg-deep);
}

.grg-silk-single p {
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.grg-silk-single ul, .grg-silk-single ol {
  margin: 0 0 18px 24px;
}

.grg-silk-single li {
  margin-bottom: 8px;
}

/* ========================
   RESPONSIVE
   ======================== */

@media (max-width: 640px) {
  .grg-pavilion-wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  aside.grg-brush dl {
    gap: 24px;
  }

  aside.grg-brush dl > div {
    flex: 1 1 140px;
  }
}
