/* Rise Hollywood Hills, site.css */

/* Buttons inherit first, per build rule: iOS renders button text system blue without this */
button { color: inherit; font: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:root{
  --bg:        #0A0A0B;
  --surface:   #141416;
  --ink:       #FFFFFF;
  --ink-soft:  rgba(255,255,255,.78);
  --accent:    #C6A96C;
  --line:      rgba(255,255,255,.10);
  --scrim:     10,9,8;
  --display:   "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body:      "Inter", "Helvetica Neue", Arial, sans-serif;
  --nav-h:     120px;
  --ease:      cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* ---------- Reduced motion, global guard ---------- */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important;animation-delay:0s !important;transition-delay:0s !important;scroll-behavior:auto !important}
  .reveal{opacity:1 !important;transform:none !important}
  /* The team card tilt. team.js also refuses to wire it at load, but this is
     what stops it for a reader who turns Reduce Motion on mid-visit. With the
     shell's transform gone there is no perspective, so the floating text
     flattens with it. */
  .agent-card{transform:none !important}
  .agent-card .agent-meta, .agent-card .agent-name, .agent-card .agent-role, .agent-card .agent-dre{transform:none !important}
}

/* ---------- Type ---------- */
h1,h2,h3,h4 { margin: 0; font-family: var(--display); font-stretch: 112.5%; line-height: 1.04; letter-spacing: -.01em; text-transform: uppercase; }
.eyebrow{
  display: inline-block;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.eyebrow::before{
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 34px;
  height: 1px;
  background: var(--accent);
  margin-right: 14px;
  transform-origin: left center;
}
.h-display{ font-size: clamp(40px, 5.4vw, 78px); font-weight: 750; }
.h-section{ font-size: clamp(32px, 4.4vw, 60px); font-weight: 700; }
.h-card{ font-size: clamp(26px, 3.2vw, 44px); font-weight: 700; overflow-wrap: break-word; }
.lede{ font-size: 20px; color: var(--ink-soft); max-width: 640px; }
.muted{ color: var(--ink-soft); }
.small{ font-size: 14px; }

/* ---------- Layout ---------- */
.container{ width: 100%; max-width: 1240px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.section{ padding: clamp(88px, 9vw, 132px) 0; position: relative; }
.section.pt-tight{ padding-top: 48px; }
.skip-link{
  position: absolute;
  top: -60px; left: 16px;
  z-index: 200;
  background: var(--accent);
  color: #0A0A0B;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus{ top: 16px; }
.section-surface{ background: var(--surface); }
.center{ text-align: center; }
.center .eyebrow::before{ display: none; }
.center .eyebrow::after{ display: none; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  gap: 12px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 18px 36px;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn::after{
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg);
  transition: left .6s var(--ease);
  pointer-events: none;
}
.btn:hover::after{ left: 120%; }
.btn:hover{ transform: translateY(-2px); }
.btn-solid{ background: var(--accent); color: #0A0A0B; }
.btn-solid:hover{ background: #D4BA82; }
.btn-outline{ border: 1px solid var(--accent); color: var(--ink); }
.btn-outline:hover{ background: var(--accent); color: #0A0A0B; }
.btn:focus-visible, a:focus-visible, button:focus-visible{ outline: 2px solid var(--accent); outline-offset: 4px; }

/* ---------- Nav ---------- */
.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), padding .3s var(--ease);
  padding: 16px 0;
}
.nav.scrolled{ background: var(--bg); border-bottom-color: var(--line); padding: 10px 0; transition-duration: .18s; }
body.menu-open .nav{ background: var(--bg); }
.nav-inner{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.brand{ display: inline-flex; flex-direction: column; align-items: flex-start; justify-self: start; }
.brand-mark{ height: 62px; width: auto; transition: height .3s var(--ease); }
.brand-sub{
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .30em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 8px;
  transition: font-size .3s var(--ease), margin-top .3s var(--ease);
}
.nav.scrolled .brand-mark{ height: 44px; }
.nav.scrolled .brand-sub{ font-size: 10px; margin-top: 5px; }
.nav-links{ display: flex; gap: 40px; justify-self: center; }
.nav-links a{
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .25s var(--ease);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .35s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"]{ color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after{ transform: scaleX(1); transform-origin: left center; }
.nav-cta{ justify-self: end; }
.nav-cta .btn{ display: inline-flex; align-items: center; white-space: nowrap; font-size: 14px; padding: 14px 26px; }
.nav-toggle{
  display: none;
  justify-self: end;
  width: 44px; height: 44px;
  position: relative;
  z-index: 102;
}
.nav-toggle span{
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease), top .3s var(--ease);
}
.nav-toggle span:nth-child(1){ top: 15px; }
.nav-toggle span:nth-child(2){ top: 21px; }
.nav-toggle span:nth-child(3){ top: 27px; }
body.menu-open .nav-toggle span:nth-child(1){ top: 21px; transform: rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2){ opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3){ top: 21px; transform: rotate(-45deg); }

.mobile-menu{
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: calc(var(--nav-h) + 40px) 28px 40px;
  flex-direction: column;
  gap: 8px;
}
body.menu-open .mobile-menu{ display: flex; }
body.menu-open{ overflow: hidden; }
.mobile-menu a{
  font-family: var(--display);
  font-stretch: 112.5%;
  font-size: 25px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn{
  margin-top: 22px;
  align-self: flex-start;
  font-size: 13px;
  padding: 13px 26px;
  border-bottom: 0;
}
@media (max-height: 520px){
  .mobile-menu{ padding-top: calc(var(--nav-h) + 12px); gap: 2px; }
  .mobile-menu a{ font-size: 19px; padding: 8px 0; }
  .mobile-menu .btn{ margin-top: 12px; padding: 11px 22px; }
}

@media (max-width: 1150px){
  .nav-links, .nav-cta{ display: none; }
  .nav-toggle{ display: block; }
  .nav-inner{ grid-template-columns: 1fr auto; }
}

/* ---------- Background media (image or video) ---------- */
.bg-media{
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.bg-inner{
  position: absolute;
  inset: 0;
  will-change: transform;
}
.bg-media img, .bg-media video{
  position: absolute;
  left: 0; top: -8%;
  width: 100%; height: 116%;
  object-fit: cover;
}
.bg-video{
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.bg-video.playing{ opacity: 1; }
.bg-media .scrim{
  position: absolute;
  inset: 0;
  z-index: 1;
}
.bg-media + .container, .layer-up{ position: relative; z-index: 2; }

/* ---------- Hero (home) ---------- */
.hero{
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  position: relative;
  padding: 0 0 clamp(72px, 10vh, 128px);
}
.hero .container{ padding-top: calc(var(--nav-h) + 40px); }
.hero .scrim{
  background: linear-gradient(180deg,
    rgba(var(--scrim), .55) 0%,
    rgba(var(--scrim), .30) 50%,
    rgba(var(--scrim), .60) 100%);
}
.hero-eyebrow{
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 26px;
  display: inline-block;
}
.hero-title{
  font-size: clamp(30px, 9.5vw, 118px);
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: .98;
}
.hero-title .line{ display: block; overflow: hidden; }
.hero-title .line > span{ display: inline-block; }
.hero-sub{
  font-size: 20px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 28px 0 40px;
}
/* Load-in choreography */
.js .hero-eyebrow, .js .hero-sub, .js .hero-actions{ opacity: 0; }
.js .hero-title .line > span{ transform: translateY(110%); }
.js .is-loaded .hero-eyebrow{ animation: fadeUp .8s var(--ease) .15s both; }
.js .is-loaded .hero-title .line:nth-child(1) > span{ animation: riseIn 1s var(--ease) .3s both; }
.js .is-loaded .hero-title .line:nth-child(2) > span{ animation: riseIn 1s var(--ease) .45s both; }
.js .is-loaded .hero-sub{ animation: fadeUp .8s var(--ease) .75s both; }
.js .is-loaded .hero-actions{ animation: fadeUp .8s var(--ease) .9s both; }
@keyframes riseIn{ from{ transform: translateY(110%); } to{ transform: translateY(0); } }
@keyframes fadeUp{ from{ opacity: 0; transform: translateY(24px); } to{ opacity: 1; transform: translateY(0); } }

/* ---------- Interior page headers ---------- */
.page-header{
  min-height: 52vh;
  min-height: 52svh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--nav-h) + 56px);
  padding-bottom: 60px;
}
.page-header .scrim{
  background: linear-gradient(180deg,
    rgba(var(--scrim), .58) 0%,
    rgba(var(--scrim), .34) 55%,
    rgba(var(--scrim), .66) 100%);
}
.page-header .lede{ margin-top: 22px; }

/* ---------- Stats band ---------- */
.stats{ padding: 110px 0; background: var(--bg); }
.stats-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}
.stat{ padding: 8px 24px; }
.stat + .stat{ border-left: 1px solid var(--line); }
.stat-number{
  font-family: var(--display);
  font-stretch: 112.5%;
  font-weight: 750;
  font-size: clamp(48px, 6vw, 88px);
  color: var(--accent);
  line-height: 1;
  letter-spacing: -.01em;
}
.stat-label{
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 16px;
}
.stats-caption{
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  margin-top: 56px;
}

/* ---------- Split sections ---------- */
.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.split-text{ order: 1; }
.split-media{ order: 2; }
.split.flip .split-text{ order: 1; }
.split.flip .split-media{ order: 2; }
@media (min-width: 861px){
  .split.flip .split-media{ order: -1; }
}
.frame{
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.frame img{ width: 100%; height: 100%; object-fit: cover; }
.frame::after{
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.12);
  pointer-events: none;
}
.frame-accent{ position: relative; }
.frame-accent::before{
  content: "";
  position: absolute;
  left: -14px; bottom: -14px;
  width: 42%; height: 42%;
  border: 1px solid var(--accent);
  z-index: 0;
  pointer-events: none;
}

/* ---------- The offer index (home) ---------- */
.offer-index{ margin-top: 56px; border-top: 1px solid var(--line); }
.offer-row{
  display: grid;
  grid-template-columns: 72px 1.15fr 1fr 44px;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}
.offer-num{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .26em;
  color: var(--accent);
}
.offer-title{
  font-family: var(--display);
  font-stretch: 112.5%;
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  overflow-wrap: break-word;
  transition: transform .45s var(--ease), color .45s var(--ease);
}
.offer-line{ color: var(--ink-soft); font-size: 15px; }
.offer-arrow{
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(198,169,108,.5);
  color: var(--accent);
  font-size: 20px;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.offer-row:hover .offer-title{ transform: translateX(10px); }
.offer-row:hover .offer-arrow{ opacity: 1; transform: translateX(0); background: var(--accent); color: #0A0A0B; }
@media (max-width: 860px){
  .offer-row{
    /* minmax(0,1fr), not bare 1fr: a bare 1fr track is floored at min-content,
       so "MICROMANAGING" at 26px display-stretch widens the track past a 320px
       viewport and the whole page scrolls sideways (break-word never fires
       because the track grew instead). Present in the reference build too. */
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-areas: "num title" "num line";
    row-gap: 10px;
    padding: 28px 0;
  }
  .offer-num{ grid-area: num; align-self: start; margin-top: 7px; }
  .offer-title{ grid-area: title; hyphens: auto; }
  .offer-line{ grid-area: line; }
  .offer-arrow{ display: none; }
}

/* ---------- Tech strip ---------- */
.tech-strip{ padding: 0 0 104px; }
.tech-strip-label{
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 40px;
}
.marquee{
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track{
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track{ animation-play-state: paused; }
.marquee-set{ display: flex; align-items: center; flex: 0 0 auto; }
.tech-name{
  font-family: var(--display);
  font-stretch: 112.5%;
  font-size: clamp(30px, 3.6vw, 56px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--ink);
  opacity: .85;
  white-space: nowrap;
  padding: 0 clamp(26px, 3vw, 52px);
}
.tech-dot{
  color: var(--accent);
  font-size: 13px;
  flex: 0 0 auto;
}
@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* ---------- Full bleed bands ---------- */
.band{
  position: relative;
  padding: clamp(120px, 16vw, 200px) 0;
  text-align: center;
}
.band .scrim{ background: rgba(var(--scrim), .58); }
.band h2{ font-size: clamp(40px, 6vw, 84px); font-weight: 800; }
.band p{ font-size: 19px; color: var(--ink-soft); max-width: 560px; margin: 24px auto 40px; }
.band-kicker{
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 26px;
}
.band h2 .l1{ display: block; }
.band h2 .l2{ display: block; color: var(--accent); }

/* ---------- Instagram ---------- */
.insta-handle{
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  font-family: var(--display);
  font-stretch: 112.5%;
  font-size: clamp(23px, 3.4vw, 44px);
  font-weight: 750;
  text-transform: uppercase;
  color: var(--accent);
  transition: color .3s var(--ease);
  overflow-wrap: anywhere;
}
.insta-handle .insta-arrow{
  font-size: .6em;
  transition: transform .35s var(--ease);
}
.insta-handle:hover{ color: #D4BA82; }
.insta-handle:hover .insta-arrow{ transform: translate(4px, -4px); }
.insta-grid{
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.insta-tile{
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
}
.insta-tile img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.insta-tile::after{
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(198,169,108,0);
  background: rgba(var(--scrim), 0);
  transition: border-color .4s var(--ease), background-color .4s var(--ease);
  pointer-events: none;
}
.insta-tile:hover img{ transform: scale(1.05); }
.insta-tile:hover::after{ border-color: rgba(198,169,108,.7); background: rgba(var(--scrim), .18); }
@media (max-width: 860px){
  .insta-grid{ grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ---------- FAQ ---------- */
.faq{ max-width: 800px; margin: 0 auto; }
.faq-item{ border-bottom: 1px solid var(--line); }
.faq-item:first-child{ border-top: 1px solid var(--line); }
.faq-q{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  text-align: left;
  padding: 26px 0;
  font-family: var(--display);
  font-stretch: 112.5%;
  font-size: 19px;
  font-weight: 600;
  text-transform: none;
  transition: color .25s var(--ease);
}
.faq-q:hover{ color: var(--accent); }
.faq-q .faq-icon{
  flex: 0 0 auto;
  width: 14px; height: 14px;
  position: relative;
}
.faq-icon::before, .faq-icon::after{
  content: "";
  position: absolute;
  background: var(--accent);
  transition: transform .35s var(--ease);
}
.faq-icon::before{ left: 0; top: 6px; width: 14px; height: 2px; }
.faq-icon::after{ left: 6px; top: 0; width: 2px; height: 14px; }
.faq-item.open .faq-icon::after{ transform: scaleY(0); }
.faq-a{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}
.faq-a > div{ overflow: hidden; }
.faq-a p{ color: var(--ink-soft); padding-bottom: 26px; max-width: 680px; }
.faq-item.open .faq-a{ grid-template-rows: 1fr; }

/* ---------- Why Rise: sticky pillars ---------- */
.why-pillars{ display: block; }
.why-pillars-head h2{ margin-bottom: 18px; }
.why-pillar{
  border-top: 1px solid var(--line);
  padding: 56px 0;
}
.why-pillar .frame{ margin-bottom: 36px; aspect-ratio: 16 / 10; }
.why-pillar h3{ margin-bottom: 16px; }
.why-pillar p{ color: var(--ink-soft); max-width: 560px; }
@media (min-width: 1024px){
  .why-pillars{
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 72px;
    align-items: start;
  }
  .why-pillars-head{
    position: sticky;
    top: 120px;
  }
}

/* ---------- Culture ---------- */
.week-wrap{
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
.week-head .muted{ margin-top: 20px; max-width: 380px; }
@media (min-width: 1024px){
  .week-head{ position: sticky; top: 120px; }
}
.week-line{ list-style: none; margin: 0; padding: 0; position: relative; }
.week-line::before{
  content: "";
  position: absolute;
  left: 5px; top: 14px; bottom: 14px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent), rgba(198,169,108,.12));
}
.week-line li{
  position: relative;
  padding: 26px 0 26px 54px;
}
.week-line li::before{
  content: "";
  position: absolute;
  left: 0; top: 40px;
  width: 11px; height: 11px;
  border: 1px solid var(--accent);
  background: var(--bg);
  transform: rotate(45deg);
  transition: background-color .35s var(--ease);
}
.week-line li:hover::before{ background: var(--accent); }
.week-num{
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .28em;
  color: var(--accent);
  margin-bottom: 9px;
}
.week-item{
  display: block;
  font-family: var(--display);
  font-stretch: 112.5%;
  font-size: clamp(21px, 2.2vw, 31px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  transition: transform .4s var(--ease), color .4s var(--ease);
}
.week-line li:hover .week-item{ transform: translateX(10px); color: var(--accent); }
@media (max-width: 860px){
  .week-wrap{ grid-template-columns: 1fr; }
}
.values-flow{
  margin-top: 72px;
  display: grid;
  gap: clamp(56px, 8vw, 110px);
}
.value-row{
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}
.value-row:nth-child(2){ margin-left: clamp(0px, 9vw, 150px); }
.value-row:nth-child(3){ margin-left: clamp(0px, 18vw, 300px); }
.value-ghost{
  font-family: var(--display);
  font-stretch: 112.5%;
  font-size: clamp(96px, 15vw, 210px);
  font-weight: 800;
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(198,169,108,.45);
  transition: color .6s var(--ease);
  user-select: none;
}
.value-row:hover .value-ghost{ color: rgba(198,169,108,.13); }
.value-row h3{
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 750;
  margin-bottom: 16px;
}
.value-row p{ color: var(--ink-soft); max-width: 540px; }
@media (max-width: 860px){
  .value-row{ grid-template-columns: 1fr; gap: 14px; }
  .value-row:nth-child(2), .value-row:nth-child(3){ margin-left: 0; }
  .value-ghost{ font-size: 80px; }
}

.gallery{
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "lead wide wide"
    "lead s1 s2";
  gap: 20px;
}
.gallery figure{ margin: 0; overflow: hidden; position: relative; }
.gallery img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.gallery figure:hover img{ transform: scale(1.045); }
.g-lead{ grid-area: lead; }
.g-wide{ grid-area: wide; aspect-ratio: 16 / 9; }
.g-s1{ grid-area: s1; aspect-ratio: 4 / 3.2; }
.g-s2{ grid-area: s2; aspect-ratio: 4 / 3.2; }

/* ---------- Quotes feature ---------- */
.quotes{ position: relative; padding: clamp(110px, 13vw, 170px) 0; }
.quotes .scrim{ background: rgba(var(--scrim), .82); }
.quotes-glyph{
  position: absolute;
  top: 40px; left: 4vw;
  font-family: Georgia, serif;
  font-size: 180px;
  line-height: 1;
  color: var(--accent);
  opacity: .12;
  z-index: 1;
  user-select: none;
}
.quote-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.quote-card{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  padding: 40px;
}
.quote-card blockquote{
  margin: 0 0 28px;
  font-family: var(--display);
  font-stretch: 112.5%;
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255,255,255,.96);
  text-transform: none;
}
.quote-who{ display: flex; align-items: center; gap: 16px; }
.quote-who img{
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.quote-name{ font-size: 15px; font-weight: 500; color: var(--ink); }
.quote-role{
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 4px;
}
@media (min-width: 861px){
  .quote-grid .quote-card:nth-child(even){ transform: translateY(40px); }
  .js .quote-grid .quote-card:nth-child(even){ transform: translateY(40px); }
  .js .quote-grid .quote-card.reveal:nth-child(even){ transform: translateY(68px); }
  .js .quote-grid .quote-card.reveal.in:nth-child(even){ transform: translateY(40px); }
}

/* ---------- Team ---------- */
.team-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
/* The 3D tilt card (an approved addition over the reference build, which has
   flat cards): the surface tilts toward a fine hover pointer, gold corner
   brackets step outward, and a gold glow follows the cursor. The SHELL
   (.agent-card) is a separate element from the .agent button because the
   button carries the reveal, whose finished state sets `transform: none` and
   silently cancels any transform on the same element. The reference build's
   own hover lift died exactly that way. team.js writes only the CSS custom
   properties; every transform lives here. `overflow` on the shell must stay
   visible: any other value flattens transform-style. */
.agent{
  display: block;
  width: 100%;
  height: 100%;
  text-align: left;
}
.agent:focus-visible{ outline: 2px solid var(--accent); outline-offset: 4px; }
.agent-card{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), border-color .4s var(--ease);
}
.agent.is-tilting .agent-card{ transition: transform .1s ease-out, border-color .4s var(--ease); }
.agent:hover .agent-card{ border-color: rgba(198,169,108,.6); }
.agent-card-glow{
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s var(--ease);
  background: radial-gradient(circle 240px at var(--mx, 50%) var(--my, 50%),
    rgba(198,169,108,.14), transparent 70%);
  z-index: 1;
}
.agent:hover .agent-card-glow{ opacity: 1; }
.agent-corner{
  position: absolute;
  width: 18px; height: 18px;
  pointer-events: none;
  border: 1px solid rgba(198,169,108,0); /* the accent, transparent until hover */
  transition: border-color .35s var(--ease), transform .35s var(--ease);
  z-index: 2;
}
.corner-tl{ top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.corner-tr{ top: 8px; right: 8px; border-left: 0; border-bottom: 0; }
.corner-bl{ bottom: 8px; left: 8px; border-right: 0; border-top: 0; }
.corner-br{ bottom: 8px; right: 8px; border-left: 0; border-top: 0; }
.agent:hover .agent-corner{ border-color: rgba(198,169,108,.75); }
.agent:hover .corner-tl{ transform: translate(-3px, -3px); }
.agent:hover .corner-tr{ transform: translate(3px, -3px); }
.agent:hover .corner-bl{ transform: translate(-3px, 3px); }
.agent:hover .corner-br{ transform: translate(3px, 3px); }
.agent-photo{ display: block; overflow: hidden; aspect-ratio: 1 / 1; flex: 0 0 auto; }
.agent-photo img{
  width: 100%; height: 100%;
  object-fit: cover;
}
.agent-meta{ display: block; flex: 1 0 auto; padding: 22px 22px 28px; }
/* The photo is flush to the card edge, so it cannot ride translateZ without
   projecting past the border. Only the text floats, and only where a fine
   hover pointer exists to tilt the card at all. */
@media (hover: hover) and (pointer: fine){
  .agent-card .agent-meta{ transform: translateZ(14px); }
}
.agent-name{
  display: block;
  font-family: var(--display);
  font-stretch: 112.5%;
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.15;
  overflow-wrap: break-word;
}
@media (min-width: 561px){
  .agent-name{ min-height: 2.3em; }
}
.agent-role{
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 9px;
}
.agent-dre{
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  margin-top: 8px;
}

dialog.agent-modal{
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0;
  width: min(940px, calc(100vw - 40px));
  max-height: min(84vh, 760px);
  overflow: hidden;
}
body.modal-open{ overflow: hidden; }
dialog.agent-modal::backdrop{ background: rgba(10,9,8,.78); }
/* The dialog is a FIXED size, not content-sized: with 12 of 27 agents carrying
   a bio, a content-driven height gave every agent a different modal (client QA,
   Round 11). One shape for everyone — a long bio scrolls inside the body.
   The GEOMETRY carries the photo: a 440×560 column is a 4:5 portrait, so the
   square 700×700 headshots fill it edge to edge while keeping ~79% of their
   width — no dead space around the photo, and no squeezed heads (the old
   260×640 column kept only 37%). Change either dimension and re-check faces. */
.modal-inner{
  display: grid;
  grid-template-columns: 440px 1fr;
  grid-template-rows: minmax(0, 1fr);
  height: min(84vh, 560px);
}
.modal-photo{ min-height: 0; }
.modal-photo img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-body{ padding: 40px 40px 44px; overflow-y: auto; overscroll-behavior: contain; min-height: 0; display: flex; flex-direction: column; }
/* Both columns sit on one vertical centre axis: the photo via align-items, the
   text via auto-margin struts — which collapse to 0 when a long bio overflows,
   so Christian still scrolls from the top while Angelina's name block centres. */
.modal-body::before{ content: ''; margin-top: auto; }
.modal-body::after{ content: ''; margin-bottom: auto; }
.modal-body h3{ font-size: 28px; }
.modal-role{
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 10px 0 4px;
}
.modal-dre{ font-size: 12px; color: rgba(255,255,255,.5); }
.modal-bio{ margin-top: 22px; color: var(--ink-soft); font-size: 15px; white-space: pre-line; }
.modal-close{
  position: absolute;
  top: 14px; right: 14px;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  color: var(--ink);
  background: rgba(10,9,8,.55);
}
.modal-close:hover{ color: var(--accent); }

/* ---------- Apply page ---------- */
.apply-page .nav{ background: var(--bg); border-bottom: 1px solid var(--line); }
.apply-shell{
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: var(--nav-h);
  min-height: calc(100vh - var(--nav-h));
}
.apply-side{
  position: relative;
  display: flex;
  /* 72px top matches .apply-form-col, so the heading and the form's first field
     start on the SAME line. The inner block is top-aligned rather than centred:
     the form column is far taller than this one, so centring dropped the whole
     left block ~176px below the form and it read as sunken. */
  padding: 72px clamp(28px, 4.5vw, 72px) 88px;
}
.apply-side .scrim{
  background: linear-gradient(180deg, rgba(var(--scrim), .9) 0%, rgba(var(--scrim), .78) 55%, rgba(var(--scrim), .92) 100%);
}
.apply-side-inner{ position: relative; z-index: 2; max-width: 500px; margin-left: auto; align-self: flex-start; width: 100%; }
.apply-side h1{ font-size: clamp(34px, 3.4vw, 54px); font-weight: 750; }
.apply-side .lede{ margin-top: 20px; font-size: 18px; }
.apply-steps{ list-style: none; margin: 64px 0 0; padding: 0; }
.apply-steps li{
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding: 19px 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.apply-steps li:last-child{ border-bottom: 1px solid rgba(255,255,255,.12); }
.step-num{ font-size: 12px; font-weight: 600; letter-spacing: .26em; color: var(--accent); }
.apply-steps h3{ font-size: 18px; font-weight: 700; margin: 0; }
.apply-form-col{
  background: var(--surface);
  display: flex;
  padding: 72px clamp(28px, 4.5vw, 72px) 96px;
}
.apply-form-wrap{ max-width: 560px; margin-right: auto; align-self: center; width: 100%; }
.apply-form-title{ font-size: clamp(24px, 2.2vw, 32px); font-weight: 700; margin: 14px 0 40px; }
.apply-shell .field input, .apply-shell .field select, .apply-shell .field textarea{
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.22);
  padding: 13px 2px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.apply-shell .field select{ background-position: right 2px center; padding-right: 30px; }
.apply-shell .field input:focus, .apply-shell .field select:focus, .apply-shell .field textarea:focus{
  outline: none;
  border-bottom-color: var(--accent);
  box-shadow: inset 0 -1px 0 var(--accent);
}
.apply-shell .field textarea{ min-height: 110px; }
.apply-shell .form{ gap: 30px 36px; max-width: none; }
.apply-shell .consent{ margin-top: 6px; }
/* white-space normal: the nowrap SUBMIT APPLICATION label is wider than a
   320px column's track and scrolled the page sideways by its own letter
   spacing. A grid track cannot shrink below a nowrap button's text. */
.apply-shell .form-actions .btn{ width: 100%; padding: 20px 36px; white-space: normal; }
@media (max-width: 1024px){
  .apply-shell{ grid-template-columns: 1fr; min-height: 0; }
  .apply-side{ padding: 56px 28px 56px; }
  .apply-side-inner{ margin-left: 0; }
  .apply-form-col{ padding: 64px 28px 88px; }
  .apply-form-wrap{ margin: 0; align-self: flex-start; }
}

/* ---------- Forms ---------- */
.form{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
}
.field{ min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.field-full{ grid-column: 1 / -1; }
.field label{
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input, .field select, .field textarea{
  width: 100%;
  min-width: 0;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  padding: 15px 16px;
  border-radius: 0;
  transition: border-color .3s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field select{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C6A96C' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
/* resize: none — the hairline styling makes the grip read as a stray gold
   line, and dragging it stretched the whole apply page (client QA, Round 11). */
.field textarea{ min-height: 150px; resize: none; }
/* The native option list paints on the OS's own sheet (white on Windows) and
   inherits the site's white ink — invisible until hovered. An <option> honours
   almost no CSS, but color/background it does take. */
.field select option{ color: #16150f; background: #fff; }
.field select option:disabled{ color: #9a958a; }
.field input:focus, .field select:focus, .field textarea:focus{ outline: none; border-color: var(--accent); }
.consent{
  grid-column: 1 / -1;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.consent input{
  flex: 0 0 auto;
  width: 18px; height: 18px;
  margin-top: 3px;
  accent-color: var(--accent);
}
.form-actions{ grid-column: 1 / -1; }
.form-actions .btn[disabled]{ opacity: .4; cursor: not-allowed; transform: none; }
.form-actions .btn[disabled]::after{ display: none; }
.hp-field{ position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.footer{
  border-top: 1px solid var(--line);
  padding: 88px 0 0;
  color: rgba(255,255,255,.92);
  font-size: 15px;
}
.footer a{ transition: color .25s var(--ease); }
.footer a:hover{ color: var(--accent); }
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 56px;
  padding-bottom: 72px;
}
.footer-brand .brand-mark{ height: 52px; }
.footer-brand .brand-sub{ font-size: 11px; letter-spacing: .34em; text-transform: uppercase; display: block; margin-top: 6px; }
.footer-brand p{ margin-top: 22px; color: rgba(255,255,255,.92); max-width: 320px; }
.footer h4{
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .28em;
  color: var(--accent);
  margin-bottom: 24px;
}
.footer-links{ list-style: none; margin: 0; padding: 0; }
.footer-links li{ margin-bottom: 14px; }
.footer-contact p{ margin-bottom: 14px; }
.footer-social{ display: flex; gap: 18px; margin-top: 26px; }
.footer-social a{ display: inline-flex; opacity: .92; }
.footer-social a:hover{ opacity: 1; }
.footer-social svg{ width: 22px; height: 22px; fill: currentColor; }
.footer-bottom{
  border-top: 1px solid var(--line);
  padding: 36px 0 44px;
  font-size: 13px;
  color: rgba(255,255,255,.92);
}
.footer-bottom-grid{
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-legal{ max-width: 640px; }
.footer-legal p{ margin-bottom: 12px; }
.footer-legal-links a{ margin-right: 22px; }
.footer-marks{ display: flex; align-items: center; gap: 24px; }
.footer-marks .real-logo{ height: 26px; width: auto; }
.eho{ display: flex; align-items: center; gap: 10px; }
.eho svg{ width: 34px; height: 34px; fill: rgba(255,255,255,.92); }

/* ---------- Legal pages ---------- */
.legal{ max-width: 760px; }
.legal h2{ font-size: 24px; margin: 48px 0 16px; }
.legal p, .legal li{ color: var(--ink-soft); font-size: 15px; }
.legal-updated{ font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 8px; }

/* ---------- Reveal motion ---------- */
.js .reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .reveal.in{ opacity: 1; transform: translateY(0); }
.js .stats-grid .reveal, .js .quote-grid .reveal{ transition-delay: calc(var(--i, 0) * 120ms); }
.js .reveal-img img{
  transform: scale(1.06);
  transition: transform .9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .reveal-img.in img{ transform: scale(1); }
.js .gallery figure.reveal-img.in:hover img{ transform: scale(1.045); }
.js .reveal-wipe{
  clip-path: inset(0 14% 0 0);
  transition: opacity .7s var(--ease), transform .7s var(--ease), clip-path .9s var(--ease);
}
.js .reveal-wipe.in{ clip-path: inset(0 0 0 0); }
.js .reveal-line::before{
  transform: scaleX(0);
  transition: transform .8s var(--ease) .2s;
}
.js .reveal-line.in::before{ transform: scaleX(1); }

/* ---------- Breakpoints ---------- */
@media (max-width: 1024px){
  .team-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px){
  .split{ grid-template-columns: 1fr; }
  .split .split-text{ order: 1; }
  .split .split-media{ order: 2; }
  .split.flip .split-text{ order: 1; }
  .split.flip .split-media{ order: 2; }
  .quote-grid{ grid-template-columns: 1fr; }
  .values-grid{ grid-template-columns: 1fr; }
  .gallery{
    grid-template-columns: 1fr;
    grid-template-areas: "lead" "wide" "s1" "s2";
  }
  .g-lead{ aspect-ratio: 3 / 4; }
  .form{ grid-template-columns: 1fr 1fr; }
  .footer-grid{ grid-template-columns: 1fr; gap: 44px; }
  /* Single-column modal from 860 down, not 560: the desktop photo column is a
     fixed 440px, which would starve the text column on a tablet. The banner
     height rides the viewport width so the crop of the square headshot never
     drops below ~half the frame (a fixed 260px band at a 728px-wide modal
     kept 36% — nose-and-glasses only), and the crop sits a touch high because
     that is where the face is. */
  .modal-inner{ grid-template-columns: 1fr; grid-template-rows: clamp(260px, 52vw, 400px) minmax(0, 1fr); height: min(84vh, 720px); }
  .modal-photo{ overflow: hidden; }
  .modal-photo img{ object-position: 50% 32%; }
}
@media (max-width: 560px){
  .hero{ align-items: center; padding-bottom: 56px; }
  .hero .container{ padding-top: calc(var(--nav-h) + 12px); }
  .hero-title{ font-size: clamp(40px, 11.5vw, 50px); line-height: 1.02; }
  .hero-sub{ font-size: 17px; margin: 20px 0 30px; }
  .hero-eyebrow{ font-size: 12px; letter-spacing: .24em; margin-bottom: 18px; }
  .stats-grid{ grid-template-columns: 1fr; gap: 44px; }
  .stat + .stat{ border-left: 0; }
  .team-grid{ grid-template-columns: 1fr; }
  .form{ grid-template-columns: 1fr; }
  .container{ padding-left: 22px; padding-right: 22px; }
}

/* ---------- Form status line (the ingest submit handler speaks through it) ---------- */
.form-status{ display: none; grid-column: 1 / -1; font-size: 14px; line-height: 1.5; }
.form-status.is-shown{ display: block; }
.form-status.ok{ color: #9fd3a8; }
.form-status.err{ color: #e39c9c; }
