/* ================================================== */
/* PRELOADER STYLES                                   */
/* ================================================== */
#preloader {
    position: fixed;
    inset: 0;
    background: #F20000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
    transition: transform 0.9s cubic-bezier(0.77, 0, 0.18, 1), visibility 0.9s;
    pointer-events: all;
    font-family: 'Inter', sans-serif;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: min(100% - 2rem, 42rem);
    position: relative;
    z-index: 2;
    text-align: center;
}

.rotating-words {
    height: clamp(3.5rem, 14vw, 5.5rem);
    overflow: hidden;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2.5rem, 10vw, 4rem);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 1.1;
    color: #ffffff;
    position: relative;
    width: 100%;
}

.words-track {
    display: flex;
    flex-direction: column;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.18, 1);
    will-change: transform;
}

.words-track .word-item {
    height: clamp(3.5rem, 14vw, 5.5rem);
    line-height: 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    color: #ffffff;
}

.progress-container {
    width: min(280px, 75vw);
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    margin-top: 0.5rem;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: #ffffff;
    transition: width 0.2s ease;
    border-radius: 2px;
}

.progress-percent {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    text-transform: uppercase;
    z-index: 2;
}

#preloader.hidden {
    transform: translateY(-100%);
    visibility: hidden;
    pointer-events: none;
}

/* Theme Toggle Switch Styling */
.toggle-btn {
    width: 60px;
    height: 32px;
    background-color: #000000;
    border-radius: 32px;
    padding: 4px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    display: inline-block;
}
.toggle-btn:not(.checked) {
    background-color: #e9e9ea;
}
.toggle-thumb {
    width: 24px;
    height: 24px;
    background-color: #ffffff;
    border: 2px solid #000000;
    border-radius: 50%;
    position: absolute;
    top: 4px;
    left: 4px;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}
.toggle-btn.checked .toggle-thumb {
    transform: translateX(28px);
    border-color: #000000;
}
.toggle-btn:not(.checked) .toggle-thumb {
    border-color: #d1d1d6;
}
.toggle-btn:focus-visible {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

html {
    scroll-behavior: auto !important;
}

body {
    background-color: var(--bg-primary);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: var(--text-primary);
    background: #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: none;
}

a, button, input {
    cursor: none;
}

.dot-cursor {
    width: 16px;
    height: 16px;
    background-color: #ffffff;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.hero-bg {
    background-color: #e30613;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

#hero-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transform: scale(1.5);
    transition: transform 1s cubic-bezier(0.60, 0.00, 0.30, 1.00);
}

.scale-one {
    transform: scale(1) !important;
}

.hero-bg-overlay {
    background: radial-gradient(circle at 60% 50%, rgba(227, 6, 19, 0.2) 0%, rgba(227, 6, 19, 0.95) 75%),
                linear-gradient(to right, rgba(227, 6, 19, 1) 0%, rgba(227, 6, 19, 0) 40%, rgba(227, 6, 19, 1) 100%);
}

.nav-link { transition: all 0.3s ease; }
#mobile-menu { 
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
#mobile-menu.active {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}

#timeline-line {
    background: #e5e7eb;
    will-change: background;
}

@keyframes marqueeLeft {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}
@keyframes marqueeRight {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0%); }
}
.animate-marquee-left { animation: marqueeLeft 25s linear infinite; }
.animate-marquee-right { animation: marqueeRight 25s linear infinite; }
.marquee-track:hover .animate-marquee-left,
.marquee-track:hover .animate-marquee-right { animation-play-state: paused; }

@media (max-width: 600px) {
    .preloader-content { width: calc(100% - 2rem); }
    .rotating-words { height: 3.5rem; font-size: clamp(2.5rem, 13vw, 4rem); }
    .words-track .word-item { height: 3.5rem; }
    .progress-container { width: min(280px, 80vw); }
    .progress-percent { font-size: 0.7rem; }
}

.card-image-container {
            border-radius: 10px;
            overflow: hidden;
        }

/* ================================================== */
/* myself.css                                         */
/* ================================================== */
:root {
  --ink: #0a0a0a;
  --muted: #3a3a3a;
  --red: #f00000;
  --grey: #c4c4c4;
  --tag-off: #d4d4d4;
  --tag-off-text: #7a7a7a;
  --pad: clamp(16px, 1.6vw, 20px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

h1, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }

main { padding: 0 var(--pad); }

/* Plain grey image boxes */
.img-box {
  background: var(--grey);
  border-radius: 10px;
}

/* ---------- Intro ---------- */
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: clamp(0px, 6vw, 0px);
  align-items: stretch;
}

