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

:root {
  --dark: #0d0e13;
  --dark-2: #13141c;
  --dark-3: #1a1c27;
  --light: #f5f4f0;
  --light-2: #ffffff;
  --light-3: #eeede9;
  --ink: #1c1d26;
  --ink-soft: #5a5b6a;
  --ink-muted: #9a9baa;
  --chalk: #e8e7e2;
  --chalk-soft: #9a9ba8;
  --chalk-muted: #5e5f6e;
  --orange: #f88000;
  --orange-light: #f99420;
  --orange-pale: rgba(248, 128, 0, 0.09);
  --border-dark: rgba(255, 255, 255, 0.07);
  --border-light: rgba(0, 0, 0, 0.09);
  --radius: 10px;
  --radius-lg: 16px;
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--dark);
  overflow-x: hidden
}

::selection {
  background: rgba(248, 128, 0, 0.14);
  color: var(--orange)
}

::-webkit-scrollbar {
  width: 5px
}

::-webkit-scrollbar-track {
  background: var(--dark)
}

::-webkit-scrollbar-thumb {
  background: var(--dark-3);
  border-radius: 3px
}

h1,
h2,
h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.01em
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: .6
}

/* NAV */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 72px);
  height: 64px;
  transition: background .4s, border-color .4s;
  border-bottom: 1px solid transparent
}

#nav.on-dark {
  background: transparent
}

#nav.on-light {
  background: rgba(245, 244, 240, .95);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border-light)
}

#nav.on-dark.scrolled {
  background: rgba(13, 14, 19, .92);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border-dark)
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  transition: color .3s
}

#nav.on-dark .nav-logo {
  color: var(--chalk);
  font-family: 'Figtree', sans-serif;
}

#nav.on-light .nav-logo {
  color: var(--ink);
  font-family: 'Figtree', sans-serif;
}

.nav-logo em {
  color: var(--orange);
  font-style: italic
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none
}

.nav-links a {
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: .01em;
  transition: color .2s
}

#nav.on-dark .nav-links a {
  color: var(--chalk-soft)
}

#nav.on-dark .nav-links a:hover {
  color: var(--chalk)
}

#nav.on-light .nav-links a {
  color: var(--ink-soft)
}

#nav.on-light .nav-links a:hover {
  color: var(--ink)
}

.nav-cta {
  font-size: .83rem !important;
  font-weight: 600 !important;
  padding: 7px 18px;
  border-radius: 8px;
  background: var(--orange) !important;
  color: #fff !important;
  transition: background .2s, transform .15s !important
}

.nav-cta:hover {
  background: var(--orange-light) !important;
  transform: translateY(-1px)
}

/* LANG SWITCHER */
.lang-sw {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-right: 16px
}

.lbtn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 3px 4px;
  border-radius: 5px;
  opacity: .45;
  transition: opacity .2s, transform .15s;
  line-height: 1
}

.lbtn:hover {
  opacity: .8;
  transform: scale(1.1)
}

.lbtn.active {
  opacity: 1;
  transform: scale(1.05)
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  border-radius: 1px;
  transition: .3s
}

#nav.on-dark .hamburger span {
  background: var(--chalk)
}

#nav.on-light .hamburger span {
  background: var(--ink)
}

.mob-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 499;
  background: var(--dark);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px
}

.mob-overlay.open {
  display: flex
}

.mob-overlay a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem;
  font-weight: 500;
  color: var(--chalk);
  text-decoration: none;
  transition: color .2s
}

.mob-overlay a:hover {
  color: var(--orange)
}

.mob-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  color: var(--chalk-muted);
  font-size: 1.4rem;
  cursor: pointer
}

.mob-lang {
  display: flex;
  gap: 10px;
  margin-top: 8px
}

.mob-lang button {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  opacity: .5;
  transition: opacity .2s
}

.mob-lang button.active,
.mob-lang button:hover {
  opacity: 1
}

