:root {
  color-scheme: light;
  --navy-950: #06121e;
  --navy-900: #081726;
  --navy-800: #10263a;
  --steel-700: #536579;
  --steel-500: #7d8b98;
  --steel-300: #c7d0d7;
  --steel-200: #dce2e7;
  --steel-100: #edf1f4;
  --paper: #f7f8f9;
  --white: #fff;
  --accent: #e46532;
  --accent-dark: #c94f20;
  --line-dark: rgba(255, 255, 255, 0.16);
  --max: 1380px;
  --shadow: 0 18px 60px rgba(6, 18, 30, 0.12);
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
  background: var(--paper);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--navy-950);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  background: var(--white);
  color: var(--navy-950);
  font-weight: 800;
}

.skip-link:focus {
  top: .75rem;
  left: .75rem;
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
  padding: .75rem 1rem;
}
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.container { width: min(calc(100% - 3rem), var(--max)); margin-inline: auto; }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  transition: background-color 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled,
.site-header.menu-visible {
  border-bottom-color: rgba(255, 255, 255, .1);
  background: rgba(6, 18, 30, .94);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
  backdrop-filter: blur(14px);
}

.navbar {
  position: relative;
  display: flex;
  min-height: 6rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  width: 11.5rem;
  height: 3.6rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.brand img {
  width: 132%;
  max-width: none;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.nav-right, .nav-links, .nav-actions, .lang-switch { display: flex; align-items: center; }
.nav-right { flex: 1; justify-content: flex-end; gap: clamp(1.4rem, 3vw, 3.5rem); }
.nav-actions { gap: .7rem; }
.nav-links { gap: clamp(1.25rem, 2vw, 2.5rem); }

.nav-links a {
  position: relative;
  padding: .4rem 0;
  color: rgba(255, 255, 255, .74);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .02em;
  transition: color 180ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
  transition: transform 180ms ease;
}

.nav-links a:hover, .nav-links a:focus-visible { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }

@media (min-width: 1101px) {
  .nav-links {
    position: absolute;
    left: 50%;
    gap: .2rem;
    transform: translateX(-50%);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    padding: .34rem .45rem;
    background: rgba(6, 18, 30, .54);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
    backdrop-filter: blur(14px);
  }

  .nav-links a {
    border-radius: 999px;
    padding: .52rem .9rem;
    color: rgba(255, 255, 255, .92);
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, .08);
  }

  .nav-links a::after {
    right: .9rem;
    bottom: .25rem;
    left: .9rem;
  }
}

.lang-switch {
  padding: .22rem;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
}

.lang-button {
  min-width: 2.35rem;
  border: 0;
  border-radius: 999px;
  padding: .42rem .65rem;
  background: transparent;
  color: rgba(255, 255, 255, .58);
  cursor: pointer;
  font-size: .76rem;
  font-weight: 800;
}

.lang-button.is-active { background: var(--white); color: var(--navy-950); }

.menu-button {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  display: block;
  width: 1.15rem;
  height: 1px;
  margin: .29rem auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button::before, .menu-button::after { content: ""; }
.menu-button[aria-expanded="true"] span { opacity: 0; }
.menu-button[aria-expanded="true"]::before { transform: translateY(.3rem) rotate(45deg); }
.menu-button[aria-expanded="true"]::after { transform: translateY(-.3rem) rotate(-45deg); }

.hero {
  position: relative;
  display: grid;
  min-height: 52rem;
  min-height: 94svh;
  align-items: end;
  overflow: hidden;
  background: var(--navy-950);
  color: var(--white);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: url("assets/pcs-metal-hero.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 16, 27, .98) 0%, rgba(5, 16, 27, .84) 37%, rgba(5, 16, 27, .16) 76%),
    linear-gradient(180deg, rgba(5, 16, 27, .58) 0%, transparent 35%, rgba(5, 16, 27, .94) 100%);
}

.hero-main { padding-top: 10rem; padding-bottom: 12.5rem; }
.hero-copy { max-width: 48rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  margin: 0 0 1.4rem;
  color: var(--accent);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 2rem; height: 2px; background: currentColor; }

.hero-eyebrow {
  flex-wrap: wrap;
  gap: .65rem;
  color: rgba(255, 255, 255, .62);
}

.hero-eyebrow::before {
  color: var(--accent);
}

.hero-eyebrow-emphasis {
  border-radius: .12rem;
  padding: .28rem .58rem;
  background: var(--accent);
  color: var(--white);
  font-size: .78rem;
  line-height: 1.25;
  box-shadow: 0 8px 24px rgba(228, 101, 50, .2);
}

.hero-eyebrow-copy {
  color: rgba(255, 255, 255, .7);
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.6rem;
  font-size: clamp(3.25rem, 6.7vw, 6.9rem);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: .96;
}

.hero-lead {
  max-width: 39rem;
  margin-bottom: 2.2rem;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.75;
}

.button-row { display: flex; flex-wrap: wrap; gap: .9rem; }

.button {
  display: inline-flex;
  min-height: 3.4rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: .85rem 1.5rem;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .01em;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: var(--white); }
.button-primary:hover { background: var(--accent-dark); }
.button-ghost { border-color: rgba(255, 255, 255, .34); color: var(--white); }
.button-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }

.hero-services {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 1px solid var(--line-dark);
  background: rgba(5, 16, 27, .72);
  backdrop-filter: blur(12px);
}

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

.hero-service {
  display: flex;
  min-height: 7.4rem;
  align-items: center;
  gap: 1rem;
  border-left: 1px solid var(--line-dark);
  padding: 1.4rem clamp(1rem, 2vw, 2rem);
  transition: background-color 180ms ease;
}

.hero-service:last-child { border-right: 1px solid var(--line-dark); }
.hero-service:hover { background: rgba(255, 255, 255, .06); }
.hero-service span { color: var(--accent); font-size: .72rem; font-weight: 800; }
.hero-service strong { font-size: .92rem; letter-spacing: -.02em; }

.section { padding: clamp(5.5rem, 10vw, 9.5rem) 0; }
.section-heading { max-width: 55rem; margin-bottom: clamp(3rem, 6vw, 5.5rem); }

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.5rem, 4.8vw, 5rem);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: 1.03;
}

