:root {
  --primary: #0f2733;
  --accent: #345361;
  --accent-soft: #58676e;
  --text: #ffffff;
  --muted: #c6d2d9;
  --panel: rgba(21, 54, 69, 0.92);
  --panel-strong: rgba(16, 43, 55, 0.96);
  --shadow: 0 24px 60px rgba(6, 16, 22, 0.35);
  --radius: 22px;
  --max-width: 1140px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: 
    linear-gradient(160deg, rgba(15, 39, 51, 0.95) 0%, rgba(11, 28, 37, 0.95) 50%, rgba(15, 39, 51, 0.95) 100%),
    url('images/logo.png');
  background-size: auto, 40%;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-attachment: scroll, fixed;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

/*body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(88, 103, 110, 0.45), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(52, 83, 97, 0.35), transparent 45%),
    radial-gradient(circle at 70% 80%, rgba(88, 103, 110, 0.3), transparent 55%);
  pointer-events: none;
  z-index: -1;
}*/

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

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

p {
  margin: 0 0 0.9rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Bebas Neue", "Space Grotesk", sans-serif;
  margin: 0 0 0.7rem;
  letter-spacing: 0.03em;
}

main {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 6vw;
  background: rgba(12, 27, 36, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 600;
}

.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  object-fit: contain;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 22, 30, 0.4);
  padding: 6px;
}

.logo-text p {
  margin: 0;
  font-size: 1.15rem;
}

.logo-text span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.site-nav {
  display: flex;
  gap: 1.4rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.site-nav a {
  position: relative;
  padding-bottom: 0.25rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent-soft);
  transition: width 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

.site-nav a.active::after {
  width: 100%;
  background: var(--text);
  height: 3px;
}

.site-nav a.active {
  color: var(--text);
}

.nav-cta {
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  padding: 4.5rem 6vw 3rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-content {
  max-width: 560px;
  animation: rise 0.8s ease-out both;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: var(--muted);
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
}

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

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.6rem 0 2.2rem;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.btn.primary {
  background: linear-gradient(130deg, #345361, #58676e);
  color: var(--text);
  box-shadow: 0 16px 30px rgba(15, 39, 51, 0.45);
}

.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--text);
}

.btn:hover {
  transform: translateY(-2px);
}

.stat-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 0;
}

.stat-list div {
  padding: 1rem;
  border-radius: 16px;
  background: rgba(15, 39, 51, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-list dt {
  font-weight: 700;
  font-size: 1.3rem;
}

.stat-list dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  display: grid;
  gap: 1.2rem;
  animation: rise 1s ease-out both;
}

.visual-card {
  padding: 1.4rem;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.8rem;
}

.visual-card svg {
  width: 100%;
  max-width: 260px;
  height: auto;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(88, 103, 110, 0.35);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel {
  padding: 4rem 6vw;
  max-width: var(--max-width);
  margin: 0 auto;
}

.panel.surface {
  background: var(--panel-strong);
  border-radius: 28px;
  margin-bottom: 3rem;
  box-shadow: var(--shadow);
}

.section-header {
  max-width: 680px;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

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

.service-grid,
.info-grid,
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.service-card,
.info-card,
.product-card {
  padding: 1.6rem;
  border-radius: 20px;
  background: rgba(17, 45, 58, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(6, 16, 22, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card h3,
.info-card h3,
.product-card h3 {
  font-size: 1.5rem;
}

.service-card p,
.info-card p,
.product-card p {
  color: var(--muted);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.6rem;
}

.checklist li {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  color: var(--muted);
}

.checklist li::before {
  content: "✓";
  color: var(--text);
  font-weight: 700;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.process-step {
  padding: 1.6rem;
  border-radius: 18px;
  background: rgba(18, 51, 65, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.process-step span {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.store-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.filter-btn {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 22, 30, 0.6);
  color: var(--text);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  cursor: pointer;
}

.filter-btn.active {
  background: rgba(52, 83, 97, 0.7);
  border-color: rgba(255, 255, 255, 0.3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}

.gallery-card {
  padding: 1.6rem;
  border-radius: 20px;
  background: rgba(17, 45, 58, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(6, 16, 22, 0.25);
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  max-width: 220px;
  margin-bottom: 1rem;
}

.gallery-card img[src*="gallery-blade-sharpening"] {
  max-width: 155px;
  height: 90px;
}

.gallery-card figcaption p {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  margin-bottom: 0.4rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 20;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 16, 22, 0.8);
}

.lightbox-body {
  position: relative;
  padding: 2rem;
  border-radius: 24px;
  background: rgba(13, 35, 45, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 520px;
  width: min(90vw, 520px);
  text-align: center;
  box-shadow: var(--shadow);
}

.lightbox-body img {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.close-lightbox {
  position: absolute;
  top: 12px;
  right: 14px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
}

.product-card .price {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

.product-card .btn {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 0.8rem;
  width: 100%;
}

.quote-panel {
  padding: 1.6rem;
  border-radius: 20px;
  background: rgba(13, 35, 45, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 6rem;
  height: fit-content;
}

.cart-items {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.8rem;
}

.cart-items li {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  color: var(--muted);
}

.cart-items li.empty {
  justify-content: flex-start;
}

.cart-items button.remove {
  border: none;
  background: transparent;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  cursor: pointer;
}

.cart-total {
  font-weight: 600;
}

.cart-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.etsy-banner {
  margin-top: 1.6rem;
  padding: 1.2rem 1.4rem;
  border-radius: 18px;
  background: rgba(52, 83, 97, 0.35);
  border: 1px dashed rgba(255, 255, 255, 0.2);
}

.etsy-banner a {
  color: var(--text);
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

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

form {
  display: grid;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

input,
select,
textarea {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 22, 30, 0.6);
  padding: 0.75rem 0.9rem;
  color: var(--text);
  font-family: inherit;
}

input.invalid,
select.invalid,
textarea.invalid {
  border-color: rgba(255, 155, 138, 0.9);
  box-shadow: 0 0 0 2px rgba(255, 155, 138, 0.25);
}

input::placeholder,
textarea::placeholder {
  color: rgba(198, 210, 217, 0.65);
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.checkbox {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
}

.form-status {
  min-height: 1.3rem;
  color: var(--muted);
}

.site-footer {
  text-align: center;
  padding: 2.5rem 6vw 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--text);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text);
  font-weight: 600;
}

.stagger > * {
  animation: rise 0.8s ease-out both;
}

.stagger > *:nth-child(2) {
  animation-delay: 0.08s;
}

.stagger > *:nth-child(3) {
  animation-delay: 0.16s;
}

.stagger > *:nth-child(4) {
  animation-delay: 0.24s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .site-header {
    flex-direction: column;
    gap: 1rem;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .store-layout {
    grid-template-columns: 1fr;
  }

  .quote-panel {
    position: static;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 3rem;
  }

  .site-header {
    padding: 1.2rem 5vw;
  }

  .panel {
    padding: 3rem 5vw;
  }
}