:root {
  color-scheme: light;
  --navy: #10194f;
  --navy-deep: #0b123b;
  --blue: #315a86;
  --gold: #dcae61;
  --ink: #182033;
  --muted: #667085;
  --paper: #f6f7f9;
  --white: #fff;
  --content-width: 1160px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-160%);
  color: var(--white);
  background: var(--navy);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 1px 18px rgb(16 25 79 / 8%);
  backdrop-filter: blur(12px);
}

.header-inner,
.section-shell,
.site-footer {
  width: min(var(--content-width), calc(100% - 48px));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  align-items: center;
  overflow: hidden;
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
}

.site-nav a,
.header-cta {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a {
  padding-block: 12px;
  color: #343b4c;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
}

.header-cta {
  padding: 12px 18px;
  border: 1px solid rgb(16 25 79 / 22%);
  border-radius: 3px;
  color: var(--navy);
  white-space: nowrap;
}

.header-cta span,
.button span,
.text-link span {
  margin-left: 8px;
}

.hero {
  position: relative;
  display: flex;
  min-height: min(720px, calc(100svh - 82px));
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background-color: var(--navy-deep);
  background-image: linear-gradient(90deg, rgb(7 13 39 / 88%) 0%, rgb(7 13 39 / 68%) 44%, rgb(7 13 39 / 28%) 100%), url("images/petroleum-storage.jpg");
  background-position: center, 50% 52%;
  background-size: cover;
}

.hero-inner {
  width: min(var(--content-width), calc(100% - 48px));
  margin: 0 auto;
  padding-block: 100px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-eyebrow,
.eyebrow-light {
  color: #e8c481;
}

.hero h1 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(3.2rem, 6.7vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.99;
}

.hero-copy {
  max-width: 510px;
  margin: 27px 0 0;
  color: rgb(255 255 255 / 88%);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--navy-deep);
  background: var(--gold);
}

.button-primary:hover {
  background: #efc77c;
}

.button-outline {
  border-color: rgb(255 255 255 / 55%);
  color: var(--white);
  background: rgb(255 255 255 / 5%);
}

.button-outline:hover {
  border-color: var(--white);
  background: rgb(255 255 255 / 12%);
}

.hero-caption {
  margin: 58px 0 0;
  color: rgb(255 255 255 / 72%);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  right: max(24px, calc((100vw - var(--content-width)) / 2));
  bottom: 30px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.25rem;
  text-decoration: none;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 8vw, 104px);
  padding-block: 112px;
}

.about-image {
  position: relative;
  min-height: 450px;
}

.about-image::before {
  position: absolute;
  top: -18px;
  left: -18px;
  width: 42%;
  height: 42%;
  border-top: 3px solid var(--gold);
  border-left: 3px solid var(--gold);
  content: "";
}

.about-image img {
  position: relative;
  display: block;
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.image-label {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 12px 18px;
  color: var(--white);
  background: var(--navy);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.about-copy h2,
.section-heading h2,
.contact-intro h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.5vw, 3.45rem);
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.about-copy h2 span {
  color: var(--blue);
}

.about-copy > p:not(.eyebrow) {
  margin: 22px 0 0;
  color: var(--muted);
}

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #e7e9ee;
}

.purpose-grid h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 0.92rem;
}

.purpose-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.text-link {
  display: inline-block;
  margin-top: 28px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--gold);
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.services {
  padding-block: 100px 112px;
  background: var(--paper);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
}

.section-heading > p {
  max-width: 350px;
  margin: 0 0 5px;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 290px;
  padding: 32px;
  border: 1px solid #e7e9ee;
  background: var(--white);
}

.service-card-featured {
  border-color: var(--navy);
  color: var(--white);
  background: var(--navy);
}

.service-number {
  position: absolute;
  top: 24px;
  right: 26px;
  color: #9aa1b1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.service-card-featured .service-number {
  color: rgb(255 255 255 / 56%);
}

.service-icon {
  width: 44px;
  height: 44px;
  color: var(--blue);
}

.service-card-featured .service-icon {
  color: var(--gold);
}

