/* ============================================
   CSS CUSTOM PROPERTIES / DESIGN TOKENS
   WordPress Theme: easily map to theme.json
   ============================================ */
:root {
    /* Brand Palette */
    --color-ink: #0D0D0D;
    --color-cream: #F5F0EB;
    --color-sand: #D4C5B2;
    --color-terracotta: #8B1A1A;
    --color-forest: #2C4A3E;
    --color-forest-light: #3A6355;
    --color-slate: #4A4A4A;
    --color-mist: #E8E2DA;
    --color-white: #FFFFFF;
    --color-overlay: rgba(13, 13, 13, 0.65);
    --color-overlay-light: rgba(13, 13, 13, 0.35);

    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', -apple-system, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;

    /* Transitions */
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-base: 0.3s var(--ease-out);
    --transition-slow: 0.6s var(--ease-out);

    /* Layout */
    --max-width: 1280px;
    --nav-height: 72px;
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--color-ink);
    background-color: var(--color-cream);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ============================================
   LOADING / PAGE TRANSITION
   ============================================ */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--color-ink);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--ease-out), visibility 0.8s;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-text {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--color-cream);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%,
    100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: background var(--transition-base), box-shadow var(--transition-base);
}

.nav.scrolled {
    background: rgba(245, 240, 235, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-cream);
    transition: color var(--transition-base);
}

.nav.scrolled .nav-logo {
    color: var(--color-ink);
}

.nav-logo span {
    color: var(--color-terracotta);
}

.nav-links {
    display: flex;
    gap: var(--space-md);
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(245, 240, 235, 0.85);
    position: relative;
    padding: 0.25rem 0;
    transition: color var(--transition-base);
}

.nav.scrolled .nav-links a {
    color: var(--color-slate);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-terracotta);
    transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-cream);
}

.nav.scrolled .nav-links a:hover,
.nav.scrolled .nav-links a.active {
    color: var(--color-ink);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    background: var(--color-forest);
    color: var(--color-cream) !important;
    padding: 0.6rem 1.4rem !important;
    border-radius: 2px;
    transition: background var(--transition-base) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--color-forest-light) !important;
    color: var(--color-cream) !important;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-ink);
    transition: var(--transition-base);
}

.nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--color-ink);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-ink) 60%, #1a1a1a 100%);
    opacity: 0.4;
}

.hero-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: var(--space-2xl) 0;
}

.hero-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    margin-bottom: var(--space-md);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 400;
    line-height: 1.05;
    color: var(--color-cream);
    margin-bottom: var(--space-md);
    max-width: 900px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s var(--ease-out) 0.7s forwards;
}

.hero-title em {
    font-style: italic;
    color: var(--color-sand);
}

.hero-subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--color-sand);
    max-width: 520px;
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 1s forwards;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 1.2s forwards;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.9rem 2rem;
    border-radius: 2px;
    transition: all var(--transition-base);
}

.btn-primary {
    background: var(--color-terracotta);
    color: var(--color-cream);
}

.btn-primary:hover {
    background: #A52020;
    transform: translateY(-1px);
}

.btn-outline {
    border: 1.5px solid var(--color-sand);
    color: var(--color-sand);
}

.btn-outline:hover {
    background: var(--color-sand);
    color: var(--color-ink);
}

.btn-dark {
    background: var(--color-forest);
    color: var(--color-cream);
}

.btn-dark:hover {
    background: var(--color-forest-light);
    transform: translateY(-1px);
}

/* ============================================
   SECTION BASE
   ============================================ */
.section {
    padding: var(--space-2xl) 0;
}

.section-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: var(--space-md);
    color: var(--color-ink);
}

.section-divider {
    width: 48px;
    height: 2px;
    background: var(--color-terracotta);
    margin-bottom: var(--space-lg);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
#about {
    background: var(--color-cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.about-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 3px;
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, var(--color-forest), var(--color-ink));
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-placeholder span {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-sand);
    letter-spacing: 0.1em;
    opacity: 0.6;
}

.about-text p {
    color: var(--color-slate);
    margin-bottom: var(--space-sm);
    font-size: 0.95rem;
}

.about-text p:first-of-type {
    font-size: 1.1rem;
    color: var(--color-ink);
    font-weight: 400;
}

.about-edu-list p {
    color: var(--color-slate) !important;
    font-size: 0.88rem !important;
    font-weight: 300 !important;
    line-height: 1.7;
}

.about-edu-list p strong {
    color: var(--color-ink);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}

.about-edu-list p em {
    color: var(--color-forest);
    font-style: italic;
}

.about-edu-list .section-label {
    margin-top: 0;
    padding-top: 0;
}

.about-edu-divider {
    width: 32px;
    height: 1px;
    background: var(--color-sand);
    margin: var(--space-md) 0;
}

