/* Apex Horizon Capital — public site */
:root {
  --navy: #071b2d;
  --navy-2: #102f46;
  --teal: #00a99d;
  --teal-deep: #00897f;
  --gold: #c9a45c;
  --bg: #f5f7fa;
  --card: #ffffff;
  --text: #14283d;
  --muted: #718096;
  --line: rgba(20, 40, 61, 0.1);
  --line-strong: rgba(20, 40, 61, 0.16);
  --shadow: 0 16px 40px rgba(7, 27, 45, 0.08);
  --shadow-sm: 0 8px 24px rgba(7, 27, 45, 0.06);
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --nav-h: 84px;
  --bar-h: 40px;
  --header-h: calc(var(--nav-h) + var(--bar-h));
  --ease: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); color-scheme: light; }

html,
body,
button,
input,
select,
textarea,
summary {
  font-family: var(--font);
}

body:not(.admin-dash-body):not(.member-dashboard) {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image: none;
  overflow-x: clip;
  --bs-body-color: var(--text);
  --bs-body-bg: var(--bg);
  --bs-emphasis-color: var(--text);
  --bs-heading-color: var(--text);
  --bs-secondary-color: var(--muted);
  --bs-secondary-bg: var(--card);
  --bs-border-color: var(--line);
  --bs-link-color: var(--teal-deep);
  --bs-link-hover-color: var(--navy);
}

