/* ==========================================================================
   AUREA — Sections 2 to 7, Gallery Frames, Interactive Dashboard, Modal
   & Responsive Breakpoints (1440px · 1024px · 768px · 390px)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Section 2A — Platform Header & Interactive Dark Dashboard
   -------------------------------------------------------------------------- */
.platform-section {
  position: relative;
  padding-top: clamp(72px, 8vw, 124px);
  padding-bottom: clamp(48px, 6vw, 88px);
}

.platform-header {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr);
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
  margin-bottom: clamp(36px, 4.4vw, 56px);
}

.platform-header .eyebrow {
  margin-bottom: 14px;
}

.platform-header-copy {
  max-width: 370px;
  justify-self: end;
  padding-bottom: 6px;
}

/* Painting Frame holding the Dark App Window */
.dashboard-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: clamp(58px, 6.8vw, 102px) clamp(20px, 6.2vw, 96px) 0;
  background-color: #C7B9A5;
}

.dashboard-bg {
  position: absolute;
  inset: -7% 0;
  width: 100%;
  height: 114%;
  object-fit: cover;
  object-position: center 42%;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

.dashboard-window-wrap {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin-inline: auto;
}

/* Signature 3 small dots sitting OUTSIDE the dark frame top-left (ref_03) */
.dashboard-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding-left: 2px;
}

.dashboard-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.dashboard-dots span:nth-child(1) {
  background-color: #161616;
}

.dashboard-dots span:nth-child(2) {
  background-color: #545454;
}

.dashboard-dots span:nth-child(3) {
  background-color: #8E8E8E;
}

/* Dark Portfolio Dashboard Window */
.portfolio-dashboard {
  position: relative;
  background-color: var(--dark-bg);
  color: var(--ink-on-dark);
  border-radius: 10px 10px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
  box-shadow: 0 28px 70px rgba(10, 10, 10, 0.5),
    0 2px 0 rgba(255, 255, 255, 0.05) inset;
  overflow: hidden;
}

/* Dashboard Topbar */
.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 50px;
  padding: 0 20px;
  background-color: var(--dark-topbar);
  border-bottom: 1px solid #262628;
}

.dash-topbar-left {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
  min-width: 0;
}

.dash-brand {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}

.dash-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 22px);
}

.dash-nav-btn {
  font-size: 11px;
  color: var(--ink-on-dark-muted);
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.dash-nav-btn:hover,
.dash-nav-btn.is-active {
  color: #FFFFFF;
}

.dash-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.dash-icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #2C2C2F;
  background-color: #171719;
  color: #A0A0A6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.dash-icon-btn:hover {
  border-color: #4A4A4F;
  color: #FFFFFF;
}

.dash-icon-btn svg {
  width: 13px;
  height: 13px;
}

.dash-demo-balance {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-inline: 8px;
  line-height: 1.2;
}

.dash-demo-tag {
  font-size: 9px;
  color: #77777D;
}

.dash-demo-amount {
  font-size: 10.5px;
  font-weight: 500;
  color: #EBEBEF;
  font-variant-numeric: tabular-nums;
}

.dash-wallet-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background-color: #2B2B2E;
  border: 1px solid #3D3D42;
  color: #F4F4F4;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.24s ease, border-color 0.24s ease;
}

.dash-wallet-btn:hover {
  background-color: #3A3A3F;
  border-color: var(--gold-mid);
}

.dash-wallet-btn .btn-dot {
  width: 4px;
  height: 4px;
  background-color: var(--gold-light);
}

/* Dashboard Subheader */
.dash-subheader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.dash-title {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #F4F4F4;
}

.dash-sub-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-pill-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background-color: #19191B;
  border: 1px solid #2A2A2D;
  color: #B4B4BA;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.dash-pill-ctrl:hover {
  border-color: #46464C;
  color: #FFFFFF;
}

.dash-pill-ctrl svg {
  width: 11px;
  height: 11px;
}

