/* ==========================================================================
   Teknolojilerimiz — SC-CO₂ merkezde; teknoloji platformu daha geniş.
   1 SC-CO₂ (ivory)  2 Teknoloji platformu (koyu)  3 Teknik katman (paper)
   Ortak bileşenler fuwell.css'te; burada yalnız sayfaya özgü düzen.
   ========================================================================== */
/* Cormorant Garamond'da Yunan harfi yok → ρ ve α için yalnız bu iki glifi içeren eşleşik Garamond italik
   (Georgia'ya düşüp kalın görünmesin) */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@1,500&text=%CF%81%CE%B1&display=swap');

:root {
    /* büyük gold rakam/sembol (≥44px) ivory üzerinde ≥3:1 → gold-500 ile gold-700 arası */
    --tk-gold-deep: #9A7A48;
    /* parametre sembolleri (P, T, ρ, α …): Yunan harfleri EB Garamond'dan gelir */
    --tk-sym-font: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
}
.tk-nb { white-space: nowrap; }

/* 1 — Süperkritik CO₂ ------------------------------------------------------ */
.tk-sc__grid { display: grid; gap: clamp(56px, 7vw, 96px); }
/* üç sütun (giriş | kap | adımlar) ancak adımlar sütunu ≥ ~340px kalınca; altında iki satırlı düzen */
@media (min-width: 1320px) {
    .tk-sc__grid { grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr); column-gap: clamp(64px, 6vw, 112px); align-items: center; }
    .tk-sc__grid--solo { grid-template-columns: minmax(0, 1fr); }
}
.tk-sc__intro { display: grid; gap: clamp(28px, 3vw, 44px); align-content: start; }
.tk-sc__heading .eyebrow { margin-bottom: clamp(18px, 1.8vw, 24px); }
@media (min-width: 960px) and (max-width: 1319px) {
    .tk-sc__intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(48px, 6vw, 80px); }
}
.tk-sc__quote { font-size: clamp(22px, 1.95vw, 28px); line-height: 1.34; max-width: 30em; }

/* Kritik nokta: iki büyük rakam, üstte gold başlangıçlı ince çizgi */
.tk-stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: clamp(36px, 4vw, 52px) 0 0;
    padding-top: clamp(22px, 2.4vw, 30px);
    border-top: 1px solid var(--t-line);
}
.tk-stats::before { content: ""; position: absolute; top: -1px; left: 0; width: 64px; height: 1px; background: var(--c-gold-500); }
.tk-stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 12px; min-width: 0; }
.tk-stat + .tk-stat { padding-left: clamp(20px, 2.6vw, 36px); border-left: 1px solid var(--t-line); }
.tk-stat__value {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(50px, 4.8vw, 74px);
    font-weight: 400;
    line-height: .9;
    letter-spacing: -.02em;
    color: var(--tk-gold-deep);
    font-feature-settings: "lnum" 1;
    white-space: nowrap;
}
.tk-stat__unit {
    margin-top: .28em;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .04em;
    color: var(--t-strong);
}
.tk-stat__label { font-size: 11px; font-weight: 500; line-height: 1.4; letter-spacing: .2em; text-transform: uppercase; color: var(--t-muted); }
/* ARŞEN Process geçişi: tesis ve proses mühendisliği detayına açılan ayrı kapı (dış bağlantı) */
.tk-sc__ext { flex-wrap: wrap; column-gap: 12px; row-gap: 4px; margin-top: clamp(28px, 3vw, 40px); }
.tk-sc__ext-note { font-size: 10.5px; font-weight: 500; letter-spacing: .22em; color: var(--t-gold); }

/* Süreç: ekstraksiyon kabı + dikey numaralı adımlar */
.tk-sc__process { display: grid; gap: clamp(36px, 4vw, 56px); align-items: center; min-width: 0; }
@media (min-width: 720px) {
    .tk-sc__process { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: clamp(28px, 3vw, 48px); }
    .tk-sc__process--panel,
    .tk-sc__process--text { grid-template-columns: minmax(0, 1fr); }
}
/* iki satırlı düzende kap başlığın, adımlar alıntının altına oturur (giriş satırıyla aynı sütun ızgarası) */
@media (min-width: 960px) and (max-width: 1319px) {
    .tk-sc__process:not(.tk-sc__process--panel, .tk-sc__process--text) {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: clamp(48px, 6vw, 80px);
    }
}
.tk-sc__visual { margin: 0; width: 100%; max-width: 340px; justify-self: center; color: var(--tk-gold-deep); }
/* kabın içindeki küçük etiketler (EKSTRAKT, CO₂ GİRİŞİ) dar sütunda okunur kalsın */
.tk-sc__visual .fw-visual--vessel { --vis-k: 1.3; --vis-text: var(--c-text-muted); }
.tk-sc__visual.vis-panel { max-width: none; }
@media (max-width: 719px) { .tk-sc__visual:not(.vis-panel) { max-width: 230px; } }

