/*
Theme Name: ONE TEAM Technical Projects
Theme URI: https://one-team.sk/
Author: ONE TEAM s.r.o.
Author URI: https://one-team.sk/
Description: Multilingual, responsive corporate theme for industrial assembly, maintenance, special-purpose equipment, electrical engineering and specialised welding projects.
Version: 0.4.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: one-team
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --ot-navy: #00263b;
  --ot-navy-950: #001521;
  --ot-navy-900: #001c2c;
  --ot-navy-800: #06334d;
  --ot-blue: #0b4f75;
  --ot-blue-soft: #eaf2f6;
  --ot-orange: #fd7d1c;
  --ot-orange-dark: #df6410;
  --ot-orange-soft: #fff0e4;
  --ot-ink: #102b3b;
  --ot-text: #2c4452;
  --ot-muted: #657986;
  --ot-line: #d9e2e7;
  --ot-soft: #f3f6f8;
  --ot-white: #fff;
  --ot-success: #19704d;
  --ot-danger: #b42318;
  --ot-shell: 1280px;
  --ot-header: 86px;
  --ot-radius: 6px;
  --ot-shadow: 0 22px 60px rgba(0, 38, 59, 0.13);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--ot-header) + 18px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-width: 320px;
  color: var(--ot-text);
  background: var(--ot-white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.ot-menu-open { overflow: hidden; }
body.admin-bar .ot-site-header { top: 32px; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
::selection { color: #fff; background: var(--ot-orange); }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ot-ink);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.034em;
}
h1 { font-size: clamp(2.75rem, 5.2vw, 4.75rem); }
h2 { font-size: clamp(2.05rem, 4vw, 3.55rem); }
h3 { font-size: clamp(1.15rem, 1.65vw, 1.42rem); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.ot-shell {
  width: min(calc(100% - 48px), var(--ot-shell));
  margin-inline: auto;
}
.ot-icon { width: 1.35em; height: 1.35em; flex: 0 0 auto; }
.ot-visually-hidden, .ot-skip-link {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.ot-skip-link:focus {
  position: fixed !important;
  z-index: 999999;
  top: 12px;
  left: 12px;
  width: auto !important;
  height: auto !important;
  padding: 12px 16px !important;
  margin: 0 !important;
  clip: auto !important;
  color: #fff;
  background: var(--ot-navy);
}
section[id] { scroll-margin-top: calc(var(--ot-header) + 14px); }

/* Header */
.ot-site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  width: 100%;
  height: var(--ot-header);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 38, 59, 0.1);
  transition: box-shadow 180ms ease, background-color 180ms ease;
}
.ot-site-header.is-scrolled { box-shadow: 0 12px 30px rgba(0, 38, 59, 0.11); }
.ot-header-inner {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
  gap: clamp(22px, 2.5vw, 42px);
}
.ot-brand { display: flex; width: clamp(158px, 15vw, 202px); flex: 0 0 auto; align-items: center; }
.ot-brand-image { width: 100%; height: auto; }
.ot-main-navigation { margin-left: auto; }
.ot-main-menu {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.65vw, 27px);
  padding: 0;
  margin: 0;
  list-style: none;
}
.ot-main-menu a {
  position: relative;
  display: block;
  padding: 10px 0;
  color: var(--ot-navy);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}
.ot-main-menu a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--ot-orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}
.ot-main-menu a:hover::after, .ot-main-menu a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.ot-header-actions { display: flex; align-items: center; gap: 20px; }
.ot-language-switcher { display: flex; align-items: center; gap: 3px; }
.ot-language-switcher a {
  display: grid;
  min-width: 30px;
  min-height: 30px;
  place-items: center;
  color: #78909d;
  font-size: 0.73rem;
  font-weight: 800;
  border-radius: 3px;
}
.ot-language-switcher a:hover, .ot-language-switcher a[aria-current="page"] { color: var(--ot-navy); background: var(--ot-blue-soft); }
.ot-menu-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; padding: 0; color: var(--ot-navy); background: transparent; border: 1px solid var(--ot-line); border-radius: 3px; }
.ot-menu-toggle .ot-icon { width: 24px; height: 24px; }
.ot-menu-toggle-close { display: none; }
.ot-menu-toggle[aria-expanded="true"] .ot-menu-toggle-open { display: none; }
.ot-menu-toggle[aria-expanded="true"] .ot-menu-toggle-close { display: block; }
.ot-mobile-navigation-footer { display: none; }

