html {
  scroll-behavior: smooth;
}

body {
  background: #F5F0E6;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

::selection {
  background: #E9541F;
  color: #fff;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #14161B;
}

::-webkit-scrollbar-thumb {
  background: #BE7B45;
  border-radius: 10px;
}

.grain {
  position: relative;
}

.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .045;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.eyebrow {
  font-family: 'Space Mono', monospace;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 700;
}

.eyebrow::before {
  content: "— ";
  color: #E9541F;
}

.side-tag {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: 'Space Mono', monospace;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-size: .68rem;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.16, .84, .44, 1), transform .8s cubic-bezier(.16, .84, .44, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.hero-line {
  overflow: hidden;
}

.hero-line span {
  display: block;
  transform: translateY(110%);
  animation: riseUp .9s cubic-bezier(.16, .84, .44, 1) forwards;
}

.hero-line:nth-child(1) span {
  animation-delay: .15s;
}

.hero-line:nth-child(2) span {
  animation-delay: .32s;
}

@keyframes riseUp {
  to {
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeInUp .8s cubic-bezier(.16, .84, .44, 1) forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mono-link {
  font-family: 'Space Mono', monospace;
  letter-spacing: .04em;
  position: relative;
}

.mono-link .u {
  position: relative;
  display: inline-block;
}

.mono-link .u::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(.25);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.16, .84, .44, 1);
  opacity: .5;
}

.mono-link:hover .u::after {
  transform: scaleX(1);
  opacity: 1;
}

header.scrolled {
  background: #ffff;
  backdrop-filter: blur(14px);
}

/* gallery */
.gallery-track {
  scroll-behavior: smooth;
}

.gallery-card {
  transition: transform .5s cubic-bezier(.16, .84, .44, 1), filter .5s ease;
  filter: grayscale(.15);
}

.gallery-card:hover {
  transform: translateY(-6px);
  filter: grayscale(0);
}

/* pills */
.pill {
  transition: all .3s ease;
  font-family: 'Space Mono', monospace;
}

.pill[aria-pressed="true"] {
  background: #14161B;
  color: #F5F0E6 !important;
  border-color: #14161B;
}

/* circular CTA */
.circle-btn {
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), background .3s ease;
  font-family: 'Space Mono', monospace;
}

.circle-btn:hover {
  transform: scale(1.06);
  background: #9C5F30;
}

.field {
  border-bottom: 1px solid rgba(20, 22, 27, .2);
  transition: border-color .3s ease;
}

.field:focus-within {
  border-color: #E9541F;
}

input,
textarea {
  font-family: 'Space Mono', monospace;
  background: transparent;
  width: 100%;
  padding: .65rem 0;
  font-size: .85rem;
  color: #14161B;
}

input::placeholder,
textarea::placeholder {
  color: rgba(20, 22, 27, .35);
}

input:focus,
textarea:focus {
  outline: none;
}

label.field-label {
  font-family: 'Space Mono', monospace;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(20, 22, 27, .5);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ==================== */
/* ===================================
   Melbourne Circuit Carousel
=================================== */

.circuit-carousel .owl-stage {
  display: flex;
}

.circuit-carousel .owl-item {
  display: flex;
}

.circuit-carousel .gallery-card {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.circuit-carousel .gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.7s cubic-bezier(.2, .8, .2, 1),
    filter 0.5s ease;
}

/* Dark overlay */

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 28px;
  z-index: 2;

  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.35) 45%,
      rgba(0, 0, 0, 0.05) 100%);

  opacity: 0;
  transition: opacity 0.45s ease;
}

/* Orange small text */