.section-heading p,
.about-copy > p,
.contact-copy > p {
  max-width: 42rem;
  color: var(--steel-700);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.8;
}

.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(23rem, .72fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.principles { display: grid; margin-top: 3rem; border-top: 1px solid var(--steel-200); }

.principle {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 1rem;
  border-bottom: 1px solid var(--steel-200);
  padding: 1.25rem 0;
}

.principle-index { color: var(--accent); font-size: .75rem; font-weight: 800; }
.principle strong { display: block; margin-bottom: .25rem; font-size: 1rem; }
.principle span:last-child { color: var(--steel-700); font-size: .9rem; }

.about-panel {
  position: relative;
  min-height: 38rem;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(255, 255, 255, .06), transparent 42%), var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow);
}

.about-panel::before {
  content: "";
  position: absolute;
  width: 24rem;
  height: 24rem;
  right: -9rem;
  bottom: -9rem;
  border: 5rem solid rgba(255, 255, 255, .045);
  border-radius: 50%;
}

.about-panel-grid {
  position: absolute;
  inset: 0;
  opacity: .34;
  background-image: linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 3.6rem 3.6rem;
  mask-image: linear-gradient(145deg, black, transparent 78%);
}

.about-panel-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 38rem;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 5vw, 4rem);
}

