/* ============================================
   SHARED STYLES - Fonts, Variables, Base
   ============================================ */

/* Creato Display Font */
@font-face {
    font-family: 'Creato Display';
    src: url('fonts/CreatoDisplay-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}
@font-face {
    font-family: 'Creato Display';
    src: url('fonts/CreatoDisplay-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Creato Display';
    src: url('fonts/CreatoDisplay-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Creato Display';
    src: url('fonts/CreatoDisplay-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

:root {
    --navy: #1b4079;
    --blue: #3c91e6;
    --taupe: #bfb5af;
    --red: #e00040;
    --cta-red: #D82029;
    --black: #000000;
    --white: #ffffff;
    --off-white: #f8f7f6;
}

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

html {
    scroll-behavior: smooth;
}

/* ============================================
   Scroll Animations - Fade In & Parallax
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.parallax-element {
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* Stagger delays for grid items */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: var(--black);
    line-height: 1.6;
    background: var(--white);
}

h1, h2, h3, h4 {
    font-family: 'Creato Display', sans-serif;
    font-weight: 900;
    line-height: 1.2;
}

/* ============================================
   Z-INDEX HIERARCHY
   ============================================
   Background/containers: 1 or default
   Red line: 5
   Content boxes/cards: 10
   Text content: 10+
   Navigation: 1000
   ============================================ */

/* ============================================
   INDEX.HTML SPECIFIC - Red Line Parallax
   ============================================ */
.red-line {
    position: fixed;
    left: 0; /* Will be set dynamically via JavaScript */
    top: 90px;
    width: 5px;
    height: 0;
    background: var(--red);
    z-index: 5; /* Above backgrounds, below content */
    pointer-events: none;
    transition: height 0.15s ease-out;
}

/* ============================================
   SHARED - Navigation
   ============================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000; /* Always on top */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

nav.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 94px; /* Increased 25% from 75px */
    width: auto;
}

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.02em;
}

.logo-text span {
    color: var(--red);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--black);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--red);
    transition: width 0.3s ease;
}

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

.nav-links a:hover {
    color: var(--navy);
}

/* Coaching link special styling */
.nav-links a[href="#mam"] {
    color: var(--red);
    font-weight: 500;
}

.nav-links a[href="#mam"]::after {
    width: 100%;
    opacity: 0;
    transition: opacity 0.3s ease, width 0.3s ease;
}

.nav-links a[href="#mam"]:hover::after {
    opacity: 1;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* ============================================
   INDEX.HTML SPECIFIC - Hero Carousel
   ============================================ */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    z-index: 10; /* Hero section above red line */
    padding: 0; /* Full-bleed: no gutters */
}

.carousel {
    height: 100%;
    position: relative;
    top: 105px;
    z-index: 1; /* Carousel background within hero */
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
    z-index: 1; /* Slide background within carousel */
    overflow: visible; /* Allow content to be visible */
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(27, 64, 121, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1; /* Gradient overlay below content */
}

.slide-1 {
    background-image: url('images/1 The Vintage Club Renovation, Indian Wells, California.jpg');
}

.slide-2 {
    background-image: url('images/2 Whitehawk .jpg');
}

.slide-3 {
    background-image: url('images/3 Manzanita II Student Housing, Stanford.jpg');
}

.carousel-content {
    position: absolute;
    bottom: 15%;
    left: 8%;
    transform: translateY(-105px);
    color: var(--white);
    z-index: 20; /* Carousel text above everything */
}

.slide-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.slide-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 400;
    max-width: 400px;
}

.carousel-nav {
    position: absolute;
    bottom: 8%;
    left: 8%;
    display: flex;
    gap: 0.75rem;
    z-index: 15; /* Navigation above red line */
}

.carousel-dot {
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--white);
}

.carousel-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 15; /* Navigation above red line */
    pointer-events: none;
}

.carousel-arrow {
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid var(--red);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.carousel-arrow:hover {
    background: var(--red);
}

.carousel-arrow svg {
    width: 24px;
    height: 24px;
    stroke: var(--red);
    stroke-width: 2;
    fill: none;
    transition: stroke 0.3s ease;
}

.carousel-arrow:hover svg {
    stroke: var(--white);
}

.hero-headline {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 15; /* Text above red line */
}

.hero-headline h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900; /* Creato Display Black */
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-headline p {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 300;
    opacity: 0.9;
    letter-spacing: 0.05em;
}

/* ============================================
   MAKING-A-MARK.HTML SPECIFIC - Hero Section
   ============================================ */
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--navy);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--red);
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--cta-red);
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    background: var(--navy);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.hero-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

