/* =========================================================
   Vishal Naik — Portfolio
   Clean & minimal. One accent, one type system.
   ========================================================= */

:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --ink: #17161a;
  --ink-soft: #55535c;
  --line: #e6e3dc;
  --accent: #ff5a3c;      /* single accent, used sparingly */
  --accent-ink: #ffffff;
  --radius: 14px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #100f12;
    --surface: #17161a;
    --ink: #f4f2ee;
    --ink-soft: #a4a1aa;
    --line: #2a2830;
    --accent: #ff6a4d;
    --accent-ink: #17161a;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Instrument Sans", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.1rem;
}

em { font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.98rem;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); }

.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.9rem; }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.1rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(12px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: 68px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav__brand {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.nav__links {
  display: flex;
  gap: 1.8rem;
  margin-left: auto;
  font-size: 0.96rem;
}
.nav__links a {
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__toggle { display: none; }

/* ---------- Layout helpers ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 6.5rem 1.5rem;
}
.section__head { margin-bottom: 3rem; max-width: 55ch; }
.section__title { font-size: clamp(2rem, 5vw, 3.2rem); }
.section__note { color: var(--ink-soft); margin-top: 1rem; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 4rem 1.5rem 3.5rem;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  min-height: 72vh;
}
.hero__title {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  margin: 0.4rem 0 1.6rem;
}
.hero__lede {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 2.2rem;
}
.hero__cta { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 9 / 11;
  border: 1px solid var(--line);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Discipline strip (marquee) ---------- */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 1.2rem 0;
  background: var(--surface);
}
.strip__track {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: marquee 34s linear infinite;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.35rem;
  font-weight: 500;
}
.strip__track span[aria-hidden] { color: var(--accent); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Work ---------- */
.work {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
.work__item {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease);
}
.work__item--wide { grid-column: span 2; }
.work__item:hover { transform: translateY(-4px); }
.work__thumb { overflow: hidden; aspect-ratio: 3 / 2; }
.work__item:not(.work__item--wide) .work__thumb { aspect-ratio: 4 / 5; }
.work__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.work__item:hover .work__thumb img { transform: scale(1.04); }
.work__meta { padding: 1.2rem 1.4rem 1.5rem; }
.work__meta h3 { font-size: 1.3rem; }
.work__meta p { color: var(--ink-soft); font-size: 0.95rem; margin-top: 0.35rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 5rem 1.5rem 3.5rem;
}
.page-hero__inner { max-width: 62ch; }
.page-hero__title { font-size: clamp(2.4rem, 6vw, 4.2rem); margin: 0.3rem 0 1.3rem; }
.page-hero__lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 52ch; }

.backlink {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 1.6rem;
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}
.backlink:hover { color: var(--ink); gap: 0.6rem; }

/* ---------- Category cards (featured + work index) ---------- */
.section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: none;
}
.section__head--row .eyebrow { margin-bottom: 0.6rem; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
.cat-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Feature video (homepage spotlight) ---------- */
.feature-video {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  margin-bottom: 1.6rem;
  transition: transform 0.35s var(--ease);
}
.feature-video:hover { transform: translateY(-4px); }
.feature-video__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.feature-video__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.feature-video:hover .feature-video__media img { transform: scale(1.04); }
.feature-video__play {
  position: absolute; inset: 0; margin: auto;
  width: 66px; height: 66px;
  display: flex; align-items: center; justify-content: center;
  padding-left: 4px;
  background: rgba(255, 255, 255, 0.92);
  color: #17161a;
  border-radius: 999px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s var(--ease);
}
.feature-video:hover .feature-video__play { transform: scale(1.08); }
.feature-video__badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--accent); color: var(--accent-ink);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 0.4rem 0.75rem; border-radius: 999px;
}
.feature-video__body { padding: 2rem 2.5rem 2rem 0; }
.feature-video__body h3 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  margin: 0.5rem 0 0.8rem;
}
.feature-video__body p { color: var(--ink-soft); max-width: 46ch; margin-bottom: 1.3rem; }
.feature-video__cta { color: var(--accent); font-weight: 600; }

