/* Landing pages (tools/build_landing.py). Built from the site's own pieces: header, section headings, the
   capability-hero photo, blog-card story cards and the blue closing block; this file only lays them out.
   Loaded after site-pages.css, before viewport-scale.css. */
.landing-page section[id]{scroll-margin-top:90px}

/* Header: links stay on the page, so there is no menu; on phones only the logo and the button show. */
@media(max-width:1023px){
  .landing-header .header-inner{flex-wrap:nowrap;align-items:center;min-height:72px}
  .landing-header .header-inner>#navigation{display:none}
  .landing-header .header-inner>.header-cta{display:inline-flex;margin:0;align-self:center}
}

/* Hero: copy and photograph stay in view on the left while the longer form scrolls on the right;
   on phones the order is copy, form, photograph. */
.lp-hero{background:var(--pearl);padding-block:clamp(36px,4.5vw,64px) clamp(52px,6vw,88px)}
.lp-hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);gap:clamp(36px,5vw,80px);align-items:start}
.lp-hero-main{position:sticky;top:110px;display:grid;gap:clamp(28px,3vw,44px)}
.lp-hero .eyebrow{color:var(--blue);margin-bottom:22px}
.lp-hero h1{font-size:clamp(42px,4.4vw,68px);line-height:1.04;letter-spacing:-.045em;max-width:16ch}
.lp-lead{font-size:clamp(16px,1.25vw,19px);line-height:1.75;color:var(--muted);max-width:56ch;margin:24px 0 0}
.lp-hero .lp-hero-image{min-height:0;aspect-ratio:3/2}

/* Form card (hero and closing block): heading and note on white, the Zoho form full width between them.
   The frame's height follows the form (zoho-form.js); the CSS height only holds the space while it loads. */
.lp-form-card{background:var(--white);border-top:3px solid var(--blue);min-width:0}
.lp-form-card h2{font-size:clamp(24px,2vw,30px);line-height:1.15;letter-spacing:-.02em;padding:clamp(22px,2vw,28px) clamp(22px,2vw,28px) 6px}
.lp-form-card .lp-zoho{display:block;border:0;margin:0;height:1110px}
.lp-form-note{font-size:12px;line-height:1.65;color:var(--muted);margin:0;padding:14px clamp(22px,2vw,28px) 20px}
.lp-form-note a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}

/* The challenge */
.lp-challenge .section-heading{margin-bottom:0;align-items:start}
.lp-challenge .section-summary>.lp-statement{font:500 clamp(22px,2vw,30px)/1.3 Outfit,Arial,sans-serif;letter-spacing:-.02em;color:var(--navy);max-width:28ch;margin:0 0 18px}

/* Services: numbered cards */
.lp-services{background:var(--pearl)}
.lp-service-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.lp-service-grid article{background:var(--white);border-top:2px solid var(--blue);padding:clamp(22px,2vw,30px)}
.lp-number{display:block;font-size:11px;font-weight:600;letter-spacing:.115em;color:var(--blue)}
.lp-service-grid h3{font-size:clamp(21px,1.6vw,26px);line-height:1.15;margin:22px 0 12px}
.lp-service-grid p{font-size:13px;line-height:1.8;color:var(--muted);margin:0}

/* Industries: dark band */
.lp-industries{background:var(--deep);color:var(--white)}
.lp-industries .section-heading .section-title>.eyebrow{color:var(--soft)}
.lp-industries .section-heading h2{color:var(--white)}
.lp-industries .title-accent{display:block;color:var(--cyan)}
.lp-industry-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(20px,2.5vw,40px)}
.lp-industry-grid article{border-top:1px solid #ffffff3d;padding-top:24px}
.lp-industry-grid h3{font-size:clamp(24px,2vw,30px);color:var(--white);margin-bottom:14px}
.lp-industry-grid p{font-size:14px;line-height:1.75;color:#c9d2ef;margin:0}

/* Client stories: blog-card style with one result each */
.lp-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,2.5vw,36px)}
.lp-story{min-width:0}
.lp-story figure{margin:0 0 22px}
.lp-story h3{font-size:clamp(23px,1.9vw,28px);margin-bottom:14px}
.lp-story>p:not(.eyebrow):not(.lp-stat){font-size:14px;line-height:1.75;color:var(--muted);margin:0 0 22px}
.lp-stat{margin:auto 0 18px;font-size:13px;line-height:1.5;color:var(--muted)}
.lp-stat strong{display:block;font:500 clamp(28px,2.4vw,36px)/1.1 Outfit,Arial,sans-serif;letter-spacing:-.03em;color:var(--blue);margin-bottom:6px}
.lp-story .text-link{margin-top:0}

/* Closing block: the site's blue CTA with the form */
.lp-contact{background:var(--blue);color:var(--white);padding-block:clamp(56px,7vw,104px)}
.lp-contact-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(32px,6vw,100px);align-items:start}
.lp-contact-copy{position:sticky;top:120px}
.lp-contact .eyebrow{color:var(--white);margin-bottom:22px}
.lp-contact h2{color:var(--white);font-size:clamp(40px,4vw,62px);line-height:1.05;letter-spacing:-.04em;max-width:14ch}
.lp-contact .title-accent{color:var(--cyan)}
.lp-contact-copy>p:not(.eyebrow){font-size:clamp(16px,1.25vw,19px);line-height:1.75;color:#e4e9ff;max-width:44ch;margin:24px 0 0}
.lp-contact .lp-form-card{border:0}

@media(max-width:1199px){.lp-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1023px){
  .lp-hero-grid{grid-template-columns:minmax(0,1fr);gap:32px}
  .lp-hero-main{display:contents}
  .lp-hero-copy{order:1}
  .lp-hero .lp-form-card{order:2}
  .lp-hero .lp-hero-image{order:3}
  .lp-industry-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:32px}
  .lp-contact-grid{grid-template-columns:minmax(0,1fr)}
  .lp-contact-copy{position:static}
}
@media(max-width:767px){
  .lp-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lp-story-grid{grid-template-columns:minmax(0,1fr);row-gap:44px}
  .lp-form-card .lp-zoho{height:1180px}
}
@media(max-width:479px){.lp-service-grid,.lp-industry-grid{grid-template-columns:minmax(0,1fr)}}
@media print{.lp-form-card,.lp-contact .lp-form-card{display:none}.lp-contact{background:none;color:inherit}.lp-contact h2{color:inherit}}
