/* DPU — Download, Print, Use */

:root {
  --green: #3f7d4a;
  --green-dark: #2f6339;
  --cream: #faf8f2;
  --white: #ffffff;
  --soft-green: #f1f6f0;
  --text: #171717;
  --muted: #5f625e;
  --border: #e5e2d9;
  --shadow: 0 12px 35px rgba(23, 23, 23, 0.07);
  --radius: 14px;
  --container: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 248, 242, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.header-inner {
  position: relative;
  min-height: 78px;
  display: flex;
  align-items: center;
}

.main-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
}

.brand-letter {
  display: inline-block;
}

.brand-d {
  color: var(--green);
}

.brand-p {
  color: #d8d4ca;
}

.brand-u {
  color: #171717;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  position: relative;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--green-dark);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

/* Shared */

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.section {
  padding: 88px 0;
}

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

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 23px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

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

.button-primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

/* Home hero */

.hero {
  padding: 112px 0 105px;
  text-align: center;
}

.hero-inner {
  max-width: 820px;
}

.hero h1 {
  max-width: 780px;
  margin: 0 auto 20px;
  font-size: clamp(38px, 5vw, 62px);
}

.hero-text {
  max-width: 650px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 18px;
}

/* Featured product */

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

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 42px);
}

.featured-product {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-product:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(23, 23, 23, 0.1);
}

.product-image-wrap {
  min-height: 380px;
  background: var(--soft-green);
}

.product-placeholder {
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  color: var(--green-dark);
  text-align: center;
  background: #e9f1e8;
}

.product-placeholder img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  border-radius: 0;
}

.product-placeholder span {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.product-placeholder small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.product-content {
  align-self: center;
  padding: 50px;
}

.product-label {
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-content h3 {
  margin-bottom: 16px;
  font-size: clamp(27px, 3vw, 38px);
}

.product-content p:not(.product-label) {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 16px;
}

.text-link {
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 750;
}

.text-link span {
  margin-left: 4px;
  transition: margin-left 0.2s ease;
}

.featured-product:hover .text-link span,
.product-card:hover .text-link span {
  margin-left: 8px;
}

/* Brand section */

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

.brand-box {
  padding: 55px 30px;
  background: var(--soft-green);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.brand-box h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 40px);
}

.brand-box p:last-child {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
}

/* Activities page */

.page-hero {
  padding: 88px 0 72px;
}

.page-hero-inner {
  max-width: 760px;
}

.page-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 56px);
}

.page-hero p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

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

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

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(23, 23, 23, 0.1);
}

.product-card-image {
  aspect-ratio: 4 / 3;
  background: var(--soft-green);
}

.product-card-image .product-placeholder {
  min-height: 0;
}

.product-card-content {
  padding: 26px;
}

.product-card-content h2 {
  margin-bottom: 12px;
  font-size: 24px;
}

.product-card-content p:not(.product-label) {
  margin-bottom: 20px;
  color: var(--muted);
}

/* Footer */

.site-footer {
  margin-top: 30px;
  padding: 38px 0;
  background: #171717;
  color: #ffffff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.footer-brand {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.footer-inner p {
  margin: 4px 0 0;
  color: #b7b7b7;
  font-size: 13px;
}

.footer-nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
}

.footer-nav a:hover {
  color: #dcebdc;
}

.copyright {
  justify-self: end;
}

/* Responsive */

@media (max-width: 800px) {
  .hero {
    padding: 85px 0 80px;
  }

  .section {
    padding: 70px 0;
  }

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

  .product-image-wrap,
  .product-placeholder {
    min-height: 330px;
  }

  .product-content {
    padding: 34px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .copyright {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .header-inner {
    min-height: 70px;
  }

  .main-nav {
    gap: 18px;
  }

  .nav-link {
    font-size: 14px;
  }

  .hero {
    padding: 72px 0 68px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-text {
    font-size: 16px;
  }

  .product-image-wrap,
  .product-placeholder {
    min-height: 280px;
  }

  .product-content {
    padding: 28px 24px;
  }

  .page-hero {
    padding: 65px 0 52px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .copyright {
    grid-column: auto;
  }
}
