/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   AINUR KAYUPOVA — PORTFOLIO
   Design System: Netflix Dark Premium
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Crimson+Pro:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --red: #E50914;
  --red-dim: #b20710;
  --red-glow: rgba(229,9,20,0.15);
  --black: #0a0a0a;
  --dark: #141414;
  --dark2: #1c1c1c;
  --card-bg: #181818;
  --card-hover: #252525;
  --white: #ffffff;
  --off-white: #e5e5e5;
  --muted: #808080;
  --muted2: #4a4a4a;
  --gold: #d4a843;
  --font-display: 'Bebas Neue', 'Arial Black', sans-serif;
  --font-serif: 'Crimson Pro', Georgia, serif;
  --font-sans: 'DM Sans', -apple-system, sans-serif;
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--dark);
  color: var(--off-white);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

::selection { background: var(--red); color: white; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 2px; }

/* ━━━━━━━━━━━━━━━━━━━
   NAVIGATION
━━━━━━━━━━━━━━━━━━━ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, box-shadow 0.4s;
}

nav.scrolled {
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.1em;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-dot {
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2.5s ease infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(229,9,20,0.4); }
  50% { opacity: 0.85; transform: scale(0.9); box-shadow: 0 0 0 6px rgba(229,9,20,0); }
}

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

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--red) !important;
  color: white !important;
  padding: 9px 22px !important;
  border-radius: 3px !important;
  letter-spacing: 0.08em !important;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: var(--red-dim) !important; transform: translateY(-1px) !important; }
.nav-cta::after { display: none !important; }

/* ━━━━━━━━━━━━━━━━━━━
   HERO
━━━━━━━━━━━━━━━━━━━ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
  background: var(--black);
}

/* Film grain overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  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%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  pointer-events: none;
  z-index: 5;
  opacity: 0.5;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 7% 80px 8%;
  position: relative;
  z-index: 3;
}

.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--black) 0%, rgba(10,10,10,0.35) 40%, transparent 70%);
  z-index: 2;
}

.hero-right::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, var(--black), transparent);
  z-index: 2;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
  filter: contrast(1.06) brightness(0.88) saturate(0.95);
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: fadeUp 0.7s ease both;
}

.hero-eyebrow::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--red);
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(64px, 8.5vw, 118px);
  line-height: 0.9;
  color: var(--white);
  letter-spacing: 0.02em;
  animation: fadeUp 0.7s 0.08s ease both;
}

.hero-name-last {
  color: var(--red);
  display: block;
}

.hero-divider {
  width: 60px; height: 3px;
  background: var(--red);
  margin: 28px 0;
  animation: fadeUp 0.7s 0.15s ease both;
}

.hero-title-block {
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-title-line {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 300;
  color: rgba(229,229,229,0.75);
  line-height: 1.6;
  font-style: italic;
}

.hero-tagline {
  margin-top: 28px;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 500px;
  animation: fadeUp 0.7s 0.28s ease both;
}

.hero-tagline strong { color: var(--off-white); font-style: italic; font-weight: 400; }

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 44px;
  animation: fadeUp 0.7s 0.36s ease both;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 46px;
  color: var(--white);
  line-height: 1;
}

.hero-stat-sup {
  color: var(--red);
  font-size: 26px;
  vertical-align: super;
}

.hero-stat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
}

.hero-stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.1);
  align-self: stretch;
  margin: 4px 0;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  margin-top: 44px;
  animation: fadeUp 0.7s 0.44s ease both;
}

.btn-primary {
  background: var(--red);
  color: white;
  border: none;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  border-radius: 3px;
}

.btn-primary:hover {
  background: var(--red-dim);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229,9,20,0.35);
}

.play-icon {
  width: 0; height: 0;
  border-style: solid;
  border-color: transparent transparent transparent white;
  border-width: 7px 0 7px 12px;
  display: inline-block;
}

.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: white;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  border-radius: 3px;
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-2px);
}

.scroll-hint {
  position: absolute;
  bottom: 32px; left: 8%;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 6;
  animation: fadeUp 1s 0.9s ease both;
}

.scroll-hint-bar { width: 40px; height: 1px; background: var(--red); }
.scroll-hint-text {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted2);
}

.hero-photo-badges {
  position: absolute;
  bottom: 40px; right: 5%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  animation: fadeUp 0.8s 0.6s ease both;
}

.photo-badge {
  background: rgba(10,10,10,0.82);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 7px 14px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  backdrop-filter: blur(8px);
  border-radius: 2px;
}

.photo-badge span { color: var(--red); }

/* ━━━━━━━━━━━━━━━━━━━
   SHARED SECTION STYLES
━━━━━━━━━━━━━━━━━━━ */
.section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.section-label::after {
  content: '';
  width: 48px; height: 1px;
  background: rgba(229,9,20,0.3);
}

