/* ============================================================
   TENTANG KAMI — CSS
   Design: Editorial, heritage brand, professional
   Reference aesthetic: Loro Piana, Batik Danar Hadi
   ============================================================ */

/* ============================================================
   SECTION 1 — INTRO / HERO
   ============================================================ */
.ta-intro {
    position: relative;
    background: #fdfaf6;
    padding: 100px 0 80px;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

/* Decorative SVG ornament background */
.ta-intro-ornament {
    position: absolute;
    right: -60px;
    top: -60px;
    width: 620px;
    height: 620px;
    pointer-events: none;
    z-index: 0;
    opacity: 1;
}

.ta-intro-ornament svg {
    width: 100%;
    height: 100%;
}

.ta-intro-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* --- Breadcrumb --- */
.ta-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 36px;
}

.ta-bc-sep {
    color: #f38814;
}

/* --- Main Heading --- */
.ta-intro-heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(48px, 6vw, 76px);
    font-weight: 600;
    line-height: 1.08;
    color: #1a1a1a;
    margin-bottom: 28px;
    letter-spacing: -1px;
}

.ta-heading-thin {
    font-weight: 500;
    color: #333;
    display: block;
    font-size: 0.72em;
    letter-spacing: 0;
}

.ta-intro-heading em {
    font-style: italic;
    color: #f38814;
}

/* Horizontal rule accent */
.ta-intro-rule {
    width: 48px;
    height: 3px;
    background: #f38814;
    margin-bottom: 28px;
    border-radius: 2px;
}

/* --- Body text --- */
.ta-intro-body {
    font-size: 16px;
    color: #555;
    line-height: 1.85;
    max-width: 480px;
    margin-bottom: 48px;
}

/* --- Stats Row --- */
.ta-intro-stats {
    display: flex;
    align-items: center;
    gap: 0;
    border-top: 1px solid #e8e2da;
    padding-top: 32px;
}

.ta-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 36px;
}

.ta-stat:last-child {
    padding-right: 0;
}

.ta-stat-n {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
    font-family: 'Inter', sans-serif;
    letter-spacing: -1px;
}

.ta-stat-l {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #999;
}

.ta-stat-div {
    width: 1px;
    height: 44px;
    background: #e0d8ce;
    margin-right: 36px;
    flex-shrink: 0;
}

/* ============================================================
   RIGHT COLUMN — Stacked image composition
   ============================================================ */
.ta-intro-visual {
    position: relative;
    padding: 20px 0 60px 40px;
}

.ta-img-stack {
    position: relative;
}

/* Main image */
.ta-img-main {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 3/4;
    box-shadow:
        0 2px 8px rgba(0,0,0,0.06),
        0 16px 48px rgba(0,0,0,0.14);
    z-index: 2;
}

.ta-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ta-img-stack:hover .ta-img-main img {
    transform: scale(1.03);
}

/* Accent secondary image */
.ta-img-accent {
    position: absolute;
    bottom: -48px;
    right: -48px;
    width: 52%;
    aspect-ratio: 4/3;
    border-radius: 4px;
    overflow: hidden;
    border: 5px solid #fdfaf6;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    z-index: 3;
}

.ta-img-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* EST. year badge */
.ta-est-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #f38814;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 4;
    box-shadow: 0 4px 20px rgba(243,136,20,0.35);
}

.ta-est-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
}

.ta-est-year {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

.ta-est-place {
    font-size: 8px;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============================================================
   SECTION 2 — KEUNGGULAN
   Dark background section with batik detail borders
   ============================================================ */
.ta-keunggulan {
    background: #2a333c;
    padding: 80px 0;
    position: relative;
}

/* Top decorative border — batik zigzag/wave SVG as data URI */
.ta-kng-top-deco,
.ta-kng-bot-deco {
    height: 18px;
    width: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='18' viewBox='0 0 60 18'%3E%3Cpath d='M0 9 L10 0 L20 9 L30 0 L40 9 L50 0 L60 9' fill='none' stroke='%23f38814' stroke-width='1.5' opacity='0.4'/%3E%3Cpath d='M0 14 L10 5 L20 14 L30 5 L40 14 L50 5 L60 14' fill='none' stroke='%23f38814' stroke-width='0.8' opacity='0.2'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: center;
}

.ta-kng-top-deco {
    margin-bottom: 64px;
}

.ta-kng-bot-deco {
    margin-top: 64px;
    transform: scaleY(-1);
}

/* Header row */
.ta-kng-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 56px;
}

.ta-kng-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #f38814;
    white-space: nowrap;
}

