/* ===== GLOBAL BASE ===== */

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: #02040b;          /* navy/black background */
  color: #f5f5f5;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
}

/* SHELL CONTAINER: header + iframe + footer */
.bv-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Make basic text light by default */
body,
p,
li,
h1, h2, h3, h4, h5, h6,
span {
  color: #f5f5f5;
}

/* On-brand links for dark theme */
a {
  color: #f3b45b;
  text-decoration: underline;
}

a:visited {
  color: #d39a4c;
}

a:hover,
a:focus {
  color: #ffd58a;
}

/* ===== HEADER AREA ===== */

.bv-header {
  padding: 20px 5vw 0;
}

.bv-top-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* LOGO */
.bv-logo img {
  height: 150px;
  width: auto;
  object-fit: contain;
  display: block;
  cursor: pointer;
}

/* TITLE + TAGLINE BLOCK */
.bv-heading-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bv-title {
  letter-spacing: 0.15em;
  font-size: 1.7rem;
  text-transform: uppercase;
}

.bv-tagline {
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: #c4c8d5;
}

/* ===== METAL TEXT EFFECTS ===== */

.metal-3d {
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.45),
    0 2px 2px rgba(0, 0, 0, 0.28),
    0 0 3px rgba(255, 255, 255, 0.40);
}

.steel-text {
  background: linear-gradient(145deg,
    #eceff5 0%,
    #ffffff 20%,
    #c9ced8 45%,
    #f4f6fb 65%,
    #8f95a2 85%,
    #d8dde5 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 700;
}

.brass-text {
  background: linear-gradient(145deg,
    #c78326 0%,   /* slightly brighter bronze */
    #e1aa4a 25%,
    #f6c868 45%,
    #cf9436 65%,
    #9a6420 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 700;
}

/* ===== NAVIGATION ===== */

.bv-nav {
  display: flex;
  gap: 30px;
  margin-top: 15px;
  padding: 0 5vw 10px;
}

.bv-nav a {
  color: #d8dde9;
  text-decoration: none;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
}

.bv-nav a:hover,
.bv-nav a:focus {
  color: #ffffff;
}

/* ===== TOP MARQUEE (replaces orange bar) ===== */

.bv-marquee {
  background: #111017;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  padding: 4px 0;
  font-size: 0.75rem;
  color: #f7c87a;
}

.bv-marquee marquee {
  font-family: inherit;
  color: #f7c87a;
}

/* ===== MAIN AREA + IFRAME ===== */

.bv-main {
  flex: 1 0 auto;
  display: flex;
  min-height: 0; /* allow iframe to shrink inside flex */
}

#content {
  flex: 1 0 auto;
  width: 100%;
  border: none;
  display: block;
  background: transparent;
}

/* ===== FOOTER ===== */

.bv-footer {
  flex: 0 0 auto;
  padding: 8px 5vw 10px;
  font-size: 0.75rem;
  color: #888;
  border-top: 1px solid #333;
  text-align: center;
}

/* footer nav row */
.bv-footer-nav {
  margin-top: 4px;
  margin-bottom: 4px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.bv-footer-nav a {
  text-decoration: none;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f3b45b;
}

.bv-footer-nav a:hover,
.bv-footer-nav a:focus {
  color: #ffd58a;
}

.bv-footer-copy {
  margin: 2px 0 0 0;
  font-size: 0.7rem;
  color: #aaaaaa;
}

/* ===== CONTENT PAGES (INSIDE IFRAME) ===== */

.page-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 8vw 3rem 8vw;  /* more left/right padding so content isn’t hard against edge */
  line-height: 1.5;
}

.page-wrap h1 {
  font-size: 1.9rem;
  margin-bottom: 1.2rem;
}

.page-wrap h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.page-wrap p {
  margin: 0 0 0.9rem;
}

.page-wrap ul {
  margin: 0 0 1rem 1.2rem;
  padding: 0;
}

/* ===== CONTACT FORM (if used) ===== */

.contact-form {
  margin-top: 1.5rem;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: #f5f5f5;
}

.contact-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.contact-form input[type="email"] {
  flex: 1 1 220px;
  padding: 0.4rem 0.6rem;
  border-radius: 3px;
  border: 1px solid #444;
  background: #111017;
  color: #f5f5f5;
}

.contact-form button {
  padding: 0.45rem 0.9rem;
  border-radius: 3px;
  border: 1px solid #f2912b;
  background: #f2912b;
  color: #111017;
  font-weight: 600;
  cursor: pointer;
}

.contact-form button:hover,
.contact-form button:focus {
  background: #ffb459;
  border-color: #ffb459;
}

.contact-note {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #bbbbbb;
}

/* ===== HOME / CONTENT PAGE COSMETICS ===== */

/* main content wrapper inside iframe */
.page-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 7vw 3rem;
  line-height: 1.6;
}