/* HERO */
#hero {
  position: relative;
  min-height: 100svh;
  background-image: url("../img/hero-image.jpg");
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px clamp(24px, 8vw, 120px) 80px;
  overflow: hidden;
  background-size: contain;
}

.h-ring {
	position: absolute;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .04);
	pointer-events: none;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(0, 0, 0, 0.39);
}

.h-ring-1 {
  width: 700px;
  height: 700px
}

.h-ring-2 {
  width: 1050px;
  height: 1050px
}

.h-ring-3 {
  width: 1400px;
  height: 1400px
}

.h-glow {
  position: absolute;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(248, 128, 0, .13) 0%, transparent 68%);
  pointer-events: none
}

.h-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 28px;
  opacity: 0;
  animation: fiu .8s .1s ease forwards
}

.h-lang {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
  opacity: 0;
  animation: fiu .8s .18s ease forwards
}
.h-lang .lbtn {
  opacity: .45;
  filter: grayscale(.3)
}
.h-lang .lbtn.active,
.h-lang .lbtn:hover {
  opacity: 1;
  filter: none
}

.h-title {
  font-size: clamp(3rem, 7vw, 6.5rem);
  color: var(--chalk);
  max-width: 900px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fiu .9s .25s ease forwards
}

.h-title em {
  font-style: italic;
  color: rgba(232, 231, 226, .72)
}

.h-rule {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .18), transparent);
  margin: 0 auto 28px;
  opacity: 0;
  animation: fi .7s .45s ease forwards
}

.h-sub {
	font-size: clamp(.93rem, 1.4vw, 1.08rem);
	color: var(--light);
	max-width: 500px;
	line-height: 1.78;
	margin-bottom: 44px;
	opacity: 0;
	animation: fiu .9s .5s ease forwards;
	background: rgba(255, 255, 255, 0.15);
	border-radius: 15px;
	padding: 1vw;
}

.h-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fiu .9s .65s ease forwards
}

.h-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .63rem;
  letter-spacing: .1em;
  color: var(--chalk-muted);
  text-transform: uppercase;
  opacity: 0;
  animation: fi 1s 1.2s ease forwards
}

.h-scroll-line {
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, var(--chalk-muted), transparent);
  animation: sp 2s 1.5s ease-in-out infinite
}

@keyframes sp {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 1
  }

  50% {
    transform: scaleY(.5);
    opacity: .35
  }
}

@keyframes fiu {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fi {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  padding: 12px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s, background .2s;
  letter-spacing: .01em
}

.btn:hover {
  transform: translateY(-1px)
}

.btn-solid {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 20px rgba(248, 128, 0, .28)
}

.btn-solid:hover {
  background: var(--orange-light);
  box-shadow: 0 6px 28px rgba(248, 128, 0, .38)
}

.btn-ghost-light {
  background: transparent;
  color: var(--chalk-soft);
  border: 1px solid rgba(255, 255, 255, .13)
}

.btn-ghost-light:hover {
  border-color: rgba(255, 255, 255, .28);
  color: var(--chalk)
}

/* SECTIONS */
.s-light {
  background: var(--light);
  color: var(--ink)
}

.s-white {
  background: var(--light-2);
  color: var(--ink)
}

.s-dark {
  background: var(--dark-2);
  color: var(--chalk)
}

.inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 120px) clamp(24px, 5vw, 60px)
}

.label {
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 16px
}

.s-dark .label {
  color: #f8a84a
}

.s-heading {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 18px
}

.s-body {
  font-size: 1rem;
  max-width: 500px;
  color: var(--ink-soft);
  margin-bottom: 56px
}

.s-dark .s-body {
  color: var(--chalk-soft)
}

.rule {
  width: 36px;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
  margin-bottom: 26px
}

/* SERVICES */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden
}

@media(max-width:900px) {
  .svc-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:560px) {
  .svc-grid {
    grid-template-columns: 1fr
  }
}

.svc-card {
  background: var(--light-2);
  padding: 34px 30px;
  position: relative;
  transition: background .22s
}

