/* ═══════════════════════════════════════════════
   1. HERO
═══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.09);
  animation: heroZoom 16s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero__scrim,
.hero__scrim--v {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__scrim {
  background: linear-gradient(
    to right,
    rgba(11, 11, 11, 0.97),
    rgba(11, 11, 11, 0.8) 50%,
    rgba(11, 11, 11, 0.35)
  );
}
.hero__scrim--v {
  background: linear-gradient(
    to top,
    rgba(11, 11, 11, 0.75),
    transparent 50%,
    rgba(11, 11, 11, 0.25)
  );
}

.hero__seam {
  display: none;
  position: absolute;
  left: 44%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(212, 177, 106, 0.25),
    transparent
  );
  transform-origin: top;
  transform: scaleY(0);
  animation: seamGrow 1.4s 0.6s ease-out forwards;
  pointer-events: none;
}
@keyframes seamGrow { to { transform: scaleY(1); } }

.hero__inner {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: 6rem;
  padding-bottom: 5rem;
}

.hero__content { max-width: 680px; }

.hero__rule {
  height: 1px;
  width: 6rem;
  background: var(--gold);
  margin-bottom: 2.25rem;
  transform-origin: left;
  transform: scaleX(0);
  animation: ruleGrow 1.1s 0.4s ease-out forwards;
}
@keyframes ruleGrow { to { transform: scaleX(1); } }

.hero__title-mask { overflow: hidden; margin-bottom: 1.5rem; }

.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6.5vw, 5.8rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ivory);
  font-weight: 500;
  transform: translateY(100px);
  opacity: 0;
  animation: titleRise 1.05s 0.58s var(--ease-out-expo) forwards;
}
.hero__title em { color: var(--gold); font-style: normal; }
@keyframes titleRise { to { transform: none; opacity: 1; } }

.hero__lede {
  color: rgba(248, 246, 241, 0.58);
  font-size: 16px;
  line-height: 1.85;
  /* No max-width: the lede shares .hero__content's measure so it wraps on the
     same line length as the title. A width of its own would drift out of
     alignment as the title's clamp() resizes with the viewport. */
  margin-bottom: 2.5rem;
  font-weight: 300;
  opacity: 0;
  transform: translateY(18px);
  animation: fadeRise 0.85s 1.05s ease-out forwards;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__actions .btn {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeRise 0.7s ease-out forwards;
}
.hero__actions .btn:nth-child(1) { animation-delay: 1.26s; }
.hero__actions .btn:nth-child(2) { animation-delay: 1.42s; }

@keyframes fadeRise { to { opacity: 1; transform: none; } }

.hero__stats {
  display: none;
  position: absolute;
  bottom: 7rem;
  right: var(--gutter-lg);
  flex-direction: column;
  gap: 1.25rem;
  opacity: 0;
  transform: translateX(24px);
  animation: fadeSlideX 1s 1.7s ease-out forwards;
}
@keyframes fadeSlideX { to { opacity: 1; transform: none; } }

.hero__stat { display: flex; align-items: center; gap: 0.75rem; }
.hero__stat b {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1;
}
.hero__stat span {
  color: rgba(248, 246, 241, 0.38);
  font-size: 11px;
  letter-spacing: 0.025em;
}

