/* ============================================================
   LASER SURFACING WORKS — Industrial Precision Design System
   Palette: cool steel neutrals + electric cyan laser-beam accent
   Fonts: Cabinet Grotesk (display) + Satoshi (body)
   ============================================================ */

:root,

[data-theme='light'] {
  /* Surfaces — Cool Steel */
  --color-bg: #eef0f3;
  --color-surface: #f4f6f8;
  --color-surface-2: #f8f9fb;
  --color-surface-offset: #e4e7eb;
  --color-surface-offset-2: #dde1e6;
  --color-surface-dynamic: #d4d9df;
  --color-divider: #d0d5db;
  --color-border: #c6ccd3;

    /* Text — Graphite */
  --color-text: #161a1f;
  --color-text-muted: #555d66;
  --color-text-faint: #a8aeb5;
  --color-text-inverse: #f4f6f8;

  /* Primary Accent — Electric Cyan (Laser Beam) */
  --color-primary: #0099a8;
  --color-primary-hover: #007d8a;
  --color-primary-active: #00606a;
  --color-primary-highlight: #c2e8eb;

  /* Secondary — Amber (Heat/Restoration) */
  --color-accent: #c77800;
  --color-accent-hover: #a86200;
  --color-accent-active: #8a5000;
  --color-accent-highlight: #f0e4cc;

  /* Feedback — Green (Can Do) / Red (Can't Do) */
  --color-success: #2d8659;
  --color-success-highlight: #d6f0e2;
  --color-danger: #b04030;
  --color-danger-highlight: #f2dad5;

  /*     space vars go here     */
  --space: 4px;

  --space-0: calc(var(--space) * 0);    /* 0px */
  --space-1: calc(var(--space) * 1);    /* 4px */
  --space-2: calc(var(--space) * 2);    /* 8px */
  --space-3: calc(var(--space) * 3);    /* 12px */
  --space-4: calc(var(--space) * 4);    /* 16px */
  --space-5: calc(var(--space) * 5);    /* 20px */
  --space-6: calc(var(--space) * 6);    /* 24px */
  --space-7: calc(var(--space) * 7);    /* 28px */
  --space-8: calc(var(--space) * 8);    /* 32px */
  --space-9: calc(var(--space) * 9);    /* 36px */
  --space-10: calc(var(--space) * 10);  /* 40px */
  --space-11: calc(var(--space) * 11);  /* 44px */
  --space-12: calc(var(--space) * 12);  /* 48px */
  --space-13: calc(var(--space) * 13);  /* 52px */
  --space-14: calc(var(--space) * 14);  /* 56px */
  --space-15: calc(var(--space) * 15);  /* 60px */
  --space-16: calc(var(--space) * 16);  /* 64px */
  --space-24: calc(var(--space) * 24);  /* 96px */ 
  
  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows — tone-matched to cool steel */
  --shadow-sm: 0 1px 2px oklch(0.2 0.01 240 / 0.06);
  --shadow-md: 0 4px 12px oklch(0.2 0.01 240 / 0.08);
  --shadow-lg: 0 12px 32px oklch(0.2 0.01 240 / 0.12);
  --shadow-glow: 0 0 24px oklch(0.6 0.12 190 / 0.15);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;

  /* Fonts */
  --font-display: 'Cabinet Grotesk', 'Inter', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;

  /* Type Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(3rem, 0.5rem + 7vw, 7.5rem);
}
/* DARK MODE */
[data-theme='dark'] {
  --color-bg: #0e1014;
  --color-surface: #14171c;
  --color-surface-2: #191d23;
  --color-surface-offset: #121519;
  --color-surface-offset-2: #171b21;
  --color-surface-dynamic: #232830;
  --color-divider: #1f242c;
  --color-border: #2a303a;

  --color-text: #d2d6db;
  --color-text-muted: #a2aab4;
  --color-text-faint: #565c64;
  --color-text-inverse: #14171c;

  --color-primary: #2dd4e2;
  --color-primary-hover: #5ce0ec;
  --color-primary-active: #8aebf2;
  --color-primary-highlight: #142a2e;

  --color-accent: #e8a542;
  --color-accent-hover: #f0c062;
  --color-accent-active: #f8d48a;
  --color-accent-highlight: #2a2418;

  /* Feedback — Green (Can Do) / Red (Can't Do) */
  --color-success: #4ade80;
  --color-success-highlight: #1a2e24;
  --color-danger: #f87171;
  --color-danger-highlight: #2e1a1a;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
  --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
  --shadow-glow: 0 0 32px oklch(0.7 0.14 190 / 0.2);
}

/* System preference fallback */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0e1014;
    --color-surface: #14171c;
    --color-surface-2: #191d23;
    --color-surface-offset: #121519;
    --color-surface-offset-2: #171b21;
    --color-surface-dynamic: #232830;
    --color-divider: #1f242c;
    --color-border: #2a303a;
    --color-text: #d2d6db;
    --color-text-muted: #a2aab4;
    --color-text-faint: #565c64;
    --color-text-inverse: #14171c;
    --color-primary: #2dd4e2;
    --color-primary-hover: #5ce0ec;
    --color-primary-active: #8aebf2;
    --color-primary-highlight: #142a2e;
    --color-accent: #e8a542;
    --color-accent-hover: #f0c062;
    --color-accent-active: #f8d48a;
    --color-accent-highlight: #2a2418;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
    --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
    --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
    --shadow-glow: 0 0 32px oklch(0.7 0.14 190 / 0.2);
  }
}

