/* ========================================
   01. COLOUR VARIABLES
======================================== */

:root {
  --ink: #181522;
  --cream: #fff9ee;
  --orange: #ff5c3d;
  --pink: #ffb9db;
  --yellow: #f9eb62;
  --blue: #6862f4
}

/* ========================================
   02. GLOBAL STYLES
======================================== */

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans',sans-serif;
  overflow-x: hidden
}

h1,h2,h3,p {
  margin-top: 0
}

h1,h2,h3,.eyebrow,.button {
  font-family: 'Space Grotesk',sans-serif
}

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

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

button {
  cursor: pointer
}

.skip {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 30;
  background: white;
  padding: 12px
}

.skip:focus {
  left: 10px
}

/* ========================================
   04. NAVIGATION
======================================== */

.nav {
  position: fixed;
  z-index: 20;
  left: 24px;
  right: 24px;
  top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: ffffff;
  backdrop-filter: blur(18px);
  border: 2px solid var(--ink);
  border-radius: 100px;
  padding: 10px 12px 10px 22px;
  box-shadow: 5px 5px 0 var(--ink)
}

/* ========================================
   03. IMAGE LOGO
======================================== */

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 60px;
  flex-shrink: 0;
  overflow: hidden
}

.logo-image {
  display: block;
  width: 120%;
  height: 120%;
  object-fit: contain
}

.links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-weight: 700;
  font-size: .9rem
}

/* ========================================
   05. BUTTONS
======================================== */

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 100px;
  padding: 14px 22px;
  font-weight: 700;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .2s,box-shadow .2s
}

.button:hover {
  transform: translate(3px,3px);
  box-shadow: 1px 1px 0 var(--ink)
}

.button.dark {
  background: var(--ink);
  color: white;
  box-shadow: 4px 4px 0 var(--orange)
}

.menu {
  display: none;
  background: transparent;
  border: 0;
  font-size: 1.4rem
}

/* ========================================
   06. HERO SECTION
======================================== */

.hero {
  min-height: 850px;
  height: 100svh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--orange);
  padding: 150px 20px 100px
}

.hero:before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .2;
  background-image: radial-gradient(#fff 1.5px,transparent 1.5px);
  background-size: 23px 23px
}

.hero-inner {
  text-align: center;
  position: relative;
  z-index: 3;
  max-width: 1100px
}

.eyebrow {
  display: inline-block;
  border: 2px solid var(--ink);
  background: var(--yellow);
  border-radius: 50px;
  padding: 9px 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .74rem;
  transform: rotate(-3deg)
}

h1 {
  font-size: clamp(5rem,13vw,12rem);
  line-height: .78;
  letter-spacing: -.105em;
  margin: 36px 0 32px;
  text-transform: uppercase
}

h1 em {
  font-style: normal;
  color: var(--cream);
  text-shadow: 5px 5px 0 var(--ink)
}

.hero p {
  font-size: clamp(1rem,2vw,1.3rem);
  max-width: 480px;
  margin: 0 auto 28px;
  font-weight: 600
}

.hero-sticker {
  position: absolute;
  z-index: 4;
  right: 9%;
  top: 24%;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
  width: 135px;
  height: 135px;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 800;
  transform: rotate(13deg);
  box-shadow: 6px 6px 0 var(--ink)
}

.polaroid {
  position: absolute;
  width: clamp(140px,19vw,260px);
  padding: 9px 9px 30px;
  background: white;
  border: 2px solid var(--ink);
  box-shadow: 10px 12px 0 var(--ink);
  z-index: 2;
  will-change: transform
}

.polaroid img {
  width: 100%;
  height: clamp(145px,19vw,255px);
  object-fit: cover;
  display: block
}

.polaroid.left {
  left: -2%;
  top: 20%;
  transform: rotate(-17deg)
}

.polaroid.right {
  right: -2%;
  bottom: 6%;
  transform: rotate(14deg)
}

/* ========================================
   07. SCROLLING TICKER
======================================== */

.ticker {
  overflow: hidden;
  background: var(--yellow);
  border-block: 3px solid var(--ink);
  transform: rotate(-2deg) scale(1.03);
  position: relative;
  z-index: 5;
  padding: 14px 0
}

.ticker-track {
  white-space: nowrap;
  width: max-content;
  animation: marquee 24s linear infinite;
  font: 700 1.35rem 'Space Grotesk',sans-serif
}

.ticker span {
  padding: 0 30px
}

@keyframes marquee {
  to {
    transform: translateX(-50%)
  }

}

section {
  scroll-margin-top: 100px
}

/* ========================================
   08. SHARED LAYOUT
======================================== */

.wrap {
  width: min(1180px,calc(100% - 44px));
  margin: auto
}

/* ========================================
   09. ABOUT SECTION
======================================== */

.intro {
  padding: 150px 0 120px
}

.section-tag {
  text-transform: uppercase;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .15em;
  color: var(--blue);
  margin-bottom: 20px
}

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
  align-items: center
}

.display {
  font-size: clamp(3.5rem,7vw,7.3rem);
  letter-spacing: -.09em;
  line-height: .96;
  margin-bottom: 26px
}

.display .highlight {
  background: var(--pink);
  padding: 0 .08em
}

.copy {
  font-size: 1.15rem;
  line-height: 1.75;
  max-width: 530px
}

.collage {
  position: relative;
  min-height: 500px
}

.collage .big {
  width: 80%;
  height: 420px;
  object-fit: cover;
  border: 3px solid var(--ink);
  border-radius: 180px 180px 15px 15px;
  box-shadow: 13px 13px 0 var(--blue)
}

