/* ========== GLOBAL OVERFLOW GUARD (belt-and-suspenders) ========== */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}
.site-header{
  
  background-image:linear-gradient(to bottom, var(--fomo-black) 0%, var(--fomo-black) 20%, transparent 100%) ;

}
/* ========== SOI 21 INTRO SECTION ========== */
.soi21-intro {
  background: #fff;
  padding: 80px 90px;
  box-sizing: border-box;
  width: 100%;
}

.soi21-intro__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 80px;
  max-width: 1260px;
  margin: 0 auto;
}

/* Left column � logo */
.soi21-intro__logo-col {
  flex: 0 0 343px;
  width: 343px;
}

.soi21-intro__logo {
  width: 100%;
  height: 195px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

/* Right column � text + buttons */
.soi21-intro__text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 620px;
}

.soi21-intro__body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.soi21-intro__body p {
  font-family: var(--fb);
  font-size: 16px;
  font-weight: 400;
  color: var(--k);
  line-height: 1.3;
  letter-spacing: -0.32px;
  margin: 0;
}

.soi21-intro__body p+p {
  margin-top: 1.3em;
}

/* Buttons row */
.soi21-intro__btns {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 420px;
  max-width: 100%;
}

.soi21-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 48px;
  padding: 10px 16px;
  box-sizing: border-box;
  font-family: var(--fb);
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .02em;
  white-space: nowrap;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}

.soi21-btn--solid {
  background: var(--k);
  color: #fff;
  border: 2px solid var(--k);
}

.soi21-btn--solid:hover {
  background: #333;
  border-color: #333;
}

.soi21-btn--outline {
  background: transparent;
  color: var(--k);
  border: 0.8px solid var(--k);
}

.soi21-btn--outline:hover {
  background: var(--k);
  color: #fff;
}

/* Responsive */
@media(max-width:900px) {
  .soi21-intro {
    padding: 60px 24px
  }

  .soi21-intro__inner {
    flex-direction: column;
    gap: 32px
  }

  .soi21-intro__logo-col {
    width: 100%;
    flex: none
  }

  .soi21-intro__logo {
    height: 120px
  }

  .soi21-intro__text-col {
    max-width: 100%
  }

  .soi21-intro__btns {
    width: 100%
  }
}


/* ========================================================
   SOI 21 � HERO SECTION
   Spec: 1440 * 823px total
   Upper white zone: 366px tall  (logo left:90 top:131, text left:730 top:149)
   Photo strip: 457px tall starting at top:366
   ======================================================== */

.soi21-hero {
  position: relative;
  width: 100%;
  background: #fff;
  overflow: hidden;
}

/* ---- Upper white zone ---- */
.soi21-hero__upper {
  position: relative;
  width: 100%;
  min-height: 366px;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: var(--nav-height) 90px 0;
  gap: 80px;
}

/* Logo column � left:90px, top:131px, 343*195px */
.soi21-hero__logo-col {
  flex: 0 0 400px;
  width: 400px;
  height: 200px;
  align-self: center;
}

.soi21-hero__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
  filter: brightness(0);
}

