:root {
  color-scheme: light;
  --paper: #f7efdc; --ink: #36261b; --muted: #695340; --clay: #a95332; --line: #c9b99d;
  --pad: clamp(1.1rem, 6.8vw, 8.5rem); --header: clamp(4.9rem, 9.3svh, 6.3rem);
  --mast-height: var(--header);
  font: 400 100%/1.45 'DM Sans', 'Avenir Next', Arial, sans-serif; color: var(--ink); background: var(--paper);
  font-synthesis: none; text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, summary { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
button { border: 0; background: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #804022; outline-offset: 4px; }
[hidden] { display: none !important; }
img, svg { display: block; }
h1, h2, h3, p, ul { margin: 0; }
.sr, .icon-library { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; top: .7rem; left: var(--pad); z-index: 30; border-radius: 2rem; padding: .8rem 1rem; background: var(--ink); color: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.icon { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.mast {
  position: sticky; z-index: 10; top: 0; color: var(--ink);
  background-color: #f7efdced; box-shadow: 0 1px 0 #6f513626;
  transition: background-color .18s, box-shadow .18s;
}
.is-cinematic .mast { position: fixed; inset: 0 0 auto; }
.mast.solid { background-color: var(--paper); box-shadow: 0 1px 0 #6f51364d, 0 6px 20px #36261b14; }
.mast-inner { min-height: var(--header); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 1rem; padding: .35rem var(--pad); }
.brand { --logo-width: clamp(9rem, 14.4vw, 13rem); display: inline-flex; flex-direction: column; justify-content: center; min-width: 0; min-height: 44px; white-space: nowrap; line-height: 1.05; }
.brand-logo { width: var(--logo-width); max-width: 100%; height: auto; }
.brand small { margin-top: .32em; padding-inline-start: 28.9%; overflow: hidden; text-overflow: ellipsis; font-size: clamp(.6rem, .73vw, .75rem); letter-spacing: .015em; }
.main-nav, .head-actions, .scene-actions { display: flex; align-items: center; }
.main-nav { gap: clamp(1.05rem, 2.25vw, 2.6rem); font-size: clamp(.85rem, 1.03vw, 1rem); font-weight: 650; }
.main-nav a, .text-link { text-underline-offset: .25em; }
.main-nav a:hover, .main-nav a:focus-visible, .site-end a:hover { text-decoration: underline; }
.icon-button, .mobile-nav summary { display: grid; place-items: center; min-width: 2.6rem; min-height: 2.6rem; padding: .55rem; }
.search-open { display: none; margin-inline: -.5rem; }
.has-js .search-open { display: grid; }
.head-actions { flex-wrap: wrap; max-width: 100%; gap: .6rem; }
.head-actions .pill[data-contact-channel] { min-height: 44px; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: .65em; text-align: center; padding: .65em 1.45em; min-height: 2.45rem; border-radius: 100px; border: 1px solid transparent; font-size: clamp(.8rem, 1vw, 1rem); line-height: 1.15; font-weight: 650; white-space: nowrap; transition: background-color .18s, color .18s, transform .18s; }
.pill:active { transform: translateY(1px); }
.pill-dark { color: #fff5e4; background: var(--ink); }
.pill-dark:hover { background: #603823; }
.pill-outline { color: var(--ink); border-color: #614b37; background: #fff0; }
.pill-outline:hover { background: #fff5e488; }
.pill-light { color: var(--ink); background: var(--paper); }
.pill-light:hover { background: #fffaf0; }
.mobile-nav { display: none; }
.story {
  --film-scrim: linear-gradient(90deg, #f7efdc 0%, #f7efdcef 23%, #f7efdcbb 36%, #f7efdc00 60%);
  background-color: var(--paper);
}
.stage { position: relative; isolation: isolate; }
.film-field, .story-controls { display: none; }
.chapter {
  position: relative; display: grid; align-content: center; min-height: 92svh;
  padding: clamp(3rem, 8svh, 7rem) var(--pad);
  background: var(--film-scrim), var(--poster) center / cover no-repeat var(--paper);
  scroll-margin-top: var(--mast-height);
}
.intro { --poster: url('film-ilk.webp?v=yerel'); }
#uygulama { --poster: url('film-karisim.webp?v=yerel'); }
#son-kat { --poster: url('film-dokunus.webp?v=yerel'); }
#renkler { --poster: url('film-duvar-tavan.webp?v=yerel'); }
#cephe { --poster: url('film-cephe.webp?v=yerel'); }
#tesisat { --poster: url('film-tesisat.webp?v=yerel'); }
.intro-copy, .step-copy { width: min(38vw, 34rem); }
.is-cinematic :is(.intro-copy, .step-copy) { position: absolute; left: var(--pad); top: 27%; }
.intro h2, .step h2 { font-weight: 800; letter-spacing: -.074em; line-height: .94; text-wrap: balance; }
.intro h2 { font-size: clamp(3.8rem, 8vw, 8.4rem); }
.step h2 { font-size: clamp(2.5rem, 5.35vw, 6rem); }
.chapter :is(h1, h2) span { color: var(--clay); }
.intro-copy > p, .step-copy > p {
  max-width: 32ch; margin-top: clamp(.7rem, 1.7vw, 1.25rem); color: var(--ink);
  font-size: clamp(.92rem, 1.22vw, 1.18rem); line-height: 1.47; text-wrap: pretty;
}
.scene-actions { flex-wrap: wrap; gap: .55rem clamp(.85rem, 1.75vw, 2rem); margin-top: clamp(.95rem, 2.7svh, 1.8rem); }
.process-steps {
  display: flex; flex-wrap: wrap; gap: .15rem .75rem; list-style: none; padding: 0; margin-top: .85rem;
  color: var(--muted); font-size: clamp(.69rem, .94vw, .86rem); font-weight: 600;
}
.process-steps li { padding-bottom: .22rem; border-bottom: 1px solid transparent; }
.process-steps li[aria-current='step'] { color: var(--ink); border-color: var(--clay); }
.process-steps + p { margin-top: .55rem; }
.scene-actions .pill { padding-inline: 1.6em; }
.text-link { font-size: clamp(.81rem, .99vw, 1rem); font-weight: 650; border-bottom: 1px solid; padding: .3em 0; }
.text-link span { margin-left: .18em; }
.text-link:hover { color: #8a4329; }
.small-label { font-size: clamp(.72rem, .91vw, .88rem); font-weight: 650; letter-spacing: .065em; text-transform: uppercase; }
[data-service-group]:not([aria-haspopup]) span { display: none; }
.is-cinematic .story { height: calc(100svh + var(--travel)); --travel: max(592svh, 3814px); }
.is-cinematic .stage { position: sticky; top: 0; width: 100%; height: 100svh; min-height: 0; overflow: hidden; }
.is-cinematic .film-field { display: block; position: absolute; inset: 0; pointer-events: none; }
.film-field::after { content: ''; position: absolute; inset: 0; background: var(--film-scrim); }
.film-board { position: absolute; inset: 0; }
.film, .film-still { position: absolute; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 64% center; }
.film { opacity: 0; }
.film.ready { opacity: 1; }
.is-cinematic .chapters, .is-cinematic .chapter { position: absolute; inset: 0; min-height: 0; padding: 0; background: transparent; }
.is-cinematic .chapters { pointer-events: none; }
.is-cinematic .chapter { scroll-margin-top: 0; }
.is-cinematic .chapter { visibility: hidden; pointer-events: none; opacity: 0; }
.is-cinematic .chapter.visible { opacity: 1; visibility: visible; }
.is-cinematic .chapter a { pointer-events: auto; }
.is-cinematic .chapter[inert] a { pointer-events: none; }
.is-cinematic .story-controls { display: block; position: absolute; inset: auto 0 max(.7rem, 2vh); height: 2.75rem; pointer-events: none; }
.story-controls button { pointer-events: auto; }
.play-film, .scene-dots { position: absolute; top: 0; height: 100%; }
.play-film { left: var(--pad); display: inline-flex; align-items: center; gap: .55rem; border-radius: 2rem; padding: .3rem .65rem .3rem .4rem; background: #f7efdcef; font-size: .79rem; font-weight: 620; }
.play-film .icon { border: 1px solid #735940; border-radius: 50%; padding: .36rem; width: 1.72rem; height: 1.72rem; }
.play-film:hover span { text-decoration: underline; text-underline-offset: .22em; }
.scene-dots { left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; border-radius: 2rem; background: #f7efdcde; }
.scene-dots button { width: 2rem; height: 2.75rem; display: grid; place-items: center; position: relative; border-radius: 2em; }
.scene-dots button::after { content: ''; width: .42rem; height: .42rem; border: 1px solid #69513b; border-radius: 100%; transition: background .15s, transform .15s; }
.scene-dots button[aria-current]::after { background-color: var(--ink); border-color: var(--ink); transform: scale(1.15); }
.chat { position: fixed; z-index: 9; inset: auto max(1.25rem, 2.55vw) max(1.25rem, env(safe-area-inset-bottom)); width: 2.95rem; height: 2.95rem; left: auto; display: grid; place-items: center; background: var(--ink); color: var(--paper); border: 1px solid #e6cfb2; border-radius: 50%; box-shadow: 0 3px 10px #44271f1c; }
.chat:hover { background: #734129; }
.chat .icon { width: 1.42rem; height: 1.42rem; }
.section-pad { padding: clamp(4.1rem, 9vw, 9rem) var(--pad); scroll-margin-top: var(--mast-height); }
.directory { background: #f2e5cf; }
.directory-intro, .contact { display: flex; justify-content: space-between; align-items: end; gap: 5%; }
.directory-intro > *, .contact > * { min-width: 0; max-width: 100%; }
.directory h2, .contact h2 { overflow-wrap: anywhere; font-size: clamp(2.9rem, 6.4vw, 7.9rem); line-height: .99; letter-spacing: -.071em; margin-top: .18em; font-weight: 650; }
.directory h2 span { color: var(--clay); }
.directory-intro > p, .contact p:not(.small-label) { max-width: 34ch; font-size: clamp(1rem, 1.38vw, 1.3rem); }
.service-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.3rem, 4.1vw, 5.5rem); margin-top: clamp(2.45rem, 5.5vw, 6rem); }
.service-group { scroll-margin-top: calc(var(--mast-height) + 1.5rem); }
.service-group h3 { display: flex; align-items: center; gap: .55em; font-size: clamp(1.15rem, 1.65vw, 1.9rem); font-weight: 680; letter-spacing: -.045em; padding-bottom: .8em; border-bottom: 1px solid #a99273; }
.service-group h3 i { height: .8em; width: .8em; border-radius: 50%; background: var(--sample); box-shadow: inset 1px 1px 3px #ffffff6b, inset -1px -1px 2px #4c2e1733; }
.service-group ul { padding: 0; list-style: none; }
.service-group li { border-bottom: 1px solid #c9b99d; }
.service-group li a { display: flex; align-items: center; justify-content: space-between; min-height: 3.05rem; padding: .65em 0; }
.service-group li a::after { content: '↗'; font-size: .9rem; color: var(--muted); transition: transform .18s; }
.service-group li a:hover { color: #884023; }
.service-group li a:hover::after { transform: translate(2px, -2px); }
.contact { background: #422d20; color: var(--paper); }
.contact h2 span { color: #d9a173; }
.contact p:not(.small-label) { margin-top: 1.2em; }
.contact-actions { display: grid; }
.contact-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem clamp(.55rem, 2vw, 2.25rem); padding-block: .55rem; }
.contact-line + .contact-line { border-top: 1px solid #f7efdc40; }
.contact-line .pill { min-height: 44px; padding-inline: 1rem; }
.contact-line a:focus-visible { outline-color: #ffd6ad; }
.phone { display: inline-flex; align-items: center; min-height: 44px; font-size: clamp(1.45rem, 2.7vw, 3.3rem); font-weight: 550; letter-spacing: -.045em; line-height: 1.1; }
.site-end { display: flex; flex-wrap: wrap; gap: .4rem 1rem; justify-content: space-between; padding: 1.2rem var(--pad); color: var(--muted); font-size: .8rem; }
.service-search { position: fixed; width: min(32rem, 92vw); max-height: 84svh; overflow: auto; overscroll-behavior: contain; inset: 0; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 1.2rem; padding: 1.7rem; box-shadow: 0 24px 90px #291a0d3b; }
.service-search::backdrop { background: #2c1d12a1; }
.search-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: .9rem; }
.search-heading h2 { font-size: 1.8rem; letter-spacing: -.055em; }
.service-search label { font-size: .87rem; }
.service-search input { display: block; width: 100%; padding: .75rem .9rem; margin: .45rem 0 .8rem; background: #fff8e9; border-radius: .55rem; border: 1px solid #ad9474; }
.search-results a { display: block; border-bottom: 1px solid var(--line); padding: .52rem 0; }
.search-results a:hover { text-decoration: underline; }
.search-empty { padding: 1rem 0; }
html:has(.showcase-services[open], .service-search[open]) { overflow: hidden; }
.showcase-services {
  position: fixed; inset: 0 var(--pad) 0 auto; margin: auto 0;
  width: min(24rem, 92vw); max-height: 88svh; overflow: auto; overscroll-behavior: contain;
  padding: clamp(1.15rem, 2.4vw, 1.75rem); border: 1px solid var(--line); border-radius: 1.25rem;
  background: var(--paper); color: var(--ink); box-shadow: 0 24px 70px #291a0d3d;
}
.showcase-services::backdrop { background: #2c1d124d; }
.showcase-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; margin-bottom: .95rem; }
.showcase-heading h2 { font-size: clamp(1.65rem, 5vw, 2.6rem); line-height: 1; letter-spacing: -.055em; }
.showcase-heading button { min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 50%; }
.showcase-directory ul { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.showcase-directory a {
  min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .5rem .3rem; border-bottom: 1px solid var(--line); font-weight: 650;
}
.showcase-directory a::after { content: ''; width: .45em; height: .45em; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); margin-right: .3em; }
.showcase-directory a:is(:hover, :focus-visible) { background: #e9dac0; }
.showcase-all { display: inline-block; margin-top: 1rem; }
@media (max-width: 900px) {
  .main-nav { gap: .9rem; } .head-actions { gap: .35rem; }
}
@media (max-width: 740px) {
  :root { --header: 4.25rem; --pad: clamp(1.05rem, 6vw, 2rem); }
  .mast-inner { gap: .45rem; }
  .brand { --logo-width: clamp(8.3rem, 38vw, 11rem); }
  .brand small { font-size: .6rem; }
  .main-nav { display: none; }
  .head-actions .pill { font-size: .78rem; padding: .53em .94em; min-height: 2.24rem; }
  .showcase-services { inset: auto 0 0; width: 100%; max-width: none; margin: 0; border-radius: 1.3rem 1.3rem 0 0; padding-bottom: max(1.15rem, env(safe-area-inset-bottom)); }
  .mobile-nav { display: block; }
  .mobile-nav summary {
    list-style: none; width: max(44px, 2.3rem); min-height: max(44px, 2.6rem); padding: .35rem;
    border: 1px solid #a99070; border-radius: .62rem; background: #ebddc2;
  }
  .mobile-nav[open] summary { border-color: var(--ink); background: var(--ink); color: var(--paper); }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary .icon { width: 1.25rem; height: 1.25rem; stroke-width: 2; }
  .mobile-nav nav { position: absolute; right: var(--pad); top: calc(100% + .4rem); width: min(16rem, 88vw); padding: .5rem 1rem; border: 1px solid #a99070; border-radius: .7rem; background: var(--paper); box-shadow: 0 12px 28px #36261b26; }
  .mobile-nav nav a, .mobile-nav nav .search-open { min-height: 44px; padding: .65rem .25rem; font-weight: 650; }
  .mobile-nav nav a { display: flex; align-items: center; }
  .mobile-nav nav > * + * { border-top: 1px solid #c9b99d88; }
  .has-js .mobile-nav nav .search-open { display: flex; width: 100%; margin: 0; align-items: center; gap: .65rem; }
  .directory-intro, .contact { flex-direction: column; align-items: start; gap: 1.4rem; }
  .service-groups { grid-template-columns: 1fr; gap: 2rem; }
  .directory-intro > p, .contact p:not(.small-label) { max-width: 40ch; }
  .contact-actions { width: min(calc(100% - 2.9rem), 27rem); }
  .chat { width: 44px; height: 44px; right: 1rem; bottom: max(.85rem, env(safe-area-inset-bottom)); }
  .scene-dots button { width: 1.7rem; }
  .site-end { padding-right: 4.5rem; }
}
@media (max-aspect-ratio: 9/10) {
  .story { --visual-height: clamp(14rem, 53svh, 35rem); }
  .is-cinematic .story { --travel: max(519svh, 3030px); }
  .chapter { min-height: 0; padding-block: calc(var(--visual-height) + 1.55rem) 2.75rem;
    background: var(--poster) 86% top / auto var(--visual-height) no-repeat var(--paper); }
  .intro-copy, .step-copy { width: auto; }
  .is-cinematic :is(.intro-copy, .step-copy) { top: calc(var(--visual-height) + 1.55rem); right: var(--pad); }
  .intro h2 { font-size: clamp(2.85rem, 12vw, 5rem); }
  .step h2 { font-size: clamp(2.25rem, 9vw, 3.85rem); text-wrap: initial; }
  .intro-copy > p, .step-copy > p { margin-top: .7rem; }
  .scene-actions { margin-top: .78rem; }
  .is-cinematic .film-field { inset: 0 0 auto; height: var(--visual-height); }
  .film-field::after { background: linear-gradient(0deg, #f7efdc18, transparent 15%); }
  .film, .film-still { object-position: 86% center; }
  .play-film { font-size: .72rem; gap: .3rem; }
  .is-cinematic .story-controls { bottom: max(.68rem, env(safe-area-inset-bottom)); }
}
@media (max-aspect-ratio: 9/10) and (max-height: 650px) {
  .story { --visual-height: 46svh; }
  .is-cinematic :is(.intro-copy, .step-copy) { top: calc(var(--visual-height) + 1rem); }
  .intro h2 { font-size: clamp(2.65rem, 11vw, 3.5rem); }
  .step h2 { font-size: clamp(1.9rem, 8.1vw, 3rem); }
}
@media (max-aspect-ratio: 9/10) and (max-height: 500px) {
  .story { --visual-height: 42svh; }
}
@media (min-aspect-ratio: 9/10) and (max-height: 510px) {
  :root { --header: 3.25rem; }
  .is-cinematic :is(.intro-copy, .step-copy) { top: 24%; }
  .intro h2 { font-size: clamp(2.55rem, 6.4vw, 3.95rem); }
  .step h2 { font-size: clamp(2rem, 4.8vw, 3rem); }
  .scene-actions { margin-top: .6rem; }
  .intro-copy > p, .step-copy > p { font-size: .84rem; }
  .chat { width: 2.4rem; height: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
@media (max-width: 460px) {
  .play-film { width: 2.75rem; justify-content: center; padding: .3rem; }
  .play-film span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 420px) {
  .mast-inner { padding-inline: .75rem; gap: .25rem; }
  .brand small { padding-inline-start: 0; text-align: center; }
  .head-actions { gap: .2rem; }
  .head-actions .pill { padding: .6em .72em; font-size: .70rem; }
  .mobile-nav nav { right: .75rem; }
}

@media (max-width: 359px) {
  .brand small { font-size: .55rem; }
  .intro-copy > p, .step-copy > p { font-size: .85rem; }
}
