/* =========================================================
   Karat-QCC — Kurumsal sayfa (about.html)
   Fikir: Karat'ın kendi etiketi. Dokuma marka etiketi (giriş),
   sekmeli arşiv dosyası (tarihçe), Q·C·C panelleri (kimlik),
   üç renkli örülmüş iplik + bakım etiketi (ilkeler),
   vizyon/misyon ve Adana adresi.
   Ortak değişkenler ve parçalar style.css'te.
   ========================================================= */

/* =========================================================
   SAYFA GİRİŞİ — dokuma etiket
   ========================================================= */
.ph { padding: calc(var(--head) + clamp(28px, 3.8vw, 64px)) 0 clamp(60px, 6.4vw, 108px); background: var(--paper); }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(36px, 5.6vw, 110px); align-items: center; }
.ph h1 { font-size: clamp(1.95rem, 1.2rem + 1.7vw, 2.95rem); margin: 22px 0 18px; max-width: 12.5em; }
.ph .lead { max-width: 34em; }

.ph-index { margin-top: clamp(30px, 3.4vw, 52px); }
.ph-index > span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--soft); }
.ph-index ol { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 12px; }
.ph-index a { position: relative; display: inline-flex; align-items: baseline; gap: 8px; padding: 5px 0; font-size: .9rem; font-weight: 600; color: var(--ink2); transition: color .25s; }
.ph-index a b { font-size: .7rem; font-weight: 700; color: var(--orange); font-variant-numeric: tabular-nums; }
.ph-index a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; border-top: 2px dashed var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.ph-index a:hover { color: var(--blue); }
.ph-index a:hover::after { transform: scaleX(1); }

.ph-fig { position: relative; margin: 0; aspect-ratio: 16 / 11; max-height: 500px; border-radius: var(--r); overflow: hidden; background: var(--mist); box-shadow: var(--shadow-lg); }
.ph-fig > img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 62%; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.ph-fig:hover > img { transform: scale(1.08); }