/* Text + buttons column � left:730px, top:149px, width:620px */
.soi21-hero__text-col {
  flex: 0 0 620px;
  width: 620px;
  max-width: calc(100% - 343px - 90px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-self: center;
}

.soi21-hero__body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.soi21-hero__body p {
  font-family: var(--fb);
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #111111;
  margin: 0;
}

.soi21-hero__body p+p {
  margin-top: 1.3em;
}

/* Buttons row � width:420px, gap:8px */
.soi21-hero__btns {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  width: 420px;
}

/* Base button */
.soi21-hero-btn {
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px 16px;
  gap: 10px;
  flex: 1 0 0;
  height: 48px;
  box-sizing: border-box;
  font-family: var(--fb);
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

/* Solid black */
.soi21-hero-btn--solid {
  background: #111111;
  border: 2px solid #111111;
  color: #ffffff;
}

.soi21-hero-btn--solid:hover {
  background: #333;
  border-color: #333;
}

/* Outlined */
.soi21-hero-btn--outline {
  background: transparent;
  border: 0.8px solid #111111;
  color: #111111;
}

.soi21-hero-btn--outline:hover {
  background: #111111;
  color: #fff;
}

/* ---- Dark video strip ---- */
.soi21-hero__photo {
  position: relative;
  width: 100%;
  height: 457px;
  overflow: hidden;
  background: #111;
}

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

.soi21-hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(67.64% 67.64% at 50% 56.34%, rgba(0, 0, 0, 0.6) 12.5%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
  pointer-events: none;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .soi21-hero__upper {
    height: auto;
    padding: calc(var(--nav-height) + 16px) 40px 48px;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .soi21-hero__logo-col {
    flex: none;
    width: 100%;
    height: 180px;
  }

  .soi21-hero__logo {
    object-position: left center;
  }

  .soi21-hero__text-col {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .soi21-hero__btns {
    width: 100%;
  }

  .soi21-hero__photo {
    height: 300px;
  }
}

@media (max-width: 600px) {
  .soi21-hero__upper {
    padding: calc(var(--nav-height) + 16px) 20px 40px;
    gap: 24px;
  }

  .soi21-hero__logo-col {
    height: 150px;
  }

  .soi21-hero__photo {
    height: 220px;
  }

  .soi21-hero__btns {
    flex-direction: column;
    width: 100%;
  }

  .soi21-hero-btn {
    flex: none;
    width: 100%;
  }
}


/* ========================================================
   SOI 21 � MARQUEE BAR
   Spec: 1440 * 90px, bg #111111 opacity:0.6,
   border-bottom: 1px solid rgba(255,255,255,0.4)
   Font: DM Serif Display, 24px, weight 400, line-height 110%
   letter-spacing -0.02em, capitalize, color #fff
   Items gap: 60px | Dots: 6px circle white
   Animation: scrolls left, seamless loop
   ======================================================== */

.soi21-marquee {
  position: relative;
  width: 100%;
  height: 90px;
  background: #111111;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.soi21-marquee__track {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: max-content;
  animation: soi21-scroll 18s linear infinite;
  will-change: transform;
}

/* Pause on hover */
.soi21-marquee:hover .soi21-marquee__track {
  animation-play-state: paused;
}

.soi21-marquee__set {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 60px;
  padding: 0 60px 0 0;
  /* trailing gap so last item isn't flush at seam */
  flex-shrink: 0;
}

/* Words */
.soi21-marquee__word {
  font-family: var(--font-display);
  /* DM Serif Display */
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.1;
  /* 110% */
  letter-spacing: -0.02em;
  text-transform: capitalize;
  color: #ffffff;
  white-space: nowrap;
  flex-shrink: 0;
  opacity:40%;
}

/* Separator dots � 6px white circle */
.soi21-marquee__dot {
  display: inline-block;
   opacity:40%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  flex-shrink: 0;
}

@keyframes soi21-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-16.6667%);
  }

  /* one of six sets */
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .soi21-marquee__track {
    animation: none;
  }
}


/* ========================================================
   SOI 21 � ABOUT SECTION
   Spec: 1440 * 910px, bg #111111
   Header: centred column 620px wide, left offset ~410px
     Title: DM Serif Display, 64px, white, lh 110%, centred
     Sub:   DM Sans, 16px, #B3B3B3, lh 130%, ls -0.02em
   Photos: 1400px wide, 365px tall, 3 images side by side
           positioned at top:525px (190+235+100 gap)
   ======================================================== */

.soi21-about {
  position: relative;
  width: 100%;
  background: #111111;
  padding-top: 100px;
  box-sizing: border-box;
  overflow: hidden;
}

/* ---- Centred header block ---- */
.soi21-about__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 620px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 100px;
  /* space between text and photos: 525-(190+235)=100 */
}

/* Title � DM Serif Display, 64px, white */
.soi21-about__title {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: 64px;
  line-height: 1.1;
  color: #ffffff;
  margin: 0;
  width: 569px;
  max-width: 100%;
}

/* Subtitle � DM Sans, 16px, #B3B3B3 */
.soi21-about__sub {
  font-family: var(--fb);
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #B3B3B3;
  margin: 0;
  width: 100%;
}

/* ---- Photo strip ---- */
/* 1400px wide, 365px tall, centred, 3 equal columns */
.soi21-about__photos {
  display: block;
  width: 100%;
  height: 365px;
  overflow: hidden;
}

.soi21-about__photo {
  position: relative;
  overflow: hidden;
  height: 365px;
}

.soi21-about__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.soi21-about__photo:hover img {
  transform: scale(1.04);
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
  .soi21-about {
    padding: 80px 24px 60px;
  }

  .soi21-about__header {
    width: 100%;
    padding-bottom: 48px;
  }

  .soi21-about__title {
    font-size: 40px;
    width: 100%;
  }

  .soi21-about__photos {
    grid-template-columns: 1fr;
    width: 100%;
    height: auto;
  }

  .soi21-about__photo {
    height: 260px;
  }
}


