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

/* A11Y FIX: Removed overflow:hidden from html. 
   The original broke browser zoom and scroll for assistive tech users.
   Body handles scroll instead. */
html {
    height: 100%;
}

body {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.drawer-open,
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}
.site-header,
.hero-section,
.feature-section,
.divider-strip,
.services-section,
.who-section,
.about-section,
.process-section,
.contact-section,
.site-footer {
    overflow-x: hidden;
}


img, svg {
    max-width: 100%;
    height: auto;
}

/* -------------------------------------------------------
   A11Y: SKIP NAVIGATION LINK
   WCAG 2.4.1 Bypass Blocks
   Hidden offscreen until focused via Tab key.
   ------------------------------------------------------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10001;
    padding: 12px 24px;
    background: #1a1a1a;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid #c9a227;
    outline-offset: 2px;
}

/* -------------------------------------------------------
   A11Y: VISUALLY HIDDEN UTILITY
   WCAG 1.3.1 Info and Relationships
   Screen reader only content (form labels, etc.)
   ------------------------------------------------------- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* -------------------------------------------------------
   A11Y: GLOBAL FOCUS INDICATORS
   WCAG 2.4.7 Focus Visible
   
   Using :focus-visible so mouse clicks don't show outlines,
   but keyboard Tab does. Gold (#c9a227) chosen for high
   contrast on both light (#f5f0e8) and dark (#2a2018) bgs.
   ------------------------------------------------------- */
*:focus-visible {
    outline: 3px solid #c9a227;
    outline-offset: 3px;
}

/* Header Styles */
.site-header {
    width: 100%;
    position: relative;
}

.header-top {
    width: 100%;
    background-color: #2a2018;
    padding: 12px 0;
}

.header-top-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 clamp(24px, 4vw, 60px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-left {
    display: flex;
    gap: clamp(16px, 2.5vw, 32px);
}

.header-top-left a {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #d4c4b0;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.header-top-left a:hover {
    opacity: 0.7;
}

.header-top-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* A11Y: Minimum 44x44px touch target for icon links */
.header-top-right a {
    color: #d4c4b0;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    transition: opacity 0.2s ease;
}

.header-top-right a:hover {
    opacity: 0.7;
}

/* A11Y: Focus style for icon links in header top bar */
.header-top-right a:focus-visible {
    outline: 3px solid #c9a227;
    outline-offset: 4px;
    border-radius: 4px;
}

.header-main {
    width: 100%;
    background-color: #e8dcc8;
    padding: 8px 0;
}

.header-main-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 clamp(24px, 4vw, 60px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-brand .logo {
    height: clamp(70px, 7vw, 90px);
    width: auto;
    transition: opacity 0.2s ease;
}

.header-brand a {
    display: block;
    line-height: 0;
    transition: opacity 0.2s ease;
}

.header-brand a:hover {
    opacity: 0.7;
}

.logo {
    height: 50px;
    width: auto;
}

.header-nav {
    display: flex;
    gap: clamp(16px, 3vw, 48px);
    align-items: center;
}

.header-nav a {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #2a2018;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.header-nav a:hover {
    opacity: 0.6;
}

/* Hamburger Menu Styles */
/* A11Y: min-height/min-width ensure 44x44px touch target (WCAG 2.5.8) */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.hamburger-menu span {
    width: 24px;
    height: 2px;
    background-color: #2a2018;
    transition: all 0.3s ease;
    display: block;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Contact Drawer Trigger Button */
.contact-drawer-trigger {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(-16px);
    background-color: #2a2018;
    color: #f5f0e8;
    border: none;
    padding: 24px 12px;
    cursor: pointer;
    z-index: 9998;
    transition: background-color 0.2s ease;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    text-decoration: none;
}

.contact-drawer-trigger:hover {
    background-color: #3d2a1f;
}

.contact-drawer-trigger-text {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}
@media (max-width: 768px) {
    .contact-drawer-trigger {
        display: none !important;
    }
}

/* Contact Drawer Overlay */
.contact-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(42, 32, 24, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9998;
}

.contact-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Contact Drawer */
.contact-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(720px, 100%);
    max-width: 100vw;  
    height: 100vh;
    background-color: #f5f0e8;
    box-shadow: -4px 0 20px rgba(42, 32, 24, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 9999;
    overflow-y: hidden;
    visibility: hidden;
    pointer-events: none;
}

.contact-drawer.active {
    transform: translateX(0);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    visibility: visible;
    pointer-events: auto;
}

.contact-drawer-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: #2a2018;
    cursor: pointer;
    padding: 8px;
    transition: opacity 0.2s ease;
}

.contact-drawer-close:hover {
    opacity: 0.6;
}

.contact-drawer-content {
    padding: clamp(60px, 10vw, 80px) clamp(24px, 5vw, 40px) 60px;
}

.contact-drawer-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(28px, 5vw, 36px);
    font-weight: 400;
    line-height: 1.2;
    color: #2a2018;
    margin-bottom: 32px;
    text-align: center;
}

.contact-drawer-form-container .contact-form {
    max-width: 100%;
    padding: 0;
    border: none;
    background: transparent;
}

.contact-drawer-form-container .contact-headline,
.contact-drawer-form-container .contact-description,
.contact-drawer-form-container .contact-note {
    display: none;
}

.contact-drawer-form-container .contact-info {
    margin-bottom: 40px;
}

/* Hero Section Styles */
.hero-section {
    width: 100%;
    min-height: clamp(600px, 80vh, 900px);
    background-color: #3d2a1f;
    background-image: repeating-linear-gradient(
        to right,
        transparent,
        transparent 0.25rem,
        rgba(90, 74, 58, 0.4) 0.25rem,
        rgba(90, 74, 58, 0.4) 0.3125rem
    );
    display: flex;
    align-items: flex-start;
    padding: clamp(30px, 5vw, 40px) clamp(24px, 4vw, 60px) clamp(60px, 10vw, 80px);
    overflow: hidden;
    position: relative;
}

.hero-container {
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.hero-content {
    padding: clamp(20px, 3vw, 40px);
    position: relative;
    text-align: center;
    z-index: 2;
}

.hero-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: clamp(11px, 1.5vw, 14px);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #d4c4b0;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-headline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(48px, 10vw, 100px);
    font-weight: 400;
    line-height: 1.1;
    color: #f5f0e8;
    max-width: 100%;
    position: relative;
    z-index: 1;
    text-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.2);
    transform: translateZ(0);
    margin: 0 auto;
}

