/* Roxi Gayrimenkul, Alternative B "Akış" v2 */

:root {
  --deep: #172047;
  --royal: #26346d;
  --ink: #19224a;
  --gold: #d4b26a;
  --gold-light: #e9d08f;
  --gold-dark: #7a5c24;
  --gold-grad: linear-gradient(115deg, #b8914e 0%, #e9d08f 46%, #c9a45e 62%, #b8914e 100%);
  --gold-text: linear-gradient(172deg, #f0dba2 8%, #d4b26a 48%, #a57f3c 92%);
  --light: #f3e3be;
  --paper: #fbf6ea;
  --mist: #f4f5f8;
  --white: #fff;
  --on-dark: #e8eaf2;
  --on-dark-muted: #c3c8da;
  --on-light-muted: #3d4466;
  --line-gold: rgba(212, 178, 106, 0.35);
  --line-ink: rgba(23, 32, 71, 0.18);
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 1024px) {
  :root { --header-h: 84px; }
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  font-variant-numeric: lining-nums;
  overflow-x: clip;
}

@media (min-width: 768px) {
  body { font-size: 1.0625rem; }
}

img,
svg,
iframe { display: block; max-width: 100%; }

img { height: auto; }

h1, h2, h3, p, dl, dd, figure, ol, ul { margin: 0; }

ul[role="list"],
ol[role="list"] { list-style: none; padding: 0; }

a { color: inherit; }

address { font-style: normal; }

.num {
  font-family: var(--sans);
  font-variant-numeric: lining-nums tabular-nums;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: calc(1320px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

::selection { background: var(--gold-light); color: var(--deep); }

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.on-light :focus-visible,
.trust :focus-visible,
.listings :focus-visible,
.story :focus-visible,
.team :focus-visible,
.contact :focus-visible,
.closing :focus-visible { outline-color: var(--royal); }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 12px 18px;
  background: var(--light);
  color: var(--deep);
  font-weight: 600;
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

/* Buttons and links */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  border: 0;
  border-radius: 2px;
  font: 600 1rem/1.2 var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-position 0.9s var(--ease), background-color 0.3s, color 0.3s;
}

.button--gold {
  background: var(--gold-grad);
  background-size: 220% 100%;
  background-position: 0 0;
  color: var(--deep);
}

.button--gold:hover { background-position: 100% 0; }

.button--deep { background-color: var(--deep); color: var(--white); }

.button--deep:hover { background-color: var(--royal); }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--paper);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
  transition: text-decoration-color 0.3s, text-underline-offset 0.3s;
}

.text-link:hover { text-decoration-color: var(--gold-light); text-underline-offset: 4px; }

/* Page curtain */

.curtain {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--deep);
  color: var(--gold);
  pointer-events: none;
  transform: translateY(101%);
  transition: transform 0.45s cubic-bezier(0.76, 0, 0.24, 1);
}

.curtain__crown {
  opacity: 0;
  transition: opacity 0.2s 0.25s;
}

.is-leaving .curtain { transform: none; }

.is-leaving .curtain__crown { opacity: 1; }

/* Header */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--paper);
  transition: background-color 0.5s var(--ease), border-color 0.5s;
  border-bottom: 1px solid transparent;
}

.js .site-header { position: fixed; }

