/* ICOF CSF — Visual Composition Layer (presentation only) */

/* ========== INTRO: text + premium feature image ========== */
.icof-intro {
  display: grid !important;
  gap: 2.25rem !important;
  align-items: center !important;
  padding-top: 2.75rem !important;
  padding-bottom: 3.25rem !important;
}
@media (min-width: 860px) {
  .icof-intro {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
    gap: 2.5rem !important;
  }
}
.icof-intro__copy {
  min-width: 0;
}
.icof-intro__art {
  position: relative;
  min-height: 22rem;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
@media (min-width: 860px) {
  .icof-intro__art { min-height: 26rem; }
}

.icof-art-blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}
.icof-art-blob--a {
  width: 70%;
  height: 70%;
  top: 8%;
  right: 4%;
  background: color-mix(in srgb, #b2943e 28%, transparent);
}
.icof-art-blob--b {
  width: 55%;
  height: 55%;
  bottom: 0;
  left: 0;
  background: color-mix(in srgb, #0b2340 18%, transparent);
}

.icof-art-frame {
  position: relative;
  z-index: 2;
  width: min(100%, 28rem);
  aspect-ratio: 4 / 5;
  border-radius: 1.35rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, #b2943e 55%, #fff);
  box-shadow:
    0 0 0 6px color-mix(in srgb, #0b2340 6%, transparent),
    0 28px 60px rgba(11, 35, 64, 0.22);
  background: #0b2340;
  transform: rotate(-1.5deg);
}
.icof-art-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) contrast(1.04);
}
.icof-art-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(11, 35, 64, 0.55) 100%);
  pointer-events: none;
}
.icof-art-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.icof-art-offset {
  position: absolute;
  z-index: 1;
  width: min(72%, 18rem);
  aspect-ratio: 5 / 4;
  right: 4%;
  top: 6%;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, #d97706 40%, transparent);
  background:
    linear-gradient(135deg, color-mix(in srgb, #faf7f2 80%, #b2943e), color-mix(in srgb, #173b69 12%, #fff));
  box-shadow: 0 18px 40px rgba(11, 35, 64, 0.12);
  transform: rotate(3deg);
}

.icof-float {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  background: color-mix(in srgb, #ffffff 78%, transparent);
  border: 1px solid color-mix(in srgb, #b2943e 35%, transparent);
  box-shadow: 0 10px 28px rgba(11, 35, 64, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #0b2340;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: icof-float-y 5.5s ease-in-out infinite;
}
.icof-float svg {
  width: 1rem;
  height: 1rem;
  color: #d97706;
  flex-shrink: 0;
}
.icof-float--1 { top: 8%; left: 2%; animation-delay: 0s; }
.icof-float--2 { top: 28%; right: -2%; animation-delay: 0.8s; }
.icof-float--3 { bottom: 22%; left: -4%; animation-delay: 1.4s; }
.icof-float--4 { bottom: 8%; right: 8%; animation-delay: 2s; }
.icof-float--5 { top: 52%; left: 6%; animation-delay: 1.1s; }
@keyframes icof-float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .icof-float { animation: none; }
}
@media (max-width: 859px) {
  .icof-float--5 { display: none; }
  .icof-art-offset { display: none; }
}

/* ========== SECTION ELEVATION: Need → footer ========== */
.icof-section-need {
  position: relative;
  background:
    linear-gradient(180deg, #ffffff 0%, #faf7f2 100%) !important;
  overflow: hidden;
}
.icof-section-need::before {
  content: "";
  position: absolute;
  width: 28rem;
  height: 28rem;
  right: -8rem;
  top: -6rem;
  border-radius: 999px;
  background: color-mix(in srgb, #b2943e 12%, transparent);
  filter: blur(10px);
  pointer-events: none;
}
.icof-section-need .max-w-6xl,
.icof-section-need .max-w-3xl {
  position: relative;
  z-index: 1;
}
.icof-section-need .max-w-3xl,
.icof-section-need [class*="max-w-"] {
  max-width: 72rem !important;
}
.icof-need-layout {
  display: grid !important;
  gap: 2rem !important;
}
@media (min-width: 860px) {
  .icof-need-layout {
    grid-template-columns: 1.15fr 0.85fr !important;
    align-items: start !important;
    gap: 2.5rem !important;
  }
}
.icof-need-aside {
  background: #0b2340;
  color: #faf7f2;
  border-radius: 1.25rem;
  padding: 1.6rem 1.4rem;
  border: 1px solid color-mix(in srgb, #b2943e 45%, transparent);
  box-shadow: 0 20px 40px rgba(11, 35, 64, 0.18);
}
.icof-need-aside .icof-kicker { color: #b2943e; }
.icof-need-aside blockquote {
  margin: 0.75rem 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.35;
  font-weight: 700;
}
.icof-need-aside p {
  margin: 0.85rem 0 0;
  color: color-mix(in srgb, #faf7f2 75%, transparent);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Video editorial */
#cms-home-video,
[data-cms-home-video] {
  background:
    radial-gradient(900px 420px at 10% 0%, color-mix(in srgb, #b2943e 10%, transparent), transparent 60%),
    linear-gradient(180deg, #f7f1e4 0%, #ffffff 55%, #eef2f7 100%) !important;
}
#cms-home-video .max-w-6xl {
  padding-bottom: 1rem;
}

/* Campaign / priorities magazine feel */
#campaign {
  background:
    linear-gradient(180deg, #faf7f2 0%, #ffffff 40%, #f7f1e4 100%) !important;
}
#campaign .divide-y {
  display: grid !important;
  gap: 1rem !important;
  border: 0 !important;
}
#campaign .divide-y > div {
  border: 1px solid color-mix(in srgb, #b2943e 24%, transparent) !important;
  border-radius: 1rem !important;
  background: #fff !important;
  padding: 1.25rem 1.15rem !important;
  box-shadow: 0 10px 28px rgba(11, 35, 64, 0.05);
}
@media (min-width: 900px) {
  #campaign .divide-y {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  #campaign .divide-y > div {
    border-top: 3px solid #b2943e !important;
  }
}

/* Share section split */
.icof-section-share {
  background:
    linear-gradient(120deg, #0b2340 0%, #173b69 55%, #693f05 120%) !important;
  color: #faf7f2 !important;
}
.icof-section-share .text-party-orange,
.icof-section-share .text-amber-hi {
  color: #f59e0b !important;
}
.icof-section-share .text-muted-foreground,
.icof-section-share .text-foreground {
  color: color-mix(in srgb, #faf7f2 82%, transparent) !important;
}
.icof-section-share .border-border {
  border-color: color-mix(in srgb, #b2943e 35%, transparent) !important;
}
.icof-section-share a.rounded-xl.border {
  background: transparent !important;
  color: #fff !important;
}
.icof-gold-rule {
  height: 2px;
  width: 4.5rem;
  background: linear-gradient(90deg, #b2943e, #d97706);
  margin: 1rem 0 0;
  border: 0;
}

/* How / Impact already styled — tighten rhythm */
.icof-how,
.icof-impact,
.icof-faq {
  position: relative;
}
.icof-how__inner,
.icof-impact__inner,
.icof-faq__inner {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

/* ========== PREMIUM UNIVERSITY FOOTER ========== */
.icof-footer {
  background:
    radial-gradient(900px 400px at 90% 0%, color-mix(in srgb, #b2943e 16%, transparent), transparent 55%),
    linear-gradient(180deg, #0b2340 0%, #071627 100%) !important;
  color: #f5efe6 !important;
  border-top: 3px solid #b2943e !important;
}
.icof-footer a {
  color: color-mix(in srgb, #f5efe6 82%, #b2943e) !important;
  text-decoration: none;
}
.icof-footer a:hover {
  color: #f59e0b !important;
}
.icof-footer__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1rem 1.25rem;
}
.icof-footer__grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .icof-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; }
}
@media (min-width: 1100px) {
  .icof-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.icof-footer__brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: #faf7f2;
  padding: 2px;
}
.icof-footer__brand h3 {
  margin: 0.85rem 0 0.4rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 800;
}
.icof-footer__brand p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: color-mix(in srgb, #f5efe6 72%, transparent);
}
.icof-footer h4 {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: #b2943e;
}
.icof-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.icof-footer li {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
}
.icof-footer__rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, #b2943e 55%, transparent), transparent);
  margin: 2rem 0 1rem;
}
.icof-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: color-mix(in srgb, #f5efe6 65%, transparent);
}
.icof-footer__news {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.icof-footer__news input {
  flex: 1;
  min-width: 12rem;
  border: 1px solid color-mix(in srgb, #b2943e 35%, transparent);
  background: color-mix(in srgb, #ffffff 6%, transparent);
  color: #fff;
  border-radius: 0.65rem;
  padding: 0.7rem 0.85rem;
}
.icof-footer__news button {
  border: 0;
  border-radius: 0.65rem;
  background: #d97706;
  color: #1a1206;
  font-weight: 800;
  padding: 0.7rem 1rem;
  cursor: pointer;
}
.icof-footer__news button:hover {
  background: #b2943e;
}

/* Storytelling gold dividers between major blocks */
.icof-story-mark {
  display: flex;
  justify-content: center;
  padding: 0.25rem 0;
  background: transparent;
}
.icof-story-mark span {
  width: 3.5rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #693f05, #b2943e, #d97706);
}
