:root {
  --cream: #f3eee5;
  --paper: #faf7f1;
  --ink: #1d201b;
  --olive: #657052;
  --sage: #aeb9a0;
  --terracotta: #bd5d45;
  --ochre: #d3a443;
  --sand: #ddd0bd;
  --white: #fffdf9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

button,
a,
input,
textarea {
  font: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(243, 238, 229, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(29, 32, 27, 0.15);
  padding: 15px 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Homepage: tekst hoger plaatsen op mobiel en iPad in verticale stand */
@media screen and (max-width: 1024px) and (orientation: portrait) {
  .hero .hero-copy {
    margin-top: -30px;
  }
}

.logo {
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.06em;
  line-height: 0.82;
}

.logo span {
  font-size: 9px;
  display: block;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 7px;
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 5px;
  align-items: center;
}

.nav a {
  border: 0;
  background: transparent;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 20px;
}

.nav a:hover,
.nav a.active {
  background: var(--ink);
  color: var(--cream);
}

.menu {
  display: none;
  border: 0;
  background: var(--ink);
  color: var(--cream);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
}

main {
  max-width: 1500px;
  margin: auto;
  padding: 0 4vw 70px;
}

.eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(62px, 10vw, 150px);
  line-height: 0.8;
  letter-spacing: -0.08em;
}

h2 {
  font-size: clamp(45px, 7vw, 95px);
  line-height: 0.84;
  letter-spacing: -0.075em;
}

h3 {
  letter-spacing: -0.04em;
}

.lead {
  font-size: clamp(21px, 2.5vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 850px;
}

.muted {
  opacity: 0.66;
}

.serif {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.accent {
  color: var(--terracotta);
}

.olive-text {
  color: var(--olive);
}

.btn {
  display: inline-flex;
  border: 1px solid var(--ink);
  padding: 12px 17px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 800;
  cursor: pointer;
}

.btn.olive {
  background: var(--olive);
  color: white;
  border-color: var(--olive);
}

.btn.light {
  background: var(--paper);
  color: var(--ink);
}

/* HERO */

.hero {
  min-height: 83vh;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: end;
  padding: 55px 0 25px;
}

.hero-copy {
  padding-bottom: 15px;
}

.hero h1 {
  margin: 20px 0 28px;
}

.hero-image {
  height: 75vh;
  position: relative;
}

.hero-image img,
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-note {
  display: inline-block;
  background: var(--terracotta);
  color: white;
  border-radius: 50%;
  width: 96px;
  height: 96px;
  padding: 28px 12px;
  text-align: center;
  font-size: 11px;
  font-weight: 900;
  transform: rotate(-8deg);
}

.hero-image::before {
  content: "BRANDING / FOTOGRAFIE";
  position: absolute;
  z-index: 2;
  top: 15px;
  left: 15px;
  background: var(--ochre);
  padding: 7px 10px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

/* MARQUEE */

.marquee {
  margin: 25px -4vw 70px;
  background: var(--olive);
  color: white;
  overflow: hidden;
}

.marquee div {
  white-space: nowrap;
  padding: 9px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.17em;
  animation: slide 22s linear infinite;
}

@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 1024px) and (orientation: portrait) {
  .marquee {
    margin: 25px -4vw 0;
  }
}

/* SECTIONS */

.statement {
  display: grid;
  grid-template-columns: 0.35fr 1.65fr;
  gap: 20px;
  padding: 70px 0;
  border-top: 1px solid var(--ink);
}

.statement .num {
  font-size: 130px;
  line-height: 0.7;
  font-weight: 900;
  color: var(--terracotta);
  letter-spacing: -0.1em;
}

.split-band {
  margin: 0 -4vw;
  background: var(--sand);
  padding: 70px 4vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.split-band h2 {
  max-width: 700px;
}

.split-band p {
  font-size: 21px;
  line-height: 1.25;
  max-width: 580px;
}

/* Flex layout: twee .card.big naast elkaar; op mobiel stapelen */
.grid.flex-grid {
  display: flex;
  gap: 18px;
  align-items: stretch;
  flex-wrap: wrap;
}

/* Twee gelijke kolommen: elk precies 50% minus helft van de gap */
.grid.flex-grid .card.big {
  flex: 0 0 calc(50% - 9px);
  max-width: calc(50% - 9px);
  height: 600px;
  position: relative;
  overflow: hidden;
  display: block;
}

/* Zorg dat de afbeelding de kaart volledig vult */
.grid.flex-grid .card.big img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s;
}

.grid.flex-grid .example-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s;
}

/* PHOTO GRID
   Scoped to .grid zodat deze regels niet per ongeluk andere .card-elementen (zoals in .products) overrulen.
*/
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 13px;
  margin-top: 14px;
}

.grid .card {
  grid-column: span 4;
  height: 520px;
  position: relative;
  overflow: hidden;
  background: #ddd;
  display: block;
}

.grid .card.big {
  grid-column: span 7;
  height: 680px;
}

.grid .card.wide {
  grid-column: span 5;
}

.grid .card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.grid .card:hover img {
  transform: scale(1.035);
}

/* Portrait variant: gebruik class="card portrait" of class="card big portrait"
   Doel: verticale foto's (taller, smaller grid-span) */
.grid .card.portrait {
  grid-column: span 4;         /* neemt minder kolombreedte omdat het verticaal is */
  /* gebruik aspect-ratio en min-height voor betere schaalbaarheid */
  aspect-ratio: 2 / 3;
  min-height: 680px;
  position: relative;
  overflow: hidden;
  background: #ddd;
  display: block;
}

/* Als je de portrait wilt combineren met .big gebruik dan expliciet deze regel */
.grid .card.big.portrait {
  grid-column: span 4;
  aspect-ratio: 2 / 3;
  min-height: 720px;
}

.grid .card.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

/* Responsive aanpassingen voor portrait-kaarten */
@media (max-width: 850px) {
  .grid .card.portrait,
  .grid .card.big.portrait {
    grid-column: span 6; /* halve grid-breedte op medium screens */
    min-height: 570px;
  }
}

@media (max-width: 560px) {
  .grid.flex-grid {
    display: block;
    gap: 13px;
  }

  .grid.flex-grid .card.big {
    width: 100%;
    max-width: 100%;
    flex: none;
    height: 480px;
    margin-bottom: 13px;
  }

  .grid .card.portrait,
  .grid .card.big.portrait {
    grid-column: 1;      /* full width op kleine schermen */
    min-height: 420px;   /* passend voor mobiel */
    aspect-ratio: auto;
    height: auto;
  }
}

/* tag */
.tag {
  position: absolute;
  left: 13px;
  bottom: 13px;
  background: var(--paper);
  padding: 8px 10px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

/* PAGE HEAD */

.section-title {
  padding: 75px 0 25px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-bottom: 1px solid rgba(29, 32, 27, 0.2);
}

.section-title p {
  max-width: 430px;
  line-height: 1.35;
}

.section-title h1 {
  margin: 10px 0 0;
}

/* CASES */

.case-head {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 18px;
  padding: 65px 0 15px;
}

.case-copy h1 {
  font-size: clamp(58px, 9vw, 125px);
  margin: 18px 0;
}

.pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.pill {
  border: 1px solid var(--ink);
  border-radius: 99px;
  padding: 7px 10px;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.case-gallery .photo {
  height: 550px;
}

.case-gallery .full {
  grid-column: 1 / -1;
  height: 75vh;
}

/* ABOUT */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  padding: 75px 0;
}

.about-photo {
  height: 720px;
}

.about-copy p {
  font-size: 23px;
  line-height: 1.2;
  max-width: 650px;
}

.quote {
  font-size: clamp(42px, 6vw, 75px);
  line-height: 0.88;
  letter-spacing: -0.07em;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 55px 0;
  margin-top: 55px;
}

/* PRINTS
   Two columns on desktop, images adaptive (aspect-ratio),
   and scoped overrides so other .card rules don't interfere.
*/
.print-head {
  padding: 75px 0 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  align-items: end;
}

/* Two columns by default for the prints/products section */
.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 2rem 0;
}

/* Ensure .products items don't inherit grid-column from .grid .card */
.products > .card,
.products > .product {
  grid-column: auto;
  height: auto;
  background: var(--white);
  padding: 10px;
  border: 1px solid rgba(29, 32, 27, 0.15);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Photo wrapper in products: do NOT use a fixed height so images can be adaptive */
.products .photo,
.products .product .photo,
.products .card .photo {
  width: 100%;
  height: auto;
  overflow: hidden;
  background: #f5f5f5;
  border-radius: 6px;
}

/* Image itself: keep aspect ratio but let height adapt to layout */
.products img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
  border-radius: 6px;
  transition: transform 0.35s ease;
}

/* Titles / price inside products */
.products > .product h3,
.products > .card h3 {
  font-size: 17px;
  margin: 0;
}

.products .price,
.products > .product .price,
.products > .card .price {
  font-weight: 900;
  color: var(--ink);
}

/* subtle hover lift for prints */
.products > .product:hover,
.products > .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(18,18,18,0.06);
}

/* keep legacy .product class minimal */
.product {
  background: var(--white);
  padding: 10px;
  border: 1px solid rgba(29, 32, 27, 0.15);
}

/* PRICES */
.prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 60px;
  border: 1px solid var(--ink);
  gap: 1px;
  background: var(--ink);
}