/* Dashboard Hero KPI Row */
.dash-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.18fr);
  gap: 24px;
  padding: 20px 24px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.dash-micro-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #707076;
  margin-bottom: 8px;
}

.dash-balance-display {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px;
  font-family: var(--font-serif);
  font-size: clamp(38px, 4.9vw, 74px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums tabular-nums;
}

.dash-val-main {
  color: #FFFFFF;
}

.dash-val-dec {
  color: #4C4C52;
}

.dash-val-unit {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #6E6E74;
  margin-left: 8px;
}

.dash-stats-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.dash-year-tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dash-chip {
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7E7E84;
  background-color: transparent;
  border: 1px solid #262629;
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.dash-chip:hover {
  color: #D6D6DC;
  border-color: #3E3E44;
}

.dash-chip.is-active {
  background-color: #26262A;
  border-color: #46464D;
  color: #FFFFFF;
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.dash-kpi {
  position: relative;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.dash-kpi:first-child {
  padding-left: 0;
  border-left: none;
}

.dash-kpi-row {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 6px;
}

.dash-kpi-val {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.05;
  color: #F5F5F7;
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
}

.kpi-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 5px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.2;
  background-color: rgba(111, 214, 155, 0.12);
  color: var(--accent-positive);
}

/* Dashboard Middle Row (Value Chart + Allocation) */
.dash-mid-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 24px;
  padding: 18px 24px 20px;
}

.dash-chart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.dash-chart-val {
  font-family: var(--font-serif);
  font-size: 23px;
  line-height: 1.05;
  color: #F0F0F2;
  font-variant-numeric: lining-nums tabular-nums;
}

.dash-range-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dash-range-tabs .dash-chip {
  padding: 4px 9px;
  font-size: 8.5px;
}

.value-chart-wrap {
  position: relative;
  width: 100%;
  height: 168px;
}

#value-chart-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  cursor: crosshair;
}

.chart-bar {
  fill: rgba(255, 255, 255, 0.065);
  transition: fill 0.2s ease;
}

.chart-bar.is-highlight {
  fill: rgba(200, 155, 84, 0.22);
}

.chart-area {
  fill: url(#aureaChartGrad);
}

.chart-line {
  fill: none;
  stroke: #C89B54;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-axis-text {
  font-family: var(--font-mono);
  font-size: 8px;
  fill: #66666C;
}

.chart-crosshair {
  stroke: rgba(215, 174, 90, 0.45);
  stroke-width: 1;
  stroke-dasharray: 3 3;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.chart-dot {
  fill: var(--gold-light);
  stroke: #121212;
  stroke-width: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.chart-tooltip {
  position: absolute;
  top: 8px;
  left: 0;
  z-index: 6;
  padding: 6px 10px;
  border-radius: 6px;
  background-color: rgba(20, 20, 22, 0.94);
  border: 1px solid rgba(215, 174, 90, 0.38);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.35;
  color: #F4F4F4;
  pointer-events: none;
  white-space: nowrap;
  transform: translateX(-50%);
}

/* Allocation Stepped Columns */
.dash-alloc-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dash-alloc-title {
  font-size: 13.5px;
  font-weight: 500;
  color: #EAEAEF;
  margin-bottom: 12px;
}

.alloc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 6px;
  height: 168px;
}

.alloc-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  gap: 6px;
}

.alloc-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px;
  font-size: 9.5px;
  white-space: nowrap;
}

.alloc-ticker {
  font-weight: 600;
  color: #EFEFF3;
}

.alloc-name {
  font-size: 8.5px;
  color: #6B6B72;
  margin-left: 3px;
}

.alloc-amount {
  font-family: var(--font-mono);
  font-size: 9px;
  color: #B6B6BC;
  font-variant-numeric: tabular-nums;
}

.alloc-bar-track {
  position: relative;
  width: 100%;
  height: var(--alloc-pct, 50%);
  min-height: 22px;
  transition: height 0.78s var(--ease-expo);
}

.alloc-bar-fill {
  width: 100%;
  height: 100%;
  border-radius: 2px 2px 0 0;
  transform-origin: bottom;
  transition: transform 0.9s var(--ease-expo);
}

.js-ready .portfolio-dashboard:not(.is-revealed) .alloc-bar-fill {
  transform: scaleY(0);
}

.portfolio-dashboard.is-revealed .alloc-bar-fill {
  transform: scaleY(1);
}

.alloc-col--eth .alloc-bar-fill {
  border-top: 2px solid var(--accent-eth);
  background: linear-gradient(180deg, rgba(200, 138, 85, 0.24) 0%, rgba(36, 30, 26, 0.65) 100%);
  transition-delay: 80ms;
}

.alloc-col--btc .alloc-bar-fill {
  border-top: 2px solid var(--accent-btc);
  background: linear-gradient(180deg, rgba(92, 131, 214, 0.24) 0%, rgba(28, 32, 46, 0.72) 100%);
  transition-delay: 180ms;
}

.alloc-col--brl .alloc-bar-fill {
  border-top: 2px solid #7E7E86;
  background: linear-gradient(180deg, rgba(160, 160, 170, 0.16) 0%, rgba(28, 28, 32, 0.7) 100%);
  transition-delay: 280ms;
}

/* Dashboard Bottom Positions Table + Glass Dock */
.dash-bottom {
  position: relative;
  padding: 12px 24px 58px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.dash-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.dash-table-tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dash-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10.5px;
}

.dash-table th {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #636369;
  text-align: left;
  padding: 6px 8px 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.dash-table td {
  padding: 11px 8px 6px 0;
  color: #DCDCE2;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.dash-asset-cell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.dash-asset-cell span {
  font-weight: 400;
  color: #76767C;
}

.dash-pos-val {
  color: var(--accent-positive);
}

.dash-risk-bar {
  display: inline-block;
  width: 44px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, #E2E2E6 0 38%, #343438 38% 100%);
  vertical-align: middle;
}

.dash-action-pill {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #323236;
  background-color: #1A1A1D;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: #C8C8CE;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.dash-action-pill:hover {
  border-color: var(--gold-mid);
  color: #FFFFFF;
}

/* Floating Glassmorphic Dock (ref_03) */
.dash-dock {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 999px;
  background-color: rgba(28, 28, 30, 0.84);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

.dash-dock-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #9A9AA2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dash-dock-btn svg {
  width: 13px;
  height: 13px;
}

.dash-dock-btn:hover,
.dash-dock-btn.is-active {
  background-color: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   2. Section 2B — Two 50/50 Landscape Cards with Double Gallery Frame (ref_04)
   -------------------------------------------------------------------------- */
.landscape-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.landscape-card {
  position: relative;
  min-height: clamp(460px, 46vw, 640px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 3.2vw, 44px);
  background-color: #BFA889;
}

/* Double Gallery Inner Frame (museum white 1px stroke inset 8px) */
.landscape-card::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  pointer-events: none;
  z-index: 6;
}

/* Bottom contrast scrim for legible serif copy */
.landscape-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(16, 14, 12, 0.04) 0%,
    rgba(16, 14, 12, 0.06) 52%,
    rgba(14, 12, 10, 0.72) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.landscape-bg {
  position: absolute;
  inset: -7% 0;
  width: 100%;
  height: 114%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

.landscape-widget-stage {
  position: relative;
  z-index: 4;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 12px 26px;
}

.landscape-copy {
  position: relative;
  z-index: 4;
  max-width: 420px;
}

.landscape-copy .eyebrow {
  margin-bottom: 10px;
}

.landscape-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.1vw, 46px);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

/* Left Card — Interactive Multi-Currency Dark Popover */
.currency-popover {
  width: min(312px, 100%);
  background-color: rgba(18, 18, 19, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 8px;
  box-shadow: 0 28px 62px rgba(0, 0, 0, 0.48);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.currency-item {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 3px;
  color: #B4B4BC;
  text-align: left;
  transition: background-color 0.22s ease, color 0.22s ease;
}

.currency-item:hover {
  background-color: rgba(255, 255, 255, 0.04);
  color: #FFFFFF;
}

.currency-item.is-active {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.12) 100%
  );
  color: #FFFFFF;
}

/* Luminous white side accent bars matching ref_04 */
.currency-item.is-active::before,
.currency-item.is-active::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 70%;
  background-color: #FFFFFF;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.65);
  border-radius: 2px;
}

.currency-item.is-active::before {
  left: 0;
}

.currency-item.is-active::after {
  right: 0;
}

.currency-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.currency-symbol {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.09);
  color: #EAEAEF;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.currency-item.is-active .currency-symbol {
  background-color: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

.currency-code {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.currency-name {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #7D7D85;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.currency-item.is-active .currency-name {
  color: #B8B8C0;
}

.currency-check {
  font-size: 12px;
  color: #FFFFFF;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.2s ease, transform 0.25s var(--ease-expo);
}

.currency-item.is-active .currency-check {
  opacity: 1;
  transform: scale(1);
}

/* Right Card — Interactive BTC Market Widget (GTC / IOC / ALO) */
.market-popover {
  width: min(334px, 100%);
  background-color: rgba(18, 18, 19, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  box-shadow: 0 28px 62px rgba(0, 0, 0, 0.48);
  color: #F4F4F4;
  overflow: hidden;
}

.market-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background-color: #161618;
}

.market-tab {
  position: relative;
  padding: 12px 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #7E7E86;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.market-tab:hover {
  color: #D4D4DC;
}

.market-tab.is-active {
  color: #FFFFFF;
  background-color: #1F1F23;
}

.market-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background-color: rgba(255, 255, 255, 0.72);
}

.market-body {
  padding: 16px 18px 18px;
}

.market-asset-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.market-asset-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.07em;
  color: #E8E8EE;
}

