/* ============================================================
   214 LEGACY LLC — Shared Stylesheet
   Design tokens taken directly from the developer handoff spec.
   Palette:  #D4AF37  #B8860B  #0D0D0D  #1A1A1A  #E6E6E6  #FFFFFF
   Type:     Oswald (headlines) / Montserrat (body + nav)
   Grid:     8pt   |   Radius: 8px   |   Shadow: 0 8px 24px rgba(0,0,0,0.4)
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Color palette (exact spec hex values) */
  --gold:        #D4AF37;
  --gold-deep:   #B8860B;
  --black:       #0D0D0D;
  --panel:       #1A1A1A;
  --grey-light:  #E6E6E6;
  --white:       #FFFFFF;

  /* Spacing system — 8pt grid */
  --sp-4:  4px;
  --sp-8:  8px;
  --sp-16: 16px;
  --sp-24: 24px;
  --sp-32: 32px;
  --sp-48: 48px;
  --sp-64: 64px;

  /* Border radius */
  --radius: 8px;

  /* Shadow (spec: 0px 8px 24px rgba(0,0,0,0.4)) */
  --shadow: 0px 8px 24px rgba(0, 0, 0, 0.4);

  /* Layout */
  --maxw: 1440px;
}

/* ---------- Reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--grey-light);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

/* Background is applied to each top-level section, not just <body>.
   When this page is embedded in a host builder (GoHighLevel, etc.) the
   host owns the real <body>, so a body-only rule gets overridden and the
   host's white background shows through. Painting the sections directly
   makes the dark background survive embedding. */
html,
body,
.site-nav,
.hero,
.section,
.site-footer {
  background-color: var(--black);
}

a {
  color: inherit;
  text-decoration: none;
}

.section > .container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1rem; optional gutter
}

/* ---------- Typography ---------- */
h1, h2, h3, h4,
.headline {
  font-family: "Oswald", Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  text-transform: uppercase;
}

.eyebrow {
  font-family: "Oswald", Arial, Helvetica, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  /* padding: 0 var(--sp-32); */
}

.section {
  padding: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  font-family: "Oswald", Arial, Helvetica, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  border-radius: var(--radius);
  padding: var(--sp-16) var(--sp-24);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Primary: gold fill, black text. Hover = spec rule (gold bg / black text) */
.btn-primary {
  background: var(--gold);
  color: var(--black);
  border: 2px solid var(--gold);
}
.btn-primary:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--black);
}

/* Secondary: outlined gold. Hover fills gold with black text per spec. */
.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-secondary:hover {
  background: var(--gold);
  color: var(--black);
}

/* Text link with arrow */
.text-link {
  font-family: "Oswald", Arial, Helvetica, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  font-size: 14px;
  transition: color 0.2s ease;
}
.text-link:hover {
  color: var(--gold-deep);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: var(--sp-24);
}
.nav-logo {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-32);
  list-style: none;
}
.nav-links a {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  color: var(--white);
  padding: var(--sp-8) 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  /* background-image: url("Hero_Valley.png"); */
  background-size: cover;
  background-position: center right;
  z-index: 0;
}
/* Left-to-right dark scrim so headline text stays legible */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--black) 0%,
    rgba(13, 13, 13, 0.85) 35%,
    rgba(13, 13, 13, 0.35) 65%,
    rgba(13, 13, 13, 0.15) 100%
  );
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero-content {
  max-width: 620px;
  padding: var(--sp-64) 0;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  margin-bottom: var(--sp-24);
}
.hero p {
  color: var(--grey-light);
  font-size: 18px;
  max-width: 460px;
  margin-bottom: var(--sp-32);
}

/* ============================================================
   FEATURED PROJECTS
   ============================================================ */
.section-tag {
  display: inline-block;
  font-family: "Oswald", Arial, Helvetica, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  /* border: 1px solid var(--gold); */
  border-radius: var(--radius);
  padding: var(--sp-8) var(--sp-24);
  margin: 0 auto var(--sp-24);
}
.section-tag-wrap {
  text-align: center;
}