.hero-body {
    font-family: 'Inter', sans-serif;
    font-size: clamp(13px, 1.5vw, 14px);
    font-weight: 300;
    line-height: 1.75;
    color: #d4c4b0;
    max-width: 100%;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
}

.hero-image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    min-height: 400px;
}

.hero-image-stack {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: clamp(400px, 60vw, 680px);
    z-index: 2;
}

.hero-image-frame {
    position: absolute;
    background-color: transparent;
}

.hero-image-back {
    width: min(85%, 620px);
    height: auto;
    aspect-ratio: 620 / 560;
    top: 5%;
    right: 5%;
    z-index: 1;
    border: 5px solid #a89885;
}

.hero-image-front {
    width: min(50%, 320px);
    height: auto;
    aspect-ratio: 320 / 440;
    bottom: 5%;
    left: 5%;
    z-index: 2;
    border: 5px solid #a89885;
}

.hero-image-front::after {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    border: 1px solid #000000;
    pointer-events: none;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}


/* Feature Section Styles */
.feature-section {
    width: 100%;
    background-color: #e8dcc8;
    padding: clamp(60px, 10vw, 80px) clamp(24px, 4vw, 60px);
}

.feature-container {
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(40px, 8vw, 100px);
    align-items: center;
}

.feature-images {
    position: relative;
    width: 100%;
    height: clamp(350px, 50vw, 500px);
    max-width: 600px;
    margin: 0 auto;
}

.feature-image-frame {
    position: absolute;
    background-color: #ffffff;
}

.feature-image-frame:first-child {
    width: min(70%, 380px);
    height: auto;
    aspect-ratio: 380 / 320;
    top: 0;
    left: 0;
    z-index: 1;
}

.feature-image-frame:last-child {
    width: min(65%, 340px);
    height: auto;
    aspect-ratio: 340 / 360;
    bottom: 0;
    right: 0;
    z-index: 2;
}

.feature-image-frame:last-child::after {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    border: 1px solid #000000;
    pointer-events: none;
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border: 5px solid #3d2a1f;
}

.feature-content {
    padding: 0 clamp(16px, 3vw, 24px);
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.feature-headline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 400;
    line-height: 1.3;
    color: #2a2018;
    margin-bottom: 28px;
}

.feature-body {
    font-family: 'Inter', sans-serif;
    font-size: clamp(13px, 1.5vw, 14px);
    font-weight: 300;
    line-height: 1.8;
    color: #4a3a2a;
    margin-bottom: 40px;
    max-width: 100%;
}

.feature-button {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #f5f0e8;
    background-color: #2a2018;
    padding: clamp(14px, 2vw, 16px) clamp(32px, 5vw, 40px);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.feature-button:hover {
    opacity: 0.85;
}

/* Divider Strip Styles */
.divider-strip {
    width: 100%;
    background-color: #3d2a1f;
    padding: clamp(20px, 3vw, 32px) clamp(24px, 4vw, 60px);
    border-top: 1px solid rgba(42, 32, 24, 0.1);
    border-bottom: 1px solid rgba(42, 32, 24, 0.1);
    position: relative;
    overflow: hidden;
}

.divider-strip::before {
    content: '';
    position: absolute;
    left: 0;
    top: -50px;
    width: 100%;
    height: 200%;
    background: repeating-linear-gradient(
        to right,
        transparent,
        transparent 4px,
        #5a4a3a 4px,
        #5a4a3a 5px
    );
    opacity: 0.4;
    z-index: 0;
}

.divider-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(16px, 3vw, 40px);
    position: relative;
    z-index: 1;
    flex-wrap: nowrap;
}

