:root {
  --ink: #f7f7f2;
  --muted: rgba(247, 247, 242, 0.56);
  --line: rgba(255, 255, 255, 0.13);
  --black: #111314;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #741713 0%, #82312f 34%, #a59193 72%, #141516 100%);
  color: var(--ink);
  overflow-x: hidden;
}

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

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

sup {
  position: relative;
  top: -0.72em;
  font-size: 0.45em;
}

.stage {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  background: var(--black);
}

.showcase {
  background: var(--black);
  border-radius: 0;
  overflow: hidden;
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  border-radius: 0;
  background:
    radial-gradient(circle at 65% 50%, rgba(255, 50, 9, 0.5), transparent 40%),
    url('assets/hero-bg.webp') center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.06'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.topbar {
  position: fixed;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1400px;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 32px;
  mix-blend-mode: difference;
  color: #fff;
  background: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.mark {
  font-size: 28px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: 40px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
}

.nav a {
  position: relative;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0%;
  height: 2px;
  background: rgba(255,50,9,1);
  transition: width 0.3s ease;
}

.nav a:hover {
  color: rgba(255, 50, 9, 1);
}

.nav a:hover::after {
  width: 100%;
}

.project-link {
  justify-self: end;
  position: relative;
  overflow: hidden;
  padding: 14px 32px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-link::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,50,9,0.4), transparent);
  transition: left 0.5s ease;
}

.project-link:hover::before {
  left: 100%;
}

.project-link:hover {
  background: rgba(255, 50, 9, 1);
  border-color: rgba(255, 50, 9, 1);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 50, 9, 0.4);
}

.hero-person {
  position: absolute;
  z-index: 1;
  left: 10%;
  top: 0;
  width: 90%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.96;
  filter: saturate(1.2) contrast(1.1);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 85%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 85%, transparent 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(20, 0, 2, 0.8) 0%, rgba(20, 0, 2, 0) 50%, rgba(20, 0, 2, 0.4) 100%),
    linear-gradient(180deg, transparent 60%, var(--black) 100%);
  pointer-events: none;
}

.hero-kicker,
.hero h1,
.services,
.hero-thumb {
  position: absolute;
  z-index: 4;
}

.hero-kicker {
  left: clamp(32px, 5vw, 80px);
  bottom: clamp(140px, 15vh, 200px);
  margin: 0;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: uppercase;
}

