/* ==========================================================================
   PKS INDIA LEGAL LLP — components
   Reusable pieces. Depends on tokens.css + base.css.
   ========================================================================== */

/* ---- Buttons -------------------------------------------------------------
   Square by design (--radius is 0). Minimum 44px target height, which clears
   WCAG 2.2's 24px minimum with room to spare.                              */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-text);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}

.btn--primary {
  background: var(--gold);
  color: var(--brown-dark);
  border-color: var(--gold);
}
.btn--primary:hover,
.btn--primary:focus-visible { background: var(--gold-deep); border-color: var(--gold-deep); }

/* Outline button for use on brown/dark grounds. */
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247, 239, 217, .45);
}
.btn--ghost:hover,
.btn--ghost:focus-visible { background: var(--cream); color: var(--brown-dark); border-color: var(--cream); }

/* Outline button for use on ivory/white grounds. */
.btn--ghost-dark {
  background: transparent;
  color: var(--brown-ink);
  border-color: var(--rule-on-light);
}
.btn--ghost-dark:hover,
.btn--ghost-dark:focus-visible { background: var(--brown-dark); color: var(--cream); border-color: var(--brown-dark); }

.btn--sm { min-height: 42px; padding: 0.6rem 1.15rem; }


/* ---- Gold rule -----------------------------------------------------------
   The thin gold hairline that separates editorial blocks throughout.       */
.rule-gold {
  border: 0;
  height: 2px;
  width: 48px;
  background: var(--gold);
  margin: 0;
}


/* ---- Chamfered brand mark ------------------------------------------------
   The profile's signature parallelogram, rebuilt in CSS rather than shipped
   as an image. Purely decorative, so it is hidden from assistive tech.     */
.brandmark {
  --mark-size: 120px;
  inline-size: var(--mark-size);
  block-size: var(--mark-size);
  background: var(--gold);
  opacity: .12;
  pointer-events: none;
}

@supports (clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%)) {
  .brandmark { clip-path: polygon(28% 0, 100% 0, 72% 100%, 0 100%); }
}


/* ---- Skip-to-content is in base.css -------------------------------------- */
