:root {
  --bg: #262626;
  --panel: #2c2c2c;
  --panel-light: #5b5b5b;
  --text: #f4efe6;
  --white: #ffffff;
  --orange: #ff761b;
  --blue: #00a4ef;
  --line: #f4efe6;
  --muted-line: #858585;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
}

a {
  color: var(--orange);
}

a:hover,
a:focus {
  color: var(--white);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -80px;
  left: 16px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--bg);
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
  color: var(--bg);
}

.techniques-page {
  width: 100%;
  max-width: 1333px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--bg);
}

.content-wrap {
  width: 100%;
  padding: 30px 52px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 2px;
  color: var(--orange);
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.16;
}

h2 {
  color: var(--orange);
  font-size: 20px;
  line-height: 1.25;
}

h3 {
  color: var(--orange);
  font-size: 19px;
  line-height: 1.25;
}

p {
  margin-bottom: 14px;
}

.techniques-hero {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  border-top: 1px solid var(--muted-line);
  border-bottom: 1px solid var(--muted-line);
}

.hero-media {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 42%;
  overflow: hidden;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.techniques-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 38%, rgba(38, 38, 38, 0.91) 50%, rgba(38, 38, 38, 0) 82%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 420px;
  padding-top: 42px;
  padding-bottom: 42px;
}

.hero-subtitle {
  color: var(--white);
  font-size: 21px;
  font-weight: 700;
}

.hero-copy {
  max-width: 760px;
  margin-top: 42px;
}

.bordered-panel {
  border: 2px solid var(--line);
  border-radius: 24px;
}

.process-panel {
  width: auto;
  margin: 28px 50px 38px;
  padding: 28px 34px 34px;
}

.process-top,
.process-bottom {
  display: grid;
  gap: 42px;
  align-items: start;
}

.process-top {
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
}

.process-bottom {
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  margin-top: 30px;
  align-items: center;
}

.icon-copy,
.section-heading {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.round-icon {
  display: block;
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.process-description p {
  margin-bottom: 10px;
}

.process-description strong {
  color: var(--white);
}

.standalone-link {
  display: block;
  width: fit-content;
  margin: -7px 0 10px;
  color: var(--blue);
  font-weight: 700;
}

.process-gallery {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 18px;
}

.process-gallery img {
  display: block;
  width: 100%;
  height: clamp(130px, 12vw, 188px);
  border: 2px solid var(--line);
  object-fit: cover;
}

.process-gallery .gallery-wide {
  grid-column: span 4;
}

.process-gallery .gallery-square {
  grid-column: span 3;
}

.process-gallery .crop-right {
  object-position: right center;
}

.video-frame {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 2px solid var(--line);
  border-radius: 22px;
  background: #000;
}

.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.benefits-copy ol {
  margin: 18px 0 22px;
  padding: 0;
  list-style-position: inside;
}

.benefits-copy li {
  margin-bottom: 24px;
}

.orange-button,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 30px;
  border-radius: 11px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.orange-button {
  min-width: 230px;
  background: var(--orange);
  color: var(--white);
}

.orange-button:hover,
.orange-button:focus {
  background: #c94c00;
}

.applications-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding-top: 0;
}

.materials-panel,
.sectors-panel {
  padding: 28px 22px 30px;
}

.section-heading {
  align-items: center;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: 24px;
}

.material-list {
  display: grid;
  gap: 28px;
  margin: 68px 16px 0;
}

.material-list section {
  padding: 16px 18px;
  border: 2px solid var(--line);
  border-radius: 22px;
  background: var(--panel-light);
  text-align: center;
}

.material-list h3,
.material-list p {
  margin-bottom: 4px;
}

.blue-text {
  color: var(--blue);
}

.materials-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 28px;
}

.materials-gallery img {
  display: block;
  width: 100%;
  height: clamp(125px, 12vw, 210px);
  border: 2px solid var(--line);
  object-fit: cover;
}

.sectors-panel {
  text-align: center;
}

.sectors-panel .section-heading {
  text-align: left;
}