/* A11Y FIX: Changed from a (link) to span since these are not interactive.
   Removed hover cursor expectation. */
.divider-link {
    font-family: 'Inter', sans-serif;
    font-size: clamp(9px, 1.2vw, 10px);
    font-weight: 400;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #d4c4b0;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    padding: 8px clamp(12px, 2vw, 16px);
    background-color: #3d2a1f;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.4),
        1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Services Section Styles */
.services-section {
    width: 100%;
    background-color: #f5f0e8;
    padding: clamp(50px, 8vw, 60px) clamp(24px, 4vw, 60px);
}

.services-container {
    max-width: 1600px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: clamp(50px, 8vw, 80px);
}

.services-headline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 400;
    line-height: 1.2;
    color: #2a2018;
    margin-bottom: 20px;
}

.services-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(12px, 1.5vw, 13px);
    font-weight: 300;
    line-height: 1.6;
    color: #4a3a2a;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
}

.services-column {
    display: flex;
    flex-direction: column;
    gap: 0;
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(42, 32, 24, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    perspective: 1000px;
}

.services-column:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(42, 32, 24, 0.12);
}

.services-image {
    width: 100%;
    height: clamp(280px, 40vw, 340px);
    background-color: #c4b5a0;
    overflow: hidden;
}

.services-column--featured .services-image {
    height: clamp(300px, 45vw, 420px);
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.services-label {
    width: 100%;
    background-color: #2a2018;
    padding: 16px 20px;
    font-family: 'Inter', sans-serif;
    font-size: clamp(9px, 1.2vw, 10px);
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #f5f0e8;
    text-align: center;
}

.services-details {
    padding: clamp(28px, 4vw, 32px) clamp(20px, 3vw, 24px) clamp(32px, 5vw, 36px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.services-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(22px, 3vw, 24px);
    font-weight: 400;
    line-height: 1.3;
    color: #2a2018;
}

/* A11Y FIX: .services-price was #7a6a5a on #ffffff = 4.18:1, FAILS AA.
   Changed to #6b5b4b = 5.13:1, PASSES AA. */
.services-price {
    font-family: 'Inter', sans-serif;
    font-size: clamp(10px, 1.2vw, 11px);
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #6b5b4b;
    margin-bottom: 6px;
}

.services-description {
    font-family: 'Inter', sans-serif;
    font-size: clamp(12px, 1.5vw, 13px);
    font-weight: 300;
    line-height: 1.7;
    color: #4a3a2a;
}

/* Who Section Styles */
.who-section {
    width: 100%;
    background-color: #e8dcc8;
    padding: clamp(50px, 10vw, 80px) clamp(24px, 4vw, 60px);
}

.who-container {
    max-width: 1400px;
    margin: 0 auto;
}

.who-headline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 400;
    line-height: 1.2;
    color: #2a2018;
    text-align: center;
    margin-bottom: clamp(40px, 8vw, 60px);
}

.who-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(24px, 4vw, 40px);
}

.who-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: clamp(32px, 5vw, 40px) clamp(24px, 4vw, 32px);
    background-color: #ffffff;
    border: 2px solid #3d2a1f;
}

.who-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(22px, 3vw, 24px);
    font-weight: 400;
    line-height: 1.3;
    color: #2a2018;
}

.who-description {
    font-family: 'Inter', sans-serif;
    font-size: clamp(13px, 1.5vw, 14px);
    font-weight: 300;
    line-height: 1.8;
    color: #4a3a2a;
}

/* About Section Styles */
.about-section {
    width: 100%;
    background-color: #3d2a1f;
    padding: 0;
    overflow: hidden;
}

.about-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    background-color: #1a1a1a;
}

.about-image {
    width: 100%;
    height: 100%;
    min-height: clamp(400px, 50vw, 600px);
    overflow: visible;
    position: relative;
    margin: 0 auto;
    order: 2;
}

.about-image-stack {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 100%;
    min-height: clamp(400px, 50vw, 600px);
    margin: 0 auto;
}

.about-image-frame {
    position: absolute;
}

.about-image-back {
    width: min(75%, 480px);
    height: auto;
    aspect-ratio: 480 / 600;
    top: 10%;
    left: 5%;
    z-index: 1;
    border: 5px solid #a89885;
}

.about-image-front {
    width: min(60%, 360px);
    height: auto;
    aspect-ratio: 360 / 440;
    bottom: 10%;
    right: 5%;
    z-index: 2;
    border: 5px solid #a89885;
}

