/* Google Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:wght@400;700;900&family=Inter:wght@400;500;600;700;800&family=Caveat:wght@500;600&display=swap');

/* ═══════════════════════════════════════════════════
   DESIGN SYSTEM — MAGAZINE EDITORIAL PALETTE
   Inspired by Reference Layout for Ashutosh Patidar (Video Editor)
═══════════════════════════════════════════════════ */

:root {
  /* Color Palette */
  --bg-warm: #DED7D0;
  /* Soft warm greige / taupe beige */
  --bg-warm-light: #EAE3DC;
  /* Lighter warm card background */
  --bg-dark: #161413;
  /* Rich deep dark charcoal/black */
  --bg-dark-card: #1F1C1B;
  /* Dark card background */

  --color-text-dark: #161413;
  /* Primary dark text */
  --color-text-muted: #666059;
  /* Muted brown/gray body text */
  --color-text-light: #F2EBE4;
  /* Light section text */
  --color-text-dim: #9E968D;
  /* Dim text for dark sections */

  --color-terracotta: #B85C47;
  /* Salmon / Terra-cotta accent color */
  --color-border-light: rgba(22, 20, 19, 0.12);
  /* Light section border */
  --color-border-dark: rgba(242, 235, 228, 0.12);
  /* Dark section border */

  /* Typography */
  --font-serif: 'Bodoni Moda', serif;
  --font-display: 'Bodoni Moda', serif;
  /* hero headline, numbers */
  --font-sans: 'Inter', sans-serif;
  /* body, labels, names */
  --font-script: 'Caveat', cursive;
  /* signature accent */

  /* Layout */
  --max-width: 1360px;
  --header-height: 70px;
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-warm);
  color: var(--color-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100vw;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ─── Scroll Reveal Animations ────────────────────── */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
  transition-delay: var(--delay, 0s);
}

.reveal-up {
  transform: translateY(35px);
}

.reveal-left {
  transform: translateX(-35px);
}

.reveal-right {
  transform: translateX(35px);
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: none;
}


/* ═══════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
  background: rgba(222, 215, 208, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--color-border-light);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-terracotta);
}

.nav-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-text-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-text-dark);
  opacity: 0.65;
  transition: opacity 0.25s ease, color 0.25s ease;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover {
  opacity: 1;
}

.nav-link.active {
  opacity: 1;
  color: var(--color-terracotta);
  font-weight: 700;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-terracotta);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--transition-smooth);
}

.nav-link.active::after {
  transform: scaleX(1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.available-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-dark);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.ham-line {
  height: 2px;
  background: var(--color-text-dark);
  transition: 0.3s ease;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 998;
}

.mobile-overlay.open {
  opacity: 0.95;
  pointer-events: all;
}


/* ═══════════════════════════════════════════════════
   HERO SECTION (MAGAZINE EDITORIAL LAYOUT)
═══════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  background-color: var(--bg-warm);
  padding-top: calc(var(--header-height) + 0.5rem);
  padding-bottom: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  width: 100%;
}

.hero-container {
  position: relative;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Top Giant Title "PORTFOLIO" - scaled nicely to fit screen */
.hero-bg-title {
  width: 100%;
  text-align: center;
  line-height: 0.85;
  user-select: none;
  pointer-events: none;
  z-index: 1;
  margin-top: 0.5rem;
  margin-bottom: -4rem;
}

.hero-bg-title span {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 13vw, 11.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--color-text-dark);
  text-transform: uppercase;
  display: block;
  white-space: nowrap;
}

/* Main 3-Column Magazine Layout Grid */
.hero-main-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto minmax(240px, 1fr);
  align-items: flex-end;
  gap: 2rem;
  flex: 1;
  padding-bottom: 0;
}

/* Left Column */
.hero-col-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 380px;
  padding-bottom: 2rem;
  z-index: 5;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: 0.5rem;
}

.hero-name {
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--color-text-dark);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero-role-subtitle {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: 1.25rem;
}

