/*
 * Hywel Energy — site stylesheet (XAN-95). Hand-authored, plain CSS, no build step.
 * Layout: FRONTEND-ARCHITECTURE §4.2 order (tokens, @font-face, base, layout primitives,
 * header and menu, components, page-specific rules, reveal states, reduced motion).
 * Values come only from the measured baseline: XAN-91 DESIGN-REFERENCE /
 * RESPONSIVE-SPECIFICATION / HEADER-VERIFICATION and evidence/design-report-computed.md
 * (which wins where they differ). Divi's per-module CSS was read as a value reference only;
 * nothing is copied from it.
 * Bands (§4.3): >=981 desktop · 981-1100 narrow desktop · <=1405 laptop · <=980 tablet and
 * below · 768-980 tablet only · <=767 phone · <=479 small phone. Static final state: every
 * animated element revealed, header at its desktop rest state, mobile menu closed.
 */

/* 1. Tokens ------------------------------------------------------------------------------ */

:root {
  /* Colours (DESIGN-REFERENCE §1) */
  --c-red: #d51a27;
  --c-red-dark: #c10f1b;
  --c-red-bright: #e02b20; /* Services / Mauritius §1 panel */
  --c-charcoal: #2a3039;
  --c-ink: #1b1f25;
  --c-text-heading: #333;
  --c-text-body: #666;
  --c-text-black: #000;
  --c-white: #fff;
  --c-white-50: rgba(255, 255, 255, .5);
  --c-grey-50: #f7f7f7; /* About §2 rows and text modules */
  --c-accent-divi: #2ea3f2;
  --c-nav: rgba(0, 0, 0, .6);
  --c-footer: #222;
  --c-footer-bottom: rgba(0, 0, 0, .32);
  --shadow-header: 0 1px 0 rgba(0, 0, 0, .1);

  /* Background images (config/images.php 'src'; all cleared, AD-15 2026-12-03). Byte-identical
     baseline files under public/images/; layered under each section's baseline gradient. */
  --img-02: url("/images/d0535f55-ef28-467f-92f6-cc335d500ed2_out-2464x1536.jpg"); /* Home hero */
  --img-03: url("/images/car-dealer-05.jpg"); /* Home §2 services */
  --img-04: url("/images/car-dealer-27.jpg"); /* Home §3 commitment */
  --img-06: url("/images/a41b80a1-1c14-4ef4-a2ea-1741a4848552_out-2448x1536.jpg"); /* Get In Touch, all pages */
  --img-07: url("/images/pexels-mdx014-799096-scaled.jpg"); /* About hero */
  --img-08: url("/images/0-b281fce8-f371-420b-88a4-8a1c556c442b-800x600.jpg"); /* About §2 commitment */
  --img-09: url("/images/0-198f997f-e1b1-4f5a-aba2-a0297161d282-1080x600.jpg"); /* Services and Mauritius heroes */
  --img-10: url("/images/pexels-quang-nguyen-vinh-222549-6876536-scaled.jpg"); /* Services §1 photo column (> 980 px only) */
  --img-13: url("/images/building-3801868_1280.jpg"); /* Mauritius §1 photo column (> 980 px only) */
  --img-14: url("/images/car-dealer-35.jpg"); /* Contact hero */

  /* Font stacks (computed families) */
  --f-body: "Open Sans", Arial, sans-serif;
  --f-heading: Teko, Helvetica, Arial, Lucida, sans-serif;
  --f-text: Lato, Helvetica, Arial, Lucida, sans-serif;

  /* Layout */
  --container: 80%;
  --container-max: 1080px;
  --gutter: 5.5%;
  --header-h: 80px;
  --header-h-fixed: 54px;

  /* Section divider: the original "arrow" path, viewBox 0 0 1280 140, white fill */
  --divider-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1280 140' preserveAspectRatio='none'%3E%3Cg fill='%23ffffff'%3E%3Cpath d='M640 139L0 0v140h1280V0L640 139z'/%3E%3C/g%3E%3C/svg%3E");
  /* Top divider (About §2): the original inverted-triangle path, same viewBox and fill */
  --divider-arrow-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1280 140' preserveAspectRatio='none'%3E%3Cg fill='%23ffffff'%3E%3Cpath d='M640 140L1280 0H0z'/%3E%3C/g%3E%3C/svg%3E");
}

/* 2. Fonts (VX-FONTS-SELFHOST; faces as in qa/font-map.json, URLs local) ----------------- */

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/lato/S6uyw4BMUTPHjx4wXg.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/lato/S6u9w4BMUTPHh6UVSwiPGQ.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Teko";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/fonts/teko/LYjNdG7kmE0gfaN9pQ.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Teko";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/teko/LYjNdG7kmE0gfaN9pQ.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Teko";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/teko/LYjNdG7kmE0gfaN9pQ.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Teko";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/teko/LYjNdG7kmE0gfaN9pQ.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Teko";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/teko/LYjNdG7kmE0gfaN9pQ.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/fonts/open-sans/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-muw.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/open-sans/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-muw.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/open-sans/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-muw.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/open-sans/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-muw.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/open-sans/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-muw.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 3. Base -------------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7em;
  color: var(--c-text-body);
  background-color: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding-bottom: 10px;
  font-weight: 500;
  line-height: 1em;
  color: var(--c-text-heading);
}

