/* ==========================================================================
   PBK & Friends — global styles
   Design tokens (from the handoff) live as CSS custom properties; the rest of
   the file is the reset, the shared "atoms" (buttons, eyebrow, wordmark, nav),
   and the things that *must* be CSS — hover states, ::selection, and the two
   responsive breakpoints (<=820px hero, <=700px hamburger + gallery carousel).
   Per-element layout/spacing is kept inline in the JSX so it maps 1:1 to the
   design references.
   ========================================================================== */

:root {
  /* Greens / ink */
  --forest: #2f3c27;       /* primary: dark sections, primary text/button */
  --forest-deep: #26311f;  /* footer, button hover */
  --ink: #2a2a20;
  --ink-2: #3f4436;
  --ink-3: #4a4f40;

  /* Papers / creams */
  --paper: #f4efe3;        /* page background */
  --cream: #ece5d3;        /* cards, alternating sections */
  --cream-input: #faf8f1;  /* form inputs */
  --panel: #e6dfcc;        /* image-slot placeholder bg */

  /* Golds */
  --gold: #a8813a;         /* eyebrows, links, active nav, gold CTA */
  --gold-light: #c9a24e;   /* on-dark accent, gold button */
  --gold-hover: #8c6a2c;   /* link / button hover */
  --gold-bright: #d8b463;  /* cream-button hover */

  /* Sage / on-dark text */
  --sage: #7d8c63;
  --sage-2: #8b9a6f;
  --on-dark: #e9e3d2;
  --on-dark-2: #c3c9b2;
  --on-dark-3: #b9c0a5;

  --border: rgba(47, 60, 39, .12);

  /* Type */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "EB Garamond", Georgia, serif;
  --font-label: "Archivo", system-ui, sans-serif;
  --font-script: "Parisienne", cursive;
}

/* ---- reset / base ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hover); }
section { scroll-margin-top: 88px; }
::selection { background: var(--gold-light); color: var(--forest-deep); }
input, select, textarea { font-family: var(--font-body); }
h1, h2, h3, p { margin: 0; }

/* ---- shell ---- */
.page {
  width: 100%;
  overflow-x: hidden;
  background: var(--paper);
}
.page--flex {            /* pricing + booking stretch the footer to the bottom */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.wrap {                  /* centered content column; width set per-section inline */
  margin: 0 auto;
  width: 100%;
}

/* ---- wordmark ---- */
.wordmark {
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}
.wordmark .mark {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--forest);
  font-size: clamp(23px, 5.5vw, 30px);
}
.wordmark .amp {
  font-family: var(--font-script);
  color: var(--gold);
  position: relative;
  top: 2px;
  font-size: clamp(20px, 5vw, 26px);
}
.wordmark--footer .mark { color: var(--on-dark); font-size: 26px; }
.wordmark--footer .amp { color: var(--gold-light); font-size: 23px; }

/* ---- eyebrow (Archivo, wide-tracked, gold) ---- */
.eyebrow {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

/* ---- script accent line ---- */
.script { font-family: var(--font-script); line-height: 1.1; margin: 0; }

/* ---- diamond divider (thin gold rule + ◆) ---- */
.diamond-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.diamond-divider span.rule { width: 44px; height: 1px; background: var(--gold-light); }
.diamond-divider span.gem { color: var(--gold); }

/* ---- headings ---- */
.display { font-family: var(--font-display); font-weight: 600; color: var(--forest); line-height: 1.05; }

/* ==========================================================================
   Buttons & links — base look here so :hover can live in CSS. Padding and
   font-size vary per placement and are passed inline in the JSX.
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .1em;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.btn--forest { background: var(--forest); color: var(--paper); font-weight: 600; }
.btn--forest:hover { background: var(--forest-deep); color: var(--paper); }

.btn--gold { background: var(--gold); color: #fbf5e4; font-weight: 700; }
.btn--gold:hover { background: var(--gold-hover); color: #fbf5e4; }

.btn--cream { background: var(--gold-light); color: var(--forest-deep); font-weight: 700; }
.btn--cream:hover { background: var(--gold-bright); color: var(--forest-deep); }

.btn--outline {
  background: none;
  border: 1.5px solid rgba(201, 162, 78, .6);
  color: var(--on-dark);
  font-weight: 600;
}
.btn--outline:hover { border-color: var(--gold-light); color: var(--on-dark); }

/* underlined text link ("See What's Included", "Tell Us About Your Bird") */
.link-underline {
  font-family: var(--font-label);
  font-weight: 600;
  letter-spacing: .08em;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--forest);
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 3px;
}
.link-underline:hover { color: var(--gold-hover); }

/* ==========================================================================
   Header / nav — sticky bar, active link, and the two responsive states.
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 239, 227, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .bar {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px clamp(18px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 2vw, 24px);
  flex-wrap: nowrap;
}
.nav-group { display: flex; align-items: center; gap: clamp(12px, 2vw, 30px); }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 30px);
  font-family: var(--font-label);
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-links a { color: #3a4630; }
.nav-links a:hover { color: var(--gold-hover); }
.nav-links a.is-active { color: var(--gold); }

/* "Log In" — outlined pill sitting in the desktop nav row. */
.nav-login {
  font-family: var(--font-label);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--forest);
  border: 1.5px solid rgba(47, 60, 39, .35);
  border-radius: 999px;
  padding: 8px 18px;
  white-space: nowrap;
  transition: border-color .18s ease, color .18s ease;
}
.nav-login:hover { border-color: var(--gold); color: var(--gold-hover); }

.nav-toggle { display: none; }
.menu-cta { display: none; }

