/* ==========================================================================
   SHAFWAN CREATIVE — Homepage Styles (index.html)
   Sections 1–8: Hero, Marquee, Services, Selected Work, Template Playground,
   How We Work, Social Proof / Concept Transparency, Final CTA
   ========================================================================== */

/* ---------- SECTION 1: HERO ---------- */
.hero {
  padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 5.5vw, 72px);
  position: relative;
  overflow: hidden;
  border-bottom: var(--bw) solid var(--ink);
}
.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  align-items: center;
}
.hero__copy {
  grid-column: 1 / span 7;
  position: relative;
  z-index: 3;
}
.hero__tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: var(--bw) solid var(--ink);
  border-radius: var(--r-pill);
  background: var(--white);
  font: 700 .78rem/1 var(--font-display);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hero__pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  border: 1px solid var(--ink);
}
.hero__headline {
  font-size: clamp(2.35rem, 4.8vw, 3.85rem);
  line-height: 1.14;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
}
.hero__headline .italic-serif {
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.hero__sub {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 48ch;
  margin-bottom: 30px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero__quick-facts {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px dashed rgba(23,23,23,.25);
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  font-size: .88rem;
  color: var(--text-muted);
}
.hero__quick-facts b {
  color: var(--ink);
  font-family: var(--font-display);
}

/* Hero Visual Collage */
.hero__stage {
  grid-column: 8 / -1;
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}
.hero-collage {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 4 / 4.6;
}
.hero-card {
  position: absolute;
  background: var(--white);
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow-hard-lg);
  overflow: hidden;
  transition: transform var(--dur-3) var(--ease-out);
}
.hero-card--main {
  inset: 6% 8% 10% 6%;
  transform: rotate(-2.5deg);
  z-index: 2;
  display: flex;
  flex-direction: column;
}
.hero-card--main:hover {
  transform: rotate(-1deg) translate(-2px, -4px);
}
.hero-card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  font: 700 .74rem/1 var(--font-display);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-card__dots {
  display: flex;
  gap: 5px;
}
.hero-card__dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  display: inline-block;
}
.hero-card__dots i:nth-child(2) { background: var(--white); }
.hero-card__dots i:nth-child(3) { background: var(--gray); }
.hero-card__img {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: var(--paper);
}
.hero-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-card__foot {
  padding: 12px 14px;
  border-top: var(--bw) solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  background: var(--white);
}
.hero-card--sec {
  width: 54%;
  right: -2%;
  bottom: 0;
  transform: rotate(5deg);
  z-index: 3;
  box-shadow: var(--shadow-hard);
}
.hero-card--sec img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.hero-card--sec-caption {
  padding: 8px 12px;
  font: 700 .76rem/1.2 var(--font-display);
  background: var(--lime);
  border-top: var(--bw) solid var(--ink);
  display: flex;
  justify-content: space-between;
}
.hero-note {
  position: absolute;
  left: -4%;
  bottom: 8%;
  z-index: 4;
  background: var(--lime);
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow-hard);
  padding: 12px 16px;
  max-width: 215px;
  transform: rotate(-4deg);
  font-size: .82rem;
  line-height: 1.35;
}
.hero-note b {
  display: block;
  font-family: var(--font-display);
  font-size: .9rem;
  margin-bottom: 2px;
}

/* ---------- SECTION 3: SERVICES (Asymmetric Editorial Grid) ---------- */
.services-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
}
.srv-card {
  position: relative;
  background: var(--white);
  border: var(--bw) solid var(--ink);
  padding: clamp(24px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.srv-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-hard-lg);
}
.srv-card--1 { grid-column: 1 / span 7; background: var(--white); }
.srv-card--2 { grid-column: 8 / span 5; background: var(--paper); }
.srv-card--3 { grid-column: 1 / span 5; background: var(--ink); color: var(--white); }
.srv-card--3:hover { box-shadow: 8px 8px 0 var(--lime); }
.srv-card--4 { grid-column: 6 / span 7; background: var(--white); }

