/* ══════════════════════════════════════════════════════════════
   SÖNMEZ İNŞAAT · filmic one-shot · premium-minimal
   Six tokens, two faces. The accent is the light in the frames.
   ══════════════════════════════════════════════════════════════ */
:root {
  --sc-canvas:     #0C0E0B;
  --sc-surface:    #14170F;
  --sc-ink:        #EDE9DD;
  --sc-ink-soft:   #A7AC98;
  --sc-accent:     #C9A87A;
  --sc-accent-ink: #0C0E0B;
  --sc-font-display: "Schibsted Grotesk", system-ui, sans-serif;
  --sc-font-text:    "Geist", system-ui, sans-serif;
  --sun-x: 50%;
  --panel: rgba(8, 10, 8, 0.86);
}
body { background: var(--sc-canvas); color: var(--sc-ink); }
.sc-grain { opacity: 0.05; }
.sc-body { line-height: 1.68; letter-spacing: 0.004em; color: var(--sc-ink-soft); }
.sc-display { font-weight: 800; }
.tnum { font-variant-numeric: tabular-nums; }

/* ── SIGNATURE MOVE: the raking sun ───────────────────────────
   One low sun lights every frame. The pointer is that sun: moving
   it rakes the light across the masonry so the texture lifts and
   falls. At the peak it sets, locks at the left, and stays down. */
.sun {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(105% 78% at var(--sun-x) 26%,
    rgba(201,168,122,0.34) 0%, rgba(201,168,122,0.13) 26%,
    rgba(12,14,11,0.30) 58%, rgba(8,9,8,0.72) 100%);
  mix-blend-mode: soft-light;
  transition: opacity 900ms var(--sc-ease-out);
}
@media (hover: none), (pointer: coarse) {
  .sun { animation: sweep 26s var(--sc-ease-in-out) infinite alternate; }
}
@keyframes sweep { from { background-position: -16% 0; } to { background-position: 16% 0; } }
body.is-set .sun { opacity: 0.5; }
@media (prefers-reduced-motion: reduce) { .sun { animation: none; transition: none; } }

/* ── SOFTER ACT TRANSITIONS ───────────────────────────────────
   Every full-bleed stage melts into the page ground at both edges
   instead of cutting on a hard line (fade-crossfade, easing). */
.soft::before, .soft::after {
  content: ""; position: absolute; left: 0; right: 0; height: 11vh;
  z-index: 12; pointer-events: none;
  transition: opacity 300ms linear;
}
.soft::before {
  top: 0; background: linear-gradient(to bottom, var(--sc-canvas) 0%, rgba(12,14,11,0.45) 40%, transparent 100%);
  opacity: clamp(0, calc(1 - var(--sc-p, 0) * 7), 1);
}
.soft::after {
  bottom: 0; background: linear-gradient(to top, var(--sc-canvas) 0%, rgba(12,14,11,0.45) 40%, transparent 100%);
  opacity: clamp(0, calc(1 - (1 - var(--sc-p, 1)) * 7), 1);
}

/* ── fixed minimal bar: logo and ONE cta ──────────────────────── */
.bar {
  position: fixed; inset-inline: 0; top: 0; z-index: 60;
  display: flex; align-items: center; gap: 1rem;
  padding: 0.7rem clamp(1rem, 4vw, 2.6rem);
  background: linear-gradient(to bottom, rgba(8,9,8,0.82), rgba(8,9,8,0));
}
.mark { display: block; text-decoration: none; flex: none; }
.mark img { display: block; height: 42px; width: auto; }
.bar-links { display: flex; align-items: center; gap: 1.35rem; margin-left: auto; }
.bar a.lnk, .bar .lang button {
  font-family: var(--sc-font-display); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--sc-ink-soft); text-decoration: none;
}
.bar a.lnk:hover { color: var(--sc-accent); }
.lang { display: inline-flex; border: 1px solid rgb(237 233 221 / 0.22); }
.lang button { padding: 0.3rem 0.48rem; background: transparent; border: 0; cursor: pointer; font-size: 0.66rem; }
.lang button[aria-pressed="true"] { background: var(--sc-accent); color: var(--sc-accent-ink); }
.cta-bar {
  font-family: var(--sc-font-display); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  padding: 0.58rem 1rem; border: 1px solid var(--sc-accent); color: var(--sc-accent);
  transition: background 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out);
}
.cta-bar:hover { background: var(--sc-accent); color: var(--sc-accent-ink); }

/* ── stage furniture ──────────────────────────────────────────── */
.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.sc-copy { z-index: 20; }
.hero-sub { margin-top: 1.15rem; max-width: 46ch; color: var(--sc-ink); }
/* the lead corner is narrow by default, which broke the headline over four
   lines. Give it room and step the display size down: two lines, three at the
   very most. */
