:root {
  color-scheme: light;
  --ink: #18201d;
  --muted: #5d6a63;
  --line: #dde5df;
  --paper: #fbfaf6;
  --card: #ffffff;
  --green: #23684a;
  --leaf: #d9eee2;
  --tomato: #c84c3f;
  --carrot: #e48731;
  --mushroom: #ece4d6;
  --blue: #2f6684;
  --shadow: 0 16px 40px rgba(23, 42, 32, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 48px;
  align-items: center;
  padding: 56px clamp(20px, 6vw, 88px) 48px;
  background:
    linear-gradient(120deg, rgba(217, 238, 226, 0.92), rgba(251, 250, 246, 0.96) 58%),
    radial-gradient(circle at 85% 15%, rgba(200, 76, 63, 0.12), transparent 28%);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--green);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.28;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: #314039;
}

.quick-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.quick-stats span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(35, 104, 74, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

.hero-image {
  margin: 0;
}

.hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-image figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 64px clamp(18px, 5vw, 76px);
}

.section.band {
  background: #eef5ee;
}

.section-title {
  max-width: 900px;
  margin-bottom: 26px;
}

.rule-grid,
.principle-grid,
.swap-grid,
.store-grid,
.meal-grid,
.prep-grid,
.venue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rule-grid article,
.principle-grid article,
.swap-grid article,
.store-card,
.meal-grid article,
.product-card,
.prep-grid article,
.venue-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(23, 42, 32, 0.06);
}

.rule-grid article,
.principle-grid article,
.swap-grid article,
.meal-grid article {
  padding: 22px;
}

.rule-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.principle-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.principle-grid article {
  position: relative;
  overflow: hidden;
  min-height: 260px;
}

.principle-grid span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.principle-grid article:nth-child(1) {
  border-top: 5px solid var(--green);
}

.principle-grid article:nth-child(2) {
  border-top: 5px solid var(--carrot);
}

.principle-grid article:nth-child(3) {
  border-top: 5px solid var(--blue);
}

.principle-grid article:nth-child(4) {
  border-top: 5px solid #4b8e9f;
}

.principle-grid article:nth-child(5) {
  border-top: 5px solid var(--tomato);
}

.swap-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.swap-grid article {
  background: #fff;
  border-top: 5px solid var(--green);
}

.swap-grid article:nth-child(2) {
  border-top-color: var(--carrot);
}

.swap-grid article:nth-child(3) {
  border-top-color: #64a857;
}

.swap-grid article:nth-child(4) {
  border-top-color: var(--tomato);
}

.swap-grid article:nth-child(5) {
  border-top-color: var(--blue);
}

.rule-grid article:nth-child(1) {
  border-top: 5px solid var(--tomato);
}

.rule-grid article:nth-child(2) {
  border-top: 5px solid var(--carrot);
}

.rule-grid article:nth-child(3) {
  border-top: 5px solid var(--green);
}

.store-grid {
  grid-template-columns: 1.1fr 1fr 1fr;
}

.store-card {
  padding: 24px;
  overflow: hidden;
}

.store-card.primary {
  border-color: rgba(35, 104, 74, 0.35);
  background: #f7fbf8;
}

.store-meta {
  color: var(--muted);
  font-weight: 700;
}

.store-card ul {
  padding-left: 20px;
  color: #394741;
}

.card-photo {
  width: calc(100% + 48px);
  height: 180px;
  margin: -24px -24px 20px;
  object-fit: cover;
  background: #eef1ed;
  border-bottom: 1px solid var(--line);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 16px;
  background: #f6f7f4;
  border-bottom: 1px solid var(--line);
}

.product-card h3,
.product-card p,
.product-card a,
.product-card .tag,
.product-card .label-box {
  margin-left: 18px;
  margin-right: 18px;
}

.product-card .tag {
  align-self: flex-start;
  margin-top: 16px;
  margin-bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--leaf);
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
}

.product-card .price {
  color: var(--tomato);
  font-weight: 850;
}

.product-card a {
  margin-top: auto;
  margin-bottom: 18px;
}

.product-card.no-photo {
  justify-content: flex-start;
  padding-top: 16px;
}

.product-card.highlight {
  grid-column: span 2;
  background:
    linear-gradient(135deg, #fff, #f5fbf7);
  border-color: rgba(35, 104, 74, 0.4);
}

.label-box {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.label-box span {
  padding: 7px 9px;
  background: #f0eee8;
  border: 1px solid #ddd5c7;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 750;
}

.tip {
  padding: 12px 14px;
  border-left: 4px solid var(--green);
  background: #eef7f1;
}

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

.prep-grid article {
  padding: 22px;
  border-top: 5px solid var(--green);
}

.prep-grid article:nth-child(2n) {
  border-top-color: var(--blue);
}

.prep-grid article:nth-child(3n) {
  border-top-color: var(--carrot);
}

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

.venue-card {
  display: grid;
  grid-template-columns: minmax(180px, 38%) minmax(0, 1fr);
  overflow: hidden;
}

.venue-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  background: #eef1ed;
}

.venue-card img[src*="deakinactive-logo"] {
  object-fit: contain;
  padding: 28px;
  background: #111;
}

.venue-body {
  padding: 22px;
}

.venue-body ul {
  padding-left: 20px;
  color: #394741;
}

.meal-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.meal-grid article {
  min-height: 150px;
  border-top: 5px solid var(--blue);
}

.meal-grid article:nth-child(2) {
  border-top-color: var(--tomato);
}

.meal-grid article:nth-child(3) {
  border-top-color: var(--carrot);
}

.meal-grid article:nth-child(4) {
  border-top-color: var(--green);
}

.timeline {
  display: grid;
  gap: 12px;
  max-width: 980px;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.timeline li {
  position: relative;
  padding: 16px 18px 16px 52px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
}

.closing-note {
  max-width: 980px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 8px;
  background: #fff7ed;
  border: 1px solid #f0d2ad;
  font-weight: 800;
}

.sources {
  color: var(--muted);
  background: #17251e;
}

.sources h2,
.sources p {
  max-width: 980px;
  color: #ecf5ef;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-image {
    max-width: 520px;
  }

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

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

  .store-grid,
  .meal-grid,
  .rule-grid.four,
  .prep-grid,
  .venue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .venue-card {
    grid-template-columns: 1fr;
  }

  .venue-card img {
    height: 260px;
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 36px 18px;
    gap: 26px;
  }

  .quick-stats {
    flex-direction: column;
  }

  .quick-stats span {
    width: 100%;
    border-radius: 8px;
  }

  .section {
    padding: 44px 16px;
  }

  .rule-grid,
  .principle-grid,
  .swap-grid,
  .store-grid,
  .product-grid,
  .meal-grid,
  .rule-grid.four,
  .prep-grid,
  .venue-grid {
    grid-template-columns: 1fr;
  }

  .product-card.highlight {
    grid-column: auto;
  }

  .product-card img {
    aspect-ratio: 16 / 11;
  }
}
