/* Nasıl çalışıyoruz + SSS. Kept outside index.html so a
   full <style> rewrite from another editor cannot drop these rules. */

/* ---- nasıl çalışıyoruz: a departures board ----
   Sits between the references and the FAQ. The five steps are rows on one
   board: number and name on the flaps, what we do in plain text, what the
   client gets as a tag. Rows stagger in from the top as the board scrolls
   into view, and each row's flaps settle when the row itself is on screen. */
.bp-how { background: var(--sc-canvas); padding: 120px clamp(20px, 5vw, 48px) 120px; }
.bp-how__wrap { max-width: 1240px; margin: 0 auto; }

.bp-how__head {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  column-gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: 40px;
}
.bp-how__kicker {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin: 0 0 22px;
  font: 500 12px/1 var(--sc-font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--sc-ink-soft);
}
.bp-how__kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sc-accent); }
.bp-how h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: .98; margin: 0; }
.bp-how__lede { margin: 0; font: 400 clamp(.95rem, 1.15vw, 1.08rem)/1.6 var(--sc-font-text); color: var(--sc-ink-soft); max-width: 42ch; }

/* the board */
.bp-how__board {
  --how-cols: 72px minmax(0, 1.05fr) minmax(0, 1.7fr) minmax(0, 1fr);
  background: var(--sc-surface); border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.12);
}
.bp-how__cols, .bp-how__row {
  display: grid; grid-template-columns: var(--how-cols); column-gap: clamp(16px, 2.4vw, 36px);
  padding: 0 clamp(18px, 2.6vw, 36px);
}
.bp-how__cols {
  padding-top: 16px; padding-bottom: 16px;
  font: 500 11px/1 var(--sc-font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--sc-ink-soft);
  border-bottom: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.28);
}
.bp-how__row {
  align-items: center; padding-top: 26px; padding-bottom: 26px;
  border-top: 1px solid rgba(255,255,255,.08);
  transition: background 220ms var(--sc-ease-out);
}
.bp-how__row:first-of-type { border-top: 0; }
.bp-how__row:hover { background: rgba(255,255,255,.035); }
.bp-how__n { display: inline-flex; font-size: clamp(1.25rem, 1.7vw, 1.6rem); }
.bp-how__row h3 {
  margin: 0; min-width: 0;
  font: 600 clamp(1.1rem, 1.55vw, 1.4rem)/1 var(--sc-font-display); letter-spacing: .02em; color: var(--sc-ink);
}
.bp-how__row h3 [data-flap] { flex-wrap: nowrap; }
/* Oswald is narrow: tighter cells so a row reads as a word, not a spaced-out code. */
.bp-how__row .flap-cell { width: .84em; margin: 0 .035em; }
.bp-how__row p { margin: 0; font: 400 14px/1.55 var(--sc-font-text); color: var(--sc-ink-soft); max-width: 46ch; }
.bp-how__out {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 12px; border-radius: 4px; border: 1px solid rgba(255,255,255,.18);
  font: 500 12px/1.2 var(--sc-font-text); letter-spacing: .04em; color: var(--sc-ink);
}
.bp-how__out::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--sc-accent); flex: none; }

@media (max-width: 960px) {
  .bp-how { padding: 90px 20px 90px; }
  .bp-how__head { grid-template-columns: 1fr; align-items: start; row-gap: 16px; margin-bottom: 28px; }
  .bp-how__kicker { margin-bottom: 4px; }
  .bp-how__board { border-radius: 10px; }
  .bp-how__cols { display: none; }
  .bp-how__row {
    grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; row-gap: 10px;
    align-items: start; padding: 22px 18px;
  }
  .bp-how__row:first-of-type { border-top: 0; }
  .bp-how__n { grid-row: 1 / span 3; font-size: 1.1rem; margin-top: 2px; }
  .bp-how__row h3 { grid-column: 2; font-size: 1.15rem; }
  .bp-how__row h3 [data-flap] { flex-wrap: wrap; }
  .bp-how__row p { grid-column: 2; max-width: none; }
  .bp-how__out { grid-column: 2; margin-top: 4px; }
}

/* ---- sss: same 38/62 grid as the references ----
   Intro and a way out stay on the left; the questions are an indexed list on
   the right. One question is open on arrival so the list never reads as a
   closed wall. Open/close height is a native ::details-content transition
   where the browser has it, an instant toggle where it doesn't. */
