/* ============================================================
   WebCraft Agency — Design System
   Ultra Minimalist Monokrom & Platin (Pure Dark & Silver)
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors - Ultra Minimalist Monochrome & Platinum */
  --clr-bg: #09090b;
  --clr-bg-alt: #0f0f12;
  --clr-bg-card: #141417;
  --clr-bg-card-hover: #1c1c21;
  --clr-surface: #18181b;
  --clr-border: rgba(255, 255, 255, 0.07);
  --clr-border-hover: rgba(255, 255, 255, 0.18);

  --clr-text: #ffffff;
  --clr-text-secondary: #a1a1aa;
  --clr-text-muted: #71717a;

  --clr-accent-1: #ffffff;             /* Crisp Platinum White */
  --clr-accent-2: #e4e4e7;             /* Silver Platinum */
  --clr-accent-gradient: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
  --clr-accent-gradient-2: linear-gradient(135deg, #ffffff 0%, #e4e4e7 50%, #71717a 100%);
  --clr-glow-white: rgba(255, 255, 255, 0.15);
  --clr-glow-subtle: rgba(255, 255, 255, 0.06);

  /* Typography */
  --ff-heading: 'Space Grotesk', sans-serif;
  --ff-body: 'Inter', sans-serif;

  --fs-display: clamp(2.4rem, 5.2vw, 4.2rem);
  --fs-h1: clamp(2.2rem, 5vw, 4.5rem);
  --fs-h2: clamp(1.8rem, 4vw, 3.2rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.75rem);
  --fs-h4: clamp(1rem, 1.5vw, 1.25rem);
  --fs-body: clamp(0.95rem, 1.1vw, 1.1rem);
  --fs-small: clamp(0.8rem, 0.9vw, 0.9rem);
  --fs-label: 0.75rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;
  --space-section: clamp(3.5rem, 6vh, 5rem);

  /* Layout */
  --max-width: 1320px;
  --container-padding: clamp(1.25rem, 4vw, 3rem);

  /* Effects */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px var(--clr-glow-subtle);

  /* Header */
  --header-height: 72px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--ff-body);
  font-weight: 400;
  color: var(--clr-text);
  background-color: var(--clr-bg);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Selection */
::selection {
  background: #ffffff;
  color: #09090b;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: var(--clr-bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--clr-text);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p {
  color: var(--clr-text-secondary);
}

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

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.gradient-text {
  background: var(--clr-accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-body);
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--clr-text-secondary);
  margin-bottom: var(--space-md);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1.5px;
  background: #ffffff;
}

/* Noise Texture Overlay */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.02;
  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)'/%3E%3C/svg%3E");
}

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  display: none !important;
}

.preloader__logo {
  font-family: var(--ff-heading);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  opacity: 0;
}

