/* Cresgate Enterprise — Preview 30 final design refinement (24 Nov 2026)
   Single reviewable finishing layer. Production is unaffected until PR approval.
   Keep structural layouts and approved component interactions unchanged. */

:root {
  --polish-ink: #101a31;
  --polish-muted: #526178;
  --polish-indigo: #625bff;
  --polish-deep: #070e20;
  --polish-rule: #dfe4ed;
}

/* 01. Calm, consistent typography and optical alignment. */
@media (min-width:981px) {
  #solutions.capabilities .section-head h2,
  #catalogue.source-catalogue .source-catalogue__head h2,
  #benefits.approach .approach__intro h2,
  #audiences.buyers .section-head h2,
  #credentials.credentials-register .credentials-register__intro h2,
  #enquiry.enquiry .enquiry__layout h2 {
    font-family:'Inter',Arial,sans-serif!important;
    font-size:clamp(29px,2.25vw,32px)!important;
    font-weight:560!important;
    line-height:1.2!important;
    letter-spacing:-.047em!important;
  }
}
#solutions .section-head > p,
#catalogue .source-catalogue__head > p,
#audiences .section-head > p {
  font-family:'Inter',Arial,sans-serif!important;
  font-size:15px!important;
  line-height:1.63!important;
  color:var(--polish-muted)!important;
}
#solutions .section-head > p {
  text-wrap:pretty;
}
#benefits .approach__intro > p:not(.approach__statement),
#benefits .approach__steps article > p,
#audiences .buyer-list article > p,
#credentials .credentials-register__intro > p,
#enquiry .enquiry__layout > div:first-child > p {
  line-height:1.72!important;
}

/* 02. Hero: retain the approved vessel image, navy blend and layout.
   Finish the ticker's edges and tighten the CTA relationship slightly. */
.hero .hero__ticker {
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 3.5%,#000 96.5%,transparent 100%)!important;
  mask-image:linear-gradient(90deg,transparent 0%,#000 3.5%,#000 96.5%,transparent 100%)!important;
}
.hero .hero__ticker-item::after {
  background:rgba(192,192,231,.28)!important;
}
@media (min-width:981px) {
  .hero .hero__actions {
    margin-top:27px!important;
    gap:13px!important;
  }
}

/* 03. Capabilities: same photographic grade, edge treatment and hover response. */
#solutions .solutions-showcase__card {
  border-radius:10px!important;
  box-shadow:0 0 0 1px rgba(7,22,42,.05)!important;
}
#solutions .solutions-showcase__card img {
  filter:saturate(.91) contrast(1.06) brightness(1.025)!important;
  transition:filter .45s ease,transform .55s cubic-bezier(.22,.7,.24,1)!important;
}
#solutions .solutions-showcase__card:nth-child(3) img {
  filter:saturate(.95) contrast(1.085) brightness(1.075)!important;
}
#solutions .solutions-showcase__card::after {
  background:linear-gradient(180deg,rgba(6,18,36,.08) 0%,rgba(6,18,36,.04) 44%,rgba(4,14,30,.84) 100%)!important;
}
@media (hover:hover) and (pointer:fine) {
  #solutions .solutions-showcase__card:hover img,
  #solutions .solutions-showcase__card:nth-child(3):hover img {
    filter:saturate(1.01) contrast(1.075) brightness(1.06)!important;
  }
  #solutions .solutions-showcase__card:hover {
    box-shadow:0 12px 25px rgba(7,22,42,.13)!important;
  }
}
#solutions .solutions-showcase__card-title {
  text-shadow:0 1px 8px rgba(1,12,27,.24)!important;
}

/* 04. Catalogue: clearer selection state and consistently lightweight icons. */
#catalogue .source-catalogue__tabs button {
  transition:background-color .2s ease,color .2s ease,border-color .2s ease!important;
}
#catalogue .source-catalogue__tabs button[aria-selected="true"] {
  background:rgba(95,91,190,.07)!important;
  color:var(--polish-ink)!important;
}
#catalogue .source-catalogue__tabs button[aria-selected="true"]::before {
  background:var(--polish-indigo)!important;
}
#catalogue .source-catalogue__tabs button:hover {
  background:rgba(95,91,190,.055)!important;
}
#catalogue .source-catalogue__tabs button:focus-visible {
  outline:2px solid var(--polish-indigo)!important;
  outline-offset:2px!important;
}
#catalogue .source-catalogue__icon {
  color:#44458b!important;
  flex-basis:38px!important;
  width:38px!important;
  height:38px!important;
}
#catalogue .source-catalogue__icon svg {
  width:24px!important;
  height:24px!important;
  stroke-width:1.1!important;
}