.btc-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background-color: #F29325;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.market-star {
  color: #74747C;
  font-size: 13px;
}

.market-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.market-price {
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums tabular-nums;
}

.market-price-dec {
  color: #54545A;
}

.market-change-wrap {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: #82828A;
}

.market-change-pill {
  padding: 2px 6px;
  border-radius: 3px;
  border-left: 2px solid var(--accent-positive);
  background-color: rgba(111, 214, 155, 0.12);
  color: var(--accent-positive);
}

.market-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 12px;
  padding-top: 14px;
}

.market-metric--full {
  grid-column: 1 / -1;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.market-metric-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6B6B73;
  margin-bottom: 4px;
}

.market-metric-val {
  font-size: 12px;
  font-weight: 500;
  color: #E2E2E8;
  font-variant-numeric: tabular-nums;
}

.market-metric-muted {
  color: #6C6C74;
  font-size: 10.5px;
  margin-left: 4px;
}

/* --------------------------------------------------------------------------
   3. Section 3 — Services Header, Overlapping Scholar & Asymmetric 3-Col Grid
   -------------------------------------------------------------------------- */
.services-section {
  position: relative;
  padding-top: clamp(78px, 9vw, 136px);
  padding-bottom: clamp(64px, 7vw, 108px);
}

.services-header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
  gap: 24px;
}

