/* IRVU */
@font-face {
  font-family: "Urbanist";
  src: url("./fontlar/Urbanist.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #182927;
  --muted: #50615a;
  --forest: #162523;
  --gold: #e7bf7f;
  --paper: #f8f6ef;
  --side: #edf0e7;
  --line: #d8ddd1;
  --link: #245345;
  --body: "Urbanist", "Segoe UI", sans-serif;
  --heading: "Urbanist", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.215, .61, .355, 1);
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.58;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--link); text-underline-offset: .19em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button, select, input { color: inherit; }
img { max-width: 100%; display: block; height: auto; }
svg { width: 1.12em; height: 1.12em; flex: 0 0 auto; }
:focus-visible { outline: 3px solid #88581b; outline-offset: 4px; }
.masthead :focus-visible, .hero :focus-visible { outline-color: #f9d68f; }
[hidden] { display: none !important; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link { position: fixed; z-index: 10; top: .5rem; left: .5rem; background: var(--paper); padding: .55rem .9rem; }
kbd { border: 1px solid #a5ad9a; border-bottom-width: 2px; border-radius: 4px; padding: 0 .35em; font: 600 .86em var(--body); white-space: nowrap; }
h1, h2, h3, p { margin: 0; }
h1 { font-family: var(--heading); font-size: clamp(2.25rem, 4.5vw, 4.6rem); font-weight: 700; line-height: 1.02; letter-spacing: -.035em; }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.85rem); line-height: 1.18; font-weight: 700; letter-spacing: -.02em; }
.masthead { position: sticky; top: 0; z-index: 4; background: var(--forest); color: var(--paper); border-bottom: 1px solid #32413c; }
.masthead-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 76px; max-width: 1600px; margin: auto; padding: .7rem 2rem; }
.brand { color: var(--paper); display: inline-flex; gap: .7rem; align-items: center; text-decoration: none; min-width: 190px; line-height: 1.1; }
.brand strong { display: block; font: 800 1.24rem var(--heading); letter-spacing: -.01em; }
.brand small { display: block; color: #c3cec1; font-size: .76rem; margin-top: .15rem; }
.crest { display: grid; place-items: center; width: 35px; height: 40px; color: var(--gold); background: #273b34; clip-path: polygon(0 0, 100% 0, 100% 77%, 50% 100%, 0 77%); }
.crest svg { width: 19px; height: 19px; }
.site-search { position: relative; display: flex; align-items: center; width: min(100%, 27rem); margin-left: auto; color: var(--paper); }
.site-search > svg { position: absolute; left: .8rem; color: #b2c4b7; pointer-events: none; }
.site-search input { width: 100%; min-width: 0; height: 43px; border: 1px solid #596c60; border-radius: 5px; padding: .45rem 2.35rem .45rem 2.4rem; background: #263a33; }
.site-search input::placeholder { color: #c7d4c9; opacity: 1; }
.search-key { position: absolute; right: .65rem; color: #dbe4d9; border-color: #687d6e; pointer-events: none; }
.search-results { position: absolute; z-index: 5; inset: calc(100% + .45rem) 0 auto; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 5px; box-shadow: 0 12px 32px #081c1940; max-height: min(55vh, 420px); overflow: auto; }
.search-status { margin: .65rem .8rem; color: var(--muted); font-size: .88rem; }
.search-results ul { list-style: none; padding: 0; margin: 0; }
.search-results li + li { border-top: 1px solid var(--line); }
.search-results a { display: block; padding: .55rem .8rem; text-decoration: none; }
.search-results a:hover, .search-results a:focus-visible { background: var(--side); outline-offset: -3px; outline-color: #88581b; }
.search-results small { display: block; color: var(--muted); }
.phone-nav { display: none; }
.layout { max-width: 1600px; margin: auto; display: grid; grid-template-columns: 235px minmax(0, 1fr); min-height: calc(100vh - 76px); }
.sidebar { background: var(--side); border-right: 1px solid var(--line); padding: 1.55rem .9rem; }
.sidebar nav { position: sticky; top: 94px; max-height: calc(100vh - 103px); overflow: auto; }
.nav-group { padding: .35rem .1rem 1.05rem; }
.nav-group p { margin: 0 0 .35rem .58rem; font-size: .78rem; font-weight: 700; color: var(--muted); }
.nav-group a { display: flex; align-items: center; gap: .53rem; padding: .37rem .56rem; color: var(--ink); text-decoration: none; font-size: .94rem; border-radius: 4px; }
.nav-group a:hover, .nav-group a[aria-current="page"] { background: #dae5d7; }
.nav-group a[aria-current="page"] { font-weight: 700; box-shadow: inset 3px 0 #34654e; }
.nav-group svg { color: #496b59; }
main { min-width: 0; padding: clamp(1.05rem, 2.9vw, 2.7rem); }
.hero { position: relative; display: grid; align-items: center; justify-items: end; isolation: isolate; min-height: clamp(450px, 39vw, 610px); border-radius: 6px 6px 0 0; overflow: hidden; color: #fff8e8; background: #1e2b25; border-bottom: 4px solid #b2864d; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 63% center; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, #101d1cfa, #101d1cee 30%, #101d1c8f 57%, #101d1c12 87%), linear-gradient(0deg, #142321bf, transparent 22%); }
.hero-copy { width: min(43rem, 65%); padding: 2.25rem clamp(1.15rem, 3.6vw, 3.8rem) 3.4rem; }
.hero-label { color: #ffe1ae; font-size: .94rem; font-weight: 650; margin-bottom: .9rem; }
.hero h1 { font-size: clamp(2.6rem, 5.45vw, 5.75rem); text-wrap: balance; letter-spacing: -.045em; }
.hero h1 + p { max-width: 26rem; color: #f3efe2; margin-top: 1.1rem; font-size: 1.08rem; }
.primary { margin-top: 1.35rem; display: inline-flex; align-items: center; justify-content: space-between; gap: .65rem; min-height: 43px; padding: .55rem .85rem; border-radius: 99px; padding-inline: 1.15rem; background: var(--gold); color: #1d290f; transition: background .3s, transform .3s var(--ease); font-weight: 700; text-decoration: none; }
.primary:hover { background: #f6d6a1; transform: translateY(-2px); }
.hero-caption { position: absolute; bottom: .6rem; right: .85rem; color: #f7efe0; background: #162523d9; padding: .15rem .45rem; font-size: .75rem; }
/* IRVU hareketi: başlık alttan dönerek gelir, bölümler yumuşakça yükselir */
.reveal-title, .reveal { transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
html.anim .reveal-title:not(.in) { opacity: 0; transform: perspective(600px) rotateX(45deg) translateY(60%); transform-origin: top center; }
html.anim .reveal:not(.in) { opacity: 0; transform: translateY(50px); }
.opening { display: grid; gap: clamp(1.2rem, 3vw, 2.2rem); }
.opening-head { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.2rem); }
.opening-logo { width: clamp(110px, 16vw, 210px); height: auto; flex: none; filter: drop-shadow(0 10px 18px #10201c33); }
.brand-logo { width: 48px; height: 48px; flex: none; }
.opening-head h1 { font-size: clamp(3rem, 8.5vw, 7.5rem); line-height: .95; letter-spacing: -.05em; color: var(--forest); }
.opening-head p { margin-top: .8rem; font-size: 1.2rem; color: var(--muted); max-width: 34rem; }
.doors { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 1rem; }
.door { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; gap: 1.4rem; min-height: clamp(340px, 44vw, 520px); padding: clamp(1.2rem, 2.6vw, 2.2rem); border-radius: 22px; overflow: hidden; text-decoration: none; color: #fff8e8; background: var(--forest); }
.door-guild { background: #2a2620; }
.door-mark { position: absolute; top: clamp(1.2rem, 2.6vw, 2.2rem); left: clamp(1.2rem, 2.6vw, 2.2rem); color: var(--gold); }
.door-mark svg { width: clamp(3.5rem, 7vw, 5.5rem); height: auto; stroke-width: 1.1; }
.door > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 63% center; z-index: -2; transition: transform 1.2s var(--ease); }
.door-server::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #101d1cf2 18%, #101d1c99 48%, #101d1c1a 80%); }
.door-text { display: grid; gap: .3rem; max-width: 30rem; }
.door-text small { color: #ffe1ae; font-size: .95rem; font-weight: 600; }
.door-text strong { font-size: clamp(2.2rem, 4.4vw, 3.9rem); line-height: 1; letter-spacing: -.045em; font-weight: 800; }
.door-text > span { color: #efe9dc; font-size: 1.08rem; }
.door-go { align-self: flex-start; display: inline-flex; align-items: center; gap: .55rem; min-height: 46px; padding: .55rem 1.2rem; border-radius: 99px; background: var(--gold); color: #1d290f; font-weight: 700; transition: background .3s, gap .3s var(--ease); }
.door:hover .door-go { background: #f6d6a1; gap: .9rem; }
.door:hover > img { transform: scale(1.04); }
.door:focus-visible { outline-color: #88581b; }
.home-section { margin: 1.95rem 0 0; }
.home-section h2 { margin: 0 0 .85rem; }
.paths, .features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.path { display: flex; align-items: center; gap: .75rem; min-height: 85px; padding: .75rem .8rem; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); text-decoration: none; }
.path:hover, .feature:hover { border-color: #668471; background: #edf0e7; }
.path-icon { background: var(--side); color: var(--link); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 4px; flex-shrink: 0; }
.path strong, .path small { display: block; }
.path small { color: var(--muted); line-height: 1.3; }
.path > svg { margin-left: auto; color: var(--link); width: .9rem; }
.section-top { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; }
.section-top > a { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; }
.feature { display: grid; grid-template-rows: auto 1fr; min-width: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; color: var(--ink); text-decoration: none; }
.feature-img { display: block; aspect-ratio: 1.85; background: var(--forest); overflow: hidden; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-text { display: flex; align-items: center; justify-content: space-between; gap: .35rem; padding: .65rem .75rem; }
.feature-text svg { color: var(--link); }
.article { max-width: 62rem; }
.crumb { display: flex; align-items: center; gap: .52rem; color: var(--muted); font-size: .88rem; margin-bottom: 1rem; }
.article-head { border-bottom: 1px solid var(--line); padding: 0 0 1.25rem; margin-bottom: 1.35rem; }
.article-head h1 { margin: 0 0 .55rem; overflow-wrap: anywhere; }
.article-head p { color: var(--muted); font-size: 1.18rem; max-width: 58ch; }
.toc { background: var(--side); border-left: 3px solid #72927b; padding: .75rem 1rem; display: flex; flex-wrap: wrap; column-gap: .95rem; row-gap: .25rem; }
.toc strong { flex-basis: 100%; }
.command-hint { margin: .65rem 0; color: var(--muted); font-size: .88rem; }
.chapter, .catalog { margin: 2.1rem 0; scroll-margin-top: 6rem; }
.chapter h2, .catalog h2 { margin-bottom: .65rem; }
.chapter p, .catalog p { max-width: 74ch; margin: .65rem 0; }
.steps { margin: .75rem 0; padding-left: 1.45rem; max-width: 76ch; }
.steps li + li { margin-top: .38rem; }
.guide-image { margin: 1.1rem 0; background: var(--side); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.guide-image img { width: 100%; }
.guide-image figcaption { padding: .38rem .7rem; font-size: .84rem; color: var(--muted); }
.commands { list-style: none; margin: .7rem 0 1.1rem; padding: 0; max-width: 49rem; }
.command { background: #21332e; color: #f8f2e6; display: flex; gap: .5rem; align-items: center; justify-content: space-between; padding: .28rem .38rem .28rem .65rem; border-radius: 4px; margin: .27rem 0; }
.commands .command { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .6rem; row-gap: .15rem; }
.command code { overflow-wrap: anywhere; font-size: .89rem; min-width: 0; }
.command-note { grid-column: 1 / -1; margin: 0 0 .2rem !important; color: #d9d2c0; font-size: .92rem; line-height: 1.4; }
.copy { display: inline-flex; justify-content: center; align-items: center; gap: .35em; border: 1px solid #67796b; border-radius: 4px; min-height: 37px; padding: .22rem .55rem; background: #334b40; color: #fff6e4; flex: 0 0 auto; font-size: .83rem; }
.copy:hover { background: #456252; }
.copy:focus-visible { outline-color: #f9d68f; }
.table-wrap { overflow-x: auto; margin: .8rem 0; border: 1px solid var(--line); border-radius: 4px; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: .96rem; }
th, td { padding: .62rem .72rem; vertical-align: top; }
th { background: var(--side); }
td { border-top: 1px solid var(--line); }
td:first-child { font-weight: 600; }
td small { display: block; font-weight: 400; color: var(--muted); }
td code { font-size: .78rem; overflow-wrap: anywhere; }
.next-guide { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin: 2rem 0 0; padding: .65rem 1rem; background: var(--side); border: 1px solid var(--line); border-radius: 4px; text-decoration: none; }
.next-guide small, .next-guide strong { display: block; }
.next-guide small { color: var(--muted); }
.catalog-controls { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; }
.catalog-controls label { display: grid; gap: .25rem; flex: 1 1 12rem; font-weight: 650; }
.catalog-controls label:first-child { flex-grow: 2; }
.catalog-controls input, .catalog-controls select { min-width: 0; width: 100%; min-height: 43px; background: #fffdf6; border: 1px solid #8e9c90; border-radius: 4px; padding: .42rem .65rem; }
.catalog table { min-width: 730px; table-layout: fixed; }
.catalog th:first-child { width: 27%; }
.catalog th:nth-child(4), .catalog th:nth-child(5) { width: 19%; }
.item-art { float: left; display: grid; place-items: center; width: 40px; height: 40px; margin: 0 .6rem .2rem 0; border-radius: 8px; background: #8b8b8b; box-shadow: inset 2px 2px #c6c6c6, inset -2px -2px #555; overflow: hidden; }
.item-art img { width: 32px; height: 32px; image-rendering: pixelated; }
.item-art.strip img { height: auto; aspect-ratio: auto; object-fit: none; }
.item-art.strip { align-items: start; padding-top: 4px; }
.download { display: inline-flex; align-items: center; min-height: 48px; padding: .6rem 1.3rem; border-radius: 99px; background: var(--forest); color: #fff8e8; font-weight: 700; text-decoration: none; transition: background .3s, transform .3s var(--ease); }
.download + .download { margin-left: .5rem; }
.download:hover { background: #2b443c; transform: translateY(-2px); }
#item-total { color: var(--muted); font-weight: 600; }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.pagination button { padding: .35rem .62rem; min-height: 41px; border-radius: 4px; border: 1px solid #8e9c90; background: var(--side); }
.pagination button:disabled { color: #58645e; background: var(--paper); }
footer { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1rem; margin-top: 2.55rem; border-top: 1px solid var(--line); padding: .9rem 0 0; color: var(--muted); font-size: .83rem; }
footer > span { margin-left: auto; letter-spacing: .055em; font-weight: 700; }
@media (max-width: 1120px) {
  .path { gap: .48rem; }
  .path > svg { display: none; }
}
@media (max-width: 900px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { display: none; }
  .masthead-inner { padding-inline: 1rem; gap: .85rem; min-height: 65px; }
  .phone-nav { display: block; }
  .phone-nav summary { list-style: none; min-height: 43px; display: flex; align-items: center; gap: .35rem; padding: .45rem; cursor: pointer; }
  .phone-nav summary::-webkit-details-marker { display: none; }
  .phone-nav nav { position: absolute; z-index: 6; right: 1rem; top: calc(100% + 1px); width: min(20rem, calc(100vw - 2rem)); max-height: calc(100dvh - 96px); overflow: auto; color: var(--ink); background: var(--side); border: 1px solid var(--line); border-radius: 0 0 5px 5px; padding: .55rem; box-shadow: 0 12px 26px #081c1940; }
  .phone-nav nav :focus-visible { outline-color: #88581b; }
  .phone-nav .nav-group a { min-height: 42px; }
  .hero { min-height: 440px; }
  .doors { grid-template-columns: minmax(0, 1fr); }
  .door { min-height: 300px; }
}
@media (max-width: 610px) {
  .masthead-inner { flex-wrap: wrap; padding: .5rem .8rem; gap: .36rem .55rem; }
  .brand { min-width: auto; margin-right: auto; }
  .brand strong { font-size: 1.02rem; }
  .crest { width: 29px; height: 34px; }
  .brand-logo { width: 38px; height: 38px; }
  .opening-head { flex-direction: column; align-items: flex-start; }
  .site-search { order: 3; width: 100%; }
  .search-key { display: none; }
  main { padding: .85rem; }
  .hero { min-height: 485px; align-items: end; justify-items: stretch; }
  .hero > img { height: 67%; object-position: 26% center; }
  .hero::before { background: linear-gradient(0deg, #1e2b25 36%, #1e2b25de 48%, #1e2b2533 72%, transparent); }
  .hero-copy { width: 100%; padding: 5rem 1rem 2.65rem; }
  .hero h1 { font-size: clamp(2.32rem, 10.7vw, 3.7rem); }
  .hero h1 + p { font-size: 1rem; }
  .hero-caption { bottom: .35rem; right: .45rem; }
  .paths, .features { grid-template-columns: minmax(0, 1fr); gap: .55rem; }
  .path { min-height: 66px; }
  .path > svg { display: block; }
  .feature { grid-template-columns: 37% minmax(0, 1fr); grid-template-rows: auto; }
  .section-top { flex-wrap: wrap; margin-bottom: .55rem; }
  .section-top h2 { margin-bottom: 0; }
  .chapter, .catalog { scroll-margin-top: 8rem; }
  .article-head p { font-size: 1.07rem; }
  .command code { font-size: .79rem; }
  .copy { width: 42px; min-height: 40px; padding: .2rem; }
  .copy span { display: none; }
  .table-wrap:has(table.stack) { border: 0; overflow: visible; }
  table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack tr { border: 1px solid var(--line); border-radius: 4px; margin-bottom: .6rem; background: #fffdf6; }
  table.stack td { border-top: 1px solid var(--line); padding: .5rem .7rem; }
  table.stack td:first-child { border-top: 0; background: var(--side); font-size: 1.02rem; }
  table.stack td:not(:first-child)::before { content: attr(data-label); display: block; font-size: .78rem; font-weight: 600; color: var(--muted); margin-bottom: .1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-title, .reveal, .door > img, .primary, .door-go { transition: none; }
  html.anim .reveal-title:not(.in), html.anim .reveal:not(.in) { opacity: 1; transform: none; }
}

