/* Social page: phone feeds, reels with timed captions, post templates. */
/* ---------- So1 · feeds ---------- */
.feeds { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 40px); margin-top: 60px; }
.fphone { position: relative; aspect-ratio: 9 / 18.5; border-radius: 36px; border: 9px solid #1d1d23; background: #fff; color: #111; overflow: hidden; box-shadow: 0 40px 70px rgba(0,0,0,.5); container-type: inline-size; display: flex; flex-direction: column; }
.ig-top { display: flex; align-items: center; gap: 4cqw; padding: 9cqw 5cqw 3cqw; }
.ig-top .av { flex: none; width: 15cqw; height: 15cqw; border-radius: 50%; display: grid; place-items: center; }
.ig-top .av svg { width: 62%; height: 62%; }
.ig-top b { display: block; font: 600 4.2cqw/1.2 var(--body); }
.ig-top span { font-size: 3.4cqw; color: #6b6b75; }
.bio { padding: 0 5cqw; font-size: 3.4cqw; line-height: 1.4; }
.bio span { display: block; color: #6b6b75; }
.hl { display: flex; gap: 4cqw; padding: 3.4cqw 5cqw; }
.hl i { font-style: normal; font-size: 2.8cqw; display: grid; justify-items: center; gap: 1.4cqw; color: #333; }
.hl i b { width: 12cqw; height: 12cqw; border-radius: 50%; display: grid; place-items: center; border: .6cqw solid var(--hlr, #e2e2e6); background: var(--hlb, #F5ECDC); }
.hl i svg { width: 52%; height: 52%; fill: none; stroke: var(--hlc, #140D08); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
[data-b="tan"] { --hlr: #FF7A2E; --hlb: #F5ECDC; --hlc: #8A4A1F; }
[data-b="lay"] { --hlr: #C99A3C; --hlb: #1b140e; --hlc: #E0A356; }
[data-b="say"] { --hlr: #FF6A1A; --hlb: #FF6A1A; --hlc: #0C0A08; }
.gridwrap { flex: 1; overflow: hidden; border-top: 1px solid #eee; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5cqw; animation: feed 22s ease-in-out infinite alternate; }
@keyframes feed { from { transform: translateY(0); } to { transform: translateY(-38%); } }
.t { aspect-ratio: 3 / 4; background-size: cover; background-position: center; display: grid; place-items: center; text-align: center; overflow: hidden; }
.t.cut { background-size: 92%; background-repeat: no-repeat; background-color: #F4EFE4; }
.t b, .t span { display: block; }
[data-b="tan"] .av { background: #F5ECDC; color: #140D08; }
.tan1 { background: #140D08; color: #F5ECDC; } .tan1 b { font: 800 6cqw/.95 "Bricolage Grotesque", sans-serif; letter-spacing: -.04em; }
.tan2 { background: #FF7A2E; color: #140D08; } .tan2 span { font: 500 2.4cqw/1 var(--mono); letter-spacing: .12em; } .tan2 b { font: 800 6.2cqw/1 "Bricolage Grotesque", sans-serif; margin-top: 1.4cqw; }
.tan3 { background: #1D5A52; color: #F5ECDC; } .tan3 svg { width: 50%; height: 50%; }
[data-b="lay"] { background: #0A0705; color: #F1E6D2; }
[data-b="lay"] .ig-top span, [data-b="lay"] .bio span { color: #b9a68a; } [data-b="lay"] .hl i { color: #d8ccb6; }  [data-b="lay"] .gridwrap { border-color: #2a1f15; }
[data-b="lay"] .av { background: #1b140e; color: #C99A3C; }
.lay1 { background: #0A0705; } .lay1 b { font: 600 5.2cqw/1 "Cormorant", serif; letter-spacing: .05em; color: #F1E6D2; }
.lay2 { background: #0A0705; gap: 2cqw; align-content: center; } .lay2 img { width: 56%; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(circle, #000 52%, transparent 70%); mask-image: radial-gradient(circle, #000 52%, transparent 70%); } .lay2 span { font: 500 2.4cqw/1 var(--mono); letter-spacing: .14em; color: #E0A356; }
.lay3 { background: #C99A3C; } .lay3 span { font: 700 8cqw/1 "Amiri", serif; color: #0A0705; }
[data-b="say"] { background: #0C0A08; color: #F4EFE4; }
[data-b="say"] .ig-top span, [data-b="say"] .bio span { color: #a99c8a; } [data-b="say"] .hl i { color: #d9d2c4; }  [data-b="say"] .gridwrap { border-color: #222; }
[data-b="say"] .av { background: #FF6A1A; color: #0C0A08; }
.say1 { background: #0C0A08; } .say1 b { font: 900 6.6cqw/.88 "Archivo", sans-serif; font-stretch: 66%; color: #F4EFE4; }
.say2 { background: #FF6A1A; color: #0C0A08; } .say2 span { font: 400 8cqw/1 "DotGothic16", monospace; } .say2 b { font: 900 3.4cqw/1 "Archivo", sans-serif; font-stretch: 70%; margin-top: 1cqw; }
.say3 { background: #F4EFE4; color: #0C0A08; } .say3 svg { width: 50%; height: 50%; --acc: #FF6A1A; }

/* ---------- So1b · social examples (reel + whole profile + carousel per brand) ---------- */
.sx { display: grid; gap: clamp(56px, 7vw, 96px); margin-top: 60px; }
.sx-b { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); column-gap: clamp(18px, 3vw, 40px); row-gap: 18px; align-items: start; }
.sx-h { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 16px; border-bottom: 1px solid rgba(241,240,236,.16); padding-bottom: 14px; }
.sx-h b { font: 340 clamp(28px, 3.4vw, 44px)/1 var(--display); font-variation-settings: "SOFT" 100, "opsz" 144; letter-spacing: -.02em; }
.sx-h span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.reel-ph.sx-reel { cursor: pointer; aspect-ratio: 9 / 16; }
.sx-reel.on figcaption { background: rgba(43,42,230,.85); }
.sx-imgs { display: grid; gap: clamp(14px, 2vw, 24px); }
.sx-imgs a { position: relative; display: block; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.sx-imgs img { display: block; width: 100%; height: auto; transition: transform .6s var(--ease); }
.sx-imgs a:hover img { transform: scale(1.015); }
.sx-imgs span { position: absolute; z-index: 2; left: 14px; top: 14px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding: .6em 1em; border-radius: 99px; background: rgba(14,14,18,.72); color: #F1F0EC; }
@media (max-width: 900px) {
  .sx-b { grid-template-columns: 1fr; }
  .sx-reel { max-width: 320px; width: 100%; justify-self: center; }
}

/* ---------- So2 · reels ---------- */
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 40px); margin-top: 60px; }
.reel-ph { position: relative; margin: 0; aspect-ratio: 9 / 18.5; border-radius: 36px; border: 9px solid #1d1d23; overflow: hidden; background: #000; box-shadow: 0 30px 60px rgba(14,14,18,.25); container-type: inline-size; }
.reel-ph video { width: 100%; height: 100%; object-fit: cover; }
.reel-ph figcaption { position: absolute; left: 50%; bottom: 4cqw; transform: translateX(-50%); font-size: max(10px, 2.6cqw); padding: .7em 1.1em; border-radius: 99px; background: rgba(0,0,0,.55); color: #fff; white-space: nowrap; }
.cap { position: absolute; left: 6cqw; right: 6cqw; top: 22%; text-align: center; opacity: 0; filter: blur(8px); transform: scale(1.06); transition: opacity .45s var(--ease), filter .45s var(--ease), transform .45s var(--ease); text-shadow: 0 .6cqw 2.4cqw rgba(0,0,0,.6); pointer-events: none; }
.cap.in { opacity: 1; filter: none; transform: none; }
.c-tan { font: 800 9cqw/.95 "Bricolage Grotesque", sans-serif; letter-spacing: -.04em; color: #F5ECDC; }
.c-lay { font: 600 9cqw/1 "Cormorant", serif; letter-spacing: .04em; text-transform: uppercase; color: #F1E6D2; }
.c-say { font: 900 10cqw/.88 "Archivo", sans-serif; font-stretch: 66%; text-transform: uppercase; color: #F4EFE4; }
.endc { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 3cqw; opacity: 0; transition: opacity .5s; pointer-events: none; }
.endc.in { opacity: 1; }
.endc svg { width: 22cqw; height: 22cqw; }
.endc span { font: 500 3cqw/1 var(--mono); letter-spacing: .12em; }
.e-tan { background: #140D08; color: #F5ECDC; } .e-tan b { font: 800 13cqw/.9 "Bricolage Grotesque", sans-serif; letter-spacing: -.045em; } .e-tan span { color: #FFB37A; }
.e-lay { background: #0A0705; color: #F1E6D2; } .e-lay svg { color: #C99A3C; } .e-lay b { font: 600 9cqw/1 "Cormorant", serif; letter-spacing: .3em; } .e-lay span { color: #E0A356; }
.e-say { background: #0C0A08; color: #F4EFE4; } .e-say svg { --acc: #FF6A1A; } .e-say b { font: 900 13cqw/.86 "Archivo", sans-serif; font-stretch: 64%; } .e-say span { color: #FF6A1A; }

/* ---------- So3 · templates ---------- */
.tpls { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 40px); margin-top: 60px; }
.tpair { display: grid; grid-template-columns: 1.15fr .85fr; gap: 12px; align-items: end; }
.cover, .story { position: relative; overflow: hidden; border-radius: 10px; container-type: inline-size; box-shadow: 0 20px 40px rgba(14,14,18,.18); }
.cover { aspect-ratio: 4 / 5; } .story { aspect-ratio: 9 / 16; }
.story { display: flex !important; flex-direction: column; align-items: center; justify-content: space-between; gap: 2.4cqw !important; }
.story > * { flex: none; min-width: 0; max-width: 100%; }
.story > img { flex: 1 1 auto; min-height: 0; width: auto !important; max-width: 86%; aspect-ratio: auto !important; object-fit: contain !important; }
.cover .pg { position: absolute; top: 5cqw; right: 5cqw; font-size: max(8px, 3.4cqw); }
.tan-cv { background: #F5ECDC; color: #140D08; padding: 8%; }
.tan-cv b { display: block; font: 800 11cqw/.95 "Bricolage Grotesque", sans-serif; letter-spacing: -.045em; max-width: 9ch; }
.tan-cv img { position: absolute; right: 7%; bottom: 12%; width: 52%; aspect-ratio: 4 / 5; object-fit: cover; border: 2.4cqw solid #fff; border-bottom-width: 8cqw; transform: rotate(-7deg); box-shadow: 0 3cqw 5cqw rgba(60,30,10,.3); }
.tan-cv .sw { position: absolute; left: 8cqw; bottom: 7cqw; font: 500 3.6cqw/1 var(--mono); color: #8A4A1F; }
.tan-st { background: #140D08; color: #F5ECDC; display: grid; justify-items: center; align-content: center; gap: 3cqw; text-align: center; padding: 8%; }
.tan-st .tag { font: 600 4.2cqw/1 var(--mono); padding: 2.4cqw 4.4cqw; border-radius: 99px; background: #FF7A2E; color: #140D08; }
.tan-st img { width: 72%; aspect-ratio: 1; object-fit: cover; border-radius: 5cqw; }
.tan-st b { font: 800 11cqw/.9 "Bricolage Grotesque", sans-serif; letter-spacing: -.04em; }
.tan-st .sl { font-size: 4.4cqw; line-height: 1.3; color: #d8c8b1; } .tan-st .lk { font: 500 4.4cqw/1 var(--mono); color: #FFB37A; }
.lay-cv { background: #0A0705; color: #F1E6D2; display: grid; place-content: center; justify-items: center; gap: 5cqw; text-align: center; padding: 8%; }
.lay-cv img { width: 46%; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(circle, #000 52%, transparent 70%); mask-image: radial-gradient(circle, #000 52%, transparent 70%); }
.lay-cv b { font: 600 8.4cqw/1.05 "Cormorant", serif; letter-spacing: .05em; }
.lay-cv .pg { color: #b9a68a; }
.lay-st { background: #0A0705; color: #F1E6D2; display: grid; justify-items: center; align-content: center; gap: 3cqw; text-align: center; padding: 8%; }
.lay-st img { width: 46%; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(circle, #000 52%, transparent 70%); mask-image: radial-gradient(circle, #000 52%, transparent 70%); }
.lay-st .k { font: 500 4.4cqw/1 var(--mono); letter-spacing: .14em; color: #E0A356; }
.lay-st b { font: 600 21cqw/.9 "Cormorant", serif; }
.lay-st .sl { font-size: 4.4cqw; line-height: 1.3; color: #c9b89c; } .lay-st .ar { font: 700 9cqw/1 "Amiri", serif; color: #C99A3C; }
.say-cv { background: #FF6A1A; color: #0C0A08; padding: 8%; }
.say-cv b { display: block; font: 900 15cqw/.86 "Archivo", sans-serif; font-stretch: 64%; max-width: 8ch; }
.say-cv img { position: absolute; right: -10cqw; bottom: -10cqw; width: 80cqw; filter: drop-shadow(0 3cqw 3cqw rgba(0,0,0,.35)); }
.say-st { background: #0C0A08; color: #F4EFE4; display: grid; justify-items: center; align-content: center; gap: 4cqw; text-align: center; padding: 8%; }
.say-st .led { width: 100%; display: flex; justify-content: space-between; font: 400 5.6cqw/1 "DotGothic16", monospace; color: #FF6A1A; background: #000; padding: 3cqw 4cqw; border-radius: 2cqw; text-shadow: 0 0 2cqw rgba(255,106,26,.7); }
.say-st img { width: 74%; aspect-ratio: 1; object-fit: contain; }
.say-st b { font: 900 11cqw/.88 "Archivo", sans-serif; font-stretch: 64%; }
.say-st .ar { font: 900 8cqw/1 "Cairo", sans-serif; color: #FF6A1A; }

@media (max-width: 900px) {
  .feeds, .reels, .tpls { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .tpls { max-width: 520px; }
}
@media (prefers-reduced-motion: reduce) { .grid { animation: none; } }
