@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600&family=Playfair+Display:wght@300;400;500;600;700&display=swap");

:root {
  --bg-cream: #f8f1e7;
  --bg-light: #fdf8f2;
  --text-dark: #6f5137;
  --text-mid: #8a6a4d;
  --line: rgba(111, 81, 55, 0.35);
  --white: #ffffff;
  --overlay: rgba(10, 7, 5, 0.6);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  font-optical-sizing: auto;
  overflow-x: hidden;
}

.title-bodoni {
  font-family: "Bodoni Moda", serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  font-optical-sizing: none;
}

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

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

.section {
  width: 100%;
  position: relative;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 4px 1.5vw;
  background: rgba(255, 255, 255, 0);
  color: var(--white);
  mix-blend-mode: screen;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Bodoni Moda", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
}

.brand,
.menu-toggle {
  font-family: "Bodoni Moda", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.brand {
  font-size: clamp(32px, calc(32px + 32 * ((100vw - 360px) / 840)), 64px);
}

.menu-toggle {
  font-size: clamp(20px, calc(20px + 20 * ((100vw - 360px) / 840)), 40px);
  line-height: 0.9;
  text-align: center;
}

.menu-toggle {
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
}

.menu-panel {
  position: fixed;
  inset: 0;
  background: rgba(248, 241, 231, 0.97);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 30;
}

.menu-panel.open {
  display: flex;
}

.menu-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(22px, 3vw, 36px);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  text-align: center;
}

.menu-content a {
  font-family: "Bodoni Moda", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.menu-close {
  background: transparent;
  border: none;
  font-size: 36px;
  align-self: center;
  cursor: pointer;
  color: var(--text-dark);
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.hero {
  background: var(--bg-light);
  padding-top: 0;
  min-height: 982px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 85vh;
  position: relative;
}

.hero-left,
.hero-right {
  height: clamp(590px, calc(590px + 392 * ((100vw - 360px) / 840)), 982px);
  overflow: hidden;
}

.hero-left img,
.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.foto-mariona {
  object-position: top;
}

.hero-slideshow {
  height: 100%;
  position: relative;
}

.hero-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

@media (min-width: 901px) {
  .slide-right-desktop {
    object-position: right center;
  }
}

.hero-slideshow img.active {
  opacity: 1;
}

.hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 10vw;
  color: var(--white);
  font-family: "Bodoni Moda", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  transform: translateY(40px);
}

.hero-text h1 {
 font-family: "Bodoni Moda", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(43px, calc(43px + 53 * ((100vw - 360px) / 840)), 96px);
  margin: 0 0 0;
}

.title-line {
  display: block;
  white-space: nowrap;
}

.title-lines {
  text-align: center;
}

.hero-text p {
  max-width: 520px;
  font-size: clamp(20px, calc(20px + 4 * ((100vw - 360px) / 840)), 24px);
  font-family: "Playfair Display", serif;
  font-style: normal;
  font-optical-sizing: auto;
  margin-top: 0;
}

.hero-subtitle span {
  display: inline;
}

.subtitle-line {
  display: inline;
  white-space: nowrap;
}

.desktop-only {
  display: inline;
}

.mobile-only {
  display: none;
}

.title-mobile-break .title-line {
  display: inline;
  white-space: nowrap;
}

.hero-bottom {
  position: absolute;
  bottom: 12px;
  left: 2vw;
  right: 0;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
  color: var(--white);
  font-size: clamp(20px, calc(20px + 4 * ((100vw - 360px) / 840)), 24px);
  font-family: "Playfair Display", serif;
}

.hero-line {
  flex: 1;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.7);
  order: 2;
}

.hero-caption {
  max-width: 320px;
  margin-left: 0;
  order: 1;
  text-align: left;
}

.download {
  position: relative;
  height: clamp(710px, calc(710px + 135 * ((100vw - 360px) / 840)), 845px);
  overflow: hidden;
  background: transparent;
}

