/* ==========================================================================
   Pride of Brisbane Town — The Hub (landing)
   Design system shared with the Eras site: maroon · royal blue · gold
   ========================================================================== */

:root {
  --maroon:        #6E0A2B;
  --maroon-deep:   #4E061E;
  --maroon-bright: #A4123F;
  --navy:          #041E42;
  --navy-deep:     #02132A;
  --blue:          #0B3D91;
  --gold:          #F2A900;
  --gold-bright:   #FDBB30;
  --cream:         #FBF6EC;
  --text:          #F4ECDD;
  --text-dim:      #B9C4D6;
  --text-muted:    #8593ab;
  --line:          rgba(242, 169, 0, 0.22);
  --font-display:  "Anton", system-ui, sans-serif;
  --font-head:     "Oswald", system-ui, sans-serif;
  --font-body:     "Libre Franklin", system-ui, sans-serif;
  --maxw:          1120px;
  --shadow:        0 24px 60px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(11, 61, 145, 0.35), transparent 60%),
    linear-gradient(180deg, var(--navy-deep), #010b18 70%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

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

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 74vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 20%;
  transform: scale(1.06);
  filter: grayscale(0.45) contrast(1.05) brightness(0.82);
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(2,19,42,0.72) 0%, rgba(78,6,30,0.68) 52%, rgba(1,11,24,0.97) 100%),
    radial-gradient(1000px 560px at 50% 42%, rgba(110,10,43,0.5), transparent 72%);
  mix-blend-mode: normal;
}
.hero__inner {
  position: relative;
  text-align: center;
  padding: 92px 24px 76px;
  margin: 0 auto;
}
.crest {
  display: inline-grid; place-items: center;
  width: 66px; height: 66px; border-radius: 50%;
  font-size: 1.9rem;
  background: radial-gradient(circle at 35% 30%, var(--gold-bright), var(--gold) 46%, var(--maroon) 47%);
  box-shadow: 0 0 0 3px var(--maroon-bright), 0 10px 30px rgba(0,0,0,.5);
  margin-bottom: 22px;
}
.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .34em;
  font-size: .78rem;
  color: var(--gold);
  margin: 0 0 14px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 7.5vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: .01em;
  margin: 0 auto;
  max-width: 14ch;
  text-shadow: 0 6px 30px rgba(0,0,0,.55);
}
.hero .lede {
  font-size: clamp(1.02rem, 2.1vw, 1.28rem);
  color: var(--text-dim);
  max-width: 60ch;
  margin: 22px auto 0;
  line-height: 1.6;
}
.hero .lede em { color: var(--cream); font-style: italic; }
.scroll-cue {
  display: inline-block;
  margin-top: 34px;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .82rem;
  color: var(--text);
  text-decoration: none;
  padding: .7rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.scroll-cue:hover { background: var(--gold); color: var(--maroon-deep); border-color: var(--gold); transform: translateY(-2px); }

/* ---------------- Tiles ---------------- */
.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  padding-top: 64px;
  padding-bottom: 24px;
}
.tile {
  position: relative;
  display: block;
  min-height: 440px;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.tile__bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center 30%;
  transform: scale(1.04);
  transition: transform .5s ease, filter .5s ease;
  filter: grayscale(0.4) contrast(1.04) brightness(0.85);
}
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(2,19,42,0.35) 0%, rgba(78,6,30,0.72) 55%, rgba(1,11,24,0.98) 100%);
  transition: background .3s ease;
}
.tile--roar::after {
  background: linear-gradient(180deg, rgba(2,19,42,0.4) 0%, rgba(11,61,145,0.62) 52%, rgba(1,11,24,0.98) 100%);
}
.tile__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 30px 32px;
}
.tile__num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: .1em;
  opacity: .9;
}
.tile__kicker {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: .74rem;
  color: var(--text-dim);
  margin: 10px 0 6px;
}
.tile__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1;
  margin: 0 0 14px;
  text-shadow: 0 4px 20px rgba(0,0,0,.5);
}
.tile__desc {
  color: var(--text-dim);
  font-size: .98rem;
  line-height: 1.6;
  max-width: 46ch;
  margin: 0 0 20px;
}
.tile__cta {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .84rem;
  color: var(--gold);
}
.tile__cta .arrow { transition: transform .25s ease; }

/* hover / focus */
.tile:hover, .tile:focus-visible {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 30px 70px rgba(0,0,0,.6);
}
.tile:hover .tile__bg, .tile:focus-visible .tile__bg { transform: scale(1.12); filter: saturate(1.1); }
.tile:hover .tile__cta .arrow, .tile:focus-visible .tile__cta .arrow { transform: translateX(6px); }
.tile:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 3px; }

/* ---------------- Footer ---------------- */
.foot {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding: 34px 0 46px;
}
.foot p { color: var(--text-muted); font-size: .84rem; line-height: 1.6; max-width: 70ch; margin: 0 auto; text-align: center; }
.foot__sign { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .2em; color: var(--gold); margin-top: 14px !important; }

/* ---------------- Responsive ---------------- */
@media (max-width: 780px) {
  .tiles { grid-template-columns: 1fr; padding-top: 44px; }
  .tile { min-height: 380px; }
  .hero { min-height: 68vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile, .tile__bg, .tile__cta .arrow, .scroll-cue { transition: none; }
}
