/* ==========================================================================
   Yunus Abdulsalam SAN & Co. — Legal Practitioners & Arbitrators
   Brand: navy #13315C / gold #B08D3F
   ========================================================================== */

:root {
  --navy:        #13315c;
  --navy-deep:   #0d2445;
  --navy-soft:   #1d4276;
  --gold:        #b08d3f;
  --gold-light:  #d4b062;
  --sand:        #f3e6cd;
  --sand-soft:   #faf4e8;
  --ink:         #1c2431;
  --body:        #4a5566;
  --line:        #e3e7ee;
  --white:       #ffffff;
  --bg:          #ffffff;

  --serif: "Playfair Display", "Georgia", "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --radius: 3px;
  --shadow: 0 2px 18px rgba(19, 49, 92, .08);
  --shadow-lg: 0 18px 50px rgba(19, 49, 92, .14);
}

/* ---------- reset ---------- */
*, *::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.75;
  color: var(--body);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .5em; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--tight { padding: 60px 0; }
.section--sand { background: var(--sand-soft); }
.section--navy { background: var(--navy); color: rgba(255,255,255,.92); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.center { text-align: center; }
.lead { font-size: 1.12rem; color: var(--body); }
.muted { color: #7a8698; }

/* ---------- eyebrow + rules ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 .9rem;
  display: block;
}
.rule { width: 62px; height: 3px; background: var(--gold); border: 0; margin: 0 0 26px; }
.center .rule, .rule--center { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  border: 1.5px solid var(--gold);
  background: var(--gold);
  color: var(--white);
  border-radius: var(--radius);
  transition: all .22s ease;
  cursor: pointer;
}
.btn:hover { background: #9a7a33; border-color: #9a7a33; color: var(--white); }
.btn--ghost { background: transparent; color: var(--gold); }
.btn--ghost:hover { background: var(--gold); color: var(--white); }
.btn--light { background: transparent; border-color: rgba(255,255,255,.85); color: #fff; }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--navy); }

/* ---------- logo ---------- */
.logo { display: flex; align-items: center; gap: 12px; }
.logo svg { width: 42px; height: 42px; flex: none; }
.logo-text { line-height: 1.1; }
.logo-name {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .01em;
  display: block;
}
.logo-name .san { font-size: .78em; letter-spacing: .04em; }
.logo-tag {
  display: block;
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: 2px;
}
.logo--light .logo-name { color: #fff; }

/* ---------- header ---------- */
.topbar {
  background: var(--navy-deep);
  color: rgba(255,255,255,.7);
  font-size: .78rem;
  letter-spacing: .02em;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.78); }
.topbar a:hover { color: var(--gold-light); }
.topbar-items { display: flex; gap: 24px; flex-wrap: wrap; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 8px rgba(19,49,92,.06);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--gold); transition: width .25s ease;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--gold); }
.nav .btn { color: #fff; }
.nav .btn::after { display: none; }

.burger {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer;
  width: 44px; height: 44px;
}
.burger span { display: block; height: 2px; background: var(--navy); margin: 5px 0; transition: .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(115deg, var(--navy-deep) 0%, var(--navy) 52%, var(--navy-soft) 100%);
  color: #fff;
  overflow: hidden;
  padding: 116px 0 104px;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(176,141,63,.30), transparent 46%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 74px);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; max-width: 940px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero .eyebrow { color: var(--gold-light); }
.hero p { color: rgba(255,255,255,.95); font-size: 1.14rem; max-width: 680px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-chev {
  position: absolute; right: -80px; top: -60px; width: 520px; height: 520px;
  border: 60px solid rgba(176,141,63,.22);
  border-right: 0; border-bottom: 0;
  transform: rotate(45deg); z-index: 1;
}

/* page banner (interior pages) */
.pagehead {
  background: linear-gradient(115deg, var(--navy-deep), var(--navy-soft));
  color: #fff; padding: 74px 0 66px; position: relative; overflow: hidden;
}
.pagehead::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 88% 20%, rgba(176,141,63,.28), transparent 48%);
}
.pagehead .wrap { position: relative; z-index: 2; }
.pagehead h1 { color: #fff; margin-bottom: .2em; }
.pagehead p { color: rgba(255,255,255,.92); max-width: 660px; margin: 0; }
.crumbs { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.78); margin-bottom: 14px; }
.crumbs a { color: rgba(255,255,255,.78); }
.crumbs a:hover { color: var(--gold-light); }

/* ---------- stats ---------- */
.stats { background: var(--sand-soft); border-top: 3px solid var(--gold); }
.stat { text-align: center; padding: 10px; }
.stat b {
  display: block; font-family: var(--serif); font-size: 2.6rem;
  color: var(--navy); line-height: 1;
}
.stat span {
  display: block; margin-top: 10px; font-size: .74rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); font-weight: 700;
}