.about-signature {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--color-forest);
    margin-top: var(--space-md);
}

/* ============================================
   EXPERTISE / SERVICES
   ============================================ */
#expertise {
    background: var(--color-ink);
    color: var(--color-cream);
}

#expertise .section-title {
    color: var(--color-cream);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.expertise-card {
    padding: var(--space-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-terracotta);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.expertise-card:hover::before {
    transform: scaleX(1);
}

.expertise-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
}

.expertise-icon {
    font-size: 1.6rem;
    margin-bottom: var(--space-sm);
    color: var(--color-terracotta);
}

.expertise-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.expertise-card p {
    font-size: 0.88rem;
    color: var(--color-sand);
    line-height: 1.7;
}

/* ============================================
   SKILLS BAR
   ============================================ */
.skills-section {
    padding: var(--space-lg) 0;
    background: var(--color-mist);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md) var(--space-xl);
}

.skill-item {
    margin-bottom: var(--space-xs);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.skill-name {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.skill-pct {
    font-size: 0.78rem;
    color: var(--color-terracotta);
    font-weight: 600;
}

.skill-bar {
    height: 4px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: var(--color-forest);
    border-radius: 2px;
    width: 0;
    transition: width 1.2s var(--ease-out);
}

/* ============================================
   EXPERIENCE MARQUEE TICKER
   ============================================ */
.ticker-wrap {
    display: none;
}

.ticker-track {
    display: flex;
    gap: 3rem;
    white-space: nowrap;
    animation: tickerScroll 28s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-slate);
    flex-shrink: 0;
}

.ticker-item span {
    color: var(--color-terracotta);
    margin: 0 1rem;
    font-style: normal;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ============================================
   EXPERIENCE / TIMELINE
   ============================================ */
#experience {
    background: var(--color-cream);
}

.timeline {
    position: relative;
    padding-left: var(--space-lg);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--color-sand);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-lg);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: calc(-1 * var(--space-lg) + 7px);
    top: 8px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--color-terracotta);
    border: 2px solid var(--color-cream);
}

.timeline-date {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    margin-bottom: 0.3rem;
}

.timeline-role {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.timeline-company {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-forest);
    margin-bottom: 0.5rem;
}

.timeline-desc {
    font-size: 0.88rem;
    color: var(--color-slate);
    max-width: 600px;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
#portfolio {
    background: var(--color-white);
}

.portfolio-tabs {
    display: flex;
    gap: 0;
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-sand);
}

.portfolio-tab {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: var(--space-sm) var(--space-md);
    color: var(--color-slate);
    position: relative;
    transition: color var(--transition-base);
}

.portfolio-tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-terracotta);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.portfolio-tab.active {
    color: var(--color-ink);
}

.portfolio-tab.active::after {
    transform: scaleX(1);
}

.portfolio-tab:hover {
    color: var(--color-ink);
}

/* Portfolio Content Panels */
.portfolio-panel {
    display: none;
}

.portfolio-panel.active {
    display: block;
    animation: panelFadeIn 0.5s var(--ease-out);
}

@keyframes panelFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Photography & Videography Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-md);
}

.project-card {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 3px;
    cursor: pointer;
}

.project-card-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s var(--ease-out);
}

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

.project-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-overlay) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-md);
    transition: background var(--transition-base);
}

.project-card:hover .project-card-overlay {
    background: linear-gradient(to top, rgba(13, 13, 13, 0.8) 0%, var(--color-overlay-light) 100%);
}

.project-card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-cream);
    margin-bottom: 0.3rem;
}

.project-card-meta {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-terracotta);
}

.project-card-arrow {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cream);
    font-size: 1rem;
    opacity: 0;
    transform: translate(-8px, 8px);
    transition: all var(--transition-base);
}

.project-card:hover .project-card-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

/* Graphic Design Masonry */
.design-grid {
    columns: 3;
    column-gap: var(--space-sm);
}

.design-item {
    break-inside: avoid;
    margin-bottom: var(--space-sm);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.design-item-bg {
    width: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s var(--ease-out);
}

.design-item:hover .design-item-bg {
    transform: scale(1.03);
}

/* ============================================
   PROJECT DETAIL MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 13, 13, 0.92);
    z-index: 2000;
    display: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-overlay.open {
    display: block;
    animation: modalFadeIn 0.4s var(--ease-out);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-close {
    position: fixed;
    top: var(--space-md);
    right: var(--space-md);
    z-index: 2001;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cream);
    font-size: 1.4rem;
    transition: background var(--transition-base);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-content {
    max-width: 960px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
}

.modal-header {
    margin-bottom: var(--space-lg);
}

.modal-category {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    margin-bottom: var(--space-xs);
}

.modal-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--color-cream);
    margin-bottom: var(--space-sm);
}

.modal-description {
    font-size: 0.95rem;
    color: var(--color-sand);
    max-width: 680px;
    line-height: 1.8;
}

.modal-meta-row {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-sm);
    flex-wrap: wrap;
}

.modal-meta-item {
    font-size: 0.78rem;
    color: var(--color-sand);
    opacity: 0.7;
}

.modal-meta-item strong {
    color: var(--color-cream);
    font-weight: 500;
}

/* Photo Gallery inside modal */
.modal-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.modal-gallery-item {
    border-radius: 3px;
    overflow: hidden;
    aspect-ratio: 3/2;
}

.modal-gallery-item.wide {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.modal-gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2e26, #2c4a3e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-sand);
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Video Player inside modal */
.modal-video-container {
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 3px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--space-md);
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-sand);
}