.site-header.is-solid {
  background-color: rgba(23, 32, 71, 0.97);
  border-bottom-color: rgba(212, 178, 106, 0.22);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  min-height: var(--header-h);
  width: 100%;
  max-width: calc(1320px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header__brand {
  display: block;
  margin-right: auto;
  padding-block: 8px;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.site-header__brand img { width: auto; height: 46px; }

@media (min-width: 1024px) {
  .site-header__brand img { height: 60px; }
}

.js .page-home .site-header:not(.is-solid) .site-header__brand {
  opacity: 0;
  visibility: hidden;
}

.menu-open .page-home .site-header .site-header__brand { opacity: 1; visibility: visible; }

.header-call,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 6px;
  color: var(--paper);
  font: 600 0.9375rem/1 var(--sans);
  text-decoration: none;
}

.header-call__icon { color: var(--gold); }

.menu-toggle {
  position: relative;
  z-index: 2;
  background: none;
  border: 0;
  cursor: pointer;
}

.menu-toggle__bars,
.menu-toggle__bars::before {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: transform 0.4s var(--ease);
}

.menu-toggle__bars { position: relative; transform: translateY(-4px); }

.menu-toggle__bars::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
}

.menu-open .menu-toggle__bars { transform: translateY(0) rotate(45deg); }

.menu-open .menu-toggle__bars::before { top: 0; transform: rotate(-90deg); }

@media (max-width: 1023.98px) {
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
    overflow-y: auto;
    background: var(--deep);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }

  .menu-open .site-nav { visibility: visible; opacity: 1; }

  .menu-open { overflow: hidden; }

  .site-header__brand,
  .header-call { position: relative; z-index: 2; }

  .site-nav__list { list-style: none; margin: 0; padding: 0; }

  .site-nav__link {
    display: block;
    padding: 6px 0;
    color: var(--paper);
    font: 400 clamp(2.25rem, 9vw, 3.25rem)/1.15 var(--serif);
    text-decoration: none;
  }

  .site-nav__link[aria-current="page"] { color: var(--gold); }

  .site-nav__extra {
    display: grid;
    gap: 24px;
    padding-top: 28px;
    border-top: 1px solid var(--line-gold);
  }

  .site-nav__cta { justify-self: start; }

  .site-nav__contact { color: var(--on-dark-muted); }

  .site-nav__contact a {
    display: inline-block;
    padding-block: 8px;
    color: var(--paper);
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
  }

  /* No-JS fallback: plain link row */
  .no-js .menu-toggle,
  .no-js .site-nav__extra { display: none; }

  .no-js .site-nav {
    position: static;
    flex-basis: 100%;
    padding: 0 0 12px;
    background: none;
    visibility: visible;
    opacity: 1;
    overflow: visible;
  }

  .no-js .site-nav__list { display: flex; flex-wrap: wrap; gap: 0 20px; }

  .no-js .site-nav__link { font: 600 1rem/1 var(--sans); padding: 14px 0; }
}

@media (min-width: 1024px) {
  .header-call,
  .menu-toggle { display: none; }

  .site-nav { display: flex; align-items: center; gap: 36px; }

  .site-nav__list { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }

  .site-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--paper);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
  }

  .site-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
  }

  .site-nav__link:hover::after,
  .site-nav__link[aria-current="page"]::after { transform: scaleX(1); }

  .site-nav__contact { display: none; }

  .site-nav__cta { min-height: 48px; padding: 0 24px; }
}

/* Intro state (only with motion; failsafe reveals after 3.2s) */

@keyframes reveal-failsafe { to { visibility: visible; } }

.motion [data-split] {
  visibility: hidden;
  animation: reveal-failsafe 0s 3.2s forwards;
}

.motion.is-split [data-split] { visibility: visible; }

[data-split] > div {
  overflow: clip;
  overflow-clip-margin: 0.16em;
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 12px) 0 clamp(28px, 4vw, 48px);
  overflow: hidden;
  background: var(--deep);
  color: var(--paper);
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 58%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(23, 32, 71, 0.72) 0%, rgba(23, 32, 71, 0.22) 55%, rgba(23, 32, 71, 0) 100%),
    linear-gradient(180deg, rgba(23, 32, 71, 0.5) 0%, rgba(23, 32, 71, 0) 26%, rgba(23, 32, 71, 0.25) 56%, rgba(23, 32, 71, 0.95) 100%);
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

/* Desktop nav sits right only, so the logo can rise into the header row */
@media (min-width: 1024px) {
  .hero { padding-top: 11px; }
}

/* Logo sits top-left (header logo is hidden over the hero); content stays at the bottom */
.hero__sign {
  position: relative;
  width: clamp(200px, 26vw, 400px);
  margin-bottom: auto;
}

.hero__sign img { width: 100%; }

.hero__sheen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__title {
  max-width: 9.4em;
  margin-top: clamp(32px, 5vw, 64px);
  color: var(--paper);
  font: 400 clamp(3rem, 1.1rem + 7.4vw, 8rem)/1.04 var(--serif);
  letter-spacing: -0.012em;
}

.hero__foot {
  display: grid;
  gap: 24px;
  margin-top: clamp(32px, 4vw, 52px);
  padding-top: 28px;
  border-top: 1px solid var(--line-gold);
}