.price-row {
  padding: 18px 20px;
  background: var(--paper);
  display: flex;
  justify-content: space-between;
  font-weight: 800;
}

.price-row:nth-child(3n) {
  background: var(--sage);
}

.price-row:nth-child(3n + 1) {
  background: var(--sand);
}

/* SERVICES */

.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 70px 0;
}

.service {
  padding: 30px;
  min-height: 440px;
  border: 1px solid var(--ink);
  background: var(--paper);
}

.service:nth-child(2) {
  background: var(--terracotta);
  color: white;
}

.service h3 {
  font-size: 39px;
}

.service .cost {
  font-size: 70px;
  font-weight: 900;
  letter-spacing: -0.08em;
  margin: 35px 0;
}

.service ul {
  line-height: 1.75;
  padding-left: 18px;
}

.cta-band {
  background: var(--olive);
  color: white;
  margin: 0 -4vw;
  padding: 70px 4vw;
}

/* CONTACT */

.contact {
  min-height: 80vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: end;
  padding: 18px 17px;
}

.contact h1 {
  font-size: clamp(70px, 13vw, 180px);
}

.contact-card {
  background: var(--terracotta);
  color: white;
  padding: 30px;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.form {
  display: grid;
  gap: 9px;
}

.form input,
.form textarea {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  color: white;
  padding: 14px;
  font: inherit;
  width: 100%;
}

.form textarea {
  min-height: 130px;
  resize: vertical;
}

.form input::placeholder,
.form textarea::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

footer {
  border-top: 1px solid var(--ink);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 900;
}

/* TABLET */

@media screen and (max-width: 1024px) and (orientation: portrait) {
  .contact .photo,
  .contact .about-photo,
  .contact img {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 3 / 4;
    height: 60vh;
    min-height: 320px;
    max-height: 80vh;
    display: block;
  }

  .contact {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact .photo {
    order: 1;
  }
  .contact .contact-card {
    order: 2;
  }
}

@media (max-width: 850px) {

  .nav {
    display: none;
  }

  .menu {
    display: block;
  }

  .nav.mobile-open {
    display: flex;
    position: absolute;
    top: 62px;
    right: 14px;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream);
    padding: 10px;
    border: 1px solid var(--ink);
    border-radius: 15px;
    min-width: 220px;
  }

  .nav.mobile-open a {
    padding: 12px 15px;
  }

  .hero,
  .case-head,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-image {
    height: 60vh;
  }

  .split-band,
  .print-head {
    grid-template-columns: 1fr;
  }

  /* Keep prints at two columns on medium screens (<=850px) */
  .products {
    grid-template-columns: 1fr 1fr;
  }

  .services,
  .prices {
    grid-template-columns: 1fr;
  }

  .grid .card,
  .grid .card.big,
  .grid .card.wide {
    grid-column: span 6;
  }

  .grid .card.big {
    height: 570px;
  }

  .about-photo {
    height: 600px;
  }

  .marquee { margin-bottom: 0; }
}

.example-print {
  margin: 2rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 4vw;
}

/* wrapper zodat we makkelijk max-width en frame-stijl kunnen toepassen */
.example-photo {
  width: 100%;
  max-width: 1200px;       /* groter dan de individuele print thumbnails */
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f5;
  border: 1px solid rgba(29,32,27,0.08);
  box-shadow: 0 12px 30px rgba(18,18,18,0.06);
}

/* Specifieke img-regels voor de example photo — houden aspect ratio maar laten hoogte adaptief */
.example-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 10;   /* breed, framed look; op smalle schermen het beeld schaalt */
}