.video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  object-position: center;
}

video::-webkit-media-controls {
  display: none !important;
}

video::-webkit-media-controls-enclosure,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}

.download-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 8vw;
  z-index: 1;
  color: #5E4127;
  font-family: "Bodoni Moda", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.download-content > * {
  text-align: center;
}

.download-content h2 {
  font-size: clamp(40px, calc(40px + 40 * ((100vw - 360px) / 840)), 80px);
  margin: 0;
}

.download-content p {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(20px, calc(20px + 4 * ((100vw - 360px) / 840)), 24px);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid #5E4127;
  color: #5E4127;
  font-size: clamp(16px, calc(16px + 4 * ((100vw - 360px) / 840)), 20px);
  font-family: "Playfair Display", serif;
  margin-top: 26px;
}

.projects {
  background: var(--bg-light);
  padding: clamp(27px, calc(27px + 46 * ((100vw - 360px) / 840)), 73px) 6vw 120px;
}

.section-title {
  text-align: center;
  font-family: "Bodoni Moda", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(40px, calc(40px + 40 * ((100vw - 360px) / 840)), 80px);
  margin: 0 0 60px;
}

.projects-intro {
  margin: -36px 0 56px;
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: clamp(18px, calc(18px + 6 * ((100vw - 360px) / 840)), 24px);
  color: var(--text-mid);
}

.project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "media info"
    "carousel info";
  gap: 28px 40px;
  align-items: start;
}

.project-media {
  grid-area: media;
}

.project-media .instagram-media {
  height: auto !important;
}

.project-info {
  grid-area: info;
}

.project-carousel {
  grid-area: carousel;
}

.project-media img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  display: block;
}

.project-media iframe {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 2px;
  display: block;
}

.project-media iframe.video-main-portrait {
  aspect-ratio: 9 / 16;
  width: auto;
  max-width: 100%;
  height: clamp(360px, 56vw, 760px);
  margin: 0 auto;
}