.hero__sub {
  max-width: 34em;
  color: var(--on-dark);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 32px;
}

.hero__plate {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  margin-top: 32px;
  color: var(--light);
  font-size: 0.9375rem;
  font-weight: 500;
}

.hero__plate > span + span {
  padding-left: 28px;
  border-left: 1px solid var(--line-gold);
}

@media (max-width: 599.98px) {
  .hero__plate > span + span { padding-left: 0; border-left: 0; }
}

@media (min-width: 1024px) {
  .hero__foot {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 48px;
  }

  .hero__sub { font-size: 1.1875rem; }
}

/* Services: stacked by default, horizontal sequence when pinned */

.services {
  position: relative;
  padding-block: clamp(88px, 11vw, 160px);
  background: var(--deep);
  color: var(--on-dark);
}

.services__track {
  display: grid;
  gap: clamp(56px, 7vw, 88px);
  width: 100%;
  max-width: calc(1320px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.services__title {
  color: var(--paper);
  font: 400 clamp(2.75rem, 1.5rem + 5vw, 5.5rem)/1.02 var(--serif);
}

.services__lead {
  max-width: 22em;
  margin-top: 20px;
  color: var(--on-dark-muted);
  font-size: 1.125rem;
}

.service { display: grid; gap: 22px; }

.service__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--royal);
}

.service__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9) saturate(0.88);
}

.service__name {
  color: var(--paper);
  font: 400 clamp(2rem, 1.4rem + 2.2vw, 3.25rem)/1.08 var(--serif);
}

.service__list { list-style: none; max-width: 30em; margin-top: 18px; padding: 0; border-top: 1px solid var(--line-gold); }

.service__list li {
  position: relative;
  padding: 12px 0 12px 24px;
  border-bottom: 1px solid var(--line-gold);
  color: var(--on-dark-muted);
}

/* Small gold diamond as the list marker */
.service__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.35em;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}

.services__progress { display: none; }

@media (min-width: 768px) {
  .services__track { grid-template-columns: 1fr 1fr; column-gap: 40px; }

  .services__intro { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; }

  .services__lead { margin-top: 0; }
}

.services.is-pinned {
  height: 100vh;
  padding: 0;
  overflow: hidden;
}

.services.is-pinned .services__track {
  display: flex;
  align-items: center;
  gap: 7vw;
  width: max-content;
  max-width: none;
  height: 100%;
  margin: 0;
  padding-inline: var(--gutter) 10vw;
  will-change: transform;
}

.services.is-pinned .services__intro {
  display: block;
  flex: 0 0 auto;
  width: min(34vw, 520px);
}

.services.is-pinned .services__lead { margin-top: 24px; }

.services.is-pinned .service {
  flex: 0 0 auto;
  grid-template-columns: 38vw 27vw;
  align-items: end;
  gap: 3vw;
}

.services.is-pinned .service__name { font-size: clamp(1.75rem, 0.9rem + 1.6vw, 2.75rem); }

.services.is-pinned .service__media {
  height: 64vh;
  aspect-ratio: auto;
}

.services.is-pinned .service__media img {
  position: absolute;
  top: 0;
  left: -8%;
  width: 116%;
  max-width: none;
}

.services.is-pinned .services__progress {
  display: block;
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 7vh;
  height: 2px;
  background: rgba(212, 178, 106, 0.2);
}

.services__progress span {
  display: block;
  height: 100%;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
}

/* Process: stacked list by default, pinned story with .is-story */

.process {
  position: relative;
  padding-block: clamp(88px, 11vw, 160px);
  background: var(--royal);
  color: var(--on-dark);
}

.process__title {
  color: var(--paper);
  font: 400 clamp(2.5rem, 1.4rem + 4.4vw, 4.75rem)/1.05 var(--serif);
}

.process__counter,
.process__rail { display: none; }

.process .process__list {
  display: grid;
  gap: 40px;
  margin-top: clamp(40px, 6vw, 72px);
  padding-left: 30px;
  border-left: 1px solid var(--line-gold);
}

.process__step { position: relative; }

.process__step::before {
  content: "";
  position: absolute;
  left: -37px;
  top: 0.55em;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--royal);
}