/* ============================================================
   COMPONENTS
   ============================================================ */

.container {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.container-wide {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-4);
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
}
.skip-link:focus {
  top: var(--space-4);
}

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.08);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.header--hidden {
  transform: translateY(-100%);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: 64px;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}
.logo__mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--color-primary);
}
.logo__text {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.logo__sub {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
}

/* --- Nav --- */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-left: auto;
}
.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-5);
  }
@media (min-width: 1100px) {
  .nav__links {
    display: flex;
    gap: 10px;
  }
}
.nav__link {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
}
.nav__link:hover {
  color: var(--color-text);
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
@media (min-width: 1100px) {
  .nav__actions .theme-toggle { order: 2; }
}

/* --- Theme Toggle --- */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
}
.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}
.theme-toggle svg {
  width: 20px;
  height: 20px;
}

/* --- Mobile Menu --- */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
}
@media (min-width: 1100px) {
  .menu-toggle {
    display: none;
  }
}
.menu-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

/* --- UNIVERSAL MOBILE LAYOUT FIX --- */

.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--color-bg);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.08);
  padding: var(--space-6) var(--space-4);
  flex-direction: column;
  gap: var(--space-4);

  /* --- THE ONLY THREE LINES YOU NEED TO ADD --- */
  box-sizing: border-box;            /* Fixes the text bleeding over scrolled pages */
  height: calc(100dvh - 64px);       /* Pulls bottom links out from under the URL bar */
  overflow-y: auto;                  /* Keeps scrolling contained strictly inside the menu */
}

/* Existing desktop override */
@media (min-width: 1100px) {
  .mobile-nav {
    display: none !important;
  }
}

/* --- UNIVERSAL MOBILE LAYOUT FIX --- */

.mobile-nav--open {
  display: flex;
}
.mobile-nav a {
  text-decoration: none;
  color: var(--color-text);
  font-size: var(--text-base);
  font-weight: 500;
  padding: var(--space-2) 0;
}

