/* FLEXIPAX site refresh: shared across every page, loaded after index-CDu_yZb8.css.
   Full-colour imagery, one typeface for labels, calmer article typography,
   and the related-pages block that links the site together. */

:root {
  --text-soft: #5c5c5c;
  --rule: #e2e2e2;
  --reading: 68ch;
}

/* 1. Colour --------------------------------------------------------------- */
main img,
.original-figure img,
.subpage-aside img,
.story-product img,
.phone-picture {
  filter: none !important;
}

/* 2. One brand face: the typewriter labels go, the useful ones stay in Inter. */
.studio-header-note,
.visual-note > .eyebrow,
.page-brief-item > .eyebrow,
.fleet-next > .eyebrow,
.faq-heading > .eyebrow,
.system-heading > .eyebrow,
.index-number,
.faq-number {
  display: none !important;
}
.studio-menu-intro > span,
.studio-menu-base,
.studio-menu nav a > span,
.email-option-label,
.footer-directory .eyebrow,
.footer-base,
.editorial-index > .eyebrow,
.system-node > span,
.system-note,
.person-profile > p,
.text-link,
.demo-help,
main figcaption,
main .eyebrow {
  font-family: Inter, Arial, sans-serif !important;
  letter-spacing: 0.01em !important;
}
.footer-directory .eyebrow { font-size: 12px !important; font-weight: 700; color: var(--orange); }
.footer-base { font-size: 13px !important; }
.email-option-label { font-size: 12px !important; font-weight: 600; }
main figcaption {
  text-transform: none !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: var(--text-soft) !important;
}
.person-profile > p { text-transform: none; font-size: 15px !important; line-height: 1.6; }
.system-node > span { font-size: 12px !important; font-weight: 700; color: #a35e00; }
.system-note { font-size: 14px !important; line-height: 1.6 !important; color: var(--text-soft); }
.faq-list summary { grid-template-columns: 1fr 18px !important; }

/* Link labels were set at 9-10px: lift them to a readable size. */
.studio-link,
.film-copy .studio-link,
.text-link,
.block-link {
  font-size: 13px !important;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.booking-link { font-size: 13px !important; }

/* 3. Breadcrumb: Home / Page, readable, not a stamp. */
.editorial-hero .section-marker {
  justify-content: flex-start !important;
  gap: 10px;
  padding-bottom: 20px !important;
  border-bottom-color: var(--rule) !important;
  font: 500 14px/1.4 Inter, Arial, sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--text-soft);
}
.editorial-hero .section-marker a { color: var(--text-soft); text-decoration: none; }
.editorial-hero .section-marker a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.editorial-hero .section-marker > span::before { content: "/"; margin-right: 10px; color: #b5b5b5; }
.editorial-hero .section-marker > span { color: var(--ink); }

/* 4. "On this page" rail: titles only. */
.editorial-index > .eyebrow {
  font-size: 13px !important;
  font-weight: 700;
  text-transform: none !important;
  color: var(--ink);
}
.editorial-index nav a { grid-template-columns: 1fr !important; font-size: 14px !important; }

/* 5. Article typography: steadier rhythm, clear hierarchy. */
.editorial-content > p { line-height: 1.75 !important; margin-bottom: 22px !important; }
.editorial-content > h2 { margin-bottom: 20px !important; text-wrap: balance; }
.editorial-content > h3 {
  margin: 40px 0 12px;
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.editorial-content > h2 + h3 { margin-top: 8px; }
.editorial-content ul,
.editorial-content ol {
  max-width: var(--reading);
  margin: 0 0 26px !important;
  padding-left: 1.2em;
  font-size: 17px;
  line-height: 1.7;
}
.editorial-content li { margin: 0 0 8px; padding-left: 4px; }
.editorial-content li::marker { color: var(--orange); }
.editorial-content > div:not([class]) > h3 { margin: 32px 0 12px; font-size: 20px; line-height: 1.3; }
.editorial-content blockquote {
  margin: 36px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--orange);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.015em;
}
.editorial-content a:hover { color: #a35e00; }

/* 6. Keep exploring: related pages on every subpage. */
.related-pages {
  max-width: 1520px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 104px) max(var(--gutter), calc((100vw - 1520px) / 2));
  border-top: 1px solid var(--rule);
}
.fleet-next + .related-pages { border-top: 0; }
.related-pages h2 {
  margin: 0 0 clamp(24px, 3vw, 40px);
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.related-pages h2 em { color: var(--orange); font-style: normal; }
.related-pages ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 36px);
}
.related-pages a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 22px 0 8px;
  border-top: 2px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 150ms ease;
}
.related-pages a strong {
  font-size: clamp(19px, 1.5vw, 23px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  transition: color 150ms ease;
}
.related-pages a span { color: var(--text-soft); font-size: 15px; line-height: 1.6; }
.related-pages a:hover { border-color: var(--orange); }
.related-pages a:hover strong { color: #a35e00; }
.related-pages a:focus-visible { outline: 2px solid var(--orange); outline-offset: 6px; }

@media (width <= 1000px) {
  .related-pages ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (width <= 560px) {
  .related-pages ul { grid-template-columns: 1fr; }
  .editorial-content ul, .editorial-content ol { font-size: 16px; }
}

/* Decorative tabs and seams carried no information. */
.page-brief:before,
.fleet-next:before,
.section-seam {
  display: none !important;
}

/* 7. Structure for flat article text (classes set by tools/apply-site-refresh.py). */
.editorial-content > .fx-kicker {
  margin: 44px 0 12px !important;
  color: var(--ink);
  font-size: clamp(19px, 1.5vw, 22px) !important;
  font-weight: 700;
  line-height: 1.3 !important;
  letter-spacing: -0.015em;
}
.editorial-content > .fx-kicker + .fx-kicker { margin-top: 12px !important; }
.editorial-content > .fx-item,
.editorial-content > .fx-bullet {
  position: relative;
  margin: 0 0 12px !important;
  padding-left: 28px;
  font-size: 17px !important;
  line-height: 1.65 !important;
}
.editorial-content > .fx-item { padding-left: 2.1em; text-indent: -2.1em; }
.editorial-content > .fx-bullet::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.78em;
  width: 12px;
  height: 2px;
  background: var(--orange);
}
.editorial-content > :is(.fx-item, .fx-bullet):has(+ :not(.fx-item, .fx-bullet)) { margin-bottom: 28px !important; }
.editorial-content > h3 + .fx-bullet { margin-top: 4px !important; }
.editorial-content > .fx-def { margin: 0 0 8px !important; font-size: 16px !important; }
.editorial-content > .fx-line { margin: 0 !important; font-size: 18px !important; line-height: 1.7 !important; }
.page-impressum .editorial-content > .fx-kicker { margin-top: 0 !important; font-size: 26px !important; }

/* The case study opened with two redundant stacked headings. */
.page-attica-group-case-study :is(#section-0, #section-1),
.page-attica-group-case-study .editorial-index a:is([href="#section-0"], [href="#section-1"]) {
  display: none !important;
}
.page-attica-group-case-study .editorial-content { border-left: 0 !important; padding-left: 0 !important; }

@media (width <= 560px) {
  .editorial-content > :is(.fx-item, .fx-bullet) { font-size: 16px !important; }
}
.footer-invite > .eyebrow { display: none !important; }

/* 8. Centred single-column layout for every subpage: no sidebars, no side notes. */
.editorial-page { --col: 760px; }
.editorial-hero { text-align: center; padding-bottom: clamp(56px, 7vw, 96px) !important; }
.editorial-hero .section-marker { justify-content: center !important; border-bottom: 0 !important; padding-bottom: 0 !important; }
.editorial-hero:after { left: 50% !important; transform: translateX(-50%); width: 64px !important; }
.editorial-hero-grid {
  grid-template-columns: 1fr !important;
  justify-items: center;
  gap: 28px !important;
  margin-top: clamp(36px, 5vw, 64px) !important;
}
.editorial-hero-grid .subpage-title { font-size: clamp(46px, 7.2vw, 112px) !important; }
.editorial-intro { display: flex; flex-direction: column; align-items: center; }
.editorial-intro p { max-width: 58ch !important; margin: 0 auto; color: #4a4a4a; }

.editorial-visual {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 1120px !important;
  text-align: center;
}
.editorial-visual .original-figure { width: 100%; }
.visual-note { border-top: 0 !important; padding: 0 !important; max-width: 30ch; }
.visual-note p { margin: 0 !important; }

.page-brief { max-width: 1120px !important; gap: clamp(24px, 4vw, 56px) !important; }
.page-brief-item { align-items: center !important; text-align: center; border-top-color: var(--rule) !important; }
.page-brief p { margin-inline: auto; }

.page-system { max-width: 1120px !important; text-align: center; }
.system-heading { grid-template-columns: 1fr !important; justify-items: center; }
.system-heading p { margin-inline: auto; }
.system-node { text-align: center; }
.system-node i { left: calc(50% - 6px); }
.system-note { display: block; text-align: center; }

.people-grid { max-width: 1040px !important; }
.person-profile { text-align: center; border-bottom: 0 !important; }

.editorial-body {
  display: block !important;
  max-width: calc(var(--col) + 2 * var(--gutter, 24px)) !important;
  margin: clamp(48px, 6vw, 88px) auto 0 !important;
}
.editorial-index { display: none !important; }
.editorial-content { max-width: var(--col); margin: 0 auto; border-left: 0 !important; padding-left: 0 !important; }
.editorial-content > :is(h2, h3, .fx-kicker) { text-align: center; text-wrap: balance; }
.editorial-content > h2 { margin-top: clamp(56px, 6vw, 80px) !important; }
.editorial-content > h2:first-child { margin-top: 0 !important; }
.editorial-content > .original-figure { border: 0 !important; padding: 0 !important; text-align: center; }
.editorial-content > .original-figure img { border-radius: 10px; }
.page-faqs .editorial-body { border-top: 0 !important; padding-top: 0 !important; }
.page-faqs .editorial-content > h2 { border-top: 0 !important; padding-top: 0 !important; }

/* Questions and answers: one clean pattern everywhere (the FAQ page lacked its class). */
.editorial-content details {
  border-top: 1px solid var(--rule);
  text-align: left;
}
.editorial-content details:last-of-type { border-bottom: 1px solid var(--rule); }
.editorial-content details > summary {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 !important;
  font-size: clamp(18px, 1.4vw, 20px) !important;
  font-weight: 650;
  line-height: 1.4 !important;
  letter-spacing: -0.01em !important;
  list-style: none;
  cursor: pointer;
}
.editorial-content details > summary::-webkit-details-marker { display: none; }
.editorial-content details > summary:hover { color: #a35e00; }
.editorial-content details .faq-toggle {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
}
.editorial-content details .faq-toggle::before,
.editorial-content details .faq-toggle::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform 200ms ease;
}
.editorial-content details .faq-toggle::after { transform: rotate(90deg); }
.editorial-content details[open] .faq-toggle::after { transform: rotate(0deg); }
.editorial-content details > div,
.editorial-content details > p { padding: 0 40px 22px 0; }
.editorial-content details p { margin: 0 0 12px; font-size: 17px; line-height: 1.7; color: #3d3d3d; }

.marine-faq { display: block !important; }
.faq-heading { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.faq-heading p { margin-inline: auto; }
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-list > .studio-link { display: table; margin: 32px auto 0; }

.source-actions { align-items: center !important; border-top-color: var(--rule) !important; }

.fleet-next { text-align: center; }
.fleet-next > div { display: flex !important; flex-direction: column; align-items: center; gap: 20px !important; }
.fleet-next p { margin-inline: auto; }

.related-pages h2 { text-align: center; }

/* Book a demo: intro, then the form, centred. */
.demo-breadcrumb { text-align: center; }
.demo-intro { grid-template-columns: 1fr !important; justify-items: center; text-align: center; gap: 24px !important; }
.demo-intro p { margin-inline: auto; max-width: 58ch; }
.demo-layout { grid-template-columns: 1fr !important; max-width: 760px; margin: 0 auto; gap: 40px !important; }
.demo-layout aside { text-align: center; }
.demo-faq h2 { text-align: center; }
.visual-note, .visual-note p { border: 0 !important; padding-left: 0 !important; }
.page-faqs .faq-heading { display: none !important; }
.page-faqs .marine-faq { padding-top: 0 !important; }
.demo-intro .eyebrow, .system-node > span { display: none !important; }

/* 9. Proportions: wider reading column, images at a sensible size, wide-screen safe. */
.editorial-page { --col: 900px; }
.editorial-intro p { max-width: 68ch !important; font-size: clamp(18px, 1.35vw, 21px) !important; }
.editorial-content > p,
.editorial-content > div:not([class]) > p { font-size: 18px !important; }
.related-pages {
  max-width: none !important;
  padding-inline: var(--gutter, 24px) !important;
}
.related-pages > * { max-width: 1240px; margin-inline: auto; }
.editorial-content .original-figure img { display: block; height: auto !important; margin: 0 auto; }
/* Portrait phone screenshots: capped at about 560px tall, sized from their real proportions. */
.editorial-content img[src*="archive-571e6aa14e5a"] { max-width: min(100%, 315px) !important; }
.editorial-content img[src*="archive-cf248f776772"] { max-width: min(100%, 315px) !important; }
.editorial-content > .original-figure { margin: 48px 0 !important; }
.editorial-visual .original-figure img { max-height: min(72vh, 680px) !important; object-fit: cover; }
.fleet-next p { max-width: 62ch !important; }
.page-system, .page-brief, .people-grid { max-width: 1240px !important; }
