/* ==== Industry pages (2026-11-30): Dental, Home services, Nonprofits, Real estate. Each page loads hv.css, then the
   Political page's parts (pg-political.css, pl2-*), then this file. in2-* are this set's own parts. Each page sets its
   colour on its wrapper: --in (accent), --in-ink (dark text on the soft tile), --in-soft (the soft tile).
   As on the Political page, the finished state is the plain one; starting states are only for people who have not asked
   for less motion, and things that move are real elements (Safari restyles them). ==== */
.in2 { --in: #0a84ff; --in-ink: #001e61; --in-soft: #eef4ff; }

/* ---- the top: words on a soft tile, the real pieces fanning out beside them ---- */
.in2-top { padding-bottom: calc(var(--hv-space) * .5); }
.in2-hero { position: relative; display: grid; align-items: center; min-height: clamp(540px, 50vw, 660px); border-radius: var(--hv-r); overflow: hidden; background: var(--in-soft); isolation: isolate; }
@media (min-width: 900px) { .in2-hero { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } }
.in2-hero-tx { position: relative; z-index: 2; padding: clamp(30px, 4.6vw, 64px); }
.hv .in2-hero .hv-eyebrow { color: var(--in-tx, var(--in)); }   /* --in-tx: a darker text shade where --in is too light for small text (dental, 2026-11-30) */
.hv .in2-h1 { margin: 0; max-width: 12.5em; font-size: clamp(2.15rem, 4.6vw, 3.6rem); line-height: 1.05; font-weight: 600; letter-spacing: -.026em; color: var(--in-ink); text-wrap: balance; }
.hv .in2-hero-lede { margin: .9em 0 0; max-width: 28em; font-size: clamp(1.06rem, 1.6vw, 1.22rem); line-height: 1.42; font-weight: 600; color: color-mix(in srgb, var(--in-ink) 72%, #fff); text-wrap: pretty; }
.hv .in2-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 1.5em 0 0; }
.hv .in2-link { color: var(--in-ink); font-size: 17px; font-weight: 600; text-decoration: none; }
.hv .in2-link::after { content: "\203A"; display: inline-block; margin-left: 6px; color: var(--in); transition: transform .35s var(--pl2-spring); }
.hv .in2-link:hover { text-decoration: none; } .hv .in2-link:hover::after { transform: translateX(4px); }
.in2-fan { position: relative; height: 100%; min-height: 360px; container-type: inline-size; }
.hv .in2-fan img { position: absolute; height: auto; border-radius: 6px; box-shadow: 0 36px 60px -28px rgba(0, 20, 60, .5), 0 3px 10px rgba(0, 20, 60, .14); transition: rotate .8s var(--pl2-spring), translate .8s var(--pl2-spring); }
.hv .in2-fan .f1 { width: 62cqw; right: 8cqw; top: 50%; margin-top: -30cqw; rotate: 6deg; }
.hv .in2-fan .f2 { width: 46cqw; left: 4cqw; top: 50%; margin-top: 2cqw; rotate: -8deg; }
.hv .in2-fan .f3 { width: 58cqw; left: 20cqw; top: 50%; margin-top: -14cqw; rotate: -2deg; }
.in2-hero:hover .f1 { rotate: 9deg; translate: 2cqw -1cqw; } .in2-hero:hover .f2 { rotate: -11deg; translate: -2cqw 1cqw; } .in2-hero:hover .f3 { translate: 0 -1.5cqw; }
@media (max-width: 899px) {
  .in2-hero { align-items: start; }
  .in2-fan { height: max(300px, 74vw); min-height: 0; margin-bottom: 18px; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .in2-hero:not(.is-live) .in2-fan img { opacity: 0; translate: 0 18cqw; rotate: 0deg; }
  .in2-hero.is-live .in2-fan img { transition: opacity .5s ease, translate 1.2s var(--pl2-glide), rotate 1.2s var(--pl2-glide); }
  .in2-hero.is-live .in2-fan .f1 { transition-delay: .2s; } .in2-hero.is-live .in2-fan .f2 { transition-delay: .38s; } .in2-hero.is-live .in2-fan .f3 { transition-delay: .56s; }
  .in2-hero.is-live:hover .in2-fan img { transition: rotate .8s var(--pl2-spring), translate .8s var(--pl2-spring); transition-delay: 0s; }
}

/* ---- the pieces: two tiles over one wide tile ---- */
@media (min-width: 900px) {
  .in2-bento .pl2-pt-card { grid-column: span 11; } .in2-bento .in2-pt-small { grid-column: span 9; }
  .in2-bento .in2-pt-tri, .in2-bento .in2-pt-wide { grid-column: 1 / -1; min-height: 560px; }
  .in2-bento .in2-pt-tri { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; }
  .in2-bento .in2-pt-tri .pl2-pt-tx { padding-bottom: clamp(26px, 3vw, 40px); }
  .in2-bento .in2-pt-tri .pl2-pt-art { height: 100%; margin-top: 0; }
}
.hv .in2-pt-small .pl2-card { width: min(66cqw, 400px); }
/* the tri-fold: its two outer panels fold in over the middle, then open out flat */
.in2-tri { position: absolute; left: 0; right: 0; top: 50%; translate: 0 -50%; width: min(88cqw, 600px); aspect-ratio: 2000 / 1545; margin-inline: auto; perspective: 1600px; }
.in2-tri > span { position: absolute; top: 0; bottom: 0; width: 33.334%; }
.in2-tri-mid { left: 33.333%; overflow: hidden; box-shadow: 0 34px 50px -26px rgba(0, 20, 60, .45), 0 2px 6px rgba(0, 20, 60, .1); }
.hv .in2-tri-mid img { position: absolute; top: 0; left: -100%; width: 300%; max-width: none; height: 100%; }
.in2-tri-flap { transform-style: preserve-3d; transition: transform .7s var(--pl2-glide); }
.in2-tri-flap.l { left: 0; transform-origin: 100% 50%; } .in2-tri-flap.r { left: 66.666%; transform-origin: 0 50%; }
.in2-tri-flap .f, .in2-tri-flap .b { position: absolute; inset: 0; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 0 34px 50px -26px rgba(0, 20, 60, .4); }
.in2-tri-flap .b { transform: rotateY(180deg); background: linear-gradient(90deg, color-mix(in srgb, var(--in-soft) 70%, #fff), var(--in-soft)); }
.hv .in2-tri-flap img { position: absolute; top: 0; width: 300%; max-width: none; height: 100%; }
.hv .in2-tri-flap.l img { left: 0; } .hv .in2-tri-flap.r img { right: 0; }
.in2-pt-tri:hover .in2-tri-flap.l { transform: rotateY(24deg); } .in2-pt-tri:hover .in2-tri-flap.r { transform: rotateY(-24deg); }
@media (prefers-reduced-motion: no-preference) {
  .js .in2-pt-tri:not(.is-live) .in2-tri-flap.l { transform: rotateY(178deg); }
  .js .in2-pt-tri:not(.is-live) .in2-tri-flap.r { transform: rotateY(-178deg); }
  .in2-pt-tri.is-live .in2-tri-flap.r { transition: transform 1.4s cubic-bezier(.45, .05, .2, 1) .45s; }
  .in2-pt-tri.is-live .in2-tri-flap.l { transition: transform 1.4s cubic-bezier(.45, .05, .2, 1) .8s; }
  .in2-pt-tri.is-live:hover .in2-tri-flap { transition: transform .7s var(--pl2-glide); }
}
@media (max-width: 899px) { .in2-pt-tri .pl2-pt-art { height: max(260px, 66vw); } }

/* ---- ways to reach: three tiles, a small drawing over the words ---- */
.in2-ways { display: grid; gap: 14px; margin-top: clamp(32px, 4.4vw, 56px); }
@media (min-width: 900px) { .in2-ways { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.in2-way { display: flex; flex-direction: column; border-radius: var(--hv-r); background: #f5f5f7; overflow: hidden; }
.in2-way-art { position: relative; display: grid; place-items: center; height: 270px; padding: 26px 26px 0; }
.in2-way-tx { padding: 22px clamp(24px, 2.6vw, 34px) clamp(26px, 3vw, 36px); }
.hv .in2-way h3 { margin: 0; font-size: clamp(1.3rem, 1.9vw, 1.6rem); line-height: 1.15; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.hv .in2-way-tx p { margin: .5em 0 0; font-size: 16px; line-height: 1.45; font-weight: 600; color: var(--hv-gray); text-wrap: pretty; }
/* the map: rings round the office, homes lighting up */
.in2-map { position: relative; width: 100%; max-width: 300px; aspect-ratio: 1.25; border-radius: 22px; background: #fff; background-image: linear-gradient(90deg, rgba(0, 0, 0, .04) 1px, transparent 1px), linear-gradient(rgba(0, 0, 0, .04) 1px, transparent 1px); background-size: 22px 22px; box-shadow: 0 18px 36px -24px rgba(0, 20, 60, .35); overflow: hidden; }
.in2-map .ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--in) 50%, transparent); background: color-mix(in srgb, var(--in) 7%, transparent); translate: -50% -50%; }
.in2-map .r1 { width: 26%; aspect-ratio: 1; } .in2-map .r2 { width: 54%; aspect-ratio: 1; } .in2-map .r3 { width: 84%; aspect-ratio: 1; }
.in2-map b { position: absolute; left: var(--x); top: var(--y); width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 2.5px; background: var(--in); box-shadow: 0 0 0 3px color-mix(in srgb, var(--in) 20%, transparent); }
.in2-map .pin { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 40px; height: 40px; margin: -24px 0 0 -20px; border-radius: 50%; background: var(--in); color: #fff; box-shadow: 0 8px 18px -6px color-mix(in srgb, var(--in) 70%, #000); }
.in2-map .pin svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.in2-map-tag { position: absolute; left: 50%; bottom: 10px; translate: -50% 0; padding: 4px 10px; border-radius: 99px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .1); font-size: 11.5px; font-weight: 700; white-space: nowrap; color: var(--in-ink); }
@media (prefers-reduced-motion: no-preference) {
  .js .in2-way:not(.is-live) .in2-map .ring { scale: .2; opacity: 0; }
  .in2-way.is-live .in2-map .ring { transition: scale .9s var(--pl2-glide), opacity .5s ease; } .in2-way.is-live .in2-map .r2 { transition-delay: .15s; } .in2-way.is-live .in2-map .r3 { transition-delay: .3s; }
  .js .in2-way:not(.is-live) .in2-map b { scale: 0; }
  .in2-way.is-live .in2-map b { transition: scale .45s var(--pl2-spring) calc(.55s + var(--k) * .07s); }
}
/* the lists: rows with a chip */
.in2-list { width: 100%; max-width: 310px; padding: 16px; border-radius: 22px; background: #fff; box-shadow: 0 18px 36px -24px rgba(0, 20, 60, .35); }
.hv .in2-list-h { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 10px; font-size: 13px; font-weight: 700; color: var(--in-ink); }
.in2-list-h svg { width: 18px; height: 18px; fill: none; stroke: var(--in); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.in2-list ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.in2-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: #f5f5f7; }
.hv .in2-list li i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: color-mix(in srgb, var(--in) 14%, #fff); color: var(--in-ink); font-style: normal; font-size: 11px; font-weight: 700; }
.in2-list li span { display: grid; gap: 5px; }
.in2-list li b, .in2-list li s { display: block; width: var(--w); height: 6px; border-radius: 99px; background: #c7c7cc; text-decoration: none; }
.in2-list li s { height: 5px; background: #e5e5ea; }
.hv .in2-list li em { padding: 3px 8px; border-radius: 99px; background: color-mix(in srgb, var(--in) 14%, #fff); color: color-mix(in srgb, var(--in) 75%, #000); font-style: normal; font-size: 11px; font-weight: 700; white-space: nowrap; }
.hv .in2-list .is-due li em { background: rgba(255, 149, 0, .15); color: #a35a00; }
@media (prefers-reduced-motion: no-preference) {
  .js .in2-way:not(.is-live) .in2-list li { opacity: 0; translate: 0 12px; }
  .in2-way.is-live .in2-list li { transition: opacity .4s ease calc(.25s + var(--k) * .14s), translate .6s var(--pl2-glide) calc(.25s + var(--k) * .14s); }
  .js .in2-way:not(.is-live) .in2-list li em { scale: .6; opacity: 0; }
  .in2-way.is-live .in2-list li em { transition: scale .45s var(--pl2-spring) calc(.6s + var(--k) * .14s), opacity .3s ease calc(.6s + var(--k) * .14s); }
}

/* ---- steps: the Political cards in this page's colour ---- */
.in2-steps .hm-fc { background: #fff; }
.in2 .in2-tag { background: color-mix(in srgb, var(--in) 14%, #fff); color: color-mix(in srgb, var(--in) 80%, #000); }
.in2 .in2-tag i { background: var(--in); }

/* ---- plan it: the three tool pills ---- */
.in2-plan .hm-tools { margin-top: clamp(22px, 3vw, 34px); }

/* ---- the close: this page's colour behind the words ---- */
.in2-end { background: var(--in-ink); }
/* hero, tightened after the first look (2026-11-30): a smaller headline that keeps to three or four lines, and two pieces */
.hv .in2-h1 { max-width: 14em; font-size: clamp(2rem, 3.7vw, 3.05rem); }
.hv .in2-fan .f3 { width: 64cqw; left: auto; right: 6cqw; margin-top: -24cqw; rotate: 3deg; }
.hv .in2-fan .f2 { width: 48cqw; left: 6cqw; margin-top: 4cqw; rotate: -7deg; z-index: 2; }
.in2-hero:hover .f3 { rotate: 5deg; translate: 1cqw -1.5cqw; } .in2-hero:hover .f2 { rotate: -10deg; translate: -2cqw 1cqw; }

/* ---- parts added for Home services, Nonprofits and Real estate (2026-11-30) ---- */
/* a tall piece (door hanger, letter, large envelope) as the small one in the hero fan */
.hv .in2-fan .f2.tall { width: 27cqw; left: 8cqw; margin-top: -26cqw; rotate: -6deg; }
/* two piece tiles side by side (Real estate) */
@media (min-width: 900px) { .in2-bento.is-two .pl2-pt-card { grid-column: span 10; } }
/* the postcard that turns over: front, then the mailing side, then front again; pointing at it turns it */
.in2-flip { position: absolute; left: 0; right: 0; top: 50%; translate: 0 -50%; width: min(78cqw, 560px); aspect-ratio: 3 / 2; margin-inline: auto; perspective: 1800px; }
.in2-flip-in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1s var(--pl2-glide); }
.in2-flip-in > span { position: absolute; inset: 0; border-radius: 6px; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 0 34px 54px -26px rgba(0, 20, 60, .45), 0 3px 8px rgba(0, 20, 60, .12); }
.in2-flip-in > .bk { transform: rotateY(180deg); }
.hv .in2-flip img { width: 100%; height: 100%; object-fit: cover; }
.in2-pt-flip:hover .in2-flip-in { transform: rotateY(180deg); }
@media (prefers-reduced-motion: no-preference) {
  .js .in2-pt-flip:not(.is-live) .in2-flip { opacity: 0; translate: 0 -38%; }
  .in2-pt-flip.is-live .in2-flip { transition: opacity .5s ease .1s, translate 1s var(--pl2-glide) .1s; }
  .in2-pt-flip.is-live .in2-flip-in { animation: in2-turn 3.4s cubic-bezier(.45, .05, .2, 1) .9s both; }
  .in2-pt-flip.is-live:hover .in2-flip-in { animation: none; }
}
@keyframes in2-turn { 0%, 12% { transform: rotateY(0deg); } 38%, 66% { transform: rotateY(180deg); } 92%, 100% { transform: rotateY(360deg); } }
@media (max-width: 899px) { .in2-pt-flip .pl2-pt-art { height: max(260px, 62vw); } }
/* the donor package: envelope, letter and reply envelope spread out from one stack */
.in2-pack { position: absolute; inset: 0; container-type: inline-size; }
.hv .in2-pack img { position: absolute; height: auto; border-radius: 3px; box-shadow: 0 30px 50px -24px rgba(0, 20, 60, .45), 0 2px 6px rgba(0, 20, 60, .12); transition: translate .8s var(--pl2-spring), rotate .8s var(--pl2-spring); }
.hv .in2-pack .p-env { width: 46cqw; left: 6cqw; top: 22%; rotate: -5deg; z-index: 1; }
.hv .in2-pack .p-let { width: 25cqw; left: 40cqw; top: 8%; rotate: 2deg; z-index: 3; }
.hv .in2-pack .p-rep { width: 38cqw; right: 5cqw; top: 46%; rotate: 6deg; z-index: 2; }
.in2-pt-pack:hover .p-env { translate: -1.5cqw 0; } .in2-pt-pack:hover .p-let { translate: 0 -1.5cqw; } .in2-pt-pack:hover .p-rep { translate: 1.5cqw 0; }
@media (prefers-reduced-motion: no-preference) {
  .js .in2-pt-pack:not(.is-live) .in2-pack img { translate: var(--fx, 0) var(--fy, 0); rotate: 0deg; opacity: 0; }
  .hv .in2-pack .p-env { --fx: 18cqw; --fy: 8%; } .hv .in2-pack .p-let { --fx: -4cqw; --fy: 30%; } .hv .in2-pack .p-rep { --fx: -18cqw; --fy: -10%; }
  .in2-pt-pack.is-live .in2-pack img { transition: opacity .4s ease, translate 1.2s var(--pl2-glide), rotate 1.2s var(--pl2-glide); }
  .in2-pt-pack.is-live .p-env { transition-delay: .2s; } .in2-pt-pack.is-live .p-let { transition-delay: .4s; } .in2-pt-pack.is-live .p-rep { transition-delay: .6s; }
  .in2-pt-pack.is-live:hover .in2-pack img { transition: translate .8s var(--pl2-spring), rotate .8s var(--pl2-spring); transition-delay: 0s; }
}
@media (min-width: 900px) { .in2-bento .in2-pt-pack { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; } .in2-bento .in2-pt-pack .pl2-pt-tx { padding-bottom: clamp(26px, 3vw, 40px); } .in2-bento .in2-pt-pack .pl2-pt-art { height: 100%; min-height: 460px; margin-top: 0; } }
@media (max-width: 899px) { .in2-pt-pack .pl2-pt-art { height: max(280px, 70vw); } }
/* the farm area: a block of homes on a street grid, the farm outlined and its homes lit */
.in2-map.is-farm .area { position: absolute; left: 18%; top: 20%; width: 58%; height: 56%; border-radius: 16px; border: 2px dashed var(--in); background: color-mix(in srgb, var(--in) 9%, transparent); }
.in2-map.is-farm b { background: #c7c7cc; box-shadow: none; }
.in2-map.is-farm b.on { background: var(--in); box-shadow: 0 0 0 3px color-mix(in srgb, var(--in) 20%, transparent); }
@media (prefers-reduced-motion: no-preference) {
  .js .in2-way:not(.is-live) .in2-map.is-farm .area { opacity: 0; scale: .7; }
  .in2-way.is-live .in2-map.is-farm .area { transition: opacity .5s ease .1s, scale .9s var(--pl2-spring) .1s; }
}
.hv .in2-tall-card { width: min(40cqw, 250px); bottom: 7%; }
/* fixes after the first look at the three pages (2026-11-30) */
@media (min-width: 900px) { .in2-bento .in2-pt-pack { grid-column: 1 / -1; min-height: 560px; } }
/* door hanger: sized by the tile's height so the whole hanger shows */
.in2 .pl2-pt-hang .pl2-hang-w { left: 50%; right: auto; top: 3%; width: auto; height: 90%; aspect-ratio: 850 / 2200; margin: 0; translate: -50% 0; }
.hv.in2 .pl2-pt-hang .pl2-hanger { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 899px) { .in2 .pl2-pt-hang .pl2-pt-art { height: 420px; } }
/* the tall piece in the hero sits lower, overlapping the wide one */
.hv .in2-fan .f2.tall { margin-top: -18cqw; }
/* maps (2026-11-30, Andrew: the rings were cropped and the homes should be round): rings sized by the map's height so
   the outer one fits inside, homes as round dots placed inside the rings; the farm map's homes are round too */
.in2-map .ring { width: auto !important; aspect-ratio: 1; }
.in2-map .r1 { height: 30%; } .in2-map .r2 { height: 60%; } .in2-map .r3 { height: 88%; }
.in2-map b, .in2-map.is-farm b { width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; }
.in2-map-tag { bottom: 8px; }
/* rings and pin a little higher so the label at the bottom never covers them */
.in2-map .ring, .in2-map .pin { top: 45%; }
.in2-map .r1 { height: 27%; } .in2-map .r2 { height: 54%; } .in2-map .r3 { height: 78%; }
/* closing tile without a photo (pages where no licensed photo fits) */
.in2-end-plain { min-height: clamp(300px, 28vw, 380px) !important; }
@media (max-width: 899px) { .in2-end-plain { min-height: 0 !important; align-items: center; } }
.in2-end-plain { justify-items: center; text-align: center; }
.in2-end-plain .pl2-end-tx { max-width: 36em !important; margin-inline: auto; }
.hv .in2-end-plain h2 { margin-inline: auto; }