/* ============================================
   MAKING-A-MARK.HTML SPECIFIC - Blurb Section
   ============================================ */
.blurb {
    padding: 5rem 2rem;
    background: var(--white);
}

.blurb-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.blurb-content p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #444;
}

/* ============================================
   SHARED - Sections
   ============================================ */
section {
    padding: 8rem 2rem;
    position: relative;
    z-index: 10; /* Sections above red line (z-index: 5) */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Text Layer - Always on top */
.text-layer {
    position: relative;
    z-index: 15; /* Text always on top */
}

/* Boxes Layer - Above red line, below text */
.boxes-layer {
    position: relative;
    z-index: 10; /* Boxes above red line, below text */
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--navy);
    position: relative;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #666;
    max-width: 700px;
    margin: 1.5rem auto 0;
    line-height: 1.8;
}

/* ============================================
   INDEX.HTML SPECIFIC - Practice Areas
   ============================================ */
.practice-section {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.practice-section .section-title {
    color: var(--white);
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.practice-card {
    background: var(--white);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.practice-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.practice-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.practice-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.3));
}

.practice-commercial .practice-image {
    background-image: url('images/4 - Chabot Exterior.jpg');
}

.practice-residential .practice-image {
    background-image: url('images/5 - Sonoma home.jpg');
}

.practice-government .practice-image {
    background-image: url('images/3 Manzanita II Student Housing, Stanford.jpg');
}

.practice-content {
    padding: 1.5rem;
    position: relative;
}

.practice-content h3 {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.practice-content ul {
    list-style: none;
}

.practice-content li {
    padding: 0.4rem 0;
    color: #666;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.practice-content li:last-child {
    border-bottom: none;
}

/* ============================================
   INDEX.HTML SPECIFIC - Services
   ============================================ */
#services {
    background: var(--navy);
    color: var(--white);
    position: relative;
}

#services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/STUDIO 680 BG.jpg');
    background-size: 150% auto;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 1024px) {
    #services::before {
        background-size: 200% auto;
    }
}

@media (max-width: 768px) {
    #services::before {
        background-size: 300% auto;
    }
}

#services .section-label {
    color: var(--taupe);
}

#services .section-title {
    color: var(--white);
}

.services-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
    font-size: 1.125rem;
    line-height: 1.8;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 840px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.service-item {
    text-align: center;
    padding: 2.5rem 2rem;
    border: 2px solid var(--blue);
    background: transparent;
    transition: all 0.3s ease;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-item:hover {
    background: var(--blue);
    border-color: var(--blue);
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    opacity: 0.15; /* Faded on rollover per task 11 */
    transform: scale(1.5); /* Larger on rollover per task 11 */
    position: absolute;
    pointer-events: none;
}

.service-icon svg {
    width: 90px;
    height: 90px;
    stroke: var(--blue);
    stroke-width: 1.5;
    fill: none;
}

.service-item h4 {
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 0;
    transition: all 0.3s ease;
    position: relative;
}

.service-item:hover h4 {
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

.service-description {
    font-size: 1.25rem;
    line-height: 1.7;
    opacity: 0;
    position: absolute;
    padding: 2rem;
    transition: all 0.3s ease;
    color: var(--white);
}

.service-item:hover .service-description {
    opacity: 1;
    position: relative;
}

/* ============================================
   INDEX.HTML SPECIFIC - Works Section
   ============================================ */
.works {
    height: 80vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    padding: 0; /* Full-bleed */
}

.works-carousel {
    height: 100%;
    position: relative;
}

.works-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
}

.works-slide.active {
    opacity: 1;
}

.works-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(27, 64, 121, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.works-residential {
    background-image: url('images/5 - Sonoma home.jpg');
}

.works-commercial {
    background-image: url('images/4 - Chabot Exterior.jpg');
}

.works-public {
    background-image: url('images/3 Manzanita II Student Housing, Stanford.jpg');
}

.works-content {
    position: absolute;
    bottom: 15%;
    left: 8%;
    color: var(--white);
    z-index: 10;
}

.works-content h3 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.works-content ul {
    list-style: none;
}

.works-content li {
    font-size: 1.125rem;
    padding: 0.4rem 0;
    opacity: 0.9;
}

.works-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 15;
    pointer-events: none;
}

.works-arrow {
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid var(--red);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.works-arrow:hover {
    background: var(--red);
}

.works-arrow svg {
    width: 24px;
    height: 24px;
    stroke: var(--red);
    stroke-width: 2;
    fill: none;
    transition: stroke 0.3s ease;
}

.works-arrow:hover svg {
    stroke: var(--white);
}

.works-nav {
    position: absolute;
    bottom: 8%;
    left: 8%;
    display: flex;
    gap: 0.75rem;
    z-index: 15;
}

.works-dot {
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.works-dot.active {
    background: var(--white);
}

@media (max-width: 768px) {
    .works-arrows {
        display: none;
    }
}

/* ============================================
   INDEX.HTML SPECIFIC - Testimonials
   ============================================ */
#testimonials {
    background: var(--white);
    z-index: 1; /* Behind red line (z-index: 5) */
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial {
    display: none;
    text-align: center;
    padding: 2rem;
    animation: fadeIn 0.5s ease;
    position: relative;
}

.testimonial.active {
    display: block;
}

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

.testimonial-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-style: italic;
    color: var(--navy);
    margin-bottom: 2rem;
    line-height: 1.6;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--taupe);
    display: block;
    line-height: 0.5;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 500;
    color: var(--black);
    position: relative;
}

.testimonial-role {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.25rem;
    position: relative;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    position: relative;
    z-index: 15; /* Navigation above red line */
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--taupe);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: var(--navy);
}

