/* INFINITY / Client visual changes / V01 / 12 November 2026.
   Additive overrides: no edits to the source Figma stylesheets. */

/* Larger, sharp white logo. Original logo is 1100px wide: no bitmap upscaling. */
.f-header .f-logo { flex: 0 0 214px; width: 214px; min-width: 0; }
.f-header .f-logo img { display: block; width: 100%; height: auto; max-height: 72px; object-fit: contain; }
.f-footer .f-footer-brand img { width: 218px; max-width: 100%; height: auto; object-fit: contain; }
@media (max-width: 1420px) { .f-header .f-logo { flex-basis: 190px; width: 190px; } }
@media (max-width: 1200px) { .f-header .f-logo { flex-basis: 169px; width: 169px; } }
@media (max-width: 1080px) { .f-header .f-logo { flex-basis: 190px; width: 190px; } }
@media (max-width: 560px) { .f-header .f-logo { flex-basis: 160px; width: 160px; } .f-header .f-logo img { max-height: 60px; } }

/* Remove visual arrow containers and keep all clickable actions functional. */
.f-pill, .fx-small-pill { justify-content: center; gap: 0; padding-inline: clamp(18px, 2.5vw, 28px); }
.f-nav-right > .f-nav-cta { justify-content: center; padding-inline: 18px; }
.f-inline-arrow { gap: 0; }
.inside-card-arrow, .fx-panel-top > b, .fx-project-thumbnails > a > b,
.f-spotlight-caption > span:last-child:empty { display: none !important; }
.f-footer-arrow a { width: auto; min-width: 112px; padding-inline: 15px; font: 800 11px/1.2 'Manrope',sans-serif; letter-spacing: .02em; }
.f-circle-arrow { width: auto; min-width: 100px; padding-inline: 12px; border-radius: 40px; font: 800 11px/1.2 'Manrope',sans-serif; }
.f-newsletter-field button { width: auto; min-width: 72px; padding-inline: 12px; font-size: 11px; font-weight: 800; }
.f-hero-side a, .f-footer-bottom a, .f-documents-links a { text-decoration: none; }

/* Client-requested removal of the prominent count superimposed on the fleet photo.
   The photograph itself stays editable in Page Studio. */
.fx-home-fleet .fx-fleet-image > strong,
.fx-fleet-capacity .fx-fleet-image > strong { display: none !important; }

/* Keep existing numeric statistics visible as explicitly confirmed by the client.
   Numbers newly entered after the migration still require CMS approval. */
.f-hero-stats:empty, .fx-about-numbers:empty, .fx-fleet-details:empty { display: none; }

/* Footer: the Infinity mark is a true superscript on the copyright label,
   not a freestanding baseline symbol beside the giant wordmark. */
.f-footer-word { position: relative; }
.fx-copyright-mark { display: inline-block; position: relative; margin-inline-end: .6em; text-transform: uppercase; white-space: nowrap; }
.fx-copyright-mark sup { display: inline-block; vertical-align: super; position: relative; top: -.12em; margin-inline-start: .04em; font-size: .82em; line-height: 0; font-weight: 800; color: #e6b530; }

/* Make the two existing public contact forms legible, visually distinct and
   fully accessible without JavaScript. Anchor links remain operational. */
.f-choice-row { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 22px 32px; }
.f-choice-row .f-pill { min-width: 180px; }
.f-contact-main > h3#general-enquiry, .f-contact-main > h3#job-application { scroll-margin-top: 115px; margin-block: 38px 18px; }
#fContactForm, #fJobApplicationForm { border: 1px solid rgba(255,255,255,.15); border-radius: 12px; padding: clamp(18px,3vw,34px); background: rgba(255,255,255,.025); }
#fJobApplicationForm { border-color: rgba(230,181,48,.32); }
#fJobApplicationForm .f-upload { display: block; margin-block: 18px; }
#fJobApplicationForm input[type=file] { display: block; width: 100%; max-width: 100%; margin-block: 10px; }
#fJobApplicationForm input[type=checkbox] { width: auto; height: auto; margin-inline-end: 9px; }
.f-contact-main label { line-height: 1.55; }
@media (max-width: 720px) {
  .f-choice-row { flex-direction: column; }
  .f-choice-row .f-pill { width: 100%; }
  #fContactForm, #fJobApplicationForm { padding: 18px 14px; }
  .f-footer-arrow a { min-width: 100px; }
}

/* Prevent empty icon-pill remnants after removing arrow glyphs. */
.f-pill > b:empty, .fx-small-pill > b:empty, .f-nav-cta > b:empty,
.f-inline-arrow > b:empty, .inside-link > b:empty { display:none !important; }

/* V02.1 — Approved visual correction: superscript sits over final Y of
   the large INFINITY footer wordmark, not on the Copyright label.
   All existing statistics and image data are left untouched. */
.f-footer-word { position: relative; overflow: hidden; }
.f-footer-word .fx-footer-wordmark {
    position: relative; display: inline-block;
    color: inherit; font-size: 1em; line-height: inherit;
    white-space: nowrap;
}
.f-footer-word .fx-footer-wordmark .fx-footer-infinity {
    position: absolute; top: .02em; right: -.015em;
    display: block; width: auto;
    color: #333; font: 800 .20em/1 Arial, sans-serif;
    letter-spacing: 0; transform: translate(14%, -12%);
    pointer-events: none; user-select: none;
}
