/* Archivo, self-hosted (variable 200–600). latin-ext carries ğ ş İ. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 200 600; font-display: swap; src: url(fonts/archivo-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 200 600; font-display: swap; src: url(fonts/archivo-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* DML Mimarlık — design tokens from the handoff (README → Design tokens) */
:root {
  --bg: #f5f1ea; --ink: #1b1917; --accent: #806340; --body: #4a453f; --muted: #6d6762;
  --rule: #d9d1c4; --input: #8b8479; --fill: #e2dbd0; --tint: #efe9e0; --dark: #100f0d;
  --on-dark: #cfc7bc; --accent-on-dark: #c8b295;
  --px: clamp(20px, 6vw, 110px);
  --sec: clamp(64px, 9vw, 130px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; -webkit-text-size-adjust: 100%; } /* anchor links land below the fixed 70px header */
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Archivo", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, p, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sr:focus { position: fixed; left: 12px; top: 12px; z-index: 80; width: auto; height: auto; clip-path: none; padding: 10px 14px; background: var(--ink); color: var(--bg); }
/* images fade in once loaded (class set by main.js only on images still downloading) */
.js img.fade { opacity: 0; transition: opacity .4s ease, transform .9s ease; }
.js img.fade.in { opacity: 1; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* type */
.eyebrow { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.h-display { font-size: clamp(32px, 5.4vw, 76px); font-weight: 200; line-height: 1.08; letter-spacing: -.025em; max-width: 22ch; }
.h-sec { font-size: clamp(26px, 3.4vw, 46px); font-weight: 200; line-height: 1.12; letter-spacing: -.02em; }
.h-item { font-size: clamp(22px, 2.6vw, 34px); font-weight: 200; letter-spacing: -.02em; }
.lead { font-size: clamp(15px, 1.15vw, 17px); line-height: 1.7; color: var(--body); max-width: 58ch; text-wrap: pretty; }
.copy { font-size: 15px; line-height: 1.7; color: var(--body); max-width: 56ch; text-wrap: pretty; }
.note { font-size: 13px; line-height: 1.6; color: var(--muted); }
.label { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.link-line { display: inline-block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid var(--ink); }
.link-line:hover { border-color: var(--accent); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 22px; font: 400 12px/1 "Archivo", sans-serif; letter-spacing: .16em; text-transform: uppercase; border: 1px solid transparent; cursor: pointer; }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--accent); color: #fff; }
.btn-light { background: var(--bg); color: var(--ink); }
.btn-light:hover { background: var(--accent-on-dark); color: var(--ink); }
.btn-ghost { border-color: rgba(245,241,234,.45); color: var(--bg); }
.btn-ghost:hover { background: rgba(245,241,234,.12); color: var(--bg); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* layout */
.sec { padding: var(--sec) var(--px); border-bottom: 1px solid var(--rule); }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 2px solid var(--ink); }
.page-head { padding: clamp(52px, 7vw, 110px) var(--px) clamp(28px, 4vw, 50px); }
.page-head .h-display { margin-bottom: 26px; }
.page-head .h-display:last-child { margin-bottom: 0; }
.page-head .lead + .lead { margin-top: 18px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(26px, 4vw, 70px); align-items: start; }
.rule-top { border-top: 2px solid var(--ink); }
main.inner { padding-top: 70px; }

/* header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 60; background: rgba(245,241,234,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--rule); transition: background .3s, border-color .3s; }
.hdr-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 clamp(18px, 4vw, 64px); height: 70px; }
.hdr-logo img { height: 44px; width: auto; }
/* links fill the bar's height and the gaps between them, so a slightly-off click still hits */
.nav { display: none; align-items: center; align-self: stretch; --g: clamp(7px, 1.1vw, 17px); }
.nav a { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.nav a:not(.nav-cta) { align-self: stretch; display: flex; align-items: center; padding-inline: var(--g); }
.nav .nav-cta { margin-inline: var(--g); }
.nav a[aria-current="page"]:not(.nav-cta) { color: var(--accent); }  /* the Contact button keeps its own colors */
.nav .nav-cta { background: var(--ink); color: var(--bg); padding: 12px 18px; }
.nav .nav-cta:hover { background: var(--accent); color: #fff; }
.nav .nav-lang { font-size: 11px; letter-spacing: .16em; color: var(--muted); padding-left: 4px; }
.burger { display: flex; flex-direction: column; gap: 5px; padding: 12px; cursor: pointer; list-style: none; }
.burger::-webkit-details-marker { display: none; }
.burger span { display: block; width: 26px; height: 2px; background: var(--ink); }
.burger span:last-child { width: 18px; }
.menu { position: absolute; top: 70px; left: 0; right: 0; max-height: calc(100vh - 70px); max-height: calc(100dvh - 70px); overflow-y: auto; display: grid; border-top: 2px solid var(--ink); background: var(--bg); }
.menu a { padding: 18px clamp(18px, 4vw, 64px); border-bottom: 1px solid var(--rule); font-size: 20px; font-weight: 300; }
.menu .menu-cta { background: var(--ink); color: var(--bg); border: 0; }
.menu .menu-lang { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border: 0; }
@media (min-width: 1040px) { .nav { display: flex; } .mnav { display: none; } }
/* transparent over the home hero */
.js .hdr.on-hero { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.js .hdr.on-hero .nav a:not(.nav-cta), .js .hdr.on-hero .nav .nav-lang { color: var(--bg); }
.js .hdr.on-hero .nav .nav-cta { background: var(--bg); color: var(--ink); }
.js .hdr.on-hero .burger span { background: var(--bg); }
.js .hdr.on-hero .hdr-logo img { filter: invert(1); }

/* hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--dark); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.slide.on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide.on img { animation: ken 14s ease-out both; }
@keyframes ken { from { transform: scale(1.02); } to { transform: scale(1.11); } }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(16,15,13,.45) 0%, rgba(16,15,13,.15) 24%, rgba(16,15,13,.62) 60%, rgba(16,15,13,.9) 100%); }
.hero-text { position: absolute; z-index: 1; inset: auto 0 0; padding: 0 var(--px) clamp(34px, 5vw, 70px); display: flex; flex-direction: column; gap: 26px; }
.hero-text .kicker { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--bg); }
.hero h1 { max-width: 22ch; font-size: clamp(34px, 6.6vw, 96px); font-weight: 200; line-height: 1.07; letter-spacing: -.025em; color: #fff; text-transform: uppercase; text-wrap: balance; }
@media (max-width: 600px) { .hero-text { padding-bottom: 90px; } }
.hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero-video.on { opacity: 1; }
.hero-pause { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(245,241,234,.45); border-radius: 50%; background: none; color: var(--bg); cursor: pointer; transition: border-color .2s, background-color .2s; }
.hero-pause:hover { border-color: var(--bg); background: rgba(245,241,234,.12); }
.hero-pause[hidden], .hero-pause .i-play, .hero-pause[aria-pressed="true"] .i-pause { display: none; }
.hero-pause[aria-pressed="true"] .i-play { display: block; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: var(--rule); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.stats > div { background: var(--bg); padding: 20px 4px 18px 16px; }
.stats > div:first-child { padding-left: 0; }
.stats .num { font-size: clamp(28px, 3vw, 40px); font-weight: 200; line-height: 1; }
.stats .label { margin-top: 6px; font-size: 11px; letter-spacing: .14em; }

/* project cards (home) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); gap: clamp(26px, 3vw, 52px); padding-top: clamp(28px, 4vw, 56px); }
.card { display: flex; flex-direction: column; gap: 16px; }
.ph { overflow: hidden; background: var(--fill); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.card:hover .ph img { transform: scale(1.04); }
.r43 { aspect-ratio: 4/3; } .r32 { aspect-ratio: 3/2; } .r169 { aspect-ratio: 16/9; } .r219 { aspect-ratio: 21/9; }
.card-meta { display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid var(--rule); padding-top: 14px; }
.card-title { font-size: 19px; }
.card-sub { margin-top: 5px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }

/* service list (home) */
.svc-list { border-top: 2px solid var(--ink); }
.svc-list a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(18px, 2vw, 26px) 0; border-bottom: 1px solid var(--rule); font-size: clamp(19px, 2vw, 27px); font-weight: 300; transition: padding .3s; }
.svc-list a:hover { padding-left: 10px; }

/* steps (home) */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(158px, 100%), 1fr)); column-gap: clamp(18px, 2.4vw, 40px); row-gap: clamp(28px, 3.4vw, 48px); margin-top: clamp(30px, 4vw, 54px); }
.step { display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--ink); padding-top: 18px; }
.step-n { font-size: clamp(30px, 3.4vw, 46px); font-weight: 200; line-height: 1; letter-spacing: -.02em; color: var(--accent); }
.step-t { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.25; }
.step p:last-child { font-size: 14px; line-height: 1.65; color: var(--body); }

/* before / after: after photo on top (left of the handle), before underneath */
@property --p { syntax: "<percentage>"; inherits: true; initial-value: 72%; }
.ba { --p: 72%; max-height: 80vh; margin-inline: auto; position: relative; overflow: hidden; background: var(--fill); margin-top: clamp(24px, 3vw, 44px); user-select: none; -webkit-user-select: none; }
.ba.intro { transition: --p .9s cubic-bezier(.65, 0, .35, 1); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--p); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(16,15,13,.18); pointer-events: none; }
.ba-line span { position: absolute; top: 50%; left: 50%; width: clamp(48px, 5vw, 64px); aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; border: 3px solid #fff; box-shadow: 0 6px 22px rgba(16,15,13,.35); transition: transform .2s; }
.ba:hover .ba-line span, .ba:has(input:active) .ba-line span { transform: translate(-50%, -50%) scale(1.08); }
.ba:has(input:focus-visible) .ba-line span { outline: 2px solid var(--accent); outline-offset: 4px; }
html:not(.js) .ba input { display: none; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; } /* a finger can still scroll the page past it */

/* dark band */
.dark { background: var(--dark); color: var(--bg); padding: clamp(64px, 9vw, 140px) var(--px); }
.dark .eyebrow { color: var(--accent-on-dark); }
.dark h2 { font-size: clamp(28px, 4.4vw, 64px); font-weight: 200; line-height: 1.05; letter-spacing: -.025em; max-width: 20ch; color: #fff; }
.dark .copy { font-size: 16px; color: var(--on-dark); max-width: 46ch; }
.dark .addr { font-size: 14px; line-height: 1.7; color: var(--on-dark); border-bottom: 1px solid rgba(245,241,234,.3); padding-bottom: 4px; align-self: start; }
.dark .addr:hover { color: #fff; }
.band { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding: clamp(48px, 6vw, 96px) var(--px); }
.band p { font-size: clamp(22px, 3vw, 40px); font-weight: 200; letter-spacing: -.02em; max-width: 24ch; color: #fff; }

/* rows (projects list, services, process) */
.row { padding: clamp(30px, 4vw, 56px) var(--px); border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(20px, 3vw, 56px); }
.row .num { font-size: 11px; letter-spacing: .2em; color: var(--accent); margin-bottom: 10px; }
.row .copy { margin-bottom: 16px; }
.row-step > div:first-child { display: flex; gap: 18px; align-items: baseline; }
.row-step .num { margin: 0; }
.prow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: clamp(22px, 3.5vw, 60px); align-items: center; padding: clamp(26px, 3.6vw, 56px) var(--px); border-bottom: 1px solid var(--rule); transition: background .3s; }
.prow:hover { background: var(--tint); color: inherit; }
.prow .meta-line { font-size: 11px; letter-spacing: .2em; color: var(--accent); margin-bottom: 12px; }
.prow h2 { font-size: clamp(23px, 2.7vw, 36px); font-weight: 200; letter-spacing: -.02em; margin-bottom: 14px; }
.prow .copy { margin-bottom: 20px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 18px; }
.facts dd { margin-top: 6px; font-size: 16px; }

/* project detail */
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: clamp(22px, 3vw, 40px); }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--accent); }
.detail-hero { padding: 0 var(--px); }
.detail-body { padding: clamp(34px, 4.5vw, 70px) var(--px); }
.detail-body .facts { border-top: 2px solid var(--ink); grid-template-columns: 1fr; gap: 0; }
.detail-body .facts div { padding: 16px 0; border-bottom: 1px solid var(--rule); }
/* project spec: duration figure + services */
.spec { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3.4vw, 52px); border-top: 1px solid var(--rule); padding-top: 18px; margin-bottom: 24px; }
.spec dd, .facts dd:has(.spec-num) { margin-top: 8px; }
.spec-num { font-size: clamp(38px, 3.6vw, 54px); font-weight: 200; line-height: .9; letter-spacing: -.035em; color: var(--ink); font-variant-numeric: tabular-nums; }
.spec-unit { margin-left: 8px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
/* services: a short stacked list beside the figure, same reading as the detail fact sheet */
.spec-svc { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.spec > div + div { padding-left: clamp(20px, 3.4vw, 52px); border-left: 1px solid var(--rule); }
.facts .spec-svc { font-size: 16px; }
.detail-body .copy { font-size: 16px; line-height: 1.75; max-width: 66ch; border-top: 2px solid var(--ink); padding-top: 16px; }
@media (min-width: 900px) {
  .detail-body { grid-template-columns: minmax(220px, 1fr) 2fr; }
  .detail-body .facts { position: sticky; top: 100px; }
}
.copy p + p { margin-top: 1.1em; }
.gallery { padding: clamp(34px, 4.5vw, 70px) var(--px); border-top: 1px solid var(--rule); }
.tabs { display: none; flex-wrap: wrap; gap: 0 28px; border-bottom: 2px solid var(--ink); margin-bottom: clamp(20px, 2.6vw, 34px); }
.js .tabs { display: flex; }
.tabs button { font: 400 12px/1 "Archivo", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -2px; padding: 16px 0; cursor: pointer; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--accent); }
.tabs button span { color: var(--accent); margin-left: 6px; }
.folder h2 { font-size: 11px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
.folder + .folder { margin-top: 48px; }
.js .folder h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.js .folder + .folder { margin-top: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: clamp(10px, 1.4vw, 18px); }
@media (max-width: 599px) { .grid { grid-template-columns: 1fr 1fr; } } /* phones: two per row, half the scrolling */
.grid a { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--fill); }
.grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease, opacity .3s; }
.grid a:hover img { transform: scale(1.04); }
.grid.drawings a { background: #fff; }
.grid.drawings img { object-fit: contain; }
.next { border-top: 2px solid var(--ink); padding: clamp(34px, 4.5vw, 70px) var(--px); display: flex; flex-wrap: wrap; gap: 24px; align-items: end; justify-content: space-between; }
.next .big { font-size: clamp(22px, 3vw, 40px); font-weight: 200; letter-spacing: -.02em; }

/* lightbox */
.lb { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(16,15,13,.96); color: var(--bg); }
.lb::backdrop { background: rgba(16,15,13,.96); }
.lb { overflow: hidden; }
.lb .lb-low { filter: blur(14px); }
.lb:not(.loading) .lb-low { opacity: 0; }
.lb img:not(.lb-low) { transition: opacity .3s ease; }
.lb.loading img:not(.lb-low) { opacity: 0; }
.lb::after { content: ""; position: absolute; top: 0; left: 0; width: 30%; height: 2px; background: var(--accent-on-dark); opacity: 0; transition: opacity .2s; }
.lb.loading::after { opacity: 1; transition-delay: .15s; animation: lb-bar 1.1s ease-in-out infinite; }
@keyframes lb-bar { from { transform: translateX(-100%); } to { transform: translateX(340%); } }
.lb img { position: absolute; inset: 56px clamp(8px, 6vw, 90px); width: calc(100% - 2 * clamp(8px, 6vw, 90px)); height: calc(100% - 112px); object-fit: contain; }
.lb button { position: absolute; background: none; border: 0; color: var(--bg); font: 300 15px/1 "Archivo", sans-serif; letter-spacing: .14em; text-transform: uppercase; padding: 18px; cursor: pointer; }
.lb button:hover { color: var(--accent-on-dark); }
.lb .lb-x { top: 0; right: 0; }
.lb .lb-p, .lb .lb-n { top: 50%; transform: translateY(-50%); font-size: 30px; }
.lb .lb-p { left: 0; } .lb .lb-n { right: 0; }
.lb .lb-c { position: absolute; left: 18px; top: 18px; font-size: 12px; letter-spacing: .16em; color: var(--on-dark); }

/* about aside, contact */
.kv { display: flex; flex-direction: column; gap: 1px; background: var(--rule); }
.kv > div { background: var(--bg); padding: 22px 0 20px; }
.kv .label { margin-bottom: 8px; }
.kv .val { font-size: 17px; line-height: 1.6; }
.kv .val-lg { font-size: clamp(19px, 2vw, 26px); font-weight: 300; }
.kv .sub { display: inline-block; margin-top: 10px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); border-bottom: 1px solid var(--accent); padding-bottom: 4px; }
.form { display: flex; flex-direction: column; gap: 22px; border-top: 2px solid var(--ink); padding-top: 26px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea { font: 16px "Archivo", sans-serif; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--input); border-radius: 0; padding: 10px 0; outline: none; }
.form input:focus, .form textarea:focus { border-color: var(--accent); }
.form textarea { resize: vertical; }
.form .btn { align-self: start; }
.form .hp { position: absolute; left: -9999px; }
.form-msg { font-size: 14px; color: #9b2c1f; }
.form-msg:target { display: block; }
.map { height: clamp(300px, 46vh, 480px); background: var(--fill); border-top: 1px solid var(--rule); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) contrast(1.04); }