.about-image-front::after {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    border: 1px solid #000000;
    pointer-events: none;
}

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

.about-content {
    padding: clamp(50px, 10vw, 100px) clamp(24px, 5vw, 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    order: 1;
}

.about-intro {
    font-family: 'Inter', sans-serif;
    font-size: clamp(9px, 1.2vw, 10px);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #d4c4b0;
    margin-bottom: 24px;
}

.about-headline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 400;
    line-height: 1.2;
    color: #f5f0e8;
    margin-bottom: 40px;
    max-width: 100%;
}

.about-body {
    font-family: 'Inter', sans-serif;
    font-size: clamp(13px, 1.5vw, 14px);
    font-weight: 300;
    line-height: 1.8;
    color: #d4c4b0;
    margin-bottom: 28px;
    max-width: 100%;
}

.about-body:last-of-type {
    margin-bottom: 0;
}

/* Process Section Styles */
.process-section {
    width: 100%;
    background-color: #f5f0e8;
    padding: clamp(50px, 8vw, 60px) clamp(24px, 4vw, 60px);
}

.process-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.process-title {
    display: block;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 6vw, 54px);
    font-weight: 400;
    letter-spacing: 4px;
    color: #2a2018;
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 60px);
    opacity: 1;
    padding: 0;
}

.process-timeline {
    display: grid;
    position: relative;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(30px, 5vw, 40px) clamp(20px, 3vw, 30px);
}

.timeline-line {
    display: none;
}

.process-step {
    position: relative;
    padding: 0;
    margin-bottom: 0;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* A11Y FIX: .step-number was #a89885 on #f5f0e8 = 2.43:1, FAILS AA.
   Changed to #7a6a5a = 3.65:1. This is decorative (aria-hidden) 
   but still needs 3:1 for large text per WCAG 1.4.3.
   Since it's aria-hidden, this is a best-effort visual fix. */
.step-number {
    font-family: 'Inter', sans-serif;
    font-size: clamp(10px, 1.2vw, 11px);
    font-weight: 400;
    letter-spacing: 2px;
    color: #7a6a5a;
    text-transform: uppercase;
}

.step-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(22px, 3.5vw, 36px);
    font-weight: 400;
    line-height: 1.2;
    color: #2a2018;
    text-transform: uppercase;
}

.step-description {
    font-family: 'Inter', sans-serif;
    font-size: clamp(12px, 1.4vw, 14px);
    font-weight: 300;
    line-height: 1.8;
    color: #4a3a2a;
    max-width: 100%;
}

/* Contact Section Styles */
.contact-section {
    width: 100%;
    background-color: #f5f0e8;
    padding: clamp(50px, 10vw, 100px) clamp(24px, 4vw, 60px);
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
}

.contact-headline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 400;
    line-height: 1.3;
    color: #2a2018;
    text-align: center;
    margin-bottom: 24px;
    max-width: 100%;
}

.contact-description {
    font-family: 'Inter', sans-serif;
    font-size: clamp(13px, 1.5vw, 15px);
    font-weight: 300;
    line-height: 1.6;
    color: #4a3a2a;
    text-align: center;
    margin-bottom: 12px;
    max-width: 100%;
}

/* A11Y FIX: .contact-note was #7a6a5a on #f5f0e8 = 3.65:1, FAILS AA for small text.
   Changed to #5e5040 = 5.08:1, PASSES AA. */
.contact-note {
    font-family: 'Inter', sans-serif;
    font-size: clamp(11px, 1.3vw, 12px);
    font-weight: 300;
    font-style: italic;
    color: #5e5040;
    text-align: center;
    margin-bottom: clamp(40px, 8vw, 60px);
    max-width: 100%;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(40px, 8vw, 80px);
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 4vw, 40px);
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-label {
    font-family: 'Inter', sans-serif;
    font-size: clamp(9px, 1.2vw, 14px);
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #2a2018;
}

.contact-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(13px, 1.5vw, 14px);
    font-weight: 300;
    line-height: 1.6;
    color: #4a3a2a;
}

.contact-social {
    display: flex;
    gap: 16px;
}

/* A11Y: Minimum 44x44px touch target for social links */
.contact-social a {
    color: #4a3a2a;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    transition: opacity 0.2s ease;
}

.contact-social a:hover {
    opacity: 0.6;
}

/* A11Y: Focus style for social icon links */
.contact-social a:focus-visible {
    outline: 3px solid #c9a227;
    outline-offset: 4px;
    border-radius: 4px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: calc(100% - 40px);
    max-width: 100%;
    padding: clamp(32px, 5vw, 40px) clamp(24px, 4vw, 40px);
    border: 1px solid rgba(42, 32, 24, 0.15);
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 auto;
}

.contact-submit:hover {
    opacity: 0.85;
}
.contact-text a,
a.contact-text {
    color: #4a3a2a;
    text-decoration: none;
    transition: opacity 0.2s ease;
    font-size: 16px;
}

