:root {
  --bg: #f5f2ed;
  --bg-soft: #fbf8f4;
  --surface: #ffffff;
  --surface-2: #f6f0e9;
  --ink: #171412;
  --ink-soft: #665e57;
  --charcoal: #111111;
  --charcoal-soft: #1a1a1a;
  --accent: #f47c20;
  --accent-2: #ff9651;
  --line: rgba(23, 20, 18, 0.09);
  --shadow: 0 18px 48px rgba(17, 17, 17, 0.12);
  --shadow-strong: 0 30px 72px rgba(10, 10, 10, 0.24);
  --radius: 26px;
  --radius-sm: 18px;
  --shell: 1180px;
  --transition: 220ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(244, 124, 32, 0.08), transparent 24%),
    linear-gradient(180deg, #fcfbf9 0%, var(--bg) 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a,
.card {
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background-color var(--transition),
    color var(--transition);
}

.page-shell {
  overflow: hidden;
}

.shell {
  width: min(calc(100% - 2rem), var(--shell));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 auto auto 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: min(calc(100% - 2rem), var(--shell));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1rem;
  padding: 0.95rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 10, 0.76);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark,
.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(244, 124, 32, 0.24), rgba(255, 255, 255, 0.06));
  overflow: hidden;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.brand-mark img,
.footer-brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: #fff;
}

.brand-copy strong,
h1,
h2,
h3,
.metric-box strong,
.orange-stat strong,
.check-item,
.contact-side h3 {
  font-family: "Space Grotesk", sans-serif;
}

.brand-copy strong {
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.brand-copy span {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.72);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: rgba(255, 255, 255, 0.84);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 600px;
  padding: 7rem 0 6rem;
  background: #121212;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.84) 0%, rgba(7, 7, 7, 0.48) 48%, rgba(7, 7, 7, 0.76) 100%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.16) 0%, rgba(7, 7, 7, 0.74) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 400px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 390px;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  max-width: 620px;
  color: #fff;
  padding-top: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.light-accent {
  color: rgba(255, 255, 255, 0.84);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.04em;
}

h1 {
  margin-top: 1rem;
  font-size: clamp(3.4rem, 7.5vw, 6rem);
  line-height: 0.92;
  max-width: 560px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.02;
}

h3 {
  font-size: 1.16rem;
  line-height: 1.15;
}

p {
  margin: 0;
  line-height: 1.75;
  color: var(--ink-soft);
}

.hero-text {
  margin-top: 1.35rem;
  max-width: 560px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 16px 30px rgba(244, 124, 32, 0.25);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 22px 40px rgba(244, 124, 32, 0.34);
}

.button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.button-dark {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card:hover,
.card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.hero-card {
  align-self: end;
  margin-bottom: 3.5rem;
  padding: 2rem 1.8rem;
  background: rgba(255, 255, 255, 0.95);
}

.hero-card h2 {
  margin-top: 0.8rem;
  font-size: 2rem;
}

.hero-card p {
  margin-top: 1rem;
}

.panel-kicker {
  display: inline-block;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 800;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 800;
}

.text-link:hover,
.text-link:focus-visible {
  transform: translateX(4px);
}

.hero-highlights {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: -1.6rem;
  margin-bottom: 0;
}

.mini-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(255, 255, 255, 0.24);
}

.mini-index {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--accent);
  font-weight: 800;
}

.mini-card h3 {
  margin-bottom: 0.75rem;
}

.mini-card p {
  font-weight: 200;
}

.card-accent {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(255, 255, 255, 0.24);
}

.card-accent h3,
.card-accent p,
.card-accent .mini-index {
  color: inherit;
}

.card-accent .mini-index {
  color: var(--accent);
}

.hero-highlights .mini-card:hover,
.hero-highlights .mini-card:focus-within {
  background: linear-gradient(145deg, #ff8e39, #ea6e14);
  border-color: transparent;
}

.hero-highlights .mini-card:hover h3,
.hero-highlights .mini-card:hover p,
.hero-highlights .mini-card:hover .mini-index,
.hero-highlights .mini-card:focus-within h3,
.hero-highlights .mini-card:focus-within p,
.hero-highlights .mini-card:focus-within .mini-index {
  color: #fff;
}

section {
  padding: 6rem 0;
}

.section-white {
  background: transparent;
}

.section-head {
  max-width: 860px;
  margin-bottom: 2.5rem;
}

.section-head .eyebrow {
  margin-bottom: 12px;
}

.section-head.narrow {
  max-width: 760px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head.center .eyebrow {
  justify-content: center;
}

.section-head.light h2,
.section-head.light p {
  color: #fff;
}

.about {
  max-width: calc(var(--shell) + 4px);
  padding-top: 0;
  padding-bottom: 60px;
  padding-left: 4px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr) minmax(220px, 0.6fr);
  gap: 1.2rem;
  align-items: start;
}

.section-head.narrow {
  max-width: 100%;
}

.about-copy,
.about-list {
  display: grid;
  gap: 1.2rem;
}

.signature-note {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding-top: 0.35rem;
}

.signature-line {
  width: 86px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  flex: 0 0 auto;
}

.about-image {
  position: relative;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  min-height: 510px;
  object-fit: cover;
}

.image-tag {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 800;
}

.image-tag:hover,
.image-tag:focus-visible {
  transform: translateY(-3px);
}

.about-item {
  padding: 1.3rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #fff, #f8f3ed);
  border: 1px solid rgba(23, 20, 18, 0.08);
}

.capability-band {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, #161616, #101010);
}

.capability-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 18%, rgba(244, 124, 32, 0.14), transparent 20%),
    linear-gradient(120deg, rgba(244, 124, 32, 0.08), transparent 24%);
  pointer-events: none;
}

