/* ============================================================
   MUHAMMED R — EDITORIAL PORTFOLIO
   Design System: Monochrome / High-Fashion / Typographic
   ============================================================ */

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

/* ── RESET & BASE ─────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0a0a0a;
  --bg-alt: #111111;
  --fg: #f0f0f0;
  --fg-muted: #666;
  --fg-dim: #333;
  --rule: #222;
  --white: #ffffff;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-serif: 'DM Serif Display', serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
}

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

ul {
  list-style: none;
}

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

::selection {
  background: var(--white);
  color: var(--bg);
}

/* ── CUSTOM CURSOR ────────────────────────────────────────── */
.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--white);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s var(--ease-out), width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor-ring.hovered {
  width: 60px;
  height: 60px;
  border-color: rgba(255, 255, 255, 0.8);
}

/* ── SCROLLBAR ────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 2px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--fg-dim);
}

/* ── NOISE OVERLAY (subtle texture) ──────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 1000;
}

/* ================================================================
   HERO / NAV
   ================================================================ */

.hero {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #080808;
}

/* ── HERO BACKGROUND PHOTO ────────────────────────────────── */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/profile.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 20%;
  filter: grayscale(100%) contrast(1.05) brightness(0.55);
  animation: kenBurns 22s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes kenBurns {
  0%   { transform: scale(1) translate(0px, 0px); }
  100% { transform: scale(1.05) translate(-18px, -10px); }
}

/* ── HERO OVERLAY GRADIENT ────────────────────────────────── */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0.10) 40%,
      rgba(0, 0, 0, 0.10) 60%,
      rgba(0, 0, 0, 0.70) 100%);
}

/* ── HERO NAV (inline, not fixed) ─────────────────────────── */
.hero-nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  flex-shrink: 0;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-left a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.25s;
  position: relative;
}

.nav-left a::before {
  content: '/ ';
  opacity: 0.5;
}

.nav-left a:hover {
  color: var(--white);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}

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

.hamburger-btn span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.97);
  z-index: 15;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.mobile-nav.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(40px, 10vw, 80px);
  letter-spacing: 0.04em;
  color: var(--fg);
  transition: color 0.2s;
}

.mobile-nav a:hover {
  color: var(--white);
}

.close-mobile-nav {
  position: absolute;
  top: 28px;
  right: 28px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s, color 0.25s, transform 0.25s;
}

.close-mobile-nav:hover {
  border-color: var(--white);
  transform: rotate(90deg);
}

/* ── HERO NAME ────────────────────────────────────────────── */
.hero-name-wrapper {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 80px 40px 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(72px, 14.5vw, 200px);
  line-height: 0.88;
  letter-spacing: -0.01em;
  color: var(--white);
  text-transform: uppercase;
  user-select: none;
  white-space: nowrap;
  width: 100%;
  /* Reveal animation */
  opacity: 0;
  transform: translateY(30px);
  animation: nameReveal 1.2s var(--ease-out) 0.3s forwards;
}

.hero-name .name-first {
  display: block;
}

.hero-name .name-last {
  display: block;
}

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

/* ── HERO SUBTITLE ────────────────────────────────────────── */
.hero-tagline {
  position: relative;
  z-index: 10;
  padding: 0 50px 20px;
  flex-shrink: 0;
}

.hero-tagline p {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.8s forwards;
}

/* ── SCROLL INDICATOR ─────────────────────────────────────── */
.scroll-indicator {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding-bottom: 32px;
  flex-shrink: 0;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 1.1s forwards;
}

