:root {
  --ink: #102039;
  --muted: #5d6879;
  --paper: #f3f5f8;
  --white: #ffffff;
  --teal: #173c68;
  --teal-dark: #0a1d38;
  --copper: #e40046;
  --line: #d8dee8;
  --shadow: 0 20px 55px rgba(8, 25, 51, .14);
  --radius: 20px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 999; background: var(--ink); color: white; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7, 24, 49, .96); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255, 255, 255, .1); color: white; }
.nav-wrap { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-logo { display: block; width: 178px; height: 64px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); opacity: .92; }
.nav-links { display: flex; align-items: center; gap: 7px; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 700; padding: 9px 11px; border-radius: 999px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: rgba(255,255,255,.12); color: white; }
.nav-links .nav-cta { color: white; background: var(--copper); padding-inline: 17px; }
.nav-links .nav-cta:hover { background: #bd003b; color: white; }
.menu-button { display: none; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); color: white; border-radius: 10px; padding: 9px 12px; font: inherit; font-weight: 700; }

.hero { min-height: 720px; display: grid; align-items: center; overflow: hidden; position: relative; background: #081a33 url("assets/hero-offshore.jpg") center 56% / cover no-repeat; color: white; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,20,42,.84) 0%, rgba(5,20,42,.58) 48%, rgba(5,20,42,.8) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(transparent, rgba(5,20,42,.35)); }
.hero-content { position: relative; z-index: 1; text-align: center; padding-block: 100px; }
.eyebrow { color: var(--copper); text-transform: uppercase; letter-spacing: .15em; font-weight: 800; font-size: 12px; margin: 0 0 16px; }
.hero .eyebrow { color: rgba(255,255,255,.72); }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.035em; line-height: 1.08; }
h1 { font-size: clamp(46px, 6vw, 78px); margin: 0 0 24px; max-width: 780px; }
h2 { font-size: clamp(34px, 4vw, 52px); margin: 0 0 20px; }
h3 { font-size: 24px; margin: 0 0 12px; }
.hero h1 { font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-weight: 800; max-width: none; text-shadow: 0 3px 24px rgba(0,0,0,.32); }
.hero-tagline { margin: -8px 0 20px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(18px, 2.2vw, 25px); color: rgba(255,255,255,.9); }
.lede { font-size: clamp(17px, 1.8vw, 20px); color: rgba(255,255,255,.8); max-width: 700px; margin: 0 auto 34px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .button-row { justify-content: center; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 20px; border-radius: 999px; text-decoration: none; font-weight: 800; border: 1px solid transparent; }
.button-primary { background: var(--copper); color: white; }
.button-primary:hover { background: #bd003b; }
.button-secondary { border-color: rgba(255,255,255,.42); color: white; }
.button-secondary:hover { background: rgba(255,255,255,.09); }
.button-dark { background: var(--teal); color: white; }
.button-dark:hover { background: var(--teal-dark); }

.field-visual { min-height: 420px; position: relative; display: grid; place-items: center; }
.coil { position: absolute; border: 2px solid rgba(255,255,255,.55); border-radius: 50%; width: 310px; height: 310px; box-shadow: 0 0 0 22px rgba(255,255,255,.035), 0 0 0 44px rgba(255,255,255,.02); }
.coil::before, .coil::after { content: ""; position: absolute; border-radius: 50%; border: 1px dashed rgba(255,255,255,.3); inset: 42px; }
.coil::after { inset: 95px; background: radial-gradient(circle, rgba(198,104,60,.8), rgba(198,104,60,0) 65%); border: 0; }
.scan-line { width: 430px; height: 2px; background: linear-gradient(90deg, transparent, #f5a47d, white, transparent); transform: rotate(-21deg); box-shadow: 0 0 20px rgba(245,164,125,.8); }
.signal-card { position: absolute; right: 0; bottom: 8px; width: 245px; padding: 20px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 16px; backdrop-filter: blur(12px); }
.signal-card small { color: rgba(255,255,255,.67); }
.signal-wave { height: 45px; margin-top: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='45' viewBox='0 0 220 45'%3E%3Cpath d='M0 25 C20 24 20 25 38 25 C52 25 53 6 64 6 C75 6 78 39 90 39 C104 39 102 22 117 22 C133 22 132 29 148 29 C166 29 166 25 181 25 C197 25 201 24 220 24' fill='none' stroke='%23f5a47d' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat; }

.section { padding-block: 92px; }
.section-white { background: var(--white); }
.section-dark { background: var(--ink); color: white; }
.section-head { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: start; margin-bottom: 46px; }
.section-head p { margin: 4px 0 0; font-size: 18px; color: var(--muted); }
.section-dark .section-head p { color: rgba(255,255,255,.7); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: 0 8px 30px rgba(16,35,42,.045); }
.card-number { color: var(--copper); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.card p { color: var(--muted); margin: 0; }
.card ul { margin: 18px 0 0; padding: 0; list-style: none; }
.card li { padding: 10px 0; border-top: 1px solid var(--line); font-weight: 650; font-size: 15px; }
.text-link { display: inline-block; color: var(--teal); font-weight: 800; margin-top: 22px; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.proof-strip { background: #e9edf3; border-block: 1px solid var(--line); }
.proof-grid { min-height: 132px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.proof-item { padding: 18px 28px; border-left: 1px solid #cad3ce; }
.proof-item:first-child { border-left: 0; padding-left: 0; }
.proof-item strong { display: block; font-family: Georgia, serif; font-size: 28px; color: var(--teal-dark); }
.proof-item span { color: var(--muted); font-size: 13px; }

.industry-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.industry { aspect-ratio: .8; min-height: 260px; border-radius: 18px; overflow: hidden; position: relative; padding: 22px; display: flex; align-items: end; color: white; background-color: #102039; background-position: center; background-size: cover; }
.industry::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,25,51,.08) 20%, rgba(8,25,51,.88) 100%); }
.industry-offshore { background-image: url("assets/industry-offshore.jpg"); }
.industry-refinery { background-image: url("assets/industry-refinery.jpg"); }
.industry-transport { background-image: url("assets/industry-transport.jpg"); }
.industry-infrastructure { background-image: url("assets/industry-infrastructure.jpg"); }
.industry-power { background-image: url("assets/industry-power.jpg"); }
.industry span { position: relative; z-index: 1; font-family: Georgia, serif; font-weight: 700; font-size: 20px; line-height: 1.15; }
.accent-link { color: #ff5a87; }

.bio-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: center; }
.portrait-photo { margin: 0; border-radius: 28px; overflow: hidden; position: relative; background: #0a1d38; box-shadow: var(--shadow); }
.portrait-photo img { width: 100%; min-height: 470px; object-fit: cover; object-position: center; }
.portrait-photo figcaption { position: absolute; inset: auto 0 0; padding: 62px 34px 30px; display: grid; color: white; background: linear-gradient(transparent, rgba(5,20,42,.92)); }
.portrait-photo strong { font-family: Georgia, serif; font-size: 30px; }
.portrait-photo span { color: rgba(255,255,255,.76); }
.credentials { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.credential { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 7px 11px; font-size: 13px; font-weight: 800; }

.cta-band { background: var(--copper); color: white; }
.cta-wrap { padding-block: 65px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.cta-wrap h2 { max-width: 720px; margin: 0; }
.cta-wrap .button { background: white; color: var(--ink); white-space: nowrap; }

.page-hero { background: linear-gradient(110deg, rgba(5,20,42,.97), rgba(8,25,51,.8)), url("assets/industry-offshore.jpg") center 44% / cover; color: white; padding-block: 90px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 450px; height: 450px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; right: -80px; top: -190px; box-shadow: 0 0 0 55px rgba(255,255,255,.025); }
.page-hero p { max-width: 760px; font-size: 20px; color: rgba(255,255,255,.74); }
.content-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.sticky-label { position: sticky; top: 115px; align-self: start; }
.service-block { padding: 0 0 50px; margin-bottom: 50px; border-bottom: 1px solid var(--line); }
.service-block:last-child { border-bottom: 0; margin-bottom: 0; }
.service-block p { color: var(--muted); font-size: 17px; }
.check-list { list-style: none; padding: 0; margin: 25px 0 0; display: grid; gap: 12px; }
.check-list li { padding-left: 28px; position: relative; }
.check-list li::before { content: ""; width: 12px; height: 12px; border: 2px solid var(--teal); border-radius: 50%; position: absolute; left: 0; top: .48em; }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; }
.contact-panel { border-radius: 26px; background: var(--white); border: 1px solid var(--line); padding: 42px; }
.contact-panel-dark { background: var(--teal-dark); color: white; border: 0; }
.contact-panel-dark p { color: rgba(255,255,255,.75); }
.email-link { font-family: Georgia, serif; font-size: clamp(27px, 4vw, 42px); color: var(--teal); overflow-wrap: anywhere; }
.contact-panel-dark .email-link { color: white; }
.note { border-left: 3px solid var(--copper); padding-left: 18px; color: var(--muted); }

.site-footer { background: #06152b; color: white; padding-block: 50px 28px; }
.footer-brand .brand-logo { width: 210px; height: 86px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 40px; padding-bottom: 40px; }
.footer-grid h3 { font-family: inherit; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: #f5a47d; }
.footer-grid p, .footer-grid a { color: rgba(255,255,255,.65); }
.footer-links { display: grid; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.5); font-size: 13px; }

@media (max-width: 980px) {
  .section-head, .bio-grid, .content-grid, .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .industry:last-child { grid-column: 1 / -1; aspect-ratio: auto; min-height: 190px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); padding-block: 18px; }
  .proof-item:nth-child(3) { border-left: 0; }
  .sticky-label { position: static; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .menu-button { display: block; }
  .nav-links { display: none; position: absolute; left: 14px; right: 14px; top: 78px; flex-direction: column; align-items: stretch; padding: 14px; background: #0a1d38; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .hero { min-height: auto; }
  .hero { min-height: 640px; }
  .hero-content { padding-block: 76px; }
  .brand-logo { width: 150px; height: 56px; }
  .section { padding-block: 68px; }
  .grid-3, .industry-grid { grid-template-columns: 1fr; }
  .industry, .industry:last-child { grid-column: auto; aspect-ratio: auto; min-height: 180px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item, .proof-item:nth-child(3), .proof-item:first-child { border-left: 0; border-top: 1px solid #cad3ce; padding: 18px 0; }
  .proof-item:first-child { border-top: 0; }
  .cta-wrap { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; }
  .contact-panel { padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
