/* Woodsy Works — Framer-matched layout */

:root {
  --color-primary: #ddfC74;
  --color-bg: #2e3532;
  --color-bg-deep: #171717;
  --color-surface: rgba(46, 53, 50, 0.9);
  --color-text: #ffffff;
  --color-text-muted: #a9b8ac;
  --color-text-soft: #f5ffd4;
  --color-text-sage: #b3c7b7;
  --color-border: rgba(255, 255, 255, 0.2);
  --font: "Source Sans 3", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.44, 0, 0.56, 1);

  /* Framer page widths */
  --page-width: 390px;
  --content-pad-x: 20px;
  --content-pad-bottom: 20px;

  /* Typography scale — matched from woodsyworks.nl computed styles */
  --h1-size: 50px;
  --h1-lh: 0.9em;
  --h1-ls: -2px;
  --text-lg-size: 18px;
  --text-lg-lh: 1.4em;
  --text-base-size: 16px;
  --text-base-lh: 1.4em;
  --product-title-size: 32px;
  --product-title-lh: 1.3em;

  --card-height: 300px;
  --grid-gap: 40px;
  --footer-width: 100%;
}

@media (min-width: 768px) {
  :root {
    --page-width: 768px;
    --content-pad-x: 40px;
    --content-pad-bottom: 40px;
    --h1-size: 64px;
    --text-lg-size: 22px;
    --card-height: 300px;
    --footer-width: 768px;
  }
}

