/* ===========================================================
   Rocky Dog Growth — sister site to rockydogstudios.com.
   Same fonts and palette as the studios site, flipped: deep green
   leads here (results, ads), cream/gold lead there (video).
   =========================================================== */

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("/assets/fonts/nunito-sans-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --accent:      #f1b138;  /* gold, shared with Studios */
  --accent-dark: #c98d1f;
  --green:       #344734;
  --green-deep:  #1f2b1f;
  --cream:       #fff6ea;
  --white:       #fff;
  --ink:         #1a1a1a;
  --ink-soft:    #4a4a4a;
  --rule:        rgba(0, 0, 0, .12);

  --font-display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --font-heading: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1140px;
  --gutter: clamp(1rem, 5vw, 4rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.1; margin: 0; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1.1em; }
a { color: inherit; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); padding: .5rem 1rem; z-index: 10; }
.skip-link:focus { left: 0; }
.eyebrow {
  font-family: var(--font-heading); font-weight: 800; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: .9rem;
}
.dark .eyebrow { color: var(--accent); }

/* ---------- Logo (same construction as Studios) ---------- */
.logo { display: inline-flex; align-items: flex-end; gap: .07em; font-family: var(--font-heading); line-height: 1; text-decoration: none; font-size: 3rem; }
.logo__r { font-size: 1em; font-weight: 800; line-height: .74; letter-spacing: -.045em; }
.logo__stack { display: flex; flex-direction: column; gap: .06em; padding-bottom: .03em; }
.logo__word { font-size: .2em; font-weight: 800; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.logo__dot { width: .17em; height: .17em; background: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-heading); font-weight: 800; font-size: 1rem;
  padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--accent); color: var(--ink); }
.btn--gold:hover { background: var(--accent-dark); }
.btn--ghost { border-color: currentColor; background: transparent; color: inherit; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 3px;
}

/* ---------- Header ---------- */
.header { position: absolute; inset: 0 0 auto; z-index: 5; color: var(--white); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.header .logo { font-size: 2.6rem; }
.nav { display: flex; align-items: center; gap: clamp(.75rem, 2.5vw, 2rem); }
.nav a { font-family: var(--font-heading); font-weight: 700; font-size: .95rem; text-decoration: none; }
.nav a:not(.btn):hover { color: var(--accent); }
.nav .btn { padding: .6rem 1.1rem; font-size: .9rem; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* ---------- Sections ---------- */
.dark { background: var(--green-deep); color: var(--white); }
.cream { background: var(--cream); }
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section__title { font-size: clamp(2rem, 4.2vw, 3.2rem); max-width: 22ch; margin-bottom: 1.25rem; }
.lede { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); color: var(--ink-soft); max-width: 60ch; }
.dark .lede { color: rgba(255, 255, 255, .78); }

.hero { padding: clamp(8rem, 16vw, 11rem) 0 clamp(4rem, 9vw, 6.5rem); position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -10vw; top: -10vw; width: 55vw; height: 55vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(241, 177, 56, .22), transparent 65%); pointer-events: none;
}
.hero h1 { font-family: var(--font-display); font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: 1; max-width: 15ch; margin-bottom: 1.5rem; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__note { margin-top: 1.25rem; font-size: .92rem; color: rgba(255, 255, 255, .62); }

.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); margin-top: 2.5rem; }
.card { background: var(--white); border: 1px solid var(--rule); border-radius: 18px; padding: 1.75rem; }
.card h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.card p { color: var(--ink-soft); margin: 0; }
.card__num { font-family: var(--font-display); font-size: 2.2rem; color: var(--accent-dark); line-height: 1; margin-bottom: .9rem; }
.dark .card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.dark .card p { color: rgba(255, 255, 255, .72); }
.dark .card__num { color: var(--accent); }

.price { display: flex; flex-direction: column; }
.price__amt { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; margin: .5rem 0 .25rem; }
.price__sub { font-size: .9rem; color: var(--ink-soft); margin-bottom: 1rem; }
.price ul { padding-left: 1.1rem; margin: 0; color: var(--ink-soft); }
.price--feature { border: 2px solid var(--accent); }
.fineprint { font-size: .9rem; color: var(--ink-soft); margin-top: 1.5rem; max-width: 70ch; }

.split { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr .95fr; } }

.checks { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.checks li { position: relative; padding-left: 2rem; margin-bottom: .8rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1.05rem; height: .6rem; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }

.faq details { border-top: 1px solid var(--rule); padding: 1.1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; color: var(--accent-dark); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .75rem 0 0; color: var(--ink-soft); }

.cta-band { text-align: center; }
.cta-band .section__title { margin-left: auto; margin-right: auto; }
.cta-band .lede { margin: 0 auto 2rem; }

/* ---------- Form ---------- */
.form { background: var(--white); color: var(--ink); border-radius: 22px; padding: clamp(1.5rem, 4vw, 2.25rem); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); }
.form h2 { font-size: 1.5rem; margin-bottom: .4rem; }
.form > p { color: var(--ink-soft); font-size: .95rem; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field label { font-family: var(--font-heading); font-weight: 700; font-size: .9rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: .8rem .95rem; border: 1.5px solid var(--rule); border-radius: 12px; background: var(--white); color: var(--ink); width: 100%;
}
.field textarea { min-height: 6rem; resize: vertical; }
.row2 { display: grid; gap: 0 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; }
.form .btn { width: 100%; margin-top: .5rem; }
.form__status { margin-top: .9rem; font-size: .95rem; min-height: 1.4em; }
.form__status.err { color: #b3261e; }

/* ---------- Footer ---------- */
.footer { background: var(--green-deep); color: rgba(255, 255, 255, .7); padding: 3rem 0; font-size: .92rem; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; align-items: flex-start; }
.footer .logo { font-size: 2.2rem; color: var(--white); }
.footer a { color: var(--white); }
.footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.sister { color: var(--accent) !important; font-weight: 700; }

/* Four-up rows: 2×2 on tablets, one row on desktop, never 3 + 1. */
@media (min-width: 560px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
/* Keep hero content (and the form) above the decorative glow. */
.hero > .wrap { position: relative; z-index: 1; }