.process__num {
  display: block;
  font: 400 clamp(3.25rem, 8vw, 4.5rem)/1 var(--serif);
  font-variant-numeric: lining-nums;
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.process__name {
  margin-top: 8px;
  color: var(--paper);
  font: 400 clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem)/1.12 var(--serif);
}

.process__text {
  max-width: 30em;
  margin-top: 10px;
  color: var(--on-dark);
  font-size: 1.0625rem;
}

@media (min-width: 768px) {
  .process .process__list { grid-template-columns: 1fr 1fr; gap: 48px 56px; padding-left: 0; border-left: 0; }

  .process__step { padding-top: 28px; border-top: 1px solid var(--line-gold); }

  .process__step::before { left: 0; top: -7px; }
}

.process.is-story {
  display: flex;
  align-items: center;
  height: 100vh;
  padding-block: calc(var(--header-h) + 3vh) 7vh;
}

.process.is-story .process__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  grid-template-rows: auto 1fr auto;
  height: 100%;
  column-gap: 4vw;
}

.process.is-story .process__title { grid-column: 1 / -1; }

.process.is-story .process__counter {
  display: block;
  align-self: center;
  height: 1em;
  overflow: clip;
  font: 400 clamp(11rem, 23vw, 21rem)/1 var(--serif);
  font-variant-numeric: lining-nums;
}

.process__digits { display: flex; flex-direction: column; }

.process__digits > span {
  display: block;
  height: 1em;
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.process.is-story .process__list {
  display: grid;
  align-self: center;
  margin: 0;
  padding: 0;
  border: 0;
}

.process.is-story .process__step {
  grid-area: 1 / 1;
  padding: 0;
  border: 0;
}

.process.is-story .process__step::before,
.process.is-story .process__num { display: none; }

.process.is-story .process__name { margin: 0; font-size: clamp(2.5rem, 4vw, 3.75rem); }

.process.is-story .process__text { margin-top: 20px; font-size: 1.25rem; max-width: 24em; }

.process.is-story .process__rail {
  position: relative;
  display: block;
  grid-column: 1 / -1;
  height: 64px;
}

.process__rail::before,
.process__rail-fill {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 6px;
  height: 1px;
  background: var(--line-gold);
}

.process__rail-fill {
  height: 2px;
  top: 5.5px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
}

.process__node {
  position: absolute;
  top: 0;
  padding-top: 26px;
  color: var(--on-dark-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.5s;
}

.process__node::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0;
  width: 13px;
  height: 13px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--royal);
  transition: background-color 0.5s;
}

.process__node:nth-child(2) { left: 0; }
.process__node:nth-child(3) { left: 33.333%; }
.process__node:nth-child(4) { left: 66.667%; }
.process__node:nth-child(5) { left: 100%; transform: translateX(-100%); }

.process__node:nth-child(5)::before { left: auto; right: -6px; }

.process__node.is-active { color: var(--paper); }

.process__node.is-active::before { background: var(--gold); }

/* Trust */

.trust {
  padding-block: clamp(88px, 11vw, 160px);
  background: var(--mist);
  color: var(--ink);
}

.trust__grid { display: grid; gap: 40px; }

.trust__title {
  max-width: 11em;
  color: var(--deep);
  font: 400 clamp(2.5rem, 1.3rem + 4.6vw, 5rem)/1.04 var(--serif);
}

.trust__text {
  max-width: 34em;
  color: var(--on-light-muted);
  font-size: 1.125rem;
}

.licence {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.licence__label {
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 1rem;
}

.licence__no {
  color: var(--royal);
  font-size: clamp(3.75rem, 1.5rem + 9vw, 9.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.trust__points { display: grid; }

.trust__point {
  padding-block: 22px;
  border-top: 1px solid var(--line-ink);
}

.trust__point dt {
  color: var(--deep);
  font: 400 1.625rem/1.2 var(--serif);
}

.trust__point dd {
  margin-top: 6px;
  color: var(--on-light-muted);
}

@media (min-width: 1024px) {
  .trust__grid {
    grid-template-columns: 7fr 5fr;
    gap: 88px 6vw;
    align-items: end;
  }

  .trust__points { align-self: start; }

  .licence { align-self: start; }
}

/* Ankara depth moment */

.ankara {
  position: relative;
  background: var(--deep);
  color: var(--paper);
}

.motion .ankara { height: 230vh; }

.ankara__sticky {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.motion .ankara__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
}

.ankara__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.ankara__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 35%;
  transform-origin: 55% 40%;
}

.ankara__sticky::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(23, 32, 71, 0.9) 0%, rgba(23, 32, 71, 0.6) 40%, rgba(23, 32, 71, 0.1) 75%),
    linear-gradient(180deg, rgba(23, 32, 71, 0.5) 0%, rgba(23, 32, 71, 0) 30%, rgba(23, 32, 71, 0.2) 55%, rgba(23, 32, 71, 0.95) 100%);
}