.hero-bio-text {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.hero-signature {
  font-family: var(--font-script);
  font-size: 2.8rem;
  color: var(--color-terracotta);
  line-height: 1;
  transform: rotate(-3deg);
}

/* Center Column: Portrait Image */
.hero-col-center {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 3;
  margin-bottom: 0;
  padding-bottom: 0;
}

.hero-portrait-frame {
  position: relative;
  max-width: 580px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 0;
  padding-bottom: 0;
  line-height: 0;
}

.hero-portrait-img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  object-position: bottom center;
  transform: scale(1.08);
  transform-origin: bottom center;
  vertical-align: bottom;
  margin-bottom: -12px;
  display: block;
  /* Multiply blend mode removes light background completely */
  mix-blend-mode: multiply;
  filter: contrast(1.03);
}

/* Right Column */
.hero-col-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 2.5rem;
  height: 100%;
  padding-top: 10rem;
  padding-bottom: 2rem;
  z-index: 5;
}

.hero-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 250px;
  text-align: left;
  margin-top: 4rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(222, 215, 208, 0.6);
  backdrop-filter: blur(4px);
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
}

.feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-terracotta);
  margin-top: 5px;
  flex-shrink: 0;
}

.feature-text strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-dark);
  line-height: 1.2;
}

.feature-text p {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.3;
}

/* Stamp Badge */
.stamp-badge {
  position: relative;
  width: 110px;
  height: 110px;
  margin-top: auto;
  flex-shrink: 0;
}

.stamp-badge-inner {
  position: absolute;
  inset: 0;
  background: var(--bg-dark);
  color: var(--color-text-light);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.stamp-year {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.stamp-sub {
  font-size: 0.45rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-top: 2px;
}

.stamp-ring-svg {
  position: absolute;
  inset: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  animation: spinRing 20s linear infinite;
}

.stamp-ring-text {
  font-size: 7px;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 1.5px;
  fill: var(--color-text-light);
  text-transform: uppercase;
}

@keyframes spinRing {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}


/* ═══════════════════════════════════════════════════
   FEATURED PROJECTS SECTION (DARK)
═══════════════════════════════════════════════════ */
#work {
  background-color: var(--bg-dark);
  color: var(--color-text-light);
  padding: 6rem clamp(1.25rem, 4vw, 3rem);
}

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.work-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 2.5rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--color-border-dark);
}

.work-main-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.work-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-dim);
  transition: color 0.3s ease;
}

.work-view-all:hover {
  color: var(--color-text-light);
}

/* 3-Column Grid */
/* Work Categories Layout — Minimal Cardless Carousel */
.work-categories-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.work-category {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

.work-category-header {
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(242, 235, 228, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.work-title-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.work-index {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-terracotta);
}

.work-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-text-light);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.work-desc {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--color-text-dim);
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.carousel-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.25rem 0;
  width: 100%;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 auto;
  width: 360px;
  max-width: 85vw;
}

