@import url("/fonts/fonts.css");

/* ============================================================
   Saba Özmen Avukatlık Ortaklığı — design system
   Brand burgundy taken from the supplied logo file (#A01944),
   rebuilt on warm neutrals and a serif/sans pairing.
   ============================================================ */

:root {
  /* Declare the palette the design was built for. Without this, Chrome's
     auto-dark-mode (on by default on many Android devices) inverts the page:
     the scrolled header came out near-black with a near-white wordmark, which
     is exactly the "thin and unreadable" symptom on a phone. */
  color-scheme: light;

  /* Brand */
  --bordo:        #a01944;
  --bordo-deep:   #7d1334;
  --bordo-ink:    #5c0e26;
  --bordo-tint:   #fcf2f5;
  --bordo-line:   rgba(160, 25, 68, .18);
  --bordo-glow:   rgba(160, 25, 68, .13);

  /* Warm neutrals */
  --ink:    #14100f;
  --ink-2:  #3a3330;
  --ink-3:  #675e5a;
  --ink-4:  #99908b;
  --paper:  #ffffff;
  --paper-2:#faf8f6;
  --paper-3:#f2eeea;
  --paper-4:#e8e2dc;
  --line:   rgba(20, 16, 15, .10);
  --line-2: rgba(20, 16, 15, .06);

  /* Type */
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --display: "Cormorant", "Iowan Old Style", Georgia, serif;   /* wordmark only */
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Motion — Apple-ish easing curves */
  --ease-out:  cubic-bezier(.22, 1, .36, 1);
  --ease-io:   cubic-bezier(.65, .05, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --dur:   .55s;
  --dur-s: .28s;

  /* Layout */
  --gut: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1240px;
  --max-text: 720px;
  --nav-h: 76px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink-3);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.15;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.0625rem; font-family: var(--sans); font-weight: 600; letter-spacing: -.005em; }
p  { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }

/* Underline that grows from the left */
.ul-link {
  position: relative;
  color: var(--bordo);
  font-weight: 500;
}
.ul-link::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-s) var(--ease-out);
}
.ul-link:hover::after { transform: scaleX(1); }

::selection { background: var(--bordo); color: #fff; }

:focus-visible {
  outline: 2px solid var(--bordo);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: 860px; }
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section--tint { background: var(--paper-2); }
.section--sand { background: var(--paper-3); }

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bordo);
  margin: 0 0 1.1rem;
  display: flex; align-items: center; gap: .7rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: currentColor; flex: none;
}
.eyebrow--plain::before { display: none; }

.lede {
  font-size: clamp(1.075rem, 1.6vw, 1.25rem);
  line-height: 1.62;
  color: var(--ink-2);
}

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 4vw, 3.75rem); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans);
  font-size: .9375rem; font-weight: 500; letter-spacing: -.005em;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--dur-s) var(--ease-soft),
              color var(--dur-s) var(--ease-soft),
              border-color var(--dur-s) var(--ease-soft),
              transform .12s var(--ease-soft),
              box-shadow var(--dur-s) var(--ease-soft);
  will-change: transform;
}
.btn:active { transform: scale(.972); }
.btn svg { transition: transform var(--dur-s) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary { background: var(--bordo); color: #fff; box-shadow: 0 1px 2px rgba(92,14,38,.2); }
.btn--primary:hover { background: var(--bordo-deep); box-shadow: 0 8px 24px -8px rgba(125,19,52,.5); }

.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.btn--onDark { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--onDark:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ============================================================
   Header
   ============================================================ */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease-soft),
              box-shadow .4s var(--ease-soft),
              border-color .4s var(--ease-soft),
              height .4s var(--ease-soft);
  border-bottom: 1px solid transparent;
}
.hdr__in { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); width: 100%; }