h1 { font-size: 30px; }
h2 { font-size: 26px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }

p {
  margin: 0;
  padding-bottom: 1em;
}

p:last-of-type {
  padding-bottom: 0;
}

a {
  color: var(--c-accent-divi);
  text-decoration: none;
}

ul {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
}

/* 4. Layout primitives ------------------------------------------------------------------- */

.page {
  padding-top: var(--header-h);
  margin-top: 0; /* rest state = fresh load (VX-REST-MARGIN: Divi's -1 px artefact is not reproduced) */
  overflow-x: hidden;
  transition: margin-top .4s ease-in-out; /* AN-8: wrapper margin 0 -> -27 px with the header shrink */
}

.page.is-fixed {
  margin-top: -27px;
}

.container {
  position: relative;
  width: var(--container);
  max-width: var(--container-max);
  margin: 0 auto;
}

.container::after,
.row::after {
  content: "";
  display: block;
  clear: both;
}

.section {
  position: relative;
  padding: 4% 0;
  background-color: var(--c-white);
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
}

.row {
  position: relative;
  width: var(--container);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 2% 0;
}

.row--full {
  width: 100%;
  max-width: 100%;
}

.col {
  position: relative;
  z-index: 2;
  float: left;
  min-height: 1px;
  background-position: 50% 50%;
  background-size: cover;
}

@media (min-width: 1350px) {
  .section {
    padding: 54px 0;
  }

  .row {
    padding: 27px 0;
  }
}

/* gutters3: column gap = 5.5 % of the row */
@media (min-width: 981px) {
  .col {
    margin-right: var(--gutter);
  }

  .col:last-child {
    margin-right: 0;
  }

  .col--1-2 { width: 47.25%; }
  .col--1-3 { width: 29.6667%; }
  .col--2-3 { width: 64.833%; }
  .col--4-4 { width: 100%; }
}

@media (max-width: 980px) {
  .page {
    padding-top: 79px; /* HEADER-VERIFICATION T6: header height - 1 */
  }

  .section {
    padding: 50px 0;
  }

  .row {
    padding: 30px 0;
  }

  .col {
    width: 100%;
    margin-bottom: 30px;
  }

  .col:last-child {
    margin-bottom: 0;
  }

  .col--empty {
    display: none;
  }
}

/* gutters1 (Services / Mauritius §1): two equal halves, no column gap or stacking margin.
   equal-columns: flex rows at >= 981 px only, so the columns share the tallest height. */
.row--gutters1 > .col {
  margin-right: 0;
  margin-bottom: 0;
}

@media (min-width: 981px) {
  .row--gutters1 > .col--1-2 {
    width: 50%;
  }

  .row--equal {
    display: flex;
  }
}

/* 5. Header and menu (AN-8 final; AN-9 final / AD-13; controllers in /js/site.js) ------------
   Desktop shrink (scrollY >= 29, released at <= 28): the Header controller flips .is-fixed on the
   header and on .page; CSS does the geometry. Instant, untransitioned: link padding-bottom
   33 -> 20 (header 80 -> 67 at once, N18). 400 ms ease-in-out: nav padding-top 33 -> 20 (header
   67 -> 54, logo 68.80 -> 57.60 -> 46.44 through max-height 86 %) and the wrapper margin 0 -> -27.
   Shadow 0 0 7px (not transitioned, as in Divi). html.no-transition suppresses the transition for
   one frame when the state is re-derived (restored scroll, resize across 980/981; PA-3). */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  width: 100%;
  line-height: 23px; /* #main-header computed line-height (design-report-computed, all bands) */
  background-color: var(--c-white);
  box-shadow: var(--shadow-header);
}

.site-header__logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.site-header__logo-helper {
  display: inline-block;
  width: 0;
  height: 100%;
  vertical-align: middle;
}

.site-header__logo-img {
  display: inline-block;
  width: auto;
  height: auto;
  max-width: 50%;
  max-height: 86%; /* 68.8 px of the 80 px header */
  vertical-align: middle;
}

.site-nav {
  position: relative;
  float: right;
  padding: 33px 0 0 143px;
}

.site-nav__toggle {
  display: none;
}

.site-nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1em;
}

.site-nav__item {
  display: inline-block;
  padding-right: 22px;
  font-size: 14px;
  line-height: 1em;
}

.site-nav__item:last-child {
  padding-right: 0;
}

.site-nav__link {
  position: relative;
  display: block;
  padding-bottom: 33px;
  font-family: var(--f-body);
  font-weight: 600;
  color: var(--c-nav);
  transition: opacity .4s ease-in-out, background-color .4s ease-in-out;
}

.site-nav__link:hover {
  opacity: .7; /* I03 */
}

.site-nav__link[aria-current="page"] {
  color: var(--c-accent-divi);
}

