/* ==========================================================================
   FGX - Social content page

   Built on the shared system: fgx-type.css supplies the fonts and the fluid
   scale, ui-ux.css supplies the colour tokens, grid, buttons and headings.
   Nothing here redeclares a font family or a colour of its own - every rule
   below points at a --ux-* or --fgx-* token so this page moves with the rest
   of the site. Only components ui-ux.css does not already have live here.
   ========================================================================== */

.fgx-component[data-component="social-content"] {
  --sc-reel-radius: 18px;
}

/* ---------- Hero ---------------------------------------------------------- */
.sc-hero { position: relative; padding-block: clamp(140px, 17vh, 240px) clamp(60px, 8vw, 120px); overflow: hidden; }

.sc-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(70% 55% at 82% 6%, rgba(229, 36, 33, .26), transparent 64%),
    radial-gradient(60% 50% at 8% 94%, rgba(229, 36, 33, .1), transparent 70%);
}

.sc-hero__title {
  font-family: var(--ux-display);
  font-size: clamp(58px, 12.6vw, 248px);
  font-weight: 600;
  line-height: .84;
  letter-spacing: -.055em;
  margin: clamp(26px, 4vw, 54px) 0 0;
  display: grid;
}
.sc-hero__title em { font-style: normal; color: var(--ux-red); }

.sc-hero__body {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
  margin-top: clamp(34px, 5vw, 64px);
  padding-top: clamp(26px, 3.4vw, 40px);
  border-top: 1px solid var(--ux-line);
}
@media (min-width: 1000px) {
  .sc-hero__body { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
}

.sc-hero__tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: clamp(22px, 3vw, 32px) 0 0; padding: 0; }
.sc-hero__tags li {
  padding: 9px 17px;
  border: 1px solid var(--ux-line);
  border-radius: 999px;
  font-family: var(--ux-text);
  font-size: var(--fgx-size-label, 12px);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ux-muted);
}

/* Hero ticker: the four reels previewed as a live strip */
.sc-hero__ticker { display: grid; gap: 14px; }
.sc-hero__ticker-row { display: flex; gap: 12px; }
.sc-hero__ticker figure {
  flex: 1;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--ux-line);
  background: #000;
  aspect-ratio: 3 / 4;
}
.sc-hero__ticker img { width: 100%; height: 100%; object-fit: cover; }
.sc-hero__ticker figure:nth-child(2) { transform: translateY(18px); }
.sc-hero__ticker-note {
  font-family: var(--ux-text);
  font-size: var(--fgx-size-label, 12px);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ux-muted);
  margin: 10px 0 0;
}
@media (max-width: 999px) { .sc-hero__ticker { display: none; } }

/* ---------- Section furniture -------------------------------------------- */
.sc-heading { display: grid; gap: clamp(16px, 2vw, 26px); margin-bottom: clamp(44px, 6vw, 82px); }
.sc-heading .ux-h2 { margin: 0; font-family: var(--ux-display); font-weight: 600; }
.sc-heading .ux-h2 i { font-style: normal; color: var(--ux-red); }

/* ---------- Reel wall ----------------------------------------------------- */
.sc-reels-section { border-top: 1px solid var(--ux-line); }

.sc-reels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(16px, 2.2vw, 30px);
  align-items: start;
}

.sc-reel { margin: 0; display: grid; gap: 16px; }
/* Editorial stagger: lift alternate columns so the wall is not a flat row */
@media (min-width: 1000px) {
  .sc-reel:nth-child(even) { transform: translateY(clamp(24px, 3.4vw, 52px)); }
}

.sc-reel__stage {
  position: relative;
  border-radius: var(--sc-reel-radius);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--ux-line);
  isolation: isolate;
  transition: transform .55s var(--ux-ease), border-color .4s var(--ux-ease), box-shadow .55s var(--ux-ease);
}
.sc-reel:hover .sc-reel__stage {
  transform: translateY(-6px);
  border-color: rgba(229, 36, 33, .55);
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .9);
}

.sc-reel video,
.sc-reel__poster {
  display: block;
  width: 100%;
  /* height:auto lets aspect-ratio drive the box; the width/height attributes
     on the element would otherwise pin a non-auto height and win. */
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.sc-reel--tall video, .sc-reel--tall .sc-reel__poster { aspect-ratio: 9 / 16; }

.sc-reel__poster { position: absolute; inset: 0; z-index: 1; transition: opacity .5s var(--ux-ease), transform .9s var(--ux-ease); }
.sc-reel:hover .sc-reel__poster { transform: scale(1.04); }
.sc-reel.is-playing .sc-reel__poster { opacity: 0; pointer-events: none; }

.sc-reel__play {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--ux-paper);
}
.sc-reel__play::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .18) 0%, transparent 38%, rgba(0, 0, 0, .72) 100%);
  transition: opacity .4s var(--ux-ease);
}
.sc-reel.is-playing .sc-reel__play::before { opacity: 0; }

