/* =========================================
   MOBILE: ONE FULL SCREEN, NO SCROLLING
========================================= */

@media (max-width: 767px) {

  html,
  body.home-page {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
  }

  .hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    min-height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
  }

  .hero-media {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
  }

  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.12);
    pointer-events: none;
    z-index: 1;
  }

  .topbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 82px;
    padding: 10px 16px;
    box-sizing: border-box;
    z-index: 20;
  }

  .logo-img {
    width: auto;
    height: 82px !important;
    object-fit: contain;
  }

  .bottom-panel {
    position: absolute !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    top: auto !important;

    width: auto !important;
    max-width: none !important;
    height: auto;

    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;

    z-index: 5;
  }

  .panel-wrap {
    width: 100%;
    padding: 14px;
    box-sizing: border-box;
    border-radius: 18px;
    background: rgba(35, 42, 57, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    width: 100%;
  }

  .service {
    display: grid;
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto;
    column-gap: 8px;

    min-width: 0;
    padding: 10px 8px;
    box-sizing: border-box;

    border-right: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .service:nth-child(2n) {
    border-right: none;
  }

  .service:nth-child(3),
  .service:nth-child(4) {
    border-bottom: none;
  }

  .service-icon {
    grid-column: 1;
    grid-row: 1 / 3;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;
    margin: 0;
    border-radius: 50%;
    font-size: 14px;
  }

  .service small {
    grid-column: 2;
    grid-row: 1;

    margin: 0 0 3px;
    font-size: 8px;
    line-height: 1.2;
    letter-spacing: 1px;
  }

  .service h3 {
    grid-column: 2;
    grid-row: 2;

    margin: 0;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 500;
  }

  .footer-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;

    width: 100%;
    padding-top: 10px;
    margin-top: 4px;

    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .socials {
    display: flex;
    justify-content: center;
    gap: 14px;
    width: 100%;
  }

  .socials a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    border-radius: 50%;
    font-size: 12px;
  }

  .legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px 12px;
    width: 100%;
  }

  .legal a {
    display: flex;
    align-items: center;
    gap: 4px;

    width: auto;
    margin: 0;
    font-size: 9px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .copyright {
    width: 100%;
    padding: 0;
    border: none;

    font-size: 9px;
    line-height: 1.2;
    text-align: center;
  }
}


/* Compact bottom panel on phones */
@media screen and (max-width: 767px) {

  .bottom-panel {
    left: 10px !important;
    right: 10px !important;
    bottom: 8px !important;
  }

  .panel-wrap {
    padding: 8px 10px;
    border-radius: 15px;
  }

  .service {
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: 6px;
    padding: 6px 5px;
  }

  .service-icon {
    width: 26px;
    height: 26px;
    font-size: 10px;
  }

  .service small {
    margin-bottom: 2px;
    font-size: 6px;
    line-height: 1.1;
    letter-spacing: 0.7px;
  }

  .service h3 {
    font-size: 8px;
    line-height: 1.2;
  }

  .footer-row {
    gap: 4px;
    margin-top: 3px;
    padding-top: 6px;
  }

  .socials {
    gap: 18px;
  }

  .socials a {
    width: 23px;
    height: 23px;
    font-size: 9px;
  }

  .legal {
    gap: 3px 8px;
  }

  .legal a {
    gap: 3px;
    font-size: 6.5px;
  }

  .copyright {
    font-size: 6.5px;
  }
}

@media screen and (max-width: 767px) {
  .bottom-panel .services {
    display: none;
  }

  .bottom-panel .footer-row {
    margin: 0;
    padding: 10px 8px;
    border-top: none;
  }

  .bottom-panel .panel-wrap {
    padding: 4px 8px;
  }

  .bottom-panel {
    left: 12px !important;
    right: 12px !important;
    bottom: 10px !important;
  }
}

/* =====================================================
   MOBILE FOOTER PANEL
===================================================== */

@media screen and (max-width: 767px) {

  /* Hide service cards */
  .bottom-panel .services {
    display: none !important;
  }

  .bottom-panel {
    position: absolute !important;
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    top: auto !important;

    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;

    z-index: 10;
  }

  .bottom-panel .panel-wrap {
    width: 100%;
    padding: 12px 14px;

    background: rgba(28, 36, 55, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-sizing: border-box;
  }

  .bottom-panel .footer-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;

    width: 100%;
    margin: 0;
    padding: 0;

    border: none;
  }

  /* Social icons */
  .bottom-panel .socials {
    display: grid;
    grid-template-columns: repeat(4, 32px);
    justify-content: center;
    align-items: center;

    width: 100%;
    gap: 20px;
    margin: 0;
  }

  .bottom-panel .socials a {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 32px;
    height: 32px;

    margin: 0;
    border-radius: 50%;

    font-size: 13px;
    text-decoration: none;
  }

  /* Contact and operating information */
  .bottom-panel .legal {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    width: 100%;
    gap: 8px 10px;
    margin: 0;
  }

  .bottom-panel .legal a {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    gap: 5px;
    margin: 0;

    color: #ffffff;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
  }

  /* Put location in the centre below opening times */
  .bottom-panel .legal a:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    width: auto;
  }

  .bottom-panel .legal i {
    flex-shrink: 0;
    font-size: 13px;
  }

  /* Copyright */
  .bottom-panel .copyright {
    width: 100%;

    margin: 0;
    padding-top: 8px;

    border-top: 1px solid rgba(255, 255, 255, 0.14);

    color: rgba(255, 255, 255, 0.85);
    font-size: 9px;
    line-height: 1.2;
    text-align: center;
  }
}

