/* Focused visual + contact usability update. No global redesign. */

/* Homepage revenue-engine showcase */
.revenue-engine-showcase{padding-top:clamp(44px,7vw,92px);padding-bottom:clamp(44px,7vw,92px)}
.engine-stage{position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.09);border-radius:30px;padding:clamp(34px,5vw,72px);background:
radial-gradient(circle at 14% 18%,rgba(239,0,28,.34),transparent 34%),
radial-gradient(circle at 84% 62%,rgba(139,0,18,.30),transparent 38%),
linear-gradient(135deg,#180307 0%,#080809 48%,#120205 100%);box-shadow:0 28px 86px rgba(0,0,0,.38),0 0 70px rgba(239,0,28,.045)}
.engine-stage:before{content:"";position:absolute;inset:-30%;pointer-events:none;background:linear-gradient(120deg,transparent 30%,rgba(255,255,255,.055) 47%,transparent 61%);transform:rotate(-8deg)}
.engine-stage-copy{position:relative;z-index:1;text-align:center;max-width:840px;margin:0 auto clamp(28px,4vw,50px)}
.engine-stage-copy h2{margin:.4rem 0 .7rem;font-size:clamp(2rem,4vw,4rem);letter-spacing:-.05em;line-height:.98}
.engine-stage-copy p{max-width:700px;margin:0 auto;color:rgba(255,255,255,.68);font-size:clamp(1rem,1.4vw,1.15rem)}
.engine-card-row{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.engine-card{min-height:250px;padding:24px;border-radius:24px;border:1px solid rgba(255,255,255,.09);background:rgba(8,8,10,.48);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);display:flex;flex-direction:column;justify-content:space-between;gap:28px;transition:transform .22s ease,background .22s ease,border-color .22s ease,box-shadow .22s ease;color:#fff}
.engine-card:not(.is-active){opacity:.74}
.engine-card.is-active,.engine-card:hover,.engine-card:focus-visible{opacity:1;background:linear-gradient(145deg,rgba(239,0,28,.96),rgba(150,0,20,.96));color:#fff;border-color:rgba(255,72,91,.72);transform:translateY(-5px);box-shadow:0 24px 54px rgba(0,0,0,.34),0 14px 44px rgba(239,0,28,.18);outline:none}
.engine-number{font-size:.78rem;letter-spacing:.16em;font-weight:800;opacity:.55}
.engine-card h3{font-size:1.35rem;margin:0 0 .7rem;letter-spacing:-.025em;color:inherit}
.engine-card p{margin:0;font-size:.95rem;line-height:1.55;color:inherit;opacity:.68}
@media(max-width:980px){.engine-card-row{grid-template-columns:repeat(2,minmax(0,1fr))}.engine-card{min-height:210px}}
@media(max-width:620px){.engine-stage{border-radius:22px;padding:28px 18px}.engine-card-row{grid-template-columns:1fr}.engine-card{min-height:0}.engine-card:not(.is-active){opacity:.9}}

/* Contact page: concise intro first, with only the start of the form visible near the fold. */
.contact-first-screen{display:block;padding-top:clamp(20px,3vw,42px);padding-bottom:clamp(48px,6vw,84px)}
.contact-first-copy{min-height:max(440px,calc(100vh - 194px));display:flex;align-items:center}
@supports(height:1svh){.contact-first-copy{min-height:max(440px,calc(100svh - 194px))}}
.contact-first-copy .contact-page-hero{position:static;padding:0;margin:0;max-width:900px;width:100%;min-width:0}
.contact-first-copy .contact-page-hero h1{font-size:clamp(3.1rem,6.2vw,6.4rem);line-height:.94;letter-spacing:-.062em;margin:.7rem 0 1rem;max-width:900px;overflow-wrap:anywhere}
.contact-first-copy .contact-page-hero p{max-width:680px;font-size:clamp(1rem,1.25vw,1.12rem);line-height:1.65;color:rgba(255,255,255,.7)}
.contact-hero-actions{margin-top:24px}
.contact-first-form{position:relative;z-index:2;max-width:1120px;min-width:0;margin:-24px auto 0;scroll-margin-top:118px}
.contact-first-form:before{content:"START YOUR ENQUIRY";display:block;width:max-content;max-width:100%;margin:0 0 12px 4px;color:rgba(255,255,255,.46);font:800 10px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.16em}
.contact-first-form .contact-form-v12{margin:0;width:100%;max-width:100%;min-width:0;box-sizing:border-box;padding:clamp(24px,3.5vw,42px);overflow:hidden}
.contact-first-form .form-title,.contact-first-form .form-title>div,.contact-first-form .form-grid,.contact-first-form .field{min-width:0}
.contact-first-form .form-title h2{font-size:clamp(1.55rem,2.3vw,2.2rem);line-height:1.08;overflow-wrap:anywhere}
.contact-first-form input,.contact-first-form select,.contact-first-form textarea{min-width:0;max-width:100%}
.contact-after-form{display:block}
.contact-after-form .contact-brief{max-width:1100px;margin:0 auto}
#contact-prep{padding-top:clamp(24px,4vw,50px)}

/* Laptop/tablet: preserve the same near-fold form cue without relying on fixed pixel heights. */
@media(max-width:1060px){
  .contact-first-screen{padding-top:24px}
  .contact-first-copy{min-height:max(440px,calc(100vh - 190px))}
  @supports(height:1svh){.contact-first-copy{min-height:max(440px,calc(100svh - 190px))}}
  .contact-first-copy .contact-page-hero h1{font-size:clamp(3rem,8vw,5rem)}
  .contact-first-form{max-width:900px;margin-top:-20px}
}

/* Phones: one column, full-width actions, no horizontal form overflow. */
@media(max-width:760px){
  .contact-first-screen{padding-top:16px;padding-bottom:54px}
  .contact-first-copy{min-height:max(455px,calc(100vh - 166px));align-items:center}
  @supports(height:1svh){.contact-first-copy{min-height:max(455px,calc(100svh - 166px))}}
  .contact-first-copy .contact-page-hero h1{font-size:clamp(2.8rem,13vw,4.2rem);line-height:.96}
  .contact-first-copy .contact-page-hero p{font-size:1rem;line-height:1.58}
  .contact-hero-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;margin-top:20px}
  .contact-hero-actions .button{width:100%;max-width:100%;justify-content:center;min-height:46px;white-space:normal;text-align:center}
  .contact-first-form{margin-top:-14px;max-width:none;scroll-margin-top:92px}
  .contact-first-form:before{margin-left:2px}
  .contact-first-form .contact-form-v12{padding:22px 16px;border-radius:18px}
  .contact-first-form .form-title{gap:10px;margin-bottom:20px}
  .contact-first-form .form-title h2{font-size:clamp(1.48rem,7vw,1.7rem)}
  .contact-first-form .form-grid{grid-template-columns:minmax(0,1fr)}
  .contact-first-form .field.full{grid-column:auto}
  .contact-submit-row .button{width:100%;max-width:100%;justify-content:center;white-space:normal;text-align:center}
}

/* Very small phones: retain readable gutters and keep the form cue below the hero. */
@media(max-width:390px){
  .contact-first-copy{min-height:max(445px,calc(100vh - 166px))}
  @supports(height:1svh){.contact-first-copy{min-height:max(445px,calc(100svh - 166px))}}
  .contact-first-copy .contact-page-hero h1{font-size:clamp(2.55rem,13.2vw,2.8rem)}
  .contact-first-form .contact-form-v12{padding:20px 14px}
}

/* Short laptop windows: protect the hero from becoming excessively tall while preserving the form cue. */
@media(min-width:761px) and (max-height:700px){
  .contact-first-copy{min-height:max(470px,calc(100vh - 194px))}
  @supports(height:1svh){.contact-first-copy{min-height:max(470px,calc(100svh - 194px))}}
}

/* Large monitors / TVs: readable line lengths; form remains close to, not far above, the fold. */
@media(min-width:1600px){
  .contact-first-screen{padding-top:50px}
  .contact-first-copy{min-height:calc(100vh - 200px)}
  @supports(height:1svh){.contact-first-copy{min-height:calc(100svh - 200px)}}
  .contact-first-copy .contact-page-hero{max-width:980px}
  .contact-first-copy .contact-page-hero h1{font-size:6.6rem}
  .contact-first-form{max-width:1180px;margin-top:-28px}
  .contact-first-form .contact-form-v12{padding:46px 50px}
}

@media(prefers-reduced-motion:reduce){.engine-card{transition:none}}
