:root {
  color-scheme: light;
  --ink: #1f2428;
  --muted: #5c646b;
  --paper: #fffdf8;
  --soft: #f4f2ea;
  --line: #ded8cb;
  --ember: #c84f2d;
  --ember-deep: #8d2e1d;
  --teal: #14737a;
  --steel: #36505f;
  --charcoal: #15191c;
  --gold: #d49b3d;
  --shadow: 0 18px 48px rgba(31, 36, 40, 0.14);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

p,
ul,
ol {
  margin-top: 0;
}

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 253, 248, 0.93);
  border-bottom: 1px solid rgba(222, 216, 203, 0.86);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--charcoal);
  color: #fff;
  font-size: 0.76rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #344047;
  font-size: 0.94rem;
}

.nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: var(--radius);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: #efe9dc;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span:not(.sr-only) {
  width: 19px;
  height: 2px;
  background: var(--ink);
}

.container,
.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: min(760px, 82vh);
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 19, 21, 0.84), rgba(16, 19, 21, 0.34) 56%, rgba(16, 19, 21, 0.18)),
    url("../assets/laser-workshop-hero.png") center / cover no-repeat;
  z-index: -2;
}

.hero-shade {
  position: absolute;
  inset: auto 0 0 0;
  height: 130px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0), var(--paper));
  z-index: -1;
}

.hero-inner {
  padding: 76px 0 110px;
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.2rem, 8.5vw, 7rem);
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.04rem, 2vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--ember);
  border-radius: var(--radius);
  background: var(--ember);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: var(--ember-deep);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.08);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.section {
  padding: 82px 0;
}

.section-tight {
  padding: 46px 0 72px;
}

.band-soft {
  background: var(--soft);
}

.band-dark {
  background: var(--charcoal);
  color: #f3eee4;
}

.band-dark p,
.band-dark li {
  color: #d7d0c6;
}

.intro-grid,
.split,
.method-grid,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.section-head {
  max-width: 780px;
  margin-bottom: 28px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.card p {
  color: var(--muted);
}

.card-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #f4e2d8;
  color: var(--ember-deep);
  font-weight: 900;
  font-size: 0.85rem;
}

.text-link {
  margin-top: auto;
  color: var(--teal);
  font-weight: 900;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
}

.feature-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.feature-row span {
  color: var(--ember);
  font-weight: 900;
}

.feature-row strong {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
}

.article-hero {
  padding: 70px 0 52px;
  background: linear-gradient(135deg, #f7eee4, #eef6f7);
  border-bottom: 1px solid var(--line);
}

.article-hero .container {
  max-width: 940px;
}

.article-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2.55rem, 6.3vw, 5.1rem);
  line-height: 0.99;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.article-hero p {
  max-width: 740px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #40505a;
  font-size: 0.9rem;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.article-layout {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0 84px;
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 44px;
}

.toc {
  align-self: start;
  position: sticky;
  top: 92px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.toc strong {
  display: block;
  margin-bottom: 12px;
}

.toc a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  text-decoration: none;
}

.toc a:hover,
.toc a:focus-visible {
  color: var(--teal);
}

.article-content {
  min-width: 0;
}

.article-content h2 {
  margin: 38px 0 16px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.article-content h3 {
  margin-top: 26px;
}

.article-content p,
.article-content li {
  color: #3f4d53;
}

.callout {
  margin: 28px 0;
  padding: 22px;
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  background: #fff6e2;
}

.content-list {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.content-list li {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.source-list a {
  color: var(--teal);
}

.article-grid {
  display: grid;
  gap: 18px;
}

.article-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
}

.article-card:hover,
.article-card:focus-visible {
  border-color: #c9856b;
  box-shadow: var(--shadow);
}

.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #f1eadf;
  color: #2f3437;
}

tr:last-child td {
  border-bottom: 0;
}

.site-footer {
  padding: 56px 0 28px;
  background: #161a1d;
  color: #e7ded2;
}

.footer-brand .brand-mark {
  background: #f1e5d4;
  color: #161a1d;
}

.site-footer p {
  max-width: 420px;
  margin: 16px 0 0;
  color: #bfb3a7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.footer-links a {
  padding: 8px 10px;
  color: #e7ded2;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #bfb3a7;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    justify-content: flex-start;
  }

  .intro-grid,
  .split,
  .method-grid,
  .footer-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .card-grid.three {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .section {
    padding: 58px 0;
  }

  .section-tight {
    padding: 34px 0 54px;
  }

  .hero {
    min-height: 74vh;
  }

  .hero-inner {
    padding: 64px 0 92px;
  }

  .hero h1 {
    max-width: 8.5ch;
    font-size: clamp(2.75rem, 15vw, 3.9rem);
  }

  .hero-copy,
  .article-hero p {
    max-width: 100%;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .article-hero h1 {
    font-size: clamp(2rem, 10.8vw, 2.85rem);
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .article-hero {
    padding: 52px 0 42px;
  }
}