.ankara__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: inherit;
  height: 100%;
  padding-block: calc(var(--header-h) + 40px) clamp(32px, 6vh, 64px);
}

.ankara__title {
  max-width: 9em;
  font: 400 clamp(2.5rem, 1.3rem + 4.4vw, 4.75rem)/1.04 var(--serif);
}

.ankara__text {
  max-width: 28em;
  margin-top: 20px;
  color: var(--on-dark);
  font-size: 1.125rem;
}

.ankara__districts {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.55em;
  font: 400 clamp(2.125rem, 1rem + 4.8vw, 5.5rem)/1.12 var(--serif);
  color: var(--light);
}

/* Listings */

.listings {
  padding-block: clamp(88px, 11vw, 150px);
  background: var(--mist);
  color: var(--ink);
}

.listings__head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); }

.listings__title {
  color: var(--deep);
  font: 400 clamp(2.5rem, 1.4rem + 4vw, 4.5rem)/1.05 var(--serif);
}

.listings__text { max-width: 30em; color: var(--on-light-muted); font-size: 1.125rem; }

@media (min-width: 1024px) {
  .listings__head { grid-template-columns: 7fr 5fr; align-items: end; gap: 6vw; }
}

.listings__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-ink);
  border-bottom: 1px solid var(--line-ink);
}

.listings__links li + li { border-left: 1px solid var(--line-ink); }

.platform-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(120px, 16vw, 220px);
  padding: 24px clamp(16px, 3vw, 48px);
  transition: background-color 0.4s;
}

.platform-link:hover { background: #fff; }

.platform-link__logo {
  width: 100%;
  max-width: 300px;
  height: auto;
}

.platform-link__icon {
  position: absolute;
  top: clamp(12px, 1.6vw, 24px);
  right: clamp(12px, 1.6vw, 24px);
  width: clamp(18px, 2vw, 28px);
  height: auto;
  color: var(--gold-dark);
  transition: transform 0.5s var(--ease);
}

.platform-link:hover .platform-link__icon { transform: translate(3px, -3px); }

/* CTA */

.cta {
  padding-block: clamp(88px, 11vw, 150px);
  background: var(--royal);
  color: var(--on-dark);
}

.cta__inner { display: grid; gap: 36px; }

.cta__title {
  max-width: 9em;
  color: var(--light);
  font: 400 clamp(2.75rem, 1.2rem + 6vw, 6.5rem)/1.02 var(--serif);
}

.cta__text { max-width: 26em; font-size: 1.125rem; }

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 28px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--paper);
  font-size: 1.375rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 7px;
  text-decoration-thickness: 1px;
}

@media (min-width: 1024px) {
  .cta__inner { grid-template-columns: 7fr 5fr; align-items: end; gap: 6vw; }
}

/* Footer */

.site-footer {
  padding-top: clamp(64px, 8vw, 104px);
  background: var(--deep);
  color: var(--on-dark);
  border-top: 1px solid rgba(212, 178, 106, 0.28);
  font-size: 1rem;
}

.site-footer__main {
  display: grid;
  gap: 40px 32px;
  padding-bottom: clamp(40px, 5vw, 64px);
}

.site-footer__logo { width: clamp(180px, 18vw, 240px); aspect-ratio: 800 / 462; }

.site-footer__line {
  max-width: 24em;
  margin-top: 20px;
  color: var(--on-dark-muted);
}

.site-footer__address {
  margin-bottom: 4px;
  color: var(--on-dark);
  font-style: normal;
  line-height: 1.6;
}

@media (min-width: 600px) {
  .site-footer__main { grid-template-columns: 1fr 1fr; }

  .site-footer__brand { grid-column: 1 / -1; }
}