/* =====================================================
   MOBILE — SHOW THE COMPLETE VIDEO WITHOUT CROPPING
===================================================== */

@media screen and (max-width: 767px) {

  html,
  body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  .hero {
    width: 100%;
    height: 100vh;
    height: 100svh;
    height: 100dvh;

    display: grid;
    grid-template-rows: 82px minmax(0, 1fr) auto;

    margin: 0;
    padding: 0;
    overflow: hidden;

    background: #2845ad;
  }

  /* Header occupies the first row */
  .topbar {
    position: relative !important;
    top: auto !important;
    left: auto !important;

    grid-row: 1;

    width: 100%;
    height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 16px;
    margin: 0;

    z-index: 20;
  }

  .logo-img {
    display: block;
    width: auto;
    height: 62px;
    object-fit: contain;
  }

  /* Video occupies only the available middle space */
  .hero-media {
    position: relative !important;
    inset: auto !important;

    grid-row: 2;

    display: block;

    width: 100%;
    height: 100%;
    min-height: 0;

    object-fit: contain;
    object-position: center;

    background: #2845ad;

    z-index: 1;
  }

  /* Remove the overlay if it was previously added */
  .hero::after {
    display: none !important;
  }

  /* Footer occupies the last row */
  .bottom-panel {
    position: relative !important;

    grid-row: 3;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    width: calc(100% - 20px) !important;
    max-width: none !important;

    margin: 0 auto 8px !important;
    padding: 0 !important;

    transform: none !important;

    z-index: 10;
  }

  /* Hide the four service sections */
  .bottom-panel .services {
    display: none !important;
  }

  .bottom-panel .panel-wrap {
    width: 100%;
    padding: 10px 12px;

    background: rgba(27, 37, 59, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;

    box-sizing: border-box;
  }

  .bottom-panel .footer-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;

    width: 100%;
    margin: 0;
    padding: 0;

    border: none;
  }

  .bottom-panel .socials {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    gap: 28px;
    margin: 0;
  }

  .bottom-panel .socials a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    margin: 0;
    border-radius: 50%;

    font-size: 12px;
  }

  .bottom-panel .legal {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    width: 100%;
    gap: 6px 8px;
    margin: 0;
  }

  .bottom-panel .legal a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    gap: 4px;
    margin: 0;

    color: #ffffff;
    font-size: 7.5px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
  }

  .bottom-panel .legal a:nth-child(3) {
    grid-column: 1 / -1;
    width: auto;
    justify-self: center;
  }

  .bottom-panel .legal i {
    flex-shrink: 0;
    font-size: 11px;
  }

  .bottom-panel .copyright {
    width: 100%;
    margin: 0;
    padding-top: 6px;

    border-top: 1px solid rgba(255, 255, 255, 0.14);

    color: rgba(255, 255, 255, 0.85);
    font-size: 7.5px;
    line-height: 1.2;
    text-align: center;
  }
}


@media screen and (max-width: 767px) {

  .hero {
    height: 100dvh;
    grid-template-rows: 70px minmax(0, 1fr) auto;
  }

  /* Smaller navbar gives the video more height */
  .topbar {
    height: 70px;
    padding: 6px 14px;
  }

  .logo-img {
    height: 54px;
  }

  /* Video takes all remaining available space */
  .hero-media {
    width: 100%;
    height: 100%;
    min-height: 400px;

    object-fit: contain;
    object-position: center;

    background: #2947b4;
  }

  /* Make the footer panel shorter */
  .bottom-panel {
    width: calc(100% - 16px) !important;
    margin: 0 auto 6px !important;
  }

  .bottom-panel .panel-wrap {
    padding: 7px 10px;
    border-radius: 14px;
  }

  .bottom-panel .footer-row {
    gap: 4px;
  }

  .bottom-panel .socials a {
    width: 26px;
    height: 26px;
    font-size: 10px;
  }

  .bottom-panel .legal {
    gap: 4px 7px;
  }

  .bottom-panel .legal a {
    font-size: 6.5px;
  }

  .bottom-panel .legal i {
    font-size: 9px;
  }

  .bottom-panel .copyright {
    padding-top: 4px;
    font-size: 6.5px;
  }
}


html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto !important;
}