.services-intro {
  position: relative;
  z-index: 3;
  padding-bottom: clamp(28px, 4vw, 60px);
}

.services-intro .eyebrow {
  margin-bottom: 14px;
}

.services-intro .body-copy {
  max-width: 440px;
  margin-top: 22px;
  margin-bottom: 28px;
}

/* Classical Scholar Overlapping Upper Edge of Row 1 Cards (ref_05) */
.services-scholar-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  margin-top: -28px;
  margin-bottom: -68px;
  pointer-events: none;
}

.services-scholar-img {
  width: clamp(320px, 44vw, 640px);
  max-width: none;
  height: auto;
  user-select: none;
}

/* Asymmetric 3-Column Staggered Services Grid (ref_05 & ref_06) */
.services-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* Desktop staggered placement: Row 1 -> Cols 2 & 3 | Row 2 -> Cols 1 & 2 */
.service-card--01 {
  grid-column: 2;
  grid-row: 1;
}

.service-card--02 {
  grid-column: 3;
  grid-row: 1;
}

.service-card--03 {
  grid-column: 1;
  grid-row: 2;
}

.service-card--04 {
  grid-column: 2;
  grid-row: 2;
}

.service-card {
  position: relative;
  background-color: var(--bg-card);
  border: 1px solid var(--border-card-outer);
  min-height: clamp(440px, 37vw, 540px);
  padding: clamp(26px, 2.4vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.42s var(--ease-expo),
    box-shadow 0.42s var(--ease-expo),
    border-color 0.35s ease;
  perspective: 900px;
}

/* Museum Double Gallery Inner Border */
.service-card::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid var(--border-card-inner);
  pointer-events: none;
  transition: border-color 0.35s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #DCDCDC;
  box-shadow: 0 22px 48px rgba(20, 20, 20, 0.065);
}

