/* RDW-UX-PROTO-002 — glass components */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--glass-fill-strong);
  backdrop-filter: blur(var(--glass-blur-heavy)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur-heavy)) saturate(var(--glass-saturate));
  border-bottom: 1px solid var(--glass-border-outline);
  box-shadow: 0 1px 0 var(--glass-border-light);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: var(--space-3);
}

@media (min-width: 1024px) {
  .site-header__inner {
    min-height: 72px;
  }
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--grey-900);
  text-decoration: none;
  white-space: nowrap;
}

.logo span {
  color: var(--brand);
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--glass-border-outline);
  border-radius: var(--radius-glass);
  background: var(--glass-fill);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
}

.site-nav {
  display: none;
  position: fixed;
  inset: 64px 0 auto 0;
  background: var(--glass-fill-strong);
  backdrop-filter: blur(var(--glass-blur-heavy)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur-heavy)) saturate(var(--glass-saturate));
  border-bottom: 1px solid var(--glass-border-outline);
  padding: var(--space-3);
  z-index: 100;
  flex-direction: column;
  gap: var(--space-2);
}

.site-nav.is-open {
  display: flex;
}

@media (min-width: 900px) {
  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    padding: 0;
    border: none;
    background: transparent;
    backdrop-filter: none;
    gap: var(--space-4);
  }
}

.site-nav a {
  color: var(--grey-700);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: var(--space-2) var(--space-1);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 26px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  border-radius: 980px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.2s, box-shadow 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(184, 108, 64, 0.35);
}

.btn--primary:hover {
  background: var(--brand-dark);
  color: var(--white);
}

.btn--secondary {
  background: var(--glass-fill);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--grey-900);
  border: 1px solid var(--glass-border-outline);
  box-shadow: var(--glass-shadow);
}

.btn--secondary:hover {
  background: var(--glass-fill-strong);
  border-color: var(--grey-300);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.hero {
  padding-block: var(--space-6);
  background: transparent;
}

@media (min-width: 1024px) {
  .hero {
    padding-block: var(--space-7);
  }
}

.hero__copy {
  padding: var(--space-4);
}

@media (min-width: 1024px) {
  .hero__copy {
    padding: var(--space-5);
  }
}

.hero__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.glass-media {
  border-radius: var(--radius-glass-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border-outline);
  box-shadow: var(--glass-shadow-elevated);
  background: var(--glass-fill-subtle);
}

/* Hero aside — stacked glass tiles (Law Outlook + Meet the Team) */
.hero .split {
  align-items: stretch;
}

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
}

@media (min-width: 1024px) {
  .hero-aside {
    min-height: 100%;
    height: 100%;
  }

  .hero-insight-cta {
    flex: 1 1 auto;
    min-height: 0;
  }

  .hero-team-cta {
    flex: 0 0 auto;
  }
}

.hero-insight-cta,
.hero-team-cta {
  text-decoration: none !important;
  color: var(--grey-800);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.hero-insight-cta:hover,
.hero-insight-cta:focus,
.hero-insight-cta:visited,
.hero-team-cta:hover,
.hero-team-cta:focus,
.hero-team-cta:visited {
  text-decoration: none !important;
  color: var(--grey-800);
}

.hero-insight-cta *,
.hero-team-cta * {
  text-decoration: none;
}

.hero-insight-cta:hover,
.hero-team-cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--glass-shadow-elevated);
  border-color: rgba(184, 108, 64, 0.28);
}

.hero-insight-cta:focus-visible,
.hero-team-cta:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.hero-insight-cta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  align-items: start;
  align-content: start;
  padding: var(--space-4);
}

@media (min-width: 640px) {
  .hero-insight-cta {
    padding: var(--space-5);
  }
}

@media (min-width: 1024px) {
  .hero-insight-cta {
    align-items: start;
    align-content: start;
  }
}

@media (max-width: 479px) {
  .hero-insight-cta {
    grid-template-columns: 1fr;
    text-align: left;
    align-items: start;
  }

  .hero-insight-cta__portrait {
    justify-self: start;
  }
}

.hero-team-cta {
  display: block;
  padding: var(--space-4);
  align-items: start;
  align-content: start;
}

@media (min-width: 640px) {
  .hero-team-cta {
    padding: var(--space-4) var(--space-5);
  }
}

.hero-team-cta__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  align-items: flex-start;
}

.hero-team-cta__title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--grey-900);
  margin: 0;
  letter-spacing: -0.02em;
}

.hero-team-cta__teaser {
  font-size: 15px;
  line-height: 1.5;
  color: var(--grey-600);
  margin: 0;
  max-width: 40ch;
}

.hero-team-cta__action {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand-dark);
  margin-top: var(--space-2);
}

