/* Industry pages — _layouts/industry.html.
   Ported from the Claude Design "Industry Template". Values are the design's; the
   design set them inline and overrode them on phones with !important, here they
   are classes so the phone rules at the bottom are plain overrides.
   Fonts, .font-display, .reveal, .kenburns and .lift come from home-styles.html. */

[data-ip-root] { background: #FAFAF9; color: #0A0A0A; font-family: Inter, system-ui, sans-serif; }

/* While Inter downloads, phones show their system font, about 5% narrower, so a
   headline can wrap onto one line fewer and then grow when Inter arrives. On
   Excavation that pushed everything below the hero down 40px (a layout shift).
   These stand-ins are scaled to Inter ExtraBold's width, so headings break the
   same way before and after: Arial on iPhone, Mac and Windows, Roboto on
   Android. The sizes were measured against every industry headline. */
@font-face { font-family: 'Inter Fallback'; src: local('Arial Bold'), local('Arial-BoldMT'); font-weight: 800; size-adjust: 102%; }
@font-face { font-family: 'Inter Fallback Android'; src: local('Roboto Bold'), local('Roboto-Bold'); font-weight: 800; size-adjust: 109.25%; }
[data-ip-root] .font-display { font-family: 'Inter', 'Inter Fallback', 'Inter Fallback Android', system-ui, sans-serif; }

[data-ip-root] a { color: inherit; text-decoration: none; }
[data-ip-root] a:hover { color: #1D4ED8; }

.ip-wrap { max-width: 1400px; margin: 0 auto; padding: 0 clamp(24px, 4vw, 48px); box-sizing: border-box; }
.ip-sec { padding: 88px 0; background: #FAFAF9; }
.ip-sec--intro, .ip-sec--80 { padding: 80px 0; }
.ip-sec--white { background: #fff; }
.ip-sec--related { padding: 64px 0 88px; }
.ip-bt { border-top: 1px solid #E7E5E4; }
.ip-bb { border-bottom: 1px solid #E7E5E4; }
.ip-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ip-2col { display: grid; gap: 64px; align-items: start; }
.ip-2col--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.ip-2col--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; }
.ip-stack { display: flex; flex-direction: column; }
.ip-stack--14 { gap: 14px; }
.ip-stack--16 { gap: 16px; }
.ip-stack--20 { gap: 20px; }

/* ---- Type ---------------------------------------------------------------- */
.ip-h2 { margin: 0; font-size: clamp(38px, 4.4vw, 60px); line-height: 0.95; letter-spacing: -0.045em; color: #0A0A0A; text-wrap: balance; }
.ip-h2-lg { margin: 0; font-size: clamp(38px, 5.2vw, 72px); line-height: 0.95; letter-spacing: -0.045em; color: #0A0A0A; text-wrap: balance; max-width: 18ch; }
.ip-h2-sm { margin: 0; font-size: clamp(28px, 3vw, 40px); line-height: 1; letter-spacing: -0.04em; color: #0A0A0A; text-wrap: balance; }
.ip-h3 { margin: 0; font-size: clamp(28px, 3vw, 40px); line-height: 1; letter-spacing: -0.04em; color: #0A0A0A; }
.ip-p19 { margin: 0; font-size: 19px; line-height: 1.45; color: #44403C; max-width: 62ch; text-wrap: pretty; }
.ip-p19--wide { max-width: 66ch; }
.ip-p18 { margin: 0; font-size: 18px; line-height: 1.45; color: #44403C; max-width: 60ch; text-wrap: pretty; }
.ip-p18--ink { line-height: 1.5; color: #1C1917; max-width: 62ch; }
.ip-lead { margin: 0; font-size: clamp(22px, 2vw, 28px); line-height: 1.3; font-weight: 500; letter-spacing: -0.015em; color: #0A0A0A; text-wrap: pretty; }
.ip-intro-lead { max-width: 880px; }

/* ---- Buttons ------------------------------------------------------------- */
.ip-cta { display: flex; }
.ip-cta--8 { margin-top: 8px; }
.ip-cta--12 { margin-top: 12px; }
.ip-cta--32 { margin-top: 32px; }
.ip-cta--center { justify-content: center; }
[data-ip-root] .ip-btn, .ip-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 9999px; background: #2563EB; color: #fff; font-size: 16px; font-weight: 700; padding: 14px 24px; line-height: 1; border: 0; cursor: pointer; font-family: inherit; transition: background .2s; }
[data-ip-root] .ip-btn:hover, .ip-btn:hover { background: #1D4ED8; color: #fff; }
.ip-btn--lg { font-size: 17px; padding: 16px 28px; }
.ip-btn--final { font-size: 17px; padding: 18px 30px; box-shadow: 0 24px 50px -14px rgba(37, 99, 235, 0.65); }
.ip-btn--sm { font-size: 15px; padding: 12px 22px; }

/* ---- Hero ---------------------------------------------------------------- */
.ip-hero { position: relative; overflow: hidden; background: #1C1917; }
.ip-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.ip-hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,0.66) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.3) 100%); }
/* No photo yet: the glow the design gives its final CTA when there is no photo,
   placed top-right here so it sits away from the headline. */
.ip-hero--nophoto { background: radial-gradient(ellipse at 75% 0%, rgba(57,111,227,0.35) 0%, rgba(28,25,23,0) 60%), #1C1917; }
.ip-hero--nophoto .ip-hero-shade { display: none; }
.ip-hero-grid { position: relative; z-index: 1; max-width: 1400px; margin: 0 auto; padding: 152px clamp(24px, 4vw, 48px) 64px; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; pointer-events: none; }
.ip-hero-copy { pointer-events: auto; }
.ip-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.78); }
[data-ip-root] .ip-eyebrow a { color: rgba(255,255,255,0.78); }
[data-ip-root] .ip-eyebrow a:hover { color: #fff; }
.ip-h1 { margin: 20px 0 0; font-size: clamp(40px, 4.2vw, 60px); line-height: 0.95; letter-spacing: -0.045em; color: #fff; text-wrap: balance; max-width: 18ch; }
.ip-subline { margin: 20px 0 0; font-size: 20px; line-height: 1.35; font-weight: 500; color: rgba(255,255,255,0.9); max-width: 40ch; text-wrap: pretty; }
.ip-bbb { margin-top: 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ip-bbb img { height: 32px; width: auto; filter: brightness(0) invert(1); }
.ip-bbb span { color: rgba(255,255,255,0.35); font-size: 26px; font-weight: 300; }

/* Hero CTA: the design's button variant (heroQuickStart off). The pulse ring is
   .cta-pulse from home-styles.html, which also stops it for reduced motion. */
.ip-hero-cta { margin-top: 32px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.ip-btn--hero { font-size: 17px; padding: 18px 30px; }

/* Glass on the floating quick-start card and mobile pill — verbatim from the
   design (liquidGlass: on), with the homepage's dark .15 tint, for the reason
   written down in _layouts/home.html. */
[data-qs-mobile] { background: transparent !important; border: 0 !important; box-shadow: none !important; }
/* The pill starts hidden on phones too (home-styles.html shows it by default and
   relies on enhance.js to hide it); industry.js sets display:flex once the hero
   button has scrolled out of view. */
[data-ip-root] ~ [data-qs-mobile] { display: none; }
[data-qs-docked][data-ip-glass="true"], [data-qs-mobile-pill][data-ip-glass="true"] { background: rgba(15,23,42,0.15) !important; -webkit-backdrop-filter: blur(30px) saturate(135%) brightness(0.86); backdrop-filter: blur(30px) saturate(135%) brightness(0.86); border-width: 1px !important; border-style: solid !important; border-color: rgba(255,255,255,0.45) !important; box-shadow: 0 0 24px 0 rgba(15,23,42,0.22) !important; }
[data-qs-docked][data-ip-glass="true"], [data-qs-docked][data-ip-glass="true"] *, [data-qs-mobile-pill][data-ip-glass="true"], [data-qs-mobile-pill][data-ip-glass="true"] * { color: #FFFFFF !important; }
[data-qs-docked][data-ip-glass="true"] [data-qs-input]::placeholder, [data-qs-mobile-pill][data-ip-glass="true"] [data-qs-input]::placeholder { color: rgba(255,255,255,0.72) !important; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  [data-qs-docked][data-ip-glass="true"], [data-qs-mobile-pill][data-ip-glass="true"] { background: rgba(15,23,42,0.55) !important; }
}

/* ---- Trust strip ----------------------------------------------------------- */
.ip-trust-sec { background: #FAFAF9; border-bottom: 1px solid #E7E5E4; }
.ip-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ip-trust > div { padding: 32px; border-left: 1px solid #E7E5E4; }
.ip-trust > div:first-child { padding-left: 0; border-left: 0; }
.ip-trust > div:last-child { padding-right: 0; }
.ip-trust-val { font-size: 44px; color: #2563EB; font-variant-numeric: tabular-nums; }
.ip-trust-label { margin-top: 10px; font-size: 16px; line-height: 20px; color: #44403C; max-width: 26ch; }
.ip-trust-stars { height: 60px; width: auto; max-width: 100%; display: block; object-fit: contain; object-position: left center; }
.ip-trust-reviews { margin: 12px 0 0; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; font-size: 16px; line-height: 20px; font-weight: 700; color: #1D4ED8; display: inline-flex; align-items: center; gap: 6px; }
.ip-trust-reviews:hover { text-decoration: underline; }

/* ---- Requirements table ---------------------------------------------------- */
.ip-req { margin-top: 48px; background: #fff; border: 1px solid #E7E5E4; border-radius: 8px; overflow: hidden; }
.ip-req-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid #E7E5E4; }
.ip-req-row:last-child { border-bottom: 0; }
.ip-req-head { background: #F5F5F4; }
.ip-req-corner { padding: 20px 28px; }
.ip-req-cell { padding: 24px 28px; border-left: 1px solid #E7E5E4; display: flex; align-items: baseline; gap: 8px; }
.ip-req-cell--stack { flex-direction: column; align-items: flex-start; gap: 6px; }
.ip-req-head .ip-req-cell { padding: 20px 28px; font-size: 22px; line-height: 26px; font-weight: 800; letter-spacing: -0.025em; color: #0A0A0A; }
.ip-req-label { padding: 24px 28px; font-size: 17px; font-weight: 600; color: #44403C; align-self: center; }
.ip-req-val { font-size: 32px; color: #0A0A0A; font-variant-numeric: tabular-nums; }
.ip-req-unit { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: #78716C; }
.ip-req-main { display: flex; align-items: baseline; gap: 3px; }
.ip-req-alt { display: flex; align-items: baseline; gap: 5px; font-size: 15px; font-weight: 600; color: #44403C; font-variant-numeric: tabular-nums; }
.ip-req-alt .ip-req-unit { margin-left: -2px; }
.ip-req-or { font-weight: 500; color: #78716C; }
@media (min-width: 1025px) {
  .ip-req-row:not(.ip-req-head) { transition: background-color 150ms; }
  .ip-req-row:not(.ip-req-head):hover { background-color: #EFF6FF; }
}

/* ---- Considerations (dental) ---------------------------------------------- */
.ip-considerations { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px 64px; }
.ip-considerations p { margin: 0; font-size: 18px; line-height: 1.5; color: #1C1917; text-wrap: pretty; padding-top: 20px; border-top: 1px solid #E7E5E4; }

/* ---- Loan types ------------------------------------------------------------ */
.ip-loans { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.ip-loan { border-top: 2px solid #0A0A0A; padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.ip-loan h3 { margin: 0; font-size: 19px; line-height: 23px; font-weight: 800; letter-spacing: -0.02em; color: #0A0A0A; }
.ip-loan p { margin: 0; font-size: 15px; line-height: 20px; color: #44403C; text-wrap: pretty; }

/* ---- Testimonial ----------------------------------------------------------- */
.ip-h2-testimonial { margin: 0 0 40px; font-size: clamp(34px, 4vw, 56px); line-height: 0.95; letter-spacing: -0.045em; color: #0A0A0A; text-wrap: balance; max-width: 20ch; }
.ip-dagger { font-size: 0.4em; font-weight: 400; letter-spacing: 0; vertical-align: super; line-height: 0; }
.ip-testimonial { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.42fr); border-radius: 24px; overflow: hidden; min-height: 460px; background: #396FE3; color: #fff; }
.ip-testimonial-photo { position: relative; min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: radial-gradient(ellipse at 30% 20%, #4F80EA 0%, #2F5FCC 70%); }
.ip-testimonial-photo .font-display { font-size: clamp(96px, 10vw, 160px); color: rgba(255,255,255,0.95); }
.ip-testimonial-stars { font-size: 20px; letter-spacing: 4px; color: rgba(255,255,255,0.9); }
.ip-testimonial-body { position: relative; display: flex; flex-direction: column; padding: 40px; }
.ip-testimonial-count { font-size: 14px; line-height: 18px; font-weight: 600; color: rgba(255,255,255,0.9); }
.ip-testimonial-name { margin-top: 12px; font-size: 36px; line-height: 0.95; letter-spacing: -0.045em; }
.ip-testimonial blockquote { margin: auto 0 0; padding-top: 40px; font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; line-height: 1.2; letter-spacing: -0.025em; max-width: 26ch; text-wrap: balance; }
.ip-disclaimer { margin-top: 16px; color: #78716C; }

/* ---- Long-form copy -------------------------------------------------------- */
.ip-article { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; padding: 48px 0; border-top: 1px solid #E7E5E4; }
/* The design draws this rule on the padded wrapper, so it ran wider than the
   rules between sections; on the last section it lines up with them. */
.ip-article:last-child { border-bottom: 1px solid #E7E5E4; }
.ip-bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; max-width: 62ch; }
.ip-bullets li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid #E7E5E4; align-items: start; font-size: 17px; line-height: 24px; color: #1C1917; text-wrap: pretty; }
.ip-bullets strong { font-weight: 700; color: #0A0A0A; }
.ip-bullets--check li { font-weight: 600; color: #0A0A0A; }
.ip-dot { width: 8px; height: 8px; border-radius: 50%; background: #2563EB; margin-top: 8px; display: block; }
.ip-num { font-size: 15px; line-height: 24px; font-weight: 800; color: #2563EB; font-variant-numeric: tabular-nums; }
.ip-subs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px 24px; margin-top: 8px; }
.ip-sub { border-top: 2px solid #0A0A0A; padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.ip-sub h3 { margin: 0; font-size: 19px; line-height: 23px; font-weight: 800; letter-spacing: -0.02em; color: #0A0A0A; }
.ip-sub p { margin: 0; font-size: 15px; line-height: 21px; color: #44403C; text-wrap: pretty; }
.ip-tail { grid-column: 2 / -1; }

/* ---- FAQ ------------------------------------------------------------------- */
.ip-faqs { border-bottom: 1px solid #E7E5E4; }
.ip-faqs details { border-top: 1px solid #E7E5E4; }
.ip-faqs summary { list-style: none; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 22px 0; }
.ip-faqs summary::-webkit-details-marker { display: none; }
.ip-faqs summary > span:first-child { font-size: 19px; line-height: 25px; font-weight: 700; letter-spacing: -0.01em; color: #0A0A0A; text-wrap: pretty; }
[data-ip-faq-plus] { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid #E7E5E4; display: flex; align-items: center; justify-content: center; color: #2563EB; font-size: 20px; line-height: 1; transition: transform 150ms; }
.ip-faqs details[open] [data-ip-faq-plus] { transform: rotate(45deg); }
.ip-faqs p { margin: 0; padding: 0 52px 24px 0; font-size: 17px; line-height: 1.5; color: #44403C; text-wrap: pretty; }

/* ---- Related industries ------------------------------------------------------ */
.ip-chips { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
[data-ip-root] .ip-chip { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #E7E5E4; border-radius: 9999px; padding: 14px 22px; font-size: 16px; line-height: 20px; font-weight: 600; color: #0A0A0A; transition: background .2s; }
[data-ip-root] .ip-chip:hover { background: #F5F5F4; color: #0A0A0A; }
.ip-chip-dot { width: 7px; height: 7px; border-radius: 50%; background: #2563EB; display: block; }

/* ---- Final CTA ------------------------------------------------------------- */
/* Sized like the homepage's closing section (#apply in index.html): 12rem top /
   3.5rem bottom from 768px up (the override in _layouts/home.html), the photo
   anchored at 30% 0%, a 35% shade; the phone values are in the max-width: 767px
   block below. */
.ip-final { position: relative; padding: 192px 0 56px; overflow: hidden; color: #fff; background: #1C1917; }
.ip-final-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 0%; }
.ip-final-shade { position: absolute; inset: 0; background: rgba(0,0,0,0.35); }
.ip-final-inner { position: relative; text-align: center; }
.ip-h2-final { margin: 0 auto; font-size: clamp(42px, 5.6vw, 80px); line-height: 0.92; letter-spacing: -0.045em; text-wrap: balance; max-width: 20ch; }
.ip-final-paras { margin: 24px auto 0; display: flex; flex-direction: column; gap: 14px; max-width: 62ch; }
.ip-final-paras p { margin: 0; font-size: 20px; line-height: 1.4; color: rgba(255,255,255,0.9); text-wrap: pretty; }

/* ---- Reviews dialog ---------------------------------------------------------- */
.ip-reviews { width: calc(100% - 48px); max-width: 640px; max-height: min(760px, calc(100% - 48px)); padding: 0; border: 0; border-radius: 24px; background: #fff; color: #0A0A0A; font-family: Inter, system-ui, sans-serif; box-shadow: 0 40px 70px -22px rgba(15,23,42,0.55), 0 18px 36px -14px rgba(15,23,42,0.35); overflow: hidden; }
.ip-reviews[open] { display: flex; flex-direction: column; }
.ip-reviews::backdrop { background: rgba(10,10,10,0.6); }
.ip-reviews-head { padding: 28px 32px 20px; border-bottom: 1px solid #E7E5E4; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.ip-reviews-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #78716C; }
.ip-reviews-head h2 { margin: 10px 0 0; font-size: 28px; line-height: 1; letter-spacing: -0.04em; color: #0A0A0A; text-wrap: balance; }
.ip-reviews-x { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #E7E5E4; background: #fff; cursor: pointer; font-size: 22px; line-height: 1; color: #0A0A0A; }
.ip-reviews-x:hover { background: #F5F5F4; }
.ip-reviews-body { overflow: auto; padding: 0 32px; }
.ip-review { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-bottom: 1px solid #E7E5E4; }
.ip-review-avatar { width: 44px; height: 44px; border-radius: 50%; background: #EFF6FF; color: #1D4ED8; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; }
.ip-review-who { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ip-review-who span:first-child { font-size: 17px; line-height: 21px; font-weight: 700; color: #0A0A0A; }
.ip-review-who span + span { font-size: 14px; color: #78716C; }
.ip-review-stars { margin-top: 4px; font-size: 16px; letter-spacing: 2px; color: #2563EB; }
.ip-review p { margin: 10px 0 0; font-size: 16px; line-height: 1.5; color: #1C1917; text-wrap: pretty; }
.ip-reviews-foot { padding: 24px 0 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.ip-reviews-foot a { font-size: 16px; font-weight: 700; color: #1D4ED8; text-decoration: none; }
.ip-reviews-foot a:hover { text-decoration: underline; }

/* ---- Industries hub (/industries/, _layouts/industries-hub.html) -----------------
   From the Claude Design "Industries Hub v2": a dark hero with the final CTA's
   blue glow, then a grid of photo cards. */
.ih-hero { position: relative; overflow: hidden; background: #1C1917; }
.ih-hero-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 0%, rgba(57,111,227,0.3) 0%, rgba(28,25,23,0) 60%); }
.ih-hero-inner { position: relative; z-index: 1; max-width: 1400px; margin: 0 auto; padding: 168px clamp(24px, 4vw, 48px) 88px; box-sizing: border-box; text-align: center; }
.ih-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.78); }
.ih-h1 { margin: 20px auto 0; font-size: clamp(40px, 4.6vw, 64px); line-height: 0.95; letter-spacing: -0.045em; color: #fff; text-wrap: balance; max-width: 18ch; }
.ih-directory { background: #FAFAF9; padding: 88px 0; }
.ih-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.ih-grid > li { display: flex; }
[data-ip-root] .ih-card { flex: 1; display: flex; flex-direction: column; background: #fff; border: 1px solid #E7E5E4; border-radius: 16px; overflow: hidden; color: #0A0A0A; box-shadow: 0 1px 2px rgba(15,23,42,0.04); transition: box-shadow .3s; }
[data-ip-root] .ih-card:hover { color: #0A0A0A; box-shadow: 0 18px 36px -14px rgba(15,23,42,0.22); }
.ih-card-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #E7E5E4; }
.ih-card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 600ms cubic-bezier(.2,.7,.2,1); }
.ih-card:hover .ih-card-img { transform: scale(1.04); }
.ih-card-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.ih-card-name { margin: 0; font-size: 24px; line-height: 28px; font-weight: 800; letter-spacing: -0.025em; }
.ih-card-blurb { margin: 0; font-size: 16px; line-height: 22px; color: #44403C; text-wrap: pretty; }
.ih-card-cta { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: #1D4ED8; }
.ih-card-cta svg { transition: transform 200ms; }
.ih-card:hover .ih-card-cta svg { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .ih-card-img, .ih-card-cta svg { transition: none; } }

/* ---- Footer: no App Store promotion ------------------------------------------------
   The shared footer.html already leaves it out on the homepage. It is hidden here,
   for the industry pages only, instead of editing that include (shared by most
   layouts): the label and button together, or just the button in the few browsers
   without :has(). */
[data-site-footer] div:has(> a[href*="apps.apple.com"]) { display: none; }
[data-site-footer] a[href*="apps.apple.com"] { display: none; }

/* ---- Phones ------------------------------------------------------------------ */
@media (max-width: 767px) {
  .ip-hero-grid { grid-template-columns: minmax(0, 1fr); padding-top: 120px; padding-bottom: 40px; gap: 32px; }
  .ip-2col, .ip-2col--7-5 { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  [data-ip-pad] { padding-top: 56px; padding-bottom: 56px; }
  .ip-trust { grid-template-columns: minmax(0, 1fr); }
  .ip-trust > div, .ip-trust > div:first-child, .ip-trust > div:last-child { padding: 20px 0; border-left: 0; border-top: 1px solid #E7E5E4; }
  .ip-trust > div:first-child { border-top: 0; }
  .ip-req-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ip-req-label { grid-column: 1 / -1; padding: 16px 20px 0; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #78716C; }
  .ip-req-corner { display: none; }
  .ip-req-cell { padding: 10px 20px 18px; border-left: 0; }
  .ip-req-cell + .ip-req-cell { border-left: 1px solid #E7E5E4; }
  .ip-req-head .ip-req-cell { padding: 16px 20px; font-size: 17px; line-height: 21px; }
  .ip-req-val { font-size: 26px; }
  .ip-testimonial { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 20px; }
  .ip-testimonial-photo { min-height: 260px; height: 260px; width: 100%; }
  .ip-testimonial-body { padding: 28px 24px; }
  .ip-article { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 32px 0; }
  /* Not in the design: with one column, 2 / -1 would open an implicit second
     column and squeeze the rest of the section. */
  .ip-tail { grid-column: 1 / -1; }
  /* As on the homepage: the portrait photo, his face above the text. */
  .ip-final { padding: 258px 0 72px; }
  /* Not on the homepage, whose closing text is short: the photo keeps the
     homepage's size (full width, 744x1230) however many paragraphs the section
     holds, instead of growing to cover it; past ~1.45 widths down the shade
     fades into the section's dark background, solid by the photo's bottom
     edge (1230 / 744 = 1.653 widths). Short sections never reach the fade. */
  .ip-final-photo { bottom: auto; height: auto; aspect-ratio: 744 / 1230; object-position: 50% 0%; }
  .ip-final-shade { background: linear-gradient(to bottom, rgba(0,0,0,0.35) 145vw, #1C1917 165.3vw); }
  .ih-hero-inner { padding-top: 120px; padding-bottom: 40px; }
  .ip-reviews-head { padding: 24px 20px 16px; }
  .ip-reviews-body { padding: 0 20px; }
}