.work-cta { text-align: center; margin-top: 2.6rem; }
.cat-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease);
}
.cat-card--wide { grid-column: span 2; }
.cat-card:hover { transform: translateY(-4px); }
.cat-card__thumb { overflow: hidden; aspect-ratio: 4 / 5; }
.cat-card--wide .cat-card__thumb { aspect-ratio: 3 / 2; }
.cat-card__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
}
.cat-card:hover .cat-card__thumb img { transform: scale(1.04); }
.cat-card__meta { padding: 1.3rem 1.5rem 1.6rem; }
.cat-card__count {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.cat-card__meta h3 { font-size: 1.5rem; margin: 0.4rem 0 0.35rem; }
.cat-card__meta p { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- Photography page ---------- */
.pg-cover-wrap {
  max-width: var(--maxw);
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem;
}
.pg-cover {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.pg-gallery {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
}
.pg-item {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--line);
  cursor: zoom-in;
  background: var(--surface);
  /* width/height set inline by the justified-layout script */
}
.pg-item img {
  width: 100%; height: 100%; display: block; object-fit: cover;
  transition: transform 0.6s var(--ease), opacity 0.3s var(--ease);
}
.pg-item:hover img { transform: scale(1.03); opacity: 0.94; }
/* Fallback before JS runs / if JS disabled: simple responsive columns */
.pg-gallery.no-js { display: block; column-count: 3; column-gap: 8px; }
.pg-gallery.no-js .pg-item { width: auto; height: auto; margin: 0 0 8px; break-inside: avoid; }
.pg-gallery.no-js .pg-item img { height: auto; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10, 9, 12, 0.93);
  display: none; align-items: center; justify-content: center;
  padding: 4vh 4vw;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 100%; max-height: 92vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12); color: #fff; border: 0;
  width: 52px; height: 52px; border-radius: 999px;
  font-size: 1.5rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s var(--ease);
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox__prev { left: 2vw; }
.lightbox__next { right: 2vw; }
.lightbox__close {
  top: 2.5vh; right: 2vw; transform: none;
  width: 44px; height: 44px; font-size: 1.2rem;
}
@media (max-width: 560px) { .lightbox__btn { width: 42px; height: 42px; } }

/* ---------- PR & communications page ---------- */
.pr-section { max-width: 1040px; margin: 0 auto; }
.pr-section + .pr-section { border-top: 1px solid var(--line); }
.pr-section__title { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.pr-section__note { color: var(--ink-soft); margin-top: 0.8rem; max-width: 58ch; }
.press-list { margin-top: 2rem; border-top: 1px solid var(--line); }
.press-item {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.4rem 0.4rem;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.3s var(--ease), background 0.3s var(--ease);
}
.press-item:hover { padding-left: 0.9rem; }
.press-item__date {
  color: var(--accent);
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
}
.press-item__main h3 { font-size: 1.12rem; }
.press-item__outlet { color: var(--ink-soft); font-size: 0.86rem; margin-top: 0.25rem; }
.press-item__go {
  color: var(--ink-soft);
  font-size: 0.9rem;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}
.press-item:hover .press-item__go { color: var(--accent); }
@media (max-width: 640px) {
  .press-item { grid-template-columns: 1fr; gap: 0.4rem; padding: 1.2rem 0; }
  .press-item__go { justify-self: start; }
}

/* ---------- Page stats row (reusable) ---------- */
.page-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
  margin: 2rem 0 0;
  padding: 1.6rem 0 0;
  border-top: 1px solid var(--line);
}
.page-stats li { display: flex; flex-direction: column; }
.page-stats strong {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.9rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.page-stats span { color: var(--ink-soft); font-size: 0.88rem; margin-top: 0.15rem; }

/* ---------- Newsletters page ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.news-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  transition: transform 0.35s var(--ease);
}
.news-card:hover { transform: translateY(-4px); }
.news-card__cover {
  position: relative;
  aspect-ratio: 6 / 5;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.news-card__cover img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1);
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}
.news-card:hover .news-card__cover img { transform: scale(1.04); filter: grayscale(0); }
.news-card__tag {
  position: absolute; top: 0.9rem; left: 0.9rem;
  background: var(--ink); color: var(--bg);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em;
  padding: 0.3rem 0.65rem; border-radius: 999px;
}
.news-card__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.news-card__date { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.news-card__body h3 { font-size: 1.2rem; margin: 0.4rem 0 0.5rem; }
.news-card__body p { color: var(--ink-soft); font-size: 0.9rem; flex: 1; }
.news-card__link { margin-top: 1rem; color: var(--accent); font-weight: 600; font-size: 0.9rem; }
@media (max-width: 860px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .news-grid { grid-template-columns: 1fr; } }

/* ---------- Websites & landing pages ---------- */
.site-case {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
}
.site-case + .site-case { border-top: 1px solid var(--line); }
.site-case--flip { grid-template-columns: 0.85fr 1.15fr; }
.site-case--flip .browser { order: 2; }
.browser {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s var(--ease);
}
.site-case:hover .browser { transform: translateY(-4px); }
.browser__bar {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--ink) 4%, var(--surface));
}
.browser__dot { width: 11px; height: 11px; border-radius: 999px; background: var(--line); }
.browser__dot:nth-child(1) { background: #ff5f57; }
.browser__dot:nth-child(2) { background: #febc2e; }
.browser__dot:nth-child(3) { background: #28c840; }
.browser__addr {
  margin: 0 auto;
  font-size: 0.78rem;
  color: var(--ink-soft);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.9rem;
  max-width: 60%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.browser__shot { aspect-ratio: 3 / 2; overflow: hidden; }
.browser__shot img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
}
.site-case__body .eyebrow { margin-bottom: 0.8rem; }
.site-case__body h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.site-case__type { color: var(--ink-soft); font-size: 0.9rem; margin-top: 0.4rem; }
.site-case__body p { color: var(--ink-soft); margin: 1.1rem 0 1.6rem; max-width: 46ch; }
@media (max-width: 820px) {
  .site-case { grid-template-columns: 1fr; gap: 1.8rem; padding: 3rem 0; }
  .site-case--flip .browser { order: 0; }
}

/* ---------- Video production page ---------- */
.vid-series { max-width: 1040px; margin: 0 auto; }
.vid-series + .vid-series { border-top: 1px solid var(--line); }
.vid-series__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.vid-series__head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.vid-series__intro { color: var(--ink-soft); max-width: 60ch; margin-top: 0.9rem; font-size: 1.02rem; }
.vid-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 1.8rem;
}
.vid-card { display: block; }
.vid-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.vid-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease), filter 0.3s var(--ease);
}
.vid-card:hover .vid-thumb img { transform: scale(1.05); filter: brightness(0.85); }
.vid-play {
  position: absolute; inset: 0; margin: auto;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  padding-left: 3px;
  background: rgba(255, 255, 255, 0.92);
  color: #17161a;
  border-radius: 999px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.3);
  opacity: 0.6;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.vid-card:hover .vid-play { transform: scale(1.1); opacity: 1; }
