:root {
  --ink: #1d232b;
  --muted: #5f6b77;
  --line: rgba(31, 43, 56, 0.14);
  --navy: #193a5a;
  --wine: #8d2f3d;
  --cyan: #2a8aa3;
  --paper: #f7f7f2;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
}

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

.preview-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  min-height: 78px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(247, 247, 242, 0.92);
  backdrop-filter: blur(16px);
}

.preview-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.preview-brand span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 7px;
  background: var(--navy);
  color: #fff;
}

.preview-header nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  color: #354250;
}

.preview-contact,
.preview-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 800;
}

.preview-contact,
.preview-button--primary {
  background: var(--navy);
  color: #fff;
}

.preview-button--secondary {
  border: 1px solid currentColor;
}

.preview-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.75fr);
  align-items: center;
  gap: 54px;
  min-height: 72vh;
  padding: clamp(58px, 7vw, 96px) max(24px, calc((100vw - 1180px) / 2)) 54px;
  overflow: hidden;
}

.preview-copy {
  position: relative;
  z-index: 1;
}

.preview-eyebrow {
  margin: 0 0 18px;
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-copy h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(2.45rem, 5vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.preview-copy p:not(.preview-eyebrow) {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.62;
}

.preview-actions,
.preview-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.preview-proof span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.75);
  color: #33404a;
  font-size: 0.9rem;
}

.preview-visual {
  position: relative;
  min-height: 470px;
  background: url('/assets/itpatent-hero.png') center / cover no-repeat;
}

.visual-card {
  position: absolute;
  min-width: 250px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 40px rgba(25, 58, 90, 0.12);
}

.visual-card span {
  display: block;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.visual-card strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
}

.visual-card--main {
  top: 40px;
  left: 20px;
}

.visual-card--two {
  top: 190px;
  right: 10px;
}

.visual-card--three {
  bottom: 44px;
  left: 80px;
}

.preview-next {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2)) 90px;
  background: linear-gradient(to bottom, transparent 0 34px, rgba(255, 255, 255, 0.9) 34px);
}

.preview-next article {
  min-height: 205px;
  padding: 26px;
  border: 1px solid var(--line);
  background: #fff;
}

.preview-next h2 {
  margin: 18px 0 0;
  font-size: 1.25rem;
}

.preview-next p {
  color: var(--muted);
  line-height: 1.56;
}

.preview--european {
  --navy: #172f49;
  --wine: #9b3140;
  --paper: #f8f6ef;
}

.preview--european .preview-hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.58fr);
}

.preview--european .preview-visual {
  border-left: 1px solid var(--line);
  background: linear-gradient(rgba(248, 246, 239, 0.35), rgba(248, 246, 239, 0.35)), url('/assets/itpatent-hero.png') center / cover no-repeat;
}

.preview--european .visual-card {
  display: none;
}

.preview--lab {
  --navy: #102f44;
  --wine: #2a8aa3;
  --paper: #f4f8f7;
}

.preview--lab .preview-hero {
  background:
    linear-gradient(90deg, rgba(244, 248, 247, 0.98), rgba(244, 248, 247, 0.64)),
    repeating-linear-gradient(90deg, rgba(42, 138, 163, 0.12) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(42, 138, 163, 0.12) 0 1px, transparent 1px 72px);
}

.preview--lab .preview-visual {
  min-height: 500px;
  border: 1px solid rgba(42, 138, 163, 0.2);
  background: url('/assets/technical-legal-lab-map.svg') center / cover no-repeat;
  box-shadow: 0 28px 70px rgba(16, 47, 68, 0.12);
}

.preview--lab .visual-card {
  display: none;
}

.preview-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: -48px max(24px, calc((100vw - 1180px) / 2)) 88px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(16, 47, 68, 0.12);
}

.preview-flow span {
  font-weight: 900;
}

.preview--hub {
  --navy: #243241;
  --wine: #9b3140;
  --paper: #fbfaf6;
}

.preview--hub .preview-header {
  grid-template-columns: auto 1fr;
}

.preview--hub .preview-contact {
  display: none;
}

.preview--hub .preview-hero {
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.9fr);
  align-items: start;
}

.preview--hub .preview-visual {
  min-height: 520px;
  background: #fff;
  border: 1px solid var(--line);
}

.preview--hub .visual-card {
  position: static;
  margin: 24px;
}

.preview--hub .visual-card--main {
  min-width: 0;
}

