/* Stapwerk — Dutch shoe boutique */
:root {
  --forest: #1a3a2a;
  --forest-deep: #0f2419;
  --cognac: #a65e34;
  --cognac-soft: #c47a4d;
  --bone: #f3ede4;
  --bone-dark: #e5dccf;
  --ink: #1c1c1a;
  --muted: #5a564e;
  --line: rgba(28, 28, 26, 0.12);
  --white: #fffcf8;
  --radius: 2px;
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Manrope", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bone);
  line-height: 1.6;
  font-size: 1.05rem;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s, padding 0.4s;
  padding: 1.25rem 0;
}

.site-header.is-scrolled {
  background: rgba(243, 237, 228, 0.92);
  backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  color: var(--white);
  transition: color 0.3s;
}

.site-header.is-scrolled .logo,
.site-header.is-scrolled .nav a,
.site-header.is-scrolled .nav-toggle {
  color: var(--forest);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  color: rgba(255, 252, 248, 0.88);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: opacity 0.25s;
}

.nav a:hover {
  opacity: 0.7;
}

.nav-cta {
  background: var(--cognac) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  opacity: 1 !important;
}

.nav-cta:hover {
  background: var(--cognac-soft) !important;
  opacity: 1 !important;
}

.site-header.is-scrolled .nav-cta {
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  transition: transform 0.3s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 36, 25, 0.45) 0%, rgba(15, 36, 25, 0.25) 40%, rgba(15, 36, 25, 0.82) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(166, 94, 52, 0.25), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 0 5.5rem;
  max-width: 36rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.15s forwards;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 450;
  font-style: italic;
  line-height: 1.25;
  margin-bottom: 0.85rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.35s forwards;
}

.hero-lead {
  color: rgba(255, 252, 248, 0.85);
  font-size: 1.05rem;
  max-width: 28rem;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.5s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.65s forwards;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s;
}

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

.btn-primary {
  background: var(--cognac);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--cognac-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 252, 248, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 252, 248, 0.1);
}

.btn-dark {
  background: var(--forest);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--forest-deep);
}

/* Sections */
section {
  padding: 5.5rem 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cognac);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--forest);
  margin-bottom: 0.85rem;
}

.section-lead {
  color: var(--muted);
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

/* Collections */
.collections {
  background: var(--white);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.collection-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  background: var(--forest-deep);
}

.collection-card:nth-child(1),
.collection-card:nth-child(4) {
  min-height: 420px;
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.8s var(--ease);
}

.collection-card:hover img {
  transform: scale(1.06);
}

.collection-card figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(15, 36, 25, 0.88));
  color: var(--white);
  z-index: 1;
}

.collection-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 550;
  margin-bottom: 0.25rem;
}

.collection-card p {
  font-size: 0.92rem;
  opacity: 0.85;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 0.5rem;
}

.value-item {
  padding-top: 1.5rem;
  border-top: 2px solid var(--forest);
}

.value-item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--forest);
  margin-bottom: 0.6rem;
}

.value-item p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Craft */
.craft {
  background: var(--forest);
  color: var(--bone);
  padding: 0;
}

.craft-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 560px;
}

.craft-media {
  position: relative;
  min-height: 360px;
}

.craft-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.craft-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3.5rem;
}

.craft .section-label {
  color: var(--cognac-soft);
}

.craft .section-title {
  color: var(--bone);
}

.craft .section-lead {
  color: rgba(243, 237, 228, 0.78);
}

.craft-list {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.craft-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: rgba(243, 237, 228, 0.9);
  font-size: 0.98rem;
}

.craft-list li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45rem;
  flex-shrink: 0;
  background: var(--cognac);
  border-radius: 50%;
}

/* Trust / stores strip */
.trust {
  background: var(--bone-dark);
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat {
  text-align: center;
  padding: 1.25rem 0.5rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--forest);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat span {
  font-size: 0.88rem;
  color: var(--muted);
}

.store-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.store-preview img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.store-preview h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--forest);
  margin-bottom: 0.75rem;
}

.store-preview p {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

/* CTA band */
.cta-band {
  background:
    linear-gradient(120deg, rgba(26, 58, 42, 0.88), rgba(15, 36, 25, 0.75)),
    url("assets/images/lifestyle.jpg") center/cover;
  color: var(--white);
  text-align: center;
  padding: 5rem 1.25rem;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.cta-band p {
  opacity: 0.88;
  max-width: 28rem;
  margin: 0 auto 1.5rem;
}

/* Footer */
.site-footer {
  background: var(--forest-deep);
  color: var(--bone);
  padding: 4.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-block h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-block p,
.address-card {
  color: rgba(243, 237, 228, 0.78);
  font-size: 0.95rem;
}

.address-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.address-card strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.map-wrap {
  grid-column: 1 / -1;
  border: 1px solid rgba(243, 237, 228, 0.15);
  overflow: hidden;
  min-height: 280px;
  background: #0a1a12;
}

.map-wrap iframe {
  width: 100%;
  height: 320px;
  border: 0;
  filter: grayscale(0.25) contrast(1.05);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-form label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(243, 237, 228, 0.65);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: rgba(255, 252, 248, 0.06);
  border: 1px solid rgba(243, 237, 228, 0.2);
  color: var(--white);
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.25s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--cognac);
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-form select option {
  background: var(--forest-deep);
  color: var(--white);
}

.form-note {
  font-size: 0.85rem;
  color: rgba(243, 237, 228, 0.55);
  margin-top: 0.25rem;
}

.form-success {
  display: none;
  padding: 1rem;
  background: rgba(166, 94, 52, 0.25);
  border: 1px solid var(--cognac);
  color: var(--bone);
  font-size: 0.95rem;
}

.form-success.is-shown {
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(243, 237, 228, 0.12);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(243, 237, 228, 0.5);
}

/* Mobile */
@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 0 0 auto auto;
    top: 0;
    right: 0;
    width: min(280px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: var(--forest-deep);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 1.75rem 2rem;
    gap: 1.25rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav a {
    color: var(--bone) !important;
  }

  .nav-toggle {
    display: flex;
    z-index: 110;
  }

  .site-header.is-scrolled .nav-toggle {
    color: var(--forest);
  }

  .site-header.menu-open .nav-toggle {
    color: var(--bone);
  }

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

  .collection-card,
  .collection-card:nth-child(1),
  .collection-card:nth-child(4) {
    min-height: 280px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .craft-media {
    min-height: 280px;
  }

  .craft-copy {
    padding: 2.5rem 1.5rem 3.5rem;
  }

  .trust-stats {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .store-preview img {
    height: 240px;
  }

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

@media (max-width: 540px) {
  .hero-content {
    padding-bottom: 3.5rem;
  }

  .trust-stats {
    grid-template-columns: 1fr;
  }
}
