/* =========================================================
   Çağlar Hukuk & Danışmanlık — Stylesheet
   ========================================================= */

:root {
  --navy-900: #0b121d;
  --navy-800: #111a2a;
  --navy-700: #1a2438;
  --navy-600: #243049;
  --gold-500: #c9a14a;
  --gold-400: #d8b65f;
  --gold-300: #e7c66b;
  --gold-100: #f5ecd2;
  --cream:    #f4efe2;  /* warmer, more editorial */
  --cream-soft: #faf7ef;
  --paper:    #fefdfa;  /* off-white, subtle warmth */
  --ink:      #0e1623;
  --ink-soft: #3a4555;
  --muted:    #6b7689;
  --line:     #e6e2d6;
  --shadow-sm: 0 1px 2px rgba(11,18,29,.06), 0 1px 1px rgba(11,18,29,.04);
  --shadow-md: 0 8px 24px rgba(11,18,29,.08), 0 2px 6px rgba(11,18,29,.05);
  --shadow-lg: 0 20px 48px rgba(11,18,29,.14), 0 4px 12px rgba(11,18,29,.06);
  --radius:   6px;
  --radius-lg: 12px;
  --container: 1200px;
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- reset & base typography ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga", "calt", "ss01";
  font-optical-sizing: auto;
}
img, svg { display: block; max-width: 100%; height: auto; }
a {
  color: var(--navy-800);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: var(--gold-500); }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy-900);
  letter-spacing: -.022em;
  line-height: 1.12;
  margin: 0 0 .55em;
  font-feature-settings: "kern", "liga", "dlig";
}
h1 {
  font-size: clamp(2.2rem, 4.4vw + 1rem, 4rem);
  letter-spacing: -.028em;
  line-height: 1.05;
}
h2 {
  font-size: clamp(1.7rem, 2.2vw + 1rem, 2.6rem);
  letter-spacing: -.024em;
  line-height: 1.1;
}
h3 {
  font-size: 1.4rem;
  letter-spacing: -.018em;
  line-height: 1.25;
}
h4 { letter-spacing: -.015em; }
p {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}
::selection { background: var(--gold-300); color: var(--navy-900); }

/* ---------- layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 6.5rem 0; }
.section--tight { padding: 4.5rem 0; }
.section--cream { background: var(--cream); }
.section--dark  { background: var(--navy-900); color: #d6dbe5; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p  { color: rgba(255,255,255,.78); }

.section-head { max-width: 740px; margin: 0 auto 3.2rem; text-align: center; }
.section-head .eyebrow { display: block; margin-bottom: 1.2rem; }
.section-head h2 { margin-bottom: .7rem; }
.section-head p  { font-size: 1.08rem; line-height: 1.65; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 1rem;
  font-feature-settings: "kern", "tnum";
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px; height: 1px;
  background: var(--gold-500);
  vertical-align: middle;
  margin-right: .75rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .95rem 1.8rem;
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease,
              transform .25s cubic-bezier(.2, .8, .2, 1),
              box-shadow .25s ease;
  white-space: nowrap;
  font-feature-settings: "kern", "tnum";
}
.btn--gold {
  background: var(--gold-500);
  color: var(--navy-900);
  border-color: var(--gold-500);
}
.btn--gold:hover {
  background: var(--gold-400);
  color: var(--navy-900);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(201,161,74,.35), 0 4px 12px rgba(11,18,29,.08);
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn--ghost:hover {
  background: #fff;
  color: var(--navy-900);
  border-color: #fff;
}
.btn--outline {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-900);
}
.btn--outline:hover {
  background: var(--navy-900);
  color: #fff;
}

/* ---------- top utility bar ---------- */
.topbar {
  background: var(--navy-900);
  color: rgba(255,255,255,.78);
  font-size: .82rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .55rem 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
  gap: 1rem;
}
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--gold-400); }
.topbar__contact { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.topbar__contact span,
.topbar__contact a { display: inline-flex; align-items: center; gap: .4rem; }
.topbar__map {
  text-decoration: none;
  border-bottom: 1px dotted rgba(216, 182, 95, .45);
  padding-bottom: 1px;
  transition: border-color .2s ease, color .2s ease;
}
.topbar__map:hover { border-bottom-color: var(--gold-400); }
.topbar__map .ext {
  font-size: .72rem;
  opacity: .7;
  margin-left: .15rem;
}
.topbar__lang { font-weight: 600; letter-spacing: .08em; color: var(--gold-400); }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
@media (min-width: 721px) {
  /* backdrop-filter creates a containing block for fixed descendants,
     which would trap the mobile .nav__menu inside the header. Only enable
     on desktop where the menu is not fixed. */
  .site-header {
    backdrop-filter: saturate(140%) blur(10px);
  }
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .9rem;
  text-decoration: none;
}
.brand__logo {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  object-fit: contain;
}
.site-footer .brand__logo {
  background: var(--cream);
  border-radius: 10px;
  padding: 4px;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy-900);
  letter-spacing: .01em;
}
.brand__sub {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 600;
}