/* transparent state over a dark hero */
.hdr--over { color: #fff; }
.hdr--over .nav__link { color: rgba(255,255,255,.92); }
.hdr--over .nav__link:hover { color: #fff; }
.hdr--over .logo__name { color: #fff; }
.hdr--over .logo__sub  { color: rgba(255,255,255,.88); }
.hdr--over .logo__rule { color: rgba(255,255,255,.45); }
.hdr--over .logo__mark-p { fill: #fff; }
.hdr--over .lang__btn { color: rgba(255,255,255,.86); border-color: rgba(255,255,255,.3); }
.hdr--over .burger span { background: #fff; }

/* scrolled / solid state */
.hdr--solid {
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
  height: 66px;
}
/* Cormorant is a high-contrast face: at 1.16rem its hairlines almost vanish
   against the light bar. Weight and colour both go up in the solid state. */
.hdr--solid .logo__name { font-weight: 600; color: var(--ink); }
.hdr--solid .logo__sub  { font-weight: 600; color: var(--ink-3); }
.hdr--solid .logo__rule { color: var(--ink-4); }
.hdr--solid .nav__link  { color: var(--ink); font-weight: 500; }
.hdr--solid .lang__btn  { color: var(--ink-2); border-color: rgba(20,16,15,.22); }
.hdr--hide { transform: translateY(-100%); }
.hdr { transition-property: background, box-shadow, border-color, height, transform; }

/* ---------- logo ----------
   Mark + wordmark reproduce the supplied lockup's proportions: the two text
   lines are set to the same width, separated by a hairline rule, with the
   cap-height ratio (0.58) measured off the original artwork. */
.logo { display: flex; align-items: center; gap: .62rem; flex: none; }
.logo__mark {
  width: 36px; height: 36px; flex: none;
  transition: transform var(--dur) var(--ease-out);
}
.logo:hover .logo__mark { transform: scale(1.05); }
.logo__mark-p { fill: var(--bordo); transition: fill .4s var(--ease-soft); }

.logo__txt { display: flex; flex-direction: column; line-height: 1; }
/* Both lines are tracked to the same measure, as in the original artwork.
   CSS adds letter-spacing after the final glyph too, so each line pulls that
   trailing gap back in — otherwise the right edges sit ~1.5px apart. */
.logo__name {
  font-family: var(--display); font-weight: 600;
  font-size: 1.16rem; letter-spacing: .152em; margin-inline-end: -.152em;
  color: var(--ink); white-space: nowrap;
  transition: color .4s var(--ease-soft);
}
.logo__rule {
  display: block; height: 1px; margin: .2rem 0 .17rem;
  background: currentColor; color: var(--ink-4);
  transition: color .4s var(--ease-soft);
}
.logo__sub {
  font-family: var(--display); font-weight: 600;
  font-size: .672rem; letter-spacing: .12em; margin-inline-end: -.12em;
  color: var(--ink-2); white-space: nowrap;
  transition: color .4s var(--ease-soft);
}

/* --- small screens -------------------------------------------------------
   The descriptor and the header CTA are dropped below 560px: together they
   overflowed the bar by ~58px on a 375px phone. The CTA still appears in the
   drawer, so nothing is lost. --------------------------------------------- */
/* The full lockup — rule and descriptor included — stays on phones. Hiding the
   descriptor left a bare name that did not read as the firm's mark. There is
   room for it because the header CTA drops out at this width. */
@media (max-width: 560px) {
  .logo__name { font-size: .92rem; letter-spacing: .13em; margin-inline-end: -.13em; }
  .logo__sub  { font-size: .5rem;  letter-spacing: .105em; margin-inline-end: -.105em; }
  .logo__rule { margin: .16rem 0 .13rem; }
  .logo__mark { width: 32px; height: 32px; }
  .logo { gap: .5rem; }
  .hdr__cta { display: none; }
  .hdr__in { gap: .6rem; }
}
@media (max-width: 380px) {
  .logo__name { font-size: .82rem; }
  .logo__sub  { font-size: .45rem; }
  .logo__mark { width: 29px; height: 29px; }
}
@media (max-width: 360px) { .logo__name { font-size: .92rem; } }

/* ---------- nav ---------- */
.nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
@media (max-width: 1080px) { .nav { display: none; } }

.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: .3rem;
  font-size: .875rem; font-weight: 450; letter-spacing: -.005em;
  color: var(--ink-2); padding: .55rem .8rem; border-radius: 8px;
  transition: color var(--dur-s) var(--ease-soft), background var(--dur-s) var(--ease-soft);
  white-space: nowrap;
}
.nav__link:hover { color: var(--bordo); }
.nav__link[aria-current="page"] { color: var(--bordo); font-weight: 500; }
.nav__link .chev { transition: transform var(--dur-s) var(--ease-out); opacity: .55; }
.nav__item:hover .chev { transform: rotate(180deg); }

/* dropdown */
.nav__menu {
  position: absolute; top: 100%; left: 50%;
  margin-top: 10px;
  transform: translateX(-50%) translateY(-6px) scale(.98);
  min-width: 250px; padding: .5rem;
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 20px 50px -18px rgba(20,16,15,.24), 0 2px 8px rgba(20,16,15,.05);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .38s var(--ease-out), visibility .3s;
}
.nav__item:hover .nav__menu,
.nav__item:focus-within .nav__menu,
.nav__item.is-open .nav__menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}
.nav__menu a {
  display: block; padding: .6rem .8rem; border-radius: 10px;
  font-size: .875rem; color: var(--ink-2);
  transition: background var(--dur-s) var(--ease-soft), color var(--dur-s) var(--ease-soft);
}
.nav__menu a:hover { background: var(--bordo-tint); color: var(--bordo); }
/* Bridge the 10px gap, otherwise the pointer leaves :hover on the way down and
   the menu closes before it can be clicked. */
.nav__menu::before {
  content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px;
}
/* Keep it open while the pointer is anywhere over the item or the menu. */
.nav__item:hover .nav__menu, .nav__item:focus-within .nav__menu,
.nav__menu:hover { opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1); }

/* language + actions */
.hdr__act { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
@media (min-width: 1081px) { .hdr__act { margin-left: .75rem; } }

.lang { position: relative; }
.lang__btn {
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 36px;
  font-size: .8125rem; font-weight: 500; color: var(--ink-2);
  border: 1px solid var(--line); background: transparent;
  padding: .42rem .7rem; border-radius: 999px; cursor: pointer;
  font-family: var(--sans);
  transition: border-color var(--dur-s) var(--ease-soft), color var(--dur-s) var(--ease-soft);
}
.lang__btn:hover { border-color: var(--bordo); color: var(--bordo); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 140px; padding: .4rem;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 44px -16px rgba(20,16,15,.24);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98);
  transition: opacity .28s var(--ease-out), transform .34s var(--ease-out), visibility .28s;
  z-index: 20;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.lang__menu a {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .5rem .7rem; border-radius: 9px; font-size: .8125rem; color: var(--ink-2);
  transition: background var(--dur-s) var(--ease-soft);
}
.lang__menu a:hover { background: var(--paper-3); }
.lang__menu a[aria-current="true"] { color: var(--bordo); font-weight: 500; }

/* burger */
.burger {
  display: none; width: 40px; height: 40px; border: 0; background: transparent;
  cursor: pointer; padding: 0; position: relative;
}
@media (max-width: 1080px) { .burger { display: block; } }
.burger span {
  position: absolute; left: 9px; width: 22px; height: 1.5px; background: var(--ink);
  border-radius: 2px; transition: transform .4s var(--ease-out), opacity .25s, background .4s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
body.menu-open .burger span { background: var(--ink); }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(255,255,255,.97);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  padding: calc(var(--nav-h) + 1.5rem) var(--gut) 3rem;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .38s var(--ease-out), transform .45s var(--ease-out), visibility .38s;
}
body.menu-open .drawer { opacity: 1; visibility: visible; transform: none; }
body.menu-open { overflow: hidden; }
.drawer a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line-2); color: var(--ink); font-size: 1.0625rem; }
.drawer .sub a { padding-left: 1rem; font-size: .95rem; color: var(--ink-3); }
.drawer__group-t { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-4); margin: 1.75rem 0 .35rem; font-weight: 600; }
/* The CTA at the foot of the drawer was inheriting the compact button padding
   and sat cramped against its own edges. Give it room and full width. */
