/* Young Efficiency Group — quiet luxury one-pager */
:root {
  --bg: #0c1220;
  --bg-elevated: #121a2b;
  --bg-soft: #162033;
  --line: rgba(197, 160, 89, 0.18);
  --line-strong: rgba(197, 160, 89, 0.38);
  --text: #e8edf5;
  --text-muted: #9aa6ba;
  --text-soft: #6f7c93;
  --navy: #1a2b45;
  --gold: #c5a059;
  --gold-bright: #d4b46e;
  --gold-dim: rgba(197, 160, 89, 0.12);
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --max: 1080px;
  --narrow: 720px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --tracking: 0.1em;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(197, 160, 89, 0.07), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(26, 43, 69, 0.9), transparent 50%),
    var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--gold-bright);
  text-decoration: none;
}

a:hover {
  color: var(--white);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--gold);
  color: var(--bg);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 2.5rem, var(--narrow));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(12, 18, 32, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 4rem;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: inherit;
  min-width: 0;
}

.brand:hover {
  color: inherit;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  object-fit: cover;
  object-position: center;
  aspect-ratio: 1 / 1;
  padding: 0;
  box-shadow: 0 0 0 1px rgba(197, 160, 89, 0.25);
  flex-shrink: 0;
  overflow: hidden;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}

.brand-name {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-place {
  font-size: 0.68rem;
  color: var(--text-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-btn {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  gap: 5px;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  flex-shrink: 0;
}

.nav-toggle-btn span {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--gold);
  border-radius: 1px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  padding: 0.25rem 0;
}

.nav a:hover {
  color: var(--gold-bright);
}

.hero {
  padding: 4.75rem 0 3.75rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 2.75rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  letter-spacing: var(--tracking);
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.eyebrow.accent {
  color: var(--gold-bright);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.025em;
  max-width: 18ch;
}

.lede,
.section-lede {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 38rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #1a1408;
}

.btn-primary:hover {
  color: #0c1220;
  background: linear-gradient(180deg, #e0c484, var(--gold-bright));
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--line-strong);
  color: var(--white);
}

.hero-mark {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
  width: 100%;
}

.mark-glow {
  position: absolute;
  width: min(240px, 58vw);
  height: min(240px, 58vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.28), transparent 70%);
  filter: blur(18px);
}

.hero-mark img {
  position: relative;
  width: min(220px, 54vw);
  height: min(220px, 54vw);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  background: var(--white);
  padding: 0;
  box-shadow: var(--shadow), 0 0 0 1px var(--line);
}

.section {
  padding: 3.75rem 0;
}

.section h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.pillars {
  list-style: none;
  margin: 2rem 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.pillars li {
  padding: 1.15rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
}

.pillars h3 {
  margin: 0 0 0.3rem;
  font-size: 0.98rem;
  font-weight: 600;
}

.pillars p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.aside {
  margin: 0 0 1.5rem;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.55;
}

.feature {
  padding-top: 1.5rem;
}

.feature-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--bg-elevated), var(--bg-soft));
  box-shadow: var(--shadow);
}

.feature-copy {
  padding: 2.25rem 2.15rem;
}

.feature-copy > p {
  color: var(--text-muted);
  margin: 0 0 1.15rem;
  max-width: 34rem;
}

.feature-list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--text);
  font-size: 0.94rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--gold);
}

.feature-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.15rem;
  padding: 2.25rem 1.85rem;
  background:
    linear-gradient(180deg, rgba(197, 160, 89, 0.1), transparent 40%),
    var(--navy);
  border-left: 1px solid var(--line);
}

.panel-label {
  align-self: flex-start;
  font-size: 0.68rem;
  letter-spacing: var(--tracking);
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--line-strong);
  background: var(--gold-dim);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-weight: 600;
}

.panel-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.panel-flow .arrow {
  color: var(--gold);
}

.panel-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 22rem;
  line-height: 1.55;
}

/* Efficiency Map — secondary but premium */
.consult-card {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(197, 160, 89, 0.22);
  background: linear-gradient(165deg, rgba(18, 26, 43, 0.95), rgba(22, 32, 51, 0.9));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.consult-copy {
  padding: 2.25rem 2.15rem;
}

.consult-copy .aside {
  margin-bottom: 1.35rem;
}

.consult-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  padding: 2.25rem 1.85rem;
  background:
    linear-gradient(180deg, rgba(197, 160, 89, 0.08), transparent 45%),
    rgba(26, 43, 69, 0.85);
  border-left: 1px solid var(--line);
}