.preview--dossier {
  --navy: #151719;
  --wine: #b23a2f;
  --paper: #f4f1ea;
  --muted: #56514a;
}

.preview--dossier .preview-header {
  background: rgba(244, 241, 234, 0.94);
}

.preview--dossier .preview-hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  background:
    linear-gradient(90deg, rgba(244, 241, 234, 0.98), rgba(244, 241, 234, 0.86)),
    repeating-linear-gradient(0deg, transparent 0 42px, rgba(21, 23, 25, 0.06) 42px 43px);
}

.preview--dossier .preview-copy h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.preview--dossier .preview-visual {
  min-height: 500px;
  padding: 30px;
  border: 1px solid rgba(21, 23, 25, 0.28);
  background: #fffdf8;
  box-shadow: 18px 18px 0 rgba(21, 23, 25, 0.08);
}

.preview--dossier .preview-visual::before {
  content: "EXPERT DOSSIER";
  position: absolute;
  top: 22px;
  right: 20px;
  padding: 8px 12px;
  border: 2px solid var(--wine);
  color: var(--wine);
  font-weight: 900;
  letter-spacing: 0.08em;
  transform: rotate(-4deg);
}

.preview--dossier .visual-card {
  position: static;
  margin: 40px 0 0;
  min-width: 0;
  border-radius: 0;
  box-shadow: none;
  border-color: rgba(21, 23, 25, 0.22);
}

.preview-dossier-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: -48px max(24px, calc((100vw - 1180px) / 2)) 88px;
  border: 1px solid rgba(21, 23, 25, 0.18);
  background: rgba(21, 23, 25, 0.18);
}

.preview-dossier-strip span {
  padding: 20px;
  background: #fffdf8;
  color: #151719;
  font-weight: 900;
  text-transform: uppercase;
}

.preview--systems {
  --navy: #c8f05f;
  --wine: #75d8ff;
  --paper: #111820;
  --ink: #edf4f0;
  --muted: #b7c1bd;
  --line: rgba(237, 244, 240, 0.16);
  background: #111820;
  color: #edf4f0;
}

.preview--systems .preview-header {
  background: rgba(17, 24, 32, 0.92);
  border-color: rgba(237, 244, 240, 0.14);
}

.preview--systems .preview-brand span,
.preview--systems .preview-contact,
.preview--systems .preview-button--primary {
  background: #c8f05f;
  color: #111820;
}

.preview--systems .preview-brand,
.preview--systems .preview-header nav,
.preview--systems .preview-contact {
  color: #edf4f0;
}

.preview--systems .preview-hero {
  background:
    linear-gradient(90deg, rgba(17, 24, 32, 0.98), rgba(17, 24, 32, 0.72)),
    repeating-linear-gradient(90deg, rgba(117, 216, 255, 0.1) 0 1px, transparent 1px 58px),
    repeating-linear-gradient(0deg, rgba(200, 240, 95, 0.08) 0 1px, transparent 1px 58px);
}

.preview--systems .preview-copy p:not(.preview-eyebrow) {
  color: #b7c1bd;
}

.preview--systems .preview-button--secondary {
  color: #edf4f0;
}

.preview--systems .preview-proof span,
.preview--systems .preview-next article {
  background: rgba(255, 255, 255, 0.05);
  color: #edf4f0;
  border-color: rgba(237, 244, 240, 0.16);
}

.preview--systems .preview-next {
  background: linear-gradient(to bottom, transparent 0 34px, #0d1218 34px);
}

.preview--systems .preview-next p {
  color: #b7c1bd;
}

.preview--systems .preview-visual {
  border: 1px solid rgba(117, 216, 255, 0.22);
  background:
    linear-gradient(rgba(17, 24, 32, 0.08), rgba(17, 24, 32, 0.08)),
    url('/assets/signal-systems-map.svg') center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(200, 240, 95, 0.08), 0 28px 80px rgba(0, 0, 0, 0.26);
}

.preview--systems .visual-card {
  display: none;
}

.preview-signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -48px max(24px, calc((100vw - 1180px) / 2)) 88px;
  padding: 18px;
  border: 1px solid rgba(117, 216, 255, 0.22);
  background: #0d1218;
}

.preview-signal-strip span {
  padding: 10px 12px;
  border: 1px solid rgba(200, 240, 95, 0.35);
  color: #c8f05f;
  font-family: Consolas, monospace;
}

