:root {
  --color-bg: #0a0a0a;
  --color-text: #ffffff;
  --color-accent: #c9a84c;
  --color-card: #1a1a1a;

  --font-heading: "Bebas Neue", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-body: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 14px;
  --max-width: 1120px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);

  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.25rem;
  --space-5: 1.75rem;
  --space-6: 2.5rem;
  --space-7: 3.5rem;

  --header-height: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 12px);
}

body {
  margin: 0;
  min-height: 100svh;
  font-family: var(--font-body);
  color: var(--color-text);
  background:
    radial-gradient(1200px 800px at 10% 10%, rgba(201,168,76,0.12), transparent 60%),
    radial-gradient(900px 700px at 90% 20%, rgba(201,168,76,0.08), transparent 55%),
    radial-gradient(700px 600px at 50% 90%, rgba(255,255,255,0.06), transparent 60%),
    var(--color-bg);
  line-height: 1.6;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
  mix-blend-mode: soft-light;
  filter: contrast(140%) brightness(110%);
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 1px, rgba(0,0,0,0.02) 1px 2px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0 1px, rgba(0,0,0,0.02) 1px 2px),
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.07), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(0,0,0,0.12), transparent 55%);
  background-size: 240px 240px, 260px 260px, 900px 900px, 800px 800px;
  transform: translateZ(0);
}

main, header, footer { position: relative; z-index: 1; }

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

a { color: inherit; text-decoration: none; }
a:hover {
  text-decoration: underline;
  text-decoration-color: rgba(201,168,76,0.8);
  text-underline-offset: 0.22em;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 10px;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(201,168,76,0.18);
  border: 1px solid rgba(201,168,76,0.4);
  transform: translateY(-140%);
  transition: transform 160ms ease;
  z-index: 10;
}
.skip-link:focus { transform: translateY(0); }

.muted { color: rgba(255,255,255,0.78); }

.eyebrow {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: rgba(201,168,76,0.92);
  margin: 0 0 0.75rem;
}

.section { padding: var(--space-7) 0; }

.section-header {
  display: grid;
  gap: 0.35rem;
  margin-bottom: var(--space-5);
}

.section-title {
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 1;
  margin: 0;
}

.section-subtitle { margin: 0; max-width: 68ch; }

/* ─── HEADER ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 12;
  backdrop-filter: blur(10px);
  background: rgba(10,10,10,0);
  border-bottom: 1px solid rgba(255,255,255,0);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.site-header.is-scrolled {
  background: rgba(8,8,8,0.88);
  border-bottom-color: rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
}
.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-text {
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
  font-size: clamp(1.55rem, 3.5vw, 1.8rem);
  line-height: 1;
  color: rgba(201,168,76,0.98);
  text-shadow: 0 0 18px rgba(201,168,76,0.18);
}

.nav-toggle {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
  color: var(--color-text);
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 14;
  transition: border-color 180ms ease, background 180ms ease;
}
.nav-toggle:hover {
  border-color: rgba(201,168,76,0.35);
  background: rgba(201,168,76,0.1);
}
.nav-toggle-bars {
  width: 18px; height: 2px;
  position: relative;
  background: rgba(255,255,255,0.9);
  border-radius: 999px;
  transition: background 180ms ease;
}
.nav-toggle-bars::before, .nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  background: rgba(255,255,255,0.9);
  border-radius: 999px;
}
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after  { top:  5px; }

.site-nav {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  padding: 6rem 2rem 2rem;
  background:
    radial-gradient(700px 420px at 20% 20%, rgba(201,168,76,0.14), transparent 60%),
    linear-gradient(180deg, rgba(8,8,8,0.96), rgba(4,4,4,0.98));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 260ms cubic-bezier(0.2,0.8,0.2,1), opacity 220ms ease, visibility 220ms ease;
  z-index: 13;
}
.site-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}
.site-header[data-nav-open="true"] .nav-toggle-bars { background: transparent; }
.site-header[data-nav-open="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.site-header[data-nav-open="true"] .nav-toggle-bars::after  { top: 0; transform: rotate(-45deg); }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0;
  text-decoration: none;
  color: rgba(255,255,255,0.92);
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
  font-size: clamp(1.7rem, 7vw, 2.4rem);
  text-transform: uppercase;
  transition: color 180ms ease;
}
.nav-link:hover { text-decoration: none; color: rgba(255,255,255,1); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -0.2rem;
  width: 100%; height: 3px;
  border-radius: 999px;
  background: rgba(201,168,76,0.96);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
  box-shadow: 0 0 18px rgba(201,168,76,0.28);
}
.nav-link.is-active::after,
.nav-link:hover::after,
.nav-link:focus-visible::after { transform: scaleX(1); }

body.nav-open { overflow: hidden; }

/* ─── HERO ─── */
.hero {
  min-height: calc(100svh - var(--header-height));
  position: relative;
  display: grid;
  place-items: center;
  padding: var(--space-7) 0;
  overflow: clip;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1) brightness(0.62);
  transform: scale(1.02);
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
}
.hero-tag {
  margin: 0;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(201,168,76,0.95);
  text-shadow: 0 10px 26px rgba(0,0,0,0.65);
}
.hero-headline {
  margin: 0;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  font-size: clamp(2.6rem, 10vw, 5.4rem);
  line-height: 0.95;
  color: rgba(255,255,255,0.98);
  text-shadow: 0 18px 44px rgba(0,0,0,0.72);
}
.hero-subtext {
  margin: 0;
  font-weight: 400;
  color: rgba(255,255,255,0.72);
  max-width: 54ch;
}