.intro__text {
  display: flex;
  flex-direction: column;
  padding-top: 55px;
}

.lead {
  margin-top: 20px;
  max-width: 500px;
  padding-left: 3px;
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  max-width: 440px;
}

.tag {
  font: inherit;
  font-size: 16px;
  font-weight: 300;
  padding: 7px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--tag-off);
  color: var(--tag-off-text);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.tag.is-active { background: var(--red); color: #fff; }
.tag:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.note {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: auto;
  padding: 12px;
  background: #000;
  color: #fff;
  border-radius: 8px;
}
.note__thumb {
  flex: 0 0 128px;
  height: 128px;
  border-radius: 6px;
  align-self: flex-start;
}

.intro__photo {
  min-height: 637px;
  aspect-ratio: 627 / 637;
  width: 100%;
}

/* ---------- Statement ---------- */
.statement { padding: clamp(80px, 11vw, 135px) 0 0; }

.pill {
  display: inline-block;
  height: 0.75em;
  vertical-align: baseline;
  border-radius: 999px;
  margin: 0 0.1em;
}
.pill--a { width: 1.95em; }
.pill--b { width: 1.95em; margin-right: 0.15em; }

/* ---------- More than looks ---------- */
.more {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  padding: clamp(80px, 10vw, 125px) 0 clamp(60px, 8vw, 110px);
}

.more__photo {
  width: 100%;
  aspect-ratio: 627 / 474;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .intro, .more { grid-template-columns: 1fr; }
  .intro__text { padding-top: 24px; }
  .intro__photo { min-height: 0; order: -1; aspect-ratio: 4 / 4.2; }
  .note { margin-top: 32px; }
  .note p { font-size: 17px; }
  .note__thumb { flex-basis: 96px; height: 96px; }
  .more__photo { order: 2; }
}

@media (prefers-reduced-motion: reduce) {
  .tag { transition: none; }
}

.container-box {
  width: 100%;
  padding-bottom: 48px;
  padding-left: 24px;
  padding-right: 24px;
  font-family: 'Manrope', sans-serif;
}

@media (min-width: 768px) {
  .container-box {
    padding-bottom: 80px;
    padding-left: 48px;
    padding-right: 48px;
  }
}

/* Navigation Active & Hover State Fix */
.nav-btn.nav-btn-active {
    background-color: #0f172a !important; /* bg-slate-900 */
    color: #ffffff !important;
}

.nav-btn.nav-btn-active:hover {
    color: #ffffff !important;
    background-color: #0f172a !important;
}

.nav-btn:not(.nav-btn-active):hover {
    color: #000000 !important;
}

/* ================================================== */
/* contact.css                                        */
/* ================================================== */

:root {
  --ink: #0a0a0a;
  --muted: #3a3a3a;
  --label: #5a5a5a;
  --red: #f00000;
  --field: #e3e3e3;
  --placeholder: #a9a9a9;
  --pad: 24px;
  
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.4;
  -webkit-text-size-adjust: 100%;
}

h1, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }

.contact {
  display: grid;
  grid-template-columns: 5fr 8fr;
  gap: 24px 20px;
  padding: clamp(40px, 9.4vw, 120px) var(--pad) clamp(60px, 8vw, 80px);
  align-items: start;
}

.details {
  margin-top: 88px;
  display: grid;
  gap: 9px;
}
.details li {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 16px;
  color: #000;
}

.details a { color: inherit; text-decoration: none; }
.details a:hover { text-decoration: underline; }
.dot {
  flex: 0 0 28px;
  height: 28px;
  width: 28px;
  margin-left: 2px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
}

/* ---------- Form ---------- */
.field { margin-bottom: 14px; }

.field label {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  color: var(--label);
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  padding: 0 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--field);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 300;
  height: 41px;
  outline: none;
  transition: border-color .2s, background .2s;
}

.field textarea {
  height: auto;
  min-height: 204px;
  padding: 16px 26px;
  border-radius: 14px;
  resize: vertical;
  line-height: 1.4;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--placeholder); }

.field input:focus,
.field textarea:focus { border-color: var(--ink); background: #ececec; }

.field.has-error input,
.field.has-error textarea { border-color: var(--red); }

.actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.send {
  padding: 11px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s;
}
.send:hover { background: #c40000; }
.send:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.status { font-size: 15px; color: var(--muted); }
.status.is-error { color: var(--red); }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .contact {
    grid-template-columns: 1fr;
    padding-top: 28px;
    gap: 40px;
  }
  .lead { margin-top: 14px; }
  .details { margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .field input, .field textarea, .send { transition: none; }
}

/* Removing all page-transition related styles to restore images and content */