/* Buttons */
.ot-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.ot-button:hover { transform: translateY(-2px); }
.ot-button .ot-icon { width: 18px; height: 18px; }
.ot-button--primary { color: #fff; background: var(--ot-orange); box-shadow: 0 10px 25px rgba(253, 125, 28, 0.25); }
.ot-button--primary:hover { color: #fff; background: var(--ot-orange-dark); }
.ot-button--secondary { color: #fff; background: var(--ot-navy); }
.ot-button--secondary:hover { color: #fff; background: var(--ot-blue); }
.ot-button--outline-light { color: #fff; background: rgba(0, 38, 59, 0.25); border-color: rgba(255, 255, 255, 0.65); backdrop-filter: blur(5px); }
.ot-button--outline-light:hover { color: #fff; background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.ot-button--header { min-height: 46px; padding: 10px 18px; font-size: 0.72rem; }
.ot-button--full { width: 100%; }

/* Shared section headings */
.ot-section { padding: clamp(82px, 8vw, 124px) 0; }
.ot-eyebrow, .ot-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 17px;
  color: var(--ot-orange);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.115em;
  text-transform: uppercase;
}
.ot-eyebrow::before, .ot-kicker::before { width: 28px; height: 3px; content: ""; background: currentColor; }
.ot-eyebrow--light { color: var(--ot-orange); }
.ot-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: end;
  margin-bottom: clamp(44px, 5vw, 70px);
}
.ot-section-heading--wide { grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.66fr); }
.ot-section-intro { color: var(--ot-muted); font-size: 1.03rem; line-height: 1.75; }

/* Hero */
.ot-hero {
  position: relative;
  min-height: 750px;
  overflow: hidden;
  color: #fff;
  background: var(--ot-navy);
}
.ot-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, var(--ot-orange) 0 31%, #fff 31% 32%, var(--ot-blue) 32% 100%);
}
.ot-hero-media {
  position: absolute;
  inset: 0 0 0 42%;
  overflow: hidden;
}
.ot-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.ot-hero-media::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(90deg, var(--ot-navy) 0%, rgba(0, 38, 59, 0.92) 15%, rgba(0, 38, 59, 0.35) 57%, rgba(0, 38, 59, 0.08) 100%);
}
.ot-hero-media::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(0deg, rgba(0, 21, 33, 0.55), transparent 48%);
}
.ot-hero-inner {
  position: relative;
  z-index: 4;
  display: flex;
  min-height: 750px;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0 48px;
}
.ot-hero-copy { width: min(665px, 57%); }
.ot-hero h1 { color: #fff; text-wrap: balance; }
.ot-hero h1 span { color: var(--ot-orange); }
.ot-hero-lead { max-width: 640px; margin-top: 25px; color: #f3f7f9; font-size: clamp(1.04rem, 1.55vw, 1.23rem); line-height: 1.55; }
.ot-hero-sublead { max-width: 600px; margin-top: -3px; color: #b9cbd5; font-size: 0.98rem; }
.ot-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.ot-hero-proof {
  display: grid;
  width: min(1100px, 100%);
  grid-template-columns: repeat(5, 1fr);
  margin-top: 62px;
  background: rgba(0, 24, 37, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}
.ot-proof-item { display: flex; min-height: 92px; align-items: center; gap: 13px; padding: 18px 19px; border-right: 1px solid rgba(255, 255, 255, 0.13); }
.ot-proof-item:last-child { border-right: 0; }
.ot-proof-icon { color: var(--ot-orange); }
.ot-proof-icon .ot-icon { width: 29px; height: 29px; }
.ot-proof-item strong { display: block; color: #fff; font-size: 0.83rem; line-height: 1.25; }
.ot-proof-item small { display: block; margin-top: 4px; color: #9eb4c1; font-size: 0.68rem; line-height: 1.35; }

/* Industry ribbon */
.ot-industry-section { padding: 72px 0 0; background: #fff; }
.ot-industry-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr) auto;
  gap: 44px;
  align-items: end;
  padding-bottom: 34px;
}
.ot-industry-heading h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.ot-industry-heading > p { margin: 0; color: var(--ot-muted); }
.ot-carousel-controls { display: flex; gap: 8px; }
.ot-carousel-controls button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--ot-navy);
  background: #fff;
  border: 1px solid var(--ot-line);
}
.ot-carousel-controls button:hover { color: #fff; background: var(--ot-orange); border-color: var(--ot-orange); }
.ot-industry-track {
  display: grid;
  grid-auto-columns: minmax(210px, 1fr);
  grid-auto-flow: column;
  gap: 2px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--ot-orange) var(--ot-soft);
}
.ot-industry-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--ot-navy);
}
.ot-industry-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms ease; }
.ot-industry-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, rgba(0, 38, 59, 0.03) 20%, rgba(0, 27, 43, 0.96) 96%); }
.ot-industry-card:hover img { transform: scale(1.045); }
.ot-industry-overlay { position: absolute; z-index: 2; right: 18px; bottom: 18px; left: 18px; display: flex; align-items: center; gap: 10px; color: #fff; }
.ot-industry-overlay strong { font-size: 0.89rem; line-height: 1.28; }
.ot-industry-icon { color: var(--ot-orange); }
.ot-industry-icon .ot-icon { width: 25px; height: 25px; }
.ot-industry-number { position: absolute; z-index: 2; top: 13px; right: 13px; padding: 4px 7px; color: #fff; background: var(--ot-orange); font-size: 0.63rem; font-weight: 800; }

/* Stats */
.ot-stats-section { padding: 50px 0 62px; background: #fff; border-bottom: 1px solid var(--ot-line); }
.ot-small-section-title { margin-bottom: 28px; color: var(--ot-navy); font-size: 1.22rem; letter-spacing: 0; text-transform: uppercase; }
.ot-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ot-line); }
.ot-stat-card { min-height: 152px; padding: 27px 28px; border-right: 1px solid var(--ot-line); }
.ot-stat-card:last-child { border-right: 0; }
.ot-stat-icon { color: var(--ot-orange); }
.ot-stat-icon .ot-icon { width: 31px; height: 31px; }
.ot-stat-card strong { display: block; margin-top: 18px; color: var(--ot-orange); font-size: 1.22rem; line-height: 1.15; text-transform: uppercase; }
.ot-stat-card small { display: block; margin-top: 7px; color: var(--ot-text); font-size: 0.82rem; }

/* Services */
.ot-services-section { background: var(--ot-soft); }
.ot-services-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 28px; align-items: stretch; }
.ot-services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ot-service-card {
  position: relative;
  min-height: 285px;
  padding: 31px 30px 29px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ot-line);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.ot-service-card::after { position: absolute; right: 0; bottom: 0; width: 38px; height: 38px; content: ""; background: linear-gradient(135deg, transparent 50%, var(--ot-orange) 50%); opacity: 0.2; }
