.page-projects { overflow-x: clip; }
.page-projects .c-breadcrumb {
  width: min(100%, 1280px);
  margin-inline: auto;
  padding: 24px clamp(16px, 4vw, 40px) 0;
  box-sizing: border-box;
}
.page-projects .c-service-hero { margin-top: 16px; }
.projects-index { margin-top: clamp(48px, 8vw, 80px); }
.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.projects-note { max-width: 760px; margin: 40px auto 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper-2); color: var(--ink-2); font-size: 16px; line-height: 1.6; text-wrap: pretty; }
.page-projects .cta-band-container { margin-top: clamp(48px, 8vw, 80px); }
.project-page { max-width: 1280px; margin: clamp(32px, 6vw, 56px) auto 0; padding-inline: clamp(16px, 4vw, 40px); box-sizing: border-box; }
.page-project { overflow-x: clip; }
.page-project .c-breadcrumb { width: min(100%, 1280px); margin-inline: auto; padding: 24px clamp(16px, 4vw, 40px) 0; box-sizing: border-box; }
.project-badge-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 24px; }
.project-badge { display: inline-flex; align-items: center; min-height: 32px; padding: 8px 12px; border-radius: var(--r-tag); background: var(--pastel-sage); color: var(--ink); font: 600 12px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; box-shadow: var(--shadow-soft); }
.project-page[data-service="tools"] .project-badge { background: var(--pastel-peach); }
.project-context { display: inline-flex; align-items: center; min-height: 32px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-tag); background: var(--paper); color: var(--ink-2); font-size: 13px; }
.project-hero-band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(24px, 5vw, 56px); border-radius: var(--r-stage); background: var(--pastel-sage); background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: var(--grid-size) var(--grid-size); box-shadow: var(--shadow-inner); color: var(--ink); }
.project-page[data-service="tools"] .project-hero-band { background-color: var(--pastel-peach); }
.project-hero-copy { min-width: 0; }
.project-hero-title { max-width: 18ch; margin: 16px 0 0; font: 600 clamp(2.4rem, 5.2vw, 4.25rem)/1.02 var(--font-display); letter-spacing: -.03em; overflow-wrap: anywhere; text-wrap: balance; }
.project-hero-lead { max-width: 60ch; margin: 24px 0 0; font-size: 18px; line-height: 1.55; }
.project-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }
.project-hero-primary, .project-hero-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: var(--r-btn); font-weight: 600; font-size: 16px; line-height: 1.3; text-decoration: none; }
.project-hero-primary { background: var(--ink); color: var(--paper); }
.project-hero-secondary { gap: 8px; padding-inline: 4px; color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.project-hero-primary:focus-visible, .project-hero-secondary:focus-visible { outline: 2px solid var(--honey-deep); outline-offset: 3px; }
.project-hero-visual { min-width: 0; }
.project-hero-captions { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.project-hero-captions li { padding: 6px 10px; border-radius: var(--r-tag); background: rgba(255,255,255,.72); font-size: 13px; color: var(--ink); }
.project-sec { margin-top: clamp(64px, 10vw, 112px); }
.project-sec > .project-sec-head { margin-bottom: 32px; }
.project-sec-eyebrow { margin: 0 0 12px; color: var(--ink-2); font: 600 12px/1.2 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.project-sec-title { margin: 0; font: 600 clamp(2rem, 3.8vw, 3rem)/1.08 var(--font-display); letter-spacing: -.03em; text-wrap: balance; }
.project-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.project-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.project-copy p + p { margin-top: 20px; }
.project-lead-copy { max-width: 60ch; font-size: 19px; line-height: 1.65; }
.project-honest-note { max-width: 720px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--paper-2); color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.project-honest-note strong { color: var(--ink); }
.project-cap-grid { margin-top: 24px; }
.project-next { display: flex; width: 100%; box-sizing: border-box; align-items: center; justify-content: space-between; gap: 24px; padding: 32px clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper-2); box-shadow: var(--shadow-soft); color: var(--ink); text-decoration: none; }
.project-next span:first-child { display: grid; gap: 4px; min-width: 0; }
.project-next-tag { display: inline-flex; align-items: center; min-height: 28px; padding: 6px 10px; border-radius: var(--r-tag); background: var(--paper); color: var(--ink-2); font-size: 12px; font-weight: 600; }
.project-next small { color: var(--ink-2); font: 600 12px/1.2 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.project-next strong { font: 600 clamp(1.3rem, 2.6vw, 1.8rem)/1.2 var(--font-display); letter-spacing: -.03em; }
.project-next .project-next-arrow { flex: none; font-size: 24px; color: var(--honey-deep); }
@media (max-width: 759px) {
  .project-page[data-service=tools] .browser::after { content: 'Ekranı görmek için yana kaydırın ↔'; position: static; inset: auto; display: block; height: auto; border-radius: 0; box-shadow: none; padding: 8px 12px; background: #fff; color: #1d1d1f; font-size: 13px; text-align: center; }
  .project-page[data-service=tools] .browser__screen[data-live="panel"] { aspect-ratio: auto; height: 312.5px; overflow-x: auto; overflow-y: hidden; }
  .project-page[data-service=tools] .browser__screen[data-live="panel"] > img,
  .project-page[data-service=tools] .browser__screen[data-live="panel"] > .live--panel { position: absolute; left: 0; top: 0; width: 500px; height: auto; aspect-ratio: 1440 / 900; max-width: none; }
}
.project-next:focus-visible { outline: 2px solid var(--honey-deep); outline-offset: 3px; }
.project-service-link { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; color: var(--ink); font-weight: 600; text-decoration-color: var(--honey); text-decoration-thickness: 2px; text-underline-offset: 6px; }

.showcase-coffee { overflow: hidden; isolation: isolate; display: grid; grid-template-areas: 'heading' 'visual' 'details' 'outcomes'; gap: 36px; padding: 20px; border-radius: var(--r-panel); background: var(--paper-2); }
.showcase-coffee .project-heading { grid-area: heading; }
.showcase-coffee .project-heading h3 { max-width: 15ch; margin-top: 16px; font-size: clamp(2rem, 3.5vw, 3.25rem); line-height: 1.08; }
.showcase-coffee .project-intro { max-width: 46ch; margin-top: 20px; color: var(--ink-2); }
.showcase-coffee .project-visual { position: relative; isolation: isolate; grid-area: visual; display: flex; align-items: flex-start; justify-content: center; padding: 16px 0 36px; }
.showcase-coffee .device { position: relative; z-index: 1; box-shadow: 0 1px 3px rgba(29,29,31,.10), 0 26px 64px -12px rgba(29,29,31,.32); }
.showcase-coffee .project-device--list { --device-w: min(49%, 280px); }
.showcase-coffee .project-device--detail { --device-w: min(52%, 300px); margin-top: 46px; margin-left: -11%; }
.showcase-coffee .project-details { grid-area: details; }
.showcase-coffee .detail-block + .detail-block { margin-top: 28px; }
.showcase-coffee .detail-block h4 { margin-bottom: 8px; color: var(--ink-2); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.showcase-coffee .detail-block p { color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.showcase-coffee .outcomes { grid-area: outcomes; display: grid; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.showcase-coffee .outcomes li { display: grid; gap: 3px; padding: 18px 0; }
.showcase-coffee .outcomes li + li { border-top: 1px solid var(--line); }
.showcase-coffee .outcomes strong { color: var(--ink); font-size: 15px; font-weight: 600; }
.showcase-coffee .outcomes span { color: var(--ink-2); font-size: 14px; }

.showcase-panel { position: relative; overflow: clip; padding: clamp(28px, 5vw, 72px); border-radius: 32px; background: var(--stage); color: var(--stage-text); }
.showcase-panel .panel-heading { max-width: 640px; color: var(--stage-text); }
.showcase-panel .panel-heading h3 { max-width: 20ch; margin-top: 16px; font-size: clamp(2rem, 3.5vw, 3.25rem); line-height: 1.08; color: var(--paper); }
.showcase-panel .project-intro { max-width: 46ch; margin-top: 20px; color: var(--stage-text); }
.showcase-panel .panel-heading { color: var(--stage-text); }
.showcase-panel .panel-visual { position: relative; isolation: isolate; margin-top: 36px; }
.showcase-panel .browser { position: relative; z-index: 1; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-panel); background: var(--paper-2); box-shadow: 0 1px 2px rgba(29,29,31,.08), 0 24px 60px -12px rgba(29,29,31,.25); }
.showcase-panel .browser::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.10); pointer-events: none; }
.showcase-panel .browser__bar { position: relative; display: flex; align-items: center; justify-content: center; height: 40px; padding: 0 64px; background: #2C2C29; border-bottom: 1px solid rgba(29,29,31,.05); }
.showcase-panel .browser__dots { position: absolute; left: 16px; display: none; gap: 6px; }
.showcase-panel .browser__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--paper); opacity: .18; }
.showcase-panel .browser__address { max-width: 100%; overflow: hidden; padding: 2px 12px; border-radius: 20px; background: #3A3A36; color: #D2D2D7; font-size: 12px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.showcase-panel .browser__screen { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.showcase-panel .browser img { position: absolute; display: block; width: 230%; max-width: none; height: auto; left: -37%; top: -32%; }
.showcase-panel .panel-phone { z-index: 2; --device-w: min(60vw, 260px); position: relative; margin: -24px auto 0; }
.showcase-panel .panel-details { display: grid; margin-top: 40px; border-top: 1px solid rgba(255,255,255,.12); }
.showcase-panel .detail-block { padding: 24px 0; }
.showcase-panel .detail-block + .detail-block { border-top: 1px solid rgba(255,255,255,.12); }
.showcase-panel .detail-block h4 { margin-bottom: 8px; color: #F7D47C; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.showcase-panel .detail-block p { color: var(--stage-text); font-size: 17px; line-height: 1.6; }
.showcase-panel .panel-results { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--stage-text); font-size: 17px; line-height: 1.6; }
.showcase-panel .project--panel .eyebrow { color: #F0C35A; }
.showcase-panel .eyebrow { color: #F0C35A; }
.showcase-panel .project-intro { color: var(--stage-text); }

@media (max-width: 899px) {
  .projects-grid, .project-two, .project-split { grid-template-columns: 1fr; }
  .project-hero-band { grid-template-columns: 1fr; }
  .showcase-coffee .project-device--list { --device-w: min(44%, 220px); }
  .showcase-coffee .project-device--detail { --device-w: min(47%, 235px); margin-left: -14%; }
}
@media (min-width: 760px) {
  .showcase-coffee { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: 'visual heading' 'visual details' 'outcomes outcomes'; column-gap: clamp(36px, 4vw, 56px); padding: clamp(32px, 4vw, 48px); align-items: start; }
  .showcase-coffee .outcomes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 24px; }
  .showcase-coffee .outcomes li { padding: 0; }
  .showcase-coffee .outcomes li + li { border-top: 0; }
  .showcase-coffee .project-visual { align-self: center; }
  .showcase-panel .browser__dots { display: flex; }
  .showcase-panel .browser__screen { aspect-ratio: 1440 / 900; }
  .showcase-panel .browser img { position: static; width: 100%; }
  .showcase-panel .panel-visual { padding-bottom: 7%; }
  .showcase-panel .panel-phone { --device-w: 26%; position: absolute; right: 4%; bottom: 0; margin: 0; }
  .showcase-panel .panel-details { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 80px; }
  .showcase-panel .detail-block + .detail-block { border-top: 0; }
}
@media (min-width: 1080px) {
  .showcase-coffee { grid-template-columns: minmax(0, 1.27fr) minmax(0, 1fr); }
  .showcase-coffee .project-device--detail { margin-top: 64px; }
  .showcase-panel .panel-visual { padding-bottom: 12%; }
  .showcase-panel .panel-phone { --device-w: 19%; right: max(-3%, calc(-1 * clamp(0px, 2vw, 32px))); }
}
@media (hover: hover) { .project-next:hover { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .project-next:hover { transform: none; } .project-next { transition: none; } }