.preview--founder {
  --navy: #315c49;
  --wine: #a6532f;
  --paper: #fbf4e7;
  --muted: #6b5f52;
}

.preview--founder .preview-header {
  background: rgba(251, 244, 231, 0.94);
}

.preview--founder .preview-brand span,
.preview--founder .preview-contact,
.preview--founder .preview-button--primary {
  background: #315c49;
}

.preview--founder .preview-hero {
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.88fr);
  background:
    linear-gradient(90deg, rgba(251, 244, 231, 0.98), rgba(251, 244, 231, 0.7)),
    linear-gradient(135deg, rgba(166, 83, 47, 0.08), rgba(49, 92, 73, 0.08));
}

.preview--founder .preview-copy h1 {
  font-size: clamp(2.35rem, 4.35vw, 4.6rem);
}

.preview--founder .preview-visual {
  min-height: 500px;
  border: 1px solid rgba(49, 92, 73, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(rgba(251, 244, 231, 0.15), rgba(251, 244, 231, 0.15)),
    url('/assets/itpatent-hero.png') center / cover no-repeat;
  box-shadow: 0 28px 70px rgba(49, 92, 73, 0.15);
}

.preview--founder .visual-card {
  border-color: rgba(49, 92, 73, 0.18);
}

.preview--bardehle {
  --navy: #1f252c;
  --wine: #9e1b32;
  --paper: #ffffff;
  --muted: #5a6169;
  --line: rgba(31, 37, 44, 0.16);
  background: #fff;
}

.preview--bardehle .preview-header {
  grid-template-columns: auto 1fr auto;
  min-height: 96px;
  padding-top: 10px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(31, 37, 44, 0.12);
}

.preview--bardehle .preview-brand {
  gap: 16px;
  align-self: start;
  margin-top: 8px;
}

.preview--bardehle .preview-brand span {
  width: 50px;
  height: 50px;
  border-radius: 0;
  background: #1f252c;
}

.preview--bardehle .preview-brand strong {
  font-size: 1.2rem;
}

.preview--bardehle .preview-header nav {
  justify-self: center;
  align-self: end;
  gap: 0;
  border-top: 1px solid rgba(31, 37, 44, 0.12);
}

.preview--bardehle .preview-header nav a {
  position: relative;
  min-width: 128px;
  padding: 18px 18px 16px;
  border-right: 1px solid rgba(31, 37, 44, 0.12);
  color: #1f252c;
  font-weight: 700;
}

.preview--bardehle .preview-header nav a:first-child {
  border-left: 1px solid rgba(31, 37, 44, 0.12);
}

.preview--bardehle .preview-header nav a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -1px;
  height: 3px;
  background: var(--wine);
}

.preview--bardehle .preview-contact,
.preview--bardehle .preview-button--primary {
  border-radius: 0;
  background: #9e1b32;
  color: #fff;
}

.preview--bardehle .preview-contact {
  align-self: start;
  margin-top: 8px;
}

.preview--bardehle .preview-hero {
  grid-template-columns: minmax(340px, 0.72fr) minmax(0, 0.88fr);
  gap: 0;
  min-height: 70vh;
  padding: 0 max(24px, calc((100vw - 1180px) / 2)) 0;
  background: #fff;
}

.preview--bardehle .preview-copy {
  order: 2;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0 72px 58px;
  border-left: 1px solid rgba(31, 37, 44, 0.12);
}

.preview--bardehle .preview-eyebrow {
  color: #9e1b32;
  letter-spacing: 0;
  font-size: 1rem;
  text-transform: none;
}

.preview--bardehle .preview-copy h1 {
  max-width: 690px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4.6vw, 4.9rem);
  font-weight: 500;
  line-height: 1.06;
}

.preview--bardehle .preview-copy h1::before {
  content: "“";
  display: block;
  height: 54px;
  color: #9e1b32;
  font-size: 7rem;
  line-height: 0.72;
}

.preview--bardehle .preview-copy p:not(.preview-eyebrow) {
  max-width: 620px;
  color: #4f5964;
}

.preview--bardehle .preview-button {
  border-radius: 0;
}

.preview--bardehle .preview-button--secondary {
  border-color: #1f252c;
  color: #1f252c;
}

.preview--bardehle .preview-proof {
  gap: 0;
  border-top: 1px solid rgba(31, 37, 44, 0.12);
  border-bottom: 1px solid rgba(31, 37, 44, 0.12);
}