.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 62px);
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1;
}

.section-h2 em { color: var(--red); font-style: normal; }

/* ━━━━━━━━━━━━━━━━━━━
   ABOUT
━━━━━━━━━━━━━━━━━━━ */
#about {
  padding: 100px 8%;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

#about::before {
  content: 'ABOUT';
  position: absolute;
  right: -2%;
  top: 55%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 200px;
  color: rgba(255,255,255,0.018);
  letter-spacing: 0.08em;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 80px;
  align-items: start;
  margin-top: 60px;
}

.about-photo-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.about-photo-main {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  border-radius: 2px;
}

.about-photo-main img,
.about-photo-small img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.84);
  display: block;
}

.about-photo-main:hover img,
.about-photo-small:hover img { transform: scale(1.04); }

.about-photo-small {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 2px;
}

.about-photo-small img { object-position: center 12%; }

.photo-corner {
  position: absolute;
  top: 0; left: 0;
  width: 26px; height: 26px;
  border-top: 2px solid var(--red);
  border-left: 2px solid var(--red);
  z-index: 2;
}

.about-intro {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.55;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.about-intro strong { color: var(--red); font-style: normal; font-weight: 600; }

.about-body p {
  font-family: var(--font-serif);
  font-size: 17px;
  color: rgba(229,229,229,0.68);
  line-height: 1.88;
  margin-bottom: 20px;
  font-weight: 300;
}

.about-body p strong { color: var(--off-white); font-weight: 400; }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  transition: all 0.22s;
}

.tag:hover { color: var(--white); border-color: var(--red); background: var(--red-glow); }

/* ━━━━━━━━━━━━━━━━━━━
   CAREER TIMELINE
━━━━━━━━━━━━━━━━━━━ */
#career {
  padding: 100px 8%;
  background: var(--dark);
  position: relative;
}

.career-grid { margin-top: 60px; }

.career-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: relative;
  transition: padding-left 0.3s;
}

.career-item:first-child { border-top: 1px solid rgba(255,255,255,0.07); }

.career-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}

.career-item:hover::before { transform: scaleY(1); }
.career-item:hover { padding-left: 20px; }

.career-period {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 6px;
}

.career-company {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted2);
}

.career-role {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.1;
}

.career-desc {
  font-family: var(--font-serif);
  font-size: 16px;
  color: rgba(229,229,229,0.6);
  line-height: 1.82;
  font-weight: 300;
  max-width: 700px;
}

.career-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.career-pill {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  padding: 4px 11px;
  border: 1px solid rgba(229,9,20,0.3);
  border-radius: 20px;
  transition: all 0.2s;
}

.career-pill:hover { background: var(--red-glow); }

/* ━━━━━━━━━━━━━━━━━━━
   WORK — NETFLIX ROWS
━━━━━━━━━━━━━━━━━━━ */
#work {
  padding: 100px 0;
  background: var(--black);
  overflow: hidden;
}

.work-header { padding: 0 8%; margin-bottom: 56px; }

.work-subtext {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--muted);
  margin-top: 16px;
  font-style: italic;
  font-weight: 300;
}

.project-row { margin-bottom: 52px; }

.row-label {
  padding: 0 8%;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.row-title {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.08em;
  color: var(--white);
}

.row-category-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  padding: 4px 10px;
  border: 1px solid rgba(229,9,20,0.35);
  border-radius: 2px;
}

/* Scrollable strip */
.cards-scroll {
  display: flex;
  gap: 10px;
  padding: 8px 8% 16px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
}

.cards-scroll::-webkit-scrollbar { display: none; }
.cards-scroll.grabbing { cursor: grabbing; }

/* Card */
.project-card {
  flex: 0 0 200px;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.3s;
  transform-origin: center bottom;
  cursor: pointer;
  background: var(--card-bg);
}

.project-card:hover {
  transform: scale(1.09) translateY(-10px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.75), 0 0 0 1px rgba(229,9,20,0.2);
  z-index: 10;
}

