/* ==========================================================================
   Imara Serengeti Safaris — Homepage "Field Notes" reskin
   Scoped entirely to body.home-field-notes (set only by index.php), so
   nothing here can leak onto any other page. Loaded after style.css.

   Approach: redefine the site's existing CSS custom properties (--primary,
   --olive, --amber, --font-display, --font-hand, etc.) inside this scope so
   every existing homepage rule that already reads those variables (buttons,
   pillar cards, tour cards, story rows, why-choose, inspire cards, CTA band)
   picks up the new forest/parchment/brass/stamp-red palette and Lora/Space
   Mono/Work Sans type automatically. The shared header, utility bar and
   footer then get an explicit reset block restoring the site's real navy/
   gold "royal" identity, since those includes appear on every other page
   and must stay untouched. Section-specific rules below add the dashed
   borders, stamp badges and rotate-settle motion that make this read as a
   distinct concept rather than a recolor. ========================== */

body.home-field-notes {
    --primary: #A23A2A;        /* stamp red — replaces antique gold */
    --secondary: #8B2F21;
    --cream: #F8F3E5;          /* parchment surface — replaces warm ivory */
    --heading: #242920;        /* ink */
    --body-text: #5C5A47;      /* ink-soft */
    --border: #C7B98F;         /* dashed line tone */
    --bg-lite: #E3D8B8;        /* deeper parchment for alternating bands */
    --white: #F8F3E5;
    --olive: #3B4A34;          /* forest — replaces midnight navy */
    --olive-dark: #2C3A26;
    --amber: #A23A2A;          /* stamp — replaces bright gold */
    --amber-dark: #8B2F21;
    --brown: #F5ECD8;          /* light text-on-accent — replaces near-black */
    --ivory-text: #F2EDDD;
    --font-display: 'Lora', Georgia, serif;
    --font-hand: 'Lora', Georgia, serif; /* .h-hand already sets font-style:italic */

    /* extra tokens this file uses directly */
    --fn-stamp: #A23A2A;
    --fn-brass: #8C6D34;
    --fn-forest: #3B4A34;
    --fn-forest-dark: #2C3A26;
    --fn-surface: #F8F3E5;
    --fn-parchment: #EFE7D3;
    --fn-line: #C7B98F;
    --fn-ink: #242920;
    --fn-ink-soft: #5C5A47;

    background: var(--fn-parchment);
}
/* var(--brown) is overloaded site-wide: mostly "light text on an --amber
   chip" (correctly picks up the new light cream automatically), but a
   couple of spots use it as a plain dark heading color on a light card —
   those need to stay dark here even though --brown itself is now light. */
body.home-field-notes .h-hand,
body.home-field-notes .cta-split-expert-card h3 { color: var(--fn-ink); }

body.home-field-notes .mono,
body.home-field-notes .hero-slide-eyebrow,
body.home-field-notes .pillar-num,
body.home-field-notes .story-row-tag,
body.home-field-notes .inspire-card-label,
body.home-field-notes .home-tour-card .price-badge,
body.home-field-notes .why-check-item .tick,
body.home-field-notes .category-pills a,
body.home-field-notes .testimonial-stars,
body.home-field-notes .call-expert-numbers a,
body.home-field-notes .footer-legal,
body.home-field-notes .footer-bottom { font-family: 'Space Mono', monospace; }

/* ---- keep the shared header / utility bar / footer on the real site brand ---- */
body.home-field-notes .header-stripe,
body.home-field-notes .utility-bar,
body.home-field-notes .site-header,
body.home-field-notes .footer-recommend,
body.home-field-notes .site-footer,
body.home-field-notes .mobile-bottom-nav {
    font-family: 'EB Garamond', Georgia, serif;
    --primary: #A6801F;
    --secondary: #8A6A19;
    --cream: #F7F3E9;
    --heading: #12182A;
    --body-text: #48506A;
    --border: #E1D9BE;
    --bg-lite: #F1EDDF;
    --white: #ffffff;
    --olive: #0B1B33;
    --olive-dark: #050D1B;
    --amber: #D9B54A;
    --amber-dark: #B8952E;
    --brown: #0D1220;
    --ivory-text: #F3EFE3;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-hand: 'EB Garamond', Georgia, serif;
}
body.home-field-notes .header-stripe *,
body.home-field-notes .utility-bar *,
body.home-field-notes .site-header *,
body.home-field-notes .footer-recommend *,
body.home-field-notes .site-footer *,
body.home-field-notes .mobile-bottom-nav * { font-family: inherit; }

