/* ------------------------------------------------------------------
   Home (3.1): what goes with front-page.php beyond its inline styles.
   1. Hover and focus states and small-screen rules from the mockup.
   2. The hero (animated mark) and the signature line over the audience,
      both carried over from the 2.8 home at Kevin's request.
   Written by tools/build_home.py.
   ------------------------------------------------------------------ */
.oc31-home a{color:#8FB9E8}.oc31-home a:hover{color:#F4F7FC}
.oc-nav:hover{color:#8FB9E8 !important}
.oc-pill:hover{background:rgba(143,185,232,0.16) !important}
.oc-btn:hover{background:#ABCBF0 !important}
.oc-chip:hover{border-color:#8FB9E8 !important;color:#8FB9E8 !important}
.oc-stop:hover{color:#F4F7FC !important}
.oc-step:hover{border-color:#005670 !important}
.oc-link:hover{color:#005670 !important}
@media (max-width: 863px){.oc-pane{min-height:380px !important}}
@media (max-width: 480px){.oc-pane{min-height:460px !important}}

/* --- Testimonials ---
   Wide screens: the card under the pointer opens (v31-home.js). Its quote keeps the width it has in a
   fully open card (--oc-quote-w, set by the script) and fades in once the card has finished opening,
   so the lines never re-wrap while the card is moving. */
.oc-card-img{width:250px}
@media (min-width:1024px) and (max-width:1199px){
  .oc-quotes{--oc-quote-left:270px;--oc-quote-right:22px}
  .oc-quotes .oc-quote{font-size:17px !important;line-height:27px !important}
}
/* Tablets: there is no room to open one card beside the others, so every card is open, one under the other.
   The script asks for the same layout (.is-stacked) wherever an open card would leave its quote under 190px,
   which is what a fourth testimonial does at any width. */
@media (min-width:641px) and (max-width:1023px){
  .oc-quotes .oc-card{flex:1 1 100% !important;height:300px !important;cursor:default !important}
  .oc-quotes .oc-quote{width:auto !important;opacity:1 !important;transition:none !important}
}
@media (min-width:1024px){
  .oc-quotes.is-stacked .oc-card{flex:1 1 100% !important;height:300px !important;cursor:default !important}
  .oc-quotes.is-stacked .oc-quote{width:auto !important;opacity:1 !important;transition:none !important}
}
/* Phones: one card per row; the open card's quote sits over the lower part of its photo. */
@media (max-width:640px){
  .oc-quotes .oc-card{flex:1 1 100% !important}
  .oc-card-img{width:100%}
  .oc-quote{left:26px !important;right:22px !important;width:auto !important;top:auto !important;bottom:92px !important;transform:none !important;font-size:16px !important;line-height:25px !important;transition-delay:0s !important}
}

/* --- Hero: carried over from the 2.8 home (same sizing and spacing). The animated mark behind it
   (.herobg--mark, .scrim) is in v31.css, because the Approach hero uses it too. --- */
.oc31-home .hero,.oc31-home .hero *,.oc31-home .sig,.oc31-home .sig *{box-sizing:border-box}
.oc31-home .hero{position:relative;min-height:min(88vh,770px);display:flex;align-items:center;overflow:hidden;background:linear-gradient(100deg,#151e32 0%,#182239 45%,#1d2942 100%);color:#F1F5FB;line-height:1.6}
.oc31-home .hero .wrap,.oc31-home .sig .wrap{max-width:1180px;margin-inline:auto;padding-inline:clamp(16px,4vw,44px)}
.oc31-home .hero .wrap{position:relative;z-index:2;width:100%}
.oc31-home .hero .kick{font-size:.78rem;font-weight:600;text-transform:uppercase;letter-spacing:.24em;color:#8FB9E8;margin:0 0 1.1rem}
.oc31-home .hero h1{font-weight:800;font-size:clamp(2.7rem,7.2vw,5rem);line-height:1;letter-spacing:-.025em;margin:0;max-width:15ch;text-wrap:balance}
.oc31-home .hero .val{font-size:clamp(1rem,1.7vw,1.18rem);color:#CBD6EC;max-width:40ch;margin:1.5rem 0 0;font-weight:400}
.oc31-home .hero .herocta{display:flex;flex-wrap:wrap;gap:14px;margin-top:2.1rem}
.oc31-home .hero .btn{display:inline-flex;align-items:center;gap:9px;border-radius:999px;padding:15px 28px;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;cursor:pointer;border:0;text-decoration:none}
.oc31-home .hero .btn.primary{background:#8FB9E8;color:#13203A}
.oc31-home .hero .btn.primary:hover{background:#A6CAF0;color:#13203A}
.oc31-home .hero .btn.primary:focus-visible{outline:3px solid #F4F7FC;outline-offset:3px}

/* --- Signature line over the audience, leading into the form (carried over from the 2.8 home) --- */
.oc31-home .sig-sec{background:#253450;padding-block:0}
.oc31-home .sig{position:relative;background:#253450;overflow:hidden}
.oc31-home .sig .aud{position:relative;line-height:0}
.oc31-home .sig .aud img{display:block;width:100%;height:auto}
.oc31-home .sig .quote{position:absolute;top:0;left:0;right:0;z-index:2;padding-top:clamp(1.3rem,4.2vw,2.6rem)}
.oc31-home .sig .q{font-weight:700;font-size:clamp(1.75rem,4.25vw,2.9rem);line-height:1.26;letter-spacing:-.01em;margin:0;max-width:30ch;color:#F1F5FB}
/* Tablets and phones: the audience graphic gets too short to hold the line, so
   the line sits above it instead of over it (2.8 clipped the line on phones). */
@media (max-width:900px){
  .oc31-home .sig .aud{display:flex;flex-direction:column-reverse}
  .oc31-home .sig .quote{position:static;padding-bottom:6px}
}

/* --- Touch (3.1.0-beta9) ---
   Phones draw their own square flash over a tapped control. These controls show their
   own state (the sliding pill, the filled step, the open card), so the flash is off. */
.oc31-home button,.oc31-home .btn,.oc31-home .oc-chip{-webkit-tap-highlight-color:transparent}
/* Narrow phones: the three part buttons were 118px wide in slots of about 100px, so each label
   sat to the right of the pill and Delivery ran to the edge. Under 421px the control fills the
   row and the buttons fit their slots. */
@media (max-width:420px){
  .oc-stops{display:grid !important}
  .oc-stop{min-width:0 !important;padding-left:6px !important;padding-right:6px !important}
}
@media (max-width:374px){.oc-stop{font-size:12px !important;letter-spacing:0.12em !important}}