/* footer */
.ftr { border-top: 2px solid var(--ink); padding: clamp(40px, 5vw, 70px) var(--px) 96px; }
.ftr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: clamp(26px, 3vw, 48px); }
.ftr img { height: 50px; width: auto; margin-bottom: 16px; }
.ftr-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.6; }
.ftr-col .label { margin-bottom: 6px; }
.ftr-base { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; border-top: 1px solid var(--rule); margin-top: clamp(30px, 4vw, 52px); padding-top: 18px; font-size: 11px; letter-spacing: .1em; color: var(--muted); }
.wa { position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 70; display: flex; align-items: center; gap: 10px; background: var(--ink); color: var(--bg); padding: 14px 18px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; box-shadow: 0 10px 30px rgba(16,15,13,.28); }
.wa:hover { background: var(--accent); color: var(--bg); }

/* hakkımızda photo: 3:2 source cropped to 16:9 from the top (ceiling), figure and shelves stay */
.about-photo { padding: 0 var(--px) clamp(48px, 6vw, 100px); }
.about-photo .ph img { object-position: 50% 100%; }
/* wide screens: thinner 21:9 band, ~15% off the top and ~21% off the bottom so the head keeps its headroom */
@media (min-width: 900px) { .about-photo .ph { aspect-ratio: 21/9; } .about-photo .ph img { object-position: 50% 42%; } }

