/* ═══════════════════════════════════════════════════════
   ALISHER PORTFOLIO — style.css
   Premium Minimalist Fashion Portfolio
   ═══════════════════════════════════════════════════════ */

/* ─── Custom Properties ─────────────────────────────── */
:root {
  --clr-bg:         #0a0a0a;
  --clr-bg-2:       #111111;
  --clr-bg-3:       #181818;
  --clr-surface:    #141414;
  --clr-white:      #ffffff;
  --clr-off-white:  #e8e4df;
  --clr-muted:      #888888;
  --clr-border:     #1f1f1f;
  --clr-border-2:   #2a2a2a;

  --font-serif:     'Playfair Display', 'Georgia', serif;
  --font-sans:      'Inter', system-ui, sans-serif;
  --font-cormorant: 'Cormorant Garamond', serif;

  --header-h:       70px;
  --ticker-h:       44px;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  24px;
  --radius-pill: 999px;

  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s ease;
}

/* ─── Reset & Base ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--clr-bg);
  color: var(--clr-white);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a  { text-decoration: none; color: inherit; }
button { background: none; border: none; cursor: pointer; }

/* ─── Custom Cursor ─────────────────────────────────── */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: opacity 0.3s ease;
}

/* ─── Utility ───────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-header__eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--clr-muted);
  margin-bottom: 16px;
}
.section-header__title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--clr-white);
}

/* Buttons */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--clr-white);
  background: transparent;
  
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}
.btn-outline:hover {
  background: var(--clr-white);
  border-color: var(--clr-white);
  color: var(--clr-bg);
  transform: translateY(-2px);
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--clr-bg);
  background: var(--clr-white);
  
  border: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}
.btn-solid:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}


/* ─── HEADER ────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 60px);
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--clr-border);
  transition: background var(--transition);
}
.header.scrolled {
  background: rgba(10,10,10,0.98);
  border-bottom-color: var(--clr-border-2);
}

.header__brand-text {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--clr-white);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--clr-muted);
  transition: color var(--transition-fast);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--clr-white);
  transition: width var(--transition);
}
.nav-link:hover,
.nav-link.active { color: var(--clr-white); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.header__social {
  display: flex;
  align-items: center;
  gap: 20px;
}
.social-link {
  color: var(--clr-muted);
  display: flex;
  align-items: center;
  transition: color var(--transition-fast), transform var(--transition-fast);
}
.social-link:hover { color: var(--clr-white); transform: translateY(-2px); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.burger span {
  display: block;
  width: 22px; height: 1px;
  background: var(--clr-white);
  transition: var(--transition-fast);
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 90vw);
  height: 100dvh;
  background: var(--clr-bg-2);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  padding: 60px 48px;
  border-left: 1px solid var(--clr-border-2);
  transition: right var(--transition);
}
.mobile-nav.open { right: 0; }
.mobile-nav__close {
  position: absolute;
  top: 24px; right: 28px;
  font-size: 20px;
  color: var(--clr-muted);
  
  transition: color var(--transition-fast);
}
.mobile-nav__close:hover { color: var(--clr-white); }
.mobile-nav__link {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--clr-white);
  transition: color var(--transition-fast), letter-spacing var(--transition);
}
.mobile-nav__link:hover { color: var(--clr-muted); letter-spacing: 0.05em; }

.mobile-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-nav__overlay.open { opacity: 1; pointer-events: all; }


/* ─── TICKER ────────────────────────────────────────── */
.ticker {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  height: var(--ticker-h);
  background: var(--clr-bg-2);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-top: var(--header-h);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 50s linear infinite;
  will-change: transform;
}

.ticker__group {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
}

.ticker__group span {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--clr-muted);
  text-transform: uppercase;
  flex-shrink: 0;
  white-space: nowrap;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ─── HERO ──────────────────────────────────────────── */
