/*
 * OFF FRAME Section Styles
 * assets/css/offframe.css
 * Loaded separately to avoid parser issues in main.css
 */

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

/* ── Section shell ───────────────────────────────── */
.of-section {
  position: relative;
  width: 100%;
  background: #000 !important;   /* always black, even in light mode */
  overflow: hidden;
  padding: clamp(80px, 11vw, 140px) 20px;
  box-sizing: border-box;
}

/* ── Grain (pseudo-element, no data URI) ─────────── */
.of-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAElBMVEUAAAAAAAAAAAAAAAAAAAAAAAADgkmyAAAABnRSTlMASgBKAEoANAr9AAAAPElEQVQ4y2NgYGBg/P+fgYFBhAEKGEYFRgVGBUYFRgVGBUYFRgVGBUYFRgVGBUYFRgVGBUYFRgUGBgAYuAABpvPokgAAAABJRU5ErkJggg==");
  animation: of-grain 0.18s steps(3) infinite;
}
@keyframes of-grain {
  0%   { transform: translate(0, 0); }
  33%  { transform: translate(-3%, 2%); }
  66%  { transform: translate(2%, -2%); }
  100% { transform: translate(-1%, 3%); }
}

/* ── Scanlines (pseudo-element) ──────────────────── */
.of-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px, transparent 3px,
    rgba(0, 0, 0, 0.07) 3px, rgba(0, 0, 0, 0.07) 4px
  );
}

/* ── Inner wrapper — own centering, never uses .con ─ */
.of-wrap {
  position: relative;
  z-index: 3;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

/* ── Kicker ───────────────────────────────────────── */
.of-kicker {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
  margin: 0 0 24px;
  display: block;
}

/* ── Logo ─────────────────────────────────────────── */
.of-logo {
  width: 100%;
  max-width: 640px;
  margin: 0 auto 28px;
  display: block;
}
.of-logo img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

/* ── Description ──────────────────────────────────── */
.of-desc {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.30);
  line-height: 1.8;
  max-width: 460px;
  margin: 0 auto 48px;
  display: block;
}

/* ── Members row ──────────────────────────────────── */
.of-members {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 48px);
  margin: 0 0 36px;
}
.of-member {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}
.of-member-logo {
  height: 24px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.45;
  transition: filter 0.3s, opacity 0.3s, transform 0.3s;
}
.of-member:hover .of-member-logo {
  filter: none;
  opacity: 1;
  transform: scale(1.08);
}
.of-member-ph {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  transition: color 0.3s, transform 0.3s;
}
.of-member:hover .of-member-ph {
  color: var(--ofc, #fff);
  transform: scale(1.08);
}

/* ── Dots ─────────────────────────────────────────── */
.of-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 32px;
}
.of-dot {
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.of-dot--lg {
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.35);
}

/* ── CTAs ─────────────────────────────────────────── */
.of-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.of-btn-primary {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #000;
  background: #fff;
  border: 1px solid #fff;
  padding: 13px 32px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}
.of-btn-primary:hover {
  background: transparent;
  color: #fff;
}

.of-btn-ig {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 12px 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s, border-color 0.2s;
  line-height: 1;
}
.of-btn-ig:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

/* ── Mobile ───────────────────────────────────────── */
@media (max-width: 600px) {
  .of-logo { max-width: 90vw; }
  .of-btn-primary { padding: 12px 22px; }
}
