/* ==========================================================================
   SAI LASERS — Design System
   Plain CSS, no framework. Tokens, base, layout, components, animation.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #ffffff;
  --ink-soft: #f5f3f0;
  --surface: #ffffff;
  --surface-2: #f5f3f0;
  --laser: #f0590a;
  --amber: #ff8a00;
  --text: #191512;
  --muted: #6b6560;
  --line: rgba(25, 21, 18, 0.1);
  --line-strong: rgba(25, 21, 18, 0.2);

  --font-display: "Space Grotesk", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;

  --container: 1280px;
  --nav-height: 80px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

::selection {
  background: var(--laser);
  color: #0a0a0a;
}

:focus-visible {
  outline: 2px solid var(--laser);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 999;
  background: var(--laser);
  color: #0a0a0a;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: 999px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

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

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 32px;
  }
}

.section {
  padding-block: 88px;
}

@media (max-width: 767px) {
  .section {
    padding-block: 64px;
  }
}

.section--tight {
  padding-block: 56px;
}

.border-y {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bg-soft {
  background: var(--ink-soft);
}

.technical-grid {
  background-image: linear-gradient(rgba(25, 21, 18, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 21, 18, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}

.technical-grid-fine {
  background-image: linear-gradient(rgba(25, 21, 18, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 21, 18, 0.045) 1px, transparent 1px);
  background-size: 16px 16px;
}

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--laser);
}

.section-heading {
  max-width: 640px;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  text-wrap: balance;
}

.section-heading p {
  margin-top: 20px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.65;
  text-wrap: balance;
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 60ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 14px 26px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: all 0.3s var(--ease-out);
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease-out);
}

.btn:hover svg {
  transform: translate(2px, -2px);
}

.btn--primary {
  background: var(--laser);
  color: #0a0a0a;
  box-shadow: 0 0 0 0 rgba(255, 101, 0, 0.4);
}

.btn--primary:hover {
  background: var(--amber);
  box-shadow: 0 0 24px 4px rgba(255, 101, 0, 0.35);
}

.btn--secondary {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: transparent;
}

.btn--secondary:hover {
  border-color: var(--laser);
  color: var(--laser);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  padding: 11px 20px;
  font-size: 0.85rem;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */

.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: all 0.3s var(--ease-out);
}

.nav.is-scrolled,
.nav.is-open {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  height: 100%;
  padding-inline: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (min-width: 640px) {
  .nav__inner {
    padding-inline: 32px;
  }
}

.logo {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.3s var(--ease-out);
}

.logo:hover {
  opacity: 0.85;
}

/* Header lockup: crop the source artwork to its wordmark, hiding the
   tagline strip baked into the bottom of the file (see .logo--full). */
.logo__crop {
  display: inline-flex;
  align-items: flex-start;
  overflow: hidden;
  height: 54px;
}

.logo__crop .logo__img {
  height: 72px;
  width: auto;
  max-width: none;
}

.logo--full {
  align-items: center;
}

.logo--full .logo__img {
  height: 56px;
  width: auto;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav__link {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--laser), var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.nav__link:hover {
  color: var(--text);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.nav__link.is-active {
  color: var(--text);
}

.nav__right {
  display: none;
  align-items: center;
  gap: 20px;
}

.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav__phone:hover {
  color: var(--text);
}

.nav__phone svg {
  width: 16px;
  height: 16px;
}

.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
}

.nav__toggle svg {
  width: 20px;
  height: 20px;
}

@media (min-width: 1024px) {
  .nav__links,
  .nav__right {
    display: flex;
  }
  .nav__toggle {
    display: none;
  }
}

.mobile-nav {
  position: fixed;
  inset-inline: 0;
  top: var(--nav-height);
  bottom: 0;
  z-index: 90;
  background: var(--ink);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px);
  transition: all 0.3s var(--ease-out);
  overflow-y: auto;
}

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

.mobile-nav__inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 24px;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

.mobile-nav__link span:last-child {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--muted);
}

.mobile-nav__cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 32px;
}

.mobile-nav__call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 14px;
  font-size: 0.9rem;
  font-weight: 600;
}

@media (min-width: 1024px) {
  .nav__toggle,
  .mobile-nav {
    display: none;
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 128px;
  padding-bottom: 80px;
}

@media (min-width: 640px) {
  .hero {
    padding-top: 160px;
    padding-bottom: 112px;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  left: -128px;
  top: 96px;
  width: 384px;
  height: 384px;
  border-radius: 999px;
  background: rgba(255, 101, 0, 0.18);
  filter: blur(120px);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

@media (min-width: 640px) {
  .hero__inner {
    padding-inline: 32px;
  }
}

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
  }
}

.hero__headline {
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-size: clamp(2.6rem, 11vw, 5.2rem);
}

.hero__headline span {
  display: block;
  overflow: hidden;
}

.hero__headline span.is-accent {
  color: var(--laser);
}

.hero__sub {
  margin-top: 32px;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.7;
  text-wrap: balance;
}

.hero__cta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hero-anim {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.hero-anim.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Hero visual scene — procedural laser-cutting animation, no photography */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #0a1213;
}

.hero-visual__photo {
  position: absolute;
  inset: -4%;
  background: url("/images/photos/img2.jpeg") center 28% / cover no-repeat;
  filter: grayscale(0.55) brightness(0.5) contrast(1.15) saturate(0.85);
}

.hero-visual__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(130% 100% at 18% 0%, rgba(23, 38, 42, 0.25) 0%, rgba(9, 15, 16, 0.6) 55%, rgba(5, 9, 10, 0.9) 100%);
  pointer-events: none;
}