.preloader__bar-track {
  width: 200px;
  height: 2px;
  background: var(--clr-border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.preloader__bar-fill {
  width: 0%;
  height: 100%;
  background: var(--clr-accent-gradient);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.preloader__percent {
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  color: var(--clr-text-muted);
  letter-spacing: 0.1em;
  opacity: 0;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: transform var(--transition-base), background var(--transition-base), padding var(--transition-base);
}

.navbar.is-scrolled {
  padding: 0.85rem 0;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--clr-border);
}

.navbar.is-hidden {
  transform: translateY(-100%);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar__logo {
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  z-index: 10;
  text-decoration: none;
  color: var(--clr-text);
}

.navbar__logo-text {
  color: #ffffff;
}

.navbar__logo-accent {
  background: var(--clr-accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar__logo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
  display: inline-block;
  margin-left: 2px;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-left: auto;
  margin-right: var(--space-xl);
}

.navbar__link {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--clr-text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  letter-spacing: 0.01em;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #ffffff;
  transition: width var(--transition-base);
}

.navbar__link:hover {
  color: var(--clr-text);
}

.navbar__link:hover::after {
  width: 100%;
}

/* CTA Button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn--primary {
  background: #ffffff;
  color: #09090b;
  border: 1px solid #ffffff;
  font-weight: 600;
}

.btn--primary:hover {
  background: #e4e4e7;
  border-color: #e4e4e7;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--clr-text);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn--outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn--large {
  padding: 1rem 2.2rem;
  font-size: var(--fs-body);
}

.btn__arrow {
  display: inline-flex;
  transition: transform var(--transition-fast);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* Mobile Menu Toggle */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  cursor: pointer;
  z-index: 10;
  background: none;
  border: none;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.navbar__toggle.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.navbar__toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Toggle Button */
.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  cursor: pointer;
  z-index: 100002;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  position: relative;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.navbar__toggle span,
.navbar__toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.navbar__toggle.is-active span:nth-child(1),
.navbar__toggle.is-active .navbar__toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__toggle.is-active span:nth-child(2),
.navbar__toggle.is-active .navbar__toggle-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar__toggle.is-active span:nth-child(3),
.navbar__toggle.is-active .navbar__toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Fullscreen Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100001;
  background: rgba(9, 9, 11, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  width: 100%;
  max-width: 320px;
  text-align: center;
}

.mobile-menu__link {
  font-family: var(--ff-heading);
  font-size: clamp(1.4rem, 5vw, 1.85rem);
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
  padding: 0.4rem 1rem;
}

.mobile-menu__link:hover,
.mobile-menu__link:active {
  color: #fbbf24;
  transform: scale(1.05);
}

.mobile-menu__link {
  font-family: var(--ff-heading);
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--clr-text);
  transition: color var(--transition-fast);
}

.mobile-menu__link:hover {
  color: #a1a1aa;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + 1.5rem) 0 4rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Animated subtle ambient platinum orbs */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: orbFloat 15s ease-in-out infinite;
}

.hero__orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
  top: -15%;
  right: -10%;
  opacity: 0.8;
  animation-delay: 0s;
}

.hero__orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(228, 228, 231, 0.05), transparent 70%);
  bottom: -10%;
  left: -10%;
  opacity: 0.6;
  animation-delay: -5s;
}

.hero__orb--3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04), transparent 70%);
  top: 35%;
  left: 45%;
  opacity: 0.5;
  animation-delay: -10s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Subtle grid pattern */
.hero__grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero__title {
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero__title .line-wrapper {
  display: block;
  overflow: hidden;
  margin-bottom: -0.15em;
  padding-bottom: 0.15em;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  color: var(--clr-text-secondary);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ============================================================
   SERVICES SECTION — Ultra Minimalist Monokrom & Platin
   ============================================================ */
.services {
  padding: var(--space-section) 0;
  position: relative;
}

.services__header {
  margin-bottom: var(--space-3xl);
  max-width: 650px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: rgba(20, 20, 23, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.25rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: default;
}

/* Subtle silver glow on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

/* Silver border highlight on hover */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover {
  background: rgba(28, 28, 33, 0.85);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 255, 255, 0.08);
}

.service-card:hover::before,
.service-card:hover::after {
  opacity: 1;
}

.service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.35s ease;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.04);
}

.service-card:hover .service-card__icon {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

.service-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--clr-text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.3rem 0.65rem;
  border-radius: 100px;
  transition: all 0.3s ease;
}

.service-card__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

.service-card:hover .service-card__tag {
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.service-card__title {
  font-family: var(--ff-heading);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.service-card__desc {
  font-size: 0.93rem;
  color: var(--clr-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.service-card__footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.15rem;
  margin-top: auto;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-text-secondary);
  transition: all 0.3s ease;
}

.service-card__link svg {
  transition: transform 0.3s ease;
}

.service-card:hover .service-card__link {
  color: #ffffff;
}

.service-card:hover .service-card__link svg {
  transform: translateX(4px);
}

/* ============================================================
   PORTFOLIO / PROJECTS SECTION
   ============================================================ */
.portfolio {
  padding: var(--space-section) 0;
  position: relative;
}

.portfolio__header {
  margin-bottom: var(--space-3xl);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-lg);
}

.portfolio__header-left {
  max-width: 550px;
}

/* ============================================================
   PORTFOLIO SECTION
   ============================================================ */
.portfolio__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem; /* Increased spacing between cards */
}