.nav__menu {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__menu a {
  position: relative;
  font-size: .92rem;
  font-weight: 500;
  color: var(--navy-800);
  letter-spacing: .02em;
  padding: .3rem 0;
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -4px;
  width: 0; height: 2px;
  background: var(--gold-500);
  transition: all .25s ease;
  transform: translateX(-50%);
}
.nav__menu a:hover::after,
.nav__menu a.is-active::after { width: 100%; }
.nav__menu a.is-active { color: var(--gold-500); }

.nav__cta { display: inline-flex; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy-900);
  position: relative;
  transition: transform .25s ease, top .25s ease, opacity .2s ease;
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: ""; position: absolute; left: 0;
}
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after  { top:  7px; }
.nav__toggle.is-open span { background: transparent; }
.nav__toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav__toggle.is-open span::after  { top: 0; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0b121d 0%, #182338 60%, #0b121d 100%);
  color: #fff;
  overflow: hidden;
  padding: 7rem 0 8rem;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(201,161,74,.18), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(201,161,74,.10), transparent 55%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px; top: 50%;
  width: 520px; height: 520px;
  border: 1px solid rgba(201,161,74,.18);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 3.8vw + 1rem, 4.4rem);
  letter-spacing: -.032em;
  line-height: 1.04;
  margin-bottom: 1.4rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-400);
  font-weight: 500;
}
.hero p {
  font-size: 1.12rem;
  line-height: 1.65;
  color: rgba(255,255,255,.85);
  max-width: 58ch;
  margin-bottom: 2.2rem;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero__badge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__badge img {
  width: 100%;
  max-width: 360px;
  background: var(--cream);
  border-radius: 50%;
  padding: 2.2rem;
  box-shadow:
    0 30px 60px rgba(0,0,0,.45),
    0 0 0 1px rgba(201,161,74,.35),
    inset 0 0 0 1px rgba(201,161,74,.2);
}

/* ---------- hero orbit (animated practice areas) ---------- */
.hero__orbit {
  --orbit-size: clamp(320px, 38vw, 520px);
  --orbit-radius: calc(var(--orbit-size) * 0.46);
  --orbit-duration: 36s;

  position: relative;
  width: var(--orbit-size);
  height: var(--orbit-size);
  margin: 0 auto;
  isolation: isolate;
}

.hero__orbit-logo {
  position: absolute;
  inset: 22%;
  background: var(--cream);
  border-radius: 50%;
  padding: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(201, 161, 74, 0.45),
    inset 0 0 0 1px rgba(201, 161, 74, 0.25);
  z-index: 2;
  animation: orbit-logo-float 6s ease-in-out infinite;
}
.hero__orbit-logo img {
  width: 100%;
  height: auto;
}

@keyframes orbit-logo-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.hero__orbit-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.hero__orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(201, 161, 74, 0.18);
}
.hero__orbit-ring--1 {
  inset: 0;
  animation: orbit-ring-rotate 80s linear infinite;
}
.hero__orbit-ring--2 {
  inset: 8%;
  border-style: solid;
  border-color: rgba(201, 161, 74, 0.10);
  animation: orbit-ring-rotate 120s linear infinite reverse;
}
.hero__orbit-ring--3 {
  inset: 16%;
  border-style: dotted;
  border-color: rgba(201, 161, 74, 0.22);
  animation: orbit-ring-rotate 60s linear infinite;
}
@keyframes orbit-ring-rotate {
  to { transform: rotate(360deg); }
}