@media (min-width: 640px) {
  .hero-visual {
    aspect-ratio: 16 / 13;
  }
}

@media (min-width: 1024px) {
  .hero-visual {
    aspect-ratio: 4 / 5;
  }
}

.hero-visual__grid {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

.hero-visual__glow {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(60px);
}

.hero-visual__glow--a {
  left: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  background: rgba(255, 101, 0, 0.35);
  animation: pulse-glow 5s ease-in-out infinite;
}

.hero-visual__glow--b {
  right: -70px;
  bottom: -70px;
  width: 260px;
  height: 260px;
  background: rgba(255, 157, 0, 0.22);
  animation: pulse-glow 5s ease-in-out infinite 1.6s;
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.hero-visual__cut {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-visual__panel {
  fill: rgba(255, 255, 255, 0.025);
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 0.4;
  vector-effect: non-scaling-stroke;
}

.hero-visual__cutline {
  fill: none;
  stroke: #ff8a00;
  stroke-width: 0.7;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 3px rgba(255, 138, 0, 0.6));
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: trace-cut 4.5s ease-in-out infinite;
}

.hero-visual__cutline--inner {
  stroke: rgba(255, 157, 0, 0.6);
  stroke-width: 0.45;
  animation-delay: 0.35s;
}

@keyframes trace-cut {
  0% {
    stroke-dashoffset: 1;
    opacity: 0.3;
  }
  10% {
    opacity: 1;
  }
  55%,
  78% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -1;
    opacity: 0;
  }
}

.hero-visual__beam {
  fill: #fff3d9;
  animation: beam-pulse 4.5s ease-in-out infinite;
}

@keyframes beam-pulse {
  0%,
  8% {
    opacity: 0;
  }
  14% {
    opacity: 1;
  }
  76% {
    opacity: 1;
  }
  84%,
  100% {
    opacity: 0;
  }
}

.hero-visual__sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-visual__sparks span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: #ffb347;
  box-shadow: 0 0 6px 2px rgba(255, 138, 0, 0.8);
  opacity: 0;
  animation: spark 2.4s ease-out infinite;
  animation-delay: var(--d);
}

@keyframes spark {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.4);
  }
  8% {
    opacity: 1;
    transform: scale(1);
  }
  40% {
    opacity: 0.8;
    transform: translate(6px, -10px) scale(0.6);
  }
  100% {
    opacity: 0;
    transform: translate(10px, -18px) scale(0.2);
  }
}

.hero-visual__label {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: pulse-slow 3s ease-in-out infinite;
}

.hero-visual__label::before {
  content: "";
  width: 16px;
  height: 1px;
  background: rgba(255, 101, 0, 0.6);
}

.hero-visual__label span {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(245, 247, 247, 0.8);
}

@keyframes pulse-slow {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

.hero-visual__l1 {
  left: 16px;
  top: 24px;
}
.hero-visual__l2 {
  right: 16px;
  top: 38%;
}
.hero-visual__l3 {
  left: 16px;
  bottom: 96px;
}

@media (min-width: 640px) {
  .hero-visual__l1 {
    left: 24px;
    top: 32px;
  }
  .hero-visual__l2 {
    right: 24px;
  }
  .hero-visual__l3 {
    left: 24px;
    bottom: 112px;
  }
}

.hero-visual__status {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

@media (min-width: 640px) {
  .hero-visual__status {
    left: 24px;
  }
}

.hero-visual__status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(7, 18, 20, 0.7);
  padding: 6px 12px;
  backdrop-filter: blur(4px);
}

.hero-visual__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--laser);
  box-shadow: 0 0 6px 2px rgba(255, 101, 0, 0.6);
}

.hero-visual__status-pill span:last-child {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(245, 247, 247, 0.75);
}

/* ==========================================================================
   TRUST STRIP (marquee)
   ========================================================================== */

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-soft);
  overflow: hidden;
}

.trust-strip__track-wrap {
  display: flex;
  padding-block: 20px;
}

.trust-strip__track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  animation: marquee 28s linear infinite;
}

.trust-strip__track-wrap:hover .trust-strip__track {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted);
}

.trust-strip__item::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--laser);
}

/* ==========================================================================
   MATERIAL VISUAL (generated texture cards, stand-in for photography)
   ========================================================================== */

.material-visual {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background-color: var(--surface);
}

.material-visual[data-material="acrylic"] {
  background-image: linear-gradient(135deg, #16292c 0%, #0d1a1c 45%, #16292c 100%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.09) 0px, rgba(255, 255, 255, 0.09) 1px, transparent 1px, transparent 34px);
}

.material-visual[data-material="mdf"] {
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 157, 0, 0.1), transparent 45%),
    radial-gradient(circle at 80% 60%, rgba(255, 101, 0, 0.08), transparent 50%),
    repeating-radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 10px);
  background-color: #17211f;
}

