:root {
  color-scheme: light;
  --ink: #102647;
  --muted: #465972;
  --moss: #165785;
  --lime: #b8de55;
  --linen: #f1f6fa;
  --stroke: #d5e1ec;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Aptos', 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 1rem/1.6 var(--sans); color: var(--ink); background: #fff; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid #1672b4; outline-offset: 4px; }
[ id ] { scroll-margin-top: 6.5rem; }
.wrap { width: min(1240px, calc(100% - 100px)); margin-inline: auto; }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 9; padding: .65rem 1rem; background: #fff; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.header { position: sticky; top: 0; z-index: 4; background: #fff; border-bottom: 1px solid #edf3f8; }
.header-inner, .footer-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; white-space: nowrap; }
.brand img { width: 62px; height: 54px; object-fit: contain; }
.brand span { font-weight: 800; letter-spacing: .085em; line-height: 1.05; font-size: 1.05rem; }
.brand small { display: block; margin-top: .35rem; color: var(--muted); font-size: .70rem; letter-spacing: .19em; }
nav { display: flex; align-items: center; gap: clamp(1rem, 2.7vw, 2.6rem); }
nav a { text-decoration: none; font-weight: 600; font-size: .95rem; }
nav a:not(.button):hover { text-decoration: underline; text-underline-offset: .3em; }
.menu-toggle { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: .7rem 1.22rem; min-height: 46px; border: 1px solid transparent; border-radius: .2rem; font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.3; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #155d96; }
.button-lime { background: var(--lime); color: #102647; }
.button-lime:hover { background: #d2ec8a; }
.button-outline { border-color: #e4eef9; color: white; }
.button-outline:hover { background: #ffffff1f; }
.button-dark:focus-visible, .hero .button:focus-visible, .tezexx-panel .button:focus-visible { outline-color: #b8de55; }
.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(580px, 73svh, 760px); background: #102647; color: white; }
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; object-fit: cover; object-position: center 53%; }
.hero::after { content: ''; z-index: -1; background: linear-gradient(90deg, rgba(8,23,48,.91), rgba(12,32,61,.73) 38%, rgba(12,34,61,.23) 78%), linear-gradient(0deg,#10264745,transparent 52%); }
.hero-inner { padding-block: 5rem; }
.eyebrow { margin: 0 0 1rem; color: var(--moss); font-size: .88rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero-kicker { color: var(--lime); display: flex; align-items: center; gap: .75rem; }
.hero-kicker::before { content: ''; width: 30px; height: 1px; background: currentColor; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -.045em; }
h1 { font-size: clamp(3rem, 6.25vw, 6rem); }
h1 em { color: var(--lime); }
.hero-copy { margin: 1.4rem 0 1.75rem; color: #f0f6ff; font-size: clamp(1.08rem, 2vw, 1.27rem); max-width: 30rem; }
.actions { display: flex; gap: .65rem; flex-wrap: wrap; }
.credentials { background: var(--linen); border-bottom: 1px solid var(--stroke); }
.credentials-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 1.25rem; }
.credentials span { display: flex; align-items: center; justify-content: center; gap: .55rem; padding: .42rem .65rem; }
.credentials span + span { border-left: 1px solid var(--stroke); }
.credentials i { width: .46rem; height: .46rem; background: #1672b4; transform: rotate(45deg); flex-shrink: 0; }
.section { padding-block: clamp(3.6rem, 7vw, 6.6rem); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.25rem; margin-bottom: 2.1rem; }
.section-head > p { max-width: 22rem; margin: 0 0 .15rem; color: var(--muted); }
h2 { font-size: clamp(2.45rem, 4.65vw, 4.35rem); }
h3 { margin: 0; font-size: 1.28rem; line-height: 1.3; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--stroke); gap: 1px; background: var(--stroke); }
.service { display: flex; flex-direction: column; align-items: start; background: #fff; padding: clamp(1.35rem, 2.8vw, 2.35rem); }
.service::before { content: ''; display: block; width: 24px; height: 3px; margin-bottom: 1.05rem; background: #88b62b; }
.service p { margin: .75rem 0 1.15rem; color: var(--muted); }
.service a { margin-top: auto; color: #0b5890; font-weight: 700; text-underline-offset: .2em; }
.service a:hover { color: var(--ink); }
.about { background: var(--linen); }
.about-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-block: clamp(3.6rem, 7vw, 6rem); }
.about-photo { margin: 0; background: #d8e5f0; }
.about-photo img { width: 100%; height: clamp(355px, 38vw, 555px); object-fit: cover; }
.about h2 em { color: #155d96; }
.about-content > p:not(.eyebrow) { max-width: 38rem; margin: 1.3rem 0 1.65rem; color: var(--muted); }
.markets { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: .85rem 0 0; list-style: none; }
.markets li { border: 1px solid #c7d9e8; padding: .27rem .66rem; font-size: .92rem; background: #fff; }
.tezexx-panel { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; background: var(--ink); color: #fff; padding: clamp(1.6rem, 5vw, 4rem); border-left: 5px solid #b8de55; }
.tezexx-panel .eyebrow { color: var(--lime); }
.tezexx-panel h2 { font-size: clamp(2.15rem, 4.25vw, 3.75rem); }
.tezexx-panel p:not(.eyebrow) { max-width: 34rem; }
.brand-note { font-size: .9rem; color: #d7e7f6; margin-bottom: 0; }
.tezexx-panel .button { flex-shrink: 0; }
.contact { background: var(--linen); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(2rem, 6vw, 6rem); }
.contact-copy, address { color: var(--muted); }
address { font-style: normal; }
.offices { display: grid; gap: 1rem; margin-top: 1.6rem; }
address strong { color: var(--ink); }
.contact-links { margin-top: .8rem; display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; }
.contact-links a { font-weight: 700; text-underline-offset: .25em; }
.enquiry { background: #fff; border: 1px solid var(--stroke); padding: clamp(1.2rem, 3vw, 2rem); display: grid; gap: .4rem; }
.enquiry label { font-weight: 700; }
.enquiry label span, .form-note { font-weight: 400; color: var(--muted); }
.enquiry input, .enquiry select, .enquiry textarea { width: 100%; border: 1px solid #aabdd0; border-radius: .2rem; padding: .58rem .7rem; color: var(--ink); background: #fff; margin-bottom: .5rem; }
.enquiry select { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg,transparent 50%,#465972 50%), linear-gradient(135deg,#465972 50%,transparent 50%); background-position: calc(100% - 17px) 52%,calc(100% - 12px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.enquiry textarea { resize: vertical; min-height: 5rem; }
.enquiry .button { justify-self: start; }
.form-note { font-size: .9rem; margin: .1rem 0 0; }
footer { border-top: 1px solid var(--stroke); }
.footer-inner { padding-block: 1rem; }
.footer-inner p, .footer-inner > a:last-child { color: var(--muted); font-size: .9rem; }
@media (max-width: 930px) {
  .wrap { width: calc(100% - 56px); }
  nav { gap: 1.2rem; }
  .credentials span { font-size: .88rem; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 66px; }
  .header-inner .brand img { width: 51px; }
  .menu-toggle { display: block; border: 1px solid var(--stroke); background: #fff; padding: .52rem .75rem; border-radius: .2rem; color: var(--ink); font-weight: 700; cursor: pointer; }
  nav { display: none; position: absolute; top: 100%; inset-inline: 0; background: #fff; padding: .65rem 18px 1rem; border-bottom: 1px solid var(--stroke); align-items: stretch; }
  nav.open { display: grid; gap: 0; }
  nav a:not(.button) { padding: .5rem .2rem; }
  nav .button { justify-self: start; margin-top: .4rem; }
  .hero { min-height: 550px; }
  .hero::after { background: linear-gradient(90deg,#081730ed,#0c203da8 76%,#0c203d6a); }
  .hero-inner { padding-block: 4rem; }
  .hero h1 br { display: none; }
  .credentials-inner { grid-template-columns: 1fr 1fr; gap: .3rem; padding-block: .75rem; }
  .credentials span { padding-inline: 0; }
  .credentials span + span { border: 0; }
  .section-head { display: block; }
  .section-head > p { margin-top: .8rem; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .about-photo img { height: 330px; }
  .tezexx-panel { align-items: start; flex-direction: column; }
  .footer-inner { flex-wrap: wrap; gap: .55rem 1rem; }
  .footer-inner p { order: 3; width: 100%; margin: .1rem 0 0; }
}
@media (max-width: 450px) {
  .service-grid { grid-template-columns: 1fr; }
  .hero .button { padding-inline: .85rem; font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

nav { gap: clamp(.65rem, 2vw, 1.8rem); }
nav a[aria-current="page"]:not(.button) {
  color: #0b5890;
  text-decoration: underline;
  text-underline-offset: .4em;
}
.page-banner { background: var(--ink); color: #fff; padding-block: clamp(3rem, 7vw, 6.2rem); }
.page-banner h1 { font-size: clamp(3rem, 6.5vw, 5.75rem); }
.breadcrumbs { margin: 0 0 1.15rem; color: var(--lime); font-size: .95rem; }
.breadcrumbs span { margin-inline: .45rem; }
.page-intro { max-width: 43rem; margin: 1.25rem 0 0; color: #edf5ff; font-size: clamp(1rem, 2.25vw, 1.25rem); }
.company-facts { margin: 1.4rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1rem; }
.company-facts div { border-top: 1px solid var(--stroke); padding-top: .6rem; }
.company-facts dt { font-weight: 700; }
.company-facts dd { margin: .15rem 0 0; color: var(--muted); overflow-wrap: anywhere; }
.text-link { color: #0b5890; font-weight: 700; text-underline-offset: .24em; }
@media (min-width: 721px) and (max-width: 1000px) {
  nav { flex-wrap: wrap; justify-content: flex-end; gap: .35rem .9rem; }
}
@media (max-width: 720px) { nav.open { gap: 0; } }

.footer-links { display: flex; flex-wrap: wrap; gap: .45rem 1rem; font-size: .92rem; color: var(--muted); }
.footer-links a, .footer-address a { text-underline-offset: .2em; }
.footer-address { line-height: 1.5; color: var(--muted); font-size: .9rem; }
.legal { max-width: 790px; }
.legal-intro { font-size: 1.15rem; margin-top: 0; }
.legal section { border-top: 1px solid var(--stroke); padding-top: 1.3rem; margin-top: 1.45rem; }
.legal h2 { font: 700 1.35rem/1.3 var(--sans); letter-spacing: normal; }
.legal p, .legal li { color: var(--muted); }
.legal li + li { margin-top: .55rem; }
.legal a { color: #0b5890; text-underline-offset: .2em; }
@media (max-width: 840px) {
  .footer-inner { flex-wrap: wrap; }
  .footer-address { flex-basis: 100%; }
}

.service-stories { padding-block: clamp(2rem, 6vw, 5rem); }
.service-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "photo copy";
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(2rem, 4vw, 4rem);
}
.service-story + .service-story { border-top: 1px solid var(--stroke); }
.service-story:nth-child(even) { grid-template-areas: "copy photo"; }
.service-story-image {
  grid-area: photo;
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  border-radius: .25rem;
  background: var(--linen);
}
.service-story-image img { width: 100%; height: 100%; object-fit: cover; }
.service-story-copy { grid-area: copy; max-width: 36rem; }
.service-story-copy::before {
  content: '';
  display: block;
  width: 2.5rem;
  height: 3px;
  margin-bottom: 1rem;
  background: #88b62b;
}
.service-story-copy h2 { font-size: clamp(2.1rem, 4vw, 3.55rem); }
.service-story-copy p { color: var(--muted); margin: .9rem 0 1.1rem; }
.service-story-copy a { color: #0b5890; font-weight: 700; text-underline-offset: .24em; }
@media (max-width: 720px) {
  .service-story, .service-story:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "photo" "copy";
    gap: 1.3rem;
  }
}

.home-service-grid { gap: clamp(1rem, 2vw, 1.5rem); border: 0; background: none; }
.home-service {
  align-items: stretch;
  padding: 0;
  border: 1px solid var(--stroke);
  border-radius: .25rem;
  overflow: hidden;
}
.home-service::before { display: none; }
.home-service > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--linen);
}
.home-service-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: start;
  padding: clamp(1.2rem, 2.4vw, 1.85rem);
}

.tezexx-banner-logo {
  width: min(100%, 21rem);
  padding: clamp(1rem, 3vw, 1.5rem);
  background: #fff;
  border-radius: .5rem;
}
.tezexx-banner-logo img { width: 100%; height: auto; }
.tezexx-banner-tagline {
  margin: 1rem 0 0;
  color: var(--lime);
  font-size: clamp(1.15rem, 2.8vw, 1.75rem);
  font-weight: 700;
}

.dnb-section { margin-block: clamp(1.5rem, 4vw, 3.5rem) 0; }
.dnb-profile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(.9rem, 3vw, 2rem);
  padding: clamp(1rem, 3vw, 1.75rem);
  background: var(--linen);
  border: 1px solid var(--stroke);
  border-radius: .35rem;
}
.dnb-seal, .credentials-dnb { position: relative; }
.dnb-seal { width: 114px; height: 97px; }
.dnb-seal iframe, .credentials-dnb iframe { display: block; border: 0; }
.dnb-qr img { width: 100%; height: auto; }
.dnb-copy h2 { font: 700 clamp(1.08rem, 2.5vw, 1.5rem)/1.3 var(--sans); letter-spacing: normal; }
.dnb-copy p { margin: .3rem 0 .4rem; color: var(--muted); }
.dnb-qr { text-align: center; }
.dnb-qr img { width: 7rem; margin-inline: auto; }
.dnb-qr p { margin: .25rem 0 0; color: var(--muted); font-size: .875rem; }
@media (max-width: 540px) {
  .dnb-profile { grid-template-columns: auto minmax(0, 1fr); }
  .dnb-qr {
    grid-column: 1 / -1;
    justify-self: start;
    display: flex;
    align-items: center;
    gap: .55rem;
    text-align: start;
  }
  .dnb-qr p { margin: 0; }
}

.credentials-dnb { width: 69px; height: 59px; }
.credentials-dnb iframe {
  position: absolute;
  inset: 0 auto auto 0;
  transform: scale(.6);
  transform-origin: top left;
}