@media screen and (max-width: 767px) {

  .hero {
    width: 100%;
    height: auto !important;
    min-height: 100dvh;

    display: grid;
    grid-template-rows: auto auto auto;

    overflow: visible !important;
  }

  .topbar {
    position: relative;
    height: 70px;
    padding: 6px 14px;
  }

  .logo-img {
    height: 54px;
  }

  .hero-media {
    position: relative !important;

    width: 100%;
    height: auto !important;
    min-height: 400px;

    display: block;

    object-fit: contain;
    object-position: center;

    background: #2947b4;
  }

  .bottom-panel {
    position: relative !important;

    width: calc(100% - 16px) !important;
    margin: 6px auto !important;

    transform: none !important;
  }

  .bottom-panel .panel-wrap {
    padding: 7px 10px;
    border-radius: 14px;
  }

  .bottom-panel .footer-row {
    gap: 4px;
  }

  .bottom-panel .socials a {
    width: 26px;
    height: 26px;
    font-size: 10px;
  }

  .bottom-panel .legal {
    gap: 4px 7px;
  }

  .bottom-panel .legal a {
    font-size: 6.5px;
  }

  .bottom-panel .legal i {
    font-size: 9px;
  }

  .bottom-panel .copyright {
    padding-top: 4px;
    font-size: 6.5px;
  }
}

/* Prevent width and padding problems */
.fivebrands-experience-section,
.fivebrands-experience-section * {
  box-sizing: border-box;
}

.fivebrands-main-image,
.fivebrands-float-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   TABLET RESPONSIVE
========================= */
@media screen and (min-width: 768px) and (max-width: 1024px) {

  .fivebrands-experience-section {
    padding: 70px 40px;
    overflow: hidden;
  }

  .fivebrands-experience-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 65px;

    width: 100%;
    max-width: 850px;
    margin: 0 auto;
  }

  .fivebrands-experience-media {
    position: relative;
    width: 100%;
    min-height: 520px;
  }

  .fivebrands-main-image-wrap {
    width: 85%;
    height: 470px;
    overflow: hidden;
  }

  .fivebrands-main-image {
    object-position: center;
  }

  .fivebrands-float-image-wrap {
    position: absolute;
    right: 0;
    bottom: -35px;

    width: 42%;
    height: 220px;

    overflow: hidden;
    border: 8px solid #ffffff;
    z-index: 3;
  }

  .fivebrands-mark {
    position: absolute;
    left: 20px;
    bottom: -30px;
    z-index: 4;
  }

  .fivebrands-experience-content {
    width: 100%;
    max-width: 720px;
  }

  .fivebrands-tag {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 13px;
    letter-spacing: 2px;
  }

  .fivebrands-experience-content h2 {
    margin: 0 0 28px;
    font-size: clamp(42px, 6vw, 62px);
    line-height: 1.05;
  }

  .fivebrands-note {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 16px;
  }

  .fivebrands-note p {
    margin: 0;
    max-width: 650px;
    font-size: 18px;
    line-height: 1.7;
  }

  .fivebrands-note em {
    display: inline;
  }
}


/* =========================
   MOBILE RESPONSIVE
========================= */
@media screen and (max-width: 767px) {

  .fivebrands-experience-section {
    width: 100%;
    padding: 45px 18px 55px;
    overflow: hidden;
  }

  .fivebrands-experience-inner {
    display: flex;
    flex-direction: column;
    gap: 55px;

    width: 100%;
    margin: 0 auto;
  }

  .fivebrands-experience-media {
    position: relative;
    width: 100%;
    min-height: 390px;
  }

  .fivebrands-main-image-wrap {
    width: calc(100% - 32px);
    height: 340px;

    overflow: hidden;
  }

  .fivebrands-main-image {
    object-position: center;
  }

  .fivebrands-float-image-wrap {
    position: absolute;
    right: 0;
    bottom: -25px;

    width: 47%;
    height: 150px;

    overflow: hidden;
    border: 5px solid #ffffff;
    z-index: 3;
  }

  .fivebrands-float-image {
    object-position: center;
  }

  .fivebrands-mark {
    position: absolute;
    left: 12px;
    bottom: -18px;
    transform: scale(0.7);
    transform-origin: left bottom;
    z-index: 4;
  }

  .fivebrands-experience-content {
    width: 100%;
  }

  .fivebrands-tag {
    display: inline-block;
    margin-bottom: 14px;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.8px;
  }

  .fivebrands-experience-content h2 {
    margin: 0 0 24px;

    font-size: clamp(35px, 11vw, 48px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -1.5px;
  }

  .fivebrands-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 12px;
  }

  .fivebrands-corporate-dot {
    width: 9px;
    height: 9px;
    margin-top: 8px;
    flex-shrink: 0;
  }

  .fivebrands-note p {
    width: 100%;
    margin: 0;

    font-size: 15px;
    line-height: 1.65;
    overflow-wrap: break-word;
  }

  .fivebrands-note em {
    display: inline;
    font-size: 13px;
    line-height: 1.7;
  }
}


