/* Many Business Solutions · Hakkımızda
   Loaded after style.css and reuses its tokens, buttons, header, CTA and footer.
   The inner-page primitives (solid header, breadcrumbs, intro guard) mirror blog.css
   so this page does not need the blog stylesheet. Everything renders without JavaScript;
   js/about.js adds smooth scroll and entrance motion. */

/* ---------- Inner-page primitives ---------- */
.hdr--page::before { opacity: 1; }
.hdr--page .hdr__nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.hdr--page.is-dark .hdr__nav a[aria-current="page"] { background: #fff; color: var(--ink); }

.js:not(.is-ready) [data-intro], .js:not(.is-ready) [data-split-intro] { visibility: hidden; }

.page-top { padding-top: clamp(116px, 13vw, 168px); }

.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; color: var(--ink-3); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before {
  content: ""; width: 5px; height: 5px; margin-inline: 12px;
  border-top: 1.4px solid currentColor; border-right: 1.4px solid currentColor;
  transform: rotate(45deg); opacity: .6;
}
.crumbs a { display: inline-block; padding-block: 12px; transition: color var(--t-fast); }
.crumbs a:hover { color: var(--indigo); }
.crumbs [aria-current="page"] { color: var(--ink); }

/* Serif accent word in the page title */
.phead__title em {
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  font-size: 1.1em; line-height: 1; letter-spacing: -.005em; color: var(--indigo);
}

/* Small geometric markers: circle = commercial, square = legal, diamond = shared plan */
.shape { display: inline-block; width: 14px; height: 14px; flex: none; }
.shape--c { color: var(--ink-2); }
.shape--s { color: var(--ink-2); }
.shape--d { color: var(--indigo); width: 13px; height: 13px; }

/* ---------- Page head ---------- */
.phead { padding-bottom: clamp(40px, 5vw, 72px); }
.phead .crumbs { margin-bottom: clamp(28px, 4vw, 48px); }
.phead__grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px); align-items: end;
}
.phead__title {
  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 1.12; letter-spacing: -.03em; font-weight: 460;
  text-wrap: balance; max-width: 17ch;
}
.phead__aside p { color: var(--ink-2); font-size: 17px; max-width: 46ch; }
.phead__cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

.phead__facts {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.phead__facts div { padding: 20px 24px 0 0; }
.phead__facts div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.phead__facts dt { color: var(--ink-3); }
.phead__facts dd { margin: 8px 0 0; font-size: 20px; letter-spacing: -.015em; font-weight: 480; font-variant-numeric: tabular-nums; }

/* ---------- Cover band ---------- */
.band { padding-inline: 10px; }
.band__frame {
  position: relative; isolation: isolate;
  height: clamp(340px, 46vw, 660px);
  border-radius: var(--r-lg); overflow: hidden;
  background: #1A1822;
}
.band__media { position: absolute; inset: 0; z-index: -2; }
.band__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.band__frame::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(10, 9, 16, .5) 0%, rgba(10, 9, 16, 0) 38%);
  pointer-events: none;
}
.band__cap { position: absolute; left: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); }

/* ---------- (01) Who ---------- */
.who__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.who__side { position: sticky; top: 120px; }
.who__side .h2 { max-width: 14ch; }
.who__fig { margin-top: clamp(32px, 4vw, 56px); }
.who__img { position: relative; aspect-ratio: 5 / 4; border-radius: var(--r-md); overflow: hidden; background: var(--paper-2); }
.who__img img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; object-position: 62% 50%; }
.who__fig figcaption { margin-top: 14px; color: var(--ink-3); }

.who__main { padding-top: clamp(0px, 3vw, 44px); }
.who__lead {
  font-size: clamp(22px, 2.1vw, 30px); line-height: 1.38; letter-spacing: -.02em; font-weight: 420;
  text-wrap: pretty; max-width: 30ch;
}
.who__body { margin-top: 24px; color: var(--ink-2); font-size: 17px; max-width: 58ch; }

.quote {
  position: relative;
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(28px, 3vw, 40px) 0 0 clamp(20px, 2.4vw, 36px);
  border-top: 1px solid var(--line);
}
.quote::before {
  content: ""; position: absolute; left: 0; top: clamp(34px, 3.6vw, 48px);
  width: 8px; height: 8px; background: var(--indigo); transform: rotate(45deg);
}
.quote p {
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  font-size: clamp(26px, 2.5vw, 36px); line-height: 1.22; letter-spacing: -.01em;
  color: var(--ink); max-width: 26ch; text-wrap: balance;
}
.quote footer { margin-top: 18px; color: var(--ink-3); }