@media (min-width: 1100px) {
  :root {
    --page-width: 1100px;
    --content-pad-x: 80px;
    --content-pad-bottom: 60px;
    --h1-size: 96px;
    --text-lg-size: 24px;
    --product-title-size: 56px;
    --card-height: 500px;
    --footer-width: 1040px;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-base-size);
  font-weight: 400;
  line-height: var(--text-base-lh);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

/* Framer: fixed-width page column centered in viewport */
.page {
  width: var(--page-width);
  max-width: 100%;
  margin-inline: auto;
  padding-top: 0;
  overflow-x: clip;
  overflow-y: visible;
}

.page-content {
  padding: 0 var(--content-pad-x) var(--content-pad-bottom);
  width: 100%;
}

.container {
  width: 100%;
}

/* Typography — Framer text presets */
.display-xl {
  font-family: var(--font);
  font-size: var(--h1-size);
  font-weight: 500;
  line-height: var(--h1-lh);
  letter-spacing: var(--h1-ls);
  color: var(--color-primary);
  max-width: 700px;
  margin: 0;
}

.display-lg {
  font-family: var(--font);
  font-size: var(--text-lg-size);
  font-weight: 400;
  line-height: var(--text-lg-lh);
  letter-spacing: 0;
  color: var(--color-text-muted);
}

.lead {
  font-family: var(--font);
  font-size: var(--text-lg-size);
  font-weight: 400;
  line-height: var(--text-lg-lh);
  letter-spacing: 0;
  color: var(--color-text-muted);
  margin: 0;
}

.text-body {
  font-size: var(--text-base-size);
  font-weight: 400;
  line-height: var(--text-base-lh);
  color: var(--color-text);
}

.text-muted {
  font-size: var(--text-base-size);
  font-weight: 400;
  line-height: var(--text-base-lh);
  color: var(--color-text);
}

.text-caption {
  font-size: var(--text-base-size);
  font-weight: 400;
  line-height: var(--text-base-lh);
  color: var(--color-text-muted);
}

.text-link {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-link:hover { color: var(--color-primary); opacity: 0.8; }

/* Appear animations */
.appear { opacity: 1; transform: none; }
.js .appear {
  opacity: 0;
  transform: perspective(1200px) translateY(50px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.js .appear.is-visible {
  opacity: 1;
  transform: perspective(1200px) translateY(0);
}
.appear-delay-1 { transition-delay: 0.1s; }
.appear-delay-2 { transition-delay: 0.2s; }
.appear-delay-3 { transition-delay: 0.3s; }

/* Navigation — Framer: sticky desktop, fixed mobile */
.site-header {
  z-index: 100;
  width: 100%;
  background: var(--color-surface);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: none;
}

@media (min-width: 768px) {
  .site-header {
    position: sticky;
    top: 0;
  }
}

@media (max-width: 767px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: var(--page-width);
    max-width: 100%;
  }
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  min-height: 87px;
  padding: 25px var(--content-pad-x) 24px;
}

@media (max-width: 767px) {
  .site-header .container {
    min-height: 80px;
  }

  .page {
    padding-top: 80px;
  }
}
.logo { color: var(--color-primary); }
.logo svg { width: 71px; height: 32px; display: block; }

.nav-desktop { display: none; align-items: center; gap: 24px; }

.nav-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 22px;
  overflow: hidden;
  font-size: var(--text-base-size);
  font-weight: 400;
  line-height: var(--text-base-lh);
}

.nav-link span {
  display: block;
  line-height: 22px;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.nav-link span:last-child {
  position: absolute;
  top: 0;
  opacity: 0.6;
}

.nav-link:hover span:first-child { opacity: 0; transform: translateY(-100%); }
.nav-link:hover span:last-child { opacity: 1; transform: translateY(-100%); }
.nav-link.is-active span:first-child { color: var(--color-primary); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 24px;
  background: var(--color-primary);
  color: var(--color-bg);
  font-size: var(--text-base-size);
  font-weight: 400;
  line-height: var(--text-base-lh);
  white-space: nowrap;
  transition: opacity 0.25s var(--ease-out);
}

.nav-cta:hover { opacity: 0.9; }

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 10px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

.menu-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  inset: 80px 0 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 24px var(--content-pad-x) 48px;
  background: var(--color-bg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0.35s;
}

.nav-mobile.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-mobile a {
  font-size: var(--text-base-size);
  font-weight: 400;
  line-height: var(--text-base-lh);
  color: var(--color-text);
}

@media (min-width: 768px) {
  .menu-toggle { display: none; }
  .nav-desktop { display: flex; }
  .nav-mobile { display: none; }
}

main { display: flex; flex-direction: column; gap: 0; }

/* Hero — Framer Hero: padding-top 40px, gap 32px */
.hero {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 40px;
}

.hero h1 { margin: 0; }
.hero .lead { margin: 0; max-width: 560px; }
.hero .text-muted { margin: 0; max-width: 560px; }

/* Product grid */
.projects-section { padding-top: 80px; }

.page-header + .projects-section { padding-top: 40px; }

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap);
  width: 100%;
}

@media (min-width: 768px) {
  .projects-grid { grid-template-columns: repeat(2, minmax(200px, 1fr)); }
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  height: auto;
}

.project-card__media {
  position: relative;
  height: var(--card-height);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 24px;
}

.project-card__media img { width: 100%; height: 100%; object-fit: cover; }

.project-card__overlay {
  position: absolute;
  top: 28px;
  left: 28px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  transform: rotate(45deg);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.project-card:hover .project-card__overlay { opacity: 1; transform: rotate(0deg); }
.project-card__overlay svg { width: 22px; height: 22px; }

.project-card__text {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 22px;
  overflow: hidden;
  transition: height 0.5s var(--ease-out);
}

.project-card:hover .project-card__text,
.project-card:focus-within .project-card__text {
  height: auto;
}

.project-card__row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-height: 22px;
}

.project-card__row--desc {
  justify-content: center;
  margin-top: 0;
}

.project-card__title {
  font-size: var(--text-base-size);
  font-weight: 400;
  line-height: var(--text-base-lh);
  color: var(--color-primary);
  text-align: right;
  white-space: nowrap;
}

.project-card__arrow {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  color: var(--color-primary);
}

.project-card__arrow--muted { color: var(--color-text-muted); }

.project-card__desc {
  font-size: var(--text-base-size);
  font-weight: 400;
  line-height: var(--text-base-lh);
  color: var(--color-text);
  text-align: right;
  margin-top: 12px;
}

@media (max-width: 767px) {
  .project-card__text { height: auto; overflow: visible; }
  .project-card__desc { text-align: left; margin-top: 8px; }
  .project-card__row { justify-content: space-between; }
}

/* Footer */
.footer-cta {
  padding: 40px 0 60px;
  width: var(--footer-width);
  max-width: 100%;
  margin-inline: auto;
}

.footer-cta__title {
  margin: 0 0 20px;
  font-size: var(--text-lg-size);
  font-weight: 400;
  line-height: var(--text-lg-lh);
  letter-spacing: 0;
  color: var(--color-primary);
  text-align: start;
}

.footer-cta__title span { color: var(--color-primary); }

.footer-cta__body {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 768px) {
  .footer-cta__body {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }

  .footer-cta__info {
    width: 65%;
    padding-right: 150px;
  }

  .footer-cta__explore { width: 35%; }
}

.footer-cta__info p {
  margin: 0 0 32px;
  font-size: var(--text-lg-size);
  font-weight: 400;
  line-height: var(--text-lg-lh);
  color: var(--color-text-muted);
}

.footer-cta .btn {
  background: #fff;
  color: #000;
  border-radius: 24px;
  padding: 14px 28px;
}

.footer-cta .btn:hover { transform: none; opacity: 0.9; }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links a {
  font-size: var(--text-base-size);
  font-weight: 400;
  line-height: var(--text-base-lh);
  transition: color 0.25s var(--ease-out);
}

.footer-links a:hover { color: var(--color-primary); }

.social-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.social-links a {
  font-size: var(--text-base-size);
  font-weight: 400;
  line-height: var(--text-base-lh);
  color: var(--color-text-muted);
}
.social-links a:hover { color: var(--color-primary); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border: 0;
  border-radius: 60px;
  background: var(--color-primary);
  color: var(--color-bg-deep);
  font-size: var(--text-base-size);
  font-weight: 400;
  line-height: var(--text-base-lh);
  cursor: pointer;
  transition: opacity 0.25s var(--ease-out);
}

.btn--full { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.product-section,
.about-section,
.form-section {
  padding-top: 40px;
}

.form-section {
  display: grid;
  gap: 48px;
  padding-top: 40px;
}
@media (min-width: 768px) {
  .form-section {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    padding-top: 40px;
  }
}

.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text);
  font-size: var(--text-base-size);
  font-weight: 400;
  line-height: var(--text-base-lh);
}

