:root {
  --ink: #18212b;
  --muted: #5f6874;
  --paper: #f7f9f8;
  --white: #ffffff;
  --line: #d9dedb;
  --teal: #1f6f6a;
  --teal-dark: #164c49;
  --plum: #7b2f46;
  --ochre: #c29342;
  --sage: #dfe8df;
  --mist: #eef3f1;
  --shadow: 0 18px 50px rgba(24, 33, 43, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

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

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

p {
  margin: 0;
  line-height: 1.7;
}

ul {
  margin: 0;
  padding-left: 1.15rem;
}

li + li {
  margin-top: 0.45rem;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 0.75rem 2rem;
  background: rgba(247, 249, 248, 0.94);
  border-bottom: 1px solid rgba(24, 33, 43, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  font-weight: 800;
  color: var(--teal-dark);
}

.brand img {
  width: 52px;
  height: 36px;
  object-fit: contain;
}

.brand span {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  color: #303944;
  font-size: 0.92rem;
  font-weight: 650;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--mist);
  color: var(--teal-dark);
  outline: none;
}

.menu-toggle,
.nav-close {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 82svh;
  max-height: 780px;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  z-index: -3;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(18, 28, 36, 0.88), rgba(18, 28, 36, 0.58), rgba(18, 28, 36, 0.18)),
    linear-gradient(180deg, rgba(18, 28, 36, 0.12), rgba(18, 28, 36, 0.74));
}

.hero-content {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 7rem 0 6rem;
}

.eyebrow,
.section-kicker {
  margin-bottom: 0.85rem;
  color: var(--ochre);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.4rem;
  font-weight: 700;
  line-height: 0.95;
}

.hero-lead {
  max-width: 780px;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--teal);
  color: var(--white);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--teal-dark);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.section {
  padding: 5.5rem 0;
}

.section-inner {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.2rem;
}

.section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.65rem;
  line-height: 1.08;
}

.section h3,
.section h4 {
  margin: 0;
  line-height: 1.22;
}

.section h3 {
  font-size: 1.35rem;
}

.section h4 {
  font-size: 1rem;
}

.two-column {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.intro-section {
  background: var(--white);
}

.intro-copy {
  display: grid;
  gap: 1.3rem;
}

.check-list {
  display: grid;
  gap: 0.6rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.68rem;
  width: 0.55rem;
  height: 0.55rem;
  content: "";
  background: var(--plum);
  border-radius: 50%;
}

.book-callout {
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}

.book-callout h3 {
  margin-bottom: 0.8rem;
}

.expertise-section {
  background: var(--mist);
}

.expertise-layout {
  display: grid;
  gap: 4rem;
}

.feature-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  gap: 2.2rem;
  align-items: start;
}

.feature-panel-alt {
  grid-template-columns: 1.35fr 0.9fr;
}

.feature-panel-alt .feature-media {
  order: 2;
}

.feature-media {
  position: sticky;
  top: 96px;
}

.feature-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-body {
  display: grid;
  gap: 1.15rem;
}

.feature-body > h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
}

.service-grid {
  display: grid;
  gap: 1rem;
  margin-top: 0.4rem;
}

.service-card,
.article-card,
.publication-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card {
  padding: 1.2rem;
}

.service-card h4 {
  margin-bottom: 0.65rem;
  color: var(--plum);
}

.service-card p + p {
  margin-top: 0.75rem;
}

.chroniques-section {
  background: var(--paper);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.article-card {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-width: 0;
  padding: 1rem;
  overflow: hidden;
}

.article-card-wide {
  grid-column: span 2;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: stretch;
}

.article-card-final {
  grid-column: 1 / -1;
  grid-template-columns: minmax(240px, 0.42fr) 1fr;
  align-items: stretch;
}

.article-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 6px;
}

.article-card-wide img {
  height: 100%;
  min-height: 280px;
}

.article-card-final img {
  height: 100%;
  min-height: 280px;
}

.article-card-content {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-width: 0;
}

.article-card h3 {
  color: var(--ink);
}