.service-card:hover::after {
  border-color: rgba(197, 148, 65, 0.35);
}

.service-card-head {
  position: relative;
  z-index: 2;
}

.service-index {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: #8C8C8C;
  margin-bottom: 12px;
}

.service-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 2.75vw, 42px);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
}

.service-sculpture-wrap {
  position: relative;
  z-index: 2;
  height: clamp(190px, 16vw, 240px);
  margin-block: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-sculpture {
  max-height: 100%;
  max-width: 82%;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  will-change: transform;
  filter: drop-shadow(0 18px 24px rgba(28, 22, 10, 0.12));
  transition: transform 0.25s var(--ease-smooth), filter 0.35s ease;
}

.service-card:hover .service-sculpture {
  filter: drop-shadow(0 24px 32px rgba(28, 22, 10, 0.18));
}

.service-card-foot {
  position: relative;
  z-index: 2;
}

.service-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  color: #242424;
  margin-bottom: 8px;
}

.service-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: #6B6B6B;
  max-width: 310px;
}

/* --------------------------------------------------------------------------
   4. Section 4 — Numbers, Ionic Column & Vertical Odometers (ref_07)
   -------------------------------------------------------------------------- */
.numbers-section {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 9vw, 138px) 0 clamp(72px, 8vw, 120px);
}

.numbers-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 58%);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.numbers-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.column-composition {
  width: 100%;
  max-width: 380px;
  margin-top: clamp(44px, 5.5vw, 84px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Clipped window sitting flush with the Ionic capital abacus */
.column-coin-mask {
  position: relative;
  z-index: 2;
  width: clamp(190px, 21vw, 270px);
  overflow: hidden;
  margin-bottom: -38px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.column-coin-img {
  width: 82%;
  height: auto;
  object-fit: contain;
  user-select: none;
  filter: drop-shadow(0 12px 18px rgba(24, 18, 8, 0.14));
}

.ionic-column-img {
  position: relative;
  z-index: 3;
  width: clamp(220px, 24vw, 330px);
  height: auto;
  user-select: none;
}

.numbers-right {
  padding-top: clamp(0px, 1vw, 14px);
}

/* Signature editorial lead paragraph with first-line text-indent (ref_07) */
.numbers-lead {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
  text-indent: 2.6em;
}

.numbers-indent-block {
  margin-left: clamp(0px, 12%, 124px);
}

.numbers-support {
  max-width: 390px;
  margin-top: 26px;
}

.odometers-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 48px);
  margin-top: clamp(44px, 5.2vw, 68px);
}

.odometer-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.odometer-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   5. Section 5 — Testimonials (Venetian Blinds + Golden Wipe) (ref_08)
   -------------------------------------------------------------------------- */
.testimonials-section {
  position: relative;
  padding-block: clamp(24px, 4vw, 52px) clamp(64px, 7vw, 104px);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: minmax(0, 35%) minmax(0, 65%);
  gap: 14px;
  align-items: stretch;
}

/* Left Square Visual with 5 Venetian Blind Strips */
.testimonial-visual {
  position: relative;
  min-height: clamp(410px, 37vw, 520px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(26px, 2.8vw, 38px);
  background-color: #CFCAC0;
}

.testimonial-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    180deg,
    rgba(16, 16, 16, 0.02) 45%,
    rgba(14, 14, 14, 0.72) 100%
  );
  pointer-events: none;
}