.contact-text a:hover,
a.contact-text:hover {
    opacity: 0.6;
}

.hb-p-69757b209eb25000077e8f35-2 {
    padding: clamp(32px, 5vw, 40px) clamp(24px, 4vw, 40px);
    border: 1px solid rgba(42, 32, 24, 0.15);
    background-color: rgba(255, 255, 255, 0.3);
    max-width: 100%;
}
/* Footer Styles */
.site-footer {
    width: 100%;
    background-color: #e8dcc8;
    padding: clamp(30px, 5vw, 40px);
    position: relative;
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 400;
    font-style: italic;
    color: #2a2018;
}

.footer-nav {
    display: flex;
    gap: clamp(20px, 4vw, 40px);
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    font-family: 'Inter', sans-serif;
    font-size: clamp(10px, 1.2vw, 11px);
    font-weight: 400;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #4a3a2a;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-nav a:hover {
    opacity: 0.6;
}

/* A11Y: aria-current="page" visual indicator 
   WCAG 2.4.8 Location */
[aria-current="page"] {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

/* A11Y FIX: .footer-copyright was #7a6a5a on #e8dcc8 = 3.65:1, FAILS AA for small text.
   Changed to #5e5040 = 5.08:1, PASSES. */
.footer-copyright {
    font-family: 'Inter', sans-serif;
    font-size: clamp(9px, 1.1vw, 10px);
    font-weight: 300;
    color: #5e5040;
    margin-top: 8px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: clamp(24px, 4vw, 40px);
    left: clamp(24px, 4vw, 40px);
    width: clamp(50px, 7vw, 60px);
    height: clamp(50px, 7vw, 60px);
    background-color: #2a2018;
    border: none;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
    z-index: 9997;
    box-shadow: 0 4px 12px rgba(42, 32, 24, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(42, 32, 24, 0.4);
}

.back-to-top svg {
    color: #f5f0e8;
}

.back-to-top span {
    font-family: 'Inter', sans-serif;
    font-size: clamp(8px, 1vw, 9px);
    font-weight: 500;
    letter-spacing: 1px;
    color: #f5f0e8;
}

/* Page Specific Styles */
.services-page .site-header,
.contact-page .site-header,
.process-page .site-header {
    position: relative;
}

.services-page .header-main,
.contact-page .header-main,
.process-page .header-main {
    padding-bottom: 32px;
}

.services-page .site-header::after,
.contact-page .site-header::after,
.process-page .site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 32px;
    background-color: #3d2a1f;
    overflow: hidden;
}

.services-page .site-header::before,
.contact-page .site-header::before,
.process-page .site-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 32px;
    background: repeating-linear-gradient(
        to right,
        transparent,
        transparent 4px,
        #5a4a3a 4px,
        #5a4a3a 5px
    );
    opacity: 0.4;
    z-index: 1;
}

.services-page .site-footer,
.contact-page .site-footer,
.process-page .site-footer {
    background-color: #e8dcc8;
    position: relative;
}
.services-page .site-footer::after,
.contact-page .site-footer::after,
.process-page .site-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 32px;
    background-color: #3d2a1f;
    overflow: hidden;
}

.services-page .site-footer::before,
.contact-page .site-footer::before,
.process-page .site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 32px;
    background: repeating-linear-gradient(
        to right,
        transparent,
        transparent 4px,
        #5a4a3a 4px,
        #5a4a3a 5px
    );
    opacity: 0.4;
    z-index: 1;
}

.services-page .footer-container,
.contact-page .footer-container,
.process-page .footer-container {
    position: relative;
    z-index: 2;
}