/* Hero Stats Bar */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 0.6rem 2rem;
  backdrop-filter: blur(8px);
  margin-top: 0.4rem;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0 1.4rem;
}
.hero-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1;
  color: var(--color-accent);
  letter-spacing: 0.04em;
}
.hero-stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}
.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.4rem;
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.65);
  color: rgba(255,255,255,0.95);
}
.btn-outline-light:hover {
  border-color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.06);
}

/* ─── SCROLL INDICATOR ─── */
.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(10,10,10,0.35);
  backdrop-filter: blur(10px);
}
.scroll-indicator:hover { text-decoration: none; border-color: rgba(201,168,76,0.35); }
.scroll-indicator-text {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}
.scroll-indicator-arrow {
  width: 10px; height: 10px;
  border-right: 2px solid rgba(255,255,255,0.75);
  border-bottom: 2px solid rgba(255,255,255,0.75);
  transform: rotate(45deg);
  animation: floatDown 1.35s ease-in-out infinite;
}
@keyframes floatDown {
  0%,100% { transform: translateY(0) rotate(45deg); }
  50%      { transform: translateY(4px) rotate(45deg); }
}

/* ─── SECTION TITLE UNDERLINE ─── */
.section-title-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 0.35rem;
}
.section-title-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 64%; height: 3px;
  border-radius: 999px;
  background: rgba(201,168,76,0.95);
  box-shadow: 0 0 18px rgba(201,168,76,0.28);
}

/* ─── FADE IN ─── */
.fade-in { opacity: 1; transform: none; }
body.js-ready .fade-in {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 700ms cubic-bezier(0.2,0.7,0.2,1) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.js-ready .fade-in { animation: none; opacity: 1; transform: none; }
  .section, .site-footer { transition: none; }
  .story-panel, .portrait-image { animation: none; transition: none; }
  .story-panel::after { animation: none; transform: none; opacity: 0.18; }
}

body.js-ready .section,
body.js-ready .site-footer {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 720ms cubic-bezier(0.2,0.7,0.2,1), transform 720ms cubic-bezier(0.2,0.7,0.2,1);
}
body.js-ready .hero { opacity: 1; transform: none; }
body.js-ready .section.is-visible,
body.js-ready .site-footer.is-visible { opacity: 1; transform: translateY(0); }

/* ─── PRODUCT SECTION ─── */
.product-section {
  position: relative;
}

.product-showcase {
  display: grid;
  gap: var(--space-6);
  padding: clamp(1.75rem, 4vw, 3rem);
  background:
    linear-gradient(135deg, rgba(201,168,76,0.1), transparent 40%),
    rgba(18,18,18,0.96);
  border-color: rgba(201,168,76,0.2);
  box-shadow: 0 32px 80px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
}

.product-showcase::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-accent), rgba(201,168,76,0.3));
  border-radius: 0 999px 999px 0;
}

.product-copy {
  display: grid;
  gap: 1.1rem;
  align-content: start;
}

.product-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.product-client-count {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.product-title {
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.05;
  margin: 0;
  color: rgba(255,255,255,0.98);
}

.product-desc {
  margin: 0;
  max-width: 58ch;
  font-size: 1.02rem;
}

.product-outcomes {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.product-outcome {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.97rem;
  color: rgba(255,255,255,0.85);
}

.outcome-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.45em;
  box-shadow: 0 0 8px rgba(201,168,76,0.5);
}

.product-stack {
  display: grid;
  gap: 0.5rem;
}

.stack-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 0.5rem;
}

/* Product Mockup */
.product-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-mockup {
  width: 100%;
  max-width: 460px;
  border-radius: 16px;
  background: rgba(10,10,10,0.9);
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  box-shadow: 0 32px 72px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,168,76,0.08);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mockup-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.mockup-dot:nth-child(1) { background: rgba(255,95,87,0.7); }
.mockup-dot:nth-child(2) { background: rgba(255,188,46,0.7); }
.mockup-dot:nth-child(3) { background: rgba(40,200,64,0.7); }

.mockup-url {
  margin-left: 0.5rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
  font-family: monospace;
}

.mockup-screen {
  display: flex;
  min-height: 280px;
}