.hero-team-cta:hover .hero-team-cta__action {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.hero-insight-cta__portrait {
  flex-shrink: 0;
}

.hero-insight-cta__photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 4px 20px rgba(28, 25, 23, 0.12),
    0 0 0 1px var(--glass-border-outline);
}

@media (min-width: 640px) {
  .hero-insight-cta__photo {
    width: 104px;
    height: 104px;
  }
}

.hero-insight-cta__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-width: 0;
}

.hero-insight-cta__title {
  font-family: var(--font-serif);
  font-size: clamp(1.6875rem, 3.125vw, 2.1875rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--grey-900);
  margin: 0;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.hero-insight-cta__teaser {
  font-size: 15px;
  line-height: 1.55;
  color: var(--grey-600);
  margin: 0;
  max-width: 36ch;
  text-decoration: none;
}

.hero-insight-cta__byline {
  font-size: 15px;
  line-height: 1.45;
  color: var(--grey-500);
  margin: var(--space-1) 0 0;
  text-decoration: none;
}

.hero-insight-cta__byline strong {
  color: var(--grey-800);
  font-weight: 600;
}

.hero-insight-cta__action {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand-dark);
  margin-top: var(--space-2);
  text-decoration: none;
}

.hero-insight-cta:hover .hero-insight-cta__action,
.hero-insight-cta:focus .hero-insight-cta__action {
  color: var(--brand);
  text-decoration: none;
}

.card {
  background: var(--glass-fill);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border-outline);
  border-radius: var(--radius-glass);
  box-shadow: var(--glass-shadow);
  padding: var(--space-4);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 var(--glass-border-light);
}

.card:hover {
  box-shadow: var(--glass-shadow-elevated);
  transform: translateY(-2px);
}

.card h3 {
  margin-bottom: var(--space-2);
}

.card p {
  flex: 1;
  color: var(--grey-600);
  font-size: 15px;
  max-width: none;
}

.card__link {
  margin-top: var(--space-3);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
}

.card__link:hover {
  text-decoration: underline;
}

/* Featured article card — image + colorblock; hover reveals excerpt + CTA */
.article-card {
  height: 356px;
  border-radius: var(--radius-glass);
  overflow: hidden;
  border: 1px solid var(--glass-border-outline);
  box-shadow: var(--glass-shadow);
  background: var(--grey-900);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.article-card:hover {
  box-shadow: var(--glass-shadow-elevated);
  transform: translateY(-3px);
}

.article-card__hit {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  text-decoration: none !important;
  color: inherit;
}

.article-card__hit:hover,
.article-card__hit:focus,
.article-card__hit:visited {
  text-decoration: none !important;
  color: inherit;
}

.article-card__hit:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.article-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-card__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  min-height: 32%;
  max-height: 100%;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0;
  background: var(--grey-900);
  color: var(--white);
  transition:
    min-height 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    gap 0.3s ease;
}

.article-card:hover .article-card__overlay,
.article-card:focus-within .article-card__overlay {
  min-height: 100%;
  padding: var(--space-5);
  justify-content: space-between;
  gap: var(--space-3);
}

.article-card__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--white);
  text-decoration: none;
}

.article-card__excerpt {
  margin: 0;
  font-family: var(--font-serif-4);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--grey-300);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.32s ease 0.06s,
    max-height 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.32s ease 0.06s;
}

.article-card:hover .article-card__excerpt,
.article-card:focus-within .article-card__excerpt {
  opacity: 1;
  max-height: 10rem;
  transform: translateY(0);
  flex: 1;
}

.article-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin: 0;
  padding: 10px 22px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--grey-900);
  background: var(--white);
  border-radius: 980px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.28s ease 0.1s,
    transform 0.28s ease 0.1s;
}

.article-card:hover .article-card__cta,
.article-card:focus-within .article-card__cta {
  opacity: 1;
  transform: translateY(0);
}

.article-card__cta-icon {
  font-size: 1em;
  line-height: 1;
}

.grid-2--articles {
  align-items: stretch;
}

@media (prefers-reduced-motion: reduce) {
  .article-card__overlay,
  .article-card__excerpt,
  .article-card__cta {
    transition: none;
  }

  .article-card:hover .article-card__overlay,
  .article-card:focus-within .article-card__overlay {
    min-height: 100%;
    gap: var(--space-3);
  }

  .article-card .article-card__excerpt,
  .article-card .article-card__cta {
    opacity: 1;
    max-height: none;
    transform: none;
  }
}

.pillar {
  padding: var(--space-4);
  background: var(--glass-fill);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border-outline);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-glass);
  box-shadow: var(--glass-shadow);
}

.pillar p {
  max-width: none;
  font-size: 15px;
  color: var(--grey-600);
  margin: 0;
}

.expert-card {
  text-align: center;
}

.expert-card__photo {
  width: 112px;
  height: 112px;
  margin: 0 auto var(--space-3);
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--glass-border-light);
  box-shadow: var(--glass-shadow);
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  align-items: center;
}