.video-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 10px;
  background: #111110;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-embed:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(22, 20, 19, 0.9);
  color: var(--color-text-light);
  border: 1px solid rgba(242, 235, 228, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

.carousel-arrow:hover {
  background: var(--color-terracotta);
  border-color: var(--color-terracotta);
  transform: translateY(-50%) scale(1.08);
}

.carousel-prev {
  left: -20px;
}

.carousel-next {
  right: -20px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.carousel-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: background 0.25s ease, transform 0.25s ease;
}

.carousel-dots span.active {
  background: var(--color-terracotta);
  transform: scale(1.25);
}

/* Thumb Frame */
.project-thumb-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.project-thumb-bg {
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  display: flex;
  align-items: flex-end;
  transition: transform 0.6s var(--transition-smooth);
}

.project-card:hover .project-thumb-bg {
  transform: scale(1.05);
}

.thumb-1 {
  background: linear-gradient(135deg, #1C1917 0%, #292524 100%);
}

.thumb-2 {
  background: linear-gradient(135deg, #D4C9BF 0%, #BBB0A5 100%);
}

.thumb-3 {
  background: linear-gradient(135deg, #18181B 0%, #27272A 100%);
}

.thumb-4 {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
}

.thumb-5 {
  background: linear-gradient(135deg, #E2D9D0 0%, #C8BCB0 100%);
}

.thumb-6 {
  background: linear-gradient(135deg, #1F1924 0%, #312638 100%);
}

.thumb-mockup-content {
  color: #F2EBE4;
}

.thumb-mockup-content.light-text {
  color: #161413;
}

.mockup-tag {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  opacity: 0.7;
  margin-bottom: 0.25rem;
}

.thumb-mockup-content h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.2;
}

/* Play Hover Overlay */
.play-hover-btn {
  position: absolute;
  inset: 0;
  background: rgba(22, 20, 19, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.play-hover-btn svg {
  width: 50px;
  height: 50px;
  transform: scale(0.8);
  transition: transform 0.3s var(--transition-smooth);
}

.project-card:hover .play-hover-btn {
  opacity: 1;
}

.project-card:hover .play-hover-btn svg {
  transform: scale(1);
}

/* Card Footer */
.project-card-footer {
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.project-num {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--color-terracotta);
  line-height: 1;
  flex-shrink: 0;
}

.project-info {
  flex: 1;
}

.project-title {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 0.2rem;
}

.project-cat {
  font-size: 0.7rem;
  color: var(--color-terracotta);
  margin-bottom: 0.5rem;
}

.project-desc {
  font-size: 0.75rem;
  color: var(--color-text-dim);
  line-height: 1.5;
}

.project-arrow-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border-dark);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  flex-shrink: 0;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.project-card:hover .project-arrow-btn {
  background: var(--color-terracotta);
  border-color: var(--color-terracotta);
}


/* ═══════════════════════════════════════════════════
   PROCESS & SKILLS SECTION (2-COLUMN SPLIT)
═══════════════════════════════════════════════════ */
#process-skills {
  background-color: var(--bg-warm);
  padding: 6rem clamp(1.25rem, 4vw, 3rem);
}

.split-2col-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
}

.split-heading {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text-dark);
  margin-bottom: 2rem;
}

/* Left Box: My Editing Process */
.process-box {
  background: var(--bg-warm);
  border: 1px solid var(--color-border-light);
  border-radius: 4px;
  padding: 2rem 1.5rem;
  margin-bottom: 1.5rem;
}

.process-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.process-col-item {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--color-border-light);
  padding-right: 0.75rem;
}

.process-col-item:last-child {
  border-right: none;
}

.p-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
}

.p-name {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-text-dark);
  margin-bottom: 0.35rem;
}

.p-desc {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.process-footer-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border-light);
  padding-top: 1rem;
}

.process-arrow {
  font-size: 1.2rem;
  color: var(--color-text-dark);
}

/* Right Box: Tools & Skills */
.right-col {
  background: var(--bg-warm-light);
  border: 1px solid var(--color-border-light);
  border-radius: 4px;
  padding: 2rem;
}

.skills-grid,
.tools-grid-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 2rem 1rem;
  margin-bottom: 2.5rem;
}

.tool-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tool-badge {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: var(--bg-warm);
  border: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  transition: transform 0.3s var(--transition-smooth), border-color 0.3s ease, box-shadow 0.3s ease;
}

.tool-item:hover .tool-badge {
  transform: translateY(-4px);
  border-color: var(--color-terracotta);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.tool-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.tool-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 0.5rem;
}

.skills-quote-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border-light);
  padding-top: 1.5rem;
  text-align: center;
}


/* ═══════════════════════════════════════════════════
   FOOTER / LET'S COLLABORATE (DARK)
═══════════════════════════════════════════════════ */
#contact {
  background-color: var(--bg-dark);
  color: var(--color-text-light);
  padding: 6rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
  padding-bottom: 4rem;
}

/* Left Big Quote Headline */
.footer-left-col {
  display: flex;
  flex-direction: column;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--color-terracotta);
  line-height: 0.8;
  margin-bottom: 0.5rem;
}

.footer-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.highlight-italic {
  font-style: italic;
  color: var(--color-terracotta);
}

/* Center Arch Portrait Frame */
.footer-center-col {
  display: flex;
  justify-content: center;
}