.material-visual[data-material="wood"] {
  background-image: linear-gradient(135deg, rgba(255, 157, 0, 0.1), transparent 55%),
    linear-gradient(160deg, #211a12, #14100b);
}

.material-visual[data-material="plastic"] {
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0px, rgba(255, 255, 255, 0.06) 2px, transparent 2px, transparent 22px),
    linear-gradient(160deg, #16201f, #0e1516);
}

.material-visual[data-material="paper"] {
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0px, transparent 2px, transparent 18px),
    linear-gradient(160deg, #1a1a17, #101110);
}

.material-visual[data-material="engraving"] {
  background-image: radial-gradient(circle at 25% 25%, rgba(255, 101, 0, 0.12), transparent 50%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0px, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 12px);
  background-color: #171514;
}

.material-visual[data-material="marking"] {
  background-image: repeating-linear-gradient(0deg, rgba(255, 157, 0, 0.09) 0px, transparent 1px, transparent 9px),
    linear-gradient(160deg, #14181a, #0b1011);
}

.material-visual[data-material="custom"] {
  background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.06) 0px, rgba(255, 255, 255, 0.06) 2px, transparent 2px, transparent 16px),
    linear-gradient(160deg, #1c1712, #100d0a);
}

/* Material glyph — centred icon watermark for the CSS-textured swatches
   (photo-backed variants keep ::after for their gradient wash instead). */
.material-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 30%;
  aspect-ratio: 1;
  max-width: 44px;
  max-height: 44px;
  background-color: rgba(255, 255, 255, 0.22);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  pointer-events: none;
  transition: background-color 0.3s;
}

.material-visual[data-material="acrylic"]::before {
  -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnIGZpbGw9Im5vbmUiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMiI+PHBhdGggZD0iTTEyLjgzIDIuMThhMiAyIDAgMCAwLTEuNjYgMEwyLjYgNi4wOGExIDEgMCAwIDAgMCAxLjgzbDguNTggMy45MWEyIDIgMCAwIDAgMS42NiAwbDguNTgtMy45YTEgMSAwIDAgMCAwLTEuODN6Ii8+PHBhdGggZD0iTTIgMTJhMSAxIDAgMCAwIC41OC45MWw4LjYgMy45MWEyIDIgMCAwIDAgMS42NSAwbDguNTgtMy45QTEgMSAwIDAgMCAyMiAxMiIvPjxwYXRoIGQ9Ik0yIDE3YTEgMSAwIDAgMCAuNTguOTFsOC42IDMuOTFhMiAyIDAgMCAwIDEuNjUgMGw4LjU4LTMuOUExIDEgMCAwIDAgMjIgMTciLz48L2c+PC9zdmc+");
  mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnIGZpbGw9Im5vbmUiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMiI+PHBhdGggZD0iTTEyLjgzIDIuMThhMiAyIDAgMCAwLTEuNjYgMEwyLjYgNi4wOGExIDEgMCAwIDAgMCAxLjgzbDguNTggMy45MWEyIDIgMCAwIDAgMS42NiAwbDguNTgtMy45YTEgMSAwIDAgMCAwLTEuODN6Ii8+PHBhdGggZD0iTTIgMTJhMSAxIDAgMCAwIC41OC45MWw4LjYgMy45MWEyIDIgMCAwIDAgMS42NSAwbDguNTgtMy45QTEgMSAwIDAgMCAyMiAxMiIvPjxwYXRoIGQ9Ik0yIDE3YTEgMSAwIDAgMCAuNTguOTFsOC42IDMuOTFhMiAyIDAgMCAwIDEuNjUgMGw4LjU4LTMuOUExIDEgMCAwIDAgMjIgMTciLz48L2c+PC9zdmc+");
}

.material-visual[data-material="mdf"]::before {
  -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnIGZpbGw9Im5vbmUiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMiI+PHJlY3Qgd2lkdGg9IjE4IiBoZWlnaHQ9IjE4IiB4PSIzIiB5PSIzIiByeD0iMiIvPjxwYXRoIGQ9Ik0zIDloMThNMyAxNWgxOE05IDN2MThtNi0xOHYxOCIvPjwvZz48L3N2Zz4=");
  mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnIGZpbGw9Im5vbmUiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMiI+PHJlY3Qgd2lkdGg9IjE4IiBoZWlnaHQ9IjE4IiB4PSIzIiB5PSIzIiByeD0iMiIvPjxwYXRoIGQ9Ik0zIDloMThNMyAxNWgxOE05IDN2MThtNi0xOHYxOCIvPjwvZz48L3N2Zz4=");
}

