/* ACCOUNT MANAGEMENT PAGE */
.account-page {
  --account-gold: #B9D76B;
  --account-gold-soft: rgba(185,215,107,.13);
  --account-red: #E8472E;
  --account-amber: #D5EF7B;
  --account-ink: rgba(8,7,6,.82);
}

.account-page .section {
  overflow: hidden;
}

.account-page .display em,
.account-hero h1 em {
  color: var(--account-gold);
}

.account-page .section-head.centered {
  max-width: 930px;
  margin: 0 auto 4rem;
  text-align: center;
}

.account-page .section-head.centered .section-label {
  justify-content: center;
}

.account-hero {
  min-height: 94vh;
  padding: 140px 0 92px;
}

.account-hero::before {
  background:
    radial-gradient(circle at 78% 24%, rgba(185,215,107,.17), transparent 34%),
    radial-gradient(circle at 20% 82%, rgba(232,71,46,.10), transparent 34%),
    radial-gradient(circle at 54% 50%, rgba(185,215,107,.08), transparent 42%);
}

.account-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(430px, .86fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.account-hero-copy {
  max-width: 780px;
}

.account-hero h1 {
  max-width: 10.5ch;
}

.account-hero h1 em {
  display: block;
  font-style: italic;
}

.account-hero-copy p {
  max-width: 660px;
}

/* Hero: professional client-success visual, intentionally not a square image block */
.relationship-flow {
  position: relative;
  min-height: 560px;
  justify-self: end;
  width: min(100%, 760px);
  overflow: visible;
  isolation: isolate;
}

.relationship-flow::before {
  content: "";
  position: absolute;
  inset: 5% 3% 9%;
  border: 1px solid rgba(185,215,107,.18);
  border-radius: 38% 62% 50% 50% / 46% 34% 66% 54%;
  background:
    radial-gradient(ellipse at 52% 44%, rgba(185,215,107,.16), transparent 38%),
    linear-gradient(145deg, rgba(185,215,107,.10), rgba(232,71,46,.035));
  box-shadow: inset 0 0 110px rgba(185,215,107,.045), 0 36px 100px rgba(0,0,0,.34);
  z-index: -3;
}

.relationship-flow::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 13%;
  bottom: 14%;
  border: 1px solid rgba(185,215,107,.13);
  border-radius: 50%;
  z-index: -2;
}

.account-orbit {
  position: absolute;
  inset: 11% 7%;
  border-radius: 50%;
  border: 1px dashed rgba(185,215,107,.22);
  transform: rotate(-11deg);
}

.account-orbit::before,
.account-orbit::after {
  content: "";
  position: absolute;
  width: 10px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--account-red);
  box-shadow: 0 0 22px rgba(232,71,46,.48);
}

.account-orbit::before {
  left: 17%;
  top: 13%;
}

.account-orbit::after {
  right: 14%;
  bottom: 17%;
}

.account-dashboard {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(430px, 58%);
  padding: clamp(1.6rem, 3vw, 2.35rem);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 36px 6px 36px 6px;
  background:
    linear-gradient(135deg, rgba(185,215,107,.12), rgba(232,71,46,.035)),
    rgba(8,7,6,.86);
  box-shadow: 0 30px 84px rgba(0,0,0,.46), 0 0 52px rgba(185,215,107,.08);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(18px);
}

.dashboard-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.dashboard-topline span,
.dashboard-topline strong,
.dashboard-pulse span,
.flow-beacon span,
.flow-note {
  color: var(--account-gold);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.dashboard-topline strong {
  color: var(--account-red);
}

.dashboard-pulse {
  display: grid;
  place-items: center;
  width: min(210px, 68%);
  aspect-ratio: 1;
  margin: 1.7rem auto;
  border: 1px solid rgba(185,215,107,.26);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(185,215,107,.18), transparent 45%),
    rgba(0,0,0,.24);
  text-align: center;
}

.dashboard-pulse strong {
  display: block;
  color: var(--white);
  font-family: var(--font-d);
  font-size: clamp(3rem, 6vw, 4.8rem);
  font-weight: 400;
  line-height: .9;
}

.dashboard-metrics {
  display: grid;
  gap: .65rem;
}

.dashboard-metrics i {
  display: block;
  width: 100%;
  height: 7px;
  border: 1px solid rgba(185,215,107,.24);
  background: linear-gradient(90deg, rgba(185,215,107,.78) var(--w), rgba(232,71,46,.25) var(--w));
}