.play-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--color-terracotta);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
}

.play-btn:hover {
    transform: scale(1.1);
}

.play-btn svg {
    width: 24px;
    height: 24px;
    fill: var(--color-cream);
    margin-left: 3px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
#contact {
    background: var(--color-ink);
    color: var(--color-cream);
}

#contact .section-title {
    color: var(--color-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: var(--space-md);
    color: var(--color-sand);
}

.contact-detail {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    margin-bottom: var(--space-sm);
}

.contact-detail-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-terracotta);
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail-text {
    font-size: 0.9rem;
    color: var(--color-sand);
}

.contact-detail-text strong {
    display: block;
    color: var(--color-cream);
    font-weight: 500;
    margin-bottom: 0.15rem;
}

/* ============================================
   SOCIAL LINKS — Animated Liquid Fill
   ============================================ */
.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: var(--space-md);
    list-style: none;
    padding: 0;
}

.social-links li {
    list-style: none;
}

.social-links a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-sand);
    font-size: 1rem;
    overflow: hidden;
    transition: color 0.4s ease, border-color 0.4s ease;
    text-decoration: none;
}

.social-links a i {
    position: relative;
    z-index: 2;
    transition: color 0.4s ease, transform 0.3s ease;
}

.social-links a span {
    position: absolute;
    width: 25%;
    height: 100%;
    background: transparent;
    transform: translateY(150%);
    transition: 0.5s ease;
    border-radius: 50%;
}

.social-links a span:nth-child(1) {
    left: 0%;
    transition-delay: 0.00s;
}

.social-links a span:nth-child(2) {
    left: 25%;
    transition-delay: 0.05s;
}

.social-links a span:nth-child(3) {
    left: 50%;
    transition-delay: 0.10s;
}

.social-links a span:nth-child(4) {
    left: 75%;
    transition-delay: 0.15s;
}

.social-links a:hover span {
    transform: translateY(0) scaleY(1.5);
}

.social-links a:hover i {
    color: #fff;
    transform: scale(1.15);
}

/* Platform brand colors */
.social-links a.instagram span {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-links a.whatsapp span {
    background: #25D366;
}

.social-links a.linkedin span {
    background: #0077B5;
}

.social-links a.gmail span {
    background: #EA4335;
}

.social-links a.instagram:hover {
    border-color: #d6249f;
}

.social-links a.whatsapp:hover {
    border-color: #25D366;
}

.social-links a.linkedin:hover {
    border-color: #0077B5;
}

.social-links a.gmail:hover {
    border-color: #EA4335;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group {
    position: relative;
}

.form-group label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-sand);
    margin-bottom: 0.4rem;
    display: block;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    color: var(--color-cream);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-terracotta);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(212, 197, 178, 0.4);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group select option {
    background: var(--color-ink);
    color: var(--color-cream);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.form-submit {
    margin-top: var(--space-xs);
    align-self: flex-start;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #080808;
    padding: var(--space-lg) 0 var(--space-md);
    color: var(--color-sand);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-cream);
}

.footer-logo span {
    color: var(--color-terracotta);
}

.footer-copy {
    font-size: 0.78rem;
    opacity: 0.5;
}

.footer-links {
    display: flex;
    gap: var(--space-md);
    list-style: none;
}

.footer-links a {
    font-size: 0.78rem;
    color: var(--color-sand);
    opacity: 0.6;
    transition: opacity var(--transition-base);
}

.footer-links a:hover {
    opacity: 1;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 1;
    transform: none;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .design-grid {
        columns: 2;
    }
}