/* "copied" note for phone / mail links on computers (main.js) */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 60; transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--bg); padding: 13px 20px; font-size: 14px; letter-spacing: .02em; white-space: nowrap;
  transition: opacity .25s ease, transform .25s ease; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }

/* small text links: a larger invisible tap area for fingers, without moving the layout or the underline */
.crumbs a, .kv a, .link-line, .ftr-col a { position: relative; }
.crumbs a::after, .kv a::after, .link-line::after { content: ""; position: absolute; inset: -12px -4px; }
.ftr-col a::after { content: ""; position: absolute; inset: -9px 0; }
@media (pointer: coarse) { .ftr-col { gap: 18px; } }

/* page changes: the content fades and rises in. A plain animation, not a view transition: during a view
   transition the browser shows a picture of the page, so for ~0.6 s links had no hover and missed clicks. */
main { animation: .55s cubic-bezier(.2, .7, .2, 1) both page-in; }
@keyframes page-in { from { opacity: 0; transform: translateY(14px); } }

/* first page of a visit: the logo writes itself left to right, a bronze rule draws under it, then the page shows.
   Only with JS, once per browser session, never with reduced motion (class set in <head>). */
.splash { display: none; }
.intro .splash { position: fixed; inset: 0; z-index: 90; display: grid; place-content: center; justify-items: center; gap: 18px;
  background: var(--bg); pointer-events: none; animation: .55s ease-in 1.25s both intro-out; }
.intro .splash img { width: clamp(104px, 14vw, 140px); height: auto; animation: 1s cubic-bezier(.5, 0, .2, 1) .1s both intro-write; }
.intro .splash i { display: block; width: 56px; height: 1px; background: var(--accent); transform-origin: left; animation: .6s cubic-bezier(.6, 0, .2, 1) .65s both intro-rule; }
@keyframes intro-write { from { clip-path: inset(0 100% 0 0); opacity: .2; } to { clip-path: inset(0); opacity: 1; } }
@keyframes intro-rule { from { transform: scaleX(0); } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