.mockup-sidebar {
  width: 48px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.02);
  border-right: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0.6rem;
}

.mockup-nav-item {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
}

.mockup-nav-active {
  background: rgba(201,168,76,0.6);
}

.mockup-body {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mockup-heading {
  height: 10px;
  width: 55%;
  border-radius: 4px;
  background: rgba(255,255,255,0.15);
}

.mockup-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.mockup-stat-card {
  height: 44px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
}

.mockup-stat-accent {
  background: rgba(201,168,76,0.15);
  border-color: rgba(201,168,76,0.25);
}

.mockup-table-head {
  height: 8px;
  width: 100%;
  border-radius: 3px;
  background: rgba(255,255,255,0.1);
  margin-top: 0.2rem;
}

.mockup-table-row {
  height: 7px;
  width: 100%;
  border-radius: 3px;
  background: rgba(255,255,255,0.06);
}

.mockup-row-muted { background: rgba(255,255,255,0.03); }

.mockup-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 52px;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.mockup-bar-el {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: rgba(255,255,255,0.1);
  transition: height 400ms ease;
}

.mockup-bar-accent { background: rgba(201,168,76,0.55); }

/* ─── ABOUT & SKILLS ─── */
.about-skills { display: grid; gap: var(--space-5); }

.about-card {
  display: grid;
  gap: var(--space-5);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(135deg, rgba(201,168,76,0.08), transparent 38%),
    rgba(26,26,26,0.92);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset;
}

.about-media { display: grid; justify-items: center; }

.about-story {
  position: relative;
  width: min(100%, 340px);
  min-height: 430px;
  display: grid;
  place-items: center;
}

.about-story::before {
  content: "";
  position: absolute;
  inset: 8% 10% 12%;
  border-radius: 30px;
  background:
    radial-gradient(circle at 30% 30%, rgba(201,168,76,0.2), transparent 45%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  filter: blur(2px);
  opacity: 0.9;
}

.story-panel {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(18,18,18,0.95);
  box-shadow: 0 26px 50px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.04);
  will-change: transform;
}
.story-panel::after {
  content: "";
  position: absolute;
  inset: -20% -30%;
  pointer-events: none;
  opacity: 0.35;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.06) 36%, rgba(201,168,76,0.1) 44%, rgba(255,255,255,0.05) 52%, transparent 72%);
  transform: translateX(-120%) rotate(-6deg);
  mix-blend-mode: screen;
  animation: storySweep 5.6s ease-in-out infinite;
}

.story-panel-primary {
  inset: 0 auto auto 0;
  width: min(78vw, 255px);
  aspect-ratio: 0.8;
  transform: rotate(-7deg);
  animation: storyFloatOne 8s ease-in-out -1.25s infinite;
  z-index: 3;
}
.story-panel-secondary {
  right: 0; top: 11%;
  width: min(56vw, 190px);
  aspect-ratio: 0.76;
  transform: rotate(10deg);
  animation: storyFloatTwo 9s ease-in-out -2.4s infinite;
  z-index: 2;
}
.story-panel-tertiary {
  left: 18%; bottom: 1%;
  width: min(52vw, 176px);
  aspect-ratio: 0.78;
  transform: rotate(4deg);
  animation: storyFloatThree 7.5s ease-in-out -0.55s infinite;
  z-index: 1;
}
.story-image { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }

@keyframes storyFloatOne {
  0%,100% { transform: translateY(0) rotate(-7deg); }
  50%      { transform: translateY(-10px) rotate(-5deg); }
}
@keyframes storyFloatTwo {
  0%,100% { transform: translateY(0) rotate(10deg); }
  50%      { transform: translateY(12px) rotate(8deg); }
}
@keyframes storyFloatThree {
  0%,100% { transform: translateY(0) rotate(4deg); }
  50%      { transform: translateY(-8px) rotate(6deg); }
}
@keyframes storySweep {
  0%   { transform: translateX(-120%) rotate(-6deg); opacity: 0.18; }
  30%  { opacity: 0.4; }
  60%  { transform: translateX(120%) rotate(-6deg); opacity: 0.28; }
  100% { transform: translateX(120%) rotate(-6deg); opacity: 0.18; }
}

.about-copy { position: relative; display: grid; gap: 0.85rem; }
.about-quote-mark {
  color: rgba(201,168,76,0.92);
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 4.5rem);
  line-height: 0.7;
}
.about-title { font-size: clamp(2rem, 5vw, 3rem); }
.about-bio { margin: 0; max-width: 58ch; font-size: 1.02rem; }

/* Founder tags */
.founder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.25rem;
}
.founder-tag {
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(201,168,76,0.3);
  background: rgba(201,168,76,0.06);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.02em;
}

