@font-face {
  font-family: 'BlackChancery';
  src: url('blackchancery/BLKCHCRY.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-cream: #ffffff;
  --bg-card: #ffffff;
  --bg-dark-burgundy: #ffffff;
  --bg-pinkish-light: #ffffff;
  --bg-sandy: #ffffff;

  --color-burgundy: #962078;
  --color-burgundy-light: #b54a99;
  --color-text-main: #000000;
  --color-text-light: #000000;
  --color-white: #ffffff;

  --border-light: #eaeaea;
  --border-pinkish: #cccccc;
  --border-dark: #222222;

  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Outfit', sans-serif;

  --container-width: 1280px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--color-burgundy);
  line-height: 1.2;
}

.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--color-burgundy);
  margin-bottom: 24px;
  display: block;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border-light);
  background-color: rgba(251, 249, 246, 0.95);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.nav-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-burgundy);
}

.brand span {
  font-family: 'BlackChancery', var(--font-serif), cursive;
  font-size: 1.8rem;
  /* slightly larger since cursive/calligraphy fonts appear smaller */
  font-weight: 400;
  /* BlackChancery is usually thick already */
}

.brand img {
  height: 50px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.site-nav a {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-main);
}

.site-nav a:hover {
  color: var(--color-burgundy);
}

.btn-primary {
  background-color: #888888;
  color: var(--color-white) !important;
  padding: 12px 28px;
  border-radius: 4px;
}

.btn-primary:hover {
  background-color: #666666;
}

/* Hero Section */
.hero {
  position: relative;
  text-align: center;
  padding: 100px 0 60px;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(to top, var(--bg-cream), transparent);
  pointer-events: none;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-pinkish);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: #000000;
  margin-bottom: 40px;
  background-color: rgba(251, 249, 246, 0.8);
}

.hero-pill .dot {
  width: 6px;
  height: 6px;
  background-color: #000000;
  border-radius: 50%;
}

.hero h1 {
  font-size:55px;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 i {
  font-style: italic;
}

.hero p.lead {
  font-size: 1.125rem;
  max-width: 650px;
  margin: 0 auto 50px;
  color: var(--color-text);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 100px;
  position: relative;
  z-index: 2;
}

.btn-solid {
  background-color: #888888;
  color: var(--color-white);
  padding: 16px 36px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  transition: opacity 0.2s;
}

.btn-solid:hover {
  opacity: 0.9;
}

.btn-outline {
  border: 1px solid #888888;
  color: #888888;
  padding: 16px 36px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  background-color: transparent;
}

.btn-outline:hover {
  background-color: #888888;
  color: var(--color-white);
}

.hero-metrics {
  border-top: 1px solid var(--border-light);
  padding-top: 50px;
  display: flex;
  justify-content: center;
  gap: 80px;
  position: relative;
  z-index: 2;
}

.metric {
  text-align: center;
}

.metric strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: #000000;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 8px;
}

.metric span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text);
  font-weight: 600;
}

/* Who We Are */
.who-we-are {
  padding: 120px 0;
  background-color: var(--color-white);
}

.who-we-are-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.who-copy h2 {
  font-size: 3.5rem;
  margin-bottom: 40px;
}

.who-copy h2 i {
  font-style: italic;
}

.who-copy p {
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.who-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.who-card {
  padding: 40px 30px;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.who-card:nth-child(2),
.who-card:nth-child(4) {
  border-right: none;
}

.who-card:nth-child(3),
.who-card:nth-child(4) {
  border-bottom: none;
}

.who-card.bg-cream {
  background-color: var(--bg-cream);
}

.who-card.bg-pink {
  background-color: var(--bg-pinkish-light);
}

.who-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-pinkish);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-burgundy);
}

.who-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.who-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* Expertise */
.expertise {
  background-color: var(--bg-dark-burgundy);
  color: var(--color-text-main);
  padding: 100px 0;
}

.expertise .eyebrow {
  color: #9730c0;
}