.drawer .btn-row { margin-top: 2rem; }
.drawer .btn-row .btn {
  width: 100%; justify-content: center;
  padding: 1.05rem 1.5rem; font-size: 1rem; letter-spacing: .01em;
}

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; min-height: min(96vh, 960px); display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.hero--short { min-height: min(58vh, 520px); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,16,15,.78) 0%, rgba(20,16,15,.55) 38%, rgba(20,16,15,.92) 100%),
    linear-gradient(100deg, rgba(92,14,38,.62) 0%, rgba(92,14,38,.20) 55%, rgba(20,16,15,.35) 100%);
}
.hero__in {
  position: relative; z-index: 1; width: 100%;
  /* the header is fixed, so the top pad must always clear it */
  padding-block: calc(var(--nav-h) + clamp(1.5rem, 5vw, 4rem)) clamp(3rem, 6vw, 5.5rem);
}
.hero__eyebrow { color: rgba(255,255,255,.72); }
.hero__eyebrow::before { background: rgba(255,255,255,.5); }
.hero h1 { color: #fff; max-width: 17ch; }
.hero__lede { color: rgba(255,255,255,.82); max-width: 60ch; font-size: clamp(1.05rem, 1.55vw, 1.2rem); margin-top: 1.4rem; }

/* The Moliérac passage leads the hero; the positioning sentence follows it. */
.hero__quote {
  margin: 1.6rem 0 0; padding-left: 1.35rem;
  border-left: 2px solid var(--bordo);
  max-width: 68ch;
}
.hero__quote p {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(.98rem, 1.35vw, 1.1rem); line-height: 1.6;
  color: rgba(255,255,255,.88); margin: 0;
}
.hero__quote cite {
  display: block; margin-top: .8rem; font-family: var(--sans); font-style: normal;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.hero__lede { border-top: 1px solid rgba(255,255,255,.16); padding-top: 1.5rem; }
@media (max-width: 700px) {
  .hero__quote { padding-left: 1rem; margin-top: 1.2rem; }
  .hero__quote p { font-size: .9rem; line-height: 1.5; }
  .hero__quote cite { margin-top: .6rem; font-size: .66rem; }
  .hero__lede { padding-top: 1.1rem; margin-top: 1.1rem; font-size: .98rem; }
  .hero .btn-row { margin-top: 1.5rem; }
  .hero__in { padding-block: calc(var(--nav-h) + 1rem) 2.25rem; }
  .hero { min-height: min(94vh, 820px); }
}

.hero .btn-row { margin-top: 2.25rem; }

/* page hero (interior) */
.phero { position: relative; background: var(--ink); overflow: hidden; padding-top: var(--nav-h); }
.phero__bg { position: absolute; inset: 0; z-index: 0; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.phero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,15,.86), rgba(20,16,15,.72)), linear-gradient(105deg, rgba(92,14,38,.6), transparent 68%); }
.phero__in { position: relative; z-index: 1; padding-block: clamp(3rem, 7vw, 5.5rem); }
.phero h1 { color: #fff; margin-bottom: .35rem; }
.phero p { color: rgba(255,255,255,.78); max-width: 62ch; margin-top: 1rem; }

/* breadcrumb */
.crumb { display: flex; flex-wrap: wrap; gap: .45rem; font-size: .8125rem; color: rgba(255,255,255,.6); margin-bottom: 1.1rem; }
.crumb a { color: rgba(255,255,255,.78); transition: color var(--dur-s); }
.crumb a:hover { color: #fff; }
.crumb span { opacity: .5; }

/* quote block */
.quote {
  position: relative; border-left: 2px solid var(--bordo);
  padding: .3rem 0 .3rem 1.75rem; margin: 0;
}
.quote p { font-family: var(--serif); font-size: clamp(1.1rem, 1.9vw, 1.4rem); line-height: 1.55; color: var(--ink-2); font-style: italic; }
.quote cite { display: block; margin-top: 1rem; font-family: var(--sans); font-style: normal; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-4); }
.quote--dark p { color: rgba(255,255,255,.9); }
.quote--dark cite { color: rgba(255,255,255,.55); }

/* ============================================================
   Cards / grids
   ============================================================ */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
/* Five attorneys: one row on desktop rather than an orphaned fifth card. */
/* minmax(0, 1fr), not 1fr: a bare 1fr floors at the content's min width, so the
   long e-mail address (mustafafilizoglu@sabaozmen.av.tr) pushed its column
   wider than the other — which stretched that portrait too and made the row
   look ragged. */
.grid--team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px)  { .grid--team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .grid--team { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.card {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden;
  transition: transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}
.card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 2px;
  background: var(--bordo); transform: scaleY(0); transform-origin: bottom;
  transition: transform var(--dur) var(--ease-out);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px -26px rgba(20,16,15,.3); border-color: var(--bordo-line); }
.card:hover::before { transform: scaleY(1); transform-origin: top; }
.card__t { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); margin: 0 0 .55rem; line-height: 1.3; }
.card__d { font-size: .9rem; line-height: 1.62; color: var(--ink-3); margin: 0; }
.card__more { margin-top: auto; padding-top: 1.1rem; font-size: .8125rem; font-weight: 500; color: var(--bordo); display: flex; align-items: center; gap: .4rem; }
.card__more svg { transition: transform var(--dur-s) var(--ease-out); }
.card:hover .card__more svg { transform: translateX(4px); }
.card__num { font-family: var(--serif); font-size: .8rem; color: var(--ink-4); margin-bottom: .9rem; letter-spacing: .06em; }