/* small uppercase label above the H1 */
.section-label {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c4c8d5;
  margin-bottom: 0.5rem;
}

/* softer intro line under H1 */
.home-lede {
  font-size: 0.95rem;
  color: #d0d4e0;
  margin-top: -0.3rem;
  margin-bottom: 1.5rem;
}

/* inline links under the hero text */
.hero-links {
  margin-top: 1rem;
  margin-bottom: 1.8rem;
}

.hero-links a {
  margin-right: 1.5rem;
}

/* card for the U-layout section */
.rack-card {
  margin-top: 1.75rem;
  margin-bottom: 1.75rem;
  padding: 1.25rem 1.5rem;
  border-radius: 6px;
  border: 1px solid #292c39;
  background:
    radial-gradient(circle at top left, rgba(250,188,92,0.07), transparent 55%),
    #050711;
}

.rack-card h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

/* clean list for U12–U5 */
.rack-grid {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  font-size: 0.9rem;
}

.rack-grid li {
  padding: 0.3rem 0;
  border-bottom: 1px dashed #292c39;
}

.rack-grid li:last-child {
  border-bottom: none;
}

.u-label {
  font-weight: 600;
  color: #f6c868;
  margin-right: 0.4rem;
}

.rack-role {
  color: #d0d4e0;
}

/* small meta line under the rack list */
.rack-meta {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: #c4c8d5;
}
/* ===== TYPOGRAPHY TUNING FOR CONTENT PAGES ===== */

/* default body text inside the iframe content */
.page-wrap {
  color: #d3d6df;          /* soft light grey, easy on the eyes */
}

/* headings a bit brighter for contrast */
.page-wrap h1,
.page-wrap h2,
.page-wrap h3,
.page-wrap h4 {
  color: #f5f5f7;
}

/* slightly muted “lede” and meta text */
.page-wrap .home-lede,
.page-wrap .rack-meta,
.page-wrap .section-label {
  color: #bfc3cf;
}

/* list items same as normal body copy */
.page-wrap p,
.page-wrap li {
  color: #d3d6df;
}

/* keep links readable but not screaming */
.page-wrap a {
  color: #f0b861;
}

.page-wrap a:hover,
.page-wrap a:focus {
  color: #ffd38d;
}
/* ===== CONTENT-PAGE TYPOGRAPHY (HOME & SIMILAR) ===== */

.content-page .page-wrap {
  color: #d0d3dd; /* soft light grey for main text */
}

/* headings a bit brighter */
.content-page .page-wrap h1,
.content-page .page-wrap h2,
.content-page .page-wrap h3,
.content-page .page-wrap h4 {
  color: #f5f5f8;
}

/* lede + labels a touch dimmer */
.content-page .home-lede,
.content-page .rack-meta,
.content-page .section-label {
  color: #b6bac7;
}

/* paragraphs & list items */
.content-page .page-wrap p,
.content-page .page-wrap li {
  color: #d0d3dd;
}

/* links inside content: warm but not screaming */
.content-page .page-wrap a {
  color: #f0b861;
}

.content-page .page-wrap a:hover,
.content-page .page-wrap a:focus {
  color: #ffd38d;
}

/* Layout for all inner pages */
.page-wrap {
  margin: 0;
  padding: 2rem 5vw 3rem;  /* 5vw matches the header left/right padding */
  line-height: 1.6;
}

/* ===== FINAL OVERRIDE: CONTENT GREY PALETTE ===== */
/* This wins over any earlier color rules, including !important ones */

.page-wrap,
.page-wrap p,
.page-wrap li {
  color: #d0d3dd !important;    /* soft grey body text */
}

.page-wrap h1,
.page-wrap h2,
.page-wrap h3,
.page-wrap h4 {
  color: #f5f5f8 !important;    /* brighter for headings */
}

.page-wrap .home-lede,
.page-wrap .rack-meta,
.page-wrap .section-label {
  color: #b6bac7 !important;    /* slightly dimmer support text */
}

.page-wrap a {
  color: #f0b861 !important;    /* warm link color */
}

.page-wrap a:hover,
.page-wrap a:focus {
  color: #ffd38d !important;
}