.featured {
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 7fr 3fr;
  overflow: hidden;
}
.featured-art {
  background-image: url("https://assets.cdn.filesafe.space/luJES0FhYAPGJ1zFi1l0/media/6a888fe6cdd4b797a33ec788.png");
  background-size: cover;
  background-position: center;
  object-fit: cover;
  min-height: 340px;
}
.featured-body {
  padding: var(--sp-32);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-body h3 {
  font-size: 34px;
  margin-bottom: var(--sp-8);
}
.featured-genre {
  color: var(--gold);
  font-family: "Oswald", Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: var(--sp-16);
}
.featured-body p {
  color: var(--grey-light);
  margin-bottom: var(--sp-24);
}

.featured-card {

  --gold: #d9a12b;

  position: relative;

  border: 2px solid var(--gold);

  border-radius: 8px;

  background: #0a0a0a;

  padding: 24px;

  margin-top: 22px; /* leaves room for the tab overhang */

}
 
/* the tab centered on the top border */

.featured-tab {

  position: absolute;

  top: 0;

  left: 50%;

  transform: translate(-50%, -50%); /* pulls it up so it straddles the border */

  display: flex;

  align-items: center;

  gap: 16px;

  padding: 8px 28px;

  background: #0a0a0a;

  border: 2px solid var(--gold);

  font-family: "Oswald", sans-serif;

  font-weight: 700;

  letter-spacing: 0.15em;

  color: #f5d78a;

  white-space: nowrap;

}
 
.star { color: var(--gold); }

/* ============================================================
   DEVELOPMENT SLATE
   ============================================================ */
/* Two-column layout: slate panel on the left, About panel on the right */
.slate-layout {
  /* display: grid;
  grid-template-columns: 1fr 1fr; */
  gap: var(--sp-24);
  align-items: stretch;
}

/* The slate panel: one gold border wrapping the tiles AND the CTA,
   with the "DEVELOPMENT SLATE" label notched into the top edge. */
.slate-panel {
  position: relative;
  /* border: 2px solid var(--gold); */
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  /* padding: var(--sp-32) var(--sp-24) var(--sp-24); */
}

/* Label sits on the border line; its background must match whatever is
   behind the panel so the border appears to break around the text. */
.slate-panel-label {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -90%);
  background: var(--black);
  padding: 0 var(--sp-16);
  font-family: "Oswald", Arial, Helvetica, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 16px;
  color: var(--gold);
  white-space: nowrap;
}

.slate-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-16);
}
.slate-tile {
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  background: var(--black);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.slate-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.slate-poster {
  aspect-ratio: 2 / 3;
  width: 100%;
  object-fit: cover;
}
.slate-caption {
  text-align: center;
  font-family: "Oswald", Arial, Helvetica, sans-serif;
  border: 2px solid var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 11px;
  color: var(--white);
  padding: var(--sp-8) var(--sp-4);
  white-space: nowrap;
}

/* About 214 side panel */
.about-panel {
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: var(--sp-32);
  height: 100%;
}
.about-panel-head {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  margin-bottom: var(--sp-16);
}
.about-panel-head .eyebrow {
  font-size: 16px;
}
.about-panel p {
  color: var(--grey-light);
  margin-bottom: var(--sp-24);
  font-size: 15px;
}

/* CTA now lives inside the slate panel.
   .btn-outline sets align-self: flex-start, so center it explicitly here. */
.slate-cta {
  text-align: center;
  margin-top: var(--sp-24);
}
.slate-cta .btn-outline {
  align-self: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding: var(--sp-32) 0 var(--sp-24);
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-32);
  margin-bottom: var(--sp-24);
}
/* Brand block with the vertical divider on its right edge (per mockup) */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
  padding-right: var(--sp-32);
  border-right: 1px solid rgba(212, 175, 55, 0.35);
}
.footer-logo {
  height: 40px;
  width: auto;
}
.footer-tagline {
  color: var(--gold);
  font-family: "Oswald", Arial, Helvetica, sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 13px;
}
.footer-center {
  text-align: center;
  flex: 1;
}
.footer-motto {
  color: var(--gold);
  font-family: "Oswald", Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 20px;
  margin-bottom: var(--sp-8);
}
/* Contact row is gold in the mockup, not grey */
.footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-16);
  flex-wrap: wrap;
  color: var(--gold);
  font-size: 14px;
}
.footer-contact span {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
}
.footer-sep {
  color: rgba(212, 175, 55, 0.45);
}
.footer-social {
  display: flex;
  gap: var(--sp-8);
}
.footer-social a {
  width: 34px;
  height: 34px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: background 0.2s ease, color 0.2s ease;
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--black);
}
.footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.footer-legal {
  text-align: center;
  color: #8a8a8a;
  font-size: 13px;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding-top: var(--sp-24);
}
.footer-legal a:hover {
  color: var(--gold);
}

/* ============================================================
   RESPONSIVE — breakpoints from spec
   Tablet 1024–1439 | Mobile 768–1023 | Small mobile 320–767
   ============================================================ */
@media (max-width: 1023px) {
  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--black);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding: var(--sp-16) var(--sp-32);
    gap: var(--sp-16);
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
  .featured {
    grid-template-columns: 1fr;
  }
  .featured-art {
    min-height: 260px;
  }
  .slate-layout {
    grid-template-columns: 1fr;
  }
  .slate-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 var(--sp-16);
  }
  .slate-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero {
    min-height: 520px;
  }
  .footer-top {
    flex-direction: column;
    text-align: center;
  }
  /* Divider flips from vertical to horizontal when the footer stacks */
  .footer-brand {
    align-items: center;
    padding-right: 0;
    padding-bottom: var(--sp-24);
    border-right: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.35);
    width: 100%;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Contact nav item styled as an outlined button */
.nav-links a.nav-cta {
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: var(--sp-8) var(--sp-24);
  color: var(--gold);
}

.nav-links a.nav-cta:hover,
.nav-links a.nav-cta.active {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* Outlined gold button — reusable across nav, cards, and CTAs */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  font-family: "Oswald", Arial, Helvetica, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  align-self: flex-start;
  font-size: 14px;
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: var(--sp-8) var(--sp-16);
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--gold);
  color: var(--black);
}


 