.ta-kng-rule {
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.1);
}

/* Grid */
.ta-kng-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}

.ta-kng-item {
    padding: 40px 32px;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.02);
    position: relative;
    overflow: hidden;
    transition: background 0.35s ease, border-color 0.35s ease;
    cursor: default;
}

.ta-kng-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #f38814;
    transition: width 0.4s ease;
}

.ta-kng-item:hover {
    background: rgba(243,136,20,0.05);
    border-color: rgba(243,136,20,0.2);
}

.ta-kng-item:hover::before {
    width: 100%;
}

.ta-kng-num {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(243,136,20,0.5);
    margin-bottom: 20px;
    font-family: 'Inter', monospace;
}

.ta-kng-ico {
    width: 40px;
    height: 40px;
    color: #f38814;
    margin-bottom: 20px;
    opacity: 0.85;
    transition: opacity 0.3s, transform 0.3s;
}

.ta-kng-ico svg {
    width: 100%;
    height: 100%;
}

.ta-kng-item:hover .ta-kng-ico {
    opacity: 1;
    transform: translateY(-3px);
}

.ta-kng-item h3 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.ta-kng-item p {
    font-size: 13.5px;
    color: rgba(255,255,255,0.48);
    line-height: 1.75;
}

/* ============================================================
   SECTION 3 — STORY / MAGAZINE LAYOUT
   ============================================================ */
.ta-story {
    background: #fff;
    padding: 0;
}

.ta-story-inner {
    display: grid;
    grid-template-columns: 5fr 7fr;
    min-height: 800px;
}

/* Left: image panel full-height */
.ta-story-imgpanel {
    position: relative;
    background: #1a1a1a;
    overflow: hidden;
}

.ta-story-img-wrap {
    position: relative;
    height: 100%;
    min-height: 700px;
}

.ta-story-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.75;
    transition: opacity 0.5s ease;
}

.ta-story-imgpanel:hover .ta-story-img-wrap img {
    opacity: 0.85;
}

.ta-story-img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 28px 28px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
}

.ta-story-img-caption span {
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Floating stat card on image */
.ta-story-floatcard {
    position: absolute;
    top: 48px;
    right: -1px;
    background: #fff;
    padding: 24px 28px;
    border-left: 3px solid #f38814;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    min-width: 180px;
    z-index: 5;
}

.ta-story-fc-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.ta-story-fc-top svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.ta-story-fc-top span {
    font-size: 11px;
    font-weight: 600;
    color: #777;
    letter-spacing: 0.3px;
    line-height: 1.3;
}

.ta-story-fc-stat {
    font-size: 40px;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1;
    letter-spacing: -1px;
}

.ta-story-fc-stat sup {
    font-size: 20px;
    font-weight: 700;
    color: #f38814;
}

.ta-story-fc-label {
    font-size: 11px;
    color: #aaa;
    margin-top: 6px;
    font-weight: 500;
}

/* Right: content */
.ta-story-content {
    padding: 80px 72px 80px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Tag/label with line */
.ta-story-tag {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
}

.ta-story-tag-line {
    width: 32px;
    height: 2px;
    background: #f38814;
}

.ta-story-tag span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #f38814;
}

/* Story heading */
.ta-story-heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 600;
    line-height: 1.12;
    color: #1a1a1a;
    margin-bottom: 36px;
    letter-spacing: -0.5px;
}

.ta-story-heading strong {
    font-weight: 700;
    color: #4a2c1f;
}

