/* ============================================================
   Broken Arrow Group — BLEND Design System
   v1's warm editorial canvas × v2's cinematic conviction
   Light cream body · dark cinematic heroes · gold-gradient CTAs
   Same class contract — this file re-skins every page.
   ============================================================ */

:root {
  /* Canvas (v1 warmth) */
  --cream:      #faf7f1;   /* page background */
  --cream-2:    #f1eadd;   /* alt section */
  --white:      #ffffff;
  --ink:        #17130d;   /* primary text / dark surfaces */
  --ink-2:      #100d08;   /* deepest (hero/footer) */
  --ink-3:      #1e1913;   /* raised dark surface */
  --stone:      #6d6455;   /* muted text */
  --cream-on-dark: #f5efe3;
  --cream-dim:  #c9c0ad;

  /* Gold (v2 conviction) */
  --gold:       #cfa544;
  --gold-lt:    #eecf7f;
  --gold-dk:    #9d7a20;
  --gold-grad:  linear-gradient(135deg, #e6c364 0%, #cfa544 45%, #b3862c 100%);
  --line:       #e5ddcc;
  --line-dark:  rgba(207,165,68,.28);

  /* Type (v2 display, humanist body) */
  --serif: "Playfair Display", Georgia, serif;
  --sans:  "Manrope", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Rhythm */
  --wrap: 1180px;
  --gut: clamp(1.1rem, 4vw, 2.5rem);
  --radius: 16px;
  --shadow: 0 20px 55px -24px rgba(23,19,13,.4);
  --shadow-sm: 0 10px 28px -14px rgba(23,19,13,.3);
  --glow: 0 0 0 1px rgba(207,165,68,.4), 0 14px 40px -14px rgba(207,165,68,.5);
  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--ink-2); }

h1,h2,h3,h4 { font-family: var(--serif); font-weight: 700; line-height: 1.06; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.6rem, 6.5vw, 4.8rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.28rem, 2.2vw, 1.6rem); }
h1 em, h2 em { font-style: italic; font-weight: 700; color: var(--gold-dk); }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.05rem, 1.65vw, 1.28rem); color: var(--stone); font-weight: 500; }

.wrap { width: min(var(--wrap), 100% - var(--gut)*2); margin-inline: auto; }
.section { padding: clamp(3.8rem, 8.5vw, 7.5rem) 0; background: var(--cream); }
.section--alt { background: var(--cream-2); }
.section--ink { background: var(--ink-2); color: var(--cream-on-dark); }
.section--ink h2, .section--ink h3 { color: var(--cream-on-dark); }
.section--ink .lead { color: var(--cream-dim); }
.section--ink h2 em { color: var(--gold-lt); }
.center { text-align: center; }
.eyebrow {
  font-family: var(--sans); font-weight: 800; text-transform: uppercase;
  letter-spacing: .26em; font-size: .72rem; color: var(--gold-dk);
  display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem;
}
.eyebrow::before { content:""; width: 32px; height: 1.5px; background: var(--gold-grad); }
.center .eyebrow::after { content:""; width: 32px; height: 1.5px; background: var(--gold-grad); }
.section--ink .eyebrow { color: var(--gold-lt); }
.max-60 { max-width: 60ch; }
.mx-auto { margin-inline: auto; }