.expertise h2 {
  color: var(--color-burgundy);
  font-size: 3.5rem;
  margin-bottom: 60px;
  display: inline-block;
  transition: transform 0.25s ease, color 0.25s ease, letter-spacing 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
  padding: 10px 18px;
  border-radius: 12px;
}

.expertise h2:hover {
  transform: translateY(-2px);
  color: #cca48e;
  letter-spacing: 0.02em;
  background-color: rgba(204, 164, 142, 0.16);
  box-shadow: 0 0 0 1px rgba(204, 164, 142, 0.35);
}

.expertise h2 i {
  color: #cca48e;
  font-style: italic;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-light);
  border-left: 1px solid var(--border-light);
}

.expertise-item {
  padding: 50px 40px;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  transition: background-color 0.3s, transform 0.2s ease, box-shadow 0.2s ease;
}

.expertise-item:hover {
  background-color: rgba(209, 110, 173, 0.18);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(216, 140, 226, 0.242);
  z-index: 5;
}

.expertise-item .num {
  position: absolute;
  top: 30px;
  right: 30px;
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--border-light);
  font-style: italic;
}

.expertise-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-pinkish);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  color: #cca48e;
}

.expertise-item h3 {
  color: var(--color-burgundy);
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.expertise-item p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* Roles */
.roles-section {
  padding: 100px 0;
}

.roles-copy {
  margin-bottom: 60px;
}

.roles-copy h2 {
  font-size: 3.5rem;
  margin-bottom: 24px;
  display: inline-block;
  transition: transform 0.25s ease, color 0.25s ease, letter-spacing 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
  padding: 10px 18px;
  border-radius: 12px;
}

.roles-copy h2:hover {
  transform: translateY(-2px);
  color: #cca48e;
  letter-spacing: 0.02em;
  background-color: rgba(204, 164, 142, 0.16);
  box-shadow: 0 0 0 1px rgba(204, 164, 142, 0.35);
}

.roles-copy h2 i {
  font-style: italic;
}

.roles-copy p {
  max-width: 600px;
  font-size: 1.05rem;
  color: var(--color-text-light);
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-light);
  border-left: 1px solid var(--border-light);
}

.role-card {
  padding: 40px 30px;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  background-color: var(--color-white);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.role-card:hover {
  transform: translateY(-5px);
  background-color: rgba(204, 164, 142, 0.18);
  box-shadow: 0 10px 30px rgba(204, 164, 142, 0.18);
  z-index: 5;
}

.role-card.bg-cream {
  background-color: var(--bg-cream);
}

.role-card.bg-pink {
  background-color: var(--bg-pinkish-light);
}

.role-card.bg-sandy {
  background-color: var(--bg-sandy);
}

.role-num {
  position: absolute;
  top: 30px;
  left: 30px;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--border-light);
  z-index: 1;
}

.role-content {
  position: relative;
  z-index: 2;
  margin-top: 40px;
}