.youtube-consent-placeholder {
  width: auto;
  max-width: calc(100% - 24px);
  border: 1px solid rgba(94, 65, 39, 0.55);
  background: rgba(239, 230, 219, 0.96);
  color: #5e4127;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10px 12px;
  font-family: "Playfair Display", serif;
  font-size: 14px;
  cursor: pointer;
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.instagram-consent-placeholder {
  width: 200px;
  min-height: 400px;
  border: 1px solid rgba(94, 65, 39, 0.45);
  background: #efe6db;
  color: #5e4127;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  font-family: "Playfair Display", serif;
  font-size: 16px;
  cursor: pointer;
}

.project-media .instagram-media {
  max-width: 100% !important;
  width: 200px !important;
  min-width: 0 !important;
  margin: 0 !important;
  min-height: 400px;
}

.project-media {
  display: flex;
  justify-content: center;
  position: relative;
}

.project-media.youtube-blocked {
  background-image: var(--youtube-thumb);
  background-size: cover;
  background-position: center;
  min-height: 315px;
}

.project-info h3 {
  font-family: "Playfair Display", serif;
  font-size: clamp(20px, calc(20px + 6 * ((100vw - 360px) / 840)), 26px);
  margin: 0 0 12px;
  font-style: normal;
  font-optical-sizing: auto;
  font-weight: 300;
}

.project-link {
  font-size: 0.6em;
  font-weight: 400;
  text-decoration: underline;
  margin-left: 10px;
  color: inherit;
  white-space: nowrap;
}

.project-info p {
  font-size: clamp(13px, calc(15px - 2 * ((100vw - 360px) / 840)), 15px);
  line-height: 1.6;
  color: var(--text-mid);
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
}

.read-more {
  background: transparent;
  border: none;
  padding: 6px 0 0;
  font: inherit;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
}

@media (min-width: 901px) {
  .read-more {
    display: none;
  }
}

@media (max-width: 900px) {
  .project-desc {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .project-info.expanded .project-desc {
    display: block;
  }
}

.project-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
}

@media (min-width: 901px) {
  .project-carousel {
    width: 100%;
    justify-self: stretch;
  }
}

.carousel-btn {
  background: transparent;
  border: none;
  font-size: 32px;
  color: var(--text-mid);
  cursor: pointer;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(90px, 110px);
  gap: 12px;
  overflow: hidden;
}

.project-carousel.compact {
  grid-template-columns: auto max-content auto;
  justify-content: start;
}

.project-carousel.compact .carousel-track {
  overflow: visible;
}

.thumb {
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.thumb img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: 2px;
}

.thumb-video-el {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

.project-divider {
  height: 1px;
  background: var(--line);
  width: 80%;
  margin: 60px auto;
}

.fixed-reveal {
  height: clamp(315px, calc(315px + 500 * ((100vw - 360px) / 840)), 815px);
  position: relative;
  display: grid;
  align-items: start;
  justify-items: end;
  overflow: hidden;
  background: #efe2d4;
}

.fixed-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(315px, calc(315px + 500 * ((100vw - 360px) / 840)), 815px);
  overflow: hidden;
}

.fixed-image img {
  width: 100%;
  height: calc(100% + 120px);
  object-fit: cover;
  object-position: left center;
  will-change: transform;
}


.fixed-text {
  position: absolute;
  inset: 0 0 0 auto;
  width: 55%;
  height: 100%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 80px 4vw 0;
  color: #5E4127;
  background: none !important;
}

.fixed-text h2 {
  font-family: "Bodoni Moda", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(24px, calc(24px + 40 * ((100vw - 360px) / 840)), 64px);
  margin-bottom: 12px;
}

.fixed-text p {
  font-family: "Playfair Display", serif;
  font-size: clamp(14px, calc(14px + 10 * ((100vw - 360px) / 840)), 24px);
}

.contact {
  padding: 0;
  height: clamp(369px, calc(369px + 640 * ((100vw - 360px) / 840)), 1009px);
  min-height: clamp(369px, calc(369px + 640 * ((100vw - 360px) / 840)), 1009px);
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  background-image: url("img/getintouch.webp");
  background-size: cover;
  background-position: center;
}

.contact::before {
  content: none;
}

.contact-inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  color: var(--text-dark);
  padding: 60px 6vw 0;
}

@media (min-width: 901px) {
  .contact-inner {
    padding-top: 140px;
  }
}

.contact-bg {
  display: none;
}

.contact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.contact-inner h2 {
  font-family: "Bodoni Moda", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(43px, calc(43px + 53 * ((100vw - 360px) / 840)), 96px);
  margin-bottom: 2px;
}

.email {
  margin: 6px 0 2px;
  font-family: "Playfair Display", serif;
  font-size: clamp(16px, calc(16px + 16 * ((100vw - 360px) / 840)), 32px);
}

.linkedin {
  text-decoration: underline;
  font-family: "Playfair Display", serif;
  font-size: clamp(16px, calc(16px + 16 * ((100vw - 360px) / 840)), 32px);
  margin-top: 8px;
}