.hero__orbit-chip {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: rgba(11, 18, 29, 0.72);
  border: 1px solid rgba(201, 161, 74, 0.5);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  color: var(--gold-300);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  text-decoration: none;
  z-index: 3;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
  animation: orbit-chip-spin var(--orbit-duration) linear infinite;
  animation-delay: calc(var(--i) * (var(--orbit-duration) / -6));
  will-change: transform;
}
.hero__orbit-chip:hover,
.hero__orbit-chip:focus-visible {
  background: var(--gold-500);
  color: var(--navy-900);
  border-color: var(--gold-300);
  box-shadow:
    0 12px 28px rgba(201, 161, 74, 0.45),
    0 0 0 4px rgba(201, 161, 74, 0.15);
  outline: none;
}
.hero__orbit:hover .hero__orbit-chip,
.hero__orbit:focus-within .hero__orbit-chip {
  animation-play-state: paused;
}
/* Each chip rotates around the center, then translates outward, then counter-rotates so its text stays upright at every position. */
@keyframes orbit-chip-spin {
  from {
    transform:
      translate(-50%, -50%)
      rotate(0deg)
      translateY(calc(var(--orbit-radius) * -1))
      rotate(0deg);
  }
  to {
    transform:
      translate(-50%, -50%)
      rotate(360deg)
      translateY(calc(var(--orbit-radius) * -1))
      rotate(-360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__orbit-logo,
  .hero__orbit-ring,
  .hero__orbit-chip { animation: none !important; }
  .hero__orbit-chip {
    /* Static fan-out positioning when motion is disabled */
    transform:
      translate(-50%, -50%)
      rotate(calc(var(--i) * 60deg))
      translateY(calc(var(--orbit-radius) * -1))
      rotate(calc(var(--i) * -60deg));
  }
}

/* ---------- stats strip ---------- */
.stats {
  background: var(--gold-500);
  color: var(--navy-900);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2.5rem 0;
  text-align: center;
}
.stats__item .num {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 700;
  display: block;
  line-height: 1;
  margin-bottom: .35rem;
}
.stats__item .label {
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ---------- about preview ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #1a2438, #0b121d);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__visual::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(201,161,74,.25), transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(201,161,74,.15), transparent 60%);
}
.about__visual img {
  position: relative;
  width: 70%;
  max-width: 280px;
  height: auto;
  background: var(--cream);
  border-radius: 50%;
  padding: 1.6rem;
  box-shadow: 0 20px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(201,161,74,.35);
}
.about__visual::after {
  content: "";
  position: absolute;
  bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,161,74,.6), transparent);
}
.about p { font-size: 1.05rem; }
.about ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}
.about li {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: .55rem 0;
  color: var(--ink);
}
.about li::before {
  content: "";
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 4px;
  background: var(--gold-500);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M16.7 5.3l-8 8-4.4-4.4 1.4-1.4 3 3 6.6-6.6 1.4 1.4z' fill='black'/></svg>") center/contain no-repeat;
}

