/* ==========================================================================
   ORJI MICHAEL - UI/UX DESIGNER PORTFOLIO
   Warm Editorial Blueprint & High-Impact Typography Design System
   Crisp, Clean, Zero-Glow Architectural Aesthetic
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

/* --- Root Design Tokens --- */
:root {
  --bg-body: #FBFBFA;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #F4F4F1;
  --bg-dark-card: #121214;
  --bg-dark-surface: #0A0A0C;

  --color-ink: #111111;
  --color-ink-muted: #555552;
  --color-ink-subtle: #888884;
  
  --border-line: rgba(0, 0, 0, 0.08);
  --border-line-dark: rgba(255, 255, 255, 0.1);
  --border-line-hover: rgba(0, 0, 0, 0.3);

  --accent-orange: #FF5500;
  --accent-orange-hover: #E04B00;
  --accent-orange-light: #FFEDE4;
  --accent-peach: #FFE8DC;

  --font-headline: 'Bebas Neue', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background-color: var(--bg-body);
  color: var(--color-ink);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  background-color: var(--bg-body);
  color: var(--color-ink);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  max-width: 100%;
  width: 100%;
}

/* Typography Classes */
.font-headline {
  font-family: var(--font-headline);
  letter-spacing: 0.015em;
  line-height: 0.95;
}

.font-mono {
  font-family: var(--font-mono);
}

/* Hero Massive Typography - Fluid, Break-Proof & Zero Horizontal Overflow */
.hero-headline {
  font-family: var(--font-headline);
  font-size: clamp(2.4rem, 9.2vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-ink);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 100%;
  word-break: break-word;
}

.hero-headline .headline-line {
  display: block;
}

@media (max-width: 640px) {
  .hero-headline {
    font-size: clamp(2rem, 8.8vw, 3.25rem);
    line-height: 0.95;
    letter-spacing: 0;
  }
}

@media (max-width: 380px) {
  .hero-headline {
    font-size: 1.85rem;
    line-height: 0.96;
  }
}

/* Outlined Text Effects (Crisp Strokes, Zero Glow) */
.text-outline-orange {
  color: transparent;
  -webkit-text-stroke: 2.5px var(--accent-orange);
  text-stroke: 2.5px var(--accent-orange);
}

.text-outline-white {
  color: transparent;
  -webkit-text-stroke: 2px #FFFFFF;
  text-stroke: 2px #FFFFFF;
}

.text-outline-dark {
  color: transparent;
  -webkit-text-stroke: 2px #111111;
  text-stroke: 2px #111111;
}

/* Inline Highlight Pills (Flat, Matte, Multi-line Safe) */
.highlight-peach {
  background-color: var(--accent-peach);
  color: #111111;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.highlight-orange-text {
  color: var(--accent-orange);
  font-weight: 700;
}

/* --- Blueprint Drafting Grid Background --- */
.blueprint-grid {
  background-size: 80px 80px;
  background-image: 
    linear-gradient(to right, var(--border-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-line) 1px, transparent 1px);
}

.blueprint-grid-dark {
  background-size: 80px 80px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

/* Architectural Drafting Registration Marks (+) */
.drafting-cross {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.25);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.drafting-cross.top-left { top: 12px; left: 12px; }
.drafting-cross.top-right { top: 12px; right: 12px; }
.drafting-cross.bottom-left { bottom: 12px; left: 12px; }
.drafting-cross.bottom-right { bottom: 12px; right: 12px; }

/* Zero Ambient Glows */
.hero-ambient-glow {
  display: none !important;
}

/* --- Tilted Physical Tape Stickers (Clean Matte Paper Architecture) --- */
/* By default, floating stickers are hidden to guarantee ZERO text collision on standard screens */
.sticker-tape {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.14);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: #111111;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 4px;
  position: absolute;
  z-index: 20;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  pointer-events: auto;
  white-space: nowrap;
  display: none;
}

.sticker-tape::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: var(--accent-orange);
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

/* Only display floating side stickers on wide screens where margin is guaranteed */
@media (min-width: 1360px) {
  .sticker-tape {
    display: block;
  }
  .sticker-tape-left {
    top: 46%;
    left: calc(50% - 660px);
    transform: rotate(-3.5deg);
  }
  .sticker-tape-left:hover {
    transform: rotate(0deg) scale(1.03);
    border-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  }
  .sticker-tape-right {
    top: 62%;
    right: calc(50% - 660px);
    transform: rotate(3.5deg);
  }
  .sticker-tape-right:hover {
    transform: rotate(0deg) scale(1.03);
    border-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  }
}