.site-footer {
  background: #6f5137;
  color: #f5e8da;
  text-align: center;
  padding: 26px 6vw 30px;
  font-size: clamp(14px, calc(14px + 10 * ((100vw - 360px) / 840)), 24px);
  font-family: "Playfair Display", serif;
  margin-top: 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

.footer-links a {
  font-size: clamp(14px, calc(14px + 10 * ((100vw - 360px) / 840)), 24px);
}

.cookies-settings-btn {
  background: transparent;
  border: none;
  color: inherit;
  font-family: "Playfair Display", serif;
  font-size: clamp(14px, calc(14px + 10 * ((100vw - 360px) / 840)), 24px);
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.footer-credit {
  font-size: clamp(14px, calc(14px + 10 * ((100vw - 360px) / 840)), 24px);
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  background: #f8f1e7;
  border: 1px solid rgba(94, 65, 39, 0.35);
  color: #5e4127;
  padding: 14px;
  display: none;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner.show {
  display: flex;
}

.cookie-banner p {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 14px;
}

.cookie-banner a {
  color: inherit;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  border: 1px solid #5e4127;
  background: transparent;
  color: #5e4127;
  font-family: "Playfair Display", serif;
  font-size: 14px;
  padding: 8px 12px;
  cursor: pointer;
}

.cookie-accept {
  background: #5e4127;
  color: #f8f1e7;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
  padding: 40px 6vw;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  max-width: 900px;
  width: 100%;
  background: #000;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.lightbox-content iframe {
  width: min(100%, calc(80vh * 16 / 9));
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
  margin: 0 auto;
}

.lightbox-content video {
  width: 100%;
  height: 80vh;
  object-fit: contain;
}

.consent-block {
  width: 100%;
  min-height: 240px;
  display: grid;
  place-items: center;
  gap: 12px;
  text-align: center;
  color: #f8f1e7;
  padding: 20px;
}

.consent-inline-accept {
  border: 1px solid #f8f1e7;
  background: transparent;
  color: #f8f1e7;
  font-family: "Playfair Display", serif;
  padding: 8px 12px;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: transparent;
  border: none;
  font-size: 32px;
  color: var(--white);
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 48px;
  cursor: pointer;
  padding: 8px 12px;
  z-index: 1;
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .lightbox {
    padding: 24px 4vw;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-right {
    height: clamp(266px, calc(266px + 216 * ((100vw - 360px) / 840)), 482px);
  }

  .hero-left img,
  .hero-right img {
    height: 100%;
  }

  .hero-text {
    position: absolute;
    padding: 0 8vw;
    transform: translateY(-45px);
  }

  .hero-bottom {
    position: absolute;
    bottom: 0;
    left: 2vw;
    right: 0;
    padding: 0;
    color: var(--white);
  }

  .hero {
    margin-bottom: -4px;
  }

  .hero-line {
    background: rgba(255, 255, 255, 0.7);
  }

  .download {
    padding: 0;
    margin-top: -2px;
  }

  .projects {
    margin-top: 0;
  }

  .project {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "carousel"
      "info";
  }

  .project-media {
    margin: 0 -6vw;
    overflow: hidden;
  }

  .project-carousel {
    grid-template-columns: 1fr;
  }

  .carousel-btn {
    display: none;
  }

  .carousel-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .thumb img {
    height: 80px;
  }

  .fixed-text {
    background: rgba(255, 248, 240, 0.92);
  }

}

@media (max-width: 1200px) {
  .hero {
    min-height: auto;
  }
}


@media (max-width: 600px) {
  .site-header {
    padding: 4px 2vw;
  }

  .hero-subtitle span {
    display: block;
  }

  .hero-text h1 {
    font-size: clamp(36px, 9.5vw, 43px);
  }

  .subtitle-line {
    display: block;
    white-space: normal;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .title-mobile-break .title-line {
    display: block;
    white-space: normal;
  }

  .hero-bottom {
    bottom: -6px;
  }

    flex-direction: column;
    align-items: flex-start;
  }

  .fixed-image {
    background-position: left center;
  }

  .fixed-image img {
    object-position: 10% center;
  }

  .fixed-text {
    padding-top: 20px;
  }

  .fixed-text h2 {
    margin-bottom: 2px;
  }

  .fixed-text p {
    margin-top: 4px;
  }

  .contact-bg {
    height: 315px;
  }

  .slide-top {
    object-position: center 20% !important;
  }

  .slide-right {
    object-position: right center !important;
  }



  .project-carousel {
    gap: 10px;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
}

@media (min-width: 1200px) {
  .contact-bg {
    height: 815px;
  }
}

@media (min-width: 901px) {
}
