:root {
  --orange: #f15325;
  --orange-dark: #c83d19;
  --charcoal: #0b1114;
  --graphite: #273b42;
  --ink: #11181b;
  --muted: #68777d;
  --line: rgba(39, 59, 66, 0.15);
  --paper: #f7f4ef;
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(9, 14, 16, 0.2);
}

* {
  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.55;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--charcoal);
  color: var(--white);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: calc(100% - 40px);
  max-width: 1180px;
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  background: rgba(247, 244, 239, 0.94);
  border-color: var(--line);
  box-shadow: 0 14px 40px rgba(11, 17, 20, 0.08);
  backdrop-filter: blur(16px);
}

.nav {
  width: calc(100% - 40px);
  max-width: 1180px;
  height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  color: var(--white);
}

.site-header.is-scrolled .brand,
.site-header.nav-active .brand {
  color: var(--ink);
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  padding: 6px;
  border-radius: 8px;
  background: var(--white);
}

.brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.brand small {
  display: block;
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
}

.site-header.is-scrolled .brand small,
.site-header.nav-active .brand small {
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  font-weight: 800;
}

.site-header.is-scrolled .nav-links,
.site-header.nav-active .nav-links {
  color: var(--graphite);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

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

.nav-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
}

.site-header.is-scrolled .nav-toggle,
.site-header.nav-active .nav-toggle {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle::before {
  box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor;
}

.nav-toggle::after {
  opacity: 0;
}

.nav-toggle span {
  display: none;
}

.nav-toggle[aria-expanded="true"]::before {
  box-shadow: none;
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  filter: saturate(1.02) contrast(1.08);
}

.hero-overlay {
  background:
    radial-gradient(circle at 72% 34%, rgba(241, 83, 37, 0.2), transparent 28%),
    linear-gradient(90deg, rgba(7, 12, 14, 0.9), rgba(7, 12, 14, 0.54) 48%, rgba(7, 12, 14, 0.18)),
    linear-gradient(0deg, rgba(7, 12, 14, 0.88), rgba(7, 12, 14, 0.05) 52%);
}

.hero-grid {
  position: relative;
  width: calc(100% - 40px);
  max-width: 1180px;
  min-height: 92svh;
  margin: 0 auto;
  padding: 150px 0 84px;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 360px);
  gap: 44px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy {
  color: var(--white);
}

.hero-copy h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(3.8rem, 7.8vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  border-radius: 8px;
  font-weight: 900;
}

.button {
  padding: 13px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button svg,
.text-link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 18px 44px rgba(241, 83, 37, 0.32);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--orange-dark);
  transform: translateY(-2px);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
}

.hero-panel {
  padding: 24px;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  padding: 8px;
  border-radius: 8px;
  background: var(--white);
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-top: 6px;
  font-size: 1.8rem;
  line-height: 1;
}

.hero-panel p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.metric-strip {
  background: var(--graphite);
  color: var(--white);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric-grid div {
  min-height: 136px;
  padding: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-grid div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-grid strong {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
}

.metric-grid span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.section {
  padding: 108px 0;
}

.intro-section,
.service-section,
.contact-section {
  background: var(--paper);
}

.intro-grid,
.project-showcase,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}

.intro-media {
  position: relative;
  min-height: 560px;
}

.intro-media img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  padding: 18px 20px;
  border-radius: 8px;
  background: rgba(11, 17, 20, 0.78);
  color: var(--white);
  backdrop-filter: blur(14px);
}

.image-badge span {
  display: block;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.image-badge strong {
  display: block;
  margin-top: 4px;
  font-size: 1.2rem;
}

.intro-content h2,
.section-top h2,
.project-copy h2,
.value-block h2,
.contact-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.3rem, 4.7vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.intro-content p:not(.eyebrow) {
  max-width: 570px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.mini-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.mini-points span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--graphite);
  font-size: 0.85rem;
  font-weight: 900;
}