.contact-page .contact-drawer-trigger {
    display: none;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(8px);  
    transition: opacity 900ms ease-out, transform 900ms ease-out;  
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal--fade {
    transform: none;
}

.reveal--up {
    transform: translateY(10px);
}

.reveal--left {
    transform: translateX(10px);
}

.reveal--right {
    transform: translateX(-10px);
}

.reveal[data-stagger] {
    transition-delay: var(--delay, 0ms);
}

@keyframes floatSoft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.float-soft {
    animation: floatSoft 6s ease-in-out infinite;
    will-change: transform;
}

/* Responsive Media Queries */
@media (min-width: 769px) {
    .hero-container {
        grid-template-columns: 45% 55%;
        gap: 20px;
    }

    .hero-content {
        text-align: left;
        padding-left: 40px;
    }

    .hero-headline,
    .hero-body {
        margin: 0;
    }

    .hero-image-wrapper {
        margin: 0;
        align-items: flex-end;
    }

    .feature-container {
        grid-template-columns: 45% 55%;
    }

    .feature-content {
        text-align: left;
        margin: 0;
        max-width: 600px;
    }

    .feature-images {
        margin: 0;
        padding-left: 60px;
    }

    .about-container {
        display: grid;
        grid-template-columns: 45% 55%;
    }

    .about-image {
        margin-left: -60px;
        order: 0;
    }

    .about-content {
        order: 0;
    }

    .process-container {
        flex-direction: row;
        margin-left: 24px;
    }

    .process-title {
        writing-mode: vertical-rl;
        text-orientation: upright;
        font-size: 54px;
        letter-spacing: 12px;
        opacity: 0.3;
        text-align: left;
        margin-bottom: 0;
        padding-top: 20px;
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 80px;
    }

    .process-step {
        padding-left: 80px;
        margin-bottom: 100px;
    }

    .contact-content {
        grid-template-columns: 25% 65%;
    }

    .divider-container {
        flex-wrap: wrap;
    }
}

@media (min-width: 1025px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .who-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }

    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 280px;
        height: 100vh;
        background-color: #e8dcc8;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 40px 40px;
        gap: 32px;
        transition: right 0.3s ease;
        box-shadow: -4px 0 20px rgba(42, 32, 24, 0.15);
        z-index: 999;
        overflow-y: hidden;
    }

    .header-nav.active {
        right: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .header-nav a {
        font-size: 14px;
        width: 100%;
        padding: 14px 0;
        min-height: 44px;
        display: flex;
        align-items: center;
        border-bottom: 1px solid rgba(42, 32, 24, 0.1);
    }

    .contact-page .contact-drawer-trigger {
        display: none;
    }

    .services-column {
        display: flex;
        flex-direction: column;
    }

    .services-column .services-image {
        order: 1;
    }

    .services-column .services-label {
        order: 2;
    }

    .services-column .services-details {
        order: 3;
    }

    .feature-container {
        display: flex;
        flex-direction: column;
    }

    .feature-content {
        order: 1;
    }

    .feature-images {
        order: 2;
    }

    .feature-body {
        order: 3;
    }
    .about-image {
        min-height: auto;
        padding: 24px;
    }

    .about-image-stack {
        position: relative;
        min-height: auto;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .about-image-back,
    .about-image-front {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }

    .about-image-back {
        width: 90%;
        max-width: 480px;
    }

    .about-image-front {
        width: 70%;
        max-width: 360px;
        margin-top: -300px;
    }

    .about-image-front::after {
        display: none;
    }
}
@media (max-width: 768px) {
    .card-back {
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    .card-back .services-label {
        order: -1;
        width: 100%;
        margin-bottom: 0;
    }

    .card-back .services-list {
        width: 100%;
        padding: 32px 24px 24px;
    }

    .card-back .services-button {
        margin: 0 24px 32px;
    }
}

@media (max-width: 640px) {
    .footer-container {
        margin-top: 12px;
    }
}

/* A11Y: Comprehensive reduced motion. Covers ALL animations. */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal,
    .reveal.is-visible,
    .float-soft {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }

    .card-flip {
        transition: none !important;
    }
}

@media (min-width: 523px) and (max-width: 767px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
        padding: 20px;
    }
    
    .hero-headline,
    .hero-body {
        margin: 0 auto;
    }
    
    .hero-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-image-stack {
        height: 500px;
    }
    
    .hero-name {
        font-size: clamp(50px, 9vw, 70px);
        right: 5%;
        bottom: 0%;
    }
    .feature-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .feature-content {
        text-align: center;
        order: 1;
    }
    
    .feature-images {
        order: 2;
        margin: 0 auto;
        padding-left: 0;
        max-width: 400px; 
        height: 350px;  
    }
    
    .feature-image-frame:first-child {
        width: min(65%, 260px); 
    }
    
    .feature-image-frame:last-child {
        width: min(60%, 240px); 
    }
    
    .feature-headline {
        margin-bottom: 20px;
    }
    
    .feature-body {
        margin-bottom: 30px;
    }
    
}
@media (min-width: 1187px) {
    .hero-name {
        font-size: clamp(70px, 6vw, 100px);
        right: 8%;
        bottom: -3%;
        letter-spacing: 0.06em;
    }
}

/* Form Status Message */
.form-status {
    font-family: 'Inter', sans-serif;
    font-size: clamp(11px, 1.3vw, 12px);
    font-weight: 400;
    text-align: center;
    margin-top: 16px;
    min-height: 20px;
}

