/* ============================================
   UKDC GROUP Main Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
:root {
  --c-black:    #1a1b26;
  --c-dark:     #141414;
  --c-surface:  #1C1C1C;
  --c-border: #00589c;
  --c-muted: #7a9ab9;
  --c-mid: #a0bacd;
  --c-light:    #F0EDE8;
  --c-white:    #FFFFFF;
  --c-yellow:   #4782bd;
  --c-yellow-d: #BFA010;
  --c-red: #ee4e54;
  --ff-display: font-family: "Inter", sans-serif;
  --ff-body:    'Inter', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:  cubic-bezier(0.7, 0, 0.84, 0);
  --nav-h: 72px;
}


.mainlogo {
  float: left;
  width: 140px;
}

.mainlogo img {
  float: left;
  height: 100px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--c-black);
  color: var(--c-light);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.4;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }


.t-display {
  font-family: var(--ff-display);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.t-display--xl  {font-size: clamp(4.5rem, 5vw, 7rem);}
.t-display--lg  { font-size: clamp(3rem, 6vw, 5rem); }
.t-display--md  { font-size: clamp(2rem, 4vw, 3.5rem); }
.t-display--sm  { font-size: clamp(1.5rem, 3vw, 2.25rem); }

.t-label {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-red);
}

.t-body-lg {font-size: 1.2rem;line-height: 1.4;color: var(--c-mid);}
.t-body    { font-size: 1rem;     line-height: 1.7; color: var(--c-mid); }
.t-body-sm { font-size: 0.875rem; line-height: 1.6; color: var(--c-mid); }


.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 2vw, 4rem);
}
.container--wide {
  max-width: 1440px;
}
.section { padding: clamp(5rem, 10vw, 9rem) 0; }
.section--sm { padding: clamp(3rem, 6vw, 5rem) 0; }


.yellow { color: var(--c-yellow); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.overflow-hidden { overflow: hidden; }


/* ============================================
   NAV
   ============================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease-out), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(16px);
  border-color: var(--c-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav-logo span { color: var(--c-yellow); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-mid);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--c-yellow);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--c-light); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--c-light); }
.nav-links a.active::after { width: 100%; }

.nav-links li { position: relative; }
.nav-links .nav-dropdown {
  position: absolute;
  top: 100%; left: 0;
  min-width: 200px;
  padding: 0.75rem 0;
  margin-top: 0.75rem;
  background: rgba(13, 13, 13, 0.97);
  border: 1px solid var(--c-border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.nav-links li.has-dropdown:hover .nav-dropdown,
.nav-links li.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-links .nav-dropdown a {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.nav-cta {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--c-yellow);
  color: var(--c-yellow);
  transition: background 0.25s, color 0.25s;
}
.nav-cta:hover {
  background: var(--c-yellow);
  color: var(--c-black);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}
.nav-burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--c-light);
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .mobile-nav {
    position: fixed;
    text-align: center;
    inset: 0;
    background: var(--c-black);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out);
  }
  .mobile-nav.open { transform: translateX(0); }
  .mobile-nav a {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--c-light);
    letter-spacing: 0.05em;
    transition: color 0.2s;
  }
  .mobile-nav a:hover { color: var(--c-yellow); }
  .mobile-nav .mobile-subnav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: -1.5rem;
  }
  .mobile-nav .mobile-subnav a {
    font-size: 1.25rem;
    color: var(--c-mid);
  }
}
@media (min-width: 901px) {
  .mobile-nav { display: none !important; }
  .t-display--xl  {font-size: 84px}
}


@media (max-width: 768px) {
  .t-display--xl  {font-size: 48px}
}









/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding-top: 100px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--c-black);
  z-index: 0;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  transform: scale(1.05);
}
/* Diagonal stripe signature element */
.hero-stripes {
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.hero-stripes::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 24px,
    rgba(232, 198, 25, 0.04) 24px,
    rgba(232, 198, 25, 0.04) 26px
  );
}
.hero-stripes::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(232, 198, 25, 0.3) 30%, rgba(232, 198, 25, 0.3) 70%, transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px; height: 2px;
  background: var(--c-yellow);
}