.consult-aside-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--text);
}

.contact {
  padding-bottom: 4.25rem;
}

.contact-inner {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  background: rgba(18, 26, 43, 0.65);
}

.contact-inner .section-lede {
  margin-inline: auto;
}

.contact-email {
  display: inline-block;
  margin-top: 1.35rem;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  font-weight: 600;
  color: var(--white);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.15rem;
}

.contact-email:hover {
  color: var(--gold-bright);
}

.contact-meta {
  margin: 0.75rem 0 0;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.35rem 0 1.75rem;
}

.footer-inner p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.82rem;
  text-align: center;
}

.footer-inner a {
  color: var(--text-muted);
}

.footer-inner a:hover {
  color: var(--gold-bright);
}

@media (max-width: 860px) {
  .nav-toggle-btn {
    display: grid;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: auto;
    min-width: 12.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    background: rgba(12, 18, 32, 0.96);
    border: 1px solid rgba(197, 160, 89, 0.22);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
  }

  .nav a {
    padding: 0.7rem 0.85rem;
    border-radius: 8px;
    font-size: 0.9rem;
  }

  .nav a:hover {
    background: rgba(197, 160, 89, 0.08);
  }

  .nav-toggle:checked ~ .nav {
    display: flex;
  }

  .nav-toggle:checked + .nav-toggle-btn span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-btn span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .nav-toggle-btn span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .hero {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero-grid,
  .feature-card,
  .consult-card {
    grid-template-columns: 1fr;
  }

  .hero-mark {
    justify-self: center;
    order: -1;
  }

  .hero h1 {
    max-width: none;
  }

  .feature-panel,
  .consult-aside {
    border-left: none;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 520px) {
  .container,
  .container.narrow {
    width: min(100% - 1.5rem, var(--max));
  }

  .brand-place {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .feature-copy,
  .feature-panel,
  .consult-copy,
  .consult-aside {
    padding: 1.6rem 1.25rem;
  }

  .section {
    padding: 3rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover {
    transform: none;
  }

  .nav-toggle-btn span {
    transition: none;
  }
}


/* Inner pages — Company / Business Model */
.page-hero {
  padding: 3.75rem 0 1.5rem;
}

.page-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.page-section {
  padding-top: 1.25rem;
}

.prose h2 {
  margin: 2.35rem 0 0.75rem;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 600;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 1.1rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 40rem;
}

.prose a {
  color: var(--gold-bright);
  border-bottom: 1px solid rgba(197, 160, 89, 0.35);
}

.prose a:hover {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.35);
}

.callout {
  margin: 1.75rem 0 1.5rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(197, 160, 89, 0.08), transparent 55%),
    var(--bg-elevated);
}

.callout-label {
  margin: 0 0 0.4rem;
  font-size: 0.68rem;
  letter-spacing: var(--tracking);
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.callout p:last-child {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 38rem;
}

.steps {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 1.15rem 1.25rem 1.15rem 3.25rem;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--line-strong);
  color: var(--gold-bright);
  font-size: 0.75rem;
  font-weight: 700;
}

.steps li strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 0.98rem;
}

.nav a[aria-current="page"] {
  color: var(--gold-bright);
}

.contact-actions {
  justify-content: center;
  margin-top: 1.35rem;
}

.contact-meta-spaced {
  margin-top: 1.25rem;
}

@media (max-width: 520px) {
  .page-hero {
    padding-top: 2.75rem;
  }

  .callout {
    padding: 1.1rem 1.05rem;
  }

  .steps li {
    padding-left: 3rem;
  }
}

/* How it works — process timeline */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.process-timeline {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: grid;
  gap: 0;
  max-width: 720px;
  margin-inline: auto;
}

.process-step {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.process-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.15rem;
}

.process-num {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background:
    linear-gradient(160deg, rgba(197, 160, 89, 0.18), transparent 60%),
    var(--navy);
  border: 1px solid var(--line-strong);
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(12, 18, 32, 1), 0 8px 24px rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.process-rail {
  flex: 1;
  width: 2px;
  min-height: 1.5rem;
  margin-top: 0.35rem;
  background: linear-gradient(180deg, var(--line-strong), rgba(197, 160, 89, 0.08));
  border-radius: 1px;
}

.process-card {
  margin-bottom: 1.5rem;
  padding: 1.5rem 1.55rem 1.55rem;
  background: linear-gradient(165deg, var(--bg-elevated), rgba(22, 32, 51, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.process-card-final {
  margin-bottom: 0;
  border-color: var(--line);
  background:
    linear-gradient(160deg, rgba(197, 160, 89, 0.1), transparent 45%),
    linear-gradient(165deg, var(--bg-elevated), var(--bg-soft));
}

.process-label {
  margin: 0 0 0.4rem;
  font-size: 0.68rem;
  letter-spacing: var(--tracking);
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.process-card h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
}

.process-lead {
  margin: 0 0 0.85rem;
  color: var(--gold-bright);
  font-size: 1.02rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
}

.process-card > p:not(.process-label):not(.process-lead) {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.process-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.process-points li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.5;
}

.process-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--gold);
}

.process-summary {
  max-width: 720px;
  margin: 0.5rem auto 0;
  padding: 1.5rem 1.55rem;
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(197, 160, 89, 0.08), transparent 50%),
    var(--navy);
}

.process-summary-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.55rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.process-summary-flow .arrow {
  color: var(--gold);
}

.process-summary p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 36rem;
  margin-inline: auto;
}

/* Index teaser — How it works */
.process-teaser {
  padding-top: 1.5rem;
}

.process-teaser-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--bg-elevated), var(--bg-soft));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.process-teaser-copy {
  padding: 2.1rem 2rem;
}