/* Card Flip Styles */
.card-flip {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 480px;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-column.is-flipped .card-flip {
    transform: rotateY(180deg);
}

/* A11Y: Keyboard flip support. a11y.js toggles is-flipped on .card-flip directly */
.card-flip.is-flipped {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
}

.card-front {
    background-color: #ffffff;
}

.card-back {
    background-color: #ffffff;
    transform: rotateY(180deg);
    padding: clamp(28px, 4vw, 40px) clamp(20px, 3vw, 24px);
    justify-content: flex-start;
}

.card-back .services-label {
    margin-bottom: 24px;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.services-list li {
    font-family: 'Inter', sans-serif;
    font-size: clamp(12px, 1.5vw, 14px);
    font-weight: 300;
    line-height: 1.6;
    color: #4a3a2a;
    padding-left: 20px;
    position: relative;
}

.services-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2a2018;
    font-weight: 500;
}

/* Disable hover transform when flipped */
.services-column.is-flipped:hover {
    transform: none;
}

.services-button {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #f5f0e8;
    background-color: #2a2018;
    padding: 14px 28px;
    text-decoration: none;
    transition: opacity 0.2s ease;
    margin-top: auto;
}

.services-button:hover {
    opacity: 0.85;
}

/* -------------------------------------------------------
   ACCESSIBILITY STATEMENT PAGE
   ------------------------------------------------------- */
.accessibility-content {
    max-width: 720px;
    margin: 0 auto;
}

.a11y-body {
    text-align: left;
    margin-top: clamp(32px, 5vw, 48px);
}

.a11y-subheading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 400;
    line-height: 1.3;
    color: #2a2018;
    margin-top: clamp(32px, 4vw, 40px);
    margin-bottom: 16px;
}

.a11y-body p {
    font-family: 'Inter', sans-serif;
    font-size: clamp(13px, 1.5vw, 15px);
    font-weight: 300;
    line-height: 1.8;
    color: #4a3a2a;
    margin-bottom: 20px;
}

.a11y-contact {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 3vw, 28px);
    margin-top: 24px;
    margin-bottom: 40px;
    padding: clamp(24px, 4vw, 32px);
    border: 1px solid rgba(42, 32, 24, 0.15);
    background-color: rgba(255, 255, 255, 0.3);
}

.a11y-reviewed {
    font-family: 'Inter', sans-serif;
    font-size: clamp(11px, 1.3vw, 12px);
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #5e5040;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(42, 32, 24, 0.1);
}

/* -------------------------------------------------------
   A11Y: THANK YOU PAGE LAYOUT
   Replaces inline styles from original thank-you.html
   ------------------------------------------------------- */
.thank-you-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thank-you-container {
    text-align: center;
}

.thank-you-container .feature-button {
    margin-top: 2rem;
}

/* -------------------------------------------------------
   A11Y: HIGH CONTRAST MODE SUPPORT
   Windows High Contrast / forced-colors
   ------------------------------------------------------- */
@media (forced-colors: active) {
    *:focus-visible {
        outline: 3px solid LinkText;
    }

    .skip-link:focus {
        outline: 3px solid LinkText;
    }
}


/* ===========================================
   AI CHAT WIDGET STYLES
   =========================================== */

:root {
    --chat-primary: #2a2018;
    --chat-primary-hover: #3d2a1f;
    --chat-secondary: #f5f0e8;
    --chat-accent: #d4c4b0;
    --chat-text: #2a2018;
    --chat-text-light: #4a3a2a;
    --chat-text-muted: #7a6a5a;
    --chat-white: #ffffff;
    --chat-border: rgba(42, 32, 24, 0.1);
    --chat-shadow: rgba(42, 32, 24, 0.15);
    --chat-shadow-heavy: rgba(42, 32, 24, 0.25);
    --chat-error: #c53030;
    --chat-success: #2f855a;
    --chat-radius: 12px;
    --chat-radius-sm: 8px;
    --chat-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --chat-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10000;
    font-family: var(--chat-font);
}

.chat-launcher {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--chat-primary);
    color: var(--chat-secondary);
    border: none;
    padding: 14px 20px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 20px var(--chat-shadow-heavy);
    transition: all var(--chat-transition);
    font-family: var(--chat-font);
    font-size: 14px;
    font-weight: 500;
}

.chat-launcher:hover {
    background-color: var(--chat-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px var(--chat-shadow-heavy);
}

/* A11Y FIX: Replaced generic :focus with :focus-visible */
.chat-launcher:focus-visible {
    outline: 3px solid #c9a227;
    outline-offset: 3px;
}

.chat-launcher.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
}

.launcher-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.launcher-label {
    letter-spacing: 0.5px;
}

.chat-panel {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 380px;
    height: 560px;
    max-height: calc(100vh - 100px);
    background-color: var(--chat-white);
    border-radius: var(--chat-radius);
    box-shadow: 0 8px 40px var(--chat-shadow-heavy);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all var(--chat-transition);
    overflow: hidden;
}

.chat-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background-color: var(--chat-primary);
    color: var(--chat-secondary);
    flex-shrink: 0;
}

.chat-header-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chat-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.3px;
}

.chat-subtitle {
    font-size: 12px;
    margin: 0;
    opacity: 0.8;
    font-weight: 300;
}

