/* =========================================================
   Fillies and Boots case study — dark theme
   Portfolio tokens + the brand's camel / cream palette
   (sampled from the live site) as accents.
   Self-contained: this page does NOT load style.css.
   ========================================================= */

:root {
  --ink: #F5F3EE;
  --ink-soft: #C4C7D1;
  --muted: #868B99;
  --paper: #0A0A0E;
  --paper-raise: #15161C;
  --line: #262832;
  --gold: #E2A93E;
  --gold-deep: #F0BE5C;
  --navy-deep: #060609;

  --fb-camel: #E3BE8E;
  --fb-camel-deep: #C79A5B;
  --fb-cream: #F5EFE6;
  --fb-espresso: #2A211B;
  --fb-band: #1A1410;
  --fb-band-line: #3A2E24;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --container: 1180px;
  --radius: 18px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,h5 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0; color: var(--ink); }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.section { padding: clamp(80px, 9vw, 128px) 0; }

/* Header */
.fb-header { position: sticky; top: 0; z-index: 100; padding: 20px 0; background: rgba(10,10,14,.78); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.fb-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.fb-logo { font-family: var(--font-display); font-size: 22px; color: var(--ink); }
.fb-logo span { color: var(--gold); }
.fb-nav { display: flex; align-items: center; gap: 4px; background: var(--paper-raise); border: 1px solid var(--line); border-radius: 100px; padding: 5px; }
.fb-nav a { padding: 9px 18px; border-radius: 100px; font-size: 14px; font-weight: 600; color: var(--ink-soft); transition: background .2s ease, color .2s ease; }
.fb-nav a:hover, .fb-nav a.active { background: var(--ink); color: var(--paper); }
.header-cta { display: flex; align-items: center; gap: 14px; }

/* Hero */
.fb-hero { background: linear-gradient(160deg, #241C15 0%, #171210 55%, var(--paper) 100%); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.fb-hero::after { content: ""; position: absolute; right: -6%; top: -20%; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(227,190,142,.14), transparent 68%); }
.fb-hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding-top: 70px; padding-bottom: 70px; }
.fb-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.fb-eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--gold-deep); }
.fb-hero h1 { font-size: clamp(36px, 5.2vw, 58px); margin-bottom: 22px; }
.fb-hero-rule { width: 62px; height: 3px; background: var(--fb-camel); border-radius: 3px; margin-bottom: 24px; }
.fb-hero-desc { font-size: 17px; max-width: 460px; color: var(--ink-soft); margin-bottom: 36px; }
.fb-hero-meta { display: flex; gap: 50px; flex-wrap: wrap; }
.fb-hero-meta span.l { display: block; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 5px; font-weight: 700; }
.fb-hero-meta span.v { font-family: var(--font-display); font-size: 18px; }
.fb-hero-visual img { border-radius: var(--radius); border: 1px solid var(--fb-band-line); }
@media (max-width: 900px) { .fb-hero .wrap { grid-template-columns: 1fr; gap: 34px; } .fb-hero::after { display: none; } }

/* Bands + titles */
.band-warm { background: var(--fb-band); border-top: 1px solid var(--fb-band-line); border-bottom: 1px solid var(--fb-band-line); }
.band-raise { background: var(--paper-raise); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--fb-camel); margin-bottom: 16px; }
.kicker::before, .kicker::after { content: ""; width: 26px; height: 1px; background: rgba(227,190,142,.45); }
.center-title { text-align: center; font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 16px; }
.center-lead { text-align: center; max-width: 820px; margin: 0 auto 56px; font-size: 16.5px; color: var(--ink-soft); line-height: 1.7; }
.mini-title { text-align: center; font-size: 23px; margin: 72px 0 34px; }
.prose { max-width: 820px; margin: 0 auto; }
.prose p { color: var(--ink-soft); font-size: 16.5px; line-height: 1.75; margin: 0 0 18px; }