.flow-beacon {
  position: absolute;
  min-width: 172px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 18px 4px 18px 4px;
  background:
    linear-gradient(135deg, rgba(185,215,107,.12), rgba(232,71,46,.03)),
    rgba(8,7,6,.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 64px rgba(0,0,0,.32);
}

.flow-beacon strong {
  display: block;
  margin-top: .24rem;
  color: var(--white);
  font-family: var(--font-d);
  font-size: 1.25rem;
  font-weight: 500;
  white-space: nowrap;
}

.beacon-a { left: 0; top: 18%; }
.beacon-b { right: 2%; top: 25%; }
.beacon-c { right: 15%; bottom: 11%; }

.flow-note {
  position: absolute;
  padding: .72rem 1rem;
  border-bottom: 1px solid rgba(185,215,107,.32);
  color: rgba(245,240,235,.58);
}

.note-a { left: 12%; bottom: 23%; }
.note-b { right: 0; bottom: 42%; }
.note-c { left: 44%; top: 11%; }

.account-intro {
  background:
    radial-gradient(ellipse 54% 30% at 16% 14%, rgba(185,215,107,.09), transparent 70%),
    var(--bg);
}

.account-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: end;
}

.account-intro-copy {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(1.5rem, 3vw, 2.5rem) 2rem;
  border-left: 1px solid rgba(185,215,107,.28);
}

.account-intro-copy::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 2rem;
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--account-gold);
  box-shadow: 0 0 18px rgba(185,215,107,.36);
}

.account-intro-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

.account-intro-copy p + p {
  margin-top: 1.1rem;
}

.account-core {
  background:
    radial-gradient(circle at 80% 20%, rgba(185,215,107,.09), transparent 34%),
    radial-gradient(circle at 15% 84%, rgba(232,71,46,.08), transparent 34%),
    var(--bg2);
}

.portfolio-desk {
  position: relative;
  display: grid;
  gap: 1.5rem;
  max-width: 1040px;
  margin: 0 auto;
  overflow: visible;
}

.portfolio-desk::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 2rem;
  bottom: 2rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(185,215,107,.28), rgba(232,71,46,.16), transparent);
  transform: translateX(-50%);
  pointer-events: none;
}

.portfolio-file {
  position: relative;
  width: min(680px, 66%);
  min-height: 210px;
  margin-left: 7%;
  padding: clamp(1.55rem, 2.6vw, 2.2rem) clamp(1.6rem, 3vw, 2.6rem) clamp(1.7rem, 3vw, 2.4rem) clamp(2rem, 4vw, 3.2rem);
  border: 1px solid rgba(255,255,255,.10);
  background:
    linear-gradient(120deg, rgba(185,215,107,.10), rgba(232,71,46,.025) 42%, rgba(8,7,6,.78)),
    rgba(8,7,6,.72);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.portfolio-file:nth-child(even) {
  margin-left: auto;
  margin-right: 4%;
}

.portfolio-file::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(185,215,107,.42), rgba(232,71,46,.18), transparent);
}

.portfolio-file::after {
  content: "";
  position: absolute;
  left: -12px;
  top: 2.2rem;
  width: 24px;
  height: 24px;
  background: rgba(8,7,6,.95);
  border-left: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,255,255,.10);
  transform: rotate(45deg);
}

.portfolio-file:hover {
  transform: translateX(10px);
  border-color: rgba(185,215,107,.30);
  background:
    linear-gradient(120deg, rgba(185,215,107,.15), rgba(232,71,46,.04) 42%, rgba(8,7,6,.86)),
    rgba(8,7,6,.82);
  z-index: 2;
}

.portfolio-file:nth-child(even):hover {
  transform: translateX(-10px);
}

.portfolio-file:nth-child(even)::after {
  left: auto;
  right: -12px;
  transform: rotate(225deg);
}

.file-media {
  position: absolute;
  left: -86px;
  top: 50%;
  width: 92px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid rgba(185,215,107,.26);
  background:
    radial-gradient(circle at 50% 42%, rgba(185,215,107,.17), rgba(8,7,6,.86) 72%);
  box-shadow: 0 18px 46px rgba(0,0,0,.26);
  transform: translateY(-50%);
}

.portfolio-file:nth-child(even) .file-media {
  left: auto;
  right: -86px;
}

.file-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .92;
  filter: saturate(.9) contrast(1.08);
  transition: transform .35s ease, opacity .35s ease;
}

.portfolio-file:hover .file-media img {
  transform: scale(1.08);
  opacity: 1;
}