/* ================================================================
   PROJECT CARD — Monochrome & Platinum Horizontal (Image Left, Text Right)
   ================================================================ */
.project-card {
  position: relative;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 250px; /* Generous fixed height */
  max-height: 250px;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
}

/* Link is the 2-column grid container (Image Left, Content Right for ALL cards) */
.project-card__link {
  display: grid;
  grid-template-columns: 380px 1fr;  /* 380px image | flexible content */
  height: 100%;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

/* Left white/platinum accent bar */
.project-card::after {
  content: '';
  position: absolute;
  left: 0; top: 12%; bottom: 12%;
  width: 3px;
  background: linear-gradient(180deg, #ffffff, rgba(255,255,255,0.4));
  border-radius: 3px;
  opacity: 0;
  transition: opacity 0.3s ease, top 0.3s ease, bottom 0.3s ease;
  pointer-events: none;
  z-index: 5;
}

.project-card:hover::after {
  opacity: 1;
  top: 8%;
  bottom: 8%;
}

.project-card:hover {
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-5px);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.08);
}

/* ---- Image Side (Fixed Left for all cards) ---- */
.project-card__image {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background: #0f0f12;
}

.project-card__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .project-card__image img {
  transform: scale(1.08);
}

/* Gradient overlay on image */
.project-card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.project-card:hover .project-card__image-overlay {
  opacity: 1;
}

/* Index number badge (bottom-left corner of image) */
.project-card__num {
  position: absolute;
  bottom: 14px;
  left: 16px;
  font-family: var(--ff-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
  background: rgba(9,9,11,0.8);
  backdrop-filter: blur(10px);
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.18);
  line-height: 1;
  z-index: 2;
}

/* ---- Content Side (Right for all cards) ---- */
.project-card__content {
  padding: 1.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  position: relative;
  background: var(--clr-bg-card);
}

/* Top row: tag pill + deco icon */
.project-card__top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  gap: 1rem;
}

/* Category tag — pure monochrome & platinum */
.project-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.25s ease;
}

.project-card:hover .project-card__tag {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Glowing dot inside tag */
.project-card__tag-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff;
  flex-shrink: 0;
  animation: pulseDot 2s ease-in-out infinite;
}

/* Decorative SVG icon (top-right) */
.project-card__deco {
  opacity: 0.45;
  transition: opacity 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card:hover .project-card__deco {
  opacity: 0.95;
  transform: scale(1.18) rotate(6deg);
}

/* Title */
.project-card__title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.6rem;
  color: #ffffff;
  letter-spacing: -0.015em;
  transition: color 0.2s ease;
}

.project-card:hover .project-card__title {
  color: #ffffff;
}

/* Description */
.project-card__desc {
  font-size: 0.92rem;
  color: var(--clr-text-secondary);
  line-height: 1.65;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer row: client/year + CTA */
.project-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--clr-border);
  gap: 1rem;
}

/* Client + year meta */
.project-card__meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8rem;
  color: var(--clr-text-muted);
}

.project-card__year-badge {
  padding: 0.18rem 0.55rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--clr-border);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--clr-text-secondary);
}

/* CTA arrow */
.project-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  transition: gap 0.2s ease;
  margin-left: auto;
}

.project-card:hover .project-card__cta {
  gap: 0.75rem;
}

.project-card__cta svg {
  transition: transform 0.2s ease;
}

.project-card:hover .project-card__cta svg {
  transform: translateX(4px);
}

/* Decorative accent bottom bar (Pure White Gradient) */
.project-card__accent-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.project-card:hover .project-card__accent-bar {
  opacity: 0.85;
}

/* No image fallback */
.project-card__no-image {
  width: 100%;
  height: 100%;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-muted);
  background: #141417;
}


/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process {
  padding: var(--space-section) 0;
  position: relative;
  overflow: hidden;
}

.process__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  max-width: 600px;
  margin-inline: auto;
}

.process__timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  position: relative;
}

/* Connecting line behind steps */
.process__timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-border-hover), rgba(255,255,255,0.4), var(--clr-border-hover), transparent);
}

.process-step {
  text-align: center;
  padding: var(--space-lg) var(--space-sm);
  position: relative;
}

