.industries-page {
  background: var(--bg);
}

.industry-label {
  margin: 0;
  color: currentColor;
  font-size: 12px;
  font-weight: 840;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 0.62;
}

.industry-hero {
  position: relative;
  min-height: 100svh;
  padding: 0 clamp(18px, 5vw, 76px) 40px;
  display: grid;
  grid-template-rows: minmax(100svh, auto) auto;
  align-items: center;
  gap: clamp(44px, 7vw, 88px);
  background: #f3f1e8;
  color: #080808;
}

.industry-hero-copy {
  align-self: center;
  width: min(1080px, 100%);
  margin: 0 auto;
  text-align: center;
  transform: translateY(clamp(58px, 6.4vw, 96px));
}

.industry-hero h1,
.industry-intro h2,
.integration-copy h2,
.method-heading h2,
.industry-final h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

.industry-hero h1 {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(48px, 7.2vw, 108px);
}

.industry-hero p {
  width: min(700px, 100%);
  margin: 24px auto 0;
  color: rgba(8, 8, 8, 0.66);
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.42;
}

.industry-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.industry-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 820;
  transition: transform 240ms var(--ease), background 240ms ease, color 240ms ease, border-color 240ms ease;
}

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

.industry-button-dark {
  background: #080808;
  color: #fffaf0;
  border-color: #080808;
}

.industry-button-light {
  background: #fffaf0;
  color: #080808;
  border-color: #fffaf0;
}

.industry-button-dark-outline {
  color: #fffaf0;
  border-color: rgba(255, 250, 240, 0.34);
}

.industry-button-dark-outline:hover {
  background: #fffaf0;
  color: #080808;
}

.hero-strip {
  width: min(1320px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  align-items: stretch;
}

.hero-strip a {
  position: relative;
  min-height: clamp(150px, 16vw, 230px);
  aspect-ratio: 1.08 / 1;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border-radius: 8px;
  background: #ddd7c7;
  isolation: isolate;
}

.hero-strip img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
  z-index: -2;
}

.hero-strip a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.02) 62%);
  z-index: -1;
}

.hero-strip a:hover img {
  transform: scale(1.045);
}

.hero-strip span {
  padding: 16px;
  color: #fffaf0;
  font-size: clamp(18px, 1.8vw, 28px);
  font-weight: 820;
}

.industry-intro {
  padding: clamp(86px, 12vw, 156px) clamp(18px, 5vw, 76px);
  background: #f3f1e8;
  color: #080808;
}

.intro-grid {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: start;
}

.industry-intro h2 {
  font-size: clamp(40px, 5.4vw, 86px);
}

.intro-copy {
  display: grid;
  gap: 18px;
  padding-top: 8px;
}

.intro-copy p {
  margin: 0;
  color: rgba(8, 8, 8, 0.68);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.45;
}

.industries-list {
  background: #f3f1e8;
}

.industry-card {
  min-height: 100vh;
  padding: clamp(74px, 10vw, 138px) clamp(18px, 5vw, 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(30px, 6vw, 92px);
  align-items: center;
  background: var(--section-bg);
  color: var(--section-text);
}

.industry-card-flip .industry-image {
  order: 2;
}

.industry-image {
  margin: 0;
  width: min(100%, 660px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 28px 92px rgba(0, 0, 0, 0.18);
}

.industry-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.industry-card-copy {
  max-width: 650px;
}

.industry-number {
  display: block;
  margin-bottom: clamp(26px, 5vw, 58px);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 7vw, 118px);
  line-height: 0.8;
  opacity: 0.18;
}

.industry-card h2 {
  margin: 14px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 66px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.industry-card-copy > p:not(.industry-label) {
  max-width: 58ch;
  margin: 24px 0 0;
  color: color-mix(in srgb, var(--section-text) 72%, transparent);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.5;
}

.system-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 34px 0 0;
}

.system-points div {
  padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--section-text) 24%, transparent);
}

.system-points dt {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 840;
  text-transform: uppercase;
  opacity: 0.56;
}

.system-points dd {
  margin: 0;
  color: color-mix(in srgb, var(--section-text) 76%, transparent);
  font-size: 15px;
  line-height: 1.45;
}

.integration-layer {
  padding: clamp(86px, 12vw, 160px) clamp(18px, 5vw, 76px);
  background: #070707;
  color: #f8f6ec;
}

.integration-copy,
.integration-grid,
.shared-flow {
  width: min(1280px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.integration-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.46fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
}

.integration-copy .industry-label {
  grid-column: 1 / -1;
}

.integration-copy h2 {
  font-size: clamp(42px, 6vw, 96px);
}

.integration-copy p:not(.industry-label) {
  margin: 0;
  color: rgba(248, 246, 236, 0.68);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.48;
}

.integration-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 12px;
  margin-top: clamp(38px, 6vw, 72px);
}

.integration-grid figure {
  position: relative;
  min-height: clamp(280px, 31vw, 430px);
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #1b1b1b;
}

.integration-grid img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.integration-grid figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 9px 11px;
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.58);
  color: #fffaf0;
  font-size: 12px;
  font-weight: 820;
  backdrop-filter: blur(16px);
}

.shared-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.shared-flow article {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #111;
}

.shared-flow span {
  margin-bottom: auto;
  color: rgba(248, 246, 236, 0.34);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  line-height: 0.9;
}

.shared-flow h3 {
  margin: 34px 0 10px;
  color: #f8f6ec;
  font-size: clamp(19px, 1.7vw, 26px);
  line-height: 1;
}