.vid-play svg { width: 22px; height: 22px; }
.vid-badge {
  position: absolute; right: 0.6rem; bottom: 0.6rem;
  background: rgba(0, 0, 0, 0.78); color: #fff;
  font-size: 0.72rem; font-weight: 600;
  padding: 0.2rem 0.5rem; border-radius: 5px;
}
.vid-card h3 { font-size: 1.05rem; margin-top: 0.8rem; }
.vid-card p { color: var(--ink-soft); font-size: 0.86rem; margin-top: 0.25rem; }
@media (max-width: 760px) { .vid-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .vid-grid { grid-template-columns: 1fr; } }

/* ---------- Instagram profile blocks (social page) ---------- */
.brand-block { padding-top: 3rem; padding-bottom: 3rem; }
.brand-block + .brand-block { border-top: 1px solid var(--line); }
.ig-profile { max-width: 880px; margin: 0 auto; }
.ig-profile__head {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  margin-bottom: 1.6rem;
}
.ig-avatar {
  flex: none;
  width: 84px; height: 84px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink);
  color: var(--bg);
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
}
.ig-avatar img {
  width: 100%; height: 100%; object-fit: cover; border-radius: inherit;
  filter: grayscale(1);
  transition: filter 0.5s var(--ease);
}
.ig-avatar:hover img { filter: grayscale(0); }
.ig-profile__info { flex: 1; min-width: 0; }
.ig-profile__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.ig-profile__top h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.ig-handle { color: var(--ink-soft); margin-top: 0.15rem; }
.ig-stats {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  margin-top: 0.7rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  flex-wrap: wrap;
}
.ig-stats strong { color: var(--ink); font-weight: 600; }
.brand-block__intro {
  color: var(--ink-soft);
  max-width: 60ch;
  margin-bottom: 1.8rem;
  font-size: 1.05rem;
}
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.ig-post {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.ig-post img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.5s var(--ease), transform 0.6s var(--ease);
}
.ig-post:hover img { filter: grayscale(0); transform: scale(1.04); }
/* IndiQube posts use portrait 4:5 */
#indiqube .ig-post { aspect-ratio: 4 / 5; }