/* ---------- services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 3px;
  background: var(--gold-500);
  transition: width .35s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::after { width: 100%; }
.service-card .icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--gold-100);
  color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.service-card .icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.service-card h3 { margin-bottom: .5rem; font-size: 1.2rem; }
.service-card p  { font-size: .95rem; margin: 0; }

/* ---------- why-us / features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.feature {
  text-align: left;
  padding: 2rem 1.6rem;
  border-left: 2px solid rgba(201,161,74,.4);
}
.feature h3 { color: #fff; font-size: 1.1rem; margin-bottom: .5rem; }
.feature .num {
  display: block;
  font-family: var(--serif);
  color: var(--gold-400);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1rem;
}
.feature p { font-size: .92rem; margin: 0; }

/* ---------- team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 920px;
  margin: 0 auto;
}
.member {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  transition: all .25s ease;
}
.member:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.member__photo {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.member__photo .initials {
  font-family: var(--serif);
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--gold-400);
  letter-spacing: .02em;
}
.member__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(201,161,74,.25), transparent 60%);
}
.member__body { padding: 1.6rem 1.8rem 1.8rem; }
.member__name { font-size: 1.35rem; margin-bottom: .15rem; }
.member__title {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold-500);
  font-weight: 600;
  margin-bottom: 1rem;
}
.member__body p { font-size: .95rem; margin-bottom: .8rem; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: start;
}
.contact-info {
  background: var(--navy-900);
  color: #fff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
}
.contact-info h3 { color: #fff; }
.contact-info p { color: rgba(255,255,255,.8); }
.contact-info ul { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .95rem;
  color: rgba(255,255,255,.85);
}
.contact-info li:first-child { border-top: none; }
.contact-info li .ic {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(201,161,74,.15);
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info li .ic svg { width: 18px; height: 18px; }
.contact-info li strong { color: #fff; display: block; margin-bottom: .15rem; }
.contact-info li a { color: rgba(255,255,255,.85); }
.contact-info li a:hover { color: var(--gold-400); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1.2rem; }
.field label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--navy-800);
  margin-bottom: .4rem;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: .85rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  background: #fff;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201,161,74,.18);
}
.field textarea { resize: vertical; min-height: 130px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 1rem; }
.form-status { margin-top: 1rem; font-size: .9rem; }
.form-status.ok { color: #1a7f3c; }
.form-status.err { color: #b3261e; }

/* ---------- google reviews marquee ---------- */
.reviews-marquee {
  overflow: hidden;
  position: relative;
  padding: 1.5rem 0 0.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.reviews-marquee__track {
  display: flex;
  gap: 1.4rem;
  width: max-content;
  animation: rev-marquee 55s linear infinite;
}
.reviews-marquee:hover .reviews-marquee__track {
  animation-play-state: paused;
}
@keyframes rev-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.review-card {
  flex: 0 0 340px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.7rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: .9rem;
  min-height: 240px;
}
.review-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
}
.review-stars {
  color: var(--gold-500);
  letter-spacing: 2px;
  font-size: 1rem;
  line-height: 1;
}
.review-google {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.review-google svg { width: 14px; height: 14px; }
.review-text {
  flex: 1;
  color: var(--ink-soft);
  margin: 0;
  font-size: .94rem;
  line-height: 1.65;
}
.review-author {
  display: flex;
  align-items: center;
  gap: .8rem;
  border-top: 1px solid var(--line);
  padding-top: .9rem;
}
.review-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.review-author__name {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.review-author__name strong { color: var(--navy-900); font-size: .92rem; }
.review-author__name span { font-size: .76rem; color: var(--muted); }
.reviews-cta {
  text-align: center;
  margin-top: 2rem;
}

@media (prefers-reduced-motion: reduce) {
  .reviews-marquee__track { animation: none; }
}

/* ---------- map embed ---------- */
.map-embed {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: #e8e6df;
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
  filter: saturate(.92);
}
.map-embed__cta {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.3rem;
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
  transition: all .2s ease;
}
.map-embed__cta:hover {
  background: var(--gold-500);
  color: var(--navy-900);
  transform: translateY(-1px);
}
.map-embed__cta svg { width: 16px; height: 16px; }

@media (max-width: 720px) {
  .map-embed iframe { height: 360px; }
}

/* ---------- page header (interior pages) ---------- */
.page-head {
  background: linear-gradient(135deg, #0b121d 0%, #1a2438 100%);
  color: #fff;
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,161,74,.12), transparent 60%);
}
.page-head h1 { color: #fff; margin-bottom: .5rem; position: relative; }
.page-head .crumbs {
  position: relative;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  letter-spacing: .04em;
}
.page-head .crumbs a { color: var(--gold-400); }

/* ---------- prose blocks ---------- */
.prose { max-width: 720px; margin: 0 auto; }
.prose > p:first-of-type {
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.prose p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.3rem;
  color: var(--ink-soft);
}
.prose h2 {
  margin-top: 2.8rem;
  margin-bottom: .8rem;
  font-size: clamp(1.5rem, 1.5vw + 1rem, 2rem);
}
.prose h3 {
  margin-top: 2rem;
  margin-bottom: .6rem;
  font-size: 1.25rem;
}
.prose ul, .prose ol { padding-left: 1.3rem; margin-bottom: 1.3rem; }
.prose ul li, .prose ol li {
  margin-bottom: .55rem;
  color: var(--ink-soft);
  line-height: 1.7;
}
.prose strong { color: var(--ink); font-weight: 600; }
.prose a:not(.btn) {
  color: var(--gold-500);
  border-bottom: 1px solid rgba(201,161,74,.3);
  transition: border-color .2s ease, color .2s ease;
}
.prose a:not(.btn):hover {
  color: var(--navy-900);
  border-bottom-color: var(--navy-900);
}
.prose blockquote {
  margin: 1.6rem 0;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--gold-500);
  background: var(--cream);
  color: var(--ink-soft);
  font-style: italic;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.prose ol { padding-left: 1.2rem; }
.prose ol li { margin-bottom: .4rem; color: var(--ink-soft); }

/* ---------- announcements / blog ---------- */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.6rem;
}
.post-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  text-decoration: none;
  color: inherit;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-500);
}
.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: .9rem;
  align-items: center;
}
.post-card__cat {
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold-500);
  font-weight: 700;
  font-size: .72rem;
}
.post-card h3 {
  font-size: 1.25rem;
  margin: 0 0 .8rem;
  line-height: 1.3;
  color: var(--navy-900);
  transition: color .2s ease;
}
.post-card:hover h3 { color: var(--gold-500); }
.post-card p {
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
  flex-grow: 1;
  font-size: .95rem;
}
.post-card__more {
  color: var(--gold-500);
  font-weight: 600;
  font-size: .9rem;
  align-self: flex-start;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 1rem 0 2.2rem;
  font-size: .9rem;
  color: var(--muted);
}
.article-meta__author { font-weight: 600; color: var(--ink); }
.article-meta__sep { color: var(--line); }