.material-visual[data-material="plastic"]::before {
  -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnIGZpbGw9Im5vbmUiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMiI+PHBhdGggZD0iTTguMyAxMGEuNy43IDAgMCAxLS42MjYtMS4wNzlMMTEuNCAzYS43LjcgMCAwIDEgMS4xOTgtLjA0M0wxNi4zIDguOWEuNy43IDAgMCAxLS41NzIgMS4xWiIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjciIHg9IjMiIHk9IjE0IiByeD0iMSIvPjxjaXJjbGUgY3g9IjE3LjUiIGN5PSIxNy41IiByPSIzLjUiLz48L2c+PC9zdmc+");
  mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnIGZpbGw9Im5vbmUiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMiI+PHBhdGggZD0iTTguMyAxMGEuNy43IDAgMCAxLS42MjYtMS4wNzlMMTEuNCAzYS43LjcgMCAwIDEgMS4xOTgtLjA0M0wxNi4zIDguOWEuNy43IDAgMCAxLS41NzIgMS4xWiIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjciIHg9IjMiIHk9IjE0IiByeD0iMSIvPjxjaXJjbGUgY3g9IjE3LjUiIGN5PSIxNy41IiByPSIzLjUiLz48L2c+PC9zdmc+");
}

.material-visual[data-material="paper"]::before {
  -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnIGZpbGw9Im5vbmUiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMiI+PHBhdGggZD0iTTE5IDE3VjVhMiAyIDAgMCAwLTItMkg0Ii8+PHBhdGggZD0iTTggMjFoMTJhMiAyIDAgMCAwIDItMnYtMWExIDEgMCAwIDAtMS0xSDExYTEgMSAwIDAgMC0xIDF2MWEyIDIgMCAxIDEtNCAwVjVhMiAyIDAgMSAwLTQgMHYyYTEgMSAwIDAgMCAxIDFoMyIvPjwvZz48L3N2Zz4=");
  mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnIGZpbGw9Im5vbmUiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMiI+PHBhdGggZD0iTTE5IDE3VjVhMiAyIDAgMCAwLTItMkg0Ii8+PHBhdGggZD0iTTggMjFoMTJhMiAyIDAgMCAwIDItMnYtMWExIDEgMCAwIDAtMS0xSDExYTEgMSAwIDAgMC0xIDF2MWEyIDIgMCAxIDEtNCAwVjVhMiAyIDAgMSAwLTQgMHYyYTEgMSAwIDAgMCAxIDFoMyIvPjwvZz48L3N2Zz4=");
}

.material-visual[data-material="marking"]::before {
  -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMiIgZD0iTTE0IDEzVjguNUMxNCA3IDE1IDcgMTUgNWEzIDMgMCAwIDAtNiAwYzAgMiAxIDIgMSAzLjVWMTNtMTAgMi41YTIuNSAyLjUgMCAwIDAtMi41LTIuNWgtMTFBMi41IDIuNSAwIDAgMCA0IDE1LjVWMTdhMSAxIDAgMCAwIDEgMWgxNGExIDEgMCAwIDAgMS0xek01IDIyaDE0Ii8+PC9zdmc+");
  mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMiIgZD0iTTE0IDEzVjguNUMxNCA3IDE1IDcgMTUgNWEzIDMgMCAwIDAtNiAwYzAgMiAxIDIgMSAzLjVWMTNtMTAgMi41YTIuNSAyLjUgMCAwIDAtMi41LTIuNWgtMTFBMi41IDIuNSAwIDAgMCA0IDE1LjVWMTdhMSAxIDAgMCAwIDEgMWgxNGExIDEgMCAwIDAgMS0xek01IDIyaDE0Ii8+PC9zdmc+");
}

.material-visual[data-material="wood"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 7 9h3l-4 6h4l-3 6h10l-3-6h4l-4-6h3z'/%3E%3Cpath d='M12 22v-3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 7 9h3l-4 6h4l-3 6h10l-3-6h4l-4-6h3z'/%3E%3Cpath d='M12 22v-3'/%3E%3C/svg%3E");
}

.material-visual[data-material="engraving"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E");
}

.material-visual[data-material="custom"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E");
}

.card:hover .material-visual::before,
a:hover > .material-visual::before {
  background-color: rgba(255, 101, 0, 0.6);
}

/* Service-card thumbnails (small 48px icon swatch) — real photography
   instead of the CSS-textured icon glyph. */
.card__visual .material-visual[data-material="acrylic"] {
  background-image: url("/images/photos/acrylic.png");
  background-size: cover;
  background-position: center;
}

.card__visual .material-visual[data-material="mdf"] {
  background-image: url("/images/photos/mdf.png");
  background-size: cover;
  background-position: center;
}

.card__visual .material-visual[data-material="wood"] {
  background-image: url("/images/photos/wood.png");
  background-size: cover;
  background-position: center;
}

.card__visual .material-visual[data-material="plastic"] {
  background-image: url("/images/photos/plastic.png");
  background-size: cover;
  background-position: center;
}

.card__visual .material-visual[data-material="paper"] {
  background-image: url("/images/photos/paper.png");
  background-size: cover;
  background-position: center;
}

.card__visual .material-visual[data-material="engraving"] {
  background-image: url("/images/photos/laser-engraver.jpeg");
  background-size: cover;
  background-position: center;
}

.card__visual .material-visual[data-material="marking"] {
  background-image: url("/images/photos/fiber-marking.jpeg");
  background-size: cover;
  background-position: center;
}

.card__visual .material-visual[data-material="custom"] {
  background-image: url("/images/photos/cnc-router.jpeg");
  background-size: cover;
  background-position: center;
}

.card__visual .material-visual::before {
  content: none;
}