/* ================= HERO ================= */
body.home-field-notes .home-hero.hero-slider { background: linear-gradient(135deg, var(--fn-forest) 0%, var(--fn-forest-dark) 100%); }
body.home-field-notes .home-hero::after { background: linear-gradient(0deg, rgba(27,36,26,.8) 0%, rgba(27,36,26,.05) 45%, rgba(27,36,26,.25) 100%); }
body.home-field-notes .hero-photo-frame::after { background: linear-gradient(100deg, rgba(27,36,26,.15) 0%, rgba(27,36,26,.08) 45%, rgba(27,36,26,.7) 100%); }
body.home-field-notes .hero-slide-eyebrow { letter-spacing: .12em; font-weight: 700; }
body.home-field-notes .hero-slide-eyebrow::before { background: var(--fn-stamp); }
body.home-field-notes .hero-slide-title { font-weight: 700; }
body.home-field-notes .hero-slide-tagline { font-family: 'Work Sans', sans-serif; }
body.home-field-notes .hero-slide-dots button.active { background: var(--fn-stamp); }
body.home-field-notes .home-hero::before {
    content: "EST. \A ARUSHA \A TZ"; white-space: pre; text-align: center;
    position: absolute; z-index: 5; top: 24px; left: 24px; width: 84px; height: 84px;
    border-radius: 50%; border: 2px solid rgba(242,237,221,.85); color: #F2EDDD;
    display: flex; align-items: center; justify-content: center; line-height: 1.3;
    font-family: 'Space Mono', monospace; font-size: 9px; font-weight: 700; letter-spacing: .05em;
    transform: rotate(-12deg);
}
@media (max-width: 900px) { body.home-field-notes .home-hero::before { display: none; } }
body.home-field-notes .hero-checklist-mobile span { font-family: 'Work Sans', sans-serif; }

/* ---- floating trip widget ---- */
body.home-field-notes .trip-widget { border-radius: 4px; border: 2px dashed rgba(242,237,221,.55); }
body.home-field-notes .trip-widget .tw-title { font-weight: 700; }

/* ================= PILLARS ================= */
body.home-field-notes .pillar-card { border-radius: 2px; border-style: dashed; border-width: 1.5px; }
body.home-field-notes .pillar-num { -webkit-text-stroke: 1.3px var(--fn-stamp); font-size: 34px; }

/* ================= INTRO HEADING ================= */
body.home-field-notes .home-intro-heading { background: var(--fn-parchment); }

/* ================= TOUR GRID ================= */
body.home-field-notes .home-tour-card { border-radius: 2px; border: 1.5px dashed var(--fn-line); box-shadow: none; transition: transform .4s cubic-bezier(.25,.9,.4,1), border-color .25s, box-shadow .3s; }
body.home-field-notes .home-tour-grid .home-tour-card:nth-child(odd):hover { transform: rotate(-1.1deg) translateY(-4px); }
body.home-field-notes .home-tour-grid .home-tour-card:nth-child(even):hover { transform: rotate(1.1deg) translateY(-4px); }
body.home-field-notes .home-tour-card:hover { border-color: var(--fn-forest); border-style: solid; box-shadow: 0 16px 28px rgba(36,41,32,.16); }
body.home-field-notes .home-tour-card .price-badge { border-radius: 2px; letter-spacing: .04em; }
body.home-field-notes .home-tour-card-body { border-top: 1.5px dashed var(--fn-line); }
body.home-field-notes .home-tour-card-body h3 { font-weight: 700; }
body.home-field-notes .home-tour-card .arrow-circle { border-radius: 50%; }