.collage .small {
  position: absolute;
  width: 48%;
  height: 220px;
  object-fit: cover;
  right: 0;
  bottom: 0;
  border: 8px solid white;
  outline: 3px solid var(--ink);
  transform: rotate(10deg);
  box-shadow: 8px 8px 0 var(--ink)
}

/* ========================================
   10. EVENTS SECTION
======================================== */

.events {
  background: var(--ink);
  color: var(--cream);
  padding: 115px 0 130px
}

.events .section-tag {
  color: var(--yellow)
}

.events .heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 55px
}

.events .heading p {
  max-width: 320px;
  line-height: 1.7
}

.cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px
}

.event-card {
  background: var(--cream);
  color: var(--ink);
  border: 3px solid var(--cream);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .3s
}

.event-card:hover {
  transform: translateY(-12px) rotate(-1deg)
}

.event-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block
}

.event-card:nth-child(2) {
  background: var(--pink)
}

.event-card:nth-child(3) {
  background: var(--yellow)
}

.event-info {
  padding: 25px
}

.event-info h3 {
  font-size: 2rem;
  letter-spacing: -.06em;
  margin: 0 0 10px
}

.event-info p {
  line-height: 1.6;
  margin: 0
}

/* ========================================
   11. STATEMENT SECTION
======================================== */

.statement {
  background: var(--blue);
  color: white;
  text-align: center;
  padding: 120px 20px;
  position: relative;
  overflow: hidden
}

.statement h2 {
  font-size: clamp(3.8rem,9vw,9rem);
  line-height: .93;
  letter-spacing: -.09em;
  max-width: 1050px;
  margin: auto
}

.statement h2 span {
  color: var(--yellow)
}

.statement p {
  font-size: 1.15rem;
  margin: 25px auto 0;
  max-width: 550px;
  line-height: 1.6
}

/* ========================================
   12. CONTACT SECTION
======================================== */

.contact {
  padding: 130px 0;
  background: var(--pink)
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 75px;
  align-items: start
}

.contact .section-tag {
  color: var(--ink)
}

.contact h2 {
  font-size: clamp(4rem,7vw,7rem);
  letter-spacing: -.09em;
  line-height: .92;
  margin-bottom: 25px
}

.contact .lead {
  font-size: 1.2rem;
  line-height: 1.7;
  max-width: 400px
}

.contact-note {
  margin-top: 35px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  padding: 25px;
  border-radius: 16px;
  transform: rotate(-3deg);
  box-shadow: 7px 7px 0 var(--ink);
  font-weight: 700;
  max-width: 300px
}

/* ========================================
   13. ENQUIRY FORM
======================================== */

.form {
  background: var(--cream);
  padding: 35px;
  border: 3px solid var(--ink);
  border-radius: 24px;
  box-shadow: 12px 12px 0 var(--ink)
}

.form h3 {
  font-size: 1.65rem;
  letter-spacing: -.05em
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.field {
  margin-bottom: 18px
}

.field label {
  display: block;
  font-size: .85rem;
  font-weight: 800;
  margin-bottom: 8px
}

.field input,.field select,.field textarea {
  width: 100%;
  background: white;
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 14px;
  outline-offset: 3px
}

.field textarea {
  resize: vertical;
  min-height: 115px
}

.form .button {
  width: 100%;
  background: var(--orange);
  font-size: 1rem
}

.form small {
  display: block;
  margin-top: 15px;
  line-height: 1.5;
  color: #5d5865
}

/* ========================================
   14. FOOTER
======================================== */

footer {
  background: var(--ink);
  color: white;
  padding: 45px 0
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px
}

.footer-inner p {
  margin: 0;
  color: #d2cdd8
}

/* ========================================
   15. SCROLL ANIMATIONS
======================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s,transform .8s
}

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

@media(max-width:900px) {
  .split,.contact-grid {
    grid-template-columns: 1fr;
    gap: 50px
  }

  .cards {
    grid-template-columns: 1fr 1fr
  }

  .hero-sticker {
    right: 4%;
    top: 16%;
    width: 95px;
    height: 95px;
    font-size: .8rem
  }

  .polaroid {
    opacity: .65
  }

  .intro {
    padding: 95px 0
  }

  .collage {
    max-width: 550px
  }

  .events .heading {
    display: block
  }

}

@media(max-width:640px) {
  .logo-container {
    width: 140px;
    height: 45px
  }

  .nav {
    left: 12px;
    right: 12px;
    top: 12px
  }

  .menu {
    display: block
  }

  .links {
    display: none;
    position: absolute;
    top: calc(100% + 9px);
    left: 0;
    right: 0;
    background: var(--cream);
    border: 2px solid var(--ink);
    border-radius: 18px;
    padding: 22px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 5px 5px 0 var(--ink)
  }

  .links.open {
    display: flex
  }

  .hero {
    min-height: 690px;
    height: 90svh
  }

  .hero h1 {
    font-size: clamp(4.4rem,17vw,7rem)
  }

  .polaroid.left {
    top: 13%;
    left: -15%
  }

  .polaroid.right {
    right: -17%;
    bottom: 5%
  }

  .hero-sticker {
    top: 15%;
    right: 5%
  }

  .cards,.field-row {
    grid-template-columns: 1fr
  }

  .event-card img {
    height: 270px
  }

  .collage {
    min-height: 390px
  }

  .collage .big {
    height: 340px
  }

  .collage .small {
    height: 165px
  }

  .form {
    padding: 23px;
    box-shadow: 7px 7px 0 var(--ink)
  }

  .footer-inner {
    flex-direction: column;
    text-align: center
  }

  .statement {
    padding: 90px 15px
  }

}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  .ticker-track {
    animation: none
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none
  }

  .polaroid {
    will-change: auto
  }

}