/* Drop cap paragraph */
.ta-story-drop {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    align-items: flex-start;
}

.ta-drop-letter {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 74px;
    font-weight: 700;
    line-height: 0.78;
    color: #f38814;
    float: left;
    margin-right: 6px;
    margin-top: 6px;
    padding-right: 4px;
}

.ta-story-drop p {
    font-size: 15px;
    color: #444;
    line-height: 1.85;
    flex: 1;
}

.ta-story-body {
    font-size: 15px;
    color: #555;
    line-height: 1.85;
    margin-bottom: 20px;
}

.ta-story-body strong { color: #1a1a1a; }
.ta-story-body em { color: #4a2c1f; font-style: italic; }

/* Mini Timeline */
.ta-mini-timeline {
    margin-top: 44px;
    border-top: 1px solid #ede8e0;
    padding-top: 36px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.ta-mtl-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 8px;
}

/* Connecting line between dots */
.ta-mtl-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 26px;
    left: calc(50% + 10px);
    right: calc(-50% + 10px);
    height: 1px;
    background: #e0d8ce;
    z-index: 0;
}

.ta-mtl-year {
    font-size: 12px;
    font-weight: 700;
    color: #f38814;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.ta-mtl-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #d4c9be;
    background: #fff;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    transition: border-color 0.3s, transform 0.3s;
    flex-shrink: 0;
}

.ta-mtl-item:hover .ta-mtl-dot {
    border-color: #f38814;
    transform: scale(1.2);
}

.ta-mtl-dot--active {
    border-color: #f38814;
    background: #f38814;
    box-shadow: 0 0 0 4px rgba(243,136,20,0.2);
}

.ta-mtl-text {
    font-size: 11.5px;
    color: #777;
    line-height: 1.55;
}

.ta-mtl-item--now .ta-mtl-text {
    color: #4a2c1f;
    font-weight: 600;
}

/* ============================================================
   SECTION 4 — CTA
   ============================================================ */
.ta-cta {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: #1a0e06;
}

.ta-cta-bg-img {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ta-cta-bg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ta-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10,5,2,0.88) 0%,
        rgba(74,44,31,0.72) 60%,
        rgba(10,5,2,0.88) 100%
    );
}

/* Corner ornament — batik motif CSS-drawn */
.ta-cta-corner {
    position: absolute;
    width: 120px;
    height: 120px;
    z-index: 1;
    pointer-events: none;
}

.ta-cta-corner--tl {
    top: 0;
    left: 0;
    border-top: 2px solid rgba(243,136,20,0.35);
    border-left: 2px solid rgba(243,136,20,0.35);
}

.ta-cta-corner--tl::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 16px;
    width: 70px;
    height: 70px;
    border-top: 1px solid rgba(243,136,20,0.2);
    border-left: 1px solid rgba(243,136,20,0.2);
}

.ta-cta-corner--br {
    bottom: 0;
    right: 0;
    border-bottom: 2px solid rgba(243,136,20,0.35);
    border-right: 2px solid rgba(243,136,20,0.35);
}

.ta-cta-corner--br::before {
    content: '';
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 70px;
    height: 70px;
    border-bottom: 1px solid rgba(243,136,20,0.2);
    border-right: 1px solid rgba(243,136,20,0.2);
}

.ta-cta-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Badge line decoration */
.ta-cta-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 28px;
}

.ta-cta-badge-line {
    width: 40px;
    height: 1px;
    background: rgba(243,136,20,0.5);
}

.ta-cta-badge span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #f38814;
}

/* Heading */
.ta-cta-heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(38px, 6vw, 70px);
    font-weight: 600;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

/* Body */
.ta-cta-body {
    font-size: 17px;
    color: rgba(255,255,255,0.6);
    max-width: 480px;
    margin: 0 auto 52px;
    line-height: 1.75;
}

/* Buttons */
.ta-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.ta-cta-btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #fff;
    padding: 15px 32px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 20px rgba(37,211,102,0.3);
}