/* ============================================================
   Article list + article page
   ============================================================ */
/* ---- article archive: get the list above the fold ---- */
.section--tight { padding-block: clamp(2rem, 4vw, 3.5rem); }
.phero--compact .phero__in { padding-block: clamp(2rem, 4vw, 3.25rem); }
.phero--compact p { font-size: .95rem; max-width: 58ch; }

.archive-top { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.archive-top .searchbar { flex: 1 1 320px; margin-bottom: 0; }
.archive-count { margin: 0; font-size: .85rem; color: var(--ink-4); white-space: nowrap; }
.archive-count strong { color: var(--bordo); font-size: 1.05rem; font-family: var(--serif); }

.filterbox { margin-bottom: 1.5rem; }
.filterbox__toggle {
  display: none;                        /* desktop: chips show as a plain row */
  align-items: center; justify-content: space-between; gap: .6rem;
  padding: .8rem 1.1rem; border: 1px solid var(--line); border-radius: 12px;
  font-size: .9rem; font-weight: 500; color: var(--ink); cursor: pointer;
  background: var(--paper); list-style: none;
}
.filterbox__toggle::-webkit-details-marker { display: none; }
.filterbox__toggle svg { transition: transform var(--dur-s) var(--ease-out); }
.filterbox[open] .filterbox__toggle svg { transform: rotate(180deg); }

@media (max-width: 760px) {
  .filterbox__toggle { display: flex; }
  .filterbox[open] .filterbox__toggle { border-radius: 12px 12px 0 0; border-bottom-color: transparent; }
  .filterbox[open] .filters {
    border: 1px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px;
    padding: .9rem 1.1rem; margin-bottom: 0;
  }
  .archive-top { gap: .6rem; }
  .archive-count { width: 100%; }
}

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip {
  font-family: var(--sans); font-size: .8125rem; font-weight: 450;
  padding: .45rem .95rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink-2);
  cursor: pointer; white-space: nowrap;
  transition: background var(--dur-s) var(--ease-soft), color var(--dur-s) var(--ease-soft),
              border-color var(--dur-s) var(--ease-soft), transform .12s var(--ease-soft);
}
.chip:hover { border-color: var(--bordo); color: var(--bordo); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { background: var(--bordo); border-color: var(--bordo); color: #fff; }
.chip__n { opacity: .55; margin-left: .35rem; font-variant-numeric: tabular-nums; }

.searchbar { position: relative; margin-bottom: 1.25rem; }
.searchbar input {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: .95rem 1.1rem .95rem 3rem;
  border: 1px solid var(--line); border-radius: 14px; background: var(--paper);
  transition: border-color var(--dur-s) var(--ease-soft), box-shadow var(--dur-s) var(--ease-soft);
}
.searchbar input:focus { outline: none; border-color: var(--bordo); box-shadow: 0 0 0 4px var(--bordo-glow); }
.searchbar svg { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--ink-4); }

.art-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.art-item { border-bottom: 1px solid var(--line); }
.art-item.is-out { display: none; }
.art-link {
  display: grid; grid-template-columns: 116px 1fr auto; gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start; padding: 1.6rem .75rem 1.6rem .5rem;
  border-radius: 12px;
  transition: background var(--dur-s) var(--ease-soft), padding-left var(--dur) var(--ease-out);
}
.art-link:hover { background: var(--paper-2); padding-left: 1rem; }
@media (max-width: 720px) {
  .art-link { grid-template-columns: 1fr; gap: .5rem; padding-inline: .25rem; }
  .art-link:hover { padding-left: .5rem; }
}
.art-date {
  font-family: var(--sans); font-size: .78rem; font-weight: 500; letter-spacing: .04em;
  color: var(--ink-4); padding-top: .35rem; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.art-date--none { font-style: italic; opacity: .75; }
.art-t {
  font-family: var(--serif); font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.35;
  color: var(--ink); margin: 0 0 .5rem;
  transition: color var(--dur-s) var(--ease-soft);
}
.art-link:hover .art-t { color: var(--bordo); }
.art-meta { display: flex; flex-wrap: wrap; gap: .45rem .9rem; font-size: .8125rem; color: var(--ink-4); }
.art-meta b { font-weight: 450; color: var(--ink-3); }
.art-go { align-self: center; color: var(--ink-4); transition: transform var(--dur) var(--ease-out), color var(--dur-s); }
.art-link:hover .art-go { transform: translateX(5px); color: var(--bordo); }
@media (max-width: 720px) { .art-go { display: none; } }

.tag {
  display: inline-block; font-size: .72rem; font-weight: 500; letter-spacing: .02em;
  padding: .2rem .6rem; border-radius: 999px;
  background: var(--bordo-tint); color: var(--bordo-deep); border: 1px solid var(--bordo-line);
}
.tag--muted { background: var(--paper-3); color: var(--ink-3); border-color: var(--line); }

.empty { padding: 4rem 1rem; text-align: center; color: var(--ink-4); }

/* article detail */
.doc { max-width: var(--max-text); }
.doc h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin-top: 2.75rem; }
.doc h2:first-child { margin-top: 0; }
.doc ul, .doc ol { padding-left: 1.25rem; margin: 0 0 1.15em; }
.doc li { margin-bottom: .5em; }
.doc a:not(.btn) { color: var(--bordo); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.abstract {
  background: var(--paper-2); border: 1px solid var(--line); border-left: 2px solid var(--bordo);
  border-radius: 0 14px 14px 0; padding: clamp(1.25rem, 2.5vw, 1.85rem);
  margin-bottom: 2rem;
}
.abstract h3 { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--bordo); margin-bottom: .8rem; }
.abstract p { color: var(--ink-2); margin-bottom: 0; }

.note {
  font-size: .85rem; color: var(--ink-3); background: var(--paper-3);
  border: 1px dashed var(--paper-4); border-radius: 12px; padding: 1rem 1.15rem;
}
.note strong { color: var(--ink-2); }

.meta-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.meta-table th, .meta-table td { text-align: left; padding: .8rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.meta-table th { font-family: var(--sans); font-weight: 500; color: var(--ink-4); width: 38%; font-size: .82rem; letter-spacing: .02em; }
.meta-table td { color: var(--ink-2); }
.meta-table tr:last-child th, .meta-table tr:last-child td { border-bottom: 0; }

.aside-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; }
.aside-card h3 { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 1rem; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 940px) { .split { grid-template-columns: 1fr; } }
.split__aside { position: sticky; top: calc(var(--nav-h) + 1.5rem); display: grid; gap: 1rem; }
@media (max-width: 940px) { .split__aside { position: static; } }

/* ============================================================
   Team
   ============================================================ */
/* Names run to one or two lines depending on the person, which left the cards
   ragged — photos starting level but everything below them out of step. Each
   block is a full-height flex column with the name and role reserving a fixed
   number of lines, so every attorney occupies the same shape. */
.person { display: flex; flex-direction: column; height: 100%; }
.person__link { display: flex; flex-direction: column; }
.person__n {
  min-height: 2.6em;                 /* two lines at this size */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.person__r { min-height: 1.5em; }
.person__meta { margin-top: auto; }
.person__ph {
  aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: var(--paper-3);
  position: relative; margin-bottom: 1.1rem;
}
.person__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); filter: saturate(.9); }
.person:hover .person__ph img { transform: scale(1.035); }
.person__ph--empty { display: grid; place-items: center; border: 1px dashed var(--paper-4); }
.person__initials { font-family: var(--serif); font-size: 2.4rem; color: var(--ink-4); letter-spacing: .04em; }
.person__n { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); margin: 0 0 .2rem; }
.person__r { font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; color: var(--bordo); font-weight: 500; margin: 0 0 .7rem; }
.person__meta {
  font-size: .85rem; color: var(--ink-3); display: grid; gap: .25rem;
  /* addresses are longer than a narrow column — wrap rather than overflow */
  min-width: 0; overflow-wrap: anywhere;
}
.person__meta a { color: var(--ink-3); }
.person__meta a:hover { color: var(--bordo); }