/* Skills */
.skills-groups { display: grid; gap: var(--space-4); }
.skills-group {
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
}
.skills-group-title {
  margin: 0 0 0.95rem;
  font-family: var(--font-heading);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
}
.skills-pills {
  margin: 0; padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.skill-pill {
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(201,168,76,0.55);
  background: rgba(10,10,10,0.9);
  color: rgba(255,255,255,0.98);
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ─── CARDS ─── */
.card {
  background: rgba(26,26,26,0.92);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: var(--space-5);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset;
}

/* ─── PROJECT CARDS ─── */
.project-card {
  background: var(--color-card);
  border: 1px solid #2a2a2a;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  position: relative;
}
.project-card::before {
  content: "";
  position: absolute;
  left: 0; top: 14px; bottom: 14px;
  width: 0;
  border-radius: 999px;
  background: rgba(201,168,76,0.85);
  box-shadow: 0 0 22px rgba(201,168,76,0.35);
  transition: width 180ms ease;
}
.project-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 26px 70px rgba(0,0,0,0.45); border-color: rgba(201,168,76,0.22); }
.project-card:hover::before { width: 4px; }
.project-card .btn { margin-top: 0.9rem; }

/* Flagship card */
.project-card--flagship {
  border-color: rgba(201,168,76,0.22);
  background:
    linear-gradient(135deg, rgba(201,168,76,0.08), transparent 40%),
    var(--color-card);
  box-shadow: 0 0 0 1px rgba(201,168,76,0.12), 0 20px 50px rgba(0,0,0,0.3);
}
.project-card--flagship::before {
  background: var(--color-accent);
}

.project-badge {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.95);
  border: 1px solid rgba(201,168,76,0.35);
  background: rgba(201,168,76,0.1);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* Live badge pulsing dot */
.project-badge--live {
  color: rgba(80,220,100,0.95);
  border-color: rgba(80,220,100,0.35);
  background: rgba(80,220,100,0.08);
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(80,220,100,0.25); }
  50%      { box-shadow: 0 0 0 4px rgba(80,220,100,0); }
}

.project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.meta-chip {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
}

/* ─── PROJECTS BACKGROUND ─── */
.projects-section {
  position: relative;
  overflow: clip;
  --mx: 0.5; --my: 0.5;
  --projects-bg-shift-x: 44px;
  --projects-bg-shift-y: 30px;
  --projects-bg-scale-a: 1.12;
  --projects-bg-scale-b: 1.16;
}
.projects-content { position: relative; z-index: 1; }
.projects-bg { position: absolute; inset: -35%; z-index: 0; pointer-events: none; opacity: 1; }
.projects-bg-layer {
  position: absolute; inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  filter: saturate(1.1) contrast(1.05);
  will-change: transform, opacity;
}
.projects-bg-layer.layer-one {
  background-image: url("logo1.jpeg");
  opacity: 1;
  filter: brightness(0.6) saturate(1.15) contrast(1.08);
  transform: translate3d(calc((var(--mx) - 0.5) * var(--projects-bg-shift-x)), calc((var(--my) - 0.5) * var(--projects-bg-shift-y)), 0) scale(var(--projects-bg-scale-a));
  animation: projectsDriftOne 12s ease-in-out infinite, projectsLogoPan 18s ease-in-out infinite;
}
.projects-bg-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 480px at 50% 22%, rgba(201,168,76,0.14), transparent 60%),
    radial-gradient(900px 480px at 20% 60%, rgba(255,255,255,0.05), transparent 65%),
    linear-gradient(180deg, rgba(10,10,10,0.1), rgba(10,10,10,0.8));
}
@keyframes projectsDriftOne {
  0%,100% { transform: translate3d(calc((var(--mx)-0.5)*var(--projects-bg-shift-x)), calc((var(--my)-0.5)*var(--projects-bg-shift-y)),0) scale(var(--projects-bg-scale-a)); }
  50%     { transform: translate3d(calc((var(--mx)-0.5)*var(--projects-bg-shift-x)), calc((var(--my)-0.5)*var(--projects-bg-shift-y)),0) scale(var(--projects-bg-scale-b)); }
}
@keyframes projectsLogoPan {
  0%,100% { background-position: 50% 42%; }
  50%     { background-position: 50% 58%; }
}

@media (max-width: 640px) {
  .projects-bg { inset: -55%; }
  .projects-section { --projects-bg-shift-x: 18px; --projects-bg-shift-y: 14px; --projects-bg-scale-a: 1.18; --projects-bg-scale-b: 1.24; }
}
@media (prefers-reduced-motion: reduce) {
  .projects-bg-layer.layer-one { animation: none; }
}