body.nav-lock { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

p { color: var(--muted); }

a {
  color: var(--teal-deep);
  text-decoration: none;
  transition: color var(--ease);
}

a:hover { color: var(--navy); }

.container-narrow {
  width: min(720px, calc(100% - 2rem));
  margin-inline: auto;
}

.container-wide {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.section { padding: clamp(3.2rem, 6vw, 5.2rem) 0; }

.section-kicker {
  margin: 0 0 0.7rem;
  color: var(--teal-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-kicker--light { color: var(--gold); }

.section-title,
.folio-block h2,
.page-hero h1,
.auth-copy h1 {
  font-family: var(--font);
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: auto;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.topbar {
  background: #0e4f86;
  color: #fff;
}

.topbar-inner {
  min-height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
}

.topbar-address {
  margin: 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-address i { color: #d7efe9; flex-shrink: 0; }

.topbar-address span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-address:has(span:empty) { display: none; }

.topbar-social {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 0;
}

.topbar .social-link {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  animation: iconPop 0.5s var(--ease) backwards;
  transition: transform var(--ease), background var(--ease), color var(--ease);
}

.topbar .social-link:nth-child(2) { animation-delay: 0.05s; }
.topbar .social-link:nth-child(3) { animation-delay: 0.1s; }
.topbar .social-link:nth-child(4) { animation-delay: 0.15s; }
.topbar .social-link:nth-child(5) { animation-delay: 0.2s; }
.topbar .social-link:nth-child(6) { animation-delay: 0.25s; }
.topbar .social-link:nth-child(7) { animation-delay: 0.3s; }
.topbar .social-link:nth-child(8) { animation-delay: 0.35s; }

.topbar .social-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: var(--nav-h);
  padding: 0.7rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  background: #fff;
  border-radius: 14px;
  padding: 0.28rem 0.55rem;
  box-shadow: 0 8px 22px rgba(7, 27, 45, 0.12);
  transition: background var(--ease), box-shadow var(--ease), padding var(--ease);
}

.brand:hover { color: inherit; }

.site-header .brand-logo {
  height: 46px !important;
  width: auto !important;
  max-width: min(220px, 42vw);
}

.site-header.is-scrolled,
body.header-solid .site-header,
.site-header.is-menu-open {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(7, 27, 45, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header.is-scrolled .brand,
body.header-solid .site-header .brand,
.site-header.is-menu-open .brand {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.nav-desktop {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
}

.nav-desktop a {
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  letter-spacing: -0.01em;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.28rem;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: #fff;
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after { transform: scaleX(1); }

.site-header.is-scrolled .nav-desktop a,
body.header-solid .site-header .nav-desktop a,
.site-header.is-menu-open .nav-desktop a {
  color: var(--text);
}

.site-header.is-scrolled .nav-desktop a:hover,
.site-header.is-scrolled .nav-desktop a.active,
body.header-solid .site-header .nav-desktop a:hover,
body.header-solid .site-header .nav-desktop a.active {
  color: var(--navy);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  padding: 0;
}

.site-header.is-scrolled .nav-toggle,
body.header-solid .site-header .nav-toggle,
.site-header.is-menu-open .nav-toggle {
  color: var(--navy);
  border-color: var(--line);
  background: #fff;
}

.nav-toggle-box {
  width: 18px;
  height: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle-box span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--ease), opacity var(--ease);
}

.site-header.is-menu-open .nav-toggle-box span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-header.is-menu-open .nav-toggle-box span:nth-child(2) { opacity: 0; }
.site-header.is-menu-open .nav-toggle-box span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  transition: max-height 0.35s ease;
}

.mobile-nav.open { max-height: 32rem; }

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  padding-bottom: 0.4rem;
}

.mobile-nav a.mobile-link {
  color: var(--text);
  font-weight: 600;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.mobile-nav a.mobile-link:hover,
.mobile-nav a.mobile-link.active { color: var(--teal-deep); }

.mobile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  padding: 1rem 0 0.8rem;
}

.mobile-actions .btn { width: 100%; }

@media (min-width: 992px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease), border-color var(--ease);
}

.btn:hover { transform: translateY(-4px); }
.btn:active { transform: translateY(0) scale(0.99); }

.btn-gold,
.btn-teal {
  background: var(--teal) !important;
  color: #fff !important;
  border: 1px solid var(--teal) !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 24px rgba(0, 169, 157, 0.24) !important;
}

.btn-gold:hover,
.btn-teal:hover {
  background: var(--teal-deep) !important;
  border-color: var(--teal-deep) !important;
  color: #fff !important;
  box-shadow: 0 16px 32px rgba(0, 169, 157, 0.34) !important;
}

.btn-outline-light {
  background: transparent !important;
  color: var(--navy) !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

.btn-outline-light:hover {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
  color: #fff !important;
}

.has-dark-hero .site-header:not(.is-scrolled):not(.is-menu-open) .btn-outline-light {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  background: transparent !important;
}

.has-dark-hero .site-header:not(.is-scrolled):not(.is-menu-open) .btn-outline-light:hover {
  background: #fff !important;
  color: var(--navy) !important;
  border-color: #fff !important;
}

.btn-nav { min-height: 42px; padding: 0.55rem 1.05rem; }

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
}

.btn-light-solid {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.btn-light-solid:hover {
  background: #f4f7f8;
  color: var(--navy);
}

.hide-below-lg { display: none !important; }

@media (min-width: 992px) {
  .hide-below-lg { display: inline-flex !important; }
}

/* ——— Hero ——— */
.folio-open {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2.2rem) 0 4.5rem;
  color: #fff;
  background: #071b2d url("../../Content/media/photos/hero-skyline.jpg") center 40% / cover no-repeat;
  overflow: hidden;
}

.folio-open::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(7, 27, 45, 0.94) 0%, rgba(7, 27, 45, 0.84) 46%, rgba(16, 47, 70, 0.72) 100%),
    radial-gradient(ellipse at 88% 10%, rgba(0, 169, 157, 0.32), transparent 42%);
  z-index: 0;
}

.folio-open::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 72%);
  z-index: 0;
  pointer-events: none;
}

.hero-fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.orb-a {
  width: 280px;
  height: 280px;
  right: -40px;
  top: 18%;
  background: radial-gradient(circle, rgba(0, 169, 157, 0.35), transparent 68%);
  animation: floaty 9s ease-in-out infinite;
}

.orb-b {
  width: 180px;
  height: 180px;
  left: 42%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(201, 164, 92, 0.22), transparent 70%);
  animation: floaty 11s ease-in-out infinite reverse;
}

.folio-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  width: min(1180px, calc(100% - 2rem));
  padding: 0;
}

.hero-copy > * { animation: fadeUp 0.85s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.24s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.36s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.48s; }