.hero-headline { margin-bottom: 2rem; }
.hero-headline .line { display: block; overflow: hidden; }
.hero-headline .line-inner { display: block; }

.hero-sub {
  max-width: 640px;
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: clamp(1.5rem, 5vw, 4rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  writing-mode: vertical-rl;
  font-family: var(--ff-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--c-muted), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* Stats bar */
.hero-stats {
  position: relative;
  z-index: 2;
  margin-top: 5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--c-border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-item {}
.stat-num {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  color: var(--c-white);
}
.stat-num span { color: var(--c-yellow); }
.stat-label {
  font-size: 0.8rem;
  color: var(--c-muted);
  margin-top: 0.4rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--ff-display);
  font-weight: 600;
}

@media (max-width: 700px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stripes { width: 60%; }
}


/* UK + Ireland map pixel grid */
.hero-map {
  position: absolute;
  right: 16px;;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
  width: clamp(200px, 24vw, 380px);
  aspect-ratio: 40 / 57;
}
.uk-cell {
  position: absolute;
  background: var(--c-yellow);
  opacity: 0;
  will-change: transform, opacity;
}
@media (max-width: 900px) {
  .hero-map {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: min(65vw, 300px);
    margin: 2.5rem auto 0;
    opacity: 0.7;
  }
}


/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  transition: all 0.25s var(--ease-out);
  position: relative;
}
.btn-primary {
  background: var(--c-yellow);
  color: var(--c-black);
}
.btn-primary:hover {
  background: var(--c-white);
  transform: translateY(-2px);
}
.btn-outline {
  border: 1px solid var(--c-border);
  color: var(--c-light);
}
.btn-outline:hover {
  border-color: var(--c-yellow);
  color: var(--c-yellow);
}
.btn-arrow {
  width: 20px; height: 20px;
  transition: transform 0.3s var(--ease-out);
}
.btn:hover .btn-arrow { transform: translateX(4px); }


/* ============================================
   MARQUEE
   ============================================ */
.marquee-section {
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 1.2rem 0;
  overflow: hidden;
  background: var(--c-dark);
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  gap: 0;
}
.marquee-inner {
  display: flex;
  gap: 0;
  animation: marquee 30s linear infinite;
  flex-shrink: 0;
}
.marquee-item {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--c-red);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.marquee-item::after {
  content: '';
  width: 9px; height: 9px;
  background: var(--c-red);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ============================================
   SERVICES OVERVIEW (Home)
   ============================================ */
.services-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.services-header .t-display--md { margin-top: 0.75rem; }
.services-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 5rem;
}
@media (max-width: 768px) {
  .services-intro { grid-template-columns: 1fr; gap: 2rem; }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: var(--c-dark);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.35s var(--ease-out);
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--c-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.service-card:hover { background: var(--c-surface); }
.service-card:hover::before { transform: scaleX(1); }

.service-card-num {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--c-border);
  margin-bottom: 2rem;
  transition: color 0.3s;
}
.service-card:hover .service-card-num { color: var(--c-yellow); }

.service-card-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
}
.service-card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.service-card-icon {
  width: 40px; height: 40px;
  object-fit: contain;
  margin-bottom: 1.25rem;
  opacity: 0.8;
  transition: opacity 0.3s, transform 0.4s var(--ease-out);
}
.service-card:hover .service-card-icon {
  opacity: 1;
  transform: scale(1.1);
}

.service-card h3 {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--c-light);
  margin-bottom: 0.75rem;
  line-height: 1.1;
}
.service-card p {
  font-size: 0.875rem;
  color: var(--c-muted);
  line-height: 1.65;
}
.service-card-arrow {
  position: absolute;
  bottom: 2rem; right: 2rem;
  width: 20px; height: 20px;
  color: var(--c-yellow);
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: opacity 0.3s, transform 0.4s var(--ease-out);
}
.service-card:hover .service-card-arrow {
  opacity: 1;
  transform: translate(0, 0);
}


/* ============================================
   CTA STRIPE (diagonal signature mid-page)
   ============================================ */