.testimonial-visual::after {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.36);
  pointer-events: none;
}

.testimonial-visual-copy {
  position: relative;
  z-index: 4;
}

.testimonial-visual-copy .eyebrow {
  margin-bottom: 10px;
}

.testimonial-visual-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 2.7vw, 40px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

/* Right White Editorial Quote Card */
.testimonial-card {
  position: relative;
  background-color: var(--bg-card);
  border: 1px solid var(--border-card-outer);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid var(--border-card-inner);
  pointer-events: none;
}

.testimonial-main {
  position: relative;
  z-index: 2;
  flex: 1;
  padding: clamp(32px, 4.2vw, 58px) clamp(28px, 4vw, 56px) clamp(28px, 3.4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-mark {
  position: absolute;
  top: clamp(22px, 2.8vw, 34px);
  left: clamp(22px, 2.8vw, 36px);
  font-family: var(--font-serif);
  font-size: clamp(74px, 7.2vw, 114px);
  line-height: 0.75;
  color: #E2E2E2;
  user-select: none;
  pointer-events: none;
}

.testimonial-content {
  margin-left: clamp(0px, 14%, 132px);
  max-width: 560px;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.75vw, 40px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.testimonial-body {
  margin-top: 20px;
  font-size: 13.5px;
  line-height: 1.56;
  color: #6B6B6B;
  max-width: 480px;
  transition: opacity 0.28s ease;
}

.testimonial-meta-row {
  margin-top: clamp(26px, 3vw, 38px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.testimonial-author-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #DFDFDF;
  flex-shrink: 0;
}

.testimonial-author {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-primary);
  line-height: 1.25;
}

.testimonial-role {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 2px;
}

.carousel-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.carousel-index {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: #8A8A8A;
  margin-right: 4px;
}

.carousel-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #DEDEDE;
  background-color: #FFFFFF;
  color: var(--ink-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background-color 0.24s var(--ease-expo),
    border-color 0.24s var(--ease-expo),
    color 0.24s var(--ease-expo),
    transform 0.24s var(--ease-expo);
}

.carousel-btn:hover {
  background-color: var(--ink-primary);
  border-color: var(--ink-primary);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Bottom Partner Logo Bar inside Testimonial Card */
.testimonial-logos {
  position: relative;
  z-index: 2;
  border-top: 1px solid #EAEAEA;
  padding: 20px clamp(20px, 3vw, 36px);
  overflow: hidden;
}

.testimonial-logos-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.testimonial-logos-row .partner-logo svg {
  height: 19px;
}

/* --------------------------------------------------------------------------
   6. Section 6 — Final CTA + Stone Arch & Classical Hand (ref_09)
   -------------------------------------------------------------------------- */
.cta-section {
  position: relative;
  overflow: hidden;
  min-height: clamp(540px, 55vw, 760px);
  display: flex;
  align-items: center;
  background-color: var(--bg-page);
}

.cta-inner {
  position: relative;
  z-index: 4;
  padding-top: clamp(72px, 8vw, 118px);
  padding-bottom: clamp(92px, 11vw, 152px);
}

.cta-copy {
  max-width: 540px;
}

.cta-copy .eyebrow {
  margin-bottom: 14px;
}

.cta-copy .body-copy {
  max-width: 390px;
  margin-top: 22px;
  margin-bottom: 30px;
}

/* Two-Layer Sculptural Art Composition Sitting Flush on Footer Edge */
.cta-art-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.cta-arch-img {
  position: absolute;
  right: 0;
  bottom: -6px;
  z-index: 2;
  width: clamp(460px, 68vw, 1020px);
  max-width: none;
  height: auto;
  user-select: none;
}

.cta-hand-img {
  position: absolute;
  right: -1%;
  top: auto;
  bottom: clamp(190px, 24vw, 352px);
  z-index: 3;
  width: clamp(300px, 43vw, 630px);
  max-width: none;
  height: auto;
  user-select: none;
  filter: drop-shadow(0 18px 28px rgba(24, 18, 10, 0.14));
}

/* --------------------------------------------------------------------------
   7. Section 7 — Dark Footer (#121212) (ref_10)
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 5;
  background-color: var(--dark-bg);
  color: var(--ink-on-dark);
  padding-top: clamp(56px, 6vw, 84px);
  padding-bottom: 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.95fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.1vw, 44px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #F6F6F6;
  margin-top: 22px;
  margin-bottom: 30px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.footer-col-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #6E6E74;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-links button {
  font-size: 13px;
  color: #D2D2D8;
  text-align: left;
  transition: color 0.22s ease, transform 0.22s var(--ease-expo);
  display: inline-block;
}

.footer-links a:hover,
.footer-links button:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}

/* 5 Equal-Width Social Pill Buttons (ref_10) */
.footer-social-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(64px, 7.5vw, 114px);
}

.social-pill {
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--dark-border);
  background-color: transparent;
  color: #D4D4DA;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: border-color 0.28s var(--ease-expo),
    background-color 0.28s var(--ease-expo),
    color 0.28s var(--ease-expo),
    transform 0.28s var(--ease-expo);
}

.social-pill:hover {
  border-color: rgba(215, 174, 90, 0.58);
  background-color: rgba(255, 255, 255, 0.045);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.social-pill .btn-dot {
  width: 3.5px;
  height: 3.5px;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.065);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #6B6B72;
}

.footer-bottom-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   8. Interactive Modal (#aurea-modal)
   -------------------------------------------------------------------------- */
.aurea-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-expo), visibility 0.3s;
}

.aurea-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(12, 12, 14, 0.66);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  z-index: 2;
  width: min(500px, 100%);
  background-color: var(--bg-card);
  border: 1px solid var(--border-card-outer);
  padding: clamp(28px, 3.6vw, 42px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.36);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.38s var(--ease-expo);
}