.hero {
  min-height: calc(100dvh - var(--header-h) - var(--ticker-h));
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

/* Photo Cards */
.hero__card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero__card-inner {
  position: relative;
  flex: 1;
  overflow: hidden;
}
.hero__card-inner img {
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: grayscale(100%) contrast(1.1);
}
.hero__card:hover .hero__card-inner img {
  transform: scale(1.04);
}

.hero__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.2) 0%,
    rgba(10,10,10,0.0) 40%,
    rgba(10,10,10,0.5) 100%
  );
}

.hero__card-label {
  position: absolute;
  bottom: 20px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.5);
}
.hero__card--left  .hero__card-label { left: 20px; }
.hero__card--right .hero__card-label { left: 20px; }

/* Fallback gradient for missing photos */
.hero__card-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 50%, #1e1e1e 100%);
  z-index: -1;
}
.hero__card-inner img[src="photos/photo-left.jpg"]  { background: linear-gradient(135deg, #1c1c1c, #0a0a0a); }
.hero__card-inner img[src="photos/photo-right.jpg"] { background: linear-gradient(135deg, #1e1e1e, #0d0d0d); }

/* Center Column */
.hero__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 5vw, 80px) clamp(16px, 3vw, 40px);
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero__sub {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.35em;
  color: var(--clr-muted);
  margin-bottom: 24px;
}

.hero__name {
  font-family: var(--font-serif);
  font-size: clamp(64px, 9vw, 140px);
  font-weight: 900;
  line-height: 0.9;
  color: var(--clr-white);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.hero__name-line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: name-reveal 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.hero__name-line:nth-child(1) { animation-delay: 0.2s; }
.hero__name-line:nth-child(2) { animation-delay: 0.4s; }
.hero__name-line:nth-child(3) { animation-delay: 0.6s; }

@keyframes name-reveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero__divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--clr-muted), transparent);
  margin: 32px auto 0;
}

/* Right card extra content */
.hero__slogan-block {
  padding: 28px 24px;
  text-align: center;
  background: var(--clr-bg-2);
  border-top: 1px solid var(--clr-border);
}
.hero__slogan {
  font-family: var(--font-cormorant);
  font-size: clamp(16px, 2vw, 20px);
  font-style: italic;
  font-weight: 300;
  color: var(--clr-off-white);
  line-height: 1.5;
  margin-bottom: 20px;
}


/* ─── STATS BAND ────────────────────────────────────── */
.stats-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: clamp(40px, 5vw, 64px) clamp(24px, 5vw, 80px);
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  flex-wrap: wrap;
}

.stats-band__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 clamp(24px, 4vw, 60px);
}

.stats-band__num {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1;
}

.stats-band__label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--clr-muted);
  text-transform: uppercase;
}

.stats-band__sep {
  font-size: 24px;
  color: var(--clr-border-2);
  flex-shrink: 0;
}


/* ─── PORTFOLIO ─────────────────────────────────────── */
.portfolio {
  padding: clamp(80px, 10vw, 140px) clamp(24px, 5vw, 80px);
  background: var(--clr-bg);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
  gap: 2px;
}

.portfolio__item { 
  position: relative; 
  overflow: hidden; 
  display: flex;
  flex-direction: column;
  height: 100%;
}
.portfolio__item--tall   { grid-row: span 2; }
.portfolio__item--wide   { grid-column: span 2; }

.portfolio__img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--clr-surface);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.portfolio__item--tall   .portfolio__img-wrap { aspect-ratio: auto; height: 100%; }
.portfolio__item--wide   .portfolio__img-wrap { aspect-ratio: auto; }

.portfolio__img-wrap img {
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: grayscale(100%) contrast(1.05);
}
.portfolio__item:hover .portfolio__img-wrap img {
  transform: scale(1.06);
  filter: grayscale(60%) contrast(1.05);
}

.portfolio__img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.portfolio__item:hover .portfolio__img-overlay { opacity: 1; }

.portfolio__view {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--clr-white);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 10px 24px;
  border-radius: var(--radius-pill);
}