.process-step__number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-family: var(--ff-heading);
  font-size: var(--fs-h4);
  font-weight: 700;
  color: #ffffff;
  position: relative;
  z-index: 1;
  transition: all var(--transition-base);
}

.process-step:hover .process-step__number {
  background: #ffffff;
  color: #09090b;
  border-color: #ffffff;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.25);
}

.process-step__title {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-xs);
}

.process-step__desc {
  font-size: var(--fs-small);
  color: var(--clr-text-muted);
  max-width: 220px;
  margin-inline: auto;
  line-height: 1.6;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats {
  padding: var(--space-section) 0;
  position: relative;
}

.stats__inner {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-xl);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  position: relative;
  overflow: hidden;
}

.stats__inner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  filter: blur(120px);
  border-radius: 50%;
  pointer-events: none;
}

.stat-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item__number {
  font-family: var(--ff-heading);
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1;
  margin-bottom: var(--space-xs);
  background: var(--clr-accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item__label {
  font-size: var(--fs-small);
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-item + .stat-item {
  border-left: 1px solid var(--clr-border);
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials {
  padding: var(--space-section) 0;
  position: relative;
  overflow: hidden;
}

.testimonials__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.testimonials__slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-slide {
  text-align: center;
  padding: var(--space-xl);
  display: none;
}

.testimonial-slide.is-active {
  display: block;
}

.testimonial-slide__quote {
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.5;
  color: var(--clr-text);
  margin-bottom: var(--space-xl);
  position: relative;
}

.testimonial-slide__quote::before {
  content: '"';
  font-size: 5rem;
  font-family: var(--ff-heading);
  color: rgba(255, 255, 255, 0.2);
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
}

.testimonial-slide__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.testimonial-slide__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.testimonial-slide__info h4 {
  font-size: var(--fs-body);
  font-weight: 600;
}

.testimonial-slide__info span {
  font-size: var(--fs-small);
  color: var(--clr-text-muted);
}

.testimonials__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--space-xl);
}

.testimonials__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-border-hover);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
}

.testimonials__dot.is-active {
  width: 32px;
  border-radius: var(--radius-full);
  background: #ffffff;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta {
  padding: var(--space-section) 0;
  position: relative;
}

.cta__inner {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.05), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.cta__content {
  position: relative;
  z-index: 1;
}

.cta__title {
  font-size: var(--fs-h1);
  margin-bottom: var(--space-md);
  max-width: 700px;
  margin-inline: auto;
}

.cta__desc {
  font-size: var(--fs-body);
  color: var(--clr-text-secondary);
  max-width: 500px;
  margin: 0 auto var(--space-xl);
}

/* ============================================================
   FOOTER — Ultra Minimalist Platinum
   ============================================================ */
.footer {
  padding: 5.5rem 0 2.5rem;
  border-top: 1px solid var(--clr-border);
  background: #060608;
  position: relative;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__desc {
  color: var(--clr-text-secondary);
  font-size: 0.92rem;
  margin: 1.25rem 0 1.75rem;
  max-width: 320px;
  line-height: 1.7;
}

.footer__socials {
  display: flex;
  gap: 0.75rem;
}

.footer__social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-secondary);
  text-decoration: none;
  transition: all var(--transition-base);
}