/* ========================================================
   SOI 21 � ABOUT SECTION
   Spec: 1440 * 910px, background #111111
   Text block: centred, left:410px top:190px, width:620px
   Title: DM Serif Display, 64px, weight 400, lh 110%, white
   Body: DM Sans, 16px, weight 400, lh 130%, ls -0.02em, #B3B3B3
   Photo strip: 1400px wide, height 365px, top:525px, centred
   Three equal-width images side by side
   ======================================================== */

.soi21-about {
  position: relative;
  width: 100%;
  background: #111111;
  /* Total spec height 910px � enforced by content */
  padding-bottom: 0;
  overflow: hidden;
}

/* ---- Centred text block ---- */
/* Spec: left:410px on 1440 = ~28.5%; width:620px */
.soi21-about__text {
  position: relative;
  width: 620px;
  margin: 0 auto;
  padding-top: 190px;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
  box-sizing: border-box;
}

.soi21-about__title {
  font-family: var(--font-display);
  /* DM Serif Display */
  font-style: normal;
  font-weight: 400;
  font-size: 64px;
  line-height: 1.1;
  /* 110% */
  text-align: center;
  color: #ffffff;
  margin: 0;
  width: 569px;
}

.soi21-about__body {
  font-family: var(--fb);
  /* DM Sans */
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  /* 130% */
  text-align: center;
  letter-spacing: -0.02em;
  color: #B3B3B3;
  margin: 0;
  width: 100%;
}

/* ---- Three-image photo strip ---- */
.soi21-about__photos {
  display: flex;
  flex-direction: row;
  gap: 0;
  width: 100%;
  height: 365px;
  margin: 100px 0 0;
}

.soi21-about__photo {
  flex: 1;
  height: 365px;
  overflow: hidden;
  position: relative;
}

.soi21-about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.soi21-about__photo:hover img {
  transform: scale(1.03);
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .soi21-about__text {
    width: 90%;
    padding-top: 80px;
  }

  .soi21-about__title {
    font-size: 44px;
    width: 100%;
  }

  .soi21-about__photos {
    width: 100%;
    height: auto;
    flex-direction: column;
    margin-top: 60px;
  }

  .soi21-about__photo {
    height: 280px;
    flex: none;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .soi21-about__title {
    font-size: 36px;
  }

  .soi21-about__photo {
    height: 200px;
  }
}


/* ========================================================
   SOI 21 � FEATURES GRID SECTION
   Spec: 1440 * 586px, bg #111111
   Grid: 3 cols * 2 rows, padding 90px all sides, gap 80px
   Card: icon 80*80px, title DM Serif Display 24px white,
         body DM Sans 14px rgba(255,255,255,0.7), gap 8px
   ======================================================== */

.soi21-features {
  width: 100%;
  background: #111111;
  box-sizing: border-box;
  padding: 90px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 80px;
}

/* ---- Individual card ---- */
.soi21-features__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

/* Icon � 80*80px */
.soi21-features__icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  margin-bottom: 0;
}

/* Title � DM Serif Display, 24px, white, lh 130%, ls -0.02em */
.soi21-features__title {
  font-family: var(--fd);
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0;
  width: 100%;
}

/* Body � DM Sans, 14px, rgba(255,255,255,0.7), lh 130% */
.soi21-features__body {
  font-family: var(--fb);
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  width: 100%;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .soi21-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    padding: 60px 40px;
  }
}

@media (max-width: 640px) {
  .soi21-features {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 24px;
  }
}


/* ========================================================
   SOI 21 � LUNCH SPOTS BENTO GRID
   Spec: 1440 * 1200px, bg #FDFBF7
   Header: centred, top 90px, title 48px DM Serif, sub 16px DM Sans
   5 images positioned absolutely on 1260px inner canvas (90px margins)
   Canvas height: 920px images area (1200 - 90 header - ~190 gap)

   Image positions (from left edge of 1440px frame):
     grid-1: left:90   top:300  w:300  h:600
     grid-3: left:410  top:300  w:940  h:300
     grid-4: left:410  top:620  w:620  h:280
     grid-2: left:1050 top:620  w:300  h:580
     grid-5: left:90   top:920  w:940  h:280
   ======================================================== */

.soi21-grid {
  position: relative;
  width: 100%;
  background: #FDFBF7;
  padding-bottom: 80px;
  overflow: hidden;
}

/* ---- Header ---- */
.soi21-grid__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  /* title ? body copy: 24px */
  text-align: center;
  width: 834px;
  margin: 0 auto;
  padding-top: 90px;
  padding-bottom: 70px;
  /* body copy ? bento grid: 70px */
}