.ot-service-card:hover { transform: translateY(-4px); border-color: rgba(253, 125, 28, 0.45); box-shadow: var(--ot-shadow); }
.ot-service-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.ot-service-topline > span:first-child { color: var(--ot-orange); font-size: 0.73rem; font-weight: 900; letter-spacing: 0.1em; }
.ot-service-icon { display: grid; width: 48px; height: 48px; place-items: center; color: var(--ot-navy); background: var(--ot-blue-soft); }
.ot-service-icon .ot-icon { width: 25px; height: 25px; }
.ot-service-card h3 { color: var(--ot-navy); }
.ot-service-card p { margin-top: 16px; color: var(--ot-muted); font-size: 0.91rem; line-height: 1.7; }
.ot-differentiators {
  position: sticky;
  top: calc(var(--ot-header) + 24px);
  align-self: start;
  padding: 38px 33px;
  color: #fff;
  background: linear-gradient(145deg, var(--ot-navy), var(--ot-navy-800));
  box-shadow: var(--ot-shadow);
}
.ot-differentiators h3 { color: #fff; font-size: 1.8rem; }
.ot-differentiators ul { padding: 0; margin: 30px 0; list-style: none; }
.ot-differentiators li { display: flex; gap: 12px; margin: 0 0 17px; color: #d6e2e8; font-size: 0.9rem; line-height: 1.5; }
.ot-differentiators li span { color: var(--ot-orange); }
.ot-differentiators li .ot-icon { width: 18px; height: 18px; margin-top: 2px; }
.ot-text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--ot-orange); font-size: 0.8rem; font-weight: 850; letter-spacing: 0.04em; text-transform: uppercase; }
.ot-text-link:hover { color: #fff; }
.ot-text-link .ot-icon { width: 18px; height: 18px; }

/* Qualification */
.ot-qualification-section { padding: clamp(82px, 8vw, 120px) 0; color: #fff; background: var(--ot-navy); }
.ot-qualification-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: clamp(44px, 7vw, 100px); align-items: center; }
.ot-qualification-image { position: relative; min-height: 560px; }
.ot-qualification-image::before { position: absolute; inset: 24px -24px -24px 24px; content: ""; border: 2px solid var(--ot-orange); }
.ot-qualification-image img { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ot-image-label { position: absolute; z-index: 2; right: 0; bottom: 0; padding: 11px 17px; color: #fff; background: var(--ot-orange); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.08em; }
.ot-qualification-copy h2 { color: #fff; }
.ot-qualification-copy > p { margin-top: 22px; color: #c9d8e0; font-size: 0.98rem; line-height: 1.75; }
.ot-tag-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 29px; }
.ot-tag-list span { padding: 8px 11px; color: #fff; background: rgba(255, 255, 255, 0.07); border-left: 3px solid var(--ot-orange); font-size: 0.73rem; font-weight: 750; }
.ot-qualification-note { display: flex; align-items: center; gap: 13px; padding-top: 24px; margin-top: 30px !important; border-top: 1px solid rgba(255, 255, 255, 0.15); color: #fff !important; font-weight: 700; }
.ot-qualification-note .ot-icon { color: var(--ot-orange); width: 28px; height: 28px; }

/* Projects */
.ot-projects-section { background: #fff; }
.ot-project-showcase { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr); gap: clamp(24px, 4.4vw, 64px); align-items: stretch; padding: clamp(16px, 2vw, 26px); background: var(--ot-soft); border: 1px solid var(--ot-line); }
.ot-project-illustration { position: relative; min-height: 610px; margin: 0; overflow: hidden; background: var(--ot-navy); }
.ot-project-illustration::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 62%, rgba(0, 38, 59, 0.6)); pointer-events: none; }
.ot-project-illustration img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ot-project-illustration figcaption { position: absolute; z-index: 2; right: 14px; bottom: 14px; padding: 7px 10px; color: #fff; background: rgba(0, 38, 59, 0.86); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.ot-project-scope-grid { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ot-project-scope-card { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 3vw, 38px); overflow: hidden; background: #fff; border-left: 4px solid var(--ot-orange); }
.ot-project-scope-card::after { position: absolute; right: -24px; bottom: -42px; width: 120px; height: 120px; content: ""; border: 18px solid var(--ot-blue-soft); border-radius: 50%; opacity: 0.72; }
.ot-project-index { position: relative; z-index: 1; color: var(--ot-orange); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.12em; }
.ot-project-scope-card h3 { position: relative; z-index: 1; margin-top: 10px; color: var(--ot-navy); font-size: clamp(1.28rem, 2vw, 1.8rem); }
.ot-project-scope-card p { position: relative; z-index: 1; margin-top: 13px; color: var(--ot-muted); line-height: 1.68; }

/* About */
.ot-about-section { background: var(--ot-soft); }
.ot-about-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.75fr); gap: clamp(48px, 7vw, 105px); align-items: center; }
.ot-about-copy p:not(.ot-eyebrow) { margin-top: 21px; color: var(--ot-muted); font-size: 1.02rem; line-height: 1.75; }
.ot-about-copy .ot-button { margin-top: 24px; }
.ot-about-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--ot-line); border: 1px solid var(--ot-line); }
.ot-about-badges div { min-height: 175px; padding: 32px; background: #fff; }
.ot-about-badges strong { display: block; color: var(--ot-orange); font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1; }
.ot-about-badges span { display: block; margin-top: 13px; color: var(--ot-navy); font-size: 0.82rem; font-weight: 750; text-transform: uppercase; }

/* Contact */
.ot-contact-section { padding: clamp(82px, 8vw, 120px) 0; color: #fff; background: linear-gradient(135deg, var(--ot-navy-950), var(--ot-navy)); }
.ot-contact-header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr); gap: clamp(35px, 6vw, 90px); align-items: end; margin-bottom: 48px; }
.ot-contact-header h2 { color: #fff; }
.ot-contact-header > p { margin: 0; color: #b8cbd5; }
.ot-contact-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(440px, 0.72fr); gap: 30px; align-items: start; }
.ot-department-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ot-department-card { min-height: 220px; padding: 25px; background: rgba(255, 255, 255, 0.055); border: 1px solid rgba(255, 255, 255, 0.13); }
.ot-department-card:first-child { grid-column: 1 / -1; min-height: 196px; }
.ot-department-icon { display: grid; width: 41px; height: 41px; place-items: center; color: var(--ot-orange); background: rgba(253, 125, 28, 0.12); }
.ot-department-icon .ot-icon { width: 22px; height: 22px; }
.ot-department-card h3 { margin-top: 19px; color: #fff; font-size: 1.08rem; }
.ot-department-card p { margin-top: 10px; color: #9fb5c1; font-size: 0.82rem; line-height: 1.55; }
.ot-department-card a { display: block; margin-top: 14px; color: var(--ot-orange); font-size: 0.82rem; font-weight: 800; overflow-wrap: anywhere; }
.ot-department-card a:hover { color: #fff; }
.ot-department-card .ot-department-phone { margin-top: 5px; color: #fff; font-size: 1.05rem; }
.ot-form-panel { padding: 35px; color: var(--ot-text); background: #fff; box-shadow: var(--ot-shadow); }
.ot-form-panel > h3 { margin-bottom: 27px; color: var(--ot-navy); font-size: 1.55rem; }
.ot-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 15px; }
.ot-form-field { margin: 0; }
.ot-form-field--full { grid-column: 1 / -1; }
.ot-form-field label { display: block; margin-bottom: 6px; color: var(--ot-navy); font-size: 0.72rem; font-weight: 800; }
.ot-form-field input, .ot-form-field textarea, .ot-form-field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ot-ink);
  background: #f9fbfc;
  border: 1px solid var(--ot-line);
  border-radius: 0;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.ot-form-field textarea { min-height: 120px; resize: vertical; }
.ot-form-field input:focus, .ot-form-field textarea:focus, .ot-form-field select:focus { border-color: var(--ot-orange); box-shadow: 0 0 0 3px rgba(253, 125, 28, 0.12); }
.ot-form-consent { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0; color: var(--ot-muted); font-size: 0.72rem; line-height: 1.45; }
.ot-form-consent input { margin-top: 3px; accent-color: var(--ot-orange); }
.ot-form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ot-form-message { padding: 12px 14px; margin-bottom: 18px; font-size: 0.82rem; font-weight: 700; }
.ot-form-message--success { color: var(--ot-success); background: #eaf7f1; border: 1px solid #b9e0cf; }
.ot-form-message--error { color: var(--ot-danger); background: #fff0ef; border: 1px solid #f2c1bc; }

/* Footer */
.ot-site-footer { color: #fff; background: var(--ot-navy-950); border-top: 4px solid var(--ot-orange); }
.ot-footer-main { display: grid; grid-template-columns: 240px 1fr auto; gap: 50px; align-items: center; padding-top: 43px; padding-bottom: 37px; }
.ot-footer-brand { display: block; width: 190px; }
.ot-footer-brand img { width: 100%; height: auto; }
.ot-footer-claim { margin: 0; color: #9fb4c0; font-size: 0.88rem; }
.ot-footer-email { display: inline-flex; align-items: center; gap: 11px; color: #fff; font-size: 1.05rem; font-weight: 800; }
.ot-footer-email:hover { color: var(--ot-orange); }
.ot-footer-email .ot-icon { color: var(--ot-orange); }
.ot-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-top: 22px; padding-bottom: 24px; color: #78909d; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.72rem; }
.ot-footer-links { display: flex; gap: 20px; }
.ot-footer-links a:hover { color: #fff; }

/* Lightbox */
.ot-lightbox[hidden] { display: none; }
.ot-lightbox { position: fixed; z-index: 99999; inset: 0; display: grid; place-items: center; padding: 70px; color: #fff; background: rgba(0, 15, 23, 0.96); }
.ot-lightbox figure { width: min(1100px, 88vw); max-height: 82vh; margin: 0; text-align: center; }
.ot-lightbox figure img { width: 100%; max-height: 76vh; object-fit: contain; }
.ot-lightbox figcaption { margin-top: 13px; color: #c4d2da; font-size: 0.82rem; }
.ot-lightbox button { position: absolute; display: grid; width: 50px; height: 50px; place-items: center; color: #fff; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2); }
.ot-lightbox button:hover { background: var(--ot-orange); border-color: var(--ot-orange); }
.ot-lightbox-close { top: 22px; right: 22px; }
.ot-lightbox-prev { top: 50%; left: 22px; transform: translateY(-50%); }
.ot-lightbox-next { top: 50%; right: 22px; transform: translateY(-50%); }

/* Career */
.ot-subhero { position: relative; min-height: 590px; overflow: hidden; color: #fff; background: var(--ot-navy); }
.ot-subhero-media { position: absolute; inset: 0 0 0 45%; }
.ot-subhero-media img { width: 100%; height: 100%; object-fit: cover; }
.ot-subhero-media::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, var(--ot-navy), rgba(0, 38, 59, 0.4)); }
.ot-subhero-inner { position: relative; z-index: 2; display: flex; min-height: 590px; max-width: var(--ot-shell); flex-direction: column; justify-content: center; }
.ot-subhero-inner h1 { max-width: 760px; color: #fff; }
.ot-subhero-inner > p:not(.ot-kicker) { max-width: 680px; margin-top: 24px; color: #c7d6de; font-size: 1.08rem; }
.ot-subhero-inner .ot-button { align-self: flex-start; margin-top: 28px; }
.ot-career-benefits { background: var(--ot-soft); }
.ot-career-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ot-career-card { padding: 36px 30px; background: #fff; border: 1px solid var(--ot-line); }
.ot-career-number { color: var(--ot-orange); font-size: 0.74rem; font-weight: 900; letter-spacing: 0.12em; }
.ot-career-card h2 { margin-top: 20px; font-size: 1.65rem; }
.ot-career-card ul { padding: 0; margin: 27px 0 0; list-style: none; }
.ot-career-card li { display: flex; gap: 10px; margin-bottom: 15px; color: var(--ot-muted); font-size: 0.9rem; }
.ot-career-card li .ot-icon { width: 18px; height: 18px; margin-top: 3px; color: var(--ot-orange); }
.ot-career-professions { padding: 82px 0; color: #fff; background: var(--ot-navy); }
.ot-career-professions-layout { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr); gap: 55px; align-items: start; }
.ot-career-professions h2 { color: #fff; font-size: 2.4rem; }
.ot-profession-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ot-profession-list span { padding: 12px 14px; color: #fff; background: rgba(255, 255, 255, 0.065); border-left: 3px solid var(--ot-orange); font-size: 0.83rem; }
.ot-career-cta { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.ot-career-cta > a:first-child { color: var(--ot-orange); font-size: 1.2rem; font-weight: 800; }

/* Generic pages and errors */
.ot-generic-page { min-height: 60vh; padding: 80px 0 100px; background: var(--ot-soft); }
.ot-generic-layout { max-width: 940px; }
.ot-generic-article { padding: clamp(30px, 5vw, 65px); background: #fff; border: 1px solid var(--ot-line); }
.ot-generic-article h1 { font-size: clamp(2.3rem, 4vw, 3.7rem); }
.ot-entry-content { margin-top: 35px; }
.ot-entry-content h2, .ot-entry-content h3 { margin: 1.4em 0 0.6em; }
.ot-entry-content a { color: var(--ot-orange-dark); text-decoration: underline; text-underline-offset: 0.18em; }
.ot-entry-content img { height: auto; }
.ot-error-page { display: grid; min-height: 65vh; place-items: center; padding: 80px 0; text-align: center; }
.ot-error-page span { color: var(--ot-orange); font-size: 6rem; font-weight: 900; line-height: 1; }
.ot-error-page h1 { margin-top: 15px; }
.ot-error-page p { margin-top: 17px; color: var(--ot-muted); }
.ot-error-page .ot-button { margin-top: 24px; }

/* Responsive */
@media (max-width: 1180px) {
  :root { --ot-header: 76px; }
  .ot-header-inner { gap: 20px; }
  .ot-main-menu { gap: 15px; }
  .ot-main-menu a { font-size: 0.68rem; }
  .ot-button--header { padding-inline: 13px; }
  .ot-services-layout { grid-template-columns: minmax(0, 1fr) 310px; }
}

@media (max-width: 1040px) {
  .ot-menu-toggle { display: flex; margin-left: auto; }
  .ot-header-actions { display: none; }
  .ot-main-navigation {
    position: absolute;
    top: 100%;
    right: -24px;
    left: -24px;
    display: none;
    max-height: calc(100vh - var(--ot-header));
    margin: 0;
    overflow-y: auto;
    background: #fff;
    border-top: 1px solid var(--ot-line);
    box-shadow: 0 22px 40px rgba(0, 38, 59, 0.16);
  }
  .ot-main-navigation.is-open { display: block; }
  .ot-main-menu { display: block; padding: 16px 24px 8px; }
  .ot-main-menu li { border-bottom: 1px solid var(--ot-line); }
  .ot-main-menu a { padding: 14px 2px; font-size: 0.8rem; }
  .ot-main-menu a::after { display: none; }
  .ot-mobile-navigation-footer { display: grid; gap: 14px; padding: 14px 24px 24px; }
  .ot-mobile-navigation-footer .ot-language-switcher { justify-content: center; }
  .ot-hero-copy { width: min(650px, 66%); }
  .ot-hero-proof { grid-template-columns: repeat(3, 1fr); }
  .ot-proof-item:nth-child(3) { border-right: 0; }
  .ot-proof-item:nth-child(-n+3) { border-bottom: 1px solid rgba(255, 255, 255, 0.13); }
  .ot-services-layout { grid-template-columns: 1fr; }
  .ot-differentiators { position: relative; top: auto; }
  .ot-about-layout { grid-template-columns: 1fr 1fr; }
  .ot-contact-layout { grid-template-columns: 1fr; }
  .ot-department-grid { grid-template-columns: repeat(3, 1fr); }
  .ot-department-card:first-child { grid-column: span 2; }
}

@media (max-width: 800px) {
  body.admin-bar .ot-site-header { top: 46px; }
  .ot-shell { width: min(calc(100% - 34px), var(--ot-shell)); }
  .ot-site-header { height: 72px; }
  .ot-header-inner { width: 100%; padding-inline: 17px; }
  .ot-brand { width: 158px; }
  .ot-main-navigation { right: 0; left: 0; }
  .ot-hero { min-height: 0; }
  .ot-hero-media { position: relative; inset: auto; height: 315px; }
  .ot-hero-media::before { background: linear-gradient(180deg, rgba(0, 38, 59, 0.06) 0%, rgba(0, 38, 59, 0.2) 55%, var(--ot-navy) 100%); }
  .ot-hero-media::after { background: linear-gradient(90deg, rgba(0, 38, 59, 0.2), transparent 75%); }
  .ot-hero-inner { min-height: 0; padding: 0 0 44px; margin-top: -82px; }
  .ot-hero-copy { position: relative; z-index: 3; width: 100%; }
  .ot-hero h1 { font-size: clamp(2.5rem, 11vw, 3.8rem); }
  .ot-hero-lead { font-size: 1rem; }
  .ot-hero-proof { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .ot-proof-item { border-bottom: 1px solid rgba(255, 255, 255, 0.13); }
  .ot-proof-item:nth-child(2n) { border-right: 0; }
  .ot-proof-item:nth-child(3) { border-right: 1px solid rgba(255, 255, 255, 0.13); }
  .ot-proof-item:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .ot-industry-section { padding-top: 60px; }
  .ot-industry-heading, .ot-section-heading, .ot-contact-header { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .ot-carousel-controls { margin-top: 5px; }
  .ot-industry-track { grid-auto-columns: minmax(220px, 65vw); }
  .ot-stats-grid { grid-template-columns: 1fr 1fr; }
  .ot-stat-card:nth-child(2) { border-right: 0; }
  .ot-stat-card:nth-child(-n+2) { border-bottom: 1px solid var(--ot-line); }
  .ot-services-grid { grid-template-columns: 1fr; }
  .ot-service-card { min-height: auto; }
  .ot-qualification-layout { grid-template-columns: 1fr; }
  .ot-qualification-image { min-height: 430px; margin-right: 16px; }
  .ot-project-showcase { grid-template-columns: 1fr; }
  .ot-project-illustration { min-height: 0; aspect-ratio: 16 / 10; }
  .ot-project-scope-grid { grid-template-rows: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ot-about-layout { grid-template-columns: 1fr; }
  .ot-department-grid { grid-template-columns: 1fr 1fr; }
  .ot-department-card:first-child { grid-column: 1 / -1; }
  .ot-footer-main { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .ot-footer-brand { margin-inline: auto; }
  .ot-footer-email { justify-content: center; }
  .ot-footer-bottom { flex-direction: column; text-align: center; }
  .ot-career-groups { grid-template-columns: 1fr; }
  .ot-subhero { min-height: 0; }
  .ot-subhero-media { position: relative; inset: auto; height: 300px; }
  .ot-subhero-media::after { background: linear-gradient(180deg, transparent, var(--ot-navy)); }
  .ot-subhero-inner { min-height: 0; padding-bottom: 60px; margin-top: -80px; }
  .ot-career-professions-layout { grid-template-columns: 1fr; }
  .ot-career-cta { grid-column: auto; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .ot-shell { width: min(calc(100% - 28px), var(--ot-shell)); }
  .ot-header-inner { padding-inline: 14px; }
  .ot-main-navigation { right: 0; left: 0; }
  .ot-brand { width: 148px; }
  .ot-menu-toggle { width: 42px; height: 42px; }
  .ot-hero-media { height: 285px; }
  .ot-hero-inner { margin-top: -66px; }
  .ot-hero h1 { font-size: 2.55rem; }
  .ot-hero-actions { flex-direction: column; }
  .ot-hero-actions .ot-button { width: 100%; }
  .ot-hero-proof { grid-template-columns: 1fr; }
  .ot-proof-item, .ot-proof-item:nth-child(3) { border-right: 0; }
  .ot-proof-item:last-child { grid-column: auto; }
  .ot-industry-track { grid-auto-columns: 80vw; }
  .ot-industry-card { min-height: 230px; }
  .ot-stats-grid { grid-template-columns: 1fr; }
  .ot-stat-card { min-height: 130px; border-right: 0; border-bottom: 1px solid var(--ot-line); }
  .ot-stat-card:last-child { border-bottom: 0; }
  .ot-stat-card:nth-child(-n+2) { border-bottom: 1px solid var(--ot-line); }
  .ot-differentiators, .ot-form-panel { padding: 29px 23px; }
  .ot-qualification-image { min-height: 335px; }
  .ot-qualification-image::before { inset: 13px -13px -13px 13px; }
  .ot-project-showcase { padding: 10px; }
  .ot-project-illustration { aspect-ratio: 4 / 3; }
  .ot-project-scope-grid { grid-template-columns: 1fr; }
  .ot-project-scope-card { min-height: 210px; }
  .ot-about-badges { grid-template-columns: 1fr; }
  .ot-about-badges div { min-height: 135px; }
  .ot-department-grid { grid-template-columns: 1fr; }
  .ot-department-card:first-child { grid-column: auto; }
  .ot-form-grid { grid-template-columns: 1fr; }
  .ot-form-field--full { grid-column: auto; }
  .ot-profession-list { grid-template-columns: 1fr; }
  .ot-lightbox { padding: 58px 10px; }
  .ot-lightbox figure { width: 100%; }
  .ot-lightbox-prev { left: 8px; }
  .ot-lightbox-next { right: 8px; }
  .ot-lightbox button { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* 0.4.0: additions use the existing ONE TEAM palette and layout. */
[hidden] { display: none !important; }
:where(a,button,input,textarea,select,summary):focus-visible { outline: 3px solid #da6100; outline-offset: 4px; }
.ot-contact-details { min-width: 0; }
.ot-company-card { margin-top: 28px; padding: 26px; border: 1px solid currentColor; border-color: rgba(134,159,173,.3); text-align: left; }
.ot-company-card h3 { margin-bottom: 14px; color: inherit; font-size: 1.2rem; }
.ot-company-card address { font-style: normal; font-size: .9rem; }
.ot-company-card dl { display: grid; gap: 8px; margin: 18px 0 0; }
.ot-company-card dl > div { display: grid; grid-template-columns: minmax(80px,.45fr) minmax(0,1fr); gap: 12px; font-size: .78rem; line-height: 1.6; }
.ot-company-card dt { font-weight: 700; }
.ot-company-card dd { margin: 0; overflow-wrap: anywhere; }
.ot-contact-details .ot-company-card { color: #cbdbe3; }
.ot-contact-details .ot-company-card h3 { color: white; }
.ot-footer-company { padding-bottom: 32px; }
.ot-footer-company .ot-company-card { margin-top: 0; color: #b7cbd5; }
.ot-footer-company .ot-company-card dl { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 40px; }
.ot-footer-company .ot-company-card h3 { color: white; }
.ot-footer-bottom { flex-wrap: wrap; color: #acc1cc; }
.ot-footer-links { flex-wrap: wrap; row-gap: 12px; }
.ot-form-help { margin: 0 0 20px; font-size: .8rem; color: var(--ot-muted); }
.ot-form-grid + .ot-form-honeypot + .ot-form-help { margin-top: 22px; }
.ot-form-help a,.ot-inline-link { text-decoration: underline; text-underline-offset: 3px; font-weight: 650; }
.ot-form-field small { display: block; margin-top: 7px; color: var(--ot-muted); font-size: .72rem; }
.ot-form-field input[type=file] { min-width: 0; max-width: 100%; padding: 10px; font-size: .78rem; }
.ot-form-field input[type=file]::file-selector-button { border: 0; padding: 7px 10px; margin-right: 9px; background: var(--ot-navy); color: white; cursor: pointer; }
.ot-contact-form button[disabled] { opacity: .65; cursor: wait; }
.ot-career-contact { background: var(--ot-off-white,#f2f5f6); }
.ot-career-contact-layout { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1fr); gap: clamp(30px,6vw,80px); align-items: start; }
.ot-career-contact-layout h2 { margin-bottom: 24px; }
.ot-legal-layout { max-width: 1000px; padding-top: 65px; padding-bottom: 85px; }
.ot-breadcrumbs { font-size: .85rem; margin-bottom: 30px; color: var(--ot-muted); }
.ot-breadcrumbs a { text-decoration: underline; }
.ot-legal-page h1 { font-size: clamp(2rem,4vw,3.6rem); overflow-wrap: anywhere; }
.ot-legal-page .ot-company-card { max-width: 760px; background: #f4f7f9; color: var(--ot-navy); }
.ot-legal-contact { margin: 16px 0 42px; font-size: .92rem; overflow-wrap: anywhere; }
.ot-prose { max-width: 850px; }
.ot-prose h2 { margin: 35px 0 14px; font-size: clamp(1.3rem,2.5vw,1.7rem); line-height: 1.3; }
.ot-prose p { color: #425967; line-height: 1.8; }
.ot-prose a { text-decoration: underline; }
.ot-legal-date { margin: 35px 0 24px; color: var(--ot-muted); font-size: .8rem; }
.ot-review-note { padding: 15px; background: #fff0ce; margin-top: 24px; }
.ot-cookie-dialog { width: min(640px,calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 1px solid #c7d6dd; box-shadow: 0 30px 100px #001f33a0; color: var(--ot-text); }
.ot-cookie-dialog:not([open]) { display: none; }
.ot-cookie-dialog::backdrop { background: #001c30ba; }
.ot-cookie-inner { padding: clamp(24px,5vw,40px); }
.ot-cookie-inner h2 { font-size: 1.8rem; margin-bottom: 20px; }
.ot-cookie-status { margin: 25px 0; }
.ot-cookie-status > div { padding: 15px 0; border-top: 1px solid #dce4e9; display: flex; gap: 20px; justify-content: space-between; font-size: .9rem; }
.ot-cookie-status dt { font-weight: 750; }
.ot-cookie-status dd { margin: 0; text-align: right; }
.ot-process { padding-top: 0; }
.ot-process-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; }
.ot-process-step { padding: 24px; background: #f4f7f9; border-top: 3px solid var(--ot-orange); }
.ot-process-step > span { display: block; color: var(--ot-orange); margin-bottom: 16px; font-weight: 800; }
.ot-process-step h3 { margin-bottom: 14px; }
.ot-process-step p { font-size: .9rem; color: var(--ot-muted); }
@media (max-width: 800px) {
    .ot-footer-company .ot-company-card dl { grid-template-columns: 1fr; }
    .ot-footer-links { justify-content: center; }
    .ot-career-contact-layout { grid-template-columns: 1fr; }
    .ot-process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .ot-form-field input,.ot-form-field textarea,.ot-form-field select { font-size: 16px; }
}
@media (max-width: 560px) {
    .ot-company-card { padding: 20px; }
    .ot-company-card dl > div { grid-template-columns: minmax(75px,.6fr) minmax(0,1fr); }
    .ot-footer-links { gap: 12px 16px; }
    .ot-process-grid { grid-template-columns: 1fr; }
}

.ot-industry-track:focus-visible { outline: 3px solid #da6100; outline-offset: -3px; }