.footer__social-btn:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #09090b;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.footer__col-title {
  font-family: var(--ff-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer__col-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer__links li {
  margin: 0;
}

.footer__links a {
  font-size: 0.92rem;
  color: var(--clr-text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer__links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer__links--contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--clr-text-secondary);
  line-height: 1.5;
}

.footer__contact-icon {
  width: 18px;
  height: 18px;
  color: #ffffff;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

.footer__copyright {
  color: var(--clr-text-muted);
}

.footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer__bottom-links a {
  color: var(--clr-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__bottom-links a:hover {
  color: var(--clr-text-secondary);
}

/* ============================================================
   ANIMATION HELPERS
   ============================================================ */
[data-anim="fade-up"],
[data-anim="fade-in"],
[data-anim="scale-in"] {
  opacity: 1;
  transform: none;
}

.line-wrapper {
  display: block;
  overflow: hidden;
  margin-bottom: -0.15em;
  padding-bottom: 0.15em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .navbar__links {
    display: none;
  }

  .navbar__cta {
    display: none;
  }

  .navbar__toggle {
    display: flex;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Portfolio grid: horizontal cards, narrower image on tablet */
  .portfolio__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .project-card {
    height: 230px;
    max-height: 230px;
  }
  .project-card__link {
    grid-template-columns: 280px 1fr;
    height: 100%;
  }

  .process__timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .process__timeline::before {
    display: none;
  }

  .stats__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    padding: var(--space-xl);
  }

  .stat-item + .stat-item {
    border-left: none;
  }

  .stat-item:nth-child(2) {
    border-left: 1px solid var(--clr-border);
  }

  .stat-item:nth-child(4) {
    border-left: 1px solid var(--clr-border);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl) var(--space-lg);
  }

  .portfolio__header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .hero__title {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.75rem;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .process__timeline {
    grid-template-columns: 1fr;
  }

  .stats__inner {
    grid-template-columns: 1fr 1fr;
    padding: var(--space-lg) var(--space-md);
  }

  .cta__inner {
    padding: var(--space-xl) var(--space-md);
  }

  .cta__title {
    font-size: var(--fs-h2);
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  /* Portfolio: stack vertically on mobile */
  .portfolio__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .project-card {
    height: auto;
    max-height: none;
  }
  .project-card__link {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: auto;
  }
  .project-card__image {
    aspect-ratio: 16 / 9;
    height: 200px;
    width: 100%;
  }
  .project-card__content {
    padding: 1.25rem 1.5rem;
  }
}

/* ============================================================
   CONTACT & FORM COMPONENT
   ============================================================ */
.contact-section {
  padding: var(--space-section) 0;
  position: relative;
}

.contact-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  max-width: 800px;
  margin-inline: auto;
  position: relative;
  overflow: hidden;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  z-index: 20;
  pointer-events: auto !important;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-form__group {
  margin-bottom: 0;
  position: relative;
  z-index: 20;
  pointer-events: auto !important;
}

.contact-form__group input,
.contact-form__group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  padding: 0.95rem 1.25rem;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  position: relative;
  z-index: 30;
  pointer-events: auto !important;
  user-select: text !important;
  -webkit-user-select: text !important;
  cursor: text !important;
  transition: all var(--transition-base);
}

.contact-form__group input:focus,
.contact-form__group textarea:focus {
  outline: none;
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.contact-form__group input::placeholder,
.contact-form__group textarea::placeholder {
  color: var(--clr-text-muted);
  -webkit-text-fill-color: var(--clr-text-muted);
}

.contact-form__group textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form__footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.contact-form__status {
  font-size: 0.875rem;
  font-weight: 500;
}

.contact-form__status.is-success { color: #22c55e; }
.contact-form__status.is-error { color: #ef4444; }

@media (max-width: 640px) {
  .contact-card {
    padding: 1.75rem 1.25rem !important;
    border-radius: var(--radius-lg);
  }
  .contact-form__row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   BLOG PAGES — Ultra Minimalist
   ============================================================ */
.blog-hero {
  padding: calc(var(--space-3xl) + 80px) 0 var(--space-2xl);
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.04), transparent 60%);
}

.blog-hero__title {
  font-size: var(--fs-h1);
  margin-bottom: var(--space-sm);
}

.blog-hero__desc {
  font-size: var(--fs-body);
  color: var(--clr-text-secondary);
  max-width: 540px;
  margin-inline: auto;
}

.blog-categories {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: var(--space-lg) 0;
}

.blog-category-chip {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--clr-text-secondary);
  border: 1px solid var(--clr-border);
  background: var(--clr-bg-card);
  transition: all var(--transition-fast);
}

.blog-category-chip:hover,
.blog-category-chip.is-active {
  background: #ffffff;
  color: #09090b;
  border-color: #ffffff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: var(--space-xl) 0 var(--space-3xl);
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   BLOG CARDS — redesigned, no text clipping
   ============================================================ */
.blog-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: visible;               /* ← prevents text from being clipped */
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 20px 44px rgba(0,0,0,0.45);
}

/* Top accent line on hover */
.blog-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 16px; right: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
  border-radius: 1px;
}

.blog-card:hover::before {
  opacity: 1;
}

/* Image wrapper — contained clipping only inside here */
.blog-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--clr-surface);
  flex-shrink: 0;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.25,0.46,0.45,0.94);
  display: block;
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}

/* Content — separate rounded container, never clipped */
.blog-card__content {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* Meta row */
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
}

.blog-card__category {
  color: var(--clr-text-secondary);
  font-weight: 700;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.blog-card__meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--clr-text-muted);
  opacity: 0.5;
  flex-shrink: 0;
}

