/*
Theme Name: Aurora Theme
Theme URI: https://bryan-v2.homepage.studio
Description: Bryan Meere V2 — Dark Bento Grid Campaign
Version: 4.0
Author: HomePage.Studio
*/

/* ═══════════════════════════════════════════
   ROOT PALETTE — Royal LePage Compliant
   ═══════════════════════════════════════════ */
:root {
  --black: #000000;
  --black-soft: #0A0A0A;
  --black-card: #111111;
  --black-card-hover: #161616;
  --grey-dark: #1A1A1A;
  --grey-mid: #2A2A2A;
  --grey-border: #222222;
  --white: #FFFFFF;
  --white-muted: #CCCCCC;
  --white-dim: #888888;
  --red: #EA002A;
  --red-hover: #FF1A3E;
  --red-glow: rgba(234, 0, 42, 0.15);

  --font-display: 'Helvetica Neue', 'Arial', sans-serif;
  --font-body: 'Helvetica Neue', 'Arial', sans-serif;

  --gap: clamp(8px, 1.2vw, 16px);
  --radius: 4px;
}

/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-body);
  color: var(--white);
  background: var(--black);
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ═══════════════════════════════════════════
   PAGE WRAPPER
   ═══════════════════════════════════════════ */
.bento-page {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(16px, 3vw, 40px);
}

/* ═══════════════════════════════════════════
   TOP BAR — Minimal nav
   ═══════════════════════════════════════════ */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 32px;
}

.top-bar__logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar__logo img {
  height: 40px;
  width: auto;
  background: var(--white);
  padding: 4px 8px;
  border-radius: 2px;
}

.top-bar__name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-muted);
}

.top-bar__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.top-bar__cta:hover {
  background: var(--red-hover);
  box-shadow: 0 0 30px var(--red-glow);
}

/* Hamburger for mobile */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

/* ═══════════════════════════════════════════
   HERO NAME — Massive typographic statement
   ═══════════════════════════════════════════ */
.hero-name {
  padding: 0 0 clamp(16px, 2vw, 32px);
  overflow: hidden;
}

.hero-name h1 {
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 160px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.03em;
  color: var(--white);
  text-transform: uppercase;
  position: relative;
}

.hero-name h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--red);
  margin-top: clamp(12px, 2vw, 24px);
}

/* ═══════════════════════════════════════════
   BENTO GRID — Main layout engine
   ═══════════════════════════════════════════ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(80px, auto);
  gap: var(--gap);
}

.bento-cell {
  background: var(--black-card);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: border-color 0.4s ease, background 0.4s ease;
}

.bento-cell:hover {
  border-color: #333;
  background: var(--black-card-hover);
}

/* ── Cell: Portrait (large, spans left) ── */
.cell--portrait {
  grid-column: 1 / 7;
  grid-row: 1 / 6;
}

.cell--portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

/* ── Cell: Stat block ── */
.cell--stat {
  grid-column: 7 / 10;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 3vw, 40px);
}

.cell--stat .stat-number {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 900;
  line-height: 1;
  color: var(--white);
}

.cell--stat .stat-label {
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-top: 4px;
}

.cell--stat .stat-accent {
  width: 40px;
  height: 2px;
  background: var(--red);
  margin-top: 16px;
}

/* ── Cell: Tagline / quote ── */
.cell--tagline {
  grid-column: 10 / 13;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 3vw, 40px);
  border-left: 2px solid var(--red);
}

.cell--tagline blockquote {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 300;
  line-height: 1.4;
  color: var(--white-muted);
  font-style: italic;
}

.cell--tagline .tagline-attr {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-top: 16px;
}

/* ── Cell: Communities ── */
.cell--communities {
  grid-column: 7 / 10;
  grid-row: 3 / 5;
  padding: clamp(20px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cell--communities h3 {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-bottom: 16px;
}

.community-list {
  list-style: none;
}

.community-list li {
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 500;
  color: var(--white-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--grey-border);
  transition: color 0.3s, padding-left 0.3s;
}

.community-list li:last-child {
  border-bottom: none;
}

.community-list li:hover {
  color: var(--white);
  padding-left: 8px;
}

.community-list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  margin-right: 12px;
  vertical-align: middle;
}

/* ── Cell: CTA ── */
.cell--cta {
  grid-column: 10 / 13;
  grid-row: 3 / 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 3vw, 40px);
  background: var(--red);
  border-color: var(--red);
  cursor: pointer;
  transition: all 0.4s ease;
}

.cell--cta:hover {
  background: var(--red-hover);
  box-shadow: 0 0 60px var(--red-glow);
  border-color: var(--red-hover);
}

.cell--cta .cta-text {
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  color: var(--white);
}

.cell--cta .cta-sub {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
}

.cell--cta .cta-arrow {
  font-size: 28px;
  margin-top: 12px;
  transition: transform 0.3s;
}

.cell--cta:hover .cta-arrow {
  transform: translateX(6px);
}

/* ── Cell: About strip ── */
.cell--about {
  grid-column: 7 / 13;
  grid-row: 5 / 6;
  padding: clamp(20px, 3vw, 36px);
  display: flex;
  align-items: center;
  gap: 24px;
}