.modal-dialog::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--border-card-inner);
  pointer-events: none;
}

.aurea-modal.is-open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #E2E2E2;
  color: var(--ink-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  background-color: var(--ink-primary);
  border-color: var(--ink-primary);
  color: #FFFFFF;
}

.modal-body-inner {
  position: relative;
  z-index: 2;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.4vw, 42px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
  margin-top: 10px;
}

.modal-desc {
  margin-top: 10px;
  margin-bottom: 24px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  background-color: #F6F6F5;
  border: 1px solid #DFDFDD;
  border-radius: 3px;
  font-size: 13.5px;
  color: var(--ink-primary);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--gold-mid);
  background-color: #FFFFFF;
}

.modal-form .btn-pill {
  width: 100%;
  margin-top: 6px;
  padding-block: 14px;
}

.modal-success {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-block: 18px 8px;
}

.modal-success[hidden] {
  display: none;
}

.modal-success-badge {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background-color: rgba(197, 148, 65, 0.14);
  border: 1px solid rgba(197, 148, 65, 0.45);
  color: var(--gold-deep);
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-success-title {
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 1.08;
  color: var(--ink-primary);
  margin-bottom: 10px;
}

.modal-success .btn-pill {
  margin-top: 22px;
}

/* --------------------------------------------------------------------------
   9. Responsive Layouts (1024px · 768px · 390px)
   -------------------------------------------------------------------------- */
@media (max-width: 1120px) {
  .dash-nav {
    display: none;
  }

  .dash-hero-row,
  .dash-mid-row {
    grid-template-columns: 1fr;
  }

  .dash-kpis {
    gap: 16px;
  }

  .services-scholar-wrap {
    margin-bottom: -64px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-columns {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .nav-inner {
    grid-template-columns: 1fr auto;
  }

  .hero-hand {
    width: clamp(190px, 34vw, 310px);
  }

  .hero-hand--left {
    left: -5%;
    top: 120px;
  }

  .hero-hand--right {
    right: -5%;
    top: 150px;
  }

  .platform-header {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .platform-header-copy {
    justify-self: start;
    max-width: 520px;
  }

  .landscape-grid {
    grid-template-columns: 1fr;
  }

  .services-header {
    grid-template-columns: 1fr;
  }

  .services-scholar-wrap {
    margin: -10px auto -28px;
    justify-content: center;
  }

  .services-scholar-img {
    width: min(440px, 92vw);
  }

  /* Collapse asymmetric 3-col grid cleanly to 2 columns */
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card--01,
  .service-card--02,
  .service-card--03,
  .service-card--04 {
    grid-column: auto;
    grid-row: auto;
  }

  .numbers-grid {
    grid-template-columns: 1fr;
  }

  .numbers-left {
    order: 2;
  }

  .numbers-right {
    order: 1;
  }

  .numbers-indent-block {
    margin-left: 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-visual {
    min-height: 360px;
  }

  .testimonial-content {
    margin-left: 0;
    padding-top: 38px;
  }

  .cta-section {
    min-height: 680px;
    align-items: flex-start;
  }

  .cta-inner {
    padding-top: 68px;
    padding-bottom: 340px;
  }

  .cta-arch-img {
    width: min(680px, 118vw);
    right: -6%;
    bottom: -6px;
  }

  .cta-hand-img {
    width: min(440px, 76vw);
    top: auto;
    bottom: 242px;
    right: -8%;
  }

  .footer-social-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 100svh;
  }

  .hero-hand {
    width: 138px;
    opacity: 0.94;
  }

  .hero-hand--left {
    left: -14%;
    top: 108px;
  }

  .hero-hand--right {
    right: -14%;
    top: 100px;
  }

  .hero-coins-stage {
    width: 74vw;
    height: 146px;
    margin-top: 16px;
  }

  .hero-copy {
    margin-top: -2px;
  }

  .dashboard-stage {
    padding: 36px 12px 0;
  }

  .dash-topbar {
    padding: 10px 14px;
    flex-wrap: wrap;
  }

  .dash-demo-balance,
  .dash-icon-btn {
    display: none;
  }

  .dash-subheader,
  .dash-hero-row,
  .dash-mid-row,
  .dash-bottom {
    padding-inline: 14px;
  }

  .dash-bottom {
    padding-bottom: 18px;
  }

  .dash-kpi-row {
    flex-wrap: wrap;
  }

  .dash-kpis {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dash-kpi {
    padding-left: 0;
    border-left: none;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .dash-kpi:first-child {
    padding-top: 0;
    border-top: none;
  }

  .dash-dock {
    position: static;
    transform: none;
    margin: 14px auto 0;
    display: flex;
    width: max-content;
  }

  .landscape-card {
    min-height: 490px;
    padding: 24px 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 410px;
  }

  .numbers-lead {
    text-indent: 1.4em;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
  }

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

  .footer-social-grid .social-pill:last-child {
    grid-column: 1 / -1;
  }

  .cta-inner {
    padding-bottom: 310px;
  }

  .cta-arch-img {
    width: 125vw;
    right: -12%;
    bottom: -6px;
  }

  .cta-hand-img {
    width: 76vw;
    top: auto;
    bottom: 46.5vw;
    right: -11.5%;
  }
}