.sc-copy--lead { max-width: min(92vw, 54rem); }
.sc-copy--lead .sc-display--xl {
  font-size: clamp(2.3rem, 5.2vw, 4.6rem); line-height: 1.0; letter-spacing: -0.032em;
}
@media (max-width: 700px) { .sc-copy--lead .sc-display--xl { font-size: clamp(2rem, 8.5vw, 2.9rem); } }

/* act 2, the argument */
.argu__in {
  position: relative; z-index: 20;
  width: min(100% - 2 * var(--sc-gutter), 46rem);
  margin-inline: auto; display: grid; align-content: center; height: 100%;
}
.argu__in p {
  font-family: var(--sc-font-display); font-weight: 600;
  font-size: clamp(1.35rem, 3.2vw, 2.5rem); line-height: 1.18; letter-spacing: -0.02em;
  grid-area: 1 / 1; margin: 0; text-wrap: balance;
}

/* act 3, the turn */
.turn { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.turn__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.8rem, 4vw, 3.6rem); align-items: start; }
.shot { margin: 0; overflow: hidden; }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption, .cap {
  margin-top: 0.55rem; font-family: var(--sc-font-display); font-weight: 600;
  font-size: 0.63rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sc-ink-soft);
}
.stack-shots { display: flex; flex-direction: column; gap: clamp(1rem, 2vw, 1.6rem); }
.mat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-top: 1.8rem; }
.mat figure { margin: 0; }
.mat img { display: block; width: 100%; height: 86px; object-fit: cover; }
.mat figcaption { margin-top: 0.38rem; font-size: 0.58rem; }

/* act 4, the peak */
.peak__wipe { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.peak__wipe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.peak .sc-copy { max-width: min(92vw, 42rem); }
.peak h2 { letter-spacing: calc(-0.03em + var(--sc-p, 0) * 0.03em); }
.peak .note {
  margin-top: 0.9rem; font-family: var(--sc-font-display); font-weight: 600;
  font-size: 0.66rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sc-accent);
}

/* act 5, the projects rail */
.rail { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.2rem); height: 100%; padding-inline: var(--sc-gutter); }
.rail__lead { flex: 0 0 clamp(17rem, 26vw, 24rem); }
.rail__end { flex: 0 0 clamp(15rem, 22vw, 21rem); }
.work { flex: 0 0 clamp(19rem, 34vw, 32rem); display: flex; flex-direction: column; gap: 0.85rem; }
.work__ph { overflow: hidden; }
.work img { display: block; width: 100%; height: clamp(280px, 48vh, 460px); object-fit: cover; }
.work h3 { font-family: var(--sc-font-display); font-weight: 800; font-size: 1.3rem; margin: 0; letter-spacing: -0.018em; }
.work .meta { display: flex; flex-wrap: wrap; gap: 0.4rem 0.9rem; }
.work .meta span {
  font-family: var(--sc-font-display); font-weight: 600; font-size: 0.63rem;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--sc-ink-soft);
}
.work .meta .on { color: var(--sc-accent); }
.work p { margin: 0; font-size: 0.95rem; line-height: 1.55; color: var(--sc-ink-soft); }

/* act 6, the close — its own dark panel so every line clears 4.5:1 */
.close__in {
  position: relative; z-index: 20; height: 100%;
  display: flex; align-items: center;
  width: min(100% - 2 * var(--sc-gutter), 64rem); margin-inline: auto;
  padding-bottom: 4.5rem;
}
.panel {
  background: var(--panel);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgb(237 233 221 / 0.13);
  padding: clamp(1.6rem, 3.5vw, 2.8rem);
  display: flex; flex-direction: column; gap: 1.3rem; width: 100%;
}
.panel h2 { color: var(--sc-ink); }
.panel .sc-body { color: var(--sc-ink-soft); max-width: 52ch; }
.quick { display: flex; flex-wrap: wrap; gap: 1rem 1.2rem; align-items: flex-end; }
.quick label {
  display: block; font-family: var(--sc-font-display); font-weight: 600; font-size: 0.6rem;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--sc-ink-soft); margin-bottom: 0.4rem;
}
.quick input {
  background: rgb(237 233 221 / 0.06); border: 1px solid rgb(237 233 221 / 0.2);
  color: var(--sc-ink); padding: 0.62rem 0.7rem; width: clamp(9rem, 20vw, 13rem); border-radius: 0;
  font-family: var(--sc-font-text); font-size: 0.96rem;
}
.quick input::placeholder { color: rgb(237 233 221 / 0.35); }
.quick input:hover { border-color: rgb(237 233 221 / 0.34); }
.quick input:focus { outline: none; border-color: var(--sc-accent); background: rgb(237 233 221 / 0.09); }
.cta {
  display: inline-block; text-decoration: none; cursor: pointer; border: 0;
  font-family: var(--sc-font-display); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.82rem 1.6rem; background: var(--sc-accent); color: var(--sc-accent-ink);
  transition: background 160ms var(--sc-ease-out);
}
.cta:hover { background: #DBBE96; }
.cta:active { translate: 0 1px; }
.facts { display: flex; flex-wrap: wrap; gap: 0.55rem 1.9rem; padding-top: 1.1rem; border-top: 1px solid rgb(237 233 221 / 0.14); }
.facts a, .facts span {
  font-family: var(--sc-font-display); font-weight: 600; font-size: 0.7rem;
  letter-spacing: 0.11em; text-transform: uppercase; color: var(--sc-ink-soft); text-decoration: none;
}
.facts a:hover { color: var(--sc-accent); }
.foot {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 20;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; align-items: center;
  padding: 1rem var(--sc-gutter);
  background: rgba(6, 8, 6, 0.9);
  border-top: 1px solid rgb(237 233 221 / 0.12);
}
.foot span, .foot a {
  font-family: var(--sc-font-display); font-weight: 600; font-size: 0.62rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--sc-ink-soft); text-decoration: none;
}
.foot a:hover { color: var(--sc-accent); }
.foot .bs { color: var(--sc-accent); }