/* Title — always fully visible, no overflow */
.blog-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.6rem;
  color: var(--clr-text);
  transition: color var(--transition-fast);
  letter-spacing: -0.01em;
  overflow: visible;
  display: block;
}

.blog-card:hover .blog-card__title {
  color: #ffffff;
}

/* Excerpt */
.blog-card__excerpt {
  font-size: 0.83rem;
  color: var(--clr-text-muted);
  line-height: 1.65;
  margin-bottom: 1.2rem;
  flex-grow: 1;
  overflow: visible;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  /* webkit clamp is for text, not the container */
}

/* Read more link */
.blog-card__link {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--clr-text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
  transition: color var(--transition-fast), gap var(--transition-fast);
}

.blog-card:hover .blog-card__link {
  color: var(--clr-text);
  gap: 0.55rem;
}



/* Single Blog Post */
.blog-detail-hero {
  padding: calc(var(--space-3xl) + 80px) 0 var(--space-xl);
  text-align: center;
}

.blog-detail-content {
  max-width: 780px;
  margin: 0 auto var(--space-3xl);
  font-size: 1.1rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.82);
}

.blog-detail-content h2,
.blog-detail-content h3 {
  margin: 2.5rem 0 1rem;
  color: #ffffff;
}

.blog-detail-content p {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.78);
}

.blog-detail-content blockquote {
  border-left: 3px solid #ffffff;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #e4e4e7;
}

.blog-detail-content img {
  border-radius: var(--radius-lg);
  margin: 2rem 0;
}


/* ============================================================
   HOMEPAGE — portfolio view all button
   ============================================================ */
.portfolio__view-all {
  text-align: center;
  margin-top: var(--space-xl);
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  padding: calc(var(--header-height) + 1.5rem) 0 0;
  font-size: var(--fs-small);
  color: var(--clr-text-muted);
}

.breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--clr-text-muted);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover { color: var(--clr-text); }

.breadcrumb span {
  color: var(--clr-text-muted);
  opacity: 0.4;
}

.breadcrumb__current {
  color: var(--clr-text-secondary);
  opacity: 1;
}

/* ============================================================
   PAGE HERO (used in projeler.php)
   ============================================================ */
.page-hero {
  padding: 3rem 0 var(--space-xl);
}

.page-hero__content {
  max-width: 720px;
  margin-bottom: var(--space-xl);
}

.page-hero__content h1 {
  font-size: var(--fs-h1);
  margin-bottom: var(--space-md);
}

.page-hero__content p {
  font-size: var(--fs-body);
  color: var(--clr-text-secondary);
}

/* ============================================================
   CATEGORY FILTER
   ============================================================ */
.projects-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-xl);
}

.projects-filter__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--clr-border);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--clr-text-secondary);
  background: transparent;
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
}

.projects-filter__btn:hover,
.projects-filter__btn.is-active {
  border-color: rgba(255,255,255,0.4);
  color: var(--clr-text);
  background: rgba(255,255,255,0.06);
}

.projects-filter__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--clr-text-muted);
}

/* ============================================================
   PROJECTS LISTING PAGE
   ============================================================ */
.projects-listing {
  padding-bottom: var(--space-3xl);
}

.portfolio__grid--full {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.projects-empty {
  text-align: center;
  padding: var(--space-3xl) 0;
  color: var(--clr-text-muted);
}

.projects-listing__cta {
  margin-top: var(--space-3xl);
  padding-top: var(--space-3xl);
  border-top: 1px solid var(--clr-border);
}

.projects-listing__cta-inner {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.projects-listing__cta-inner h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-sm);
}