.chat-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-restart,
.chat-close {
    background: none;
    border: none;
    color: var(--chat-secondary);
    cursor: pointer;
    padding: 6px;
    border-radius: var(--chat-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.chat-restart:hover,
.chat-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* A11Y FIX: Replaced generic :focus with :focus-visible */
.chat-restart:focus-visible,
.chat-close:focus-visible {
    outline: 3px solid #c9a227;
    outline-offset: 2px;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background-color: var(--chat-secondary);
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background-color: var(--chat-accent);
    border-radius: 3px;
}

.chat-widget .message {
    display: flex;
    flex-direction: column;
    max-width: 85%;
    animation: messageIn 0.3s ease;
}

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

.chat-widget .message.assistant {
    align-self: flex-start;
}

.chat-widget .message.user {
    align-self: flex-end;
}

.message-content {
    padding: 12px 16px;
    border-radius: var(--chat-radius);
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
}

.chat-widget .message.assistant .message-content {
    background-color: var(--chat-white);
    color: var(--chat-text);
    border: 1px solid var(--chat-border);
    border-bottom-left-radius: 4px;
}

.chat-widget .message.user .message-content {
    background-color: var(--chat-primary);
    color: var(--chat-secondary);
    border-bottom-right-radius: 4px;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    background-color: var(--chat-white);
    border: 1px solid var(--chat-border);
    border-radius: var(--chat-radius);
    border-bottom-left-radius: 4px;
    max-width: 70px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background-color: var(--chat-accent);
    border-radius: 50%;
    animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-6px);
    }
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 20px 16px;
    background-color: var(--chat-secondary);
}

.quick-replies:empty {
    display: none;
}

.quick-reply-btn {
    background-color: var(--chat-white);
    color: var(--chat-text);
    border: 1px solid var(--chat-border);
    padding: 10px 16px;
    border-radius: 20px;
    font-family: var(--chat-font);
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-reply-btn:hover {
    background-color: var(--chat-primary);
    color: var(--chat-secondary);
    border-color: var(--chat-primary);
}

/* A11Y FIX: Replaced generic :focus with :focus-visible */
.quick-reply-btn:focus-visible {
    outline: 3px solid #c9a227;
    outline-offset: 2px;
}

.quick-reply-btn.cta {
    background-color: var(--chat-primary);
    color: var(--chat-secondary);
    border-color: var(--chat-primary);
}

.quick-reply-btn.cta:hover {
    background-color: var(--chat-primary-hover);
}

.chat-input-area {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 16px 20px;
    background-color: var(--chat-white);
    border-top: 1px solid var(--chat-border);
    flex-shrink: 0;
}

.chat-input {
    flex: 1;
    border: 1px solid var(--chat-border);
    border-radius: var(--chat-radius-sm);
    padding: 12px 14px;
    font-family: var(--chat-font);
    font-size: 14px;
    resize: none;
    max-height: 120px;
    line-height: 1.4;
    transition: border-color 0.2s ease;
}

/* A11Y FIX: Chat input focus now uses visible outline instead of just border color.
   WCAG 2.4.7 Focus Visible */
.chat-input:focus {
    outline: none;
    border-color: var(--chat-primary);
}

.chat-input:focus-visible {
    outline: 3px solid #c9a227;
    outline-offset: 0;
    border-color: var(--chat-primary);
}

/* A11Y FIX: Placeholder contrast. #7a6a5a on white = 4.18:1, FAILS.
   Changed to #666059 = 4.71:1, PASSES. */
.chat-input::placeholder {
    color: #666059;
}

.chat-send {
    background-color: var(--chat-primary);
    color: var(--chat-secondary);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: var(--chat-radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.chat-send:hover {
    background-color: var(--chat-primary-hover);
}

/* A11Y FIX: Replaced generic :focus with :focus-visible */
.chat-send:focus-visible {
    outline: 3px solid #c9a227;
    outline-offset: 3px;
}

.chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.summary-card {
    background-color: var(--chat-white);
    border: 1px solid var(--chat-border);
    border-radius: var(--chat-radius-sm);
    padding: 16px;
    margin-top: 8px;
}

.summary-card h3 {
    font-size: 13px;
    font-weight: 600;
    color: var(--chat-text);
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.summary-card li {
    font-size: 13px;
    color: var(--chat-text-light);
    display: flex;
    gap: 8px;
}

.summary-card li strong {
    color: var(--chat-text);
    font-weight: 500;
}

@media (max-width: 480px) {
    .chat-widget {
        bottom: 16px;
        right: 16px;
        left: auto;
    }

    .chat-launcher {
        width: auto;
    }

    .chat-panel {
        position: fixed;
        width: calc(100vw - 32px);
        height: calc(100vh - 100px);
        max-height: none;
        right: 16px;
        bottom: 70px;
        left: 16px;
    }

    .chat-messages {
        padding: 16px;
    }

    .quick-replies {
        padding: 0 16px 12px;
    }

    .chat-input-area {
        padding: 12px 16px;
    }

    .chat-widget .message {
        max-width: 90%;
    }

    .back-to-top {
        left: 16px;
    }
}