/* Section 11, "See what is costing you leads": "Gather" (confirmed 11 Oct). The nine checks fly in from
   around the section and settle into a ticked list as it scrolls into view; then the form.
   Hover rule: hit areas never move; only what is inside them does. */
@font-face { font-family: "IBM Plex Mono"; src: url(brandfonts/IBMPlexMono-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
.en { --px: clamp(24px, 7vw, 120px); position: relative; isolation: isolate; overflow: clip; background: var(--bg); color: var(--ink); padding: clamp(64px, calc(var(--vh, 1vh) * 9), 100px) var(--px) clamp(100px, calc(var(--vh, 1vh) * 14), 160px); }   /* heading sits higher, so the gather plays in view */
.en[data-tone="dark"] { --bg: #17110E; --ink: #F1E9DE; --muted: #B3A392; --accent: #CDA85F; --accent-text: #CDA85F; --rule: rgba(205,168,95,.22); --line: rgba(241,233,222,.14); --panel: #201915; --panel2: #2A211B; --field: #1C1612; --grid: rgba(205,168,95,.07); }
.en[data-tone="light"] { --bg: #FAFAF8; --ink: #17110E; --muted: #5F5A55; --accent: #A9853D; --accent-text: #7A5A16; --rule: rgba(23,17,14,.14); --line: rgba(23,17,14,.12); --panel: #FFFFFF; --panel2: #F3EFE8; --field: #FAFAF8; --grid: rgba(23,17,14,.055); }
.en::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 30%, transparent 100%); mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 30%, transparent 100%); }
.en-wrap { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.en h2 { margin: 0 0 18px; font: 700 clamp(2.4rem, 5vw, 4.6rem)/1.02 var(--serif); letter-spacing: -0.03em; max-width: 11em; }
.en-sub { margin: 0 0 30px; max-width: 34em; font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.6; color: var(--ink); opacity: .88; }
.en-list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 10px; }
.en-list li { display: flex; gap: 12px; align-items: center; font-size: 1rem; }
.en-tk { flex: none; width: 22px; height: 22px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.en-tk circle { stroke: var(--rule); transition: stroke .4s, fill .4s; }
.en-tk path { stroke: var(--accent); stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset .45s var(--ease); }
.en-list li.on .en-tk circle { stroke: var(--accent); fill: rgba(205,168,95,.12); } .en-list li.on .en-tk path { stroke-dashoffset: 0; }
.en.rm .en-list li .en-tk path { stroke-dashoffset: 0; }

/* the form card */
.en-card { position: relative; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: 22px; background: var(--panel); box-shadow: 0 30px 80px rgba(0,0,0,.16); }
.en-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.en-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.en-f { position: relative; display: grid; gap: 6px; min-width: 0; } .en-f.wide { grid-column: 1 / -1; }
.en-f label { font: 600 .82rem/1.2 var(--sans); color: var(--muted); transition: color .3s; }
.en-f small { font-weight: 400; font-size: 12px; } .en-req { color: var(--accent-text); }
.en-f input, .en-f select, .en-f textarea { width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--field); color: var(--ink); font: 400 1rem/1.3 var(--sans); outline: 0; transition: border-color .3s, background .3s; -webkit-appearance: none; appearance: none; }
.en-f select { padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.en-f textarea { resize: vertical; min-height: 84px; }
.en-f input::placeholder { color: var(--muted); opacity: .6; }
.en-f i { position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); pointer-events: none; }
.en-f:focus-within label { color: var(--accent-text); } .en-f:focus-within input, .en-f:focus-within select, .en-f:focus-within textarea { border-color: var(--accent); }
.en-f:focus-within i { transform: scaleX(1); }
.en-f.bad input { border-color: #C2513A; }
.en-go { grid-column: 1 / -1; justify-content: center; width: 100%; border: 0; cursor: pointer; font-size: 1.05rem; min-height: 56px; }
@media (hover: hover) { .en-go:hover::before { transform: translate(-50%, -50%) scale(1); } }
.en[data-tone="light"] .en-go { border: 1px solid #B08D45; } .en[data-tone="light"] .en-go::before { background: #17110E; }
@media (hover: hover) { .en[data-tone="light"] .en-go:hover { color: #CDA85F; } }
.en-priv { grid-column: 1 / -1; margin: -4px 0 0; text-align: center; color: var(--muted); font-size: .85rem; }
.en-next { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); }
.en-nt { margin: 0 0 10px; font: 600 .78rem/1 "IBM Plex Mono", ui-monospace, monospace; color: var(--accent-text); }
.en-next ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.en-next li { font-size: .88rem; line-height: 1.35; color: var(--muted); transition: color .4s; }
.en-next b { display: block; margin-bottom: 4px; font: 700 1.1rem/1 var(--serif); color: var(--accent-text); }
/* review pages only: after "sending", the card shows what happens next (nothing is sent) */
.en-done { display: none; }
.en-card.sent .en-form { display: none; }
.en-card.sent .en-done { display: block; animation: enUp .6s var(--ease); }
.en-done h3 { margin: 0 0 6px; font: 700 1.6rem/1.15 var(--serif); } .en-done p { margin: 0 0 4px; color: var(--muted); font-size: .9rem; }
.en-card.sent .en-next li { animation: enLit .5s var(--ease) both; animation-delay: calc(.5s + var(--k) * .55s); }
@keyframes enLit { from { opacity: .25; transform: translateY(8px); } to { opacity: 1; transform: none; color: var(--ink); } }
@keyframes enUp { from { opacity: 0; transform: translateY(14px); } }
/* entrance */
.en-left > *, .en-right { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.en-left > :nth-child(2) { transition-delay: .08s; } .en-left > :nth-child(3) { transition-delay: .16s; } .en-left > :nth-child(4) { transition-delay: .24s; } .en-right { transition-delay: .2s; }
.en.in .en-left > *, .en.in .en-right { opacity: 1; transform: none; }

/* ---------- e6 Gather: the nine checks fly in from around the section and settle into the list ---------- */
.en-left { position: relative; z-index: 2; }   /* the flying checks pass over the form */
.en .en-list li { --g: 0; transform: translate(calc(var(--dx) * (1 - var(--g))), calc(var(--dy) * (1 - var(--g)))) rotate(calc(var(--r) * (1 - var(--g)))); opacity: calc(.2 + var(--g) * .8); will-change: transform; }
.en .en-list li span { padding: 6px 12px; border: 1px solid var(--rule); border-radius: 99px; background: var(--panel); white-space: nowrap; box-shadow: 0 calc((1 - var(--g)) * 16px) calc((1 - var(--g)) * 30px) rgba(23,17,14,.12); transition: border-color .3s, background .3s; }
.en .en-list.done li span { border-color: rgba(169,133,61,.5); }
.en .en-list { gap: 8px; }
.en .en-list.done li .en-tk path { stroke-dashoffset: 0; transition-delay: calc(var(--k) * .06s); } .en .en-list.done li .en-tk circle { stroke: var(--accent); fill: rgba(205,168,95,.12); }

@media (max-width: 860px) {
  .en-wrap { grid-template-columns: minmax(0, 1fr); }
  .en-form { grid-template-columns: minmax(0, 1fr); } .en-next ol { grid-template-columns: minmax(0, 1fr); }
  .en .en-list li { transform: none; opacity: 1; } .en .en-list li span { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .en *, .en *::before, .en *::after { animation: none !important; transition: none !important; }
  .en-left > *, .en-right { opacity: 1 !important; transform: none !important; }
  .en .en-list li { transform: none !important; opacity: 1 !important; }
}

/* "Find my leaks": on hover the arrow slides away, a magnifier slides in and scans, and a light sweeps across */
.en-go { --sx: -120%; }
.en-go::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); transform: translateX(var(--sx)); }
.en-go > span { position: relative; z-index: 1; }
.en-ico { position: relative; z-index: 1; display: inline-block; width: 18px; height: 18px; overflow: hidden; }
.en-ico svg { position: absolute; inset: 0; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; transition: transform .45s var(--ease); }
.en-ico .mag { transform: translateX(-140%); }
@media (hover: hover) {
  .en-go:hover { --sx: 120%; } .en-go:hover::after { transition: transform .9s var(--ease); }
  .en-go:hover .en-ico .arr { transform: translateX(140%); }
  .en-go:hover .en-ico .mag { transform: translateX(0); animation: enMag 1.4s ease-in-out .45s infinite; }
}
@keyframes enMag { 0%, 100% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(-2px, -1px) rotate(-14deg); } 75% { transform: translate(2px, 1px) rotate(14deg); } }

/* "Prefer to talk?": a real button, so it reads as clickable */
.en-talkrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.en-talkrow > span { color: var(--muted); }
.en-talk { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 16px; border: 1px solid #B08D45; border-radius: 99px; background: var(--panel); color: var(--accent-text); font-weight: 600; text-decoration: none; cursor: pointer; box-shadow: 0 6px 18px rgba(23,17,14,.06); transition: color .35s var(--ease), box-shadow .35s var(--ease); }
.en-talk::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #17110E; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.en-talk .cal { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; transition: transform .45s var(--ease); }
.en-talk .arw { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .35s var(--ease); }
.en-talk:focus-visible { outline: 2px solid #A9853D; outline-offset: 3px; }
@media (hover: hover) {
  .en-talk:hover { color: #CDA85F; box-shadow: 0 12px 28px rgba(23,17,14,.18); } .en-talk:hover::before { transform: scaleX(1); }
  .en-talk:hover .cal { transform: rotate(-10deg) scale(1.08); } .en-talk:hover .arw { transform: translateX(4px); }
}