.scroll-indicator span {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.scroll-indicator .scroll-line {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.scroll-indicator .scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  animation: scrollAnim 1.6s ease-in-out 1.5s infinite;
}

@keyframes scrollAnim {
  0% {
    top: -100%;
  }

  100% {
    top: 100%;
  }
}

/* ================================================================
   SHARED SECTION STYLES — EDITORIAL
   ================================================================ */

section {
  border-top: 1px solid var(--rule);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 48px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 72px;
}

.section-label span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.section-label .label-num {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.1em;
}

/* Fade-in on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ================================================================
   ABOUT SECTION
   ================================================================ */

.about-section {
  background: var(--bg);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.about-meta {
  position: sticky;
  top: 48px;
}

.about-role {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 32px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-tag {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--rule);
  padding: 6px 14px;
  color: var(--fg-muted);
  transition: border-color 0.25s, color 0.25s;
}

.about-tag:hover {
  border-color: var(--fg-dim);
  color: var(--fg);
}

.about-body p {
  font-size: 17px;
  line-height: 1.85;
  color: rgba(240, 240, 240, 0.7);
  margin-bottom: 28px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 48px;
}

.stat-item {
  background: var(--bg);
  padding: 28px 24px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--white);
}

.stat-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: 6px;
}

/* ================================================================
   FLAGSHIP PRODUCTS
   ================================================================ */

.products-section {
  background: var(--bg-alt);
}

.product-list {
  display: flex;
  flex-direction: column;
}

.product-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 48px;
  padding: 36px 0;
  border-bottom: 1px solid var(--rule);
  transition: background 0.2s;
  cursor: default;
}

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

.product-num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1;
  transition: letter-spacing 0.4s var(--ease-out);
}

.product-item:hover .product-name {
  letter-spacing: 0.06em;
}

.product-desc {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  text-transform: uppercase;
}

.product-badge-tag {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--fg-dim);
  padding: 5px 12px;
  color: var(--fg-muted);
  white-space: nowrap;
}

.product-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: color 0.25s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-body);
}

.btn-arrow svg {
  transition: transform 0.3s var(--ease-out);
}

.btn-arrow:hover {
  color: var(--white);
}

.btn-arrow:hover svg {
  transform: translate(4px, -4px);
}

/* ================================================================
   EXPERIENCE & EDUCATION
   ================================================================ */

.timeline-section {
  background: var(--bg);
}

.timeline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.timeline-col-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.timeline-col-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.timeline-entry {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}

.timeline-entry:first-of-type {
  border-top: 1px solid var(--rule);
}

.timeline-date {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  padding-top: 3px;
  line-height: 1.4;
}

.timeline-content {}

.timeline-role {
  font-size: 16px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 4px;
}

.timeline-org {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
}

/* ================================================================
   WORK / PROJECTS SECTION
   ================================================================ */

.work-section {
  background: var(--bg-alt);
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 20px;
}

.filter-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  cursor: pointer;
  padding: 6px 14px;
  transition: color 0.25s, border-color 0.25s;
  border-bottom: 1px solid transparent;
  margin-bottom: -21px;
}

.filter-btn.active {
  color: var(--white);
  border-bottom-color: var(--white);
}

.filter-btn:hover {
  color: var(--fg);
}

.projects-list {
  display: flex;
  flex-direction: column;
}

.project-row {
  display: grid;
  grid-template-columns: 48px 1fr auto auto;
  align-items: center;
  gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  transition: opacity 0.3s;
}

.project-row:first-child {
  border-top: 1px solid var(--rule);
}

.project-row.hidden {
  display: none;
}

.project-row-num {
  font-size: 10px;
  color: var(--fg-dim);
  letter-spacing: 0.08em;
  font-family: var(--font-display);
  font-size: 12px;
}

.project-row-name {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 400;
  color: var(--fg);
  letter-spacing: -0.01em;
  transition: color 0.25s;
}

.project-row:hover .project-row-name {
  color: var(--white);
}

.project-row-cat {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.project-row-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: color 0.25s;
}

.project-row-link svg {
  transition: transform 0.3s var(--ease-out);
}

.project-row-link:hover {
  color: var(--white);
}

.project-row-link:hover svg {
  transform: translate(3px, -3px);
}

/* Preview button */
.btn-preview-row {
  background: none;
  border: 1px solid var(--fg-dim);
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  cursor: pointer;
  padding: 5px 12px;
  transition: border-color 0.25s, color 0.25s;
  white-space: nowrap;
}