.panel-kicker { color: rgba(255, 255, 255, .54); font-size: .72rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.panel-mark { max-width: 7ch; margin: 3rem 0; font-size: clamp(4rem, 8vw, 7.7rem); font-weight: 800; letter-spacing: -.08em; line-height: .78; }
.panel-mark span { display: block; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .35); }
.panel-location { display: flex; align-items: center; gap: .8rem; color: rgba(255, 255, 255, .74); font-size: .85rem; font-weight: 700; }
.panel-location::before { content: ""; width: .55rem; height: .55rem; background: var(--accent); }

.services { background: var(--steel-100); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--steel-300); border-left: 1px solid var(--steel-300); }

.service-card {
  position: relative;
  min-height: 24rem;
  overflow: hidden;
  border-right: 1px solid var(--steel-300);
  border-bottom: 1px solid var(--steel-300);
  padding: clamp(2.25rem, 3vw, 3.25rem);
  background: rgba(255, 255, 255, .3);
  transition: background-color 220ms ease, color 220ms ease;
}

.service-card::after {
  content: attr(data-number);
  position: absolute;
  right: -.05em;
  bottom: -.28em;
  color: rgba(8, 23, 38, .035);
  font-size: clamp(11rem, 22vw, 18rem);
  font-weight: 800;
  letter-spacing: -.1em;
  line-height: 1;
  transition: color 220ms ease;
}

.service-card:hover { background: var(--navy-900); color: var(--white); }
.service-card:hover::after { color: rgba(255, 255, 255, .045); }
.service-top, .service-body { position: relative; z-index: 1; }
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(2.5rem, 4vw, 3.75rem); }
.service-number { color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .12em; }

.service-icon {
  display: grid;
  width: 3.7rem;
  height: 3.7rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .68;
}

.service-icon svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.service-card h3 { margin-bottom: 1rem; font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 650; letter-spacing: -.05em; line-height: 1.1; }
.service-card p { max-width: 32rem; margin-bottom: 1.6rem; color: var(--steel-700); font-size: .97rem; line-height: 1.75; transition: color 220ms ease; }
.service-card:hover p { color: rgba(255, 255, 255, .66); }
.tag-list { display: flex; flex-wrap: wrap; gap: .55rem; }
.tag { border: 1px solid var(--steel-300); border-radius: 999px; padding: .42rem .75rem; color: var(--steel-700); font-size: .73rem; font-weight: 700; transition: border-color 220ms ease, color 220ms ease; }
.service-card:hover .tag { border-color: rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .74); }

.process { position: relative; overflow: hidden; background: var(--navy-950); color: var(--white); }
.process::before { content: ""; position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(90deg, transparent calc(100% - 1px), rgba(255, 255, 255, .12) 1px); background-size: calc(100% / 6) 100%; }
.process .container { position: relative; }
.process .section-heading p { color: rgba(255, 255, 255, .6); }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }

.process-step {
  min-height: 18rem;
  border-right: 1px solid var(--line-dark);
  padding: 2rem clamp(1.25rem, 2.5vw, 2.5rem) 0 0;
}

.process-step + .process-step { padding-left: clamp(1.25rem, 2.5vw, 2.5rem); }
.process-step:last-child { border-right: 0; }
.process-step > span { display: block; margin-bottom: 4.5rem; color: var(--accent); font-size: .78rem; font-weight: 800; }
.process-step h3 { margin-bottom: .85rem; font-size: 1.25rem; letter-spacing: -.03em; }
.process-step p { color: rgba(255, 255, 255, .55); font-size: .9rem; line-height: 1.7; }