.cta-stripe {
  position: relative;
  background: var(--c-yellow);
  padding: clamp(4rem, 8vw, 7rem) 0;
  overflow: hidden;
}
.cta-stripe::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 18px,
    rgba(0,0,0,0.04) 18px,
    rgba(0,0,0,0.04) 20px
  );
}
.cta-stripe-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}
.cta-stripe h2 {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 5rem);
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--c-black);
}
.cta-stripe-text { flex: 1 1 auto; min-width: 0; }
.cta-stripe-sub {
  font-size: 0.95rem;
  color: rgba(20, 20, 20, 0.65);
  margin-top: 0.75rem;
  max-width: 560px;
}
.btn-dark {
  background: var(--c-black);
  color: var(--c-white);
  padding: 1rem 2.5rem;
}
.btn-dark:hover {
  background: var(--c-dark);
  transform: translateY(-2px);
}


/* ============================================
   ABOUT SECTION (Home teaser)
   ============================================ */
.about-split { padding: clamp(5rem, 10vw, 9rem) 0; }

.about-split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}
@media (max-width: 768px) {
  .about-split-inner { grid-template-columns: 1fr; }
}
.about-image-col { position: relative; }
.about-body { margin-bottom: 2rem; }

.about-image-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.about-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.about-image-wrap:hover img { transform: scale(1.04); }
.about-image-badge {
  position: absolute;
  bottom: 2rem; right: -1rem;
  background: var(--c-yellow);
  color: var(--c-black);
  padding: 1.25rem 1.75rem;
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.about-text .t-label { margin-bottom: 1.25rem; }
.about-text .t-display--md { margin-bottom: 2rem; }
.about-text .t-body-lg { margin-bottom: 2.5rem; }

.about-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.about-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--c-mid);
}
.about-checklist li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  background: var(--c-yellow);
  
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--c-dark);
  border-top: 1px solid var(--c-border);
  padding: clamp(4rem, 8vw, 6rem) 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .nav-logo { margin-bottom: 1rem; 
                         
                         font-size: 1.75rem; }

.footer-brand .nav-logo img{ max-width: 240px;}



.footer-brand p { font-size: 0.875rem; color: var(--c-muted); line-height: 1.7; max-width: 260px; }

.footer-col h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-yellow);
  margin-bottom: 1.25rem;
}
.footer-col ul {display: flex;flex-direction: column;gap: 0.2rem;}
.footer-col ul a {
  font-size: 0.875rem;
  color: var(--c-muted);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--c-light); }

.footer-accreditations {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-border);
}
.footer-accreditations img {
  height: 80px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
 background: #fff;
  padding: 12px;
  opacity: 0.6;
  transition: opacity 0.2s, filter 0.2s;
}
.footer-accreditations img:hover {
  filter: none;
  opacity: 1;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; color: var(--c-muted); }


/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--c-border);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 24px,
    rgba(232, 198, 25, 0.025) 24px,
    rgba(232, 198, 25, 0.025) 26px
  );
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero .t-label { margin-bottom: 1.25rem; }
.page-hero .t-display--lg { margin-bottom: 1.5rem; }
.page-hero .t-body-lg {max-width: 800px;}
.page-hero .line { overflow: hidden; display: block; }
.page-hero .line-inner { display: block; }


/* Services CTA below grid */
.services-cta { margin-top: 3rem; }

/* ============================================
   SERVICES PAGE
   ============================================ */
.service-block-content {padding: 16px;}
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
}
@media (max-width: 700px) {
  .services-full-grid { grid-template-columns: 1fr; }
}

.service-block {
  background: var(--c-dark);
  padding: 8px;
  position: relative;
  overflow: hidden;
}
.service-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 30px,
    rgba(232, 198, 25, 0.02) 30px,
    rgba(232, 198, 25, 0.02) 32px
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.service-block:hover::after { opacity: 1; }

.service-block-icon {
  width: 48px; height: 48px;
  object-fit: contain;
  margin-bottom: 1.5rem;
}