.svc-card:hover {
  background: var(--light)
}

.svc-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease
}

.svc-card:hover::after {
  transform: scaleX(1)
}

.svc-n {
  font-family: 'JetBrains Mono', monospace;
  font-size: .67rem;
  color: var(--ink-muted);
  letter-spacing: .06em;
  margin-bottom: 20px;
  display: block
}

.svc-icon {
  font-size: 1.4rem;
  margin-bottom: 14px;
  display: block
}

.svc-card h3 {
  font-size: 1.26rem;
  color: var(--ink);
  margin-bottom: 10px
}

.svc-card p {
  font-size: .88rem;
  color: var(--ink-soft);
  line-height: 1.72
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 16px
}

.svc-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: .64rem;
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--light-3);
  color: var(--ink-soft)
}

/* WHY */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start
}

@media(max-width:860px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 48px
  }
}

.why-items {
  display: flex;
  flex-direction: column
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-dark)
}

.why-item:first-child {
  border-top: 1px solid var(--border-dark)
}

.why-idx {
  font-family: 'JetBrains Mono', monospace;
  font-size: .67rem;
  color: #f8a84a;
  letter-spacing: .06em;
  min-width: 26px;
  padding-top: 3px
}

.why-item h4 {
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: .93rem;
  color: var(--chalk);
  margin-bottom: 4px
}

.why-item p {
  font-size: .86rem;
  color: var(--chalk-soft);
  line-height: 1.65
}

.why-box {
  margin-top: 36px;
  padding: 26px 28px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .02)
}

.why-box blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.28rem;
  font-style: italic;
  color: var(--chalk-soft);
  line-height: 1.55;
  margin-bottom: 20px
}

/* AI TABS */
.ai-tabs {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  min-height: 340px
}

@media(max-width:700px) {
  .ai-tabs {
    flex-direction: column;
    min-height: auto
  }
}

.ai-tab-nav {
  display: flex;
  flex-direction: column;
  width: 210px;
  flex-shrink: 0;
  background: var(--light-3);
  border-right: 1px solid var(--border-light)
}

@media(max-width:700px) {
  .ai-tab-nav {
    flex-direction: row;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    overflow-x: auto
  }
}

.ai-tab {
  padding: 18px 22px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  text-align: left;
  font-family: 'Figtree', sans-serif;
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background .2s, color .2s;
  position: relative;
  white-space: nowrap;
  line-height: 1.4
}

.ai-tab:last-child {
  border-bottom: none
}

.ai-tab:hover {
  background: var(--light-2);
  color: var(--ink)
}

.ai-tab.active {
  background: var(--light-2);
  color: var(--ink);
  font-weight: 600
}

.ai-tab.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--orange);
  border-radius: 0 2px 2px 0
}

@media(max-width:700px) {
  .ai-tab {
    border-bottom: none;
    border-right: 1px solid var(--border-light);
    padding: 13px 16px;
    flex-shrink: 0
  }

  .ai-tab.active::before {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    height: 3px;
    width: 100%;
    border-radius: 2px 2px 0 0
  }
}

.ai-panels {
  flex: 1;
  background: var(--light-2);
  min-width: 0
}

.ai-panel {
  display: none;
  padding: 36px 40px;
  animation: fadeTab .22s ease
}

.ai-panel.active {
  display: block
}

@keyframes fadeTab {
  from {
    opacity: 0;
    transform: translateX(6px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

.ai-panel-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 12px
}

.ai-panel h3 {
  font-size: 1.38rem;
  color: var(--ink);
  margin-bottom: 14px
}

.ai-panel p {
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.78
}

.ai-panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 22px
}

.ai-panel-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: .64rem;
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--light-3);
  color: var(--ink-soft)
}

/* PROCESS */
.proc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden
}

@media(max-width:760px) {
  .proc-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:460px) {
  .proc-grid {
    grid-template-columns: 1fr
  }
}

.proc-step {
  background: var(--light-2);
  padding: 30px 26px;
  transition: background .2s
}