/* Large-format panels (homepage material selector, Materials page rows) —
   use real product photography instead of the small icon-swatch treatment. */
.material-panel__visual[data-material="acrylic"],
.material-editorial__visual[data-material="acrylic"] {
  background-image: url("/images/photos/acrylic.png");
  background-size: cover;
  background-position: center;
}

.material-panel__visual[data-material="mdf"],
.material-editorial__visual[data-material="mdf"] {
  background-image: url("/images/photos/mdf.png");
  background-size: cover;
  background-position: center;
}

.material-panel__visual[data-material="wood"],
.material-editorial__visual[data-material="wood"] {
  background-image: url("/images/photos/wood.png");
  background-size: cover;
  background-position: center;
}

.material-panel__visual[data-material="plastic"],
.material-editorial__visual[data-material="plastic"] {
  background-image: url("/images/photos/plastic.png");
  background-size: cover;
  background-position: center;
}

.material-panel__visual[data-material="paper"],
.material-editorial__visual[data-material="paper"] {
  background-image: url("/images/photos/paper.png");
  background-size: cover;
  background-position: center;
}

.material-panel__visual::before,
.material-editorial__visual::before {
  content: none;
}

.material-visual[data-material="wood"] .material-visual__label,
.material-visual[data-material="engraving"] .material-visual__label,
.material-visual[data-material="custom"] .material-visual__label {
  color: #f5f7f7;
  z-index: 1;
}

.material-visual__path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

.material-visual__corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: rgba(255, 101, 0, 0.5);
}

.material-visual__corner--tl {
  left: 12px;
  top: 12px;
  border-left: 1px solid;
  border-top: 1px solid;
}

.material-visual__corner--br {
  right: 12px;
  bottom: 12px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.material-visual__label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.material-visual--zoom {
  transition: transform 0.5s var(--ease-out);
}

.card:hover .material-visual--zoom,
a:hover > .material-visual--zoom {
  transform: scale(1.06);
}

/* ==========================================================================
   SERVICES GRID
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 24px;
  box-shadow: 0 1px 2px rgba(25, 21, 18, 0.04);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

@media (min-width: 640px) {
  .card {
    padding: 28px;
  }
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px -12px rgba(25, 21, 18, 0.16);
}

.card__edge {
  position: absolute;
  background: linear-gradient(90deg, var(--laser), var(--amber));
  pointer-events: none;
}

.card__edge--top {
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.card__edge--right {
  right: 0;
  top: 0;
  width: 2px;
  height: 100%;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s var(--ease-out) 0.12s;
  background: linear-gradient(180deg, var(--amber), var(--laser));
}
.card__edge--bottom {
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-out) 0.24s;
}
.card__edge--left {
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s var(--ease-out) 0.36s;
  background: linear-gradient(180deg, var(--amber), var(--laser));
}

.card:hover .card__edge--top,
.card:hover .card__edge--bottom {
  transform: scaleX(1);
}
.card:hover .card__edge--right,
.card:hover .card__edge--left {
  transform: scaleY(1);
}

.card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.card__number {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.card__visual {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
}

.card h3 {
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 1.3rem;
}

.card p {
  margin-top: 12px;
  flex: 1;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.card__link {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--laser);
}

.card__link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease-out);
}

.card:hover .card__link svg {
  transform: translate(3px, -3px);
}

/* ==========================================================================
   MATERIAL SELECTOR (interactive)
   ========================================================================== */

.material-selector {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 1024px) {
  .material-selector {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
  }
}

.material-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.material-tabs::-webkit-scrollbar {
  display: none;
}

@media (min-width: 1024px) {
  .material-tabs {
    flex-direction: column;
    overflow: visible;
    padding-bottom: 0;
  }
}

.material-tab {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 16px 20px;
  text-align: left;
  transition: border-color 0.2s;
}

.material-tab:hover {
  border-color: var(--line-strong);
}

.material-tab.is-active {
  border-color: rgba(255, 101, 0, 0.5);
  background: var(--surface);
}

.material-tab__number {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.material-tab.is-active .material-tab__number {
  color: var(--laser);
}

.material-tab__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--muted);
}

.material-tab.is-active .material-tab__name {
  color: var(--text);
}

.material-panel__visual {
  aspect-ratio: 16 / 10;
  width: 100%;
}

.material-panel__tagline {
  margin-top: 32px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--laser);
}

.material-panel__desc {
  margin-top: 16px;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.material-panel__list {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 32px;
}

@media (min-width: 640px) {
  .material-panel__list {
    grid-template-columns: 1fr 1fr;
  }
}

.material-panel__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
}

.material-panel__list li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--laser);
  flex-shrink: 0;
}

.material-panel__link {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.material-panel__link:hover {
  color: var(--laser);
}

/* ==========================================================================
   PROCESS
   ========================================================================== */

.process {
  position: relative;
}

.process__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 24px;
  height: 1px;
  background: var(--line);
  display: none;
}

.process__line-inner {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--laser), transparent);
  animation: pulse-slow 3s ease-in-out infinite;
}

@media (min-width: 768px) {
  .process__line {
    display: block;
  }
}