.tk-steps { list-style: none; display: grid; }
.tk-step {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: clamp(18px, 2vw, 28px);
    padding-bottom: clamp(28px, 3vw, 40px);
}
.tk-step:last-child { padding-bottom: 0; }
/* adımları bağlayan ince çizgi (ikonun altından bir sonraki ikona) */
.tk-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 52px;
    bottom: 8px;
    width: 1px;
    background: linear-gradient(180deg, var(--t-gold-line), var(--t-line) 60%);
    opacity: .8;
    transform-origin: top;
}
.tk-step__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--t-gold-line);
    border-radius: 50%;
    background: var(--t-bg);
    color: var(--t-strong);
    font-size: 20px;
}
.tk-step__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--t-gold-line); }
.tk-step__num { margin-top: 3px; font-size: 11.5px; font-weight: 500; line-height: 1; letter-spacing: .18em; color: var(--t-gold); font-variant-numeric: tabular-nums; }
.tk-step__title { margin-top: 10px; font-size: clamp(23px, 2vw, 28px); line-height: 1.12; }
.tk-step__text { margin-top: 8px; }
.tk-step__text p { max-width: 48ch; font-size: 15px; line-height: 1.6; }

/* 2 — Teknoloji platformu ----------------------------------------------------- */
.tk-platform__head { display: grid; gap: clamp(48px, 6vw, 72px); align-items: center; margin-bottom: clamp(56px, 7vw, 104px); }
@media (min-width: 1024px) {
    .tk-platform__head { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); column-gap: clamp(48px, 6vw, 96px); }
    .tk-platform__head--solo { grid-template-columns: minmax(0, 1fr); }
}
.tk-platform__intro { max-width: 640px; }
.tk-platform__lead { margin-top: clamp(22px, 2.4vw, 32px); max-width: 520px; }
.tk-platform__lead p + p { margin-top: .8em; }

/* Yörünge haritası: merkezde SC-CO₂, çevrede tamamlayıcı prosesler (numaralar matrisle eşleşir) */
.tk-orbit { position: relative; width: min(100%, 460px); aspect-ratio: 1; justify-self: center; color: var(--c-gold-400); }
@media (min-width: 1024px) { .tk-orbit { justify-self: end; } }
.tk-orbit__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tk-orbit__ring { fill: none; stroke: currentColor; stroke-width: .22; }
.tk-orbit__ring--outer { stroke-opacity: .14; }
.tk-orbit__ring--main { stroke-opacity: .42; stroke-dasharray: .5 1.3; }
.tk-orbit__ring--inner { stroke-opacity: .16; }
.tk-orbit__spoke { stroke: currentColor; stroke-width: .2; stroke-opacity: .3; }
.tk-orbit__spin { display: none; }
.tk-orbit__spin circle { fill: var(--c-gold-300); }
.tk-orbit__node {
    position: absolute;
    translate: -50% -50%;
    display: grid;
    place-items: center;
    width: clamp(40px, 11%, 50px);
    aspect-ratio: 1;
    border: 1px solid rgba(198, 164, 106, .55);
    border-radius: 50%;
    background: var(--c-ink-900);
    color: var(--c-ivory-100);
    font-size: 19px;
    transition: background-color .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease);
}
.tk-orbit__node.is-active { background: var(--c-gold-300); border-color: var(--c-gold-300); color: var(--c-ink-950); }
.tk-orbit__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tk-orbit__no {
    position: absolute;
    translate: -50% -50%;
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .08em;
    color: var(--t-muted);
    font-variant-numeric: tabular-nums;
}
.tk-orbit__core {
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 8px;
    width: 31%;
    aspect-ratio: 1;
    border: 1px solid var(--c-gold-400);
    border-radius: 50%;
    /* opak taban: arkadaki çizgiler çekirdekten görünmesin */
    background: radial-gradient(circle at 50% 38%, rgba(198, 164, 106, .2), rgba(22, 29, 19, .97) 72%), var(--c-ink-850);
    box-shadow: 0 0 0 9px rgba(198, 164, 106, .045), 0 0 70px rgba(198, 164, 106, .13);
    color: var(--c-gold-300);
    transition: box-shadow .5s var(--ease);
}
.tk-orbit__core.is-active { box-shadow: 0 0 0 9px rgba(198, 164, 106, .1), 0 0 80px rgba(198, 164, 106, .24); }
.tk-orbit__core i { font-size: clamp(26px, 3vw, 34px); }
.tk-orbit__core-label { white-space: nowrap; font-size: 11px; font-weight: 500; line-height: 1.2; letter-spacing: .14em; text-align: center; color: var(--c-ivory-50); }