.article-disclaimer {
  margin-top: 3rem;
  padding: 1.4rem 1.6rem;
  background: rgba(201,161,74,.08);
  border-left: 3px solid var(--gold-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .9rem;
  color: var(--ink-soft);
}
.article-disclaimer strong { color: var(--ink); }

.article-cta {
  margin-top: 2.5rem;
  padding: 2rem 1.8rem;
  background: var(--cream);
  border-radius: var(--radius-lg);
  text-align: center;
}
.article-cta h3 { margin-bottom: .6rem; }
.article-cta p { margin-bottom: 1.4rem; }
.article-cta__actions {
  display: flex;
  gap: .9rem;
  justify-content: center;
  flex-wrap: wrap;
}

.article-source {
  font-size: .85rem;
  color: var(--muted);
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
}
.article-source a { color: var(--gold-500); }

/* practice areas — expandable list */
.practice-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.practice-item {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  transition: all .25s ease;
}
.practice-item:hover {
  border-left-color: var(--navy-900);
  box-shadow: var(--shadow-md);
}
.practice-item[open] {
  border-left-color: var(--navy-900);
  box-shadow: var(--shadow-md);
}
.practice-summary {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  cursor: pointer;
  outline: none;
}
.practice-summary::-webkit-details-marker { display: none; }
.practice-summary::marker { display: none; content: ""; }
.practice-item__title { flex: 1; }
.practice-item h3 {
  font-size: 1.15rem;
  margin: 0 0 .4rem;
  transition: color .2s ease;
}
.practice-item[open] h3 { color: var(--gold-500); }
.practice-item p { margin: 0; font-size: .95rem; }
.practice-toggle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-500);
  color: var(--gold-500);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
  position: relative;
}
.practice-toggle::before,
.practice-toggle::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  transition: transform .3s ease;
}
.practice-toggle::before { width: 12px; height: 1.6px; }
.practice-toggle::after  { width: 1.6px; height: 12px; }
.practice-item[open] .practice-toggle {
  background: var(--gold-500);
  color: #fff;
}
.practice-item[open] .practice-toggle::after { transform: scaleY(0); }
.practice-detail {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px dashed var(--line);
  animation: practiceSlide .35s ease;
}
.practice-detail ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.practice-detail li {
  position: relative;
  padding: .42rem 0 .42rem 1.4rem;
  font-size: .92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.practice-detail li::before {
  content: "";
  position: absolute;
  left: 0; top: .92rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
}
@keyframes practiceSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- footer ---------- */
.site-footer {
  background: #060b15;
  color: rgba(255,255,255,.7);
  padding: 4.5rem 0 0;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-footer h4 {
  color: #fff;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 1.2rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: .35rem 0; }
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: var(--gold-400); }
.footer-brand p {
  color: rgba(255,255,255,.65);
  margin-top: 1rem;
  font-size: .92rem;
  max-width: 36ch;
}
.footer-brand .brand__title { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap;
  gap: .8rem;
}
.footer-bottom a { color: rgba(255,255,255,.65); }
.footer-bottom a:hover { color: var(--gold-400); }

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .section { padding: 4.5rem 0; }
  .hero { padding: 5rem 0 6rem; }
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__badge { order: -1; }
  .hero__badge svg { max-width: 220px; }
  .hero__orbit { order: -1; --orbit-size: clamp(300px, 70vw, 460px); }
  .stats__grid { grid-template-columns: repeat(3, 1fr); gap: 2rem 1rem; }
  .about { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__visual { aspect-ratio: 16 / 10; max-width: 460px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .practice-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 720px) {
  .topbar__inner { font-size: .76rem; }
  .topbar__contact { gap: .8rem; }
  .nav { padding: .85rem 1.25rem; }
  .hero__orbit { --orbit-size: clamp(280px, 82vw, 380px); }
  .hero__orbit-chip { font-size: .72rem; padding: .42rem .8rem; }
  .hero__orbit-logo { padding: 1.2rem; inset: 24%; }
  .nav__menu {
    position: fixed;
    top: 80px;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    background: #fff;
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 0;
    transform: translateX(100%);
    transition: transform .3s ease;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    z-index: 95;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    isolation: isolate;
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__menu li { border-bottom: 1px solid var(--line); }
  .nav__menu a {
    display: block;
    padding: 1rem 0;
    font-size: 1rem;
  }
  .nav__menu a::after { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .services-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  h1 { font-size: 2.1rem; }
  .stats__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