.sc-reel__icon {
  position: relative;
  width: clamp(54px, 5vw, 74px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(229, 36, 33, .95);
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .8);
  transition: transform .4s var(--ux-ease), opacity .4s var(--ux-ease);
}
.sc-reel__icon svg { width: 34%; height: 34%; margin-left: 8%; }
.sc-reel__play:hover .sc-reel__icon { transform: scale(1.1); }
.sc-reel.is-playing .sc-reel__icon { opacity: 0; transform: scale(.7); }

.sc-reel__badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 3;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 15, 15, .66);
  backdrop-filter: blur(10px);
  font-family: var(--ux-text);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ux-paper);
  transition: opacity .4s var(--ux-ease);
}
.sc-reel.is-playing .sc-reel__badge { opacity: 0; }

.sc-reel figcaption { display: grid; gap: 5px; }
.sc-reel figcaption b {
  font-family: var(--ux-display);
  font-weight: 600;
  font-size: clamp(17px, 1.5vw, 23px);
  letter-spacing: -.03em;
  line-height: 1.1;
}
.sc-reel figcaption span {
  font-family: var(--ux-text);
  font-size: var(--fgx-size-label, 12px);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ux-muted);
}

.sc-reels-note {
  margin: clamp(52px, 6.5vw, 86px) 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--ux-red);
  font-family: var(--ux-text);
  font-size: var(--fgx-size-body, clamp(16px, 1.1vw, 20px));
  line-height: 1.55;
  color: var(--ux-muted);
  max-width: 62ch;
}

/* ---------- Film collection (YouTube, lazy embedded) ---------------------- */
.sc-work { border-top: 1px solid var(--ux-line); }

.sc-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
}

.sc-project { display: grid; gap: 16px; }
.sc-video {
  position: relative;
  border-radius: var(--sc-reel-radius);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--ux-line);
  aspect-ratio: 16 / 9;
  transition: border-color .4s var(--ux-ease), transform .55s var(--ux-ease);
}
.sc-project:hover .sc-video { border-color: rgba(229, 36, 33, .5); transform: translateY(-4px); }
.sc-video iframe { width: 100%; height: 100%; border: 0; display: block; }

.sc-play {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.sc-play img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: transform .8s var(--ux-ease); }
.sc-project:hover .sc-play img { transform: scale(1.04); }

.sc-play-icon {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(15, 15, 15, .54);
  border: 1px solid rgba(244, 240, 238, .42);
  backdrop-filter: blur(12px);
  font-size: 19px;
  color: var(--ux-paper);
  transition: background .4s var(--ux-ease), transform .4s var(--ux-ease);
}
.sc-play:hover .sc-play-icon { background: rgba(229, 36, 33, .92); border-color: transparent; transform: translate(-50%, -50%) scale(1.08); }

.sc-play-label {
  position: absolute;
  bottom: 16px; left: 16px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(15, 15, 15, .7);
  backdrop-filter: blur(10px);
  font-family: var(--ux-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ux-paper);
}

.sc-project-caption { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.sc-project-caption h3 {
  font-family: var(--ux-display);
  font-weight: 600;
  font-size: clamp(21px, 2vw, 30px);
  letter-spacing: -.035em;
  line-height: 1;
  margin: 6px 0 0;
}
.sc-project-caption > a {
  font-size: 26px;
  line-height: 1;
  color: var(--ux-muted);
  text-decoration: none;
  transition: color .3s var(--ux-ease), transform .4s var(--ux-ease);
}
.sc-project-caption > a:hover { color: var(--ux-red); transform: translate(3px, -3px); }

.sc-video-fallback {
  display: block;
  font-family: var(--ux-text);
  font-size: 12px;
  text-decoration: underline;
  margin-top: 12px;
  color: var(--ux-muted);
}
.sc-video-note {
  font-family: var(--ux-text);
  font-size: var(--fgx-size-label, 12px);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ux-muted);
  margin-top: clamp(34px, 4.4vw, 54px);
}

/* ---------- Marquee ------------------------------------------------------- */
.sc-marquee {
  overflow: hidden;
  border-block: 1px solid var(--ux-line);
  padding-block: clamp(22px, 3vw, 40px);
}
.sc-marquee > div {
  display: inline-flex;
  gap: .5em;
  white-space: nowrap;
  font-family: var(--ux-display);
  font-weight: 600;
  font-size: clamp(42px, 7vw, 128px);
  line-height: 1;
  letter-spacing: -.045em;
  will-change: transform;
}
.sc-marquee i { font-style: normal; color: var(--ux-red); }
.sc-marquee b { font-weight: inherit; color: var(--ux-muted); }

/* ---------- Pillars ------------------------------------------------------- */
.sc-approach { border-top: 1px solid var(--ux-line); }
.sc-approach__grid { display: grid; gap: clamp(40px, 5vw, 72px); }
@media (min-width: 1100px) {
  .sc-approach__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); align-items: start; }
}
.sc-sticky { display: grid; gap: clamp(16px, 2vw, 24px); align-content: start; }
@media (min-width: 1100px) { .sc-sticky { position: sticky; top: clamp(90px, 12vh, 150px); } }
.sc-sticky .ux-h2 { margin: 0; font-family: var(--ux-display); font-weight: 600; }
.sc-sticky .ux-h2 i { font-style: normal; color: var(--ux-red); }