.capability-band .shell {
  position: relative;
  z-index: 1;
}

#capabilities .section-head {
  max-width: 100%;
}

.capability-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}

.capability-intro p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.74);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  padding: 1.45rem;
  background: rgba(255, 255, 255, 0.97);
}

.service-card:hover {
  border-color: rgba(244, 124, 32, 0.45);
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.orange-feature {
  width: 100%;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

.orange-feature-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 0;
  align-items: stretch;
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

.orange-copy {
  padding: 4rem 3rem;
  background: linear-gradient(145deg, #ff8225, #df660f);
  color: #fff;
}

.orange-copy .eyebrow {
  margin-bottom: 20px;
}

.orange-copy h2,
.orange-copy p,
.orange-copy strong,
.orange-copy span {
  color: #fff;
}

.orange-copy p {
  margin-top: 1.15rem;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.88);
}

.orange-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.metric-box {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.metric-box strong {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 1rem;
}

.metric-box span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.orange-visual {
  position: relative;
  min-height: 540px;
  background: #191919;
}

.orange-image {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.orange-image img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}

.orange-stat {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  max-width: 300px;
  padding: 1.4rem;
  background: linear-gradient(145deg, #ff8a34, #e06d13);
  border-color: transparent;
}

.orange-stat span,
.orange-stat strong {
  color: #fff;
}

.orange-stat strong {
  display: block;
  margin-top: 0.75rem;
  font-size: 1.3rem;
  line-height: 1.18;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.projects {
  padding-top: 2.75rem;
}

#projects .section-head.center .eyebrow {
  margin-top: 28px;
}

.project-card {
  overflow: hidden;
}

.project-media {
  min-height: 240px;
  background-size: cover;
  background-position: center;
}

.media-one {
  background-image: url("./assets/control-room.png");
}

.media-two {
  background-image: url("./assets/plant-overview.png");
}

.media-three {
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.18), rgba(10, 10, 10, 0.4)),
    url("./assets/inspection-platform.png") center / cover no-repeat;
}

.project-copy {
  padding: 1.5rem;
}

.project-copy h3 {
  margin-bottom: 0.75rem;
}

.dark-proof {
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.65), rgba(8, 8, 8, 0.75)),
    url("./assets/operations-hall.png") center / cover no-repeat;
}

.dark-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.dark-proof-copy {
  max-width: 900px;
  color: #fff;
}

.dark-proof-copy h2 {
  margin-top: 0.9rem;
  color: #fff;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.check-item {
  padding: 1.1rem 1.2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 500px minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
}

.contact-side {
  padding: 2.1rem 1.9rem;
  background:
    linear-gradient(180deg, rgba(244, 124, 32, 0.96), rgba(219, 98, 15, 0.92)),
    url("./assets/operations-detail.png") center / cover no-repeat;
  color: #fff;
}

.contact-side h3 {
  margin-top: 0.9rem;
  font-size: 1.8rem;
  color: #fff;
}

.contact-side p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.86);
}

.contact-side .button {
  margin-top: 1.4rem;
}

.contact-panel {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.98);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.contact-panel h3 {
  margin-top: 0.7rem;
  font-size: 1.9rem;
}

.contact-panel p {
  margin-top: 0.8rem;
}

.contact-link {
  display: inline-flex;
  margin-top: 1.35rem;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--accent);
}

.contact-link:hover,
.contact-link:focus-visible {
  transform: translateX(4px);
}

.contact-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.35rem 0 0;
  padding-left: 1.1rem;
}

.site-footer {
  width: 100%;
  margin: 0;
  padding: 0.85rem 0 1.25rem;
  background: #121212;
  color: rgba(255, 255, 255, 0.72);
}

.copyright {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  font-size: 0.92rem;
  width: min(calc(100% - 2rem), var(--shell));
  margin-left: auto;
  margin-right: auto;
}

[data-reveal] {
  opacity: 1;
  transform: translateY(0);
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero-inner,
  .about-grid,
  .orange-feature-shell,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    margin-bottom: 0;
    max-width: 420px;
  }

  .hero-highlights,
  .service-grid,
  .orange-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-intro,
  .contact-wrap {
    grid-template-columns: 1fr;
    display: grid;
  }

}

@media (max-width: 760px) {
  .site-header {
    padding: 0.92rem 1rem;
    border-radius: 28px;
  }

  .brand-copy span {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.7rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(12, 12, 12, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 7.2rem 0 5.5rem;
  }

  .hero-inner,
  .hero-highlights,
  .service-grid,
  .orange-metrics,
  .project-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .orange-feature-shell {
    width: min(calc(100% - 2rem), var(--shell));
  }

  .hero-copy {
    padding-top: 0;
  }

  .about {
    padding-left: 0;
    padding-bottom: 3.5rem;
  }

  h1 {
    font-size: clamp(2.8rem, 13vw, 4.6rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.7rem);
  }

  section {
    padding: 4.5rem 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .mini-card,
  .service-card,
  .project-copy,
  .hero-card,
  .orange-copy,
  .contact-side,
  .contact-panel {
    padding-left: 1.3rem;
    padding-right: 1.3rem;
  }

  .orange-visual,
  .orange-image img,
  .about-image img {
    min-height: 340px;
  }

  .orange-stat {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }

}
