/* ==========================================================================
   Play World Guide – farm guide stylesheet
   ========================================================================== */

:root {
  --bg: #faf6ec;
  --bg-soft: #f3eddd;
  --surface: #ffffff;
  --field: #6f9158;
  --field-dark: #4d5a3e;
  --field-deep: #5f7f4c;
  --sand: #e4d3ae;
  --sand-deep: #c8b185;
  --sky: #a8c6da;
  --sky-deep: #6d9dbd;
  --sun: #e9c46a;
  --text: #33382b;
  --text-soft: #5d6450;
  --border: #e3ddc9;
  --danger: #a44f3c;
  --shadow-sm: 0 1px 3px rgba(51, 56, 43, 0.10);
  --shadow-md: 0 4px 14px rgba(51, 56, 43, 0.12);
  --shadow-lg: 0 10px 30px rgba(51, 56, 43, 0.16);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --container: 1160px;
  --focus: 3px solid #6d9dbd;
}

/* ---------- Reset / base ---------- */

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

html { scroll-behavior: smooth; }

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

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

a { color: var(--field-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--field-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: var(--field-dark);
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

ul, ol { padding-left: 1.3em; }
li { margin-bottom: 0.35em; }

:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--field-dark);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 3.5rem 0; }
.section--soft { background: var(--bg-soft); }
.section--white { background: var(--surface); }

.section-head { max-width: 720px; margin-bottom: 2rem; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--field-deep);
  background: rgba(111, 145, 88, 0.12);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

/* ---------- Buttons / CTA ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  background: var(--field-dark);
  border: 2px solid var(--field-dark);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.4rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
  min-height: 46px;
}
.btn:hover { background: #3d4730; color: #fff; }
.btn:active { transform: translateY(1px); }

.btn--sky { background: var(--sky-deep); border-color: var(--sky-deep); }
.btn--sky:hover { background: #5d8fae; color: #fff; }

.btn--light {
  background: transparent;
  color: var(--field-dark);
  border-color: var(--field-dark);
}
.btn--light:hover { background: rgba(77, 90, 62, 0.08); color: var(--field-dark); }

.btn--sm { padding: 0.55rem 0.95rem; font-size: 0.9rem; min-height: 40px; }

/* Google Play badge CTA */
.play-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #0d0d0d;
  border: 1px solid #3a3a3a;
  border-radius: 12px;
  padding: 0.6rem 1.1rem 0.6rem 0.8rem;
  text-decoration: none;
  color: #fff;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: var(--shadow-md);
}
.play-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: #fff; }
.play-cta .play-cta__icon { width: 34px; height: 34px; flex: 0 0 auto; }
.play-cta .play-cta__label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}
.play-cta .play-cta__tiny { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.04em; opacity: 0.8; }
.play-cta .play-cta__big { font-size: 0.95rem; font-weight: 600; }
.play-cta .play-cta__badge { height: 40px; width: auto; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 236, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 66px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--field-dark);
}
.brand__logo { width: 38px; height: 38px; flex: 0 0 auto; }
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-weight: 700;
  font-size: 1.05rem;
}
.brand__text small { font-weight: 500; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-soft); }

.main-nav { margin-left: auto; }
.main-nav__list {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav__link {
  display: block;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
}
.main-nav__link:hover { background: rgba(111, 145, 88, 0.14); color: var(--field-dark); }
.main-nav__link[aria-current="page"] { color: var(--field-dark); font-weight: 700; }

.header-cta { margin-left: 0.75rem; flex: 0 0 auto; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 46px;
  height: 46px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--field-dark); }

