/* Siddique Law, PLLC — shared styles */
:root {
  --ink: #1d1b1c;          /* charcoal — header, dark bands */
  --ink-2: #2a2729;
  --greige: #e2ddd3;       /* warm stone — hero, welcome */
  --greige-2: #d6d0c4;
  --paper: #faf8f4;
  --white: #ffffff;
  --plum: #5b2c45;         /* accent */
  --plum-deep: #45203a;
  --mauve: #c9aebb;        /* accent on dark */
  --text: #2b2829;
  --muted: #5d5759;
  --line: rgba(29, 27, 28, .16);
  --line-light: rgba(255, 255, 255, .22);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Avenir Next", "Avenir", system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1180px;
  --header-h: 104px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .6em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1.1em; }
em, .italic { font-style: italic; }

.container { width: min(var(--maxw), 100% - 48px); margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 8px; background: var(--plum); color: #fff;
  padding: 10px 16px; z-index: 200; text-decoration: none;
}
.skip-link:focus { left: 8px; }

/* Letterspaced small caps label */
.eyebrow {
  display: block; font-family: var(--sans); font-size: .78rem; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem;
}
.eyebrow--rule::before, .eyebrow--rule::after {
  content: ""; display: inline-block; width: 40px; height: 1px; background: currentColor; vertical-align: middle; opacity: .6;
}
.eyebrow--rule::before { margin-right: 16px; }
.eyebrow--rule::after { margin-left: 16px; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase; text-decoration: none; color: var(--ink);
  padding-bottom: 6px; border-bottom: 1px solid transparent; transition: border-color .25s, gap .25s;
}
.link-arrow::after { content: "↗"; letter-spacing: 0; font-size: 1em; }
.link-arrow:hover { border-color: currentColor; gap: 14px; }
.link-arrow--light { color: #fff; }

/* Buttons */
.btn {
  display: inline-block; white-space: nowrap; font-family: var(--sans); font-size: .76rem; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase; text-decoration: none; text-align: center;
  padding: 16px 30px; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  cursor: pointer; transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn:focus-visible, .link-arrow:focus-visible, .nav a:focus-visible { outline: 2px solid var(--mauve); outline-offset: 4px; }
.btn--light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--plum { background: var(--plum); border-color: var(--plum); color: #fff; }
.btn--plum:hover { background: var(--plum-deep); border-color: var(--plum-deep); color: #fff; }

/* Header — split navigation around a centered monogram */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h); background: var(--ink);
}
.site-header .container { position: relative; height: 100%; display: flex; align-items: center; }
.brand {
  display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; white-space: nowrap;
}
.brand__mark {
  font-family: var(--serif); font-style: italic; font-size: 3.4rem; line-height: 1; color: #fff;
  padding-inline: 4px; position: relative; top: -2px;
}
.brand__word { font-size: .64rem; font-weight: 500; letter-spacing: .38em; text-transform: uppercase; color: #e9e4dc; }
.site-header .brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; }

.nav { flex: 1; display: flex; justify-content: space-between; column-gap: 260px; }
.nav__group {
  flex: 1; display: flex; align-items: center; justify-content: space-around; gap: 20px;
  border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); padding-block: 9px;
}
.nav a:not(.btn) {
  color: #ece8e1; text-decoration: none; font-size: .74rem; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase; padding: 6px 0; position: relative; white-space: nowrap;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--mauve); transition: width .25s;
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: #fff; }
.nav .btn { padding: 9px 16px; font-size: .68rem; letter-spacing: .2em; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; margin-left: auto; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 26px; height: 1.5px; background: #fff; position: relative; transition: transform .25s, background .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-8px) rotate(-45deg); }

/* Hero — typographic, on warm stone */
.hero { position: relative; overflow: hidden; background: var(--greige); text-align: center; }
.hero .container { position: relative; padding-block: clamp(110px, 17vw, 210px); }
.hero__lines {
  position: absolute; inset: auto -5% 0 -5%; width: 110%; height: 100%; color: var(--ink); opacity: .13; pointer-events: none;
}
.hero h1 { margin: 0; }
.hero__big { display: block; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(2.2rem, 6.4vw, 4.6rem); line-height: 1.08; }
.hero__big--soft { color: #57514f; }
.hero__small {
  display: block; font-family: var(--sans); font-size: clamp(.72rem, 1.4vw, .9rem); font-weight: 500;
  letter-spacing: .36em; text-transform: uppercase; color: var(--ink); margin-block: 18px 10px;
}
.hero__small:first-child { margin-top: 0; }
.hero__cta { margin-top: 2.4rem; }

/* Practice strip — dark band with slash dividers */
.strip { background: var(--ink); color: #fff; }
.strip__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__list li { position: relative; text-align: center; }
.strip__list li + li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 64px; background: rgba(255,255,255,.55);
  transform: translateY(-50%) rotate(28deg);
}
.strip__list a {
  display: block; padding: 58px 22px; text-decoration: none; font-family: var(--serif); font-size: 1.28rem; line-height: 1.3; color: #f2eee8;
  transition: color .25s;
}
.strip__list a span { display: block; font-family: var(--sans); font-size: .66rem; letter-spacing: .32em; text-transform: uppercase; color: var(--mauve); margin-bottom: 10px; }
.strip__list a:hover { color: #fff; font-style: italic; }

/* Sections */
.section { padding-block: clamp(76px, 10vw, 136px); }
.section--greige { background: var(--greige); }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: #d9d4cd; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--plum { background: var(--plum); color: #eadde3; }
.section--plum h2 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 3.4rem; }
.section-head--center { margin-inline: auto; text-align: center; }

/* Welcome — framed panels flanking centered copy */
.welcome { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.welcome__copy { text-align: center; }
.welcome__copy p { color: var(--muted); }
.frame {
  position: relative; aspect-ratio: 3 / 4; border: 1px solid var(--ink); padding: 10px;
}
.frame__inner {
  width: 100%; height: 100%; object-fit: cover; display: grid; place-items: center;
  background: linear-gradient(160deg, #cfc7ba, #b9b0a2 60%, #a89e90);
}
.frame--offset { margin-top: 90px; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame__mono { font-family: var(--serif); font-style: italic; font-size: clamp(4rem, 9vw, 7rem); color: rgba(255,255,255,.75); line-height: 1; }
.frame__quote {
  font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: #fff; text-align: center; padding: 24px; line-height: 1.5;
}

/* "Why" — client question cards */
.why { padding-bottom: 0; }
.why .section-head p { color: #b8b1aa; }
.questions { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-light); }
.question {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(48px, 6vw, 84px) clamp(24px, 5vw, 64px); border-bottom: 1px solid var(--line-light);
}
.question:nth-child(odd) { border-right: 1px solid var(--line-light); }
.question__tag { font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--mauve); margin-bottom: 1.4rem; line-height: 1.8; }
.question blockquote {
  margin: 0 0 2.2rem; font-family: var(--serif); font-size: clamp(1.3rem, 2.3vw, 1.8rem); line-height: 1.35; color: #fff; flex: 1;
}

/* Meet the attorney */
.meet { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.meet h2 { text-transform: uppercase; letter-spacing: .02em; margin-bottom: .3em; }
.meet__sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.35; color: var(--mauve); margin-bottom: 1.4em; }
.section--plum .frame { border-color: rgba(255,255,255,.55); }
.section--plum .frame__inner { background: linear-gradient(160deg, #7a4a63, #4e2439); }

/* CTA */
.cta { text-align: center; }
.cta p { max-width: 52ch; margin-inline: auto; color: var(--muted); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 36px; align-items: center; margin-top: 2.2rem; }

/* Interior page hero */
.page-hero { background: var(--greige); text-align: center; position: relative; overflow: hidden; }
.page-hero .container { position: relative; padding-block: clamp(72px, 11vw, 132px); }
.page-hero h1 { margin: 0; font-size: clamp(2.4rem, 6vw, 4.2rem); }
.page-hero p { max-width: 56ch; margin: 1.4rem auto 0; color: var(--muted); }

/* Detail blocks (About / Practice Areas) */
.detail { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 6vw, 88px); padding-block: 64px; border-top: 1px solid var(--line); }
.detail:first-of-type { border-top: 0; padding-top: 0; }
.detail__num { display: block; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--plum); margin-bottom: .7rem; }
.detail h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0; }
.detail__body p { color: var(--muted); }
.detail__q {
  margin: 0 0 1.6rem; padding-left: 22px; border-left: 1px solid var(--plum);
  font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.5; color: var(--ink);
}
.checklist { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 36px; }
.checklist li { position: relative; padding-left: 28px; color: var(--text); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .82em; width: 14px; height: 1px; background: var(--plum); }

/* About profile */
.profile { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(36px, 7vw, 100px); align-items: start; }
.profile__name { font-size: clamp(2rem, 4vw, 2.8rem); text-transform: uppercase; letter-spacing: .02em; margin-bottom: .2em; }
.profile__sub { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--plum); margin-bottom: 1.6em; line-height: 1.4; }
.profile__block + .profile__block { margin-top: 2.2rem; padding-top: 2.2rem; border-top: 1px solid var(--line); }
.profile__block p { color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.contact__lead { color: var(--muted); font-size: 1.08rem; }
.contact-card { background: var(--white); border: 1px solid var(--line); padding: clamp(32px, 5vw, 56px); outline: 1px solid var(--line); outline-offset: -12px; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 20px 0; border-top: 1px solid var(--line); }
.contact-list li:first-child { border-top: 0; padding-top: 0; }
.contact-list li:last-child { padding-bottom: 0; }
.contact-list small { display: block; font-size: .7rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-list a, .contact-list .value { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--plum); font-style: italic; }

/* Footer */
.site-footer { background: var(--ink); color: #b8b1aa; font-size: .95rem; }
.footer-top { text-align: center; padding-block: 72px 40px; }
.footer-top .brand { justify-content: center; }
.footer-top p { margin: 22px auto 0; max-width: 46ch; color: #9a938c; font-family: var(--serif); font-style: italic; font-size: 1.1rem; }
.footer-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding-block: 36px 48px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.site-footer h4 { font-family: var(--sans); font-size: .68rem; letter-spacing: .32em; text-transform: uppercase; color: var(--mauve); margin: 0 0 16px; font-weight: 500; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: #fff; }
.footer-grid > div:last-child { text-align: right; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 22px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #8a837d; text-align: center; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  .nav { column-gap: 220px; }
  .nav__group { justify-content: space-between; gap: 14px; padding-inline: 4px; }
  .nav a:not(.btn) { font-size: .68rem; letter-spacing: .14em; }
  .nav .btn { padding: 8px 12px; font-size: .62rem; letter-spacing: .14em; }
}
@media (max-width: 960px) {
  :root { --header-h: 80px; }
  .site-header .brand { position: static; transform: none; }
  .brand__mark { font-size: 2.6rem; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; column-gap: 0;
    width: 100vw; margin-left: calc(50% - 50vw);
    background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.1);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav.is-open { max-height: 480px; }
  .nav__group { flex-direction: column; align-items: stretch; gap: 0; border: 0; padding: 0; }
  .nav a:not(.btn) { padding: 18px 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .76rem; letter-spacing: .2em; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin: 18px 24px 24px; padding: 14px 20px; font-size: .72rem; }

  .strip__list { grid-template-columns: repeat(2, 1fr); }
  .strip__list li:nth-child(3)::before { display: none; }
  .strip__list li:nth-child(n+3) a { border-top: 1px solid rgba(255,255,255,.12); }
  .welcome { grid-template-columns: 1fr 1fr; }
  .welcome__copy { grid-column: 1 / -1; order: -1; }
  .frame--offset { margin-top: 48px; }
  .detail { grid-template-columns: 1fr; gap: 18px; }
  .meet, .profile, .contact { grid-template-columns: 1fr; }
  .meet .frame, .profile .frame { max-width: 420px; }
}
@media (max-width: 720px) {
  .questions { grid-template-columns: 1fr; }
  .question:nth-child(odd) { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-grid > div:last-child { text-align: center; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand__word { font-size: .56rem; letter-spacing: .3em; }
  .brand { gap: 10px; }
  .strip__list { grid-template-columns: 1fr; }
  .strip__list li::before { display: none; }
  .strip__list li + li a { border-top: 1px solid rgba(255,255,255,.12); }
  .strip__list a { padding: 34px 16px; }
  .checklist { grid-template-columns: 1fr; }
  .hero__small { letter-spacing: .26em; }
  .eyebrow { letter-spacing: .24em; }
  .eyebrow--rule::before, .eyebrow--rule::after { width: 22px; }
  .btn { white-space: normal; }
  .welcome { grid-template-columns: 1fr; }
  .welcome .frame { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}
