/* ============================================================
   SME Group Plc — stylesheet (1:1 Wix-style layout)
   Palette: deep navy + white + soft grey (minimal, like the Wix site)
   ============================================================ */
:root {
  --navy: #14213d;
  --ink: #26334f;
  --muted: #5b6577;
  --line: #e3e6ec;
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --maxw: 1160px;
  --header-h: 82px;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); overflow-x: hidden; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 1.0625rem; /* 17px at default root; scales with the accessibility text-size control */
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin: 0 auto; }
.center-text { text-align: center; }

/* -------- Header / Nav (Apple-style: thin, frosted, minimal) -------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: transparent;
}
/* Adaptive gradient: navy over dark sections, soft light scrim over content sections. */
.site-header::before, .site-header::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 150px; z-index: -1; pointer-events: none;
  transition: opacity .45s ease;
}
.site-header::before { background: linear-gradient(180deg, rgba(16,24,44,.92) 0%, rgba(16,24,44,.5) 45%, rgba(16,24,44,0) 100%); opacity: 1; }
.site-header::after  { background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.45) 50%, rgba(255,255,255,0) 100%); opacity: 0; }
.site-header.on-light::before { opacity: 0; }
.site-header.on-light::after  { opacity: 1; }
.header-inner { height: var(--header-h); max-width: 940px; margin: 0 auto; display: flex; align-items: center; }
.logo { display: flex; align-items: center; text-decoration: none; flex: 0 0 auto; margin: 0 34px; }
.logo img { height: 60px; width: auto; display: block; }
.logo .logo-white { display: block; }   /* white logo on the navy gradient */
.logo .logo-navy { display: none; }

.desk-nav { flex: 1; display: flex; align-items: center; justify-content: center; gap: 34px; }
.desk-nav a {
  font-size: 14px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  color: #fff; text-decoration: none; transition: color .4s ease, opacity .2s ease; white-space: nowrap;
}
.desk-nav a:hover { opacity: .65; }

.mobile-nav { display: none; }   /* only used as the mobile slide-out */

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: #fff; transition: .3s; }

/* light-section theme: navy text/logo on the quiet light scrim */
.site-header.on-light .desk-nav a { color: var(--navy); }
.site-header.on-light .logo-white { display: none; }
.site-header.on-light .logo-navy { display: block; }
.site-header.on-light .nav-toggle span { background: var(--navy); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------- Hero: filmic slow-zoom slideshow + oversized headline -------- */
.hero { width: 100%; }
.slideshow { position: relative; width: 100%; height: 82vh; min-height: 480px; max-height: 760px; overflow: hidden; background: #0b1428; }
.slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.05); transition: opacity 1.6s ease; will-change: opacity, transform;
}
.slide.is-active { opacity: 1; animation: heroZoom 11s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1.18); } }

/* layered wash: strong darken at the base (behind the type), a left bias, and a
   light overall navy tint so every image reads dark & filmic — even bright interiors */
