/* ==========================================================================
   EXECUTIVE PERSONAL BRANDING - DESIGN SYSTEM
   ========================================================================== */

:root {
    /* Color Palette */
    --color-primary: #1B365D;       /* Navy Blue (20%) */
    --color-accent: #D4B06A;        /* Soft Gold (10%) */
    --color-bg: #FAFAF8;            /* Ivory White (70%) */
    --color-text: #1E293B;          /* Dark Text */
    --color-border: #E8E2D8;        /* Light Border */
    --color-white: #FFFFFF;
    --color-muted: #64748B;
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Layout Details */
    --max-width: 1200px;
    --header-height: 80px;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   BASE & RESET STYLES (Desktop First)
   ========================================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.25;
}

p {
    font-size: 1.05rem;
    color: var(--color-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

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

/* ==========================================================================
   GLOBAL UTILITIES
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 7.5rem 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

/* Section Headers */
.section-header {
    margin-bottom: 4.5rem;
    text-align: center;
}

.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    display: block;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 1.25rem;
    display: inline-block;
}

.title-divider {
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    margin: 0.5rem auto 0 auto;
}

.title-divider-small {
    width: 40px;
    height: 2px;
    background-color: var(--color-accent);
    margin-top: 0.5rem;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 1px solid var(--color-primary);
    box-shadow: 0 4px 20px rgba(27, 54, 93, 0.15);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background-color: rgba(212, 176, 106, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.btn-primary:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 176, 106, 0.3);
}

.btn-primary:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-border);
    margin-left: 1rem;
}

.btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background-color: rgba(212, 176, 106, 0.05);
    transform: translateY(-2px);
}

/* ==========================================================================
   HEADER NAVIGATION
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: var(--transition-smooth);
    background-color: transparent;
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background-color: var(--color-bg);
    height: 75px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.header-container {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
}

.logo-text {
    position: relative;
    letter-spacing: 1px;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: 3px;
    right: -8px;
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

/* Desktop Navigation Menu */
.primary-navigation {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-smooth);
}

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

.nav-link.active {
    color: var(--color-accent);
}

/* Mobile Toggle Switch */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1100;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 2rem);
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--color-bg);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--color-muted);
    margin-bottom: 2rem;
    border-left: 2px solid var(--color-accent);
    padding-left: 1.25rem;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.75rem;
    color: var(--color-muted);
}

.hero-cta-group {
    display: flex;
    margin-bottom: 3.5rem;
}

.hero-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
}

.detail-tag {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    background-color: var(--color-white);
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
}

.tag-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
    margin-right: 0.5rem;
}

/* Right Side - Portrait Styling */
.hero-portrait-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.portrait-frame-container {
    position: relative;
    width: 380px;
    height: 480px;
    z-index: 10;
}

/* Layered Card Effect Behind Image */
.portrait-card-bg {
    position: absolute;
    top: 25px;
    right: -25px;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    z-index: 1;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 40px rgba(27, 54, 93, 0.12);
}

.portrait-card-border {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1.5px solid var(--color-accent);
    z-index: 2;
    border-radius: var(--border-radius-sm);
    pointer-events: none;
}

/* Actual Frame holding portrait */
.portrait-frame {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 3;
    overflow: hidden;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--color-accent);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
}

.portrait-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-slow);
}

.portrait-frame-container:hover .portrait-image {
    transform: scale(1.05);
}

/* Floating Labels Styling */
.floating-label {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.25rem;
    background-color: var(--color-white);
    border: 1.5px solid var(--color-accent);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    z-index: 5;
    white-space: nowrap;
}

.svg-icon {
    width: 15px;
    height: 15px;
    stroke-width: 2.5;
    color: var(--color-accent);
}

/* Individual Floating Label Placements & floating animation calls */
.label-1 {
    top: 15%;
    left: -25%;
    animation: float-y 5s ease-in-out infinite alternate;
}

.label-2 {
    top: 45%;
    right: -25%;
    animation: float-x 6s ease-in-out infinite alternate;
}

.label-3 {
    bottom: 25%;
    left: -25%;
    animation: float-x 5.5s ease-in-out infinite alternate-reverse;
}

.label-4 {
    bottom: 8%;
    right: -20%;
    animation: float-y 6.5s ease-in-out infinite alternate-reverse;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about-section {
    background-color: var(--color-white);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.about-quote-container {
    padding-right: 2rem;
    border-right: 1.5px solid var(--color-accent);
}

.about-quote {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    line-height: 1.45;
    color: var(--color-primary);
    margin-bottom: 2rem;
    font-style: italic;
    font-weight: 500;
}

.quote-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.author-title {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--color-accent);
    font-weight: 600;
}

.about-text-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-paragraph {
    font-size: 1.05rem;
    line-height: 1.85;
}

.about-key-stats {
    display: flex;
    gap: 3rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-muted);
}