.hero h1 {
  left: clamp(32px, 5vw, 80px);
  bottom: 8%;
  margin: 0;
  font-size: clamp(48px, 16vw, 240px);
  line-height: 0.8;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.services {
  right: clamp(32px, 5vw, 80px);
  top: 45%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
  margin: 0;
  padding: 0;
  list-style: none;
}

.services li {
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  animation: float-service 6s ease-in-out infinite;
}

.services li:nth-child(2) { animation-delay: -2s; }
.services li:nth-child(3) { animation-delay: -4s; }

.services li:hover {
  background: rgba(255, 50, 9, 0.15);
  border-color: rgba(255, 50, 9, 0.5);
  transform: translateX(-10px) scale(1.05);
  box-shadow: 0 10px 20px rgba(255,50,9,0.2);
}

@keyframes float-service {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-thumb {
  right: clamp(32px, 5vw, 80px);
  bottom: 8%;
  width: clamp(200px, 22vw, 320px);
  padding: 14px;
  margin: 0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  transform: rotate(-4deg);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  animation: float-thumb 8s ease-in-out infinite;
  cursor: pointer;
}

.hero-thumb:hover {
  transform: rotate(0deg) scale(1.05) translateY(-10px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 40px 80px rgba(255,50,9,0.3);
}

.hero-thumb img {
  width: 100%;
  height: clamp(140px, 15vw, 220px);
  object-fit: cover;
  border-radius: 12px;
}

.hero-thumb figcaption {
  display: none;
}

@keyframes float-thumb {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-15px) rotate(-2deg); }
}

/* Hero Section Animations */
@keyframes heroFadeUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeIn {
  0% { opacity: 0; filter: blur(10px); }
  100% { opacity: 1; filter: blur(0); }
}

@keyframes heroScaleUp {
  0% { opacity: 0; transform: scale(0.92) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.topbar {
  animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-person {
  animation: heroScaleUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-kicker {
  animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.hero h1 {
  animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.services {
  animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}

.hero-thumb {
  animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both;
}

.intro {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px clamp(24px, 5vw, 80px);
  background: var(--black);
  overflow: hidden;
  border-radius: 48px 48px 0 0;
  margin-top: -48px;
  z-index: 20;
  box-shadow: 0 -24px 64px rgba(0,0,0,0.8);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255, 50, 9, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 30%);
  pointer-events: none;
}

.intro-image {
  position: absolute;
  left: clamp(24px, 5vw, 80px);
  top: 15%;
  width: clamp(220px, 25vw, 380px);
  height: clamp(300px, 32vw, 480px);
  object-fit: cover;
  border-radius: 0;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 12px 12px 0 rgba(255, 50, 9, 1);
  z-index: 1;
  filter: grayscale(100%) contrast(1.2);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.intro-image:hover {
  filter: grayscale(0%) contrast(1.05);
  transform: translate(-4px, -4px) !important;
  box-shadow: 20px 20px 0 rgba(255, 50, 9, 1);
  z-index: 10;
}

.intro p {
  position: relative;
  z-index: 5;
  width: min(1100px, 90%);
  margin: 0;
  text-align: center;
  font-size: clamp(36px, 5vw, 76px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

#typewriter-text {
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 50, 9, 1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  display: inline-block;
  white-space: nowrap;
}

.type-letter {
  opacity: 0;
  transition: opacity 0.1s ease;
}

.type-letter.visible {
  opacity: 1;
}

.intro p.bio-text {
  position: relative;
  z-index: 5;
  width: min(700px, 90%);
  margin: 40px auto 0;
  text-align: center;
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1.6;
  font-weight: 400;
  color: var(--muted);
  text-shadow: none;
}

.intro-lower {
  position: absolute;
  right: clamp(24px, 5vw, 80px);
  bottom: 10%;
  width: clamp(200px, 22vw, 340px);
  height: clamp(160px, 18vw, 260px);
  object-fit: cover;
  border-radius: 0;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: -12px 12px 0 rgba(255, 50, 9, 1);
  z-index: 1;
  filter: grayscale(100%) contrast(1.2);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.intro-lower:hover {
  filter: grayscale(0%) contrast(1.05);
  transform: translate(4px, -4px) !important;
  box-shadow: -20px 20px 0 rgba(255, 50, 9, 1);
  z-index: 10;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.side {
  background: var(--black);
}

.work-list {
  padding: 80px clamp(22px, 3vw, 56px) 60px;
  position: relative;
  background: #111111;
  border-radius: 48px 48px 0 0;
  margin-top: -48px;
  z-index: 21;
  box-shadow: 0 -24px 64px rgba(0,0,0,0.8);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.work-list::before {
  content: '';
  position: absolute;
  top: 100px; left: 50%;
  width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(255,50,9,0.05) 0%, transparent 60%);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.work-list > h2 {
  position: relative;
  z-index: 2;
  margin: 0 0 60px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.work-row {
  position: relative;
  z-index: 2;
  min-height: 120px;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 40px 0;
  margin-bottom: 0;
  border-radius: 0;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.work-row:hover {
  background: transparent;
  border-top-color: rgba(255, 50, 9, 1);
  transform: none;
  box-shadow: none;
}

.work-row::before {
  display: none;
}

.work-row:last-child::before {
  display: none;
}

.edu-logo {
  width: 64px;
  height: 64px;
  border-radius: 0;
  object-fit: cover;
  background: white;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  filter: grayscale(100%);
  transition: all 0.4s ease;
}

.work-row:hover .edu-logo {
  transform: scale(1.1) rotate(5deg);
  filter: grayscale(0%);
  box-shadow: 8px 8px 0 rgba(255, 50, 9, 1);
}

.work-row h2 {
  margin: 0;
  font-size: clamp(20px, 2.5vw, 32px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.work-row:hover h2 {
  color: rgba(255, 50, 9, 1);
}

.work-row p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1;
  font-weight: 500;
}

.work-row strong {
  justify-self: end;
  align-self: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 12px 24px;
  border-radius: 0;
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  transition: all 0.4s ease;
}

.work-row:hover strong {
  background: rgba(255, 50, 9, 1);
  color: #fff;
  border-color: rgba(255, 50, 9, 1);
  box-shadow: 4px 4px 0 #fff;
}

.insights {
  position: relative;
  padding: 124px clamp(22px, 3vw, 56px) 140px;
  margin-top: -48px;
  background: var(--black);
  border-radius: 48px 48px 0 0;
  z-index: 22;
  box-shadow: 0 -24px 64px rgba(0,0,0,0.8);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.insights h2 {
  position: relative;
  z-index: 2;
  margin: 0 0 60px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.insight-grid {
  display: flex;
  flex-direction: column;
}

.insight-grid article {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.insight-grid article:hover {
  border-bottom-color: rgba(255, 50, 9, 1);
  padding-left: 32px;
  padding-right: 32px;
  background: rgba(255,255,255,0.01);
}

.insight-grid img {
  position: absolute;
  top: 50%;
  right: 30%;
  width: 440px;
  height: 280px;
  object-fit: cover;
  border-radius: 0;
  opacity: 0;
  transform: translateY(-50%) scale(0.8) rotate(-8deg);
  pointer-events: none;
  z-index: 10;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 40px 80px rgba(0,0,0,0.8);
}

.insight-grid article:hover img {
  opacity: 1;
  transform: translateY(-50%) scale(1) rotate(2deg);
}

.insight-grid h3 {
  flex: 1;
  order: 1;
  margin: 0;
  font-size: clamp(32px, 5vw, 80px);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: #fff;
  transition: color 0.4s ease;
  z-index: 2;
}

.insight-grid article:hover h3 {
  color: rgba(255, 50, 9, 1);
}

.insight-grid p {
  display: none;
}

.insight-grid time {
  order: 2;
  margin-right: 64px;
  font-family: monospace;
  font-size: 16px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}

.insight-grid .btn-checkout {
  order: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 0;
  margin: 0;
  transition: all 0.4s ease;
  z-index: 2;
}

.insight-grid .btn-checkout span {
  font-size: 28px;
  transform: rotate(-45deg);
  transition: transform 0.4s ease;
}

.insight-grid article:hover .btn-checkout {
  background: rgba(255, 50, 9, 1);
  border-color: rgba(255, 50, 9, 1);
}

.insight-grid article:hover .btn-checkout span {
  transform: rotate(0);
}

.testimonials {
  padding: 124px 0 140px;
  position: relative;
  background: #151515;
  border-radius: 48px 48px 0 0;
  margin-top: -48px;
  z-index: 23;
  box-shadow: 0 -24px 64px rgba(0,0,0,0.8);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.testimonials h2 {
  position: relative;
  z-index: 2;
  margin: 0 clamp(24px, 5vw, 80px) 60px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.testi-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.testi-marquee::before {
  display: none;
}

.testi-track {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 32px;
  width: max-content;
  animation: marquee 30s linear infinite;
  padding: 20px clamp(24px, 5vw, 80px);
}

.testi-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 16px)); }
}

.testi-card {
  width: clamp(300px, 25vw, 400px);
  flex-shrink: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 48px 40px;
  border-radius: 0;
  transition: transform 0.4s ease;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

/* Card 1: Black with White Outline */
.testi-card:nth-child(3n+1) {
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}
.testi-card:nth-child(3n+1) .stars { color: rgba(255, 50, 9, 1); }
.testi-card:nth-child(3n+1) p { color: #fff; }
.testi-card:nth-child(3n+1) p::before { color: rgba(255, 50, 9, 0.5); }
.testi-card:nth-child(3n+1) .author-avatar { background: rgba(255, 50, 9, 0.1); color: rgba(255, 50, 9, 1); }
.testi-card:nth-child(3n+1) .author-info strong { color: #fff; }
.testi-card:nth-child(3n+1) .author-info span { color: rgba(255, 255, 255, 0.5); }

/* Card 2: Solid Red */
.testi-card:nth-child(3n+2) {
  background: rgba(255, 50, 9, 1);
  border: 1px solid rgba(255, 50, 9, 1);
  color: #fff;
}
.testi-card:nth-child(3n+2) .stars { color: #fff; }
.testi-card:nth-child(3n+2) p { color: #fff; font-weight: 600; }
.testi-card:nth-child(3n+2) p::before { color: rgba(255, 255, 255, 0.5); }
.testi-card:nth-child(3n+2) .author-avatar { background: #fff; color: rgba(255, 50, 9, 1); }
.testi-card:nth-child(3n+2) .author-info strong { color: #fff; }
.testi-card:nth-child(3n+2) .author-info span { color: rgba(255, 255, 255, 0.8); }

/* Card 3: Solid White */
.testi-card:nth-child(3n+3) {
  background: #fff;
  border: 1px solid #fff;
  color: #000;
}
.testi-card:nth-child(3n+3) .stars { color: rgba(255, 50, 9, 1); }
.testi-card:nth-child(3n+3) p { color: #000; font-weight: 600; }
.testi-card:nth-child(3n+3) p::before { color: rgba(0, 0, 0, 0.2); }
.testi-card:nth-child(3n+3) .author-avatar { background: #000; color: #fff; }
.testi-card:nth-child(3n+3) .author-info strong { color: #000; }
.testi-card:nth-child(3n+3) .author-info span { color: rgba(0, 0, 0, 0.6); }

.testi-card:hover {
  transform: translateY(-8px) rotate(2deg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.stars {
  color: rgba(255, 50, 9, 1);
  font-size: 20px;
  letter-spacing: 4px;
  margin-bottom: 24px;
}

.testi-card p {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
  color: #fff;
  font-weight: 500;
  font-style: italic;
  margin: 0 0 40px;
  flex-grow: 1;
}

.testi-card p::before {
  content: '"';
  color: rgba(255, 50, 9, 0.5);
  font-size: 40px;
  line-height: 0;
  vertical-align: bottom;
  margin-right: 4px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,50,9,1), #ff7b00);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  box-shadow: 0 8px 16px rgba(255,50,9,0.3);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info strong {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.author-info span {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.contact-max {
  position: relative;
  margin: 160px clamp(22px, 3vw, 56px) 140px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
  background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0) 100%);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 40px;
  padding: 80px;
  overflow: hidden;
}

.contact-max::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 50, 9, 0.12), transparent 50%);
  pointer-events: none;
}

.contact-content {
  position: relative;
  z-index: 2;
}

.contact-content h2 {
  font-size: clamp(48px, 5vw, 84px);
  line-height: 1.05;
  font-weight: 800;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}

.contact-content h2 span {
  color: rgba(255, 50, 9, 1);
  font-style: italic;
}

.contact-content p {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--muted);
  line-height: 1.6;
  max-width: 440px;
  margin: 0 0 48px;
}

.huge-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  color: #000;
  padding: 16px 24px 16px 36px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.huge-contact-btn:hover {
  background: rgba(255, 50, 9, 1);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(255, 50, 9, 0.25);
}

.huge-contact-btn .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(0,0,0,0.08);
  border-radius: 50%;
  transition: transform 0.4s ease, background 0.4s ease;
}

.huge-contact-btn:hover .btn-icon {
  background: rgba(255,255,255,0.25);
  transform: translateX(6px);
}

.huge-contact-btn svg {
  width: 20px;
  height: 20px;
}

/* ---- Contact Form ---- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.form-group input,
.form-group textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  padding: 10px 0;
  outline: none;
  transition: border-color 0.3s ease;
  resize: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: rgba(255, 50, 9, 1);
}

.form-feedback {
  font-size: 14px;
  font-weight: 600;
  padding: 12px 16px;
  border-left: 3px solid;
  margin-top: 4px;
}

.form-feedback.success {
  border-color: #22c55e;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.05);
}

.form-feedback.error {
  border-color: rgba(255, 50, 9, 1);
  color: rgba(255, 50, 9, 1);
  background: rgba(255, 50, 9, 0.05);
}

.huge-contact-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.huge-contact-btn:disabled:hover {
  transform: none;
}


.contact-visual {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 460px;
  border-radius: 24px;
  overflow: hidden;
}

.contact-visual img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.8);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-max:hover .contact-visual img {
  filter: grayscale(0%) brightness(1.1);
  transform: scale(1.05);
}

.social-connect {
  background: var(--black);
  padding: 80px clamp(22px, 3vw, 56px);
}

.social-links-container {
  display: flex;
  flex-direction: column;
}

.social-name {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
}

.social-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--ink);
}

.social-item:first-child {
  border-top: 1px solid var(--line);
}

.social-item:hover {
  color: rgba(255, 50, 9, 1);
  padding-left: 20px;
  padding-right: 20px;
}

.social-arrow {
  font-weight: 400;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-item:hover .social-arrow {
  transform: translate(5px, -5px) scale(1.1);
}

.footer {
  position: relative;
  background: var(--black);
  margin-top: 100px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-col {
  padding: 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.footer-col:last-child {
  border-right: none;
}

.footer-col span {
  font-family: monospace;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.footer-col strong, .footer-col a {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: rgba(255, 50, 9, 1);
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.status-indicator::before {
  content: '';
  width: 12px;
  height: 12px;
  background: rgba(255, 50, 9, 1);
  border-radius: 50%;
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(255, 50, 9, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(255, 50, 9, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 50, 9, 0); }
}

.social-links-minimal {
  display: flex;
  gap: 20px;
}

.footer-marquee-container {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  background: rgba(255, 50, 9, 1);
  transform: rotate(-1deg) scale(1.02);
  margin: 40px 0;
}

.footer-marquee {
  display: flex;
  width: max-content;
  animation: footerMarquee 10s linear infinite;
}

.footer-marquee span {
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  padding-right: 40px;
  letter-spacing: 0.05em;
}

@keyframes footerMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.footer-massive {
  padding: 0 4vw;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer-massive h2 {
  margin: 0;
  font-size: 15vw;
  line-height: 0.75;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.2);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  position: relative;
  transform: translateY(15%);
}

.footer-massive h2::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: #fff;
  -webkit-text-stroke: 0;
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  transition: clip-path 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-massive:hover h2 {
  -webkit-text-stroke: 2px transparent;
  transform: translateY(5%);
}

.footer-massive:hover h2::before {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* Initial states for JS observer */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  filter: blur(10px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@media (max-width: 760px) {
  .stage {
    width: 100%;
    margin: 0;
  }

  .hero {
    height: 100vh;
    min-height: 0;
    background-position: 65% 50%, 30% center;
  }

  .topbar {
    position: fixed;
    top: 16px;
    left: 16px;
    right: 16px;
    width: auto;
    transform: none;
    grid-template-columns: 1fr;
    row-gap: 4px;
    padding: 0;
    border-radius: 0;
    mix-blend-mode: difference;
    color: #fff;
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }

  .topbar .mark {
    justify-self: center;
    font-size: 20px;
  }

  .topbar .project-link {
    display: none;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: center;
    order: 3;
    gap: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
  }

  .hero-kicker {
    bottom: 26%;
    left: 24px;
    font-size: 13px;
  }

  .hero h1 {
    left: 20px;
    bottom: 15%;
    font-size: clamp(48px, 16vw, 100px);
    line-height: 1;
  }

  .services {
    display: none;
  }
  
  .services li {
    padding: 6px 14px;
    font-size: 9px;
  }

  .hero-thumb {
    display: none;
  }

  .intro {
    min-height: 70vh;
    padding: 80px 20px;
  }

  .intro p {
    width: 95%;
    font-size: 28px;
    line-height: 1.2;
  }

  .intro-image, .intro-lower {
    display: none;
  }

  .work-list {
    padding: 60px 18px 40px;
  }

  .work-list > h2 {
    margin-bottom: 32px;
    font-size: 40px;
  }

  .work-row {
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 24px 0;
  }

  .work-row::before {
    display: none;
  }

  .edu-logo {
    width: 48px;
    height: 48px;
  }

  .work-row h2 {
    font-size: 18px;
  }

  .work-row p {
    font-size: 13px;
  }

  .work-row strong {
    grid-column: 2;
    justify-self: start;
    padding: 8px 16px;
    font-size: 12px;
  }

  .testimonials {
    padding: 80px 0 100px;
  }
  .testimonials h2 {
    font-size: 40px;
    margin-bottom: 40px;
    margin-left: 20px;
    margin-right: 20px;
  }
  .testi-track {
    gap: 16px;
    padding: 20px;
  }
  .testi-card {
    width: 300px;
    padding: 32px 24px;
  }

  .insights {
    padding: 80px 20px 100px;
  }

  .insights h2 {
    margin-bottom: 40px;
    font-size: 40px;
  }

  .insight-grid article {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 0;
  }
  .insight-grid article:hover {
    padding-left: 0;
    padding-right: 0;
    background: transparent;
  }
  .insight-grid img {
    position: relative;
    top: 0;
    right: 0;
    width: 100%;
    height: 240px;
    transform: none !important;
    opacity: 1;
    margin-bottom: 24px;
    border-radius: 16px;
    order: 1;
  }
  .insight-grid h3 {
    order: 2;
    margin-bottom: 12px;
  }
  .insight-grid time {
    order: 3;
    margin-right: 0;
    margin-bottom: 24px;
  }
  .insight-grid .btn-checkout {
    order: 4;
    width: 100%;
    border-radius: 100px;
    height: 56px;
  }
  .insight-grid .btn-checkout::before {
    content: 'CHECK OUT';
    font-size: 14px;
    margin-right: 8px;
    color: inherit;
  }
  .insight-grid .btn-checkout span {
    font-size: 16px;
    transform: none !important;
  }

  .insight-grid h3 {
    font-size: 20px;
  }
  
  .insight-grid p {
    font-size: 13px;
  }

  .contact-max {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    gap: 40px;
    margin: 80px 18px 60px;
    border-radius: 24px;
  }

  .contact-visual {
    min-height: 320px;
  }
  
  .huge-contact-btn {
    width: 100%;
    justify-content: space-between;
    padding: 12px 16px 12px 28px;
  }

  .social-connect {
    padding: 60px 18px;
  }

  .social-item {
    padding: 24px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-col {
    padding: 32px 20px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  .footer-col:last-child {
    border-bottom: none;
  }
  .footer-massive {
    padding: 8vw 20px 0;
  }
  .footer-massive h2 {
    font-size: 16.5vw;
  }
}