/* ─── PORTRAIT SECTION ─── */
.portrait-section { padding-top: var(--space-7); }
.portrait-showcase {
  display: grid;
  gap: var(--space-5);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background:
    radial-gradient(900px 460px at 15% 15%, rgba(201,168,76,0.14), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
    rgba(14,14,14,0.96);
  border-color: rgba(201,168,76,0.16);
}
.portrait-copy { display: grid; gap: 0.9rem; align-content: center; }
.portrait-title { max-width: 14ch; }
.portrait-text { margin: 0; max-width: 54ch; }
.portrait-grid { display: grid; gap: 1rem; }
.portrait-frame {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(20,20,20,0.95);
  box-shadow: 0 22px 48px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
}
.portrait-frame-large { aspect-ratio: 0.9; }
.portrait-frame-small { aspect-ratio: 1.15; }
.portrait-image {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 420ms ease, filter 420ms ease;
}
.portrait-frame:hover .portrait-image { transform: scale(1.04); filter: saturate(1.05); }

/* ─── REELS ─── */
.reels-section { position: relative; }

.reel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.reel-card {
  appearance: none; border: 0;
  background: transparent; padding: 0;
  text-align: center; color: inherit;
  cursor: pointer;
  border-radius: var(--radius);
  transition: transform 160ms ease;
}
.reel-card:hover { transform: translateY(-4px) scale(1.02); }
.reel-thumb {
  height: 160px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(700px 240px at 30% 20%, rgba(201,168,76,0.18), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(0,0,0,0.12)),
    rgba(0,0,0,0.25);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 rgba(201,168,76,0);
  transition: box-shadow 170ms ease, border-color 170ms ease;
}
.reel-card:hover .reel-thumb { border-color: rgba(201,168,76,0.35); box-shadow: 0 18px 48px rgba(201,168,76,0.22); }
.play-icon {
  width: 54px; height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  display: grid;
  place-items: center;
}
.play-icon::before {
  content: "";
  width: 0; height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid rgba(255,255,255,0.92);
  margin-left: 3px;
}
.reel-label { margin-top: 0.75rem; display: block; font-weight: 600; color: rgba(255,255,255,0.88); }

@media (min-width: 768px)  { .reel-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 1200px) { .reel-grid { grid-template-columns: repeat(5, minmax(0,1fr)); } }

/* ─── MODAL ─── */
.modal { position: fixed; inset: 0; display: none; z-index: 20; }
.modal.is-open { display: grid; place-items: center; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.7); }
.modal-panel {
  position: relative;
  width: min(100% - 2rem, 980px);
  padding: 1.1rem 1.1rem 1.25rem;
  z-index: 1;
  border: 1px solid rgba(255,255,255,0.12);
}
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; }
.modal-title { margin: 0; }
.modal-close {
  appearance: none;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.92);
  border-radius: 12px;
  width: 44px; height: 44px;
  display: grid; place-items: center; cursor: pointer;
}
.reel-video {
  width: 100%; height: auto;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #000;
}

/* ─── SECTION BACKGROUNDS ─── */
.section-bg {
  position: relative;
  overflow: clip;
  isolation: isolate;
  --section-bg-image: none;
  --section-bg-mark-image: none;
  --section-bg-position: 50% 50%;
  --section-bg-mark-position: 82% 18%;
  --section-bg-mark-size: min(520px, 62vw);
  --section-bg-opacity: 0.42;
  --section-bg-blur: 12px;
  --section-bg-brightness: 0.6;
  --section-bg-contrast: 1.08;
  --section-bg-saturate: 1.05;
  --section-bg-shift-x: 36px;
  --section-bg-shift-y: 22px;
  --section-bg-scale-a: 1.08;
  --section-bg-scale-b: 1.12;
  box-shadow: 0 -1px 0 rgba(255,255,255,0.05) inset;
}
.section-bg > .container { position: relative; z-index: 2; }
.section-bg::before {
  content: "";
  position: absolute;
  inset: -32%; z-index: 0; pointer-events: none;
  opacity: var(--section-bg-opacity);
  background-image: var(--section-bg-mark-image), var(--section-bg-image);
  background-repeat: no-repeat, no-repeat;
  background-size: var(--section-bg-mark-size), cover;
  background-position: var(--section-bg-mark-position), var(--section-bg-position);
  filter: blur(var(--section-bg-blur)) brightness(var(--section-bg-brightness)) contrast(var(--section-bg-contrast)) saturate(var(--section-bg-saturate));
  transform: translate3d(0,0,0) scale(var(--section-bg-scale-a));
  will-change: transform;
  animation: sectionBgDrift 16s ease-in-out infinite;
}
.section-bg::after {
  content: "";
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 20% 18%, rgba(201,168,76,0.12), transparent 60%),
    radial-gradient(900px 560px at 80% 30%, rgba(255,255,255,0.06), transparent 66%),
    radial-gradient(1100px 680px at 50% 60%, rgba(0,0,0,0.12), rgba(0,0,0,0.62) 62%, rgba(0,0,0,0.86)),
    linear-gradient(180deg, rgba(10,10,10,0.6), rgba(10,10,10,0.92));
}
@keyframes sectionBgDrift {
  0%,100% { transform: translate3d(calc(var(--section-bg-shift-x)*-0.35), calc(var(--section-bg-shift-y)*-0.25), 0) scale(var(--section-bg-scale-a)); }
  50%     { transform: translate3d(calc(var(--section-bg-shift-x)*0.35),  calc(var(--section-bg-shift-y)*0.25),  0) scale(var(--section-bg-scale-b)); }
}
@media (max-width: 640px) {
  .section-bg::before { inset: -55%; }
  .section-bg { --section-bg-shift-x: 16px; --section-bg-shift-y: 12px; --section-bg-scale-a: 1.12; --section-bg-scale-b: 1.16; --section-bg-mark-size: min(460px, 76vw); }
}
@media (prefers-reduced-motion: reduce) { .section-bg::before { animation: none; } }