.clients { margin-top: clamp(48px, 6vw, 80px); }
.clients__title { color: var(--ink-3); margin-bottom: 18px; }
.clients__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); }
.clients__list li { padding: 22px 0 26px; border-top: 1px solid var(--line); }
.clients__list .mono { color: var(--indigo); }
.clients__list h4 { margin: 10px 0 0; font-size: 19px; line-height: 1.3; letter-spacing: -.015em; font-weight: 520; }
.clients__list p { margin-top: 8px; color: var(--ink-2); font-size: 15px; max-width: 36ch; }

/* ---------- (02) Tenets ---------- */
.tenets {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-2);
}
.tenet {
  position: relative;
  padding: 28px 28px 8px 0;
  transition: opacity var(--t-med) var(--ease-out);
}
.tenet + .tenet { padding-left: 28px; border-left: 1px solid var(--line); }
.tenet .mono { color: var(--ink-3); transition: color var(--t-fast); }
.tenet__word {
  margin-top: clamp(28px, 4vw, 64px);
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  font-size: clamp(34px, 3.2vw, 46px); line-height: 1.12; letter-spacing: -.01em;
  color: var(--indigo);
  transition: transform .6s var(--ease-out);
}
.tenet p { margin-top: 16px; color: var(--ink-2); font-size: 15px; max-width: 30ch; }
.tenet::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px;
  background: var(--indigo); transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .tenets:hover .tenet:not(:hover) { opacity: .42; }
  .tenet:hover::before { transform: scaleX(1); }
  .tenet:hover .tenet__word { transform: translateX(6px); }
  .tenet:hover .mono { color: var(--indigo); }
}

/* ---------- (03) Lens ---------- */
.lens {
  padding-block: var(--sec);
  background: var(--card);
  border-block: 1px solid var(--line);
}
.lens__head {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 48px; align-items: end;
  margin-bottom: clamp(36px, 5vw, 72px);
}
.lens__head .h2 { max-width: 19ch; }
.lens__aside > p:first-child { color: var(--ink-2); max-width: 48ch; }

.formula {
  margin-top: 24px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.formula__part {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 40px; padding: 8px 14px 8px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--paper);
  font-size: 14px; font-weight: 500; line-height: 1.2; white-space: nowrap;
}
.formula__part--plan { background: var(--indigo-soft); border-color: transparent; color: var(--indigo-deep); }
.formula__op { font-family: var(--f-mono); font-size: 15px; color: var(--ink-3); padding-inline: 2px; }

.lens__table { border-top: 1px solid var(--line-2); }
.lens__row {
  position: relative; isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(0, .95fr);
  gap: 28px; align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-2);
}
.lens__row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -.5); z-index: -1;
  background: var(--paper); border-radius: var(--r-sm);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .lens__row:not(.lens__row--head):hover::before { transform: scaleY(1); }
  .lens__row:not(.lens__row--head):hover .lens__topic .mono { color: var(--indigo); }
}
.lens__row--head { padding: 16px 0; color: var(--ink-3); }
.lens__row--head .mono { display: inline-flex; align-items: center; gap: 10px; }
.lens__topic { display: flex; align-items: baseline; gap: 18px; }
.lens__topic .mono { color: var(--ink-3); transition: color var(--t-fast); }
.lens__topic h3 { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.2; letter-spacing: -.022em; font-weight: 460; }
.lens__q { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; max-width: 36ch; }
.lens__k { display: none; }
.plan {
  display: inline-flex; align-items: flex-start; gap: 10px;
  padding: 10px 14px 10px 12px; border-radius: 12px;
  background: var(--indigo-soft); color: var(--indigo-deep);
  font-size: 14.5px; font-weight: 500; line-height: 1.4;
}
.plan .shape { margin-top: 3px; }
.lens__note { margin-top: 24px; color: var(--ink-3); font-size: 13px; }

