.product-card { transition: border-color .25s, transform .25s; }

.product-card:hover { border-color: var(--gallery-accent, var(--orange)); transform: translateY(-3px); }

.product-info {
  min-height: 190px;
}
.product-card .product-info h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -.045em; }
.product-card .product-info > p, .product-card .project-link, .product-card .product-tag { font-family: var(--body); }
.project-photo-button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.project-photo-button:focus-visible { outline: 3px solid var(--orange); outline-offset: -4px; }
.project-carousel { position: fixed; inset: 0; max-width: none; max-height: none; width: 100vw; height: 100dvh; margin: 0; padding: clamp(16px, 3vw, 36px); border: 0; background: #090909; color: #fff; }
.project-carousel.industrial-carousel { --gallery-accent: #fff; }
.project-carousel::backdrop { background: #000e; }
.carousel-inner { height: 100%; display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; grid-template-rows: minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.carousel-image { grid-column: 2; grid-row: 1; max-height: 100%; width: 100%; height: 100%; object-fit: contain; }
.carousel-prev, .carousel-next, .carousel-close { border: 1px solid #ffffff65; color: #fff; background: #151515; cursor: pointer; }
.carousel-prev, .carousel-next { grid-row: 1; width: 48px; height: 48px; border-radius: 50%; font-size: 32px; line-height: 1; }
.carousel-prev { grid-column: 1; }.carousel-next { grid-column: 3; }
.carousel-close { position: absolute; z-index: 2; top: 16px; right: 20px; width: 48px; height: 48px; border-color: var(--gallery-accent, var(--orange)); color: var(--gallery-accent, var(--orange)); font-size: 32px; line-height: 1; }
.carousel-close:hover, .carousel-prev:hover, .carousel-next:hover { background: var(--gallery-accent, var(--orange)); color: #090909; }
.carousel-caption { grid-column: 1 / -1; grid-row: 2; display: flex; justify-content: space-between; gap: 20px; font-family: var(--body); font-size: 14px; }
.carousel-caption strong { font-family: var(--display); text-transform: uppercase; }
.carousel-project-link { border: 1px solid var(--gallery-accent, var(--orange)); background: var(--gallery-accent, var(--orange)); color: #090909; font: 700 14px var(--body); padding: 12px 18px; cursor: pointer; }
.carousel-project-link:hover, .carousel-project-link:focus-visible { background: #090909; color: var(--gallery-accent, var(--orange)); }
.carousel-caption .carousel-project-link { align-self: center; }
@media (max-width: 600px) { .carousel-caption { flex-wrap: wrap; align-items: center; }.carousel-project-link { width: 100%; } }
@media (max-width: 600px) { .project-carousel { padding: 12px; }.carousel-inner { grid-template-columns: 40px minmax(0,1fr) 40px; gap: 2px; }.carousel-prev,.carousel-next { width: 38px; height: 38px; font-size: 26px; }.carousel-close { right: 12px; top: 12px; } }

.project-gallery-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  align-items: end;
  gap: 36px;
  margin-bottom: 28px;
  padding-top: 26px;
  border-top: 1px solid currentColor;
}

.project-gallery-heading h3 {
  margin-top: 8px;
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.project-gallery-heading > p {
  font-size: 16px;
  line-height: 1.65;
}

.industrial-showcase {
  --gallery-accent: #111;
  position: relative;
  margin-top: 76px;
  padding: 34px;
  color: #111;
  border: 1px solid #333;
  border-top: 6px solid #111;
  background-color: #ecece8;
  overflow: hidden;
}
.industrial-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url('/assets/chalk-technical-sketches.webp') left top / 100% auto repeat-y;
  filter: invert(1);
  opacity: .1;
}
.industrial-showcase > * { position: relative; }

.industrial-gallery-heading .eyebrow { color: #111; }
.industrial-gallery-heading > p { color: #454545; }
.industrial-project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.industrial-project-grid .product-card {
  color: #111;
  border-color: #1114;
  background: #f8f8f4;
}

.industrial-project-grid .product-art { background: #d9d9d4; }
.industrial-project-grid .product-info > p { color: #494949; }
.industrial-project-grid .project-link { color: #111; border-color: #1114; }
.industrial-project-grid .project-link > span,
.industrial-project-grid .project-link:hover,
.industrial-project-grid .text-project > .product-tag { color: #111; }
.industrial-project-grid .project-number { color: #11111112; }
.industrial-project-grid .projects-empty { color: #555; border-color: #1116; background: #f8f8f4; }
.industrial-project-grid .projects-empty strong { color: #111; }

.deco-gallery-heading {
  margin-top: 52px;
  color: #fff;
}

.deco-section {
  --gallery-accent: var(--orange);
}
.deco-showcase {
  position: relative;
  margin-top: 52px;
  padding: 34px;
  border: 1px solid #ffffff30;
  background-color: #0b0b0b;
  overflow: hidden;
}
.deco-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url('/assets/chalk-technical-sketches.webp') left top / 100% auto repeat-y;
  opacity: .1;
}
.deco-showcase > * { position: relative; }
.deco-showcase .deco-gallery-heading { margin-top: 0; }
.deco-gallery-heading { border-top: 6px solid var(--orange); padding-top: 26px; }

.deco-gallery-heading .eyebrow { color: var(--orange); }
.deco-gallery-heading > p { color: #aaa; }

.projects-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px dashed #ffffff35;
  padding: 44px;
  text-align: center;
  color: #aaa;
}

.projects-empty strong {
  color: #fff;
  font-family: var(--display);
  font-size: 24px;
  text-transform: uppercase;
}

.custom-project .eyebrow {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

.custom-project h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
}

.custom-project > div > p:last-child {
  font-family: var(--body);
}

@media (max-width: 540px) {
  .projects-empty { padding: 30px 20px; }
  .projects-empty strong { font-size: 20px; }
}

@media (max-width: 820px) {
  .project-gallery-heading { grid-template-columns: 1fr; gap: 16px; }
  .industrial-showcase { margin-top: 52px; padding: 24px; }
  .deco-showcase { padding: 24px; }
  .industrial-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 540px) {
  .industrial-showcase { margin-inline: -8px; padding: 18px; }
  .deco-showcase { margin-inline: -8px; padding: 18px; }
  .industrial-showcase::before, .deco-showcase::before { background-size: auto 520px; background-position: left top; }
  .industrial-project-grid { grid-template-columns: 1fr; }
}

.universe-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.universe-card { padding: 28px clamp(20px, 2.1vw, 32px); }
.industry-card { background: #fff; color: #111; border-right-color: #0b0b0b28; }
.industry-card .card-index, .industry-card p { color: #666; opacity: 1; }
.industry-card .text-link { color: #111; }
.deco-card { background: #0b0b0b; color: #fff; border-left: 1px solid #ffffff26; }
.deco-card .card-index, .deco-card .text-link { color: var(--orange); }
.deco-card p { color: #d7d7d7; opacity: 1; }
.repair-card { background: var(--orange); color: #0b0b0b; border-left: 1px solid #0b0b0b70; }
.repair-card .card-index, .repair-card .text-link { color: #fff; }
.repair-card p { color: #111; opacity: 1; }
.universe-section-top { justify-content: flex-end; }
.universe-section-top .section-index { font-size: clamp(15px, 1.2vw, 19px); font-weight: 800; letter-spacing: .08em; line-height: 1.4; text-align: right; }
.repair-section { background: var(--orange); color: #0b0b0b; }
.repair-section .section-index { color: #17100b; }
.repair-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(290px, .8fr); align-items: end; gap: clamp(30px, 5vw, 90px); }
.repair-heading .section-title { overflow-wrap: anywhere; }
.repair-heading .section-title em { color: #fff; }
.repair-intro p { max-width: 540px; font-size: 18px; line-height: 1.7; }
.repair-intro .button { margin-top: 28px; }
.repair-showcase { position: relative; overflow: hidden; margin-top: 72px; padding: 34px; border: 1px solid #0b0b0b80; background: #ffffff1a; }
.repair-showcase::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: url('/assets/chalk-technical-sketches.webp') left top / 100% auto repeat-y; filter: invert(1); opacity: .08; }
.repair-showcase > * { position: relative; }
.repair-gallery-heading { border-top: 6px solid #0b0b0b; }
.repair-gallery-heading .eyebrow { color: #fff; }
.repair-gallery-heading > p { color: #24180f; }
.repair-project-grid .product-card { color: #0b0b0b; border-color: #0b0b0b60; background: #ff9341; }
.repair-project-grid .product-art { background: #e87b29; }
.repair-project-grid .product-info > p { color: #2d211a; }
.repair-project-grid .project-link { color: #0b0b0b; border-color: #0b0b0b50; }
.repair-project-grid .project-link > span, .repair-project-grid .project-link:hover, .repair-project-grid .text-project > .product-tag { color: #0b0b0b; }
.repair-project-grid .project-number { color: #0b0b0b20; }
.repair-project-grid .projects-empty { color: #29180f; border-color: #0b0b0b80; background: #ffffff1c; }
.repair-project-grid .projects-empty strong { color: #0b0b0b; }

@media (max-width: 1200px) {
  .site-header nav { gap: 16px; font-size: 12px; }
  .site-header .brand-copy strong { font-size: 15px; }
}
@media (max-width: 1040px) {
  .site-header .nav-cta { display: none; }
  .site-header .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 42px; height: 42px; padding: 10px; border: 1px solid #ffffff30; background: none; }
  .site-header .menu-toggle span { display: block; width: 20px; height: 1px; background: #eee; transition: transform .2s; }
  .site-header .menu-toggle[aria-expanded=true] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .site-header .menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-header nav { display: none; position: absolute; inset: 100% 0 auto; flex-direction: column; gap: 15px; padding: 25px var(--gutter); border-bottom: 1px solid #444; background: #111; font-size: 18px; }
  .site-header nav.is-open { display: flex; }
  .universe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deco-card { grid-column: 1 / -1; border-left: 0; border-top: 1px solid #ffffff26; }
}
@media (max-width: 820px) {
  .repair-heading { grid-template-columns: 1fr; gap: 22px; }
  .repair-showcase { padding: 24px; }
  .repair-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .universe-grid, .repair-project-grid { grid-template-columns: 1fr; }
  .industry-card { border-bottom: 0; }
  .repair-card { border-left: 0; border-top: 1px solid #0b0b0b70; }
  .deco-card { grid-column: auto; }
}
@media (max-width: 540px) {
  .universe-section-top .section-index { font-size: 15px; }
  .repair-showcase { margin-inline: -8px; padding: 18px; }
  .repair-showcase::before { background-size: auto 520px; }
  .repair-intro p { font-size: 16px; }
}
