@font-face {
  font-family: "Cinzel";
  src: url("../yazi/cinzel.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-017F, U+2010-2027;
}

@font-face {
  font-family: "Cinzel";
  src: url("../yazi/noto-serif-display-kiril.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0400-045F, U+2116;
}

@font-face {
  font-family: "DM Sans";
  src: url("../yazi/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-017F, U+2010-2027, U+2193;
}

@font-face {
  font-family: "DM Sans";
  src: url("../yazi/manrope-cyrillic.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --zemin: #10292b;
  --yazi: #ebe4d6;
  --vurgu: #c4532d;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0 auto; background: var(--zemin); color: var(--yazi); }
h1, h2, h3, p, figure, blockquote { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.hero { min-height: 812px; }
.demo, .note { font-size: 13px; line-height: 1.35; }

body { font: 400 16px/1.5 "DM Sans", sans-serif; }
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; }
.cover { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54% 48%; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, transparent 41%, rgb(11 28 29 / 96%) 73%, #10292b); }
.masthead { padding: 22px 22px 15px; background: rgb(11 28 29 / 86%); }
.brand, h1, h2, h3 { font-family: "Cinzel", serif; }
.brand { font-size: 24px; font-weight: 600; line-height: 1.1; }
.demo { margin-top: 8px; }
.hero-copy { padding: 26px 22px 37px; background: linear-gradient(transparent, rgb(16 41 43 / 78%) 24px, rgb(16 41 43 / 95%) max(24px, 22%)); }
.place { letter-spacing: .17em; text-transform: uppercase; font-size: 12px; }
h1 { margin: 11px 0 14px; font-size: min(44px, 11.4vw); font-weight: 600; line-height: 1.03; letter-spacing: -.025em; }
.lede { max-width: 260px; }
.actions { display: flex; align-items: center; gap: 17px; margin-top: 23px; }
.actions a { font-size: 14px; text-underline-offset: 4px; }
.actions .button { background: var(--yazi); color: var(--zemin); box-shadow: inset 4px 0 var(--vurgu); padding: 13px 13px 13px 15px; text-decoration: none; font-weight: 700; }
.hero .actions .button:focus-visible { outline-color: var(--yazi); }

/* Etkileşimler ve yerel açıklama pencereleri */
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
button, a, summary { touch-action: manipulation; }
.button, .down, .menu-link, .actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}
summary { min-height: 44px; padding-block: 12px; cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
p, blockquote { max-inline-size: 65ch; }
h2, h3, h4 { overflow-wrap: break-word; }
img { object-fit: cover; }
figure { min-width: 0; }
.chapter { scroll-margin-top: 1rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.site-note { font-size: 13px; line-height: 1.5; margin-top: 4rem; padding-top: 1rem; border-top: 1px solid; }
.site-note p + p { margin-top: .5rem; }
.example {
  width: min(31rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  margin: auto;
  padding: clamp(1.25rem, 5vw, 2.5rem);
  overflow: auto;
  border: 1px solid var(--panel-line, currentColor);
  background: var(--zemin);
  color: var(--yazi);
}
.example::backdrop { background: rgb(0 0 0 / 55%); }
.example p + p { margin-top: 1em; }
.example a { display: flex; align-items: center; min-height: 44px; margin-top: 1rem; }
.example .button { margin: 1.5rem 0 0; }


:root { --panel-line: #6e8180; }
.actions .button { font-size: 14px; }
.hero .actions { gap: 17px; }
.chapter { padding: 82px 22px; border-top: 1px solid var(--panel-line); }
.chapter > .inner { max-width: 1120px; margin-inline: auto; }
h2 { margin: 0 0 26px; font-size: clamp(2.25rem, 9vw, 4.45rem); line-height: 1.07; font-weight: 600; }
h3 { font-size: clamp(1.35rem, 5vw, 2rem); line-height: 1.2; margin-bottom: .55rem; }
h4 { font: 700 1.05rem/1.25 "DM Sans", sans-serif; margin: 0 0 .35rem; }
.chapter p + p { margin-top: .9rem; }
.chapter .button, .example .button {
  border: 1px solid currentColor;
  padding: 10px 15px;
  margin-top: 1.35rem;
  text-align: center;
  font-weight: 700;
}
.spec { border-top: 4px solid var(--vurgu); }
.project-info { display: grid; gap: 28px; }
.project-lede { margin-top: 10px; font: 600 clamp(1.55rem, 5vw, 2.3rem)/1.25 "Cinzel", serif; }
table { width: 100%; border-collapse: collapse; }
table th, table td { border-block: 1px solid var(--panel-line); padding: 15px 0; text-align: left; vertical-align: top; }
table th { padding-right: 12px; width: 38%; }
.plans { padding-inline: 0; }
.plans h2, .plans > .inner > p { margin-inline: 22px; }
.units { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 360px); align-items: start; overflow-x: auto; gap: 12px; padding: 4px 22px 18px; margin-top: 28px; scroll-snap-type: x mandatory; scroll-padding-inline: 22px; }
.units:focus-visible { outline-offset: -2px; }
.unit { position: relative; scroll-snap-align: start; padding: 24px 17px 20px; background: var(--yazi); color: var(--zemin); border-top: 4px solid var(--vurgu); min-width: 0; }
.unit h3 { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .65rem; }
.unit h3 span { font-size: clamp(3rem, 12vw, 5.1rem); line-height: 1; }
.unit .area { font-size: 1.18rem; font-weight: 700; }
.unit p + p { margin-top: .15rem; }
.unit details { margin-top: 1.15rem; border-block: 1px solid var(--panel-line); }
.unit dl { margin: 0 0 .8rem; }
.unit dl div { display: grid; gap: 7px; grid-template-columns: 1fr auto; border-top: 1px solid var(--panel-line); padding-block: .45rem; font-size: .875rem; }
dd { margin: 0; font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.living { padding-inline: 0; padding-bottom: 0; }
.living > .inner { max-width: none; }
.living h2 { margin-inline: max(22px, calc((100% - 1120px) / 2)); }
.scenes { display: grid; }
.scenes figure { display: grid; isolation: isolate; align-items: end; }
.scenes img, .scenes figcaption { grid-area: 1 / 1; }
.scenes img { width: 100%; height: clamp(390px, 112vw, 530px); object-position: 50% 55%; }
.scenes figcaption { z-index: 1; background: rgb(11 28 29 / 92%); padding: 21px 22px; }
.stages { margin: 38px 0 55px; padding: 0 0 0 18px; border-left: 1px solid var(--panel-line); list-style: none; }
.stages li { position: relative; padding: 0 0 27px 5px; }
.stages li:last-child { padding-bottom: 0; }
.stages li::before { content: ""; position: absolute; left: -23px; top: .52em; width: 9px; height: 9px; border-radius: 50%; background: var(--yazi); }
.stages li[aria-current]::before { background: var(--vurgu); }
.stages span { font-size: 13px; font-weight: 700; margin-left: .6rem; padding: 3px 7px; border: 1px solid var(--panel-line); white-space: nowrap; }
.delivery { margin: 21px 0 53px; padding-left: 24px; }
.delivery li { padding: 15px 0 15px 4px; border-top: 1px solid var(--panel-line); }
.materials { display: grid; gap: 16px; margin-top: 29px; }
.materials figure { display: grid; align-items: center; grid-template-columns: 40% 1fr; gap: 14px; }
.materials img { width: 100%; height: auto; aspect-ratio: 5 / 4; }
.materials figcaption, .location figcaption { font-size: .9rem; }
.distances { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block: 32px; gap: 16px 10px; }
.distances div { display: flex; flex-direction: column-reverse; padding-block: 11px; border-top: 1px solid var(--panel-line); }
.distances dd { font: 600 clamp(2rem, 6.8vw, 3.65rem)/1.15 "Cinzel", serif; }
.location img { width: 100%; height: clamp(285px, 64vw, 470px); object-position: 50% 60%; }
.location figcaption { margin-top: .55rem; }
.faq details { max-width: 760px; border-top: 1px solid var(--panel-line); }
.faq details:last-child { border-bottom: 1px solid var(--panel-line); }
.faq summary { padding-block: 20px; font-weight: 700; }
.faq details p { margin-bottom: 1.3rem; }
.closing { background: var(--yazi); color: var(--zemin); padding-block: 99px; }
.closing .actions { margin-top: 8px; }
@media (max-width: 1023px) {
  /* Bir düğmeye kaydırırken şerit önceki karta geri yapışmasın. */
  .unit .button { scroll-margin-inline-end: min(40vw, 180px); }
}
@media (min-width: 1024px) {
  main p { max-inline-size: 48ch; }
  .hero { min-height: max(812px, 100vh); }
  .cover { object-position: 54% 48%; }
  .masthead, .hero-copy { padding-inline: max(44px, calc((100% - 1120px) / 2)); }
  .hero-copy { padding-bottom: 60px; background: linear-gradient(transparent, rgb(16 41 43 / 78%) 24px, rgb(16 41 43 / 90%) max(24px, 28%)); }
  h1 { font-size: clamp(3.75rem, 6.5vw, 6.25rem); }
  .lede { max-width: 45ch; font-size: 20px; }
  .chapter { padding-inline: 44px; }
  .project-info { grid-template-columns: 1fr 1fr; align-items: center; gap: 55px; }
  .plans h2, .plans > .inner > p { margin-inline: 0; }
  .units { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding: 4px 0 0; overflow: visible; }
  .living { padding-inline: 0; }
  .living h2 { margin-inline: max(44px, calc((100% - 1120px) / 2)); }
  .scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stages { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 43px; border-left: 0; border-top: 1px solid var(--panel-line); padding: 0; }
  .stages li { padding: 18px 10px 0 0; }
  .stages li::before { top: -5px; left: 0; }
  .delivery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 55px; }
  .materials { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .materials figure { grid-template-columns: 1fr; align-content: start; }
  .distances { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.ornek-ust { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; margin-block: 0; font-size: 13px; line-height: 1.35; }
.ornek-dilleri { display: flex; }
.ornek-ust a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; text-underline-offset: 3px; }
.ornek-dilleri a[aria-current="page"] { font-weight: 700; }
.ornek-ust { margin-bottom: -12px; }

@media (max-width: 375px) {
  .actions:lang(en, ru) { flex-wrap: wrap; gap: 8px 12px; }
}

@media (max-width: 1023px) and (max-height: 811px) {
  .hero { min-height: 100svh; }
}
