:root {
  --ink: #182322;
  --muted: #586765;
  --paper: #fbf8f2;
  --white: #ffffff;
  --teal: #008e91;
  --mint: #cceee2;
  --coral: #f36f5e;
  --lemon: #f5c84b;
  --charcoal: #202427;
  --line: rgba(24, 35, 34, 0.14);
  --shadow: 0 24px 70px rgba(24, 35, 34, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(251, 248, 242, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--coral));
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 142, 145, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 28px);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 120px clamp(18px, 4vw, 56px) 62px;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("assets/craft-studio-hero.png");
  background-position: center right;
  background-size: cover;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(251, 248, 242, 0.98) 0%, rgba(251, 248, 242, 0.92) 28%, rgba(251, 248, 242, 0.42) 55%, rgba(251, 248, 242, 0.04) 100%),
    linear-gradient(0deg, rgba(251, 248, 242, 0.94) 0%, rgba(251, 248, 242, 0) 24%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(660px, 100%);
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 22px;
  font-size: clamp(4rem, 11vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 16px;
  font-size: 1.55rem;
  line-height: 1.08;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 32px;
  color: #31413f;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 850;
}

.button.primary {
  color: var(--white);
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
}

.section,
.section-band,
.quality {
  padding: clamp(66px, 9vw, 118px) clamp(18px, 4vw, 56px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-band {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: end;
}

.intro p:last-child,
.contact p,
.product-card p,
.feature p {
  color: var(--muted);
  font-size: 1.02rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

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

.product-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(24, 35, 34, 0.08);
}

.product-card.vinyl {
  border-top: 8px solid var(--teal);
}

.product-card.blanks {
  border-top: 8px solid var(--coral);
}

.product-card.machinery {
  border-top: 8px solid var(--lemon);
}

.product-number {
  margin-bottom: auto;
  color: rgba(24, 35, 34, 0.24);
  font-size: 3.8rem;
  font-weight: 950;
  line-height: 1;
}

.quality {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0, 142, 145, 0.92), rgba(32, 36, 39, 0.96)),
    var(--charcoal);
}

.quality .section-kicker {
  color: var(--mint);
}

.quality-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
}

.quality-panel h2 {
  max-width: 540px;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.feature span {
  width: 12px;
  height: 12px;
  margin-top: 7px;
  background: var(--lemon);
  border-radius: 50%;
}

.feature p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
}

.contact {
  background: var(--paper);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  gap: clamp(26px, 6vw, 76px);
  align-items: center;
}

.contact h2 {
  margin-bottom: 22px;
}

.contact p {
  max-width: 650px;
  margin-bottom: 0;
}

.contact-link {
  display: grid;
  gap: 8px;
  padding: 28px;
  color: var(--white);
  background: var(--charcoal);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow-wrap: anywhere;
}

.contact-link span {
  color: var(--mint);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer {
  padding: 24px clamp(18px, 4vw, 56px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.footer p {
  width: min(1180px, 100%);
  margin: 0 auto;
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 86vh;
    align-items: end;
    padding-top: 108px;
  }

  .hero-bg {
    background-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(251, 248, 242, 0.98) 0%, rgba(251, 248, 242, 0.9) 42%, rgba(251, 248, 242, 0.18) 100%),
      linear-gradient(90deg, rgba(251, 248, 242, 0.55), rgba(251, 248, 242, 0.06));
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(3.65rem, 17vw, 6.3rem);
  }

  .intro-grid,
  .quality-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 250px;
  }
}

@media (max-width: 480px) {
  .brand span:last-child {
    max-width: 150px;
    line-height: 1.05;
  }

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

  .hero-copy {
    font-size: 1.02rem;
  }
}