.section-top {
  max-width: 850px;
  margin-bottom: 42px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card,
.strength-card,
.project-card,
.contact-form {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
}

.service-card {
  min-height: 330px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(241, 83, 37, 0.34);
  box-shadow: var(--shadow);
}

.icon-box {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(241, 83, 37, 0.1);
  color: var(--orange);
}

.icon-box svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3,
.strength-card h3 {
  margin: 28px 0 10px;
  color: var(--graphite);
  font-size: 1.28rem;
  line-height: 1.15;
}

.service-card p,
.strength-card p,
.project-card span,
.project-card strong {
  margin: 0;
}

.service-card p,
.strength-card p {
  color: var(--muted);
}

.project-section {
  background: var(--charcoal);
  color: var(--white);
}

.project-copy h2,
.value-block h2,
.contact-copy h2 {
  color: var(--white);
}

.text-link {
  justify-content: flex-start;
  width: fit-content;
  margin-top: 28px;
  color: var(--orange);
}

.project-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.project-card {
  min-height: 178px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.project-card span {
  color: var(--orange);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 1.26rem;
  line-height: 1.15;
}

.project-card.dark,
.project-card.accent {
  background: var(--graphite);
  border-color: rgba(255, 255, 255, 0.12);
}

.project-card.dark strong,
.project-card.accent strong {
  color: var(--white);
}

.project-card.accent {
  background: var(--orange);
}

.project-card.accent span {
  color: rgba(255, 255, 255, 0.78);
}

.image-card {
  min-height: 372px;
  grid-row: span 2;
  padding: 0;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.strength-section {
  background: var(--white);
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.strength-card {
  min-height: 260px;
  padding: 30px;
}

.strength-card > svg {
  width: 36px;
  height: 36px;
  color: var(--orange);
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.values-section {
  background:
    linear-gradient(90deg, rgba(11, 17, 20, 0.78), rgba(11, 17, 20, 0.88)),
    url("assets/site-visual.jpg") center / cover;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.value-block {
  min-height: 380px;
  padding: clamp(28px, 5vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.contact-section {
  background: var(--charcoal);
  color: var(--white);
}

.contact-copy p,
.contact-list {
  color: rgba(255, 255, 255, 0.75);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-list a,
.contact-list span {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  font-weight: 800;
}

.contact-list svg {
  width: 22px;
  height: 22px;
  color: #2f80ed;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-form {
  padding: 30px;
  display: grid;
  gap: 18px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--graphite);
  font-size: 0.84rem;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(241, 83, 37, 0.12);
}

.contact-form .button {
  width: 100%;
}

.contact-form .button-primary {
  background: #25d366;
  box-shadow: 0 18px 44px rgba(37, 211, 102, 0.24);
}

.contact-form .button-primary:hover,
.contact-form .button-primary:focus-visible {
  background: #1ebe5d;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer {
  padding: 28px 0;
  background: #070b0d;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 900;
}

.footer-brand img {
  width: 56px;
  height: 44px;
  object-fit: contain;
  padding: 6px;
  border-radius: 8px;
  background: var(--white);
}

.footer-grid p {
  margin: 0;
}

.quick-connect {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 45;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
}

.quick-connect a {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(11, 17, 20, 0.76);
  color: var(--white);
  box-shadow: 0 16px 36px rgba(11, 17, 20, 0.18);
  backdrop-filter: blur(14px);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.quick-connect a:nth-child(1) {
  color: #25d366;
}

.quick-connect a:nth-child(2) {
  color: #1877f2;
}

.quick-connect a:nth-child(3) {
  color: #dd2a7b;
}

.quick-connect a:hover,
.quick-connect a:focus-visible {
  transform: translateY(-2px);
  border-color: currentColor;
  background: rgba(255, 255, 255, 0.08);
}

.quick-connect svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal,
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 82px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 14px;
  }

  .hero-grid,
  .intro-grid,
  .project-showcase,
  .contact-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 420px;
  }

  .metric-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .strength-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 640px) {
  .container,
  .nav,
  .hero-grid {
    width: calc(100% - 28px);
  }

  .nav {
    height: 74px;
  }

  .brand {
    gap: 10px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .brand small {
    max-width: 170px;
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .nav-links {
    top: 74px;
    left: 14px;
    right: 14px;
  }

  .hero,
  .hero-grid {
    min-height: 90svh;
  }

  .hero-grid {
    padding: 118px 0 42px;
    gap: 28px;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 14vw, 4.1rem);
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 1rem;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-panel {
    grid-template-columns: 54px 1fr;
    padding: 18px;
  }

  .hero-panel img {
    width: 54px;
    height: 54px;
  }

  .hero-panel strong {
    font-size: 1.35rem;
  }

  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.09em;
    line-height: 1.4;
  }

  .metric-grid,
  .service-grid,
  .project-board {
    grid-template-columns: 1fr;
  }

  .metric-grid div {
    min-height: 110px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .section {
    padding: 76px 0;
  }

  .intro-media,
  .intro-media img {
    min-height: 0;
    height: 390px;
  }

  .intro-content h2,
  .section-top h2,
  .project-copy h2,
  .value-block h2,
  .contact-copy h2 {
    font-size: clamp(2.1rem, 11vw, 3.1rem);
  }

  .service-card,
  .strength-card,
  .value-block {
    min-height: auto;
  }

  .image-card {
    min-height: 260px;
  }

  .contact-form {
    padding: 22px;
  }

.quick-connect {
  right: 14px;
  top: auto;
  bottom: 14px;
  grid-template-columns: repeat(3, 44px);
  transform: none;
}

.quick-connect a {
  width: 44px;
  height: 44px;
}

}