.soi21-grid__title {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: 48px;
  line-height: 1.1;
  color: #111111;
  margin: 0;
  width: 728px;
  max-width: 100%;
}

.soi21-grid__sub {
  font-family: var(--fb);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-align: center;
  color: rgba(17, 17, 17, 0.6);
  margin: 0;
  width: 620px;
  max-width: 100%;
}

/* ---- Bento canvas ---- */
/* We use a 1440px-wide absolutely-positioned canvas
   scaled to the viewport via a wrapper with the correct aspect ratio.
   Canvas height from spec: images run from top:300 to top:920+280 = 1200px total section.
   Inner canvas = section height 1200px, positions are % of 1440px width */

/* Canvas uses padding-top aspect ratio (900/1440 = 62.5%) so it scales on all screen sizes */
.soi21-grid__canvas {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 62.5%;
}

/* Each image cell */
.soi21-grid__img {
  position: absolute;
  overflow: hidden;
}

.soi21-grid__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.soi21-grid__img:hover img {
  transform: scale(1.03);
}

/* ---- Exact positions as % of 1440px canvas width ----
   All tops are relative to canvas top (canvas starts where header ends, ~300px from section top)
   We map absolute px positions to % of 1440 for fluid scaling.

   grid-1: left:90/1440=6.25%   top:0     w:300/1440=20.83%  h:600px
   grid-3: left:410/1440=28.47% top:0     w:940/1440=65.28%  h:300px
   grid-4: left:410/1440=28.47% top:320px w:620/1440=43.06%  h:280px
   grid-2: left:1050/1440=72.92% top:320px w:300/1440=20.83% h:580px
   grid-5: left:90/1440=6.25%   top:620px w:940/1440=65.28%  h:280px
*/

.soi21-grid__img--1 {
  left: 6.25%;
  top: 0%;
  width: 20.83%;
  height: 66.67%;
}

.soi21-grid__img--3 {
  left: 28.47%;
  top: 0%;
  width: 65.28%;
  height: 33.33%;
}

.soi21-grid__img--4 {
  left: 28.47%;
  top: 35.56%;
  width: 43.06%;
  height: 31.11%;
}

.soi21-grid__img--2 {
  left: 72.92%;
  top: 35.56%;
  width: 20.83%;
  height: 64.44%;
}

.soi21-grid__img--5 {
  left: 6.25%;
  top: 68.89%;
  width: 65.28%;
  height: 31.11%;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .soi21-grid__header {
    width: 100%;
    padding: 60px 40px 0;
    box-sizing: border-box;
  }

  .soi21-grid__title {
    font-size: 36px;
    width: 100%;
  }

  .soi21-grid__sub {
    width: 100%;
  }
}

/* Carousel wrap — position context for overlaid arrows */
.soi21-grid__carousel-wrap {
  position: relative;
}

/* Arrows hidden on desktop/tablet — shown only in carousel mode */
.soi21-grid__arrow {
  display: none;
}

/* ---- Mobile carousel (≤600px) ---- */
@media (max-width: 600px) {
  .soi21-grid__canvas {
    display: flex;
    flex-direction: row;
    position: relative;
    height: 280px;
    padding: 0;
    padding-top: 0;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .soi21-grid__canvas::-webkit-scrollbar {
    display: none;
  }

  .soi21-grid__img,
  .soi21-grid__img--1,
  .soi21-grid__img--2,
  .soi21-grid__img--3,
  .soi21-grid__img--4,
  .soi21-grid__img--5 {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 280px;
    left: unset;
    top: unset;
    overflow: hidden;
    scroll-snap-align: start;
  }

  .soi21-grid__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    color: #111111;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 10;
  }

  .soi21-grid__arrow:hover {
    background: #fff;
  }

  .soi21-grid__arrow--prev {
    left: 12px;
  }

  .soi21-grid__arrow--next {
    right: 12px;
  }

  .soi21-grid__arrow:disabled {
    opacity: 0.35;
    cursor: default;
  }
}


/* ========================================================
   SOI 21 � LOCATION SECTION
   Spec: 1440 * 750px, bg #FDFBF7
   Map:  1260 * 550px centred, 2px solid #111 border
   Card: 372 * 422px, bg #111, padding 48px, gap 40px
         positioned: left:197px top:260px (on 1440px frame)
         � card overlaps the map (position absolute over wrapper)
   Pin:  48*48px, left:808 top:328 within map (1260px frame)
         As % of map: left: 808/1260=64.1%, top: 328/550=59.6%
   ======================================================== */

