/* Fordcastle interior pages — Consulting / Ventures / Focus
   Shared idiom: navy #1a1730, gold #C9A961, Source Serif 4 headlines. */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #1a1730;
  color: rgba(255, 255, 255, 0.92);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; }

/* ===== TOP NAV ===== */
.nav {
  padding: 24px 40px;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-logo { height: 32px; width: auto; opacity: 0.95; display: block; }
.nav-links { display: flex; gap: 22px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 400; flex-wrap: wrap; align-items: center; }
.nav-item { position: relative; }
.nav-links a { color: rgba(255,255,255,0.78); text-decoration: none; transition: color 0.2s ease; }
.nav-item > a:hover, .nav-item > a.active { color: #C9A961; }
.dropdown {
  position: absolute; top: 100%; left: 50%; margin-top: 12px; min-width: 150px;
  background: #211d3d; border: 1px solid rgba(255,255,255,0.1); border-radius: 6px;
  padding: 8px; display: flex; flex-direction: column; gap: 2px; z-index: 40;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease; box-shadow: 0 14px 34px rgba(0,0,0,0.4);
}
.has-dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.dropdown a { font-size: 11px; letter-spacing: 0.08em; text-transform: none; color: rgba(255,255,255,0.72); padding: 8px 12px; border-radius: 4px; white-space: nowrap; }
.dropdown a:hover { background: rgba(201,169,97,0.15); color: #fff; }

/* ===== STICKY SUB-NAV ===== */
.subnav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(20,17,42,0.94);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.subnav-inner {
  max-width: 1080px; margin: 0 auto; padding: 14px 40px;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.subnav-eyebrow { font-family: "Source Serif 4", Georgia, serif; font-size: 15px; color: #fff; margin-right: 8px; font-weight: 400; }
.subnav a {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 400;
  color: rgba(255,255,255,0.6); text-decoration: none; padding-bottom: 3px;
  border-bottom: 1px solid transparent; transition: color 0.2s ease, border-color 0.2s ease;
}
.subnav a:hover, .subnav a.active { color: #fff; border-color: #C9A961; }

/* ===== PAGE HEADER ===== */
.page-header { padding: 80px 40px 20px; max-width: 1080px; margin: 0 auto; }
.eyebrow { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: #C9A961; margin: 0 0 14px; font-weight: 400; }
.page-title {
  font-family: "Source Serif 4", Georgia, serif; font-weight: 300;
  font-size: clamp(32px, 5vw, 52px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 22px; color: #fff;
}
.page-title em { font-style: italic; color: #C9A961; }
.page-intro { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.82); max-width: 640px; margin: 0; }

/* ===== SECTIONS ===== */
.section { padding: 60px 40px; max-width: 1080px; margin: 0 auto; scroll-margin-top: 72px; }
.section + .section { border-top: 1px solid rgba(255,255,255,0.06); }
.section-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 10px; flex-wrap: wrap; }
.section-h {
  font-family: "Source Serif 4", Georgia, serif; font-weight: 300;
  font-size: clamp(26px, 3.2vw, 34px); color: #fff; margin: 0; letter-spacing: -0.01em;
}
.section-tag { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.section-lead { font-size: 15.5px; line-height: 1.7; color: rgba(255,255,255,0.72); max-width: 620px; margin: 0 0 32px; }
.prose p { font-size: 16px; line-height: 1.75; color: rgba(255,255,255,0.8); max-width: 640px; margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }

/* placeholder marker (subtle, for iterative fill) */
.tbd { display: inline-block; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(201,169,97,0.75); border: 1px solid rgba(201,169,97,0.4); border-radius: 3px; padding: 2px 7px; margin-left: 8px; vertical-align: middle; }

/* ===== STEP CARDS (approach) ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.step { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 5px; padding: 26px 24px; }
.step-n { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: #C9A961; margin: 0 0 12px; }
.step h4 { font-family: "Source Serif 4", Georgia, serif; font-weight: 400; font-size: 19px; margin: 0 0 10px; color: #fff; }
.step p { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,0.75); margin: 0; }

/* ===== FOCUS ROWS ===== */
.focus-row { padding: 36px 0; border-top: 1px solid rgba(255,255,255,0.08); scroll-margin-top: 80px; }
.focus-row:first-of-type { border-top: 0; }
.focus-p { font-family: "Source Serif 4", Georgia, serif; font-weight: 300; font-size: clamp(24px, 3vw, 32px); color: #fff; margin: 0 0 6px; }
.focus-sub { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #C9A961; margin: 0 0 16px; }
.focus-row p.body { font-size: 16px; line-height: 1.75; color: rgba(255,255,255,0.8); max-width: 640px; margin: 0 0 16px; }
.focus-links { display: flex; gap: 22px; flex-wrap: wrap; }
.focus-links a { font-size: 13px; letter-spacing: 0.04em; color: #C9A961; text-decoration: none; border-bottom: 1px solid rgba(201,169,97,0.5); padding-bottom: 2px; }
.focus-links a:hover { border-bottom-color: #C9A961; }

/* ===== GALLERY TILES (Ventures > Portfolio) ===== */
.band-lead { font-size: 14.5px; line-height: 1.65; color: rgba(255,255,255,0.6); max-width: 560px; margin: 0 0 24px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 44px; }
.tile {
  position: relative; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px; aspect-ratio: 4 / 3; overflow: hidden; cursor: pointer; outline: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.tile:hover, .tile:focus-visible { border-color: rgba(201,169,97,0.55); transform: translateY(-2px); }
.tile-face { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 18px; text-align: center; transition: opacity 0.25s ease; }
.tile-monogram { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(201,169,97,0.14); border: 1px solid rgba(201,169,97,0.4); font-family: "Source Serif 4", Georgia, serif; font-size: 22px; color: #C9A961; }
.tile-name { font-size: 14px; letter-spacing: 0.02em; color: rgba(255,255,255,0.9); font-weight: 400; }
.tile-pop { position: absolute; inset: 0; background: linear-gradient(160deg, #211d3d 0%, #171430 100%); padding: 20px; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease; }
.tile:hover .tile-pop, .tile:focus-visible .tile-pop, .tile.open .tile-pop { opacity: 1; transform: translateY(0); }
.tile:hover .tile-face, .tile:focus-visible .tile-face, .tile.open .tile-face { opacity: 0.08; }
.pop-name { font-family: "Source Serif 4", Georgia, serif; font-size: 17px; color: #fff; margin: 0 0 8px; }
.pop-cat { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: #C9A961; margin: 0 0 10px; }
.pop-body { font-size: 13px; line-height: 1.55; color: rgba(255,255,255,0.82); margin: 0; }
.pop-link { margin-top: 12px; font-size: 12px; letter-spacing: 0.06em; color: #C9A961; text-decoration: none; border-bottom: 1px solid rgba(201,169,97,0.5); align-self: flex-start; padding-bottom: 2px; }

/* ===== FOOTER ===== */
.foot { background: #14112a; padding: 48px 40px 40px; border-top: 1px solid rgba(255,255,255,0.06); margin-top: 20px; }
.foot-inner { max-width: 1080px; margin: 0 auto; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,0.55); }
.foot-inner a { color: #C9A961; text-decoration: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) { .gallery { grid-template-columns: repeat(3, 1fr); } .steps { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .nav { padding: 18px 22px; flex-wrap: wrap; gap: 12px 16px; }
  .subnav-inner, .page-header, .section { padding-left: 22px; padding-right: 22px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .dropdown { display: none; }
}