.service-block-img {
  margin: -1rem -1rem 0;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.service-block-img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-out);
}
.service-block:hover .service-block-img img {
  transform: scale(1.05);
}
.service-block h3 {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 2.2rem;
  text-transform: uppercase;
  color: var(--c-light);
  margin-bottom: 1rem;
  line-height: 1.05;
}
.service-block-intro {
  font-size: 0.9rem;
  color: var(--c-mid);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.service-block ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0px;
}
.service-block ul li {
  font-size: 1.2rem;
  color: var(--c-muted);
  padding-left: 1rem;
  position: relative;
}
.service-block ul li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: var(--c-yellow);
  opacity: 0.7;
}

/* Featured span */
.service-block--featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--c-surface);
}
@media (max-width: 700px) {
  .service-block--featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
}
.service-block--featured .service-block-img {
  margin: 0;
  aspect-ratio: 16/9;
  overflow: hidden;
}


/* ============================================
   ABOUT PAGE
   ============================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
  margin-top: 4rem;
}
@media (max-width: 768px) {
  .values-grid { grid-template-columns: 1fr; }
}

.value-card {
  background: var(--c-dark);
  padding: 2.5rem;
}
.value-card-num {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 3rem;
  line-height: 1;
  color: var(--c-border);
  margin-bottom: 1rem;
  transition: color 0.4s;
}
.value-card:hover .value-card-num { color: var(--c-yellow); }
.value-card h3 {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.3rem;
  text-transform: uppercase;
  color: var(--c-light);
  margin-bottom: 0.75rem;
}
.value-card p { font-size: 0.875rem; color: var(--c-muted); line-height: 1.7; }

.team-section { padding-top: 32px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 768px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
}

.team-card { position: relative; overflow: hidden; }
.team-card-img {
  aspect-ratio: 3/4;
  background: var(--c-surface);
  overflow: hidden;
  position: relative;
}
.team-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-out);
  filter: grayscale(30%);
}
.team-card:hover .team-card-img img {
  transform: scale(1.06);
  filter: grayscale(0%);
}
.team-card-initials {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--c-surface) 0%, var(--c-border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 3rem;
  color: var(--c-muted);
}
.team-card-info {
  padding: 1.25rem 0 0.25rem;
}
.team-card-info h4 {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--c-light);
}
.team-card-role {
  font-size: 0.8rem;
  color: var(--c-yellow);
  font-family: var(--ff-display);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.team-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.team-intro { max-width: 480px; }


/* ============================================
   ACCREDITATIONS GRID
   ============================================ */
.accreditations-section { border-top: 1px solid var(--c-border); }
.accreditations-section .t-display--sm { margin-top: 1rem; margin-bottom: 3rem; }

.accreditations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
}
.accreditation-item {
  background: var(--c-dark);
  padding: 2rem 1.75rem;
}
.accreditation-dot {
  width: 10px; height: 10px;
  background: var(--c-yellow);
  border-radius: 50%;
  margin-bottom: 1rem;
}
.accreditation-name {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-light);
  margin: 0;
}
.accreditations-footnote {
  font-size: 0.85rem;
  color: var(--c-muted);
  margin-top: 1.5rem;
}
.accreditations-footnote-link {
  color: var(--c-yellow);
  text-decoration: underline;
  margin-left: 0.25em;
}


/* ============================================
   VALUES SECTION
   ============================================ */
.values-section { background: var(--c-dark); }
.values-header { max-width: 520px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }


/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(3rem, 7vw, 6rem);
  align-items: start;
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.contact-info .t-label { margin-bottom: 1.25rem; }
.contact-info .t-display--md { margin-bottom: 2rem; line-height: 1; }
.contact-info .t-body { margin-bottom: 3rem; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-detail-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-yellow);
  margin-top: 2px;
}
.contact-detail-icon svg { width: 18px; height: 18px; }
.contact-detail-text h5 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 0.2rem;
}
.contact-detail-text p { font-size: 0.9rem; color: var(--c-light); }