.section-bg--reels    { --section-bg-image: url("mrr4.jpeg");   --section-bg-position: 50% 25%; --section-bg-opacity: 0.52; --section-bg-blur: 10px; --section-bg-brightness: 0.62; --section-bg-saturate: 1.1; }
.section-bg--experience { --section-bg-image: url("mrr2.jpeg"); --section-bg-position: 50% 40%; --section-bg-opacity: 0.44; --section-bg-blur: 12px; --section-bg-brightness: 0.58; }
.section-bg--services { --section-bg-image: url("mrr1.jpeg");   --section-bg-position: 50% 30%; --section-bg-opacity: 0.42; --section-bg-blur: 12px; --section-bg-brightness: 0.56; }
.section-bg--testimonials { --section-bg-image: url("asiedu.jpeg"); --section-bg-position: 50% 20%; --section-bg-opacity: 0.36; --section-bg-blur: 14px; --section-bg-brightness: 0.56; --section-bg-saturate: 1.02; }
.section-bg--resume   { --section-bg-image: url("asiedu2.jpeg"); --section-bg-position: 50% 35%; --section-bg-opacity: 0.34; --section-bg-blur: 14px; --section-bg-brightness: 0.56; }
.section-bg--contact  { --section-bg-image: url("asiedu2.jpeg"); --section-bg-mark-image: url("logo.jpeg"); --section-bg-position: 50% 35%; --section-bg-mark-position: 78% 18%; --section-bg-opacity: 0.56; --section-bg-blur: 10px; --section-bg-brightness: 0.62; --section-bg-saturate: 1.12; --section-bg-mark-size: min(520px, 66vw); }

/* ─── EXPERIENCE TIMELINE ─── */
.timeline { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-4); }
.timeline-item { }
.timeline-item--featured {
  border-color: rgba(201,168,76,0.2);
  background:
    linear-gradient(135deg, rgba(201,168,76,0.07), transparent 40%),
    rgba(26,26,26,0.92);
}
.timeline-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.timeline-brand { display: inline-flex; align-items: center; gap: 0.85rem; min-width: 0; }
.timeline-logo {
  width: 56px; height: 56px;
  flex: 0 0 56px;
  display: block;
  object-fit: contain;
  border-radius: 18px;
  padding: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.16);
  box-shadow: 0 14px 32px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.04);
}
.timeline-logo-placeholder {
  width: 56px; height: 56px;
  flex: 0 0 56px;
  border-radius: 18px;
  border: 1px solid rgba(201,168,76,0.28);
  background: rgba(201,168,76,0.08);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}
.timeline-title { margin: 0; }
.timeline-badge-wrap { flex-shrink: 0; }

/* ─── SERVICES ─── */
.service-card { display: grid; gap: 0.65rem; }
.service-icon { font-size: 1.75rem; line-height: 1; }

/* ─── TESTIMONIALS ─── */
.testimonial-card { display: grid; gap: 0.75rem; }
.quote { margin: 0; font-size: 1.05rem; color: rgba(255,255,255,0.92); font-style: italic; }
.testimonial-meta { display: grid; gap: 0.15rem; }
.testimonial-name { font-size: 0.9rem; }
.testimonial-company {
  font-size: 0.8rem;
  color: rgba(201,168,76,0.85);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ─── RESUME ─── */
.resume-card { display: grid; gap: 1.25rem; }
.card-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; margin-top: 1rem; }