@media (max-width: 560px) {
  .ig-profile__head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .ig-avatar { width: 68px; height: 68px; font-size: 1.5rem; }
  .ig-grid { gap: 0.35rem; }
}

/* ================= LinkedIn page (scoped to .li-page) ================= */
.li-page { --li-blue: #0a66c2; }
.li-page .page-hero .eyebrow { color: var(--li-blue); }
.li-page .brand-block { padding-top: 2.2rem; padding-bottom: 2.2rem; }
.li-page .brand-block + .brand-block { border-top: none; }

/* Profile as a LinkedIn-style card with banner */
.li-page .ig-profile {
  max-width: 900px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.li-page .ig-profile::before {
  content: "";
  display: block;
  height: 84px;
  background: linear-gradient(120deg, #0a66c2 0%, #378fe9 100%);
}
.li-page .ig-profile__head {
  display: block;
  padding: 0 1.6rem 1.3rem;
}
.li-page .ig-avatar {
  width: 96px; height: 96px;
  margin-top: -48px;
  margin-bottom: 0.9rem;
  border: 4px solid var(--surface);
  font-size: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.li-page .ig-profile__top { justify-content: space-between; }
.li-page .li-tagline { color: var(--ink); font-size: 1.02rem; margin: 0.1rem 0 0.15rem; }
.li-page .li-verified {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; vertical-align: middle;
  background: var(--li-blue); color: #fff;
  border-radius: 999px; font-size: 0.7rem; font-weight: 700;
}
.li-page .ig-handle { display: flex; align-items: center; gap: 0.4rem; }
.li-page .li-in {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 4px;
  background: var(--li-blue); color: #fff;
  font-size: 0.7rem; font-weight: 700; font-family: "Bricolage Grotesque", sans-serif;
}
.li-page .ig-profile__top .btn {
  background: var(--li-blue);
  border-color: var(--li-blue);
  color: #fff;
}
.li-page .ig-profile__top .btn:hover { filter: brightness(1.08); }
.li-page .brand-block__intro {
  padding: 0 1.6rem;      /* align with avatar / header inset */
  max-width: 680px;       /* tighter measure, doesn't run edge to edge */
  margin-top: 0.2rem;
}

/* Feed posts */
.li-posts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.3rem;
  margin-top: 1.8rem;
  padding: 0 1.6rem 0.4rem;  /* align with avatar / header inset */
}
.li-post {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.li-post__head {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 1rem 1.1rem 0.5rem;
}
.li-post__ava {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 1.05rem;
}
.li-post__who strong { font-size: 0.9rem; font-weight: 600; line-height: 1.25; }
.li-post__deg { color: var(--ink-soft); font-weight: 400; }
.li-post__who span { display: block; color: var(--ink-soft); font-size: 0.76rem; line-height: 1.35; }
.li-post__time { display: flex; align-items: center; gap: 0.3rem; }
.li-post__time svg { width: 12px; height: 12px; }
.li-post__text {
  padding: 0.2rem 1.1rem 0.85rem;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.55;
}
.li-post__img {
  aspect-ratio: 1.91 / 1;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.li-post__img a { display: block; width: 100%; height: 100%; }
.li-post__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.li-post:hover .li-post__img img { transform: scale(1.03); }
.li-post__stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.1rem;
  color: var(--ink-soft);
  font-size: 0.76rem;
}
.li-react { font-size: 0.85rem; letter-spacing: -0.12em; margin-right: 0.35rem; }
.li-post__actions {
  display: flex;
  border-top: 1px solid var(--line);
  padding: 0.3rem 0.5rem;
}
.li-post__actions button {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  background: none; border: 0;
  padding: 0.6rem 0.3rem;
  color: var(--ink-soft);
  font: inherit; font-size: 0.8rem; font-weight: 600;
  cursor: pointer; border-radius: 6px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.li-post__actions button:hover {
  background: color-mix(in srgb, var(--ink) 7%, transparent);
  color: var(--ink);
}
.li-post__actions svg { width: 18px; height: 18px; }

@media (max-width: 640px) {
  .li-posts { grid-template-columns: 1fr; }
  .li-post__actions button span { display: none; }
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}
.about__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__copy p { color: var(--ink-soft); margin-top: 1.1rem; max-width: 56ch; }
.about__copy .section__title { color: var(--ink); }
.about__facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  margin-top: 2.2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.about__facts li { display: flex; flex-direction: column; }
.about__facts strong {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.7rem;
  color: var(--ink);
}
.about__facts span { color: var(--ink-soft); font-size: 0.9rem; }

/* ---------- Services: statement style ---------- */
.statement { text-align: left; }
.statement .eyebrow { margin-bottom: 1.6rem; }
.statement__text {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(1.75rem, 4.6vw, 3.4rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
  max-width: min(100%, 60rem);
}
.statement__key {
  color: var(--accent);
  transition: color 0.3s var(--ease);
}
.statement__text:hover .statement__key { color: var(--accent); }
.statement__sub {
  margin-top: 2rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 46ch;
}

/* ---------- Services: numbered list (legacy / reusable) ---------- */
.services__list {
  border-top: 1px solid var(--line);
}
.service {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: padding-left 0.3s var(--ease);
}
.service:hover { padding-left: 0.6rem; }
.service__num {
  font-family: "Bricolage Grotesque", sans-serif;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 600;
}
.service h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: 0.5rem; }
.service p { color: var(--ink-soft); max-width: 58ch; }

/* ---------- Newsletter ---------- */
.newsletter { }
.newsletter__inner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.newsletter__copy p { color: var(--ink-soft); margin-top: 1rem; max-width: 42ch; }
.newsletter__form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
  color: var(--ink);
}
.newsletter__field { display: flex; gap: 0.6rem; }
.newsletter__field input {
  flex: 1;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 0.98rem;
}
.newsletter__field input::placeholder { color: var(--ink-soft); }
.newsletter__field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.newsletter__hint { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.8rem; }

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact__inner { max-width: 60ch; margin: 0 auto; }
.contact__title { font-size: clamp(2.2rem, 6vw, 4rem); margin-bottom: 1.2rem; }
.contact p { color: var(--ink-soft); font-size: 1.15rem; margin-bottom: 2rem; }
.contact__social {
  list-style: none;
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 2.5rem;
  font-size: 0.98rem;
}
.contact__social a { color: var(--ink-soft); transition: color 0.2s var(--ease); }
.contact__social a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.footer__top { color: var(--ink-soft); transition: color 0.2s var(--ease); }
.footer__top:hover { color: var(--ink); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.2rem; min-height: 0; }
  .hero__media { order: -1; max-height: 60vh; aspect-ratio: 4/3; }
  .about__grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .about__media { max-height: 60vh; }
  .newsletter__inner { grid-template-columns: 1fr; padding: 2.2rem; }
  .work { grid-template-columns: 1fr; }
  .work__item--wide { grid-column: span 1; }
  .cat-grid, .cat-grid--3 { grid-template-columns: 1fr; }
  .cat-card--wide { grid-column: span 1; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .feature-video { grid-template-columns: 1fr; gap: 0; }
  .feature-video__media { aspect-ratio: 4 / 3; }
  .feature-video__body { padding: 1.8rem; }

  .nav__links, .nav__inner > .btn { display: none; }
  .nav__toggle {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: 0; cursor: pointer; padding: 6px;
  }
  .nav__toggle span {
    width: 24px; height: 2px; background: var(--ink);
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 0.5rem 1.5rem 1.5rem;
  }
  .nav.is-open .nav__links a { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(3px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
}

@media (max-width: 560px) {
  .section { padding: 4.5rem 1.25rem; }
  .footer { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