/* ==========================================================================
   SKILLS SECTION (Core Competencies)
   ========================================================================== */

.skills-section {
    background-color: var(--color-bg);
}

.skill-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-accent);
    border-radius: var(--border-radius-sm);
    padding: 2.5rem 2.25rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(27, 54, 93, 0.08);
    border-top-color: var(--color-primary);
}

.skill-icon-wrapper {
    width: 50px;
    height: 50px;
    background-color: rgba(212, 176, 106, 0.1);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: var(--transition-smooth);
}

.skill-card:hover .skill-icon-wrapper {
    background-color: var(--color-primary);
    color: var(--color-accent);
}

.skill-svg {
    width: 24px;
    height: 24px;
}

.skill-name {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-primary);
}

.skill-desc {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--color-muted);
}

/* ==========================================================================
   EXPERIENCE SECTION (Timeline)
   ========================================================================== */

.experience-section {
    background-color: var(--color-white);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Center timeline line */
.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--color-primary);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 3rem;
    margin-bottom: 4rem;
    z-index: 2;
}

/* Alternate items left and right */
.timeline-item:nth-child(even) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(odd) {
    left: 50%;
    text-align: left;
}

/* Timeline dot markers */
.timeline-marker {
    position: absolute;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--color-accent);
    border: 3px solid var(--color-white);
    outline: 2px solid var(--color-primary);
    z-index: 3;
    transition: var(--transition-smooth);
}

.timeline-item:nth-child(even) .timeline-marker {
    right: -8px;
}

.timeline-item:nth-child(odd) .timeline-marker {
    left: -8px;
}

.timeline-item:hover .timeline-marker {
    background-color: var(--color-primary);
    outline-color: var(--color-accent);
    transform: scale(1.2);
}

/* Timeline Cards */
.timeline-content {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    padding: 2rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.timeline-content:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--color-accent);
}

.experience-date {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.experience-role {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.experience-company {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1.25rem;
}

.old-name {
    font-size: 0.85rem;
    color: var(--color-muted);
    font-weight: 400;
    display: block;
    margin-top: 0.15rem;
}

.experience-description {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--color-muted);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-section {
    background-color: var(--color-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: stretch;
}

/* Left Column: Premium Contact details card */
.contact-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    padding: 3.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
}

.contact-card-header {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1.75rem;
    margin-bottom: 2.25rem;
}

.contact-card-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.contact-card-subtitle {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-card-body {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(27, 54, 93, 0.05);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
    border: 1px solid var(--color-border);
}

.contact-svg {
    width: 20px;
    height: 20px;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-muted);
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-primary);
}

a.contact-value:hover {
    color: var(--color-accent);
}

/* Right Column: Reference & availability details */
.reference-card-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--color-primary);
    border-radius: var(--border-radius-sm);
    padding: 3.5rem;
    color: var(--color-white);
    box-shadow: 0 10px 40px rgba(27, 54, 93, 0.15);
}

.reference-header {
    margin-bottom: 2rem;
}

.reference-title {
    color: var(--color-accent);
    font-size: 1.5rem;
    font-weight: 600;
}

.reference-quote-box {
    position: relative;
    padding-top: 1.5rem;
}

.quote-mark-icon {
    width: 32px;
    height: 32px;
    color: rgba(212, 176, 106, 0.25);
    position: absolute;
    top: -15px;
    left: -10px;
}

.reference-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1.65;
    color: #E2E8F0;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.reference-author-info {
    display: flex;
    flex-direction: column;
}

.ref-name {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ref-role {
    font-size: 0.85rem;
    color: var(--color-accent);
    margin-bottom: 0.25rem;
}

.ref-contact {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: #E2E8F0;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: var(--transition-smooth);
}

.ref-contact:hover {
    color: var(--color-accent);
}

/* Availability Badge */
.availability-badge-container {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(232, 226, 216, 0.15);
}

.availability-indicator {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: #E2E8F0;
    letter-spacing: 0.02em;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    margin-right: 0.75rem;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #10B981;
    animation: beacon-pulse 1.8s infinite ease-in-out;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background-color: var(--color-primary);
    padding: 4.5rem 0;
    color: var(--color-white);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    font-style: italic;
    color: #E2E8F0;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-dot {
    color: var(--color-accent);
    font-style: normal;
    font-size: 1.2rem;
}

.footer-divider {
    width: 100%;
    max-width: 400px;
    height: 1px;
    background-color: rgba(212, 176, 106, 0.25);
    margin-bottom: 2rem;
}

.footer-copyright {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(226, 232, 240, 0.6);
    letter-spacing: 0.05em;
}

/* ==========================================================================
   ANIMATIONS & TRANSITIONS
   ========================================================================== */

/* Fade Up on Scroll & Reveals */
.reveal-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.reveal-fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Keyframe: Floating labels y-axis */
@keyframes float-y {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-12px);
    }
}