/* header reserve pill — gold on Home/Pricing, forest on Booking */
.nav-cta.btn--gold { color: #fbf5e4; }

@media (max-width: 700px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    font-size: 24px;
    line-height: 1;
    color: var(--forest);
  }
  .nav-links {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    background: var(--paper);
    border-top: 1px solid var(--border);
    box-shadow: 0 20px 30px -20px rgba(38, 49, 31, .45);
    padding: 6px 0;
    z-index: 60;
  }
  .site-header.menu-open .nav-links { display: flex !important; }
  .nav-links a {
    padding: 16px clamp(22px, 6vw, 40px);
    font-size: 13.5px;
    border-bottom: 1px solid rgba(47, 60, 39, .08);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta { display: none !important; }
  .nav-links a.menu-cta { display: block; color: var(--gold); font-weight: 700; }
  /* drop the pill border in the dropdown; keep the row divider */
  .nav-links a.nav-login { border-top: none; border-right: none; border-left: none; border-radius: 0; }
}

/* ==========================================================================
   Cards / form fields
   ========================================================================== */
.service-card {
  background: var(--cream);
  border: 1px solid rgba(47, 60, 39, .1);
  border-radius: 20px;
  padding: 34px 30px;
  transition: border-color .18s ease;
}
.service-card:hover { border-color: rgba(168, 129, 58, .55); }

.field {
  padding: 12px 14px;
  border: 1px solid rgba(47, 60, 39, .25);
  border-radius: 10px;
  font-size: 16px;
  background: var(--cream-input);
  color: var(--ink);
}
.field:focus { outline: none; border-color: var(--gold); }
textarea.field { resize: vertical; }

/* image-slot placeholder (until real photos are dropped in) */
.image-slot {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  background: var(--panel);
  color: var(--sage);
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.5;
}
.image-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ==========================================================================
   Landing hero + gallery responsive states
   ========================================================================== */
@media (max-width: 820px) {
  .l-hero { grid-template-columns: 1fr !important; gap: 0 !important; padding-top: 36px !important; }
  .l-hero-media { display: none !important; }
}
@media (max-width: 700px) {
  .hero-eyebrow { display: none; }
  .gallery-grid {
    display: flex !important;
    overflow-x: auto;
    grid-template-columns: none !important;
    grid-auto-rows: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
  }
  .gallery-grid > div {
    flex: 0 0 82% !important;
    height: 300px;
    scroll-snap-align: center;
    grid-row: auto !important;
  }
}

/* ==========================================================================
   SEO static fallback — real, crawler-visible copy baked into each page body.
   The <html> gets a `js` class synchronously in <head>, so JS visitors (incl.
   Googlebot) hide this instantly and see the React app; no-JS crawlers/scrapers
   (Bing, social link previews) read this. Same information either way.
   ========================================================================== */
.js #seo-content { display: none !important; }

/* ---- shared long-form prose: the no-JS fallback AND the legal pages ---- */
#seo-content,
.legal {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px clamp(20px, 5vw, 40px) 72px;
  font-family: var(--font-body);
  color: var(--ink-2);
  line-height: 1.65;
}
#seo-content h1, .legal h1 {
  font-family: var(--font-display); font-weight: 600; color: var(--forest);
  font-size: clamp(30px, 6vw, 48px); line-height: 1.06; margin: 0 0 14px;
}
#seo-content h2, .legal h2 {
  font-family: var(--font-display); font-weight: 600; color: var(--forest);
  font-size: clamp(22px, 4vw, 31px); line-height: 1.15; margin: 34px 0 10px;
}
#seo-content h3, .legal h3 {
  font-family: var(--font-display); font-weight: 600; color: var(--forest);
  font-size: 21px; margin: 22px 0 6px;
}
#seo-content p, .legal p { margin: 0 0 14px; font-size: 17px; }
#seo-content ul, .legal ul { margin: 0 0 16px; padding-left: 22px; }
#seo-content li, .legal li { margin: 5px 0; font-size: 16.5px; }
#seo-content a, .legal a { color: var(--gold); text-decoration: underline; }
#seo-content a:hover, .legal a:hover { color: var(--gold-hover); }
.legal .lede { font-size: 19px; color: var(--ink-3); }
.legal .updated {
  font-family: var(--font-label); font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--sage); margin: 0 0 26px;
}

/* ---- breadcrumbs (used in JSX subpages and in the static fallback) ---- */
.breadcrumbs {
  font-family: var(--font-label); font-size: 12px; letter-spacing: .06em;
  color: var(--sage); margin: 0 0 6px;
}
.breadcrumbs a { color: var(--gold); }
.breadcrumbs a:hover { color: var(--gold-hover); }
.breadcrumbs .sep { margin: 0 8px; color: var(--sage-2); }

/* ==========================================================================
   Footer — multi-column with internal links + NAP block.
   ========================================================================== */
.site-footer .footer-inner {
  max-width: 1240px; margin: 0 auto;
  padding: clamp(44px, 6vw, 64px) clamp(22px, 5vw, 40px) 34px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(28px, 4vw, 56px);
}
.footer-heading {
  font-family: var(--font-label); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--on-dark-2); font-weight: 600;
  margin: 0 0 16px;
}
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-link { color: var(--sage); }
.footer-link:hover { color: var(--gold-light); }
.footer-nav .footer-link { font-size: 15px; }
.site-footer .footer-bottom {
  max-width: 1240px; margin: 0 auto;
  padding: 22px clamp(22px, 5vw, 40px);
  border-top: 1px solid rgba(201, 162, 78, .18);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--sage);
}
@media (max-width: 720px) {
  .site-footer .footer-inner { grid-template-columns: 1fr; gap: 30px; }
}