/* ---------- (04) Why us (dark) ---------- */
.merit-wrap { padding: var(--sec) 10px 0; }
.merit {
  position: relative;
  background: var(--night); color: var(--on-night);
  border-radius: var(--r-lg);
  padding-block: clamp(64px, 9vw, 136px) clamp(48px, 7vw, 104px);
  overflow: clip;
}
.merit :focus-visible { outline-color: var(--indigo-light); }
.merit__head {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 48px; align-items: end;
  margin-bottom: clamp(36px, 5vw, 72px);
}
.merit .h2 em { color: var(--indigo-light); }
.merit__aside { color: var(--on-night-2); max-width: 44ch; }
.merit__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.merit__item {
  display: flex; flex-direction: column;
  min-height: 300px; padding: 28px;
  border-radius: var(--r-md);
  background: var(--night-2);
  border: 1px solid var(--night-line);
  transition: border-color var(--t-med) var(--ease-out), background-color var(--t-med) var(--ease-out);
}
.merit__no {
  font-family: var(--f-serif); font-style: italic; font-size: 44px; line-height: 1.1;
  color: var(--indigo-light);
  transition: transform .6s var(--ease-out);
}
.merit__item h3 { margin-top: clamp(40px, 5vw, 72px); font-size: 22px; line-height: 1.25; letter-spacing: -.02em; font-weight: 480; }
.merit__item p { margin-top: 12px; color: var(--on-night-2); font-size: 15px; line-height: 1.6; }
@media (hover: hover) and (pointer: fine) {
  .merit__item:hover { border-color: rgba(169, 156, 255, .45); background: #1B1A25; }
  .merit__item:hover .merit__no { transform: translateX(6px); }
}
.merit__end {
  margin-top: clamp(40px, 5vw, 64px); padding-top: 32px;
  border-top: 1px solid var(--night-line);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px;
}
.merit__end p { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.45; letter-spacing: -.012em; max-width: 44ch; }

/* ---------- (05) Group ---------- */
.group__head { align-items: start; }
.group__copy { padding-top: 46px; }
.group__copy > p { color: var(--ink-2); max-width: 50ch; }
.group__copy > p + p { margin-top: 14px; }
.group__copy > .link { margin-top: 18px; }

.tree { --drop: 56px; --gap: clamp(16px, 2vw, 24px); max-width: 1180px; margin-inline: auto; }
.tree__root {
  position: relative;
  width: fit-content; max-width: 100%; margin-inline: auto;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 20px 36px; border-radius: var(--r-md);
  background: var(--ink); color: #fff; text-align: center;
}
.tree__root-name { font-size: 22px; font-weight: 500; letter-spacing: -.015em; line-height: 1.25; }
.tree__root .mono { color: var(--indigo-light); font-size: 11px; }
.tree__root::after {
  content: ""; position: absolute; left: 50%; top: 100%;
  width: 1px; height: calc(var(--drop) / 2); background: var(--line-2);
  transform-origin: top;
}
.tree__kids {
  position: relative;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap);
  margin-top: calc(var(--drop) / 2); padding-top: calc(var(--drop) / 2);
}
/* horizontal rail: from the first card centre to the last */
.tree__kids::before {
  content: ""; position: absolute; top: 0;
  left: calc((100% - var(--gap) * 2) / 6); right: calc((100% - var(--gap) * 2) / 6);
  height: 1px; background: var(--line-2);
  transform-origin: center;
}
.tree__node {
  position: relative;
  display: flex; flex-direction: column;
  padding: 26px 26px 14px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--line);
  transition: border-color var(--t-med) var(--ease-out), transform .6s var(--ease-out);
}
.tree__node::before {
  content: ""; position: absolute; left: 50%; bottom: 100%;
  width: 1px; height: calc(var(--drop) / 2 + 1px); background: var(--line-2);
  transform-origin: top;
}
.tree__node .mono { color: var(--ink-3); font-size: 11px; }
.tree__node h3 { margin-top: 14px; font-size: 21px; line-height: 1.3; letter-spacing: -.015em; font-weight: 520; }
.tree__node p { margin-top: 10px; color: var(--ink-2); font-size: 15px; line-height: 1.6; max-width: 34ch; }
.tree__node .link { margin-top: auto; padding-top: 18px; font-size: 14px; align-self: flex-start; }
.tree__node .link { background-position: left calc(100% - 6px); }
.tree__node.is-here { border-color: var(--indigo); box-shadow: 0 0 0 1px var(--indigo); background: #fff; }
.tree__node.is-here::before { background: var(--indigo); width: 1.5px; }
.tree__node .tree__here {
  position: absolute; right: 14px; top: -12px;
  padding: 5px 10px; border-radius: 999px;
  background: var(--indigo); color: #fff; font-size: 10px;
}
@media (hover: hover) and (pointer: fine) {
  .tree__node:not(.is-here):hover { border-color: var(--line-2); transform: translateY(-4px); }
}

/* ---------- (06) Offices ---------- */
.ofc__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.ofc__img {
  position: relative; isolation: isolate;
  aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden;
  background: var(--paper-2); color: #fff;
}
.ofc__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.ofc__img::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(10, 9, 16, .72) 0%, rgba(10, 9, 16, .15) 45%, rgba(10, 9, 16, 0) 70%);
}
.ofc:hover .ofc__img img { transform: scale(1.04); }
.ofc__tag {
  position: absolute; left: 18px; top: 18px;
  padding: 7px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 11px;
}
.ofc__city {
  position: absolute; left: clamp(20px, 2.4vw, 32px); bottom: clamp(18px, 2.2vw, 28px);
  font-size: clamp(34px, 3.6vw, 52px); line-height: 1.12; letter-spacing: -.03em; font-weight: 450;
}
.ofc__body {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px;
  padding-top: 20px;
}
.ofc__body address { color: var(--ink-2); font-size: 15px; line-height: 1.6; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .tenets { grid-template-columns: 1fr 1fr; }
  .tenet:nth-child(3) { padding-left: 0; border-left: 0; }
  .tenet:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 8px; }
  .tenet::before { display: none; }
  .lens__row { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 1023px) {
  .phead__grid { grid-template-columns: 1fr; gap: 24px; }
  .phead__facts { grid-template-columns: 1fr 1fr; }
  .phead__facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .phead__facts div:nth-child(n+3) { margin-top: 16px; border-top: 1px solid var(--line); }

  .who__grid { grid-template-columns: 1fr; }
  .who__side { position: static; }
  .who__side .h2 { max-width: 18ch; }
  .who__main { padding-top: 0; }
  .who__img { aspect-ratio: 16 / 10; }

  .lens__head, .merit__head { grid-template-columns: 1fr; gap: 24px; }
  .group__copy { padding-top: 0; }
  .lens__row--head { display: none; }
  .lens__row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; align-items: start; padding: 26px 0 30px; }
  .lens__topic { grid-column: 1 / -1; }
  .lens__k { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--ink-3); font-size: 11px; }

  .merit__grid { grid-template-columns: 1fr 1fr; }
  .merit__item { min-height: 260px; }

}
@media (max-width: 767px) {
  .phead__facts dd { font-size: 17px; }
  .phead__cta .btn { width: 100%; justify-content: space-between; }
  .band__frame { height: auto; aspect-ratio: 4 / 3.4; border-radius: var(--r-md); }
  .band__media img { object-position: 62% 55%; }

  .clients__list { grid-template-columns: 1fr; }
  .who__lead { max-width: none; }

  .tenets { grid-template-columns: 1fr; }
  .tenet, .tenet + .tenet { padding: 24px 0 20px; border-left: 0; }
  .tenet + .tenet { border-top: 1px solid var(--line); margin-top: 0; }
  .tenet__word { margin-top: 14px; }

  .formula__op { display: none; }
  .lens__row { grid-template-columns: 1fr; gap: 18px; }
  .lens__q { max-width: none; }

  .merit__grid { grid-template-columns: 1fr; }
  .merit__item { min-height: 0; }
  .merit__item h3 { margin-top: 28px; }
  .merit__end .btn { width: 100%; justify-content: space-between; }

  /* tree turns into a vertical list hanging from a left rail */
  .tree { --rail: 12px; --tick: 22px; }
  .tree__root { width: 100%; align-items: flex-start; text-align: left; margin-inline: 0; }
  .tree__root::after { left: var(--rail); }
  .tree__kids { grid-template-columns: 1fr; gap: 20px; padding-left: calc(var(--rail) + var(--tick)); padding-top: 0; }
  .tree__kids::before { display: none; }
  .tree__node::before { left: calc(var(--tick) * -1); top: 36px; bottom: auto; width: var(--tick); height: 1px; transform-origin: left; }
  .tree__node.is-here::before { width: var(--tick); height: 1.5px; }
  /* rail: each card carries the segment beside it; the last one stops at its tick */
  .tree__node::after {
    content: ""; position: absolute; left: calc(var(--tick) * -1); top: -20px; bottom: 0;
    width: 1px; background: var(--line-2); transform-origin: top;
  }
  .tree__node:first-child::after { top: 0; }
  .tree__node:last-child::after { bottom: auto; height: 56px; }

  .ofc__grid { grid-template-columns: 1fr; gap: 36px; }
  .ofc__img { aspect-ratio: 4 / 3.2; }
}