.process__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 640px) {
  .process__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .process__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.process__step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.process__badge {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 101, 0, 0.4);
  background: var(--ink);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--laser);
}

.process__step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.process__step p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ==========================================================================
   APPLICATIONS GRID
   ========================================================================== */

.apps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--line);
}

@media (min-width: 640px) {
  .apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .apps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .apps-grid--compact {
    grid-template-columns: repeat(4, 1fr);
  }
}

.apps-grid__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  background: var(--surface);
  padding: 24px;
  transition: background 0.3s;
}

@media (min-width: 640px) {
  .apps-grid__item {
    padding: 28px;
  }
}

.apps-grid__item:hover {
  background: var(--surface-2);
}

.apps-grid__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.apps-grid__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--muted);
  transition: color 0.3s, background 0.3s, transform 0.3s;
}

.apps-grid__icon svg {
  width: 16px;
  height: 16px;
}

.apps-grid__item:hover .apps-grid__icon {
  color: var(--laser);
  background: rgba(255, 101, 0, 0.12);
  transform: scale(1.08);
}

.apps-grid__item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.apps-grid__item p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ==========================================================================
   FEATURED WORK / GALLERY GRID
   ========================================================================== */

.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .work-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(0, 1fr);
  }
}

.work-grid__item {
  position: relative;
  display: block;
  height: 100%;
  width: 100%;
}

.work-grid__item .hero-visual__label {
  z-index: 1;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(8, 10, 10, 0.6);
  backdrop-filter: blur(4px);
}

.work-grid__item .material-visual {
  height: 100%;
  width: 100%;
  min-height: 200px;
}

.work-grid__item--tall {
  grid-row: span 2 / span 2;
}

.work-grid__item--tall .material-visual {
  aspect-ratio: 3 / 4;
}

.work-grid__item--wide {
  aspect-ratio: 16 / 9;
}

@media (min-width: 640px) {
  .work-grid__item--wide {
    grid-column: span 2 / span 2;
  }
}

.work-grid__item--square .material-visual {
  aspect-ratio: 1 / 1;
}

.work-grid__item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease-out);
}

.work-grid__item--tall img {
  aspect-ratio: 3 / 4;
}

.work-grid__item--wide img {
  aspect-ratio: 16 / 9;
}

.work-grid__item--square img {
  aspect-ratio: 1 / 1;
}

.work-grid__item:hover img {
  transform: scale(1.06);
}

/* Gallery page: masonry via CSS columns */
.masonry {
  columns: 1;
  gap: 16px;
}

@media (min-width: 640px) {
  .masonry {
    columns: 2;
  }
}

@media (min-width: 1024px) {
  .masonry {
    columns: 3;
  }
}

.masonry__item {
  break-inside: avoid;
  margin-bottom: 16px;
}

.masonry__item .material-visual {
  cursor: zoom-in;
  width: 100%;
}

.masonry__item--tall .material-visual {
  aspect-ratio: 3 / 4;
}
.masonry__item--wide .material-visual {
  aspect-ratio: 16 / 10;
}
.masonry__item--square .material-visual {
  aspect-ratio: 1 / 1;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-filter {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: all 0.2s;
}

.gallery-filter:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.gallery-filter.is-active {
  background: var(--laser);
  border-color: var(--laser);
  color: #0a0a0a;
}

.masonry__item[hidden] {
  display: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 9, 10, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__content {
  position: relative;
  width: 100%;
  max-width: 720px;
  transform: scale(0.96);
  transition: transform 0.3s var(--ease-out);
}

.lightbox.is-open .lightbox__content {
  transform: scale(1);
}

.lightbox__content .material-visual {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
}

.lightbox__caption {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(245, 247, 247, 0.7);
  font-size: 0.9rem;
}

.lightbox__caption strong {
  color: #f5f7f7;
  font-family: var(--font-display);
  font-weight: 600;
}

.lightbox__close {
  position: absolute;
  top: -52px;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f5f7f7;
}

.lightbox__close svg {
  width: 18px;
  height: 18px;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(7, 18, 20, 0.7);
  color: #f5f7f7;
}

.lightbox__nav svg {
  width: 20px;
  height: 20px;
}

.lightbox__nav--prev {
  left: -8px;
}
.lightbox__nav--next {
  right: -8px;
}

@media (min-width: 640px) {
  .lightbox__nav--prev {
    left: -60px;
  }
  .lightbox__nav--next {
    right: -60px;
  }
}

/* ==========================================================================
   WHY US
   ========================================================================== */

.why-list {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.why-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}

.why-item:last-child {
  border-bottom: none;
}

@media (min-width: 640px) {
  .why-item {
    grid-template-columns: 100px 1fr;
    align-items: center;
    gap: 32px;
  }
}

.why-item__number {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--laser);
}

.why-item__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@media (min-width: 640px) {
  .why-item__body {
    flex-direction: row;
    align-items: baseline;
    gap: 24px;
  }
}

.why-item__body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

@media (min-width: 640px) {
  .why-item__body h3 {
    width: 280px;
    flex-shrink: 0;
  }
}

.why-item__body p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.cta {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-soft);
}

.cta__beam {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 101, 0, 0.5), transparent);
}

.cta__inner {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  padding: 96px 20px;
  text-align: center;
}