.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(25rem, .82fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.contact-copy .button { margin-top: 1.5rem; }
.contact-list { border-top: 1px solid var(--steel-200); }
.contact-item { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; border-bottom: 1px solid var(--steel-200); padding: 1.45rem 0; }
.contact-label { color: var(--steel-500); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.contact-value, .contact-value a { font-size: .95rem; font-weight: 650; line-height: 1.7; }
.contact-value { margin: 0; font-style: normal; }
.contact-value a { text-decoration-line: underline; text-decoration-color: transparent; text-underline-offset: .25em; transition: color 180ms ease, text-decoration-color 180ms ease; }
.contact-value a:hover { color: var(--accent-dark); text-decoration-color: currentColor; }

.site-footer { background: var(--navy-950); color: var(--white); }
.footer-main { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; padding: 4rem 0 2rem; }
.footer-brand { font-size: clamp(2.6rem, 5vw, 5rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; }
.footer-brand span { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .38); }
.footer-top-link { border-bottom: 1px solid rgba(255, 255, 255, .3); padding-bottom: .3rem; color: rgba(255, 255, 255, .66); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border-top: 1px solid var(--line-dark); padding: 1.4rem 0 2rem; color: rgba(255, 255, 255, .42); font-size: .75rem; }
.reveal { opacity: 0; transform: translateY(1.25rem); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .menu-button { display: block; }
  .nav-right {
    position: fixed;
    top: 6rem;
    right: 0;
    left: 0;
    display: grid;
    max-height: calc(100svh - 6rem);
    transform: translateY(-120%);
    overflow-y: auto;
    border-top: 1px solid var(--line-dark);
    padding: 2rem 1.5rem 2.5rem;
    background: var(--navy-950);
    opacity: 0;
    visibility: hidden;
    transition: transform 220ms ease, opacity 220ms ease, visibility 220ms ease;
  }
  .nav-right.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links {
    position: static;
    display: grid;
    gap: 0;
    transform: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
  .nav-links a { border-bottom: 1px solid var(--line-dark); padding: 1rem 0; font-size: 1.05rem; }
  .lang-switch { width: max-content; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-panel, .about-panel-content { min-height: 30rem; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(n + 3) { border-top: 1px solid var(--line-dark); }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 5.25rem; }
  .container { width: min(calc(100% - 2rem), var(--max)); }
  .navbar { min-height: 5.25rem; }
  .brand { width: 9.5rem; height: 3rem; }
  .nav-right { top: 5.25rem; max-height: calc(100svh - 5.25rem); }
  .hero { min-height: 50rem; min-height: 100svh; }
  .hero::before { background-position: 64% center; }
  .hero::after { background: linear-gradient(90deg, rgba(5, 16, 27, .97), rgba(5, 16, 27, .58)), linear-gradient(180deg, rgba(5, 16, 27, .7), transparent 35%, rgba(5, 16, 27, .97) 100%); }
  .hero-main { padding-top: 8.5rem; padding-bottom: 12.8rem; }
  h1 { font-size: clamp(2.85rem, 11.2vw, 4.2rem); }
  .hero-lead { font-size: 1rem; line-height: 1.65; }
  .button-row .button { width: 100%; }
  .hero-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-service { min-height: 4.8rem; padding: .85rem .8rem; }
  .hero-service:nth-child(3), .hero-service:nth-child(4) { border-top: 1px solid var(--line-dark); }
  .hero-service strong { font-size: .76rem; }
  .hero-service span { font-size: .64rem; }
  .section { padding: 5.5rem 0; }
  .section-heading h2, .about-copy h2, .contact-copy h2 { font-size: clamp(2.35rem, 11vw, 3.65rem); }
  .about-grid { gap: 3.5rem; }
  .about-panel, .about-panel-content { min-height: 25rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 25rem; padding: 2rem 1.5rem; }
  .service-top { margin-bottom: 4rem; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step, .process-step + .process-step { min-height: auto; border: 0; border-bottom: 1px solid var(--line-dark); padding: 1.7rem 0; }
  .process-step:nth-child(n + 3) { border-top: 0; }
  .process-step:last-child { border-bottom: 0; }
  .process-step > span { margin-bottom: 2rem; }
  .contact-item { grid-template-columns: 1fr; gap: .4rem; }
  .footer-main { grid-template-columns: 1fr; align-items: start; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

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