/* Brand left, link columns to its right */
@media (min-width: 1024px) {
  .site-footer__main { grid-template-columns: 1.6fr 1.3fr 1.1fr; column-gap: clamp(32px, 5vw, 80px); }

  .site-footer__brand { grid-column: auto; }
}

.site-footer__heading {
  margin-bottom: 10px;
  color: var(--gold);
  font: 600 1rem/1.3 var(--sans);
}

.site-footer__list { list-style: none; padding: 0; }

.site-footer__list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--on-dark);
  text-decoration: none;
}

.site-footer__list a:hover,
.site-footer__legal a:hover { color: var(--gold-light); text-decoration: underline; text-underline-offset: 5px; }

.site-footer__note { color: var(--on-dark-muted); font-size: 0.9375rem; }

.site-footer__hours { margin-top: 10px; color: var(--on-dark-muted); }

.site-footer__licence { margin-top: 14px; color: var(--light); font-weight: 500; }

.social-link__icon { flex: 0 0 auto; width: 22px; height: 22px; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 32px;
  padding-block: 20px 28px;
  border-top: 1px solid rgba(212, 178, 106, 0.2);
  color: var(--on-dark-muted);
  font-size: 0.9375rem;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  list-style: none;
  padding: 0;
}

.site-footer__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--on-dark-muted);
  text-decoration: none;
}

/* Inner page hero */

.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 74vh;
  min-height: 74svh;
  padding: calc(var(--header-h) + 40px) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
  background: var(--deep);
  color: var(--paper);
  isolation: isolate;
}

.page-hero--short { min-height: 62vh; min-height: 62svh; }

.page-hero__media { position: absolute; inset: 0; z-index: -2; }

.page-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }

.page-hero--team .page-hero__img { object-position: 70% 30%; }

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(23, 32, 71, 0.85) 0%, rgba(23, 32, 71, 0.45) 60%, rgba(23, 32, 71, 0.25) 100%),
    linear-gradient(180deg, rgba(23, 32, 71, 0.55) 0%, rgba(23, 32, 71, 0.1) 35%, rgba(23, 32, 71, 0.92) 100%);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 clamp(16px, 3vw, 28px);
  padding: 0;
  color: var(--on-dark-muted);
  font-size: 0.9375rem;
  font-weight: 500;
}

.breadcrumb__list li + li::before {
  content: "/";
  margin-inline: 12px;
  color: var(--gold);
}

.breadcrumb__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}

.breadcrumb__list a:hover { color: var(--paper); text-decoration: underline; }

.breadcrumb__list a[aria-current="page"] { color: var(--light); }

.page-hero__title {
  color: var(--paper);
  font: 400 clamp(3.5rem, 1.6rem + 8.6vw, 10rem)/1 var(--serif);
  letter-spacing: -0.015em;
}

.page-hero__lead {
  max-width: 32em;
  margin-top: clamp(20px, 3vw, 32px);
  color: var(--on-dark);
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  line-height: 1.55;
}

/* About: story */

.story {
  padding-block: clamp(88px, 11vw, 150px);
  background: var(--mist);
  color: var(--ink);
}

.story__grid { display: grid; gap: 40px; }

.story__first {
  max-width: 24em;
  color: var(--deep);
  font: 400 clamp(1.625rem, 1.1rem + 2vw, 2.75rem)/1.28 var(--serif);
}

.story__media { overflow: hidden; }

.story__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.story__second {
  max-width: 30em;
  color: var(--on-light-muted);
  font-size: 1.125rem;
}

@media (min-width: 1024px) {
  .story__grid { grid-template-columns: repeat(12, 1fr); gap: 72px 32px; }

  .story__first { grid-column: 1 / 11; }

  .story__media { grid-column: 1 / 7; }

  .story__second { grid-column: 8 / 13; align-self: end; }
}

/* About: values */

.values {
  padding-block: clamp(88px, 11vw, 150px);
  background: var(--deep);
  color: var(--on-dark);
}

.values__title {
  color: var(--paper);
  font: 400 clamp(2.25rem, 1.4rem + 3vw, 3.5rem)/1.1 var(--serif);
  margin-bottom: clamp(32px, 5vw, 56px);
}

.values__item {
  display: grid;
  gap: 12px;
  padding-block: clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--line-gold);
}