@media (min-width: 981px) {
  .site-nav {
    transition: padding-top .4s ease-in-out; /* AN-8: the eased half of the shrink */
  }

  .site-header.is-fixed {
    box-shadow: 0 0 7px rgba(0, 0, 0, .1);
  }

  .site-header.is-fixed .site-nav {
    padding-top: 20px;
  }

  .site-header.is-fixed .site-nav__link {
    padding-bottom: 20px; /* instant: the link transition covers opacity and background only (N18) */
  }
}

html.no-transition .site-header,
html.no-transition .site-nav,
html.no-transition .site-nav__link,
html.no-transition .site-header__logo-img,
html.no-transition .page {
  transition: none;
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
  }

  .site-header__logo-img {
    max-height: 54%; /* 43.2 px */
  }

  .site-nav {
    position: static; /* the mobile panel is positioned by .container (baseline: x 39, width 312 at 390) */
    padding: 24px 0 0 101px;
  }

  /* The hamburger is hidden (HTML `hidden`) until the Menu controller is ready (AD-13). */
  html.menu-ready .site-nav__toggle {
    display: block;
  }

  .site-nav__toggle {
    position: relative; /* paints above the absolute logo container (baseline .mobile_menu_bar is positioned) */
    width: 32px;
    font-family: var(--f-body); /* baseline .mobile_menu_bar computed font: 600 "Open Sans" */
    font-weight: 600;
    margin: 0;
    padding: 0 0 24px;
    border: 0;
    background: transparent;
    color: var(--c-accent-divi);
    line-height: 0;
    cursor: pointer;
  }

  .site-nav__toggle-icon {
    display: block;
    width: 32px;
    height: 32px;
  }

  /* Mobile menu panel (AN-9 final, baseline ul.et_mobile_menu): absolute under the 80 px header,
     full container width, 5 % padding (15.59 px at 390), 3 px #2ea3f2 top border, shadow. Closed
     by default; .is-open shows it; the controller slides height, paddings and margins (500 ms). */
  html.menu-ready .site-nav__list {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
    display: none;
    width: 100%;
    padding: 5%;
    background-color: var(--c-white);
    border-top: 3px solid var(--c-accent-divi);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
    line-height: 23px;
  }

  html.menu-ready .site-nav__list.is-open {
    display: block;
  }

  /* Progressive-enhancement fallback (no JavaScript, blocked or failed site.js, Menu init or runtime
     failure; AD-13 / FC-03 / M-08): the list is expanded in normal flow under the logo row, the header
     is in flow and the page padding is 0, so content is pushed down and never overlaid. The hamburger
     keeps its `hidden` attribute. The fallback applies from the first paint until the Menu controller
     has initialised (html.menu-ready); there is no boot gate for the menu (AD-13 as approved). */
  html:not(.menu-ready) .site-header {
    position: relative;
  }

  html:not(.menu-ready) .page {
    padding-top: 0;
  }

  html:not(.menu-ready) .site-header__logo {
    height: 80px;
  }

  html:not(.menu-ready) .site-nav {
    float: none;
    padding: 80px 0 0;
  }

  html:not(.menu-ready) .site-nav__list {
    display: block;
    width: 100%;
    padding: 5%;
    border-top: 3px solid var(--c-accent-divi);
    line-height: 23px;
  }

  .site-nav__item {
    display: block;
    padding: 0;
    line-height: 23px;
  }

  .site-nav__link {
    display: block;
    padding: 10px 5%;
    border-bottom: 1px solid rgba(0, 0, 0, .03);
    color: var(--c-text-body);
    line-height: 23px;
    transition: opacity .2s ease-in-out, background-color .2s ease-in-out; /* I07: 200 ms */
  }

  .site-nav__link:hover {
    background-color: rgba(0, 0, 0, .03);
    opacity: .7;
  }

  .site-nav__link[aria-current="page"] {
    color: var(--c-text-body); /* baseline mobile items are all #666 */
  }
}

/* 6. Components -------------------------------------------------------------------------- */

/* Section divider (DESIGN-REFERENCE §3) */
.divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: block;
  width: 100%;
  pointer-events: none;
  background-image: var(--divider-arrow);
  background-position: 0 0;
  background-repeat: repeat-x;
}

.divider--60 {
  z-index: 1;
  height: 60px;
  background-size: 100% 60px;
}

.divider--100,
.divider--100-50 {
  z-index: 10;
  height: 100px;
  background-size: 100% 100px;
}

/* Top divider (About §2): same box rules, anchored to the section top */
.divider--top {
  top: 0;
  bottom: auto;
  background-image: var(--divider-arrow-top);
}

@media (max-width: 767px) {
  .divider--100-50 {
    height: 50px;
    background-size: 100% 50px;
  }
}

/* Icons */
.icon {
  display: inline-block;
  flex: none;
}

/* Mission icon: Font Awesome Free 5.15.1 "ship" by @fontawesome (fontawesome.com), CC BY 4.0 — see /fonts/ICONS-LICENSE.txt */
.icon--ship {
  width: 80px;
  height: 64px;
}

.icon--values {
  width: 64px;
  height: 64px;
}

/* Blurb (icon on top) */
.blurb {
  text-align: center;
  overflow-wrap: break-word;
}

.blurb__content {
  position: relative;
  width: 100%;
  max-width: 550px;
  margin: 0 auto;
}