.process-teaser-copy > p:not(.eyebrow) {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  max-width: 34rem;
  font-size: 0.98rem;
  line-height: 1.65;
}

.process-teaser-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}

.process-teaser-steps span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(197, 160, 89, 0.28);
  background: var(--gold-dim);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.process-teaser-steps .teaser-n {
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}

.process-teaser-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  padding: 2.1rem 1.75rem;
  background:
    linear-gradient(180deg, rgba(197, 160, 89, 0.1), transparent 40%),
    var(--navy);
  border-left: 1px solid var(--line);
}

.process-teaser-aside p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

@media (max-width: 860px) {
  .process-teaser-card {
    grid-template-columns: 1fr;
  }

  .process-teaser-aside {
    border-left: none;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 520px) {
  .process-step {
    grid-template-columns: 2.5rem 1fr;
    gap: 0.85rem;
  }

  .process-num {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.7rem;
  }

  .process-card,
  .process-summary {
    padding: 1.25rem 1.15rem;
  }

  .process-teaser-copy,
  .process-teaser-aside {
    padding: 1.6rem 1.25rem;
  }
}


.ownership {
  margin: 1.1rem 0 0;
  font-size: 0.82rem;
  color: var(--text-soft);
  letter-spacing: 0.02em;
  line-height: 1.45;
  max-width: 28rem;
}

/* === Instant Intake first-visit demo popup (YEG quiet luxury) === */
.btn-block {
  width: 100%;
}

.yeg-ii-demo-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.yeg-ii-demo-modal[hidden] {
  display: none !important;
}

.yeg-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 22, 0.72);
  backdrop-filter: blur(4px);
}

.yeg-popup-dialog {
  position: relative;
  z-index: 1;
  width: min(100% - 1.25rem, 520px);
  max-height: min(92dvh, 780px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  margin: 0.75rem;
  padding: 1.35rem 1.25rem 1.4rem;
  border-radius: 18px 18px 14px 14px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(165deg, rgba(197, 160, 89, 0.08), transparent 40%),
    linear-gradient(180deg, var(--bg-elevated), var(--bg-soft));
  box-shadow: var(--shadow);
  animation: yeg-popup-rise 0.22s ease-out;
  color: var(--text);
}

@keyframes yeg-popup-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 721px) {
  .yeg-ii-demo-modal {
    align-items: center;
  }

  .yeg-popup-dialog {
    margin: 1.25rem;
    max-height: min(88vh, 800px);
    border-radius: var(--radius);
  }
}

.yeg-popup-badge {
  display: inline-block;
  margin: 0 2.75rem 0.85rem 0;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: var(--gold-dim);
  border: 1px solid rgba(197, 160, 89, 0.35);
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.yeg-popup-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  border: 0;
  background: transparent;
  font-size: 1.65rem;
  line-height: 1;
  color: var(--text-soft);
  cursor: pointer;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.yeg-popup-close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold-bright);
}

