/* ==========================================================================
   Roaring Wealth — digital card
   Direction: a foil-stamped Art Deco calling card on a deep navy ground,
   the classic setting for rose gold.
   Type is period-correct to the name: Bodoni Moda (Didone) + Jost (Futura
   lineage, 1927). Every rule and frame is drawn in a metallic gradient so
   the page reads as the printed card it replaces.
   ========================================================================== */

:root{
  /* ground */
  --ink:        #0c142d;
  --ink-2:      #131d3c;
  --ink-3:      #1b264c;

  /* brand rose-gold, sampled from the logo artwork */
  --rose:       #c99183;
  --rose-lt:    #e9beac;
  --rose-dp:    #8c5c4f;
  --bone:       #f3e8e2;

  --rule:       rgba(201,145,131,.26);
  --rule-str:   rgba(201,145,131,.5);

  /* foil: the signature. used for every frame, rule and hero name */
  --foil: linear-gradient(115deg,
            #7d5045 0%, #c99183 18%, #f0cbbc 32%, #c99183 46%,
            #f6ddd2 54%, #c99183 66%, #a97365 82%, #7d5045 100%);

  --f-display: 'Bodoni Moda', 'Didot', 'Bodoni MT', Georgia, serif;
  --f-sans:    'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;

  --shell: 660px;
  --notch: 14px;          /* deco corner cut */
}

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

html{ scroll-behavior:smooth; }

body{
  background:
    radial-gradient(120% 70% at 50% -8%, #1b2a55 0%, rgba(27,42,85,0) 62%),
    radial-gradient(90% 60% at 50% 108%, #16204a 0%, rgba(22,32,74,0) 60%),
    var(--ink);
  background-attachment: fixed;
  color: var(--rose);
  font-family: var(--f-sans);
  font-weight: 400;
  min-height:100vh;
  overflow-x:hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img{ display:block; max-width:100%; height:auto; }
a{ color:inherit; }

::selection{ background: var(--rose); color: var(--ink); }

:focus-visible{
  outline: 2px solid var(--rose-lt);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- shared type utilities ---------- */
.foil-text{
  background-image: var(--foil);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tracked{
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
}

/* ==========================================================================
   NAV
   ========================================================================== */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  padding: 14px clamp(18px, 5vw, 44px);
  background: rgba(12,20,45,.86);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--rule);
}
.wordmark{
  display:flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
  flex-shrink:0;
}
.wordmark .mark{
  width: 22px; height: 22px;
  opacity: .95;
}
.wordmark .type{
  font-family: var(--f-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bone);
  white-space: nowrap;
}
.wordmark:hover .type{ color: var(--rose-lt); }

.tabs{
  display:flex;
  gap: clamp(14px, 3vw, 30px);
  overflow-x:auto;
  scrollbar-width:none;
  -ms-overflow-style:none;
  padding-bottom: 2px;
}
.tabs::-webkit-scrollbar{ display:none; }

.tab{
  position:relative;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .1em;
  color: var(--rose);
  opacity: .62;
  text-decoration:none;
  white-space:nowrap;
  padding: 3px 0;
  transition: opacity .25s ease, color .25s ease;
}
.tab:hover{ opacity:1; }
.tab[aria-current="page"]{
  opacity:1;
  color: var(--bone);
}
.tab[aria-current="page"]::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-4px;
  height:1px;
  background: var(--foil);
}

/* ==========================================================================
   SHELL
   ========================================================================== */
main{
  width: min(var(--shell), 100% - clamp(32px, 9vw, 64px));
  margin-inline: auto;
  padding: clamp(38px, 7vw, 64px) 0 clamp(56px, 9vw, 88px);
  text-align:center;
}

/* ---------- the deco plate: hairline foil frame with cut corners --------- */
.plate{
  position:relative;
  --n: var(--notch);
  padding: clamp(22px, 4vw, 32px);
  isolation:isolate;
}
.plate::before,
.plate::after{
  content:"";
  position:absolute;
  z-index:-1;
  clip-path: polygon(
    var(--n) 0, calc(100% - var(--n)) 0,
    100% var(--n), 100% calc(100% - var(--n)),
    calc(100% - var(--n)) 100%, var(--n) 100%,
    0 calc(100% - var(--n)), 0 var(--n));
}
.plate::before{                     /* the foil edge */
  inset:0;
  background: var(--foil);
  opacity:.55;
  transition: opacity .3s ease;
}
.plate::after{                      /* the ink fill, inset by the hairline */
  inset:1px;
  background: var(--ink-2);
  --n: calc(var(--notch) - 1px);
}
.plate.is-quiet::before{ opacity:.34; }

/* ---------- ornament ---------- */
.divider{
  display:block;
  width: clamp(200px, 46%, 280px);
  margin: clamp(34px, 5.5vw, 46px) auto;
  opacity: .8;
}

/* ---------- eyebrow label with flanking rules ---------- */
.eyebrow{
  display:flex;
  align-items:center;
  gap: 16px;
  margin: clamp(30px, 5vw, 44px) 0 clamp(20px, 3.5vw, 28px);
  color: var(--rose);
}
.eyebrow::before,
.eyebrow::after{
  content:"";
  flex:1;
  height:1px;
}
.eyebrow::before{ background: linear-gradient(90deg, transparent, var(--rule-str)); }
.eyebrow::after{  background: linear-gradient(90deg, var(--rule-str), transparent); }

/* ==========================================================================
   HERO — index
   ========================================================================== */
.hero-logo{
  position:relative;
  width: clamp(240px, 62%, 380px);
  margin: 0 auto clamp(6px, 1.5vw, 10px);
}
.hero-logo img{ width:100%; }
@supports ((-webkit-mask-image: url(/assets/logo.png)) or (mask-image: url(/assets/logo.png))){
.hero-logo::after{                  /* one slow foil sweep on load */
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(105deg,
    transparent 38%, rgba(255,238,230,.55) 50%, transparent 62%);
  background-size: 260% 100%;
  background-repeat:no-repeat;
  background-position: 240% 0;
  -webkit-mask: url("/assets/logo.png") center/contain no-repeat;
  mask: url("/assets/logo.png") center/contain no-repeat;
  animation: sweep 2.4s cubic-bezier(.4,0,.2,1) .5s 1 both;
  pointer-events:none;
}
}
.founders-page .hero-logo::after{ display:none; }

@keyframes sweep{
  from{ background-position: 240% 0; }
  to{   background-position: -140% 0; }
}

/* ==========================================================================
   FOUNDER ROWS — index
   ========================================================================== */
.roster{
  display:flex;
  flex-direction:column;
  gap: 14px;
}
.founder{
  display:flex;
  align-items:center;
  gap: clamp(14px, 3vw, 22px);
  padding: 14px clamp(16px, 3vw, 22px);
  text-align:left;
  --notch: 12px;
  animation: rise .6s cubic-bezier(.2,.7,.3,1) both;
}
.roster .founder:nth-child(1){ animation-delay:.05s; }
.roster .founder:nth-child(2){ animation-delay:.13s; }
.roster .founder:nth-child(3){ animation-delay:.21s; }

@keyframes rise{
  from{ opacity:0; transform: translateY(10px); }
  to{ opacity:1; transform:none; }
}

.founder:hover::before{ opacity:.95; }

.thumb{
  position:relative;
  flex-shrink:0;
  width: clamp(64px, 15vw, 84px);
  background: var(--foil);
  padding: 1.5px;
  border-radius: 50% 50% 5px 5px / 40% 40% 5px 5px;
  text-decoration:none;
}
.thumb img{
  width:100%;
  aspect-ratio: 4/5;
  object-fit:cover;
  border-radius: 50% 50% 4px 4px / 40% 40% 4px 4px;
}

.founder-link{
  flex:1;
  min-width:0;
  display:block;
  text-decoration:none;
}
.founder-name{
  font-family: var(--f-display);
  font-size: clamp(19px, 4.4vw, 23px);
  font-weight: 600;
  color: var(--bone);
  line-height:1.15;
  transition: color .25s ease;
}
.founder:hover .founder-name{ color: var(--rose-lt); }
.chev{
  display:inline-block;
  margin-left: 9px;
  font-size: .68em;
  color: var(--rose);
  opacity:0;
  transform: translateX(-6px);
  transition: opacity .25s ease, transform .25s ease;
}
.founder:hover .chev{ opacity:.9; transform:none; }
.founder-role{
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform:uppercase;
  color: var(--rose);
  opacity:.85;
  margin-top: 5px;
}

/* ---------- actions ---------- */
.ghost-btn{
  flex-shrink:0;
  display:inline-flex;
  align-items:center;
  gap: 7px;
  padding: 7px 13px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rose);
  text-decoration:none;
  border: 1px solid var(--rule-str);
  background: transparent;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.ghost-btn svg{ width:14px; height:14px; flex-shrink:0; }
.ghost-btn:hover{
  background: rgba(201,145,131,.12);
  border-color: var(--rose);
  color: var(--bone);
}

.solid-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  width:100%;
  max-width: 340px;
  padding: 15px 26px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #0c142d;
  text-decoration:none;
  background: var(--foil);
  background-size: 200% 100%;
  background-position: 30% 0;
  border:none;
  transition: background-position .5s ease, transform .2s ease, box-shadow .3s ease;
  box-shadow: 0 10px 30px -14px rgba(201,145,131,.75);
}
.solid-btn svg{ width:17px; height:17px; flex-shrink:0; }
.solid-btn:hover{
  background-position: 70% 0;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -14px rgba(201,145,131,.9);
}
.solid-btn:active{ transform: translateY(0); }

/* ==========================================================================
   FOUNDER PAGE
   ========================================================================== */
.portrait-wrap{
  position:relative;
  width: clamp(178px, 46%, 236px);
  margin: 0 auto clamp(22px, 4vw, 30px);
}
.portrait-wrap::before{             /* soft rose halo */
  content:"";
  position:absolute; inset:-16% -14% -8%;
  background: radial-gradient(closest-side, rgba(201,145,131,.3), rgba(201,145,131,0) 72%);
  z-index:0;
}
.portrait{
  position:relative;
  z-index:1;
  background: var(--foil);
  padding: 3px;
  border-radius: 50% 50% 8px 8px / 40% 40% 8px 8px;
}
.portrait img{
  width:100%;
  aspect-ratio: 4/5;
  object-fit:cover;
  border-radius: 50% 50% 6px 6px / 40% 40% 6px 6px;
}
/* the three portraits come from three different shoots — a shared vignette
   settles them into the same light before the frame closes around them */
.portrait::after,
.thumb::after{
  content:"";
  position:absolute;
  inset:3px;
  border-radius: 50% 50% 6px 6px / 40% 40% 6px 6px;
  background: radial-gradient(115% 88% at 50% 34%,
              rgba(12,20,45,0) 42%, rgba(12,20,45,.16) 70%, rgba(12,20,45,.52) 100%);
  pointer-events:none;
}
.thumb::after{ inset:1.5px; border-radius: 50% 50% 4px 4px / 40% 40% 4px 4px; }

.person-name{
  font-family: var(--f-display);
  font-size: clamp(33px, 8.5vw, 52px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.005em;
  margin-bottom: 12px;
}
.person-role{
  font-size: clamp(10px, 2.6vw, 11.5px);
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: clamp(26px, 5vw, 34px);
}

/* primary action sits above the channels — this page exists to be saved */
.save-block{
  display:flex;
  flex-direction:column;
  align-items:center;
  margin-bottom: clamp(24px, 4.5vw, 32px);
}

.channels{
  display:flex;
  justify-content:center;
  gap: clamp(22px, 6vw, 38px);
  margin-bottom: clamp(8px, 2vw, 12px);
}
.channel{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 9px;
  text-decoration:none;
  color: var(--rose);
}
.channel .ring{
  width: clamp(48px, 12vw, 56px);
  height: clamp(48px, 12vw, 56px);
  border: 1px solid var(--rule-str);
  border-radius: 50%;
  display:grid;
  place-items:center;
  transition: background .25s ease, border-color .25s ease, transform .2s ease;
}
.channel svg{ width: 21px; height: 21px; }
.channel .cap{
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .72;
  transition: opacity .25s ease;
}
.channel:hover .ring{
  background: rgba(201,145,131,.13);
  border-color: var(--rose);
  transform: translateY(-3px);
}
.channel:hover .cap{ opacity:1; }

/* ---------- bio ---------- */
.bio{
  text-align:left;
  font-size: clamp(14px, 3.5vw, 15.5px);
  font-weight: 300;
  line-height: 1.85;
  color: rgba(243,232,226,.86);
  --notch: 16px;
}
.bio p + p{ margin-top: 15px; }
.bio strong{ color: var(--bone); font-weight:500; }

/* ==========================================================================
   LOCATION
   ========================================================================== */
.visit{
  display:block;
  text-decoration:none;
  --notch: 16px;
  transition: transform .25s ease;
}
.visit:hover{ transform: translateY(-2px); }
.visit:hover::before{ opacity:.95; }

.visit .pin{
  width: 26px; height: 26px;
  margin: 0 auto 14px;
  color: var(--rose);
}
.visit .addr{
  font-family: var(--f-display);
  font-size: clamp(15px, 3.8vw, 17px);
  font-weight: 500;
  line-height: 1.85;
  color: var(--bone);
}
.visit .addr .firm{
  color: var(--rose);
  letter-spacing: .04em;
}
.visit .go{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  margin-top: 16px;
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rose);
  border-bottom: 1px solid var(--rule-str);
  padding-bottom: 3px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot{
  margin-top: clamp(46px, 8vw, 70px);
  padding-top: clamp(22px, 4vw, 30px);
  border-top: 1px solid var(--rule);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 8px;
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rose);
  opacity: .55;
}
.foot a{ text-decoration:none; }
.foot a:hover{ opacity:1; color: var(--rose-lt); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 560px){
  .topbar{
    flex-direction:column;
    gap: 11px;
    padding: 12px 18px 10px;
  }
  .tabs{ width:100%; justify-content:center; }
  .founder{
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap: 13px;
    padding: 20px 18px;
  }
  .founder-link{ flex:none; }
  .thumb{ width: 88px; }
  .chev{ display:none; }
  .channels{ gap: 26px; }
}

@media (max-width: 340px){
  .channels{ gap: 16px; }
  .solid-btn{ letter-spacing: .1em; padding: 14px 16px; }
}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-logo::after{ display:none; }
}