.hero-brand {
  margin: 0 0 0.45rem;
  color: var(--gold);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.folio-kicker {
  margin: 0 0 1.1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.folio-kicker:empty { display: none; }

.folio-open h1 {
  margin: 0;
  max-width: 15em;
  color: #fff;
  font-size: clamp(2.45rem, 4.2vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.folio-open h1 span {
  display: block;
  margin-top: 0.2rem;
  color: #d8c28a;
  font-weight: 700;
}

.folio-lead {
  max-width: 36rem;
  margin: 1.25rem 0 0;
  color: rgba(245, 247, 250, 0.82);
  font-size: 1.05rem;
  line-height: 1.65;
}

.folio-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin: 1.8rem 0 0;
}

.hero-visual {
  animation: fadeRight 0.95s 0.2s var(--ease) both;
  perspective: 1200px;
}

.hero-card {
  background: #0c2438;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
  transform: rotateY(-7deg) rotateX(3deg);
  transition: transform 0.5s var(--ease);
}

.hero-visual:hover .hero-card {
  transform: rotateY(-3deg) rotateX(1deg) translateY(-4px);
}

.hero-card-photo {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center;
}

.hero-chart {
  position: relative;
  margin: 0;
  background: linear-gradient(180deg, #12344c 0%, #0c2438 100%);
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 0.9rem 1rem 0.35rem;
  box-shadow: none;
}

.hero-chart-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 0.15rem 0.35rem 0.35rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-chart svg { width: 100%; height: auto; display: block; }

.chart-grid line {
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1;
}

.chart-line {
  fill: none;
  stroke: #5ee0d4;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 760;
  stroke-dashoffset: 760;
  animation: draw 2.4s 0.3s ease forwards;
}

.chart-line-gold {
  stroke: var(--gold);
  stroke-width: 2;
  opacity: 0.85;
  animation-delay: 0.55s;
}

/* ——— Home sections ——— */
.folio-block { padding: clamp(3.4rem, 6vw, 5.4rem) 0; }

.folio-block h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  font-weight: 800;
}

.folio-intro {
  margin: 0 0 2rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.steps-band {
  background:
    radial-gradient(ellipse 50% 80% at 0% 0%, rgba(0, 169, 157, 0.08), transparent 60%),
    linear-gradient(180deg, #f8fbfb 0%, #f5f7fa 100%);
}

.diff-band { background: #fff; }

.plans-band {
  background: #f5f7fa;
  color: var(--text);
}

.plans-band h2 { color: var(--text); }
.plans-band .folio-intro { color: var(--muted); }

.folio-steps {
  perspective: 1200px;
  list-style: none;
  margin: 0;
  padding: 1.4rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: step;
  position: relative;
}

.folio-steps::before {
  content: "";
  position: absolute;
  top: 1.55rem;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 169, 157, 0.7), rgba(201, 164, 92, 0.8), transparent);
}

.folio-steps li {
  position: relative;
  counter-increment: step;
  padding: 2.1rem 1.25rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.folio-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -16px;
  left: 1.15rem;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 3px solid #f5f7fa;
  z-index: 1;
}

.folio-steps li:hover {
  transform: translateY(-8px) rotateX(4deg);
  border-color: rgba(0, 169, 157, 0.35);
  box-shadow: 0 22px 40px rgba(7, 27, 45, 0.12);
}

.folio-steps h3,
.folio-notes h3 {
  margin: 0.85rem 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.folio-steps p,
.folio-notes p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.folio-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.folio-notes article {
  padding: 1.5rem 1.35rem 1.45rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease);
}

.folio-notes article:nth-child(1) {
  background: linear-gradient(180deg, #ffffff 0%, #f3fbfa 100%);
}

.folio-notes article:nth-child(2) {
  background: #fff;
}

.folio-notes article:nth-child(3) {
  background: linear-gradient(180deg, #ffffff 0%, #fbf7ef 100%);
}

.folio-notes article:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.mark-ico,
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(0, 169, 157, 0.12);
  color: var(--teal-deep);
  margin-bottom: 0.15rem;
}

.folio-notes article:nth-child(2) .mark-ico { background: rgba(16, 47, 70, 0.08); }
.folio-notes article:nth-child(3) .mark-ico { background: rgba(201, 164, 92, 0.18); }

.mark-ico,
.plan-ico {
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
}

.folio-steps li:hover .mark-ico,
.folio-notes article:hover .mark-ico,
.glass-card:hover .mark-ico,
.desk-plan:hover .plan-ico,
.read-grid article:hover .mark-ico {
  transform: rotateY(360deg);
}

.mark-ico img,
.feature-icon img,
.plan-ico {
  width: 20px;
  height: 20px;
  display: block;
}

.feature-icon i { font-size: 1rem; color: var(--teal-deep); }

/* ——— Plans ——— */
.package-stage {
  margin-top: 0.4rem;
  padding: 0;
  background: transparent;
}

.plans-band .package-stage {
  margin-top: 0;
  padding: 0;
  background: transparent;
}

.desk-plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.desk-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.55rem 1.25rem 1.3rem;
  background: #fff;
  border: 1px solid rgba(20, 40, 61, 0.08);
  border-radius: 22px;
  color: var(--text);
  box-shadow: 0 10px 28px rgba(20, 40, 61, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.desk-plan--focus {
  border-color: #c4b5fd;
  box-shadow: 0 0 0 1px #c4b5fd;
}

.desk-plan:hover {
  border-color: #c4b5fd;
  box-shadow: 0 24px 48px rgba(124, 92, 191, 0.2);
}

.desk-plan:hover .plan-price,
.desk-plan:hover .plan-period { color: #000; }

.desk-plan:hover .plan-select {
  background: #7c3aed;
  color: #fff;
}

.desk-plan h3 {
  margin: 0 0 0.85rem;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.plan-price {
  display: flex;
  align-items: flex-start;
  gap: 0.1rem;
  margin: 0 0 0.9rem;
  color: #000;
  line-height: 0.9;
}

.plan-currency {
  margin-top: 0.35rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.plan-amount {
  font-size: clamp(2.15rem, 2.6vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.plan-period {
  align-self: flex-end;
  margin: 0 0 0.28rem 0.15rem;
  color: #000;
  font-size: 0.92rem;
  font-weight: 600;
}

.plan-blurb {
  margin: 0 0 1.05rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.plan-features-label {
  margin: 0 0 0.4rem;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 700;
}

.plan-features {
  margin: 0 0 1.15rem;
  padding-left: 1.15rem;
  color: #4a5568;
  font-size: 0.9rem;
  line-height: 1.45;
}

.plan-features li + li { margin-top: 0.28rem; }

.plan-select {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: auto;
  border-radius: 999px;
  background: #b794f4;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease;
}

.plan-select:hover {
  background: #a78bfa;
  color: #fff;
}

.desk-plan--focus .plan-select { background: #c4b5fd; color: #241438; }
.desk-plan--focus .plan-select:hover { background: #d4c4fd; color: #241438; }

.plan-note {
  margin: 0.85rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.plan-posted {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0.7rem 0 0;
  border-top: 1px solid var(--line);
}

.plan-posted li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  padding: 0.32rem 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.plan-posted strong { color: var(--text); font-weight: 700; }

@media (min-width: 1200px) {
  .desk-plans { padding-top: 0.85rem; }
  .desk-plan--focus:hover {
    box-shadow: 0 26px 50px rgba(124, 92, 191, 0.24);
  }
}

/* ——— Inner pages ——— */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 3.2rem) 0 3.2rem;
  color: #fff;
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(0, 169, 157, 0.28), transparent 55%),
    linear-gradient(115deg, rgba(7, 27, 45, 0.94), rgba(16, 47, 70, 0.9)),
    url("../../Content/media/photos/hero-skyline.jpg") center 30% / cover no-repeat;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(90deg, transparent, #000 40%, #000);
  pointer-events: none;
}

.page-hero .container-wide { position: relative; z-index: 1; }

.page-hero .eyebrow,
.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 0;
  max-width: 16em;
  color: #fff;
  font-size: clamp(2.2rem, 4.4vw, 3.5rem);
  font-weight: 800;
}

.page-hero + .section { padding-top: clamp(2.2rem, 4vw, 3.2rem) !important; }

.page-hero .lead {
  margin: 0.9rem 0 0;
  max-width: 38rem;
  color: rgba(245, 247, 250, 0.8);
  font-size: 1.05rem;
}

.page-figure,
.folio-figure { margin: 0; }

.page-figure img,
.folio-figure img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.page-figure--wide { margin: 0 0 1.6rem; }

.page-figure--wide img {
  height: min(340px, 46vw);
  border-radius: 20px;
}

.glass-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.45rem 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.glass-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 169, 157, 0.25);
}

.glass-card.legal-copy:hover { transform: none; }

.glass-card h2,
.glass-card h3,
.sara-card h2 {
  font-family: var(--font) !important;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.glass-card h3 { margin: 0 0 0.45rem; font-size: 1.12rem; }

.glass-card p,
.legal-copy,
.legal-copy p {
  color: #3d5166;
  font-size: 0.98rem;
  line-height: 1.7;
}

.legal-copy p + p { margin-top: 0.85rem; }

.text-link {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.glass-card iframe {
  width: 100%;
  border: 0;
  border-radius: 14px;
  margin-top: 1rem;
}

/* ——— CTA ——— */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(3.4rem, 7vw, 5.2rem) 0;
  text-align: center;
  background: linear-gradient(115deg, #071b2d 0%, #102f46 48%, #0c7c74 100%);
  color: #fff;
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-band::before {
  width: 320px;
  height: 320px;
  right: -80px;
  top: -120px;
  background: radial-gradient(circle, rgba(0, 169, 157, 0.35), transparent 68%);
}

.cta-band::after {
  width: 220px;
  height: 220px;
  left: -60px;
  bottom: -90px;
  background: radial-gradient(circle, rgba(201, 164, 92, 0.22), transparent 70%);
}

.cta-band .container-wide { position: relative; z-index: 1; }

.cta-band h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}

.cta-band p {
  margin: 0.8rem auto 0;
  max-width: 36rem;
  color: rgba(245, 247, 250, 0.8);
}

.cta-band .folio-actions { justify-content: center; }

/* ——— Footer ——— */
.site-footer {
  margin-top: auto;
  background:
    radial-gradient(ellipse 40% 80% at 0% 100%, rgba(0, 169, 157, 0.16), transparent 55%),
    #071b2d;
  color: rgba(245, 247, 250, 0.72);
  padding-top: 3.4rem;
}

.site-footer a { color: rgba(245, 247, 250, 0.78); }
.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.1fr;
  gap: 2rem 1.5rem;
  padding-bottom: 2.4rem;
}

.footer-brand .brand {
  background: #fff;
  border-radius: 14px;
  padding: 0.55rem 0.7rem;
  margin-bottom: 1rem;
  box-shadow: none;
}

.site-footer .brand-logo {
  height: 48px !important;
  width: auto !important;
  max-width: min(240px, 70vw);
}

.footer-brand p {
  margin: 0;
  max-width: 26rem;
  color: rgba(245, 247, 250, 0.68);
  font-size: 0.92rem;
}

.footer-col h4 {
  margin: 0 0 0.9rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li + li { margin-top: 0.45rem; }
.footer-col li,
.footer-col a { font-size: 0.92rem; color: rgba(245, 247, 250, 0.72); }
.footer-col a:hover { color: var(--gold); }

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-social:empty { display: none; }

.social-link {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.social-link:hover {
  color: var(--navy);
  background: var(--gold);
  border-color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 0 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(245, 247, 250, 0.55);
  font-size: 0.82rem;
}

/* ——— Auth ——— */
.auth-stage {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.6rem) 0 3.5rem;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: stretch;
}

.auth-copy {
  background: linear-gradient(165deg, #071b2d 0%, #102f46 70%, #0d5550 130%);
  color: #fff;
  border-radius: 24px;
  padding: clamp(1.6rem, 3vw, 2.5rem);
  min-height: 100%;
  box-shadow: var(--shadow);
}

.auth-kicker {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.auth-copy h1 {
  margin: 0;
  max-width: 12ch;
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.auth-copy > p {
  margin: 1rem 0 0;
  max-width: 34rem;
  color: rgba(245, 247, 250, 0.78);
}

.auth-points {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.auth-points li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 0.92rem;
}

.auth-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 164, 92, 0.18);
  flex-shrink: 0;
}

.auth-card,
.auth-wrap.sara-card,
.sara-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.6rem 1.4rem 1.35rem;
  box-shadow: var(--shadow);
}

.auth-card { position: relative; overflow: hidden; }

.auth-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.auth-wrap {
  max-width: 480px;
  margin: 1rem auto 2rem;
}

.auth-wrap h1 {
  margin: 0 0 1rem;
  font-size: 1.8rem;
  font-weight: 800;
}

.auth-field { margin-bottom: 0.9rem; }

.auth-field > label,
.sara-card > label,
.auth-wrap > label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.auth-field > input[type="checkbox"] + label {
  display: inline;
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.auth-field:has(> input[type="checkbox"]) {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.auth-note {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.auth-card .auth-submit,
.auth-card .btn-gold,
.auth-wrap .btn-gold {
  width: 100%;
  margin-top: 0.25rem;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 1rem 0 0;
  font-size: 0.88rem;
}

.auth-links a { color: var(--teal-deep); font-weight: 700; }
.auth-links a:hover { color: var(--navy); }

.form-control,
.form-select,
textarea.form-control {
  width: 100%;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  min-height: 46px;
  padding: 0.65rem 0.85rem;
  font-size: 0.95rem;
  box-shadow: none;
}

textarea.form-control { min-height: 140px; resize: vertical; }

.form-control:focus,
.form-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 169, 157, 0.15);
  outline: none;
  background: #fff;
  color: var(--text);
}

body.header-solid { padding-top: var(--header-h); }

/* ——— Back to top ——— */
.to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 900;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--ease), transform var(--ease), background var(--ease);
}

.to-top.is-on {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.to-top:hover { background: var(--teal-deep); }

/* ——— Imagery and depth ——— */
.story-band { background: #fff; }

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.4rem, 3vw, 2.8rem);
  align-items: center;
}

.frame-3d {
  perspective: 1100px;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 18px 24px 46px rgba(7, 27, 45, 0.16);
}

.frame-3d img {
  width: 100%;
  transform: scale(1.08) rotateY(-8deg) rotateX(3deg);
  transform-origin: center;
  transition: transform 0.5s var(--ease);
  box-shadow: none;
}

.frame-3d:hover img {
  transform: scale(1.12) rotateY(-2deg) rotateX(1deg);
}

.story-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.story-points li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 0.8rem;
  align-items: start;
}

.story-points img {
  width: 46px;
  height: 46px;
  padding: 0.7rem;
  box-sizing: border-box;
  background: rgba(0, 169, 157, 0.12);
  border-radius: 14px;
}

.story-points strong {
  display: block;
  color: var(--text);
  font-size: 0.98rem;
}

.story-points span {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.gallery-band {
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
}

.gallery-grid,
.read-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.read-grid { margin-top: 1.4rem; }
.read-grid--intro { margin: 0 0 1.4rem; }

.tilt-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.tilt-card img,
.page-figure img,
.hero-card-photo {
  transition: transform 0.7s var(--ease);
}

.tilt-card:hover img,
.page-figure:hover img,
.hero-card:hover .hero-card-photo {
  transform: scale(1.1);
}

.tilt-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.tilt-card div { padding: 1.1rem 1.15rem 1.25rem; }

.tilt-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.tilt-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.tilt-card:hover {
  transform: perspective(900px) translateY(-8px) rotateX(4deg) rotateY(-5deg);
  box-shadow: 0 24px 44px rgba(7, 27, 45, 0.14);
}

.desk-explainer { margin-top: clamp(2.4rem, 5vw, 3.6rem); }

.desk-explainer > div:first-child { max-width: 40rem; margin-bottom: 1.2rem; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 1.25rem;
  align-items: start;
}

.contact-aside,
.contact-form,
.desk-plan,
.tilt-card,
.glass-card,
.folio-steps li,
.story-grid > * {
  min-width: 0;
}

.contact-map-wrap { margin-top: 2.4rem; }
.contact-map-wrap h2 { margin: 0.2rem 0 1rem; }

.contact-map {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #e7eef6;
  box-shadow: var(--shadow-sm);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.contact-figure { margin: 0 0 1rem; }

.contact-figure img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.contact-form .btn { width: 100%; }

.plan-note,
.tilt-card p,
.glass-card p,
.folio-lead,
.page-hero .lead {
  overflow-wrap: break-word;
}

.folio-notes article,
.glass-card,
.desk-plan {
  transform-style: preserve-3d;
}

/* ——— Reveal ——— */
.js .reveal { opacity: 0; }

.js .reveal.is-in {
  opacity: 1;
  animation: fadeUp 0.85s var(--ease);
}

.js .reveal.reveal-left.is-in { animation-name: fadeLeft; }
.js .reveal.reveal-right.is-in { animation-name: fadeRight; }

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 4000;
}

.site-loader-panel {
  position: fixed;
  top: 0;
  width: 50%;
  height: 100%;
  transition: transform 0.95s cubic-bezier(0.77, 0, 0.18, 1);
}

.site-loader-left { left: 0; background: #f4f7fb; }
.site-loader-right { right: 0; background: #e7eef6; }

.site-loader-mark {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 92px;
  height: 92px;
  margin: -46px 0 0 -46px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 40px rgba(7, 27, 45, 0.12);
  transition: opacity 0.4s ease;
}

.site-loader-mark span {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--teal);
  border-bottom-color: #0e4f86;
  animation: loaderSpin 1.1s linear infinite;
}

.site-loader.is-done .site-loader-left { transform: translateY(-100%); }
.site-loader.is-done .site-loader-right { transform: translateY(100%); }
.site-loader.is-done .site-loader-mark { opacity: 0; }

.folio-steps li,
.folio-notes article,
.desk-plan,
.glass-card,
.tilt-card {
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-36px); }
  to { opacity: 1; transform: none; }
}

@keyframes fadeRight {
  from { opacity: 0; transform: translateX(36px); }
  to { opacity: 1; transform: none; }
}

@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}

@keyframes iconPop {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* ——— Responsive ——— */
@media (min-width: 1440px) {
  .container-wide,
  .folio-hero {
    width: min(1240px, calc(100% - 4rem));
  }
}

@media (max-width: 1199px) {
  .folio-hero,
  .story-grid,
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .folio-steps,
  .desk-plans,
  .gallery-grid,
  .read-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .folio-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { perspective: none; }
  .hero-card,
  .hero-visual:hover .hero-card,
  .frame-3d img,
  .tilt-card,
  .tilt-card:hover { transform: none; }
  .tilt-card:hover img,
  .page-figure:hover img,
  .hero-card:hover .hero-card-photo { transform: scale(1.04); }
  .hero-card-photo { height: 180px; }
  .desk-plan,
  .desk-plan--focus,
  .desk-plan:hover,
  .desk-plan--focus:hover { transform: none; }
  .folio-open {
    min-height: 0;
    align-items: flex-start;
    padding-bottom: 3rem;
  }
  .folio-open h1 { max-width: none; font-size: clamp(2.2rem, 5vw, 3.2rem); }
}

@media (max-width: 991px) {
  :root { --nav-h: 74px; --bar-h: 36px; }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .brand { min-width: 0; max-width: 100%; }
  .site-header .brand-logo {
    height: 38px !important;
    max-width: min(168px, 58vw);
  }
  .folio-notes,
  .auth-layout,
  .gallery-grid,
  .read-grid { grid-template-columns: minmax(0, 1fr); }
  .page-figure img,
  .page-figure--wide img,
  .contact-figure img,
  .story-grid .frame-3d img {
    width: 100%;
    height: 220px;
    object-fit: cover;
  }
  .auth-copy h1 { max-width: none; }
  .plans-layout .legal-copy { margin-bottom: 1rem; }
}

@media (max-width: 767px) {
  .container-wide,
  .folio-hero,
  .auth-stage { width: min(100% - 1.25rem, 720px); }
  .folio-steps,
  .desk-plans,
  .footer-grid,
  .mobile-actions,
  .gallery-grid,
  .read-grid { grid-template-columns: minmax(0, 1fr); }
  .folio-block,
  .section { padding: 2.5rem 0; }
  .folio-open { padding: calc(var(--header-h) + 1.15rem) 0 2.2rem; }
  .folio-open h1 { font-size: 2rem; line-height: 1.08; }
  .hero-brand { font-size: 1.05rem; }
  .folio-lead,
  .page-hero .lead { font-size: 0.98rem; }
  .folio-actions { align-items: stretch; }
  .folio-actions .btn,
  .cta-band .btn { width: 100%; }
  .hero-chart { padding: 0.85rem 0.85rem 0.2rem; }
  .page-hero { padding: calc(var(--header-h) + 1.6rem) 0 1.8rem; }
  .page-hero h1 { max-width: none; font-size: 2rem; }
  .page-figure img,
  .page-figure--wide img,
  .contact-figure img { height: 190px; }
  .contact-map iframe { height: 280px; }
  .tilt-card img { height: 180px; }
  .plan-amount { font-size: 2.15rem; }
  .desk-plan { padding: 1.15rem 1rem 1.1rem; }
  .footer-grid { gap: 1.5rem; }
  .to-top { right: 0.8rem; bottom: 0.8rem; }
  .story-points li { grid-template-columns: 40px minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .topbar-address { font-size: 0.72rem; }
  .topbar-social { gap: 0; }
  .topbar .social-link { width: 24px; height: 24px; font-size: 0.78rem; }
}

@media (max-width: 380px) {
  .folio-open h1,
  .page-hero h1 { font-size: 1.75rem; }
  .site-header .brand-logo { max-width: 132px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js .reveal,
  .hero-copy > * { opacity: 1; transform: none; }
  .site-loader { display: none; }
  .chart-line { stroke-dashoffset: 0; }
}
