/* ============================================================
   Blackrock Decks — Homepage Option B: "Golden Hour"
   Warm premium. Cream, sand, amber, roast. Fraunces + Instrument.
   Signature: collage hero + pinned scrollytelling services.
   ============================================================ */

:root {
  --cream: #FBF6EE;
  --sand: #EFE3CD;
  --amber: #C9884B;
  --roast: #4A3524;
  --ink: #221A10;
  --ink-70: rgba(34, 26, 16, 0.72);
  --ink-45: rgba(34, 26, 16, 0.45);
  --hair: rgba(34, 26, 16, 0.14);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --nav-h: 78px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.64;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1340px; margin: 0 auto; padding: 0 26px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 480;
  line-height: 1.06;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(48px, 6.8vw, 100px); }
h2 { font-size: clamp(34px, 4vw, 58px); }
h3 { font-size: clamp(22px, 2.2vw, 30px); }
h1 em, h2 em { font-style: italic; color: var(--amber); font-weight: 420; }

p { color: var(--ink-70); }
.lede { font-size: clamp(18px, 1.5vw, 20px); max-width: 600px; }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--amber);
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600;
  padding: 16px 34px;
  border-radius: 999px;
  background: var(--ink); color: var(--cream);
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background 0.22s ease, transform 0.18s ease;
}
.btn:hover { background: var(--roast); border-color: var(--roast); transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink-45); }
.btn.ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: translateY(-2px); }
.btn.on-photo { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn.on-photo:hover { background: var(--sand); border-color: var(--sand); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(251, 246, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
}
.nav-inner {
  max-width: 1340px; margin: 0 auto; padding: 0 26px;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 28px;
}
.nav-logo img { height: 44px; width: auto; mix-blend-mode: multiply; }
.nav-links { display: flex; gap: 26px; list-style: none; margin-left: auto; }
.nav-links > li { position: relative; }
.nav-links a { font-size: 15px; font-weight: 500; padding: 8px 0; border-bottom: 2px solid transparent; transition: border-color 0.15s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-bottom-color: var(--amber); }
.nav-phone { font-size: 15px; font-weight: 500; white-space: nowrap; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.nav-cta { padding: 12px 24px; font-size: 14px; }

.nav-toggle { display: none; margin-left: auto; background: none; border: none; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform 0.2s ease, opacity 0.2s ease; }

.nav-drop-menu {
  position: absolute; top: calc(100% + 10px); left: -18px; min-width: 225px;
  background: var(--cream); border: 1px solid var(--hair); border-radius: 14px;
  box-shadow: 0 16px 38px rgba(34, 26, 16, 0.12);
  padding: 10px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: none; }
.nav-drop-menu a { display: block; padding: 9px 14px; border-radius: 8px; border-bottom: none; font-weight: 400; }
.nav-drop-menu a:hover { background: var(--sand); }

@media (max-width: 1100px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--hair);
    padding: 18px 26px 26px; max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav.open .nav-links a { font-size: 17px; padding: 10px 0; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-drop-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: transparent; padding: 0 0 0 16px; }
}

/* ---------- Collage hero ---------- */
.hero {
  padding: calc(var(--nav-h) + 46px) 0 40px;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  position: relative;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center;
  width: 100%;
}
.hero-copy { position: relative; z-index: 3; }
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero-copy h1 .hl { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.hero-copy h1 .hl > span { display: block; }
.hero-copy .lede { margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-strip {
  display: flex; flex-wrap: wrap; gap: 10px 34px;
  margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--hair);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-70);
}

.hero-stack { position: relative; height: min(72vh, 680px); z-index: 1; }
.hs-img { position: absolute; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 70px rgba(34, 26, 16, 0.22); }
.hs-img img { width: 100%; height: 100%; object-fit: cover; }
.hs-main { inset: 0 0 12% 14%; }
.hs-tall { left: 0; bottom: 0; width: 42%; height: 52%; box-shadow: 0 24px 54px rgba(34, 26, 16, 0.3); }
.hs-badge {
  position: absolute; right: 6%; bottom: 4%;
  background: var(--cream); border-radius: 16px;
  padding: 14px 18px 12px;
  box-shadow: 0 18px 40px rgba(34, 26, 16, 0.2);
  display: flex; align-items: center; gap: 12px;
}
.hs-badge img { height: 58px; width: auto; }
.hs-badge .b-txt { font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--roast); line-height: 1.5; }

@media (max-width: 1100px) {
  .hero { padding-top: calc(var(--nav-h) + 78px); }
}
@media (max-width: 980px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-stack { height: 62vw; max-height: 470px; }
}

/* ---------- Zoom scene (Apple-style scroll zoom, warm) ---------- */
.zoom-scene { height: 140vh; position: relative; }
.zs-sticky {
  position: sticky; top: 0; height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.zs-frame {
  width: 100vw; height: 100svh;
  display: flex; align-items: center; justify-content: center;
  will-change: transform;
}
.zs-media {
  width: 100%; height: 100%; overflow: hidden; position: relative;
  box-shadow: 0 40px 110px rgba(34, 26, 16, 0.4);
}
.zs-media img { width: 100%; height: 100%; object-fit: cover; }
.zs-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(24, 17, 9, 0.42), rgba(24, 17, 9, 0.05) 55%); }
.zs-caption {
  position: absolute; z-index: 3; inset: auto 0 11vh 0;
  text-align: center; padding: 0 24px; opacity: 0;
}
.zs-caption .eyebrow { color: #F2CD97; }
.zs-caption h2 { color: #FDFAF4; font-size: clamp(32px, 4.4vw, 62px); text-shadow: 0 4px 26px rgba(0,0,0,.4); margin-top: 12px; }
@media (prefers-reduced-motion: reduce) {
  .zoom-scene { height: auto; }
  .zs-sticky { position: static; height: auto; }
  .zs-frame { transform: none !important; }
  .zs-caption { opacity: 1; position: static; padding: 26px 24px; }
  .zs-caption h2 { color: var(--ink); text-shadow: none; }
}

/* gallery depth: alternating tiles float with shadow */
.gallery-grid a { box-shadow: 0 18px 44px rgba(34, 26, 16, 0.16); will-change: transform; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; background: var(--ink); padding: 20px 0; }
.marquee-track { display: inline-flex; align-items: baseline; gap: 52px; padding-right: 52px; animation: marq 26s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 30px); font-weight: 460; color: var(--cream); }
.marquee-track em { font-style: italic; color: var(--amber); }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Sections ---------- */
.section { padding: 124px 0; position: relative; }
.section.tight { padding: 88px 0; }
.section.band-sand { background: var(--sand); }
.section.band-dark { background: var(--ink); color: var(--cream); }
.section.band-dark h2 { color: var(--cream); }
.section.band-dark p { color: rgba(251, 246, 238, 0.72); }
.section-head { max-width: 740px; margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 18px; }
@media (max-width: 720px) { .section { padding: 78px 0; } .section-head { margin-bottom: 36px; } }

/* ---------- Statement ---------- */
.statement {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 54px);
  font-weight: 460; line-height: 1.16;
  max-width: 21ch;
}
.statement .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.statement .w > span { display: inline-block; }
.statement em { font-style: italic; color: var(--amber); }