.role-pill {
  display: inline-block;
  padding: 4px 12px;
  background-color: var(--bg-pinkish-light);
  color: var(--color-burgundy-light);
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.role-card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.role-card p {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* Approach Section */
.approach-section {
  padding: 100px 0;
  background-color: var(--color-white);
  border-top: 1px solid var(--border-light);
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.approach-copy h2 {
  font-size: 3.5rem;
  margin-bottom: 24px;
}

.approach-copy h2 i {
  font-style: italic;
}

.approach-copy p {
  color: var(--color-text-light);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.approach-list {
  display: flex;
  flex-direction: column;
}

.approach-item {
  display: flex;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border-light);
}

.approach-item:first-child {
  padding-top: 0;
}

.approach-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.approach-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border: 1px solid var(--color-burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-burgundy);
}

.approach-item h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.approach-item p {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  background-color: var(--color-white);
  border-top: 1px solid var(--border-light);
}

/* Legal Pages */
.inner-page {
  background:
    radial-gradient(circle at top left, rgba(150, 32, 120, 0.08), transparent 30%),
    linear-gradient(180deg, #fff8fc 0%, #ffffff 28%);
}

.page-hero {
  padding: 96px 0 40px;
}

.page-hero .container {
  max-width: 900px;
}

.page-hero h1 {
  font-size: 3.4rem;
  line-height: 1.18;
  max-width: 760px;
}

.section {
  padding: 36px 0 110px;
}

.legal-shell {
  max-width: 900px;
}

.legal-card {
  background-color: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(150, 32, 120, 0.12);
  border-radius: 28px;
  padding: 52px 56px;
  box-shadow: 0 24px 60px rgba(53, 13, 32, 0.08);
}

.legal-card h2 {
  font-size: 1.55rem;
  line-height: 1.3;
  margin-top: 40px;
  margin-bottom: 14px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(0, 0, 0, 0.82);
  max-width: 68ch;
  margin-bottom: 22px;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 80px;
}

.contact-info h2 {
  font-size: 3.5rem;
  margin-bottom: 40px;
}

.contact-info h2 i {
  font-style: italic;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
}

.contact-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background-color: var(--border-pinkish);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: var(--color-burgundy);
}

.contact-item strong {
  display: block;
  color: var(--color-text-main);
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-item p {
  font-size: 0.95rem;
  color: var(--color-text-main);
}

.social-links-area {
  margin-top: 50px;
}

.social-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--border-pinkish);
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-main);
  background-color: transparent;
}

.social-btn:hover {
  background-color: var(--border-pinkish);
}

.social-btn svg {
  color: var(--color-text-main);
}

.contact-form {
  background: transparent;
}

.form-row {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--color-text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--border-light);
  background-color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text-main);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input[type="file"] {
  padding: 14px 16px;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-burgundy);
}

.form-hint {
  font-size: 0.82rem;
  color: rgba(0, 0, 0, 0.64);
}

.form-status {
  min-height: 24px;
  margin-top: 20px;
  font-size: 0.92rem;
  font-weight: 500;
}

.form-status.is-loading {
  color: var(--color-burgundy);
}

.form-status.is-success {
  color: #177245;
}

.form-status.is-error {
  color: #b42318;
}

.btn-full {
  width: 100%;
}

/* Footer (Matching expertise bg) */
.site-footer {
  background-color: #350d20;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand-col h3 {
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-brand-col p {
  font-size: 0.9rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s;
}

.footer-socials a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links-col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links-col a:hover {
  color: #ffffff;
}

.footer-contact-col p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.85rem;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* Responsive */
@media (max-width: 1200px) {
  .roles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {

  .who-we-are-grid,
  .approach-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .roles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 40px;
  }

  .page-hero {
    padding-top: 72px;
  }

  .page-hero h1 {
    font-size: 2.8rem;
  }

  .legal-card {
    padding: 40px 36px;
  }

  .hero-metrics {
    gap: 40px;
    flex-wrap: wrap;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
}

@media (max-width: 768px) {
  .nav-shell {
    flex-direction: column;
    height: auto;
    padding: 20px 0;
    gap: 16px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .expertise-grid,
  .roles-grid {
    grid-template-columns: 1fr;
  }

  .who-cards {
    grid-template-columns: 1fr;
  }

  .who-card {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }

  .who-card:last-child {
    border-bottom: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .page-hero {
    padding: 56px 0 28px;
  }

  .page-hero h1 {
    font-size: 2.15rem;
  }

  .section {
    padding: 24px 0 72px;
  }

  .legal-card {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .legal-card h2 {
    font-size: 1.3rem;
    margin-top: 32px;
    margin-bottom: 12px;
  }

  .legal-card p {
    line-height: 1.8;
    margin-bottom: 18px;
  }

  .hero-metrics {
    display: none;
    /* Hide or stack on mobile depending on pref */
  }

  .form-row {
    flex-direction: column;
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