.sc-pillars { display: grid; gap: 1px; background: var(--ux-line); border: 1px solid var(--ux-line); border-radius: var(--sc-reel-radius); overflow: hidden; }
@media (min-width: 680px) { .sc-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sc-pillars article {
  background: var(--ux-bg);
  padding: clamp(26px, 3.2vw, 42px);
  display: grid;
  gap: 14px;
  align-content: start;
  transition: background .45s var(--ux-ease);
}
.sc-pillars article:hover { background: rgba(229, 36, 33, .07); }
.sc-pillars h3 {
  font-family: var(--ux-display);
  font-weight: 600;
  font-size: clamp(20px, 1.9vw, 28px);
  letter-spacing: -.032em;
  line-height: 1.05;
  margin: 0;
}
.sc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.sc-tags span {
  border: 1px solid var(--ux-line);
  padding: 6px 13px;
  border-radius: 999px;
  font-family: var(--ux-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ux-muted);
}

/* ---------- Partner statement --------------------------------------------- */
.sc-partner { border-top: 1px solid var(--ux-line); }
.sc-partner-grid { display: grid; gap: clamp(30px, 4vw, 60px); margin-top: clamp(40px, 5vw, 70px); }
@media (min-width: 900px) { .sc-partner-grid { grid-template-columns: auto minmax(0, 1fr); align-items: start; } }
.sc-number {
  font-family: var(--ux-display);
  font-weight: 600;
  font-size: clamp(88px, 14vw, 220px);
  line-height: .82;
  letter-spacing: -.07em;
  color: var(--ux-red);
}
.sc-number p { margin: 14px 0 0; }

/* ---------- Process ------------------------------------------------------- */
.sc-process { border-top: 1px solid var(--ux-line); }
.sc-process ol { list-style: none; margin: clamp(40px, 5vw, 70px) 0 0; padding: 0; display: grid; gap: 1px; background: var(--ux-line); border-block: 1px solid var(--ux-line); }
.sc-process li { background: var(--ux-bg); padding: clamp(26px, 3.4vw, 46px) 0; display: grid; gap: 16px; }
@media (min-width: 820px) { .sc-process li { grid-template-columns: 120px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; } }
.sc-process li > span {
  font-family: var(--ux-display);
  font-weight: 600;
  font-size: clamp(34px, 3.4vw, 62px);
  line-height: 1;
  letter-spacing: -.045em;
  color: var(--ux-red);
}
.sc-process h3 {
  font-family: var(--ux-display);
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 36px);
  letter-spacing: -.035em;
  line-height: 1.05;
  margin: 0 0 10px;
}
.sc-process p { margin: 0; font-family: var(--ux-text); font-size: var(--fgx-size-body, clamp(16px, 1.1vw, 20px)); line-height: 1.5; color: var(--ux-muted); max-width: 62ch; }

/* ---------- Enquire ------------------------------------------------------- */
.sc-enquire { border-top: 1px solid var(--ux-line); text-align: left; }
.sc-enquire h2 { margin: clamp(16px, 2vw, 26px) 0 0; font-family: var(--ux-display); font-weight: 600; }
.sc-enquire h2 i { font-style: normal; color: var(--ux-red); }
.sc-contact { display: grid; gap: clamp(22px, 3vw, 36px); margin-top: clamp(30px, 4vw, 52px); }
@media (min-width: 900px) { .sc-contact { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }

/* ---------- Word reveal (JS adds .rm-word) -------------------------------- */
.rm-word { display: inline-block; will-change: opacity, filter, transform; }

/* ---------- Dev-only module tag ------------------------------------------- */
.rm-module {
  position: absolute;
  inset: auto auto 10px 10px;
  z-index: 5;
  font-family: var(--ux-text);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--ux-line);
  background: rgba(15, 15, 15, .8);
  color: var(--ux-muted);
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .sc-reel__stage, .sc-reel__poster, .sc-video, .sc-play img, .sc-reel__icon { transition: none; }
  .sc-reel:nth-child(even) { transform: none; }
}

/* ---------- Inline links --------------------------------------------------
   ui-ux.css has no generic inline-link class (.ux-wl is a text-split wrapper,
   not a link). This follows the house pattern used by .ux-contact a: no
   underline at rest, a line that wipes in from the left on hover.
   -------------------------------------------------------------------------- */
.sc-link {
  color: var(--ux-red);
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ux-ease);
}
.sc-link:hover,
.sc-link:focus-visible { background-size: 100% 1px; }

/* Accent word inside any section heading. Declared component-wide so a new
   section gets the treatment without needing its own rule. */
.fgx-component[data-component="social-content"] :is(h2, h3) i {
  font-style: normal;
  color: var(--ux-red);
}