.proc-step:hover {
  background: var(--light)
}

.proc-n {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--orange);
  opacity: .45;
  line-height: 1;
  margin-bottom: 14px
}

.proc-step h4 {
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: .93rem;
  color: var(--ink);
  margin-bottom: 9px
}

.proc-step p {
  font-size: .86rem;
  color: var(--ink-soft);
  line-height: 1.68
}

/* PROJECTS */
.proj-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px
}

@media(max-width:760px) {
  .proj-grid {
    grid-template-columns: 1fr
  }
}

.proj-card {
  display: block;
  text-decoration: none;
  padding: 28px 28px;
  background: var(--light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: border-color .25s, box-shadow .25s, transform .2s;
  color: inherit
}

.proj-card:hover {
  border-color: rgba(248, 128, 0, .3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .07);
  transform: translateY(-3px)
}

.proj-card.lab {
  background: var(--light-2);
  border-style: dashed
}

.proj-card.lab:hover {
  border-color: rgba(0, 0, 0, .2);
  border-style: dashed
}

.proj-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 10px;
  gap: 10px;
  flex-wrap: wrap
}

.proj-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange)
}

.proj-card.lab .proj-cat {
  color: var(--ink-muted)
}

.proj-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: .62rem;
  padding: 3px 9px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: .04em;
  display: inline-flex;
  align-items: center;
  gap: 5px
}

.badge-demo {
  background: rgba(248, 128, 0, .1);
  color: var(--orange);
  border: 1px solid rgba(248, 128, 0, .2)
}

.badge-live {
  background: rgba(34, 197, 94, .1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, .25)
}

.badge-wip {
  background: rgba(220, 38, 38, .07);
  color: #b91c1c;
  border: 1px solid rgba(220, 38, 38, .18)
}

.badge-gh {
  background: rgba(0, 0, 0, .06);
  color: var(--ink-muted);
  border: 1px solid var(--border-light)
}

.proj-link {
  font-size: 1.05rem;
  color: var(--ink-muted);
  transition: color .2s, transform .2s;
  display: inline-block;
  flex-shrink: 0;
  margin-left: auto
}

.proj-card:hover .proj-link {
  color: var(--orange);
  transform: translate(2px, -2px)
}

.proj-card h3 {
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 8px
}

.proj-card p {
  font-size: .87rem;
  color: var(--ink-soft);
  line-height: 1.74
}

.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 14px
}

.proj-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: .63rem;
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--light-3);
  color: var(--ink-soft);
  transition: background .2s, color .2s
}

.proj-card:hover .proj-tag {
  background: rgba(248, 128, 0, .08);
  color: var(--orange)
}

.proj-card.lab:hover .proj-tag {
  background: rgba(0, 0, 0, .06);
  color: var(--ink-soft)
}

/* FEATURED CARDS (full-width customer projects) */
.proj-card.featured {
  grid-column: 1/-1;
  cursor: default
}

.proj-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px
}

.proj-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  transition: color .2s, border-color .2s, background .2s
}

.proj-btn:hover {
  color: var(--orange);
  border-color: rgba(248, 128, 0, .3);
  background: rgba(248, 128, 0, .04)
}

.proj-sub {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 0 4px
}

.proj-sub-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap
}

.proj-sub-line {
  flex: 1;
  height: 1px;
  background: var(--border-light)
}

/* INSIGHTS (Onepager-Sektion) */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 36px 0 28px
}

@media(max-width:900px) { .insights-grid { grid-template-columns: 1fr 1fr } }
@media(max-width:600px) { .insights-grid { grid-template-columns: 1fr } }

.insight-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  padding: 24px;
  background: var(--light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: border-color .25s, transform .2s, box-shadow .25s;
  animation: cardIn .4s ease both
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px) }
  to   { opacity: 1; transform: translateY(0) }
}

.insight-card:nth-child(2) { animation-delay: .07s }
.insight-card:nth-child(3) { animation-delay: .14s }

