/* Discovery call panel (discovery.js) — the "Type" look: big words straight on the blurred page */
html.dc-lock { overflow: hidden; }
.dc { position: fixed; inset: 0; z-index: 9600; display: grid; place-items: center; padding: 24px; visibility: hidden; pointer-events: none; }
.dc.open { visibility: visible; pointer-events: auto; }
.dc-scrim { position: absolute; inset: 0; background: rgba(8,8,8,.5); -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); opacity: 0; transition: opacity .5s var(--ease), backdrop-filter .7s var(--ease), -webkit-backdrop-filter .7s var(--ease); }
.dc.open .dc-scrim { opacity: 1; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.dc-x { position: absolute; top: 22px; right: 22px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); opacity: 0; transition: opacity .4s, transform .5s var(--ease); }
.dc-x i { position: absolute; left: 13px; right: 13px; top: 21px; height: 1px; background: currentColor; transform: rotate(45deg); }
.dc-x i + i { transform: rotate(-45deg); }
.dc-x:hover { transform: rotate(90deg); }
.dc.open .dc-x { opacity: 1; transition-delay: .3s; }
.dc-wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.25fr; gap: 14px; width: min(1120px, 100%); max-height: calc(100svh - 48px); }
.dc-p { position: relative; padding: clamp(26px, 3.4vw, 46px); overflow: auto; opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.dc.open .dc-p { opacity: 1; transform: none; }
.dc.open .dc-formp { transition-delay: .08s; }
.dc-contact { display: flex; flex-direction: column; gap: 18px; }
.dc-h { font-weight: 500; text-transform: uppercase; font-size: clamp(40px, 4.6vw, 72px); line-height: .92; letter-spacing: -.035em; }
.dc-sub { color: rgba(252,252,252,.72); max-width: 40ch; }
.dc-big { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 12px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.14); }
.dc-big:last-of-type { border-bottom: 1px solid rgba(255,255,255,.14); }
.dc-big span { grid-column: 1 / -1; font-size: 12px; text-transform: uppercase; color: var(--mute); }
.dc-big b { font-weight: 500; font-size: clamp(20px, 2vw, 28px); letter-spacing: -.02em; transition: color .3s; }
.dc-big svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.2; margin-bottom: 8px; transition: transform .5s var(--ease); }
.dc-big:hover b { color: var(--red); }
.dc-big:hover svg { transform: translate(3px, -3px); }
.dc-where { margin-top: auto; font-size: 12px; color: var(--mute); }

.dc-form { display: grid; gap: 18px; }
.dc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dc-form label > span, .dc-form legend { display: block; font-size: 12px; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
.dc-form legend small { text-transform: none; }
.dc-form input:not([type=checkbox]), .dc-form textarea { width: 100%; padding: 8px 0 10px; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.22); color: inherit; font: inherit; font-size: 17px; outline: 0; resize: none; transition: border-color .3s; }
.dc-form input:focus, .dc-form textarea:focus { border-bottom-color: var(--paper); }
.dc-form label.bad input { border-bottom-color: var(--red); }
.dc-form fieldset { border: 0; padding: 0; margin: 0; }
.dc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dc-chip { position: relative; cursor: pointer; }
.dc-chip input { position: absolute; opacity: 0; pointer-events: none; }
.dc-chip span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); font-size: 14px; transition: background .3s, border-color .3s, color .3s; }
.dc-chip span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; border: 1px solid currentColor; transition: background .3s, border-color .3s; }
.dc-chip:hover span { border-color: rgba(255,255,255,.6); }
.dc-chip input:checked + span { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.dc-chip input:checked + span::before { background: var(--red); border-color: var(--red); }
.dc-chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.dc-send { justify-self: start; display: inline-flex; align-items: center; gap: 40px; height: 48px; padding: 0 18px; background: var(--red); color: var(--paper); font-size: 13px; text-transform: uppercase; transition: background .3s, color .3s; }
.dc-send svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .5s var(--ease); }
.dc-send:hover { background: var(--paper); color: var(--ink); }
.dc-send:hover svg { transform: translate(2px, -2px); }
.dc-form.sent > :not(.dc-done):not(.eyebrow) { opacity: .25; pointer-events: none; }
.dc-done { font-size: 18px; color: var(--paper); }
.dc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 4 · Type: no boxes, big words straight on the blur ---------- */
.dc .dc-scrim { background: rgba(8,8,8,.68); }
.dc.open .dc-scrim { -webkit-backdrop-filter: blur(28px); backdrop-filter: blur(28px); }
.dc .dc-wrap { width: min(1280px, 100%); gap: clamp(30px, 6vw, 100px); }
.dc .dc-p { padding: 0; }
.dc .dc-h { font-size: clamp(56px, 7vw, 120px); }
.dc .dc-big { border: 0 !important; padding: 6px 0; }
.dc .dc-big b { font-size: clamp(24px, 2.6vw, 40px); }
.dc .dc-contact > * { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .9s var(--ease); }
.dc.open .dc-contact > * { opacity: 1; transform: none; }
.dc.open .dc-contact > :nth-child(2) { transition-delay: .06s; } .dc.open .dc-contact > :nth-child(3) { transition-delay: .12s; }
.dc.open .dc-contact > :nth-child(4) { transition-delay: .18s; } .dc.open .dc-contact > :nth-child(5) { transition-delay: .24s; }
.dc .dc-formp { border-left: 1px solid rgba(255,255,255,.14); padding-left: clamp(30px, 4vw, 60px); }

