/* ============================================
   CATTY CAFE — About Us Page
   Editorial / Magazine Aesthetic
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400;1,600&display=swap');

:root {
    --sky-blue: #87CEEB;
    --sky-blue-deep: #5bb8e0;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --bg-light: #f8fafc;
}

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

.about-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to   { transform: scale(1.06); }
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 15, 30, 0.92) 0%,
        rgba(10, 15, 30, 0.4) 50%,
        rgba(10, 15, 30, 0.1) 100%
    );
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem 8rem;
}

.about-hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--sky-blue);
    margin-bottom: 1.5rem;
}

.about-hero-title {
    font-family: 'Lora', serif;
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 400;
    color: #ffffff;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

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

.about-hero-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    max-width: 420px;
    line-height: 1.7;
}

/* Scroll indicator */
.about-hero-scroll {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.about-hero-scroll span {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    writing-mode: vertical-lr;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50%       { opacity: 1;   transform: scaleY(1.2); }
}

/* ============================================
   SHARED SECTION STYLES
   ============================================ */

.about-section {
    padding: 120px 20px;
}

.bg-white  { background: #ffffff; }
.bg-slate  { background: var(--bg-light); }

.about-container {
    max-width: 1280px;
    margin: 0 auto;
}

/* Section Header (matches homepage 01/02/03 style) */
.about-section-header {
    position: relative;
    margin-bottom: 80px;
}

.section-num {
    position: absolute;
    top: -50px;
    left: 0;
    font-family: 'Lora', serif;
    font-size: 10rem;
    color: #f1f5f9;
    user-select: none;
    z-index: 0;
    line-height: 1;
}

.section-heading-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.section-heading {
    font-family: 'Lora', serif;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: -0.03em;
    line-height: 1;
    margin: 0;
}

.section-heading em {
    font-style: italic;
    color: var(--sky-blue);
}

.section-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--text-muted);
    margin: 0;
}

.section-rule {
    height: 1px;
    width: 100%;
    background: var(--border);
    margin-top: 24px;
}

/* ============================================
   STORY SECTION
   ============================================ */

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-lead {
    font-family: 'Lora', serif;
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--sky-blue);
    padding-left: 1.5rem;
}

.story-body {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.story-stat-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

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

.stat-num {
    font-family: 'Lora', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1;
}

.stat-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Story images */
.story-image-wrap {
    position: relative;
}

.story-image-main {
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.12);
}

.story-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.6s ease, transform 0.8s ease;
}

.story-image-main:hover img {
    filter: grayscale(0%);
    transform: scale(1.04);
}

.story-image-accent {
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 48%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
    border: 6px solid #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

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

/* ============================================
   VALUES SECTION
   ============================================ */

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}

.value-card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease, transform 0.3s ease;
    border: 1px solid var(--border);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--sky-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.value-card:hover {
    background: var(--text-dark);
    transform: translateY(-6px);
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

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

.value-card:hover .value-num,
.value-card:hover .value-title,
.value-card:hover .value-desc {
    color: #ffffff;
}

.value-num {
    font-family: 'Lora', serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--sky-blue);
    display: block;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.value-title {
    font-family: 'Lora', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.value-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.75;
    transition: color 0.3s ease;
}

/* ============================================
   QUOTE SECTION
   ============================================ */

.about-quote-section {
    background: var(--text-dark);
    padding: 120px 2rem;
    position: relative;
    overflow: hidden;
}

.about-quote-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(135, 206, 235, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.about-quote-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.quote-mark {
    font-family: 'Lora', serif;
    font-size: 8rem;
    color: var(--sky-blue);
    opacity: 0.3;
    line-height: 0.5;
    display: block;
    margin-bottom: 2rem;
}

.about-quote {
    font-family: 'Lora', serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 400;
    color: #ffffff;
    line-height: 1.4;
    letter-spacing: -0.01em;
    border: none;
    padding: 0;
    margin: 0 0 2rem;
}

.about-quote em {
    font-style: italic;
    color: var(--sky-blue);
}

.quote-attr {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: rgba(255,255,255,0.3);
}

/* ============================================
   TEAM CAROUSEL
   ============================================ */

.team-carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.team-carousel-count {
    font-family: 'Lora', serif;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.team-carousel-btns {
    display: flex;
    gap: 10px;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.carousel-btn svg {
    width: 18px;
    height: 18px;
}

.carousel-btn:hover:not(:disabled) {
    background: var(--text-dark);
    border-color: var(--text-dark);
    color: #fff;
    transform: scale(1.05);
}

.carousel-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

/* Outer wrapper clips overflow */
.team-carousel-outer {
    overflow: hidden;
}

/* Track slides horizontally */
.team-carousel-track {
    display: flex;
    gap: 28px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Each card takes up 1/4 of container minus gaps */
.team-card {
    flex: 0 0 calc((100% - 84px) / 4); /* 4 cards, 3 gaps of 28px */
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.team-img-wrap {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 4px;
    background: var(--bg-light);
}

.team-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.6s ease, transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.team-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,15,30,0.85) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-quote {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.team-card:hover .team-img-wrap img {
    filter: grayscale(0%);
    transform: scale(1.06);
}

.team-card:hover .team-img-overlay {
    opacity: 1;
}

.team-card:hover .team-quote {
    transform: translateY(0);
}

.team-info {
    padding: 0 4px;
}

.team-name {
    font-family: 'Lora', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--sky-blue-deep);
}

/* Dot indicators */
.team-dots {
    display: flex;
    gap: 8px;
    margin-top: 32px;
}

.team-dot {
    width: 24px;
    height: 3px;
    border-radius: 2px;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, width 0.3s ease;
    padding: 0;
}

.team-dot.active {
    background: var(--text-dark);
    width: 40px;
}

/* Responsive card sizing */
@media (max-width: 1024px) {
    .team-card {
        flex: 0 0 calc((100% - 28px) / 2); /* 2 cards */
    }
}

@media (max-width: 640px) {
    .team-card {
        flex: 0 0 100%; /* 1 card */
    }
}

/* ============================================
   CTA SECTION
   ============================================ */

.about-cta {
    padding: 140px 2rem;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
}

.about-cta-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--sky-blue-deep);
    margin-bottom: 1.5rem;
}

.cta-title {
    font-family: 'Lora', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
}

.cta-title em {
    font-style: italic;
    color: var(--sky-blue);
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    text-decoration: none;
    font-family: 'Lora', serif;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 16px 36px;
    border-radius: 999px;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-btn-dark {
    background: var(--text-dark);
    color: #fff;
    border: 1px solid var(--text-dark);
}

.cta-btn-dark:hover {
    background: var(--sky-blue);
    border-color: var(--sky-blue);
    color: var(--text-dark);
    box-shadow: 0 12px 30px rgba(135, 206, 235, 0.35);
    transform: translateY(-2px);
}

.cta-btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border);
}

.cta-btn-outline:hover {
    border-color: var(--text-dark);
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .values-grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .story-image-accent {
        display: none;
    }
    .values-grid { grid-template-columns: 1fr; }
    .about-hero-content { padding-bottom: 5rem; }
    .section-num { font-size: 6rem; }
}

@media (max-width: 480px) {
    .stat-row  { flex-wrap: wrap; }
}