@font-face {
  font-family: "Case Onest";
  src: url("../../client-sites/pechat360/assets/fonts/Onest-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Case Golos";
  src: url("../../client-sites/pechat360/assets/fonts/GolosText-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

.print-case {
  --pc-ink: #101b2d;
  --pc-navy: #111f38;
  --pc-blue: #16467e;
  --pc-light: #eef3fa;
  --pc-muted: #4c5a6d;
  --pc-gutter: clamp(20px, 5.4vw, 92px);
  --pc-space: clamp(60px, 9vw, 132px);
  background: #fbfcfe;
}
.print-case .site-header { background: #fbfcfe; border-bottom: 1px solid #dce5f0; }
.pc-main { color: var(--pc-ink); font-family: "Case Onest", Arial, sans-serif; }
.pc-main [hidden] { display: none; }
.pc-main h1, .pc-main h2, .pc-main h3 { font-family: "Case Golos", Arial, sans-serif; font-weight: 700; }
.pc-wrap { width: min(100% - 2 * var(--pc-gutter), 1290px); margin-inline: auto; }
.pc-main h2 { font-size: clamp(32px, 4.4vw, 67px); line-height: 1.02; letter-spacing: -.055em; text-wrap: balance; }
.pc-main h3 { font-size: clamp(21px, 2.2vw, 31px); line-height: 1.14; letter-spacing: -.03em; }
.pc-kicker { color: var(--pc-blue); font-size: .78rem; line-height: 1.35; font-weight: 700; letter-spacing: .10em; text-transform: uppercase; }
.pc-main .pc-kicker { margin-bottom: 15px; }
.pc-main :focus-visible, #pc-dialog :focus-visible { outline: 2px solid #507ecc; outline-offset: 4px; }
.pc-hero { color: #f7f9fd; background: var(--pc-navy); }
.pc-hero .pc-kicker { color: #bfd3ee; }
.pc-hero { padding: clamp(94px, 10vw, 145px) 0 clamp(26px, 4vw, 54px); }
.pc-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 17px;
  border-bottom: 1px solid #ffffff36;
  color: #d8e2f4;
  font-size: .87rem;
}
.pc-meta a:hover { text-decoration: underline; }
.pc-hero-copy { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(250px, .85fr); align-items: end; gap: clamp(24px, 5vw, 74px); margin: clamp(28px, 4.5vw, 70px) 0 clamp(28px, 4vw, 54px); }
.pc-hero h1 { margin-left: -.055em; font-size: clamp(56px, 9.8vw, 154px); line-height: .92; letter-spacing: -.06em; }
.pc-hero h1 span { color: #9fbceb; white-space: nowrap; }
.pc-hero-intro p { color: #dce5f3; font-size: clamp(16px, 1.38vw, 20px); line-height: 1.56; }
.pc-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 46px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 7px;
  width: fit-content;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  transition: background .18s, color .18s;
}
.pc-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 20px; }
.pc-hero-link { padding-block: 8px; color: #f1f5fc; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.pc-button-light { background: #edf4ff; color: #122540; }
.pc-button-light:hover { background: #ccdef8; }
.pc-button-dark { background: #142742; color: #fff; }
.pc-button-dark:hover { background: #214982; }
.pc-button:disabled { cursor: wait; opacity: .75; }
.pc-cover { margin: 0; overflow: hidden; border: 1px solid #ffffff45; border-radius: 14px; background: #fff; box-shadow: 0 26px 64px #060d204a; }
.pc-cover img { width: 100%; aspect-ratio: 2.12; object-fit: cover; object-position: center; }
.pc-browser { display: flex; align-items: center; gap: 20px; min-height: 36px; padding: 5px 13px; background: #eaf0f9; color: #314766; font-size: 12px; }
.pc-browser span:first-child { color: #526a88; letter-spacing: .13em; font-size: 9px; }
.pc-brief { display: grid; grid-template-columns: 1.1fr .9fr; align-items: start; gap: clamp(24px, 7vw, 100px); padding-block: var(--pc-space); }
.pc-prose p, .pc-visual-grid p:not(.pc-kicker), .pc-section-head > p, .pc-end p:not(.pc-kicker) { color: var(--pc-muted); font-size: clamp(16px, 1.32vw, 19px); line-height: 1.62; }
.pc-prose p + p, .pc-visual-grid p + p { margin-top: 14px; }
.pc-roles { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.pc-roles li { padding: 7px 11px; border: 1px solid #d8e2ef; border-radius: 6px; background: #f0f5fb; color: #28496c; font-size: 13px; }
.pc-screen-section { scroll-margin-top: 84px; padding-block: clamp(42px, 6vw, 88px); background: #f1f5fa; }
.pc-section-head { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(14px, 5vw, 65px); align-items: end; margin-bottom: clamp(26px, 4vw, 52px); }
.pc-screen-options { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.pc-screen-options button { min-height: 44px; padding: 8px 16px; border: 1px solid #d1dfee; border-radius: 8px; background: #fff; color: #133e6c; text-align: left; cursor: pointer; }
.pc-screen-options button:hover { background: #e0ebf8; }
.pc-screen-options button[aria-pressed="true"] { background: var(--pc-navy); border-color: var(--pc-navy); color: #fff; }
.pc-demo-card { overflow: hidden; border: 1px solid #d7e2ef; border-radius: 16px; background: #fff; box-shadow: 0 14px 34px #1427420a; }
.pc-demo-header { display: flex; align-items: start; justify-content: space-between; gap: 15px; padding: clamp(17px, 2.5vw, 34px); border-bottom: 1px solid #e3eaf2; }
.pc-demo-header h3 { font-size: clamp(20px, 2vw, 26px); }
.pc-screenshot-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; flex-shrink: 0; padding: 7px 10px; border: 1px solid #d7e2ef; border-radius: 8px; color: var(--pc-blue); font-size: 14px; }
.pc-screenshot-link:hover { background: #eef3fa; }
#pc-live-demo { display: block; width: 100%; border: 0; }
.pc-screen-copy p { margin-top: 7px; max-width: 67ch; color: var(--pc-muted); font-size: clamp(15px, 1.2vw, 17px); line-height: 1.58; }

.pc-visual { padding-block: clamp(38px, 6vw, 86px); background: #fbfcfe; }
.pc-visual-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); align-items: center; gap: clamp(25px, 6vw, 88px); }
.pc-visual figure { margin: 0; }
.pc-visual img { width: 100%; height: auto; border-radius: 11px; }
.pc-visual figcaption { margin-top: 9px; color: var(--pc-muted); font-size: 13px; }
.pc-visual-grid h2 + p, .pc-end h2 + p { margin-top: 15px; }
.pc-end { display: flex; justify-content: space-between; gap: 24px; align-items: end; padding-block: clamp(47px, 7vw, 110px); }
.pc-end .pc-button { flex-shrink: 0; }
.pc-related { background: #edf3fb; padding-block: clamp(47px, 7vw, 92px); }
.pc-related-grid { display: grid; grid-template-columns: minmax(0,1.4fr) repeat(2,minmax(0,1fr)); gap: clamp(13px, 2vw, 24px); }
.pc-project-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #d6e2f0; border-radius: 12px; background: #fff; color: var(--pc-ink); transition: box-shadow .2s, transform .2s; }
.pc-project-card:hover { box-shadow: 0 10px 28px #12254017; transform: translateY(-3px); }
.pc-project-card img { display: block; width: 100%; height: clamp(135px,17vw,245px); object-fit: cover; object-position: center top; background: #dce6f3; }
.pc-project-card div { display: flex; flex: 1; flex-direction: column; align-items: start; padding: clamp(15px, 2vw, 24px); }
.pc-project-card span { color: var(--pc-blue); font-size: 13px; }
.pc-project-card h3 { margin: 6px 0; }
.pc-project-card p { color: var(--pc-muted); line-height: 1.48; margin-bottom: 16px; }
.pc-project-card strong { margin-top: auto; color: var(--pc-blue); font-size: 14px; }

#pc-dialog { overflow: auto; width: fit-content; max-width: calc(100% - 24px); max-height: 95dvh; padding: 47px 12px 12px; border: 0; border-radius: 11px; background: #fff; }
#pc-dialog::backdrop { background: #080d19d9; }
#pc-dialog img { max-height: calc(95dvh - 60px); width: auto; height: auto; object-fit: contain; }
#pc-close { position: absolute; top: 4px; right: 8px; width: 42px; height: 42px; border: 0; background: transparent; color: #182a43; font-size: 26px; cursor: pointer; }

@media (max-width: 980px) {
  .pc-hero-copy { grid-template-columns: minmax(0,1fr) minmax(225px,.7fr); gap: 26px; }
}
@media (max-width: 720px) {
  .pc-hero-copy, .pc-brief, .pc-section-head, .pc-visual-grid { grid-template-columns: 1fr; }
  .pc-hero h1 { font-size: clamp(55px, 13vw, 89px); }
  .pc-hero-copy { margin-block: 32px 25px; gap: 16px; }
  .pc-hero-intro { max-width: 40ch; }
  .pc-cover img { aspect-ratio: auto; }
  .pc-brief { gap: 20px; }
  .pc-visual figure { order: 1; }
  .pc-end { align-items: start; flex-direction: column; }
  .pc-screen-options button { font-size: 14px; padding-inline: 11px; }
  .pc-demo-header { flex-direction: column; gap: 9px; }
  .pc-related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pc-project-lead { grid-column: 1 / -1; }
  .pc-project-lead img { height: auto; aspect-ratio: 1.8; }
}
@media (max-width: 390px) {
  .pc-meta { font-size: .74rem; }
}
@media (max-width: 440px) {
  .pc-related-grid { grid-template-columns: 1fr; }
  .pc-project-card img { height: auto; aspect-ratio: 1.85; }
}
@media (prefers-reduced-motion: reduce) {
  .pc-main * { scroll-behavior: auto; transition: none; }
}