/* Op mobiel stapelen we 1 kolom */
@media (max-width: 560px) {
  .products {
    grid-template-columns: 1fr;
  }
  .example-photo img {
    aspect-ratio: 4 / 3;
  }
}

/* MOBILE */

@media (max-width: 560px) {

  main {
    padding: 0 14px 45px;
  }

  .header {
    padding: 13px 14px;
  }

  .logo {
    font-size: 18px;
  }

  .logo span {
    font-size: 7px;
  }

  .hero {
    padding-top: 35px;
  }

  .hero h1 {
    font-size: clamp(58px, 18vw, 90px);
  }

  .hero-image {
    height: 52vh;
    min-height: 350px;
  }

  .hero-note {
    width: 80px;
    height: 80px;
    padding: 22px 8px;
    font-size: 9px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .grid .card,
  .grid .card.big,
  .grid .card.wide {
    grid-column: 1;
    height: 430px;
  }

  .grid .card.big {
    height: 480px;
  }

  /* Stack products into single column on small screens */
  .products {
    grid-template-columns: 1fr;
  }

  /* Make product images adaptively sized on mobile */
  .product .photo,
  .products .photo,
  .product .photo img {
    height: auto;
  }

  .product .photo,
  .products .photo {
    aspect-ratio: 4 / 3;
  }

  .product .photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
  }

  .case-gallery {
    grid-template-columns: 1fr;
  }

  .case-gallery .full {
    height: 60vh;
  }

  .case-gallery .photo {
    height: 50vh;
  }

  .about-photo {
    height: 520px;
  }

  .split-band,
  .cta-band,
  .marquee {
    margin-left: -14px;
    margin-right: -14px;
  }

  .split-band,
  .cta-band {
    padding-left: 14px;
    padding-right: 14px;
  }

  .statement {
    grid-template-columns: 1fr;
  }

  .statement .num {
    font-size: 90px;
  }

  .section-title {
    display: block;
    padding-top: 50px;
  }

  .section-title h1 {
    font-size: clamp(60px, 18vw, 100px);
  }

  .print-head {
    padding-top: 50px;
  }

  .prices {
    margin-top: 40px;
  }

  .price-row {
    padding: 15px;
  }

  .services {
    padding: 45px 0;
  }

  .service {
    min-height: auto;
    padding: 25px;
  }

  .service h3 {
    font-size: 32px;
  }

  .service .cost {
    font-size: 58px;
  }

  .contact {
    padding-top: 50px;
  }

  .contact-card {
    min-height: 500px;
  }

  footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 8px;
    line-height: 1.4;
  }

  footer span {
    flex: 1;
  }

  footer span:last-child {
    text-align: right;
  }

  .contact-card {
    min-height: auto;
    padding: 22px 18px;
    gap: 28px;
  }

  .contact-options {
    gap: 12px;
    margin-top: 22px;
  }

  .contact-option {
    min-width: 0;
    padding: 14px 12px;
    gap: 10px;
  }

  .contact-option-text {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .contact-option-text strong {
    line-height: 1.35;
  }

  .contact-note {
    margin-bottom: 0;
  }

  /* Prevent headline / lead overlap on small phones */
  .hero {
    align-items: start;
  }

  .hero .hero-copy {
    margin-top: 0;
    padding-bottom: 18px;
  }

  .hero h1 {
    margin-bottom: 12px;
    line-height: 0.92;
  }

  .lead {
    margin-top: 6px;
  }

  .hero h1 {
    margin-bottom: 18px;
    line-height: 0.98;
  }

  .lead {
    margin-top: 12px;
  }
}

/* Portrait kaarten ook voor de prints (.products) */
.products .card.portrait,
.products .card.big.portrait {
  /* neem normale product-kolombreedte en wees een stuk hoger */
  grid-column: auto;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
}

/* Zorg dat de img het portret-aspect afhandelt en de kaart vult */
.products .card.portrait img,
.products .card.big.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 2 / 3; /* portretverhouding */
  display: block;
  transition: transform 0.35s ease;
}

/* Medium screens */
@media (max-width: 850px) {
  .products .card.portrait,
  .products .card.big.portrait {
    min-height: 520px;
  }
}

/* Mobiel: full width en lagere hoogte */
@media (max-width: 560px) {
  .products .card.portrait,
  .products .card.big.portrait {
    grid-column: 1;
    min-height: 420px;
    height: auto;
  }

  .products .card.portrait img,
  .products .card.big.portrait img {
    aspect-ratio: auto;
    height: auto;
  }
}