/* ============================================================
   Vision & Mission — statement layout
   A one-line commitment inside a bordered card read as a slogan on a plaque.
   Set as an editorial statement instead: number and heading to the left, the
   firm's own wording large, the elaboration beneath it at reading size.
   ============================================================ */
.statement { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 860px) { .statement { grid-template-columns: 1fr; gap: 1.25rem; } }
.statement__head h2 { margin: 0; }
.statement__head .eyebrow { font-family: var(--serif); font-size: 1rem; letter-spacing: .08em; }
.statement__lead {
  font-family: var(--serif); font-size: clamp(1.2rem, 2.1vw, 1.6rem);
  line-height: 1.45; color: var(--ink); margin-bottom: 1.4rem;
}
.statement__body p:not(.statement__lead) { color: var(--ink-3); max-width: 62ch; }

/* ============================================================
   Quality policy — principles
   Seven bare labels in seven boxes read as a checklist; each now carries a
   sentence saying what it means in practice.
   ============================================================ */
.principles { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.principle {
  display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 1.25rem;
  padding: 1.6rem 0; border-bottom: 1px solid var(--line);
}
.principle:first-child { padding-top: 0; }
.principle:last-child { border-bottom: 0; }
@media (max-width: 560px) { .principle { grid-template-columns: 1fr; gap: .4rem; } }
.principle__n {
  font-family: var(--serif); font-size: 1.05rem; color: var(--bordo);
  line-height: 1.5; font-variant-numeric: tabular-nums;
}
.principle__t {
  font-family: var(--serif); font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  color: var(--ink); margin: 0 0 .4rem; line-height: 1.35;
}
.principle__d { margin: 0; color: var(--ink-3); max-width: 62ch; }

/* Firm facts beside the homepage introduction. Deliberately not a boxed card —
   a bordered panel there read as a luggage tag against the rest of the page. */
.facts { margin: 0; padding: 0 0 0 1.5rem; border-left: 1px solid var(--line); }
.facts__row { padding: 0 0 1.4rem; }
.facts__row:last-child { padding-bottom: 0; }
.facts dt {
  font-family: var(--sans); font-size: .68rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: var(--ink-4);
  margin-bottom: .4rem;
}
.facts dd {
  margin: 0; font-family: var(--serif); font-size: 1.05rem;
  line-height: 1.45; color: var(--ink);
}
.facts dd a { color: var(--ink); border-bottom: 1px solid var(--bordo-line); transition: border-color var(--dur-s) var(--ease-soft); }
.facts dd a:hover { border-bottom-color: var(--bordo); color: var(--bordo); }
@media (max-width: 940px) {
  .facts { border-left: 0; border-top: 1px solid var(--line); padding: 1.75rem 0 0; margin-top: .5rem; }
  .facts__row { padding-bottom: 1.1rem; }
}

/* ============================================================
   Events (Eğitim ve Kongreler)
   ============================================================ */
.ev-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  transition: transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}
.ev-card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px -26px rgba(20,16,15,.3); border-color: var(--bordo-line); }
.ev-card__poster { position: relative; aspect-ratio: 4 / 5; background: var(--paper-3); overflow: hidden; }
.ev-card__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.ev-card:hover .ev-card__poster img { transform: scale(1.04); }
.ev-card__noposter { width: 100%; height: 100%; display: grid; place-items: center; color: var(--ink-4); }
.ev-card__noposter svg { width: 34px; height: 34px; }
.ev-card__type {
  position: absolute; left: .75rem; top: .75rem;
  font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .65rem; border-radius: 999px;
  background: rgba(20,16,15,.72); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.ev-card__body { padding: 1.1rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .4rem; }
.ev-card__date { font-size: .78rem; font-weight: 500; letter-spacing: .04em; color: var(--bordo); font-variant-numeric: tabular-nums; }
.ev-card__t { font-family: var(--serif); font-size: 1.05rem; line-height: 1.32; color: var(--ink); margin: 0; }
.ev-card__venue { font-size: .84rem; color: var(--ink-3); }
.ev-card.is-out { display: none; }

.ev-poster {
  margin: 0 0 2rem; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); background: var(--paper-3);
}
.ev-poster img { width: 100%; height: auto; display: block; }

