/* Focusplan – Healthcare Design & Fitout (replica) */

@font-face { font-family: Metropolis; font-weight: 300; font-display: swap; src: url(../fonts/metropolis-300.woff2) format("woff2"); }
@font-face { font-family: Metropolis; font-weight: 400; font-display: swap; src: url(../fonts/metropolis-400.woff2) format("woff2"); }
@font-face { font-family: Metropolis; font-weight: 500; font-display: swap; src: url(../fonts/metropolis-500.woff2) format("woff2"); }
@font-face { font-family: Metropolis; font-weight: 700; font-display: swap; src: url(../fonts/metropolis-700.woff2) format("woff2"); }

:root {
  --navy: #0d2e3e;
  --orange: #c15030;
  --orange-light: #c15030; /* was a faded tint (#ec8a68); now the true brand orange everywhere */
  --mist: #dbe3e6;
  --slate: #87a3ac;
  --muted: #b0b0b0;
  --text: #404040;
  --font: Metropolis, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; } /* keep the scrollbar space reserved, so the page does not jump in width when the logo intro ends */
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--text); background: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
button { font: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.container { width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 15px; }

/* ---------- Buttons ---------- */
.btn-prim {
  display: inline-block; background: #fff; color: var(--orange);
  font-size: 16px; font-weight: 700; line-height: 27px; padding: 10px 45px;
  border-radius: 50px; transition: background .3s, color .3s;
}
.btn-prim:hover { background: var(--orange); color: #fff; }

.btn-learn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: var(--orange); font-size: 22px; line-height: 27px;
  padding: 10px 40px; border-radius: 50px; transition: transform .3s;
}
.btn-learn img { width: 22px; height: 22px; }
.btn-learn.dark { color: #000; }
.btn-learn:hover { transform: translateY(-2px); }
.btn-learn.sm { font-size: 12px; padding: 5px 20px; gap: 6px; }
.btn-learn.sm img { width: 12px; height: 12px; }

/* ---------- Header ---------- */
/* Navy shading that fades into the photo, so the menu stays readable */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 9; background: linear-gradient(to bottom, rgba(13,46,62,.95) 0%, rgba(13,46,62,.7) 55%, rgba(13,46,62,0) 100%); }
.header-row { display: flex; align-items: center; justify-content: space-between; padding-top: 48px; padding-bottom: 70px; max-width: 1300px; }
.logo img { width: 295px; height: auto; }
.header-right { display: flex; align-items: center; gap: 30px; }
/* Search icon sits at the end of the menu row */
.search-btn { background: none; border: 0; padding: 6px; order: 2; line-height: 0; border-radius: 50%; transition: background .3s; }
.search-btn:hover, .search-btn[aria-expanded="true"] { background: var(--orange); }
.search-btn img { width: 22px; height: 22px; }
.main-nav ul { display: flex; gap: 48px; }
.main-nav a { color: #fff; font-size: 22px; font-weight: 500; position: relative; padding-bottom: 4px; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .3s; }
.main-nav a:hover::after, .main-nav .current a::after { transform: scaleX(1); }
.menu-toggle { display: none; }
/* Search box drops down under the icon, lined up with the right edge of the menu */
.search-bar { display: none; position: absolute; top: 112px; right: max(15px, calc((100% - 1300px) / 2 + 15px)); background: #fff; border-radius: 50px; overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,.3); }
.search-bar.open { display: flex; }
.search-bar input { width: 300px; min-width: 0; padding: 12px 8px 12px 22px; border: 0; font: inherit; outline: 0; }
.search-go { border: 0; background: var(--orange); color: #fff; font-weight: 700; padding: 0 24px; transition: background .3s; }
.search-go:hover { background: #a84325; }

/* ---------- Logo intro (home page, every load) ---------- */
/* The logo sits still at its final size. The ring and blades draw in, "focus" and "plan" fade in, the byline fades in, then the camera flash and shutter click (driven by main.js): they open and close to pull focus, snap shut for the click, then the byline appears and the panel lifts away. */
.no-intro .intro { display: none; }
html.intro-on { overflow: hidden; }
.intro { position: fixed; inset: 0; z-index: 1000; overflow: hidden; background: var(--navy); display: grid; place-items: center; cursor: pointer; animation: intro-fallback .75s cubic-bezier(.7,0,.2,1) 5s forwards; /* fallback if the script does not run */ }
/* Separate keyframe names, so switching class restarts the slide instead of jumping to its end */
.intro.out { animation: intro-out 1.05s cubic-bezier(.76,0,.24,1) forwards; }
.intro.skip { animation: intro-skip .45s ease-in forwards; }
.intro::before { content: ""; position: absolute; inset: -6%; background: url(../img/plan-linework.svg?v=10) center / cover no-repeat; opacity: 0; animation: intro-plan-bg 2.6s cubic-bezier(.2,.7,.2,1) forwards; pointer-events: none; }
@keyframes intro-plan-bg { from { opacity: 0; transform: scale(1.14) rotate(1.5deg); } to { opacity: .17; transform: none; } }
.intro-lockup { position: relative; width: min(460px, 70vw); aspect-ratio: 1600 / 322; }
.intro-icon { position: absolute; left: .25%; top: 4.35%; width: 14.56%; aspect-ratio: 1; }
.intro-svg { display: block; width: 100%; height: 100%; }
/* draw-in, matching the five step dial on What We Do: ring first, then each blade in turn */
.intro-svg circle, .intro-svg line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: intro-draw .45s cubic-bezier(.6,0,.2,1) forwards; }
.intro-svg circle { animation-duration: .6s; animation-delay: .1s; }
.intro-svg line:nth-of-type(1) { animation-delay: .4s; } .intro-svg line:nth-of-type(2) { animation-delay: .55s; } .intro-svg line:nth-of-type(3) { animation-delay: .7s; } .intro-svg line:nth-of-type(4) { animation-delay: .85s; } .intro-svg line:nth-of-type(5) { animation-delay: 1s; }
@keyframes intro-draw { to { stroke-dashoffset: 0; } }
.intro-flash { position: fixed; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.intro.click .intro-flash { animation: intro-flash .3s both; }
.intro-word { position: absolute; left: 17.19%; top: 4.35%; width: 82.81%; height: auto; }
/* The wordmark is split after the "s": "focus" appears when the aperture reaches the dot, "plan" follows at reading pace */
.intro-word.w-focus { clip-path: inset(0 43.1% 0 0); opacity: 0; }
.intro-word.w-plan { clip-path: inset(0 0 0 56.9%); opacity: 0; }
.intro.focus .intro-word.w-focus, .intro.plan .intro-word.w-plan { animation: intro-plan .35s ease-out both; }
@keyframes intro-plan { from { opacity: 0; } to { opacity: 1; } }
.intro-line { position: absolute; left: 18.75%; top: 86.65%; width: 44.13%; height: auto; opacity: 0; }
.intro.line .intro-line { animation: intro-plan .45s ease-out both; }
@keyframes intro-flash { 0% { opacity: 0; } 20% { opacity: .25; } 100% { opacity: 0; } }
@keyframes intro-rise { from { opacity: 0; transform: translateY(60%); } to { opacity: 1; transform: none; } }
@keyframes intro-out { from { transform: translateY(0); } to { transform: translateY(-100%); } }
@keyframes intro-skip { from { transform: translateY(0); } to { transform: translateY(-100%); } }
@keyframes intro-fallback { from { transform: translateY(0); } to { transform: translateY(-100%); visibility: hidden; } }

/* ---------- Hero ---------- */
.slide-banner { position: relative; height: 100vh; min-height: 600px; overflow: hidden; background: #000; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.active { opacity: 1; }
/* Light tint so the headline reads on bright clinic photos */
.slide-banner::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); pointer-events: none; }
.hero-content, .scroll-wrap { z-index: 1; }
.hero-dots { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); z-index: 2; display: flex; align-items: center; gap: 7px; }
.hero-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: var(--slate); box-shadow: 0 0 4px rgba(0,0,0,.35); transition: width .3s, background .3s; }
.hero-dots button:hover { background: #fff; }
.hero-dots button[aria-current="true"] { width: 22px; background: var(--orange); }
.hero-content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 20px; }
.hero-content h2 { color: #fff; font-size: 46px; line-height: 1.15; font-weight: 500; margin-bottom: 12px; }
.hero-content h2 { text-shadow: 0 2px 12px rgba(0,0,0,.45); }
/* "Experience The Difference." is the call to action: it links to Contact Us and lightens on hover */
.hero-cta { display: inline-block; margin-top: 4px; }
.hero-cta-text { color: var(--orange); font-size: 32px; line-height: 1.3; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 2px 16px rgba(0,0,0,.6); transition: color .3s; }
.hero-cta:hover .hero-cta-text, .hero-cta:focus-visible .hero-cta-text { color: #e0643f; }
.scroll-wrap { position: absolute; right: 46px; bottom: 20px; width: 143px; /* 40% larger than the live site's 102px */ animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(8px); } }

/* ---------- Intro ---------- */
.fit-sec { background: var(--navy); padding: 50px 0; }
.fit-wrap { max-width: 866px; margin: 0 auto; text-align: center; }
.fit-wrap p { color: var(--muted); font-size: 16px; line-height: 22px; margin: 0 0 25px; }
.fit-wrap p.lead strong { display: block; color: #fff; font-size: 42px; line-height: 54px; font-weight: 700; margin-bottom: 10px; }
.fit-wrap .btn-learn { margin-top: 10px; }

/* ---------- Our Work ---------- */
.work-sec { background: var(--mist); padding: 30px 0; }
.work-head { color: var(--orange); font-size: 42px; line-height: 42px; font-weight: 700; margin: 30px 0 40px; }
.work-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; padding-bottom: 24px; }
.work-grid li { grid-column: span 2; }
.work-grid li.big { grid-column: span 3; }
.work-wrap { position: relative; height: 295px; background-size: cover; background-position: center; overflow: hidden; }
.work-grid li.big .work-wrap { height: 560px; }
.box-shadow { position: absolute; inset: 0; background: rgba(0,0,0,.2); transition: background .4s; }
.work-cont { position: absolute; left: 0; right: 0; bottom: 60px; text-align: center; color: #fff; font-size: 26px; font-weight: 700; padding: 0 20px; text-shadow: 0 1px 6px rgba(0,0,0,.3); }
.work-grid li:not(.big) .work-cont { font-size: 22px; bottom: 40px; }
.work-grid a:hover .box-shadow { background: rgba(13,46,62,.45); }

/* ---------- Carousel (shared) ---------- */
.carousel { position: relative; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; transition: transform 1.2s ease; will-change: transform; }
.carousel .slide { flex: 0 0 auto; }
.owl-nav { display: flex; gap: 10px; margin-top: 30px; }
.owl-nav.right { justify-content: flex-end; }
.owl-nav button { width: 45px; height: 45px; border-radius: 50%; border: 0; background: var(--slate); display: grid; place-items: center; padding: 0; transition: background .3s; }
.owl-nav button img { width: 18px; }
.owl-nav button:hover { background: var(--orange); }

/* ---------- Testimonials ---------- */
.about-sec { background: var(--navy); padding-bottom: 80px; }
.testi { position: relative; height: 600px; }
.testi .slide-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dark-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.slide-content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 0 10%; text-align: center; }
.slide-content h3 { color: #fff; font-size: 28px; line-height: 33.6px; font-weight: 500; max-width: 820px; }
.slide-content h3.author { color: var(--orange-light); margin-top: 14px; font-size: 20px; line-height: 1.4; }
.about-sec .owl-nav { padding-left: 220px; align-items: center; }
.carousel-dots { display: flex; gap: 8px; margin-left: 14px; }
.carousel-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.35); }
.carousel-dots button[aria-current="true"] { background: var(--orange); width: 26px; border-radius: 5px; }
.owl-nav button.pause { margin-left: 8px; width: 36px; height: 36px; background: transparent; border: 1px solid rgba(255,255,255,.5); }
.pause-icon { display: block; width: 10px; height: 12px; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.pause[aria-pressed="true"] .pause-icon { width: 0; height: 0; border: 7px solid transparent; border-left: 11px solid #fff; border-right: 0; margin-left: 4px; }

/* ---------- Team ---------- */
.team-sec { background: var(--navy); padding: 20px 0 100px; }
.team-cont-main { max-width: 760px; margin-bottom: 70px; }
.team-cont-main h2 { color: #fff; font-size: 30px; line-height: 36px; margin-bottom: 15px; }
.team-cont-main p { color: var(--muted); margin: 0 0 30px; }
.team-wrap { display: flex; align-items: center; gap: 22px; padding-right: 20px; }
.team-wrap > img { width: 357px; height: 238px; object-fit: cover; filter: grayscale(1); flex: 0 0 auto; }
.team-cont h3 { color: #fff; font-size: 20px; font-weight: 500; line-height: 1.2; }
.team-cont h3 span { display: block; font-size: 14px; font-weight: 400; margin-top: 4px; }
.social-list { display: flex; gap: 8px; margin: 16px 0 18px; }
.social-list a { width: 26px; height: 26px; border: 1px solid #fff; border-radius: 50%; display: grid; place-items: center; }
.social-list img { max-width: 12px; max-height: 12px; }

/* ---------- Facebook feed ---------- */
.fb-sec { background: var(--navy); padding: 0 0 80px; }
.fb-head { display: flex; justify-content: center; align-items: center; gap: 12px; color: #fff; font-size: 30px; margin-bottom: 40px; }
.fb-head svg { width: 28px; height: 28px; }
.fb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fb-card { display: flex; flex-direction: column; background: #163b4d; transition: transform .3s; }
.fb-card:hover { transform: translateY(-4px); }
.fb-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #1c3a49; }
.fb-media img { width: 100%; height: 100%; object-fit: cover; }
.fb-media .play { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(0,0,0,.65); }
.fb-media .play::after { content: ""; position: absolute; left: 18px; top: 14px; border: 9px solid transparent; border-left: 13px solid #fff; }
.fb-body { flex: 1; display: flex; flex-direction: column; padding: 20px; color: #fff; font-size: 14px; line-height: 1.6; }
.fb-body small { color: #9fb2ba; font-size: 12px; margin-bottom: 8px; }
.fb-body p { margin: 0 0 14px; flex: 1; }
.see-more { color: var(--orange-light); font-size: 13px; font-weight: 700; }
.fb-follow { text-align: center; margin-top: 40px; }

/* ---------- Clients ---------- */
.client-sec { background: #fff; padding: 70px 0; }
.client-full { padding: 0 30px; } /* edge-to-edge, unlike the 1300px .container */
.client-sec .owl-nav { justify-content: center; }
.client-head { text-align: center; color: var(--orange); font-size: 30px; margin-bottom: 40px; }
.client-wrap { height: 120px; display: grid; place-items: center; overflow: hidden; }
/* Every logo is scaled to fill the same box */
.client-wrap img { width: 140px; max-width: 90%; height: 64px; object-fit: contain; }

/* ---------- Contact band ---------- */
.cta-band { background: var(--orange); padding: 60px 0; color: #fff; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.cta-band h2 { font-size: 36px; line-height: 1.2; }
.cta-band p { margin: 8px 0 0; font-size: 18px; }
.cta-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-link { font-size: 18px; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.5); }
.cta-link:hover { border-color: #fff; }
.cta-band .btn-prim:hover { background: var(--navy); }

/* ---------- Newsletter ---------- */
.news-sec { background: var(--navy); padding: 100px 0 90px; text-align: center; }
.news-inner { max-width: 760px; margin: 0 auto; }
.news-sec h4 { color: #fff; font-size: 47px; line-height: 1.2; margin-bottom: 15px; }
.news-sec p { color: #fff; font-size: 20px; margin: 0 0 40px; }
.news-form { display: flex; justify-content: center; flex-wrap: wrap; }
.news-form input { flex: 1; min-width: 0; height: 65px; border: 0; border-radius: 50px 0 0 50px; padding: 15px 50px; font: inherit; font-size: 20px; }
.news-form input:focus { outline: 2px solid var(--orange); outline-offset: -2px; }
.news-form button { width: 200px; height: 65px; border: 0; border-radius: 0 50px 50px 0; background: var(--orange); color: #fff; font-size: 25px; padding: 0 30px 0 40px; display: flex; align-items: center; justify-content: space-between; }
.news-form button img { width: 24px; }
.news-form .thanks { flex-basis: 100%; margin: 20px 0 0; font-size: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--mist); padding: 30px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-logo { width: 295px; height: auto; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 15px; }
.footer-menu a { color: #000; }
.footer-menu a:hover, .footer-copyright a:hover { color: var(--orange); }
.site-footer hr { border: 0; border-top: 1px solid rgba(0,0,0,.15); margin: 24px 0; }
.footer-copyright { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-copyright p { margin: 0; }
.footer-copyright ul { display: flex; align-items: center; gap: 15px; }
.footer-copyright a { color: #000; }
.footer-copyright img { height: 22px; width: auto; }
.footer-copyright .footer-iso { display: flex; gap: 18px; align-items: center; }
.footer-copyright .footer-iso img { height: 72px; width: auto; }
.footer-copyright ul { flex-wrap: wrap; row-gap: 10px; }
.footer-copyright a { white-space: nowrap; }
.footer-contact { display: flex; justify-content: space-between; gap: 20px; font-size: 15px; }
.footer-contact address { font-style: normal; }
.footer-contact ul { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-contact a { color: #000; font-weight: 500; }
.footer-contact a:hover { color: var(--orange); }
.fb-icon { display: block; color: var(--orange); }
.fb-icon svg { width: 22px; height: 22px; display: block; }

/* ---------- Inner page banner ---------- */
.inner-banner { position: relative; height: 400px; display: flex; align-items: center; justify-content: center; padding-top: 90px; background-size: cover; background-position: center; text-align: center; }
.shadow-inner { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.inner-banner h1 { position: relative; color: #fff; font-size: 42px; line-height: 1.2; padding: 0 20px; max-width: 1000px; }

/* ---------- What we do ---------- */
.services-sec { background: var(--navy); padding: 80px 0 44px; }
.services-inner { text-align: center; }
.services-inner h2 { color: #fff; font-size: 42px; margin-bottom: 14px; }
.services-inner h2::after { content: ""; display: block; width: 70px; height: 4px; background: var(--orange); border-radius: 2px; margin: 16px auto 0; }
.services-lead { color: var(--muted); max-width: 620px; margin: 0 auto 50px; }
/* Services as one row of small icons. Hover, tap or tab to a service: its icon grows and its explainer shows in the panel below the line. */
.services-grid { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); max-width: 1240px; margin: 0 auto; padding-bottom: 138px; }
.services-grid li { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 0 4px; cursor: default; outline: 0; }
.svc-node { position: relative; display: flex; justify-content: center; width: 100%; padding: 12px 0; }
.svc-icon { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; transition: transform .3s, box-shadow .3s; }
.services-grid li:nth-child(even) .svc-icon { background: var(--slate); color: var(--navy); }
.svc-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.services-grid h3 { color: #d0d8db; font-size: 13px; font-weight: 500; line-height: 1.35; transition: color .3s; }
.services-grid li:hover .svc-icon, .services-grid li:focus .svc-icon { transform: scale(1.45); box-shadow: 0 0 0 4px var(--navy), 0 0 0 6px var(--orange); }
.services-grid li:hover h3, .services-grid li:focus h3 { color: #fff; font-weight: 700; }
/* Explainer panel: every service's text sits in the same spot under the line, and only the active one shows */
.svc-more { position: absolute; z-index: 2; left: 50%; bottom: 0; transform: translateX(-50%); width: min(100%, 760px); height: 116px; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 34px; background: #fff; border-radius: 14px; box-shadow: 0 12px 34px rgba(0,0,0,.3); opacity: 0; visibility: hidden; transition: opacity .25s; }
.svc-more h4 { color: var(--orange); font-size: 19px; }
.svc-more p { color: var(--navy); margin: 0; line-height: 1.55; }
.services-grid li:hover .svc-more, .services-grid li:focus .svc-more { opacity: 1; visibility: visible; }
/* 5-Step Focus intro and step links */
.process-head { text-align: center; max-width: 900px; margin: 0 auto 80px; }
.process-head h2 { color: var(--orange); font-size: 42px; margin-bottom: 12px; }
.process-head p { margin: 0 auto 34px; max-width: 640px; }
/* Five step dial: the Focusplan mark in brand orange, one shutter segment per step. It draws in as it scrolls into view;
   hovering a step (or its segment) fills that segment in solid orange. */
.focus-dial { position: relative; width: 720px; max-width: 100%; height: 480px; margin: 0 auto; }
.focus-mark { position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; transform: translate(-50%, -50%); }
.focus-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.focus-svg .fring, .focus-svg .fb { stroke: var(--orange); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .7s cubic-bezier(.6,0,.2,1); }
.focus-dial.in .fring, .focus-dial.in .fb { stroke-dashoffset: 0; }
.focus-dial.in .fb-1 { transition-delay: .5s; } .focus-dial.in .fb-2 { transition-delay: .75s; } .focus-dial.in .fb-3 { transition-delay: 1s; } .focus-dial.in .fb-4 { transition-delay: 1.25s; } .focus-dial.in .fb-5 { transition-delay: 1.5s; }
.fseg { fill: var(--orange); opacity: 0; transition: opacity .3s; cursor: pointer; }
.fseg.on { opacity: 1; }
.focus-centre { position: absolute; inset: 0; display: grid; place-items: center; color: var(--navy); font-size: 40px; font-weight: 700; pointer-events: none; }
.focus-labels { list-style: none; margin: 0; padding: 0; }
.fl { position: absolute; width: 190px; opacity: 0; transition: opacity .5s; }
.focus-dial.in .fl { opacity: 1; }
.focus-dial.in .fl-1 { transition-delay: .7s; } .focus-dial.in .fl-2 { transition-delay: .95s; } .focus-dial.in .fl-3 { transition-delay: 1.2s; } .focus-dial.in .fl-4 { transition-delay: 1.45s; } .focus-dial.in .fl-5 { transition-delay: 1.7s; }
/* each label sits beside its segment (step 1 top left, then clockwise) */
.fl-1 { left: 50%; top: 22px; width: 260px; margin-left: -130px; text-align: center; }
.fl-2 { right: 0; top: 140px; }
.fl-3 { left: 480px; top: 380px; }
.fl-4 { right: 480px; top: 380px; }
.fl-5 { left: 0; top: 140px; }
.fl a { display: flex; align-items: center; gap: 12px; color: var(--navy); font-weight: 700; font-size: 17px; line-height: 1.3; text-align: left; }
.fl em { font-style: normal; }
.fl-1 a { justify-content: center; }
.fl-5 a, .fl-4 a { flex-direction: row-reverse; text-align: right; }
.fl span { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 15px; transition: background .25s, transform .25s; }
.fl a:hover span, .fl a.on span { transform: scale(1.1); }
.fl a:hover, .fl a.on { color: var(--orange); }
.step-mark { display: block; width: 58px; height: 58px; margin-bottom: 12px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.step-mark .fring, .step-mark .fb { stroke: var(--orange); }
.step-mark .fseg { cursor: default; }
.step { scroll-margin-top: 40px; }
.process-sec { background: var(--mist); padding: 90px 0 60px; }
.step { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; align-items: center; max-width: 1100px; margin: 0 auto 90px; }
.step:nth-child(even) { grid-template-columns: 7fr 5fr; }
.step:nth-child(even) .step-img { order: 2; }
.step-img { position: relative; }
.step-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.step-num { position: absolute; left: 24px; bottom: 10px; color: #fff; line-height: 1; }
.step-num span { display: block; font-size: 90px; font-weight: 700; }
.step-num strong { font-size: 54px; color: rgba(255,255,255,.35); }
.step-text h2 { color: var(--navy); font-size: 42px; line-height: 1.15; margin-bottom: 14px; }
.step-text .kicker { color: var(--orange); font-size: 20px; font-weight: 700; line-height: 1.5; }
.step-text p { line-height: 1.7; }
.process-cta { text-align: center; }

/* ---------- Our work (all projects) ---------- */
.work-all { padding: 50px 0 40px; }
/* Same rhythm as the live site, repeating every 9: 2 big, 3 medium, 4 small */
.work-grid.all { grid-template-columns: repeat(12, 1fr); gap: 24px; }
.work-grid.all li { grid-column: span 3; padding: 0; }
.work-grid.all li:nth-child(9n+1), .work-grid.all li:nth-child(9n+2) { grid-column: span 6; }
.work-grid.all li:nth-child(9n+3), .work-grid.all li:nth-child(9n+4), .work-grid.all li:nth-child(9n+5) { grid-column: span 4; }
.work-grid.all li:nth-child(9n+1) .work-wrap, .work-grid.all li:nth-child(9n+2) .work-wrap { height: 560px; }
.work-grid.all .work-cont { font-size: 22px; bottom: 40px; }
.work-grid.all li:nth-child(9n+1) .work-cont, .work-grid.all li:nth-child(9n+2) .work-cont { font-size: 26px; bottom: 60px; }

/* ---------- About ---------- */
.about-intro { padding: 80px 0; }
.about-intro .fit-wrap p { font-size: 18px; line-height: 1.7; color: #d0d8db; }
/* About intro: lead statement, team photo with an orange offset frame, then three short columns */
.about-lead { max-width: 920px; margin: 0 auto 56px; text-align: center; }
.about-lead p { color: #fff; font-size: 24px; line-height: 1.55; font-weight: 500; margin: 0; }
.team-photo { position: relative; max-width: 1180px; margin: 0 auto 96px; }
.team-photo::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; background: var(--orange); border-radius: 18px; }
.team-photo img { position: relative; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 18px 50px rgba(0,0,0,.35); filter: grayscale(1); transition: filter .6s; }
.team-photo:hover img { filter: none; }
.team-badge { position: absolute; left: -22px; bottom: -34px; display: flex; align-items: center; gap: 16px; max-width: 360px; background: #fff; border-radius: 14px; padding: 18px 26px; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.team-badge strong { color: var(--orange); font-size: 50px; line-height: 1; }
.team-badge span { color: var(--navy); font-weight: 500; line-height: 1.35; }
.about-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; max-width: 1180px; margin: 0 auto; }
.about-cols h3 { color: #fff; font-size: 22px; padding-top: 18px; margin-bottom: 12px; border-top: 3px solid var(--orange); }
.about-cols p { color: #d0d8db; line-height: 1.7; margin: 0; }
.team-all { padding: 40px 0 100px; }
.people-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
.person { display: flex; align-items: center; gap: 22px; }
.person > img { width: 300px; aspect-ratio: 3 / 2; object-fit: cover; filter: grayscale(1); flex: 0 0 auto; transition: filter .5s; }
/* Photos are colour files shown in black and white; they turn to colour on hover, tap or keyboard focus */
.person:hover > img, .person:focus-within > img { filter: none; }
.person .social-list { margin-bottom: 0; }

/* ---------- Project / article detail ---------- */
.det-sec { background: var(--navy); padding: 80px 0; color: #d0d8db; }
.det-row { max-width: 900px; margin: 0 auto; }
.det-row.has-facts { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 60px; align-items: start; }
.det-body { font-size: 17px; line-height: 1.75; }
.det-body p { margin: 0 0 18px; }
.det-body h2, .det-body h3, .det-body h4 { color: #fff; margin: 34px 0 14px; line-height: 1.3; }
.det-body .accent, .det-body .accent strong { color: var(--orange-light); }
.det-body strong { color: #fff; }
.det-body .indent { padding-left: 30px; }
.det-body a { color: var(--orange-light); text-decoration: underline; }
.det-body ul, .det-body ol { padding-left: 24px; margin: 0 0 18px; }
.det-body ul { list-style: disc; }
.det-body img { width: 100%; height: auto; margin: 10px 0 24px; }
.det-facts { background: #163b4d; padding: 30px; position: sticky; top: 30px; }
.det-facts h3 { color: var(--orange-light); font-size: 20px; margin-bottom: 16px; }
.det-facts table { width: 100%; border-collapse: collapse; }
.det-facts th, .det-facts td { text-align: left; vertical-align: top; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 15px; }
.det-facts th { color: var(--slate); font-weight: 500; padding-right: 14px; white-space: nowrap; }
.det-facts td { color: #fff; }
.det-quote { max-width: 900px; margin: 70px auto 0; text-align: center; }
.det-quote p { color: #fff; font-size: 26px; line-height: 1.4; font-weight: 500; margin: 0; }
.det-quote cite { display: block; color: var(--orange-light); font-style: normal; margin-top: 16px; }
.det-gallery { background: var(--navy); padding: 0 0 80px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.det-photo { display: block; overflow: hidden; aspect-ratio: 4 / 3; }
.det-photo:first-child { grid-column: span 2; grid-row: span 2; }
.det-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.det-photo:hover img { transform: scale(1.05); }
.det-foot { background: var(--mist); padding: 50px 0; text-align: center; }
.det-pn { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 40px; text-align: left; }
.det-pn a { max-width: 45%; color: var(--navy); font-weight: 700; font-size: 18px; }
.det-pn a:hover { color: var(--orange); }
.det-pn small { display: block; color: var(--orange); font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.det-pn .pn-next { margin-left: auto; text-align: right; }
.det-foot .btn-learn { color: var(--orange); }

/* ---------- Blog articles: light page, larger text, images set into the text ---------- */
.det-sec.article { background: #fff; color: #33434c; padding: 70px 0 80px; }
.article .det-row { max-width: 1000px; }
.article .det-body { font-size: 19px; line-height: 1.8; }
.article .det-body::after { content: ""; display: block; clear: both; }
.article .det-body p { margin: 0 0 22px; }
.article .det-body .art-lead { font-size: 23px; line-height: 1.6; color: var(--navy); font-weight: 500; }
.article .det-body strong { color: var(--navy); }
.article .det-body .accent, .article .det-body .accent strong, .article .det-body a { color: var(--orange); }
.article .det-body h2, .article .det-body h3, .article .det-body h4, .article .det-body .art-h { color: var(--orange); font-size: 27px; line-height: 1.3; font-weight: 700; margin: 46px 0 14px; }
.article .det-body .art-h strong, .article .det-body .art-h .accent, .article .det-body h3 strong { color: inherit; }
.article .det-body h3 { color: var(--navy); font-size: 21px; margin: 30px 0 10px; }
.article .det-body ul, .article .det-body ol { margin: 0 0 22px; padding-left: 26px; }
.article .det-body li::marker { color: var(--orange); }
.article .det-body .art-refs { clear: both; color: var(--navy); font-size: 17px; text-transform: uppercase; letter-spacing: .06em; margin: 50px 0 12px; padding-top: 26px; border-top: 1px solid var(--mist); }
.article .det-body .art-ref { font-size: 14px; line-height: 1.55; color: #62727b; margin-bottom: 10px; overflow-wrap: anywhere; }
.article .det-body .art-ref a { color: #62727b; }
.art-cta { clear: both; display: flex; align-items: center; justify-content: space-between; gap: 30px; max-width: 1000px; margin: 56px auto 0; padding: 34px 40px; background: var(--navy); color: #fff; border-radius: 14px; border-left: 8px solid var(--orange); }
.art-cta p { margin: 0; font-size: 17px; line-height: 1.6; color: #dbe3e6; }
.art-cta .art-cta-title { color: #fff; font-size: 25px; font-weight: 700; margin-bottom: 6px; }
.art-cta-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; flex-shrink: 0; }
.art-cta-tel { color: #fff; font-weight: 600; font-size: 15px; }
.art-cta-tel:hover { color: var(--slate); }
.article .det-body h5 { color: var(--navy); font-size: 21px; margin: 30px 0 10px; }
.article .det-body .art-tip { background: var(--mist); border-left: 5px solid var(--orange); border-radius: 0 10px 10px 0; padding: 16px 22px; font-size: 18px; color: var(--navy); }
.article .det-body .art-tip .accent, .article .det-body .art-tip strong { color: var(--navy); }
.article .det-body li { margin-bottom: 8px; }
.article .det-body hr { clear: both; border: 0; border-top: 1px solid var(--mist); margin: 36px 0; }
/* Images sit beside the text, alternating right and left, instead of filling the full width */
.art-img { width: 46%; margin: 8px 0 24px; clear: both; }
.art-img.art-right { float: right; margin-left: 36px; }
.art-img.art-left { float: left; margin-right: 36px; }
.article .det-body .art-img img { display: block; width: 100%; height: auto; margin: 0; border-radius: 12px; box-shadow: 0 10px 28px rgba(13,46,62,.18); }
.art-img figcaption { margin-top: 10px; font-size: 14px; line-height: 1.4; color: #62727b; }
.article .det-quote { clear: both; max-width: 1000px; margin: 50px auto 0; padding: 6px 0 6px 30px; border-left: 6px solid var(--orange); text-align: left; }
.article .det-quote p { color: var(--navy); font-size: 25px; }

/* Photo viewer */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.92); display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 50px; height: 50px; border-radius: 50%; font-size: 26px; line-height: 1; }
.lightbox button:hover { background: var(--orange); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; margin-top: -25px; }
.lb-next { right: 20px; top: 50%; margin-top: -25px; }

/* ---------- Blog ---------- */
.blog-sec { background: var(--mist); padding: 50px 0 90px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card { display: flex; flex-direction: column; background: #fff; transition: transform .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(13,46,62,.15); }
.post-img { aspect-ratio: 3 / 2; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-body { flex: 1; display: flex; flex-direction: column; padding: 24px; }
.post-body time { color: var(--slate); font-size: 13px; }
.post-body h3 { color: var(--navy); font-size: 21px; line-height: 1.3; margin: 8px 0 12px; }
.post-body p { margin: 0 0 18px; flex: 1; font-size: 15px; line-height: 1.6; }
.read-more { color: var(--orange); font-weight: 700; font-size: 14px; }

/* ---------- Contact ---------- */
.contact-sec { background: var(--navy); padding: 80px 0; }
.contact-det { text-align: center; margin-bottom: 60px; }
.contact-det h2 { color: #fff; font-size: 36px; line-height: 1.3; margin-bottom: 30px; }
.contact-det ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px; color: var(--muted); }
.contact-det li { display: flex; align-items: center; gap: 8px; }
.contact-det svg { width: 18px; height: 18px; color: var(--orange-light); }
.contact-det a { color: #fff; font-weight: 500; }
.contact-det a:hover { color: var(--orange-light); }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input[type=text], .contact-form input[type=tel], .contact-form input[type=email], .contact-form textarea {
  width: 100%; border: 0; border-radius: 6px; padding: 16px 20px; font: inherit; font-size: 16px;
}
.contact-form textarea { resize: vertical; }
.contact-form :focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.contact-form [aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--orange-light); }
.contact-form fieldset { border: 0; padding: 0; margin: 0; color: #fff; }
.contact-form legend { margin-bottom: 10px; font-weight: 500; }
.contact-form .radio { display: inline-flex; align-items: center; gap: 8px; margin: 0 22px 8px 0; color: var(--muted); }
.contact-form .radio input { accent-color: var(--orange); width: 18px; height: 18px; }
.btn-submit { align-self: flex-start; border: 0; background: var(--orange); color: #fff; font-weight: 700; padding: 14px 60px; border-radius: 50px; transition: background .3s, color .3s; }
.btn-submit:hover { background: #fff; color: var(--orange); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn-submit:disabled { opacity: .7; cursor: wait; }
.form-msg { color: #fff; background: #163b4d; border-left: 4px solid var(--orange); padding: 14px 18px; line-height: 1.6; }
.form-msg p { margin: 0 0 6px; }
.form-msg p:last-child { margin: 0; }
.msg-reason { color: var(--muted); font-size: 14px; }
.form-msg a, .msg-copy { color: var(--orange-light); text-decoration: underline; }
.msg-copy { background: none; border: 0; padding: 0; font: inherit; }
.map-wrap { display: flex; flex-direction: column; }
.map-wrap iframe { flex: 1; }
.map-link { align-self: flex-start; margin-top: 12px; color: var(--orange-light); font-weight: 500; text-decoration: underline; }

/* ---------- Search ---------- */
.search-sec { background: var(--mist); padding: 60px 0 90px; min-height: 40vh; }
.search-page-form { display: flex; max-width: 700px; margin: 0 auto 30px; }
.search-page-form input { flex: 1; min-width: 0; border: 0; border-radius: 50px 0 0 50px; padding: 16px 26px; font: inherit; }
.search-page-form button { border: 0; border-radius: 0 50px 50px 0; background: var(--orange); color: #fff; font-weight: 700; padding: 0 34px; }
.search-count { text-align: center; color: var(--navy); }
.search-results { max-width: 900px; margin: 0 auto; }
.search-results li { background: #fff; margin-bottom: 14px; }
.search-results a { display: block; padding: 22px 26px; }
.search-results small { color: var(--orange); font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: .08em; }
.search-results h3 { color: var(--navy); font-size: 20px; margin: 4px 0 6px; }
.search-results p { margin: 0; font-size: 15px; }
.search-results a:hover h3 { color: var(--orange); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .main-nav ul { gap: 28px; }
  .main-nav a { font-size: 18px; }
}
@media (max-width: 991px) {
  /* Mobile header: logo left, search and a three-line menu button right, all on one row.
     The menu opens as a full-screen navy panel. */
  .header-row { padding-top: 18px; padding-bottom: 40px; }
  .logo { position: relative; z-index: 12; }
  .logo img { width: 170px; }
  .header-right { display: flex; align-items: center; gap: 6px; }
  .search-btn { order: 1; position: relative; z-index: 12; }
  .menu-toggle { order: 2; display: block; position: relative; z-index: 12; width: 44px; height: 44px; padding: 0; background: none; border: 0; font-size: 0; color: transparent; cursor: pointer; }
  .menu-toggle img { display: none; }
  .menu-toggle::before, .menu-toggle::after { content: ""; position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, box-shadow .3s, top .3s; }
  .menu-toggle::before { top: 15px; box-shadow: 0 7px 0 #fff; }
  .menu-toggle::after { top: 29px; }
  .menu-toggle[aria-expanded="true"]::before { top: 21px; transform: rotate(45deg); box-shadow: none; }
  .menu-toggle[aria-expanded="true"]::after { top: 21px; transform: rotate(-45deg); }
  .main-nav { position: fixed; inset: 0; z-index: 11; display: flex; align-items: center; padding: 110px 30px 40px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
    background: linear-gradient(rgba(13,46,62,.93), rgba(13,46,62,.93)), url(../img/plan-linework.svg?v=10) center / cover no-repeat, var(--navy); }
  .main-nav.open { opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 6px; width: 100%; }
  .main-nav a { display: inline-block; color: #fff; font-size: 30px; font-weight: 700; padding: 8px 0; }
  .main-nav .current a { color: var(--orange); }
  html.nav-open { overflow: hidden; }
  .search-bar { top: 80px; left: 15px; right: 15px; }
  .search-bar input { flex: 1; width: auto; }
  .hero-content h2 { font-size: 32px; line-height: 1.2; }
  .hero-cta-text { font-size: 22px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-grid li, .work-grid li.big { grid-column: auto; }
  .work-grid li .work-wrap, .work-grid li.big .work-wrap { height: 300px; }
  .work-grid .work-cont, .work-grid li:not(.big) .work-cont { font-size: 22px; bottom: 50%; transform: translateY(50%); }
  .about-sec .owl-nav { padding-left: 15px; justify-content: center; }
  .fit-wrap p.lead strong { font-size: 30px; line-height: 38px; }
  .fb-grid { grid-template-columns: 1fr 1fr; }
  .fb-card:last-child { display: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .inner-banner { height: auto; min-height: 340px; padding: 240px 0 60px; }
  .inner-banner h1 { font-size: 32px; }
  .step, .step:nth-child(even) { grid-template-columns: 1fr; gap: 24px; margin-bottom: 60px; }
  .step:nth-child(even) .step-img { order: 0; }
  .step-text h2 { font-size: 32px; }
  /* Tablet: two rows of six */
  .services-grid { grid-template-columns: repeat(6, 1fr); row-gap: 26px; }
  .work-grid.all { grid-template-columns: 1fr 1fr; }
  .work-grid.all li:nth-child(n) { grid-column: auto; }
  .work-grid.all li:nth-child(n) .work-wrap { height: 260px; }
  .work-grid.all li:nth-child(n) .work-cont { font-size: 22px; bottom: 50%; transform: translateY(50%); }
  .people-grid { grid-template-columns: 1fr; }
  .about-cols { grid-template-columns: 1fr; gap: 30px; }
  .about-lead p { font-size: 20px; }
  .team-photo { margin-bottom: 104px; }
  .team-photo::before { inset: 12px -8px -12px 12px; }
  .team-badge { left: 12px; right: 12px; bottom: -66px; max-width: none; padding: 14px 18px; }
  .team-badge strong { font-size: 38px; }
  .det-row.has-facts { grid-template-columns: 1fr; gap: 40px; }
  .det-facts { position: static; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .contact-row { grid-template-columns: 1fr; }
  .map-wrap iframe { min-height: 340px; }
}
@media (max-width: 767px) {
  .team-wrap { flex-direction: column; align-items: flex-start; }
  .team-wrap > img { width: 100%; height: auto; aspect-ratio: 3 / 2; }
  .testi { height: 480px; }
  .slide-content h3 { font-size: 20px; line-height: 1.3; }
  .fb-grid { grid-template-columns: 1fr; }
  .fb-card:last-child { display: flex; }
  .cta-band h2 { font-size: 28px; }
  .cta-actions { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-contact { flex-direction: column; }
  .footer-contact ul { flex-direction: column; gap: 4px; }
  .carousel-dots { display: none; }
  .news-sec h4 { font-size: 30px; }
  .news-form { gap: 20px; }
  .news-form input { flex-basis: 100%; border-radius: 50px; padding: 15px 25px; font-size: 16px; }
  .news-form button { width: 100%; border-radius: 50px; }
  .footer-top, .footer-copyright { flex-direction: column; align-items: flex-start; }
  .footer-menu { flex-direction: column; gap: 6px; }
  .scroll-wrap { right: 15px; width: 84px; }
  .hero-dots { left: 15px; transform: none; }
  .inner-banner { padding-top: 200px; min-height: 300px; }
  .inner-banner h1 { font-size: 28px; }
  .services-inner h2, .process-head h2 { font-size: 32px; }
  /* Phone: a vertical list with every explainer shown, since there is no hover */
  .services-grid { display: block; padding-bottom: 0; text-align: left; }
  .services-grid li { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; row-gap: 4px; align-items: start; padding: 0 0 26px; position: relative; }
  .svc-node { grid-row: span 2; padding: 0; }
  .services-grid li:hover .svc-icon, .services-grid li:focus .svc-icon { transform: none; box-shadow: none; }
  .services-grid h3 { color: #fff; font-size: 17px; font-weight: 700; padding-top: 4px; }
  .svc-more { position: static; transform: none; width: auto; height: auto; padding: 0; background: none; box-shadow: none; opacity: 1; visibility: visible; display: block; }
  .svc-more h4 { display: none; } .svc-more p { color: #d0d8db; font-size: 15px; }
  .focus-dial { height: auto; width: 100%; }
  .focus-mark { position: relative; left: auto; top: auto; transform: none; width: 210px; height: 210px; margin: 0 auto 26px; }
  .focus-centre { font-size: 30px; }
  .focus-labels { display: grid; gap: 10px; max-width: 320px; margin: 0 auto; }
  .fl { position: static; width: auto; margin: 0 !important; }
  .fl a, .fl-4 a, .fl-5 a { flex-direction: row; justify-content: flex-start; text-align: left; font-size: 16px; }
  .fl span { width: 38px; height: 38px; font-size: 13px; }
  .step-mark { width: 40px; height: 40px; margin-bottom: 8px; }
  .process-head { margin-bottom: 50px; }
  .step-num span { font-size: 64px; }
  .step-num strong { font-size: 38px; }
  .work-grid.all { grid-template-columns: 1fr; }
  .person { flex-direction: column; align-items: flex-start; }
  .person > img { width: 100%; }
  .det-sec { padding: 50px 0; }
  .det-sec.article { padding: 44px 0 56px; }
  .article .det-body { font-size: 18px; line-height: 1.75; }
  .article .det-body .art-lead { font-size: 20px; }
  .article .det-body h2, .article .det-body h3, .article .det-body h4, .article .det-body .art-h { font-size: 23px; margin-top: 36px; }
  .art-img, .art-img.art-right, .art-img.art-left { float: none; width: 100%; margin: 6px 0 22px; }
  .article .det-quote p { font-size: 20px; }
  .art-cta { flex-direction: column; align-items: flex-start; padding: 26px 22px; margin-top: 40px; }
  .art-cta .art-cta-title { font-size: 21px; }
  .art-cta-actions { align-items: flex-start; }
  .det-quote p { font-size: 20px; }
  .det-photo:first-child { grid-column: span 2; grid-row: auto; }
  .det-pn { flex-direction: column; }
  .det-pn a { max-width: none; }
  .det-pn .pn-next { margin-left: 0; text-align: left; }
  .post-grid { grid-template-columns: 1fr; }
  .contact-det h2 { font-size: 26px; }
  .contact-det ul { flex-direction: column; align-items: center; }
  .field-row { grid-template-columns: 1fr; }
  .btn-submit { align-self: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Floor plan linework (from the Focusplan business card) on selected navy sections ---------- */
/* An original healthcare floor plan drawn as thin lines, rotated like the card. The navy wash over it keeps the lines faint. */
/* For smooth scrolling the plan is a pre-rendered image (navy wash baked in) on one fixed layer that the browser never repaints.
   clip-path makes each navy section a window onto that layer, so the plan still runs on from one section into the next. */
.fit-sec, .about-sec, .team-sec, .fb-sec, .services-sec, .news-sec, .contact-sec { position: relative; isolation: isolate; clip-path: inset(0); background: var(--navy); }
.fit-sec::before, .about-sec::before, .team-sec::before, .fb-sec::before, .services-sec::before, .news-sec::before, .contact-sec::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; transform: translateZ(0);
  background: url(../img/plan-bg.webp) center / cover no-repeat, var(--navy);
}
.art-cta { background: url(../img/plan-bg.webp) center / cover no-repeat, var(--navy); }
