:root {
  color-scheme: light dark;
  --bg: #f1f2ef;
  --surface: #fbfcf9;
  --surface-2: #e5e7e2;
  --ink: #171918;
  --muted: #5d625e;
  --line: #c9cdc8;
  --accent: #f27622;
  --accent-ink: #201108;
  --dark: #171918;
  --dark-ink: #f5f6f2;
  --radius: 16px;
  --shadow: 0 24px 80px rgb(34 39 35 / .16);
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121413;
    --surface: #1b1e1c;
    --surface-2: #252925;
    --ink: #f1f3ee;
    --muted: #aeb5ae;
    --line: #3a403b;
    --shadow: 0 24px 80px rgb(0 0 0 / .35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); }
body, button, input { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 30; padding: .75rem 1rem; background: var(--surface); border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: 0 max(20px, calc((100vw - 1180px) / 2)); background: color-mix(in srgb, var(--bg) 88%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.brand { justify-self: start; width: 102px; height: 52px; overflow: hidden; }
.brand img { width: 78px; height: 52px; object-fit: contain; object-position: center; }
.site-header nav { display: flex; gap: 1.5rem; }
.site-header nav a, .text-link { text-decoration: none; font-weight: 700; }
.site-header nav a:hover, .text-link:hover { color: var(--accent); }
.site-header > .button { justify-self: end; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.2rem; color: #201108; background: var(--accent); border: 0; border-radius: 10px; font-weight: 800; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .18s ease, filter .18s ease; }
.button:hover { filter: brightness(1.05); transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.button-small { min-height: 40px; padding: .6rem 1rem; }

.hero { min-height: calc(100dvh - 72px); display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3rem, 7vw, 5.5rem); }
.eyebrow { margin: 0 0 1rem; color: var(--accent); font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { max-width: 11ch; margin: 0; font-size: clamp(3.2rem, 6.8vw, 6.3rem); line-height: .92; letter-spacing: -.065em; }
.hero-copy > p:not(.eyebrow) { max-width: 42ch; margin: 1.5rem 0 0; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.22rem); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 1.4rem; margin-top: 2rem; }
.hero-photo { position: relative; width: min(100%, 620px); height: min(72dvh, 710px); margin: 0; justify-self: end; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--surface-2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-caption { position: absolute; left: 1rem; bottom: 1rem; padding: .6rem .75rem; color: #f5f6f2; background: rgb(23 25 24 / .82); border-radius: 8px; font-size: .78rem; }

.studio-section { padding-block: 6rem; background: var(--dark); color: var(--dark-ink); }
.section-heading { max-width: 740px; margin-bottom: 2.5rem; }
.section-heading h2, .placements h2, .cta h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 4.8rem); line-height: .98; letter-spacing: -.045em; }
.section-heading p, .placements-copy p, .cta p { max-width: 62ch; color: #b8beb8; line-height: 1.6; }
.studio-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; align-items: start; }
.view-switch { display: inline-flex; gap: .4rem; margin-bottom: 1rem; padding: .35rem; border: 1px solid #3b403c; border-radius: 12px; background: #222522; }
.view-button { min-height: 40px; padding: .6rem .9rem; border: 0; border-radius: 8px; color: #c9cec9; background: transparent; cursor: pointer; font-weight: 700; }
.view-button.active { color: #201108; background: var(--accent); }
.stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid #3b403c; border-radius: var(--radius); background: #222522; box-shadow: 0 24px 80px rgb(0 0 0 / .35); }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease, transform .5s ease; }
.scene-rear { object-position: 50% 61%; }
.scene-inside { opacity: 0; object-position: center; }
.street-scene { position: absolute; inset: 0; opacity: 0; background: linear-gradient(#a9bdc5 0 46%, #596159 46% 100%); }
.street-building { position: absolute; left: 7%; top: 12%; width: 52%; height: 42%; background: repeating-linear-gradient(90deg, #cfd2cd 0 8%, #7d8784 8% 12%); clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%); }
.street-road { position: absolute; inset: 54% 0 0; background: linear-gradient(100deg, #494d49, #777b74); }
.street-road::after { content: ""; position: absolute; left: 0; right: 0; top: 48%; height: 4px; background: repeating-linear-gradient(90deg, #eee 0 10%, transparent 10% 18%); }

.ad-screen { position: absolute; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: clamp(.35rem, 1.2vw, 1rem); color: white; background-color: #76340f; background-image: linear-gradient(90deg, rgb(20 14 10 / .82), rgb(20 14 10 / .08)), url("assets/reklam-firin.webp"); background-size: cover; background-position: center; border: 3px solid #101211; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .18), 0 10px 30px rgb(0 0 0 / .25); transition: opacity .3s ease, transform .3s ease; }
.ad-screen strong { max-width: 11ch; font-size: clamp(.55rem, 2vw, 1.65rem); line-height: .92; text-wrap: balance; }
.ad-screen small { margin-top: .3rem; font-size: clamp(.35rem, .8vw, .72rem); font-weight: 700; }
.ad-kicker { margin-bottom: .2rem; color: var(--accent); font-size: clamp(.3rem, .7vw, .65rem); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.screen-rear { left: 20.1%; top: 21.6%; width: 31.4%; height: 25%; transform: perspective(600px) rotateY(-2deg) rotate(-.5deg); clip-path: polygon(4% 0, 96% 0, 100% 98%, 0 100%); }
.screen-inside-top { left: 37.1%; top: 5.7%; width: 27.3%; height: 11.5%; opacity: 0; }
.screen-inside-side { left: 19.6%; top: 24.8%; width: 16.2%; height: 22%; opacity: 0; }
.outdoor-unit { position: absolute; left: 62%; top: 8%; width: 27%; height: 80%; opacity: 0; transform: translateY(18px); transition: opacity .35s ease, transform .35s ease; }
.screen-street { inset: 0 0 14%; width: 100%; height: auto; border-width: 8px; }
.outdoor-stand { position: absolute; left: 45%; bottom: 0; width: 10%; height: 16%; background: #222522; }
.outdoor-stand::after { content: ""; position: absolute; left: -115%; bottom: 0; width: 330%; height: 10%; background: #222522; }
.stage[data-view="inside"] .scene-rear, .stage[data-view="street"] .scene-rear { opacity: 0; transform: scale(1.04); }
.stage[data-view="inside"] .scene-inside { opacity: 1; }
.stage[data-view="street"] .street-scene { opacity: 1; }
.stage[data-view="inside"] .screen-rear, .stage[data-view="street"] .screen-rear { opacity: 0; pointer-events: none; }
.stage[data-view="inside"] .screen-inside-top, .stage[data-view="inside"] .screen-inside-side { opacity: 1; }
.stage[data-view="street"] .outdoor-unit { opacity: 1; transform: none; }
.stage-note { margin: .8rem 0 0; color: #a9afa9; font-size: .9rem; }

.campaign-panel { position: sticky; top: 96px; }
.campaign-panel h3 { margin: 0 0 1rem; font-size: 1.25rem; }
.campaign-list { display: grid; gap: .65rem; }
.campaign { width: 100%; min-height: 68px; display: grid; grid-template-columns: 52px 1fr; gap: .8rem; align-items: center; padding: .55rem; text-align: left; color: #f5f6f2; border: 1px solid #3b403c; border-radius: 12px; background: #222522; cursor: pointer; }
.campaign.active { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.campaign-swatch { width: 52px; height: 52px; border-radius: 8px; background-size: cover; background-position: center; }
.swatch-firin { background-image: url("assets/reklam-firin.webp"); }
.swatch-konut { background: linear-gradient(135deg, #1c5347, #cfd8c7); }
.swatch-klinik { background: linear-gradient(135deg, #18394a, #eef1ea); }
.campaign span:last-child { display: grid; gap: .2rem; }
.campaign small { color: #a9afa9; }
.upload-box { margin-top: 1.25rem; padding: 1.15rem; border: 1px dashed #626862; border-radius: 12px; background: #1e211f; }
.upload-box > label:first-child { display: block; font-weight: 800; }
.upload-box p, .upload-status { color: #a9afa9; font-size: .82rem; line-height: 1.45; }
.upload-box input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; }
.upload-button { width: 100%; margin: .5rem 0; }
.upload-status { display: block; }

.placements { padding-block: 7rem; }
.placements-copy { max-width: 690px; margin-bottom: 3rem; }
.placements-copy p, .cta p { color: var(--muted); }
.placement-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.placement-grid article { min-height: 240px; padding: clamp(1.5rem, 4vw, 3rem); background: var(--surface); }
.placement-grid article:first-child { grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(145deg, var(--surface-2), var(--surface)); }
.placement-number { color: var(--accent); font-weight: 900; }
.placement-grid h3 { margin: auto 0 .7rem; font-size: clamp(1.5rem, 3vw, 2.4rem); }
.placement-grid p { max-width: 36ch; margin: 0; color: var(--muted); line-height: 1.55; }

.hardware-section { padding-block: 7rem; background: var(--surface-2); }
.hardware-section .section-heading p { color: var(--muted); }
.hardware-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem; }
.hardware-grid article { min-height: 270px; display: flex; flex-direction: column; padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.hardware-grid .hardware-primary { background: var(--dark); color: var(--dark-ink); }
.hardware-top { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .85rem; }
.hardware-primary .hardware-top { color: #b8beb8; }
.hardware-top strong { color: var(--accent); font-size: 1.1rem; white-space: nowrap; }
.hardware-grid h3 { margin: auto 0 .7rem; font-size: clamp(1.45rem, 2.5vw, 2.25rem); }
.hardware-grid p { max-width: 49ch; margin: 0 0 1.2rem; color: var(--muted); line-height: 1.5; }
.hardware-primary p { color: #b8beb8; }
.hardware-grid a { width: fit-content; color: var(--accent); font-weight: 800; }
.hardware-links { display: flex; gap: 1rem; }
.hardware-warning { max-width: 82ch; margin: 1.25rem 0 0; color: var(--muted); font-size: .88rem; }

.cta { min-height: 440px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 6rem; }
.cta h2 { max-width: 13ch; }
.site-footer { display: grid; grid-template-columns: 120px 1fr auto; gap: 1.5rem; align-items: center; min-height: 120px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.site-footer img { width: 86px; height: 58px; object-fit: contain; filter: drop-shadow(0 0 1px #171918); }
.site-footer p:last-child { text-align: right; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .hero-photo { animation: enter .7s cubic-bezier(.16, 1, .3, 1) both; }
  .hero-photo { animation-delay: .12s; }
  @keyframes enter { from { opacity: 0; transform: translateY(24px); } }
}

@media (max-width: 800px) {
  .shell { width: min(100% - 28px, 620px); }
  .site-header { grid-template-columns: 1fr auto; padding-inline: 14px; }
  .site-header nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 2rem; padding-block: 3.5rem; }
  .hero h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .hero-photo { height: 58dvh; justify-self: stretch; }
  .studio-section, .placements, .hardware-section { padding-block: 4.5rem; }
  .studio-layout { grid-template-columns: 1fr; }
  .campaign-panel { position: static; }
  .campaign-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .campaign { grid-template-columns: 1fr; }
  .campaign-swatch { width: 100%; }
  .campaign small { display: none; }
  .stage { aspect-ratio: 4 / 3; }
  .screen-rear { left: 19.5%; top: 18.3%; width: 32.1%; height: 25.6%; }
  .placement-grid, .hardware-grid { grid-template-columns: 1fr; }
  .placement-grid article:first-child { grid-row: auto; }
  .placement-grid article { min-height: 210px; }
  .cta { min-height: 380px; align-items: flex-start; justify-content: center; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; padding-block: 2rem; }
  .site-footer p { margin: 0; }
  .site-footer p:last-child { text-align: left; }
}

@media (max-width: 480px) {
  .button-small { padding-inline: .75rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .view-switch { width: 100%; }
  .view-button { flex: 1; padding-inline: .45rem; }
  .campaign-list { grid-template-columns: 1fr; }
  .campaign { grid-template-columns: 52px 1fr; }
  .campaign-swatch { width: 52px; }
  .campaign small { display: block; }
  .ad-screen strong { font-size: .6rem; }
  .ad-screen small { font-size: .34rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