/* Dokuma etiket (kumaşa dikilmiş) */
.wl {
  position: absolute; left: 50%; top: 47%; z-index: 2;
  width: clamp(220px, 18vw, 300px); padding: 24px 40px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  border-radius: 8px; background-color: #fbfbf8;
  /* ince dokuma dokusu (renk geçişi değil, atkı çizgileri) */
  background-image: repeating-linear-gradient(0deg, rgba(0, 68, 148, .045) 0 1px, transparent 1px 3px);
  box-shadow: 0 2px 3px rgba(15, 26, 40, .14), 0 26px 44px -20px rgba(15, 26, 40, .6);
  translate: -50% -50%; rotate: -4deg;
  transition: rotate .6s var(--ease), translate .6s var(--ease), box-shadow .6s var(--ease);
}
.ph-fig:hover .wl { rotate: -2deg; translate: -50% calc(-50% - 4px); }
/* katlanmış uçlar */
.wl::before, .wl::after { content: ""; position: absolute; top: 0; bottom: 0; width: 13px; background: #e9ece6; }
.wl::before { left: 0; border-radius: 8px 0 0 8px; }
.wl::after { right: 0; border-radius: 0 8px 8px 0; }
/* turuncu dikiş */
.wl-st { position: absolute; z-index: 1; top: 7px; bottom: 7px; border-left: 2px dashed var(--orange); transform-origin: 50% 0; }
.wl-st-l { left: 20px; }
.wl-st-r { right: 20px; }
.wl-logo { height: 40px; width: auto; }
.wl-t { font-size: .64rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: var(--blue); }
.wl-s { padding-top: 9px; border-top: 1.5px dashed rgba(0, 68, 148, .28); font-size: .64rem; font-weight: 550; letter-spacing: .04em; color: var(--muted); }

.js .ph-fig .wl { opacity: 0; translate: -50% calc(-50% - 18px); rotate: -10deg; }
.js .ph-fig.is-in .wl { opacity: 1; translate: -50% -50%; rotate: -4deg; transition: opacity .7s var(--ease) .45s, translate 1s var(--ease) .45s, rotate 1.1s cubic-bezier(.3, 1.35, .5, 1) .45s; }
.js .ph-fig.is-in:hover .wl { rotate: -2deg; translate: -50% calc(-50% - 4px); transition-delay: 0s; }
.js .ph-fig .wl-st { transform: scaleY(0); }
.js .ph-fig.is-in .wl-st { transform: none; transition: transform .9s var(--ease) 1.25s; }
.js .ph-fig.is-in .wl-st-r { transition-delay: 1.5s; }

.ph-chip {
  position: absolute; left: clamp(12px, 1.4vw, 20px); bottom: clamp(12px, 1.4vw, 20px); z-index: 2;
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 12px;
  font-size: .8rem; font-weight: 600; color: var(--ink);
  background: rgba(255, 255, 255, .7); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: 0 14px 30px -20px rgba(15, 26, 40, .6);
}
.ph-chip .qcc b { width: 17px; height: 17px; border-radius: 4px; font-size: .56rem; }

/* =========================================================
   01 · HİKÂYE — sekmeli arşiv dosyası
   ========================================================= */
.story { background: var(--bg); }
.arch { position: relative; }

.arch-tabs { position: relative; z-index: 20; display: flex; align-items: flex-end; gap: 4px; padding-left: 18px; overflow-x: auto; scrollbar-width: none; }
.arch-tabs::-webkit-scrollbar { display: none; }
.arch-tab {
  flex: none; display: flex; align-items: center; gap: 10px; padding: 13px 20px 12px;
  border-radius: 14px 14px 0 0; background: #e2e8f1; color: var(--muted);
  font-size: .88rem; font-weight: 650; font-variant-numeric: tabular-nums;
  transition: background-color .35s var(--ease), color .35s var(--ease), padding .35s var(--ease);
}
.arch-tab i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); transition: transform .4s var(--ease); }
.arch-tab:hover { color: var(--ink); background: #eaeff6; }
.arch-tab.is-active { background: #fff; color: var(--ink); padding-block: 16px 12px; }
.arch-tab.is-active i { transform: scale(1.2); }

.arch-stack { position: relative; display: grid; padding-bottom: 30px; touch-action: pan-y; }
.arch-card {
  grid-area: 1 / 1; position: relative; z-index: 8;
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  min-height: clamp(400px, 31vw, 540px); border-radius: var(--r); overflow: hidden;
  background: #fff; box-shadow: var(--shadow);
  transform-origin: 50% 100%;
  transition: transform .85s var(--ease), opacity .6s var(--ease), box-shadow .6s var(--ease);
}
.arch-card[data-o="0"] { z-index: 10; transform: none; box-shadow: var(--shadow-lg); }
.arch-card[data-o="1"] { z-index: 9; transform: translateY(14px) scale(.966); background: #fafbfd; }
.arch-card[data-o="2"] { z-index: 8; transform: translateY(28px) scale(.932); background: #f6f8fb; }
.arch-card.is-hidden { z-index: 7; opacity: 0; transform: translateY(28px) scale(.932); }
.arch-card.is-out { z-index: 12; opacity: 0; transform: translate(-6%, 10px) rotate(-2.4deg); pointer-events: none; transition: transform .75s var(--ease), opacity .6s var(--ease) .05s; }
/* arkadaki kartların içi görünmez */
.arch-card > * { opacity: 0; transition: opacity .35s var(--ease); }
.arch-card.is-front > *, .arch-card.is-out > * { opacity: 1; }
.arch-card.is-front > * { transition: opacity .6s var(--ease) .15s; }
.arch-card:not(.is-front) { pointer-events: none; }

.ac-media { position: relative; overflow: hidden; background: var(--mist); }
.ac-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.07); transition: transform 1.6s var(--ease); }
.arch-card.is-front .ac-media img { transform: none; }
.ac-badge { position: absolute; left: 14px; bottom: 14px; padding: 8px 12px; border-radius: 10px; font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: #fff; background: rgba(7, 19, 38, .42); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

.ac-body { display: flex; flex-direction: column; padding: clamp(26px, 3vw, 52px) clamp(24px, 3.6vw, 64px) clamp(22px, 2.4vw, 36px); }
.ac-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--soft); }
.ac-meta span:last-child { color: var(--c); }
.ac-year { margin-top: auto; padding-top: clamp(26px, 3vw, 48px); font-size: clamp(2.4rem, 1.7rem + 2vw, 3.8rem); font-weight: 700; letter-spacing: -.045em; line-height: 1; color: var(--c); font-variant-numeric: tabular-nums; }
.ac-body h3 { font-size: clamp(1.25rem, 1.08rem + .55vw, 1.7rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.2; margin: 14px 0 12px; max-width: 18em; }
.ac-txt { color: var(--muted); line-height: 1.7; max-width: 33em; }
.arch-card.is-front .ac-year, .arch-card.is-front .ac-body h3, .arch-card.is-front .ac-txt { animation: acin .8s var(--ease) both; }
.arch-card.is-front .ac-body h3 { animation-delay: .08s; }
.arch-card.is-front .ac-txt { animation-delay: .16s; }
@keyframes acin { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Dikiş zamanlayıcısı: iğne kartın altına dikiş atar, bitince sonraki bölüm */
.ac-stitch { position: relative; height: 14px; margin-top: clamp(24px, 2.8vw, 40px); overflow: hidden; }
.ac-stitch::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; border-top: 2px dashed var(--orange); }
.ac-run { position: absolute; inset: 0; background: #fff; transform: translateX(0); }
.ac-needle { position: absolute; left: -30px; top: 2px; width: 30px; height: 8px; }
.ac-needle path { fill: #8a95a6; }
.ac-needle rect { fill: #fff; }
.arch-card.is-front .ac-run { animation: archrun var(--dur, 7.5s) linear forwards; }
@keyframes archrun { to { transform: translateX(100%); } }
.arch.is-paused .ac-run { animation-play-state: paused; }

.arch-ctrl { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.arch-count { margin-left: 8px; font-size: .84rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.arch-count b { color: var(--ink); font-weight: 650; }
.arch-note { margin-left: auto; font-size: .8rem; color: var(--soft); }

/* =========================================================
   02 · KİMLİK — Q · C · C panelleri
   ========================================================= */
.identity { background: var(--paper); }
.qp { --sw: clamp(86px, 6.8vw, 118px); --gap: clamp(10px, 1vw, 16px); --qw: calc(min(100vw - 2 * var(--pad), var(--max)) - 3 * var(--sw) - 2 * var(--gap)); display: flex; gap: var(--gap); height: clamp(430px, 33vw, 580px); }
.qp-item { position: relative; display: flex; flex: 0 0 var(--sw); min-width: 0; border-radius: var(--r); overflow: hidden; background: var(--bg); transition: flex-grow .9s var(--ease), box-shadow .6s var(--ease); }
.qp-item.is-open { flex-grow: 1; box-shadow: var(--shadow); }

.qp-head {
  position: relative; flex: 0 0 var(--sw); display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 22px 0 28px; background: var(--c); color: #fff; overflow: hidden;
  transition: background-color .3s var(--ease);
}
.qp-head:hover .qp-letter { transform: translateY(-3px); }
.qp-letter { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--c); font-size: 1.45rem; font-weight: 800; transition: transform .45s var(--ease); }
.qp-word { writing-mode: vertical-rl; transform: rotate(180deg); font-size: .92rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
.qp-prog { position: absolute; left: 22%; right: 22%; bottom: 12px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .22); overflow: hidden; opacity: 0; transition: opacity .4s; }
.qp-prog i { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.qp.is-auto .qp-item.is-open .qp-prog { opacity: 1; }
.qp.is-auto .qp-item.is-open .qp-prog i { animation: qprun 7s linear forwards; }
.qp.is-paused .qp-prog i { animation-play-state: paused !important; }
@keyframes qprun { to { transform: scaleX(1); } }

.qp-panel { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.qp-inner { width: var(--qw, 900px); height: 100%; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); }
.qp-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(26px, 3.2vw, 56px); opacity: 0; transform: translateX(-14px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.qp-item.is-open .qp-text { opacity: 1; transform: none; transition: opacity .7s var(--ease) .38s, transform .7s var(--ease) .38s; }
.qp-k { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--c); }
.qp-text h3 { font-size: clamp(1.3rem, 1.08rem + .7vw, 1.9rem); font-weight: 700; letter-spacing: -.026em; line-height: 1.15; margin: 14px 0 14px; max-width: 14em; text-wrap: balance; }
.qp-text > p:not(.qp-k) { color: var(--muted); line-height: 1.68; max-width: 30em; }
.qp-pts { display: grid; gap: 10px; margin-top: 24px; }
.qp-pts li { display: flex; align-items: center; gap: 12px; font-size: .93rem; font-weight: 600; color: var(--ink2); }
.qp-pts .box { transition-delay: calc(.6s + var(--k) * .16s); }
.qp-pts .box path { transition-delay: calc(.7s + var(--k) * .16s); }
.qp-item.is-open .qp-pts .box { background: var(--c); }
.qp-item.is-open .qp-pts .box path { stroke-dashoffset: 0; }
.qp-img { position: relative; margin: 0; overflow: hidden; }
.qp-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.qp-item.is-open .qp-img img { transform: none; }

/* =========================================================
   03 · İLKELER — örülmüş iplik ve bakım etiketi
   ========================================================= */
.care { background: var(--blue); color: #fff; overflow: hidden; }
.care .kicker { color: var(--cyan-l); }
.care .sec-head > p { color: rgba(255, 255, 255, .8); }

/* Üç renkli iplik: kesintisiz, yavaşça çekilir */
.rope { --rh: clamp(72px, 7vw, 112px); position: relative; height: var(--rh); overflow: hidden; margin-bottom: clamp(34px, 4vw, 60px); }
.js .rope[data-reveal] { transform: none; }
.rope svg { display: block; height: var(--rh); width: calc(var(--rh) * 4000 / 150); max-width: none; animation: ropepull 3.2s linear infinite; will-change: transform; }
@keyframes ropepull { to { transform: translateX(calc(var(--rh) * -1)); } }
.rope.is-off svg { animation-play-state: paused; }
.rope path { fill: none; stroke-linecap: round; stroke-linejoin: round; transition: opacity .45s var(--ease); }
.rope .bk path { stroke-width: 21; }
.rope .fr path { stroke-width: 22; }
.rope .hl path { stroke-width: 4; stroke: rgba(255, 255, 255, .45); transform: translate(-2px, -4px); }
.rope .s0 { stroke: #fff; }
.rope .s1 { stroke: var(--cyan-l); }
.rope .s2 { stroke: var(--orange); }
.rope .hl .s0 { stroke: rgba(0, 68, 148, .1); }
/* arkadan geçen yarımlar aynı rengin koyu tonu */
.rope .bk .s0 { stroke: #aebfd8; }
.rope .bk .s1 { stroke: #4fa9cc; }
.rope .bk .s2 { stroke: #c2451b; }
.care:has(.sd-0:hover) .rope :is(.s1, .s2),
.care:has(.sd-1:hover) .rope :is(.s0, .s2),
.care:has(.sd-2:hover) .rope :is(.s0, .s1) { opacity: .14; }

.yarn { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 76px); align-items: start; }
.strands { display: grid; gap: 4px; }
.strands li { display: flex; align-items: center; gap: 14px; padding: 8px 0; font-size: 1.05rem; font-weight: 650; letter-spacing: -.01em; cursor: default; transition: transform .35s var(--ease); }
.strands li:hover { transform: translateX(4px); }
.strands i { width: 34px; height: 8px; border-radius: 4px; background: var(--c); }
.sd-0 { --c: #fff; }
.sd-1 { --c: var(--cyan-l); }
.sd-2 { --c: var(--orange); }
.rule { position: relative; padding-top: 18px; }
.rule::before { content: ""; position: absolute; left: 0; top: 0; width: 46px; border-top: 2px dashed var(--orange); }
.rule-n { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--cyan-l); }
.rule p { margin-top: 10px; font-size: clamp(1.18rem, 1rem + .55vw, 1.55rem); font-weight: 650; letter-spacing: -.022em; line-height: 1.3; max-width: 17em; }

/* Bakım etiketi */
.clabel {
  position: relative; margin-top: clamp(52px, 6vw, 96px);
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 3fr); gap: clamp(22px, 3vw, 56px); align-items: center;
  padding: clamp(28px, 3vw, 46px) clamp(52px, 5vw, 86px);
  border-radius: var(--r); color: var(--ink);
  background-color: #fbfbf8;
  background-image: repeating-linear-gradient(0deg, rgba(0, 68, 148, .035) 0 1px, transparent 1px 3px);
  box-shadow: 0 2px 4px rgba(0, 10, 40, .14), 0 40px 70px -40px rgba(0, 10, 40, .75);
}
.clabel::before, .clabel::after { content: ""; position: absolute; top: 0; bottom: 0; width: 18px; background: #e9ece6; }
.clabel::before { left: 0; border-radius: var(--r) 0 0 var(--r); }
.clabel::after { right: 0; border-radius: 0 var(--r) var(--r) 0; }
.cl-st { position: absolute; z-index: 1; top: 12px; bottom: 12px; border-left: 2px dashed var(--orange); transform-origin: 50% 0; }
.cl-st-l { left: 30px; }
.cl-st-r { right: 30px; }
.js .clabel .cl-st { transform: scaleY(0); }
.js .clabel.is-in .cl-st { transform: none; transition: transform 1s var(--ease) .5s; }
.cl-k { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--orange); }
.cl-head h3 { margin-top: 8px; font-size: clamp(1.2rem, 1.05rem + .45vw, 1.5rem); font-weight: 700; letter-spacing: -.024em; line-height: 1.2; }
.cl-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 40px); }
.cl-list li { display: flex; flex-direction: column; gap: 6px; }
.cl-ico { width: 34px; height: 34px; margin-bottom: 8px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease), stroke .3s; }
.cl-list li:hover .cl-ico { transform: translateY(-3px); stroke: var(--blue); }
.cl-list b { font-size: .98rem; font-weight: 650; letter-spacing: -.01em; }
.cl-list span { font-size: .86rem; line-height: 1.5; color: var(--muted); }

/* =========================================================
   04 · VİZYON & MİSYON
   ========================================================= */
.vm { background: var(--paper); }
.vm-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 120px); align-items: center; }
.vm-fig { position: relative; margin: 0; aspect-ratio: 5 / 4; max-height: 620px; border-radius: var(--r); overflow: hidden; background: var(--mist); box-shadow: var(--shadow-lg); }
.vm-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.vm-fig:hover img { transform: scale(1.04); }
.vm-quote {
  position: absolute; left: clamp(12px, 1.6vw, 22px); bottom: clamp(12px, 1.6vw, 22px); max-width: calc(100% - 24px);
  display: grid; gap: 4px; padding: 14px 18px; border-radius: 14px;
  font-size: clamp(.95rem, .9rem + .2vw, 1.08rem); font-weight: 650; letter-spacing: -.012em; color: var(--ink);
  background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: 0 16px 34px -22px rgba(15, 26, 40, .6);
}
.vm-quote span { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--orange); }
.vm-list { margin-top: clamp(26px, 3vw, 44px); }
.vm-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; padding: clamp(22px, 2.4vw, 34px) 0; }
.vm-item + .vm-item { border-top: 2px dashed rgba(255, 90, 31, .4); }
.vm-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--c); color: #fff; }
.vm-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vm-k { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--blue); }
.vm-s { margin-top: 8px; font-size: clamp(1.12rem, .98rem + .45vw, 1.45rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.38; color: var(--ink); max-width: 24em; }

/* =========================================================
   05 · ZİYARET — Adana
   ========================================================= */
.visit { background: var(--bg); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 120px); align-items: center; }
.visit-lead { margin-top: 18px; color: var(--muted); font-size: 1.04rem; line-height: 1.65; max-width: 30em; }
.visit-list { display: grid; gap: 10px; }
.visit-list a {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px;
  padding: 18px 22px; border-radius: var(--r); background: #fff;
  box-shadow: 0 1px 2px rgba(15, 26, 40, .05);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.visit-list a:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.vl-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(0, 68, 148, .08); color: var(--blue); transition: background-color .3s, color .3s; }
.vl-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.visit-list a:hover .vl-ico { background: var(--blue); color: #fff; }
.vl-t { display: grid; gap: 2px; min-width: 0; }
.vl-t small { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--soft); }
.vl-t b { font-size: 1.04rem; font-weight: 650; letter-spacing: -.01em; overflow-wrap: anywhere; }
.vl-t span { font-size: .9rem; color: var(--muted); }
.vl-go { color: var(--blue); }
.visit-list a:hover .vl-go { transform: translateX(3px); }

/* =========================================================
   UYUMLULUK
   ========================================================= */
@media (max-width: 1140px) {
  .ph-grid { grid-template-columns: 1fr; }
  .ph-fig { max-width: 820px; }
  .arch-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .yarn { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strands { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 28px; }
  .clabel { grid-template-columns: 1fr; }
  .cl-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vm-grid, .visit-grid { grid-template-columns: 1fr; }
  .vm-fig { max-width: 820px; }
}

@media (max-width: 900px) {
  /* Arşiv: fotoğraf üstte */
  .arch-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; min-height: 0; }
  .ac-media { aspect-ratio: 16 / 10; }
  .ac-year { margin-top: 18px; padding-top: 0; }
  .ac-txt { margin-bottom: 26px; }
  .ac-stitch { margin-top: auto; }
  .arch-note { display: none; }

  /* Q·C·C: dikey akordeon */
  .qp { flex-direction: column; height: auto; }
  .qp-item { flex: none; flex-direction: column; }
  .qp-item.is-open { flex-grow: 0; }
  .qp-head { flex: none; flex-direction: row; justify-content: flex-start; gap: 16px; padding: 12px 16px; }
  .qp-letter { width: 40px; height: 40px; border-radius: 10px; font-size: 1.15rem; }
  .qp-word { writing-mode: horizontal-tb; transform: none; letter-spacing: .12em; }
  .qp-head::after { content: ""; margin-left: auto; width: 12px; height: 12px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-3px) rotate(45deg); transition: transform .4s var(--ease); }
  .qp-item.is-open .qp-head::after { transform: translateY(3px) rotate(-135deg); }
  .qp-prog { display: none; }
  .qp-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
  .qp-item.is-open .qp-panel { grid-template-rows: 1fr; }
  .qp-inner { width: auto; height: auto; min-height: 0; overflow: hidden; grid-template-columns: 1fr; }
  .qp-text { padding: 24px 22px 26px; }
  .qp-img { aspect-ratio: 16 / 10; order: -1; }
}