/* ============================================
   INDEX.HTML SPECIFIC - About
   ============================================ */
#about {
    background: #f0efee; /* Slightly darker than --off-white for more contrast */
}

.about-grid {
    display: grid;
    grid-template-columns: 0.6fr 1.4fr;
    gap: 4rem;
    align-items: center;
    position: relative;
}

.about-image {
    aspect-ratio: 3/4;
    overflow: hidden;
    position: relative;
    max-width: 360px; /* Increased 20% from 300px */
    margin: 0 auto; /* Center in column */
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Removed decorative border per client request */

.about-content {
    position: relative;
}

.about-content blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--navy);
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--red);
}

.about-content p {
    margin-bottom: 1.5rem;
    color: #444;
    line-height: 1.8;
}

.credentials {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.credential {
    text-align: center;
}

.credential-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.credential-name {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #666;
}

/* ============================================
   INDEX.HTML SPECIFIC - Making A Mark Banner
   ============================================ */
.mam-banner {
    background: var(--white);
    padding: 5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.mam-watermark {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(500px, 80vw, 1000px);
    height: auto;
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
}

.mam-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 10;
    padding-left: 30%;
    padding-right: 5%;
}

.mam-body {
    max-width: 550px;
}

.mam-logo {
    max-width: 350px;
    min-width: 225px;
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
}

.mam-description {
    font-size: 1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.mam-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--cta-red);
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.mam-btn:hover {
    background: var(--navy);
    color: var(--white);
}

@media (max-width: 1024px) {
    .mam-content-wrapper {
        padding-left: 2rem;
        padding-right: 2rem;
        text-align: center;
        justify-content: center;
    }

    .mam-body {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mam-watermark {
        left: -5%;
        width: clamp(400px, 75vw, 750px);
        opacity: 0.18;
    }
}

@media (max-width: 768px) {
    .mam-watermark {
        left: -10%;
        width: clamp(320px, 85vw, 500px);
        opacity: 0.15;
    }

    .mam-content-wrapper {
        padding-left: 1rem;
        padding-right: 1rem;
        gap: 2rem;
    }
}

/* ============================================
   MAKING-A-MARK.HTML SPECIFIC - Process Section
   ============================================ */
#process {
    background: var(--off-white);
}

.process-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.process-intro h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.process-intro p {
    font-size: 1.125rem;
    color: #555;
    line-height: 1.8;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.process-box {
    background: var(--white);
    border: 2px solid var(--blue);
    padding: 2rem;
    text-align: center;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-box:hover {
    background: var(--blue);
    border-color: var(--blue);
}

.process-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.process-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--blue);
    stroke-width: 1.5;
    fill: none;
}

.process-box:hover .process-icon {
    opacity: 0;
    position: absolute;
}

.process-box h4 {
    font-size: 1.1rem;
    color: var(--navy);
    transition: all 0.3s ease;
}

.process-box:hover h4 {
    opacity: 0;
    position: absolute;
}

.process-description {
    position: absolute;
    opacity: 0;
    color: var(--white);
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.process-box:hover .process-description {
    opacity: 1;
    position: relative;
}

.process-summary {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.125rem;
    color: #555;
    line-height: 1.8;
}

/* ============================================
   MAKING-A-MARK.HTML SPECIFIC - Outcomes Section
   ============================================ */
.outcomes {
    background: var(--navy);
    color: var(--white);
    padding: 4rem 2rem;
}

.outcomes-container {
    max-width: 1000px;
    margin: 0 auto;
}

.outcomes h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.outcome-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.outcome-item svg {
    width: 24px;
    height: 24px;
    stroke: var(--red);
    stroke-width: 2;
    fill: none;
    flex-shrink: 0;
    margin-top: 2px;
}

.outcome-item span {
    font-size: 1rem;
    line-height: 1.5;
}

.outcomes-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.9;
}

.outcomes-cta {
    text-align: center;
    margin-top: 2rem;
}

.outcomes-cta a {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--cta-red);
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.outcomes-cta a:hover {
    background: var(--white);
    color: var(--red);
}

/* ============================================
   MAKING-A-MARK.HTML SPECIFIC - Podcast Section
   ============================================ */
#podcast {
    background: var(--white);
}

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