.srv-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.srv-card__no {
  font: 800 .85rem/1 var(--font-display);
  letter-spacing: .12em;
  padding: 6px 10px;
  border: var(--bw) solid currentColor;
  border-radius: var(--r-pill);
}
.srv-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: var(--bw) solid var(--ink);
  background: var(--lime);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 3px 3px 0 var(--ink);
}
.srv-card--3 .srv-card__icon {
  border-color: var(--lime);
  box-shadow: 3px 3px 0 var(--lime);
}
.srv-card__icon svg { width: 26px; height: 26px; }
.srv-card h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  margin: 0 0 8px;
}
.srv-card__tagline {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin: 0 0 18px;
}
.srv-card--3 .srv-card__tagline { color: rgba(255,255,255,.76); }
.srv-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px 16px;
  font-size: .9rem;
}
.srv-card__list li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.srv-card__list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  border: 1px solid var(--ink);
  flex-shrink: 0;
}
.srv-card--3 .srv-card__list li::before { border-color: var(--lime); }
.srv-card__foot {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.srv-card--3 .srv-card__foot { border-top-color: rgba(255,255,255,.18); }
.srv-card__price small {
  display: block;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
}
.srv-card--3 .srv-card__price small { color: rgba(255,255,255,.65); }
.srv-card__price b {
  font: 800 1.25rem/1.1 var(--font-display);
}
.srv-card__ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---------- SECTION 4: SELECTED WORK (Clean Structured 3-Column Portfolio Grid) ---------- */
.work-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.work-asymmetric {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.2vw, 28px);
  align-items: stretch;
}
.work-asymmetric > .work-card {
  grid-column: auto !important;
  margin-top: 0 !important;
}
@media (max-width: 1024px) {
  .work-asymmetric { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .work-asymmetric { grid-template-columns: 1fr; }
}

/* ---------- SECTION 5: DIGITAL TEMPLATE PLAYGROUND ---------- */
.playground-shell {
  border: var(--bw) solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-hard-lg);
  padding: clamp(22px, 3.5vw, 44px);
}
.playground-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: var(--bw) solid var(--ink);
}
.playground-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.playground-search {
  min-width: 260px;
}
.playground-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gutter);
}
.playground-banner {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

/* ---------- SECTION 6: HOW WE WORK ---------- */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gutter);
  position: relative;
}
.step-card {
  background: var(--white);
  color: var(--ink);
  border: var(--bw) solid var(--ink);
  padding: 26px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.section--ink .step-card {
  background: #20201F;
  color: var(--white);
  border-color: rgba(255,255,255,.28);
}
.step-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.step-card__num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  border: var(--bw) solid var(--ink);
  font: 800 .95rem/1 var(--font-display);
}
.step-card__tag {
  font: 700 .74rem/1 var(--font-display);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lime);
}
.step-card h3 {
  font-size: 1.4rem;
  margin: 4px 0 0;
}
.step-card p {
  font-size: .92rem;
  color: rgba(255,255,255,.74);
  margin: 0;
}
.step-card__deliverable {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed rgba(255,255,255,.2);
  font-size: .82rem;
  color: var(--lime);
}

/* ---------- SECTION 7: HONESTY / CONCEPT LAB PLEDGE ---------- */
.pledge-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  align-items: stretch;
}
.pledge-main {
  grid-column: 1 / span 7;
  background: var(--white);
  border: var(--bw) solid var(--ink);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-hard);
}
.pledge-side {
  grid-column: 8 / span 5;
  display: grid;
  gap: var(--gutter);
}
.pledge-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.pledge-point {
  padding: 16px;
  background: var(--paper);
  border: var(--bw) solid var(--ink);
}
.pledge-point b {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 4px;
}
.pledge-point p {
  margin: 0;
  font-size: .88rem;
  color: var(--text-muted);
}

/* ---------- SECTION 8: FINAL CTA ---------- */
.final-cta {
  position: relative;
  background: var(--lime);
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow-hard-lg);
  padding: clamp(36px, 6vw, 76px);
  overflow: hidden;
}
.final-cta__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  align-items: center;
}
.final-cta__copy { grid-column: 1 / span 8; }
.final-cta__actions {
  grid-column: 9 / -1;
  display: grid;
  gap: 12px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .playground-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero__copy { grid-column: 1 / -1; }
  .hero__stage { grid-column: 1 / -1; min-height: 400px; margin-top: 20px; }
  .srv-card--1, .srv-card--2, .srv-card--3, .srv-card--4 { grid-column: 1 / -1; }
  .work-asymmetric > .work-card { grid-column: 1 / span 6 !important; margin-top: 0 !important; }
  .playground-controls { grid-template-columns: 1fr; }
  .pledge-main, .pledge-side { grid-column: 1 / -1; }
  .final-cta__copy, .final-cta__actions { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .work-asymmetric > .work-card { grid-column: 1 / -1 !important; }
  .playground-grid { grid-template-columns: 1fr; }
  .workflow-grid { grid-template-columns: 1fr; }
  .pledge-points { grid-template-columns: 1fr; }
  .hero__stage { min-height: 350px; }
  .hero-note { left: 0; bottom: 0; }
}