/* Teknoloji matrisi: ince çizgili 4×2 tablo; merkez teknoloji gold çerçeve + sıcak ışıma */
.tk-matrix {
    list-style: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    border-top: 1px solid var(--t-line);
    border-left: 1px solid var(--t-line);
}
@media (min-width: 640px) { .tk-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tk-matrix { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tk-tech {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(24px, 2.4vw, 34px) clamp(22px, 2.2vw, 32px) clamp(28px, 2.8vw, 38px);
    border-right: 1px solid var(--t-line);
    border-bottom: 1px solid var(--t-line);
    transition: background-color .5s var(--ease);
}
.tk-tech:hover { background-color: rgba(239, 233, 220, .025); }
.tk-tech__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: clamp(28px, 3.2vw, 48px); }
.tk-tech__icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--t-gold-line);
    border-radius: 50%;
    color: var(--t-strong);
    font-size: 20px;
    transition: background-color .45s var(--ease), color .45s var(--ease);
}
.tk-tech:hover .tk-tech__icon { background: rgba(198, 164, 106, .12); }
.tk-tech__no { font-size: 11px; font-weight: 500; letter-spacing: .12em; color: var(--t-muted); font-variant-numeric: tabular-nums; }
/* etiket (opsiyonel) DB'de büyük harfle yazılır → text-transform yok */
.tk-tech__label { font-size: 10.5px; font-weight: 500; line-height: 1.45; letter-spacing: .18em; color: var(--t-gold); }
.tk-tech__title { margin-top: 10px; font-size: clamp(22px, 1.8vw, 26px); line-height: 1.14; }
.tk-tech__text { margin-top: 12px; }
.tk-tech__text p { font-size: 14.5px; line-height: 1.6; color: var(--t-muted); }
.tk-tech.is-core {
    background:
        radial-gradient(120% 100% at 0% 0%, rgba(198, 164, 106, .15), transparent 62%),
        rgba(198, 164, 106, .035);
}
.tk-tech.is-core::after {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: 1;
    border: 1px solid rgba(198, 164, 106, .72);
    pointer-events: none;
}
.tk-tech.is-core .tk-tech__icon { background: var(--c-gold-300); border-color: var(--c-gold-300); color: var(--c-ink-950); }
.tk-tech.is-core .tk-tech__title { color: var(--c-ivory-50); }
@media (min-width: 640px) {
    /* aynı satırdaki kartlar ortak satır izlerini paylaşır (subgrid): iki satırlık etiket ya da başlık
       komşu kartların başlığını/metnini kaydırmaz. Eksik alan boş satır olarak kalır. */
    @supports (grid-template-rows: subgrid) {
        .tk-tech { display: grid; grid-row: span 4; grid-template-rows: subgrid; }
        .tk-tech__top { grid-row: 1; }
        .tk-tech__label { grid-row: 2; align-self: end; }
        .tk-tech__title { grid-row: 3; }
        .tk-tech__text { grid-row: 4; }
    }
}
@media (max-width: 639px) {
    /* telefonda yatay kart: ikon solda, numara/rozet sağ üstte */
    .tk-tech { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; align-content: start; padding: 24px 20px 26px; }
    .tk-tech__top { grid-row: 1 / span 3; align-self: start; margin: 0; }
    .tk-tech__top > :not(.tk-tech__icon) { position: absolute; top: 26px; right: 20px; }
    .tk-tech > :not(.tk-tech__top) { grid-column: 2; }
    .tk-tech__label { padding-right: 44px; min-height: 16px; }
    .tk-tech.is-core .tk-tech__label { padding-right: 96px; }
    .tk-tech__title { margin-top: 8px; }
}

