/* Skills & Techniques Ltd — restrained refresh
   Original Mobirise layout, typography, wording, media and logo retained.
   Palette sampled from the supplied website: charcoal, white and muted gold.
   Applied after the existing site CSS; no dependency on PHP or new libraries. */
:root {
  --st-ink: #232323;
  --st-charcoal: #2e2e2e;
  --st-muted: #687076;
  --st-gold: #b1a374;
  --st-paper: #ffffff;
  --st-warm: #f8f7f3;
  --st-border: #e6e5e0;
}
html { scroll-behavior: smooth; }
body { color: var(--st-ink); -webkit-font-smoothing: antialiased; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible { outline: 3px solid var(--st-gold); outline-offset: 3px; }
img { max-width: 100%; }
.navbar.navbar-dropdown {
  background: rgba(255,255,255,.985) !important;
  box-shadow: 0 2px 16px rgba(25,27,30,.07);
  border-bottom: 1px solid var(--st-border);
}
.navbar .container-fluid { gap: .75rem; }
.navbar .navbar-logo img {
  object-fit: contain;
  max-height: 6.2rem;
  width: auto;
}
/* Preserve the original uploaded logo image, position and branding copy. */
.navbar-caption-wrap a { line-height: 1.3; }
.navbar .navbar-nav { align-items: center; }
.navbar .nav-link { border-radius: 6px; transition: background-color .18s, color .18s; }
.navbar .nav-link:hover, .navbar .nav-link:focus-visible {
  color: var(--st-ink) !important;
  background: rgba(177,163,116,.12);
}
.navbar .nav-link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--st-gold); }
.navbar .navbar-buttons .btn, .mbr-section-btn .btn {
  border-radius: 7px;
  transition: box-shadow .2s, transform .2s, background-color .2s;
}
.mbr-section-btn .btn:hover, .navbar .navbar-buttons .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(30,30,30,.18);
}
.mbr-section-btn .btn-black, .navbar .btn-black {
  background: var(--st-charcoal) !important;
  color: #fff !important;
  border-color: var(--st-charcoal) !important;
}
.mbr-section-btn .btn-black:hover, .navbar .btn-black:hover {
  background: #404040 !important;
}
section .container, section .container-fluid { position: relative; }
section .item-wrapper { height: 100%; transition: box-shadow .2s ease, transform .2s ease; }
section .item-wrapper:hover { box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.mbr-section-subtitle, .mbr-text { overflow-wrap: break-word; }
.mbr-gallery img, .item-img img { height: auto; object-fit: cover; }
input, select, textarea { max-width: 100%; }
input:focus, textarea:focus, select:focus { border-color: var(--st-gold) !important; }
section[id^="footer"], section[class*=" mbr-reveal"] {
  background: var(--st-charcoal);
}
section[id^="footer"] .media-wrap img {
  width: auto !important;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
section[id^="footer"] a:hover { color: #e2d5ab !important; }
section[id^="footer"] .footer-lower { border-color: rgba(255,255,255,.19); }
@media (max-width: 991px) {
  .navbar .navbar-nav { align-items: stretch; }
  .navbar .nav-link { padding: .7rem .8rem !important; }
  .navbar .navbar-caption-wrap a { font-size: .9rem; }
  .navbar .navbar-logo img { max-height: 4.8rem; }
}
@media (max-width: 575px) {
  .navbar .container-fluid { padding-left: 12px; padding-right: 12px; }
  .navbar .navbar-logo img { max-height: 3.6rem; }
  .navbar .navbar-caption-wrap a { font-size: .77rem; }
  section[id^="footer"] .media-wrap { text-align: left; margin-bottom: 1.2rem; }
  .mbr-section-title { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .navbar .nav-link, .mbr-section-btn .btn, section .item-wrapper { transition: none; }
}

/* Post-render QA corrections: ensure text contrast and tidy menu layout. */
.header1 .mbr-white .mbr-section-title,
.header1 .mbr-white .mbr-section-subtitle,
.header1 .mbr-white .mbr-text {
  color: #fff !important;
  text-shadow: 0 2px 12px rgba(0,0,0,.48);
}
.header1 .mbr-white a { color: #ded0a7; }
.navbar .navbar-buttons .btn {
  white-space: nowrap !important;
  overflow-wrap: normal;
  min-width: 110px;
}
@media (min-width: 992px) {
  .navbar.navbar-expand-lg .navbar-collapse {
    flex-wrap: nowrap !important;
    gap: 4px;
  }
  .navbar.navbar-expand-lg .navbar-brand { margin-right: .75rem !important; }
  .navbar.navbar-expand-lg .navbar-nav {
    flex-flow: row nowrap !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    min-width: 0;
  }
  .navbar.navbar-expand-lg .navbar-nav .nav-link {
    font-size: clamp(.7rem, .83vw, .83rem) !important;
    padding: .5rem .45rem !important;
    white-space: nowrap;
  }
  .navbar.navbar-expand-lg .navbar-buttons .btn {
    padding: .68rem .85rem !important;
    min-width: 115px;
    font-size: .85rem !important;
  }
  .navbar.navbar-expand-lg .icons-menu { gap: 0; }
  .navbar.navbar-expand-lg .icons-menu .iconfont-wrapper { margin: 0 !important; }
}
@media (max-width: 767px) {
  .header1 .mbr-section-title {
    font-size: clamp(1.9rem, 8vw, 2.8rem) !important;
    line-height: 1.14;
    overflow-wrap: break-word;
  }
  .header1 .mbr-section-subtitle,
  .header1 .mbr-text { font-size: 1rem !important; line-height: 1.55; }
  .header1 .row { margin-left: 0; margin-right: 0; }
  .header1 .mbr-white { min-width: 0; max-width: 100%; }
}

/* Keep the original photographic dark overlay BEHIND—not over—the original copy. */
section.header1 { position: relative; isolation: isolate; }
section.header1 .mbr-overlay { z-index: 0 !important; pointer-events: none; }
section.header1 > .container { position: relative; z-index: 2 !important; }
section.header1 .mbr-white { position: relative; z-index: 3 !important; }
section.header1 .mbr-white h1,
section.header1 .mbr-white h2,
section.header1 .mbr-white h3,
section.header1 .mbr-white p { color: #fff !important; opacity: 1 !important; }

/* Keep the original first-screen wording readable and correctly separated. */
#header1-9 h1.mbr-section-title {
  line-height: 1.2 !important;
  margin-bottom: 1.65rem !important;
  padding-bottom: 0 !important;
}
#header1-9 h3.mbr-section-subtitle {
  line-height: 1.42 !important;
  margin: 0 0 1.6rem !important;
  padding-bottom: 0 !important;
}
#header1-9 p.mbr-text {
  line-height: 1.58 !important;
  margin-top: 0 !important;
}
#share3-3g .mbr-section-title { color: #232323 !important; opacity: 1 !important; }
#share3-3g .social-list a.iconfont-wrapper {
  color: #fff !important;
  background: #2e2e2e !important;
  border-radius: 50%;
  opacity: 1 !important;
}
#share3-3g .social-list a.iconfont-wrapper:hover { background: #696044 !important; }

/* Preserve all words; stack the existing hero heading/subtitle in natural order. */
#header1-9 .mbr-white {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 1.3rem;
}
#header1-9 h1.mbr-section-title {
  font-size: clamp(2.3rem,4.6vw,4.15rem) !important;
  line-height: 1.14 !important;
  padding: 0 !important;
  margin: 0 !important;
}
#header1-9 h1.mbr-section-title > br:first-child { display: none; }
#header1-9 h3.mbr-section-subtitle,
#header1-9 p.mbr-text {
  margin: 0 !important;
  padding: 0 !important;
}
