/* ============================================================
   Rızahan Osman — v7 · Garaj / gösterge paneli
   studio.css üzerine yüklenir (iç sayfalar studio'yu kullanır)
   ============================================================ */
:root {
    --night: #0c0d0e;
    --amber: #ff9d1c;
    --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
}

.g-sec h2, .g-sec h3 { color: inherit; }

/* ---------- ortak ---------- */
.g-sec { padding: 112px 0; position: relative; }
.g-light { background: transparent; }
.g-night { background: var(--night); color: #e9e6df; }
.g-amber { background: var(--amber); color: #15191c; }

.g-head { display: flex; align-items: flex-end; gap: 22px; margin-bottom: 56px; padding-bottom: 18px; border-bottom: 2px solid currentColor; }
.g-no { font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; opacity: .55; padding-bottom: 12px; }
.g-head h2 { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: clamp(3rem, 8vw, 7rem); line-height: .9; letter-spacing: -.005em; }

.g-link { display: inline-block; font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color .15s; }
.g-link:hover { color: var(--copper); }
.g-night .g-link { color: var(--amber); }
.g-night .g-link:hover { color: #fff; }
.g-amber .g-link { color: #15191c; border-bottom-width: 2px; }
.g-btn { display: inline-block; font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; padding: 14px 22px; background: var(--ink); color: #fff; transition: background .15s; }
.g-btn:hover { background: var(--copper); }
.g-more { margin-top: 44px; }

/* ---------- kadran (hero) ---------- */
.g-hero { position: relative; background: var(--night); color: #f2efe8; min-height: min(calc(78svh - 60px), 620px); display: flex; overflow: hidden; isolation: isolate; }
.dial { position: absolute; z-index: -1; width: min(720px, 60vw); right: -6vw; top: 50%; transform: translateY(-50%); opacity: .75; }
.dial .ring { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 2; }
.dial .redzone { fill: none; stroke: var(--amber); stroke-width: 10; }
.dial line.min { stroke: rgba(255, 255, 255, .22); stroke-width: 2; }
.dial line.maj { stroke: #f2efe8; stroke-width: 6; }
.dial line.red { stroke: var(--amber); stroke-width: 5; }
.dial text { fill: rgba(242, 239, 232, .5); font-family: var(--cond); font-weight: 700; font-size: 52px; text-anchor: middle; dominant-baseline: central; }
.dial text.unit { font-family: var(--mono); font-weight: 400; font-size: 18px; letter-spacing: 3px; fill: rgba(242, 239, 232, .3); }
.dial .needle { transform-origin: 500px 500px; transform: rotate(-186deg); animation: rev 2.4s cubic-bezier(.25, .8, .25, 1) .35s both, idle 1.4s ease-in-out 2.8s infinite alternate; }
.dial .needle line { stroke: var(--amber); stroke-width: 9; stroke-linecap: round; }
.dial .needle circle { fill: var(--night); stroke: var(--amber); stroke-width: 7; }
@keyframes rev { 0% { transform: rotate(-225deg); } 42% { transform: rotate(22deg); } 58% { transform: rotate(-35deg); } 100% { transform: rotate(-186deg); } }
@keyframes idle { from { transform: rotate(-186deg); } to { transform: rotate(-181deg); } }

.g-hero-in { display: flex; flex-direction: column; justify-content: flex-end; gap: 32px; width: 100%; padding-top: 48px; padding-bottom: 44px; }
.g-meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(242, 239, 232, .55); }
.g-name { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: clamp(3.6rem, 9.5vw, 9rem); line-height: .86; letter-spacing: -.01em; color: #f2efe8; }
.g-name span { display: block; }
.g-name i { font-style: normal; color: var(--amber); }
.g-roles { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid rgba(242, 239, 232, .22); max-width: 760px; }
.g-roles p { font-family: var(--mono); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(242, 239, 232, .75); }
.g-roles p i { font-style: normal; color: var(--amber); margin: 0 10px; }
.g-roles em { display: block; font-style: normal; font-family: var(--mono); font-size: .72rem; color: var(--amber); margin-bottom: 6px; }
.g-roles b { display: block; font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1; }
.g-roles span { font-size: .9rem; color: rgba(242, 239, 232, .6); }
.g-lap { border: 1px solid var(--amber); padding: 8px 14px 7px; text-align: right; transition: background .15s, color .15s; }
.g-lap span { display: block; font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.g-lap b { display: block; font-family: var(--cond); font-weight: 800; font-size: 2.2rem; line-height: .95; }
.g-lap:hover { background: var(--amber); color: var(--night); }
.g-lap:hover span { color: var(--night); }

/* ---------- çalışmalar: boyutlu karolar ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 118px; gap: 14px; grid-auto-flow: dense; }
.tile { position: relative; overflow: hidden; display: block; background: #1a1c1e; }
.t-xl { grid-column: span 4; grid-row: span 3; }
.t-tall { grid-column: span 2; grid-row: span 3; }
.t-wide { grid-column: span 3; grid-row: span 2; }
.t-md { grid-column: span 2; grid-row: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.tile.fit { background: #fff; border: 1px solid var(--line); }
.tile.fit img { object-fit: contain; padding: 18px 18px 64px; }
.tile:hover img { transform: scale(1.04); }
.plate { position: absolute; left: 0; bottom: 0; max-width: 92%; display: flex; flex-direction: column; gap: 2px; padding: 10px 16px 12px; background: var(--night); color: #fff; transition: background .2s, color .2s; }
.plate-y { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); transition: color .2s; }
.plate b { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: 1.6rem; line-height: 1; }
.t-xl .plate b { font-size: 2.8rem; }
.tile:hover .plate { background: var(--amber); color: var(--night); }
.tile:hover .plate-y { color: var(--night); }

/* kayıt defteri */
.log { margin-top: 104px; }
.log-cap { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.log-row { border-bottom: 1px solid var(--line); }
.log-head { width: 100%; display: grid; grid-template-columns: 52px 104px 1fr 160px 32px; align-items: baseline; gap: 16px; padding: 16px 0; background: none; border: 0; text-align: left; cursor: pointer; color: inherit; }
.log-no { font-family: var(--mono); font-size: .76rem; color: var(--faint); }
.log-y { font-family: var(--mono); font-size: .84rem; color: var(--copper); }
.log-t { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 4.4vw, 3.4rem); line-height: .95; transition: transform .35s cubic-bezier(.2, .8, .2, 1), color .2s; }
.log-c { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.log-x { font-family: var(--cond); font-size: 2.2rem; line-height: 1; text-align: right; transition: transform .3s; }
.log-row:hover .log-t { transform: translateX(14px); color: var(--copper); }
.log-row.open .log-x { transform: rotate(45deg); }
.log-body { max-height: 0; overflow: hidden; padding-left: 172px; transition: max-height .45s ease, padding .3s; }
.log-row.open .log-body { max-height: 640px; padding-bottom: 26px; }
.log-body p { max-width: 640px; color: var(--muted); font-size: 1.02rem; margin-bottom: 12px; }
.log-img { display: none; width: 100%; max-width: 420px; margin-bottom: 14px; border: 1px solid var(--line); background: #fff; }
@media (hover: none) { .log-img { display: block; } }

.peek { position: fixed; left: 0; top: 0; z-index: 60; width: 340px; aspect-ratio: 4 / 3; pointer-events: none; opacity: 0; overflow: hidden; background: #fff; border: 1px solid var(--night); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); transition: opacity .2s; }
.peek.on { opacity: 1; }
.peek img { width: 100%; height: 100%; object-fit: cover; }
.peek.contain img { object-fit: contain; padding: 14px; }

/* ---------- ödüller (amber blok) ---------- */
.award-x { display: grid; grid-template-columns: 1.25fr 1fr 280px; gap: 40px; align-items: end; padding: 44px 0; border-top: 2px solid #15191c; }
.g-head + .award-x { border-top: 0; padding-top: 8px; }
.ax-big { white-space: nowrap; font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: clamp(3.4rem, 8vw, 7.6rem); line-height: .82; letter-spacing: -.015em; }
.ax-tag { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.ax-info h3 { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: 1.8rem; line-height: 1; margin: 8px 0 10px; }
.ax-info p { color: rgba(21, 25, 28, .78); font-size: .98rem; margin-bottom: 14px; }
.ax-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 2px solid #15191c; filter: grayscale(1) contrast(1.15); mix-blend-mode: multiply; transition: filter .3s; }
.award-x:hover .ax-img { filter: none; mix-blend-mode: normal; }

/* ---------- Ivarium vaka ---------- */
.case { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
.case-img img { width: 100%; border: 1px solid var(--line); background: #fff; }
.case-lead { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: 2.4rem; line-height: 1; margin-bottom: 18px; color: var(--ink); }
.case-txt p { color: var(--muted); margin-bottom: 14px; }
.case-txt .case-lead { color: var(--ink); }
.case-team { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--faint) !important; }
.track { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin: 30px 0 36px; position: relative; }
.track::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--ink); }
.track li { position: relative; padding: 28px 12px 0 0; }
.track li::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.track li:last-child::before { background: var(--amber); }
.track span { display: block; font-family: var(--mono); font-size: .74rem; color: var(--copper); }
.track b { display: block; font-size: .95rem; font-weight: 600; line-height: 1.3; }

/* ---------- görsel şeridi ---------- */
.strip-nav { margin-left: auto; display: flex; gap: 8px; padding-bottom: 8px; }
.strip-nav button { width: 48px; height: 48px; border: 1px solid currentColor; background: transparent; color: inherit; font-size: 1.2rem; cursor: pointer; transition: background .15s, color .15s; }
.strip-nav button:hover { background: var(--amber); border-color: var(--amber); color: var(--night); }
.strip { display: flex; gap: 18px; overflow-x: auto; padding: 0 max(28px, calc((100vw - 1140px) / 2 + 28px)) 26px; scroll-padding-inline: max(28px, calc((100vw - 1140px) / 2 + 28px)); scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #444 transparent; }
.strip figure { flex: 0 0 auto; scroll-snap-align: start; }
.strip img { height: clamp(220px, 26vw, 340px); aspect-ratio: 16 / 10; width: auto; object-fit: cover; border: 1px solid rgba(255, 255, 255, .12); transition: opacity .2s; }
.strip a:hover img { opacity: .85; }
.strip figcaption { margin-top: 10px; font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(233, 230, 223, .55); }
.strip figcaption b { color: #fff; font-weight: 500; margin-right: 8px; }

/* ---------- pist: zamanlama panosu ---------- */
.pit { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; margin-bottom: 72px; }
.board { position: relative; background: #050505; border: 10px solid #1d1f21; box-shadow: 0 0 0 1px #2c2e30; padding: 18px 26px; font-family: var(--mono); color: var(--amber); }
.board::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(0, 0, 0, .38) 1px, transparent 1.4px); background-size: 4px 4px; }
.b-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 12px 0; border-bottom: 1px dashed rgba(255, 157, 28, .25); }
.b-row:last-child { border-bottom: 0; }
.b-row span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.b-row b { font-weight: 500; text-align: right; text-transform: uppercase; letter-spacing: .04em; }
.b-big b { font-family: var(--cond); font-weight: 800; font-size: clamp(3.6rem, 7vw, 5.6rem); line-height: .9; letter-spacing: .02em; }
.g-pit .shorts { display: flex; gap: 14px; overflow-x: auto; padding: 0 0 12px; }
.g-pit .yt.short { flex: 0 0 156px; }
.g-night .yt-thumb { border-color: rgba(255, 255, 255, .12); }
.g-night .yt-title { color: #e9e6df; }
.g-night .yt-play .icon { background: var(--amber); color: var(--night); }

/* ---------- basında ---------- */
.press { list-style: none; border-top: 2px solid var(--ink); }
.press a { display: grid; grid-template-columns: 240px 1fr 30px; gap: 20px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding .25s; }
.press span { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.press b { font-family: var(--cond); font-weight: 600; font-size: 1.65rem; line-height: 1.1; transition: color .15s; }
.press i { font-style: normal; text-align: right; color: var(--faint); }
.press a:hover { padding-left: 10px; }
.press a:hover b { color: var(--copper); }

/* ---------- iletişim ---------- */
.g-contact { background: var(--night); color: #f2efe8; padding: 120px 0 96px; }
.g-mail { display: inline-block; font-family: var(--cond); font-weight: 800; font-size: clamp(2.2rem, 7.4vw, 7rem); line-height: .95; letter-spacing: -.01em; overflow-wrap: anywhere; border-bottom: 3px solid var(--amber); padding-bottom: 6px; transition: color .2s; }
.g-mail:hover { color: var(--amber); }
.g-socials { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 44px; font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.g-socials a { color: rgba(242, 239, 232, .65); }
.g-socials a:hover { color: var(--amber); }
.footer { background: var(--night); }

/* ---------- sabit gösterge ---------- */
.gauge { position: fixed; right: 22px; bottom: 22px; z-index: 55; width: 112px; text-align: center; opacity: 0; transform: translateY(16px); transition: opacity .3s, transform .3s; pointer-events: none; }
.gauge.on { opacity: 1; transform: none; }
.gauge svg { width: 100%; display: block; }
.gz-bg { fill: var(--night); stroke: rgba(255, 255, 255, .14); stroke-width: 1; }
.gz-arc { fill: none; stroke: rgba(255, 255, 255, .3); stroke-width: 3; }
.gz-red { fill: none; stroke: var(--amber); stroke-width: 4; }
.gz-needle { transform-origin: 60px 60px; transform: rotate(-200deg); transition: transform .3s cubic-bezier(.3, .7, .3, 1); }
.gz-needle line { stroke: var(--amber); stroke-width: 3; stroke-linecap: round; }
.gz-needle circle { fill: var(--amber); }
.gz-gear { fill: #fff; font-family: var(--cond); font-weight: 800; font-size: 30px; text-anchor: middle; }
.gz-name { display: inline-block; margin-top: 6px; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; background: var(--night); color: #fff; padding: 3px 8px; }

/* ---------- duyarlı ---------- */
@media (max-width: 960px) {
    .g-roles { grid-template-columns: repeat(2, 1fr); }
    .g-lap { justify-self: start; text-align: left; }
    .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
    .t-xl, .t-wide { grid-column: span 2; grid-row: span 2; }
    .t-tall, .t-md { grid-column: span 1; grid-row: span 2; }
    .t-xl .plate b { font-size: 2rem; }
    .award-x { grid-template-columns: 1fr; gap: 20px; }
    .ax-img { max-width: 380px; }
    .case, .pit { grid-template-columns: 1fr; gap: 40px; }
    .log-head { grid-template-columns: 36px 76px 1fr 28px; gap: 12px; }
    .log-c { display: none; }
    .log-body { padding-left: 0; }
    .press a { grid-template-columns: 1fr 24px; gap: 4px 12px; }
    .press span, .press b { grid-column: 1; }
    .press i { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 620px) {
    .g-sec { padding: 72px 0; }
    .g-roles { grid-template-columns: 1fr; }
    .dial { width: 150vw; right: -62vw; opacity: .55; }
    .bento { grid-template-columns: 1fr; grid-auto-rows: 200px; }
    .t-xl, .t-wide, .t-tall, .t-md { grid-column: span 1; grid-row: span 1; }
    .log-head { grid-template-columns: 64px 1fr 24px; }
    .log-no { display: none; }
    .gauge { width: 80px; right: 12px; bottom: 12px; }
    .strip-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .dial .needle { animation: none; transform: rotate(-186deg); }
    .gz-needle, .log-t, .tile img { transition: none; }
}

/* ---------- 3D ve oyun vitrinleri ---------- */
.sub-h { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; padding-bottom: 12px; margin-bottom: 20px; border-bottom: 1px solid rgba(233, 230, 223, .22); }
.sub-h h3 { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1; }
.sub-h p { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(233, 230, 223, .55); }
.sub-gap { margin-top: 96px; }
.show-hero { margin: 0; }
.show-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border: 1px solid rgba(255, 255, 255, .12); }
.process { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.process figure { margin: 0 0 10px; }
.process img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid rgba(255, 255, 255, .12); }
.process .cz img { object-fit: contain; background: #fff; padding: 12px; }
.process span { font-family: var(--mono); font-size: .72rem; color: var(--amber); margin-right: 10px; }
.process b { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: 1.3rem; }
.strip-wrap { margin-top: 56px; }
.strip-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(233, 230, 223, .55); }
.strip-bar .strip-nav { margin-left: 0; padding-bottom: 0; }
.vs { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; align-items: start; }
.vs-y { display: block; font-family: var(--cond); font-weight: 800; font-size: clamp(3.6rem, 7vw, 6rem); line-height: .85; color: rgba(233, 230, 223, .35); margin-bottom: 14px; }
.vs-col.now .vs-y { color: var(--amber); }
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.vs-grid a:first-child { grid-column: span 2; }
.vs-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid rgba(255, 255, 255, .12); transition: opacity .2s; }
.vs-col:not(.now) .vs-grid img { filter: grayscale(.35) contrast(.95); }
.vs-grid a:hover img { opacity: .85; }
.sal { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; gap: 12px; grid-auto-flow: dense; }
.sal a { display: block; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); background: #000; }
.sal img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.sal a:hover img { transform: scale(1.04); }
.s-big { grid-column: span 2; grid-row: span 2; }
.s-wide { grid-column: span 2; }
.s-logo img { object-fit: contain; padding: 18px; }
@media (max-width: 960px) {
    .process { grid-template-columns: repeat(2, 1fr); }
    .vs { grid-template-columns: 1fr; }
    .sal { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
}
@media (max-width: 620px) {
    .show-hero img { aspect-ratio: 16 / 10; }
    .sal { grid-auto-rows: 120px; }
}
.vs-col.now .vs-grid { grid-template-columns: repeat(3, 1fr); }
.vs-col.now .vs-grid a:first-child { grid-column: span 3; }

/* Ivarium zaman çizelgesi: dikey */
.track { display: block; margin: 26px 0 34px; padding-left: 26px; }
.track::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; }
.track li { padding: 0 0 16px 0; }
.track li::before { left: -26px; top: 3px; }
.track li:last-child::before { background: var(--paper); }
.track li.last::before { background: var(--amber); }
.track b a { border-bottom: 1px solid var(--line-strong); }
.track b a:hover { color: var(--copper); border-color: var(--copper); }
