/* Polaris 1.1: compact sections, readable type, and drawing-focused interactions. */
:root { --polaris-shell: min(1240px, calc(100vw - 64px)); }
[hidden] { display: none !important; }
.section { padding-block: 76px; scroll-margin-top: 0; }
.section h2 { font-family: var(--polaris-font); font-size: clamp(1.7rem, 3vw, 2.7rem); font-weight: 750; line-height: 1.15; text-transform: none; letter-spacing: -.035em; }
.section h3 { font-family: var(--polaris-font); font-size: 1.15rem; line-height: 1.3; text-transform: none; letter-spacing: -.02em; }
.section-heading { margin-bottom: 32px; gap: 32px; }
.section-heading--samples { display: block; text-align: left; }
.section-heading--samples h2 { margin: 12px 0; }
.section-heading--samples > p:last-child { max-width: 660px; margin: 0; }
.section-heading--samples .eyebrow { color: var(--polaris-blue-bright); }
.hero { padding-top: var(--polaris-header-height); padding-bottom: 32px; }
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; min-height: 0; padding-top: 58px; padding-bottom: 48px; }
.hero__copy { width: auto; max-width: none; }
.hero h1 { font-family: var(--polaris-font); font-size: clamp(2rem, 3.7vw, 3.7rem); line-height: 1.05; letter-spacing: -.045em; }
.hero__lede { max-width: 540px; font-size: 1rem; }
.hero__actions { gap: 12px; margin-top: 26px; }
.hero__actions .button { padding: 18px 20px; font-size: .76rem; }
.hero-benefits { margin-top: 0; }
.hero-benefit { padding: 20px 18px; gap: 12px; }
.hero-benefit strong { font-family: var(--polaris-font); font-size: .8rem; text-transform: none; }
.hero-benefit__marker { min-width: 35px; }
.hero-benefit__marker svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.service-card { padding: 26px 22px; min-height: 0; }
.service-card h3 { min-height: 0; margin-top: 24px; }
.service-card p { font-size: .94rem; }
.software-strip { margin-top: 30px; }
.about__grid { gap: 56px; }
.about__intro p { font-size: 1rem; }
.about__proof { gap: 26px; }
.reason-grid article { padding-block: 12px; }
.reason-grid h3 { font-size: 1rem; }
.reason-grid p { font-size: .9rem; }
.process-grid { margin-top: 30px; }
.process-grid > li { padding: 24px; }
.process-grid__number { font-size: 2rem; margin-bottom: 16px; }
.process-grid h3 { margin-top: 20px; }
.process-grid p { font-size: .95rem; }
.project-card__body { padding: 24px; }
.project-card__caption { font-size: .93rem; color: var(--polaris-gray); line-height: 1.6; margin: 12px 0; }
.project-card__meta { font-size: .75rem; }
.project-card__preview { min-height: 44px; }
.project-card__fallback { min-height: 44px; display: inline-flex; align-items: center; }
.hero-model { margin: 0; border: 1px solid #274664; border-radius: 16px; background: radial-gradient(ellipse at center, #193a55, #061221 80%); box-shadow: 0 20px 60px #0005; overflow: hidden; min-width: 0; }
.hero-model__heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid #ffffff15; }
.hero-model__heading .eyebrow { margin: 0; font-size: .68rem; }
.hero-model__heading .eyebrow::before { display: none; }
.hero-model__badge { font-size: .7rem; color: #b5c0ce; }
.hero-model__stage { position: relative; width: 100%; height: 340px; overflow: hidden; outline-offset: -4px; }
.hero-model__stage canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.hero-model__stage canvas:active { cursor: grabbing; }
.hero-model__poster { width: 100%; height: 100%; object-fit: contain; background: #e6eef5; }
.hero-model__footer { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 18px; border-top: 1px solid #ffffff15; min-height: 68px; color: #b5c0ce; font-size: .76rem; }
.hero-model__controls { display: flex; gap: 6px; flex-shrink: 0; }
.hero-model__controls button, .drawing-preview__tools button { color: #f7f9fc; border: 1px solid #52667e; border-radius: 6px; background: #0d2438; font: inherit; min-height: 44px; min-width: 44px; cursor: pointer; padding: 8px 12px; }
.hero-model__controls button:hover, .drawing-preview__tools button:hover { border-color: #56b5ff; background: #163d5e; }
.faq { background: #07111e; border-block: 1px solid var(--polaris-line); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.faq__grid > div > p:not(.eyebrow) { color: var(--polaris-gray); margin-top: 20px; }
.faq__items details { border-bottom: 1px solid #294056; }
.faq__items details:first-child { border-top: 1px solid #294056; }
.faq__items summary { padding: 22px 30px 22px 0; font-weight: 650; font-size: 1rem; cursor: pointer; }
.faq__items details p { padding: 0 16px 22px 0; margin: 0; color: var(--polaris-gray); font-size: .95rem; }
.quote__grid { gap: 48px; }
.quote__intro > p { font-size: 1rem; }
.quote__form { padding: 30px; }
.quote-contact { margin-top: 26px; padding-top: 24px; }
.quote-note { margin-top: 24px; }
.quote-note p { font-size: .87rem; }
.polaris-form-grid { gap: 18px; }
.drawing-preview__dialog { grid-template-rows: auto auto minmax(0, 1fr) auto; height: min(820px, calc(100dvh - 48px)); }
.drawing-preview__tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; background: #061523; padding: 10px 20px; border-bottom: 1px solid #294056; font-size: .8rem; }
.drawing-preview__tools output { min-width: 48px; text-align: center; }
.drawing-preview__tools > span { margin-left: auto; color: #b5c0ce; font-size: .75rem; }
.drawing-preview__stage { display: block; position: relative; min-height: 0; overflow: hidden; padding: 0; touch-action: none; }
.drawing-preview__image { position: absolute; left: 0; top: 0; max-width: none; max-height: none; min-height: 0; object-fit: fill; transform-origin: 0 0; cursor: grab; user-select: none; touch-action: none; }
.drawing-preview__image.is-panning { cursor: grabbing; }
.drawing-preview__loading, .drawing-preview__error { position: absolute; left: 20px; right: 20px; top: 40%; text-align: center; }
.mobile-contact { display: none; }
@media (max-width: 1120px) { .hero__inner { gap: 24px; } .hero-model__stage { height: 310px; } .hero-model__footer { flex-wrap: wrap; } }
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 38px; }
  .hero__copy { max-width: 640px; }
  .hero h1 { font-size: clamp(2rem, 5.8vw, 3.8rem); }
  .hero-model { width: 100%; }
  .hero-model__stage { height: 340px; }
  .hero-model__footer { flex-wrap: nowrap; }
  .hero-benefits { grid-template-columns: 1fr 1fr; }
  .faq__grid { gap: 30px; grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --polaris-shell: calc(100vw - 40px); }
  html { scroll-padding-top: 88px; }
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
  .section { padding-block: 48px; }
  .section h2 { font-size: clamp(1.55rem, 6.2vw, 2.1rem); line-height: 1.2; }
  .section-heading { gap: 18px; margin-bottom: 28px; }
  .hero { padding-top: 74px; padding-bottom: 26px; }
  .hero__inner { padding-top: 30px; padding-bottom: 26px; gap: 28px; }
  .hero h1 { font-size: clamp(1.75rem, 7.65vw, 3rem); line-height: 1.04; }
  .hero h1 span { white-space: normal; }
  .hero__actions { margin-bottom: 0; }
  .hero-model__stage { height: 280px; }
  .hero-model__heading { padding: 14px; }
  .hero-model__footer { padding: 10px 12px; flex-wrap: wrap; }
  .hero-benefits { gap: 0; }
  .hero-benefit { display: block; padding: 18px 14px; border-bottom: 1px solid var(--polaris-line); }
  .hero-benefit:nth-child(odd) { border-right: 1px solid var(--polaris-line); }
  .hero-benefit:nth-child(n+3) { border-bottom: 0; }
  .hero-benefit__marker { margin-bottom: 10px; font-size: 1.5rem; }
  .hero-benefit__marker::after { display: none; }
  .hero-benefit strong { margin-bottom: 6px; }
  .hero-benefit div > span { font-size: .78rem; }
  .service-grid, .process-grid { gap: 16px; }
  .service-card { padding: 24px; }
  .service-card h3 { margin-top: 18px; }
  .service-card .icon-box--large { width: 38px; height: 38px; }
  .about__grid { gap: 30px; }
  .process-grid > li { padding: 24px; }
  .process-grid__number { margin-bottom: 12px; }
  .quote__grid { gap: 24px; }
  .quote__form { padding: 20px 16px; }
  .quote-contact { display: grid; grid-template-columns: 1fr; gap: 0; }
  .quote-note { display: none; }
  .mobile-contact { position: fixed; display: flex; justify-content: space-between; align-items: center; gap: 12px; bottom: 0; inset-inline: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 90; background: #04101ff5; border-top: 1px solid #294056; }
  .mobile-contact .button { min-height: 48px; padding: 14px 18px; font-size: .74rem; }
  .mobile-contact__call { color: #d5e8fa; font-size: .85rem; padding: 12px 4px; }
  .preview-open .mobile-contact, .menu-open .mobile-contact { visibility: hidden; }
  .drawing-preview__dialog { height: 100dvh; }
  .drawing-preview__tools { padding: 8px 10px; gap: 6px; }
  .drawing-preview__tools > span { display: none; }
  .drawing-preview__tools button { padding: 7px 9px; font-size: .75rem; }
}
@media (max-width: 360px) { .hero__actions .button { font-size: .72rem; } .hero-model__stage { height: 240px; } .hero-model__heading { gap: 6px; } .hero-model__badge { font-size: .62rem; } }