/* =========================
   SMALL MOBILE
========================= */
@media screen and (max-width: 430px) {

  .fivebrands-experience-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .fivebrands-experience-media {
    min-height: 345px;
  }

  .fivebrands-main-image-wrap {
    width: calc(100% - 24px);
    height: 300px;
  }

  .fivebrands-float-image-wrap {
    width: 48%;
    height: 125px;
    border-width: 4px;
  }

  .fivebrands-experience-content h2 {
    font-size: 36px;
  }

  .fivebrands-note p {
    font-size: 14px;
  }

  .fivebrands-note em {
    display: block;
    margin-top: 3px;
    font-size: 12px;
  }
}

/* Keep sizing consistent */
.fivebrands-corporate-section,
.fivebrands-corporate-section * {
  box-sizing: border-box;
}

.fivebrands-corporate-main-image,
.fivebrands-corporate-small-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* =========================
   TABLET
========================= */
@media screen and (min-width: 768px) and (max-width: 1024px) {

  .fivebrands-corporate-section {
    width: 100%;
    padding: 70px 40px 90px;
    overflow: hidden;
  }

  .fivebrands-corporate-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 55px;

    width: 100%;
    max-width: 850px;
    margin: 0 auto;
  }

  .fivebrands-corporate-left {
    width: 100%;
    max-width: 720px;
  }

  .fivebrands-corporate-tag {
    display: inline-block;
    margin-bottom: 18px;

    font-size: 13px;
    letter-spacing: 2px;
  }

  .fivebrands-corporate-left h2 {
    margin: 0 0 30px;

    font-size: clamp(44px, 6vw, 64px);
    line-height: 1.05;
  }

  .fivebrands-corporate-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 16px;
  }

  .fivebrands-corporate-note p {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
  }

  .fivebrands-corporate-note em {
    display: inline;
  }

  .fivebrands-corporate-right {
    position: relative;

    width: 100%;
    min-height: 520px;
  }

  .fivebrands-corporate-main-wrap {
    width: 85%;
    height: 470px;
    margin-left: auto;

    overflow: hidden;
  }

  .fivebrands-corporate-main-image {
    object-position: center;
  }

  .fivebrands-corporate-small-wrap {
    position: absolute;
    left: 0;
    bottom: -35px;

    width: 42%;
    height: 220px;

    overflow: hidden;
    border: 8px solid #ffffff;
    z-index: 3;
  }

  .fivebrands-corporate-mark {
    position: absolute;
    right: 20px;
    bottom: -30px;

    z-index: 4;
  }
}


/* =========================
   MOBILE
========================= */
@media screen and (max-width: 767px) {

  .fivebrands-corporate-section {
    width: 100%;
    padding: 48px 18px 65px;
    overflow: hidden;
  }

  .fivebrands-corporate-inner {
    display: flex;
    flex-direction: column;
    gap: 45px;

    width: 100%;
    margin: 0 auto;
  }

  .fivebrands-corporate-left {
    width: 100%;
  }

  .fivebrands-corporate-tag {
    display: inline-block;
    margin-bottom: 14px;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.8px;
  }

  .fivebrands-corporate-left h2 {
    width: 100%;
    margin: 0 0 24px;

    font-size: clamp(35px, 11vw, 48px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -1.5px;
  }

  .fivebrands-corporate-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 12px;

    width: 100%;
  }

  .fivebrands-corporate-dot {
    width: 9px;
    height: 9px;
    margin-top: 8px;
    flex-shrink: 0;
  }

  .fivebrands-corporate-note p {
    width: 100%;
    margin: 0;

    font-size: 15px;
    line-height: 1.65;
    overflow-wrap: break-word;
  }

  .fivebrands-corporate-note em {
    display: inline;
    font-size: 13px;
    line-height: 1.7;
  }

  .fivebrands-corporate-right {
    position: relative;

    width: 100%;
    min-height: 390px;
  }

  .fivebrands-corporate-main-wrap {
    width: calc(100% - 32px);
    height: 340px;
    margin-left: auto;

    overflow: hidden;
  }

  .fivebrands-corporate-main-image {
    object-position: center;
  }

  .fivebrands-corporate-small-wrap {
    position: absolute;
    left: 0;
    bottom: -25px;

    width: 47%;
    height: 150px;

    overflow: hidden;
    border: 5px solid #ffffff;
    z-index: 3;
  }

  .fivebrands-corporate-small-image {
    object-position: center;
  }

  .fivebrands-corporate-mark {
    position: absolute;
    right: 12px;
    bottom: -18px;

    transform: scale(0.7);
    transform-origin: right bottom;

    z-index: 4;
  }
}


/* =========================
   SMALL MOBILE
========================= */
@media screen and (max-width: 430px) {

  .fivebrands-corporate-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .fivebrands-corporate-left h2 {
    font-size: 36px;
  }

  .fivebrands-corporate-note p {
    font-size: 14px;
  }

  .fivebrands-corporate-note em {
    display: block;
    margin-top: 3px;
    font-size: 12px;
  }

  .fivebrands-corporate-right {
    min-height: 345px;
  }

  .fivebrands-corporate-main-wrap {
    width: calc(100% - 24px);
    height: 300px;
  }

  .fivebrands-corporate-small-wrap {
    width: 48%;
    height: 125px;
    border-width: 4px;
  }
}