.insight-card:hover {
  border-color: rgba(248,128,0,.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(0,0,0,.07)
}

.insight-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap
}

.insight-card-title {
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 10px;
  flex: 1
}

.insight-card-teaser {
  font-size: .84rem;
  color: var(--ink-soft);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px
}

.insight-card-arrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: .68rem;
  color: var(--ink-muted);
  transition: color .2s, transform .2s;
  display: inline-block
}

.insight-card:hover .insight-card-arrow {
  color: var(--orange);
  transform: translateX(3px)
}

.insights-more {
  text-align: center;
  margin-top: 8px
}

/* EMBED CARDS */
.insight-card--embed {
  justify-content: space-between;
  min-height: 180px;
  border: none;
  overflow: hidden
}
.embed-card-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0
}
.embed-card-name {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1
}
.embed-card-snippet {
  display: block;
  font-size: .75rem;
  font-weight: 400;
  opacity: .7;
  margin-top: 8px;
  line-height: 1.5;
  text-align: center;
  max-width: 180px
}
.insight-tag--embed { opacity: .75 }
.insight-date--embed { opacity: .6 }
.insight-card--embed .insight-card-arrow { opacity: .8 }

/* Platform colours */
.insight-card--embed[data-platform="x"] {
  background: #000; color: #fff
}
.insight-card--embed[data-platform="x"] .insight-tag--embed,
.insight-card--embed[data-platform="x"] .insight-date--embed,
.insight-card--embed[data-platform="x"] .insight-card-arrow { color: rgba(255,255,255,.7) }
.insight-card--embed[data-platform="x"]:hover .insight-card-arrow { color: #fff }

.insight-card--embed[data-platform="tiktok"] {
  background: #010101; color: #fff
}
.insight-card--embed[data-platform="tiktok"] .embed-card-name {
  background: linear-gradient(90deg, #69C9D0, #fff, #EE1D52);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent
}
.insight-card--embed[data-platform="tiktok"] .insight-tag--embed,
.insight-card--embed[data-platform="tiktok"] .insight-date--embed,
.insight-card--embed[data-platform="tiktok"] .insight-card-arrow { color: rgba(255,255,255,.6) }

.insight-card--embed[data-platform="instagram"] {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  color: #fff
}
.insight-card--embed[data-platform="instagram"] .insight-tag--embed,
.insight-card--embed[data-platform="instagram"] .insight-date--embed,
.insight-card--embed[data-platform="instagram"] .insight-card-arrow { color: rgba(255,255,255,.75) }

.insight-card--embed[data-platform="facebook"] {
  background: #1877F2; color: #fff
}
.insight-card--embed[data-platform="facebook"] .insight-tag--embed,
.insight-card--embed[data-platform="facebook"] .insight-date--embed,
.insight-card--embed[data-platform="facebook"] .insight-card-arrow { color: rgba(255,255,255,.75) }

.insight-card--embed[data-platform="youtube"] {
  background: #FF0000; color: #fff
}
.insight-card--embed[data-platform="youtube"] .insight-tag--embed,
.insight-card--embed[data-platform="youtube"] .insight-date--embed,
.insight-card--embed[data-platform="youtube"] .insight-card-arrow { color: rgba(255,255,255,.75) }

.insight-card--embed[data-platform="linkedin"] {
  background: #0A66C2; color: #fff
}
.insight-card--embed[data-platform="linkedin"] .insight-tag--embed,
.insight-card--embed[data-platform="linkedin"] .insight-date--embed,
.insight-card--embed[data-platform="linkedin"] .insight-card-arrow { color: rgba(255,255,255,.75) }

.insight-card--embed[data-platform="social"] {
  background: var(--dark-2); color: var(--chalk)
}

/* PARTNER */
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px
}

@media(max-width:760px) {
  .partner-grid {
    grid-template-columns: 1fr
  }
}

.partner-card {
  background: var(--dark-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .25s, transform .2s
}

.partner-card:hover {
  border-color: rgba(248, 128, 0, .25);
  transform: translateY(-3px)
}

.partner-img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden
}

.partner-img {
  width: 100%;
  height: 100%;
  object-position: top center;
  filter: grayscale(30%);
  transition: transform .4s, filter .3s
}

.partner-card:hover .partner-img {
  transform: scale(1.04);
  filter: grayscale(0%)
}

.partner-body {
  padding: 24px 28px 28px
}

.partner-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: .64rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 8px
}