@media (min-width: 1100px) {
  .mobile-nav {
    display: none !important;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-2);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  min-height: var(--space-11);
}
.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding-inline: 5px;
}
.btn--primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
}
.btn--primary:active {
  background: var(--color-primary-active);
}
.btn--ghost {
  color: var(--color-text);
  background: oklch(from var(--color-text) l c h / 0.06);
}
.btn--ghost:hover {
  background: oklch(from var(--color-text) l c h / 0.1);
}
.btn--outline {
  color: var(--color-text);
  border: 1px solid oklch(from var(--color-text) l c h / 0.15);
}
.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 88dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    color-mix(in oklab, var(--color-bg) 92%, transparent) 0%,
    color-mix(in oklab, var(--color-bg) 50%, transparent) 50%,
    color-mix(in oklab, var(--color-bg) 20%, transparent) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: 0 var(--space-4) clamp(var(--space-12), 6vw, var(--space-24));
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: color-mix(in oklab, var(--color-primary) 12%, transparent);
  border: 1px solid oklch(from var(--color-primary) l c h / 0.25);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-5);
}
.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  max-width: 14ch;
  margin-bottom: var(--space-5);
}
.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 52ch;
  margin-bottom: var(--space-8);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* --- Section --- */
.section {
  padding-block: clamp(var(--space-3), 6vw, var(--space-6));
}
.section--tight {
  padding-block: clamp(var(--space-2), 4vw, var(--space-4));
}
.section__header {
  margin-bottom: var(--space-3);
}
.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-1);
  margin-top: var(--space-0);
}
.section__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 80ch;
  margin-bottom: var(--space-0);
}
.section__desc {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 60ch;
}

/* --- About Section (two-column) --- */
.about {
  display: grid;
  gap: var(--space-3);
  align-items: center;
}
@media (min-width: 880px) {
  .about {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
  }
}
.about__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__text h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-5);
}
.about__text p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.about__features {
  display: grid;
  gap: var(--space-1);
  margin-top: var(--space-1);
}
.about__feature {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.about__feature svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.about__feature p {
  margin: 0;
  font-size: var(--text-base);
  color: var(--color-text);
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  gap: var(--space-0);
}
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.service-card {
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-interactive), border-color var(--transition-interactive);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: oklch(from var(--color-primary) l c h / 0.3);
}
.service-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover .service-card__image img {
  transform: scale(1.04);
}
.service-card__body {
  padding: var(--space-5);
}
.service-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-0);
}
.service-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* --- Capabilities (Can Do / Can't Do) --- */
.capabilities {
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 880px) {
  .capabilities {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
.capability {
  background: var(--color-surface-2);
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: box-shadow var(--transition-interactive);
}
.capability:hover {
  box-shadow: var(--shadow-md);
}
.capability--can {
  border-top: 4px solid var(--color-success);
}
.capability--cant {
  border-top: 4px solid var(--color-danger);
}
.capability__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.08);
}
.capability__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--space-11);
  height: var(--space-11);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}
.capability__icon--can {
  background: var(--color-success-highlight);
  color: var(--color-success);
}
.capability__icon--cant {
  background: var(--color-danger-highlight);
  color: var(--color-danger);
}
.capability__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
}
.capability__list {
  list-style: none;
  display: grid;
  gap: var(--space-0);
}
.capability__item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.capability__check,
.capability__cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--space-6);
  height: var(--space-6);
  border-radius: var(--radius-full);
  flex-shrink: 0;
  margin-top: var(--space-0);
}
.capability__check {
  background: var(--color-success-highlight);
  color: var(--color-success);
}
.capability__cross {
  background: var(--color-danger-highlight);
  color: var(--color-danger);
}
.capability__item div {
  display: flex;
  flex-direction: column;
  gap: var(--space-0);
}
.capability__item strong {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
}
.capability__item span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* --- Process Steps --- */
.process {
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 768px) {
  .process {
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    gap: var(--space-6);
  }
}
.step {
  position: relative;
}
.step__number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.step__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.step__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.step__line {
  display: none;
}
@media (min-width: 768px) {
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 8px;
    left: calc(100% + var(--space-2));
    right: calc(-1 * var(--space-4));
    height: 2px;
    background: oklch(from var(--color-text) l c h / 0.08);
  }
}

