:root {
  --primary: #111111;
  --secondary: #f97316;
  --accent: #ef4444;
  --yellow: #facc15;
  --background: #f6f6f4;
  --text: #202020;
  --muted: #666666;
  --card: #ffffff;
  --line: #dedbd4;
  --shadow: 0 18px 40px rgba(17, 17, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Montserrat, Arial, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(17, 17, 17, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  width: min(1160px, calc(100% - 28px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  color: #f4f4f4;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 6px;
}

.nav-links a:hover {
  background: rgba(249, 115, 22, 0.16);
  color: #ffffff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: #ffffff;
}

.section,
.section-band {
  padding: 84px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.94), rgba(17, 17, 17, 0.82)),
    repeating-linear-gradient(135deg, #202020 0 14px, #181818 14px 28px);
  color: #ffffff;
}

.hero::after {
  content: "KP-STUDIO / PRINT LAB / 2026";
  position: absolute;
  right: -56px;
  bottom: 22px;
  color: rgba(255, 255, 255, 0.08);
  font-size: clamp(32px, 8vw, 104px);
  font-weight: 900;
  white-space: nowrap;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 42px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 610px;
  margin: 0 0 26px;
  color: #dedede;
  font-size: 19px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 2px solid transparent;
  padding: 12px 18px;
  font-weight: 900;
  line-height: 1.1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.16);
}

.btn-primary,
.btn-small {
  background: var(--secondary);
  color: #ffffff;
}

.btn-dark {
  background: #ffffff;
  color: var(--primary);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-small {
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.hero-tags span,
.hero-tags strong {
  min-width: 42px;
  border: 1px dashed rgba(255, 255, 255, 0.38);
  border-radius: 4px;
  padding: 6px 10px;
  text-align: center;
  font-size: 13px;
}

.hero-tags strong {
  background: var(--accent);
  border-color: var(--accent);
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  border: 10px solid #ffffff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 46px;
  align-items: start;
}

.about-copy {
  columns: 2;
  column-gap: 32px;
}

.about-copy p {
  margin-top: 0;
}

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

.legal-section {
  padding-top: 0;
}

.legal-wrap,
.contact-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: center;
  background: var(--primary);
  color: #ffffff;
  border-radius: 8px;
  padding: 34px;
}

.legal-card {
  background: #ffffff;
  color: var(--text);
  border-radius: 8px;
  padding: 22px;
}

.legal-card dl {
  margin: 0;
}

.legal-card div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.legal-card div:last-child {
  border-bottom: 0;
}

.legal-card dt {
  color: var(--muted);
  font-weight: 800;
}

.legal-card dd {
  margin: 0;
  font-weight: 800;
}

.section-heading {
  margin-bottom: 30px;
}

.center {
  text-align: center;
}

.shelf-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  border-bottom: 16px solid #2a2723;
  padding-bottom: 18px;
}

.shelf {
  position: relative;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px 8px 4px 4px;
  padding: 76px 16px 18px;
  box-shadow: var(--shadow);
}

.shelf::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 18px;
  height: 44px;
  border-radius: 6px;
  background: repeating-linear-gradient(90deg, var(--primary) 0 22px, var(--secondary) 22px 30px);
}

.shelf-no {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--yellow);
  border-radius: 4px;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 900;
}

.shelf p,
.benefit p,
.product-body p {
  color: var(--muted);
}

.product-section,
.benefits {
  background: #ffffff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.product-image {
  aspect-ratio: 4 / 3;
  background: #efede8;
}

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

.product-body {
  padding: 18px;
}

.badge {
  display: inline-flex;
  margin-bottom: 8px;
  border-radius: 4px;
  background: var(--primary);
  color: #ffffff;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 900;
}

.badge.accent {
  background: var(--secondary);
}

.badge.red {
  background: var(--accent);
}

.code {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.price {
  display: block;
  margin-top: 12px;
  color: var(--accent);
  font-size: 20px;
  line-height: 1.25;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-item figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  border-radius: 4px;
  background: rgba(17, 17, 17, 0.82);
  color: #ffffff;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 800;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.benefit {
  border-top: 4px solid var(--secondary);
  padding: 20px 0 0;
}

.benefit span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-weight: 900;
}

.address-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
}

.address-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.map-panel {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 31px, rgba(17, 17, 17, 0.08) 32px),
    linear-gradient(0deg, transparent 31px, rgba(17, 17, 17, 0.08) 32px),
    #ebe7dd;
  background-size: 64px 64px;
}

.street {
  position: absolute;
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.05);
}

.street.horizontal {
  left: 0;
  right: 0;
  top: 45%;
  height: 48px;
}

.street.vertical {
  top: 0;
  bottom: 0;
  left: 58%;
  width: 48px;
}

.pin {
  position: absolute;
  left: 45%;
  top: 33%;
  max-width: 180px;
  border-radius: 6px;
  background: var(--secondary);
  color: #ffffff;
  padding: 12px 14px;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.social-section {
  padding-top: 0;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.social-link {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease;
}

.social-link:hover {
  transform: translateY(-4px);
  border-color: var(--secondary);
}

.social-link img {
  width: 28px;
  height: 28px;
}

.contact-wrap {
  background:
    linear-gradient(100deg, rgba(17, 17, 17, 0.96), rgba(17, 17, 17, 0.88)),
    repeating-linear-gradient(90deg, #1c1c1c 0 22px, #242424 22px 44px);
}

.contact-wrap p {
  color: #dddddd;
}

.contact-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.footer {
  background: #111111;
  color: #ffffff;
  padding: 34px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.footer p {
  margin: 0;
  color: #d6d6d6;
  font-size: 14px;
}

.footer-brand {
  margin-bottom: 10px;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--secondary);
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 30;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 10px;
  }

  .nav-links.open {
    display: flex;
  }

  .hero-grid,
  .split,
  .legal-wrap,
  .contact-wrap,
  .address-grid {
    grid-template-columns: 1fr;
  }

  .about-copy {
    columns: 1;
  }

  .shelf-grid,
  .benefit-grid,
  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .hero-visual img {
    border-width: 6px;
    transform: none;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 17px;
  }

  .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .shelf-grid,
  .product-grid,
  .gallery-grid,
  .benefit-grid,
  .address-grid,
  .social-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .legal-wrap,
  .contact-wrap {
    padding: 24px;
  }

  .legal-card div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .map-panel {
    min-height: 280px;
  }

  .pin {
    left: 28%;
    top: 32%;
  }
}
