/*
 * The Coop by Chookie's - page-specific stylesheet
 * ALL rules scoped to .tc -- zero impact on other pages
 */

/* ═══════════════════════════════════════════
   CUSTOM PROPERTIES
═══════════════════════════════════════════ */
.tc {
    --tc-cream:      #FAF7F0;
    --tc-sage:       #4F7042;
    --tc-sage-light: #6D9460;
    --tc-terra:      #C4724A;
    --tc-terra-h:    #A85C3A;
    --tc-linen:      #EDE3D3;
    --tc-text:       #2E2A24;
    --tc-muted:      #5C5650;
    --tc-border:     #DDD3C0;
    --tc-radius:     8px;
    --tc-t:          0.25s ease;
    --tc-pad:        80px;

    background: var(--tc-cream);
    color: var(--tc-text);
    font-family: var(--font-body, 'Inter', 'Helvetica Neue', Arial, sans-serif);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

.tc *, .tc *::before, .tc *::after { box-sizing: border-box; }
.tc img  { display: block; max-width: 100%; }
.tc a    { color: inherit; text-decoration: none; }
.tc ul   { list-style: none; margin: 0; padding: 0; }
.tc p    { margin: 0 0 1rem; }
.tc p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════
   CONTAINER
═══════════════════════════════════════════ */
.tc-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.tc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--tc-t);
    border: 2px solid transparent;
    white-space: nowrap;
    text-decoration: none;
}

.tc-btn--terra {
    background: var(--tc-terra);
    color: #fff;
    border-color: var(--tc-terra);
}
.tc-btn--terra:hover {
    background: var(--tc-terra-h);
    border-color: var(--tc-terra-h);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196,114,74,0.38);
}

.tc-btn--outline {
    background: transparent;
    color: var(--tc-cream);
    border-color: rgba(250,247,240,0.72);
}
.tc-btn--outline:hover {
    background: var(--tc-cream);
    border-color: var(--tc-cream);
    color: var(--tc-text);
    transform: translateY(-2px);
}

.tc-btn--outline-sage {
    background: transparent;
    color: var(--tc-sage);
    border-color: var(--tc-sage);
}
.tc-btn--outline-sage:hover {
    background: var(--tc-sage);
    color: var(--tc-cream);
    border-color: var(--tc-sage);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   HEADINGS
═══════════════════════════════════════════ */
.tc h2,
.tc h3 {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 20px;
    color: var(--tc-text);
}

.tc-section-heading {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    font-weight: 700;
    color: var(--tc-sage);
    line-height: 1.22;
    margin: 0 0 40px;
}

.tc-section-heading--center { text-align: center; }

/* ═══════════════════════════════════════════
   IMAGE PLACEHOLDER
═══════════════════════════════════════════ */
.tc-placeholder {
    background: var(--tc-linen);
    border-radius: var(--tc-radius);
    display: block;
}

/* ═══════════════════════════════════════════
   1. HERO - full-width, sage background
═══════════════════════════════════════════ */
.tc-hero {
    position: relative;
    background-color: var(--tc-sage);
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /*
      Khi co anh nen that:
      background-image: url('/wp-content/uploads/...');
      background-size: cover;
      background-position: center;
    */
}

.tc-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    pointer-events: none;
}

.tc-hero.has-image .tc-hero-overlay {
    background: rgba(0,0,0,0.45);
}

.tc-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 24px;
    max-width: 900px;
    width: 100%;
}

.tc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--tc-terra);
    margin: 0 0 24px;
}
.tc-eyebrow::before,
.tc-eyebrow::after {
    content: '';
    display: block;
    width: 36px;
    height: 1px;
    background: rgba(196,114,74,0.5);
}

.tc-hero-title {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: clamp(32px, 6vw, 64px);
    font-weight: 700;
    color: var(--tc-cream);
    line-height: 1.12;
    margin: 0 0 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.22);
    word-break: break-word;
    overflow-wrap: break-word;
}

.tc-hero-sub {
    font-size: 1.1rem;
    color: rgba(250,247,240,0.82);
    font-weight: 300;
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto 44px;
}

.tc-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   2. DUO TAGLINES - linen background
═══════════════════════════════════════════ */
.tc-duo {
    background: var(--tc-linen);
    padding: 60px 0;
}

.tc-duo-inner {
    display: flex;
    align-items: center;
}

.tc-duo-col {
    flex: 1;
    padding: 48px 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tc-duo-col:first-child {
    border-right: 1px solid rgba(109,148,96,0.3);
}

.tc-tagline {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--tc-sage);
    line-height: 1.3;
    text-align: center;
    margin: 0;
}

/* ═══════════════════════════════════════════
   3. INTRO - cream, image left / text right
═══════════════════════════════════════════ */
.tc-intro {
    background: var(--tc-cream);
    padding: var(--tc-pad) 0;
}

.tc-intro-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.tc-intro-images {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.tc-intro-img-main {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--tc-radius);
    display: block;
}