/* 3 — Teknik katman: parametreler --------------------------------------------- */
.tk-params__disc > summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "cta sym icon";
    align-items: center;
    gap: 16px clamp(24px, 4vw, 56px);
    padding: clamp(26px, 3vw, 38px) 0;
    font-size: clamp(27px, 2.6vw, 38px);
}
.tk-params__cta { grid-area: cta; }
.tk-params__symbols {
    grid-area: sym;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: baseline;
    gap: 4px clamp(14px, 1.8vw, 26px);
    font-family: var(--tk-sym-font);
    font-style: italic;
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 500;
    line-height: 1.2;
    color: var(--tk-gold-deep);
    transition: opacity .5s var(--ease);
}
.tk-params__disc > summary > i { grid-area: icon; width: 50px; height: 50px; font-size: 18px; }
.tk-params__disc > summary:hover .tk-params__cta { color: var(--c-ink-700); }
.tk-params__disc[open]:not(.is-closing) .tk-params__symbols { opacity: .32; }
@media (max-width: 767px) {
    .tk-params__disc > summary { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "cta icon" "sym sym"; }
    .tk-params__symbols { justify-content: flex-start; font-size: 22px; }
}

.tk-param-grid {
    list-style: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin-top: 6px;
    border-top: 1px solid var(--t-line);
    border-left: 1px solid var(--t-line);
    background: var(--t-surface);
}
@media (min-width: 640px) { .tk-param-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tk-param-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tk-param {
    display: flex;
    flex-direction: column;
    gap: clamp(18px, 2vw, 28px);
    min-width: 0;
    padding: clamp(24px, 2.4vw, 34px) clamp(22px, 2.2vw, 32px) clamp(28px, 2.8vw, 36px);
    border-right: 1px solid var(--t-line);
    border-bottom: 1px solid var(--t-line);
}
.tk-param__sym {
    font-family: var(--tk-sym-font);
    font-style: italic;
    font-size: clamp(46px, 4vw, 60px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.01em;
    color: var(--tk-gold-deep);
}
.tk-param__title { font-size: clamp(21px, 1.7vw, 25px); line-height: 1.15; }
.tk-param__text { margin-top: 10px; }
.tk-param__text p { font-size: 14.5px; line-height: 1.6; }
@media (min-width: 640px) {
    /* sembol | başlık | metin satırları komşu karolarla hizalı (subgrid) */
    @supports (grid-template-rows: subgrid) {
        .tk-param { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
        .tk-param__body { display: contents; }
        .tk-param__sym { grid-row: 1; margin-bottom: clamp(18px, 2vw, 28px); }
        .tk-param__title { grid-row: 2; }
        .tk-param__text { grid-row: 3; }
    }
}
@media (max-width: 639px) {
    .tk-param { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 22px 20px 24px; }
    .tk-param__sym { font-size: 40px; }
}

/* Çözücü notu (mevzuat: "çözücüsüz" yalnız saf SC-CO₂) */
.tk-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 860px;
    margin-top: clamp(28px, 3vw, 40px);
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--t-muted);
}
.tk-note i { flex: none; margin-top: 1px; font-size: 19px; color: var(--t-gold); }

/* Hareket ------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
    /* adım çizgisi yukarıdan aşağı uzar */
    html.js .tk-step:not(:last-child)::before { transform: scaleY(0); transition: transform 1.2s var(--ease) .45s; }
    html.js .tk-step.is-visible::before { transform: none; }
    /* yörünge: kollar çizilir, nokta yavaşça döner, çekirdek nefes alır */
    html.js .tk-orbit:not(.is-visible) .tk-orbit__spoke { stroke-dasharray: 1; stroke-dashoffset: 1; }
    .tk-orbit.is-visible .tk-orbit__spoke { animation: fw-draw 1.4s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 90ms + .25s); }
    .tk-orbit__spin { display: inline; transform-origin: 50px 50px; transform: rotate(var(--a0, 0deg)); animation: tk-spin 72s linear infinite; }
    .tk-orbit__core::after {
        content: "";
        position: absolute;
        inset: -1px;
        border: 1px solid var(--c-gold-400);
        border-radius: 50%;
        pointer-events: none;
        animation: tk-breathe 5.6s var(--ease) infinite;
    }
}
@keyframes tk-spin { from { transform: rotate(var(--a0, 0deg)); } to { transform: rotate(calc(var(--a0, 0deg) + 360deg)); } }
@keyframes tk-breathe { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.45); opacity: 0; } }