.gallery-tag {
  color: var(--orange, #e87532);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;

  transform: translateY(15px);
  opacity: 0;

  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

/* Main heading */

.gallery-overlay h3 {
  margin: 8px 0 0;
  color: #fff;

  font-family: var(--font-serif, Georgia, serif);
  font-size: clamp(1.4rem, 2vw, 2.2rem);
  line-height: 1.1;
  font-weight: 500;

  transform: translateY(20px);
  opacity: 0;

  transition:
    opacity 0.45s ease 0.06s,
    transform 0.45s ease 0.06s;
}


/* ==========================
   Hover Effects
========================== */

.circuit-carousel .gallery-card:hover img {
  transform: scale(1.07);
}

.circuit-carousel .gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.circuit-carousel .gallery-card:hover .gallery-tag,
.circuit-carousel .gallery-card:hover .gallery-overlay h3 {
  transform: translateY(0);
  opacity: 1;
}


/* Mobile */

@media (max-width: 767px) {

  .gallery-overlay {
    padding: 22px;
  }

  .gallery-overlay h3 {
    font-size: 1.5rem;
  }

}

/* =========================================================
   WORTH EACH BITE — BEHIND THE PASS
   Clean / Premium / Editorial
========================================================= */

.wbe-story {
  position: relative;
  overflow: hidden;

  background: #eee6d5;
  color: #241f1b;

  padding: clamp(65px, 7vw, 105px) 0;
}


/* subtle creative vertical accent */

.wbe-story::after {
  content: "";

  position: absolute;

  top: 0;
  right: 9%;

  width: 1px;
  height: 100%;

  background: rgba(36, 31, 27, 0.07);

  pointer-events: none;
}


/* =========================================================
   CONTAINER
========================================================= */

.wbe-story-inner {
  position: relative;
  z-index: 2;

  width: min(1320px, calc(100% - 80px));

  margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.wbe-story-header {
  max-width: 1100px;
}


/* small label */

.wbe-story-kicker {
  display: flex;

  align-items: center;

  gap: 12px;

  margin-bottom: 25px;

  font-family: "Manrope", sans-serif;

  font-size: 11px;

  font-weight: 600;

  letter-spacing: 0.12em;

  text-transform: uppercase;

  color: rgba(36, 31, 27, 0.55);
}


.wbe-story-kicker span {
  display: block;

  width: 32px;
  height: 1px;

  background: #ef4f23;
}


/* =========================================================
   HEADING
========================================================= */

.wbe-story-title {
  max-width: 1000px;

  margin: 0;

  font-family: "Fraunces", serif;

  font-size: clamp(3.5rem, 6.5vw, 7rem);

  font-weight: 500;

  line-height: 0.95;

  letter-spacing: -0.055em;

  color: #241f1b;
}


.wbe-story-title em {
  color: #ef4f23;

  font-style: italic;

  font-weight: 400;
}


/* =========================================================
   LEAD
========================================================= */

.wbe-story-lead {
  max-width: 780px;

  margin: 35px 0 0;

  font-family: "Manrope", sans-serif;

  font-size: clamp(1.05rem, 1.5vw, 1.3rem);

  line-height: 1.7;

  color: rgba(36, 31, 27, 0.68);
}


.wbe-story-lead strong {
  color: #241f1b;

  font-weight: 600;
}


/* =========================================================
   LOWER AREA
========================================================= */

.wbe-story-lower {
  display: grid;

  grid-template-columns: 0.9fr 1.1fr;

  gap: clamp(70px, 10vw, 150px);

  align-items: end;

  margin-top: clamp(55px, 7vw, 85px);

  padding-top: 30px;

  border-top: 1px solid rgba(36, 31, 27, 0.13);
}


/* =========================================================
   COPY
========================================================= */

.wbe-story-copy {
  max-width: 500px;

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 35px;
}


.wbe-story-copy p {
  margin: 0;

  font-family: "Manrope", sans-serif;

  font-size: 13px;

  line-height: 1.8;

  color: rgba(36, 31, 27, 0.62);
}


.wbe-story-copy strong {
  color: #ef4f23;

  font-weight: 600;
}


/* =========================================================
   STATS
========================================================= */

.wbe-story-stats {
  display: grid;

  grid-template-columns: repeat(3, 1fr);
}


.wbe-story-stat {
  display: flex;

  flex-direction: column;

  gap: 9px;

  min-height: 75px;

  padding-left: 28px;

  border-left: 1px solid rgba(36, 31, 27, 0.14);
}


.wbe-story-stat:first-child {
  padding-left: 0;

  border-left: 0;
}


.wbe-story-stat strong {
  font-family: "Fraunces", serif;

  font-size: clamp(2.4rem, 3.5vw, 3.5rem);

  font-weight: 500;

  line-height: 0.9;

  color: #ef4f23;
}


.wbe-story-stat span {
  max-width: 110px;

  font-family: "Manrope", sans-serif;

  font-size: 10px;

  line-height: 1.5;

  color: rgba(36, 31, 27, 0.52);
}


/* =========================================================
   FOOTER
========================================================= */

.wbe-story-footer {
  display: flex;

  align-items: center;

  margin-top: 55px;

  padding-top: 22px;

  border-top: 1px solid rgba(36, 31, 27, 0.1);
}


.wbe-story-footer-line {
  width: 45px;
  height: 1px;

  background: #ef4f23;
}


.wbe-story-footer-text {
  margin-left: 15px;

  font-family: "Manrope", sans-serif;

  font-size: 10px;

  letter-spacing: 0.1em;

  text-transform: uppercase;

  color: rgba(36, 31, 27, 0.42);
}


.wbe-story-cta {
  display: inline-flex;

  align-items: center;

  gap: 14px;

  margin-left: auto;

  font-family: "Manrope", sans-serif;

  font-size: 11px;

  font-weight: 600;

  color: #241f1b;

  text-decoration: none;
}


.wbe-story-cta>span {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  border: 1px solid rgba(36, 31, 27, 0.2);

  border-radius: 50%;

  transition:
    background .35s ease,
    color .35s ease,
    transform .35s ease;
}


.wbe-story-cta svg {
  width: 14px;
  height: 14px;

  stroke: currentColor;

  stroke-width: 1.5;

  transition: transform .35s ease;
}


.wbe-story-cta:hover>span {
  background: #ef4f23;

  border-color: #ef4f23;

  color: white;

  transform: translateX(4px);
}


.wbe-story-cta:hover svg {
  transform: translateX(2px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

  .wbe-story::after {
    display: none;
  }


  .wbe-story-inner {
    width: min(100% - 50px, 800px);
  }


  .wbe-story-lower {
    grid-template-columns: 1fr;

    gap: 45px;
  }


  .wbe-story-copy {
    max-width: 700px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

  .wbe-story {
    padding: 55px 0 60px;
  }


  .wbe-story-inner {
    width: calc(100% - 36px);
  }


  .wbe-story-kicker {
    margin-bottom: 20px;

    font-size: 9px;
  }


  .wbe-story-title {
    font-size: clamp(3.2rem, 15vw, 5rem);

    line-height: 0.92;
  }


  .wbe-story-lead {
    margin-top: 28px;

    font-size: 1rem;

    line-height: 1.7;
  }


  .wbe-story-lower {
    gap: 35px;

    margin-top: 45px;

    padding-top: 25px;
  }


  .wbe-story-copy {
    grid-template-columns: 1fr;

    gap: 18px;
  }


  .wbe-story-copy p {
    font-size: 13px;
  }


  .wbe-story-stats {
    grid-template-columns: repeat(3, 1fr);
  }


  .wbe-story-stat {
    min-height: 65px;

    padding-left: 12px;
  }


  .wbe-story-stat:first-child {
    padding-left: 0;
  }


  .wbe-story-stat strong {
    font-size: 2rem;
  }


  .wbe-story-stat span {
    font-size: 8px;

    line-height: 1.4;
  }


  .wbe-story-footer {
    margin-top: 42px;
  }


  .wbe-story-footer-text {
    display: none;
  }


  .wbe-story-cta {
    margin-left: auto;
  }

}