.hero__scroll {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  opacity: 0;
  animation: fadeIn 0.8s 2.6s ease-out forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

.hero__scroll span {
  color: rgba(248, 246, 241, 0.28);
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}
.hero__scroll .icon {
  color: var(--gold);
  animation: bob 1.7s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

@media (min-width: 1024px) {
  .hero__stats { display: flex; }
}
@media (min-width: 1280px) {
  .hero__seam { display: block; }
}

/* ═══════════════════════════════════════════════
   2. TRUST STRIP
═══════════════════════════════════════════════ */
.trust {
  background: var(--black-soft);
  border-block: 1px solid rgba(212, 177, 106, 0.18);
}

.trust__grid {
  display: grid;
  /* minmax(0, …) so a long label like "Administrative Law" can't push
     the track past the viewport */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(212, 177, 106, 0.12);
}

.trust__item {
  background: var(--black-soft);
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.75rem 1.5rem;
  transition: background 0.3s ease;
}
.trust__item:hover { background: #121212; }
.trust__item:hover .icon { color: var(--gold-hover); }

.trust__item .icon {
  color: var(--gold);
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 1.4;
  transition: color 0.3s ease;
}

.trust__item span {
  color: rgba(248, 246, 241, 0.6);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1.4;
  /* Flex items default to min-width:auto, so a long uppercase word such as
     "ADMINISTRATIVE" would refuse to shrink and push past the grid track. */
  min-width: 0;
  overflow-wrap: break-word;
}

@media (min-width: 640px)  { .trust__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .trust__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* ═══════════════════════════════════════════════
   3. ABOUT
═══════════════════════════════════════════════ */
.about { overflow: hidden; }

.about__grid {
  display: grid;
  gap: 4rem;
  align-items: start;
}

.about__portrait { position: relative; }
.about__portrait::before {
  content: "";
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(212, 177, 106, 0.28);
  pointer-events: none;
  z-index: 0;
}
.about__portrait::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 5rem;
  height: 5rem;
  border-right: 2px solid rgba(212, 177, 106, 0.4);
  border-bottom: 2px solid rgba(212, 177, 106, 0.4);
  pointer-events: none;
  z-index: 0;
}

.about__frame {
  position: relative;
  height: 600px;
  overflow: hidden;
  z-index: 1;
}
.about__frame img { width: 100%; height: 100%; object-fit: cover; }
.about__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 11, 11, 0.7), transparent 55%);
}

.about__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem;
  z-index: 2;
}
.about__caption > div { border-left: 2px solid var(--gold); padding-left: 1rem; }
.about__caption strong {
  display: block;
  font-family: var(--serif);
  color: var(--ivory);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
}
.about__caption span {
  display: block;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.about__title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--black);
  font-weight: 500;
}
.about__title em { font-style: normal; color: var(--gold); }

.about__body {
  color: rgba(11, 11, 11, 0.62);
  font-size: 15px;
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 1.25rem;
}
.about__body:last-of-type { margin-bottom: 2.25rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(11, 11, 11, 0.08);
  margin-top: 3.5rem;
}
.stat {
  background: var(--ivory);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: background 0.3s ease;
}
.stat:hover { background: #fff; }
.stat b {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--black);
  font-weight: 500;
  line-height: 1;
}
.stat span {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
}

@media (min-width: 640px)  { .stats { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) {
  .about__grid  { grid-template-columns: 480px 1fr; gap: 4rem; }
  /* object-fit: cover shows a frame-shaped window of the photo, so the height
     sets how much of a square portrait's width survives: 600px on a 480px
     column keeps about 80% of it. Taller frames crop in harder. */
  .about__frame { height: 600px; }
  .stats        { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1280px) {
  .about__grid { gap: 6rem; }
  .stats       { grid-template-columns: repeat(4, 1fr); }
}

/* ═══════════════════════════════════════════════
   4. PRACTICE AREAS
═══════════════════════════════════════════════ */
.areas__head {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.areas__title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.15;
  color: var(--ivory);
  font-weight: 500;
}

.areas__note {
  color: rgba(248, 246, 241, 0.38);
  font-size: 14px;
  line-height: 1.6;
  max-width: 20rem;
  font-weight: 300;
}

.areas__grid {
  display: grid;
  gap: 1px;
  background: rgba(212, 177, 106, 0.1);
}

.area {
  background: var(--black);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}
.area:hover {
  background: #0e0e0e;
  border-color: rgba(212, 177, 106, 0.32);
  transform: translateY(-4px);
}
.area:hover .icon-box {
  border-color: rgba(212, 177, 106, 0.55);
  box-shadow: 0 0 20px rgba(212, 177, 106, 0.14);
}
.area:hover .area__more { gap: 0.75rem; }

.area .icon-box { margin-bottom: 1.5rem; }

.area h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ivory);
  margin-bottom: 0.75rem;
  line-height: 1.35;
  font-weight: 500;
}