/* =========================
   GENERAL IMAGE SETTINGS
========================= */

.fivebrands-commerce-section,
.fivebrands-commerce-section * {
  box-sizing: border-box;
}

.fivebrands-commerce-img-left,
.fivebrands-commerce-img-right {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* =========================
   TABLET
========================= */

@media screen and (min-width: 768px) and (max-width: 1024px) {

  .fivebrands-commerce-section {
    width: 100%;
    margin-top: 0 !important;
    padding: 70px 40px 90px;
    overflow: hidden;
  }

  .fivebrands-commerce-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "content content"
      "left-image right-image";
    gap: 45px 30px;

    width: 100%;
    max-width: 900px;
    margin: 0 auto;
  }

  .fivebrands-commerce-content {
    grid-area: content;
    width: 100%;
    max-width: 750px;
  }

  .fivebrands-commerce-left-image {
    grid-area: left-image;

    width: 100%;
    height: 360px;
    overflow: hidden;
  }

  .fivebrands-commerce-right-image-wrap {
    grid-area: right-image;
    position: relative;

    width: 100%;
    height: 360px;
    overflow: visible;
  }

  .fivebrands-commerce-img-left,
  .fivebrands-commerce-img-right {
    object-position: center;
  }

  .fivebrands-commerce-tag {
    display: inline-block;
    margin-bottom: 18px;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
  }

  .fivebrands-commerce-content h2 {
    margin: 0 0 30px;

    font-size: clamp(44px, 6vw, 64px);
    line-height: 1.05;
  }

  .fivebrands-commerce-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 16px;
  }

  .fivebrands-commerce-dot {
    flex-shrink: 0;
    margin-top: 9px;
  }

  .fivebrands-commerce-note p {
    width: 100%;
    margin: 0;

    font-size: 18px;
    line-height: 1.7;
  }

  .fivebrands-commerce-note em {
    display: inline;
    margin-right: 6px;
  }

  .fivebrands-commerce-scribble {
    position: absolute;
    top: -25px;
    right: -10px;

    transform: scale(0.8);
    transform-origin: top right;

    z-index: 3;
  }
}


/* =========================
   MOBILE
========================= */

@media screen and (max-width: 767px) {

  .fivebrands-commerce-section {
    width: 100%;
    margin-top: 0 !important;
    padding: 48px 18px 65px;
    overflow: hidden;
  }

  .fivebrands-commerce-inner {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "left-image"
      "right-image";
    gap: 38px;

    width: 100%;
    margin: 0 auto;
  }

  .fivebrands-commerce-content {
    grid-area: content;
    width: 100%;
  }

  .fivebrands-commerce-left-image {
    grid-area: left-image;

    width: calc(100% - 28px);
    height: 320px;
    overflow: hidden;
  }

  .fivebrands-commerce-right-image-wrap {
    grid-area: right-image;
    position: relative;

    width: calc(100% - 28px);
    height: 320px;
    margin-left: auto;

    overflow: visible;
  }

  .fivebrands-commerce-img-left,
  .fivebrands-commerce-img-right {
    object-position: center;
  }

  .fivebrands-commerce-tag {
    display: inline-block;
    margin-bottom: 14px;

    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 1.7px;
  }

  .fivebrands-commerce-content h2 {
    width: 100%;
    margin: 0 0 24px;

    font-size: clamp(35px, 11vw, 48px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -1.5px;
  }

  .fivebrands-commerce-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 12px;

    width: 100%;
  }

  .fivebrands-commerce-dot {
    width: 9px;
    height: 9px;
    margin-top: 8px;
    flex-shrink: 0;
  }

  .fivebrands-commerce-note p {
    width: 100%;
    margin: 0;

    font-size: 15px;
    line-height: 1.65;
    overflow-wrap: break-word;
  }

  .fivebrands-commerce-note em {
    display: inline-block;
    margin-right: 6px;

    font-size: 13px;
    line-height: 1.7;
  }

  .fivebrands-commerce-scribble {
    position: absolute;
    top: -22px;
    right: -8px;

    transform: scale(0.65);
    transform-origin: top right;

    z-index: 3;
  }
}


/* =========================
   SMALL MOBILE
========================= */

@media screen and (max-width: 430px) {

  .fivebrands-commerce-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .fivebrands-commerce-inner {
    gap: 32px;
      margin-top: -18%;
  }

  .fivebrands-commerce-content h2 {
    font-size: 36px;
  
  }

  .fivebrands-commerce-note p {
    font-size: 14px;
  }

  .fivebrands-commerce-note em {
    display: block;
    margin: 3px 0 0;

    font-size: 12px;
  }

  .fivebrands-commerce-left-image,
  .fivebrands-commerce-right-image-wrap {
    width: calc(100% - 20px);
    height: 285px;
  }

  .fivebrands-commerce-scribble {
    transform: scale(0.55);
  }
}