.values__name {
  font: 400 clamp(3rem, 1.2rem + 7vw, 7.5rem)/1.05 var(--serif);
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.06em;
}

.values__text { max-width: 26em; font-size: 1.125rem; }

@media (min-width: 900px) {
  .values__item { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 6vw; }
}

/* About: credentials */

.credentials {
  padding-block: clamp(88px, 10vw, 140px);
  background: var(--royal);
  color: var(--on-dark);
}

.credentials__grid { display: grid; gap: 36px; }

.credentials__title {
  color: var(--paper);
  font: 400 clamp(2.25rem, 1.4rem + 3vw, 3.5rem)/1.1 var(--serif);
}

.licence--dark .licence__label { color: var(--gold); }

.licence--dark .licence__no { color: var(--paper); }

.credentials__list { list-style: none; padding: 0; }

.credentials__list li {
  padding-block: 18px;
  border-top: 1px solid var(--line-gold);
  font-size: 1.125rem;
}

@media (min-width: 1024px) {
  .credentials__grid { grid-template-columns: 5fr 7fr; gap: 56px 6vw; }

  .credentials__title { grid-row: 1 / 3; }
}

/* About: closing */

.closing {
  padding-block: clamp(80px, 10vw, 140px);
  background: var(--light);
  color: var(--deep);
}

.closing__inner { display: grid; gap: 32px; justify-items: start; }

.closing__title {
  max-width: 14em;
  font: 400 clamp(2.25rem, 1.3rem + 3.8vw, 4.5rem)/1.08 var(--serif);
}

@media (min-width: 1024px) {
  .closing__inner { grid-template-columns: 1fr auto; align-items: end; }
}

/* Team */

.team {
  padding-block: clamp(80px, 10vw, 150px);
  background: var(--mist);
  color: var(--ink);
}

.member__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--royal);
  isolation: isolate;
}

.member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  filter: grayscale(1) contrast(1.08);
  transition: filter 0.8s var(--ease);
}

.member__photo:not(.member__photo--mono)::before,
.member__photo:not(.member__photo--mono)::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.8s var(--ease);
}

.member__photo:not(.member__photo--mono)::before { background: var(--royal); mix-blend-mode: screen; z-index: 1; }

.member__photo:not(.member__photo--mono)::after { background: var(--light); mix-blend-mode: multiply; z-index: 2; }

.member:hover .member__photo img,
.member:focus-within .member__photo img { filter: none; }

.member:hover .member__photo::before,
.member:hover .member__photo::after,
.member:focus-within .member__photo::before,
.member:focus-within .member__photo::after { opacity: 0; }

.member__photo--mono {
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--royal), var(--deep));
}

.member__photo--mono span {
  font: 400 clamp(4rem, 9vw, 6rem)/1 var(--serif);
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.member__name {
  margin-top: 18px;
  color: var(--deep);
  font: 400 clamp(1.625rem, 1.3rem + 1vw, 2rem)/1.15 var(--serif);
}

.member__role { margin-top: 4px; color: var(--gold-dark); font-weight: 600; }

.member__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  margin-top: 6px;
}

.member__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--royal);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(38, 52, 109, 0.35);
  text-underline-offset: 5px;
}

.member__links a:hover { text-decoration-color: var(--royal); }

/* Platform brand mark before sahibinden/hepsiemlak links */
.brand-link { display: inline-flex; align-items: center; gap: 10px; }

.brand-link__logo { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 4px; }

.member__links .brand-link__logo { box-shadow: 0 0 0 1px rgba(38, 52, 109, 0.18); }

.member--lead {
  display: grid;
  gap: 8px;
  padding-bottom: clamp(56px, 8vw, 112px);
  margin-bottom: clamp(56px, 8vw, 112px);
  border-bottom: 1px solid var(--line-ink);
}

.member--lead .member__name { font-size: clamp(2.5rem, 1.4rem + 4.4vw, 5rem); line-height: 1.02; }

.member--lead .member__role { font-size: 1.125rem; }

@media (min-width: 768px) {
  .member--lead { grid-template-columns: 5fr 7fr; align-items: end; gap: 6vw; }

  .member--lead .member__photo { max-height: 640px; }
}

.team__grid {
  display: grid;
  gap: 56px 28px;
}