.blurb__media {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 30px;
  line-height: 0;
  vertical-align: top;
}

/* Button (I04/I05: 300 ms on the element, 200 ms on the arrow) */
.button {
  position: relative;
  display: inline-block;
  padding: .3em 1em;
  border: 2px solid;
  border-radius: 3px;
  background-color: transparent;
  font-family: var(--f-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.7em;
  letter-spacing: 4px;
  text-transform: uppercase;
  transition: all 300ms ease 0ms;
}

.button__icon {
  position: absolute;
  top: 50%;
  width: 1em;
  height: 1em;
  margin: -.5em 0 0 -1em;
  opacity: 0;
  transition: all 200ms ease 0ms;
}

.button:hover .button__icon {
  margin-left: .3em;
  opacity: 1;
}

.button--solid {
  padding: .3em 1em;
  border: 12px solid var(--c-red);
  border-radius: 0;
  background-color: var(--c-red);
  color: var(--c-white);
}

.button--solid:hover {
  padding: .3em 2em .3em .7em;
}

.button--ghost {
  padding: .3em 2em .3em .7em;
  border: 0 solid transparent; /* baseline computed border: 0px solid rgba(0,0,0,0) */
  color: var(--c-red);
}

.button--ghost .button__icon {
  margin-left: .3em;
  opacity: 1;
}

.button--ghost:hover {
  background-color: transparent;
}

/* Get In Touch (all pages; Home et_pb_section_9) */
.get-in-touch {
  padding: 0;
  background-color: var(--c-white);
  background-image: linear-gradient(180deg, rgba(24, 30, 36, .9) 0%, rgba(213, 26, 39, .69) 100%), var(--img-06);
  background-position: 0 0;
  /* owner change 2026-12-05: the baseline 80px white inset band at the top was removed so the
     photo panel starts level with the red address panel */
}

.get-in-touch__col {
  position: relative;
  z-index: 2;
}

.get-in-touch__col--reach {
  padding: 150px 60px 150px 10%;
}

.get-in-touch__col--visit {
  padding: 150px 10% 150px 60px;
  background-color: var(--c-red-dark);
}

.get-in-touch__inner {
  position: relative;
  width: 100%;
}

.get-in-touch__inner--heading {
  padding: 0 50px;
}

.get-in-touch__inner--phones {
  padding: 5.82% 50px;
}

.get-in-touch__inner--email {
  padding: 5.82% 50px; /* owner change 2026-12-05: aligned with the phone numbers */
}

.get-in-touch__text--heading {
  color: var(--c-white); /* module colour as computed in the baseline (VS-4) */
  font-family: var(--f-text);
  font-size: 22px;
  line-height: 1.8em;
}

.get-in-touch__title {
  font-family: var(--f-heading);
  font-size: 96px;
  color: var(--c-white);
}

.get-in-touch__text--link {
  font-family: var(--f-heading);
  font-size: 40px;
  font-weight: 500;
  line-height: 2em;
  color: var(--c-white);
}

.get-in-touch__link {
  color: var(--c-white);
}

.get-in-touch__text--address {
  padding-bottom: 25px;
  font-family: var(--f-text);
  font-size: 24px;
  line-height: 1.8em;
  color: var(--c-white);
}

.get-in-touch__label {
  font-family: var(--f-heading);
  font-size: 32px;
  color: var(--c-white);
}

@media (min-width: 981px) {
  .get-in-touch__row {
    display: flex;
  }

  .get-in-touch__col {
    width: 50%;
  }
}

/* Owner change 2026-12-05: the two phone numbers are stacked, one per line, at every width
   (the international format no longer fits two side-by-side columns without breaking mid-number). */
.get-in-touch__phone {
  white-space: nowrap;
}

@media (max-width: 319px) {
  .get-in-touch__phone {
    white-space: normal;
  }
}

@media (max-width: 980px) {
  .get-in-touch__col--reach {
    padding: 150px 0 0;
  }

  .get-in-touch__col--visit {
    padding: 40px 10% 100px;
  }

  .get-in-touch__inner--phones {
    padding: 30px 50px;
  }

  .get-in-touch__inner--email {
    padding: 30px 50px;
  }

  .get-in-touch__title {
    font-size: 66px;
  }
}

@media (max-width: 767px) {
  .get-in-touch__title {
    font-size: 36px;
  }

  .get-in-touch__text--link,
  .get-in-touch__text--office .get-in-touch__label {
    font-size: 28px;
  }

  .get-in-touch__text--address {
    font-size: 18px;
  }
}

/* Page hero (About, Services, Mauritius, Contact et_pb_section_0): 2/3 text column over the
   page background; --dark (About, white text) and --light (black H1). Backgrounds per page. */
.page-hero {
  padding: 0 10%;
}

.page-hero__row {
  padding: 0;
}

.page-hero__col {
  padding: 10vw 40px;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, .07) 0%, rgba(255, 255, 255, 0) 100%);
}

.page-hero__heading {
  margin: 0 -10vw 0 0;
  font-family: var(--f-text);
  font-size: 20px;
  line-height: 1.8em;
}