/* =========================
   TABLET
========================= */
@media screen and (min-width: 768px) and (max-width: 1024px) {

  .fivebrands-commerce-left-image {
    grid-area: left-image;

    width: 78%;
    height: 290px;
    align-self: center;
    justify-self: center;

    overflow: hidden;
  }

  .fivebrands-commerce-right-image-wrap {
    grid-area: right-image;

    position: relative;
    width: 100%;
    height: 360px;

    overflow: visible;
  }
}


/* =========================
   MOBILE
========================= */
@media screen and (max-width: 767px) {

  .fivebrands-commerce-left-image {
    grid-area: left-image;

    width: 92% !important;
    height: 170px !important;
    margin: 0 auto;

    overflow: hidden;
  }

  .fivebrands-commerce-right-image-wrap {
    grid-area: right-image;

    position: relative;
    width: calc(70% - 28px) !important;
    height: 120px !important;
    margin-left: auto;

    overflow: visible;
  }
}


/* =========================
   SMALL MOBILE
========================= */
@media screen and (max-width: 430px) {

  .fivebrands-commerce-left-image {
    width: 75%;
    height: 205px;
    margin: 0 auto;
  }

  .fivebrands-commerce-right-image-wrap {
    width: calc(100% - 20px);
    height: 285px;
  }
}

/* =========================
   GENERAL
========================= */

.fivebrands-field-section,
.fivebrands-field-section * {
  box-sizing: border-box;
}

.fivebrands-field-main-image,
.fivebrands-field-small-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* =========================
   TABLET
========================= */

@media screen and (min-width: 768px) and (max-width: 1024px) {

  .fivebrands-field-section {
    width: 100%;
    padding: 70px 40px 85px;
    overflow: hidden;
  }

  .fivebrands-field-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 55px;

    width: 100%;
    max-width: 850px;
    margin: 0 auto;
  }

  /* Compact image collage */
  .fivebrands-field-media {
    position: relative;

    width: 100%;
    height: 520px;
    min-height: 0;
    margin: 0;
  }

  .fivebrands-field-main-wrap {
    width: 82%;
    height: 440px;
    margin: 0;

    overflow: hidden;
  }

  .fivebrands-field-main-image {
    margin: 0 !important;
    object-position: center;
  }

  .fivebrands-field-small-wrap {
    position: absolute;
    right: 0;
    bottom: 0;

    width: 43%;
    height: 220px;

    margin: 0;
    overflow: hidden;
    border: 8px solid #f3f1e7;

    z-index: 4;
  }

  .fivebrands-field-small-image {
    object-position: center;
  }

  .fivebrands-field-dot {
    position: absolute;
    top: 48%;
    left: 32%;

    z-index: 5;
  }

  .fivebrands-field-mark {
    position: absolute;
    top: -20px;
    right: 25px;

    transform: scale(0.8);
    transform-origin: top right;

    z-index: 5;
  }

  .fivebrands-field-content {
    width: 100%;
    max-width: 720px;
    margin: 0;
  }

  .fivebrands-field-tag {
    display: inline-block;
    margin-bottom: 20px;

    font-size: 13px;
    letter-spacing: 1.5px;
  }

  .fivebrands-field-content h2 {
    max-width: 700px;
    margin: 0 0 30px;

    font-size: clamp(45px, 6vw, 64px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -2px;
  }

  .fivebrands-field-note {
    margin: 0 0 30px;
  }

  .fivebrands-field-note p {
    margin: 0;
    font-size: 21px;
    line-height: 1.5;
  }

  .fivebrands-field-note em {
    margin-left: 10px;
  }

  .fivebrands-field-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 165px;
    min-height: 48px;
    padding: 12px 25px;
  }
}


/* =========================
   MOBILE
========================= */

@media screen and (max-width: 767px) {

  .fivebrands-field-section {
    width: 100%;
    padding: 48px 18px 60px;
    overflow: hidden;
  }

  .fivebrands-field-inner {
    display: flex;
    flex-direction: column;
    gap: 38px;

    width: 100%;
    margin: 0;
  }

  /* Prevent the large blank gap */
  .fivebrands-field-media {
    position: relative;

    width: 100%;
    height: 370px;
    min-height: 0;
    margin: 0;
  }

  .fivebrands-field-main-wrap {
    width: 88%;
    height: 290px;
    margin: 0;

    overflow: hidden;
  }

  .fivebrands-field-main-image {
    margin: 0 !important;
    object-position: center;
  }

  /* Smaller overlapping image */
  .fivebrands-field-small-wrap {
    position: absolute;
    right: 0;
    bottom: 0;

    width: 48%;
    height: 145px;

    margin: 0;
    overflow: hidden;
    border: 5px solid #f3f1e7;

    z-index: 4;
  }

  .fivebrands-field-small-image {
    object-position: center;
  }

  .fivebrands-field-dot {
    position: absolute;
    top: 43%;
    left: 40%;

    width: 10px;
    height: 10px;

    z-index: 5;
  }

  .fivebrands-field-mark {
    position: absolute;
    top: -15px;
    right: 14px;

    transform: scale(0.62);
    transform-origin: top right;

    z-index: 5;
  }

  .fivebrands-field-content {
    width: 100%;
    margin: 0;
  }

  .fivebrands-field-tag {
    display: inline-block;
    margin-bottom: 18px;

    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 1.3px;
  }

  .fivebrands-field-content h2 {
    width: 100%;
    margin: 0 0 25px;

    font-size: clamp(36px, 11vw, 48px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -1.5px;
    overflow-wrap: normal;
  }

  .fivebrands-field-note {
    margin: 0 0 28px;
  }

  .fivebrands-field-note p {
    margin: 0;

    font-size: 18px;
    line-height: 1.5;
  }

  .fivebrands-field-note em {
    display: inline-block;
    margin-left: 8px;

    font-size: 18px;
  }

  .fivebrands-field-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 165px;
    min-height: 46px;
    padding: 11px 23px;

    font-size: 13px;
    text-decoration: none;
  }
}