/* ---------- Scrollytelling services ---------- */
.story { position: relative; }
.story-inner {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: center;
  min-height: 100vh; padding: 40px 26px;
}
.story-list { display: flex; flex-direction: column; gap: 8px; }
.story-item { padding: 22px 0; border-bottom: 1px solid var(--hair); transition: opacity 0.3s ease; opacity: 0.38; }
.story-item.active { opacity: 1; }
.story-item .si-num { font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--amber); }
.story-item h3 { font-size: clamp(26px, 2.6vw, 40px); margin-top: 4px; }
.story-item p { margin-top: 8px; font-size: 15.5px; max-width: 44ch; display: none; }
.story-item.active p { display: block; }
.story-item .si-link { display: none; margin-top: 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--roast); border-bottom: 2px solid var(--amber); padding-bottom: 2px; }
.story-item.active .si-link { display: inline-block; }
.story-visual { position: relative; height: min(74vh, 640px); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 70px rgba(34, 26, 16, 0.22); }
.story-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.5s ease;
}
.story-visual img.on { opacity: 1; }
.story-visual .sv-tag {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  background: rgba(34, 26, 16, 0.78); color: var(--cream);
  backdrop-filter: blur(6px);
  border-radius: 999px; padding: 9px 20px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
@media (max-width: 980px) {
  .story-inner { grid-template-columns: 1fr; min-height: 0; gap: 34px; }
  .story-visual { height: 56vw; max-height: 420px; order: -1; }
  .story-item { opacity: 1; }
  .story-item p, .story-item .si-link { display: block; }
  .story-item .si-link { display: inline-block; }
}

/* ---------- Standards ---------- */
.standards { border-top: 1px solid rgba(34, 26, 16, 0.22); }
.standards-labels {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 18px 0 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
}
.standards-labels .l-ours { color: var(--roast); }
.standards-labels .l-theirs { color: var(--ink-45); }
.standards-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: baseline;
  padding: 20px 0; border-bottom: 1px solid rgba(34, 26, 16, 0.16);
}
.standards-row .ours { font-family: var(--font-display); font-size: 23px; font-weight: 500; }
.standards-row .theirs { color: var(--ink-45); font-size: 15px; }
.standards-row .theirs::before { content: "vs  "; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
@media (max-width: 700px) { .standards-row, .standards-labels { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stat .big {
  font-family: var(--font-display); font-weight: 460;
  font-size: clamp(52px, 6vw, 96px); line-height: 1;
}
.stat .big .suf { font-style: italic; color: var(--amber); font-size: 0.55em; }
.stat .label { margin-top: 12px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-70); max-width: 230px; }
@media (max-width: 980px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid a { display: block; overflow: hidden; border-radius: 14px; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.5s ease; }
.gallery-grid a:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.review-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.review-card {
  background: var(--cream); border-radius: 18px; padding: 32px 30px;
  box-shadow: 0 16px 40px rgba(34, 26, 16, 0.1);
}
.review-card .stars { color: var(--amber); letter-spacing: 4px; font-size: 14px; }
.review-card blockquote { font-family: var(--font-display); font-size: 20px; font-weight: 470; line-height: 1.4; margin-top: 14px; }
.review-card cite { display: block; margin-top: 16px; font-style: normal; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-45); }
@media (max-width: 900px) { .review-row { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(24, 17, 9, 0.78), rgba(24, 17, 9, 0.3)); }
.cta-content { position: relative; z-index: 2; text-align: center; width: 100%; color: var(--cream); }
.cta-content h2 { color: var(--cream); font-size: clamp(38px, 5.4vw, 80px); max-width: 17ch; margin: 0 auto; }
.cta-content .btn { margin-top: 40px; }
.cta-sub { margin-top: 20px; font-size: 14.5px; color: rgba(251, 246, 238, 0.75); }
.cta-sub a { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(251, 246, 238, 0.72); font-size: 15px; }
.footer a:hover { color: var(--amber); }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; padding: 84px 0 54px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 20px; }
.footer h4 { font-size: 11.5px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--amber); margin-bottom: 18px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer address { font-style: normal; line-height: 1.8; }
.footer-social { display: flex; gap: 13px; margin-top: 20px; }
.footer-social a { display: inline-flex; width: 38px; height: 38px; border: 1px solid rgba(251, 246, 238, 0.25); border-radius: 50%; align-items: center; justify-content: center; transition: border-color 0.2s ease; }
.footer-social a:hover { border-color: var(--amber); }
.footer-social svg { width: 15px; height: 15px; fill: #FBF6EE; }
.footer-bottom { border-top: 1px solid rgba(251, 246, 238, 0.14); padding: 26px 0; display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; font-size: 13px; color: rgba(251, 246, 238, 0.5); }
.footer-bottom .pay { display: flex; gap: 9px; margin-left: auto; flex-wrap: wrap; }
.footer-bottom .pay span { border: 1px solid rgba(251, 246, 238, 0.2); border-radius: 999px; padding: 4px 12px; font-size: 11.5px; }
@media (max-width: 980px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-main { grid-template-columns: 1fr; gap: 34px; } .footer-bottom .pay { margin-left: 0; } }

/* ---------- Helpers ---------- */
.reveal { opacity: 0; }
.no-js .reveal, .reveal.in { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; } }

.float-cta { position: fixed; right: 18px; bottom: 18px; z-index: 90; box-shadow: 0 14px 36px rgba(34, 26, 16, 0.35); }
@media (min-width: 1101px) { .float-cta { display: none; } }

/* footer brand paragraph must be light on the dark footer */
.footer-brand p { color: rgba(251, 246, 238, 0.62); font-size: 14.5px; max-width: 300px; }
