/* Wholesale: a quiet commercial dashboard inside the Ascension visual system. */
.site-wholesale { --wh-accent: var(--primary); --wh-green: #0F9F8A; }
.site-wholesale [id] { scroll-margin-top: 110px; }
.wh-eyebrow { color: var(--primary) !important; font-size: .67rem; line-height: 1.5; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 20px; }
.wh-hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 75% 30%, rgba(74, 86, 200, .08), transparent 58%); border-bottom: 1px solid var(--border); }
.wh-hero .breadcrumb { gap: 12px; }
.wh-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; min-height: 470px; }
.wh-hero__copy { position: relative; z-index: 1; padding-block: 24px 56px; }
.site-wholesale h1 { font-size: clamp(2.6rem, 4.7vw, 4.15rem); }
.wh-hero h1 span { color: var(--wh-accent); }
.wh-lead { max-width: 540px; margin-top: 26px; font-size: 1rem; line-height: 1.85; }
.wh-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; margin-top: 30px; }
.wh-text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; color: var(--primary); font-size: .8rem; font-weight: 500; text-decoration: none; }
.wh-text-link span { transition: transform .2s; }
.wh-text-link:hover { color: var(--primary-dark); }
.wh-text-link:hover span { transform: translate(2px, -2px); }
.wh-small { font-size: .72rem; margin-top: 22px; line-height: 1.7; }
.wh-hero__visual { margin: 0 -68px 0 -32px; position: relative; }
.wh-hero__visual img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; mask-image: linear-gradient(90deg, transparent, #000 14%, #000 91%, transparent); }
.wh-hero__visual figcaption { position: absolute; bottom: 5%; right: 15%; font-size: .55rem; letter-spacing: .12em; text-transform: uppercase; color: #47556b; }
.wh-proof-line { display: flex; justify-content: space-between; gap: 20px; padding-block: 27px; border-top: 1px solid var(--border); }
.wh-proof-line > span { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: .72rem; }
.wh-proof-line svg { color: var(--wh-accent); flex-shrink: 0; }
.wh-section { padding-block: 88px; }
.wh-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 45px; margin-bottom: 40px; }
.wh-section-heading > p { max-width: 390px; font-size: .9rem; line-height: 1.85; margin-bottom: 5px; }
.wh-section-heading h2 { margin: 0; }
.wh-calculator { display: grid; grid-template-columns: 1fr 1.1fr; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; box-shadow: 0 30px 70px rgba(22, 25, 37, .08); }
.wh-calculator__inputs { background: var(--bg-card); padding: 34px; }
.wh-calculator__results { padding: 34px; background: radial-gradient(ellipse at 100% 0%, rgba(74, 86, 200, .08), transparent 75%), var(--bg-2); }
.wh-panel-label { display: flex; gap: 12px; align-items: center; color: var(--text) !important; font-size: .73rem; margin-bottom: 28px; }
.wh-panel-label > span { color: var(--text-dim); font-size: .65rem; }
.wh-field { margin-bottom: 22px; min-width: 0; }
.wh-field label { display: block; color: var(--text); font-size: .76rem; font-weight: 500; margin-bottom: 10px; line-height: 1.6; }
.wh-field :is(input, select) { width: 100%; min-height: 50px; border: 1px solid var(--border); border-radius: 5px; padding: 12px 14px; color: var(--text); background: var(--bg-input); font: inherit; font-size: 1rem; color-scheme: light; transition: border-color .2s, background .2s; }
.wh-field :is(input, select):hover { border-color: var(--primary-border); }
.wh-field :is(input, select):focus { border-color: var(--primary); }
.wh-field input::placeholder { color: var(--text-dim); }
.wh-field input[aria-invalid="true"] { border-color: var(--danger); }
.wh-tier-buttons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.wh-tier-buttons button { min-height: 44px; padding: 10px; background: transparent; border: 1px solid var(--border); color: var(--text-muted); border-radius: 4px; font-family: inherit; cursor: pointer; font-size: .8rem; transition: background .2s, color .2s, border-color .2s; }
.wh-tier-buttons button:hover { background: rgba(74, 86, 200, .06); border-color: var(--primary-border); }
.wh-tier-buttons button[aria-pressed="true"] { background: rgba(74, 86, 200, .1); border-color: var(--primary); color: var(--text); }
.wh-help { font-size: .69rem; line-height: 1.8; color: var(--text-dim) !important; margin-top: 12px; }
.wh-label-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: -7px; }
.wh-label-row label { margin: 0; }
.wh-reset { min-height: 44px; padding: 0; background: none; border: 0; color: var(--wh-accent); font: inherit; font-size: .73rem; cursor: pointer; }
.wh-reset:hover { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 4px; }
.wh-error { color: var(--danger) !important; font-size: .78rem; line-height: 1.6; }
.wh-error[hidden] { display: none; }
.wh-result-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.wh-tier-badge { display: inline-block; border: 1px solid var(--primary-border); border-radius: 4px; padding: 5px 8px; color: var(--primary); font-size: .64rem; white-space: nowrap; }
.wh-profit-label { font-size: .8rem; color: var(--text-muted) !important; margin-top: 6px; }
.wh-profit-value { margin: 13px 0 10px; font-size: clamp(2rem, 4.2vw, 3.55rem); font-weight: 500; line-height: 1.2; letter-spacing: -.055em; color: var(--wh-green) !important; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.wh-profit-value.is-loss { color: var(--danger) !important; }
.wh-result-assumption { font-size: .74rem; line-height: 1.8; }
.wh-split-bar { height: 5px; display: flex; overflow: hidden; gap: 4px; border-radius: 3px; margin: 30px 0; background: var(--bg-2); }
.wh-split-bar span:first-child { background: #8e9ac2; }
.wh-split-bar span:last-child { background: var(--wh-green); }
.wh-result-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.wh-result-metrics > div { min-width: 0; }
.wh-result-metrics span { display: block; font-size: .68rem; line-height: 1.6; color: var(--text-dim); }
.wh-result-metrics strong { display: block; color: var(--text); font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 500; margin-top: 7px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.wh-result-cta { display: flex; justify-content: space-between; margin-top: 30px; }
.wh-calculator-note { font-size: .64rem; margin-top: 20px; }
.wh-calculator__results[aria-busy="true"] .wh-profit-value { opacity: .4; }
.wh-pricing { background: var(--bg-2); border-block: 1px solid var(--border); }
.wh-price-meta { display: flex; justify-content: space-between; gap: 16px; font-size: .67rem; color: var(--text-dim); margin-bottom: 20px; }
.wh-table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--border); border-radius: 7px; }
.wh-price-table { width: 100%; min-width: 680px; border-collapse: collapse; text-align: right; font-size: .85rem; background: var(--bg-card); }
.wh-price-table th, .wh-price-table td { padding: 22px 20px; border-bottom: 1px solid var(--border); white-space: nowrap; font-variant-numeric: tabular-nums; }
.wh-price-table thead th { background: var(--bg-2); color: var(--text-muted); font-size: .7rem; font-weight: 500; }
.wh-price-table th:first-child { text-align: left; }
.wh-price-table tbody th { color: var(--text); font-weight: 500; }
.wh-price-table tbody th a { min-height: 44px; display: inline-flex; flex-direction: column; justify-content: center; color: inherit; }
.wh-price-table tbody th a:hover { color: var(--primary); }
.wh-price-table tbody th span { display: block; font-size: .64rem; color: var(--text-dim); margin-top: 4px; font-weight: 400; }
.wh-price-table td { color: var(--text); }
.wh-price-table td:nth-child(2) { color: var(--text-muted); }
.wh-price-table :is(td, th):last-child { background: rgba(74, 86, 200, .05); color: var(--primary); }
.wh-price-table tbody tr:last-child :is(th, td) { border-bottom: 0; }
.wh-price-table tbody tr { transition: background .2s; }
.wh-price-table tbody tr:hover { background: rgba(74, 86, 200, .04); }
.wh-price-footnote { max-width: 910px; }
.wh-tier-explainer { display: flex; align-items: center; gap: 30px; margin-top: 35px; padding-top: 30px; border-top: 1px solid var(--border); }
.wh-tier-explainer__number { color: var(--primary); font-size: 2rem; letter-spacing: -.04em; white-space: nowrap; }
.wh-tier-explainer h3 { font-size: .9rem; }
.wh-tier-explainer p { max-width: 850px; margin-top: 9px; font-size: .75rem; line-height: 1.85; }
.wh-benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.wh-benefit { border-top: 1px solid var(--primary-border); padding-top: 25px; }
.wh-benefit__index { color: var(--text-dim); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; }
.site-wholesale .wh-benefit h3 { font-size: 1.1rem; font-weight: 500; line-height: 1.55; margin: 24px 0 18px; }
.wh-benefit p { font-size: .79rem; line-height: 1.9; }
.wh-benefit .wh-text-link { margin-top: 18px; font-size: .73rem; }
.wh-time-planner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 45px; margin-top: 65px; padding: 36px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-card); }
.wh-time-planner .wh-eyebrow { margin-bottom: 14px; }
.wh-time-planner h3 { font-size: 1.5rem; line-height: 1.35; font-weight: 500; }
.wh-time-planner__copy > p:not(.wh-eyebrow):not(.wh-help) { font-size: .8rem; line-height: 1.85; margin-top: 18px; }
.wh-time-form { align-self: center; min-width: 0; }
.wh-time-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 15px; }
.wh-time-fields > :last-child { grid-column: 1 / -1; }
.wh-time-fields label { font-size: .68rem; min-height: 2.5em; }
.wh-time-fields > :last-child label { min-height: auto; }
.wh-time-result { color: var(--text) !important; font-size: .85rem; line-height: 1.7; border-top: 1px solid var(--border); padding-top: 20px; }
.wh-faq-section { padding-top: 25px; }
.wh-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.wh-faq-intro { max-width: 310px; font-size: .85rem; line-height: 1.8; margin-top: 24px; }
.wh-faq-grid .wh-text-link { margin-top: 15px; }
.wh-faqs details { border-bottom: 1px solid var(--border); }
.wh-faqs details:first-child { border-top: 1px solid var(--border); }
.wh-faqs summary { position: relative; min-height: 64px; padding: 23px 35px 23px 0; color: var(--text); font-size: .84rem; line-height: 1.6; font-weight: 500; cursor: pointer; list-style: none; }
.wh-faqs summary::-webkit-details-marker { display: none; }
.wh-faqs summary::after { position: absolute; right: 2px; top: 22px; content: '+'; font-size: 1rem; color: var(--primary); }
.wh-faqs details[open] summary::after { content: '−'; }
.wh-faqs details p { font-size: .79rem; line-height: 1.9; padding: 0 25px 25px 0; }
.wh-faqs a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.wh-close { padding-bottom: 88px; }
.wh-close__inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 45px; border: 1px solid var(--primary-border); border-radius: 8px; background: radial-gradient(ellipse at 100% 50%, rgba(74, 86, 200, .08), transparent 80%), var(--bg-card); }
.wh-close__inner > div:first-child > p:last-child { font-size: .83rem; line-height: 1.8; max-width: 440px; margin-top: 20px; }
.wh-close .wh-actions { flex-direction: column; gap: 6px; margin: 0; align-items: stretch; flex-shrink: 0; }
.wh-close .wh-text-link { justify-content: center; }
.wh-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
[data-wh-reveal] { transition: opacity .55s ease, transform .55s ease; }
[data-wh-reveal].wh-pending { opacity: 0; transform: translateY(18px); }
@media (min-width: 1500px) { .wh-hero__visual { margin-right: -30px; } }
@media (max-width: 1000px) {
  .wh-hero__grid { grid-template-columns: 1.1fr 1fr; min-height: 430px; }
  .wh-hero__visual { margin-left: -65px; margin-right: -90px; }
  .wh-hero__copy { padding-bottom: 35px; }
  .wh-section-heading > p { max-width: 330px; }
  .wh-calculator__inputs, .wh-calculator__results { padding: 27px; }
  .wh-benefit-grid { gap: 24px; }
  .wh-time-planner { padding: 28px; gap: 28px; }
  .wh-faq-grid { gap: 45px; }
  .wh-close__inner { padding: 32px; }
}
@media (max-width: 800px) {
  .wh-hero__grid { grid-template-columns: 1fr; }
  .wh-hero__copy { max-width: 640px; padding-bottom: 0; }
  .site-wholesale h1 { max-width: 680px; font-size: clamp(2.6rem, 6.8vw, 3.8rem); }
  .wh-hero__visual { margin: 5px -24px 0; max-width: 680px; justify-self: center; }
  .wh-hero__visual img { max-height: 400px; }
  .wh-proof-line { flex-wrap: wrap; gap: 15px 25px; }
  .wh-section { padding-block: 64px; }
  .wh-section-heading { align-items: flex-start; gap: 25px; }
  .wh-section-heading > p { max-width: 290px; font-size: .8rem; }
  .wh-calculator { grid-template-columns: 1fr; }
  .wh-calculator__inputs { border-bottom: 1px solid var(--border); }
  .wh-profit-value { font-size: 3rem; }
  .wh-result-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wh-result-metrics strong { font-size: 1.05rem; }
  .wh-benefit-grid { gap: 25px; grid-template-columns: 1fr; }
  .wh-benefit { display: grid; grid-template-columns: .7fr 1fr; gap: 0 25px; }
  .wh-benefit__index { grid-column: 1 / -1; }
  .site-wholesale .wh-benefit h3 { margin-bottom: 0; }
  .wh-benefit p { margin-top: 24px; }
  .wh-benefit .wh-text-link { grid-column: 2; margin-top: 5px; }
  .wh-time-planner { grid-template-columns: 1fr; }
  .wh-time-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wh-time-fields > :last-child { grid-column: auto; }
  .wh-time-fields label, .wh-time-fields > :last-child label { min-height: 3.2em; }
  .wh-faq-grid { grid-template-columns: 1fr; gap: 25px; }
  .wh-faq-intro { max-width: 520px; }
  .wh-close__inner { align-items: flex-start; flex-direction: column; }
  .wh-close .wh-actions { flex-direction: row; gap: 24px; align-items: center; flex-wrap: wrap; }
  .wh-close { padding-bottom: 64px; }
}
@media (max-width: 560px) {
  .site-wholesale .container { padding-inline: 22px; }
  .wh-hero .breadcrumb { font-size: .68rem; padding-block: 20px; }
  .wh-hero__copy { padding-top: 20px; }
  .wh-eyebrow { font-size: .61rem; letter-spacing: .14em; }
  .site-wholesale h1 { font-size: clamp(2.2rem, 8.8vw, 3rem); line-height: 1.16; }
  .wh-lead { font-size: .89rem; margin-top: 21px; }
  .wh-actions { gap: 8px; margin-top: 25px; align-items: stretch; flex-direction: column; }
  .wh-actions .btn { justify-content: space-between; }
  .wh-actions .wh-text-link { justify-content: center; }
  .wh-small { margin-top: 14px; }
  .wh-hero__visual { margin-top: 0; }
  .wh-hero__visual figcaption { right: 11%; bottom: 6%; font-size: .49rem; }
  .wh-proof-line { flex-direction: column; gap: 18px; padding-block: 25px; }
  .wh-section { padding-block: 52px; }
  .wh-section-heading { flex-direction: column; gap: 22px; margin-bottom: 27px; }
  .wh-section-heading > p { max-width: 100%; font-size: .85rem; }
  .wh-section-heading .wh-eyebrow { margin-bottom: 16px; }
  .wh-calculator__inputs, .wh-calculator__results { padding: 23px 20px; }
  .wh-result-top { gap: 5px; }
  .wh-panel-label { font-size: .69rem; }
  .wh-tier-badge { font-size: .59rem; }
  .wh-profit-value { font-size: clamp(2.05rem, 10vw, 2.8rem); }
  .wh-result-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wh-result-metrics strong { font-size: 1.15rem; }
  .wh-price-meta { font-size: .61rem; }
  .wh-price-table { min-width: 640px; }
  .wh-price-table th, .wh-price-table td { padding: 18px 14px; }
  .wh-tier-explainer { gap: 19px; align-items: flex-start; }
  .wh-tier-explainer__number { font-size: 1.6rem; }
  .wh-benefit { display: block; }
  .site-wholesale .wh-benefit h3 { margin-top: 18px; }
  .wh-benefit p { margin-top: 16px; }
  .wh-benefit .wh-text-link { margin-top: 12px; }
  .wh-time-planner { padding: 24px 20px; margin-top: 40px; }
  .wh-time-fields { grid-template-columns: 1fr; }
  .wh-time-fields label, .wh-time-fields > :last-child label { min-height: auto; font-size: .72rem; }
  .wh-time-fields .wh-field { margin-bottom: 17px; }
  .wh-faq-section { padding-top: 0; }
  .wh-faqs summary { font-size: .82rem; }
  .wh-close__inner { padding: 28px 22px; }
  .wh-close__inner h2 { font-size: 1.75rem; }
  .wh-close .wh-actions { gap: 7px; width: 100%; flex-direction: column; align-items: stretch; }
  .wh-close .wh-actions .btn { padding-inline: 18px; }
  .wh-close { padding-bottom: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-wholesale *, .site-wholesale *::before, .site-wholesale *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  [data-wh-reveal].wh-pending { opacity: 1; transform: none; }
  .site-wholesale .wh-text-link:hover span { transform: none; }
}
@media print {
  [data-wh-reveal].wh-pending { opacity: 1; transform: none; }
  .wh-table-wrap { overflow: visible; }
  .wh-price-table { min-width: 0; }
  .wh-calculator { break-inside: avoid; }
}
.wh-hero__visual img { height: auto; aspect-ratio: 10 / 7; object-fit: contain; mask-image: none; background: var(--photo-well); border-radius: 10px; }
.wh-selected-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: cover;
  object-position: center;
  margin: 0 0 22px;
  border-radius: 6px;
  background: var(--photo-well);
}