/* ─── CONTACT ─── */
.contact-section { position: relative; }
.contact-shell { display: grid; gap: var(--space-4); width: min(100%, 760px); margin-inline: auto; }
.contact-card {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2rem);
  background:
    linear-gradient(145deg, rgba(201,168,76,0.12), transparent 35%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)),
    rgba(18,18,18,0.96);
  border-color: rgba(201,168,76,0.18);
  box-shadow: 0 30px 80px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.04);
}
.contact-submit {
  margin-top: 1.1rem;
  width: 100%;
  min-height: 52px;
  font-size: 1rem;
  box-shadow: 0 16px 40px rgba(201,168,76,0.22);
}
.contact-submit:hover { box-shadow: 0 20px 48px rgba(201,168,76,0.28); }
.contact-socials-wrap { display: grid; gap: 0.9rem; align-content: start; margin-top: 1.6rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.08); }
.contact-socials-label { margin: 0; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.82rem; }
.contact-socials { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.social-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.8rem;
  min-width: 132px; padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(201,168,76,0.24);
  color: rgba(255,255,255,0.95);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.social-link:hover { text-decoration: none; transform: translateY(-2px); border-color: rgba(201,168,76,0.52); background: rgba(201,168,76,0.08); box-shadow: 0 14px 30px rgba(0,0,0,0.22); }
.social-link svg { width: 18px; height: 18px; fill: rgba(201,168,76,0.96); flex: 0 0 auto; }

/* ─── PRODUCT SCREENSHOT SLIDER ─── */
.product-slider {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 32px 72px rgba(0,0,0,0.45);
  user-select: none;
}
.slider-track {
  display: flex;
  transition: transform 420ms cubic-bezier(0.25,0.8,0.25,1);
  will-change: transform;
}
.slider-slide { flex: 0 0 100%; margin: 0; line-height: 0; }
.slider-img {
  width: 100%; height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
}
.slider-controls {
  position: absolute;
  bottom: 0.85rem; left: 0; right: 0;
  display: flex; align-items: center; justify-content: center;
  gap: 0.75rem; z-index: 2;
}
.slider-btn {
  appearance: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(10,10,10,0.65);
  backdrop-filter: blur(8px);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
  flex-shrink: 0;
}
.slider-btn:hover { border-color: rgba(201,168,76,0.6); background: rgba(201,168,76,0.18); transform: scale(1.08); }
.slider-btn svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.slider-dots { display: flex; gap: 0.45rem; align-items: center; }
.slider-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none; padding: 0; cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
  appearance: none;
}
.slider-dot.is-active { background: var(--color-accent); transform: scale(1.35); }
.slider-counter {
  position: absolute; top: 0.7rem; right: 0.9rem;
  font-size: 0.75rem; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.65);
  background: rgba(10,10,10,0.55); backdrop-filter: blur(6px);
  padding: 0.2rem 0.55rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1); z-index: 2;
}

/* Client instance links */
.client-instances { display: grid; gap: 0.55rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.07); }
.client-links { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.client-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(80,220,100,0.25);
  background: rgba(80,220,100,0.06);
  color: rgba(80,220,100,0.9);
  font-size: 0.88rem; font-weight: 500;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
  text-decoration: none;
}
.client-link:hover { text-decoration: none; border-color: rgba(80,220,100,0.5); background: rgba(80,220,100,0.12); transform: translateY(-1px); }
.client-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(80,220,100,0.9);
  box-shadow: 0 0 6px rgba(80,220,100,0.6);
  animation: livePulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* ─── CLIENT CARD WITH IMAGE ─── */
.project-card--client { padding: 0; overflow: hidden; }
.project-card--client > *:not(.client-card-img-wrap) { padding-left: var(--space-5); padding-right: var(--space-5); }
.project-card--client .project-top { padding-top: 0; }
.project-card--client .btn { margin: 0 var(--space-5) var(--space-5); display: flex; justify-content: center; }
.client-card-img-wrap { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.client-card-img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform 420ms ease; }
.project-card--client:hover .client-card-img { transform: scale(1.04); }
.client-card-img-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, rgba(10,10,10,0.85)); pointer-events: none; }
.client-card-live-badge { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 1; }
.clients-label { margin-bottom: 0.5rem; }

/* ─── FORM ─── */
.field { display: grid; gap: 0.35rem; margin-top: 0.9rem; }
.field-label { font-size: 0.95rem; color: rgba(255,255,255,0.86); }
.input, .textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.94);
  padding: 0.75rem 0.85rem;
  font: inherit;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.input::placeholder, .textarea::placeholder { color: rgba(255,255,255,0.42); }
.input:hover, .textarea:hover { border-color: rgba(255,255,255,0.22); }
.input:focus, .textarea:focus { outline: none; border-color: rgba(201,168,76,0.65); background: rgba(255,255,255,0.045); box-shadow: 0 0 0 4px rgba(201,168,76,0.12); }
.textarea { resize: vertical; min-height: 120px; }
.form-hint { margin: 0.9rem 0 0; min-height: 1.3em; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 999px; padding: 0.85rem 1.15rem;
  border: 1px solid transparent;
  font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; user-select: none;
}
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.65; cursor: not-allowed; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--color-accent); color: #0a0a0a; border-color: rgba(201,168,76,0.7); }
.btn-primary:hover { filter: brightness(1.03); }
.btn-secondary { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.16); color: rgba(255,255,255,0.94); }
.btn-secondary:hover { border-color: rgba(201,168,76,0.32); background: rgba(201,168,76,0.08); }
.btn-sm { padding: 0.6rem 0.9rem; font-size: 0.95rem; }

/* ─── GRID ─── */
.grid { display: grid; gap: var(--space-4); }
.grid-1 { grid-template-columns: 1fr; }