.arch-photo-container {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 3 / 4;
  border-radius: 140px 140px 0 0;
  background: var(--bg-warm-light);
  padding: 8px 8px 0 8px;
  border: 1px solid rgba(242, 235, 228, 0.2);
  border-bottom: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.arch-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 132px 132px 0 0;
  mix-blend-mode: normal;
  opacity: 1;
  display: block;
  vertical-align: bottom;
  margin-bottom: 0;
}

/* Right Contact Box */
.footer-right-col {
  display: flex;
  flex-direction: column;
}

.collaborate-heading {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  color: var(--color-text-light);
  text-transform: uppercase;
}

.collaborate-subtext {
  color: var(--color-text-dim);
  font-family: var(--font-sans);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.6;
  font-size: 0.88rem;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.contact-item {
  display: grid;
  grid-template-columns: 24px 110px 1fr;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.contact-icon-white {
  filter: invert(1);
}

.contact-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-text-dim);
}

.contact-value {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text-light);
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.contact-value:hover {
  opacity: 0.8;
  color: var(--color-terracotta);
}

.collaborate-cta-wrap {
  display: flex;
}

.collaborate-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--color-text-light);
  color: var(--bg-dark);
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.25s ease;
  width: 100%;
  max-width: 320px;
}

.collaborate-cta:hover {
  background: transparent;
  color: var(--color-text-light);
  box-shadow: inset 0 0 0 1px var(--color-text-light);
}

.arrow {
  transition: transform 0.25s ease;
}

.collaborate-cta:hover .arrow {
  transform: translateX(4px);
}

/* Bottom Bar */
.footer-bottom-bar {
  border-top: 1px solid var(--color-border-dark);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--color-text-dim);
}

.heart-icon {
  color: var(--color-terracotta);
}

a.designer-link {
  color: var(--color-terracotta);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a.designer-link:hover {
  color: var(--color-text-light);
}


/* ═══════════════════════════════════════════════════
   QUICK PROJECT INQUIRY SECTION (STANDALONE)
═══════════════════════════════════════════════════ */
.inquiry-section {
  padding: 5rem 0;
  background: var(--bg-warm);
}

.inquiry-card {
  background: var(--bg-warm-light);
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  padding: 3rem 2.5rem;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
}

.inquiry-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.inquiry-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  display: block;
  margin-bottom: 0.5rem;
}

.inquiry-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  text-transform: uppercase;
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.inquiry-sub {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  max-width: 540px;
  margin: 0 auto;
}

.inquiry-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.inquiry-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.inquiry-field.full-width {
  grid-column: 1 / -1;
}

.inquiry-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-dark);
}

.inquiry-input,
.inquiry-select,
.inquiry-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--color-text-dark);
  background: #FFFFFF;
  border: 1px solid var(--color-border-light);
  border-radius: 6px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.inquiry-input:focus,
.inquiry-select:focus,
.inquiry-textarea:focus {
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 3px rgba(184, 92, 71, 0.15);
}

.inquiry-submit-row {
  display: flex;
  justify-content: center;
}

.inquiry-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-dark);
  color: var(--color-text-light);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.inquiry-submit-btn:hover {
  background: var(--color-terracotta);
  transform: translateY(-2px);
}

.btn-arrow {
  transition: transform 0.25s ease;
}

.inquiry-submit-btn:hover .btn-arrow {
  transform: translateX(4px);
}


/* ═══════════════════════════════════════════════════
   GLOBAL SAFETY NET & UTILITIES
═══════════════════════════════════════════════════ */
html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

img, video, iframe {
  max-width: 100%;
}

.swipe-hint {
  display: none;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-terracotta);
  margin-left: auto;
}