.portfolio__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
}

.portfolio__num {
  font-family: var(--font-cormorant);
  font-size: 32px;
  font-weight: 300;
  color: var(--clr-border-2);
  line-height: 1;
  flex-shrink: 0;
}

.portfolio__name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--clr-white);
  margin-bottom: 2px;
}
.portfolio__type {
  font-size: 11px;
  color: var(--clr-muted);
  letter-spacing: 0.1em;
}

.portfolio__footer {
  margin-top: clamp(48px, 6vw, 72px);
  text-align: center;
}

/* Placeholder tiles when no image */
.portfolio__img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--clr-surface);
  z-index: 0;
}
.portfolio__img-wrap img { position: relative; z-index: 1; }


/* ─── SNAPS ─────────────────────────────────────────── */
.snaps {
  padding: clamp(140px, 15vw, 180px) clamp(24px, 5vw, 80px) clamp(80px, 10vw, 140px);
  background: var(--clr-bg-3);
  border-top: 1px solid var(--clr-border);
  min-height: 100vh;
}

.snaps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.snaps__item {
  background: var(--clr-white);
  padding: 12px 12px 48px;
  border-radius: 2px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: transform var(--transition);
}
.snaps__item:hover {
  transform: translateY(-10px) rotate(2deg);
  z-index: 2;
}
.snaps__item:nth-child(even):hover {
  transform: translateY(-10px) rotate(-2deg);
}

.snaps__item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter var(--transition);
}
.snaps__item:hover img {
  filter: grayscale(0%);
}

.snaps__label {
  position: absolute;
  bottom: 16px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--clr-bg);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 900px) {
  .snaps__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 600px) {
  .snaps__grid { grid-template-columns: 1fr; }
}


/* ─── ABOUT ─────────────────────────────────────────── */
.about {
  padding: clamp(80px, 10vw, 140px) clamp(24px, 5vw, 80px);
  background: var(--clr-bg-2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: center;
  border-top: 1px solid var(--clr-border);
}

.about__img-col {
  position: relative;
}

.about__img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--clr-surface);
}
.about__img-wrap img {
  filter: grayscale(100%) contrast(1.1);
  transition: filter var(--transition), transform var(--transition);
}
.about__img-wrap:hover img {
  filter: grayscale(60%) contrast(1.05);
  transform: scale(1.03);
}

.about__img-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

.about__float-badge {
  position: absolute;
  bottom: -28px;
  right: -28px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--clr-white);
  color: var(--clr-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  z-index: 2;
}
.about__float-num {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}
.about__float-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555;
  margin-top: 4px;
  padding: 0 8px;
  text-align: center;
}

.about__title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  margin: 16px 0 28px;
}
.about__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--clr-muted);
}

.about__body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--clr-off-white);
  margin-bottom: 18px;
}

.about__skills { margin: 32px 0 40px; }

.about__skill-item {
  margin-bottom: 18px;
}
.about__skill-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--clr-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.about__skill-bar {
  height: 1px;
  background: var(--clr-border-2);
  border-radius: 1px;
  overflow: visible;
  position: relative;
}
.about__skill-fill {
  height: 1px;
  background: linear-gradient(90deg, var(--clr-white), rgba(255,255,255,0.4));
  border-radius: 1px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}
.about__skill-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--clr-white);
}


/* ─── CONTACT ───────────────────────────────────────── */
.contact {
  padding: clamp(80px, 10vw, 140px) clamp(24px, 5vw, 80px);
  background: var(--clr-bg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: start;
  border-top: 1px solid var(--clr-border);
}

.contact__title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  margin: 16px 0 24px;
}
.contact__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--clr-muted);
}

.contact__sub {
  font-size: 14px;
  line-height: 1.75;
  color: var(--clr-muted);
  margin-bottom: 40px;
  max-width: 380px;
}

.contact__details { display: flex; flex-direction: column; gap: 20px; }