/* Inline Tape Badges for laptops, tablets, and phones (Zero Collision Guarantee) */
.sticker-strip-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  margin: 20px auto 0;
  max-width: 650px;
}

@media (min-width: 1360px) {
  .sticker-strip-inline {
    display: none !important;
  }
}

.sticker-badge-inline {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-left: 4px solid var(--accent-orange);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: #111111;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: inline-flex;
  align-items: center;
  user-select: none;
  transition: transform 0.2s ease;
}

.sticker-badge-inline:active {
  transform: scale(0.97);
}

/* --- Header & Navigation Pill --- */
.nav-pill-group {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 9999px;
  padding: 4px 6px;
  box-shadow: none;
}

.nav-pill-item {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  padding: 7px 16px;
  border-radius: 9999px;
  transition: all 0.2s ease;
  text-decoration: none;
  border: 1px solid transparent;
}

.nav-pill-item:hover {
  color: var(--color-ink);
  background: rgba(0, 0, 0, 0.04);
}

.nav-pill-item.active {
  color: var(--accent-orange);
  background: var(--accent-orange-light);
  border-color: rgba(255, 85, 0, 0.2);
}

/* --- Buttons (Crisp, High-Touch Responsive, Flat Architecture, Zero Glow) --- */
.btn-orange,
.btn-dark,
.btn-primary {
  min-height: 44px;
  padding: 10px 22px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
  user-select: none;
  white-space: nowrap;
}

.btn-orange {
  background-color: var(--accent-orange);
  color: #FFFFFF;
  border: 1px solid transparent;
}

.btn-orange:hover {
  background-color: var(--accent-orange-hover);
  transform: translateY(-1px);
  color: #FFFFFF;
}

.btn-orange:active {
  transform: scale(0.97);
}

.btn-dark {
  background-color: #111111;
  color: #FFFFFF;
  border: 1px solid #222222;
}

.btn-dark:hover {
  background-color: #222222;
  transform: translateY(-1px);
  color: #FFFFFF;
}

.btn-dark:active {
  transform: scale(0.97);
}

/* Legacy .btn-primary support (Zero Glow) */
.btn-primary {
  background-color: var(--accent-orange);
  color: #FFFFFF;
  border: 1px solid transparent;
}

.btn-primary:hover {
  background-color: var(--accent-orange-hover);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: scale(0.97);
}

/* Small Tag Badges */
.badge-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #FFFFFF;
  color: var(--color-ink-muted);
  display: inline-block;
}

/* Clean Solid Status Dot (No Spreading Halo/Glow) */
.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-orange);
  border-radius: 50%;
  display: inline-block;
}

.pulse-dot::after {
  display: none !important;
}

/* --- Dark Capabilities Card (From Reference Image - Zero Glow) --- */
.dark-capabilities-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-line-dark);
  border-radius: 24px;
  padding: 36px 32px;
  color: #FFFFFF;
  box-shadow: none !important;
  position: relative;
  overflow: hidden;
}

.capability-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
  cursor: pointer;
}

.capability-row:last-child {
  border-bottom: none;
}

.capability-row:hover {
  padding-left: 8px;
  border-color: var(--accent-orange);
}

.capability-row:hover .capability-arrow {
  color: var(--accent-orange);
  transform: translate(3px, -3px);
}

.capability-row:hover .capability-title {
  color: var(--accent-orange);
}

.capability-arrow {
  font-size: 1.1rem;
  color: #777777;
  transition: all 0.2s ease;
}

/* --- Approach Section Cards (Zero Glow) --- */
.approach-card {
  background: #FFFFFF;
  border: 1px solid var(--border-line);
  border-radius: 18px;
  padding: 32px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: none !important;
}

.approach-card:hover {
  transform: translateY(-3px);
  border-color: #111111;
  box-shadow: none !important;
}

.approach-number {
  font-family: var(--font-headline);
  font-size: 2.2rem;
  color: var(--accent-orange);
  line-height: 1;
}