@media (max-width: 768px) {
    :root {
        --space-2xl: 5rem;
    }

    /* ---- NAVIGATION (mobile) ---- */
    .nav-links {
        display: none;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        background: var(--color-cream);
        justify-content: center;
        align-items: center;
        gap: var(--space-md);
        z-index: 999;
    }

    .nav-links.open a {
        font-size: 1.2rem;
        letter-spacing: 0.15em;
        color: var(--color-ink);
    }

    .nav-links.open .nav-cta {
        color: var(--color-cream) !important;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle span {
        background: var(--color-cream);
    }

    .nav.scrolled .nav-toggle span {
        background: var(--color-ink);
    }

    .nav-toggle.open span {
        background: var(--color-ink);
    }

    /* ---- HERO (mobile) ---- */
    .hero {
        min-height: 100vh;
        min-height: 100svh; /* small viewport height — avoids mobile browser bar issues */
        display: flex;
        align-items: flex-end;
        padding-bottom: var(--space-lg);
    }

    .hero-content {
        padding: 0 0 var(--space-md);
    }

    .hero-label {
        font-size: 0.65rem;
        letter-spacing: 0.2em;
        margin-bottom: var(--space-sm);
    }

    .hero-title {
        font-size: clamp(2rem, 9vw, 3.2rem);
        line-height: 1.1;
        margin-bottom: var(--space-sm);
    }

    .hero-title br {
        display: block;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.6;
        max-width: 100%;
        margin-bottom: var(--space-md);
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1.5rem;
    }

    /* ---- ABOUT (mobile) ---- */
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .about-image {
        max-height: 400px;
    }

    /* ---- EXPERTISE (mobile) ---- */
    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .expertise-card {
        padding: var(--space-sm) var(--space-md);
    }

    /* ---- SKILLS (mobile) ---- */
    .skills-grid {
        grid-template-columns: 1fr;
    }

    /* ---- TIMELINE (mobile) ---- */
    .timeline {
        padding-left: var(--space-md);
    }

    .timeline::before {
        left: 8px;
    }

    .timeline-item::before {
        left: calc(-1 * var(--space-md) + 3px);
        width: 9px;
        height: 9px;
    }

    .timeline-role {
        font-size: 1.25rem;
    }

    /* ---- CONTACT (mobile) ---- */
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    /* ---- PORTFOLIO (mobile) ---- */
    .project-grid {
        grid-template-columns: 1fr;
    }

    .design-grid {
        columns: 2;
    }

    /* ---- MODAL (mobile) ---- */
    .modal-gallery {
        grid-template-columns: 1fr;
    }

    .modal-gallery-item.wide {
        grid-column: span 1;
    }

    .modal-content {
        padding: var(--space-lg) var(--space-sm);
    }

    .modal-close {
        top: var(--space-sm);
        right: var(--space-sm);
        width: 38px;
        height: 38px;
    }

    /* ---- FOOTER (mobile) ---- */
    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }

    .footer-links {
        justify-content: center;
    }

    /* ---- SOCIAL LINKS (mobile) ---- */
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* ---- HERO (small phones) ---- */
    .hero-title {
        font-size: clamp(1.8rem, 8.5vw, 2.6rem);
    }

    .hero-label {
        font-size: 0.6rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .container {
        padding: 0 var(--space-sm);
    }

    /* ---- PORTFOLIO TABS (small phones) ---- */
    .design-grid {
        columns: 1;
    }

    .portfolio-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .portfolio-tab {
        white-space: nowrap;
        padding: var(--space-sm);
        font-size: 0.75rem;
    }

    /* ---- SECTION TITLES (small phones) ---- */
    .section-title {
        font-size: clamp(1.6rem, 6vw, 2.4rem);
    }

    /* ---- CONTACT INFO (small phones) ---- */
    .contact-info h3 {
        font-size: 1.2rem;
    }

    /* ---- SKILLS (small phones) ---- */
    .skill-name {
        font-size: 0.75rem;
    }

    .skill-pct {
        font-size: 0.72rem;
    }
}

/* ============================================
   TOUCH DEVICE OPTIMIZATIONS
   ============================================ */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover-dependent effects on touch devices */
    .project-card-arrow {
        opacity: 0.7;
        transform: translate(0, 0);
    }

    .expertise-card::before {
        transform: scaleX(1);
    }

    /* Larger touch targets */
    .nav-toggle {
        padding: 12px;
    }

    .portfolio-tab {
        padding: var(--space-sm) var(--space-md);
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .btn {
        min-height: 48px;
    }

    .social-links a {
        width: 48px;
        height: 48px;
    }

    /* Improve scroll performance */
    .project-card-bg {
        transition: none;
    }

    .design-item-bg {
        transition: none;
    }
}

/* ============================================
   WORDPRESS ADMIN BAR COMPATIBILITY
   ============================================ */
.admin-bar .nav {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .nav {
        top: 46px;
    }
}

/* ============================================
   ENTRY CONTENT (WordPress default content)
   ============================================ */
.entry-content p {
    margin-bottom: var(--space-sm);
    font-size: 0.95rem;
    color: var(--color-slate);
    line-height: 1.8;
}

.entry-content h2,
.entry-content h3 {
    font-family: var(--font-display);
    margin-bottom: var(--space-sm);
    color: var(--color-ink);
}