.contact__detail-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--clr-off-white);
}
.contact__detail-icon {
  font-size: 16px;
  color: var(--clr-muted);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}
.contact__detail-link {
  color: var(--clr-off-white);
  transition: color var(--transition-fast);
}
.contact__detail-link:hover { color: var(--clr-white); }

/* Form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--clr-muted);
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-2);
  border-radius: var(--radius-sm);
  color: var(--clr-white);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder { color: var(--clr-muted); }
.form-input:focus {
  border-color: rgba(255,255,255,0.35);
  background: var(--clr-bg-3);
}

.form-select {
  
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.form-select option { background: var(--clr-bg-2); }

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-success {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-align: center;
  min-height: 20px;
  transition: opacity var(--transition-fast);
}


/* ─── FOOTER ────────────────────────────────────────── */
.footer {
  background: var(--clr-bg-2);
  border-top: 1px solid var(--clr-border);
  padding: clamp(40px, 5vw, 64px) clamp(24px, 5vw, 80px) clamp(24px, 3vw, 40px);
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--clr-border);
  gap: 24px;
  flex-wrap: wrap;
}

.footer__brand {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.25em;
}

.footer__links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__link {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--clr-muted);
  text-transform: uppercase;
  transition: color var(--transition-fast);
}
.footer__link:hover { color: var(--clr-white); }

.footer__social { display: flex; gap: 20px; align-items: center; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 12px;
  color: var(--clr-muted);
  flex-wrap: wrap;
  gap: 8px;
}

.footer__craft { font-style: italic; }


/* ─── BACK TO TOP ───────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 90;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--clr-white);
  color: var(--clr-bg);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  border: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--clr-off-white);
  transform: translateY(-3px);
}


/* ─── SCROLL REVEAL ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 900px)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .header__nav { display: none; }
  .header__social { display: none; }
  .burger { display: flex; }

  .hero {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    min-height: auto;
  }
  .hero__card--left  { grid-column: 1; grid-row: 1; }
  .hero__center      { grid-column: 1 / -1; grid-row: 2; padding: 48px 32px; }
  .hero__card--right { grid-column: 2; grid-row: 1; }
  .hero__name { font-size: clamp(52px, 10vw, 80px); }

  .about {
    grid-template-columns: 1fr;
  }
  .about__float-badge { right: 20px; }

  .contact {
    grid-template-columns: 1fr;
  }

  .portfolio__grid {
    grid-template-columns: 1fr 1fr;
  }
  .portfolio__item--tall { grid-row: span 1; }
  .portfolio__item--wide { grid-column: span 2; }

  .stats-band { gap: 0; }
  .stats-band__sep { display: none; }
  .stats-band__item { padding: 20px 24px; }
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 600px)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .hero__card--left  { grid-column: 1; grid-row: 1; }
  .hero__center      { grid-column: 1; grid-row: 2; }
  .hero__card--right { grid-column: 1; grid-row: 3; }

  .hero__card-inner { aspect-ratio: 4/5; height: 340px; }
  .hero__card--right .hero__card-inner { aspect-ratio: auto; flex: 1; min-height: 300px; }
  .hero__slogan-block { padding: 24px 20px; }

  .portfolio__grid {
    grid-template-columns: 1fr;
  }
  .portfolio__item--tall,
  .portfolio__item--wide { grid-column: span 1; grid-row: span 1; }
  .portfolio__item--wide .portfolio__img-wrap { aspect-ratio: 4/3; }

  .stats-band {
    flex-direction: column;
    gap: 0;
  }
  .stats-band__item {
    padding: 20px 0;
    width: 100%;
    border-bottom: 1px solid var(--clr-border);
  }
  .stats-band__item:last-child { border-bottom: none; }

  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__links { flex-direction: column; gap: 12px; }

  .about__float-badge {
    right: 0px;
    bottom: -20px;
    width: 100px;
    height: 100px;
  }
  .about__float-num { font-size: 24px; }
}