/* ══ BS MİMARLIK · soft light world ═══════════════════════════
   The opposite register to Sönmez, by design: overcast daylight
   instead of one hard sun, plaster instead of stone, a light
   canvas, a sage accent, a serif set thin. Two disciplines,
   two identities. ═══════════════════════════════════════════ */
#page-bs {
  --sc-canvas:     #EDEAE3;
  --sc-surface:    #F5F3ED;
  --sc-ink:        #2A2A26;
  --sc-ink-soft:   #6B6960;
  --sc-accent:     #5F6E55;
  --sc-accent-ink: #F5F3ED;
  --sc-font-display: "Cormorant Garamond", Georgia, serif;
  --sc-font-text:    "Hanken Grotesk", system-ui, sans-serif;
  /* light-canvas corrections: the engine's edge highlight and shadow
     alphas are tuned for a near-black ground and read as dirt on paper */
  --sc-edge: inset 0 1px 0 rgb(255 255 255 / 0.7);
  --sc-shadow-color: 60 10% 45%;
  --sc-e1: 0 1px 2px hsl(var(--sc-shadow-color) / 0.07);
  --sc-e2: 0 3px 10px hsl(var(--sc-shadow-color) / 0.08);
  --sc-e3: 0 10px 34px hsl(var(--sc-shadow-color) / 0.10);
  color: var(--sc-ink);            /* restate: color inherits as a computed value */
  background: var(--sc-canvas);
  font-family: var(--sc-font-text);
  font-weight: 300;
}

/* soft type: a light serif display, generous leading, quiet sans body */
#page-bs .sc-display, #page-bs h1, #page-bs h2, #page-bs h3 {
  font-family: var(--sc-font-display); font-weight: 300;
  letter-spacing: -0.004em; line-height: 1.14; color: var(--sc-ink);
  text-wrap: balance;
}
#page-bs h1 { font-size: clamp(2.3rem, 5.2vw, 4.6rem); line-height: 1.05; }
#page-bs h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
#page-bs .sc-body, #page-bs p {
  font-family: var(--sc-font-text); font-weight: 300;
  font-size: clamp(1rem, 1.1vw, 1.08rem); line-height: 1.78;
  color: var(--sc-ink-soft); text-wrap: pretty;
}
#page-bs .bs-lead {
  font-family: var(--sc-font-display); font-weight: 400;
  font-size: clamp(1.3rem, 2.3vw, 2rem); line-height: 1.36;
  color: var(--sc-ink); max-width: 34ch; margin: 0;
}
#page-bs .lbl {
  display: block; font-family: var(--sc-font-text); font-weight: 400;
  font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sc-accent);
}

/* everything arrives slowly on this side */
#page-bs [data-sc-in], #page-bs [data-sc-stagger] > * {
  transition: opacity 1100ms var(--sc-ease-out), transform 1100ms var(--sc-ease-out);
}
html.anim #page-bs [data-sc-in]:not(.sc-in),
html.anim #page-bs [data-sc-stagger] > *:not(.sc-in) { transform: translate3d(0, 20px, 0); }