.soi21-location {
  position: relative;
  width: 100%;
  background: #FDFBF7;
  /* vertical centering: 750px total, map is 550px ? 100px top+bottom padding */
  padding: 100px 0;
  box-sizing: border-box;
  overflow: hidden;
}

/* ---- Map ---- */
.soi21-location__map {
  position: relative;
  width: calc(100% - 180px);
  /* matches bento grid: 90px padding each side */
  height: 550px;
  margin: 0 auto;
  border: 2px solid #111111;
  overflow: hidden;
  box-sizing: border-box;
}

.soi21-location__map img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Location pin � 48*48px at left:808/1260, top:328/550 within map */
.soi21-location__pin {
  position: absolute;
  left: 64.13%;
  /* 808 / 1260 */
  top: 59.64%;
  /* 328 / 550  */
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
}

.soi21-location__pin img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---- Info card � overlaps map, positioned on 1440px frame ---- */
/* Card: left:197px top:260px ? relative to section
   Section padding-top: 100px, so card top within section = 260px
   from spec (top of 750px frame). */
.soi21-location__card {
  position: absolute;
  /* left:197px on 1440px ? 13.68% */
  left: 197px;
  /* top:260px from top of 750px section */
  top: 260px;
  width: 372px;
  background: #111111;
  padding: 48px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  z-index: 3;
  overflow: hidden;
}

/* Logo */
.soi21-location__logo {
  width: 158.906px;
  height: 90px;
  flex-shrink: 0;
}

.soi21-location__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Hours */
.soi21-location__hours {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.3;
  flex-shrink: 0;
}

.soi21-location__hours-label {
  font-family: var(--fb);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
}

.soi21-location__hours-time {
  font-family: var(--fb);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
}

/* Button stack */
.soi21-location__btns {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  flex-shrink: 0;
}

.soi21-location-btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px 16px;
  height: 48px;
  width: 100%;
  box-sizing: border-box;
  font-family: var(--fb);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

/* Outline � white border, white text */
.soi21-location-btn--outline {
  background: transparent;
  border: 0.8px solid #ffffff;
  color: #ffffff;
}

.soi21-location-btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Solid � white bg, dark text */
.soi21-location-btn--solid {
  background: #ffffff;
  border: 2px solid #ffffff;
  color: #111111;
}

.soi21-location-btn--solid:hover {
  background: #f0f0f0;
}

/* ---- Responsive ---- */
@media (max-width: 1460px) {
  .soi21-location__map {
    width: calc(100% - 40px);
  }

  .soi21-location__card {
    left: 40px;
  }
}

@media (max-width: 900px) {
  .soi21-location {
    padding: 0;
  }

  .soi21-location__map {
    width: 100%;
    height: 350px;
    border-left: none;
    border-right: none;
  }

  .soi21-location__card {
    position: static;
    width: 100%;
    padding: 40px 24px;
    gap: 24px;
  }
}


/* ========================================================
   SOI 21 � FULL-WIDTH BANNER IMAGE
   Full viewport width, aspect ratio matches Figma (1440*380px � 3.79:1)
   object-fit: cover to fill without distortion
   ======================================================== */

.soi21-banner {
  width: 100%;
  height: 380px;
  overflow: hidden;
  display: block;
  line-height: 0;
}

.soi21-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

@media (max-width: 768px) {
  .soi21-banner {
    height: 240px;
  }
}


/* ========================================================
   BARCEPTION SECTION
   Spec: 1197px total, white bg
   Top dark band: full width, 545px, #111, padding 80px 30px, gap 24px
     Title: DM Serif Display 48px white, letter-spacing -0.02em, capitalize
     Body:  DM Sans 16px rgba(255,255,255,0.7), lh 130%, ls -0.02em, centred, 800px wide
   White lower zone: 652px (1197-545)
     Photos: 4 portrait cards 193-194px wide * 400px tall
             staggered: odd cards top:310, even cards top:358 (48px lower)
             centred as group
     Logo: Soi21 script, 159*90px, centred, top:838 (838-545=293px into lower)
     Tagline: DM Sans 20px #111 centred 620px
     Buttons: 420px wide pair, gap 8px, 48px tall
   Leaf decor: faded palm leaves left & right, opacity 0.2
   ======================================================== */

.barception {
  position: relative;
  width: 100%;
  background: #fff;
  overflow: visible;
}

/* ---- Dark header band ---- */
.barception__header {
  width: 100%;
  background: #111111;
  padding: 80px 30px 210px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  overflow: visible;
  position: relative;
  z-index: 1;
}