/* 05. Why Cresgate: three substantial, readable benefits; no hovering boxes. */
#benefits.approach.section {
  padding-top:84px!important;
  padding-bottom:86px!important;
}
#benefits .approach__steps article {
  padding-top:20px!important;
  padding-bottom:20px!important;
}
#benefits .approach__steps h3 {
  font-size:16px!important;
  font-weight:590!important;
  letter-spacing:-.018em!important;
}
#benefits .approach__steps article > p {
  font-size:14px!important;
  max-width:min(100%,428px)!important;
}
#benefits .approach__intro > p:not(.approach__statement) {
  max-width:400px!important;
  font-size:14px!important;
}

/* 06. Consistent white/slate/nightfall rhythm without decorative cards. */
#audiences.buyers.section {
  padding-top:78px!important;
  padding-bottom:74px!important;
}
#credentials.credentials-register.section {
  padding-top:79px!important;
  padding-bottom:79px!important;
}
#credentials .credentials-register__row {
  border-color:var(--polish-rule)!important;
}
#credentials .credentials-register__row > small {
  color:#657189!important;
  line-height:1.55!important;
}
#enquiry.enquiry {
  background:#e6eaf0!important;
  padding-block:51px!important;
}
#enquiry .enquiry__layout > div:first-child > p {
  color:#4c5a71!important;
}
#enquiry .enquiry__actions .email-link {
  color:#273652!important;
  text-decoration:none!important;
  text-underline-offset:4px;
}

/* 07. Footer: one text rhythm and stable navy identity on every page. */
body .footer {
  background:var(--polish-deep)!important;
  box-shadow:none!important;
  border-top:1px solid rgba(180,185,225,.16)!important;
}
body .footer .footer__grid,
body .footer .footer-grid {
  column-gap:clamp(24px,3.1vw,38px)!important;
}
body .footer .footer__grid h2,
body .footer .footer-heading {
  font-family:'Inter',Arial,sans-serif!important;
  font-size:12px!important;
  font-weight:650!important;
  line-height:1.5!important;
  letter-spacing:.005em!important;
  color:#f4f5fc!important;
}
body .footer .footer__links a,
body .footer .footer-links a,
body .footer .footer-links span {
  font-family:'Inter',Arial,sans-serif!important;
  font-size:12.5px!important;
  line-height:1.75!important;
  font-weight:400!important;
  color:#c4cade!important;
}
body .footer .footer__brand p,
body .footer .footer-intro {
  font-size:13px!important;
  font-weight:400!important;
  line-height:1.75!important;
  color:#c4cade!important;
}
body .footer .footer__brand > span,
body .footer .footer-bottom,
body .footer .footer__bottom {
  color:#aab2ca!important;
  font-size:11.5px!important;
  line-height:1.65!important;
}
body .footer .footer-links a:hover,
body .footer .footer__links a:hover,
body .footer .arrowlink:hover {
  color:#d4d0ff!important;
  text-underline-offset:4px;
}
body .footer .footer__links a:focus-visible,
body .footer .footer-links a:focus-visible {
  outline:2px solid #c0b9ff!important;
  outline-offset:3px!important;
}

/* 08. Interior pages: match homepage hierarchy while retaining their layouts. */
body.solutions-v2 .sol-section {
  padding-block:clamp(67px,5.8vw,88px)!important;
}
body.solutions-v2 .sol-section h2,
body.rfq-v2 .rfq-content .form-shell h2 {
  font-family:'Inter',Arial,sans-serif!important;
  font-size:clamp(31px,2.7vw,40px)!important;
  line-height:1.16!important;
  font-weight:560!important;
  letter-spacing:-.049em!important;
  color:var(--polish-ink)!important;
}
body.solutions-v2 .sol-hero h1 {
  font-weight:580!important;
  letter-spacing:-.051em!important;
}
body.solutions-v2 .sol-service__copy,
body.solutions-v2 .sol-service p,
body.solutions-v2 .sol-category p,
body.partnerships-v2 .partner-lane__lead {
  line-height:1.72!important;
}
body.solutions-v2 .sol-hero__visual img {
  filter:saturate(.9) contrast(1.045) brightness(1.01)!important;
}
/* Eyebrow contrast inherits from the established light/dark section palette. */
body.solutions-v2 .sol-section a:focus-visible,
body.solutions-v2 .sol-closing a:focus-visible {
  outline:2px solid #625bff!important;
  outline-offset:3px!important;
}