.area p {
  color: rgba(248, 246, 241, 0.42);
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 1.75rem;
  flex: 1;
  font-weight: 300;
}

.area__more {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(212, 177, 106, 0.22);
  padding-bottom: 0.25rem;
  width: fit-content;
  transition: gap 0.3s ease;
}

.areas__cta { display: flex; justify-content: center; margin-top: 3rem; }

@media (min-width: 768px)  { .areas__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .areas__grid { grid-template-columns: repeat(4, 1fr); }
  .areas__head { flex-direction: row; align-items: flex-end; }
  .areas__note { text-align: right; }
}

/* ═══════════════════════════════════════════════
   6. MISSION
═══════════════════════════════════════════════ */
.mission__grid {
  display: grid;
  gap: 4rem;
  align-items: start;
}

.mission__title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ivory);
  font-weight: 500;
}

.mission__quote {
  font-family: var(--serif);
  color: rgba(248, 246, 241, 0.6);
  font-size: 1.15rem;
  line-height: 1.88;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.mission__list { display: flex; flex-direction: column; }

.value {
  position: relative;
  padding-block: 2.5rem;
}
.value:first-child { padding-top: 0; }
.value:last-child  { padding-bottom: 0; }

.value + .value::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: rgba(212, 177, 106, 0.2);
  transform-origin: left;
}

.value__num {
  position: absolute;
  left: -0.5rem;
  top: 2.5rem;
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 1;
  font-weight: 600;
  color: rgba(212, 177, 106, 0.06);
  user-select: none;
  pointer-events: none;
}
.value:first-child .value__num { top: 0; }

.value__content { position: relative; padding-left: 0.5rem; }

.value__icon { color: var(--gold); margin-bottom: 1rem; }
.value__icon .icon {
  width: 1.375rem;
  height: 1.375rem;
  stroke-width: 1.5;
  transition: transform 0.3s ease;
}
.value:hover .value__icon .icon { transform: scale(1.1); }

.value h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--ivory);
  margin-bottom: 0.75rem;
  line-height: 1.35;
  font-weight: 500;
  transition: color 0.3s ease;
}
.value:hover h3 { color: var(--gold); }

.value p {
  color: rgba(248, 246, 241, 0.45);
  font-size: 14px;
  line-height: 1.88;
  font-weight: 300;
  max-width: 32rem;
}

@media (min-width: 1024px) {
  .mission__grid { grid-template-columns: 2fr 3fr; }
  .mission__intro { position: sticky; top: 8rem; }
}
@media (min-width: 1280px) { .mission__grid { gap: 6rem; } }

/* ═══════════════════════════════════════════════
   7. TESTIMONIALS
═══════════════════════════════════════════════ */
.testimonials { overflow: hidden; }

.testimonials__head { text-align: center; margin-bottom: 3.5rem; }
.testimonials__title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.15;
  color: var(--black);
  font-weight: 500;
}

.marquee { width: 100%; overflow: hidden; }

.marquee__track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  padding-inline: 1.5rem;
  animation: marqueeScroll 48s linear infinite;
}
.marquee__track:hover { animation-play-state: paused; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.quote {
  width: 340px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid rgba(11, 11, 11, 0.06);
  padding: 2rem 1.75rem;
  transition: all 0.35s ease;
}
.quote:hover {
  border-color: rgba(212, 177, 106, 0.45);
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.quote__stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.quote__stars .icon { width: 13px; height: 13px; fill: currentColor; }

.quote__text {
  font-family: var(--serif);
  color: rgba(11, 11, 11, 0.68);
  font-size: 14px;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.75rem;
}

.quote__person {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(11, 11, 11, 0.06);
}
.quote__person img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  object-fit: cover;
  flex-shrink: 0;
}
.quote__person strong {
  display: block;
  color: var(--black);
  font-weight: 600;
  font-size: 13px;
}
.quote__person span {
  display: block;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-top: 2px;
}

.testimonials__cta { display: flex; justify-content: center; margin-top: 3.5rem; }

/* ═══════════════════════════════════════════════
   8. CONTACT
═══════════════════════════════════════════════ */
.contact__grid {
  display: grid;
  gap: 4rem;
}

.contact__title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  line-height: 1.1;
  color: var(--ivory);
  font-weight: 500;
}

