
  @import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@600;700&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap');

  :root {
    /* palette */
    --c-teal:      rgba(28, 95, 60, 0.85);    /* mid-green tier */
    --c-teal-dk:   rgba(200, 182, 136, 0.22); /* gold JV tier */
    --c-green:     rgba(7, 42, 26, 0.92);     /* deep green Warren tier */
    --c-grey:      #707070;                   /* labels and lines */
    --c-black:     #C8B688;                   /* gold on hover */
    --font-head:   'EB Garamond', serif;
    --font-body:   'Plus Jakarta Sans', sans-serif;
  }

  .cs-wrap {
    position: relative;
    width: 690px;
    height: 540px;
    margin: auto;
    font-family: var(--font-body);
    animation: fadeIn .8s ease-out;
  }

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

  /* -- Stack -- */
  .cs-stack {
    position: absolute;
    left: 120px;
    width: 380px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(200, 182, 136, 0.25);
    border-top: 2px solid #C8B688;
    border-radius: 2px 2px 6px 6px;
    overflow: hidden;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.07),
      0 4px 24px rgba(0,0,0,0.35);
    transition: box-shadow .3s;
  }
  .cs-stack:hover {
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.09),
      0 8px 32px rgba(0,0,0,0.5);
  }

  .cs-equity { flex: 0 0 25%; display: flex; flex-direction: column; }

  /* Shared tier styles */
  .cs-tier {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C8B688;                   /* was #fff -> gold */
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 2px;             /* slightly wider - matches suite */
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background-color .3s, transform .3s, filter .3s;
    animation: expandIn .6s ease-out backwards;
  }

  /* Shimmer sweep - matches icon box / card treatment */
  .cs-tier::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(200,182,136,0.12), transparent);
    transition: left .55s ease;
  }
  .cs-tier:hover::before { left: 100%; }

  .tier-jv     { flex: 0 0 20%; background: var(--c-teal-dk); border-bottom: 1px solid rgba(200,182,136,0.18); animation-delay: .3s; }
  .tier-warren { flex: 0 0 80%; background: var(--c-green);   animation-delay: .5s; }
  .tier-debt   {
    flex: 0 0 75%;
    background: rgba(10, 55, 35, 0.90); /* lightened from near-black */
    color: rgba(255,255,255,0.72);      /* debt label slightly dimmer */
    font-size: 20px;
    letter-spacing: 3px;
    animation-delay: .7s;
  }

  .tier-jv:hover     { filter: brightness(1.22); transform: scale(1.01); }
  .tier-warren:hover { filter: brightness(1.18); transform: scale(1.01); }
  .tier-debt:hover   { filter: brightness(1.15); transform: scale(1.005); }

  /* -- Tooltip -- */
  .tip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    /* Glass tooltip - matches suite modal style */
    background: rgba(5, 20, 14, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(200,182,136,0.25);
    border-top: 1px solid #C8B688;
    color: rgba(255,255,255,0.82);
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-family: var(--font-body);
    letter-spacing: 0.03em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    box-shadow: 0 4px 16px rgba(0,0,0,.4);
    z-index: 100;
  }
  .tip::after {
    content: '';
    position: absolute;
    top: 100%; left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(200,182,136,0.4); /* gold arrow */
  }
  .cs-tier:hover .tip { opacity: 1; }

  /* -- Bracket/line elements -- */
  .bk {
    position: absolute;
    border-color: #707070;
    transition: border-color .3s;
    opacity: 0;
  }
  .bk:hover { border-color: #C8B688; }
  .bk::before, .bk::after {
    content: '';
    position: absolute;
    width: 12px; height: 2px;
    background: #707070;
    transition: background .3s;
  }
  .bk:hover::before, .bk:hover::after { background: #C8B688; }

  /* Left brackets */
  .lbk { left: 98px; border-left: 2px solid; }
  .lbk::before { top: 0;    left: -2px; }
  .lbk::after  { bottom: 0; left: -2px; }
  .lbk-eq   { top: 3px;  height: calc(25% - 3px); animation: drawH .6s ease-out 1s   forwards; }
  .lbk-debt { top: 25%;  height: calc(75% - 3px); animation: drawH .6s ease-out 1.1s forwards; }

  /* Right bracket */
  .rbk { right: 168px; border-right: 2px solid; top: 3px; height: calc(25% - 3px); animation: drawH .6s ease-out 1.2s forwards; }
  .rbk::before { top: 0;    right: -2px; }
  .rbk::after  { bottom: 0; right: -2px; }
  .rbk:hover { border-right-color: #C8B688; }

  .hline {
    position: absolute;
    right: 168px;
    top: calc(25% * .2 + 3px);
    width: 12px; height: 2px;
    background: #707070; /* was gold-mid */
    opacity: 0;
    transition: background .3s;
    animation: drawW .4s ease-out 1.7s forwards;
  }
  .hline:hover { background: #C8B688; }

  /* -- Labels -- */
  .lbl {
    position: absolute;
    font-weight: 500;
    font-size: 12px;                           /* slightly smaller - suits suite style */
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #707070;                            /* grey */
    opacity: 0;
    cursor: pointer;
    transition: color .3s, transform .3s;
    animation: slideR .5s ease-out forwards;
    font-family: var(--font-body);
  }
  .lbl:hover { color: #C8B688; transform: translateX(-5px); }

  .ltc {
    left: 10px;
    font-size: 11px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    animation: slideL .5s ease-out forwards;
  }
  .ltc:hover { color: #C8B688; transform: rotate(180deg) scale(1.1); }

  .ltc-25 { top: 70px;  animation-delay: 1.5s; }
  .ltc-75 { top: 410px; animation-delay: 1.6s; }

  .pct {
    right: 125px;
    font-family: 'EB Garamond', serif;         /* percentages in serif - matches suite */
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0;
    color: #C8B688;
  }
  .pct-20 { top: 28px; animation-delay: 1.8s; }
  .pct-80 { top: 88px; animation-delay: 1.9s; }

  .partner { right: 10px; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
  .p-jv     { top: 28px;  animation-delay: 2s; }
  .p-warren { top: 88px;  animation-delay: 2.1s; }
  .p-lender { top: 50%; transform: translateY(-50%); animation-delay: 2.2s; }
  .p-lender:hover { transform: translateY(-50%) translateX(-5px); }

  .logo {
    width: 20px; height: 20px;
    background: rgba(200, 182, 136, 0.15);     /* was solid grey */
    border: 1px solid rgba(200, 182, 136, 0.45);
    color: #C8B688;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 12px;
    font-family: 'EB Garamond', serif;
    transition: background .3s, transform .3s, border-color .3s;
    animation: rotateIn .6s ease-out 2.3s backwards;
  }
  .partner:hover .logo {
    background: rgba(200,182,136,0.25);
    border-color: #C8B688;
    transform: rotate(360deg) scale(1.2);
  }

  /* -- Info Panel - glass modal matching suite -- */
  .info-panel {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(5, 20, 14, 0.97);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    border: 1px solid rgba(200, 182, 136, 0.25);
    border-top: 2px solid #C8B688;
    border-radius: 2px 2px 8px 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,.55), 0 32px 80px rgba(0,0,0,.4);
    padding: 28px 28px 24px;
    z-index: 1000;
    max-width: 300px;
    visibility: hidden;
    opacity: 0;
    transition: transform .35s cubic-bezier(.16,1,.3,1), opacity .3s, visibility .3s;
  }
  .info-panel.show { transform: translate(-50%, -50%) scale(1); visibility: visible; opacity: 1; }

  .info-panel h3, .info-panel p.cs-info-title {
    margin: 0 0 12px; line-height: 1.2;
    color: #C8B688;                            /* was teal */
    font-family: 'EB Garamond', serif;
    font-size: 24px;
    letter-spacing: 1px;
  }
  .info-panel p {
    font-size: 13.5px;
    line-height: 1.75;
    color: rgba(255,255,255,0.7);              /* was #333 */
    font-family: var(--font-body);
  }
  .close-btn {
    position: absolute; top: 12px; right: 16px;
    background: none; border: none;
    font-size: 18px; cursor: pointer;
    color: rgba(255,255,255,0.35);             /* was #666 */
    transition: color .2s;
    line-height: 1; padding: 0;
  }
  .close-btn:hover { color: #C8B688; }

  @media (max-width: 768px) { .cs-wrap { transform: scale(.8); } }

  /* -- Animations - unchanged -- */
  @keyframes fadeIn    { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: scale(1); } }
  @keyframes expandIn  { from { transform: scaleY(0); transform-origin: top; } to { transform: scaleY(1); } }
  @keyframes drawH     { from { height: 0; opacity: 0; } to { opacity: 1; } }
  @keyframes drawW     { from { width: 0;  opacity: 0; } to { width: 12px; opacity: 1; } }
  @keyframes slideL    { from { opacity: 0; transform: rotate(180deg) translateX(30px); } to { opacity: 1; transform: rotate(180deg) translateX(0); } }
  @keyframes slideR    { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
  @keyframes rotateIn  { from { opacity: 0; transform: rotate(-180deg) scale(0); } to { opacity: 1; transform: rotate(0) scale(1); } }
  @keyframes pulse     { 50% { transform: scale(1.05); } }
  .clicked { animation: pulse .5s ease; }


  @import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

  :root {
    --gold:        #C8B688;
    --gold-mid:    rgba(200, 182, 136, 0.4);
    --gold-faint:  rgba(200, 182, 136, 0.12);
    --gold-line:   rgba(200, 182, 136, 0.25);
    --glass:       rgba(7, 28, 20, 0.72);
    --glass-hover: rgba(200, 182, 136, 0.08);
    --divider:     rgba(255, 255, 255, 0.08);
    --text-hi:     rgba(255, 255, 255, 0.95);
    --text-mid:    rgba(255, 255, 255, 0.7);
    --text-lo:     rgba(255, 255, 255, 0.38);
  }

  /* Full width - parent container controls the width */
  .ep-wrap {
    width: 100%;
    max-width: 100%;
    font-family: 'Plus Jakarta Sans', sans-serif;
    box-sizing: border-box;
  }

  /* === CARD SHELL - matches icon box exactly === */
  .ep-card {
    background: var(--glass);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    border: 1px solid var(--gold-line);
    border-top: 2px solid var(--gold);
    border-radius: 2px 2px 8px 8px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.07),
      inset 0 0 60px rgba(200, 182, 136, 0.03),
      0 8px 32px rgba(0, 0, 0, 0.4),
      0 24px 64px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
  }

  /* Shimmer sweep on hover - same as icon boxes */
  .ep-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      135deg,
      transparent 30%,
      rgba(200, 182, 136, 0.05) 50%,
      transparent 70%
    );
    transform: translateX(-100%);
    transition: transform 0.7s ease;
    pointer-events: none;
    z-index: 0;
  }
  .ep-card:hover::before { transform: translateX(100%); }

  /* Ensure all content sits above shimmer */
  .ep-header,
  .ep-stats,
  .ep-table,
  .ep-footer { position: relative; z-index: 1; }

  /* === HEADER === */
  .ep-header {
    padding: 32px 36px 28px;
    text-align: center;
    border-bottom: 1px solid var(--divider);
    background: linear-gradient(180deg, rgba(200,182,136,0.07) 0%, transparent 100%);
  }
  .ep-eyebrow {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 10px;
    opacity: 0.8;
  }
  .ep-title {
    margin: 0;
    font-family: 'EB Garamond', serif;
    font-weight: 700;
    font-size: clamp(22px, 3vw, 32px);
    color: var(--text-hi);
    letter-spacing: 4px;
    text-transform: uppercase;
    line-height: 1;
    transition: color 0.3s ease;
  }
  .ep-card:hover .ep-title { color: #C8B688; }

  .ep-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
  }
  .ep-ornament::before,
  .ep-ornament::after {
    content: '';
    flex: 1;
    max-width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
    opacity: 0.4;
    transition: max-width 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.4s ease;
  }
  .ep-ornament::after {
    background: linear-gradient(90deg, var(--gold), transparent);
  }
  /* Ornament lines extend on hover - matches icon box title underline */
  .ep-card:hover .ep-ornament::before,
  .ep-card:hover .ep-ornament::after {
    max-width: 90px;
    opacity: 0.7;
  }
  .ep-ornament span {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0.6;
  }

  /* === HERO STATS ROW === */
  .ep-stats {
    display: grid;
    grid-template-columns: 1fr 1px 1fr 1px 1fr;
    background: rgba(200,182,136,0.04);
    border-bottom: 1px solid var(--divider);
  }
  .ep-stat {
    padding: 22px 20px;
    text-align: center;
  }
  .ep-stat-value {
    font-family: 'EB Garamond', serif;
    font-size: clamp(20px, 2.6vw, 28px);
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 6px;
  }
  .ep-stat-label {
    font-size: 9.5px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--text-lo);
    font-weight: 500;
  }
  .ep-stat-divider {
    background: var(--divider);
    align-self: stretch;
    margin: 16px 0;
  }

  /* === GRID TABLE === */
  .ep-table {
    display: grid;
    grid-template-columns: 210px 1fr;
  }

  .ep-row { display: contents; }

  .ep-row:hover .ep-cell { background: var(--glass-hover); }

  .ep-cell {
    padding: 16px 28px;
    border-bottom: 1px solid var(--divider);
    font-size: 13.5px;
    line-height: 1.65;
    transition: background 0.22s ease;
    display: flex;
    align-items: center;
  }

  .ep-row:last-child .ep-cell { border-bottom: none; }

  /* Label */
  .ep-cell--label {
    color: var(--gold);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-right: 1px solid var(--divider);
    background: rgba(200,182,136,0.025);
    gap: 10px;
    align-items: flex-start;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .ep-cell--label::before {
    content: '';
    display: block;
    flex-shrink: 0;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gold);
    margin-top: 4px;
    opacity: 0.55;
  }

  /* Value */
  .ep-cell--value {
    color: var(--text-mid);
    font-weight: 400;
    align-items: flex-start;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .ep-cell--value strong { color: var(--text-hi); font-weight: 600; }
  .ep-cell--value em {
    display: block;
    margin-top: 3px;
    font-style: italic;
    font-size: 0.87em;
    color: var(--text-lo);
  }

  /* === FOOTER === */
  .ep-footer {
    padding: 13px 28px;
    border-top: 1px solid var(--divider);
    background: rgba(0,0,0,0.1);
    text-align: center;
    color: var(--text-lo);
    font-size: 10.5px;
    letter-spacing: 0.08em;
  }

  /* ===============================
     MOBILE  <= 620px
  =============================== */
  @media (max-width: 620px) {

    .ep-header { padding: 24px 20px 20px; }

    .ep-stats { grid-template-columns: 1fr; }
    .ep-stat {
      padding: 16px 20px;
      border-bottom: 1px solid var(--divider);
      text-align: left;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .ep-stat:last-child { border-bottom: none; }
    .ep-stat-value { font-size: 22px; margin-bottom: 0; }
    .ep-stat-label { font-size: 9px; }
    .ep-stat-divider { display: none; }

    .ep-table { display: block; }
    .ep-row { display: block; }

    .ep-cell {
      display: block !important;
      border: none !important;
      padding: 0 !important;
      background: transparent !important;
    }

    .ep-row {
      position: relative;
      padding: 14px 18px 14px 22px;
      border-bottom: 1px solid var(--divider);
    }
    .ep-row:last-child { border-bottom: none; }
    .ep-row::before {
      content: '';
      position: absolute;
      left: 0; top: 0; bottom: 0;
      width: 2px;
      background: linear-gradient(to bottom, var(--gold), rgba(200,182,136,0.1));
    }
    .ep-row:hover { background: var(--glass-hover); }

    .ep-cell--label {
      font-size: 9.5px;
      letter-spacing: 0.14em;
      margin-bottom: 4px;
      border-right: none !important;
      background: transparent !important;
      padding-top: 0 !important;
      padding-bottom: 0 !important;
    }
    .ep-cell--label::before { display: none; }

    .ep-cell--value {
      font-size: 14px;
      padding-top: 0 !important;
      padding-bottom: 0 !important;
    }

    .ep-footer { padding: 12px 18px; font-size: 10px; }
  }