/* 09. RFQ: less visual friction, clearer inputs, retained Netlify submission. */
body.rfq-v2 .rfq-content {
  background:#fff!important;
}
body.rfq-v2 .rfq-content .form-grid {
  row-gap:18px!important;
}
body.rfq-v2 .rfq-content .field label {
  font-family:'Inter',Arial,sans-serif!important;
  font-size:12.5px!important;
  font-weight:590!important;
  color:#223149!important;
}
body.rfq-v2 .rfq-content .field input,
body.rfq-v2 .rfq-content .field select,
body.rfq-v2 .rfq-content .field textarea {
  font-family:'Inter',Arial,sans-serif!important;
  font-size:14px!important;
  line-height:1.5!important;
  min-height:49px!important;
  background:#f8f9fc!important;
  border:1px solid #dce2eb!important;
  border-radius:7px!important;
  padding:12px 14px!important;
}
body.rfq-v2 .rfq-content .field input:focus,
body.rfq-v2 .rfq-content .field select:focus,
body.rfq-v2 .rfq-content .field textarea:focus {
  background:#fff!important;
  border-color:#625bff!important;
  outline:2px solid rgba(98,91,255,.16)!important;
  outline-offset:1px!important;
}
body.rfq-v2 .rfq-content .rfq-group-title {
  border-bottom-color:#dfe4ed!important;
}
body.rfq-v2 .rfq-submit-row .btn.indigo {
  background:#625bff!important;
  border-color:#625bff!important;
  border-radius:8px!important;
}
@media(hover:hover) and (pointer:fine) {
  body.rfq-v2 .rfq-submit-row .btn.indigo:hover {
    background:#514bd7!important;
    border-color:#514bd7!important;
  }
}

/* 10. Tablet and mobile: retain flexible grids and comfortable tap targets. */
@media(max-width:980px) {
  #solutions .section-head > p,
  #catalogue .source-catalogue__head > p,
  #audiences .section-head > p {
    font-size:14px!important;
  }
  body.solutions-v2 .sol-section h2,
  body.rfq-v2 .rfq-content .form-shell h2 {
    font-size:clamp(29px,4.4vw,37px)!important;
  }
}
@media(max-width:700px) {
  #benefits.approach.section {padding-block:68px 72px!important}
  #audiences.buyers.section {padding-block:65px 70px!important}
  #credentials.credentials-register.section {padding-block:61px 65px!important}
  #enquiry.enquiry {padding-block:49px!important}
  #catalogue .source-catalogue__tabs button {min-height:44px!important}
  body.solutions-v2 .sol-section {padding-block:61px!important}
  body .footer .footer__grid,
  body .footer .footer-grid {row-gap:30px!important}
  body.rfq-v2 .rfq-content .field input,
  body.rfq-v2 .rfq-content .field select,
  body.rfq-v2 .rfq-content .field textarea {font-size:16px!important}
}
@media(prefers-reduced-motion:reduce) {
  #solutions .solutions-showcase__card img,
  #catalogue .source-catalogue__tabs button {transition:none!important}
}

/* Native progressive disclosure keeps RFQ essentials immediately visible. */
body.rfq-v2 .rfq-content .rfq-optional-details {
  grid-column:1 / -1;
  border-top:1px solid #dfe4ed;
  border-bottom:1px solid #dfe4ed;
  margin-top:2px;
  padding:0;
}
body.rfq-v2 .rfq-content .rfq-optional-details > summary {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  column-gap:12px;
  row-gap:3px;
  list-style:none;
  padding:19px 2px;
  cursor:pointer;
  color:#18243b;
  font:600 14px/1.45 'Inter',Arial,sans-serif;
}
body.rfq-v2 .rfq-content .rfq-optional-details > summary::-webkit-details-marker {
  display:none;
}
body.rfq-v2 .rfq-content .rfq-optional-details > summary > small {
  font-size:11.5px;
  font-weight:400;
  line-height:1.55;
  color:#6a768e;
}
body.rfq-v2 .rfq-content .rfq-optional-details > summary::after {
  content:"+";
  display:inline-grid;
  place-items:center;
  flex:0 0 25px;
  width:25px;
  height:25px;
  margin-left:auto;
  border:1px solid #d7dbea;
  border-radius:50%;
  color:#625bff;
  font:400 18px/1 'Inter',Arial,sans-serif;
}
body.rfq-v2 .rfq-content .rfq-optional-details[open] > summary::after {
  content:"−";
}
body.rfq-v2 .rfq-content .rfq-optional-details > summary:hover {
  color:#514bd7;
}
body.rfq-v2 .rfq-content .rfq-optional-details > summary:focus-visible {
  outline:2px solid #625bff;
  outline-offset:2px;
}
body.rfq-v2 .rfq-content .rfq-optional-fields {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  padding:4px 0 22px;
}
@media(max-width:700px) {
  body.rfq-v2 .rfq-content .rfq-optional-fields {
    grid-template-columns:1fr;
    gap:14px;
  }
  body.rfq-v2 .rfq-content .rfq-optional-details > summary > small {
    flex-basis:calc(100% - 45px);
  }
}