/* =========================
   SMALL MOBILE
========================= */

@media screen and (max-width: 430px) {

  .fivebrands-field-section {
    padding: 42px 14px 55px;
  }

  .fivebrands-field-inner {
    gap: 34px;
  }

  .fivebrands-field-media {
    height: 330px;
  }

  .fivebrands-field-main-wrap {
    width: 90%;
    height: 255px;
  }

  .fivebrands-field-small-wrap {
    width: 47%;
    height: 125px;
    border-width: 4px;
  }

  .fivebrands-field-content h2 {
    font-size: 37px;
    letter-spacing: -1px;
  }

  .fivebrands-field-note p,
  .fivebrands-field-note em {
    font-size: 16px;
  }

  .fivebrands-field-btn {
    min-width: 155px;
    min-height: 44px;
    padding: 10px 20px;
  }
}


/* =====================================
   WORK INTRO GENERAL
===================================== */

.work-intro-section,
.work-intro-section * {
  box-sizing: border-box;
}

.work-intro-section {
  width: 100%;
  overflow: hidden;
}

.work-intro-container {
  width: 100%;
  margin: 0 auto;
}

.work-intro-copy-row {
  min-width: 0;
}

.work-intro-text {
  overflow-wrap: break-word;
}

.work-intro-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}


/* =====================================
   TABLET
===================================== */

@media screen and (min-width: 768px) and (max-width: 1024px) {

  .work-intro-section {
    padding: 75px 40px 80px !important;
  }

  .work-intro-container {
    max-width: 900px;
  }

  .work-intro-title {
    width: 100%;
    max-width: 820px;

    margin: 0 0 50px !important;

    font-size: clamp(52px, 7vw, 76px) !important;
    font-weight: 400;
    line-height: 1.03;
    letter-spacing: -2px;
  }

  .work-intro-copy-row {
    display: grid !important;
    grid-template-columns: 70px minmax(0, 1fr) !important;
    align-items: start;
    gap: 28px;

    width: 100%;
    max-width: 780px;
    margin-left: auto;
  }

  .work-intro-icon {
    width: 70px;
    height: 70px;
  }

  .work-intro-text {
    width: 100%;
    margin: 0;

    font-size: 19px;
    line-height: 1.65;
  }

  .work-intro-divider-wrap {
    width: 100%;
    margin-top: 65px;
  }

  .work-intro-divider {
    width: 100%;
    height: 1px;
  }

  .work-intro-label {
    display: block;
    margin-top: 16px;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.2px;
  }
}


/* =====================================
   MOBILE
===================================== */

@media screen and (max-width: 767px) {

  .work-intro-section {
    width: 100%;
    padding: 52px 18px 60px !important;
  }

  .work-intro-container {
    width: 100%;
    max-width: none;
  }

  .work-intro-title {
    width: 100%;
    margin: 0 0 38px !important;

    font-size: clamp(39px, 11vw, 52px) !important;
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -1.5px;
  }

  .work-intro-copy-row {
    display: grid !important;
    grid-template-columns: 48px minmax(0, 1fr) !important;
    align-items: start;
    gap: 16px;

    width: 100%;
    margin: 0;
  }

  .work-intro-icon {
    width: 48px;
    height: 48px;
  }

  .work-intro-text {
    width: 100%;
    margin: 0;

    font-size: 15px;
    line-height: 1.65;
  }

  .work-intro-divider-wrap {
    width: 100%;
    margin-top: 45px;
  }

  .work-intro-divider {
    width: 100%;
    height: 1px;
  }

  .work-intro-label {
    display: block;
    width: 100%;
    margin-top: 14px;

    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 1px;
  }
}


/* =====================================
   SMALL MOBILE
===================================== */