/* Contact form */
.contact-form-wrap {
  background: var(--c-dark);
  border: 1px solid var(--c-border);
  padding: clamp(2rem, 5vw, 3.5rem);
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--c-black);
  border: 1px solid var(--c-border);
  color: var(--c-light);
  font-family: var(--ff-body);
  font-size: 0.9rem;
  padding: 0.85rem 1.1rem;
  outline: none;
  transition: border-color 0.25s;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c-yellow);
}
.form-group textarea {
  resize: vertical;
  min-height: 140px;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235C5C5C' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group select option { background: var(--c-surface); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 540px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-submit-btn {
  width: 100%;
  background: var(--c-yellow);
  color: var(--c-black);
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1.1rem;
  cursor: pointer;
  border: none;
  transition: background 0.25s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.form-submit-btn:hover {
  background: var(--c-white);
  transform: translateY(-2px);
}
.form-submit-btn svg { width: 18px; height: 18px; }

.form-success {
  display: none;
  text-align: center;
  padding: 3rem;
}
.form-success.show { display: block; }
.form-success-icon {
  width: 60px; height: 60px;
  background: var(--c-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.form-success-icon svg { width: 28px; height: 28px; color: var(--c-black); }
.form-success h3 {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 1.75rem;
  text-transform: uppercase;
  color: var(--c-light);
  margin-bottom: 0.5rem;
}
.form-success p { font-size: 0.9rem; color: var(--c-muted); }

/* Map placeholder */
.map-placeholder {
  margin-top: 5rem;
  height: 400px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
  position: relative;
  overflow: hidden;
}
.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 20px,
    rgba(232, 198, 25, 0.03) 20px,
    rgba(232, 198, 25, 0.03) 22px
  );
}


/* ============================================
   REVEAL ANIMATIONS (JS-driven classes)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* ============================================
   PAGE TRANSITION OVERLAY
   ============================================ */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}
.page-transition-bar {
  position: absolute;
  left: 0; right: 0;
  height: 100%;
  background: var(--c-yellow);
  transform: scaleY(0);
  transform-origin: bottom;
}


/* ============================================
   PLACEHOLDER IMAGES
   ============================================ */
.img-placeholder {
  background: linear-gradient(135deg, var(--c-surface) 0%, var(--c-border) 50%, var(--c-surface) 100%);
  background-size: 200% 200%;
  animation: shimmer 3s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-muted);
}
@keyframes shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* ============================================
   KIRBY BLOCKS ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â updated for current site
   ============================================ */

/* Image caption */
.img-caption {
  font-size: 0.8rem;
  color: var(--c-muted);
  margin-top: 0.6rem;
  font-style: italic;
  line-height: 1.5;
}
.img-circle {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Prose (advancedtext, largecaptions) */
.block-prose { max-width: 760px; margin: 0 auto; }
.block-prose p { color: var(--c-mid); font-size: 1rem; line-height: 1.75; margin-bottom: 1rem; }
.block-prose ul,
.block-prose ol { color: var(--c-mid); font-size: 1rem; line-height: 1.75; padding-left: 1.5rem; margin-bottom: 1rem; }
.block-prose li { margin-bottom: 0.25rem; }
.block-prose a { color: var(--c-yellow); text-decoration: underline; }
.block-prose h2,
.block-prose h3 {
  font-family: var(--ff-display);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--c-light);
  margin-bottom: 0.75rem;
  margin-top: 2rem;
}
.block-prose strong { color: var(--c-light); }

.block-prose--large {
  max-width: 900px;
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.0;
  text-transform: uppercase;
  color: var(--c-light);
}
.block-prose--large p { color: var(--c-light); font-size: inherit; line-height: inherit; margin: 0; font-family: inherit; font-weight: inherit; }

/* Two Images */
.block-twoimages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.block-twoimages-item img { width: 100%; display: block; }
@media (max-width: 640px) {
  .block-twoimages { grid-template-columns: 1fr; }
}