.hero-wash {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(to top, rgba(7,13,30,.92) 0%, rgba(7,13,30,.6) 26%, rgba(7,13,30,.12) 55%, rgba(7,13,30,0) 80%),
    linear-gradient(75deg, rgba(7,13,30,.6) 0%, rgba(7,13,30,.2) 48%, rgba(7,13,30,0) 80%),
    rgba(9,16,35,.22);
}
.hero-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 0 56px 54px; }
.hero-rule { display: block; width: 64px; height: 2px; background: #fff; opacity: .9; margin-bottom: 22px; }
.hero-eyebrow {
  font-family: "Inter", sans-serif; font-weight: 500; letter-spacing: 4px; text-transform: uppercase;
  font-size: 12px; color: rgba(255,255,255,.82); margin: 0 0 16px;
}
.hero-title {
  font-family: "Marcellus", Georgia, serif; font-weight: 400; color: #fff;
  line-height: 1.16; letter-spacing: 3px; margin: 0; text-transform: uppercase;
  font-size: clamp(28px, 4.6vw, 52px); text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
@media (prefers-reduced-motion: reduce) {
  .slide.is-active { animation: none; }
  .slide { transition: opacity 1.1s ease; }
}

/* -------- Sections & headings -------- */
.section { padding: 84px 0; }
.section-dark { background: var(--navy); color: #dfe4ee; }
.section-title {
  font-family: "Marcellus", Georgia, serif; font-weight: 400;
  font-size: clamp(28px, 4vw, 40px); color: var(--navy); text-align: center;
  margin: 0 0 40px; letter-spacing: 3px; text-transform: uppercase;
}
.section-title.light { color: #fff; }
.sub-heading { font-family: "Marcellus", Georgia, serif; font-weight: 400; color: var(--navy); font-size: 22px; letter-spacing: 1px; margin-top: 44px; }
.lead { font-size: 1.1875rem; color: var(--ink); }
.section p { color: var(--ink); }
.section-dark p, .section-dark a { color: #cdd5e3; }

/* -------- Interior page banner (About, etc.) -------- */
.page-hero { position: relative; min-height: 54vh; display: flex; align-items: flex-end; overflow: hidden; background: #0b1428; }
.page-hero .ph-bg { position: absolute; inset: 0; background-size: cover; background-position: center; animation: heroZoom 16s ease-out forwards; }
.page-hero .ph-wash {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,13,30,.92) 0%, rgba(7,13,30,.5) 45%, rgba(7,13,30,.28) 100%);
}
.page-hero .ph-inner { position: relative; z-index: 2; width: 100%; padding-bottom: 54px; }
.ph-eyebrow { font-family: "Inter", sans-serif; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; font-size: 12px; color: rgba(255,255,255,.82); margin: 0 0 14px; }
.ph-title {
  font-family: "Marcellus", Georgia, serif; font-weight: 400; color: #fff; margin: 0;
  line-height: 1.14; letter-spacing: 3px; text-transform: uppercase; font-size: clamp(30px, 5vw, 56px);
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.page-hero .hero-rule { margin-bottom: 20px; }

/* -------- About: editorial two-column story -------- */
.story-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: start; }
.story-grid .story-head .rule { display: block; width: 56px; height: 2px; background: var(--navy); opacity: .85; margin-bottom: 22px; }
.story-grid .story-head .eyebrow { font-family: "Inter"; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.story-grid .story-head h2 { font-family: "Marcellus", Georgia, serif; font-weight: 400; color: var(--navy); font-size: clamp(28px, 3.4vw, 40px); letter-spacing: 1px; line-height: 1.16; margin: 0; }
.story-grid .story-body p + p { margin-top: 18px; }
.story-grid .story-body .lead { margin-top: 0; }

/* -------- Quiet stats row -------- */
.stat-band { background: var(--bg-alt); }
.stat-row { display: flex; justify-content: center; flex-wrap: wrap; }
.stat { padding: 6px 46px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat .stat-num { font-family: "Marcellus", Georgia, serif; color: var(--navy); font-size: clamp(38px, 4.4vw, 50px); line-height: 1; }
.stat .stat-label { color: var(--muted); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-top: 10px; }

@media (max-width: 760px) {
  .story-grid { grid-template-columns: 1fr; gap: 26px; }
  .stat { border-left: 0; border-top: 1px solid var(--line); padding: 20px 24px; width: 100%; max-width: 260px; }
  .stat:first-child { border-top: 0; }
}

/* -------- Intro strip (between hero and portfolio) -------- */
.intro-strip { background: var(--bg); padding: 88px 0 80px; text-align: center; }
.intro-eyebrow { font-family: "Inter", sans-serif; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; font-size: 12px; color: var(--muted); margin: 0 0 18px; }
.intro-lead { font-family: "Marcellus", Georgia, serif; font-weight: 400; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.42; letter-spacing: .5px; color: var(--navy); max-width: 780px; margin: 0 auto; }
.intro-link { display: inline-block; margin-top: 26px; color: var(--navy); text-decoration: none; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; border-bottom: 1px solid var(--navy); padding-bottom: 3px; }
.intro-link:hover { opacity: .7; }

/* -------- Portfolio: white rounded card on an off-white surround, hover-reveal image -------- */
.pf { background: var(--bg-alt); color: var(--ink); padding: 64px 24px; overflow: hidden; }
.pf-card { max-width: 1240px; margin: 0 auto; background: var(--navy); border-radius: 18px; padding: 60px 60px 64px; box-shadow: 0 24px 60px rgba(20,33,61,.16); }
.pf .pf-head { margin-bottom: 44px; max-width: 640px; }
.pf-eyebrow { font-family: "Inter", sans-serif; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; font-size: 12px; color: rgba(255,255,255,.5); margin: 0; }
.pf-title { font-family: "Marcellus", Georgia, serif; font-weight: 400; font-size: clamp(28px, 3.6vw, 42px); letter-spacing: 2px; text-transform: uppercase; color: #fff; margin: 14px 0 0; line-height: 1.15; }
.pf-sub { color: rgba(255,255,255,.7); margin: 16px 0 0; font-size: 16px; }

.pf-body {
  display: grid; grid-template-columns: minmax(260px, 400px) minmax(0, 1fr); gap: 72px; align-items: center;
}
.pf-list { list-style: none; margin: 0; padding: 0; }
.pf-name { display: flex; align-items: baseline; gap: 20px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.14); cursor: pointer; transition: padding-left .35s ease; }
.pf-name:first-child { border-top: 1px solid rgba(255,255,255,.14); }
.pf-num { font-family: "Marcellus", Georgia, serif; font-size: 13px; letter-spacing: 1px; color: rgba(255,255,255,.4); transition: color .35s; min-width: 24px; }
.pf-label { font-family: "Marcellus", Georgia, serif; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: 1px; color: rgba(255,255,255,.42); transition: color .35s; }
.pf-name.is-active { padding-left: 16px; }
.pf-name.is-active .pf-label, .pf-name.is-active .pf-num { color: #fff; }

.pf-panel { position: relative; height: 440px; border-radius: 6px; overflow: hidden; background: #0b1428; }
.pf-img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .7s ease; }
.pf-img.is-active { opacity: 1; }
.pf-capwrap { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(to top, rgba(7,13,30,.9), rgba(7,13,30,0)); }
.pf-cap { position: absolute; left: 30px; right: 30px; bottom: 28px; color: rgba(255,255,255,.92); font-size: 15px; margin: 0; opacity: 0; transition: opacity .5s ease; }
.pf-cap.is-active { opacity: 1; }

/* -------- Brand logo band (white, to separate from the off-white portfolio block) -------- */
.logo-band { background: var(--bg); padding: 84px 0; }
.logo-eyebrow { font-family: "Inter", sans-serif; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; font-size: 12px; color: var(--muted); text-align: center; margin: 0; }
.logo-title { font-family: "Marcellus", Georgia, serif; font-weight: 400; font-size: 26px; letter-spacing: 2px; text-transform: uppercase; color: var(--navy); text-align: center; margin: 12px 0 0; }
/* borderless static grid: equal cells, each logo scaled to a shared footprint */
.logo-grid { display: grid; grid-template-columns: repeat(6, auto); justify-content: space-between; align-items: center; justify-items: center; column-gap: 24px; row-gap: 44px; margin: 54px auto 0; max-width: 1040px; }
.logo-cell { display: flex; align-items: center; justify-content: center; height: 72px; }
/* consistent optical sizing: wide wordmarks sit ~40px tall; near-square marks a touch taller so their visual mass matches */
.logo-cell img { height: 40px; width: auto; max-width: 150px; object-fit: contain; opacity: .9; filter: saturate(.96); }
.logo-cell img.is-compact { height: 54px; max-width: 110px; }

/* -------- Portfolio panel: drone video fills the Restaurants sector -------- */
.pf-panel video.pf-img { width: 100%; height: 100%; object-fit: cover; background: #0b1428; }

/* -------- Reusable phone frame (vertical video) -------- */
.phone-frame { width: 212px; flex: 0 0 auto; border-radius: 28px; overflow: hidden; border: 6px solid rgba(20,33,61,.12); box-shadow: 0 26px 60px rgba(20,33,61,.16); background: #000; }
.phone-frame video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }

/* -------- About: "how we operate" two-column feature -------- */
.feature-grid { display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: center; }
.feature-copy { max-width: 560px; }
.feature-copy .rule { display: block; width: 56px; height: 2px; background: var(--navy); opacity: .85; margin-bottom: 22px; }
.feature-copy .eyebrow { font-family: "Inter", sans-serif; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.feature-copy h2 { font-family: "Marcellus", Georgia, serif; font-weight: 400; color: var(--navy); font-size: clamp(26px, 3vw, 34px); letter-spacing: .5px; line-height: 1.16; margin: 0 0 18px; }
.feature-copy p { color: var(--ink); margin: 0; }

@media (max-width: 760px) {
  .feature-grid { grid-template-columns: 1fr; gap: 30px; justify-items: start; }
  .phone-frame { width: 182px; }
}

/* -------- Community: elegant icon cards -------- */
.community { background: var(--bg-alt); }
.community-head { max-width: 700px; margin: 0 auto; }
.community-eyebrow { font-family: "Inter", sans-serif; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; font-size: 12px; color: var(--muted); margin: 0 0 14px; }
.community-head .lead { margin: 0 auto; }
/* one white rounded card (echoes the portfolio card shape) holding 3 pillars */
.community-card { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1240px; margin: 56px auto 0; background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(20,33,61,.08); overflow: hidden; }
.pillar { padding: 52px 44px; text-align: center; border-left: 1px solid var(--line); }
.pillar:first-child { border-left: 0; }
.pillar-icon { display: inline-flex; align-items: center; justify-content: center; width: 68px; height: 68px; border-radius: 50%; background: var(--navy); color: #fff; margin-bottom: 24px; }
.pillar-icon svg { width: 30px; height: 30px; }
.pillar h3 { font-family: "Marcellus", Georgia, serif; font-weight: 400; color: var(--navy); font-size: 21px; letter-spacing: .5px; margin: 0 0 12px; }
.pillar p { color: var(--muted); margin: 0; font-size: 15.5px; line-height: 1.72; }
.pillar strong { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) {
  .community-card { grid-template-columns: 1fr; margin-top: 40px; }
  .pillar { border-left: 0; border-top: 1px solid var(--line); padding: 40px 30px; }
  .pillar:first-child { border-top: 0; }
}

/* -------- Our People -------- */
.people-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.people-img { width: 100%; border-radius: 8px; object-fit: cover; box-shadow: 0 10px 30px rgba(20,33,61,.12); }

/* -------- Buttons -------- */
.btn { display: inline-block; text-decoration: none; font-weight: 500; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; padding: 13px 30px; border-radius: 2px; border: 0; cursor: pointer; transition: .2s; }
.btn-primary { background: var(--navy); color: #fff; margin-top: 22px; }
.btn-primary:hover { background: #0e1730; }
.careers-cta .lead { max-width: 640px; margin: 0 auto; }

/* -------- Testimonials -------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 64px; }
.testimonials blockquote { margin: 0; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 8px; padding: 28px; }
.testimonials p { font-style: italic; color: var(--ink); margin: 0 0 14px; font-size: 15.5px; }
.testimonials cite { font-style: normal; font-weight: 600; color: var(--navy); font-size: 14px; }

/* -------- Contact page (dedicated /contact) -------- */
.contact-page { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: stretch; }
.contact-page-title { font-family: "Marcellus", Georgia, serif; font-weight: 400; color: var(--navy); font-size: 28px; letter-spacing: .5px; margin: 10px 0 14px; }
.contact-page-addr { color: var(--ink); line-height: 1.7; margin: 0 0 8px; }
.contact-page h3 { font-family: "Marcellus", Georgia, serif; font-weight: 400; color: var(--navy); font-size: 18px; letter-spacing: .5px; margin: 24px 0 4px; }
.contact-page p { margin: 0; }
.contact-page-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; border-radius: 10px; }

/* -------- Footer -------- */
.site-footer { background: #0b1428; color: #aab4c8; padding: 64px 0 26px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1.05fr 1.15fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { max-width: 380px; }
.footer-logo { height: 46px; width: auto; display: block; margin-bottom: 18px; }
.footer-tag { font-size: 14px; line-height: 1.75; color: #9aa6bd; margin: 0 0 22px; }
.footer-col h4 { font-family: "Inter", sans-serif; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; font-size: 12px; color: #fff; margin: 0 0 18px; }
.footer-col a { display: block; color: #aab4c8; text-decoration: none; font-size: 14px; margin-bottom: 11px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-addr { font-size: 14px; line-height: 1.75; margin: 0 0 14px; color: #aab4c8; }
.footer-col p { margin: 0 0 14px; font-size: 14px; }
.footer-col p a { display: inline; margin: 0; }
.social { display: flex; gap: 16px; }
.social a { color: #cdd5e3; display: inline-flex; }
.social a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; }
.copyright { margin: 0; font-size: 13px; color: #8592ab; }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a { color: #8592ab; text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-legal a:hover { color: #fff; }
@media (max-width: 960px) { .site-footer .footer-top { grid-template-columns: 1fr 1fr; column-gap: 40px; row-gap: 36px; } }
@media (max-width: 760px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) { .site-footer .footer-top { grid-template-columns: 1fr; } }

/* ============ Responsive ============ */
@media (max-width: 860px) {
  .testimonials { grid-template-columns: 1fr; }
  .contact-page { grid-template-columns: 1fr; gap: 30px; }
  .contact-page-map iframe { min-height: 300px; }
  .grid-2 { grid-template-columns: 1fr; }
  .people-layout { grid-template-columns: 1fr; gap: 24px; }
  .people-layout .section-title { text-align: center !important; }

  .pf-card { padding: 32px 24px 38px; }
  .pf-body { grid-template-columns: 1fr; gap: 28px; }
  .pf-panel { height: 300px; order: -1; }
  .pf-label { font-size: 24px; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); row-gap: 38px; }

  .slideshow { height: 68vh; min-height: 420px; }
  .hero-copy { padding: 0 26px 36px; }
  .hero-rule { margin-bottom: 16px; }

  .desk-nav { display: none; }
  .header-inner { justify-content: space-between; }
  .logo { margin: 0; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: flex; }
  /* keep logo + X above the full-screen overlay */
  .logo, .nav-toggle { position: relative; z-index: 2; }
  .site-nav {
    position: fixed; inset: 0; z-index: 1;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 2px; padding: calc(var(--header-h) + 20px) 40px 40px;
    background: radial-gradient(120% 80% at 85% 0%, #21335a 0%, #14213d 45%, #0b1428 100%);
    opacity: 0; visibility: hidden; transform: none;
    transition: opacity .45s ease, visibility .45s ease;
  }
  .site-nav.open { opacity: 1; visibility: visible; }
  .site-nav a {
    position: relative; font-family: "Marcellus", Georgia, serif; font-weight: 400;
    text-transform: none; font-size: clamp(30px, 8.5vw, 46px); letter-spacing: .5px; line-height: 1.46;
    color: rgba(255,255,255,.9); text-decoration: none; text-shadow: none; border: 0; padding: 3px 0;
    opacity: 0; transform: translateY(22px);
    transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1), color .25s ease;
  }
  .site-nav.open a { opacity: 1; transform: none; }
  .site-nav.open a:nth-child(1) { transition-delay: .10s; }
  .site-nav.open a:nth-child(2) { transition-delay: .17s; }
  .site-nav.open a:nth-child(3) { transition-delay: .24s; }
  .site-nav.open a:nth-child(4) { transition-delay: .31s; }
  .site-nav.open a:nth-child(5) { transition-delay: .38s; }
  .site-nav.open a:nth-child(6) { transition-delay: .45s; }
  /* animated hairline that draws in under the tapped/hovered link */
  .site-nav a::after { display: block; content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: rgba(255,255,255,.85); transition: width .35s ease; }
  .site-nav a:hover::after, .site-nav a:focus-visible::after { width: 2.2ch; }
  .site-nav a:hover, .site-nav a:focus-visible { color: #fff; }
  .site-nav::after {
    content: "A family business since 1982"; width: 100%; margin-top: 30px; padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.16);
    font-family: "Inter", sans-serif; font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
    color: rgba(255,255,255,.5); opacity: 0; transition: opacity .5s ease .5s;
  }
  .site-nav.open::after { opacity: 1; }
}

@media (max-width: 430px) {
  .logo-grid { grid-template-columns: repeat(2, 1fr); column-gap: 16px; row-gap: 30px; }
}

/* ============ Mobile nav backdrop ============ */
.nav-scrim { position: fixed; inset: 0; background: rgba(9,16,35,.55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .3s ease; z-index: 50; }
.nav-scrim.open { opacity: 1; visibility: visible; }

/* ============ Accessibility toolbar ============ */
.a11y-btn { position: fixed; right: 18px; bottom: 18px; z-index: 200; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.28); }
.a11y-btn:hover { background: #0e1730; }
.a11y-btn svg { width: 26px; height: 26px; }
.a11y-panel { position: fixed; right: 18px; bottom: 76px; z-index: 200; width: 264px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 50px rgba(20,33,61,.18); padding: 16px 18px; display: none; }
.a11y-panel.open { display: block; }
.a11y-panel h4 { font-family: "Inter", sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.a11y-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.a11y-row span { font-size: 14px; color: var(--ink); }
.a11y-size { display: flex; gap: 6px; }
.a11y-size button, .a11y-toggle { border: 1px solid var(--line); background: #fff; border-radius: 6px; cursor: pointer; font-size: 13px; padding: 6px 12px; color: var(--navy); font-weight: 500; transition: background .2s, color .2s; }
.a11y-size button:hover, .a11y-toggle:hover { border-color: var(--navy); }
.a11y-toggle[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.a11y-reset { margin-top: 14px; width: 100%; border: 0; background: var(--bg-alt); border-radius: 6px; padding: 9px; cursor: pointer; font-size: 13px; color: var(--muted); }
.a11y-reset:hover { color: var(--navy); }

/* High-contrast mode: darken muted greys + strengthen lines via tokens, force full-white on dark */
html.a11y-contrast { --muted: #333b47; --ink: #0e1218; --line: #7f8a9b; }
html.a11y-contrast a { text-decoration: underline; }
html.a11y-contrast .pf-sub, html.a11y-contrast .contact-sub, html.a11y-contrast .hero-eyebrow, html.a11y-contrast .ph-eyebrow, html.a11y-contrast .footer-tag, html.a11y-contrast .intro-eyebrow, html.a11y-contrast .pf-eyebrow { color: #fff !important; }

/* Underline links */
html.a11y-underline a { text-decoration: underline !important; }

/* Reduce motion */
html.a11y-reduce-motion *, html.a11y-reduce-motion *::before, html.a11y-reduce-motion *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }

/* ============ About: values grid ============ */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 52px; }
.value-item { text-align: center; }
.value-item h3 { font-family: "Marcellus", Georgia, serif; font-weight: 400; color: var(--navy); font-size: 20px; letter-spacing: .5px; margin: 18px 0 10px; }
.value-item p { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.65; }

/* ============ About: milestones timeline ============ */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; margin-top: 56px; }
.milestone { position: relative; padding: 30px 4px 0; border-top: 2px solid var(--line); }
.milestone::before { content: ""; position: absolute; top: -8px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--navy); }
.ms-year { font-family: "Marcellus", Georgia, serif; font-weight: 400; color: var(--navy); font-size: 30px; letter-spacing: 1px; margin-bottom: 10px; }
.milestone p { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.65; }
@media (max-width: 760px) {
  .values-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .milestone { border-top: 0; border-left: 2px solid var(--line); padding: 4px 0 26px 22px; margin-left: 6px; }
  .milestone::before { top: 2px; left: -8px; }
}

/* ============ Portfolio page: alternating sector rows ============ */
.sector-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 64px; }
.sector-row:last-child { margin-bottom: 0; }
.sector-row:nth-child(even) .sector-img { order: 2; }
.sector-img { height: 360px; background-size: cover; background-position: center; border-radius: 8px; }
.sector-num { font-family: "Marcellus", Georgia, serif; color: #c2c7d1; font-size: 20px; letter-spacing: 2px; }
.sector-text h2 { font-family: "Marcellus", Georgia, serif; font-weight: 400; color: var(--navy); font-size: clamp(26px, 3vw, 34px); letter-spacing: .5px; margin: 8px 0 16px; }
.sector-text p { color: var(--ink); margin: 0; }
.sector-text .sector-brands { margin-top: 18px; color: var(--muted); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
@media (max-width: 760px) {
  .sector-row { grid-template-columns: 1fr; gap: 22px; margin-bottom: 44px; }
  .sector-row:nth-child(even) .sector-img { order: 0; }
  .sector-img { height: 240px; }
}

/* Homepage portfolio card -> full portfolio page link */
.pf-link { display: inline-block; margin-top: 20px; color: #fff; text-decoration: none; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 3px; transition: border-color .2s; }
.pf-link:hover { border-color: #fff; }

/* How we operate — carded pillars (scoped to this section only) */
.section.op-section { background: #fff; }
.op-section .values-grid { gap: 24px; }
.op-section .value-item { border: 1px solid var(--navy); border-radius: 16px; padding: 38px 26px 34px; background: #fff; transition: transform .3s ease, box-shadow .3s ease; }
.op-section .value-item:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20,33,61,.10); }
@media (max-width: 720px) { .op-section .value-item { padding: 30px 22px; } }
.op-intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; text-align: left; }
.op-intro .community-eyebrow { margin-bottom: 18px; }
.op-intro .op-title { text-align: left; margin: 0 0 18px; }
.op-intro .lead { margin: 0; max-width: 440px; }
.op-feat { margin: 0; border: 1px solid var(--navy); border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; }
.op-feat img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Auto-cycling display (video + photos crossfade) */
.op-show { position: relative; border: 1px solid var(--navy); border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; background: var(--navy); }
.op-show .op-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: opcf 24s infinite; will-change: opacity, transform; }
.op-show .op-slide:first-child { opacity: 1; }
@keyframes opcf { 0% { opacity: 0; transform: scale(1.02); } 4% { opacity: 1; } 22% { opacity: 1; } 27% { opacity: 0; transform: scale(1.09); } 100% { opacity: 0; transform: scale(1.09); } }
@media (prefers-reduced-motion: reduce) { .op-show .op-slide { animation: none; } .op-show .op-slide:first-child { opacity: 1; } }
/* Option B layout: centred intro, contained display band, cards row below */
.op-centered { text-align: center; max-width: 680px; margin: 0 auto; }
.op-centered .op-title { text-align: center; margin: 0 0 16px; }
.op-centered .lead { margin: 0 auto; max-width: 520px; }
.op-show.op-band { max-width: 720px; margin: 40px auto 0; aspect-ratio: 4/3; }
@media (max-width: 760px) { .op-show.op-band { max-width: 100%; } }
/* Cards-left / photos-right layout */
.op-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 40px; }
.op-list { display: flex; flex-direction: column; gap: 14px; }
.op-card { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--navy); border-radius: 12px; background: #fff; padding: 18px 20px; transition: transform .25s ease, box-shadow .25s ease; }
.op-card:hover { transform: translateX(4px); box-shadow: 0 12px 28px rgba(20,33,61,.08); }
.op-card .ic { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.op-card .ic svg { width: 22px; height: 22px; }
.op-card h3 { font-family: "Marcellus", Georgia, serif; font-weight: 400; color: var(--navy); font-size: 17px; margin: 0 0 5px; }
.op-card p { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin: 0; }
.op-show.op-feature { max-width: none; margin: 0; aspect-ratio: 4/3; }
@media (max-width: 860px) { .op-row { grid-template-columns: 1fr; gap: 26px; } .op-show.op-feature { order: -1; } }
.op-section .values-grid { margin-top: 56px; }
@media (max-width: 760px) { .op-intro { grid-template-columns: 1fr; gap: 32px; } .op-feat { aspect-ratio: 16/10; } }
/* Hotels sector: gentle Holiday Inn <-> Comfort Inn cross-fade */
.sector-cycle { position: relative; overflow: hidden; }
.sector-cycle .sc-a, .sector-cycle .sc-b { position: absolute; inset: 0; background-size: cover; background-position: center; }
.sector-cycle .sc-b { opacity: 0; animation: scfade 13s infinite; }
@keyframes scfade { 0%, 36% { opacity: 0; } 44%, 88% { opacity: 1; } 96%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sector-cycle .sc-b { animation: none; } }
/* Apply-via-Indeed band (Careers) — site collects no applicant data */
.apply-band { max-width: 880px; margin: 52px auto 0; text-align: center; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 46px 34px; }
.apply-band .apply-band-lead { color: var(--muted); margin: 0 auto 26px; max-width: 520px; }
.apply-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.apply-actions .btn { margin-top: 0; }
.btn-outline { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
/* Cookie-free map card (replaces the Google Maps iframe) */
.contact-page-map.map-card { min-height: 380px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-alt); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 34px; }
.map-card .map-pin { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 50%; background: var(--navy); color: #fff; }
.map-card .map-pin svg { width: 26px; height: 26px; }
.map-card .map-addr { color: var(--ink); line-height: 1.7; margin: 0; }
.map-card .btn { margin-top: 6px; }

/* Portfolio closing CTA (navy finish) */
.cta-close { background: var(--bg); color: var(--ink); text-align: center; padding: 52px 24px; }
.cta-close .cta-ey { font-family: "Inter", sans-serif; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; font-size: 12px; color: var(--muted); margin: 0 0 16px; }
.cta-close h2 { font-family: "Marcellus", Georgia, serif; font-weight: 400; font-size: clamp(30px, 4vw, 44px); letter-spacing: .5px; margin: 0 0 18px; color: var(--navy); }
.cta-close .cta-lead { color: var(--muted); max-width: 560px; margin: 0 auto 30px; font-weight: 300; }
.cta-close .btn-light { background: var(--navy); color: #fff; }
.cta-close .btn-light:hover { background: #0e1730; }
.cta-close .btn-ol { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.cta-close .btn-ol:hover { background: var(--navy); color: #fff; }
.cta-close .apply-actions .btn { margin-top: 0; }
