:root {
  --page-orange: #ff6b00;
  --page-ink: #1a1c20;
  --page-surface: #23262b;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  overflow-x: clip;
}

body {
  min-height: 100%;
}

.logo-underscore {
  position: relative;
  top: 0.06em;
  margin-left: 0.02em;
  color: var(--page-orange);
  font-family: "Righteous", cursive;
  line-height: 1;
  vertical-align: baseline;
}

.site-header .brand-link {
  display: inline-flex;
  align-items: center;
}

.language-link {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.mobile-nav summary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.7rem;
  padding: 0 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav summary::after {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 1px solid var(--page-orange);
  border-bottom: 1px solid var(--page-orange);
  content: "";
  transform: translateY(-0.12rem) rotate(45deg);
  transition: transform 220ms ease;
}

.mobile-nav[open] summary::after {
  transform: translateY(0.12rem) rotate(225deg);
}

.mobile-nav-panel {
  position: absolute;
  z-index: 70;
  top: calc(100% + 0.85rem);
  right: 0;
  display: grid;
  width: min(21rem, calc(100vw - 2rem));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(20, 22, 26, 0.98);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.48);
}

.mobile-nav-panel a {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mobile-nav-panel a:last-child {
  border-bottom: 0;
}

.mobile-nav-panel a:hover,
.mobile-nav-panel a:focus-visible {
  color: white;
  background: rgba(255, 107, 0, 0.08);
}

.subpage-hero {
  position: relative;
  display: flex;
  min-height: min(72svh, 48rem);
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: #111317;
  --hero-fade: 0;
}

.subpage-hero--service {
  min-height: min(64svh, 42rem);
}

.subpage-hero .hero-media {
  transform: translate3d(var(--hero-shift-x), var(--hero-shift-y), 0) scale(1.055);
}

.subpage-hero .hero-image {
  filter: saturate(0.46) contrast(1.14) brightness(0.58);
}

.subpage-hero .hero-vignette {
  background:
    linear-gradient(90deg, rgba(15, 17, 20, 0.94), rgba(15, 17, 20, 0.34) 58%, rgba(15, 17, 20, 0.8)),
    linear-gradient(to bottom, rgba(15, 17, 20, 0.18), rgba(26, 28, 32, 0.58) 58%, #1a1c20 100%) !important;
}

.subpage-hero-content {
  position: relative;
  z-index: 6;
  width: 100%;
  padding-top: 11rem;
  padding-bottom: 5.5rem;
  transform: translate3d(0, calc(var(--hero-fade) * 40px), 0);
  opacity: calc(1 - var(--hero-fade));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.5rem;
  height: 1px;
  content: "";
  background: var(--page-orange);
  box-shadow: 0 0 10px rgba(255, 107, 0, 0.62);
}

.page-title {
  max-width: 68rem;
  color: white;
  font-size: clamp(2.75rem, 7vw, 6.6rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
  hyphens: auto;
}

.page-lead {
  max-width: 49rem;
  margin-top: 1.75rem;
  color: rgba(209, 213, 219, 0.86);
  font-size: clamp(1.08rem, 2.2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.55;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.8rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--page-orange);
}

.breadcrumb span[aria-hidden="true"] {
  color: rgba(255, 107, 0, 0.7);
}

.content-section {
  padding: 7rem 0;
}

.content-section--soft {
  background:
    radial-gradient(circle at 84% 8%, rgba(255, 107, 0, 0.055), transparent 28%),
    rgba(35, 38, 43, 0.34);
}

.section-kicker {
  margin-bottom: 1rem;
  color: var(--page-orange);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.section-title {
  max-width: 54rem;
  color: white;
  font-size: clamp(2.2rem, 5vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.section-intro {
  max-width: 53rem;
  margin-top: 1.5rem;
  color: rgb(156 163 175);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 300;
  line-height: 1.7;
}

.service-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.025);
}

.service-card-number {
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.16);
  font-family: "Righteous", cursive;
  font-size: 2.65rem;
  line-height: 1;
}

.service-card h2,
.service-card h3 {
  color: white;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.service-card p {
  margin-top: 1rem;
  color: rgb(156 163 175);
  line-height: 1.7;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 1.8rem;
  color: var(--page-orange);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-card-link::after {
  content: "→";
}

.detail-grid {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
}

.detail-item {
  padding: 2rem;
  background: #1d2024;
}

.detail-item h3 {
  color: white;
  font-size: 1.35rem;
  font-weight: 700;
}

.detail-item p {
  margin-top: 0.8rem;
  color: rgb(156 163 175);
  line-height: 1.7;
}

.process-step {
  position: relative;
  padding: 1.8rem 0 1.8rem 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.process-step:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.process-step strong {
  position: absolute;
  top: 1.82rem;
  left: 0;
  color: var(--page-orange);
  font-family: "Righteous", cursive;
  font-size: 1.05rem;
}

.process-step h3 {
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
}

.process-step p {
  max-width: 48rem;
  margin-top: 0.6rem;
  color: rgb(156 163 175);
  line-height: 1.7;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.tag-list span {
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.035);
  color: rgb(209 213 219);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.025);
}

.product-panel-image {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--page-surface);
}

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

.product-panel-copy {
  padding: 2rem;
}

.product-panel-copy h2,
.product-panel-copy h3 {
  color: white;
  font-family: "Righteous", cursive;
  font-size: 2.6rem;
}

.product-panel-copy p {
  margin-top: 1rem;
  color: rgb(156 163 175);
  line-height: 1.75;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2.3rem, 6vw, 5rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 107, 0, 0.19), transparent 36%),
    #202328;
}

.cta-panel h2 {
  max-width: 48rem;
  color: white;
  font-size: clamp(2.2rem, 5vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.cta-panel p {
  max-width: 42rem;
  margin-top: 1.25rem;
  color: rgb(156 163 175);
  font-size: 1.12rem;
  line-height: 1.7;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  margin-top: 2rem;
  padding: 0 1.4rem;
  border: 1px solid rgba(255, 107, 0, 0.54);
  border-radius: 999px;
  background: var(--page-orange);
  color: #111317;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  background: white;
  color: #111317;
  transform: translateY(-2px);
}

.site-footer {
  background: #050505;
}

.footer-link {
  color: white;
  text-decoration: underline;
  text-decoration-color: rgba(255, 107, 0, 0.65);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--page-orange);
}

.logo-grid img {
  width: auto;
  max-height: 70px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .detail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .subpage-hero,
  .subpage-hero--service {
    min-height: 42rem;
  }

  .subpage-hero-content {
    padding-top: 9.5rem;
    padding-bottom: 4rem;
  }

  .page-title {
    max-width: 100%;
    font-size: clamp(2.3rem, 9.5vw, 3.6rem);
    line-height: 1.02;
    text-wrap: wrap;
  }

  .content-section {
    padding: 5.5rem 0;
  }

  .service-card,
  .detail-item,
  .product-panel-copy {
    padding: 1.5rem;
  }

  .primary-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .primary-button,
  .mobile-nav summary::after {
    transition: none;
  }

  .primary-button:hover,
  .primary-button:focus-visible {
    transform: none;
  }
}