.shared-flow p {
  margin: 0;
  color: rgba(248, 246, 236, 0.64);
  font-size: 12px;
  line-height: 1.45;
}

.design-method {
  padding: clamp(86px, 12vw, 160px) clamp(18px, 5vw, 76px);
  background: #f3f1e8;
  color: #080808;
}

.method-heading,
.method-grid {
  width: min(1220px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.method-heading {
  display: grid;
  gap: 18px;
  align-items: start;
}

.method-heading h2 {
  max-width: 980px;
  font-size: clamp(42px, 5.2vw, 82px);
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: clamp(38px, 6vw, 72px);
  border-top: 1px solid rgba(8, 8, 8, 0.18);
}

.method-step {
  position: relative;
  min-height: 0;
  padding: clamp(24px, 4vw, 44px) 0;
  display: grid;
  grid-template-columns: minmax(64px, 0.16fr) minmax(180px, 0.34fr) minmax(0, 0.5fr);
  gap: clamp(18px, 4vw, 58px);
  align-items: start;
  border-bottom: 1px solid rgba(8, 8, 8, 0.18);
  background: transparent;
}

.method-step span {
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(8, 8, 8, 0.28);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.2vw, 64px);
  font-weight: 500;
  line-height: 0.9;
}

.method-step h3 {
  margin: 0;
  font-size: clamp(24px, 2.7vw, 42px);
  line-height: 0.98;
  white-space: nowrap;
}

.method-step p {
  margin: 0;
  max-width: 58ch;
  color: rgba(8, 8, 8, 0.66);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.5;
}

.industry-final {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: clamp(86px, 12vw, 160px) clamp(18px, 5vw, 76px);
  background: #070707;
  color: #f8f6ec;
}

.industry-final-copy {
  width: min(920px, 100%);
  text-align: center;
}

.industry-final h2 {
  font-size: clamp(38px, 4.8vw, 68px);
}

.industry-final p {
  width: min(680px, 100%);
  margin: 24px auto 0;
  color: rgba(248, 246, 236, 0.7);
  font-size: clamp(17px, 1.7vw, 23px);
  line-height: 1.45;
}

.industry-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 720ms var(--ease), transform 720ms var(--ease);
}

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

@media (max-width: 1080px) {
  .hero-strip {
    grid-template-columns: repeat(5, minmax(210px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
  }

  .hero-strip a {
    scroll-snap-align: start;
  }

  .industry-card,
  .intro-grid,
  .integration-copy,
  .method-heading {
    grid-template-columns: 1fr;
  }

  .industry-card-flip .industry-image {
    order: 0;
  }

  .industry-card {
    min-height: auto;
  }

  .industry-card-copy {
    max-width: none;
  }

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

@media (max-width: 720px) {
  .site-header {
    color: var(--nav-text);
  }

  .site-header .nav-mark::before {
    color: var(--nav-text);
  }

  .site-header .mobile-menu-toggle {
    color: var(--nav-text);
  }

  .site-header.is-mobile-open,
  .site-header.is-mobile-open .nav-mark::before,
  .site-header.is-mobile-open .mobile-menu-toggle {
    color: #080808;
  }

  .industry-hero,
  .industry-intro,
  .industry-card,
  .integration-layer,
  .design-method,
  .industry-final {
    padding-left: 16px;
    padding-right: 16px;
  }

  .industry-hero {
    min-height: auto;
    grid-template-rows: auto auto;
    padding-top: 108px;
    padding-bottom: 18px;
  }

  .industry-hero-copy {
    text-align: left;
    transform: none;
  }

  .industry-hero h1 {
    font-size: clamp(44px, 14vw, 68px);
  }

  .industry-hero p {
    margin-left: 0;
    color: rgba(8, 8, 8, 0.74);
  }

  .industry-actions {
    justify-content: flex-start;
  }

  .hero-strip {
    grid-template-columns: repeat(5, minmax(74vw, 1fr));
  }

  .hero-strip a {
    min-height: auto;
    aspect-ratio: 1 / 1;
  }

  .integration-copy h2 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .method-heading h2,
  .industry-final h2 {
    font-size: clamp(31px, 8.6vw, 44px);
  }

  .industry-intro h2 {
    font-size: clamp(31px, 8.6vw, 44px);
  }

  .intro-copy p,
  .industry-card-copy > p:not(.industry-label),
  .system-points dd {
    color: color-mix(in srgb, var(--section-text, #080808) 84%, transparent);
  }

  .industry-card h2 {
    font-size: clamp(33px, 10vw, 48px);
  }

  .industry-image {
    width: 100%;
  }

  .system-points,
  .integration-grid,
  .shared-flow {
    grid-template-columns: 1fr;
  }

  .shared-flow article {
    min-height: 190px;
  }

  .method-step {
    grid-template-columns: 54px 1fr;
    gap: 12px 18px;
    min-height: 0;
    padding: 24px 0;
  }

  .method-step h3 {
    align-self: center;
    white-space: normal;
  }

  .method-step p {
    grid-column: 2;
    font-size: 15px;
  }

  .industry-final {
    min-height: auto;
    padding-top: 70px;
    padding-bottom: 76px;
  }

  .industry-final p {
    margin-top: 16px;
    font-size: 16px;
  }

  .industry-final .industry-actions {
    justify-content: center;
    margin-top: 22px;
  }

  .industry-final .industry-button {
    min-height: 40px;
    padding: 10px 15px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .industry-reveal,
  .hero-strip img,
  .industry-button {
    transition: none;
  }
}