.person__link { display: block; color: inherit; }
.person__link:hover .person__n { color: var(--bordo); }
.person__n { transition: color var(--dur-s) var(--ease-soft); }

/* ============================================================
   Stats
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.stat__n { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; color: var(--bordo); letter-spacing: -.03em; }
.stat__l { font-size: .85rem; color: var(--ink-3); margin-top: .55rem; max-width: 22ch; }

/* ============================================================
   Contact
   ============================================================ */
.field { display: grid; gap: .45rem; margin-bottom: 1.1rem; }
.field label { font-size: .82rem; font-weight: 500; color: var(--ink-2); }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: .95rem; color: var(--ink);
  padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 12px;
  background: var(--paper); width: 100%;
  transition: border-color var(--dur-s) var(--ease-soft), box-shadow var(--dur-s) var(--ease-soft);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--bordo); box-shadow: 0 0 0 4px var(--bordo-glow);
}
.field .req { color: var(--bordo); }
.field__err { font-size: .8rem; color: var(--bordo-deep); display: none; }
.field.is-bad input, .field.is-bad textarea { border-color: var(--bordo); }
.field.is-bad .field__err { display: block; }

.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .85rem; color: var(--ink-3); margin-bottom: 1.25rem; }
.consent input { margin-top: .25rem; accent-color: var(--bordo); width: 16px; height: 16px; flex: none; }