.file-copy span,
.value-item span,
.choice-card span {
  color: var(--account-gold);
  font-family: var(--font-d);
  font-size: 1.28rem;
}

.file-copy h3,
.value-item h3,
.choice-card h3 {
  margin-top: .45rem;
  color: var(--white);
  font-family: var(--font-d);
  font-size: clamp(1.35rem, 2vw, 1.95rem);
  font-weight: 500;
  line-height: 1.08;
}

.file-copy p,
.value-item p,
.choice-card p {
  margin-top: .85rem;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.74;
}

.account-value {
  background:
    radial-gradient(ellipse 52% 34% at 74% 18%, rgba(185,215,107,.08), transparent 70%),
    radial-gradient(ellipse 42% 30% at 18% 72%, rgba(232,71,46,.045), transparent 70%),
    var(--bg);
}

.account-value-grid {
  display: grid;
  grid-template-columns: minmax(340px, .82fr) minmax(0, 1.24fr);
  gap: clamp(3.5rem, 6vw, 7rem);
  align-items: start;
}

.value-copy {
  position: sticky;
  top: 112px;
  padding-top: clamp(.5rem, 1vw, 1rem);
}

.account-value .display {
  max-width: 9.5ch;
  font-size: clamp(4.5rem, 6.3vw, 7.2rem);
  line-height: .92;
}

.value-copy p {
  max-width: 520px;
  margin-top: clamp(2rem, 4vw, 3rem);
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.86;
}

.value-ribbon {
  display: grid;
  gap: 1.05rem;
}

.value-item {
  position: relative;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 1.35rem;
  align-items: center;
  min-height: 142px;
  padding: clamp(1.25rem, 2vw, 1.75rem) clamp(1.4rem, 2.6vw, 2.4rem);
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(90deg, rgba(185,215,107,.085), rgba(232,71,46,.022), rgba(8,7,6,.78)),
    rgba(8,7,6,.62);
  box-shadow: 0 22px 60px rgba(0,0,0,.18);
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.value-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(185,215,107,.58), rgba(232,71,46,.20), transparent);
}

.value-item:hover {
  transform: translateX(10px);
  border-color: rgba(185,215,107,.32);
  background:
    linear-gradient(90deg, rgba(185,215,107,.15), rgba(232,71,46,.04), rgba(8,7,6,.84)),
    rgba(8,7,6,.76);
  box-shadow: 0 26px 80px rgba(0,0,0,.30), 0 0 34px rgba(185,215,107,.06);
  z-index: 4;
}

.value-item img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(185,215,107,.16));
}

.value-item span {
  display: block;
  margin-bottom: .25rem;
  color: var(--account-gold);
  font-family: var(--font-b);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.account-why {
  background:
    radial-gradient(ellipse 70% 38% at 72% 22%, rgba(185,215,107,.07), transparent 70%),
    var(--bg);
}

.account-why .section-head.centered {
  max-width: none;
  margin: 0 0 4.2rem;
  text-align: left;
}

.account-why .section-head.centered .section-label {
  justify-content: flex-start;
}

.account-why .display {
  max-width: 16ch;
  font-size: clamp(3.4rem, 5.8vw, 5.8rem);
  line-height: .96;
}

.account-choice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.2vw, 2.4rem);
}

.choice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 310px;
  aspect-ratio: 1 / 1;
  padding: clamp(1.35rem, 2.2vw, 2.1rem);
  border: 1px solid rgba(185,215,107,.18);
  background:
    radial-gradient(circle at 15% 12%, rgba(185,215,107,.14), transparent 34%),
    linear-gradient(140deg, rgba(185,215,107,.07), rgba(232,71,46,.025) 48%, rgba(8,7,6,.76)),
    rgba(8,7,6,.70);
  box-shadow: 0 26px 70px rgba(0,0,0,.22);
  overflow: hidden;
  transition: transform .24s ease, border-color .24s ease, background .24s ease, box-shadow .24s ease;
}

.choice-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,.055);
  pointer-events: none;
}

.choice-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 120px;
  aspect-ratio: 1;
  border: 1px solid rgba(185,215,107,.16);
  border-radius: 50%;
}

.choice-card:hover {
  transform: translateY(-8px);
  border-color: rgba(185,215,107,.42);
  background:
    radial-gradient(circle at 15% 12%, rgba(185,215,107,.20), transparent 34%),
    linear-gradient(140deg, rgba(185,215,107,.11), rgba(232,71,46,.04) 48%, rgba(8,7,6,.82)),
    rgba(8,7,6,.76);
  box-shadow: 0 34px 90px rgba(0,0,0,.36), 0 0 38px rgba(185,215,107,.06);
}