.project-card.wide { flex: 0 0 280px; }

/* Poster thumbnail — true poster ratio 2:3 */
.card-poster {
  width: 100%;
  aspect-ratio: 2/3;
  position: relative;
  overflow: hidden;
  background: var(--dark2);
}

.card-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
  filter: brightness(0.82) saturate(0.9);
}

.project-card:hover .card-poster img {
  transform: scale(1.04);
  filter: brightness(0.92) saturate(1.05);
}

/* Gradient overlay on poster */
.card-poster::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(24,24,24,1) 0%, transparent 100%);
}

.card-role-badge {
  position: absolute;
  top: 8px; left: 8px;
  background: rgba(229,9,20,0.92);
  color: white;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 2px;
  z-index: 2;
  backdrop-filter: blur(4px);
}

/* Info shown on hover — Netflix expand style */
.card-info {
  padding: 12px 14px 16px;
  background: var(--card-bg);
}

.card-title {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 5px;
}

.card-meta {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.card-dot {
  width: 3px; height: 3px;
  background: var(--muted2);
  border-radius: 50%;
  flex-shrink: 0;
}

.card-desc {
  font-family: var(--font-serif);
  font-size: 12.5px;
  color: rgba(229,229,229,0.48);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CSS-generated poster backgrounds for shows without images */
.poster-cobra-kai {
  background: linear-gradient(170deg, #0d0d0d 0%, #1a0500 40%, #3d0a00 70%, #8b2000 100%);
}
.poster-escape {
  background: linear-gradient(160deg, #050508 0%, #0d0a1a 40%, #1a0d2e 70%, #2d1a4a 100%);
}
.poster-mind-field {
  background: linear-gradient(165deg, #080808 0%, #0a0a0a 40%, #141428 70%, #1e1e3d 100%);
}
.poster-gmm {
  background: linear-gradient(150deg, #080808 0%, #0a140a 40%, #1a2e0a 70%, #2e4d14 100%);
}
.poster-kevin {
  background: linear-gradient(155deg, #0a0a05 0%, #14140a 40%, #2e2e0a 70%, #4d4d14 100%);
}
.poster-dallas {
  background: linear-gradient(165deg, #050508 0%, #080814 40%, #14142e 70%, #1e1e4d 100%);
}
.poster-best-shot {
  background: linear-gradient(155deg, #080505 0%, #14050a 40%, #2e0a14 70%, #4d0a1e 100%);
}
.poster-deported {
  background: linear-gradient(160deg, #080808 0%, #0f0f0f 40%, #141414 70%, #1c1c1c 100%);
}
.poster-youth {
  background: linear-gradient(150deg, #050808 0%, #0a1414 40%, #0a1e1e 70%, #0a2e2e 100%);
}
.poster-project-runway {
  background: linear-gradient(165deg, #0a0508 0%, #14080f 40%, #2e0a1e 70%, #4d0a2e 100%);
}
.poster-gaycation {
  background: linear-gradient(155deg, #080508 0%, #14080a 40%, #2e0808 70%, #4d0808 100%);
}
.poster-fts-delicious {
  background: linear-gradient(155deg, #0a0805 0%, #14100a 40%, #2e200a 70%, #4d3814 100%);
}
.poster-vwos {
  background: linear-gradient(150deg, #050808 0%, #080f0a 40%, #0a1e0a 70%, #0a2e0a 100%);
}
.poster-huangs {
  background: linear-gradient(165deg, #080505 0%, #14050a 40%, #200a14 70%, #380a20 100%);
}
.poster-vice-america {
  background: linear-gradient(155deg, #080808 0%, #101010 40%, #1a1a1a 70%, #282828 100%);
}
.poster-bong-appetit {
  background: linear-gradient(155deg, #050808 0%, #080f0a 40%, #0a200a 70%, #143814 100%);
}
.poster-party-legends {
  background: linear-gradient(160deg, #080508 0%, #14080f 40%, #1e0a14 70%, #2e0a1e 100%);
}
.poster-training-days {
  background: linear-gradient(155deg, #080808 0%, #0f1014 40%, #14182e 70%, #1e2240 100%);
}
.poster-best-cover {
  background: linear-gradient(150deg, #0a0808 0%, #180a0a 40%, #280808 70%, #380808 100%);
}
.poster-flophouse {
  background: linear-gradient(155deg, #080808 0%, #101010 40%, #181818 70%, #202020 100%);
}

/* Poster text overlays for CSS-generated cards */
.poster-text {
  position: absolute;
  bottom: 16px;
  left: 0; right: 0;
  text-align: center;
  z-index: 3;
  padding: 0 12px;
}

.poster-text-title {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
  line-height: 1.1;
}

.poster-text-subtitle {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(229,229,229,0.5);
  margin-top: 4px;
}

.poster-icon {
  font-size: 36px;
  display: block;
  margin: 0 auto 8px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  opacity: 0.75;
}

/* ━━━━━━━━━━━━━━━━━━━
   SERVICES
━━━━━━━━━━━━━━━━━━━ */
#services {
  padding: 100px 8%;
  background: var(--dark);
}

.services-intro {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--muted);
  margin-top: 14px;
  font-style: italic;
  font-weight: 300;
  max-width: 560px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 60px;
}

.service-card {
  background: var(--card-bg);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  border-top: 2px solid transparent;
}

.service-card::before {
  content: attr(data-num);
  position: absolute;
  top: -15px; right: 20px;
  font-family: var(--font-display);
  font-size: 110px;
  color: rgba(255,255,255,0.025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.service-card:hover { background: var(--card-hover); border-top-color: var(--red); }

.service-icon { font-size: 30px; margin-bottom: 24px; display: block; }

.service-title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.1;
}

.service-desc {
  font-family: var(--font-serif);
  font-size: 16px;
  color: rgba(229,229,229,0.56);
  line-height: 1.82;
  font-weight: 300;
  margin-bottom: 30px;
}

.service-list { list-style: none; }

.service-list li {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-list li:last-child { border-bottom: none; }

.service-list li::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--red);
  flex-shrink: 0;
}

.service-list li:hover { color: var(--white); }

/* ━━━━━━━━━━━━━━━━━━━
   TESTIMONIALS
━━━━━━━━━━━━━━━━━━━ */
#testimonials {
  padding: 100px 8%;
  background: var(--black);
}

.testimonials-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 60px;
  align-items: start;
}

.featured-quote { position: relative; }

.quote-mark {
  font-family: Georgia, serif;
  font-size: 160px;
  color: var(--red);
  opacity: 0.22;
  line-height: 0.75;
  display: block;
  margin-bottom: -24px;
  margin-left: -8px;
  user-select: none;
}

.featured-quote-text {
  font-family: var(--font-serif);
  font-size: 23px;
  font-style: italic;
  color: var(--white);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 28px;
}

.quote-author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--off-white);
}

.quote-author-title {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  margin-top: 3px;
}

.quote-author-rel {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 5px;
}

.testimonials-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-card {
  background: var(--card-bg);
  padding: 26px 28px;
  border-left: 2px solid rgba(229,9,20,0.2);
  transition: border-left-color 0.3s, background 0.3s;
}

.testimonial-card:hover { border-left-color: var(--red); background: var(--card-hover); }

.testimonial-text {
  font-family: var(--font-serif);
  font-size: 15px;
  font-style: italic;
  color: rgba(229,229,229,0.65);
  line-height: 1.78;
  margin-bottom: 14px;
  font-weight: 300;
}

.testimonial-author { font-size: 13px; font-weight: 600; color: var(--off-white); }
.testimonial-role { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ━━━━━━━━━━━━━━━━━━━
   RESUME
━━━━━━━━━━━━━━━━━━━ */
#resume {
  padding: 100px 8%;
  background: var(--dark);
}

.resume-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  margin-top: 60px;
  align-items: start;
}

.resume-section { margin-bottom: 56px; }

.resume-section-title {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.resume-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(229,9,20,0.2);
}

.resume-summary {
  font-family: var(--font-serif);
  font-size: 17px;
  color: rgba(229,229,229,0.68);
  line-height: 1.88;
  font-weight: 300;
}

.resume-entry {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: padding-left 0.3s;
}

.resume-entry:last-child { border-bottom: none; }
.resume-entry:hover { padding-left: 8px; }

.resume-role {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.05em;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 4px;
}

.resume-company {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.resume-company em { color: var(--red); font-style: normal; }

.resume-entry-desc {
  font-family: var(--font-serif);
  font-size: 15px;
  color: rgba(229,229,229,0.55);
  line-height: 1.82;
  font-weight: 300;
}

.resume-date {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--muted2);
  white-space: nowrap;
  padding-top: 4px;
}

/* Sidebar */
.resume-sidebar { position: sticky; top: 84px; }

.sidebar-block {
  background: var(--card-bg);
  padding: 26px;
  margin-bottom: 14px;
  border-top: 2px solid var(--red);
  border-radius: 2px;
}

.sidebar-block h4 {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 18px;
}

.edu-item {
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.edu-item:last-child { border-bottom: none; }
.edu-degree { font-size: 13px; font-weight: 600; color: var(--off-white); margin-bottom: 2px; }
.edu-school { font-size: 11px; color: var(--muted); }
.edu-year { font-size: 10px; color: var(--red); font-weight: 700; letter-spacing: 0.1em; margin-top: 2px; }

.skill-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.skill-row:last-child { border-bottom: none; }

.skill-bar {
  width: 72px; height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 1px;
  overflow: hidden;
  flex-shrink: 0;
}

.skill-fill { height: 100%; background: var(--red); border-radius: 1px; }

.sw-grid { display: flex; flex-wrap: wrap; gap: 6px; }

.sw-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 2px;
  transition: all 0.2s;
  cursor: default;
}

.sw-tag:hover { color: var(--white); border-color: var(--red); background: var(--red-glow); }

/* ━━━━━━━━━━━━━━━━━━━
   CONTACT
━━━━━━━━━━━━━━━━━━━ */
#contact {
  padding: 120px 8%;
  background: var(--black);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(229,9,20,0.065) 0%, transparent 70%);
  pointer-events: none;
}

.contact-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

.contact-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 100px);
  color: var(--white);
  letter-spacing: 0.03em;
  line-height: 1;
  margin-bottom: 22px;
}

.contact-sub {
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  color: var(--muted);
  font-weight: 300;
  max-width: 540px;
  margin: 0 auto 48px;
  line-height: 1.65;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 38px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: all 0.25s;
}

.contact-link-primary { background: var(--red); color: white; }
.contact-link-primary:hover { background: var(--red-dim); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(229,9,20,0.35); }

.contact-link-secondary { background: rgba(255,255,255,0.06); color: var(--off-white); border: 1px solid rgba(255,255,255,0.15); }
.contact-link-secondary:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

.contact-info {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.contact-detail { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.contact-detail-label { font-size: 9px; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted2); }
.contact-detail-value { font-size: 14px; color: var(--off-white); }

/* ━━━━━━━━━━━━━━━━━━━
   FOOTER
━━━━━━━━━━━━━━━━━━━ */
footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 36px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo { font-family: var(--font-display); font-size: 19px; letter-spacing: 0.1em; color: var(--white); }
.footer-logo span { color: var(--red); }
.footer-copy { font-size: 11px; color: var(--muted2); letter-spacing: 0.07em; }

/* ━━━━━━━━━━━━━━━━━━━
   REVEAL ANIMATIONS
━━━━━━━━━━━━━━━━━━━ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.32s; }
.reveal-d4 { transition-delay: 0.44s; }

/* ━━━━━━━━━━━━━━━━━━━
   RESPONSIVE
━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: 100px 6% 60px; }
  .hero-right { height: 55vw; min-height: 300px; }
  .hero-right::before { background: linear-gradient(to bottom, var(--black) 0%, transparent 30%); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-layout { grid-template-columns: 1fr; }
  .resume-layout { grid-template-columns: 1fr; }
  .career-item { grid-template-columns: 1fr; gap: 4px; }
  nav { padding: 0 4%; }
  .nav-links { display: none; }
  .hero-stats { gap: 24px; }
  .hero-stats .hero-stat-num { font-size: 36px; }
}

@media (max-width: 600px) {
  #about, #career, #work, #services, #testimonials, #resume, #contact { padding: 72px 5%; }
  .work-header, .row-label, .cards-scroll { padding-left: 5%; padding-right: 5%; }
  .section-h2 { font-size: 32px; }
}

/* Service SVG Icons */
.service-icon-svg {
  width: 52px;
  height: 52px;
  display: block;
  margin-bottom: 28px;
  filter: drop-shadow(0 0 8px rgba(229,9,20,0.25));
  transition: filter 0.3s ease, transform 0.3s ease;
}
.service-card:hover .service-icon-svg {
  filter: drop-shadow(0 0 14px rgba(229,9,20,0.5));
  transform: scale(1.08);
}