.logo-strip__item {
  padding: var(--space-2) var(--space-3);
  background: var(--glass-fill-subtle);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border-outline);
  color: var(--grey-500);
  font-size: 13px;
  border-radius: var(--radius-glass);
}

.cta-band {
  text-align: center;
  padding: var(--space-6);
  margin-block: var(--space-4);
}

.cta-band__inner {
  background: var(--glass-dark);
  backdrop-filter: blur(var(--glass-blur-heavy)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur-heavy)) saturate(var(--glass-saturate));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-glass-lg);
  padding: var(--space-6) var(--space-4);
  box-shadow: var(--glass-shadow-elevated);
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  margin-inline: auto;
  color: var(--grey-300);
  max-width: 50ch;
}

.process-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-steps li {
  position: relative;
  padding: var(--space-4);
  padding-top: calc(var(--space-5) + 24px);
  background: var(--glass-fill);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border-outline);
  border-radius: var(--radius-glass);
  box-shadow: var(--glass-shadow);
}

.process-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  border-radius: 50%;
  font-family: var(--font-ui);
}

.process-steps p {
  max-width: none;
  font-size: 14px;
  color: var(--grey-600);
  margin: 0;
}

.faq details {
  margin-bottom: var(--space-2);
  background: var(--glass-fill);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border-outline);
  border-radius: var(--radius-glass);
  padding: var(--space-3) var(--space-4);
}

.faq summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--grey-900);
  list-style: none;
  font-size: 15px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  color: var(--brand);
  margin-bottom: var(--space-2);
}

.form-field {
  margin-bottom: var(--space-3);
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--grey-700);
  margin-bottom: var(--space-1);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-ui);
  font-size: 16px;
  border: 1px solid var(--glass-border-outline);
  border-radius: var(--radius-glass);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-color: transparent;
}

.site-footer {
  margin-top: var(--space-6);
  padding-block: var(--space-6);
  background: transparent;
  color: var(--grey-400);
  font-size: 14px;
}

.site-footer__inner {
  background: var(--glass-dark);
  backdrop-filter: blur(var(--glass-blur-heavy)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur-heavy)) saturate(var(--glass-saturate));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-glass-lg) var(--radius-glass-lg) 0 0;
  padding: var(--space-6) var(--space-4);
}

.site-footer a {
  color: var(--grey-300);
}

.site-footer__grid {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.site-footer__brand {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: var(--space-2);
}

.disclaimer {
  font-size: 12px;
  color: var(--grey-500);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: var(--space-3);
  margin-top: var(--space-3);
}

.stub-page {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.stub-page .glass-panel {
  padding: var(--space-6);
}

.breadcrumb {
  font-size: 13px;
  color: var(--grey-500);
  margin-bottom: var(--space-4);
  font-weight: 500;
}

.breadcrumb a {
  color: var(--grey-600);
  text-decoration: none;
}

.testimonial {
  padding: var(--space-4);
  background: var(--glass-fill);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border-outline);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-glass);
  box-shadow: var(--glass-shadow);
  font-style: italic;
  color: var(--grey-700);
}

.testimonial cite {
  display: block;
  margin-top: var(--space-2);
  font-style: normal;
  font-size: 13px;
  color: var(--grey-500);
}

.section-header {
  margin-bottom: var(--space-5);
}

.section-header--center {
  text-align: center;
}

.section-header--center p {
  margin-inline: auto;
}

/* Disclaimer gate — first visit, cookie-banner behaviour */
html.disclaimer-locked {
  overflow: hidden;
}

.disclaimer-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter-sm);
}

.disclaimer-gate__overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.disclaimer-gate__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: min(88vh, 640px);
  overflow: auto;
  padding: var(--space-4) var(--space-4) var(--space-3);
  margin: 0;
  box-shadow: var(--glass-shadow-elevated);
}

.disclaimer-gate__title {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--grey-700);
  margin: 0 0 var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--glass-border-outline);
}

.disclaimer-gate__body p {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--grey-700);
  margin: 0 0 var(--space-2);
}

.disclaimer-gate__body p:last-child {
  margin-bottom: 0;
}

.disclaimer-gate__notice {
  margin-top: var(--space-3);
  padding: var(--space-2);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--grey-600);
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  border: 1px solid var(--glass-border-outline);
}

.disclaimer-gate__declined {
  text-align: center;
  color: var(--grey-800);
}

.disclaimer-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--glass-border-outline);
}

.disclaimer-gate__btn {
  min-width: 9.5rem;
}

@media (max-width: 480px) {
  .disclaimer-gate__actions {
    flex-direction: column;
  }

  .disclaimer-gate__btn {
    width: 100%;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .disclaimer-gate__overlay {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(28, 25, 23, 0.65);
  }
}