.tc-intro-img-accent {
    width: 82%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--tc-radius);
    display: block;
    align-self: flex-end;
    margin-top: -40px;
    box-shadow: -8px 8px 24px rgba(0,0,0,0.12);
}

.tc-intro-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-self: center;
}

.tc-intro-line {
    font-size: 1.1rem;
    color: var(--tc-text);
    line-height: 1.85;
    font-style: italic;
    margin: 0;
    padding-left: 16px;
    border-left: 2px solid var(--tc-terra);
}

/* ═══════════════════════════════════════════
   4. PHILOSOPHY STRIPE - full-width, sage
═══════════════════════════════════════════ */
.tc-philosophy {
    background: var(--tc-sage);
    padding: 88px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.tc-philosophy::before {
    content: '';
    position: absolute;
    top: -80px; left: -80px;
    width: 380px; height: 380px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}
.tc-philosophy::after {
    content: '';
    position: absolute;
    bottom: -60px; right: -60px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
    pointer-events: none;
}

.tc-philosophy-quote {
    position: relative;
    z-index: 1;
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: clamp(18px, 3vw, 26px);
    font-weight: 400;
    font-style: italic;
    color: var(--tc-cream);
    line-height: 1.75;
    max-width: 860px;
    margin: 0 auto;
    padding: 0;
    border: none;
}
.tc-philosophy-quote::before {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--tc-terra);
    margin: 0 auto 28px;
}

/* ═══════════════════════════════════════════
   5. FOOD GRID - cream, 2x2
═══════════════════════════════════════════ */
.tc-food-section {
    background: var(--tc-cream);
    padding: var(--tc-pad) 0;
}

.tc-food-section .tc-section-heading {
    margin-bottom: 48px;
}

.tc-food-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.tc-food-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.08);
}

.tc-food-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(79,112,66,0.12);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.tc-food-item:hover::after { opacity: 1; }

.tc-food-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.tc-food-item:hover .tc-food-img {
    transform: scale(1.02);
}

/* ═══════════════════════════════════════════
   6. PULL QUOTE - linen background
═══════════════════════════════════════════ */
.tc-pull-quote {
    background: var(--tc-linen);
    padding: 88px 24px;
    text-align: center;
}

.tc-pull-quote-inner {
    max-width: 820px;
    margin: 0 auto;
}

.tc-pull-quote-text {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    font-weight: 400;
    font-style: italic;
    color: var(--tc-sage);
    line-height: 1.8;
    margin: 0;
    padding: 0;
    border: none;
}
.tc-pull-quote-text::before {
    content: '\201C';
    display: block;
    font-size: 3.5rem;
    line-height: 1;
    color: var(--tc-terra);
    margin-bottom: 16px;
    font-style: normal;
}
.tc-pull-quote-text::after {
    content: '\201D';
    display: inline;
    font-size: 1.55rem;
    color: var(--tc-terra);
    line-height: 0;
    vertical-align: -0.3em;
    margin-left: 4px;
    font-style: normal;
}

/* ═══════════════════════════════════════════
   7. ABOUT - cream, 2 cols (text left, image right)
═══════════════════════════════════════════ */
.tc-about {
    background: var(--tc-cream);
    padding: var(--tc-pad) 0;
}

.tc-about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.tc-about-text {
    border-left: 3px solid var(--tc-sage);
    padding-left: 28px;
}

.tc-about-text p {
    font-size: 1.05rem;
    color: var(--tc-muted);
    line-height: 1.85;
}

.tc-about-story-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.7em 1.8em;
    font-family: inherit;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 2px;
    border: 1.5px solid #4F7042;
    color: #4F7042;
    background: transparent;
    text-decoration: none;
    transition: background var(--tc-t), color var(--tc-t);
    cursor: pointer;
}
.tc-about-story-btn:hover {
    background: #4F7042;
    color: #EDE3D3;
}

.tc-about-img-wrap { position: relative; }

.tc-about-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--tc-radius);
    display: block;
}

/* ═══════════════════════════════════════════
   8. TEAM - linen, 4 cards
═══════════════════════════════════════════ */
.tc-team {
    background: var(--tc-linen);
    padding: var(--tc-pad) 0;
}

.tc-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tc-team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 20px;
    background: var(--tc-cream);
    border-radius: 12px;
    border: 1px solid var(--tc-border);
    transition: all var(--tc-t);
}
.tc-team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(79,112,66,0.14);
    border-color: var(--tc-sage-light);
}

.tc-team-photo-wrap {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    flex-shrink: 0;
    background: var(--tc-linen);
    border: 2px solid var(--tc-border);
}

.tc-team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.tc-team-role {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--tc-sage);
    margin: 0 0 10px;
}

.tc-team-desc {
    font-size: 0.88rem;
    color: var(--tc-muted);
    line-height: 1.7;
    margin: 0;
}

/* ═══════════════════════════════════════════
   9. FIND US - cream, 2 cols
═══════════════════════════════════════════ */
.tc-find-us {
    background: var(--tc-cream);
    padding: var(--tc-pad) 0;
    border-top: 1px solid var(--tc-border);
}

.tc-find-us-inner {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 72px;
    align-items: start;
}