.projects-listing__cta-inner p {
  color: var(--clr-text-secondary);
  margin-bottom: var(--space-lg);
}

/* ============================================================
   PROJECT HERO (proje-detay.php top)
   ============================================================ */
.project-hero {
  padding: 3rem 0 var(--space-lg);
}

.project-hero__inner {
  max-width: 840px;
}

.project-hero__meta-top {
  margin-bottom: var(--space-md);
}

.project-hero__title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.project-hero__desc {
  font-size: var(--fs-body);
  color: var(--clr-text-secondary);
  max-width: 640px;
  line-height: 1.7;
}

/* ============================================================
   PROJECT COVER
   ============================================================ */
.project-cover {
  padding: 0 0 var(--space-xl);
}

.project-cover__img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  background: var(--clr-bg-card);
}

.project-cover__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.project-cover__img-wrap:hover img {
  transform: scale(1.02);
}

/* ============================================================
   PROJECT BODY — two-column layout
   ============================================================ */
.project-body {
  padding-bottom: var(--space-3xl);
}

.project-body__layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-xl);
  align-items: start;
}

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

/* ============================================================
   PROJECT CONTENT (Prose / Rich Text)
   ============================================================ */
.project-content.prose {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--clr-text-secondary);
}

.project-content.prose h2,
.project-content.prose h3 {
  margin: 2.5rem 0 1rem;
  color: var(--clr-text);
}

.project-content.prose p {
  margin-bottom: 1.5rem;
}

.project-content.prose ul,
.project-content.prose ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.project-content.prose li {
  margin-bottom: 0.5rem;
  color: var(--clr-text-secondary);
}

.project-content.prose blockquote {
  border-left: 3px solid rgba(255,255,255,0.3);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--clr-text-secondary);
}

.project-content.prose img {
  border-radius: var(--radius-lg);
  margin: 2rem 0;
  max-width: 100%;
}

.project-content.prose strong {
  color: var(--clr-text);
  font-weight: 600;
}

/* ============================================================
   PROJECT GALLERY
   ============================================================ */
.project-gallery {
  margin-top: var(--space-2xl);
}

.project-gallery__title {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-lg);
  color: var(--clr-text);
}

.project-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

.project-gallery__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  background: var(--clr-bg-card);
}

.project-gallery__item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-base);
}

.project-gallery__item:hover img {
  transform: scale(1.04);
}

/* ============================================================
   PROJECT SIDEBAR
   ============================================================ */
.project-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.project-sidebar__card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.project-sidebar__heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-text-muted);
  margin-bottom: 1rem;
}

.project-sidebar__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.project-sidebar__list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--clr-border);
}

.project-sidebar__list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.project-sidebar__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-text-muted);
}

.project-sidebar__value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--clr-text);
}