.form-msg { padding: 1rem 1.15rem; border-radius: 12px; font-size: .9rem; margin-top: 1rem; }
.form-msg--ok { background: var(--bordo-tint); color: var(--bordo-deep); border: 1px solid var(--bordo-line); }
.form-msg--bad { background: #fdf3f0; color: #8a2b1c; border: 1px solid #f0d3cb; }

.contact-line { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.contact-line:last-child { border-bottom: 0; }
.contact-line svg { color: var(--bordo); flex: none; margin-top: .2rem; }
.contact-line__l { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); margin-bottom: .2rem; }
.contact-line__v { color: var(--ink); font-size: .95rem; }
.contact-line__v a:hover { color: var(--bordo); }

.map { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--paper-3); }
.map iframe { width: 100%; height: 440px; border: 0; display: block; }



.map__note { font-size: .78rem; color: var(--ink-4); max-width: 62ch; margin: .7rem 0 0; line-height: 1.55; }
@media (max-width: 640px) { .map iframe { height: 320px; } }

/* ============================================================
   Footer
   ============================================================ */
.ftr { background: var(--ink); color: rgba(255,255,255,.62); padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem; font-size: .875rem; }
.ftr a { color: rgba(255,255,255,.62); transition: color var(--dur-s) var(--ease-soft); }
.ftr a:hover { color: #fff; }
.ftr__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: clamp(2rem, 4vw, 3.5rem); }
@media (max-width: 900px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr__grid { grid-template-columns: 1fr; } }
.ftr h4 { color: #fff; font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.1rem; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
/* Inline links are ~17px tall, well under a comfortable touch target. */
@media (max-width: 900px) {
  .ftr ul { gap: .15rem; }
  .ftr ul a, .ftr ul li > a { display: inline-flex; align-items: center; min-height: 44px; }
  .ftr__legal a { min-height: 44px; display: inline-flex; align-items: center; }
  .contact-line__v a { display: inline-flex; align-items: center; min-height: 40px; }
}
.ftr__brand .logo__name { color: #fff; }
.ftr__brand .logo__sub { color: rgba(255,255,255,.5); }
.ftr__brand .logo__mark-p { fill: #fff; }
.ftr__about { margin-top: 1.4rem; max-width: 38ch; line-height: 1.65; }
.ftr__bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: center;
  font-size: .8125rem; color: rgba(255,255,255,.45);
}
.ftr__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-left: auto; }
@media (max-width: 640px) { .ftr__legal { margin-left: 0; } }
.social { display: flex; gap: .6rem; margin-top: 1.5rem; }
.social a {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  transition: background var(--dur-s) var(--ease-soft), border-color var(--dur-s) var(--ease-soft), transform var(--dur-s) var(--ease-out);
}
.social a:hover { background: var(--bordo); border-color: var(--bordo); transform: translateY(-2px); }

/* ============================================================
   Cookie banner (real choice, per KVKK)
   ============================================================ */
.cookie {
  position: fixed; left: var(--gut); right: var(--gut); bottom: 1.25rem; z-index: 200;
  max-width: 560px; margin-inline: auto;
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(28px) saturate(180%); backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 28px 64px -22px rgba(20,16,15,.4);
  padding: 1.4rem 1.5rem;
  transform: translateY(140%); opacity: 0;
  transition: transform .7s var(--ease-out), opacity .5s var(--ease-out);
}
.cookie.is-in { transform: none; opacity: 1; }
.cookie h4 { font-size: .95rem; margin-bottom: .4rem; }
.cookie p { font-size: .85rem; line-height: 1.6; margin-bottom: 1.1rem; }
.cookie .btn { padding: .65rem 1.2rem; font-size: .875rem; }

/* ============================================================
   Scroll reveal
   ============================================================ */
.js .rv { opacity: 0; transform: translateY(18px); }
.rv.is-in {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
@media (prefers-reduced-motion: reduce) {
  .rv, .rv-h { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .hero__bg img { transform: none !important; }
}

/* hero staged entrance */
.js .hero .rv-h { opacity: 0; transform: translateY(26px); }
.hero.is-ready .rv-h {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease-out), transform .95s var(--ease-out);
  transition-delay: var(--d, 0ms);
}

/* scroll progress bar for long documents */
.progress { position: fixed; top: 0; left: 0; height: 2px; background: var(--bordo); z-index: 101; width: 0; transition: width .1s linear; }

/* skip link */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--bordo); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

/* utilities */
.mt-1 { margin-top: .5rem; }  .mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.25rem; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--ink-4); }
.small { font-size: .85rem; }
.center { text-align: center; }
.divider { height: 1px; background: var(--line); border: 0; margin-block: clamp(3rem, 6vw, 5rem); }