@media screen and (max-width: 430px) {

  .work-intro-section {
    padding: 45px 14px 52px !important;
  }

  .work-intro-title {
    margin-bottom: 32px !important;

    font-size: 38px !important;
    letter-spacing: -1px;
  }

  .work-intro-copy-row {
    grid-template-columns: 40px minmax(0, 1fr) !important;
    gap: 13px;
  }

  .work-intro-icon {
    width: 40px;
    height: 40px;
  }

  .work-intro-text {
    font-size: 14px;
    line-height: 1.6;
  }

  .work-intro-divider-wrap {
    margin-top: 38px;
  }

  .work-intro-label {
    font-size: 10.5px;
  }
}


.topbar {
   position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 82px;
  box-sizing: border-box;

  background: rgba(255, 255, 255, 0.669); 
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  
}

    .logo{
      font-size:34px;
      font-weight:800;
      letter-spacing:-1.5px;
      color:#fff;
      text-decoration:none;
      line-height:1;
    }

    .nav{
      display:flex;
      align-items:center;
      gap:50px;
    }

    .nav a{
      color:black !important;
      text-decoration:none;
      font-size:15px;
      font-weight:700;
      letter-spacing:-0.4px;
      transition:opacity .25s ease;
    }

    .nav a:hover{
      opacity:0.78;
    }


  .nav a {
  position: relative;
  color: whitesmoke;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.4px;
  transition: color 0.3s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: #0b63ce;
  transition: width 0.3s ease;
}

.nav a:hover {
  color: #0b63ce;
}

.nav a:hover::after {
  width: 100%;
}

.menu-btn {
  display: none;
}

@media (max-width: 768px) {
  .menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    color: #111;
    font-size: 32px;
    cursor: pointer;
    position: relative;
    z-index: 10001;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    background: #fff;
    padding: 20px;
    z-index: 10000;
  }

  .nav.active {
    display: flex;
  }
}


/* Hide menu button on desktop */
.menu-btn {
  display: none;
}


/* =====================================================
   FIXED TOPBAR AND MOBILE MENU
===================================================== */

@media screen and (max-width: 768px) {

  /* Fixed mobile header */
  .topbar {
    position: fixed !important;
    top: 0 !important;
    left: 50% !important;
    right: auto !important;

    display: flex !important;
    align-items: center;
    justify-content: space-between;

    width: 100vw !important;
    max-width: 100vw !important;
    min-height: 78px;

    padding: 10px 16px !important;

    transform: translateX(-50%) !important;

    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    z-index: 99999 !important;
  }

  /* Logo */
  .logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
  }

  .logo-img {
    display: block;
    width: auto;
    height: 72px;
    margin: 0 !important;
  }

  /* Hamburger button */
  .menu-btn {
    position: relative;
    z-index: 100001;

    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;

    border: none;
    background: transparent;
    color: #111;

    font-size: 32px;
    line-height: 1;

    cursor: pointer;
    transition:
      color 0.3s ease,
      transform 0.3s ease;
  }

  .menu-btn:hover {
    color: #c55a00;
    transform: scale(1.06);
  }

  /* Mobile dropdown */
  .nav {
    position: fixed !important;
    top: 78px !important;
    right: 14px !important;
    left: 14px !important;

    display: none;
    flex-direction: column;
    align-items: stretch;

    width: auto !important;
    max-height: calc(100vh - 95px);
    margin: 0 !important;
    padding: 18px 20px 24px;

    gap: 0;
    overflow-y: auto;

    background: #ffffff;
    border-radius: 0 0 14px 14px;

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);

    transform: none !important;
    z-index: 100000 !important;
  }

  .nav.active {
    display: flex !important;
  }

  /* Menu links */
  .nav a {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 58px;
    padding: 15px 18px;

    color: #111;
    background: transparent;

    font-size: 18px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;

    /* Separator line */
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0;

    transition:
      background-color 0.3s ease,
      color 0.3s ease,
      letter-spacing 0.3s ease,
      padding-left 0.3s ease;
  }

  /* Line above the first link */
  .nav a:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.15);
  }

  /* Hover effect */
  .nav a:hover,
  .nav a:focus-visible {
    color: #c55a00;
    background: #f5f5f5;
    letter-spacing: 0.5px;
    padding-left: 25px;
    outline: none;
  }

  /* Mobile tap effect */
  .nav a:active {
    background: #ebebeb;
  }

  /* Active/current page */
  .nav a.active {
    color: #c55a00;
    background: #f5f5f5;
    font-weight: 700;
  }

  /* Prevent header from covering page content */
  .page > .container {
    padding-top: 78px;
  }

  .hero {
    margin-top: 0 !important;
  }
}


/* =====================================================
   SMALLER PHONES
===================================================== */

@media screen and (max-width: 420px) {

  .topbar {
    min-height: 74px;
    padding: 9px 13px !important;
  }

  .logo-img {
    height: 48px;
  }

  .nav {
    top: 74px !important;
    right: 10px !important;
    left: 10px !important;
    padding: 15px 16px 20px;
  }

  .nav a {
    min-height: 55px;
    padding: 14px 12px;
    font-size: 17px;
  }

  .page > .container {
    padding-top: 74px;
  }
}