@media (min-width: 640px) {
  .cta__inner {
    padding: 128px 32px;
  }
}

.cta__inner h2 {
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(2.2rem, 6vw, 3.75rem);
  text-wrap: balance;
}

.cta__inner p {
  margin: 24px auto 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.65;
  text-wrap: balance;
}

.cta__actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.cta__target {
  position: relative;
  display: inline-flex;
}

.cta__target::before,
.cta__target::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255, 101, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.cta__target::before {
  inset: -14px;
}
.cta__target::after {
  inset: -26px;
  border-color: rgba(255, 101, 0, 0.15);
}

.cta__target:hover::before,
.cta__target:hover::after {
  opacity: 1;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  border-top: 1px solid var(--line);
  background: var(--ink-soft);
}

.footer__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 64px 20px;
}

@media (min-width: 640px) {
  .footer__inner {
    padding: 80px 32px;
  }
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.footer__about p {
  margin-top: 24px;
  max-width: 20rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer__meta {
  margin-top: 16px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.footer__social {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: all 0.2s;
}

.footer__social a:hover {
  border-color: var(--laser);
  color: var(--laser);
}

.footer__social svg {
  width: 16px;
  height: 16px;
}

.footer h3 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted);
}

.footer__links {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--text);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--laser);
}

.footer__contact {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__contact a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text);
  transition: color 0.2s;
}

.footer__contact a:hover {
  color: var(--laser);
}

.footer__contact svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--laser);
}

.footer__bottom {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--muted);
}

@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ==========================================================================
   STICKY MOBILE BAR
   ========================================================================== */

.mobile-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 80;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.mobile-bar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding-block: 12px;
  border-right: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mobile-bar__item:last-child {
  border-right: none;
  background: var(--laser);
  color: #0a0a0a;
}

.mobile-bar__item svg {
  width: 16px;
  height: 16px;
  color: var(--laser);
}

.mobile-bar__item:last-child svg {
  color: #0a0a0a;
}

@media (min-width: 1024px) {
  .mobile-bar {
    display: none;
  }
}

body.has-mobile-bar {
  padding-bottom: 64px;
}

@media (min-width: 1024px) {
  body.has-mobile-bar {
    padding-bottom: 0;
  }
}

/* ==========================================================================
   LASER PATH (scroll progress signature line)
   ========================================================================== */

.laser-path {
  position: fixed;
  right: 24px;
  top: 0;
  z-index: 60;
  height: 100vh;
  width: 1px;
  display: none;
  pointer-events: none;
}

@media (min-width: 1280px) {
  .laser-path {
    display: block;
  }
}

.laser-path__track {
  position: relative;
  height: 100%;
  width: 1px;
  background: var(--line);
}

.laser-path__fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 0%;
  background: linear-gradient(to bottom, var(--laser), var(--amber));
  box-shadow: 0 0 8px 1px rgba(255, 101, 0, 0.6);
}

.laser-path__dot {
  position: absolute;
  left: 50%;
  top: 0%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--laser);
  box-shadow: 0 0 10px 3px rgba(255, 101, 0, 0.55);
  transform: translate(-50%, -50%);
}

.laser-path__readout {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, calc(-100% - 10px));
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  opacity: 0.6;
}

/* ==========================================================================
   REVEAL ON SCROLL
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   QUOTE MODAL (configurator)
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(4, 9, 10, 0.8);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}

@media (min-width: 640px) {
  .modal-overlay {
    align-items: center;
    padding: 24px;
  }
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  width: 100%;
  max-width: 620px;
  max-height: 88vh;
  overflow-y: auto;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: 24px 24px 0 0;
  padding: 32px 24px;
  transform: translateY(24px);
  transition: transform 0.35s var(--ease-out);
}

@media (min-width: 640px) {
  .modal {
    border-radius: 24px;
    padding: 40px;
    transform: translateY(16px) scale(0.98);
  }
}

.modal-overlay.is-open .modal {
  transform: translateY(0) scale(1);
}

.modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.modal__steps {
  display: flex;
  gap: 6px;
}

.modal__step-dot {
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: var(--line-strong);
  transition: background 0.3s;
}

.modal__step-dot.is-active {
  background: var(--laser);
}

.modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  flex-shrink: 0;
}

.modal__close svg {
  width: 16px;
  height: 16px;
}

.modal__panel {
  display: none;
}

.modal__panel.is-active {
  display: block;
}

.modal__eyebrow {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--laser);
}

.modal__title {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.modal__options {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 480px) {
  .modal__options {
    grid-template-columns: repeat(3, 1fr);
  }
}

.modal__option {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  transition: all 0.2s;
}

.modal__option:hover {
  border-color: var(--line-strong);
}

.modal__option.is-selected {
  border-color: var(--laser);
  background: rgba(255, 101, 0, 0.08);
  color: var(--laser);
}

.modal__field {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal__field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.modal__field input,
.modal__field textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  background: var(--ink);
  font-size: 0.9rem;
}

.modal__field input:focus,
.modal__field textarea:focus {
  border-color: var(--laser);
}

.modal__summary {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
}

.modal__summary-row {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.modal__summary-row span:last-child {
  color: var(--text);
  font-weight: 600;
}

.modal__actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal__success {
  display: none;
  text-align: center;
  padding-block: 24px;
}

.modal__success.is-active {
  display: block;
}

.modal__success svg {
  width: 48px;
  height: 48px;
  color: var(--laser);
  margin-inline: auto;
}

.modal__success h3 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}

.modal__success p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info__block h3 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.contact-info__block p,
.contact-info__block a {
  margin-top: 10px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
}

.contact-info__block a:hover {
  color: var(--laser);
}

.contact-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.field label .optional {
  font-weight: 400;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

.field input,
.field select,
.field textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  background: var(--surface);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--laser);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.file-drop {
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

.file-drop:hover,
.file-drop.is-dragover {
  border-color: var(--laser);
  color: var(--text);
}

.file-drop svg {
  width: 24px;
  height: 24px;
  margin-inline: auto;
  color: var(--laser);
}

.file-drop input {
  display: none;
}

.file-drop__list {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.file-drop__chip {
  font-size: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  color: var(--text);
}

.form-success {
  display: none;
  border: 1px solid rgba(255, 101, 0, 0.4);
  border-radius: 14px;
  padding: 18px;
  font-size: 0.9rem;
  color: var(--text);
}

.form-success.is-active {
  display: block;
}

.form-error {
  display: none;
  border: 1px solid rgba(220, 38, 38, 0.4);
  border-radius: 14px;
  padding: 18px;
  font-size: 0.9rem;
  color: var(--text);
}

.form-error.is-active {
  display: block;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ==========================================================================
   ABOUT PAGE TIMELINE
   ========================================================================== */