/* ---------- Tree draw-in (js/about.js adds .is-drawn; without JS the lines are simply there) ---------- */
.js .tree[data-tree] .tree__root::after,
.js .tree[data-tree] .tree__node::before,
.js .tree[data-tree] .tree__node::after { transition: scale .55s var(--ease-out); }
.js .tree[data-tree] .tree__kids::before { transition: scale .8s var(--ease-io) .3s; }
.js .tree[data-tree].is-drawn .tree__node::before,
.js .tree[data-tree].is-drawn .tree__node::after { transition-delay: .85s; }
.js .tree[data-tree]:not(.is-drawn) .tree__root::after { scale: 1 0; }
.js .tree[data-tree]:not(.is-drawn) .tree__kids::before { scale: 0 1; }
.js .tree[data-tree]:not(.is-drawn) .tree__node::before { scale: 1 0; }
@media (max-width: 767px) {
  .js .tree[data-tree]:not(.is-drawn) .tree__node::before { scale: 0 1; }
  .js .tree[data-tree]:not(.is-drawn) .tree__node::after { scale: 1 0; }
  .js .tree[data-tree].is-drawn .tree__node::after { transition-delay: .3s; }
}

@media (prefers-reduced-motion: reduce) {
  .tree__root::after, .tree__kids::before, .tree__node::before, .tree__node::after { scale: none !important; }
}