.choice-card strong {
  color: var(--account-gold);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.choice-card h3 {
  margin-top: auto;
  color: var(--white);
  font-family: var(--font-d);
  font-size: clamp(1.55rem, 2.3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.05;
}

.choice-card p {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.72;
}

.account-section-cta {
  margin-top: 4rem;
}

.account-newsletter {
  background:
    radial-gradient(circle at 74% 24%, rgba(185,215,107,.12), transparent 34%),
    var(--bg);
}

.account-newsletter-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4.5rem);
  border: 1px solid rgba(185,215,107,.16);
  border-radius: 48px 0 48px 0;
  background:
    linear-gradient(135deg, rgba(185,215,107,.08), rgba(232,71,46,.025)),
    rgba(8,7,6,.72);
  box-shadow: 0 34px 100px rgba(0,0,0,.34);
}

.account-newsletter h2 {
  color: var(--white);
  font-family: var(--font-d);
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1;
}

.account-newsletter p {
  max-width: 760px;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.82;
}

.account-newsletter-form label {
  display: block;
  margin-bottom: .65rem;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.account-input-row {
  display: flex;
  gap: .8rem;
}

.account-input-row input {
  min-width: 0;
  flex: 1;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(8,7,6,.84);
  color: var(--white);
  font-family: var(--font-b);
}

.account-input-row input:focus {
  outline: none;
  border-color: rgba(185,215,107,.45);
  box-shadow: 0 0 0 3px rgba(185,215,107,.10);
}

@media (max-width: 1280px) {
  .account-hero-grid,
  .account-intro-grid,
  .account-value-grid {
    grid-template-columns: 1fr;
  }

  .relationship-flow {
    justify-self: start;
    max-width: 820px;
  }

  .value-copy {
    position: relative;
    top: auto;
    min-height: auto;
  }

  .value-ribbon {
    min-height: auto;
    display: grid;
    gap: 1rem;
  }

  .value-item,
  .value-item:nth-child(n) {
    position: relative;
    inset: auto;
    width: auto;
    min-height: 132px;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    margin-left: 0;
  }

  .account-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .account-hero {
    padding-top: 118px;
  }

  .relationship-flow {
    min-height: 500px;
  }

  .portfolio-file,
  .portfolio-file:nth-child(even) {
    width: auto;
    display: block;
    margin-right: 0;
    margin-left: 0;
    padding: 1.4rem;
  }

  .portfolio-desk::before,
  .portfolio-file::after {
    display: none;
  }

  .file-media {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: 88px;
    margin-bottom: 1rem;
    transform: none;
  }

  .portfolio-file:nth-child(even) .file-media {
    left: auto;
    right: auto;
  }

  .value-item,
  .value-item:nth-child(even),
  .value-item:hover,
  .value-item:nth-child(even):hover {
    transform: none;
  }

  .account-value .display {
    max-width: 12ch;
    font-size: clamp(3.7rem, 9vw, 5.5rem);
  }

  .account-newsletter-shell {
    grid-template-columns: 1fr;
  }

  .account-input-row {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .account-hero {
    min-height: auto;
    padding: 112px 0 70px;
  }

  .relationship-flow {
    min-height: auto;
    display: grid;
    gap: .85rem;
  }

  .relationship-flow::before,
  .relationship-flow::after,
  .account-orbit,
  .account-dashboard {
    display: none;
  }

  .flow-beacon,
  .flow-note {
    position: relative;
    inset: auto;
    border-radius: 999px;
  }

  .flow-note {
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(8,7,6,.72);
  }

  .account-intro-copy {
    padding-left: 1.25rem;
  }

  .value-item,
  .account-choice-grid {
    grid-template-columns: 1fr;
  }

  .account-value .display {
    font-size: clamp(3.05rem, 14vw, 4.25rem);
  }

  .value-item img {
    width: 52px;
    height: 52px;
  }

  .choice-card {
    aspect-ratio: auto;
    min-height: 240px;
    padding: 1.35rem 1.25rem 3rem;
  }

  .portfolio-file,
  .value-item,
  .account-newsletter-shell {
    padding: 1.25rem;
  }

  .account-newsletter h2 {
    font-size: clamp(2.2rem, 12vw, 3.5rem);
  }
}
