@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap');

/* ============================================
   ILFORD inCOLOUR 2026 — gallery.css
   Gallery page only
   ============================================ */

/* ============================================
   HERO
   ============================================ */
.ic-ghero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 600px;
  max-height: 760px;
  padding: 78px 20px;
  color: #fff;
  overflow: hidden;
  background: #0d0a12 url('/wp-content/uploads/2026/07/gallery.jpg') center right / cover no-repeat;
}

.ic-ghero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    rgba(9,7,13,.96) 0%,
    rgba(9,7,13,.9) 30%,
    rgba(9,7,13,.55) 50%,
    rgba(9,7,13,.14) 70%,
    rgba(9,7,13,0) 86%
  );
}

/* ---------- Paint decor ---------- */
.ic-ghero .ic-splat { z-index: 2; }

.ic-ghero__splat-1 {
  --splat-w: 220px; --splat-h: 220px;
  --splat-r: -20deg; --splat-o: 1;
  top: 10%; left: -85px;
}
.ic-ghero__splat-2 {
  --splat-w: 185px; --splat-h: 185px;
  --splat-r: 26deg; --splat-o: 1;
  bottom: 8%; left: -72px;
}

.ic-ghero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1320px;
}

/* ---------- Title ---------- */
.ic-ghero__title {
  color: #fff !important;
  line-height: 1;
  margin-bottom: 22px !important;
}

.ic-ghero__l1,
.ic-ghero__l2,
.ic-ghero__l3 { display: block; }

.ic-ghero__l1,
.ic-ghero__l3 {
  font-weight: 700;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  letter-spacing: -.5px;
  color: #fff;
}

/* Kaushan Script ships at 400 only. Deep descenders,
   so line-height stays generous or the descender on
   the "l" clips into the line below. */
.ic-ghero__l2 {
  font-family: 'Kaushan Script', cursive !important;
  font-weight: 400;
  font-size: clamp(3.4rem, 8.4vw, 6.2rem);
  line-height: 1.1;
  letter-spacing: 0;
  margin: 2px 0 4px;
}

.ic-ghero__l2 em { font-style: normal; }
.ic-ghero__l2 em:nth-of-type(1) { color: var(--ic-purple); }
.ic-ghero__l2 em:nth-of-type(2) { color: var(--ic-teal); }
.ic-ghero__l2 em:nth-of-type(3) { color: var(--ic-red); }
.ic-ghero__l2 em:nth-of-type(4) { color: var(--ic-orange); }
.ic-ghero__l2 em:nth-of-type(5) { color: var(--ic-yellow); }
.ic-ghero__l2 em:nth-of-type(6) { color: var(--ic-green); }

/* ---------- Intro ---------- */
.ic-ghero__intro {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 30px !important;
}

/* ---------- Button ---------- */
.ic-ghero__btns { margin-bottom: 0; }

.ic-ghero__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 26px;
  border-radius: 8px;
  background: var(--ic-purple);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: background .2s, color .2s, transform .2s;
}
.ic-ghero__btn:hover {
  background: #fff;
  color: var(--ic-purple);
  transform: translateY(-2px);
}
.ic-ghero__btn svg { width: 16px; height: 16px; flex: 0 0 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .ic-ghero__splat-1 { --splat-w: 165px; --splat-h: 165px; left: -80px; }
  .ic-ghero__splat-2 { --splat-w: 140px; --splat-h: 140px; left: -70px; }
}

@media (max-width: 860px) {
  .ic-ghero {
    min-height: auto;
    max-height: none;
    padding: 62px 20px 56px;
    background-position: 70% center;
  }
  .ic-ghero::before {
    background: linear-gradient(
      150deg,
      rgba(9,7,13,.96) 0%,
      rgba(9,7,13,.9) 58%,
      rgba(9,7,13,.76) 100%
    );
  }
  .ic-ghero__intro { max-width: 100%; }
  .ic-ghero__splat-2 { display: none; }
}

@media (max-width: 520px) {
  .ic-ghero__btn { width: 100%; justify-content: center; }
  .ic-ghero__splat-1 { --splat-w: 120px; --splat-h: 120px; --splat-o: .4; left: -68px; }
}

/* ============================================
   GALLERY GRID — to build next
   NOTE: this section carries the drip that hangs off
   the bottom of the hero:
   <div class="ic-drip ic-drip--top" aria-hidden="true"></div>
   as its first child, with padding-top stepped
   118 / 96 / 88 / 70 at the 900 / 860 / 520 breakpoints.
   ============================================ */

/* ============================================
   GALLERY WALL
   Drip hangs off the bottom of the hero — it lives
   here as .ic-drip--top, so padding-top must clear
   the 70 / 48 / 34px drip heights.
   ============================================ */
