/* Fimex additions to the shared design (site.css, project.css and map.css are copies of ../mariam-site).
   Loaded after them on every page. 22 November 2026. */

/* the Fimex wordmark in the bar and the footer: amber mark, letters in the bar's own colour */
.logo--fimex { display: block; line-height: 0; }
.logo--fimex svg { height: 2rem; width: auto; display: block; }
.footer .logo--fimex svg { height: 2.3rem; }

/* seven links in the bar: a little tighter than five */
.header { gap: 3rem; }
.nav { gap: 2rem; }
@media (max-width: 1280px) and (min-width: 1001px) { .header { gap: 2rem; } .nav { gap: 1.4rem; } .nav a { font-size: 0.82rem; } }

/* the menu on small screens: the pages, then the rest, then two ways to reach the sales team */
.drawer__more { display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem; margin-top: 1rem; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--mute); font-size: 1.05rem; }
.drawer__acts { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }
.drawer .drawer__acts .btn { margin-top: 0; }

/* a third button: line only, for a picture or the film behind it */
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* the home page under the flight: an ordinary page that slides over the film */
.ground { position: relative; z-index: 30; background: var(--paper); scroll-margin-top: 5rem; }
.has-flight .footer { position: relative; z-index: 30; }
.has-flight .wa { z-index: 45; }

/* photographs from site, with the date the camera recorded */
.sitecard { position: relative; aspect-ratio: 1.3; overflow: hidden; background: #ddd; }
.sitecard img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.sitecard:hover img { transform: scale(1.045); }
.sitecard figcaption { position: absolute; left: 1rem; top: 1rem; padding: 0.45rem 0.75rem; background: #fff; font-size: 0.78rem; line-height: 1; }

/* the dark enquiry band: the other ways to reach the sales team */
.feedback__alt { margin-top: -1.5rem; font-size: 0.95rem; color: rgba(255, 255, 255, 0.62); }
.feedback__alt a { color: #fff; text-decoration: underline; text-underline-offset: 0.2em; }
.form__note.is-ok { color: #fff; }

/* register your interest: one column, ruled fields, one wide button */
.register__in { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: stretch; }
.register__sub { margin-top: 1.2rem; color: var(--mute); font-size: 1.25rem; }
.rform { margin-top: 3rem; display: flex; flex-direction: column; max-width: 38rem; }
.rfield { display: block; border-bottom: 1px solid var(--line); padding: 1.4rem 0 0.9rem; }
.rfield span { display: block; font-size: 1.05rem; font-weight: 400; color: var(--mute); }
.rfield input { width: 100%; border: 0; background: transparent; font: inherit; font-size: 1.15rem; color: var(--ink); padding: 0.5rem 0 0; outline: none; border-radius: 0; }
.rfield:focus-within { border-bottom-color: var(--ink); }
.rfield input::placeholder { color: #b5b1a9; }
.rcheck { display: flex; align-items: center; gap: 0.9rem; margin-top: 1.5rem; font-size: 1.05rem; color: var(--mute); cursor: pointer; }
.rcheck:first-of-type { margin-top: 2rem; }
.rcheck + .rcheck:nth-of-type(2) { margin-top: 2.6rem; }
.rcheck input { appearance: none; width: 1.35rem; height: 1.35rem; border: 1px solid #b5b1a9; margin: 0; display: grid; place-items: center; border-radius: 0; flex: none; background: #fff; }
.rcheck input:checked { background: var(--ink); border-color: var(--ink); }
.rcheck input:checked::after { content: ''; width: 0.7rem; height: 0.38rem; border: solid #fff; border-width: 0 0 2px 2px; transform: translateY(-0.08rem) rotate(-45deg); }
.rcheck a { color: var(--ink); text-decoration: underline; text-underline-offset: 0.2em; }
.rform .btn--wide { max-width: none; margin-top: 2.6rem; padding: 1.5rem 1.25rem; font-size: 0.95rem; cursor: pointer; }
.rform .form__note { color: var(--ink); margin-top: 1.2rem; }
.register__img { min-height: 34rem; overflow: hidden; background: #ddd; }
.register__img img { width: 100%; height: 100%; object-fit: cover; }

/* three-column tables (the teams, the construction work) */
.ctable--3 thead th { width: 33%; font-family: var(--text); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.ctable--3 tbody th a { text-decoration: underline; text-underline-offset: 0.2em; }

@media (max-width: 1000px) {
  .logo--fimex svg { height: 1.8rem; }
  .register__in { grid-template-columns: 1fr; gap: 3rem; }
  .register__img { min-height: 0; height: 24rem; order: -1; }
  .feedback__alt { margin-top: -0.5rem; }
}