@media (min-width: 560px) {
  .team__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .team__grid { grid-template-columns: repeat(3, 1fr); gap: 72px 40px; }

  .team__grid > li:nth-child(3n + 2) { margin-top: 96px; }
}

.join {
  padding-block: clamp(80px, 10vw, 130px);
  background: var(--royal);
  color: var(--on-dark);
}

.join__inner { display: grid; gap: 20px; }

.join__title {
  max-width: 12em;
  color: var(--light);
  font: 400 clamp(2.25rem, 1.3rem + 3.6vw, 4.25rem)/1.06 var(--serif);
}

.join__text { font-size: 1.125rem; }

.join__text a { display: inline-block; padding-block: 10px; color: var(--paper); font-weight: 600; text-decoration-color: var(--gold); text-underline-offset: 5px; overflow-wrap: anywhere; }

@media (min-width: 1024px) {
  .join__inner { grid-template-columns: 7fr 5fr; align-items: end; gap: 6vw; }
}

/* Contact */

.contact {
  padding-block: clamp(64px, 9vw, 130px);
  background: var(--mist);
  color: var(--ink);
}

.contact__grid { display: grid; gap: 48px; }

@media (min-width: 1024px) {
  .contact__grid { grid-template-columns: 7fr 5fr; gap: 6vw; align-items: start; }
}

.form { display: grid; gap: 22px; }

.form__row { display: grid; gap: 22px; }

@media (min-width: 640px) {
  .form__row { grid-template-columns: 1fr 1fr; }
}

.field__label {
  display: block;
  margin-bottom: 8px;
  color: var(--deep);
  font-weight: 600;
  font-size: 1rem;
}

.field__req { color: var(--on-light-muted); font-weight: 400; }

.field__input {
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid #8c92ab;
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  font: 400 1.0625rem/1.5 var(--sans);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.field__input:hover { border-color: var(--royal); }

.field__input:focus-visible {
  outline: none;
  border-color: var(--royal);
  box-shadow: 0 0 0 3px rgba(38, 52, 109, 0.25);
}

.field__select {
  appearance: none;
  padding-right: 48px;
  background-image: linear-gradient(45deg, transparent 50%, var(--royal) 50%), linear-gradient(135deg, var(--royal) 50%, transparent 50%);
  background-position: calc(100% - 24px) 50%, calc(100% - 18px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.field__textarea { min-height: 150px; resize: vertical; }

.field__error {
  margin-top: 6px;
  color: #a3271f;
  font-size: 0.9375rem;
  font-weight: 500;
}

.field__error:empty { display: none; }

.is-invalid .field__input { border-color: #a3271f; }

.field--check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  align-items: start;
}

.field__checkbox {
  width: 24px;
  height: 24px;
  margin: 2px 0 0;
  accent-color: var(--royal);
}

.field--check label { color: var(--on-light-muted); }

.field--check .field__error { grid-column: 2; }

.form__submit { justify-self: start; min-width: 220px; }

.form-status:not(:empty) {
  padding: 28px;
  border-left: 3px solid var(--gold-dark);
  background: var(--white);
  color: var(--deep);
  font: 400 1.5rem/1.3 var(--serif);
}

.office {
  padding: clamp(28px, 4vw, 48px);
  background: var(--deep);
  color: var(--on-dark);
}

.office__crown { color: var(--gold); }

.office__title {
  margin-top: 18px;
  color: var(--paper);
  font: 400 clamp(2.25rem, 1.6rem + 2vw, 3rem)/1.1 var(--serif);
}

.office__address {
  margin-top: 14px;
  color: var(--light);
  font-size: 1.25rem;
  line-height: 1.5;
}

.office__list { margin-top: 24px; }

.office__list > div {
  padding-block: 12px;
  border-top: 1px solid rgba(212, 178, 106, 0.25);
}

.office__list dt { color: var(--gold); font-weight: 600; font-size: 0.9375rem; }

.office__list dd { font-size: 1.125rem; }

.office__list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: rgba(212, 178, 106, 0.5);
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}

.map { background: var(--deep); border-top: 2px solid var(--gold); }

.map__frame { display: block; width: 100%; height: clamp(320px, 45vw, 480px); border: 0; }

.map__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-block: 24px;
}

.map__place { color: var(--on-dark); }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Breathing room when "Sizi arayalım" jumps to the form */
#form { scroll-margin-top: 32px; }