/* Shared YEG lead block — always above industry tabs */
.yeg-shared-lead {
  margin: 0 0 1rem;
  padding: 0.85rem 0.9rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(197, 160, 89, 0.28);
  background:
    linear-gradient(180deg, rgba(197, 160, 89, 0.07), transparent 70%),
    rgba(12, 18, 32, 0.45);
}

.yeg-shared-lead-label {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.yeg-shared-lead .yeg-form-row:last-child {
  margin-bottom: 0;
}

.yeg-popup-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0.15rem 0.1rem 0.45rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
}

.yeg-popup-tabs::-webkit-scrollbar {
  height: 4px;
}

.yeg-popup-tabs::-webkit-scrollbar-thumb {
  background: rgba(197, 160, 89, 0.45);
  border-radius: 999px;
}

.yeg-popup-tab {
  appearance: none;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.yeg-popup-tab:hover {
  border-color: rgba(197, 160, 89, 0.4);
  color: var(--text);
}

.yeg-popup-tab.is-active,
.yeg-popup-tab[aria-selected="true"] {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  border-color: var(--gold);
  color: #1a1408;
}

.yeg-popup-tab:focus-visible {
  outline: 2px solid rgba(212, 180, 110, 0.55);
  outline-offset: 2px;
}

.yeg-popup-panel[hidden] {
  display: none !important;
}

.yeg-popup-dialog h3 {
  margin: 0 0 0.3rem;
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.yeg-popup-sub {
  margin: 0 0 1.05rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.yeg-form-row {
  margin-bottom: 0.85rem;
}

.yeg-form-row label,
.yeg-form-row legend {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
  padding: 0;
}

.yeg-req {
  color: var(--gold-bright);
}

.yeg-optional {
  font-weight: 500;
  color: var(--text-soft);
  font-size: 0.75rem;
}

.yeg-form-row input,
.yeg-form-row textarea,
.yeg-form-row select {
  width: 100%;
  font: inherit;
  padding: 0.62rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(12, 18, 32, 0.65);
  color: var(--text);
}

.yeg-form-row input::placeholder,
.yeg-form-row textarea::placeholder {
  color: var(--text-soft);
}

.yeg-form-row input:focus,
.yeg-form-row textarea:focus,
.yeg-form-row select:focus {
  outline: 2px solid rgba(197, 160, 89, 0.35);
  border-color: var(--gold);
}

.yeg-form-row select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% - 2px), calc(100% - 11px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}

.yeg-two-col {
  display: grid;
  gap: 0.7rem;
}

@media (min-width: 560px) {
  .yeg-two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.yeg-segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.yeg-seg {
  cursor: pointer;
  margin: 0;
}

.yeg-seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

/* All chips white; selected = navy/gold border only (Tyler — no orange fill) */
.yeg-seg span {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 43, 69, 0.22);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.yeg-seg input:checked + span {
  background: #ffffff;
  border-color: var(--navy);
  color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--gold);
}

.yeg-pref-chips .yeg-seg input:checked + span {
  background: #ffffff;
  border-color: var(--navy);
  color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--gold);
}

.yeg-seg input:focus-visible + span {
  outline: 2px solid rgba(197, 160, 89, 0.5);
  outline-offset: 2px;
}

.yeg-popup-actions {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.35rem;
}

.yeg-form-note {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--text-soft);
  text-align: center;
}

.yeg-popup-success {
  text-align: center;
  padding: 1.35rem 0.5rem 0.5rem;
}

.yeg-popup-success p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.yeg-popup-footer {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.yeg-popup-footer .btn {
  width: 100%;
}

.yeg-popup-ownership {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  color: var(--text-soft);
  letter-spacing: 0.02em;
  line-height: 1.45;
}

body.yeg-popup-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .yeg-popup-dialog {
    width: min(100% - 1rem, 480px);
    max-height: calc(100dvh - 1.25rem);
    margin: 0.5rem;
    padding: 1.2rem 1.05rem 1.25rem;
  }

  .yeg-ii-demo-modal {
    align-items: flex-end;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .yeg-seg span {
    min-height: 2.45rem;
    padding: 0.5rem 0.8rem;
  }

  .yeg-form-row input,
  .yeg-form-row textarea,
  .yeg-form-row select {
    min-height: 2.75rem;
    font-size: 16px;
  }
}