.barception__title {
  font-family: var(--fd);
  font-style: normal;
  font-weight: 400;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: capitalize;
  color: #ffffff;
  margin: 0;
  width: 100%;
}

.barception__body {
  font-family: var(--fb);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  padding: 0;
  width: 800px;
  max-width: 100%;
}

.barception__body p {
  margin: 0;
  padding: 0;
}

/* ---- White lower zone ---- */
.barception__lower {
  position: relative;
  width: 100%;
  background: #ffffff;
  padding-bottom: 100px;
  overflow: visible;
}

/* Palm leaf decorations */
.barception__leaf {
  position: absolute;
  bottom: 0;
  width: 1100px;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.barception__leaf img {
  width: 100%;
  height: auto;
  display: block;
}

.barception__leaf--left {
  left: -420px;
  transform: scaleX(-1);
  bottom: -40px;
}

.barception__leaf--right {
  right: -420px;
  bottom: -40px;
}

/* ---- Photo cluster ---- */
/* 4 portrait photos staggered on 1440px canvas
   Group centre: (303+193/2 + 943+194/2) / 2 = ~623px centre of 1440
   Total group width: 943+194-303 = 834px
   We centre the group using a relative wrapper */
.barception__photos {
  position: relative;
  width: 834px;
  height: 448px;
  margin: 0 auto;
  margin-top: -130px;
  /* pull up into dark header */
  z-index: 5;
}

.barception__photo {
  position: absolute;
  overflow: hidden;
}

.barception__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.barception__photo:hover img {
  transform: scale(1.04);
}

/* Positions relative to group container (left edge = 303px on canvas ? 0 in group)
   photo-1: left:303?0,   top:310?0   w:193 h:400
   photo-2: left:516?213, top:358?48  w:194 h:400
   photo-3: left:730?427, top:310?0   w:193 h:400
   photo-4: left:943?640, top:358?48  w:194 h:400 */
.barception__photo--1 {
  left: 0;
  top: 0;
  width: 193px;
  height: 400px;
}

.barception__photo--2 {
  left: 213px;
  top: 48px;
  width: 194px;
  height: 400px;
}

.barception__photo--3 {
  left: 427px;
  top: 0;
  width: 193px;
  height: 400px;
}

.barception__photo--4 {
  left: 640px;
  top: 48px;
  width: 194px;
  height: 400px;
}

/* ---- CTA block below photos ---- */
.barception__cta-block {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 620px;
  margin: 60px auto 0;
  text-align: center;
}

/* Soi21 logo */
.barception__logo {
  width: 159px;
  height: 90px;
  flex-shrink: 0;
}

.barception__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Tagline */
.barception__tagline {
  font-family: var(--fb);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #111111;
  margin: 0;
  width: 100%;
}

/* Button pair */
.barception__btns {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  width: 420px;
  max-width: 100%;
}

.barception-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  height: 48px;
  padding: 10px 16px;
  box-sizing: border-box;
  font-family: var(--fb);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.barception-btn--solid {
  background: #111111;
  color: #ffffff;
  border: none;
}

.barception-btn--solid:hover {
  background: #333;
}

.barception-btn--outline {
  background: transparent;
  color: #111111;
  border: 0.8px solid #111111;
}

.barception-btn--outline:hover {
  background: #111;
  color: #fff;
}

/* ---- Responsive ---- */

/* Tablet: horizontal grid scaled to fit */
@media (max-width: 1000px) {
  .barception__body {
    width: 100%;
  }

  .barception__photos {
    position: relative;
    display: block;
    width: calc(100% - 40px);
    max-width: 834px;
    aspect-ratio: 834 / 448;
    height: auto;
    margin: -120px auto 0;
    padding: 0;
    overflow: visible;
  }

  .barception__photo,
  .barception__photo--1,
  .barception__photo--2,
  .barception__photo--3,
  .barception__photo--4 {
    position: absolute;
    flex: unset;
    margin-top: 0;
  }

  .barception__photo--1 { left: 0%;     top: 0%;      width: 23.15%; height: 89.29%; }
  .barception__photo--2 { left: 25.54%; top: 10.71%;  width: 23.26%; height: 89.29%; }
  .barception__photo--3 { left: 51.20%; top: 0%;      width: 23.15%; height: 89.29%; }
  .barception__photo--4 { left: 76.74%; top: 10.71%;  width: 23.26%; height: 89.29%; }

  .barception__cta-block {
    width: 100%;
    padding: 0 24px 80px;
    box-sizing: border-box;
  }

  .barception__btns {
    width: 100%;
  }
}

/* Mobile: vertical stack */
@media (max-width: 640px) {
  .barception__photos {
    position: static;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    aspect-ratio: unset;
    gap: 8px;
    margin-top: 32px;
    padding: 0 16px;
    box-sizing: border-box;
    overflow: visible;
  }

  .barception__photo,
  .barception__photo--1,
  .barception__photo--2,
  .barception__photo--3,
  .barception__photo--4 {
    position: relative;
    left: unset;
    top: unset;
    width: 100%;
    height: 240px;
    flex: none;
    margin-top: 0;
  }

  .barception__title {
    font-size: 36px;
  }
}


/* Constrain about section text width without margin:auto */
.soi21-about__title {
  max-width: 728px;
  width: 100%;
}

.soi21-about__sub {
  max-width: 620px;
  width: 100%;
}


/* ===== GLOBAL MARGIN=0 OVERRIDE =====
   Force all centred header blocks to use width:100% + margin:0
   so no auto margins appear on left/right of the page ===== */

.soi21-about__header {
  width: 100% !important;
  margin: 0 !important;
}

.soi21-grid__header {
  width: 100% !important;
  margin: 0 !important;
  padding-left: 30px !important;
  padding-right: 30px !important;
  box-sizing: border-box !important;
}

.soi21-grid__title {
  width: 728px;
  max-width: 100%;
}

.soi21-grid__sub {
  width: 620px;
  max-width: 100%;
}

.soi21-impact__inner {
  margin: 0 auto;
}

/* About header: 0 top, 0 bottom */
.soi21-about__header {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}


/* ========================================================
   SOI21 PAGE — FULL RESPONSIVE OVERHAUL
   Tablet : max-width 900px  → padding 80px 40px  (about.css)
   Mobile : max-width 480px  → padding 48px 20px  (about.css)
   Desktop styles are never touched.
   ======================================================== */

/* ---- INTRO ---- */
@media (max-width: 900px) {
  .soi21-intro {
    padding: 80px 40px;
  }
}

@media (max-width: 480px) {
  .soi21-intro {
    padding: 48px 20px;
  }

  .soi21-intro__btns {
    flex-direction: column;
    align-items: stretch;
  }

  .soi21-btn {
    flex: none;
    width: 100%;
  }
}

/* ---- HERO ---- */
@media (max-width: 900px) {
  .soi21-hero__upper {
    padding: calc(var(--nav-height) + 16px) 40px 48px;
  }
}

@media (max-width: 480px) {
  .soi21-hero__upper {
    padding: calc(var(--nav-height) + 16px) 20px 32px;
    gap: 20px;
  }

  .soi21-hero__logo-col {
    height: 135px;
  }

  .soi21-hero__photo {
    height: 200px;
  }

  .soi21-hero__btns {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .soi21-hero-btn {
    flex: none;
    width: 100%;
  }
}

/* ---- MARQUEE ---- */
@media (max-width: 900px) {
  .soi21-marquee {
    height: 72px;
  }

  .soi21-marquee__set {
    gap: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 480px) {
  .soi21-marquee {
    height: 60px;
  }

  .soi21-marquee__word {
    font-size: 20px;
  }

  .soi21-marquee__set {
    gap: 28px;
    padding-right: 28px;
  }
}

/* ---- ABOUT ---- */
@media (max-width: 900px) {
  .soi21-about {
    padding: 80px 40px 0;
  }

  .soi21-about__header {
    padding-bottom: 48px !important;
  }

  .soi21-about__photos {
    margin-top: 0 !important;
  }
}

@media (max-width: 480px) {
  .soi21-about {
    padding: 48px 20px 0;
  }

  .soi21-about__title {
    font-size: 32px !important;
  }

  .soi21-about__sub {
    font-size: 15px;
  }

  .soi21-about__photo {
    height: 200px;
  }
}

/* ---- FEATURES ---- */
@media (max-width: 900px) {
  .soi21-features {
    padding: 80px 40px;
    gap: 48px;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .soi21-features {
    padding: 48px 20px;
    gap: 40px;
    grid-template-columns: 1fr;
  }
}

/* ---- BENTO GRID ---- */
@media (max-width: 900px) {
  .soi21-grid__header {
    padding: 80px 40px 48px !important;
    box-sizing: border-box !important;
  }

  .soi21-grid__title {
    font-size: 36px;
    width: 100%;
  }

  .soi21-grid__sub {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .soi21-grid__header {
    padding: 48px 20px 32px !important;
  }

  .soi21-grid__title {
    font-size: 28px;
  }
}

/* ---- LOCATION ---- */
@media (max-width: 900px) {
  .soi21-location {
    padding: 0;
  }

  .soi21-location__card {
    padding: 48px 40px;
  }
}

@media (max-width: 480px) {
  .soi21-location {
    padding: 0;
  }

  .soi21-location__map {
    height: 260px;
  }

  .soi21-location__card {
    padding: 40px 20px;
    gap: 20px;
  }

  .soi21-location__hours-time {
    font-size: 20px;
  }
}

/* ---- BANNER ---- */
@media (max-width: 480px) {
  .soi21-banner {
    height: 180px;
  }
}

/* ---- BARCEPTION ---- */
/* Clip the decorative leaves which are 1100px wide at right:-420px
   and would bleed off-screen on any viewport below 1440px */
@media (max-width: 1200px) {
  .barception {
    overflow: hidden;
  }

  .barception__leaf {
    display: none;
  }
}

@media (max-width: 900px) {
  .barception__header {
    padding: 80px 40px 180px;
  }

  .barception__cta-block {
    padding: 0 40px 80px;
  }
}

@media (max-width: 640px) {
  .barception__header {
    padding: 60px 24px 48px;
  }
}

@media (max-width: 480px) {
  .barception__header {
    padding: 48px 20px 40px;
  }

  .barception__title {
    font-size: 32px;
  }

  .barception__body {
    font-size: 15px;
  }

  .barception__photos {
    margin-top: 24px;
    gap: 6px;
    padding: 0 16px;
  }

  .barception__photo,
  .barception__photo--1,
  .barception__photo--2,
  .barception__photo--3,
  .barception__photo--4 {
    height: 200px;
  }

  .barception__cta-block {
    padding: 0 20px 60px;
    gap: 24px;
    margin-top: 40px;
  }

  .barception__btns {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .barception-btn {
    flex: none;
    width: 100%;
  }

  .barception__lower {
    padding-bottom: 48px;
  }
}


/* ========================================================
   COMPREHENSIVE OVERFLOW CONTAINMENT — ≤1100px
   Belt-and-suspenders: clip every section, fix grid images.
   ======================================================== */
@media (max-width: 1100px) {

  /* Clip every section so no child element can bleed right */
  .soi21-hero,
  .soi21-marquee,
  .soi21-about,
  .soi21-features,
  .soi21-grid,
  .soi21-location,
  .soi21-banner,
  .barception,
  .barception__header,
  .barception__lower {
    overflow: hidden;
  }

  /* Ensure every wide fixed-px element is viewport-safe */
  .soi21-hero__upper,
  .soi21-about__header,
  .soi21-about__photos,
  .soi21-about__photo,
  .soi21-grid__header,
  .soi21-grid__canvas,
  .soi21-location__map,
  .barception__photos,
  .barception__cta-block {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Marquee: disable GPU compositing so overflow:hidden on parent is respected.
     will-change:transform on an animated child creates a compositing layer that
     can bypass overflow:hidden in WebKit/Blink mobile. Neutralise it at tablet+. */
  .soi21-marquee__track {
    will-change: auto;
  }

  /* Hard paint containment on the marquee wrapper — clips composited children */
  .soi21-marquee {
    contain: layout style paint;
    overflow: clip;
  }
}

/* ========================================================
   NUCLEAR OVERFLOW GUARD — ≤900px
   Catch-all: every direct body child is viewport-clamped.
   This runs AFTER all section rules so nothing can escape.
   ======================================================== */
@media (max-width: 900px) {
  body>*:not(.site-footer) {
    max-width: 100vw;
    overflow-x: hidden;
  }
}


/* ========================================================
   FOOTER — stacking fix
   .barception__header has z-index:1 which creates a stacking
   context that buries the footer logo on mobile. Bring the
   footer forward at all responsive sizes.
   ======================================================== */
@media (max-width: 1100px) {
  .site-footer {
    position: relative;
    z-index: 10;
    overflow: visible;
  }

  .footer-logo-overlap {
    position: absolute;
    z-index: 20;
    overflow: visible;
  }
}

/* ========================================================
   FOOTER — responsive (copied from about.css / funky-fomo.css)
   ======================================================== */
@media (max-width: 960px) {
  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-middle {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .footer-logo-overlap img {
    width: 240px;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 100px 0 0;
  }

  .footer-inner {
    padding: 0 24px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .footer-logo-overlap img {
    width: 180px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding-top: 80px;
  }

  .footer-logo-overlap {
    top: -40px;
  }
}