.btn-preview-row:hover {
  border-color: var(--white);
  color: var(--white);
}

.see-more-row {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.btn-see-more {
  background: none;
  border: 1px solid var(--rule);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
  cursor: pointer;
  padding: 14px 40px;
  transition: border-color 0.25s, color 0.25s;
}

.btn-see-more:hover {
  border-color: var(--white);
  color: var(--white);
}

/* ================================================================
   CONTACT SECTION
   ================================================================ */

.contact-section {
  background: var(--bg);
  text-align: center;
}

.contact-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 32px;
}

.contact-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 10vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 48px;
  display: block;
}

.contact-headline em {
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85em;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 4px;
  transition: color 0.25s, border-color 0.25s;
  margin-bottom: 16px;
}

.contact-email:hover {
  color: var(--white);
  border-color: var(--white);
}

.contact-tel {
  font-size: 13px;
  color: var(--fg-dim);
  letter-spacing: 0.08em;
  margin-bottom: 60px;
}

.contact-socials {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 48px;
}

.contact-socials a {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: color 0.25s;
}

.contact-socials a:hover {
  color: var(--white);
}

/* ================================================================
   FOOTER
   ================================================================ */

footer {
  border-top: 1px solid var(--rule);
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.footer-right {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* ================================================================
   PREVIEW MODAL
   ================================================================ */

.preview-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  backdrop-filter: blur(8px);
}

.preview-modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-browser {
  width: 90vw;
  max-width: 1100px;
  height: 80vh;
  background: #111;
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: transform 0.35s var(--ease-out);
}

.preview-modal.active .modal-browser {
  transform: translateY(0);
}

.modal-browser-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--rule);
  flex-shrink: 0;
}

.modal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  cursor: pointer;
}

.modal-dot.red {
  background: #e75c5c;
}

.modal-dot.yellow {
  background: #e7b65c;
}

.modal-dot.green {
  background: #5ce784;
}

.modal-address-bar {
  flex: 1;
  background: #1a1a1a;
  border: 1px solid var(--rule);
  padding: 5px 14px;
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

.btn-external {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.25s;
}

.btn-external:hover {
  color: var(--white);
}

.modal-browser-content {
  flex: 1;
  overflow: hidden;
}

.modal-browser-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

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

@media (max-width: 900px) {
  .hero-nav {
    padding: 20px 24px;
  }

  .nav-left {
    display: none;
  }

  .nav-right {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .hero-bg {
    background-position: center 10%;
  }

  .hero-name-wrapper {
    flex: 1;
    display: flex;
    align-items: flex-end;
    padding: 100px 24px 0;
    margin-top: 0;
  }

  .hero-tagline {
    padding: 8px 24px 24px;
  }

  .section-inner {
    padding: 72px 24px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-meta {
    position: static;
  }

  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .product-item {
    grid-template-columns: 48px 1fr;
    gap: 16px;
  }

  .product-badge-tag {
    display: none;
  }

  .product-actions {
    grid-column: 2;
  }

  .project-row {
    grid-template-columns: 32px 1fr auto;
    gap: 16px;
  }

  .project-row-cat {
    display: none;
  }

  footer {
    padding: 24px;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .contact-socials {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .hero-name {
    font-size: clamp(56px, 17vw, 80px);
  }

  .hero-name-wrapper {
    flex: 1;
    display: flex;
    align-items: flex-end;
    padding: 100px 16px 0;
    margin-top: 0;
  }

  .hero-tagline {
    padding: 8px 16px 20px;
  }

  .section-inner {
    padding: 56px 20px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .product-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-num {
    display: none;
  }

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

  .project-row-num {
    display: none;
  }
}

/* ── BACK TO TOP BUTTON ────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--bg);
  border: 1px solid var(--rule);
  color: var(--white);
  border-radius: 50%;
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, border-color 0.25s, background-color 0.25s;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--white);
  background: #151515;
}

@media (max-width: 900px) {
  .back-to-top {
    bottom: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
  }
}