/* Work Dynamics — shared stylesheet | release 2026-07-14 */

/* ===== BASE ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
html,body{max-width:100%;overflow-x:hidden}
img,svg,video{max-width:100%}
body{font-family:'Open Sans',sans-serif;color:#222;background:#fff;font-size:15px;line-height:1.65}
/* Content protection: disable text selection site-wide, but keep form fields usable */
body{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
input,textarea{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}
img{-webkit-user-drag:none;user-drag:none}

/* NAV */
nav{position:sticky;top:0;z-index:200;background:rgba(255,255,255,0.97);border-bottom:1px solid #e0e0e0;display:flex;align-items:center;justify-content:flex-end;padding:0 3rem;height:60px;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.nav-links{display:flex;gap:0;list-style:none}
.nav-links a{display:block;padding:0 1.1rem;height:60px;line-height:60px;text-decoration:none;color:#555;font-size:0.85rem;font-weight:400;white-space:nowrap;border-bottom:2px solid transparent;transition:color .2s,border-color .2s}
.nav-links a:hover,.nav-links a.active{color:#1a1a1a;border-bottom-color:#4ca3bc}

/* PAGES */
.page{display:none}.page.active{display:block}

/* HOME - full-screen hero */
.hero{position:relative;min-height:100vh;min-height:100svh;display:flex;align-items:center;justify-content:center;background:#0a0a1a}
.hero-content{position:relative;z-index:2;text-align:center;padding:2rem}
.hero-logo{width:340px;max-width:80vw;margin:0 auto}

/* PAGES INNER */
.page-inner{max-width:960px;margin:0 auto;padding:3rem 2rem}
.page-title{font-size:2rem;font-weight:700;margin-bottom:2rem}

/* ABOUT */
.about-body{display:grid;grid-template-columns:200px 1fr;gap:3rem;align-items:start}
.about-logo img{width:100%;max-width:180px}
.about-text p{margin-bottom:1rem;color:#333;line-height:1.8}
.about-text h2{font-size:1.3rem;font-weight:700;color:#1a1a1a;margin:1.9rem 0 0.6rem}
.about-text h2:first-child{margin-top:0}
.milestones{margin-top:3.25rem}
.milestones-title{font-size:1.6rem;font-weight:700;color:#1a1a1a;margin-bottom:1.75rem}
.timeline{position:relative;padding-left:1.9rem;max-width:820px}
.timeline::before{content:'';position:absolute;left:6px;top:6px;bottom:6px;width:2px;background:#d9e9ee}
.milestone{position:relative;padding-bottom:1.75rem}
.milestone:last-child{padding-bottom:0}
.milestone::before{content:'';position:absolute;left:-1.9rem;top:3px;width:14px;height:14px;border-radius:50%;background:#fff;border:3px solid #4ca3bc}
.milestone .phase{font-size:0.75rem;font-weight:700;letter-spacing:0.05em;text-transform:uppercase;color:#4ca3bc;margin-bottom:0.15rem}
.milestone h3{font-size:1rem;font-weight:700;color:#1a1a1a;margin-bottom:0.3rem}
.milestone p{font-size:0.88rem;color:#555;line-height:1.7}

/* SERVICES */
.services-subtitle{color:#4ca3bc;font-weight:600;font-size:1rem;margin-bottom:2.5rem}
.services-grid-top{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;margin-bottom:3rem}
.services-grid-bot{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem;margin-bottom:3.5rem}
.service-card img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:4px;display:block;margin-bottom:0.75rem}
.service-card h3{font-size:0.95rem;font-weight:700;margin-bottom:0.5rem}
.service-card p{font-size:0.85rem;color:#444;margin-bottom:0.5rem}
.service-card ul{font-size:0.82rem;color:#444;padding-left:1.2rem}
.service-card ul li{margin-bottom:0.2rem}
.service-card .what{font-size:0.8rem;font-weight:600;margin:0.5rem 0 0.25rem;color:#333}
.service-card .what-receive{color:#4ca3bc;margin-top:0.75rem}
.services-list{margin-bottom:3.5rem}
.svc-row{border-top:1px solid #e0e0e0;padding:2.25rem 0}
.svc-row:first-child{border-top:none;padding-top:0.5rem}
.svc-row > h3{font-size:1.4rem;font-weight:700;color:#1a1a1a;margin-bottom:0.6rem}
.svc-row > p{font-size:0.95rem;color:#444;line-height:1.85;margin-bottom:1.25rem;max-width:72ch}
.svc-cols{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem 2.5rem;max-width:820px}
.svc-cols .what{font-size:0.82rem;font-weight:700;letter-spacing:0.02em;margin-bottom:0.4rem;color:#333}
.svc-cols .what-receive{color:#4ca3bc}
.svc-cols ul{list-style:none;padding:0;margin:0}
.svc-cols ul li{font-size:0.85rem;color:#444;line-height:1.6;padding-left:1.1rem;position:relative;margin-bottom:0.3rem}
.svc-cols ul li::before{content:'';position:absolute;left:0;top:0.6em;width:5px;height:5px;border-radius:50%;background:#4ca3bc}

/* WHO USES OUR REPORTS */
.who-uses-title{font-size:2rem;font-weight:700;margin-bottom:1.5rem}
.who-uses-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;margin-bottom:3.5rem}
.who-uses-card{border-top:3px solid #4ca3bc;background:#f7fbfc;border-radius:4px;padding:1.25rem 1.4rem}
.who-uses-card h3{font-size:0.95rem;font-weight:700;margin-bottom:0.4rem;color:#222}
.who-uses-card p{font-size:0.85rem;color:#555;line-height:1.7}

/* FAQS */
.faqs-title{font-size:2rem;font-weight:700;margin-bottom:1.5rem}
.faq-item{border-top:1px solid #e0e0e0;padding:1rem 0}
.faq-item:last-child{border-bottom:1px solid #e0e0e0}
.faq-q{font-size:0.88rem;font-weight:600;color:#222;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:1rem}
.faq-q::after{content:'';flex-shrink:0;width:8px;height:8px;border-right:2px solid #4ca3bc;border-bottom:2px solid #4ca3bc;transform:rotate(45deg);transition:transform .25s ease}
.faq-item.open .faq-q::after{transform:rotate(-135deg)}
.faq-a{font-size:0.85rem;color:#555;line-height:1.7;max-height:0;overflow:hidden;opacity:0;transition:max-height .3s ease,opacity .3s ease,margin-top .3s ease}
.faq-item.open .faq-a{max-height:500px;opacity:1;margin-top:0.5rem}

/* OUR TEAM */
/* Leadership row: Francois & Dedre side by side */
.team-leaders{display:grid;grid-template-columns:repeat(2,minmax(0,220px));justify-content:center;gap:2.5rem;margin:0 auto 3rem;padding-bottom:2.5rem;border-bottom:1px solid #e0e0e0}
.leader-card{text-align:center}
.leader-card img{width:150px;height:150px;object-fit:cover;border-radius:50%;display:block;margin:0 auto 0.9rem;border:3px solid #4ca3bc}
.leader-card h3{color:#1a1a1a;font-size:1.05rem;font-weight:700;margin-bottom:0.2rem;line-height:1.3}
.leader-card p{color:#4ca3bc;font-size:0.85rem;font-weight:600}
/* Staff grid: everyone else, flowing horizontally */
.team-staff{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:2.25rem 1.25rem}
.staff-card{text-align:center}
.staff-card img{width:104px;height:104px;object-fit:cover;border-radius:50%;display:block;margin:0 auto 0.65rem}
.staff-card h4{color:#1a1a1a;font-size:0.9rem;font-weight:700;margin-bottom:0.15rem;line-height:1.3}
.staff-card p{color:#4ca3bc;font-size:0.78rem;font-weight:500;line-height:1.35}
.li-link{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;margin-top:0.55rem;border-radius:4px;color:#fff;background:#0a66c2;transition:opacity .2s,transform .2s}
.li-link:hover{opacity:0.88;transform:translateY(-1px)}

/* TESTIMONIALS */
.test-grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem 4rem}
.test-block{display:grid;grid-template-columns:120px 1fr;gap:1.5rem;align-items:start}
.test-block img.client-logo{width:120px;object-fit:contain;max-height:80px}
.test-person{font-weight:600;font-size:0.88rem;margin-bottom:0.15rem}
.test-org{font-size:0.82rem;color:#555;margin-bottom:0.6rem}
.test-quote{font-size:0.85rem;color:#333;line-height:1.75;font-style:italic}
.test-tagline{text-align:center;font-style:italic;font-size:1.15rem;font-weight:400;color:#333;margin-top:3.5rem;padding-top:2rem;border-top:1px solid #e0e0e0}

/* CONTACT */
.contact-layout{display:grid;grid-template-columns:1fr 2fr;gap:4rem;align-items:start}
.contact-left h2{font-size:1.6rem;font-weight:700;margin-bottom:0.75rem}
.contact-tagline{color:#4ca3bc;font-weight:600;font-size:0.9rem;margin-bottom:1rem}
.contact-desc{font-size:0.87rem;color:#444;line-height:1.7;margin-bottom:2rem}
.contact-info{font-size:0.87rem;color:#333;margin-bottom:0.4rem}
.contact-social{display:flex;gap:0.75rem;margin-top:1.5rem}
.contact-social img{width:32px;height:32px}
.contact-forms h2{font-size:1.2rem;font-weight:700;margin-bottom:1.5rem;color:#222}
.form-section{margin-bottom:2.5rem}
.form-section h2{font-size:1.1rem;font-weight:700;margin-bottom:1.25rem}

/* FOOTER */
footer{background:#fff;border-top:1px solid #e0e0e0;padding:1rem 3rem;display:flex;align-items:center;gap:2rem;font-size:0.82rem}
footer a{color:#555;text-decoration:none}
footer a:hover{color:#4ca3bc;text-decoration:underline}
footer .footer-copy{margin-left:auto;color:#888}

/* SUCCESS */
.success{display:none;background:#e8f5e9;border:1px solid #a5d6a7;border-radius:4px;padding:0.75rem 1rem;color:#2e7d32;font-size:0.87rem;margin-bottom:1rem}

/* HERO VIDEO */
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}
.hero-scrim{position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(to bottom,rgba(0,0,0,0.55),rgba(0,0,0,0.15) 40%,rgba(0,0,0,0.15) 60%,rgba(0,0,0,0.5))}
.hero-content{position:relative;z-index:3;text-align:center;padding:2rem;max-width:780px}
.hero-headline{color:#fff;font-size:clamp(1.9rem,5vw,3.1rem);font-weight:700;line-height:1.15;margin:0 0 1.1rem;text-shadow:0 2px 20px rgba(0,0,0,0.6)}
.hero-sub{color:#eef3f5;font-size:clamp(1rem,2.2vw,1.2rem);font-weight:400;line-height:1.6;margin:0 auto 2.1rem;max-width:600px;text-shadow:0 1px 12px rgba(0,0,0,0.55)}
.hero-cta{display:inline-block;background:#4ca3bc;color:#fff;text-decoration:none;border-radius:4px;padding:0.85rem 2.4rem;font-weight:600;font-size:1rem;letter-spacing:.01em;transition:background .2s,transform .2s;box-shadow:0 6px 22px rgba(0,0,0,0.35)}
.hero-cta:hover{background:#3d8ba1;transform:translateY(-2px)}
.page-cta{margin-top:2.5rem}
.page-cta-center{text-align:center;margin-top:1.5rem}
.btn-cta{display:inline-block;background:#4ca3bc;color:#fff;text-decoration:none;border-radius:4px;padding:0.75rem 2.2rem;font-weight:600;font-size:0.9rem;transition:background .2s,transform .2s}
.btn-cta:hover{background:#3d8ba1;transform:translateY(-2px)}

/* NAV OVERLAY ON HOME */
body.home-active nav{position:fixed;left:0;right:0;top:0;background:transparent;border-bottom-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}
body.home-active .nav-links a{color:#fff;text-shadow:0 1px 4px rgba(0,0,0,0.45)}
body.home-active .nav-links a:hover,body.home-active .nav-links a.active{color:#fff;border-bottom-color:#fff}
body.home-active .nav-toggle span{background:#fff}

/* MOBILE NAV TOGGLE */
.nav-toggle{display:none;flex-direction:column;justify-content:center;gap:5px;width:42px;height:42px;padding:9px;background:none;border:none;cursor:pointer}
.nav-toggle span{display:block;width:100%;height:2px;background:#333;border-radius:2px;transition:transform .3s,opacity .3s}
.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)}

/* RESPONSIVE */
@media (max-width:900px){
  nav{padding:0 1.25rem}
  .nav-toggle{display:flex}
  .nav-links{position:absolute;top:60px;left:0;right:0;flex-direction:column;gap:0;background:rgba(255,255,255,0.98);border-bottom:1px solid #e0e0e0;max-height:0;overflow:hidden;transition:max-height .35s ease;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
  .nav-links.open{max-height:430px}
  .nav-links a{height:auto;line-height:1.2;padding:0.9rem 1.25rem;border-bottom:1px solid #f0f0f0;color:#444}
  .nav-links a:hover,.nav-links a.active{background:#f1f9fb;border-bottom-color:#f0f0f0;color:#1a1a1a}
  body.home-active .nav-links{background:rgba(20,28,38,0.96)}
  body.home-active .nav-links a{color:#fff;border-bottom-color:rgba(255,255,255,0.12);text-shadow:none}
  body.home-active .nav-links a:hover,body.home-active .nav-links a.active{background:rgba(255,255,255,0.08);border-bottom-color:rgba(255,255,255,0.12)}
  .page-inner{padding:2rem 1.25rem}
  .services-grid-top{grid-template-columns:1fr 1fr}
  .test-grid{grid-template-columns:1fr;gap:2.5rem}
  .contact-layout{grid-template-columns:1fr;gap:2.5rem}
  .team-staff{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:1.75rem 1rem}
  footer{padding:1rem 1.25rem;flex-wrap:wrap;gap:0.6rem 1.5rem}
}
@media (max-width:600px){
  .nav-logo img{height:34px}
  .about-body{grid-template-columns:1fr;gap:1.5rem}
  .about-logo img{max-width:150px}
  .services-grid-top,.services-grid-bot,.who-uses-grid,.svc-cols{grid-template-columns:1fr}
  .who-uses-title{font-size:1.6rem}
  .svc-row > h3{font-size:1.2rem}
  .test-block{grid-template-columns:1fr;gap:0.75rem}
  .test-block img.client-logo{width:110px}
  .page-title{font-size:1.6rem;margin-bottom:1.5rem}
  .faqs-title{font-size:1.6rem}
}
/* Small phones */
@media (max-width:380px){
  nav{padding:0 1rem}
  .page-inner{padding:1.75rem 1rem}
  .hero-logo{width:240px}
  .page-title{font-size:1.45rem}
  .leader-card img{width:120px;height:120px}
  .team-leaders{gap:1.25rem}
}
/* Large desktops — widen the reading column and scale text up */
@media (min-width:1600px){
  body{font-size:16px}
  .page-inner{max-width:1100px}
}
@media (min-width:2000px){
  body{font-size:17px}
  .page-inner{max-width:1240px;padding:4rem 2rem}
}

/* ===== LEGAL PAGES ===== */
.legal{max-width:820px}
.legal-meta{color:#777;font-size:0.85rem;margin-bottom:2rem}
.legal h2{font-size:1.15rem;font-weight:700;color:#1a1a1a;margin:2rem 0 0.6rem}
.legal p{font-size:0.9rem;color:#444;line-height:1.8;margin-bottom:0.9rem}
.legal ul{margin:0 0 0.9rem 1.2rem;padding:0}
.legal li{font-size:0.9rem;color:#444;line-height:1.7;margin-bottom:0.35rem}
.legal a{color:#4ca3bc}

/* ===== NAV DROPDOWN ===== */
/* NAV DROPDOWN */
.nav-drop{position:relative}
.nav-drop-menu{position:absolute;top:60px;right:0;min-width:215px;list-style:none;background:#fff;border:1px solid #e0e0e0;border-top:2px solid #4ca3bc;border-radius:0 0 4px 4px;box-shadow:0 10px 26px rgba(0,0,0,0.10);padding:0.35rem 0;opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .18s ease,transform .18s ease,visibility .18s ease;z-index:210}
.nav-drop:hover .nav-drop-menu,.nav-drop:focus-within .nav-drop-menu{opacity:1;visibility:visible;transform:translateY(0)}
.nav-links .nav-drop-menu a{display:block;height:auto;line-height:1.4;padding:0.62rem 1.1rem;font-size:0.82rem;color:#444;white-space:nowrap;border-bottom:0}
.nav-links .nav-drop-menu a:hover{background:#f1f9fb;color:#1a1a1a;border-bottom-color:transparent}
/* Keep dropdown items readable over the transparent home-page nav */
body.home-active .nav-links .nav-drop-menu a{color:#444;text-shadow:none}
body.home-active .nav-links .nav-drop-menu a:hover{color:#1a1a1a}

/* BOOKING MODAL */
.modal{position:fixed;inset:0;z-index:500;display:flex;align-items:center;justify-content:center;padding:1.5rem}
.modal[hidden]{display:none}
.modal-backdrop{position:absolute;inset:0;background:rgba(10,15,25,0.62);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
.modal-panel{position:relative;z-index:1;display:flex;flex-direction:column;width:100%;max-width:980px;height:min(90vh,1080px);background:#fff;border-radius:6px;box-shadow:0 24px 60px rgba(0,0,0,0.35);overflow:hidden}
.modal-head{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:0.9rem 1.25rem;border-bottom:1px solid #e0e0e0}
.modal-head h2{font-size:1.05rem;font-weight:700;color:#1a1a1a}
.modal-close{background:none;border:0;font-size:1.7rem;line-height:1;color:#666;cursor:pointer;padding:0.1rem 0.55rem;border-radius:4px;transition:background .2s,color .2s}
.modal-close:hover{background:#f1f9fb;color:#1a1a1a}
.modal-body{flex:1;min-height:0;background:#fafafa}
.modal-body iframe{display:block;width:100%;height:100%;border:0}
.modal-alt{flex-shrink:0;padding:0.7rem 1.25rem;border-top:1px solid #e0e0e0;font-size:0.78rem;color:#666;background:#fff}
.modal-alt a{color:#4ca3bc}

@media (max-width:900px){
  /* On mobile the nav is a stacked panel, so the submenu just nests inline */
  .nav-drop-menu{position:static;opacity:1;visibility:visible;transform:none;min-width:0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
  .nav-links .nav-drop-menu a{padding-left:2.35rem;font-size:0.8rem;background:#fafafa;border-bottom:1px solid #f0f0f0}
  body.home-active .nav-links .nav-drop-menu a{background:rgba(255,255,255,0.06);color:#fff;border-bottom-color:rgba(255,255,255,0.12)}
  .nav-links.open{max-height:640px}
}
@media (max-width:600px){
  .modal{padding:0}
  .modal-panel{max-width:none;height:100%;border-radius:0}
}

/* ===== ABOUT ===== */
.about-intro{max-width:820px}
.about-intro p{color:#333;font-size:1rem;line-height:1.8;margin-bottom:1rem}
.about-intro p:last-child{margin-bottom:0}

/* ===== CONTACT (last: overrides base) ===== */
/* Narrow right-hand column so the copy on the left has room to breathe */
.contact-layout{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1fr);gap:3rem;align-items:start}
.contact-left h2{font-size:1.25rem;font-weight:700;margin-bottom:0.75rem}

/* The contact form reuses the shared .modal system (backdrop / panel / head / body). */
.modal-panel-narrow{max-width:720px;height:min(88vh,880px)}

/* ============================================================================
   LOCKED — FOOTER + CONTACT BUTTONS
   These are the authoritative rules. They live last so nothing can override
   them. Do NOT re-add footer or .btn-submit/.form-toggle rules earlier in this
   file, and do not regenerate this file from _work/*.rules — those snapshots
   are stale and still carry the old solid-fill .btn-submit and the old
   .contact-layout, which will silently undo everything below.
   ============================================================================ */

/* Sticky footer: on short pages the footer sits on the bottom edge of the
   viewport instead of floating mid-screen. The #page-* wrapper absorbs the gap.
   All three rules are required — margin-top:auto alone does nothing. */
body{min-height:100vh;min-height:100svh;display:flex;flex-direction:column}
body > div[id^="page-"]{flex:1 0 auto;display:flex;flex-direction:column}
/* .page-inner uses `margin:0 auto`; as a flex item that would cancel align-items:stretch
   and collapse it to content width. width:100% restores the intended max-width:960px. */
.page-inner{width:100%}
footer{margin-top:auto}

/* Contact CTAs. "Send us a message" is a <button class="form-toggle">, "Schedule online"
   is an <a class="btn-submit"> — one shared outlined style so they are identical:
   bordered, NOT filled, narrow, right-aligned, with a slight 3D lift that presses in. */
.form-toggle,.contact-forms .btn-submit{
  display:block;width:100%;max-width:460px;margin-left:auto;
  background:linear-gradient(#fff,#f2f8fa);color:#1a1a1a;border:1px solid #4ca3bc;border-radius:5px;
  padding:0.75rem 1.25rem;
  font-family:'Open Sans',sans-serif;font-size:0.9rem;font-weight:600;line-height:1.45;
  text-align:center;text-decoration:none;cursor:pointer;
  box-shadow:0 2px 4px rgba(20,60,75,0.14),0 1px 0 #fff inset;
  transition:background .2s,border-color .2s,box-shadow .2s,transform .12s
}
.form-toggle:hover,.contact-forms .btn-submit:hover{
  background:linear-gradient(#fff,#e8f4f8);border-color:#3a8fa8;
  box-shadow:0 4px 9px rgba(20,60,75,0.2),0 1px 0 #fff inset;
  transform:translateY(-1px)
}
.form-toggle:active,.contact-forms .btn-submit:active{
  box-shadow:0 1px 2px rgba(20,60,75,0.18) inset;
  transform:translateY(1px)
}
.form-toggle:focus-visible,.contact-forms .btn-submit:focus-visible{outline:2px solid #4ca3bc;outline-offset:2px}
/* Kill the chevron the old stale .form-toggle rule added, in case it creeps back */
.form-toggle::after{content:none}