/* ---------- Mobile drawer ---------- */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(51, 56, 43, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  z-index: 150;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(84vw, 340px);
  background: var(--bg);
  z-index: 160;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
}
.drawer.is-open { transform: translateX(0); }
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.drawer__close {
  width: 46px;
  height: 46px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.drawer__close svg { width: 22px; height: 22px; stroke: var(--field-dark); }

.drawer__nav ul { list-style: none; margin: 0; padding: 0; }
.drawer__nav a {
  display: block;
  padding: 0.85rem 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.drawer__nav a[aria-current="page"] { color: var(--field-dark); }
.drawer__cta { margin-top: auto; padding-top: 1.5rem; }

body.no-scroll { overflow: hidden; }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; padding: 2.5rem 0 0; }
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.hero__copy .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--field-deep);
  background: rgba(111, 145, 88, 0.12);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.hero__copy h1 { margin-bottom: 0.5rem; }
.hero__intro { font-size: 1.08rem; color: var(--text-soft); max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.hero__disclosure {
  font-size: 0.82rem;
  color: var(--text-soft);
  max-width: 52ch;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
}

.hero__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.hero__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero__card {
  position: absolute;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--field-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero__card svg { width: 20px; height: 20px; flex: 0 0 auto; }
.hero__card--1 { top: -14px; left: -8px; }
.hero__card--2 { top: 24%; right: -10px; }
.hero__card--3 { bottom: -16px; left: 12%; }

/* ---------- Loop / progression strip ---------- */

.loop-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.loop-step {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-sm);
}
.loop-step__num {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--field);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loop-step strong { display: block; font-size: 1rem; }
.loop-step span { font-size: 0.9rem; color: var(--text-soft); }

/* ---------- Content blocks (varied) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.split__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.grid-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(111, 145, 88, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 0.4rem; font-size: 1.15rem; }
.card p { margin: 0; font-size: 0.95rem; color: var(--text-soft); }

.list-ticks { list-style: none; padding: 0; margin: 0 0 1rem; }
.list-ticks li {
  position: relative;
  padding-left: 1.8em;
  margin-bottom: 0.6rem;
}
.list-ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 1.1em;
  height: 0.55em;
  border-left: 3px solid var(--field);
  border-bottom: 3px solid var(--field);
  transform: rotate(-45deg);
}

.balance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.balance-box {
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
}
.balance-box--pro { background: rgba(111, 145, 88, 0.10); }
.balance-box--con { background: rgba(164, 79, 60, 0.08); }
.balance-box h3 { font-size: 1.1rem; margin-bottom: 0.7rem; }
.balance-box--pro h3 { color: var(--field-deep); }
.balance-box--con h3 { color: var(--danger); }
.balance-box ul { margin: 0; }
.balance-box li { color: var(--text-soft); font-size: 0.95rem; }

/* ---------- Gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.gallery figcaption {
  font-size: 0.85rem;
  color: var(--text-soft);
  padding-top: 0.5rem;
}

/* ---------- FAQ ---------- */

.faq { max-width: 780px; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  background: none;
  border: 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--field-dark);
  padding: 1.1rem 1.3rem;
  cursor: pointer;
}
.faq__icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(111, 145, 88, 0.16);
  position: relative;
  transition: transform 0.2s;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--field-dark);
}
.faq__icon::before { width: 12px; height: 2px; }
.faq__icon::after { width: 2px; height: 12px; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__a {
  display: none;
  padding: 0 1.3rem 1.2rem;
  color: var(--text-soft);
}
.faq__item.is-open .faq__a { display: block; }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- Progression highlight ---------- */

.progress-band {
  background: var(--field-dark);
  color: #f2ecd9;
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  overflow: hidden;
}
.progress-band h2 { color: #fff; }
.progress-band__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
  position: relative;
}
.progress-step {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 1.1rem;
}
.progress-step__idx {
  flex: 0 0 auto;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--sun);
}
.progress-step h3 { color: #fff; font-size: 1.05rem; margin-bottom: 0.25rem; }
.progress-step p { margin: 0; font-size: 0.9rem; color: #d9d5c2; }

/* ---------- Banner (informational) ---------- */

.info-band {
  background: var(--sand);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: grid;
  gap: 1.25rem;
  align-items: center;
}
.info-band h2 { margin-bottom: 0.35rem; }
.info-band p { margin: 0; color: var(--text-soft); }
.info-band__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- Forms ---------- */

.form { max-width: 620px; }
.form__row { margin-bottom: 1.25rem; }
.form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}
.form input,
.form textarea {
  width: 100%;
  font-family: var(--font-ui);
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
}
.form input:focus,
.form textarea:focus { border-color: var(--sky-deep); outline: none; box-shadow: 0 0 0 3px rgba(109, 157, 189, 0.25); }
.form .hint { font-size: 0.85rem; color: var(--text-soft); margin-top: 0.3rem; }
.form .error-msg { color: var(--danger); font-size: 0.9rem; font-weight: 600; margin-top: 0.3rem; display: block; }
.form input[aria-invalid="true"],
.form textarea[aria-invalid="true"] { border-color: var(--danger); }

/* ---------- Cookie banner ---------- */

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 170;
  background: var(--field-dark);
  color: #f2ecd9;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  display: none;
  max-width: 560px;
}
.cookie-banner.is-visible { display: block; }
@media (min-width: 640px) {
  .cookie-banner { left: auto; right: 1.5rem; }
}
.cookie-banner h2 { color: #fff; font-size: 1.05rem; margin-bottom: 0.5rem; }
.cookie-banner p { font-size: 0.9rem; margin-bottom: 1rem; color: #d9d5c2; }
.cookie-banner a { color: var(--sun); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.cookie-banner .btn--sm { background: var(--sun); border-color: var(--sun); color: var(--field-dark); }
.cookie-banner .btn--sm:hover { background: #dfb252; color: var(--field-dark); }
.cookie-banner .btn--ghost {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #f2ecd9;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--field-dark);
  color: #d9d5c2;
  padding: 3.5rem 0 2rem;
  margin-top: 3rem;
}
.site-footer a { color: #f2ecd9; text-decoration: none; }
.site-footer a:hover { color: var(--sun); text-decoration: underline; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.footer-brand { display: inline-flex; align-items: center; gap: 0.6rem; color: #fff; font-weight: 700; }
.footer-brand img { width: 38px; height: 38px; }
.footer-col h3 {
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.5rem; font-size: 0.95rem; }
.footer-disclosure { font-size: 0.85rem; margin-top: 0.5rem; color: #bcb8a4; }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

/* ---------- Page header (inner pages) ---------- */

.page-hero { padding: 2.5rem 0 1.5rem; }
.page-hero .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--field-deep);
  background: rgba(111, 145, 88, 0.12);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 1rem;
}
.breadcrumbs a { color: var(--field-deep); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span[aria-current="page"] { color: var(--text); font-weight: 600; }

.article-body { max-width: 720px; }
.article-body h2 { margin-top: 2rem; }
.article-body h3 { margin-top: 1.5rem; }

.legal-note {
  background: rgba(109, 157, 189, 0.12);
  border-left: 4px solid var(--sky-deep);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.thankyou-box {
  text-align: center;
  max-width: 560px;
  margin: 2rem auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 1.5rem;
  box-shadow: var(--shadow-md);
}
.thankyou-box svg { width: 64px; height: 64px; margin: 0 auto 1.25rem; }
.thankyou-box h1 { margin-bottom: 0.75rem; }

/* ---------- Scroll reveal (JS-enabled only) ---------- */

.anim [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.anim [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (min-width: 600px) {
  .loop-strip { grid-template-columns: repeat(2, 1fr); }
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .balance-grid { grid-template-columns: 1fr 1fr; }
  .progress-band__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; }
  .hero { padding: 4rem 0 0; }
  .split { grid-template-columns: 1fr 1fr; }
  .grid-cards { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .loop-strip { grid-template-columns: repeat(6, 1fr); }
  .loop-step { flex-direction: column; align-items: flex-start; gap: 0.55rem; }
  .progress-band__grid { grid-template-columns: repeat(3, 1fr); }
  .info-band { grid-template-columns: 1fr auto; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .main-nav { display: block; }
  .nav-toggle { display: none; }
}

@media (max-width: 899px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}
