/* TUMSSAN brand system — responsive, accessible, framework-free. */
:root {
  color-scheme: light;
  --navy-950: #071a30;
  --navy-900: #0a2442;
  --navy-800: #123353;
  --navy-700: #204c73;
  --orange: #f39a40;
  --orange-deep: #a95410;
  --ink: #17283a;
  --muted: #566778;
  --line: #dce4eb;
  --surface: #fff;
  --surface-soft: #f4f7fa;
  --white: #fff;
  --shadow: 0 18px 42px rgb(9 37 66 / 9%);
  --radius: 14px;
  --font-body: "DM Sans", Arial, sans-serif;
  --font-heading: "Manrope", "DM Sans", Arial, sans-serif;
  --container: 1180px;
  --section-space: clamp(70px, 8vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; min-width: 320px; background: var(--surface); color: var(--ink); font: 400 16px/1.7 var(--font-body); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
::selection { background: #ffcf9c; color: var(--navy-950); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
[id] { scroll-margin-top: 100px; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.svg-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: absolute; z-index: 1000; left: 16px; top: -60px; padding: 10px 14px; background: var(--white); color: var(--navy-900); border-radius: 6px; }
.skip-link:focus { top: 12px; }

/* Header and responsive navigation */
.site-header { position: relative; z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; min-height: 86px; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; min-width: 0; }
.brand-mark { width: 60px; height: 60px; flex: 0 0 60px; color: var(--navy-900); }
.brand-wordmark { display: flex; min-width: 0; flex-direction: column; line-height: 1.08; }
.brand-name { font: 800 clamp(21px, 2.1vw, 28px)/1.05 var(--font-heading); letter-spacing: .075em; color: var(--navy-900); }
.brand-subtitle { margin-top: 5px; font: 800 9px/1.25 var(--font-heading); letter-spacing: .062em; color: #3a4a59; white-space: nowrap; }
.desktop-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); font-size: 13px; font-weight: 700; color: #405367; }
.desktop-nav > a:not(.nav-cta) { position: relative; padding: 12px 0; transition: color .2s ease; }
.desktop-nav > a:not(.nav-cta)::after { content: ""; position: absolute; bottom: 6px; left: 0; right: 100%; height: 2px; background: var(--orange-deep); transition: right .2s ease; }
.desktop-nav > a:hover { color: var(--navy-900); }
.desktop-nav > a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; color: var(--navy-900); border: 1px solid #b8c5d1; border-radius: 7px; padding: 10px 15px; transition: border-color .2s ease, background .2s ease; white-space: nowrap; }
.nav-cta:hover { background: var(--surface-soft); border-color: var(--navy-700); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { cursor: pointer; list-style: none; font-size: 14px; font-weight: 700; color: var(--navy-900); padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; display: flex; align-items: center; gap: 12px; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; position: relative; width: 17px; height: 2px; border-radius: 2px; background: var(--navy-900); }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -5px; }
.menu-bars::after { top: 5px; }
.mobile-links { position: absolute; right: 0; top: calc(100% + 12px); width: min(320px, calc(100vw - 32px)); background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 10px; display: grid; z-index: 40; }
.mobile-links a { display: block; border-radius: 6px; padding: 11px 13px; font-size: 15px; font-weight: 700; color: var(--navy-900); }
.mobile-links a:hover, .mobile-links a:focus-visible { background: var(--surface-soft); }

/* Shared components */
.section { padding-block: var(--section-space); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; color: var(--orange-deep); font-size: 11px; font-weight: 800; line-height: 1.4; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow-rule { width: 29px; height: 2px; flex: 0 0 29px; background: currentColor; }
.eyebrow-light { color: #f6b675; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { font-family: var(--font-heading); }
h2 { font-size: clamp(33px, 4vw, 52px); letter-spacing: -.045em; line-height: 1.16; color: var(--navy-900); margin: 0; font-weight: 800; }
h3 { letter-spacing: -.025em; }
.section-intro { max-width: 330px; margin: 0 0 4px; color: var(--muted); font-size: 16px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 40px; }
.section-copy { color: var(--muted); font-size: 16px; }
.section-copy p { margin: 0 0 17px; }
.section-copy strong { color: var(--navy-900); }
.section-copy .lead { font-size: 17px; line-height: 1.7; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 52px; padding: 14px 22px; border-radius: 7px; font-size: 13px; font-weight: 800; line-height: 1.25; text-align: center; transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--navy-950); border: 1px solid var(--orange); }
.btn-primary:hover { background: #ffc07d; border-color: #ffc07d; }
.btn-outline { border: 1px solid rgb(255 255 255 / 65%); color: white; background: rgb(255 255 255 / 5%); }
.btn-outline:hover { background: rgb(255 255 255 / 14%); border-color: var(--white); }
.text-link { display: inline-flex; gap: 12px; align-items: center; margin-top: 10px; font-size: 14px; font-weight: 800; color: var(--navy-900); border-bottom: 2px solid var(--orange); padding-bottom: 4px; }
.text-link:hover { color: var(--orange-deep); }

/* Hero uses the supplied refinery image, converted to an optimised WebP. */
.hero { position: relative; isolation: isolate; min-height: clamp(650px, 78svh, 820px); color: var(--white); background-color: var(--navy-950); background-image: linear-gradient(90deg, rgb(5 22 42 / 97%) 0%, rgb(6 31 56 / 91%) 33%, rgb(6 33 59 / 58%) 68%, rgb(6 33 59 / 15%) 100%), url("hero-industrial.webp"); background-size: cover; background-position: center center; display: flex; align-items: stretch; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, transparent 68%, rgb(5 22 42 / 52%) 100%); pointer-events: none; }
.hero-inner { display: flex; flex-direction: column; justify-content: space-between; padding-top: clamp(98px, 12vw, 165px); padding-bottom: 31px; }
.hero-content { max-width: 860px; }
.hero h1 { margin: 0; max-width: 920px; font-size: clamp(42px, 5.8vw, 78px); font-weight: 800; letter-spacing: -.06em; line-height: 1.12; text-wrap: balance; }
.hero h1 span { color: #ffc18a; }
.hero-text { max-width: 600px; margin: 24px 0 30px; color: #e3ecf4; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; }
.hero-actions { display: flex; gap: 13px; align-items: center; flex-wrap: wrap; }
.hero-capabilities { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 21px; padding-top: 18px; margin-top: 65px; border-top: 1px solid rgb(255 255 255 / 30%); font-size: 10px; line-height: 1.5; color: #dbe8f2; font-weight: 700; text-transform: uppercase; letter-spacing: .105em; }
.hero-capabilities span + span::before { content: "/"; margin-right: 21px; color: #f7ad69; }

/* About */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 8vw, 110px); align-items: start; }
.about-copy { padding-top: 2px; }

/* Services */
.services-section { background: var(--surface-soft); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.service-card { position: relative; min-width: 0; padding: clamp(27px, 3.5vw, 41px); min-height: 260px; background: #fff; border: 1px solid #dfe6ed; border-radius: var(--radius); box-shadow: 0 4px 18px rgb(10 36 66 / 3%); overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #aebfcf; }
.service-number { display: block; margin-bottom: 27px; font-size: 11px; line-height: 1.4; font-weight: 800; letter-spacing: .1em; color: #8b510f; }
.service-card h3 { max-width: 450px; font-size: clamp(21px, 2.2vw, 26px); line-height: 1.3; color: var(--navy-900); margin: 0 0 16px; }
.service-card p { max-width: 490px; font-size: 14px; line-height: 1.75; color: var(--muted); margin: 0 0 12px; }
.service-accent { position: absolute; width: 64px; height: 4px; background: var(--orange); bottom: 0; left: clamp(27px, 3.5vw, 41px); border-radius: 3px 3px 0 0; }

/* Industries */
.industries-section { background: var(--navy-900); color: var(--white); }
.industries-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(35px, 6vw, 90px); }
.industries-section h2 { color: var(--white); max-width: 570px; }
.industries-section p:not(.eyebrow) { max-width: 465px; color: #c2d2e0; margin: 23px 0 0; }
.industry-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 0; list-style: none; }
.industry-list li { display: flex; align-items: center; min-height: 79px; padding: 15px 20px; border: 1px solid rgb(255 255 255 / 18%); border-radius: 9px; font-size: 14px; font-weight: 700; background: rgb(255 255 255 / 4%); }
.industry-list li::before { content: ""; display: block; width: 7px; height: 7px; margin-right: 14px; flex: 0 0 7px; border-radius: 50%; background: var(--orange); }

/* Our approach */
.process-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.process-grid li { padding: 24px 24px 25px 0; border-top: 2px solid var(--line); }
.process-number { display: block; color: var(--orange-deep); font: 800 14px var(--font-heading); margin-bottom: 18px; }
.process-grid h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.35; color: var(--navy-900); }
.process-grid p { margin: 0; max-width: 320px; color: var(--muted); font-size: 14px; line-height: 1.75; }

/* Purpose / mission */
.purpose-section { background: #edf3f7; }
.purpose-grid { display: grid; grid-template-columns: .94fr 1.06fr; gap: clamp(45px, 7vw, 100px); }
.purpose-statements { display: grid; gap: 27px; }
.purpose-statements > div { padding-left: 22px; border-left: 3px solid var(--orange); }
.purpose-statements h3 { margin: 0 0 8px; font-size: 19px; color: var(--navy-900); }
.purpose-statements p { margin: 0; color: var(--muted); font-size: 15px; }

/* Contact */
.contact-section { background: var(--navy-800); color: var(--white); padding-block: clamp(78px, 8vw, 110px); }
.contact-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 8vw, 100px); align-items: center; }
.contact-intro h2 { max-width: 660px; color: var(--white); }
.contact-intro > p:last-child { max-width: 520px; color: #c9d8e4; margin-top: 23px; }
.contact-panel { background: var(--surface); border-radius: var(--radius); padding: clamp(27px, 3.5vw, 39px); box-shadow: 0 20px 44px rgb(2 10 18 / 17%); color: var(--ink); }
.contact-label { color: var(--orange-deep); letter-spacing: .15em; font-size: 11px; font-weight: 800; margin: 0 0 16px; }
.contact-panel h3 { margin: 0 0 13px; color: var(--navy-900); font-size: 23px; line-height: 1.35; }
.contact-panel > p:not(.contact-label) { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.contact-panel .btn { width: 100%; }
.contact-email { display: block; width: fit-content; max-width: 100%; margin: 17px auto 0; text-align: center; font-size: 13px; font-weight: 700; color: var(--navy-700); overflow-wrap: anywhere; }
.contact-email:hover { text-decoration: underline; }

/* Legal footer */
.site-footer { background: var(--navy-950); color: #c1d0de; padding-top: 45px; }
.footer-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; padding-bottom: 44px; }
.footer-logo .brand-mark { color: #fff; }
.footer-logo .brand-name { color: #fff; }
.footer-logo .brand-subtitle { color: #dee8ef; }
.footer-tagline { font-size: 13px; color: #a7bbcc; margin: 12px 0 0; }
.footer-company { font-size: 12px; line-height: 1.8; color: #b8cbd9; }
.footer-company strong { display: block; margin-bottom: 10px; color: #f0f5f8; font-size: 12px; letter-spacing: .02em; }
.footer-company p { margin: 3px 0; }
.footer-company address { font-style: normal; margin-top: 5px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px 24px; border-top: 1px solid rgb(255 255 255 / 13%); }
.footer-bottom small { font-size: 11px; color: #9fb2c1; }
.footer-bottom a { font-size: 12px; white-space: nowrap; color: #dbe7ef; font-weight: 700; }
.footer-bottom a:hover { color: #ffc18a; }

/* Tablet and mobile */
@media (max-width: 1050px) {
  .desktop-nav { gap: 17px; }
  .brand-mark { width: 51px; height: 51px; flex-basis: 51px; }
  .brand-subtitle { font-size: 8px; }
}
@media (max-width: 880px) {
  .nav-shell { min-height: 78px; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .about-grid, .industries-grid, .purpose-grid, .contact-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero { min-height: 660px; background-position: 58% center; }
  .hero-inner { padding-top: 110px; }
  .contact-panel { max-width: 580px; }
  .industry-list { max-width: 680px; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 36px, var(--container)); }
  .brand-mark { width: 47px; height: 47px; flex-basis: 47px; }
  .brand-name { font-size: 21px; }
  .brand-subtitle { font-size: 7px; letter-spacing: .025em; }
  .nav-shell { gap: 12px; min-height: 76px; }
  .mobile-menu summary { padding: 9px; gap: 8px; }
  .hero { min-height: 680px; background-image: linear-gradient(90deg, rgb(5 22 42 / 94%), rgb(5 25 46 / 75%) 75%, rgb(5 25 46 / 55%)), url("hero-industrial.webp"); background-position: 61% center; }
  .hero-inner { padding-top: 105px; padding-bottom: 26px; }
  .hero h1 { font-size: clamp(40px, 10.5vw, 60px); }
  .hero-text { margin: 22px 0 27px; font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 330px; }
  .hero-capabilities { gap: 9px 14px; font-size: 9px; margin-top: 45px; }
  .hero-capabilities span + span::before { margin-right: 14px; }
  .section { padding-block: 72px; }
  .section-head { display: block; margin-bottom: 28px; }
  .section-intro { margin-top: 20px; max-width: 560px; }
  .service-grid, .process-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 27px; }
  .service-number { margin-bottom: 21px; }
  .service-card h3 { font-size: 22px; }
  .service-accent { left: 27px; }
  .industry-list { grid-template-columns: 1fr 1fr; gap: 10px; }
  .industry-list li { min-height: 70px; padding: 13px; font-size: 12px; }
  .industry-list li::before { margin-right: 9px; }
  .process-grid { gap: 10px; }
  .process-grid li { padding-block: 22px; }
  .footer-content { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
}
@media (max-width: 370px) {
  .brand-mark { width: 39px; height: 39px; flex-basis: 39px; }
  .brand-name { font-size: 18px; }
  .brand-subtitle { font-size: 6px; }
  .mobile-menu summary { font-size: 12px; }
  .industry-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