.ta-cta-btn-wa:hover {
    background: #1daa56;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37,211,102,0.4);
}

.ta-cta-btn-sec {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: rgba(255,255,255,0.85);
    padding: 15px 32px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,0.25);
    transition: all 0.2s;
}

.ta-cta-btn-sec:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.5);
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================================
   SCROLL REVEAL — base states
   ============================================================ */
.ta-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.ta-reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.ta-reveal-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.ta-reveal-left.in-view {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================================
   RESPONSIVE — Tablet (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .ta-intro-inner {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }

    .ta-intro-ornament {
        width: 440px;
        height: 440px;
        right: -40px;
        top: -40px;
    }

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

    .ta-story-inner {
        grid-template-columns: 1fr 1fr;
    }

    .ta-story-content {
        padding: 60px 40px;
    }

    .ta-mini-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .ta-mtl-item::after {
        display: none;
    }
}

/* ============================================================
   RESPONSIVE — Mobile (≤768px)
   ============================================================ */
@media (max-width: 768px) {
    /* INTRO */
    .ta-intro {
        padding: 80px 0 60px;
        min-height: auto;
    }

    .ta-intro-inner {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .ta-intro-ornament {
        width: 280px;
        height: 280px;
        right: -20px;
        top: -20px;
        opacity: 0.6;
    }

    .ta-intro-heading {
        font-size: clamp(40px, 10vw, 56px);
    }

    .ta-intro-body {
        max-width: 100%;
    }

    .ta-intro-stats {
        gap: 0;
        flex-wrap: wrap;
    }

    .ta-stat {
        padding-right: 0;
        flex: 0 0 calc(50% - 20px);
        margin-bottom: 16px;
    }

    .ta-stat-div {
        display: none;
    }

    /* Visual stacked images */
    .ta-intro-visual {
        padding: 20px 0 56px 0;
    }

    .ta-img-accent {
        right: -16px;
        bottom: -32px;
    }

    /* KEUNGGULAN */
    .ta-kng-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1px;
    }

    .ta-kng-item {
        padding: 28px 20px;
    }

    /* STORY */
    .ta-story-inner {
        grid-template-columns: 1fr;
    }

    .ta-story-imgpanel {
        height: 380px;
        min-height: auto;
    }

    .ta-story-img-wrap {
        min-height: auto;
        height: 380px;
    }

    .ta-story-floatcard {
        top: auto;
        bottom: 20px;
        right: 16px;
        left: 16px;
        min-width: 0;
    }

    .ta-story-content {
        padding: 48px 20px;
    }

    .ta-story-heading {
        font-size: clamp(30px, 8vw, 42px);
    }

    .ta-drop-letter {
        font-size: 60px;
    }

    .ta-mini-timeline {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ta-mtl-item {
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 16px;
    }

    .ta-mtl-year {
        min-width: 44px;
        margin-bottom: 0;
        text-align: right;
        font-size: 13px;
    }

    .ta-mtl-dot {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .ta-mtl-text {
        font-size: 13px;
    }

    /* CTA */
    .ta-cta {
        padding: 80px 0;
    }

    .ta-cta-heading {
        font-size: clamp(34px, 9vw, 50px);
    }

    .ta-cta-body {
        font-size: 15px;
    }

    .ta-cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .ta-cta-btn-wa,
    .ta-cta-btn-sec {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* ============================================================
   RESPONSIVE — Small Mobile (≤480px)
   ============================================================ */
@media (max-width: 480px) {
    .ta-intro-heading {
        font-size: clamp(36px, 12vw, 48px);
    }

    .ta-kng-grid {
        grid-template-columns: 1fr;
    }

    .ta-kng-top-deco,
    .ta-kng-bot-deco {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .ta-stat-n {
        font-size: 28px;
    }

    .ta-img-accent {
        width: 44%;
        right: -8px;
    }

    .ta-est-badge {
        width: 72px;
        height: 72px;
    }

    .ta-est-year {
        font-size: 16px;
    }

    .ta-cta-corner {
        width: 70px;
        height: 70px;
    }
}