/* ═══════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
═══════════════════════════════════════════════════ */
@media (max-width: 1120px) {
  .hero-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .hero-col-center {
    order: -1;
    grid-column: 1 / -1;
  }

  .hero-portrait-frame {
    max-width: 360px;
  }

  .hero-col-right {
    align-items: flex-start;
    padding-top: 0;
  }

  .split-2col-layout {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-center-col {
    order: -1;
  }
}

/* TABLET & MOBILE BREAKPOINT (< 768px) */
@media (max-width: 768px) {

  /* 1. Navbar & Mobile Hamburger Overlay */
  #navbar {
    height: 60px;
    padding: 0 1.25rem;
  }

  .nav-inner {
    height: 60px;
  }

  .available-badge {
    display: none;
  }

  .hamburger {
    display: flex;
    position: relative;
    z-index: 1000;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .hamburger.open .ham-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.open .ham-line:nth-child(2) {
    opacity: 0;
  }

  .hamburger.open .ham-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links li {
    margin: 0;
  }

  .nav-links li a {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
    text-transform: uppercase;
    display: block;
    padding: 0.5rem 1rem;
    min-height: 44px;
  }

  /* 2. Hero Section Mobile Stack */
  #hero {
    min-height: auto;
    padding-top: calc(60px + 1rem);
    padding-bottom: 3rem;
  }

  .hero-bg-title {
    margin-top: 0;
    margin-bottom: -1rem;
  }

  .hero-bg-title span {
    font-size: clamp(2.5rem, 12vw, 9rem);
    white-space: normal;
  }

  .hero-main-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
  }

  .hero-col-center {
    order: 1;
    width: 100%;
    margin-bottom: 0;
  }

  .hero-col-left {
    order: 2;
    align-items: center;
    text-align: center;
    max-width: 100%;
    padding-bottom: 0;
  }

  .hero-col-right {
    order: 3;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .hero-name {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .hero-portrait-frame {
    max-width: 260px;
    margin: 0 auto;
  }

  .hero-portrait-img {
    margin-bottom: -6px;
  }

  .hero-feature-list {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }

  .feature-item {
    text-align: left;
  }

  .stamp-badge {
    margin: 1.5rem auto 0 auto;
    transform: scale(0.85);
  }

  /* 3. Work Section & Carousels Mobile */
  .work-categories-list {
    gap: 3rem;
  }

  .swipe-hint {
    display: inline-block;
  }

  .carousel-slide {
    width: 82vw;
    max-width: 330px;
    scroll-snap-align: start;
  }

  .carousel-track {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.85rem;
  }

  .carousel-arrow {
    display: none !important;
  }

  .work-title {
    font-size: clamp(1.25rem, 5vw, 1.6rem);
  }

  .work-desc {
    font-size: 0.8rem;
  }

  /* 4. Process Section Vertical Stack */
  .process-grid-5 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .process-col-item {
    border-right: none;
    border-bottom: 1px solid rgba(242, 235, 228, 0.15);
    padding-bottom: 1.25rem;
    padding-right: 0;
  }

  .process-col-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  /* 5. Tools & Skills Grid Mobile */
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .tool-badge {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
  }

  /* 6. Quick Project Inquiry Form Mobile */
  .inquiry-section {
    padding: 3.5rem 0;
  }

  .inquiry-card {
    padding: 2rem 1.25rem;
    border-radius: 12px;
  }

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

  .inquiry-input,
  .inquiry-select,
  .inquiry-textarea {
    min-height: 46px;
    font-size: 0.95rem;
  }

  .inquiry-submit-btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    padding: 0.85rem 1.5rem;
  }

  /* 7. Footer / Contact Mobile Stack */
  .footer-headline {
    font-size: clamp(2rem, 8vw, 3.5rem);
    text-align: center;
  }

  .footer-left-col {
    text-align: center;
    align-items: center;
  }

  .contact-item {
    min-height: 44px;
  }

  .collaborate-cta {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

/* SMALL PHONES BREAKPOINT (< 480px) */
@media (max-width: 480px) {
  .carousel-slide {
    width: 85vw;
  }

  .contact-item {
    display: grid;
    grid-template-columns: 24px 1fr;
    grid-template-rows: auto auto;
    gap: 0.2rem 0.75rem;
    align-items: center;
  }

  .contact-icon {
    grid-row: 1 / 3;
    grid-column: 1;
    align-self: center;
  }

  .contact-label {
    grid-column: 2;
  }

  .contact-value {
    grid-column: 2;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .inquiry-card {
    padding: 1.75rem 1rem;
  }

  .arch-photo-container {
    max-width: 220px;
  }
}