.article-card a,
.publication-card a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-decoration-color: rgba(31, 111, 106, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.publication-card h3 a {
  color: inherit;
  text-decoration-color: rgba(24, 33, 43, 0.28);
}

.article-card a:hover,
.article-card a:focus-visible,
.publication-card a:hover,
.publication-card a:focus-visible {
  color: var(--plum);
  text-decoration-color: currentColor;
}

.meta,
.source {
  color: var(--muted);
  font-size: 0.92rem;
}

.source {
  overflow-wrap: anywhere;
}

.publications-section {
  background: #fbfbf6;
}

.publication-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.publication-card {
  display: grid;
  grid-column: span 3;
  align-content: start;
  gap: 1rem;
  padding: 1rem;
}

.publication-card img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  padding: 0.8rem;
  border-radius: 6px;
  background: var(--mist);
}

.publication-card-wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(160px, 0.32fr) 1fr;
  align-items: stretch;
}

.publication-card-wide img {
  height: 100%;
}

.contact-section {
  background: var(--sage);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-copy {
  display: grid;
  gap: 1rem;
}

.contact-form {
  display: grid;
  gap: 0.75rem;
  padding: 1.2rem;
  border: 1px solid rgba(24, 33, 43, 0.14);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.form-field {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}

.contact-form label {
  color: #2a343e;
  font-weight: 750;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.8rem 0.9rem;
  border: 1px solid #c9d0cc;
  border-radius: 8px;
  color: var(--ink);
  background: #fcfdfc;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(31, 111, 106, 0.18);
}

.contact-form .button {
  justify-self: end;
  min-width: 140px;
}

.form-status {
  min-height: 1.6rem;
  color: var(--teal-dark);
  font-weight: 750;
}

.legal-hero {
  background: var(--mist);
}

.legal-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 1.05;
}

.legal-hero p:not(.section-kicker) {
  max-width: 680px;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.06rem;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.legal-card {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  min-width: 0;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.legal-card h2 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--teal-dark);
}

.legal-card a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.site-footer {
  padding: 3.5rem 0 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.9fr 1fr;
  gap: 2rem;
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
  font-size: 0.9rem;
}

.footer-brand,
.footer-nav,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: max-content;
  max-width: 100%;
  color: var(--white);
  font-weight: 850;
  text-decoration: none;
}

.footer-logo img {
  width: 52px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-nav h2,
.footer-contact h2 {
  margin: 0;
  color: var(--white);
  font-size: 0.9rem;
}

.footer-nav a {
  width: max-content;
  max-width: 100%;
}

.footer-button {
  width: max-content;
  max-width: 100%;
  min-height: 42px;
  background: var(--teal);
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 3rem));
  margin: 2.5rem auto 0;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.86rem;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
  text-decoration: underline;
}

@media (max-width: 1040px) {
  .site-header {
    padding-inline: 1rem;
  }

  .legal-grid,
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    font-weight: 800;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    align-content: start;
    width: 100%;
    min-height: 100dvh;
    padding: 1rem;
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease;
    overflow-y: auto;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav a {
    width: 100%;
  }

  .nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    min-height: 40px;
    margin-bottom: 0.5rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    font-weight: 800;
  }

  .article-grid,
  .publication-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .publication-card {
    grid-column: span 1;
  }

  .publication-card-wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: 78svh;
    max-height: none;
  }

  .hero-content {
    width: min(100% - 2rem, 680px);
    padding: 5.5rem 0 4.5rem;
  }

  .hero h1 {
    font-size: 3rem;
    line-height: 1;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .section {
    padding: 4rem 0;
  }

  .section-inner {
    width: min(100% - 2rem, 680px);
  }

  .section h2 {
    font-size: 2rem;
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .two-column,
  .feature-panel,
  .feature-panel-alt,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .feature-panel-alt .feature-media {
    order: 0;
  }

  .feature-media {
    position: static;
  }

  .article-card-wide,
  .article-card-final,
  .publication-card-wide {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .article-card-wide img,
  .article-card-final img,
  .publication-card-wide img {
    height: 220px;
    min-height: 0;
  }

  .article-card-final img {
    grid-column: 1;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 64px;
  }

  .brand img {
    width: 44px;
    height: 31px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .article-grid,
  .publication-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
