/* ==========================================================================
   KINETIKA THEME — Creative Agency & Portfolio
   Design language: editorial black & paper, acid-lime accent, sharp corners,
   oversized Syne display type and hover-reveal imagery.
   ========================================================================== */
:root {
  --bg: #f4f2ed; --bg-2: #eae7df; --surface: #fbfaf7; --surface-2: #e4e0d6;
  --text: #0d0d0d; --muted: #5f5c55; --line: rgba(13, 13, 13, .14);
  --primary: #0d0d0d; --primary-2: #0d0d0d; --accent: #d4ff3a; --on-primary: #f4f2ed;
  --font-head: "Syne", sans-serif; --font-body: "DM Sans", sans-serif;
  --font-logo: "Unbounded", sans-serif; --logo-weight: 800; --logo-size: 1.3rem; --logo-tracking: -0.04em;
  --head-weight: 700; --head-tracking: -0.04em;
  --radius-sm: 0; --radius: 4px; --radius-lg: 6px; --radius-btn: 999px;
  --gradient: linear-gradient(90deg, #0d0d0d, #0d0d0d);
  --shadow: 0 20px 40px -20px rgba(0,0,0,.25);
}
[data-theme="dark"], .section--dark {
  --bg: #0d0d0d; --bg-2: #151515; --surface: #161616; --surface-2: #1f1f1f;
  --text: #f4f2ed; --muted: #9b978d; --line: rgba(244, 242, 237, .14);
  --primary: #d4ff3a; --on-primary: #0d0d0d;
}
.section--dark { background: var(--bg); color: var(--text); }
body.paper { --bg: #efe6d8; --bg-2: #e6dac7; --surface: #f7f0e5; }
.logo__mark { background: var(--accent); color: #0d0d0d; border-radius: 50%; }
.eyebrow { color: var(--text); font-family: var(--font-body); letter-spacing: .14em; }
.eyebrow::before { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px var(--text); }
.btn { --btn-bg: var(--text); --btn-fg: var(--bg); font-weight: 500; }
.btn::after { background: var(--accent); }
.btn:hover { --btn-fg: #0d0d0d; }
.btn--gradient { background: var(--text); color: var(--bg); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); border-color: var(--text); }
.btn--ghost::after { background: var(--text); }
.btn--ghost:hover { --btn-fg: var(--bg); color: var(--bg); }
.btn--light { --btn-bg: var(--accent); --btn-fg: #0d0d0d; }
.nav__link { text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; }
.nav__link:hover, .nav__link.is-active { color: var(--text); background: var(--accent); }
[data-theme="dark"] .nav__link:hover, [data-theme="dark"] .nav__link.is-active { color: #0d0d0d; }
.card { border-radius: 0; background: transparent; }
.card:hover { background: var(--accent); color: #0d0d0d; --muted: #333; border-color: #0d0d0d; transform: none; }
.card:hover .icon-box { background: #0d0d0d; color: var(--accent); }
.icon-box { border-radius: 50%; background: var(--text); color: var(--bg); }
.step { border-radius: 0; background: transparent; }
.step__num { background: var(--accent); color: #0d0d0d; }
.plan { border-radius: 0; }
.plan--featured { background: #0d0d0d; }
.plan--featured::before { display: none; }
.plan--featured .btn--gradient { background: var(--accent); color: #0d0d0d; }
.stat__num { font-size: clamp(3rem, 7vw, 6rem); }
.stats--bordered .stat { border-left-color: var(--text); }
.text-gradient { background: none; color: inherit; }
.chip { border: 1px solid var(--line); background: transparent; }
.cursor { background: var(--accent); mix-blend-mode: normal; }
.cursor.is-hover { background: var(--accent); mix-blend-mode: difference; }
.preloader__bar::after { background: var(--accent); }
.site-footer { background: #0d0d0d; color: #f4f2ed; --text: #f4f2ed; --muted: #9b978d; --line: rgba(244,242,237,.14); --primary: #d4ff3a; --on-primary: #0d0d0d; --surface: #161616; }
.socials a:hover { background: var(--accent); color: #0d0d0d; }
.tabs__btn.is-active, .tabs__btn:hover { background: var(--text); color: var(--bg); }
.text-band { background: var(--accent); color: #0d0d0d; border: 0; --text: #0d0d0d; }
.text-band .marquee__track .ti { color: #0d0d0d; }
.member__img, .post__img, .media, .rounded { border-radius: 0; }

/* Hero: creative agency ------------------------------------------------- */
.k-hero .hero__title { font-size: clamp(2.8rem, 8.6vw, 8.4rem); line-height: .95; text-transform: none; }
.k-hero__top { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.k-hero__top .ti { color: #22c55e; }
.k-pill { display: inline-block; vertical-align: middle; width: 1.9em; height: .9em; border-radius: 999px; overflow: hidden; margin: 0 .05em; transform: translateY(-.06em); }
.k-pill img { width: 100%; height: 100%; }
.k-under { background: linear-gradient(transparent 62%, var(--accent) 62%, var(--accent) 90%, transparent 90%); }
.k-hero__cta { align-items: center; justify-content: flex-start; }
@media (min-width: 1024px) { .k-hero__cta { justify-content: flex-end; } }
.k-round { position: relative; display: grid; place-items: center; width: 120px; height: 120px; border-radius: 50%; background: var(--accent); color: #0d0d0d; font-size: 1.6rem; }
.k-round svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: rotate 14s linear infinite; }
.k-round text { font-size: 9.5px; letter-spacing: 2.6px; font-weight: 600; fill: #0d0d0d; font-family: var(--font-body); }
@keyframes rotate { to { transform: rotate(360deg); } }
.reel { padding: 0 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.reel__inner { overflow: hidden; margin-inline: auto; transform-origin: center top; }
.reel__inner img { width: 100%; aspect-ratio: 16/8; min-height: 320px; }

/* Services hover list --------------------------------------------------- */
.svc-list { border-top: 1px solid var(--line); }
.svc { position: relative; display: grid; grid-template-columns: 48px 1fr auto; gap: 8px 24px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease); }
.svc h3 { margin: 0; font-size: clamp(1.6rem, 4vw, 3.2rem); }
.svc p { grid-column: 2; margin: 0; color: var(--muted); max-width: 44ch; }
@media (min-width: 1024px) { .svc { grid-template-columns: 80px 1.2fr 1fr auto; } .svc p { grid-column: auto; } .svc:hover { padding-inline: 20px; } }
.svc__num, .work__year { font-family: var(--font-body); font-size: .9rem; color: var(--muted); }
.svc__arrow { grid-row: 1; grid-column: 3; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line); font-size: 1.4rem; transition: all .4s var(--ease); }
@media (min-width: 1024px) { .svc__arrow { grid-column: 4; } }
.svc:hover .svc__arrow { background: var(--accent); color: #0d0d0d; border-color: transparent; transform: rotate(45deg); }
.svc__img { position: absolute; right: 18%; top: 50%; width: 240px; aspect-ratio: 24/17; transform: translateY(-50%) rotate(-6deg) scale(.6); opacity: 0; pointer-events: none; transition: all .5s var(--ease); z-index: 2; display: none; }
.svc__img img { width: 100%; height: 100%; }
@media (hover: hover) and (min-width: 1024px) { .svc__img { display: block; } .svc:hover .svc__img { opacity: 1; transform: translateY(-50%) rotate(-4deg) scale(1); } }

/* Work grid ------------------------------------------------------------- */
.works { display: grid; gap: 48px 32px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .works { grid-template-columns: 1fr 1fr; } .works > :nth-child(even) { margin-top: 90px; } }
.work { display: block; }
.work[hidden] { display: none; }
.work__img { overflow: hidden; }
.work__img img { width: 100%; aspect-ratio: 4/3; transition: transform 1.1s var(--ease), filter .6s; }
.work:hover .work__img img { transform: scale(1.06); }
.work__meta { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding-top: 18px; }
.work__meta h3 { margin: 0; font-size: 1.6rem; }
.work__meta span:not(.work__year) { color: var(--muted); grid-row: 2; }
.work__year { grid-row: 1 / span 2; grid-column: 2; align-self: start; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }

/* Awards, quote, timeline ---------------------------------------------- */
.awards { border-top: 1px solid var(--line); }
.award { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 22px 0; border-bottom: 1px solid var(--line); transition: background .3s, padding .4s var(--ease); }
.award b { font-family: var(--font-head); font-size: 1.3rem; }
@media (min-width: 768px) { .award { grid-template-columns: 1.2fr 1fr 1fr auto; align-items: center; } }
.award:hover { background: var(--accent); color: #0d0d0d; padding-inline: 16px; --muted: #333; }
.bigquote { max-width: 1100px; }
.bigquote__mark { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: #0d0d0d; font-size: 2rem; margin-bottom: 28px; }
.bigquote .person { display: flex; gap: 14px; align-items: center; margin-top: 36px; }
.bigquote .person img { width: 56px; height: 56px; border-radius: 50%; }
.bigquote .person strong { display: block; }
.timeline { border-left: 1px solid var(--line); }
.tl { position: relative; padding: 0 0 36px 32px; }
.tl::before { content: ""; position: absolute; left: -7px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--accent); border: 1px solid var(--text); }
.tl h3 { font-size: 1.4rem; margin: 6px 0 10px; }

/* Digital studio -------------------------------------------------------- */
.k-full .hero__title { max-width: 12ch; }
.k-full .eyebrow::before { background: var(--accent); box-shadow: none; }
.k-full .btn:not(.btn--ghost) { --btn-bg: var(--accent); --btn-fg: #0d0d0d; }
.k-full .btn--ghost { border-color: rgba(255,255,255,.5); --btn-fg: #fff; }
.k-scroll { position: absolute; right: 24px; bottom: 32px; display: none; align-items: center; gap: 8px; color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; writing-mode: vertical-rl; }
@media (min-width: 1024px) { .k-scroll { display: flex; } }
.k-statement { font-family: var(--font-head); font-size: clamp(1.7rem, 3.8vw, 3.4rem); line-height: 1.15; letter-spacing: -0.03em; font-weight: 600; max-width: 26ch; }
.k-cases { display: grid; gap: clamp(64px, 9vw, 120px); }

/* Freelancer ------------------------------------------------------------ */
.k-portrait img { aspect-ratio: 4/5 !important; border-radius: 0 !important; filter: grayscale(1) contrast(1.05); }
.k-me .socials { margin-top: 32px; }
.k-me .badge b { background: #22c55e; }

/* Branding studio ------------------------------------------------------- */
.k-serif { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.k-brand .hero__title { font-size: clamp(3rem, 10vw, 9rem); max-width: none; }
.collage { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: clamp(48px, 7vw, 90px); align-items: center; }
.collage img { width: 100%; }
.collage img:nth-child(odd) { aspect-ratio: 3/3.8; } .collage img:nth-child(even) { aspect-ratio: 3/2.6; }
.collage img:nth-child(5) { display: none; }
@media (min-width: 1024px) { .collage { grid-template-columns: repeat(5, 1fr); } .collage img:nth-child(5) { display: block; } .collage img:nth-child(2), .collage img:nth-child(4) { transform: translateY(40px); } }

/* Case study ------------------------------------------------------------ */
.k-proj h1 { max-width: 16ch; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts b { display: block; font-size: 1.15rem; margin-top: 4px; }
.next-proj { text-align: center; }
.next-proj a { display: flex; justify-content: center; align-items: center; gap: 20px; font-family: var(--font-head); font-size: clamp(2.4rem, 8vw, 7rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; margin-top: 12px; }
.next-proj a:hover { color: var(--muted); }

/* Footer CTA ------------------------------------------------------------ */
.footer-cta { background: #0d0d0d; color: #f4f2ed; padding: clamp(80px, 12vw, 160px) 0 40px; --text: #f4f2ed; }
.footer-cta .eyebrow::before { background: var(--accent); box-shadow: none; }
.footer-cta__link { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(3rem, 11vw, 10rem); line-height: .95; letter-spacing: -0.05em; }
.footer-cta__link span { display: block; }
.footer-cta__link span:last-child { color: var(--accent); }
.footer-cta__link .ti { display: inline-block; font-size: .6em; transition: transform .6s var(--ease); vertical-align: middle; }
.footer-cta__link:hover .ti { transform: rotate(45deg); }
.site-footer { padding-top: 0; }
.site-footer .footer-grid { padding-top: 60px; border-top: 1px solid var(--line); }
.k-me .hero__title { font-size: clamp(2.3rem, 4.6vw, 4.4rem); line-height: 1.04; }
