/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: 'Mulish', sans-serif;
  font-weight: 200;
  -webkit-font-smoothing: antialiased;
  color: #222;
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('../images/bg.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.highlight {
  color: #2f4ea2;
  font-weight: 700;
}

.accent {
  color: #f4b942;
  font-weight: 800;
}

/* ========================================
   PORTRAIT LAYOUT (default / mobile)
======================================== */

.container {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 40px 8vw 38vh;
  gap: 2vh;
  position: relative;
  z-index: 1;
}

/* Logo + title */
.left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}

.left img {
  width: 65%;
  max-width: 260px;
}

.title {
  font-size: 28px;
  font-weight: 200;
  line-height: 1.3;
  align-self: flex-start;
}

/* Dog: fixed at bottom-left, slightly off-center to the left */
.center {
  flex: 0 0 0;
  overflow: visible;
}

.center img {
  position: fixed;
  bottom: 0;
  left: calc(-260px + 15vw);
  width: auto;
  height: 60vh;
  z-index: 0;
}

/* Subtitle flows in layout; wind icon is fixed at bottom-right */
.right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  flex: 0 0 auto;
}

.subtitle {
  font-size: 22px;
  font-weight: 200;
  line-height: 1.3;
  text-align: right;
}

.right img {
  position: fixed;
  /* tracks the dog's snout: -260px matches dog's left offset, 45vh tracks its width as it scales */
  left: calc(-160px + 58vh);
  bottom: 22vh;
  width: auto;
  height: 10vh;
  z-index: 2;
}

/* ========================================
   LANDSCAPE LAYOUT
======================================== */

@media (orientation: landscape) {

  .container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    height: 100vh;
    width: 100%;
    padding: 0 48px;
  }

  /* Left column: logo directly above title, both anchored to the bottom */
  .left {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    padding-bottom: 156px;
    gap: 100px;
  }

  .left img {
    width: 200px;
    max-width: 100%;
  }

  .title {
    font-size: 36px;
    align-self: auto;
  }

  /* Center column: dog fixed at bottom, centered */
  .center {
    flex: auto;
    overflow: visible;
  }

  .center img {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: 680px;
    max-width: none;
  }

  /* Right column: subtitle anchored to the bottom; wind icon fixed near the dog's snout */
  .right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    padding-bottom: 56px;
  }

  .right img {
    position: fixed;
    /* just to the right of the dog's snout (horizontal center) */
    left: calc(50% + 10vw);
    bottom: 200px;
    width: 260px;
    height: auto;
    z-index: 2;
  }

  .subtitle {
    font-size: 28px;
    text-align: right;
    
  }
}

/* ========================================
   WIDE DESKTOP (landscape ≥ 1200px)
======================================== */

@media (orientation: landscape) and (min-width: 1200px) {

  .container {
    max-width: 1600px;
    margin: 0 auto;
  }

  .left img { width: 260px; }

  .title { font-size: 44px; }

  .center img {
    height: 780px;
    max-width: none;
  }

  .right img { width: 300px; }

  .subtitle { font-size: 32px; }
}