.contact__lede {
  color: rgba(248, 246, 241, 0.45);
  font-size: 14.5px;
  line-height: 1.88;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.contact__detail { display: flex; align-items: flex-start; gap: 1.25rem; }
.contact__detail .icon-box {
  width: 2.75rem;
  height: 2.75rem;
  border-color: rgba(212, 177, 106, 0.28);
}
.contact__detail .icon { width: 1.125rem; height: 1.125rem; stroke-width: 1.5; }
.contact__detail dt {
  color: rgba(248, 246, 241, 0.38);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.contact__detail dd {
  margin: 0;
  color: rgba(248, 246, 241, 0.75);
  font-size: 14px;
  line-height: 1.6;
}
/* Only fields whose value may legitimately contain line breaks keep them.
   Applying pre-line to every dd turned template indentation around the
   phone/email links into a blank line. */
.contact__detail dd.is-multiline { white-space: pre-line; }

.contact__map {
  height: 11rem;
  border: 1px solid rgba(212, 177, 106, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.contact__map .icon {
  color: var(--gold);
  width: 1.625rem;
  height: 1.625rem;
  stroke-width: 1.4;
  margin: 0 auto 0.5rem;
}
.contact__map p { color: rgba(248, 246, 241, 0.28); font-size: 12px; }

.contact__form-wrap { position: relative; }
.contact__form-wrap::before {
  content: "";
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  width: 10rem;
  height: 10rem;
  background: rgba(212, 177, 106, 0.06);
  pointer-events: none;
}
.contact__form-wrap::after {
  content: "";
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  width: 6rem;
  height: 6rem;
  border: 1px solid rgba(212, 177, 106, 0.15);
  pointer-events: none;
}

.contact__card {
  position: relative;
  background: var(--black-card);
  border: 1px solid rgba(212, 177, 106, 0.14);
  padding: 3rem 2.5rem;
}
.contact__card h3 {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--ivory);
  margin-bottom: 0.375rem;
  font-weight: 500;
}
.contact__card > p {
  color: rgba(248, 246, 241, 0.35);
  font-size: 13px;
  margin-bottom: 2rem;
  font-weight: 300;
}

.contact__form { display: flex; flex-direction: column; gap: 1.5rem; }
.contact__form button[type="submit"] {
  margin-top: 0.5rem;
  justify-content: center;
  width: 100%;
  padding-block: 1rem;
  font-size: 12px;
  letter-spacing: 0.16em;
}

@media (max-width: 480px) {
  .contact__card { padding: 2rem 1.5rem; }
}

/* Pull the decorative offsets in on narrow screens so they can't
   push the page into horizontal scroll. */
@media (max-width: 640px) {
  .contact__form-wrap::before { top: -0.75rem; right: -0.75rem; width: 6rem; height: 6rem; }
  .contact__form-wrap::after  { bottom: -0.75rem; left: -0.75rem; width: 4rem; height: 4rem; }
  .about__portrait::before { top: -0.75rem; left: -0.75rem; }
  .about__portrait::after  { bottom: -0.75rem; right: -0.75rem; }
}
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1280px) { .contact__grid { gap: 6rem; } }

/* ═══════════════════════════════════════════════
   4b. PRACTICE-AREA DETAIL PANEL
═══════════════════════════════════════════════ */

/* Cards are buttons in v2 — reset the UA styling the .area rules assume. */
button.area {
  font: inherit;
  color: inherit;
  text-align: left;
  width: 100%;
  border: 1px solid transparent;
  cursor: pointer;
  appearance: none;
}

.area.is-active {
  background: #0e0e0e;
  border-color: rgba(212, 177, 106, 0.55);
  box-shadow: 0 0 28px rgba(212, 177, 106, 0.12);
}
.area.is-active .icon-box {
  border-color: rgba(212, 177, 106, 0.7);
  box-shadow: 0 0 20px rgba(212, 177, 106, 0.2);
}
.area.is-active .area__more {
  gap: 0.75rem;
  border-bottom-color: rgba(212, 177, 106, 0.55);
}
.area.is-active .area__more-arrow { transform: rotate(90deg); }

.area__more-arrow { transition: transform 0.3s ease; }

/* The panel is a single element reused by all eight areas; main.js sets
   max-height from scrollHeight so the transition has a real target. */
.panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 380ms var(--ease-soft);
}

.panel__inner {
  margin-top: 1px;
  background: #0e0e0e;
  border: 1px solid rgba(212, 177, 106, 0.18);
  padding: 3rem 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s var(--ease-soft), transform 0.45s var(--ease-soft);
}
.panel.is-open .panel__inner { opacity: 1; transform: none; }
.panel.is-swapping .panel__inner { opacity: 0; transform: translateY(8px); }

.panel__head {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.panel__icon {
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid rgba(212, 177, 106, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  box-shadow: 0 0 24px rgba(212, 177, 106, 0.14);
}

.panel__title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.3;
  color: var(--ivory);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.panel__overview {
  color: rgba(248, 246, 241, 0.55);
  font-size: 14.5px;
  line-height: 1.85;
  max-width: 42rem;
  font-weight: 300;
}

.panel__rule {
  height: 1px;
  background: rgba(212, 177, 106, 0.3);
  margin-bottom: 2.5rem;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.65s var(--ease-soft);
}
.panel.is-open .panel__rule { transform: scaleX(1); }

.panel__label {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.panel__services {
  display: grid;
  gap: 0 3rem;
  margin-bottom: 3rem;
}

.panel__service {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-block: 0.75rem;
  border-bottom: 1px solid rgba(212, 177, 106, 0.08);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.4s var(--ease-soft), transform 0.4s var(--ease-soft);
  transition-delay: var(--reveal-delay, 0s);
}
.panel.is-open .panel__service { opacity: 1; transform: none; }

.panel__service .icon {
  color: var(--gold);
  width: 14px;
  height: 14px;
  stroke-width: 1.8;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.panel__service span {
  color: rgba(248, 246, 241, 0.7);
  font-size: 13.5px;
  line-height: 1.4;
}

.panel__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.panel__link {
  color: rgba(248, 246, 241, 0.55);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.panel__link:hover {
  color: var(--gold);
  border-bottom-color: rgba(212, 177, 106, 0.4);
}

@media (min-width: 768px) {
  .panel__services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .panel__inner { padding: 3.5rem 4rem; }
}
@media (max-width: 480px) {
  .panel__inner { padding: 2rem 1.5rem; }
  .panel__head  { flex-direction: column; gap: 1rem; }
}

/* ═══════════════════════════════════════════════
   5. IMMIGRATION DEPARTMENT
═══════════════════════════════════════════════ */
.dept { overflow: hidden; }

.dept__head {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto 5rem;
}

.dept__heading {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.1;
  color: var(--black);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.dept__lede {
  color: rgba(11, 11, 11, 0.58);
  font-size: 15.5px;
  line-height: 1.85;
  font-weight: 300;
}

.dept__grid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.dept__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-block: 3rem;
}

.dept__icon { color: var(--gold); margin-bottom: 1.75rem; }
.dept__icon .icon { width: 2.125rem; height: 2.125rem; stroke-width: 1.3; }

.dept__title {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  line-height: 1.15;
  color: var(--black);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.dept__blurb {
  color: rgba(11, 11, 11, 0.6);
  font-size: 14.5px;
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 2rem;
}

.dept__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 360ms var(--ease-soft);
}

.dept__list { display: flex; flex-direction: column; }

.dept__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-block: 0.625rem;
  border-bottom: 1px solid rgba(11, 11, 11, 0.07);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease-soft), transform 0.5s var(--ease-soft);
  transition-delay: var(--reveal-delay, 0s);
}
.dept__list li:last-child { border-bottom: 0; }
.dept__body.is-open li { opacity: 1; transform: none; }

.dept__dot {
  width: 4px;
  height: 4px;
  border-radius: 9999px;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 7px;
}

.dept__list span:last-child {
  font-size: 13.5px;
  color: rgba(11, 11, 11, 0.72);
  line-height: 1.4;
}

.dept__toggle {
  margin-top: 2rem;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  cursor: pointer;
}

.dept__toggle-label {
  position: relative;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
}
.dept__toggle-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.dept__toggle:hover .dept__toggle-label::after { width: 100%; }

.dept__chevron {
  color: var(--gold);
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}
.dept__toggle[aria-expanded="true"] .dept__chevron { transform: rotate(180deg); }

.dept__divider {
  height: 1px;
  width: 100%;
  background: rgba(212, 177, 106, 0.3);
  margin-block: 2.5rem;
}
.dept__divider span { display: none; }

@media (min-width: 1024px) {
  .dept__grid { flex-direction: row; }
  .dept__col  { padding-block: 0; }
  .dept__col:first-of-type { padding-right: 4rem; }
  .dept__col:last-of-type  { padding-left: 4rem; }

  .dept__divider {
    width: 1px;
    height: auto;
    align-self: stretch;
    margin: 0 0.5rem;
    background: none;
    display: flex;
    /* column, so the span's flex:1 grows it vertically into a rule */
    flex-direction: column;
    align-items: center;
  }
  .dept__divider span {
    display: block;
    width: 1px;
    flex: 1;
    background: rgba(212, 177, 106, 0.4);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 1.1s var(--ease-soft) 0.3s;
  }
  .dept__divider span.is-visible { transform: scaleY(1); }
}

/* ═══════════════════════════════════════════════
   8. LEGAL INSIGHTS
═══════════════════════════════════════════════ */
.insights { overflow: hidden; }

.insights__head { text-align: center; margin-bottom: 3.5rem; }

.insights__title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.15;
  color: var(--ivory);
  font-weight: 500;
}

.insights__rule {
  height: 1px;
  background: rgba(212, 177, 106, 0.25);
  margin-bottom: 4rem;
  transform-origin: left;
}

.insights__grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.post {
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.post:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 177, 106, 0.18);
  box-shadow: 0 16px 56px rgba(0, 0, 0, 0.5);
}

.post__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.post--featured .post__media { aspect-ratio: 16 / 9; }

.post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease-out;
}
.post:hover .post__media img { transform: scale(1.03); }

.post__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 11, 11, 0.6), transparent 55%);
  pointer-events: none;
}