.bp-faq { background: var(--sc-canvas); padding: 20px clamp(20px, 5vw, 48px) 130px; }
.bp-faq__grid {
  max-width: 1240px; margin: 0 auto; padding-top: 110px;
  border-top: 1px solid rgba(242,242,242,.12);
  display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 62%);
  gap: clamp(32px, 6vw, 96px); align-items: start;
}
.bp-faq__intro { position: sticky; top: 108px; }
.bp-faq__kicker {
  display: flex; align-items: center; gap: 10px; margin: 0 0 22px;
  font: 500 12px/1 var(--sc-font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--sc-ink-soft);
}
.bp-faq__kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sc-accent); }
.bp-faq h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: .98; margin: 0 0 22px; max-width: 14ch; }
.bp-faq__lede { margin: 0 0 30px; font: 400 clamp(.95rem, 1.15vw, 1.08rem)/1.6 var(--sc-font-text); color: var(--sc-ink-soft); max-width: 34ch; }

.bp-faq__list { border-top: 1px solid rgba(242,242,242,.14); }
.bp-faq__item { border-bottom: 1px solid rgba(242,242,242,.14); }
.bp-faq__item summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 36px; align-items: center; column-gap: 14px;
  padding: 26px 0;
}
.bp-faq__item summary::-webkit-details-marker { display: none; }
.bp-faq__i { font: 500 12px/1 var(--sc-font-text); letter-spacing: .1em; color: var(--sc-ink-soft); }
.bp-faq__q {
  font: 600 clamp(1.1rem, 1.5vw, 1.35rem)/1.15 var(--sc-font-display); text-transform: uppercase; letter-spacing: .02em;
  color: rgba(242,242,242,.72); transition: color 220ms var(--sc-ease-out);
}
.bp-faq__item summary:hover .bp-faq__q, .bp-faq__item[open] .bp-faq__q { color: var(--sc-ink); }
.bp-faq__x {
  position: relative; width: 36px; height: 36px; border-radius: 50%; justify-self: end;
  border: 1px solid rgba(242,242,242,.22); transition: border-color 220ms, background 220ms, transform 360ms var(--sc-ease-out);
}
.bp-faq__x::before, .bp-faq__x::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--sc-ink);
  width: 12px; height: 1.5px; transform: translate(-50%, -50%);
}
.bp-faq__x::after { transform: translate(-50%, -50%) rotate(90deg); }
.bp-faq__item summary:hover .bp-faq__x { border-color: rgba(242,242,242,.5); }
.bp-faq__item[open] .bp-faq__x { background: var(--sc-accent); border-color: var(--sc-accent); transform: rotate(45deg); }
.bp-faq__item[open] .bp-faq__x::before, .bp-faq__item[open] .bp-faq__x::after { background: var(--sc-accent-ink); }
.bp-faq__item summary:focus-visible { outline: none; }
.bp-faq__item summary:focus-visible .bp-faq__x { outline: 2px solid var(--sc-accent); outline-offset: 3px; }
.bp-faq__a { padding: 0 0 30px 58px; }
.bp-faq__a p { margin: 0; font: 400 15px/1.65 var(--sc-font-text); color: var(--sc-ink-soft); max-width: 58ch; }
@supports (interpolate-size: allow-keywords) {
  .bp-faq__item { interpolate-size: allow-keywords; }
  .bp-faq__item::details-content {
    height: 0; overflow: clip;
    transition: height 380ms var(--sc-ease-out), content-visibility 380ms allow-discrete;
  }
  .bp-faq__item[open]::details-content { height: auto; }
}

@media (max-width: 860px) {
  .bp-faq { padding: 0 20px 90px; }
  .bp-faq__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 80px; }
  .bp-faq__intro { position: static; }
  .bp-faq h2 { max-width: none; }
  .bp-faq__item summary { grid-template-columns: 32px minmax(0, 1fr) 32px; column-gap: 12px; padding: 20px 0; }
  .bp-faq__q { font-size: 1.05rem; }
  .bp-faq__x { width: 32px; height: 32px; }
  .bp-faq__a { padding: 0 0 24px 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .bp-faq__x { transition: none; }
  .bp-faq__item::details-content { transition: none; }
}