/* Keyframe: Floating labels x-axis */
@keyframes float-x {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(10px);
    }
}

/* Keyframe: Availability green dot beacon pulse */
@keyframes beacon-pulse {
    0% {
        transform: scale(1);
        opacity: 0.85;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}


/* ==========================================================================
   RESPONSIVE DESIGN (Desktop First overrides)
   ========================================================================== */

/* Large screens scaling down */
@media (max-width: 1200px) {
    .container {
        padding: 0 2.5rem;
    }
}

/* Medium tablets / Large portait mobile */
@media (max-width: 991px) {
    .section-padding {
        padding: 5.5rem 0;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Hero section adjustment */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 4.5rem;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        font-size: 3.8rem;
    }
    
    .hero-subtitle {
        border-left: none;
        border-bottom: 2px solid var(--color-accent);
        padding-left: 0;
        padding-bottom: 0.75rem;
        display: inline-block;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .hero-details {
        justify-content: center;
    }
    
    /* Portrait positioning adjustments for tablet */
    .portrait-frame-container {
        width: 340px;
        height: 430px;
    }
    
    .label-1 { left: -15%; }
    .label-2 { right: -15%; }
    .label-3 { left: -15%; }
    .label-4 { right: -12%; }
    
    /* About section layout change */
    .about-quote-container {
        padding-right: 0;
        border-right: none;
        border-bottom: 1.5px solid var(--color-accent);
        padding-bottom: 2rem;
        text-align: center;
    }
    
    /* Timeline Central line shift to left */
    .timeline-line {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 5rem;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even),
    .timeline-item:nth-child(odd) {
        left: 0;
        text-align: left;
    }
    
    .timeline-item:nth-child(even) .timeline-marker,
    .timeline-item:nth-child(odd) .timeline-marker {
        left: 22px;
        right: auto;
    }
    
    /* Contact Section layout change */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Mobile Devices (landscape & portrait phones) */
@media (max-width: 767px) {
    /* Mobile Header adjustments */
    .mobile-nav-toggle {
        display: block;
    }
    
    .primary-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--color-bg);
        border-left: 1px solid var(--color-border);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        z-index: 1050;
        transition: var(--transition-smooth);
        padding: 8rem 3rem 3rem 3rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .primary-navigation.open {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
    }
    
    .nav-link {
        font-size: 1.2rem;
        display: block;
        width: 100%;
    }
    
    /* Hamburger styling */
    .hamburger {
        display: block;
        position: relative;
        width: 24px;
        height: 2px;
        background-color: var(--color-primary);
        transition: var(--transition-smooth);
    }
    
    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background-color: var(--color-primary);
        transition: var(--transition-smooth);
    }
    
    .hamburger::before { top: -8px; }
    .hamburger::after { bottom: -8px; }
    
    .mobile-nav-toggle[aria-expanded="true"] .hamburger {
        background-color: transparent;
    }
    
    .mobile-nav-toggle[aria-expanded="true"] .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .mobile-nav-toggle[aria-expanded="true"] .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }
    
    /* General styles */
    .section-title {
        font-size: 2.1rem;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    /* Hero mobile sizing */
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .btn-secondary {
        margin-left: 0;
    }
    
    /* Hide floating labels on small mobile to reduce clutter and maintain premium alignment */
    .floating-label {
        display: none;
    }
    
    .portrait-frame-container {
        width: 280px;
        height: 350px;
    }
    
    .portrait-card-bg {
        top: 15px;
        right: -15px;
    }
    
    .portrait-card-border {
        top: -12px;
        left: -12px;
    }
    
    /* Quote styling */
    .about-quote {
        font-size: 1.6rem;
    }
    
    /* Footer layout */
    .footer-tagline {
        font-size: 1.05rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-dot {
        display: none;
    }
    
    .contact-card {
        padding: 2.25rem;
    }
    
    .contact-card-title {
        font-size: 1.8rem;
    }
    
    .reference-card-container {
        padding: 2.25rem;
    }
    
    .reference-text {
        font-size: 1.15rem;
    }
}