.post__tag {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  background: rgba(11, 11, 11, 0.72);
  border: 1px solid rgba(212, 177, 106, 0.32);
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.post__body {
  background: var(--black-card);
  border-top: 1px solid rgba(212, 177, 106, 0.1);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post--featured .post__body { padding: 2.25rem 2rem; }

.post__date {
  color: rgba(212, 177, 106, 0.7);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.875rem;
}

.post__title {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.25;
  color: var(--ivory);
  font-weight: 500;
  margin-bottom: 1rem;
}
.post--featured .post__title { font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.2; }
.post__title a { color: inherit; }
.post:hover .post__title a { color: var(--gold); }

.post__excerpt {
  color: rgba(248, 246, 241, 0.45);
  font-size: 13px;
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 1.75rem;
  flex: 1;
}
.post--featured .post__excerpt { font-size: 13.5px; }

.post__more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  color: var(--gold);
}
.post__more span:first-child {
  position: relative;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.post__more span:first-child::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.post__more:hover span:first-child::after { width: 100%; }

.post__arrow { transition: transform 0.3s ease; }
.post__more:hover .post__arrow { transform: translateX(6px); }

@media (min-width: 1024px) {
  .insights__grid { grid-template-columns: 1.7fr 1fr; gap: 3.5rem; }
}
