:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --ink: #111111;
  --muted: #858585;
  --border: #e5e5e5;
  --border-strong: #cfcfcf;
  --radius: 14px;
  --transition: 220ms ease-out;
  --shell-width: 1040px;
}

/* RESET */

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

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Inter", sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

/* LAYOUT BASICS */

.shell {
  width: 100%;
  max-width: var(--shell-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-bottom {
  padding-bottom: 5.5rem;
}

.section-lines {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.logo-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid var(--ink);
}

.logo-text {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* NAV BRANDS DROPDOWN */
.nav-brands {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-brands-toggle {
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
  position: relative;
  padding-bottom: 2px;
}

.nav-brands-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: #000;
  transition: width var(--transition);
}

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

.nav-brands:hover .nav-brands-toggle::after {
  width: 100%;
}

/* Dropdown */
.brand-menu {
  position: absolute;
  top: 120%;
  right: 0;
  min-width: 180px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.4rem 0.6rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  transition-delay: 250ms; /* small delay before hiding */
  z-index: 30;
}

.nav-brands:hover .brand-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.brand-menu a {
  display: block;
  padding: 0.4rem 0.2rem;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.brand-menu a:hover {
  background: var(--bg-soft);
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: #000;
  transition: width var(--transition);
}

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

.nav a:hover::after {
  width: 100%;
}

/* HERO */

.hero {
  padding: 5rem 0 4rem;
}

.sub-hero {
  padding: 4rem 0 3rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: flex-end;
}

.hero-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  color: var(--muted);
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.05;
  margin: 0 0 1.3rem;
}

.hero-sub {
  font-size: 0.95rem;
  max-width: 28rem;
  color: var(--muted);
  line-height: 1.6;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.hero-line {
  width: 0;
  height: 1px;
  background: #ffffffff;
  animation: line-reveal 1s ease-out forwards;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 16rem;
  line-height: 1.5;
}

/* SECTION HEADERS */

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
  align-items: flex-end;
}

.section-header h2 {
  margin: 0;
}

.section-sub {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 20rem;
}

/* BRANDS LIST */

.brands-list {
  border-top: 1px solid var(--border);
}

.brand-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr) auto;
  gap: 1.5rem;
  padding: 1.4rem 0;
  align-items: center;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background var(--transition), transform var(--transition);
}

.brand-row:hover {
  background: #fdfdfd;
  transform: translateY(-2px);
}

.brand-main {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.brand-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-row h3 {
  margin: 0;
  font-size: 1.15rem;
}

.brand-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.brand-arrow {
  font-size: 1rem;
}

/* GRID & TEXT */

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 2.5rem;
}

.text-col {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}

.text-col h2 {
  margin-top: 0;
}

.text-col p {
  margin: 0 0 1rem;
}

.contact-grid .text-col p {
  margin-bottom: 0.9rem;
}

/* CONTACT FORM */

.contact-form {
  margin-top: 0.5rem;
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.contact-form p {
  margin: 0 0 0.9rem;
}

.contact-form label {
  font-size: 0.8rem;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  background: #fafafa;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--ink);
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

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

.contact-form .btn {
  margin-top: 0.3rem;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  background: transparent;
  color: var(--ink);
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.btn.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.btn.primary:hover {
  background: #000000;
  border-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.btn.primary:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

/* PROJECTS GRID */

.projects-grid {
  margin-top: 2rem;
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
}

.projects-grid::-webkit-scrollbar {
  height: 6px;
}

.projects-grid::-webkit-scrollbar-track {
  background: transparent;
}

.projects-grid::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 999px;
}

.project-tile {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #f5f5f5;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  min-width: 260px;
  max-width: 320px;
  flex: 0 0 auto;
  scroll-snap-align: start;
}

 .project-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform var(--transition), filter var(--transition), opacity var(--transition);
}

/* basis hover van tile */
.project-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.07);
  border-color: #000;
}

/* wanneer je over de projects-row hovert, worden alle images grijs en lichter */
.projects-grid:hover .project-image {
  filter: grayscale(1);
  opacity: 0.55;
}

/* behalve de actief gehoverde tile: die blijft vol kleur en helder */
.projects-grid:hover .project-tile:hover .project-image {
  filter: none;
  opacity: 1;
  transform: scale(1.04);
}

/* PROJECT TILE OVERLAY */

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent 55%);
  color: #ffffff;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  opacity: 1; /* always visible so title is always readable */
  padding: 1rem;
  transition: background var(--transition), opacity var(--transition);
}

.project-overlay-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.project-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.project-cta {
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}


.project-cta .arrow {
  font-size: 1rem;
  transform: translateX(0);
  transition: transform var(--transition);
}

.project-tile:hover .project-cta .arrow {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .project-tile {
    min-width: 220px;
  }
}

@media (max-width: 600px) {
  .projects-grid {
    gap: 0.9rem;
  }
}

/* FOCUS STATES */

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.project-tile:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

/* LINKS */

a {
  color: inherit;
}

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

/* HINT TEXT */

.hint {
  font-size: 0.8rem;
  color: #aaaaaa;
}

/* FOOTER */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.2rem 0 1.6rem;
  background: #ffffff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ANIMATIONS */

@keyframes line-reveal {
  to {
    width: 80px;
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 350ms ease-out, transform 350ms ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 880px) {
  .hero-inner,
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-right {
    align-items: flex-start;
  }

  .brand-row {
    grid-template-columns: minmax(0, 1fr);
    align-items: flex-start;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .nav {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .header-inner {
    height: 56px;
  }
}

/* HERO ON IMAGE OVERRIDES (GROUP HERO) */
#group.hero {
  color: #cccccc;
}

#group.hero h1 {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

#group.hero .hero-kicker,
#group.hero .hero-sub,
#group.hero .hero-note {
  color: #cccccc;
}