/* RC6 sunrise preview: home page opens bright (sunrise over the Gate, DIFC) and moves through the day to dusk.
   Visual only: no copy changes. Brand: gold #A08455, charcoal #262421, ivory #F5F2ED.
   Small text on light grounds uses the darker brand golds (#7A6036 / #6A542F) to meet WCAG AA. */

/* ---- Header over a bright hero: charcoal logo and nav until scrolled ---- */
.site-header.on-light:not(.scrolled){color:var(--char)}
.site-header.on-light:not(.scrolled) .office-tag i{color:var(--gold-tx)}

/* ---- Hero: sunrise ---- */
.hero{background:var(--ivory);color:var(--char)}
.hero-media .hero-still{object-position:62% 50%;animation:sunrise-rise 9s cubic-bezier(.2,.6,.2,1) both}
@keyframes sunrise-rise{from{transform:scale(1.07);filter:brightness(.9) saturate(.9)}to{transform:scale(1);filter:brightness(1) saturate(1)}}
/* a soft gold sun-glow over the right of the frame, warming in on load */
.hero-sun{position:absolute;inset:0;z-index:1;pointer-events:none;
  background:radial-gradient(60% 70% at 96% 78%,rgba(255,214,150,.42) 0,rgba(255,214,150,.12) 40%,rgba(255,214,150,0) 70%);
  animation:sun-glow 6s ease-out both}
@keyframes sun-glow{from{opacity:0}to{opacity:1}}
/* ivory light wash behind the text (left) and the regulatory bar (bottom) instead of the old black vignette */
.hero-vignette{z-index:2;background:
  linear-gradient(90deg,rgba(245,242,237,.94) 0,rgba(245,242,237,.86) 30%,rgba(245,242,237,.45) 50%,rgba(245,242,237,0) 66%),
  linear-gradient(0deg,rgba(245,242,237,.96) 0,rgba(245,242,237,.7) 14%,rgba(245,242,237,0) 30%),
  linear-gradient(180deg,rgba(245,242,237,.75) 0,rgba(245,242,237,0) 22%)}
.hero .eyebrow{color:var(--gold-tx)}
.hero .eyebrow::before{content:"";display:block;width:40px;height:1px;background:var(--gold)}
.hero h1{color:var(--char);text-shadow:none}
.hero h1 em{color:var(--gold-tx)}
.hero-sub{color:#3B3833}
.hero-bar::before{background:linear-gradient(90deg,var(--gold) 0,rgba(160,132,85,.55) 40%,rgba(38,36,33,.12) 100%)}
.hero-reg{color:var(--char)}
.hero-cue{color:var(--char)}
.hero-cue i{background:rgba(38,36,33,.22)}
.hero-cue i::after{background:var(--gold-tx)}
.hero :focus-visible{outline-color:var(--gold-tx)}
.hero .btn{box-shadow:0 14px 34px -14px rgba(106,84,47,.6)}

/* ---- Through the day: morning (02), afternoon (04), dusk band, then the charcoal close ---- */
.tod-morning .px,.tod-afternoon .px{background:var(--cream)}
.tod-morning .px img{object-position:50% 30%}
.tod-afternoon .px img{object-position:40% 50%}
/* captions sit on bright photos now: a soft shadow keeps them legible */
.tod-morning .band-cap,.tod-afternoon .band-cap{text-shadow:0 1px 10px rgba(0,0,0,.55)}
.tod-morning::after,.tod-afternoon::after{content:"";position:absolute;inset:auto 0 0 0;height:22%;background:linear-gradient(0deg,rgba(5,6,5,.35),rgba(5,6,5,0));pointer-events:none;z-index:1}
/* bolder: a gold hairline frame on the half-bleed photos */
.wp-media.tod-morning{border-left:4px solid var(--gold)}
.bank-media.tod-afternoon{border-right:4px solid var(--gold)}
.band.tod-dusk{border-top:4px solid var(--gold)}

@media (max-width:960px){
  /* mobile: the sunrise sits clear at the top, the copy settles onto ivory below it */
  .hero-media{bottom:auto;height:500px}
  .hero-media .hero-still{object-position:72% 45%}
  .hero-content{padding-top:390px}
  .hero .eyebrow::before{display:none}
  .hero-sun{bottom:auto;height:500px;background:radial-gradient(80% 60% at 100% 60%,rgba(255,214,150,.45) 0,rgba(255,214,150,0) 70%)}
  .hero-vignette{background:linear-gradient(180deg,rgba(245,242,237,.6) 0,rgba(245,242,237,0) 96px,rgba(245,242,237,0) 270px,rgba(245,242,237,.9) 370px,rgba(245,242,237,.98) 410px,var(--ivory) 500px)}
  .wp-media.tod-morning{border-left:0;border-top:4px solid var(--gold)}
  .bank-media.tod-afternoon{border-right:0;border-top:4px solid var(--gold)}
}
@media (prefers-reduced-motion:reduce){.hero-media .hero-still,.hero-sun{animation:none}}