.preview--bardehle .preview-proof span {
  border: 0;
  border-right: 1px solid rgba(31, 37, 44, 0.12);
  border-radius: 0;
  background: #fff;
  color: #1f252c;
  font-weight: 800;
}

.preview--bardehle .preview-visual {
  order: 1;
  min-height: 620px;
  border-right: 1px solid rgba(31, 37, 44, 0.12);
  background: url('/assets/bardehle-inspired-editorial.svg') center / cover no-repeat;
  filter: none;
}

.preview--bardehle .visual-card {
  display: none;
}

.preview--bardehle .preview-next {
  padding-top: 0;
  background: #fff;
}

.preview--bardehle .preview-next article {
  min-height: 230px;
  border-color: rgba(31, 37, 44, 0.12);
  border-radius: 0;
}

.preview--bardehle .preview-next article svg {
  color: #9e1b32;
}

.preview-bardehle-menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: -58px max(24px, calc((100vw - 1180px) / 2)) 88px;
  border-top: 1px solid rgba(31, 37, 44, 0.14);
  border-bottom: 1px solid rgba(31, 37, 44, 0.14);
  background: #fff;
}

.preview-bardehle-menu a {
  display: grid;
  gap: 12px;
  min-height: 154px;
  padding: 26px;
  border-right: 1px solid rgba(31, 37, 44, 0.14);
}

.preview-bardehle-menu a:first-child {
  border-left: 1px solid rgba(31, 37, 44, 0.14);
}

.preview-bardehle-menu strong {
  color: #9e1b32;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 500;
}

.preview-bardehle-menu span {
  color: #5a6169;
  line-height: 1.5;
}

.preview-founder-strip {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: -48px max(24px, calc((100vw - 1180px) / 2)) 88px;
  padding: 18px;
  border-radius: 8px;
  background: #315c49;
  color: #fff;
}

.preview-founder-strip strong,
.preview-founder-strip span {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
}

.preview-editorial,
.preview-statement {
  margin: -48px max(24px, calc((100vw - 1180px) / 2)) 88px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.preview-editorial {
  display: grid;
  grid-template-columns: 0.8fr repeat(3, 1fr);
  gap: 20px;
}

.preview-editorial a {
  color: var(--navy);
  font-weight: 800;
}

.preview-statement {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  font-size: 1.25rem;
}

@media (max-width: 880px) {
  .preview-header {
    grid-template-columns: 1fr auto;
  }

  .preview-header nav {
    display: none;
  }

  .preview-contact {
    min-width: 44px;
    padding: 0 12px;
  }

  .preview-hero,
  .preview--european .preview-hero,
  .preview--hub .preview-hero,
  .preview--dossier .preview-hero,
  .preview--systems .preview-hero,
  .preview--founder .preview-hero,
  .preview--bardehle .preview-hero {
    grid-template-columns: 1fr;
    gap: 26px;
    min-height: auto;
    padding-top: 60px;
  }

  .preview-copy h1 {
    font-size: 2.55rem;
  }

  .preview--dossier .preview-copy h1,
  .preview--founder .preview-copy h1,
  .preview--bardehle .preview-copy h1 {
    font-size: 2.32rem;
  }

  .preview--bardehle .preview-copy {
    order: 1;
    padding: 48px 0 10px;
    border-left: 0;
  }

  .preview--bardehle .preview-copy h1::before {
    height: 34px;
    font-size: 4.6rem;
  }

  .preview--bardehle .preview-visual {
    order: 2;
    min-height: 330px;
    border: 1px solid rgba(31, 37, 44, 0.12);
  }

  .preview--bardehle .preview-header {
    min-height: 78px;
    grid-template-columns: 1fr auto;
  }

  .preview--bardehle .preview-header nav {
    display: none;
  }

  .preview-visual {
    min-height: 300px;
  }

  .preview--dossier .preview-visual,
  .preview--founder .preview-visual {
    min-height: 360px;
  }

  .preview--dossier .preview-visual::before {
    top: 14px;
    right: 12px;
    font-size: 0.82rem;
  }

  .preview-next,
  .preview-editorial,
  .preview-dossier-strip,
  .preview-founder-strip,
  .preview-bardehle-menu {
    grid-template-columns: 1fr;
  }

  .preview-bardehle-menu {
    margin-top: 24px;
  }
}