/* --- Full-bleed image divider --- */
.full-bleed {
  position: relative;
  height: 50vh;
  min-height: 320px;
  overflow: hidden;
}
.full-bleed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.full-bleed__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    color-mix(in oklab, var(--color-bg) 70%, transparent),
    color-mix(in oklab, var(--color-bg) 30%, transparent)
  );
  display: flex;
  align-items: center;
  justify-content: center;
}
.full-bleed__text {
  text-align: center;
  max-width: 40ch;
  padding: var(--space-2);
}
.full-bleed__text h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

/* --- Pricing --- */
.pricing {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 768px) {
  .pricing {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
  }
}
.price-card {
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.price-card--featured {
  border-color: oklch(from var(--color-primary) l c h / 0.3);
  box-shadow: var(--shadow-md);
}
.price-card__label {
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--color-text-muted);
  margin-bottom: var(--space-0);
}
.price-card__price {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-0);
}
.price-card__price small {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
}
.price-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.price-card__list {
  display: grid;
  gap: var(--space-0);
  list-style: none;
}
.price-card__list li {
  font-size: var(--text-sm);
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
}
.price-card__list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  margin-top: 8px;
  flex-shrink: 0;
}

/* --- Gallery --- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
@media (min-width: 768px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 200px 200px;
  }
}
.gallery__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery__item:hover img {
  transform: scale(1.05);
}
.gallery__item--large {
  grid-column: span 2;
  grid-row: span 2;
}
@media (max-width: 767px) {
  .gallery__item--large {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 16 / 9;
  }
}

/* --- Service Area --- */
.area {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 880px) {
  .area {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
}
.area__text h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}
.area__text p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.area__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.area__chip {
  padding: var(--space-2) var(--space-3);
  background: var(--color-surface-offset);
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
}
.area__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
}
.area__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Contact Form --- */
.contact {
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 880px) {
  .contact {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-12);
  }
}
.contact__info h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}
.contact__info p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}
.contact__details {
  display: grid;
  gap: var(--space-1);
}
.contact__detail {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}
.contact__detail svg {
  width: var(--space-5);
  height: var(--space-5);
  /* width: 20px;
  height: 20px; */
  color: var(--color-primary);
  flex-shrink: 0;
}
.contact__detail span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.contact__form {
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.form-group {
  margin-bottom: var(--space-4);
}
.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--space-3);
  background: var(--color-surface-2);
  border: 1px solid oklch(from var(--color-text) l c h / 0.12);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--color-text);
  min-height: var(--space-11);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  outline: none;
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-row {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 560px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}
.form-success {
  display: none;
  margin-top: var(--space-4);
  padding: var(--space-4);
  background: oklch(from var(--color-primary) l c h / 0.15);
  border: 1px solid var(--color-primary);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: var(--text-base);
  font-weight: 600;
}
.form-success--show {
  display: block;
}
.form-success--error {
  background: oklch(0.6 0.2 25 / 0.12);
  border-color: oklch(0.6 0.2 25);
}

/* --- Footer --- */
.footer {
  border-top: 1px solid oklch(from var(--color-text) l c h / 0.08);
  padding-block: var(--space-12) var(--space-8);
  background: var(--color-surface);
}
.footer__inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: 2fr 1fr 1fr;
  }
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.footer__brand svg {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
}
.footer__brand-text {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
}
.footer__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 40ch;
}
.footer__col h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.footer__col ul {
  list-style: none;
  display: grid;
  gap: var(--space-2);
}
.footer__col a {
  text-decoration: none;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.footer__col a:hover {
  color: var(--color-text);
}
.footer__bottom {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: var(--space-6) var(--space-4) 0;
  border-top: 1px solid oklch(from var(--color-text) l c h / 0.06);
  text-align: center;
}
.footer__bottom p {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Stats --- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid oklch(from var(--color-text) l c h / 0.08);
}
@media (min-width: 768px) {
  .stats {
    justify-items: center;
    grid-template-columns: repeat(3, 1fr);
  }
}
.stat__value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-primary);
}
.stat__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: var(--space-1);
}

/* Improve descriptive copy readability without changing heading hierarchy. */
.hero__subtitle, .section__intro, .about__text p, .area__text p, .price-card__desc, .footer__desc { font-weight: 500; }