/* Cards */
.fb-card { background: var(--paper-raise); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.band-warm .fb-card, .band-raise .fb-card { background: rgba(255,255,255,.04); border-color: var(--fb-band-line); }
.fb-card h3 { font-size: 20px; margin-bottom: 12px; }
.fb-card p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.three-col { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.four-col { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
@media (max-width: 1000px) { .four-col { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 900px) { .two-col, .three-col { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .four-col { grid-template-columns: 1fr; } }

.dot-list li { position: relative; padding-left: 20px; margin-bottom: 11px; color: var(--ink-soft); font-size: 15px; }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--fb-camel); }

/* Numbered solution cards */
.sol-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; transition: transform .25s, border-color .25s; }
.sol-card:hover { transform: translateY(-4px); border-color: var(--fb-band-line); }
.sol-num { font-family: var(--font-display); font-size: 15px; color: var(--fb-camel); display: block; margin-bottom: 12px; }
.sol-card h4 { font-size: 19px; margin-bottom: 10px; }
.sol-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* Audience chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.chip { font-size: 13.5px; padding: 9px 18px; border-radius: 100px; background: rgba(227,190,142,.12); border: 1px solid rgba(227,190,142,.3); color: var(--fb-camel); }

/* Image frames */
.frame { background: #FFFFFF; border-radius: var(--radius); padding: clamp(14px, 2.2vw, 28px); box-shadow: 0 34px 70px -36px rgba(0,0,0,.8); }
.frame img { border-radius: 6px; margin: 0 auto; }
.shot img { border-radius: var(--radius); border: 1px solid var(--fb-band-line); }
.gallery-stack { display: grid; gap: 22px; }

/* Placeholders */
.ph { border: 1px dashed #3A3D49; background: rgba(255,255,255,.03); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 26px 18px; min-height: 190px; color: var(--muted); }
.ph .ico { font-size: 24px; opacity: .75; }
.ph .nm { font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.ph .hint { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.ph.tall { min-height: 300px; }
.ph.wide { min-height: 240px; }

/* Style guide */
.swatch-row { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.swatch { border-radius: var(--radius-sm); padding: 18px 16px; min-height: 116px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid rgba(255,255,255,.08); }
.swatch strong { font-size: 13px; font-weight: 800; display: block; }
.swatch span { font-size: 12px; opacity: .85; }
.swatch.on-dark { color: #fff; }
.swatch.on-light { color: #2A211B; }
@media (max-width: 860px) { .swatch-row { grid-template-columns: repeat(2,1fr); } }

/* Outcome */
.outcome-item { display: flex; gap: 20px; background: var(--paper-raise); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; margin-bottom: 14px; align-items: flex-start; }
.outcome-num { font-family: var(--font-display); font-size: 22px; color: var(--fb-camel); flex-shrink: 0; }
.outcome-item h4 { font-size: 18px; margin-bottom: 6px; }
.outcome-item p { margin: 0; font-size: 15px; color: var(--ink-soft); }

.learn-item { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.learn-item:last-child { border-bottom: 0; }
.learn-arrow { color: var(--fb-camel); font-size: 17px; flex-shrink: 0; }
.learn-item p { margin: 0; font-size: 15.5px; color: var(--ink-soft); }

/* Thanks */
.thanks { text-align: center; padding: 80px 0 96px; }
.thanks h2 { font-size: clamp(26px,3.4vw,36px); }

/* Next projects */
.next-projects { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.next-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .25s, border-color .25s; display: block; }
.next-card:hover { transform: translateY(-4px); border-color: #3A3D49; }
.next-card .tag2 { font-size: 12.5px; color: var(--muted); font-weight: 600; display: block; margin-bottom: 8px; }
.next-card h4 { font-size: 18px; }
@media (max-width: 860px) { .next-projects { grid-template-columns: 1fr; } }

/* Footer — identical to the homepage */
.eyebrow { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--gold-deep); }
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 600; font-size: 15px; padding: 14px 26px; border-radius: 100px; border: 1px solid var(--ink); cursor: pointer; transition: transform .25s ease, background .25s ease, color .25s ease; }
.btn-primary { background: transparent; color: var(--ink); border-color: #3A3D49; }
.btn-primary:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #3A3D49; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-2px); }
.site-footer { background: var(--navy-deep); color: #EDEBE3; margin-top: 120px; padding: 100px 0 40px; }
.footer-cta { text-align: center; max-width: 640px; margin: 0 auto 70px; }
.footer-cta .eyebrow { color: var(--gold); }
.footer-cta .eyebrow::before { background: var(--gold); }
.footer-cta h2 { color: #FFFFFF; font-size: clamp(32px,5vw,52px); margin: 18px 0 16px; }
.footer-cta p { color: #B7BCC9; font-size: 17px; margin-bottom: 32px; }
.footer-cta .btn-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.footer-cta .btn-primary { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.footer-cta .btn-primary:hover { background: #fff; border-color: #fff; }
.footer-cta .btn-ghost { border-color: #4C5568; color: #EDEBE3; }
.footer-cta .btn-ghost:hover { background: #EDEBE3; color: var(--navy-deep); }
.footer-bottom { border-top: 1px solid #232E42; padding-top: 30px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 14px; color: #8891A3; }
.footer-social { display: flex; gap: 22px; }
.footer-social a { color: #C7CBD6; font-weight: 600; transition: color .2s; }
.footer-social a:hover { color: var(--gold); }


/* =========================================================
   Mobile navigation — hamburger + slide-down panel
   ========================================================= */
.fb-header { position: sticky; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px; padding: 0;
  background: transparent; border: 1px solid var(--line);
  border-radius: 12px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  transition: border-color .2s ease;
}
.nav-toggle:hover { border-color: #3A3D49; }
.nav-toggle span {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--ink);
  transition: transform .3s cubic-bezier(.22,.68,.28,1), opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle:focus-visible { outline: 2px solid var(--fb-camel); outline-offset: 3px; }
.nav-cta-mobile { display: none; }

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

  .fb-nav.site-nav {
    display: flex !important;
    position: absolute;
    top: 100%; left: 16px; right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--paper-raise);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 26px 50px -22px rgba(0,0,0,.75);
    opacity: 0; visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .28s ease, transform .28s cubic-bezier(.22,.68,.28,1), visibility .28s;
    width: auto;
  }
  .fb-nav.site-nav.open { opacity: 1; visibility: visible; transform: none; }
  .fb-nav.site-nav a {
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 15.5px;
    text-align: left;
  }
  .fb-nav.site-nav a:hover, .fb-nav.site-nav a.active { background: var(--ink); color: var(--paper); }
  .fb-nav.site-nav .nav-cta-mobile {
    display: block;
    margin-top: 6px;
    background: var(--fb-camel);
    color: var(--navy-deep);
    font-weight: 700;
    text-align: center;
  }
  .fb-nav.site-nav .nav-cta-mobile:hover { background: var(--fb-camel); color: var(--navy-deep); opacity: .9; }
}

/* Tighter gutters on small screens */
@media (max-width: 600px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
}


/* ---------- Mobile refinements ---------- */
html, body { overflow-x: clip; max-width: 100%; }  /* clip, not hidden — keeps position:sticky working */
img, svg { max-width: 100%; height: auto; }

@media (max-width: 780px) {
  .section { padding: 64px 0; }
  .site-footer { margin-top: 70px; padding: 70px 0 34px; }
  .footer-cta { margin-bottom: 46px; }
  .footer-cta .btn-row .btn { width: 100%; justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .center-lead { margin-bottom: 36px; }
  .mini-title { margin: 46px 0 24px; }
}