.service-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.service-card h3 {
  margin: 29px 0 10px;
  font-size: 1.15rem;
  line-height: 1.3;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.service-card-featured p {
  color: rgb(255 255 255 / 75%);
}

.coverage {
  padding-block: 100px;
}

.market-grid,
.industry-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.market-grid li {
  padding: 26px 22px;
  border-top: 3px solid var(--gold);
  color: var(--navy);
  background: var(--paper);
  font-size: 1.05rem;
  font-weight: 700;
}

.market-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.industry-panel {
  margin-top: 36px;
}

.industry-panel h3,
.commitment-grid h3,
.licence-note h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1.4;
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.industry-list li {
  padding: 8px 14px;
  border: 1px solid #e7e9ee;
  border-radius: 3px;
  color: var(--muted);
  font-size: 0.88rem;
}

.safety {
  padding-block: 100px;
  background: var(--paper);
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.commitment-grid article {
  padding-top: 22px;
  border-top: 2px solid var(--gold);
}

.commitment-grid p,
.licence-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.licence-note {
  margin-top: 40px;
  padding: 26px;
  border-left: 3px solid var(--blue);
  background: var(--white);
}

.contact-email {
  display: table;
  color: var(--white);
}

.contact {
  color: var(--white);
  background: var(--navy-deep);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(52px, 9vw, 120px);
  padding-block: 100px;
}

.contact-intro h2 {
  font-size: clamp(2.6rem, 5vw, 4rem);
}

.contact-intro > p:not(.eyebrow) {
  max-width: 390px;
  margin: 20px 0 28px;
  color: rgb(255 255 255 / 72%);
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 36px 28px;
  padding-top: 20px;
}

.contact-block h3 {
  margin: 0 0 12px;
  color: #e8c481;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-block p,
.contact-block a {
  display: block;
  margin: 0;
  color: rgb(255 255 255 / 82%);
  font-size: 0.92rem;
  line-height: 1.8;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-block a:hover {
  color: var(--gold);
}

.site-footer {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.footer-brand span {
  color: var(--blue);
}

.back-to-top {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 156px;
  }

  .header-inner,
  .section-shell,
  .site-footer {
    width: min(100% - 36px, var(--content-width));
  }

  .header-inner {
    min-height: 72px;
    flex-wrap: wrap;
    gap: 4px 16px;
    padding-block: 6px;
  }

  .brand {
    width: 58px;
    height: 58px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    order: 3;
    width: 100%;
    gap: 0 14px;
    text-align: center;
    border-top: 1px solid #edf0f4;
  }

  .site-nav a {
    padding-block: 8px;
    font-size: 0.68rem;
  }

  .header-cta {
    padding: 9px 12px;
    font-size: 0.68rem;
  }

  .hero {
    min-height: 640px;
    min-height: min(720px, calc(100svh - 148px));
    background-position: center, 40% center;
  }

  .hero-inner {
    width: min(100% - 36px, var(--content-width));
    padding-block: 82px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 8.5vw, 4rem);
  }

  .hero-caption {
    margin-top: 44px;
  }

  .scroll-cue {
    right: 18px;
    bottom: 18px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 46px;
    padding-block: 76px;
  }

  .about-image {
    min-height: 340px;
    margin-inline: 10px 0;
  }

  .about-image img {
    height: 340px;
  }

  .services,
  .coverage,
  .safety {
    padding-block: 76px;
  }

  .section-heading {
    display: block;
    margin-bottom: 32px;
  }

  .section-heading > p {
    margin-top: 20px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .commitment-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-card {
    min-height: 0;
    padding: 26px;
  }

  .service-card h3 {
    margin-top: 20px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 46px;
    padding-block: 76px;
  }

  .contact-details {
    gap: 30px 20px;
  }

  .site-footer {
    min-height: 100px;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 5px 18px;
    padding-block: 20px;
  }

  .site-footer p {
    flex-basis: 100%;
    order: 3;
  }
}

@media (max-width: 420px) {
  .purpose-grid,
  .market-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