#page-bs .wrap { width: 100%; max-width: 78rem; margin-inline: auto; padding-inline: clamp(1.15rem, 5vw, 4.5rem); }
#page-bs .mv { padding-block: clamp(4.5rem, 10vw, 9rem); }
#page-bs .mv--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }
#page-bs .spread { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
#page-bs .spread--flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
#page-bs .measure { max-width: 54ch; }
#page-bs figure { margin: 0; }
#page-bs figure img { display: block; width: 100%; height: auto; }
#page-bs figcaption {
  margin-top: 0.75rem; font-family: var(--sc-font-text); font-weight: 400;
  font-size: 0.63rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sc-ink-soft);
}
#page-bs .rule { height: 1px; background: color-mix(in oklab, var(--sc-ink) 14%, transparent); border: 0; margin: 0; }

/* the opening */
#page-bs .open { padding-block: clamp(6.5rem, 15vh, 10rem) clamp(2.5rem, 5vw, 4rem); }
#page-bs .open__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: end; }
#page-bs .open__fig img { height: clamp(260px, 44vh, 440px); object-fit: cover; }
#page-bs .svc-list {
  display: flex; flex-wrap: wrap; gap: 0.45rem 1.5rem; margin-top: 2rem; padding-top: 1.1rem;
  border-top: 1px solid color-mix(in oklab, var(--sc-ink) 14%, transparent);
}
#page-bs .svc-list span {
  font-family: var(--sc-font-text); font-weight: 400; font-size: 0.65rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--sc-ink-soft);
}

/* the light plate */
#page-bs .plate .sc-copy { max-width: min(92vw, 40rem); }
#page-bs .plate h2 { color: #FBFAF6; }
#page-bs .plate .note {
  margin-top: 0.7rem; font-family: var(--sc-font-text); font-weight: 400; font-size: 0.65rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: #E6E1D4;
}
/* on a light world a scrim adds density under the copy, it does not just darken */
#page-bs .plate .sc-scrim--trail {
  background: linear-gradient(300deg, rgba(28,30,24,0.66) 0%, rgba(28,30,24,0.36) 44%, rgba(28,30,24,0) 74%);
}
#page-bs .plate video[data-sc-scrub], #page-bs .plate img.bg, #page-bs .plate .sc-stage__poster { object-position: 50% 55%; }
/* edges wash to plaster, which is gentler than washing to black */
#page-bs .soft::before { background: linear-gradient(to bottom, var(--sc-canvas) 0%, rgba(237,234,227,0.5) 42%, transparent 100%); }
#page-bs .soft::after  { background: linear-gradient(to top, var(--sc-canvas) 0%, rgba(237,234,227,0.5) 42%, transparent 100%); }

#page-bs .mat2 { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(1rem, 2.4vw, 2rem); margin-top: clamp(1.4rem, 2.6vw, 2.2rem); }

/* works */
#page-bs .works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.8rem, 4vw, 3.4rem) clamp(1.2rem, 2.6vw, 2.4rem); }
#page-bs .work-i img { height: clamp(240px, 34vh, 380px); object-fit: cover; }
#page-bs .work-i h3 { font-size: 1.5rem; margin: 0 0 0.4rem; }
#page-bs .work-i .meta { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; margin: 0.9rem 0 0.35rem; }
#page-bs .work-i .meta span {
  font-family: var(--sc-font-text); font-weight: 400; font-size: 0.62rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--sc-accent);
}
#page-bs .work-i p { max-width: 46ch; }

/* close */
#page-bs .close-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
#page-bs .det {
  display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0.6rem 1rem; padding: 0.85rem 0;
  border-top: 1px solid color-mix(in oklab, var(--sc-ink) 14%, transparent); align-items: baseline;
}
#page-bs .det:last-of-type { border-bottom: 1px solid color-mix(in oklab, var(--sc-ink) 14%, transparent); }
#page-bs .det a, #page-bs .det p { margin: 0; color: var(--sc-ink); text-decoration: none; font-size: 1rem; }
#page-bs .det a:hover { color: var(--sc-accent); }
#page-bs .backlink {
  display: inline-block; margin-top: 2.4rem; font-family: var(--sc-font-text); font-weight: 400;
  font-size: 0.67rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sc-ink-soft); text-decoration: none;
  border-bottom: 1px solid color-mix(in oklab, var(--sc-ink) 26%, transparent); padding-bottom: 3px;
}
#page-bs .backlink:hover { color: var(--sc-accent); border-bottom-color: var(--sc-accent); }

