/* Portfolyo V2: küçük üst navigasyon, sonlu geçişler, değişmeyen veri/medya sözleşmesi. */
.site-identity { display:flex; align-items:center; gap:10px; min-width:0; font-size:clamp(15px,1.35vw,20px); letter-spacing:.12em; white-space:nowrap; }
.site-identity .signature { font:inherit; letter-spacing:inherit; }
#site-section { font:inherit; font-size:.82em; letter-spacing:.04em; }
.section-divider { color:#777; font-weight:400; }
.site-identity [hidden] { display:none; }
.site-header { z-index:60; }
.site-header.has-section { background:#000; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
#view-portfolio [hidden] { display: none !important; }
#view-portfolio button { font: inherit; color: inherit; cursor: pointer; }
#view-portfolio button:focus-visible, #view-portfolio .project-link:focus-visible { outline: 1px solid #fff; outline-offset: 5px; }
.portfolio-tabs { position:sticky; top:var(--header-h); z-index:25; display:flex; justify-content:center; align-items:center; background:#000; box-shadow:0 -2px 0 #000; border-bottom:1px solid #333; margin:24px calc(var(--edge) * -1) 16px; padding-inline:var(--edge); }
.portfolio-tabs button { position:relative; flex:0 1 auto; border:0; background:none; padding:16px 36px; font-size:15px !important; letter-spacing:.01em; color:#929292 !important; transition:color .16s,text-shadow .16s; }
.portfolio-tabs button + button::before { content:''; position:absolute; left:0; top:calc(50% - 9px); height:18px; width:1px; background:#555; }
.portfolio-tabs button[aria-selected='true'] { color:#fff !important; }
.portfolio-tabs button::after { content:''; position:absolute; left:36px; right:36px; bottom:0; height:1px; background:#ddd; opacity:0; transform:scaleX(.6); transition:transform .16s,opacity .16s; }
.portfolio-tabs button[aria-selected='true']::after, .portfolio-tabs button:hover::after { opacity:1; transform:scaleX(1); }
.portfolio-tabs button:hover { color:#fff !important; text-shadow:0 0 8px #ffffff50; }
#view-portfolio .section-description { max-width: 650px; margin-bottom: 24px; font-size: 12px; }
#view-portfolio .project-link { display: block; }
#view-portfolio .project-visual { height: auto; aspect-ratio: 8 / 5; border: 1px solid #242424; transition: border-color .16s; }
#view-portfolio .project-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.project-tag { position: absolute; bottom: 15px; left: 17px; font: 9px monospace; letter-spacing: .12em; background: #000d; padding: 7px 9px; border: 1px solid #444; }
.project-link:hover .project-visual { border-color: #9b9b9b; }
#view-portfolio .project-meta { padding-top: 14px; }
#view-portfolio .project-meta strong { font-size: clamp(18px,1.6vw,28px); letter-spacing: -.035em; }
.portfolio-more { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 40px; min-height: 48px; font: 11px monospace; color: #999; }
.portfolio-more button { border: 1px solid #444; padding: 16px 20px; background: #080808; font: 10px monospace !important; letter-spacing: .1em; }
.portfolio-more button:hover { border-color: #ccc; }
#portfolio-notice { font-size: 14px; color: #bbb; }
.detail-back { display: inline-block; margin: 30px 0; padding: 8px 0; }
.project-detail-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: clamp(24px,3vw,58px); align-items: start; }
.project-stage { min-width: 0; position: relative; background: #090909; border: 1px solid #262626; }
.project-media-frame { position:relative; width:100%; aspect-ratio:8 / 5; overflow:hidden; background:#080808; }
.project-media-frame > img, .project-media-frame > video { display:block; position:absolute; inset:0; width:100%; height:100%; object-fit:contain; background:#080808; }
.project-media-frame > .project-preview { object-fit:cover; }
.project-main-image { opacity:0; transition:opacity .18s ease; }
.project-main-image.is-ready { opacity:1; }
.is-flight-target { opacity:0 !important; }
.is-motion-held { opacity:0; }
.portfolio-flight { position:fixed; z-index:45; overflow:hidden; pointer-events:none; background:#080808; transform-origin:0 0; }
.portfolio-flight img { display:block; width:100%; height:100%; }
.project-hover { position:absolute; inset:0 0 auto; height:68%; padding:clamp(18px,2vw,36px); display:flex; flex-direction:column; align-items:flex-start; gap:10px; background:linear-gradient(#000e,#0009 58%,#0000); opacity:0; transform:translateY(-102%); transition:transform .32s cubic-bezier(.22,.72,.18,1),opacity .22s; pointer-events:none; }
.project-hover strong { font-weight:400; font-size:clamp(24px,2.5vw,46px); letter-spacing:-.04em; line-height:1.1; }
.project-hover .eyebrow, .project-hover-link { font:10px monospace; letter-spacing:.12em; color:#ddd; }
.project-link:hover .project-hover, .project-link:focus-visible .project-hover { transform:translateY(0); opacity:1; }
.is-morphing #portfolio-browser, .is-morphing #portfolio-detail { pointer-events:none; }
.project-information { min-width: 0; }
.project-information .eyebrow { margin-top: 0; line-height: 1.6; }
.detail-title { font-size: clamp(35px,4vw,74px); line-height: 1.02; font-weight: 400; letter-spacing: -.055em; margin: 18px 0 24px; overflow-wrap: anywhere; }
.detail-description { font-size: clamp(14px,1.1vw,17px); color: #bbb; line-height: 1.75; max-width: 550px; white-space: pre-line; overflow-wrap: anywhere; }
.project-facts { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 12px 24px; border-block: 1px solid #333; padding-block: 20px; margin-block: 26px; font: 11px/1.5 monospace; }
.project-facts dt { color: #888; }
.project-facts dd { margin: 0; overflow-wrap: anywhere; }
.gallery-label { margin: 30px 0 14px; }
.gallery-thumbnails { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.gallery-thumb { display: block; padding: 0; background: #0b0b0b; border: 1px solid #333; aspect-ratio: 16 / 11; min-width: 0; }
.gallery-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gallery-thumb[aria-pressed='true'] { border: 2px solid #eee; }
.gallery-thumb:hover { border-color: #aaa; }
.media-status { min-height: 30px; margin: 0; padding: 13px 16px; color: #aaa; font: 10px/1.6 monospace; }
.media-action { display: block; margin: 0 16px 16px; max-width: calc(100% - 32px); padding: 15px 18px; background: #eee; border: 1px solid #eee; color: #000 !important; font: 11px monospace !important; }
.model-placeholder { border-top: 1px solid #333; padding: 22px; color: #bbb; font-size: 15px; line-height: 1.6; }
.model-placeholder small { color: #999; }
.media-failed { color: #ccc; }
@media (max-width: 900px) {
  .project-detail-layout { grid-template-columns: minmax(0,1fr); }
  .gallery-thumbnails { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .detail-title { font-size: clamp(35px,8vw,60px); }
}
@media (max-width: 900px), (max-aspect-ratio: 4/5) {
  .site-identity { font-size:clamp(14px,3.6vw,22px); letter-spacing:.08em; }
}
@media (max-width: 480px) {
  .portfolio-tabs { margin-top:18px; }
  .portfolio-tabs button { font-size:13px !important; padding:15px 22px; }
  .portfolio-tabs button::after { left:22px; right:22px; }
  .site-identity { gap:6px; letter-spacing:.04em; }
  #site-section { font-size:.76em; letter-spacing:0; }
  .portfolio-more { flex-wrap: wrap; }
  #view-portfolio .project-meta { flex-direction: row; align-items: center; }
  #view-portfolio .project-meta span { font-size: 9px; }
  .gallery-thumbnails { gap: 7px; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .project-facts { gap: 10px; font-size: 10px; }
}
@media (max-width: 359px) {
  .site-identity { font-size:13.5px; gap:4px; letter-spacing:.015em; }
  #site-section { font-size:11px; }
}
@media (max-height: 560px) {
  .site-identity { font-size:clamp(14px,2.2vw,17px); letter-spacing:.08em; }
}
/* Portfolyo V3: aktif kategori filtresi, sağdan açılan yan panel, alt kategoriler ve bağlı filtreler. */
#portfolio-categories-link { white-space:nowrap; flex-shrink:0; }
.portfolio-active-filter { display:flex; align-items:center; justify-content:space-between; gap:16px; border-block:1px solid #2a2a2a; padding:12px 0; margin:0 0 28px; font:11px/1.4 monospace; letter-spacing:.1em; color:#d8d8d6; }
.portfolio-active-filter__label { min-width:0; overflow-wrap:anywhere; }
.portfolio-active-filter__reset { flex-shrink:0; font:10px monospace; letter-spacing:.12em; color:#aaa; border-bottom:1px solid transparent; padding:4px 0; transition:color .16s,border-color .16s; }
.portfolio-active-filter__reset:hover, .portfolio-active-filter__reset:focus-visible { color:#fff; border-bottom-color:#fff; }
.portfolio-active-filter__reset span { margin-left:4px; font-size:13px; }
.portfolio-empty-state { border:1px solid #262626; padding:clamp(28px,4vw,46px) 24px; margin:8px 0 28px; background:#080808; font:12px/1.6 monospace; letter-spacing:.08em; color:#a8a8a6; text-align:center; }
.portfolio-categories { position:fixed; top:0; right:0; bottom:0; width:25%; min-width:300px; z-index:75; margin:0; padding:clamp(22px,3.2vh,36px) clamp(14px,1.6vw,26px); background:rgba(5,5,5,.96); border-left:1px solid #2b2b2b; box-shadow:-20px 0 50px rgba(0,0,0,.85); display:flex; flex-direction:column; overflow-y:auto; overflow-x:hidden; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#555 #0a0a0a; }
.categories-panel-top { display:flex; align-items:center; justify-content:space-between; gap:10px; border-bottom:1px solid #2a2a2a; padding-bottom:14px; margin-bottom:16px; }
.categories-eyebrow { display:block; margin:0; font-size:10px; color:#888; min-width:0; overflow-wrap:anywhere; }
.categories-close { flex-shrink:0; border:0; background:none; padding:6px 0; font:10px monospace !important; letter-spacing:.12em; color:#aaa !important; white-space:nowrap; transition:color .16s; }
.categories-close:hover, .categories-close:focus-visible { color:#fff !important; }
.categories-header { display:flex; flex-direction:column; gap:14px; padding-bottom:16px; }
.categories-heading-group { min-width:0; }
.categories-title { margin:0; font-size:clamp(14px,1.3vw,20px); font-weight:400; letter-spacing:-.02em; line-height:1.25; color:#f6f6f4; overflow-wrap:anywhere; }
.categories-section-switch { display:flex; align-items:center; width:100%; border-bottom:1px solid #333; }
.categories-section-switch button { position:relative; flex:1 1 0; min-width:0; border:0; background:none; padding:11px 6px; font-size:clamp(11px,0.9vw,13px) !important; letter-spacing:.01em; color:#929292 !important; transition:color .16s,text-shadow .16s; text-align:center; overflow-wrap:anywhere; }
.categories-section-switch button + button::before { content:''; position:absolute; left:0; top:calc(50% - 8px); height:16px; width:1px; background:#555; }
.categories-section-switch button[aria-selected='true'] { color:#fff !important; }
.categories-section-switch button::after { content:''; position:absolute; left:10%; right:10%; bottom:0; height:1px; background:#ddd; opacity:0; transform:scaleX(.6); transition:transform .16s,opacity .16s; }
.categories-section-switch button[aria-selected='true']::after, .categories-section-switch button:hover::after { opacity:1; transform:scaleX(1); }
.categories-section-switch button:hover { color:#fff !important; text-shadow:0 0 8px #ffffff50; }
.category-list { list-style:none; margin:0; padding:0; border-top:1px solid #333; }
.category-item { border-bottom:1px solid #242424; }
.category-item--linked-parent { background:rgba(255,255,255,.025); }
.category-row { display:flex; align-items:center; gap:10px; min-width:0; }
.category-chevron, .category-chevron-spacer { flex-shrink:0; width:34px; height:34px; display:inline-flex; align-items:center; justify-content:center; }
.category-chevron { border:1px solid transparent; background:none; padding:0; color:#969696 !important; transition:color 160ms ease,border-color 160ms ease; }
.category-chevron:hover, .category-chevron:focus-visible { color:#fff !important; border-color:#3a3a3a; }
.category-chevron__icon { display:inline-block; font:400 18px/1 monospace; transform:rotate(0deg); transition:transform 180ms ease; }
.category-chevron[aria-expanded='true'] .category-chevron__icon { transform:rotate(90deg); color:#fff; }
.category-link { flex:1 1 auto; display:flex; align-items:baseline; justify-content:space-between; gap:10px; padding:clamp(11px,1.5vh,16px) 0; color:#cfcfcd; transition:color .18s ease,transform .18s ease; min-width:0; }
.category-link__main { display:flex; align-items:baseline; gap:clamp(8px,0.9vw,12px); min-width:0; flex:1 1 auto; }
.category-link__index { flex-shrink:0; font:10px monospace; letter-spacing:.1em; color:#787878; min-width:18px; }
.category-link__text { min-width:0; display:flex; flex-direction:column; gap:4px; }
.category-link__name { font-family:'Century Gothic','Avenir Next',Arial,sans-serif; font-size:clamp(13px,1.15vw,18px); font-weight:400; letter-spacing:-.02em; line-height:1.22; -webkit-text-stroke:1px transparent; paint-order:stroke fill; transition:text-shadow .18s,-webkit-text-stroke-color .18s,color .18s; overflow-wrap:anywhere; }
.category-link__desc { font-size:11px; line-height:1.45; color:#969696; overflow-wrap:anywhere; }
.category-link__meta { flex-shrink:0; display:flex; align-items:baseline; gap:6px; font:10px monospace; letter-spacing:.08em; color:#8e8e8e; transition:color .18s; white-space:nowrap; }
.category-link__arrow { font-size:13px; opacity:.45; transform:translateX(-4px); transition:opacity .18s,transform .18s; }
.category-link:hover, .category-link:focus-visible { color:#fff; transform:translateX(3px); }
.category-link:hover .category-link__name, .category-link:focus-visible .category-link__name { color:#fff; -webkit-text-stroke-color:#fff; text-shadow:0 0 7px #ffffff75,0 0 16px #d9e7ef40; }
.category-link:hover .category-link__meta, .category-link:focus-visible .category-link__meta { color:#fff; }
.category-link:hover .category-link__arrow, .category-link:focus-visible .category-link__arrow { opacity:1; transform:translateX(0); }
.category-link[aria-current='true'] .category-link__name, .category-link[aria-current='true'] .category-link__index { color:#fff; }
.category-link[aria-current='true'] .category-link__meta { color:#ddd; }
.subcategory-drawer { display:grid; grid-template-rows:0fr; opacity:0; visibility:hidden; transition:grid-template-rows 190ms ease,opacity 170ms ease,visibility 190ms; }
.subcategory-drawer.is-open { grid-template-rows:1fr; opacity:1; visibility:visible; }
.subcategory-drawer__inner { min-height:0; overflow:hidden; }
.linked-filter-banner { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:2px 0 6px 44px; padding:6px 10px; border-left:2px solid #dcdcd8; background:#121212; font:10px/1.35 monospace; letter-spacing:.09em; color:#e5e5e2; }
.subcategory-list { list-style:none; margin:0 0 10px; padding:0 0 0 44px; }
.subcategory-item { border-top:1px solid #1b1b1b; }
.subcategory-link { display:flex; align-items:baseline; justify-content:space-between; gap:10px; padding:8px 0; color:#a4a4a2; font-size:clamp(11px,0.92vw,13px); line-height:1.35; transition:color 150ms ease,transform 150ms ease; min-width:0; }
.subcategory-link__name { min-width:0; overflow-wrap:anywhere; }
.subcategory-link__count { flex-shrink:0; font:10px monospace; letter-spacing:.08em; color:#7d7d7d; }
.subcategory-link:hover, .subcategory-link:focus-visible { color:#fff; transform:translateX(3px); }
.subcategory-link:hover .subcategory-link__count, .subcategory-link:focus-visible .subcategory-link__count { color:#ddd; }
.subcategory-link[aria-current='true'] { color:#fff; font-weight:700; }
.subcategory-link[aria-current='true'] .subcategory-link__name::before { content:'— '; color:#fff; font-weight:400; }
.subcategory-link[aria-current='true'] .subcategory-link__count { color:#fff; font-weight:400; }
.categories-empty-note { margin:18px 0 0; font:10px/1.6 monospace; letter-spacing:.06em; color:#8c8c8c; overflow-wrap:anywhere; }
.is-category-switching { animation:categorySwitchPulse .18s steps(3,end) both; }
@keyframes categorySwitchPulse { 0% { opacity:.35; transform:translateX(14px); } 55% { opacity:.85; transform:translateX(-2px); } 100% { opacity:1; transform:translateX(0); } }
@media (max-width: 900px) {
  .portfolio-categories { width:min(86vw,350px); min-width:0; }
  .category-chevron, .category-chevron-spacer { width:40px; height:40px; min-width:40px; min-height:40px; }
  .category-link, .subcategory-link { min-height:40px; align-items:center; }
  .linked-filter-banner, .subcategory-list { margin-left:0; padding-left:50px; }
  .linked-filter-banner { margin-left:50px; padding-left:10px; }
}
@media (max-width: 480px) {
  .portfolio-active-filter { flex-wrap:wrap; gap:10px; }
  .portfolio-categories { width:min(90vw,330px); padding-inline:12px; }
  .category-link__name { font-size:13px; }
  .categories-title { font-size:14px; }
  .subcategory-list { padding-left:44px; }
  .linked-filter-banner { margin-left:44px; }
}
@media (prefers-reduced-motion: reduce) {
  #view-portfolio * { transition: none !important; animation: none !important; }
  .category-link:hover, .category-link:focus-visible, .subcategory-link:hover, .subcategory-link:focus-visible { transform: none; }
}
