/* The Build · Case study (/the-build/{slug}/). Template: page-templates/build-case-study.php */
body.gh-build-case-page .nav-spacer { display: none; }
.bc { font-family: 'Inter', sans-serif; color: #1a2b3c; background: #ffffff; }
.bc-inner { max-width: 1240px; margin: 0 auto; }
.bc-kicker { margin: 0 0 0.9rem; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #8B6914; }
.bc-kicker--gold { color: var(--gildhart-gold, #C9A44A); }
.bc-h2 { margin: 0; font-family: 'Inter', 'Outfit', sans-serif; font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; color: #0f172a; text-wrap: balance; }
.bc-h2--light { color: #fdfbf5; }
.bc-h3 { margin: 0 0 0.85rem; font-family: 'Outfit', 'Inter', sans-serif; font-size: clamp(1.45rem, 2.2vw, 1.9rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: #0f172a; text-wrap: balance; }
.bc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 1rem 1.6rem; border-radius: 10px; font-size: 1rem; font-weight: 700; text-decoration: none; transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease; }
.bc-btn:hover { transform: translateY(-1px); text-decoration: none; }
.bc-btn--gold { background: var(--gildhart-gold, #C9A44A); color: #0f172a; }
.bc-btn--gold:hover { background: #d9b65a; color: #0f172a; }
.bc-btn--ghost { color: #fdfbf5; border: 1px solid rgba(201, 164, 74, 0.55); }
.bc-btn--ghost:hover { border-color: var(--gildhart-gold, #C9A44A); color: #fdfbf5; }
.bc-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.bc-ctas--center { justify-content: center; }

/* Hero */
.bc-hero {
  padding: calc(var(--nav-h, 130px) + 3.5rem) 2rem 0;
  background:
    radial-gradient(60% 55% at 88% 12%, rgba(201, 164, 74, 0.14) 0%, transparent 58%),
    radial-gradient(55% 50% at 8% 95%, rgba(30, 61, 47, 0.55) 0%, transparent 62%),
    linear-gradient(180deg, #0f172a 0%, #0b1222 100%);
  color: rgba(248, 244, 234, 0.88);
  overflow: hidden;
}
.bc-hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; }
.bc-crumb { display: flex; gap: 0.6rem; margin: 0 0 1.6rem; font-size: 0.8125rem; font-weight: 600; color: rgba(248, 244, 234, 0.7); }
.bc-crumb a { color: rgba(248, 244, 234, 0.92); text-decoration: none; border-bottom: 1px solid rgba(201, 164, 74, 0.5); }
.bc-crumb a:hover { color: var(--gildhart-gold, #C9A44A); text-decoration: none; }
.bc-eyebrow { margin: 0 0 1.1rem; font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gildhart-gold, #C9A44A); }
.bc-h1 { margin: 0 0 1.4rem; font-family: 'Inter', 'Outfit', sans-serif; font-size: clamp(2.3rem, 4.2vw, 3.6rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.035em; color: #fdfbf5; }
.bc-h1 span { display: block; text-wrap: balance; }
.bc-h1 span:last-child { color: var(--gildhart-gold, #C9A44A); }
.bc-sub { margin: 0 0 2rem; max-width: 54ch; font-size: 1.125rem; font-weight: 500; line-height: 1.65; color: rgba(248, 244, 234, 0.88); }
.bc-hero-visual { position: relative; padding: 0 0 3rem 2.5rem; }
.bc-desk { border-radius: 14px; overflow: hidden; background: #ffffff; box-shadow: 0 0 0 1px rgba(201, 164, 74, 0.4), 0 50px 110px rgba(0, 0, 0, 0.6); }
.bc-desk-bar { display: flex; align-items: center; gap: 0.5rem; height: 36px; padding: 0 0.8rem; background: #f1efe9; border-bottom: 1px solid #e2ddd0; color: #5b6472; font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.bc-desk-bar span { flex: 1; padding: 0.25rem 0.75rem; border-radius: 999px; background: #ffffff; font-size: 0.75rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: #1a2b3c; }
.bc-desk-bar i { width: 7px; height: 7px; border-radius: 50%; background: #2f9e62; box-shadow: 0 0 0 3px rgba(47, 158, 98, 0.22); }
.bc-desk img { display: block; width: 100%; height: auto; }
.bc-phone { position: absolute; left: 0; bottom: 0; width: 26%; border-radius: 22px; overflow: hidden; border: 6px solid #0b1120; box-shadow: 0 0 0 1px rgba(201, 164, 74, 0.45), 0 30px 60px rgba(0, 0, 0, 0.6); background: #0b1120; }
.bc-phone img { display: block; width: 100%; height: auto; aspect-ratio: 780 / 1300; object-fit: cover; object-position: top; }
.bc-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 3.5rem; border-top: 1px solid rgba(201, 164, 74, 0.3); }
.bc-stat { padding: 1.6rem 1.5rem 2.6rem; border-left: 1px solid rgba(255, 255, 255, 0.08); }
.bc-stat:first-child { border-left: 0; padding-left: 0; }
.bc-stat dt { margin: 0 0 0.45rem; font-family: 'Outfit', 'Inter', sans-serif; font-size: clamp(1.8rem, 2.8vw, 2.5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1; color: var(--gildhart-gold, #C9A44A); }
.bc-stat dd { margin: 0; font-size: 0.9688rem; font-weight: 500; line-height: 1.45; color: rgba(248, 244, 234, 0.86); }

/* Phone-first hero: the result ticket and the short line (hidden on desktop) */
.bc-ticket, .bc-sub--short { display: none; }
@media (max-width: 1024px) {
  .bc-hero-copy { display: flex; flex-direction: column; }
  .bc-eyebrow-more { display: none; }
  .bc-h1 { margin-bottom: 1.25rem; }
  .bc-sub--full { display: none; }
  .bc-sub--short { display: block; order: 9; margin: 1rem 0 0; font-size: 1.0625rem; line-height: 1.55; color: rgba(248, 244, 234, 0.9); }
  .bc-ticket { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.2rem; margin: 0 0 1.4rem; padding: 1rem 6.2rem 1.05rem 1.1rem; border-radius: 16px; background: linear-gradient(180deg, rgba(30, 61, 47, 0.8) 0%, rgba(30, 61, 47, 0.6) 100%); border: 1px solid rgba(201, 164, 74, 0.55); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.7); color: #fdfbf5; text-decoration: none; }
  .bc-ticket:hover { color: #fdfbf5; text-decoration: none; }
  .bc-ticket-shot { position: absolute; right: 0.9rem; top: 0.9rem; width: 74px; height: auto; border-radius: 10px; border: 3px solid #0b1120; box-shadow: 0 0 0 1px rgba(201, 164, 74, 0.5), 0 14px 28px -12px rgba(0, 0, 0, 0.7); transform: rotate(6deg); }
  .bc-ticket-fig { font-family: 'Outfit', 'Inter', sans-serif; font-size: 2rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; color: var(--gildhart-gold, #C9A44A); }
  .bc-ticket-label { font-size: 0.875rem; font-weight: 600; line-height: 1.4; color: rgba(248, 244, 234, 0.9); }
  .bc-ticket-more { margin-top: 0.55rem; padding-top: 0.55rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.8125rem; font-weight: 500; line-height: 1.4; color: rgba(248, 244, 234, 0.86); }
  .bc-ticket-more b { font-weight: 800; color: #fdfbf5; }
  .bc-ctas { gap: 0.9rem; }
  .bc-ctas .bc-btn--ghost { width: auto; margin: 0 auto; padding: 0.2rem 0; border: 0; border-bottom: 1px solid rgba(201, 164, 74, 0.55); border-radius: 0; background: none; color: var(--gildhart-gold, #C9A44A); font-size: 0.9375rem; white-space: nowrap; }
  .bc-stat:nth-child(-n+2) { display: none; }
  .bc-stat:nth-child(3) { border-top: 0; }
}

/* Brief */
.bc-brief { padding: 5.5rem 2rem; background: #f5f0e8; }
.bc-brief-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 4.5rem; align-items: end; }
.bc-brief-body { margin: 0; font-size: 1.125rem; font-weight: 500; line-height: 1.7; color: #3a4556; }

/* What we built */
.bc-built { padding: 6rem 2rem 3rem; background: #ffffff; }
.bc-built-head { max-width: 760px; margin-bottom: 3.5rem; }
.bc-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3.5rem; align-items: center; padding: 3rem 0; border-top: 1px solid #ece6d6; }
.bc-row:first-of-type { border-top: 0; padding-top: 0; }
.bc-row--flip .bc-shot { order: 2; }
.bc-shot { margin: 0; border-radius: 16px; overflow: hidden; background: #f6f3ec; box-shadow: 0 0 0 1px #e2ddd0, 0 40px 80px -42px rgba(15, 23, 42, 0.5); }
.bc-shot img { display: block; width: 100%; height: auto; }
.bc-row-kicker { display: flex; align-items: center; gap: 0.7rem; margin: 0 0 0.85rem; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #8B6914; }
.bc-row-kicker span { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #1E3D2F; color: var(--gildhart-gold, #C9A44A); font-size: 0.75rem; letter-spacing: 0.02em; }
.bc-row-body { margin: 0 0 1.4rem; font-size: 1.0625rem; font-weight: 500; line-height: 1.65; color: #3a4556; }
.bc-sells { margin: 0; padding: 1rem 1.15rem; border-left: 3px solid var(--gildhart-gold, #C9A44A); border-radius: 0 10px 10px 0; background: #f8f4ea; font-size: 1rem; font-weight: 600; line-height: 1.5; color: #1a2b3c; }
.bc-sells b { display: block; margin-bottom: 0.25rem; font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #8B6914; }

/* Under the hood (platform) */
.bc-platform { padding: 6rem 2rem; background: radial-gradient(60% 50% at 85% 0%, rgba(201, 164, 74, 0.12) 0%, transparent 60%), linear-gradient(180deg, #0f172a 0%, #0b1222 100%); color: rgba(248, 244, 234, 0.88); }
.bc-platform-head { max-width: 820px; margin-bottom: 3rem; }
.bc-platform-lead { margin: 1.1rem 0 0; font-size: 1.125rem; font-weight: 500; line-height: 1.6; color: rgba(248, 244, 234, 0.86); }
.bc-platform-nums { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 3rem; border-top: 1px solid rgba(201, 164, 74, 0.3); border-bottom: 1px solid rgba(201, 164, 74, 0.3); }
.bc-platform-nums > div { padding: 1.6rem 1.4rem; border-left: 1px solid rgba(255, 255, 255, 0.08); }
.bc-platform-nums > div:first-child { border-left: 0; padding-left: 0; }
.bc-platform-nums dt { margin: 0 0 0.45rem; font-family: 'Outfit', 'Inter', sans-serif; font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1; color: var(--gildhart-gold, #C9A44A); }
.bc-platform-nums dd { margin: 0; font-size: 0.9375rem; font-weight: 500; line-height: 1.45; color: rgba(248, 244, 234, 0.86); }
.bc-platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: start; }
.bc-mod { padding: 1.6rem 1.5rem 1.4rem; border-radius: 16px; background: rgba(253, 251, 245, 0.045); border: 1px solid rgba(201, 164, 74, 0.3); }
.bc-mod-n { margin: 0 0 0.6rem; font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gildhart-gold, #C9A44A); }
.bc-mod-title { margin: 0 0 0.5rem; font-family: 'Outfit', 'Inter', sans-serif; font-size: 1.3125rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; color: #fdfbf5; }
.bc-mod-why { margin: 0 0 1.1rem; padding-bottom: 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.09); font-size: 0.9375rem; font-weight: 600; line-height: 1.5; color: rgba(248, 244, 234, 0.92); }
.bc-mod-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.bc-mod-list li { position: relative; padding-left: 1.2rem; font-size: 0.9063rem; font-weight: 500; line-height: 1.5; color: rgba(248, 244, 234, 0.86); }
.bc-mod-list li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--gildhart-gold, #C9A44A); }
.bc-mod-more { margin-top: 0.75rem; }
.bc-mod-more > .bc-mod-list { margin-top: 0.65rem; }
.bc-mod-more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.875rem; font-weight: 800; color: var(--gildhart-gold, #C9A44A); }
.bc-mod-more summary::-webkit-details-marker { display: none; }
.bc-mod-more summary::after { content: '+'; font-size: 1rem; line-height: 1; }
.bc-mod-more[open] summary { display: none; }
.bc-mod-more summary:focus-visible { outline: 2px solid var(--gildhart-gold, #C9A44A); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .bc-mod.is-armed { opacity: 0; transform: translateY(20px); transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
  .bc-mod.is-armed.is-in { opacity: 1; transform: none; }
}
@media (max-width: 1024px) { .bc-platform-grid { grid-template-columns: 1fr 1fr; } .bc-platform-nums { grid-template-columns: 1fr 1fr; } .bc-platform-nums > div:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); } .bc-platform-nums > div:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, 0.08); } }
@media (max-width: 760px) { .bc-platform { padding: 4.5rem 1.25rem; } .bc-platform-grid { grid-template-columns: 1fr; } .bc-platform-nums > div { padding: 1.2rem 0.9rem; } .bc-platform-nums > div:nth-child(odd) { padding-left: 0; } }

/* The booking platform (Booked) */
.bc-product { padding: 6rem 2rem; background: #f5f0e8; }
.bc-product-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; margin-bottom: 3.5rem; }
.bc-product-mark { display: inline-flex; align-items: center; gap: 0.6rem; margin: 0 0 1.1rem; font-family: 'Inter', sans-serif; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; color: #0f172a; }
.bc-product-logo { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 3px; width: 26px; height: 26px; }
.bc-product-logo i { border: 2.5px solid #0f172a; border-radius: 4px; }
.bc-product-lead { margin: 1.1rem 0 1.8rem; max-width: 52ch; font-size: 1.125rem; font-weight: 500; line-height: 1.65; color: #3a4556; }
.bc-btn--dark { background: #0f172a; color: #fdfbf5; }
.bc-btn--dark:hover { background: #1E3D2F; color: #fdfbf5; }
.bc-product-shot { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 1px #e2ddd0, 0 40px 80px -40px rgba(15, 23, 42, 0.45); }
.bc-product-shot img { display: block; width: 100%; height: auto; }
.bc-product-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.bc-product-item { padding: 1.3rem 1.25rem 1.35rem; border-radius: 14px; background: #ffffff; border: 1px solid #e7e0cf; }
.bc-product-item h3 { margin: 0 0 0.45rem; font-family: 'Outfit', 'Inter', sans-serif; font-size: 1.0625rem; font-weight: 800; letter-spacing: -0.015em; line-height: 1.25; color: #0f172a; }
.bc-product-item p { margin: 0; font-size: 0.9063rem; font-weight: 500; line-height: 1.55; color: #3a4556; }
@media (max-width: 1100px) { .bc-product-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1024px) { .bc-product-head { grid-template-columns: 1fr; gap: 2.5rem; } }
@media (max-width: 760px) { .bc-product { padding: 4.5rem 1.25rem; } .bc-product-grid { grid-template-columns: 1fr; } .bc-product-copy .bc-btn { width: 100%; } }

/* On the site */
.bc-proof { padding: 5rem 2rem; background: #1E3D2F; }
.bc-proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; align-items: center; }
.bc-proof-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.bc-proof-list li { display: flex; align-items: center; gap: 0.7rem; padding: 1rem 1.1rem; border-radius: 12px; background: rgba(253, 251, 245, 0.06); border: 1px solid rgba(201, 164, 74, 0.35); font-size: 0.9688rem; font-weight: 700; line-height: 1.35; color: #fdfbf5; }
.bc-proof-list li::before { content: '✓'; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gildhart-gold, #C9A44A); color: #0f172a; font-size: 0.75rem; font-weight: 800; }

/* Next case */
.bc-next { display: block; padding: 2.4rem 2rem; background: #f5f0e8; border-top: 1px solid #e7e0cf; border-bottom: 1px solid #e7e0cf; text-decoration: none; color: inherit; transition: background 0.2s ease; }
.bc-next:hover { background: #efe8d8; text-decoration: none; color: inherit; }
.bc-next-inner { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 1rem 2rem; }
.bc-next-label { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #8B6914; }
.bc-next-name { font-family: 'Outfit', 'Inter', sans-serif; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; letter-spacing: -0.03em; color: #0f172a; }
.bc-next-fig { font-family: 'Outfit', 'Inter', sans-serif; font-size: 1.4rem; font-weight: 800; color: #8B6914; }
.bc-next-fig small { display: block; font-family: 'Inter', sans-serif; font-size: 0.8125rem; font-weight: 600; color: #3a4556; }
.bc-next-arrow { font-size: 1.8rem; color: #0f172a; transition: transform 0.2s ease; }
.bc-next:hover .bc-next-arrow { transform: translateX(4px); }

/* Close */
.bc-close { padding: 6rem 2rem; background: linear-gradient(180deg, #0f172a 0%, #0b1222 100%); text-align: center; }
.bc-close-inner { max-width: 760px; }
.bc-close-sub { margin: 1rem auto 2.2rem; max-width: 52ch; font-size: 1.125rem; font-weight: 500; line-height: 1.6; color: rgba(248, 244, 234, 0.86); }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .bc-hero-copy > *, .bc-hero-visual { opacity: 0; transform: translateY(16px); animation: bcRise 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
  .bc-hero-copy > :nth-child(2) { animation-delay: 0.08s; } .bc-hero-copy > :nth-child(3) { animation-delay: 0.16s; } .bc-hero-copy > :nth-child(4) { animation-delay: 0.24s; } .bc-hero-copy > :nth-child(5) { animation-delay: 0.32s; }
  .bc-hero-visual { animation-delay: 0.3s; }
  .bc-row.is-armed { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
  .bc-row.is-armed.is-in { opacity: 1; transform: none; }
  @keyframes bcRise { to { opacity: 1; transform: none; } }
}

@media (max-width: 1024px) {
  .bc-hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .bc-row, .bc-row--flip { grid-template-columns: 1fr; gap: 1.75rem; }
  .bc-row--flip .bc-shot { order: 0; }
  .bc-proof-grid, .bc-brief-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .bc-hero { padding: calc(var(--nav-h, 130px) + 2rem) 1.25rem 0; }
  .bc-ctas .bc-btn--gold { width: 100%; }
  .bc-hero-visual { padding: 0 0 2rem 1.5rem; }
  .bc-phone { width: 30%; border-width: 4px; border-radius: 16px; }
  .bc-stats { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .bc-stat { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 1.2rem 0; }
  .bc-stat:first-child { border-top: 0; }
  .bc-stat:last-child { padding-bottom: 2.4rem; }
  .bc-brief, .bc-proof { padding: 4rem 1.25rem; }
  .bc-built { padding: 4.5rem 1.25rem 2rem; }
  .bc-row { padding: 2.25rem 0; }
  .bc-proof-list { grid-template-columns: 1fr; }
  .bc-next { padding: 2rem 1.25rem; }
  .bc-next-inner { grid-template-columns: 1fr auto; }
  .bc-next-label, .bc-next-name, .bc-next-fig { grid-column: 1; }
  .bc-next-arrow { grid-column: 2; grid-row: 1 / span 3; }
  .bc-close { padding: 4.5rem 1.25rem; }
}
