/* ==========================================================================
   Founder Island Fest — Instagram kit page
   Same tokens as the landing page (Version 2).
   ========================================================================== */

:root {
  --orange: #FF751F;
  --orange-hi: #FF9A55;
  --orange-ink: #B34A06;
  --purple: #975AB6;
  --pink: #E0607E;
  --gold: #F2C46B;

  --ink: #130C19;
  --ink-2: #1B1223;
  --ink-3: #2A1D35;
  --cream: #FBF6F0;
  --sand: #F3EAE1;
  --white: #FFFFFF;

  --text: #1C1422;
  --text-2: #5D5366;
  --text-3: #857B8E;
  --on-ink: #F8F3FA;
  --on-ink-2: rgba(248, 243, 250, .74);
  --on-ink-3: rgba(248, 243, 250, .52);
  --line: rgba(28, 20, 34, .1);
  --line-2: rgba(28, 20, 34, .18);

  --grad: linear-gradient(100deg, var(--orange) 0%, var(--pink) 52%, var(--purple) 100%);
  --r: 22px;
  --r-lg: 28px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --gutter: clamp(16px, 4.2vw, 44px);
  --font: "Work Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--on-ink); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
:where(.ig) :where(h1, h2, h3, p, ul, ol, figure) { margin: 0; }
:where(.ig) :where(ul, ol) { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.ig-wrap { position: relative; z-index: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- shared parts ---------- */
.ig-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); }
.ig-eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--grad); }
.ig-eyebrow--ink { color: var(--orange-ink); }

.scb { position: relative; display: inline-block; font-style: italic; font-weight: 300; letter-spacing: -.03em; padding-right: .08em; }
.scb svg { position: absolute; left: -3%; bottom: -.1em; width: 104%; height: .28em; overflow: visible; }
.scb path { fill: none; stroke: var(--orange); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 360; stroke-dashoffset: 360; animation: ig-draw 1.1s .5s var(--ease) forwards; }
@keyframes ig-draw { to { stroke-dashoffset: 0; } }