.ic-gwall {
  break-inside: avoid;
  margin-bottom: 16px !important;
  position: relative;
  background: #faf8f4;
  padding: 124px 20px 88px;
  overflow: hidden;
}

.ic-gwall .ic-wrap {
  position: relative;
  z-index: 1;
  max-width: 1320px;
}

/* ---------- Paint decor ---------- */
.ic-gwall__splat-1 {
  --splat-w: 270px; --splat-h: 270px;
  --splat-r: -24deg; --splat-o: .9;
  top: 130px; left: -90px;
}
.ic-gwall__splat-2 {
  --splat-w: 250px; --splat-h: 250px;
  --splat-r: 28deg; --splat-o: .85;
  top: 120px; right: -85px;
}
.ic-gwall__splat-3 {
  --splat-w: 230px; --splat-h: 230px;
  --splat-r: -34deg; --splat-o: .85;
  bottom: 16%; left: -80px;
}
.ic-gwall__splat-4 {
  --splat-w: 260px; --splat-h: 260px;
  --splat-r: 16deg; --splat-o: .9;
  bottom: -60px; right: -78px;
}

/* ---------- Headings ---------- */
.ic-gwall__title {
  text-align: center;
  text-transform: none;
  font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
  color: var(--ic-navy) !important;
  margin-bottom: 4px !important;
}

.ic-gwall__strap {
  position: relative;
  width: fit-content;
  margin: 0 auto 46px !important;
  padding-bottom: 16px !important;
  font-family: 'Kaushan Script', cursive !important;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem) !important;
  line-height: 1.2;
  text-align: center;
}

.ic-gwall__strap em,
.ic-gwall__strap b,
.ic-gwall__strap i { font-style: normal; font-weight: 400; }

.ic-gwall__strap em { color: var(--ic-purple); }
.ic-gwall__strap b  { color: var(--ic-teal); }
.ic-gwall__strap i  { color: var(--ic-orange); }

.ic-gwall__strap::after {
  content: '';
  position: absolute;
  left: 8%;
  bottom: 2px;
  width: 84%;
  height: 4px;
  border-radius: 4px;
  background: var(--ic-purple);
  transform: rotate(-.8deg);
}

/* ---------- Masonry wall ----------
   CSS columns rather than grid, because the photos
   are mixed portrait and landscape and columns lets
   each keep its natural height with no cropping.
   Trade-off: reading order runs down each column
   rather than across rows. */
.ic-gwall__list {
  columns: 3;
  column-gap: 16px;
  margin-bottom: 44px !important;
}

.ic-gwall__item {
  break-inside: avoid;
  margin-bottom: 16px !important;
  border-radius: var(--ic-radius);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,.10);
  transition: transform .3s ease, box-shadow .3s ease;
}
.ic-gwall__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(0,0,0,.16);
}

.ic-gwall__item.is-hidden { display: none; }

.ic-gwall__item img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- CTA ---------- */
.ic-gwall__cta { text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ic-gwall__list { columns: 2; }
  .ic-gwall__splat-1 { --splat-w: 190px; --splat-h: 190px; left: -85px; }
  .ic-gwall__splat-2 { --splat-w: 180px; --splat-h: 180px; right: -80px; }
  .ic-gwall__splat-3 { --splat-w: 170px; --splat-h: 170px; left: -78px; }
  .ic-gwall__splat-4 { --splat-w: 190px; --splat-h: 190px; right: -74px; }
}

@media (max-width: 900px) {
  .ic-gwall { padding-top: 102px; }
  .ic-gwall__splat-1,
  .ic-gwall__splat-2 { top: 110px; }
}

@media (max-width: 768px) {
  .ic-gwall { padding: 94px 20px 62px; margin-bottom: 12px !important;}
  .ic-gwall__list { columns: 2; column-gap: 12px; }
  .ic-gwall__item { margin-bottom: 12px !important; }
  .ic-gwall__strap { margin-bottom: 32px !important; }
  .ic-gwall__splat-1 { --splat-w: 145px; --splat-h: 145px; --splat-o: .7; left: -80px; }
  .ic-gwall__splat-2 { --splat-w: 135px; --splat-h: 135px; --splat-o: .7; right: -75px; }
  .ic-gwall__splat-3 { --splat-w: 130px; --splat-h: 130px; --splat-o: .7; left: -72px; }
  .ic-gwall__splat-4 { --splat-w: 140px; --splat-h: 140px; --splat-o: .7; right: -70px; }
}

@media (max-width: 520px) {
  .ic-gwall { padding-top: 78px; }
  .ic-gwall__cta .ic-btn { width: 100%; }
}

@media (max-width: 420px) {
  .ic-gwall__list { columns: 1; }
}