.page-hero__title {
  font-family: var(--f-heading);
  font-size: 9vw; /* 172.8 / 129.6 / 69.12 / 35.1 px at 1920 / 1440 / 768 / 390 */
  font-weight: 500;
  line-height: .9em;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.page-hero__lead {
  margin: 0 -10vw 0 10vw;
  font-family: var(--f-text);
  font-size: 20px;
  line-height: 1.8em;
}

.page-hero--dark .page-hero__col {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, .12) 0%, rgba(255, 255, 255, 0) 100%);
}

.page-hero--dark .page-hero__heading,
.page-hero--dark .page-hero__lead {
  color: var(--c-white); /* module colour as computed in the baseline (VS-4) */
}

.page-hero--dark .page-hero__title {
  color: var(--c-white);
  text-shadow: 0 .18em .27em rgba(0, 0, 0, .38);
}

.page-hero--light .page-hero__title {
  color: var(--c-text-black);
  text-shadow: 0 .18em .27em rgba(0, 0, 0, .24);
}

@media (max-width: 980px) {
  .page-hero {
    padding: 0 30px;
  }

  .page-hero__heading {
    margin-right: 0;
  }

  .page-hero__lead {
    margin-right: 0;
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .page-hero__col {
    padding-right: 10px;
    padding-left: 10px;
  }

  .page-hero__heading {
    margin-right: -5vw;
  }

  .page-hero__title {
    line-height: 1.2em;
  }
}

/* Feature panel (Services and Mauritius et_pb_section_1, et_pb_inner_shadow): full-bleed red
   text column beside a photo column; the photo column (an empty column) hides at <= 980 px. */
.feature-panel {
  padding-top: 3px;
  box-shadow: inset 0 0 7px 0 rgba(0, 0, 0, .07);
}

.feature-panel__row {
  padding: 0;
}

.feature-panel__col {
  background-color: var(--c-red-bright);
}

.feature-panel__heading {
  margin-top: 100px;
  padding: 0 50px;
  font-family: var(--f-text);
  font-size: 20px;
  line-height: 1.8em;
}

.feature-panel__title {
  font-size: 64px;
  color: var(--c-white);
}

.feature-panel__body {
  margin-left: 50px;
  padding: 50px;
  font-family: var(--f-text);
  font-size: 20px;
  line-height: 1.8em;
  color: var(--c-white);
}

.feature-panel__large {
  font-size: 20px; /* baseline inline "font-size: 20px" (Mauritius) */
}

@media (max-width: 980px) {
  .feature-panel__title {
    font-size: 48px;
  }

  .feature-panel__body {
    margin: 0 0 25px;
    padding: 15px 50px;
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .feature-panel__heading {
    margin-right: -5vw;
  }

  .feature-panel__title {
    font-size: 36px;
  }

  .feature-panel__body {
    margin: 0;
    padding: 0 50px 50px;
    font-size: 16px;
  }
}

/* Footer */
.site-footer {
  background-color: var(--c-footer);
}

.site-footer__bottom {
  padding: 15px 0 5px;
  background-color: var(--c-footer-bottom);
}

.site-footer__info {
  float: left;
  padding-bottom: 10px;
  color: var(--c-text-body);
  text-align: left;
}

@media (max-width: 980px) {
  .site-footer__info {
    float: none;
    text-align: center;
  }
}

/* 7. Page-specific rules ----------------------------------------------------------------- */

/* Home §0 hero (et_pb_section_0). IMG-02 under the baseline gradient, darken blend, transparent colour. */
[data-page="home"] .home-hero {
  padding: 0 10%;
  background-color: transparent;
  background-image: linear-gradient(180deg, rgba(27, 31, 37, 0) 0%, var(--c-ink) 76%), var(--img-02);
  background-blend-mode: darken;
}

[data-page="home"] .home-hero__row {
  padding: 0;
}

[data-page="home"] .home-hero__col {
  padding: 12vw 40px;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, .12) 0%, rgba(255, 255, 255, 0) 100%);
}

[data-page="home"] .home-hero__kicker {
  margin: 0 0 4.242% -80px;
  color: var(--c-white); /* module colour as computed in the baseline (VS-4) */
}

[data-page="home"] .home-hero__kicker-title {
  font-family: var(--f-heading);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.6em;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--c-white);
}

[data-page="home"] .home-hero__heading {
  margin: 0 -10vw 0 0;
  color: var(--c-white); /* module colour as computed in the baseline (VS-4) */
  font-family: var(--f-text);
  font-size: 20px;
  line-height: 1.8em;
}

[data-page="home"] .home-hero__title {
  font-family: var(--f-heading);
  font-size: 8vw; /* 153.6 / 115.2 / 61.44 / 31.2 px at 1920 / 1440 / 768 / 390 */
  font-weight: 500;
  line-height: .9em;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--c-white);
  text-shadow: 0 .18em .27em rgba(0, 0, 0, .38);
}

[data-page="home"] .home-hero__lead {
  margin: 0 0 60px 10vw;
  font-family: var(--f-text);
  font-size: 20px;
  line-height: 1.8em;
  color: var(--c-white);
}

[data-page="home"] .home-hero__actions {
  text-align: right;
}