.tc-find-info-group {
    margin-bottom: 28px;
}
.tc-find-info-group:last-of-type { margin-bottom: 0; }

.tc-find-label {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--tc-sage);
    margin: 0 0 8px;
}

.tc-find-detail {
    font-size: 1rem;
    color: var(--tc-text);
    line-height: 1.7;
    margin: 0 0 4px;
}
.tc-find-detail:last-of-type { margin-bottom: 0; }

.tc-find-cta {
    margin-top: 28px;
}

.tc-map-placeholder {
    background: rgba(79,112,66,0.07);
    border: 2px dashed rgba(79,112,66,0.24);
    border-radius: var(--tc-radius);
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    padding: 24px;
    color: var(--tc-muted);
}
.tc-map-placeholder svg {
    width: 52px;
    height: 52px;
    color: var(--tc-sage);
    opacity: 0.4;
}
.tc-map-placeholder p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--tc-text);
    margin: 0 0 4px;
}
.tc-map-placeholder small {
    font-size: 0.82rem;
    color: var(--tc-muted);
}

.tc-map-iframe {
    border-radius: var(--tc-radius);
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

/* ═══════════════════════════════════════════
   10. INSTAGRAM GRID - cream, 3 cols
═══════════════════════════════════════════ */
.tc-instagram {
    background: var(--tc-linen);
    padding: var(--tc-pad) 0;
}

.tc-instagram-header {
    text-align: center;
    margin-bottom: 48px;
}

.tc-instagram-handle {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--tc-terra);
    margin-top: 8px;
    transition: color var(--tc-t);
    text-decoration: none;
}
.tc-instagram-handle:hover { color: var(--tc-terra-h); }

.tc-ig-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.tc-ig-item {
    aspect-ratio: 1/1;
    border-radius: var(--tc-radius);
    overflow: hidden;
    position: relative;
}

.tc-ig-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(79,112,66,0.22);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.tc-ig-item:hover::after { opacity: 1; }

.tc-ig-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.tc-ig-item:hover .tc-ig-img { transform: scale(1.04); }

/* ═══════════════════════════════════════════
   11. CTA BAND - full-width, sage
═══════════════════════════════════════════ */
.tc-cta-band {
    background: var(--tc-sage);
    padding: 100px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.tc-cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(79,112,66,0.85);
    pointer-events: none;
    z-index: 0;
}
.tc-cta-band::after {
    content: '';
    position: absolute;
    bottom: -80px; right: -80px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
    pointer-events: none;
}

.tc-cta-body {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.tc-cta-heading {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--tc-cream);
    margin: 0 0 40px;
    line-height: 1.2;
}

.tc-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.tc-cta-band .tc-btn {
    min-width: 200px;
}

/* ═══════════════════════════════════════════
   RESPONSIVE - 1024px
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .tc-container  { padding: 0 32px; }

    .tc-duo-col     { padding: 40px 36px; }
    .tc-tagline     { font-size: clamp(1.4rem, 2.5vw, 2rem); }

    .tc-intro-inner   { gap: 48px; }
    .tc-about-inner   { gap: 48px; }
    .tc-find-us-inner { gap: 48px; }

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

    .tc-food-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE - 768px
═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .tc { --tc-pad: 64px; }
    .tc-container { padding: 0 20px; }

    .tc-hero       { min-height: 75vh; }
    .tc-hero-content { padding: 72px 20px; }

    .tc-duo-inner {
        flex-direction: column;
    }
    .tc-duo-col:first-child {
        border-right: none;
        border-bottom: 1px solid var(--tc-border);
    }
    .tc-duo-col { padding: 36px 24px; }

    .tc-intro-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tc-about-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    /* On mobile: image comes after text for about section */

    .tc-team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

    .tc-find-us-inner  { grid-template-columns: 1fr; gap: 40px; }
    .tc-map-placeholder { height: 280px; }
    .tc-map-iframe      { height: 280px; }

    .tc-ig-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

    .tc-food-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .tc-food-item:nth-child(n+3) { grid-column: 1 / -1; }

    .tc-cta-band { padding: 72px 20px; }
    .tc-philosophy { padding: 64px 20px; }
    .tc-pull-quote  { padding: 64px 20px; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE - 480px (covers 360px+)
═══════════════════════════════════════════ */
@media (max-width: 480px) {
    .tc { --tc-pad: 48px; }
    .tc-container { padding: 0 16px; }

    .tc-hero       { min-height: 65vh; }
    .tc-hero-content { padding: 56px 16px; }
    .tc-hero-actions { flex-direction: column; align-items: center; }

    .tc-duo { padding: 48px 0; }
    .tc-duo-col { padding: 28px 16px; }

    .tc-team-grid { grid-template-columns: 1fr; }
    .tc-team-card { padding: 24px 16px; }

    .tc-cta-band { padding: 56px 16px; }
    .tc-cta-actions { flex-direction: column; align-items: center; }

    .tc-philosophy { padding: 48px 16px; }
    .tc-pull-quote  { padding: 48px 16px; }
}
