:root {
  --obsidian: #1C1816;
  --dark-umber: #2E2018;
  --gold: #C9A84C;
  --cream: #F0ECE6;
  --cream-90: rgba(240, 236, 230, 0.9);
  --cream-55: rgba(240, 236, 230, 0.55);
  --cream-40: rgba(240, 236, 230, 0.4);
  --cream-70: rgba(240, 236, 230, 0.7);
  --gold-border: rgba(201, 168, 76, 0.15);
  --gold-border-faint: rgba(201, 168, 76, 0.1);
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
  --max-content: 720px;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--obsidian);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--gold);
  color: var(--obsidian);
  font-size: 14px;
  font-weight: 600;
  z-index: 2000;
}

.skip-link:focus {
  top: 0.5rem;
}

.gold-rule {
  width: 48px;
  height: 1px;
  background-color: var(--gold);
}

.gold-rule--center {
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--obsidian);
  border-bottom: 1px solid var(--gold-border);
  padding: 1.25rem 1.5rem;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0;
  color: var(--cream);
  display: inline-block;
  line-height: 1.2;
}

.wordmark-w1 {
  margin-right: 7px;
}

.wordmark-descriptor {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--gold);
  display: block;
  margin-top: 3px;
  font-weight: 500;
  text-transform: uppercase;
}

.nav-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--cream-55);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-list {
  list-style: none;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--obsidian);
  border-bottom: 1px solid var(--gold-border);
  padding: 1rem 1.5rem 1.5rem;
  flex-direction: column;
  gap: 1.25rem;
}

.nav-link {
  white-space: nowrap;
  font-size: 14px;
  color: var(--cream-40);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-list--open {
  display: flex;
}

.nav-link:hover {
  color: var(--gold);
}

.nav-link--active {
  color: var(--cream);
}

.site-main {
  margin-top: 72px;
  padding: 3rem 1.5rem 2rem;
}

.content-wrap {
  max-width: var(--max-content);
  margin: 0 auto;
}

.hero {
  text-align: center;
  padding: 2rem 0 3rem;
}

.hero-statement {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--cream-90);
  line-height: 1.4;
  margin: 2rem 0;
}

.problem {
  margin-bottom: 2rem;
}