/* ---------- cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 30px 28px; border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: .5em; font-size: 1.15rem; }
.card p { font-size: .95rem; margin-bottom: 0; }
.card .card-more {
  display: inline-block; margin-top: 16px; font-size: .74rem;
  letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold);
}

.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; height: 100%; }
.value-card .num {
  font-family: var(--serif); font-size: 1.6rem; color: var(--gold-light);
  display: block; line-height: 1; margin-bottom: 12px;
}

/* practice index list */
.pa-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pa-list a {
  padding: 18px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: .93rem; font-weight: 600; color: var(--navy); background: #fff;
  display: flex; align-items: center; gap: 10px; transition: background .2s ease;
}
.pa-list a::before { content: "—"; color: var(--gold); }
.pa-list a:hover { background: var(--sand-soft); color: var(--gold); }

/* practice detail block */
.pa-block { padding: 52px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 130px; }
.pa-block:last-child { border-bottom: 0; }
.pa-block h2 { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.pa-block .pa-num {
  font-family: var(--sans); font-size: .78rem; letter-spacing: .16em;
  color: var(--gold); font-weight: 700;
}
.pa-block ul li strong { color: var(--navy); }
.backtop { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }

/* ---------- team ---------- */
.person {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 26px; text-align: center; height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.avatar {
  width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: #fff; font-family: var(--serif); font-size: 1.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--sand); letter-spacing: .02em;
}
.avatar--photo { padding: 0; overflow: hidden; background: var(--sand-soft); }
.avatar--photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.person h3 { font-size: 1.08rem; margin-bottom: .25em; }
.person .role {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin: 0;
}
.person--lead { border-top: 3px solid var(--gold); }
.person--lead .avatar { width: 112px; height: 112px; font-size: 2rem; }

.profile-lead { display: grid; grid-template-columns: 340px 1fr; gap: 52px; align-items: start; }
.profile-portrait {
  background: linear-gradient(150deg, var(--navy), var(--navy-soft));
  border-radius: var(--radius); text-align: center; color: #fff;
  border-bottom: 4px solid var(--gold); overflow: hidden;
  position: sticky; top: 110px;
}
.profile-portrait img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 12%; }
.profile-portrait .pp-body { padding: 24px 22px 30px; }
.profile-portrait h3 { color: #fff; margin-bottom: .2em; font-size: 1.3rem; }
.profile-portrait .role { color: var(--gold-light); }
.profile-portrait .pp-meta { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.25); font-size: .9rem; color: rgba(255,255,255,.92); }
.profile-portrait .pp-meta a { color: var(--gold-light); }

/* bio page */
.bio h3 { margin-top: 2em; }
.bio h3:first-child { margin-top: 0; }
.cred-list { list-style: none; padding: 0; }
.cred-list li { position: relative; padding-left: 26px; margin-bottom: 12px; }
.cred-list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg);
}
.highlight-box {
  background: var(--sand-soft); border-left: 3px solid var(--gold);
  padding: 26px 30px; border-radius: var(--radius); margin: 30px 0;
}
.highlight-box p:last-child { margin-bottom: 0; }
.person-link { display: block; height: 100%; color: inherit; }
.person-link:hover { color: inherit; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.info-item { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: 0; }
.info-ico {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  background: var(--sand-soft); border: 1px solid var(--sand);
  display: flex; align-items: center; justify-content: center; color: var(--gold);
}
.info-item h4 {
  font-family: var(--sans); font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 6px; font-weight: 700;
}
.info-item p { margin: 0; color: var(--ink); font-size: .98rem; }

.form-card { background: var(--sand-soft); border: 1px solid var(--sand); border-radius: var(--radius); padding: 36px; }
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: .72rem; letter-spacing: .13em; text-transform: uppercase;
  font-weight: 700; color: var(--navy); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font-family: var(--sans); font-size: .96rem;
  color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,141,63,.15);
}
.form-note { font-size: .82rem; color: #7a8698; margin-top: 14px; }
.form-status { margin-top: 16px; font-size: .92rem; font-weight: 600; color: var(--navy); }

/* ---------- CTA strip ---------- */
.cta {
  background: linear-gradient(115deg, var(--navy-deep), var(--navy-soft));
  color: #fff; padding: 68px 0; text-align: center; position: relative; overflow: hidden;
}
.cta::after { content:""; position:absolute; inset:0; background: radial-gradient(circle at 15% 80%, rgba(176,141,63,.26), transparent 50%); }
.cta .wrap { position: relative; z-index: 2; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.92); max-width: 620px; margin: 0 auto 28px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.8); font-size: .92rem; padding: 66px 0 0; }
.site-footer h4 {
  font-family: var(--sans); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 18px; font-weight: 700;
}
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: var(--gold-light); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand p { margin-top: 18px; max-width: 320px; font-size: .9rem; }
.footer-bottom {
  margin-top: 52px; border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 0; font-size: .82rem;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.disclaimer { background: #0a1c36; color: rgba(255,255,255,.58); font-size: .76rem; padding: 16px 0; line-height: 1.6; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pa-list { grid-template-columns: repeat(2, 1fr); }
  .profile-lead { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw);
    background: var(--navy-deep); flex-direction: column; align-items: flex-start;
    padding: 96px 30px 30px; gap: 6px;
    box-shadow: -8px 0 40px rgba(0,0,0,.35);
    transform: translateX(100%); transition: transform .3s ease; z-index: 55;
  }
  .nav.open { transform: translateX(0); }
  .nav a {
    font-size: 1rem; color: #fff; display: block; width: 100%;
    padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14);
  }
  .nav a:hover { color: var(--gold-light); }
  .nav a.active { color: var(--gold-light); }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 18px; text-align: center; border-bottom: 0; background: var(--gold); color: #fff; }
  .topbar-items .hide-sm { display: none; }
  .profile-portrait { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 58px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .pa-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 78px 0 68px; }
  .hero-chev { display: none; }
  .form-card { padding: 24px; }
  .footer-bottom { justify-content: flex-start; }
}