/* ─── CARDS ─── */
.card-title { font-family: var(--font-heading); letter-spacing: 0.04em; font-size: 1.7rem; line-height: 1.05; margin: 0 0 0.75rem; }

/* ─── FOOTER ─── */
.site-footer {
  padding: var(--space-6) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(16,16,16,0.98), rgba(6,6,6,0.98));
}
.footer-inner { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.footer-copy { margin: 0; font-size: 0.98rem; color: rgba(255,255,255,0.8); }
.footer-brand { color: rgba(201,168,76,0.98); }

/* ─── WHATSAPP ─── */
.whatsapp-float {
  position: fixed; right: 1.15rem; bottom: 1.15rem;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #0a0a0a;
  box-shadow: 0 20px 40px rgba(0,0,0,0.32);
  z-index: 6;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}
.whatsapp-float:hover { text-decoration: none; transform: translateY(-3px); filter: brightness(1.05); box-shadow: 0 24px 48px rgba(0,0,0,0.38); }
.whatsapp-float svg { width: 28px; height: 28px; fill: currentColor; }
.whatsapp-float::before {
  content: attr(data-tooltip);
  position: absolute; right: calc(100% + 0.8rem); top: 50%; transform: translateY(-50%);
  padding: 0.45rem 0.7rem; border-radius: 999px;
  background: rgba(10,10,10,0.92); border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.94); font-size: 0.85rem; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 160ms ease;
}
.whatsapp-float:hover::before, .whatsapp-float:focus-visible::before { opacity: 1; }

/* ─── MOBILE ─── */
@media (max-width: 767px) {
  .container { width: min(100% - 1.1rem, var(--max-width)); }
  .section { padding: 4rem 0; }
  .hero { padding: var(--space-5) 0 calc(var(--space-6) + 1rem); }
  .hero-content { gap: 0.75rem; }
  .hero-tag { font-size: 0.78rem; letter-spacing: 0.16em; }
  .hero-headline { font-size: clamp(2.15rem, 13vw, 3.45rem); }
  .hero-subtext { max-width: 28ch; font-size: 0.98rem; }
  .hero-stats { padding: 0.5rem 0.9rem; gap: 0; }
  .hero-stat { padding: 0 0.75rem; }
  .hero-stat-number { font-size: 1.4rem; }
  .hero-stat-label { font-size: 0.6rem; }
  .hero-actions { width: 100%; flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .scroll-indicator { bottom: 0.8rem; }
  .nav-link { font-size: clamp(1.35rem, 6vw, 1.8rem); }

  .about-card { padding: 1.25rem; gap: var(--space-4); }
  .about-story { width: min(100%, 300px); min-height: 340px; }
  .story-panel-primary  { width: min(72vw, 220px); }
  .story-panel-secondary{ width: min(48vw, 160px); }
  .story-panel-tertiary { width: min(44vw, 150px); }

  .skills-group { padding: 1.1rem; }
  .skills-group-title { font-size: 1.35rem; }
  .skill-pill { padding: 0.42rem 0.75rem; font-size: 0.88rem; }

  .card { padding: 1.15rem; }
  .card-title { font-size: 1.45rem; }

  .project-top, .timeline-head { flex-direction: column; align-items: flex-start; }

  .product-actions { flex-direction: column; }
  .product-actions .btn { width: 100%; }

  .portrait-showcase { padding: 1.25rem; }
  .portrait-title { max-width: none; }

  .contact-card { padding: 1.25rem; }
  .contact-submit { min-height: 48px; }
  .card-actions { flex-direction: column; align-items: stretch; }
  .card-actions .btn { width: 100%; }
  .reel-thumb { height: 140px; }

  .timeline-head { align-items: flex-start; }
  .timeline-badge-wrap { align-self: flex-start; }
}

/* ─── TABLET/DESKTOP ─── */
@media (min-width: 768px) {
  :root { --header-height: 72px; }

  .about-card {
    grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(1.5rem, 4vw, 3.25rem);
  }
  .about-story { width: min(100%, 420px); min-height: 500px; }
  .story-panel-primary   { width: 260px; }
  .story-panel-secondary { width: 205px; }
  .story-panel-tertiary  { width: 186px; }

  .skills-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .product-showcase { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; }

  .portrait-showcase { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: center; }
  .portrait-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr); align-items: end; }
  .portrait-frame-small { transform: translateY(2.4rem); }

  .site-nav {
    position: static; inset: auto;
    display: flex; flex-direction: row;
    justify-content: flex-end; align-items: center;
    gap: 0.25rem;
    background: transparent; padding: 0;
    opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  }
  .nav-toggle { display: none; }
  .nav-link { font-size: 1.1rem; padding: 0.55rem 0.7rem; }

  .grid-2\@md { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1200px) {
  :root { --max-width: 1200px; }
  .grid-3\@lg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}