/* Home §1 mission and values (et_pb_section_1, boxed 1280 px) */
[data-page="home"] .home-purpose {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  background-color: var(--c-charcoal);
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .23) 50%);
}

[data-page="home"] .home-purpose__row {
  width: 89%;
  max-width: 89%;
  padding: 0;
}

[data-page="home"] .home-purpose__blurb {
  padding: 60px 0;
  font-family: var(--f-text);
  font-size: 16px;
  color: var(--c-white);
}

[data-page="home"] .home-purpose__blurb .blurb__icon {
  color: var(--c-white-50);
}

[data-page="home"] .home-purpose__blurb .blurb__title {
  font-family: var(--f-heading);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.6em;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--c-white);
}

[data-page="home"] .home-purpose__blurb--mission,
[data-page="home"] .home-purpose__blurb--mission p {
  line-height: 2em;
}

[data-page="home"] .home-purpose__blurb--values,
[data-page="home"] .home-purpose__blurb--values p {
  line-height: .5em;
}

/* Home §2 services (et_pb_section_2). IMG-03 under the baseline gradient. */
[data-page="home"] .home-services {
  padding: 80px 0 150px;
  background-color: var(--c-white);
  background-image: linear-gradient(180deg, #fff 40%, rgba(255, 255, 255, .7) 100%), var(--img-03);
}

[data-page="home"] .home-services__heading {
  max-width: 700px;
  margin: 0 auto;
  font-family: var(--f-text);
  font-size: 20px;
  line-height: 1.8em;
  text-align: center;
}

[data-page="home"] .home-services__title {
  font-family: var(--f-heading);
  font-size: 96px;
}

[data-page="home"] .home-services__list-row {
  margin-top: 30px;
}

[data-page="home"] .home-services__blurb {
  font-family: var(--f-text);
  font-size: 18px;
  line-height: 1.8em;
  color: var(--c-text-black);
}

[data-page="home"] .home-services__blurb .blurb__title {
  font-family: var(--f-heading);
  font-size: 28px;
  line-height: 1.4em;
}

[data-page="home"] .home-services__blurb ul {
  padding: 0 0 23px 1em;
  list-style-type: disc;
  line-height: 26px;
}

[data-page="home"] .home-services__blurb li {
  text-align: left;
}

[data-page="home"] .home-services__medium {
  font-size: 16px; /* baseline inline "font-size: medium" */
}

[data-page="home"] .home-services__actions {
  text-align: center;
}

/* Home §3 commitment (et_pb_section_6, gutters1). IMG-04 under the gradient; IMG-05 is an <img>. */
[data-page="home"] .home-commitment {
  margin-bottom: 130px;
  padding: 0;
  background-color: var(--c-white);
  background-image: linear-gradient(180deg, #fff 36%, rgba(255, 255, 255, .85) 100%), var(--img-04);
}

[data-page="home"] .home-commitment__row {
  padding: 0;
}

[data-page="home"] .home-commitment__media,
[data-page="home"] .home-commitment__text {
  margin-right: 0;
}

[data-page="home"] .home-commitment__image {
  line-height: 0;
  text-align: left;
}

[data-page="home"] .home-commitment__image-wrap {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

[data-page="home"] .home-commitment__text {
  padding: 60px 5%;
}

[data-page="home"] .home-commitment__intro,
[data-page="home"] .home-commitment__body {
  font-family: var(--f-text);
  font-size: 20px;
  line-height: 1.8em;
}

[data-page="home"] .home-commitment__title {
  font-family: var(--f-heading);
  font-size: 40px;
}

[data-page="home"] .home-commitment__body {
  margin-top: 30px;
}

@media (min-width: 981px) {
  [data-page="home"] .home-commitment__media {
    width: 66.6667%;
  }

  [data-page="home"] .home-commitment__text {
    width: 33.3333%;
  }
}

@media (max-width: 980px) {
  [data-page="home"] .home-hero {
    padding: 0 30px;
  }

  [data-page="home"] .home-hero__kicker {
    margin: 0 0 30px;
  }

  [data-page="home"] .home-hero__heading {
    margin-right: 0;
  }

  [data-page="home"] .home-hero__lead {
    margin-left: 0;
  }

  [data-page="home"] .home-purpose__row {
    width: 80%;
    max-width: 80%;
  }

  [data-page="home"] .home-services__title {
    font-size: 66px;
  }

  [data-page="home"] .home-commitment {
    margin-bottom: 0;
  }

  [data-page="home"] .home-commitment__media,
  [data-page="home"] .home-commitment__text {
    margin-bottom: 0;
  }

  [data-page="home"] .home-commitment__image {
    text-align: center;
  }

  [data-page="home"] .home-commitment__text {
    padding: 90px 10% 60px;
  }

  [data-page="home"] .home-commitment__body {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  [data-page="home"] .home-hero__col {
    padding: 12vw 10px;
  }

  [data-page="home"] .home-hero__heading {
    margin-right: -5vw;
  }

  [data-page="home"] .home-hero__title {
    line-height: 1.2em;
  }

  [data-page="home"] .home-services__title {
    font-size: 36px;
  }

  [data-page="home"] .home-commitment__text {
    padding: 60px 10%;
  }

  [data-page="home"] .home-commitment__body {
    font-size: 16px;
  }
}

/* About §0 hero (et_pb_section_0). IMG-07 under the baseline gradient. */
[data-page="about-us"] .about-hero {
  background-color: var(--c-white);
  background-image: linear-gradient(180deg, rgba(27, 31, 37, 0) 0%, var(--c-ink) 75%), var(--img-07);
}

[data-page="about-us"] .page-hero__col {
  padding-top: 12vw;
  padding-bottom: 12vw;
}

/* About §1 intro (et_pb_section_1): 960 px row, centred 750 px text module */
[data-page="about-us"] .about-intro {
  padding-top: 120px;
}

[data-page="about-us"] .about-intro__row {
  max-width: 960px;
}

[data-page="about-us"] .about-intro__text,
[data-page="about-us"] .about-commitment__heading {
  margin: 0 auto;
  font-family: var(--f-text);
  font-size: 20px;
  line-height: 1.8em;
  text-align: center;
}

[data-page="about-us"] .about-intro__text {
  max-width: 750px;
}

[data-page="about-us"] .about-intro__title,
[data-page="about-us"] .about-commitment__title {
  font-family: var(--f-heading);
  font-size: 96px;
}

/* About §2 commitment (et_pb_section_3). IMG-08 under the baseline gradient;
   the inset shadow is the white band behind the bottom divider. Both dividers stack under the
   rows (z-index 1 / 5). */
[data-page="about-us"] .about-commitment {
  padding: 180px 0 0;
  background-color: var(--c-white);
  background-image: linear-gradient(180deg, rgba(27, 31, 37, .3) 0%, var(--c-ink) 100%), var(--img-08);
  box-shadow: inset 0 -150px 0 0 var(--c-white);
}

[data-page="about-us"] .about-commitment .divider {
  z-index: 1;
}

[data-page="about-us"] .about-commitment__heading-row,
[data-page="about-us"] .about-commitment__text-row {
  z-index: 5;
  background-color: var(--c-grey-50);
}

[data-page="about-us"] .about-commitment__heading-row {
  padding: 60px 0 0;
}

[data-page="about-us"] .about-commitment__text-row {
  padding-right: 5%;
  padding-bottom: 150px;
  padding-left: 5%;
}

[data-page="about-us"] .about-commitment__heading,
[data-page="about-us"] .about-commitment__text {
  max-width: 700px;
}

[data-page="about-us"] .about-commitment__text {
  font-family: var(--f-text);
  font-size: 20px;
  line-height: 1.8em;
  background-color: var(--c-grey-50);
}

@media (max-width: 980px) {
  [data-page="about-us"] .about-intro__title,
  [data-page="about-us"] .about-commitment__title {
    font-size: 66px;
  }
}

@media (max-width: 767px) {
  [data-page="about-us"] .about-intro__title,
  [data-page="about-us"] .about-commitment__title {
    font-size: 36px;
  }

  [data-page="about-us"] .about-commitment {
    padding-top: 100px;
  }
}

/* Services §0 hero and Mauritius §0 hero (et_pb_section_0). IMG-09 under the baseline gradient. */
[data-page="our-services"] .services-hero,
[data-page="mauritius-branch"] .mauritius-hero {
  background-color: var(--c-white);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .84) 0%, var(--c-white) 100%), var(--img-09);
}

[data-page="our-services"] .page-hero__col,
[data-page="mauritius-branch"] .page-hero__col {
  padding-bottom: 80px;
}

/* Services §1 (et_pb_section_1). IMG-10 photo column (> 980 px only). The image blurbs
   (IMG-11, IMG-12) are <img> elements. */
[data-page="our-services"] .services-panel .feature-panel__photo {
  background-image: var(--img-10);
}

[data-page="our-services"] .services-blurbs {
  min-height: 820px;
  margin-top: -6px;
  padding-top: 67px;
  box-shadow: inset 10px 21px 26px 0 rgba(0, 0, 0, .3);
}

[data-page="our-services"] .services-blurb {
  padding: 25px 50px;
  font-family: var(--f-text);
  font-size: 20px;
  line-height: 1.8em;
}

[data-page="our-services"] .services-blurb .blurb__content {
  max-width: 100%;
}

[data-page="our-services"] .services-blurb__wrap {
  display: block;
  margin: auto;
  border-radius: 50px;
  overflow: hidden;
}

[data-page="our-services"] .services-blurb__img {
  border-radius: 50px;
}

[data-page="our-services"] .services-blurb .blurb__title {
  font-family: var(--f-heading);
  font-size: 48px;
}

/* Mauritius §1 (et_pb_section_1). IMG-13 photo column (> 980 px only). */
[data-page="mauritius-branch"] .mauritius-panel {
  padding-bottom: 0;
}

[data-page="mauritius-branch"] .mauritius-panel .feature-panel__photo {
  background-image: var(--img-13);
}

@media (max-width: 980px) {
  [data-page="our-services"] .page-hero__lead,
  [data-page="mauritius-branch"] .page-hero__lead,
  [data-page="our-services"] .services-blurb {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  [data-page="our-services"] .page-hero__lead,
  [data-page="mauritius-branch"] .page-hero__lead,
  [data-page="our-services"] .services-blurb {
    font-size: 16px;
  }

  [data-page="our-services"] .services-blurb .blurb__title {
    font-size: 36px;
  }
}

/* Contact §0 hero (et_pb_section_0). IMG-14 under the baseline gradient. */
[data-page="contact-us"] .contact-hero {
  background-color: var(--c-white);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .9) 0%, var(--c-white) 100%), var(--img-14);
}

/* 7b. Error pages (XAN-97, AD-6): plain content section, no animation. --------------------- */

.error-page {
  padding: 54px 0;
}

.error-page__title {
  margin-bottom: 16px;
}

.error-page__text {
  margin: 0;
}

/* 8. Reveal states (AN-1..AN-6; AD-2 boot gate BG-1..BG-5; R1/R2) ------------------------
   Content is visible by default. /js/boot.js adds html.reveal-boot from the first paint (unless
   reduced motion), /js/site.js replaces it with reveal-ready and arms the elements within the
   2000 ms budget; otherwise reveal-off (static) or reveal-failed (R1) are terminal and hide nothing.
   Patterns (F-2 verified): 1000 ms, ease-in-out, fill both; zoom and slide-left-20 delay 100 ms;
   slide-bottom reveals at full opacity; fade-top uses cubic-bezier(.77,0,.175,1) and fill none. */

html.reveal-boot .reveal {
  opacity: 0;
  animation: reveal-failsafe 0s 3s forwards; /* CSS fail-safe: visible after 3 s if no controller takes over */
}

@keyframes reveal-failsafe {
  to { opacity: 1; }
}

html.reveal-ready .reveal.is-armed {
  opacity: 0;
}

.reveal.is-running {
  animation-duration: 1000ms;
  animation-timing-function: ease-in-out;
  animation-delay: 0ms;
  animation-fill-mode: both;
}

.reveal.is-running[data-delay="100"] {
  animation-delay: 100ms;
}

.reveal.is-running[data-reveal="slide-right"] { animation-name: reveal-slide-right; }
.reveal.is-running[data-reveal="slide-left"] { animation-name: reveal-slide-left; }
.reveal.is-running[data-reveal="slide-left-20"] { animation-name: reveal-slide-left-20; }
.reveal.is-running[data-reveal="zoom"] { animation-name: reveal-zoom; transform-origin: 50% 50%; }
.reveal.is-running[data-reveal="slide-bottom"] { animation-name: reveal-slide-bottom; }

.reveal.is-running[data-reveal="fade-top"] {
  animation-name: reveal-fade-top;
  animation-timing-function: cubic-bezier(.77, 0, .175, 1);
  animation-fill-mode: none;
}

@keyframes reveal-slide-right {
  from { opacity: 0; transform: translate3d(20%, 0, 0); }
  to { opacity: 1; transform: none; }
}

@keyframes reveal-slide-left {
  from { opacity: 0; transform: translate3d(-20%, 0, 0); }
  to { opacity: 1; transform: none; }
}

@keyframes reveal-slide-left-20 {
  from { opacity: 0; transform: translate3d(-40%, 0, 0); }
  to { opacity: 1; transform: none; }
}

@keyframes reveal-zoom {
  from { opacity: 0; transform: scale3d(.9, .9, .9); }
  to { opacity: 1; transform: none; }
}

@keyframes reveal-slide-bottom {
  from { transform: translate3d(0, 8%, 0); }
  to { transform: none; }
}

@keyframes reveal-fade-top {
  from { opacity: 0; transform: translateY(-10%); }
  to { opacity: 1; transform: translateX(0); }
}

/* Done (AN-3 / BG-3 / R2): base styles apply again; no residual transform, no animation. Both
   declarations are !important so the state wins over html.reveal-boot .reveal (boot-time focus, BG-3:
   the 3 s fail-safe animation must not stay pending on a focused element) and over .is-running. */
.reveal.is-done {
  opacity: 1 !important;
  animation: none !important;
}

/* R1 fail-open backstop (terminal): nothing stays hidden whatever the state. */
html.reveal-failed .reveal {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* 9. Reduced motion (AN-5, VX-REDUCED-MOTION, BG-4) -------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html.reveal-boot .reveal,
  .reveal.is-armed,
  .reveal.is-running {
    opacity: 1 !important; /* nothing is gated at any stage */
    animation: none;
  }

  .site-header,
  .site-nav,
  .site-nav__link,
  .site-header__logo-img,
  .page,
  .button,
  .button__icon {
    transition: none;
  }
}

/* XAN-99 D-99-07 (A11Y-03, browser zoom 200 % on a 390 px phone = 195 CSS px): below 320 CSS px long unbroken
   strings (the e-mail address, long headings) and buttons wrap instead of overflowing or being clipped by the page
   wrapper. Scoped below 320 px, so every accepted visual reference width (>= 320 px) is unchanged. */
@media (max-width: 319px) {
  .page__main,
  .site-footer {
    overflow-wrap: break-word;
  }

  .button {
    max-width: 100%;
    white-space: normal;
  }
}