@media (max-width: 640px) {
  .ph { padding-top: calc(var(--head) + 22px); }
  .ph-index ol { gap: 4px 18px; }
  .ph-fig { aspect-ratio: 4 / 4.2; }
  .wl { width: 214px; padding: 20px 32px 16px; top: 44%; }
  .wl-logo { height: 34px; }
  .ph-chip { font-size: .74rem; }

  .arch-tabs { padding-inline: 12px; gap: 3px; }
  .arch-tab { flex: 1 1 0; justify-content: center; padding: 11px 4px 10px; font-size: .8rem; }
  .arch-tab.is-active { padding-block: 14px 10px; color: var(--c); }
  .arch-tab i { display: none; }
  .arch-stack { padding-bottom: 26px; }
  .ac-body { padding: 22px 20px 20px; }
  .ac-meta { font-size: .64rem; }

  .yarn { grid-template-columns: 1fr; gap: 28px; }
  .strands li { font-size: .95rem; }
  .clabel { padding: 28px 40px; }
  .clabel::before, .clabel::after { width: 13px; }
  .cl-st-l { left: 22px; }
  .cl-st-r { right: 22px; }
  .cl-list { grid-template-columns: 1fr; }

  .vm-fig { aspect-ratio: 4 / 3.4; }
  .vm-item { gap: 16px; }
  .vm-ico { width: 40px; height: 40px; border-radius: 10px; }
  .visit-list a { padding: 16px; gap: 14px; }
  .vl-ico { width: 42px; height: 42px; }
  .vl-t b { font-size: .96rem; }
}

@media (prefers-reduced-motion: reduce) {
  .rope svg { animation: none; }
  .js .ph-fig .wl { opacity: 1; translate: -50% -50%; rotate: -4deg; }
  .js .ph-fig .wl-st, .js .clabel .cl-st { transform: none; }
}