.problem-text {
  font-size: 14px;
  color: var(--cream-55);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.problem-closer {
  font-size: 14px;
  color: var(--cream-55);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.problem-bridge {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--cream-90);
  text-align: center;
  padding: 3rem 0;
}

.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.capabilities-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.service-block .gold-rule {
  margin-bottom: 1.25rem;
}

.service-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.service-description {
  font-size: 14px;
  color: var(--cream-55);
  line-height: 1.8;
}

.firm-header {
  text-align: center;
  margin-bottom: 3rem;
}

.firm-motto {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 1rem;
}

.firm-mission {
  font-size: 16px;
  color: var(--cream-70);
  font-style: italic;
  margin-bottom: 2rem;
}

.section-heading {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.name-origin {
  margin-bottom: 3rem;
}

.name-origin-intro {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.name-origin-item {
  margin-bottom: 1.5rem;
}

.name-origin-label {
  font-weight: 600;
  color: var(--cream);
  font-size: 14px;
  margin-bottom: 0.3rem;
}

.name-origin-text {
  font-size: 14px;
  color: var(--cream-55);
  line-height: 1.8;
}

.firm-narrative {
  margin-bottom: 3rem;
}

.firm-narrative-text {
  font-size: 14px;
  color: var(--cream-55);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.firm-closing {
  font-size: 14px;
  color: var(--cream-55);
  line-height: 1.8;
  margin-top: 2rem;
}

.bios {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.bio-name {
  font-weight: 600;
  color: var(--cream);
  font-size: 14px;
  margin-bottom: 0.3rem;
}

.bio-title {
  font-size: 12px;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.bio-text {
  font-size: 13px;
  color: var(--cream-55);
  line-height: 1.7;
}

.bio {
  display: flex;
  flex-direction: column;
}

.bio-linkedin {
  font-size: 12px;
  color: var(--cream-40);
  text-decoration: none;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
}

.bio-linkedin:hover {
  color: var(--gold);
}

.publications-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.publication-card {
  background-color: var(--dark-umber);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background-color 0.3s ease;
  height: 240px;
  overflow: hidden;
}

.publication-card:hover {
  background-color: rgba(46, 32, 24, 0.8);
}

.pub-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pub-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--obsidian);
  background-color: var(--gold);
  padding: 2px 8px;
}

.pub-date {
  font-size: 11px;
  color: var(--cream-40);
  font-weight: 500;
  letter-spacing: 1px;
}

.pub-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--cream);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pub-description {
  font-size: 13px;
  color: var(--cream-55);
  line-height: 1.6;
  margin-top: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-header {
  margin-bottom: 3rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.article-date {
  font-size: 11px;
  color: var(--cream-40);
  font-weight: 500;
  letter-spacing: 1px;
}

.article-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--cream-90);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.article-subtitle {
  font-size: 15px;
  color: var(--cream-55);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.article-author {
  font-size: 13px;
  color: var(--cream-40);
  font-weight: 500;
}

.article-pdf-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  border: 1px solid var(--gold-border);
  padding: 0.5rem 1rem;
  margin-top: 1rem;
  transition: border-color 0.3s ease;
}

.article-pdf-link:hover {
  border-color: var(--gold);
}

.article-body {
  margin-bottom: 3rem;
}

.article-body p {
  font-size: 14px;
  color: var(--cream-55);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--cream-90);
  margin: 2.5rem 0 1rem;
}

.article-body h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
  margin: 2rem 0 0.75rem;
}

.article-body .article-callout {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--cream-90);
  line-height: 1.5;
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--gold-border-faint);
  border-bottom: 1px solid var(--gold-border-faint);
}

.article-source {
  font-size: 12px;
  color: var(--cream-40);
  margin: -0.75rem 0 1.5rem;
  line-height: 1.6;
}

.article-source a {
  color: var(--cream-40);
  transition: color 0.3s ease;
}

.article-source a:hover {
  color: var(--gold);
}

.article-ref {
  font-size: 12px;
  color: var(--cream-40);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.article-ref a {
  color: var(--cream-40);
  transition: color 0.3s ease;
}

.article-ref a:hover {
  color: var(--gold);
}

.letter-signature {
  margin-top: 3rem;
  font-size: 15px;
  line-height: 1.8;
  color: var(--cream-90);
}

.case-block {
  margin: 2rem 0;
  padding: 2rem 1.5rem;
  background: var(--dark-umber);
  border-left: 2px solid var(--gold);
}

.case-block h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--cream-90);
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(201,168,76,0.12);
}

.case-details {
  display: block;
}

.case-field {
  margin-bottom: 1.25rem;
}

.case-field:last-of-type {
  margin-bottom: 0;
}

.case-details dt {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.case-details dd {
  font-size: 13px;
  line-height: 1.7;
  color: var(--cream-55);
  margin: 0;
}

.case-sources {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(201,168,76,0.08);
}

.case-source {
  font-size: 11px;
  color: var(--cream-40);
  margin: 0.25rem 0 0;
}

.case-source a {
  color: var(--cream-40);
  transition: color 0.3s ease;
}

.case-source a:hover {
  color: var(--gold);
}

.article-stat {
  font-size: 14px;
  color: var(--cream-55);
  line-height: 1.7;
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 2px solid var(--gold);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.stat-source {
  display: block;
  font-size: 12px;
  color: var(--cream-40);
  margin-top: 0.5rem;
}

.article-nav {
  padding-top: 2rem;
  border-top: 1px solid var(--gold-border-faint);
}

.article-back {
  font-size: 13px;
  color: var(--cream-40);
  transition: color 0.3s ease;
}

.article-back:hover {
  color: var(--gold);
}

.platform-response {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--dark-umber);
  border-left: 2px solid var(--gold);
}

.platform-response h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--cream-90);
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