.ig-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; font-size: .95rem; font-weight: 700; letter-spacing: -.01em; cursor: pointer; transition: transform .3s var(--ease), background .3s, box-shadow .3s; }
.ig-btn:hover { transform: translateY(-2px); }
.ig-btn svg { flex: none; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ig-btn small { font-size: .8em; font-weight: 500; opacity: .75; }
.ig-btn--primary { background: var(--orange); color: var(--ink); box-shadow: 0 14px 32px -14px rgba(255, 117, 31, .85), inset 0 1px 0 rgba(255, 255, 255, .35); }
.ig-btn--primary:hover { background: var(--orange-hi); }
.ig-btn--glass { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.ig-btn--glass:hover { background: rgba(255, 255, 255, .14); }
.ig-btn--ink { background: var(--ink); color: #fff; }
.ig-btn--ink:hover { background: var(--ink-3); }
.ig-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.ig-btn--ghost:hover { background: rgba(255, 255, 255, .1); }

.ig-orb { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; }
.ig-orb--sun { width: 760px; height: 760px; left: -300px; bottom: -380px; background: radial-gradient(circle, rgba(255, 117, 31, .42) 0%, rgba(255, 117, 31, .12) 40%, transparent 68%); }
.ig-orb--violet { width: 820px; height: 820px; right: -320px; top: -360px; background: radial-gradient(circle, rgba(151, 90, 182, .5) 0%, rgba(151, 90, 182, .14) 42%, transparent 70%); }
.ig-orb--sec { top: auto; bottom: -420px; right: -360px; }

/* ---------- hero ---------- */
.ig-hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 84px) 0 clamp(44px, 6vw, 84px); }
.ig-hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 6vw, 88px); align-items: end; }
.ig-hero__logo { width: 132px; margin-bottom: clamp(22px, 3.4vw, 36px); }
.ig-hero h1 { margin-top: 18px; max-width: 14ch; font-size: clamp(2.5rem, 1.2rem + 4.2vw, 4.6rem); font-weight: 800; line-height: 1; letter-spacing: -.042em; text-wrap: balance; }
.ig-lead { max-width: 54ch; font-size: clamp(1.02rem, .95rem + .3vw, 1.15rem); color: var(--on-ink-2); }
.ig-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ig-meta li { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); font-size: .86rem; color: var(--on-ink-2); }
.ig-meta b { color: #fff; }
.ig-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ==========================================================================
   The Instagram profile preview, in Instagram's own light look
   (desktop web layout above 735 px, the phone app's layout below)
   ========================================================================== */
.igx, .igm, .igf, .igs {
  --igf: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ig-sub: #737373;
  --ig-line: #dbdbdb;
  --ig-soft: #efefef;
  --ig-blue: #4a5df9;
  --ig-link: #00376b;
  --ig-red: #ff3040;
  --ig-ring: linear-gradient(45deg, #feda75 0%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%);
  font-family: var(--igf);
  -webkit-font-smoothing: antialiased;
}
.igx svg, .igm svg, .igf svg, .igs svg { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.igx .f, .igm .f, .igf .f, .igs .f { fill: currentColor; stroke: none; }
/* a reset with no specificity, so every button's own style below wins over it */
:where(.igx, .igm, .igf, .igs) button { margin: 0; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }

.igx { position: relative; z-index: 1; background: #fff; color: #000; padding-bottom: clamp(48px, 6vw, 80px); }
.igx-note { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--ig-line); background: #fafafa; font-size: 13px; line-height: 1.4; color: var(--ig-sub); text-align: center; }
.igx-note span { flex: none; padding: 3px 9px; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--font); font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.igx-app { max-width: 790px; margin: 0 auto; padding: 38px 20px 0; }
.igx-bar { display: none; }

.igx-prof { display: grid; grid-template-columns: 184px minmax(0, 1fr); column-gap: 30px; align-items: start; }
.igx-ava { grid-row: 1 / 3; align-self: center; width: 184px; height: 184px; border-radius: 50%; }
.igx-ava__ring { display: block; width: 100%; height: 100%; padding: 5px; border-radius: 50%; background: var(--ig-ring); transition: transform .25s; }
.igx-ava:hover .igx-ava__ring { transform: scale(1.02); }
.igx-ava__in { display: grid; place-items: center; width: 100%; height: 100%; border: 5px solid #fff; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--ig-line); }
.igx-ava__in img { width: 70%; filter: invert(1); }
.igx-row { display: flex; align-items: center; gap: 10px; }
.igx-handle { font-size: 26px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.igx-row__dots svg { width: 22px; height: 22px; }
.igx-fullname { margin-top: 6px; font-size: 15px; }
.igx-stats { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px; font-size: 15px; }
.igx-stats b { font-weight: 600; }
.igx-bio { grid-column: 2; margin-top: 16px; font-size: 15px; line-height: 1.36; }
.igx-bio__cat { margin-bottom: 8px; color: var(--ig-sub); }
.igx-bio__more { color: var(--ig-sub); }
.igx-bio__link { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.igx-bio__link + .igx-bio__link { margin-top: 4px; }
.igx-bio__link svg { width: 17px; height: 17px; }
.igx-bio__link b { overflow: hidden; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }

.igx-btns { display: grid; grid-template-columns: 1fr 1fr 48px; gap: 8px; margin-top: 30px; }
.igx-btn { display: grid; place-items: center; height: 48px; border-radius: 10px; background: var(--ig-soft); font-size: 15px; font-weight: 600; }
.igx-btn--blue { background: var(--ig-blue); color: #fff; }
.igx-btn--icon svg { width: 20px; height: 20px; }

.igx-hls { display: flex; gap: 14px; margin-top: 46px; padding: 0 6px 4px; overflow-x: auto; scrollbar-width: none; }
.igx-hls::-webkit-scrollbar { display: none; }
.igx-hl { display: grid; justify-items: center; gap: 12px; width: 98px; }
.igx-hl__ring { display: block; width: 92px; height: 92px; padding: 4px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--ig-line); transition: transform .25s; }
.igx-hl:hover .igx-hl__ring { transform: scale(1.03); }
.igx-hl__ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 30%; }
.igx-hl__label { font-size: 13px; font-weight: 600; }

.igx-tabs { display: flex; justify-content: center; gap: clamp(60px, 16vw, 146px); margin-top: 44px; }
.igx-tabs span { position: relative; display: grid; place-items: center; width: 72px; height: 52px; color: var(--ig-sub); }
.igx-tabs span.is-on { color: #000; }
.igx-tabs span.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #000; }

.igx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; max-width: 975px; margin: 0 auto; padding: 0 20px; }
.igx-tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--ig-soft); }
.igx-tile img { width: 100%; height: 100%; object-fit: cover; }
.igx-tile::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .3); opacity: 0; transition: opacity .2s; }
.igx-tile:hover::after, .igx-tile:focus-visible::after { opacity: 1; }
.igx-tile__multi { position: absolute; z-index: 1; top: 9px; right: 9px; color: #fff; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }
.igx-tile__multi svg { width: 20px; height: 20px; }

/* ---------- desktop: a post opens over the page ---------- */
.igm { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .66); color: #000; }
.igm[hidden], .igf[hidden], .igs[hidden] { display: none; }
.igm [hidden], .igf [hidden], .igs [hidden] { display: none !important; }
.igm-x { position: fixed; top: 10px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; color: #fff; }
.igm-x svg { width: 26px; height: 26px; stroke-width: 2.2; }
.igm-nav { position: fixed; top: 50%; display: grid; place-items: center; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #000; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.igm-nav svg { width: 18px; height: 18px; stroke-width: 2.6; }
.igm-nav--prev { left: 22px; }
.igm-nav--next { right: 22px; }
.igm-box { display: flex; height: min(92vh, 900px, calc((100vw - 560px) * 1.25)); max-width: calc(100vw - 140px); border-radius: 4px; overflow: hidden; background: #fff; }
.igm-media { position: relative; flex: none; height: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: #000; user-select: none; }
.igm-track { display: flex; height: 100%; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.igm-slide { flex: 0 0 100%; height: 100%; }
.igm-slide img { width: 100%; height: 100%; object-fit: cover; }
.igm-cn { position: absolute; z-index: 1; top: 50%; display: grid; place-items: center; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: #000; box-shadow: 0 0 0 1px rgba(0, 0, 0, .2), 0 2px 12px rgba(0, 0, 0, .45); }
.igm-cn svg { width: 16px; height: 16px; stroke-width: 2.8; }
.igm-cn--prev { left: 12px; }
.igm-cn--next { right: 12px; }
.igm-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 5px; filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, .7)); }
.igm-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: background .2s; }
.igm-dots i.on { background: #fff; }
.ig-burst { position: absolute; z-index: 2; top: 50%; left: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; color: #fff; pointer-events: none; opacity: 0; filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .35)); }
.ig-burst svg { width: 100% !important; height: 100% !important; }
.ig-burst.go { animation: ig-burst .9s ease-out; }
@keyframes ig-burst { 0% { opacity: 0; transform: scale(.3); } 18% { opacity: 1; transform: scale(1.15); } 30% { transform: scale(.95); } 70% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.05); } }

.igm-side { display: flex; flex-direction: column; width: 420px; min-width: 0; }
.igm-head, .igf-head { display: flex; align-items: center; gap: 12px; }
.igm-head { padding: 14px 16px; border-bottom: 1px solid var(--ig-soft); font-size: 14px; }
.igm-head b, .igf-head b { font-weight: 600; }
.igm-follow { color: var(--ig-blue); font-weight: 600; }
.igm-head .igm-more, .igf-head .igm-more { margin-left: auto; }
.ig-ava { display: grid; place-items: center; flex: none; width: 34px; height: 34px; padding: 2px; border-radius: 50%; background: var(--ig-ring); }
.ig-ava span { display: grid; place-items: center; width: 100%; height: 100%; border: 2px solid #fff; border-radius: 50%; background: #fff; }
.ig-ava img { width: 70%; filter: invert(1); }
.igm-body { flex: 1 1 auto; display: flex; flex-direction: column; overflow-y: auto; padding: 16px; font-size: 14px; line-height: 1.3; }
.igm-cap { display: flex; gap: 14px; }
.igm-cap p { white-space: pre-line; overflow-wrap: anywhere; }
.igm-cap time { display: block; margin-top: 10px; font-size: 12px; color: var(--ig-sub); }
.ig-hash { color: var(--ig-link); }
.igm-empty { margin: auto 0; padding: 30px 0; text-align: center; }
.igm-empty b { display: block; font-size: 22px; font-weight: 700; }
.igm-empty span { display: block; margin-top: 6px; color: var(--ig-sub); }
.igm-foot { padding: 6px 16px 14px; border-top: 1px solid var(--ig-soft); font-size: 14px; }
.ig-acts { display: flex; align-items: center; gap: 4px; margin: 0 -8px; }
.ig-acts button { display: grid; place-items: center; width: 40px; height: 40px; transition: transform .15s; }
.ig-acts button:active { transform: scale(.88); }
.ig-acts .ig-save { margin-left: auto; }
.ig-like.is-on { color: var(--ig-red); }
.ig-like.is-on svg, .ig-save.is-on svg { fill: currentColor; }
.ig-likes { margin-top: 4px; font-weight: 600; }
.ig-likes span { font-weight: 400; }
.igm-foot time { display: block; margin-top: 6px; font-size: 12px; color: var(--ig-sub); }
.igm-add { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--ig-soft); }
.igm-add input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 14px; color: #000; }
.igm-add input::placeholder { color: var(--ig-sub); }
.igm-add b { color: var(--ig-blue); font-size: 14px; font-weight: 600; opacity: .35; }

/* ---------- phones: the app's post view (a feed that starts at the post) ---------- */
.igf { position: fixed; inset: 0; z-index: 1000; overflow-y: auto; overscroll-behavior: contain; background: #fff; color: #000; -webkit-overflow-scrolling: touch; }
.igf-bar { position: sticky; top: 0; z-index: 3; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; height: 50px; padding: 0 4px; border-bottom: 1px solid var(--ig-line); background: #fff; }
.igf-back { display: grid; place-items: center; width: 44px; height: 44px; }
.igf-bar p { text-align: center; line-height: 1.15; }
.igf-bar small { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: var(--ig-sub); text-transform: uppercase; }
.igf-bar b { font-size: 16px; font-weight: 700; }
.igf-post { padding-bottom: 14px; scroll-margin-top: 50px; }
.igf-head { padding: 10px 12px; font-size: 14px; }
.igf-media { position: relative; background: #000; }
.igf-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.igf-track::-webkit-scrollbar { display: none; }
.igf-slide { flex: 0 0 100%; scroll-snap-align: start; }
.igf-slide img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.igf-count { position: absolute; top: 12px; right: 12px; padding: 4px 9px; border-radius: 999px; background: rgba(0, 0, 0, .62); color: #fff; font-size: 12px; font-weight: 600; }
.igf-foot { position: relative; padding: 4px 12px 0; font-size: 14px; line-height: 1.3; }
.igf-dots { position: absolute; top: 20px; left: 50%; display: flex; gap: 4px; transform: translateX(-50%); }
.igf-dots i { width: 6px; height: 6px; border-radius: 50%; background: #c7c7c7; }
.igf-dots i.on { background: var(--ig-blue); }
.igf-cap { margin-top: 4px; white-space: pre-line; overflow-wrap: anywhere; }
.igf-cap.is-short { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.igf-more { margin-top: 2px; color: var(--ig-sub); font-size: 14px; }
.igf-foot time { display: block; margin-top: 6px; font-size: 12px; color: var(--ig-sub); }

/* ---------- stories ---------- */
.igs { position: fixed; inset: 0; z-index: 1001; display: grid; place-items: center; background: #1a1a1a; color: #fff; }
.igs-frame { position: relative; height: min(100vh - 40px, 920px); aspect-ratio: 9 / 16; overflow: hidden; border-radius: 10px; background: #000; user-select: none; }
.igs-frame > img { width: 100%; height: 100%; object-fit: contain; }
.igs-top { position: absolute; z-index: 2; top: 0; left: 0; right: 0; padding: 10px 10px 30px; border-radius: 10px 10px 0 0; background: linear-gradient(180deg, rgba(0, 0, 0, .45), transparent); }
.igs-bars { display: flex; gap: 4px; }
.igs-bars i { position: relative; flex: 1; height: 2.5px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, .35); }
.igs-bars i::after { content: ""; position: absolute; inset: 0; width: var(--p, 0%); background: #fff; }
.igs-bars i.run::after { animation: igs-fill 5s linear forwards; }
@keyframes igs-fill { from { width: 0; } to { width: 100%; } }
.igs-head { display: flex; align-items: center; gap: 9px; margin-top: 10px; font-size: 14px; }
.igs-head .ig-ava { width: 32px; height: 32px; }
.igs-head b { font-weight: 600; }
.igs-head small { color: rgba(255, 255, 255, .7); font-size: 13px; }
.igs-head .igs-close { display: grid; place-items: center; width: 36px; height: 36px; margin-left: auto; }
.igs-tap { position: absolute; z-index: 1; top: 0; bottom: 0; width: 50%; }
.igs-tap--prev { left: 0; cursor: w-resize; }
.igs-tap--next { right: 0; cursor: e-resize; }
.igs-nav { position: absolute; z-index: 2; top: 50%; display: grid; place-items: center; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: #000; box-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.igs-nav svg { width: 16px; height: 16px; stroke-width: 2.8; }
.igs-nav--prev { left: -48px; }
.igs-nav--next { right: -48px; }
.igs-frame { overflow: visible; }
.igs-frame > img { border-radius: 10px; }

@media (max-width: 900px) {
  .igm-side { width: 340px; }
  .igm-box { height: min(92vh, 900px, calc((100vw - 480px) * 1.25)); }
}
/* portrait tablets: the photo on top, the caption panel under it, so the photo stays large */
@media (min-width: 736px) and (max-width: 1100px) and (orientation: portrait) {
  .igm-box { flex-direction: column; width: min(calc(100vw - 110px), calc((92vh - 310px) * .8)); height: auto; max-width: none; }
  .igm-media { width: 100%; height: auto; }
  .igm-side { width: 100%; height: 310px; }
  .igm-body { padding: 12px 16px; }
  .igm-empty { display: none; }
}
/* phones: Instagram's app layout */
@media (max-width: 735px) {
  .igx { padding-bottom: 0; }
  .igx-note { font-size: 12px; text-align: left; justify-content: flex-start; }
  .igx-app { padding: 0; }
  .igx-bar { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; height: 46px; padding: 0 8px; border-bottom: 1px solid var(--ig-line); }
  .igx-bar__name { font-size: 16px; font-weight: 700; text-align: center; }
  .igx-bar__icon { display: grid; place-items: center; }
  .igx-prof { grid-template-columns: 86px minmax(0, 1fr); column-gap: 22px; padding: 14px 16px 0; }
  .igx-ava { grid-row: 1; width: 86px; height: 86px; }
  .igx-ava__ring { padding: 3px; }
  .igx-ava__in { border-width: 3px; }
  .igx-row { display: none; }
  .igx-fullname { margin-top: 2px; font-size: 14px; font-weight: 600; }
  .igx-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 0 10px; margin-top: 8px; font-size: 13px; }
  .igx-stats li { display: grid; line-height: 1.25; }
  .igx-stats b { font-size: 16px; }
  .igx-bio { grid-column: 1 / -1; margin-top: 12px; font-size: 14px; }
  .igx-bio__cat { margin-bottom: 2px; }
  .igx-btns { grid-template-columns: 1fr 1fr 34px; gap: 6px; margin: 14px 16px 0; }
  .igx-btn { height: 34px; border-radius: 8px; font-size: 14px; }
  .igx-btn--icon svg { width: 16px; height: 16px; }
  .igx-hls { gap: 10px; margin-top: 18px; padding: 0 12px 2px; }
  .igx-hl { width: 72px; gap: 6px; }
  .igx-hl__ring { width: 66px; height: 66px; padding: 3px; }
  .igx-hl__label { font-size: 12px; font-weight: 400; }
  .igx-tabs { justify-content: space-around; gap: 0; margin-top: 14px; }
  .igx-tabs span { flex: 1; width: auto; height: 46px; }
  .igx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; padding: 0; }
  .igx-tile__multi { top: 6px; right: 6px; }
  .igx-tile__multi svg { width: 16px; height: 16px; }
  .igs-frame { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
  .igs-frame > img { border-radius: 0; }
  .igs-nav { display: none; }
}

/* ---------- sections ---------- */
.ig-sec { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 128px) 0; }
.ig-sec--cream { background: var(--cream); color: var(--text); }
.ig-sec--white { background: var(--white); color: var(--text); }
.ig-sec--ink { background: var(--ink); color: var(--on-ink); }
.ig-sechead { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.ig-sechead h2 { margin-top: 14px; font-size: clamp(2rem, 1.2rem + 2.8vw, 3.4rem); font-weight: 800; line-height: 1.03; letter-spacing: -.036em; text-wrap: balance; }
.ig-sechead p { margin-top: 16px; font-size: 1.05rem; color: var(--text-2); }
.ig-sec--ink .ig-sechead p { color: var(--on-ink-2); }

/* ---------- a post ---------- */
.ig-list { display: grid; gap: clamp(48px, 7vw, 96px); }
.ig-post { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; scroll-margin-top: 24px; }
.ig-post__img, .ig-car { border-radius: var(--r); overflow: hidden; box-shadow: 0 2px 4px rgba(19, 12, 25, .05), 0 40px 80px -36px rgba(19, 12, 25, .45); }
.ig-post__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ig-post__no { display: flex; align-items: center; gap: 12px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.ig-post__no b { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 12px; background: var(--ink); color: #fff; font-size: .95rem; letter-spacing: 0; }
.ig-post h3 { margin-top: 18px; font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.1rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.ig-post__why { margin-top: 10px; font-size: 1rem; color: var(--text-2); }

.ig-cap { margin: 24px 0 20px; border-radius: 18px; background: var(--white); box-shadow: 0 1px 2px rgba(19, 12, 25, .05), 0 12px 30px -18px rgba(19, 12, 25, .22), inset 0 0 0 1px var(--line); }
.ig-cap__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 18px; border-bottom: 1px solid var(--line); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.ig-copy { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(255, 117, 31, .12); color: var(--orange-ink); font-size: .85rem; font-weight: 700; letter-spacing: 0; text-transform: none; cursor: pointer; transition: background .25s; }
.ig-copy:hover { background: rgba(255, 117, 31, .2); }
.ig-copy svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ig-copy.is-done { background: #E6F4EA; color: #1E6B34; }
.ig-cap__text { overflow: auto; padding: 16px 18px 18px; white-space: pre-line; font-size: .93rem; line-height: 1.55; color: var(--text); overscroll-behavior: contain; }

.ig-dl-set { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ig-dl-set > span { margin-right: 4px; font-size: .88rem; font-weight: 700; color: var(--text-2); }
.ig-chipbtn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; transition: background .25s, transform .25s var(--ease); }
.ig-chipbtn:hover { background: var(--orange); color: var(--ink); transform: translateY(-2px); }

/* the carousel */
.ig-car { position: relative; background: var(--ink); }
.ig-car__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.ig-car__track::-webkit-scrollbar { display: none; }
.ig-car__slide { flex: 0 0 100%; scroll-snap-align: start; }
.ig-car__slide img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ig-car__nav { position: absolute; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--ink); box-shadow: 0 0 0 1px rgba(0, 0, 0, .2), 0 2px 12px rgba(0, 0, 0, .45); cursor: pointer; transition: opacity .25s, transform .25s var(--ease); }
.ig-car__nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ig-car__nav--prev { left: 12px; }
.ig-car__nav--prev svg { transform: rotate(180deg); }
.ig-car__nav--next { right: 12px; }
.ig-car__nav[disabled] { opacity: 0; pointer-events: none; }
.ig-car__dots { position: absolute; left: 0; right: 0; bottom: 4px; display: flex; justify-content: center; gap: 0; filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, .7)); }
.ig-car__dot { width: 36px; height: 36px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.ig-car__dot::before { content: ""; display: block; width: 7px; height: 7px; margin: auto; border-radius: 50%; background: rgba(255, 255, 255, .5); transition: background .25s, transform .25s; }
.ig-car__dot.is-on::before { background: var(--orange); transform: scale(1.25); }

/* ---------- stories ---------- */
.ig-stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.ig-story figure { border-radius: var(--r); overflow: hidden; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); }
.ig-story img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.ig-story h3 { margin-top: 20px; font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }
.ig-story p { margin-top: 6px; font-size: .95rem; color: var(--on-ink-2); }
.ig-story .ig-btn { margin-top: 16px; }

/* ---------- keep the look ---------- */
.ig-guide { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.ig-guide__h { margin: 0 0 16px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); }
.ig-guide__h + .ig-type { margin-top: 0; }
.ig-sec--cream .ig-type { background: var(--white); }
.ig-swatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 40px; }
.ig-sw { display: grid; gap: 2px; font-size: .82rem; color: var(--text-2); }
.ig-sw__chip { height: 72px; margin-bottom: 8px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line-2); }
.ig-sw b { color: var(--text); font-size: .95rem; }
.ig-sw code { font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: .8rem; color: var(--text-3); }
.ig-type { padding: 26px 28px; border-radius: var(--r); background: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.ig-type__a { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 800; line-height: 1.05; letter-spacing: -.04em; }
.ig-type__b { margin-top: 4px; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 800; line-height: 1.15; letter-spacing: -.04em; }
.ig-type__c { margin-top: 18px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--orange-ink); }
.ig-rules { counter-reset: r; display: grid; gap: 4px; }
.ig-rules li { counter-increment: r; position: relative; padding: 20px 0 20px 64px; border-top: 1px solid var(--line); color: var(--text-2); }
.ig-rules li:last-child { border-bottom: 1px solid var(--line); }
.ig-rules li::before { content: counter(r, decimal-leading-zero); position: absolute; left: 0; top: 18px; font-size: 1.6rem; font-weight: 800; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ig-rules b { display: block; margin-bottom: 2px; color: var(--text); font-size: 1.05rem; }

/* ---------- footer ---------- */
.ig-foot { padding: 40px var(--gutter) 48px; background: var(--ink); border-top: 1px solid rgba(255, 255, 255, .08); }
.ig-made { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: .88rem; color: var(--on-ink-3); }
.ig-made span { display: inline-flex; align-items: center; gap: 6px; }
.ig-made__heart { width: 15px; height: 15px; fill: var(--orange); }
.ig-made img { width: auto; height: 22px; }

/* ---------- smaller screens ---------- */
@media (max-width: 960px) {
  .ig-hero__in { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .ig-post { grid-template-columns: minmax(0, 1fr); }
  .ig-post__img, .ig-car { max-width: 520px; }
  .ig-guide { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .ig-stories { display: flex; gap: 14px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .ig-stories::-webkit-scrollbar { display: none; }
  .ig-story { flex: 0 0 76%; scroll-snap-align: center; }
  .ig-swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ig-actions .ig-btn { width: 100%; }
  .ig-cap__text { max-height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scb path { animation: none; stroke-dashoffset: 0; }
  .ig-btn, .ig-chipbtn, .igm-track, .igx-ava__ring, .igx-hl__ring { transition: none; }
  .ig-burst.go { animation: none; }
}