.project-sidebar__cta {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.project-sidebar__share .project-share-btns {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.project-sidebar__cta-box {
  background: rgba(255,255,255,0.04);
}

.project-sidebar__cta-text {
  font-size: 0.9rem;
  color: var(--clr-text-secondary);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.project-sidebar__cta-box .btn {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   PROJECT RELATED SECTION
   ============================================================ */
.project-related {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-top: 1px solid var(--clr-border);
}

.project-related__header {
  margin-bottom: var(--space-xl);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .project-hero__title {
    font-size: 2rem;
  }

  .project-gallery__grid {
    grid-template-columns: 1fr;
  }

  .projects-filter {
    gap: 0.4rem;
  }

  .portfolio__grid--full {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SINGLE BLOG POST ARTICLE & TYPOGRAPHY
   ============================================================ */
.blog-detail-wrapper {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 6rem;
}

.blog-breadcrumb {
  margin-bottom: 2rem;
  font-size: var(--fs-small);
  color: var(--clr-text-muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.blog-breadcrumb a {
  color: var(--clr-text-secondary);
  text-decoration: none;
  transition: color var(--transition-base);
}
.blog-breadcrumb a:hover {
  color: #ffffff;
}
.blog-breadcrumb__current {
  color: #fbbf24;
  font-weight: 500;
}

.blog-article {
  max-width: 860px;
  margin: 0 auto;
}

.blog-article__header {
  margin-bottom: 2.5rem;
}

.blog-article__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  margin-bottom: 1.25rem;
}
.blog-article__category {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-article__title {
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-family: var(--ff-heading);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.blog-article__excerpt {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--clr-text-secondary);
  margin-bottom: 1.5rem;
  border-left: 3px solid #f59e0b;
  padding-left: 1.25rem;
}

.blog-article__author-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.blog-article__author-row strong {
  color: #ffffff;
}

.blog-article__featured {
  margin: 2.5rem 0 3.5rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.blog-article__featured img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Table of Contents (İçindekiler) */
.blog-toc {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  margin: 2.5rem 0 3.5rem;
  position: relative;
}
.blog-toc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #f59e0b 0%, #ef4444 100%);
  border-top-left-radius: var(--radius-xl);
  border-bottom-left-radius: var(--radius-xl);
}
.blog-toc__title {
  font-size: 1.15rem;
  font-family: var(--ff-heading);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.blog-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.blog-toc__item--h2 {
  font-size: 0.975rem;
  font-weight: 600;
}
.blog-toc__item--h3 {
  font-size: 0.9rem;
  padding-left: 1.5rem;
  color: var(--clr-text-secondary);
}
.blog-toc__link {
  color: var(--clr-text-secondary);
  text-decoration: none;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.blog-toc__link:hover {
  color: #fbbf24;
  transform: translateX(4px);
}

/* Article Body Typography */
.article-body {
  font-size: 1.125rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.88);
}
.article-body h2 {
  font-size: 1.85rem;
  font-family: var(--ff-heading);
  font-weight: 700;
  color: #ffffff;
  margin: 3.5rem 0 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  scroll-margin-top: 100px;
}
.article-body h3 {
  font-size: 1.4rem;
  font-family: var(--ff-heading);
  font-weight: 600;
  color: #ffffff;
  margin: 2.5rem 0 1rem;
  line-height: 1.35;
  scroll-margin-top: 100px;
}
.article-body p {
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.82);
}
.article-body strong {
  color: #ffffff;
  font-weight: 600;
}
.article-body ul, .article-body ol {
  margin: 1.5rem 0 2rem 1.5rem;
  padding-left: 1rem;
}
.article-body li {
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}
.article-body blockquote {
  border-left: 3px solid #f59e0b;
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem 2rem;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin: 2.5rem 0;
  font-style: italic;
  font-size: 1.15rem;
  color: #e4e4e7;
}

/* Lead CTA Conversion Box */
.blog-lead-box {
  background: linear-gradient(135deg, rgba(24,24,30,0.98) 0%, rgba(15,15,18,0.98) 100%);
  border: 1.5px solid rgba(245,158,11,0.55);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  margin: 4rem 0;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 50px rgba(245, 158, 11, 0.15);
  position: relative;
  overflow: hidden;
}
.blog-lead-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b, #ef4444, #8b5cf6);
}
.blog-lead-box__title {
  font-size: 1.65rem;
  font-family: var(--ff-heading);
  margin-bottom: 0.75rem;
  color: #ffffff;
}
.blog-lead-box__desc {
  color: var(--clr-text-secondary);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 1.75rem;
  line-height: 1.6;
}

/* Tags & Share */
.blog-article__footer {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.blog-tag {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  color: var(--clr-text-secondary);
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}
.blog-tag:hover {
  border-color: var(--clr-border-hover);
  color: #ffffff;
}

.blog-share-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-full);
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-base);
  gap: 0.5rem;
  cursor: pointer;
}
.share-btn:hover {
  background: #ffffff;
  color: #09090b;
  border-color: #ffffff;
  transform: translateY(-2px);
}
.share-btn--whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: #ffffff;
}

/* Related Posts */
.blog-related {
  margin-top: 6rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.blog-related__title {
  font-size: var(--fs-h2);
  font-family: var(--ff-heading);
  margin-bottom: 2rem;
  text-align: center;
}