/* ---------- Buttons: v1 pill × v2 gold gradient ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--gold-grad); color: #1a1305;
  font-family: var(--sans); font-weight: 800; font-size: .93rem;
  letter-spacing: .02em;
  padding: .95rem 1.75rem; border-radius: 999px; border: 0;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .2s;
  box-shadow: 0 10px 28px -12px rgba(207,165,68,.55);
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--glow); filter: brightness(1.05); }
.btn--ghost { background: transparent; color: currentColor; border: 1.5px solid var(--gold); box-shadow: none; }
.btn--ghost:hover { background: rgba(207,165,68,.12); }
.btn--lg { padding: 1.12rem 2.1rem; font-size: 1rem; }
.btn svg { width: 1.05em; height: 1.05em; }

/* ---------- Header: light glass (v1) with phone-first CTA ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--cream) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: .9rem 0; }
.brand { display: flex; align-items: center; gap: .62rem; font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.brand__mark { width: 35px; height: 35px; flex: none; }
.brand b { font-weight: 900; }
.brand span span { color: var(--gold-dk); font-style: italic; font-weight: 400; }
.nav__links { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.nav__links a { padding: .3rem 0; position: relative; color: #4c4433; transition: color .2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--gold-dk); }
.nav__links a::after { content:""; position:absolute; left:0; bottom:-4px; height:2px; width:0; background: var(--gold-grad); transition: width .25s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: .8rem; }
.nav__cta .btn { padding: .68rem 1.25rem; font-size: .84rem; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; color: var(--ink); }
.nav__toggle svg { width: 26px; height: 26px; }

@media (max-width: 980px) {
  .nav__links {
    position: fixed; inset: 62px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gut) 1.5rem; transform: translateY(-130%); transition: transform .35s var(--ease);
  }
  .nav__links[data-open="true"] { transform: translateY(0); box-shadow: var(--shadow); }
  .nav__links a { width: 100%; padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
  .nav__toggle { display: block; }
  .nav__cta .btn { display: none; }
}

/* ---------- Hero: v2 cinematic, slightly softened ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink-2); color: var(--cream-on-dark); min-height: min(86vh, 840px); display: flex; align-items: center; }
.hero__bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; transform: scale(1.05); animation: heroDrift 16s var(--ease) forwards; }
@keyframes heroDrift { to { transform: scale(1); } }
.hero__bg::before {
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(90% 120% at 15% 85%, rgba(16,13,8,.9) 0%, rgba(16,13,8,.5) 45%, transparent 75%),
    linear-gradient(180deg, rgba(16,13,8,.5) 0%, rgba(16,13,8,.2) 40%, rgba(16,13,8,.88) 100%);
}
.hero__ridge { display: none; }
.hero__inner { position: relative; z-index: 2; padding: clamp(4.5rem, 11vw, 7.5rem) 0; max-width: 48rem; }
.hero h1 { color: #fff; text-shadow: 0 2px 28px rgba(0,0,0,.45); }
.hero h1 em { color: var(--gold-lt); }
.hero .lead { color: rgba(245,239,227,.9); max-width: 42rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero__stats { display: flex; flex-wrap: wrap; margin-top: 2.8rem; border-top: 1px solid rgba(207,165,68,.35); }
.hero__stat { padding: 1.2rem 2rem 1.2rem 0; margin-right: 2rem; }
.hero__stat b { font-family: var(--serif); font-size: 1.85rem; font-weight: 700; font-style: italic; color: var(--gold-lt); display: block; }
.hero__stat span { font-size: .7rem; text-transform: uppercase; letter-spacing: .2em; color: rgba(245,239,227,.62); font-weight: 700; }

/* ---------- Two paths: photo CTA panels (v2) ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
@media (max-width: 780px){ .paths { grid-template-columns: 1fr; } }
.path {
  position: relative; overflow: hidden; border-radius: var(--radius);
  padding: clamp(1.9rem, 4.2vw, 3rem); min-height: 360px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--cream-on-dark); background: var(--ink-3); border: 1px solid var(--line);
  background-size: cover; background-position: center;
  transition: transform .32s var(--ease), box-shadow .32s var(--ease);
}
.path::before { content:""; position:absolute; inset:0; z-index:0; background: linear-gradient(180deg, rgba(16,13,8,.12) 22%, rgba(16,13,8,.9) 100%); }
.path:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.path > * { position: relative; z-index: 1; }
.path h3 { color: #fff; font-size: clamp(1.6rem,3.2vw,2.3rem); font-weight: 900; }
.path h3 em { color: var(--gold-lt); }
.path p { color: rgba(245,239,227,.85); margin-bottom: 1.2rem; max-width: 38ch; }
.path__link {
  font-weight: 800; color: #1a1305; display: inline-flex; align-items: center; gap: .5rem;
  background: var(--gold-grad); padding: .78rem 1.4rem; border-radius: 999px; align-self: flex-start;
  font-size: .88rem; letter-spacing: .02em;
  box-shadow: 0 10px 26px -12px rgba(207,165,68,.6);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.path:hover .path__link { transform: translateY(-2px); box-shadow: var(--glow); }
.path__link svg { transition: transform .25s var(--ease); }
.path:hover .path__link svg { transform: translateX(5px); }

/* ---------- Card grids: white cards on cream (v1) ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: repeat(3,1fr); }
.grid--4 { grid-template-columns: repeat(4,1fr); }
.grid--2 { grid-template-columns: repeat(2,1fr); }
@media (max-width: 950px){ .grid--3,.grid--4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 630px){ .grid--2,.grid--3,.grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: var(--gold); }
.section--ink .card { background: var(--ink-3); border-color: var(--line-dark); }
.card__icon { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: var(--cream-2); color: var(--gold-dk); margin-bottom: 1rem; }
.card__icon svg { width: 25px; height: 25px; }
.card h3 { font-size: 1.28rem; margin-bottom: .4rem; }
.card p { color: var(--stone); font-size: .96rem; margin: 0; }
.card--link { display: flex; flex-direction: column; }
.card--link .card__more { margin-top: 1rem; font-weight: 800; color: var(--gold-dk); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }

/* ---------- Photo tiles ---------- */
.tile { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 270px; display:flex; align-items:flex-end; color: var(--cream-on-dark); border: 1px solid var(--line); transition: transform .32s var(--ease), box-shadow .32s var(--ease); }
a.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tile__img { position:absolute; inset:0; background: linear-gradient(160deg,#2b2418,#120e08); background-size: cover; background-position: center; z-index:0; transition: transform .55s var(--ease); }
a.tile:hover .tile__img { transform: scale(1.05); }
.tile::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 28%, rgba(10,8,5,.88)); z-index:1; }
.tile__body { position: relative; z-index: 2; padding: 1.5rem; }
.tile__body h3 { color: #fff; margin: 0; font-weight: 700; }
.tile__body span { font-size: .7rem; color: var(--gold-lt); text-transform: uppercase; letter-spacing: .2em; font-weight: 800; }

/* ---------- Split / checklist / pricebar ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.6rem,4.2vw,3.8rem); align-items: center; }
@media (max-width: 880px){ .split { grid-template-columns: 1fr; } }
.checklist { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .95rem; }
.checklist li { display: flex; gap: .78rem; align-items: flex-start; }
.checklist svg { flex: none; width: 22px; height: 22px; color: var(--gold-dk); margin-top: .15rem; }
.section--ink .checklist svg { color: var(--gold); }
.pricebar { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.7rem; }
.pricebar div { background: var(--white); border:1px solid var(--line); border-radius: 12px; padding: 1.05rem 1.35rem; text-align: center; flex: 1 1 95px; transition: border-color .25s, box-shadow .25s; }
.pricebar div:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.pricebar b { font-family: var(--serif); font-size: 2.2rem; font-weight: 900; font-style: italic; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; display:block; }
.pricebar span { font-size: .7rem; text-transform: uppercase; letter-spacing: .16em; color: var(--stone); font-weight: 700; }

/* ---------- CTA band: gold (v2) ---------- */
.band {
  background: var(--gold-grad); color: #1a1305; border-radius: var(--radius);
  padding: clamp(2.3rem,5vw,3.8rem); text-align:center; border: 0;
  box-shadow: 0 26px 70px -28px rgba(179,134,44,.55); position: relative; overflow: hidden;
}
.band::before { content:""; position:absolute; inset:-40% -20%; background: radial-gradient(50% 50% at 70% 20%, rgba(255,255,255,.32), transparent 70%); pointer-events:none; }
.band > * { position: relative; }
.band h2 { color: #171103; font-weight: 900; }
.band .lead { color: rgba(23,17,3,.78); font-weight: 600; }
.band .eyebrow { color: #171103; }
.band .eyebrow::before, .band .eyebrow::after { background: #171103; }
.band .btn { background: #171103; color: var(--gold-lt); box-shadow: 0 14px 32px -14px rgba(0,0,0,.55); }
.band .btn:hover { box-shadow: 0 18px 42px -14px rgba(0,0,0,.7); }

/* ---------- Blog / posts: white cards ---------- */
.post-card { background: var(--white); border:1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s; display:flex; flex-direction:column; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: var(--gold); }
.post-card__img { aspect-ratio: 16/10; background: linear-gradient(160deg,#2b2418,#120e08); background-size: cover; background-position: center; position:relative; }
.post-card__tag { position:absolute; top:.85rem; left:.85rem; background: var(--gold-grad); color: #1a1305; font-size:.68rem; font-weight:800; text-transform:uppercase; letter-spacing:.12em; padding:.33rem .78rem; border-radius: 999px; }
.post-card__body { padding: 1.35rem 1.45rem 1.55rem; }
.post-card__body h3 { font-size: 1.2rem; margin-bottom:.4rem; }
.post-card__body p { color: var(--stone); font-size:.93rem; margin:0; }
.meta { font-size:.7rem; color: var(--gold-dk); text-transform: uppercase; letter-spacing:.18em; margin-bottom:.6rem; font-weight: 800; }

/* Article: white sheet */
.article {
  max-width: 72ch; margin-inline: auto; background: var(--white); color: var(--ink);
  padding: clamp(1.8rem, 4.2vw, 3.2rem); border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.article h2 { margin-top: 2.1rem; }
.article p, .article li { color: #3a3225; }
.article blockquote { border-left: 3px solid var(--gold); margin: 1.7rem 0; padding: .4rem 0 .4rem 1.35rem; font-family: var(--serif); font-style: italic; font-size: 1.26rem; color: var(--ink); }

/* ---------- Forms: light (v1) ---------- */
.form { display: grid; gap: 1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width:630px){ .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .38rem; }
.field label { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dk); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; padding: .85rem .95rem; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(207,165,68,.16); }
.form__note { font-size: .82rem; color: var(--stone); }
.form__result { color: var(--gold-dk); font-weight: 700; }

/* ---------- Testimonials ---------- */
.quote { background: var(--ink-3); border:1px solid var(--line-dark); border-radius: var(--radius); padding: 1.8rem; transition: border-color .3s, box-shadow .3s; }
.quote:hover { border-color: rgba(207,165,68,.55); box-shadow: var(--glow); }
.quote p { font-family: var(--serif); font-style: italic; font-size: 1.16rem; color: var(--cream-on-dark); }
.quote .stars { color: var(--gold); letter-spacing: 3px; margin-bottom: .65rem; }
.quote cite { font-style: normal; font-size: .76rem; color: var(--gold-lt); font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }

/* ---------- Footer: deep dark (v2) ---------- */
.site-footer { background: var(--ink-2); color: var(--cream-dim); padding: clamp(3rem,6vw,4.6rem) 0 2rem; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.1rem; }
@media (max-width: 840px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px){ .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--sans); text-transform: uppercase; letter-spacing:.22em; font-size:.72rem; color: var(--gold-lt); margin-bottom: 1rem; font-weight: 800; }
.site-footer ul { list-style: none; margin:0; padding:0; display:grid; gap:.55rem; font-size:.93rem; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: var(--gold-lt); }
.footer-brand { display:flex; align-items:center; gap:.62rem; font-family: var(--serif); font-weight: 700; font-size:1.22rem; color: var(--cream-on-dark); margin-bottom: .95rem; }
.footer-bottom { margin-top: 2.6rem; padding-top: 1.5rem; border-top: 1px solid rgba(207,165,68,.16); display:flex; justify-content: space-between; gap:1rem; flex-wrap: wrap; font-size:.8rem; color: rgba(201,192,173,.55); }

/* ---------- Page hero: cinematic (v2) ---------- */
.pagehero { background: var(--ink-2); background-size: cover; background-position: center; color: var(--cream-on-dark); position: relative; overflow: hidden; }
.pagehero::before { content:""; position:absolute; inset:0; background: linear-gradient(100deg, rgba(16,13,8,.93) 25%, rgba(16,13,8,.55) 70%, rgba(16,13,8,.35)); }
.pagehero__inner { position: relative; z-index:1; padding: clamp(4.2rem,9.5vw,7rem) 0 clamp(3.3rem,6.5vw,5.2rem); max-width: 49rem; }
.pagehero h1 { color: #fff; font-weight: 900; }
.pagehero h1 em { color: var(--gold-lt); }
.pagehero .lead { color: rgba(245,239,227,.86); }
.crumbs { font-size:.7rem; letter-spacing:.22em; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 1.1rem; font-weight: 800; }
.crumbs a { color: inherit; opacity:.82; }
.crumbs a:hover { opacity: 1; }

/* ---------- Floating contact dock ---------- */
.fab-dock {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 80;
  display: flex; flex-direction: column; gap: .55rem; align-items: flex-end;
}
.fab-dock__btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-weight: 800; font-size: .82rem;
  letter-spacing: .04em;
  padding: .72rem 1.15rem; border-radius: 999px; white-space: nowrap;
  background: rgba(23,19,13,.94); color: var(--cream-on-dark);
  border: 1px solid rgba(207,165,68,.4); backdrop-filter: blur(10px);
  box-shadow: 0 14px 36px -14px rgba(23,19,13,.55);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.fab-dock__btn:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.fab-dock__btn--call { background: var(--gold-grad); color: #1a1305; border: 0; font-size: .9rem; padding: .88rem 1.3rem; }
.fab-dock__btn svg { width: 1.1em; height: 1.1em; flex: none; }
@media (max-width: 700px) {
  .fab-dock { right: 0; bottom: 0; left: 0; flex-direction: row; gap: 0; align-items: stretch; background: rgba(16,13,8,.96); border-top: 1px solid var(--line-dark); backdrop-filter: blur(14px); padding: .5rem; }
  .fab-dock__btn { flex: 1; justify-content: center; border-radius: 10px; margin: 0 .25rem; }
  body { padding-bottom: 64px; }
}

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity:1; transform:none; }
  .hero__bg { transform: none; }
}