.platform-response blockquote {
  font-size: 14px;
  font-style: italic;
  color: var(--cream-55);
  line-height: 1.7;
  margin: 0 0 0.75rem;
  padding: 0;
  border: none;
}

.platform-assessment {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.references-list {
  font-size: 13px;
  color: var(--cream-55);
  line-height: 1.7;
  padding-left: 2rem;
}

.references-list li {
  margin-bottom: 0.75rem;
}

.contributors-firm {
  font-size: 13px;
  color: var(--cream-40);
}

.article-back-link {
  display: block;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gold-border-faint);
  font-size: 13px;
}

.article-back-link a {
  color: var(--cream-40);
  transition: color 0.3s ease;
}

.article-back-link a:hover {
  color: var(--gold);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.screenshot-thumb {
  display: block;
  text-align: center;
}

.screenshot-thumb img {
  width: 100%;
  height: auto;
  border: 1px solid var(--gold-border);
  transition: border-color 0.3s ease;
}

.screenshot-thumb:hover img {
  border-color: var(--gold);
}

.screenshot-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cream-40);
  margin-top: 0.5rem;
}

.contact-info {
  font-size: 14px;
  color: var(--cream);
  line-height: 2;
  margin-bottom: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cream-55);
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field textarea {
  width: 100%;
  background: var(--dark-umber);
  border: 1px solid var(--gold-border);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 0.75rem 1rem;
  line-height: 1.6;
  transition: border-color 0.3s ease;
}

.form-field input[type="text"]:focus,
.form-field input[type="email"]:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--obsidian);
  background: var(--gold);
  border: none;
  padding: 0.75rem 2rem;
  cursor: pointer;
  align-self: flex-start;
  transition: opacity 0.3s ease;
}

.form-submit:hover {
  opacity: 0.85;
}

.contact-legal {
  font-size: 12px;
  color: var(--cream-40);
  letter-spacing: 0.02em;
  margin-top: 1rem;
}

.site-footer {
  padding: 3rem 1.5rem;
  font-size: 12px;
  color: var(--cream-55);
  border-top: 1px solid var(--gold-border-faint);
  margin-top: 4rem;
  text-align: center;
}

.site-footer .gold-rule {
  opacity: 0.25;
  margin: 2rem auto 1.5rem;
}

.entity-context {
  max-width: var(--max-content);
  margin: 0 auto 2rem;
  font-size: 12px;
  color: var(--cream-55);
  line-height: 1.6;
  text-align: left;
}

.copyright {
  color: var(--cream-40);
}


@media (min-width: 768px) {
  .site-header {
    padding: 1.5rem 2.5rem;
  }

  .nav-toggle {
    display: none;
  }

  .nav-list {
    display: flex;
    position: static;
    border: none;
    padding: 0;
    flex-direction: row;
    gap: 2.5rem;
  }

  .site-main {
    margin-top: 80px;
    padding: 4rem 2.5rem 2rem;
  }

  .hero {
    padding: 3rem 0 4rem;
  }

  .hero-statement {
    font-size: 34px;
  }

  .firm-motto {
    font-size: 34px;
  }

  .bios {
    flex-direction: row;
    gap: 2rem;
  }

  .bios > * {
    flex: 1;
  }

  .publications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .publication-card {
    padding: 2rem;
    height: 260px;
  }

  .article-title {
    font-size: 34px;
  }
}

@media (min-width: 1024px) {
  .hero-statement {
    font-size: 38px;
    width: 860px;
    max-width: 90vw;
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .service-name {
    font-size: 28px;
  }

  .firm-motto {
    font-size: 38px;
  }

  .article-title {
    font-size: 38px;
  }
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.nav-link:focus-visible {
  color: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none;
  }
}