/* ---------- phones: panels stack, the overlay scrolls ---------- */
@media (max-width: 760px) {
  .dc-wrap { grid-template-columns: 1fr; max-height: none; height: auto; }
  .dc { place-items: start center; overflow-y: auto; padding: 70px 12px 24px; }
  .dc .dc-formp { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding-top: 30px; }
  .dc-row { grid-template-columns: 1fr; }
  .dc-x { position: fixed; top: 14px; right: 14px; }
}


/* chips: the label-span rule above must not hit the chip text */
.dc-chip span::before { flex: none; }
.dc-form .dc-chip > span { display: inline-flex; margin: 0; font-size: 14px; text-transform: none; color: inherit; }
.dc-form .dc-chip input:checked + span { color: var(--ink); }

/* no scrollbar flash while the contact lines rise in: the panels never scroll themselves,
   the overlay scrolls as a whole when the window is too short (and hides its scrollbar) */
.dc .dc-p { overflow: visible; }
.dc .dc-wrap { max-height: none; }
.dc { overflow-y: auto; scrollbar-width: none; }
.dc::-webkit-scrollbar { display: none; }
@media (max-height: 760px) and (min-width: 761px) { .dc { place-items: start center; padding-top: 84px; } }

/* ============ phones: "Choice first" (2026-10-23) — email, call or leave details; the form slides in, everything fits one screen ============ */
.dc-next, .dc-back { display: none; }
@media (max-width: 760px) {
  .dc { padding: 64px 20px 20px; overflow-x: hidden; overflow-y: auto; place-items: start center; }
  .dc .dc-wrap { display: grid; grid-template-columns: 1fr; }
  .dc .dc-p { grid-area: 1 / 1; transition: transform .6s var(--ease), opacity .4s !important; }
  .dc .dc-formp { border-top: 0; padding-top: 0; }
  .dc.open .dc-formp { transform: translateX(110%) !important; opacity: 0 !important; pointer-events: none; }
  .dc.open.step2 .dc-contact { transform: translateX(-110%) !important; opacity: 0 !important; pointer-events: none; }
  .dc.open.step2 .dc-formp { transform: none !important; opacity: 1 !important; pointer-events: auto; }
  .dc .dc-contact { gap: 14px; }
  .dc .dc-h { font-size: 44px; }
  .dc .dc-where { display: none; }
  .dc-next { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: end; padding: 16px 18px; border-radius: 12px; background: var(--red); color: var(--ink); text-align: left; }
  .dc-next span { font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
  .dc-next b { grid-row: 2; font-weight: 400; font-size: 12px; opacity: .7; }
  .dc-next svg { grid-row: 1 / 3; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; }
  .dc-back { display: block; justify-self: start; font-size: 13px; color: var(--mute); padding: 4px 0 8px; }
  /* compact form */
  .dc .dc-form { gap: 13px; }
  .dc .dc-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dc .dc-form label > span, .dc .dc-form legend { font-size: 11px; margin-bottom: 2px; }
  .dc .dc-form input:not([type=checkbox]), .dc .dc-form textarea { font-size: 16px; padding: 5px 0 7px; }
  .dc .dc-form textarea { height: 34px; }
  .dc .dc-chips { gap: 6px; }
  .dc .dc-form .dc-chip > span { padding: 7px 11px; font-size: 13px; gap: 6px; }
  .dc .dc-send { justify-self: stretch; justify-content: space-between; height: 46px; }
  .dc .dc-form .eyebrow { font-size: 11px; }
  .dc .dc-x { width: 40px; height: 40px; top: 12px; right: 12px; }
  .dc .dc-x i { left: 12px; right: 12px; top: 19px; }
}

/* 2026-11-12: privacy note under the form */
.dc-legal { margin: -6px 0 0; font-size: 12px; color: var(--mute); }
.dc-legal a { text-decoration: underline; text-underline-offset: 2px; }