.sectors-intro {
  text-align: left;
}

.sector-group {
  position: relative;
  margin-top: 42px;
  padding-top: 36px;
}

.sector-group::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  width: 76%;
  height: 2px;
  background: var(--line);
}

.sector-group h3 {
  font-size: 23px;
}

.sector-group p {
  margin-bottom: 22px;
}

.sector-group strong {
  color: var(--white);
  font-size: 17px;
}

.study-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(390px, 0.8fr);
  gap: 42px;
  align-items: start;
  margin-top: 12px;
  border-top: 1px solid var(--muted-line);
  border-bottom: 1px solid var(--muted-line);
}

.resource-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.resource-list li {
  margin-bottom: 13px;
}

.resource-list li::before {
  content: "• ";
}

.resource-list a {
  display: block;
  color: var(--blue);
}

.quote-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.quote-copy {
  padding: 18px 22px;
  border: 2px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
  text-align: center;
}

.quote-copy h2 {
  font-size: 16px;
}

.quote-copy p {
  margin-bottom: 5px;
  font-size: 13px;
}

.quote-action {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
}

.quote-action img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.quote-action .orange-button {
  min-width: 0;
  flex: 1;
}

.quote-image {
  display: block;
  width: min(100%, 230px);
  height: auto;
  border: 2px solid var(--line);
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.path-card {
  padding: 26px 34px;
  text-align: center;
}

.path-card .section-heading {
  text-align: left;
}

.outline-button {
  width: min(100%, 420px);
  border: 2px solid var(--orange);
  background: rgba(255, 255, 255, 0.16);
  color: var(--text);
}

.outline-button:hover,
.outline-button:focus {
  background: var(--orange);
}

.location-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.68fr) minmax(0, 1.32fr);
  gap: 42px;
  align-items: center;
  border-top: 1px solid var(--muted-line);
  border-bottom: 1px solid var(--muted-line);
}

.location-section picture,
.location-section img {
  display: block;
}

.location-section img {
  width: 100%;
  height: auto;
  border: 2px solid var(--line);
}

.site-footer {
  max-width: 1333px;
  margin: 0 auto;
  padding: 15px 30px 10px;
  background: var(--bg);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1199px) {
  .process-top,
  .process-bottom,
  .study-section {
    gap: 28px;
  }

  .process-top {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  }

  .process-bottom {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  }
}

@media (max-width: 991px) {
  .techniques-hero {
    display: flex;
    flex-direction: column-reverse;
  }

  .hero-media {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .hero-media img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .techniques-hero::after {
    display: none;
  }

  .hero-content {
    min-height: 0;
  }

  .hero-copy {
    max-width: none;
    margin-top: 28px;
  }

  .process-top,
  .process-bottom,
  .applications-grid,
  .study-section,
  .path-grid,
  .location-section {
    grid-template-columns: 1fr;
  }

  .process-gallery img {
    height: clamp(140px, 24vw, 230px);
  }

  .materials-gallery img {
    height: clamp(125px, 23vw, 220px);
  }

}

@media (max-width: 767px) {
  body {
    font-size: 14px;
  }

  .techniques-page {
    margin-top: 0;
  }

  .content-wrap {
    padding: 28px 20px;
  }

  .process-panel {
    margin: 22px 14px 30px;
    padding: 24px 16px;
  }

  .icon-copy,
  .section-heading {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 15px;
  }

  .round-icon {
    width: 70px;
    height: 70px;
  }

  .process-gallery {
    gap: 8px;
  }

  .process-gallery img {
    height: 28vw;
  }

  .section-heading h2 {
    font-size: 20px;
  }

  .materials-panel,
  .sectors-panel,
  .path-card {
    padding: 22px 16px;
  }

  .material-list {
    gap: 18px;
    margin: 36px 0 0;
  }

  .materials-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .materials-gallery img {
    height: 44vw;
  }

  .quote-image {
    width: min(100%, 300px);
    margin: 0 auto;
  }

  .location-section {
    gap: 24px;
  }
}