/* ============================================
   FOLLOW THE COLOUR BANNER
   ============================================ */
.ic-follow {
  position: relative;
  padding: 40px 280px 44px;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(100deg, #3a1470 0%, #52209a 46%, #3a1470 100%);
}

/* ---------- Paint decor ---------- */
.ic-follow .ic-splat { z-index: 0; }

.ic-follow__splat-1 {
  --splat-w: 240px; --splat-h: 240px;
  --splat-r: -26deg; --splat-o: 1;
  top: -80px; left: -70px;
}
.ic-follow__splat-2 {
  --splat-w: 220px; --splat-h: 220px;
  --splat-r: 30deg; --splat-o: 1;
  bottom: -80px; right: -65px;
}

.ic-follow__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 1240px;
}

/* ---------- Instagram mark ---------- */
.ic-follow__icon {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid #fff;
  color: #fff;
}
.ic-follow__icon svg { width: 38px; height: 38px; display: block; }

/* ---------- Text ---------- */
.ic-follow__text { flex: 1; }

.ic-follow__title {
  font-family: 'Kaushan Script', cursive !important;
  font-weight: 400;
  font-size: clamp(1.8rem, 3.6vw, 2.7rem) !important;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  color: #fff !important;
  margin-bottom: 6px !important;
}

.ic-follow__title b { font-weight: 400; color: #fff; }
.ic-follow__title em { font-style: normal; }

.ic-follow__title em:nth-of-type(1) { color: var(--ic-red); }
.ic-follow__title em:nth-of-type(2) { color: var(--ic-orange); }
.ic-follow__title em:nth-of-type(3) { color: var(--ic-yellow); }
.ic-follow__title em:nth-of-type(4) { color: var(--ic-green); }
.ic-follow__title em:nth-of-type(5) { color: var(--ic-teal); }
.ic-follow__title em:nth-of-type(6) { color: #ff8fd0; }

.ic-follow__text p {
  font-size: .96rem;
  line-height: 1.55;
  opacity: .9;
  max-width: 520px;
  margin-bottom: 0 !important;
}

/* ---------- Button ---------- */
.ic-follow__cta { flex: 0 0 auto; }

.ic-follow__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  border-radius: 8px;
  background: #fff;
  color: var(--ic-purple);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s;
}
.ic-follow__btn:hover {
  color: var(--ic-purple);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.ic-follow__btn svg { width: 16px; height: 16px; flex: 0 0 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .ic-follow { padding: 34px 20px 38px; }
  .ic-follow__inner {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 18px;
  }
  .ic-follow__icon { flex: 1 0 100%; margin: 0 auto; }
  .ic-follow__text { flex: 1 0 100%; }
  .ic-follow__text p { max-width: 100%; }
  .ic-follow__cta { flex: 1 0 100%; }
  .ic-follow__splat-1 { --splat-w: 160px; --splat-h: 160px; left: -65px; }
  .ic-follow__splat-2 { --splat-w: 150px; --splat-h: 150px; right: -60px; }
}

@media (max-width: 480px) {
  .ic-follow__icon { width: 60px; height: 60px; border-radius: 15px; }
  .ic-follow__icon svg { width: 30px; height: 30px; }
  .ic-follow__text p { font-size: .88rem; }
  .ic-follow__btn { width: 100%; justify-content: center; white-space: normal; }
}

/* ---------- Password note ---------- */
.ic-gwall__pw {
  text-align: center;
  font-size: 1rem;
  color: #555;
  margin: 0 auto 30px !important;
}
.ic-gwall__pw b { color: var(--ic-purple); font-weight: 700; }

.ic-gwall__pw--sm {
  font-size: .88rem;
  margin: 14px auto 0 !important;
}

/* ---------- Day toggle ---------- */
.ic-gwall__tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}

.ic-gwall__tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  border-radius: 999px;
  border: 1.5px solid #d9d3c7;
  background: #fff;
  color: var(--ic-navy);
  font-family: inherit;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.ic-gwall__tab:hover { border-color: var(--ic-purple); color: var(--ic-purple); }

.ic-gwall__tab.is-active {
  background: var(--ic-purple);
  border-color: var(--ic-purple);
  color: #fff;
}
.ic-gwall__tab:focus-visible {
  outline: 2px solid var(--ic-navy);
  outline-offset: 2px;
}

/* ---------- Day panels ---------- */
.ic-gwall__panel.is-hidden { display: none; }

/* ---------- CTA ---------- */
.ic-gwall__cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

/* ---------- Responsive ---------- */
@media (max-width: 560px) {
  .ic-gwall__tabs { flex-direction: column; }
  .ic-gwall__tab { width: 100%; justify-content: center; }
  .ic-gwall__cta .ic-gwall__album { width: 100%; }
}