.partner-name {
  font-size: 1.35rem;
  color: var(--chalk);
  margin-bottom: 10px
}

.partner-card p {
  font-size: .87rem;
  color: var(--chalk-soft);
  line-height: 1.74;
  margin-bottom: 18px
}

.partner-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  color: var(--chalk-muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s
}

.partner-link:hover {
  color: var(--orange);
  border-color: rgba(248, 128, 0, .4)
}

/* CONTACT */
.ct-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start
}

@media(max-width:900px) {
  .ct-grid {
    grid-template-columns: 1fr;
    gap: 48px
  }
}

.ct-left h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 14px
}

.ct-left>p {
  color: var(--ink-soft);
  font-size: .96rem;
  margin-bottom: 40px
}

.ct-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: .9rem;
  color: var(--ink-soft)
}

.ct-detail:first-of-type {
  border-top: 1px solid var(--border-light)
}

.ct-detail strong {
  display: block;
  font-size: .73rem;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1px
}

.ct-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--light-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px
}

.f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

@media(max-width:500px) {
  .f-row {
    grid-template-columns: 1fr
  }
}

.f-grp {
  display: flex;
  flex-direction: column;
  gap: 5px
}

.f-grp label {
  font-size: .76rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: .05em;
  text-transform: uppercase
}

.f-grp input,
.f-grp textarea,
.f-grp select {
  font-family: 'Figtree', sans-serif;
  font-size: .94rem;
  background: var(--light);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: var(--ink);
  padding: 11px 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
  -webkit-appearance: none;
  appearance:none;
}

.f-grp input:focus,
.f-grp textarea:focus,
.f-grp select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(248, 128, 0, .1)
}

.f-grp textarea {
  height: 116px;
  resize: vertical
}

.f-submit {
  width: 100%;
  padding: 13px;
  background: var(--orange);
  color: #fff;
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: .93rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s
}

.f-submit:hover {
  background: var(--orange-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(248, 128, 0, .28)
}

.f-note {
  font-size: .76rem;
  color: var(--ink-muted);
  text-align: center
}

.f-ok {
  display: none;
  padding: 14px 18px;
  background: rgba(248, 128, 0, .07);
  border: 1px solid rgba(248, 128, 0, .2);
  border-radius: var(--radius);
  color: var(--orange);
  font-size: .88rem;
  text-align: center
}

/* FOOTER */
#footer {
  background: var(--dark);
  border-top: 1px solid var(--border-dark);
  padding: 36px clamp(24px, 5vw, 72px)
}

.ft-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px
}

.ft-brand {
  font-family: 'JetBrains Mono', monospace;
  font-size: .84rem;
  font-weight: 500;
  color: var(--chalk-soft);
  letter-spacing: .08em
}

.ft-brand em {
  color: var(--orange-light);
  font-style: normal
}

.ft-copy {
  font-size: .78rem;
  color: var(--chalk-muted)
}

.ft-links {
  display: flex;
  gap: 22px;
  list-style: none
}

.ft-links a {
  font-size: .78rem;
  color: var(--chalk-muted);
  text-decoration: none;
  transition: color .2s
}

.ft-links a:hover {
  color: var(--chalk-soft)
}

/* REVEAL */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity .7s ease, transform .7s ease
}

.js-loaded .reveal {
  opacity: 0;
  transform: translateY(22px)
}

.reveal.visible {
  opacity: 1 !important;
  transform: none !important
}

@media(max-width:680px) {
  .nav-links {
    display: none
  }

  .hamburger {
    display: flex
  }
}