.cell--about p {
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.7;
  color: var(--white-muted);
}

.cell--about .about-tag {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-dim);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   BOTTOM ROW — Stats + credentials
   ═══════════════════════════════════════════ */
.bento-bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin-top: var(--gap);
}

.bottom-cell {
  background: var(--black-card);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  padding: clamp(20px, 2.5vw, 36px);
  text-align: center;
  transition: border-color 0.4s ease, transform 0.3s ease;
}

.bottom-cell:hover {
  border-color: #333;
  transform: translateY(-2px);
}

.bottom-cell .bc-number {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.bottom-cell .bc-label {
  font-size: clamp(10px, 0.9vw, 13px);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-top: 8px;
}

.bottom-cell .bc-accent {
  width: 24px;
  height: 2px;
  background: var(--red);
  margin: 12px auto 0;
}

/* ═══════════════════════════════════════════
   FOOTER — Minimal
   ═══════════════════════════════════════════ */
.bento-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0 16px;
  border-top: 1px solid var(--grey-border);
  margin-top: clamp(24px, 3vw, 48px);
}

.bento-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bento-footer__brand img {
  height: 32px;
  background: var(--white);
  padding: 3px 6px;
  border-radius: 2px;
}

.bento-footer__legal {
  font-size: 11px;
  color: var(--white-dim);
  letter-spacing: 0.05em;
}

.bento-footer__contact {
  display: flex;
  gap: 24px;
}

.bento-footer__contact a {
  font-size: 12px;
  color: var(--white-dim);
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.bento-footer__contact a:hover {
  color: var(--red);
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.25s; }
.reveal:nth-child(5) { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════
   RESPONSIVE — Tablet
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .cell--portrait {
    grid-column: 1 / 4;
    grid-row: 1 / 4;
  }

  .cell--stat {
    grid-column: 4 / 7;
    grid-row: 1 / 2;
  }

  .cell--tagline {
    grid-column: 4 / 7;
    grid-row: 2 / 3;
  }

  .cell--communities {
    grid-column: 4 / 7;
    grid-row: 3 / 4;
  }

  .cell--cta {
    grid-column: 1 / 7;
    grid-row: 4 / 5;
  }

  .cell--about {
    grid-column: 1 / 7;
    grid-row: 5 / 6;
  }

  .bento-bottom {
    grid-template-columns: repeat(2, 1fr);
  }

  .top-bar__cta { display: none; }
  .hamburger { display: flex; }

  .hero-name h1 {
    font-size: clamp(48px, 8vw, 90px);
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Mobile
   ═══════════════════════════════════════════ */
@media (max-width: 640px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .cell--portrait {
    grid-column: 1;
    grid-row: auto;
    min-height: 400px;
  }

  .cell--stat {
    grid-column: 1;
    grid-row: auto;
  }

  .cell--tagline {
    grid-column: 1;
    grid-row: auto;
  }

  .cell--communities {
    grid-column: 1;
    grid-row: auto;
  }

  .cell--cta {
    grid-column: 1;
    grid-row: auto;
    min-height: 160px;
  }

  .cell--about {
    grid-column: 1;
    grid-row: auto;
  }

  .bento-bottom {
    grid-template-columns: 1fr 1fr;
  }

  .bento-footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .bento-footer__contact {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-name h1 {
    font-size: clamp(40px, 12vw, 64px);
  }
}

/* ═══════════════════════════════════════════
   MOBILE NAV OVERLAY
   ═══════════════════════════════════════════ */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.97);
  z-index: 1000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-muted);
  transition: color 0.3s;
}

.mobile-nav a:hover {
  color: var(--red);
}

.mobile-nav__close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 32px;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
}

/* ═══════════════════════════════════════════
   PORTRAIT DARK TREATMENT
   ═══════════════════════════════════════════ */
.cell--portrait {
  background: linear-gradient(180deg, var(--grey-dark) 0%, var(--black) 100%);
}

.cell--portrait img {
  mix-blend-mode: normal;
  object-position: center 10%;
}

/* SVG Logo adjustments */
.top-bar__logo img {
  height: 44px;
  padding: 4px 10px;
}

.bento-footer__brand img {
  height: 36px;
  padding: 4px 8px;
}

.cell--portrait img {
}

/* ── Portrait: aggressive dark edge blend ── */
.cell--portrait {
  background: var(--black) !important;
  position: relative;
}

.cell--portrait::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.7) 70%, rgba(0,0,0,0.95) 100%);
  z-index: 2;
  pointer-events: none;
}

.cell--portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 20%, transparent 60%, rgba(0,0,0,0.85) 100%);
  z-index: 3;
  pointer-events: none;
}

.cell--portrait img {
  position: relative;
  z-index: 1;
  object-position: center 15%;
  filter: brightness(0.8) contrast(1.15) saturate(0.85);
}

/* ── Mobile nav bar fixes ── */
@media (max-width: 640px) {
  .top-bar {
    padding: 12px 0 20px;
  }
  .top-bar__logo {
    gap: 8px;
  }
  .top-bar__logo img {
    height: 32px;
    padding: 3px 6px;
  }
  .top-bar__name {
    font-size: 11px;
    letter-spacing: 0.1em;
  }
}