/* --- Project Showcase Cards (Zero Glow) --- */
.project-card {
  background: #FFFFFF;
  border: 1px solid var(--border-line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: none !important;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: #111111;
  box-shadow: none !important;
}

.project-thumbnail {
  position: relative;
  width: 100%;
  height: 250px;
  background: #EEEEEE;
  overflow: hidden;
}

.project-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

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

/* Browser Mockup Header */
.browser-chrome {
  background: #F1F1EE;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.browser-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.browser-url-pill {
  margin-left: 10px;
  flex: 1;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 6px;
  padding: 2px 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #777774;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-chrome-btn {
  color: #777774;
  font-size: 0.75rem;
  padding: 4px 6px;
  border-radius: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.browser-chrome-btn:hover {
  color: var(--color-ink);
  background: rgba(0, 0, 0, 0.06);
}

/* Browser Embedded Live Site Container */
.browser-embed-container {
  position: relative;
  width: 100%;
  height: clamp(260px, 46vw, 380px);
  background: #FFFFFF;
  overflow: hidden;
  border-bottom: 1px solid var(--border-line);
}

.browser-embed-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #FFFFFF;
  display: block;
}

.embed-scroll-shield {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.embed-scroll-shield.shield-hidden {
  opacity: 0;
  pointer-events: none;
}

.embed-interact-btn {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 18px;
  border-radius: 9999px;
  background: #111111;
  color: #FFFFFF;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.embed-interact-btn:hover {
  background: var(--accent-orange);
  transform: translateY(-1px);
}

.embed-active-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(18, 18, 20, 0.95);
  color: #FFFFFF;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
}

.embed-active-pill:hover {
  background: #111111;
  border-color: var(--accent-orange);
}

/* Filter Pill Controls (Responsive Horizontal Scroll, Zero Glow) */
.filter-bar-responsive {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 2px;
}

.filter-bar-responsive::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px 18px;
  min-height: 42px;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1px solid var(--border-line);
  color: var(--color-ink-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.filter-btn:hover {
  color: var(--color-ink);
  border-color: rgba(0, 0, 0, 0.25);
}

.filter-btn:active {
  transform: scale(0.97);
}

.filter-btn.active {
  background: var(--accent-orange);
  color: #FFFFFF;
  border-color: var(--accent-orange);
  box-shadow: none !important;
}

/* --- Bottom Dark CTA Section (From Reference Image) --- */
.bottom-dark-cta {
  background: #0D0D0F;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.watermark-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-headline);
  font-size: 32vw;
  font-weight: 900;
  line-height: 0.7;
  color: rgba(255, 255, 255, 0.025);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
}

/* Social Icon Buttons (Circular, Zero Glow) */
.social-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: none !important;
}

.social-icon-btn:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  transform: translateY(-1px);
  color: #FFFFFF;
  box-shadow: none !important;
}

/* Scope Selector Chips (Flat, Responsive Tap Targets) */
.chip-selector {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  min-height: 42px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CCCCCC;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  box-shadow: none !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.chip-selector:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.chip-selector:active {
  transform: scale(0.97);
}

.chip-selector.selected {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: none !important;
}

/* Inputs in Dark Form */
.dark-form-input {
  width: 100%;
  padding: 13px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
  box-shadow: none !important;
}

.dark-form-input:focus {
  border-color: var(--accent-orange);
  background: rgba(255, 255, 255, 0.07);
}

.dark-form-input::placeholder {
  color: #666666;
}

/* --- Modals & Lightbox (Clean, No Glow) --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal-sheet {
  background: #FFFFFF;
  border-radius: 20px;
  max-width: 1050px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

/* Toast Alert (Clean Flat) */
#toast-notification {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #111111;
  color: #FFFFFF;
  border-left: 4px solid var(--accent-orange);
  padding: 12px 22px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
  z-index: 999999;
}

#toast-notification.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

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

::-webkit-scrollbar-track {
  background: #F4F4F1;
}

::-webkit-scrollbar-thumb {
  background: #CCCCCC;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-orange);
}

/* Mobile & Small Device Responsiveness */
@media (max-width: 640px) {
  /* Fluid button sizing on phones */
  .btn-responsive-mobile {
    width: 100% !important;
    justify-content: center !important;
  }
  
  /* Browser Chrome buttons comfortable tap targets */
  .browser-chrome-btn {
    min-width: 30px;
    min-height: 30px;
    padding: 3px 5px;
  }
  
  /* Ensure modal sheets adapt smoothly without overflow */
  .modal-sheet {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }
}