/* ================= STORY ROWS ================= */
body.home-field-notes .story-row-media { border-radius: 2px; border: 1.5px dashed var(--fn-line); box-shadow: none; }
body.home-field-notes .story-row-tag { background: var(--fn-stamp); color: #F5ECD8; border-radius: 2px; font-weight: 700; box-shadow: none; }
body.home-field-notes .story-row-text .h-display { font-weight: 700; }

/* ================= TESTIMONIALS ================= */
body.home-field-notes .testimonial-band { background: var(--fn-forest); }
body.home-field-notes .testimonial-card { background: var(--fn-surface); border: 1.5px dashed var(--fn-line); border-radius: 2px; }
body.home-field-notes .testimonial-card p { color: var(--fn-ink); font-family: 'Work Sans', sans-serif; }
body.home-field-notes .testimonial-card a { color: var(--fn-stamp); font-weight: 700; text-decoration: none; }
body.home-field-notes .testimonial-card strong { font-family: 'Lora', serif; color: var(--fn-ink); }
body.home-field-notes .testimonial-card > div:first-child span { color: var(--fn-ink-soft); font-family: 'Space Mono', monospace; font-size: 11px; }

/* ================= WHY CHOOSE ================= */
body.home-field-notes .why-choose-band { background: var(--fn-parchment); border-top: 1px dashed var(--fn-line); border-bottom: 1px dashed var(--fn-line); }
body.home-field-notes .why-check-item .tick { border-radius: 2px; font-size: 10px; }

/* ================= INSPIRE / CATEGORY PILLS ================= */
body.home-field-notes .inspire-card { border-radius: 2px; border: 1.5px dashed var(--fn-line); box-shadow: none; }
body.home-field-notes .inspire-card:hover { border-color: var(--fn-forest); border-style: solid; box-shadow: 0 14px 26px rgba(36,41,32,.14); }
body.home-field-notes .inspire-card-label { border-radius: 2px; letter-spacing: .06em; }
body.home-field-notes .inspire-card-body h3 { font-weight: 700; }
body.home-field-notes .category-pills a { border-radius: 2px; border-style: dashed; letter-spacing: .06em; }
body.home-field-notes .category-pills a:hover { border-style: solid; }

/* ================= CTA BAND ================= */
body.home-field-notes .cta-split-panel { border-radius: 4px; }
body.home-field-notes .cta-split-main::after { background: linear-gradient(to top, rgba(27,36,26,.9) 0%, rgba(27,36,26,.35) 50%, rgba(27,36,26,0) 78%); }
body.home-field-notes .cta-split-main-content h3 { font-weight: 700; text-transform: none; }
body.home-field-notes .cta-split-expert-card { border-radius: 4px; border: 1.5px dashed var(--fn-line); box-shadow: none; }
body.home-field-notes .cta-split-expert-card img { border: 2px solid var(--fn-stamp); }
body.home-field-notes .cta-split-expert-card h3 { font-family: 'Lora', serif; font-style: italic; }
body.home-field-notes .call-expert-numbers a { color: var(--fn-stamp); }

/* ================= BUTTONS: dashed "field notes" treatment ================= */
body.home-field-notes .btn-block,
body.home-field-notes .btn-cta,
body.home-field-notes .btn-primary { border-radius: 2px; letter-spacing: .05em; }

/* ================= SCROLL REVEAL: rotate-settle instead of plain rise ================= */
body.home-field-notes .reveal {
    transform: translateY(24px) rotate(var(--rot, 0deg));
    transition: opacity .6s cubic-bezier(.3,.9,.35,1), transform .6s cubic-bezier(.3,.9,.35,1);
}
body.home-field-notes .reveal.is-visible { transform: translateY(0) rotate(0deg); }
body.home-field-notes .home-tour-grid .home-tour-card:nth-child(odd),
body.home-field-notes .inspire-grid .inspire-card:nth-child(odd),
body.home-field-notes .pillars-grid .pillar-card:nth-child(odd) { --rot: -2.4deg; }
body.home-field-notes .home-tour-grid .home-tour-card:nth-child(even),
body.home-field-notes .inspire-grid .inspire-card:nth-child(even),
body.home-field-notes .pillars-grid .pillar-card:nth-child(even) { --rot: 2.4deg; }

@media (prefers-reduced-motion: reduce) {
    body.home-field-notes .reveal { transform: none !important; }
}