.form-input:focus { outline: none; border-color: var(--color-primary); }
textarea.form-input { min-height: 140px; resize: vertical; }

.form-status { margin-top: 16px; font-size: 14px; }
.form-status.is-success { color: var(--color-primary); }
.form-status.is-error { color: #ff5765; }

/* Product page */
.product-layout { display: grid; gap: 48px; }
@media (min-width: 1100px) {
  .product-layout { grid-template-columns: 1.1fr 0.9fr; gap: 80px; }
}

.product-gallery { display: grid; gap: 16px; }
.product-gallery__main { border-radius: 24px; overflow: hidden; aspect-ratio: 4/3; }
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }

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

.product-gallery__thumbs button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: none;
}

.product-gallery__thumbs button.is-active,
.product-gallery__thumbs button:hover { border-color: var(--color-primary); }

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

.product-info h1 {
  margin: 0 0 24px;
  font-size: var(--product-title-size);
  font-weight: 500;
  line-height: var(--product-title-lh);
  letter-spacing: 0;
  color: var(--color-primary);
}

.product-details {
  margin-bottom: 32px;
  padding-block: 24px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.product-details p {
  margin: 0 0 12px;
  font-size: var(--text-base-size);
  font-weight: 400;
  line-height: var(--text-base-lh);
  color: var(--color-text-muted);
}

.product-price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 32px;
  font-size: var(--text-base-size);
  line-height: var(--text-base-lh);
}

.product-price span:first-child {
  font-weight: 400;
  color: var(--color-primary);
}

.product-price span:last-child {
  font-size: var(--text-base-size);
  font-weight: 400;
  color: var(--color-text-muted);
}

.about-grid { display: grid; gap: 48px; }
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; align-items: center; }
}

.about-image { border-radius: 24px; overflow: hidden; }
.about-content p {
  margin: 0 0 20px;
  font-size: var(--text-lg-size);
  font-weight: 400;
  line-height: var(--text-lg-lh);
  color: var(--color-text-muted);
}

.page-header {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 40px;
}

.page-header h1 { margin: 0; }
.page-header .lead { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .js .appear { opacity: 1; transform: none; transition: none; }
}