@media print {
  .site-header, .topbar, .burger, .cta, .form-card { display: none; }
}

/* ---------- icons ---------- */
.ico { width: 26px; height: 26px; display: inline-block; vertical-align: middle; }
.ico-sm { width: 18px; height: 18px; flex: none; }
.card-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; margin-bottom: 18px;
  background: var(--sand-soft); border: 1px solid var(--sand); color: var(--gold);
}
.value-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; margin-bottom: 14px;
  background: var(--navy); color: var(--gold-light);
}
.pa-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--sand-soft); border: 1px solid var(--sand); color: var(--gold);
  align-self: center;
}
.pa-list a::before { content: none; }
.pa-list a { gap: 12px; }
.pa-list a .ico-sm { color: var(--gold); }
.pa-block h2 { align-items: center; }
.pa-block .pa-num { margin-left: auto; }

/* ---------- publications ---------- */
.pub-list { display: grid; gap: 0; }
.pub-item {
  display: grid; grid-template-columns: 86px 1fr; gap: 22px;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.pub-item:last-child { border-bottom: 0; }
.pub-year {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--gold);
  line-height: 1.3;
}
.pub-item h3 { font-size: 1.2rem; margin-bottom: .3em; }
.pub-item h3 a { color: var(--navy); }
.pub-item h3 a:hover { color: var(--gold); }
.pub-ext { color: var(--gold); font-size: .85em; }
.pub-outlet {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: var(--gold); margin: 0 0 8px;
}
.pub-desc { font-size: .97rem; margin: 0; }
@media (max-width: 640px) {
  .pub-item { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- homepage leadership circle + team strip ---------- */
.lead-circle {
  display: block; width: 216px; height: 216px; border-radius: 50%;
  overflow: hidden; margin: 8px auto 24px;
  border: 5px solid var(--sand); box-shadow: var(--shadow-lg);
}
.lead-circle img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.team-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px 16px; justify-items: center;
}
.mini { display: block; text-align: center; max-width: 170px; }
.mini-photo {
  display: block; width: 112px; height: 112px; border-radius: 50%;
  overflow: hidden; margin: 0 auto 12px;
  border: 3px solid var(--sand); background: var(--sand-soft);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.mini:hover .mini-photo { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.mini-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.mini-initials {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.9rem; font-weight: 700;
  color: #fff; background: linear-gradient(135deg, var(--navy), var(--navy-soft));
}
.mini-name { display: block; font-weight: 600; color: var(--navy); font-size: .95rem; line-height: 1.3; }
.mini:hover .mini-name { color: var(--gold); }
.mini-role {
  display: block; font-size: .68rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-top: 4px;
}

/* ---------- fact grid (fills the column beside tall portraits) ---------- */
.fact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  margin: 26px 0 4px;
}
.fact {
  background: var(--sand-soft); border: 1px solid var(--sand);
  border-left: 3px solid var(--gold); border-radius: var(--radius);
  padding: 16px 18px;
}
.fact h4 {
  font-family: var(--sans); font-size: .7rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 6px; font-weight: 700;
}
.fact p { margin: 0; font-size: .92rem; color: var(--ink); line-height: 1.6; }
@media (max-width: 640px) { .fact-grid { grid-template-columns: 1fr; } }
