/* ==========================================================================
   Birthstone Capital
   Plain HTML/CSS/JS rebuild of the original Elementor site.
   ========================================================================== */

:root {
  --sidebar: clamp(240px, 26vw, 380px);
  --gutter: clamp(24px, 6vw, 96px);
  --content: 820px;

  --ink: #000;
  --paper: #fff;
  --grey-bg: #f3f4f6;
  --nav-dark: #b1abab;      /* inactive menu item on dark sections */
  --nav-light: #7b7b7b;     /* inactive menu item on light sections */
  --rule: rgba(0, 0, 0, .15);

  --font: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --font-label: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: #000; color: #fff; padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* --------------------------------------------------------------------------
   Sections ("panels")
   -------------------------------------------------------------------------- */

.panel {
  position: relative;
  /* clip-path makes each section clip its own fixed side menu, which is what
     gives the menu its "wipe" between white and black as you scroll. */
  clip-path: inset(0);
  background-color: #000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px var(--gutter) 120px calc(var(--sidebar) + var(--gutter) * .5);
}
.panel--full { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.panel--dark { color: #fff; }
.panel--light { color: #000; }
.panel--rule { border-top: 1px solid var(--rule); }

.panel__inner { position: relative; z-index: 1; width: 100%; max-width: var(--content); }
.panel__inner--narrow { max-width: 720px; }

/* Backgrounds (overlays match the original site) */
.bg-home {
  background-image: linear-gradient(rgba(14, 14, 14, .42), rgba(14, 14, 14, .42)), url("../img/bg-home.jpg");
}
.bg-who { background-image: url("../img/bg-who.jpg"); background-position: right center; }
.bg-who .panel__inner { max-width: min(620px, 52vw); }
.bg-values {
  background-image: linear-gradient(rgba(0, 0, 0, .75), rgba(0, 0, 0, .75)), url("../img/bg-values.jpg");
}
.bg-approach { background-color: #e9ebe9; background-image: url("../img/bg-approach.jpg"); background-position: center bottom; }
.bg-connect {
  background-image: linear-gradient(rgba(2, 1, 1, .48), rgba(2, 1, 1, .48)), url("../img/bg-connect.jpg");
}
.bg-white { background-color: #fff; }
.bg-grey { background-color: var(--grey-bg); }

/* --------------------------------------------------------------------------
   Side menu ("rail")
   -------------------------------------------------------------------------- */

.rail {
  position: fixed;
  top: 0; left: 0;
  z-index: 5;
  width: var(--sidebar);
  height: 100vh;
  height: 100svh;
  padding: 48px 32px 48px clamp(28px, 3.5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  color: #fff;
}
.rail__logo { position: absolute; top: 44px; left: clamp(28px, 3.5vw, 64px); width: clamp(110px, 9vw, 150px); }
.rail__logo img, .topbar__logo img { width: 100%; }

.rail__nav li + li { margin-top: 2px; }
.rail__nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  color: var(--nav-dark);
  transition: color .3s var(--ease), transform .3s var(--ease);
}
.rail__nav a::before {
  content: "";
  width: 0;
  height: 2px;
  margin-right: 0;
  background: currentColor;
  transition: width .5s var(--ease), margin .5s var(--ease);
}
.rail__nav a:hover { color: #fff; }
.rail__nav a:hover::before { width: 12px; margin-right: 10px; }
.rail__nav a.is-active { color: #fff; }
.rail__nav a.is-active::before { width: 28px; margin-right: 14px; }

/* Light version of the menu */
.rail--light { color: #000; }
.rail--light .rail__nav a { color: var(--nav-light); }
.rail--light .rail__nav a:hover,
.rail--light .rail__nav a.is-active { color: #000; }

/* Logo swap */
.logo--black { display: none; }
.rail--light .logo--white, [data-theme="light"] .topbar .logo--white { display: none; }
.rail--light .logo--black, [data-theme="light"] .topbar .logo--black { display: block; }

/* When a section becomes current its highlight line draws in again */
.panel .rail__nav a.is-active::before { width: 0; margin-right: 0; }
.panel.is-current .rail__nav a.is-active::before { width: 28px; margin-right: 14px; transition-delay: .1s; }

/* Without JavaScript there is only the one menu, so give it a backdrop */
html:not(.js) .site-header .rail { background: rgba(0, 0, 0, .82); }
/* With JavaScript the menu lives inside each section instead */
html.js .site-header .rail { display: none; }

/* --------------------------------------------------------------------------
   Top bar + mobile menu (tablet and phone)
   -------------------------------------------------------------------------- */

.topbar, .mobile-menu { display: none; }

@media (max-width: 1024px) {
  .site-header .rail, html:not(.js) .site-header .rail { display: none; }
  .panel .rail { display: none; }

  .topbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 20;
    display: flex; align-items: center; justify-content: space-between;
    height: 72px; padding: 0 20px;
    color: #fff;
    transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
  }
  [data-theme="light"] .topbar { color: #000; }
  .site-header.is-scrolled .topbar { background: rgba(0, 0, 0, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .site-header.is-scrolled[data-theme="light"] .topbar { background: rgba(255, 255, 255, .8); box-shadow: 0 1px 0 var(--rule); }
  .topbar__logo { width: 78px; }

  .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    background: none; border: 1px solid currentColor; color: inherit;
    font: 600 14px/1 var(--font); letter-spacing: .08em; text-transform: uppercase;
    padding: 10px 14px; cursor: pointer;
  }
  .menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
    display: block; width: 18px; height: 2px; background: currentColor; position: relative;
    transition: transform .3s var(--ease), background-color .3s;
  }
  .menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle__bars::before { top: -6px; }
  .menu-toggle__bars::after { top: 6px; }
  .menu-open .menu-toggle__bars { background: transparent; }
  .menu-open .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-open .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

  .mobile-menu {
    position: fixed; inset: 0; z-index: 15;
    display: flex; flex-direction: column; justify-content: center;
    padding: 96px 32px 48px;
    background: #000; color: #fff;
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), visibility 0s linear .35s;
  }
  .mobile-menu[hidden] { display: flex; }
  .menu-open .mobile-menu { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
  .menu-open .topbar { color: #fff; background: transparent !important; box-shadow: none !important; backdrop-filter: none; }
  .menu-open .topbar .logo--white { display: block; }
  .menu-open .topbar .logo--black { display: none; }
  .mobile-menu li { overflow: hidden; }
  .mobile-menu a {
    display: inline-block; padding: 8px 0;
    font-size: clamp(26px, 7vw, 40px); font-weight: 500; text-decoration: none; color: var(--nav-dark);
    transform: translateY(100%); transition: transform .5s var(--ease), color .2s;
  }
  .mobile-menu a.is-active, .mobile-menu a:hover { color: #fff; }
  .menu-open .mobile-menu a { transform: none; }
  .menu-open .mobile-menu li:nth-child(2) a { transition-delay: .04s; }
  .menu-open .mobile-menu li:nth-child(3) a { transition-delay: .08s; }
  .menu-open .mobile-menu li:nth-child(4) a { transition-delay: .12s; }
  .menu-open .mobile-menu li:nth-child(5) a { transition-delay: .16s; }
  .menu-open .mobile-menu li:nth-child(6) a { transition-delay: .20s; }
  .menu-open .mobile-menu li:nth-child(7) a { transition-delay: .24s; }
  .mobile-menu .mobile-menu__mail { margin-top: 40px; font-size: 16px; font-weight: 400; transform: none; color: var(--nav-dark); }
  body.menu-open { overflow: hidden; }

  .panel { padding: 112px 24px 88px; clip-path: none; }
  .panel--full { min-height: 100svh; }

  .bg-who { background-image: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url("../img/bg-who-mobile.jpg"); background-position: center; }
  .bg-who .panel__inner { max-width: none; }
  .bg-approach { background-image: url("../img/bg-approach-mobile.jpg"); background-position: center bottom; }
  .bg-connect {
    background-image: linear-gradient(rgba(2, 1, 1, .55), rgba(2, 1, 1, .55)), url("../img/bg-connect-mobile.jpg");
  }
}

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
  font-size: 14px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .7; }

.hero-title {
  max-width: 22ch;
  margin-bottom: 28px;
  font-size: clamp(28px, 3.1vw, 46px);
  font-weight: 500;
  line-height: 1.25;
}
.lead { max-width: 52ch; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.65; }

.title {
  margin-bottom: 32px;
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 700;
  line-height: 1.3;
}
.title--medium { font-weight: 500; }

.prose p, .prose-lead { font-size: clamp(16px, 1.2vw, 18px); line-height: 29px; }
.prose p + p { margin-top: 18px; }
.prose-lead { max-width: 62ch; }

.intro { max-width: 46ch; font-size: 18px; font-weight: 700; line-height: 32px; }

/* What we stand for */
.values {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px);
  margin-top: 64px;
}
.values li { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .35); }
.values h3 { margin-bottom: 12px; font-size: clamp(26px, 2.4vw, 34px); font-weight: 400; }
.values p { font-size: 17px; line-height: 27px; }

/* Our Approach */
.panel__inner--split { max-width: 1100px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.panel__inner--split .prose-lead { margin-bottom: 32px; }

.accordion { border-top: 1px solid rgba(0, 0, 0, .25); }
.accordion details { border-bottom: 1px solid rgba(0, 0, 0, .25); }
.accordion summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 4px;
  font-size: 16px; font-weight: 600; cursor: pointer; list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; flex: none; width: 10px; height: 10px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg); transition: transform .3s var(--ease);
}
.accordion details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.accordion details p { padding: 0 4px 20px; font-size: 16px; line-height: 27px; color: #020202; }
.accordion details[open] p { animation: drop .4s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

.motto { font-size: clamp(40px, 5vw, 76px); font-weight: 700; line-height: 1.05; letter-spacing: -.01em; }
.motto span { display: block; }

/* Connect with us */
.list-title { margin: 48px 0 24px; font-size: 20px; font-weight: 400; }
.numbered { counter-reset: n; display: grid; gap: 22px; margin-bottom: 44px; }
.numbered li {
  counter-increment: n;
  display: grid; grid-template-columns: 56px 1fr; align-items: start;
  font-size: 17px; line-height: 27px;
}
.numbered li::before {
  content: counter(n);
  font-size: 44px; font-weight: 300; line-height: .9;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 15px 42px;
  border: 1px solid currentColor;
  font: 600 16px/1.2 var(--font);
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.button--light { color: #fff; background: transparent; }
.button--light:hover { background: #fff; color: #000; border-color: #fff; }
.button--dark { color: #fff; background: #000; border-color: #000; font-size: 18px; padding: 15px 50px; }
.button--dark:hover { background: #333; border-color: #333; }
.button[disabled] { opacity: .6; cursor: wait; }

/* --------------------------------------------------------------------------
   Team
   -------------------------------------------------------------------------- */

.panel__inner:has(.team), .panel__inner:has(.logos) { max-width: 1120px; }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 40px); margin-top: 16px; }
.person img { width: 100%; max-width: 200px; aspect-ratio: 258 / 276; object-fit: cover; margin-bottom: 20px; filter: grayscale(1); transition: filter .5s var(--ease); }
.person:hover img { filter: grayscale(0); }
.person h3 { font-size: 24px; font-weight: 400; line-height: 1.25; }
.person__role { display: flex; align-items: center; gap: 10px; margin: 4px 0 14px; font-size: 17px; font-weight: 400; color: #444; }
.person__in { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; background: #000; color: #fff; border-radius: 50%; }
.person__in svg { width: 13px; height: 13px; fill: currentColor; }
.person__in:hover { background: #0a66c2; }
.person p:last-child { font-size: 15px; font-weight: 400; line-height: 26px; }

/* --------------------------------------------------------------------------
   Portfolio
   -------------------------------------------------------------------------- */

.subhead { margin: 56px 0 24px; font-size: 20px; font-weight: 600; }
.logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); }
.logos li { border: 1px solid rgba(0, 0, 0, .12); background: #fff; transition: border-color .3s, transform .3s var(--ease); }
.logos li:hover { border-color: rgba(0, 0, 0, .4); transform: translateY(-3px); }
.logos img { width: 100%; aspect-ratio: 1; object-fit: contain; }

.prior { margin-top: 64px; padding-top: 8px; border-top: 1px solid rgba(98, 98, 98, .3); }
.prior .subhead { margin-top: 40px; }
.exits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 30px); margin-top: 32px; }
.exit { padding: 24px; border: 1px solid rgba(7, 7, 7, .3); text-align: center; }
.exit__logo { height: 110px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.exit__logo img { max-height: 100%; width: auto; max-width: 70%; }
.exit h4 { font-size: 15px; font-weight: 600; line-height: 1.4; }
.exit__years { margin: 4px 0 10px; font-size: 14px; font-weight: 400; color: #555; }
.exit__result { font-size: 15px; font-weight: 400; }
.exit__result strong { font-weight: 700; font-size: 20px; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; margin-top: 8px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font: 700 14px/1.4 var(--font-label); }
.field input, .field textarea {
  width: 100%;
  padding: 10px 2px;
  font: 400 17px/1.5 var(--font);
  color: #000;
  background: var(--grey-bg);
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, .17);
  border-radius: 0;
  transition: border-color .25s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: #000; box-shadow: 0 1px 0 #000; }
.field.has-error input, .field.has-error textarea { border-bottom-color: #b42318; }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 6px; }
.form-status { font-size: 16px; font-weight: 400; }
.form-status.is-error { color: #b42318; }
.form-status.is-ok { color: #067647; }

.mail-line { margin-top: 48px; font-size: 18px; }
.mail-line a { font-weight: 500; }

.site-footer {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--rule);
  font-size: 14px; font-weight: 400; color: #555;
}
.to-top, .scroll-cue { text-decoration: none; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }

/* Scroll cue on the hero */
.scroll-cue {
  position: absolute; z-index: 1; bottom: 36px; left: calc(var(--sidebar) + var(--gutter) * .5);
  display: inline-flex; align-items: center; gap: 14px; color: #fff;
}
.scroll-cue::after {
  content: ""; width: 1px; height: 44px; background: currentColor;
  transform-origin: top; animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* --------------------------------------------------------------------------
   Entrance animation
   -------------------------------------------------------------------------- */

html.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .scroll-cue::after { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .scroll-cue { left: 24px; bottom: 28px; }
  .panel__inner--split { grid-template-columns: 1fr; }
  .motto { margin-top: 8px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .values { grid-template-columns: 1fr; margin-top: 40px; text-align: center; }
  .values li { padding-top: 20px; }
  .exits { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-form { grid-template-columns: 1fr; }
  .numbered li { grid-template-columns: 44px 1fr; font-size: 16px; }
  .numbered li::before { font-size: 36px; }
  .button--dark { width: 100%; text-align: center; }
}

@media (max-width: 720px) {
  .team { grid-template-columns: 1fr; gap: 56px; }
  .person img { max-width: 200px; }
}

/* --------------------------------------------------------------------------
   LinkedIn, "View details" buttons and the pop-up window
   -------------------------------------------------------------------------- */

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.rail__social {
  position: absolute; bottom: 44px; left: clamp(28px, 3.5vw, 64px);
  display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center;
  border-radius: 50%; background: #fff; color: #000; transition: transform .25s var(--ease), background-color .25s;
}
.rail__social svg { width: 15px; height: 15px; fill: currentColor; }
.rail__social:hover { transform: translateY(-2px); }
.rail--light .rail__social { background: #000; color: #fff; }

.more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; padding: 0 0 3px;
  font: 600 14px/1.4 var(--font); letter-spacing: .06em; text-transform: uppercase;
  color: inherit; background: none; border: 0; border-bottom: 1px solid currentColor; cursor: pointer;
}
.more::after { content: "→"; transition: transform .25s var(--ease); }
.more:hover::after { transform: translateX(4px); }

.logo-btn {
  position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer;
}
.logo-btn__label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 8px;
  font: 600 12px/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: rgba(0, 0, 0, .82);
  opacity: 0; transform: translateY(6px); transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.logo-btn:hover .logo-btn__label, .logo-btn:focus-visible .logo-btn__label { opacity: 1; transform: none; }
@media (hover: none) { .logo-btn__label { opacity: 1; transform: none; } }

.details {
  width: min(820px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  padding: 0; border: 0;
  color: #000; background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  overflow: auto; overscroll-behavior: contain;
}
.details::backdrop { background: rgba(0, 0, 0, .72); }
.details[open] { animation: pop .35s var(--ease); }
.details[open]::backdrop { animation: fade .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes fade { from { opacity: 0; } }

.details__close {
  position: sticky; top: 0; float: right; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; padding: 0; border: 0; background: #fff; color: #000; cursor: pointer;
}
.details__close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.details__close:hover { background: #f3f4f6; }
.details__body { padding: clamp(28px, 5vw, 56px); }

.details__head { display: grid; grid-template-columns: 180px 1fr; gap: 28px 36px; align-items: center; margin-bottom: 32px; }
.details__head img { width: 100%; max-height: 180px; object-fit: contain; }
.details__title {
  margin-bottom: 6px;
  font-family: "Playfair Display", Georgia, serif; font-size: clamp(26px, 3vw, 36px); font-weight: 400; line-height: 1.2;
}
.details__role { margin-bottom: 18px; font-size: 16px; font-weight: 400; color: #555; }
.details__facts { margin: 12px 0 0; }
.details__facts div { display: flex; flex-wrap: wrap; gap: 0 6px; font-size: 16px; line-height: 1.8; }
.details__facts dt { font-weight: 700; }
.details__facts dt::after { content: ":"; }
.details__facts dd { margin: 0; font-weight: 400; }
.details__links { margin-top: 10px; font-size: 16px; font-weight: 400; }
.details__links a { color: #0a66c2; }
.details__text p { font-size: 17px; line-height: 30px; }
.details__text p + p { margin-top: 18px; }
.details__text + .details__links { margin-top: 24px; }
body.dialog-open { overflow: hidden; }

@media (max-width: 600px) {
  .details__head { grid-template-columns: 1fr; gap: 16px; }
  .details__head img { width: 140px; }
  .details__text p { font-size: 16px; line-height: 27px; }
}