.podcast-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: var(--black);
    border-radius: 4px;
    overflow: hidden;
}

.podcast-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.podcast-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.podcast-content p {
    font-size: 1.125rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* ============================================
   MAKING-A-MARK.HTML SPECIFIC - About Section
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

.about-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.about-content h3 {
    font-size: 1.5rem;
    color: var(--navy);
    margin: 2rem 0 1rem;
}

.about-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-content ul {
    list-style: none;
    margin: 1rem 0;
}

.about-content li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.about-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.9rem;
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--taupe) 0%, #a09a94 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
}

/* ============================================
   MAKING-A-MARK.HTML SPECIFIC - Quote Section
   ============================================ */
.quote-section {
    background: var(--white);
    padding: 5rem 2rem;
    text-align: center;
}

.quote-section blockquote {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Creato Display', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    color: var(--navy);
    font-style: italic;
    line-height: 1.5;
}

.quote-section blockquote::before {
    content: '"';
    display: block;
    font-size: 4rem;
    color: var(--red);
    line-height: 0.5;
    margin-bottom: 1rem;
}

/* ============================================
   SHARED - Contact
   ============================================ */
#contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #444;
}

.contact-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--navy);
    stroke-width: 2;
    fill: none;
}

.contact-social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-social a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--navy);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.contact-social a:hover {
    color: var(--red);
}

.contact-social svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.contact-form {
    background: var(--off-white);
    padding: 3rem;
    position: relative;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

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

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--cta-red);
    color: var(--white);
    border: none;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #b8003a;
}

.form-success {
    display: none;
    text-align: center;
    padding: 2rem;
}

.form-success.show {
    display: block;
}

.form-success h4 {
    color: var(--navy);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ============================================
   MAKING-A-MARK.HTML SPECIFIC - Contact Section
   ============================================ */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.125rem;
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-cta a {
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.contact-cta a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.contact-container .contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 4px;
}

.contact-container .form-group input,
.contact-container .form-group textarea,
.contact-container .form-group select {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.contact-container .form-group input::placeholder,
.contact-container .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-container .form-group input:focus,
.contact-container .form-group textarea:focus,
.contact-container .form-group select:focus {
    border-color: var(--red);
}

.contact-container .form-group textarea {
    min-height: 120px;
}

.contact-container .form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
}

.contact-container .form-group select option {
    background: var(--navy);
    color: var(--white);
}

.contact-container .form-group label {
    color: var(--white);
}

/* ============================================
   SHARED - Footer
   ============================================ */
footer {
    background: var(--black);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-brand .logo img {
    filter: brightness(0) invert(1);
    height: 81px; /* Increased 50% from 54px */
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-links h4 {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--white);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.footer-bottom {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1024px) {
    .red-line {
        /* Position will be set dynamically via JavaScript */
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-image {
        max-width: 480px; /* Increased 20% from 400px */
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .podcast-container {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Hide red line on mobile */
    .red-line {
        display: none !important;
    }

    .carousel-arrows {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links.open {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

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

    .mobile-menu-btn.open span:nth-child(2) {
        opacity: 0;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
    }

    .practice-grid {
        grid-template-columns: 1fr;
    }

    .practice-section {
        margin-top: 3rem;
        padding-top: 3rem;
    }

    .credentials {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    section {
        padding: 5rem 1.5rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-box {
        aspect-ratio: auto;
        min-height: 200px;
    }

    .outcomes-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 4rem 1.5rem;
    }
}