/* Three Images */
.block-threeimages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.block-threeimages-item img { width: 100%; display: block; }
.block-threeimages--circular .block-threeimages-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.block-threeimages--circular .block-threeimages-item img {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  max-width: 220px;
}
@media (max-width: 768px) {
  .block-threeimages { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .block-threeimages { grid-template-columns: 1fr; }
}

/* Text With Inset Image */
.block-textwithimage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.block-textwithimage--left .block-textwithimage-img { order: -1; }
@media (max-width: 768px) {
  .block-textwithimage { grid-template-columns: 1fr; }
  .block-textwithimage--left .block-textwithimage-img { order: 0; }
}
.block-textwithimage-text { color: var(--c-mid); font-size: 1rem; line-height: 1.75; }
.block-textwithimage-text h2,
.block-textwithimage-text h3 {
  font-family: var(--ff-display); font-weight: 900;
  text-transform: uppercase; color: var(--c-light);
  margin-bottom: 0.75rem; margin-top: 0;
}
.block-textwithimage-text a { color: var(--c-yellow); }
.block-textwithimage-text p { margin-bottom: 1rem; }
.block-textwithimage-img img { width: 100%; display: block; }
.block-textwithimage-cta { margin-top: 1.75rem; }
.block-textwithimage-logo { margin-top: 1.5rem; }
.block-textwithimage-logo img { max-width: 120px; filter: brightness(0) invert(1); opacity: 0.6; }

/* Call to Action */
.block-calltoaction {
  background: var(--c-yellow);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}
.block-calltoaction::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: repeating-linear-gradient(-55deg, transparent, transparent 18px, rgba(0,0,0,0.04) 18px, rgba(0,0,0,0.04) 20px);
  pointer-events: none;
}
.block-calltoaction-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.block-calltoaction-msg { flex: 1 1 auto; }
.block-calltoaction-msg p {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 3rem);
  text-transform: uppercase;
  color: var(--c-black);
  line-height: 1;
  margin: 0;
}
.block-calltoaction-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.block-calltoaction-contact {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-black);
  text-decoration: underline;
}

/* Page List (internal + external links) */
.block-pagelist { border-top: 1px solid var(--c-border); }
.block-pagelist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--c-border);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-light);
  transition: color 0.2s, padding-left 0.3s var(--ease-out);
}
.block-pagelist-item svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.3s var(--ease-out); }
.block-pagelist-item:hover { color: var(--c-yellow); padding-left: 0.5rem; }
.block-pagelist-item:hover svg { transform: translateX(4px); }

/* Full Width Image */
.block-fullwidthimage { width: 100%; max-height: 620px; overflow: hidden; }
.block-fullwidthimage img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Document Downloads */
.block-doclist { border-top: 1px solid var(--c-border); }
.block-doclist-item { list-style: none; }
.block-doclist-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-mid);
  transition: color 0.2s;
}
.block-doclist-link:hover { color: var(--c-yellow); }
.block-doclist-ext {
  flex-shrink: 0;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.45rem;
  border: 1px solid currentColor;
  border-radius: 2px;
  min-width: 36px;
  text-align: center;
}
.block-doclist-ext--pdf { color: #e94949; }
.block-doclist-name { flex: 1 1 auto; font-size: 0.9rem; line-height: 1.4; }
.block-doclist-size { font-size: 0.75rem; color: var(--c-muted); white-space: nowrap; }
.block-doclist-link .btn-arrow { width: 16px; height: 16px; flex-shrink: 0; }

/* Image Links */
.block-imagelinks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.block-imagelink a {
  display: block;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  transition: border-color 0.25s;
}
.block-imagelink a:hover { border-color: var(--c-yellow); }
.block-imagelink-img { aspect-ratio: 16 / 9; overflow: hidden; }
.block-imagelink-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.block-imagelink a:hover .block-imagelink-img img { transform: scale(1.04); }
.block-imagelink-text { padding: 1.25rem; }
.block-imagelink-text h3 {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-light);
  margin-bottom: 0.5rem;
}
.block-imagelink-desc { font-size: 0.85rem; color: var(--c-muted); line-height: 1.6; }
.block-imagelink-desc p { margin: 0; font-size: inherit; color: inherit; }

/* Video Block */
.block-videos { display: flex; flex-direction: column; gap: 3rem; }
.block-video-caption { margin-bottom: 0.75rem; }
.block-video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: var(--c-surface);
}
.block-video-embed iframe,
.block-video-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Code Block embed */
.block-code { max-width: 760px; }