.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.timeline__item {
  position: relative;
  padding-top: 24px;
  border-top: 2px solid var(--laser);
}

.timeline__item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.timeline__item p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ==========================================================================
   ABOUT PAGE — intro + framed reference card
   ========================================================================== */

.about-block {
  padding-block: 48px;
  border-bottom: 1px solid var(--line);
}

.about-block:last-child {
  border-bottom: none;
}

.about-block__number {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--laser);
}

.about-block h2 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  letter-spacing: -0.01em;
}

.about-block p {
  margin-top: 16px;
  max-width: 60ch;
  color: var(--muted);
  line-height: 1.7;
}

/* ==========================================================================
   PAGE HERO (interior pages)
   ========================================================================== */

.page-hero {
  position: relative;
  padding-top: 128px;
  padding-bottom: 56px;
  overflow: hidden;
}

@media (min-width: 640px) {
  .page-hero {
    padding-top: 160px;
    padding-bottom: 72px;
  }
}

.page-hero__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
  position: relative;
}

@media (min-width: 640px) {
  .page-hero__inner {
    padding-inline: 32px;
  }
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.breadcrumb a:hover {
  color: var(--laser);
}

.page-hero h1 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  text-wrap: balance;
}

.page-hero h1 .accent {
  color: var(--laser);
}

.page-hero p.lede {
  margin-top: 20px;
}

/* ==========================================================================
   SERVICE DETAIL
   ========================================================================== */

.service-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 1024px) {
  .service-detail {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
  }
}

.service-detail__visual {
  aspect-ratio: 4 / 3;
  width: 100%;
  position: sticky;
  top: 100px;
}

.service-detail__number {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--laser);
}

.service-detail h1,
.service-detail h2 {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.service-detail__desc {
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.service-detail__label {
  margin-top: 32px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.service-detail__apps {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-detail__apps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
}

.service-detail__apps li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--laser);
  flex-shrink: 0;
}

.service-detail__note {
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

.service-detail__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-nav {
  margin-top: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.service-nav a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}

.service-nav a:hover {
  color: var(--laser);
}

.service-nav a span:last-child {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}

.service-nav a:hover span:last-child {
  color: var(--laser);
}

.service-nav a.next {
  text-align: right;
  align-items: flex-end;
}

/* ==========================================================================
   MATERIALS PAGE (editorial)
   ========================================================================== */

.material-editorial {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.material-editorial__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-block: 48px;
  border-bottom: 1px solid var(--line);
}

.material-editorial__row:last-child {
  border-bottom: none;
}

@media (min-width: 900px) {
  .material-editorial__row {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 56px;
  }
  .material-editorial__row--reverse .material-editorial__visual {
    order: 2;
  }
}

.material-editorial__visual {
  aspect-ratio: 4 / 3;
  width: 100%;
}

.material-editorial__number {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--laser);
}

.material-editorial__body h2 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  letter-spacing: -0.01em;
}

.material-editorial__body p.tagline {
  margin-top: 10px;
  color: var(--laser);
  font-weight: 600;
  font-size: 1.05rem;
}

.material-editorial__body p.desc {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.7;
}

.material-editorial__lists {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.material-editorial__lists h4 {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 10px;
}

.material-editorial__lists li {
  font-size: 0.88rem;
  color: var(--text);
  padding-block: 4px;
}

/* ==========================================================================
   Misc utilities
   ========================================================================== */

.flex {
  display: flex;
}
.items-center {
  align-items: center;
}
.gap-2 {
  gap: 8px;
}
.mt-8 {
  margin-top: 32px;
}
.text-center {
  text-align: center;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