/* the fixed bar has to work on plaster while this route is open */
body.route-bs .bar { background: linear-gradient(to bottom, rgba(237,234,227,0.93), rgba(237,234,227,0)); }
body.route-bs .bar a.lnk, body.route-bs .lang button { color: #6B6960; }
body.route-bs .bar a.lnk:hover { color: #5F6E55; }
body.route-bs .lang { border-color: rgb(42 42 38 / 0.22); }
body.route-bs .lang button[aria-pressed="true"] { background: #5F6E55; color: #F5F3ED; }
body.route-bs .cta-bar { border-color: #5F6E55; color: #48533F; }
body.route-bs .cta-bar:hover { background: #5F6E55; color: #F5F3ED; }
body.route-bs .mark img { filter: invert(1) brightness(0.3) saturate(0.5); }
body.route-bs .sc-grain { opacity: 0.026; }

@media (max-width: 900px) {
  #page-bs .open__grid, #page-bs .spread, #page-bs .spread--flip,
  #page-bs .works, #page-bs .close-grid, #page-bs .mat2 { grid-template-columns: 1fr; }
  #page-bs .det { grid-template-columns: 1fr; gap: 0.25rem; }
}

/* ── toast ────────────────────────────────────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: 1.6rem; translate: -50% 220%; z-index: 90;
  background: var(--sc-accent); color: var(--sc-accent-ink); padding: 0.85rem 1.35rem;
  font-family: var(--sc-font-display); font-weight: 600; font-size: 0.76rem; letter-spacing: 0.05em;
  transition: translate 440ms var(--sc-ease-out); max-width: min(88vw, 30rem);
}
.toast.on { translate: -50% 0; }

@media (max-width: 900px) {
  .turn__grid, .bs-svc { grid-template-columns: 1fr; }
  .bs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bar-links { gap: 0.85rem; }
  .lnk-hide { display: none; }
  .mark img { height: 34px; }
}
@media (max-width: 700px) {
  .sc-display--xl { font-size: var(--sc-t-2xl); }
  .bs-grid { grid-template-columns: 1fr; }
  .quick { flex-direction: column; align-items: stretch; }
  .quick input { width: 100%; }
  .mat img { height: 68px; }
  .work img { height: 260px; }
}

/* ══════════════════════════════════════════════════════════════
   v2 · müşteri geri bildirimi
   Büyüyen tipografi · dikey projeler · mobil akıcılık · WhatsApp
   ══════════════════════════════════════════════════════════════ */

/* ── 1 · TİPOGRAFİ BİR KADEME YUKARI ──────────────────────────
   Motorun ölçeği ekranda küçük kalıyordu. Tokenleri burada
   yükseltiyoruz (site.css motordan sonra yükleniyor), sonra da
   token'a bağlı olmayan her boyutu tek tek büyütüyoruz. */
:root {
  --sc-t-xs:   clamp(0.80rem, 0.76rem + 0.18vw, 0.90rem);
  --sc-t-sm:   clamp(0.94rem, 0.90rem + 0.22vw, 1.05rem);
  --sc-t-base: clamp(1.08rem, 1.02rem + 0.32vw, 1.26rem);
  --sc-t-lg:   clamp(1.32rem, 1.18rem + 0.62vw, 1.70rem);
  --sc-t-xl:   clamp(1.78rem, 1.48rem + 1.40vw, 2.55rem);
  --sc-t-2xl:  clamp(2.30rem, 1.74rem + 2.70vw, 3.80rem);
  --sc-t-3xl:  clamp(3.00rem, 2.05rem + 4.60vw, 5.40rem);
  --sc-t-4xl:  clamp(3.60rem, 2.05rem + 7.00vw, 7.90rem);
}
.sc-body { font-size: clamp(1.06rem, 0.99rem + 0.42vw, 1.28rem); line-height: 1.72; }
.hero-sub { font-size: clamp(1.10rem, 1.00rem + 0.60vw, 1.46rem); max-width: 40ch; margin-top: 1.35rem; }
.sc-copy--lead .sc-display--xl { font-size: clamp(2.6rem, 5.8vw, 5.2rem); }
.argu__in { width: min(100% - 2 * var(--sc-gutter), 50rem); }
.argu__in p { font-size: clamp(1.55rem, 3.6vw, 2.9rem); line-height: 1.2; }
.bar a.lnk, .bar .lang button, .cta-bar { font-size: 0.78rem; }
.lang button { font-size: 0.72rem; padding: 0.34rem 0.54rem; }
.cta-bar { padding: 0.64rem 1.1rem; }
.shot figcaption, .cap, .work .meta span { font-size: 0.71rem; }
.mat figcaption { font-size: 0.66rem; }
.mat img { height: 104px; }
.peak .note { font-size: 0.74rem; }
.quick label { font-size: 0.68rem; }
.quick input { font-size: 1.06rem; padding: 0.78rem 0.82rem; }
.cta { font-size: 0.9rem; padding: 0.95rem 1.85rem; }
.facts a, .facts span { font-size: 0.8rem; }
.foot span, .foot a { font-size: 0.71rem; }

#page-bs .sc-body, #page-bs p { font-size: clamp(1.06rem, 0.99rem + 0.38vw, 1.24rem); line-height: 1.8; }
#page-bs .bs-lead { font-size: clamp(1.45rem, 2.6vw, 2.25rem); }
#page-bs .lbl, #page-bs figcaption, #page-bs .svc-list span { font-size: 0.73rem; }
#page-bs .work-i h3 { font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.2rem); }
#page-bs .det a, #page-bs .det p { font-size: 1.12rem; }
#page-bs .plate .note { font-size: 0.74rem; }
#page-bs .backlink { font-size: 0.76rem; }

/* ── 2 · PROJELER ARTIK AŞAĞI AKIYOR ──────────────────────────
   Eskiden bu bölüm yatay bir raydı: dikey kaydırma yana harekete
   çevriliyordu. Okuyucu sayfanın yönünü kaybediyor, telefonda da
   parmağın kendi kaydırmasıyla çakışıyordu. Artık sıradan bir
   ızgara; kaydırma ne yöne giderse sayfa o yöne gidiyor. */
.works-sec { padding-block: clamp(3.5rem, 8vw, 7rem); }
.works-head { margin-bottom: clamp(2rem, 4.5vw, 3.6rem); }
.works-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.2rem, 5vw, 4rem) clamp(1.4rem, 3vw, 2.6rem);
}
.works-grid .work { flex: none; display: flex; flex-direction: column; gap: 0.85rem; }
.works-grid .work__ph { overflow: hidden; }
.works-grid .work img { width: 100%; height: clamp(280px, 32vw, 480px); object-fit: cover; }
.works-grid .work h3 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.1rem); }
.works-grid .work p { font-size: clamp(1rem, 0.95rem + 0.32vw, 1.14rem); line-height: 1.62; }
.works-end {
  margin-top: clamp(2.6rem, 5vw, 4rem); padding-top: 1.5rem;
  border-top: 1px solid rgb(237 233 221 / 0.14);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.9rem 2rem;
}
.works-end p { margin: 0; }
.works-end .lnk {
  color: var(--sc-accent); text-decoration: none; font-family: var(--sc-font-display);
  font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .works-grid { grid-template-columns: 1fr; }
  .works-grid .work img { height: clamp(230px, 62vw, 340px); }
}

/* ── 3 · HER SAYFADA WHATSAPP ─────────────────────────────────
   Sabit, sağ altta, iki sayfada da. Telefonda yalnızca daire:
   ekranın altını kaplamasın. */
.wa {
  position: fixed; z-index: 80;
  right: max(1rem, env(safe-area-inset-right));
  bottom: calc(1rem + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.78rem 1.15rem 0.78rem 0.95rem;
  background: #25D366; color: #05230E; border-radius: 999px;
  text-decoration: none; box-shadow: 0 6px 22px rgba(0, 0, 0, 0.34);
  font-family: var(--sc-font-display); font-weight: 700;
  font-size: 0.82rem; letter-spacing: 0.05em;
  transition: transform 200ms var(--sc-ease-out), box-shadow 200ms var(--sc-ease-out), background 200ms var(--sc-ease-out);
}
.wa:hover { background: #1FBE5A; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42); }
.wa:active { transform: translateY(0); }
.wa svg { display: block; width: 22px; height: 22px; fill: currentColor; flex: none; }
@media (max-width: 760px) {
  .wa { padding: 0; width: 58px; height: 58px; justify-content: center; border-radius: 50%; }
  .wa__t { display: none; }
  .wa svg { width: 28px; height: 28px; }
  .toast { bottom: 6rem; }
}
body.route-bs .wa { box-shadow: 0 6px 22px rgba(60, 55, 40, 0.22); }

/* ── 4 · MOBİLDE AKICILIK ─────────────────────────────────────
   Takılmanın tek bir kaynağı yoktu. Sırayla:
   · her kaydırmada video araması (site.js klibi telefonda artık
     hiç indirmiyor, poster kare yerinde kalıyor)
   · tam ekran mix-blend-mode ve sabit gren katmanı
   · panelin backdrop-filter bulanıklığı
   · onlarca kalıcı will-change katmanı
   Hepsi dokunmatik ekranda kapanıyor; masaüstünde duruyor. */
@media (hover: none), (pointer: coarse) {
  .sc-grain { display: none; }
  .sun {
    mix-blend-mode: normal; animation: none;
    background: radial-gradient(125% 88% at 50% 24%,
      rgba(201, 168, 122, 0.15) 0%, rgba(12, 14, 11, 0.26) 52%, rgba(8, 9, 8, 0.66) 100%);
  }
  .panel { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(7, 9, 7, 0.95); }
  .soft::before, .soft::after { height: 8vh; }
  [data-sc-cue], .sc-copy, [data-sc-in], [data-sc-stagger] > *,
  [data-sc-parallax], [data-sc-reveal], .sc-split__i { will-change: auto; }
}
/* ── 5 · KÜÇÜK EKRAN DÜZENİ ───────────────────────────────────
   860px altında motor .sc-copy'yi zaten sola alıyor; burada
   sadece nefes payı ve dokunma hedefi boyutu. */
@media (max-width: 760px) {
  .bar { padding: 0.55rem 1rem; }
  .mark img { height: 30px; }
  .bar-links { gap: 0.7rem; }
  .cta-bar { padding: 0.55rem 0.8rem; font-size: 0.7rem; }
  .lang button { padding: 0.34rem 0.46rem; }
  .hero-sub { max-width: 34ch; }
  .argu__in p { font-size: clamp(1.35rem, 6.4vw, 1.95rem); }
  .mat { gap: 0.5rem; }
  .mat img { height: 84px; }
  .close__in { align-items: flex-start; padding-top: 5.5rem; padding-bottom: 7.5rem; }
  .panel { padding: 1.25rem 1.15rem; gap: 1.05rem; }
  .quick input { width: 100%; }
  .cta { width: 100%; }
  .facts { gap: 0.5rem 1.2rem; }
  .facts a, .facts span { font-size: 0.74rem; }
  .foot { gap: 0.35rem 1rem; padding: 0.8rem 1rem; }
  .foot span, .foot a { font-size: 0.63rem; }
  #page-bs .open { padding-block: clamp(5rem, 13vh, 7rem) 2.5rem; }
  #page-bs .open__fig img { height: clamp(220px, 52vw, 320px); }
  #page-bs .work-i img { height: clamp(220px, 58vw, 320px); }
}
/* iOS'ta adres çubuğu açılıp kapandıkça 100vh sıçrar ve sahne her
   karede yeniden ölçülür. svh sabit kalır. */
@supports (height: 100svh) {
  .sc-stage { height: 100svh; }
}


/* ── 6 · TELEFONDA GÖRÜLEN ÜÇ HATA ────────────────────────────
   375px'de gerçek cihaz ölçüsünde bakınca çıktılar. */

/* a · Bildirim kutusu. Eskiden yalnızca kendi yüksekliğinin
   %220'si kadar aşağı itilerek saklanıyordu; WhatsApp düğmesi
   için alt boşluğu büyütünce o itme yetmedi ve boş turuncu bir
   kutu ekranda asılı kaldı. Artık saklanmayı opacity taşıyor,
   yani alt boşluk ne olursa olsun görünmüyor. */
.toast { opacity: 0; pointer-events: none; transition: translate 440ms var(--sc-ease-out), opacity 240ms linear; }
.toast.on { opacity: 1; pointer-events: auto; }

/* b · Üst çubuk 375px'de iki satıra taşıyor, "BS Mimarlık"
   logonun üstüne biniyordu. Bağlantılar tek satıra kilitlendi;
   en dar ekranda "İletişim" düğmesi düşüyor, çünkü zaten sağ
   altta sürekli duran bir WhatsApp düğmesi var. */
.bar a.lnk, .cta-bar { white-space: nowrap; }
.bar-links { flex-wrap: nowrap; }
@media (max-width: 560px) {
  .bar { gap: 0.5rem; }
  .bar-links { gap: 0.55rem; }
  .cta-bar { display: none; }
  .bar a.lnk { font-size: 0.66rem; letter-spacing: 0.1em; }
  .lang button { font-size: 0.66rem; padding: 0.3rem 0.4rem; }
}

/* c · Başlıklar. Masaüstünde istenen büyüme telefonda dört
   satıra çıkıp alt yazıya değiyordu. Küçük ekranda kendi
   tavanları var. */
@media (max-width: 760px) {
  .sc-display--lg { font-size: clamp(2.05rem, 8.2vw, 2.85rem); line-height: 1.08; }
  .sc-display--md { font-size: clamp(1.9rem, 7.4vw, 2.5rem); line-height: 1.1; }
  .peak .note { margin-top: 1.05rem; }
  .sc-copy--lead .sc-display--xl { font-size: clamp(2.05rem, 8.6vw, 2.95rem); line-height: 1.06; }
  #page-bs h1 { font-size: clamp(2.1rem, 8.4vw, 2.9rem); }
  #page-bs h2 { font-size: clamp(1.75rem, 6.8vw, 2.3rem); }
  #page-bs .bs-lead { font-size: clamp(1.25rem, 5vw, 1.6rem); }
}


/* ── 7 · KAPANIŞ BÖLÜMÜ ARTIK KIRPILMIYOR ─────────────────────
   "Projenizi konuşalım" bölümü tek ekrana sabitlenmiş bir
   sahneydi: yüksekliği 100svh, taşan içerik kırpılıyordu.
   Yazılar büyüyünce telefonda form ile birlikte telefon
   numarası ve adres alt şeridin altında kaldı.

   Sahne artık akışta: içeriği kadar uzuyor, bir ekrandan kısa
   olmuyor, hiçbir satır kesilmiyor. Fotoğraf, ışık ve alt şerit
   yerlerinde; yalnızca çerçevenin yüksekliği serbest. */
#iletisim [data-sc-stage] { min-height: 100svh; }
#iletisim .close__in {
  /* height:100% bir ölçü vermiyordu; auto yükseklikte de flex
     hizalaması tutunacak bir yer bulamıyor. min-height ikisini de
     çözüyor: bir ekrandan kısa olmuyor, içerik uzarsa uzuyor. */
  height: auto; min-height: 100svh;
  padding-block: clamp(6rem, 14vh, 9rem) clamp(6.5rem, 13vh, 8rem);
}
@media (max-width: 760px) {
  #iletisim .close__in { padding-block: 5.5rem 9.5rem; }
}


/* ── 8 · KAPANIŞ: SAYDAM KOYU İLETİŞİM KUTUSU ────────────────
   Bu satırlar site genelinde etiket gibi davranıyordu: büyük
   harf, geniş harf aralığı, display yazı tipi. Bir e-posta
   adresi öyle yazılınca bağırıyor ve okunmuyor.

   Burada okunacak bir bilgi var, etiket değil: normal yazı
   tipi, normal harf, küçük punto, alt alta. Kutu fotoğrafın
   üstünde durduğu için saydam ama koyu: arkadaki teras
   görünüyor, yazı yine de rahat okunuyor. */
.panel--slim {
  gap: 0;
  width: auto;
  max-width: min(100%, 34rem);
  background: rgba(6, 8, 6, 0.58);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgb(237 233 221 / 0.16);
  padding: clamp(1.1rem, 2.2vw, 1.55rem) clamp(1.25rem, 2.5vw, 1.85rem);
}
.panel--slim .facts {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 0.5rem; padding-top: 0; border-top: 0;
}
.panel--slim .facts a, .panel--slim .facts span {
  font-family: var(--sc-font-text); font-weight: 400;
  font-size: 0.96rem; line-height: 1.5;
  letter-spacing: 0.004em; text-transform: none;
  color: var(--sc-ink);
}
.panel--slim .facts span { color: var(--sc-ink-soft); }
.panel--slim .facts a { border-bottom: 1px solid rgb(237 233 221 / 0.24); padding-bottom: 1px; }
.panel--slim .facts a:hover { color: var(--sc-accent); border-bottom-color: var(--sc-accent); }

/* Alt şeritte artık iki satır var: kuruluş ve Instagram. */
.foot { gap: 0.4rem 1.8rem; }

#iletisim .close__in { align-items: flex-end; }
@media (max-width: 760px) {
  #iletisim .close__in { align-items: flex-end; padding-block: 6rem 9.5rem; }
  .panel--slim { max-width: 100%; }
  .panel--slim .facts a, .panel--slim .facts span { font-size: 0.9rem; }
  /* Bulanıklık telefonda kapalı, o yüzden zemin biraz daha koyu
     olmazsa parlak fotoğraf üstünde kontrast düşüyor. */
  .panel.panel--slim { background: rgba(6, 8, 6, 0.7); backdrop-filter: none; -webkit-backdrop-filter: none; }
}


/* ══ KEEP THIS LAST · CONTENT VISIBILITY GUARD ════════════════
   The engine parks [data-sc-in] and every child of [data-sc-stagger]
   at opacity 0 until an observer fires. Any hiccup in that chain (an
   IntersectionObserver that never delivers, a throttled compositor
   that never finishes the transition, a route mounted while hidden)
   leaves real text invisible for good, and that has happened here
   more than once. So opacity is pinned on: the entrance is a position
   settle only, which can fail safely because a stalled transform
   still leaves the words on the page. Do not move this block up. */
[data-sc-in], [data-sc-stagger] > * { opacity: 1 !important; }
html.anim [data-sc-in]:not(.sc-in),
html.anim [data-sc-stagger] > *:not(.sc-in) { transform: translate3d(0, 16px, 0); }
[data-sc-in].sc-in, [data-sc-stagger] > .sc-in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.anim [data-sc-in]:not(.sc-in),
  html.anim [data-sc-stagger] > *:not(.sc-in) { transform: none; }
}
